Mini Kabibi Habibi

Current Path : C:/Program Files/Microsoft Office/root/Office16/
Upload File :
Current File : C:/Program Files/Microsoft Office/root/Office16/olAppHost.js

(()=>{var e,t,r={11:(e,t,r)=>{"use strict";r.d(t,{Q:()=>l});var n=9007199254740991,i=-n,o=98,a=/^Office(\.[A-Z][a-zA-Z0-9]*){2,}$/,s=/^[a-zA-Z0-9_\.]{1,95}$/;function l(e){if(!(t=e.eventName)||t.length>o||!a.test(t))throw new Error("Invalid eventName");var t,r=e.eventContract;if(r){if(r.name&&!c(r.name))throw new Error("Invalid eventContract");u(r.dataFields)}u(e.dataFields)}function c(e){return s.test(e)}function u(e){e&&e.forEach((function(e){if("string"!=typeof e.name||!c(e.name))throw new Error("Invalid dataField name");2===e.dataType&&function(e){if("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e<i||e>n)throw new Error("Invalid integer ".concat(JSON.stringify(e)))}(e.value)}))}},64:(e,t,r)=>{"use strict";r.d(t,{Hj:()=>i});var n=r(5239);function i(e){var t={};return(0,n.z)(e,(function(e,r){t[e]=r,t[r]=e})),(0,n.ol)(t)}},78:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DialogCloseButtonTitle:()=>i.j,WindowAuthenticationService:()=>n.y,getDialogHeight:()=>u.U,openDialogModal:()=>l});var n=r(9975),i=r(8925),o=r(7810),a=r(2483);const s="dialog-container",l=(e,t,n,i,l,u,d,p,f,h,g,m,v,y,b,w,S,C)=>{!function(e){e.setAttribute("id",s),c(),document.body.appendChild(e)}(t);const A=o.lazy((()=>Promise.resolve().then(r.bind(r,4083)).then((({DialogModal:e})=>({default:e})))));a.render(o.createElement(o.Suspense,{fallback:null},o.createElement(A,{dialogContent:e,botService:n,appDefinition:i,hostContext:d,tokenService:l,userContext:u,subEntityId:p,onNavigateToApp:f,telemetryService:g,dialogTelemetryService:h,onDialogClose:()=>{c()},supportedActions:v,postActionExecute:y,getOverriddenDialogActions:b,dialogParameters:w,frameContext:S,hostService:m,conversationId:C})),t)};function c(){const e=document.getElementById(s);e&&e instanceof HTMLElement&&(a.unmountComponentAtNode(e),e.remove())}var u=r(1660)},83:(e,t,r)=>{"use strict";
/**
 * @license React
 * use-sync-external-store-shim.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=r(7810),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useState,a=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),i=n[0].inst,u=n[1];return s((function(){i.value=r,i.getSnapshot=t,c(i)&&u({inst:i})}),[e,r,t]),a((function(){return c(i)&&u({inst:i}),e((function(){c(i)&&u({inst:i})}))}),[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},90:(e,t,r)=>{"use strict";r.d(t,{AQ:()=>s,mS:()=>o,zk:()=>a});var n=r(5454),i=null;function o(e){void 0===e&&(e=!0);var t=!1===e?null:i;return t||(typeof globalThis!==n.bA&&(t=globalThis),t||typeof self===n.bA||(t=self),t||typeof window===n.bA||(t=window),t||typeof r.g===n.bA||(t=r.g),i=t),t}function a(e){throw new TypeError(e)}function s(e){var t=n.OR;if(t)return t(e);if(null==e)return{};var r=typeof e;function i(){}return r!==n._1&&r!==n.hW&&a("Object prototype may only be an Object:"+e),i[n.vR]=e,new i}},131:(e,t,r)=>{"use strict";r.d(t,{E:()=>l});var n=r(7810),i=r(3874),o=r(8775),a=r(3842),s=r(1735);const l=n.forwardRef(((e,t)=>{const r=(0,i.E)(e,t);return(0,a.M)(r),(0,s.$e)("useTextStyles_unstable")(r),(0,o.n)(r)}));l.displayName="Text"},151:(e,t,r)=>{"use strict";var n,i,o,a,s,l,c,u,d;r.d(t,{H_:()=>d,kv:()=>p}),function(e){e.EMAIL="email",e.TEXT="text",e.MEDIA="media",e.CALENDAR_INVITE="calendarInvite",e.WEB_PAGE="webPage",e.MIXED="mixed",e.TEAMS="teams",e.FILE="file"}(n||(n={})),function(e){e.IMAGE="image",e.AUDIO="audio",e.VIDEO="video"}(i||(i={})),function(e){e.Private="Private",e.Shared="Shared",e.Recap="Recap",e.RecapCall="RecapCall",e.PrivateViewCall="PrivateViewCall",e.Chat="Chat",e.Compose="Compose"}(o||(o={})),function(e){e.ClientDeviceType="ClientDeviceType",e.ClientRing="ClientRing",e.ClientScenarioName="ClientScenarioName"}(a||(a={})),function(e){e.Enabled="enabled",e.Disabled="disabled",e.EnabledWithTranscript="enabledWithTranscript"}(s||(s={})),function(e){e.NotStarted="notStarted",e.Active="active",e.Inactive="inactive",e.UnknownFutureValue="unknownFutureValue"}(l||(l={})),function(e){e.Chat="Chat",e.Channel="Channel",e.Meeting="Meeting",e.MeetingChat="MeetingChat"}(c||(c={})),function(e){e.Accepted="accepted",e.NotAccepted="not_accepted"}(u||(u={})),function(e){e.ConsentNotAccepted="consent_not_accepted",e.PageContentBlockedPolicy="page_content_blocked_policy",e.PageContentBlockedDlp="page_content_blocked_dlp",e.PageContentTypeNotSupportedYet="page_content_type_not_supported_yet",e.PageContentSizeNotSupported="page_content_size_not_supported",e.PageContextChanged="page_context_changed",e.PageContentExtractionFailed="page_content_extraction_failed",e.PageContentSizeNotSupportedPDF="page_content_size_not_supported_pdf",e.NotSupportedOnPlatform="not_supported_on_platform",e.InvalidRequest="invalid_request",e.OtherError="other_error"}(d||(d={}));class p extends Error{constructor(e,t){super(t),this.errorCode=e,this.name="SidePanelError"}}},191:(e,t,r)=>{"use strict";r.d(t,{Q:()=>s,U:()=>o});var n=r(1635),i=r(1616);const o=e=>{var t;const r=null!==(t=e)&&void 0!==t?t:{},{msteams:o,msTeams:s}=r,l=(0,n.__rest)(r,["msteams","msTeams"]),c=a(null==o?void 0:o.value),u=(null==c?void 0:c.type)==i.m0.taskFetch?null==c?void 0:c.type:null==o?void 0:o.type;return Object.assign(Object.assign(Object.assign({msteams:o},c),{type:u}),l)},a=e=>{if(e){if("object"==typeof e)return e;try{return JSON.parse(e)}catch(e){return}}},s=e=>{var t;const r=e,{msteams:i}=r,o=(0,n.__rest)(r,["msteams"]),s={type:null!==(t=null==i?void 0:i.type)&&void 0!==t?t:"messageBack",prompt:"",text:"",payload:{}};if(i)s.prompt=i.displayText,s.text=i.text,s.payload=Object.assign(Object.assign({},a(null==i?void 0:i.value)),o);else if("string"==typeof e){const t=a(e);s.prompt=e,t?s.payload=t:s.text=e}else"object"==typeof e&&(s.payload=e);return s}},193:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});for(var n=r(6796),i=[],o=0;o<256;++o)i.push((o+256).toString(16).substr(1));const a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,n.A)(r))throw TypeError("Stringified UUID is invalid");return r}},221:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(2378),t),i(r(1050),t),i(r(3771),t),i(r(345),t),i(r(5804),t),i(r(1391),t),i(r(7791),t),i(r(1217),t),i(r(7222),t),i(r(5396),t),i(r(9784),t),i(r(2572),t),i(r(6365),t),i(r(5043),t),i(r(6345),t)},240:(e,t,r)=>{"use strict";r.d(t,{Af:()=>a,DM:()=>f,DX:()=>P,Di:()=>C,GE:()=>d,KV:()=>h,MU:()=>I,OZ:()=>S,PZ:()=>E,Px:()=>x,Si:()=>y,Wt:()=>s,_P:()=>_,a$:()=>p,eO:()=>n,f:()=>T,jp:()=>w,kv:()=>o,lY:()=>u,mP:()=>v,pi:()=>c,pm:()=>g,qO:()=>B,r:()=>A,sh:()=>b,tp:()=>m,tz:()=>i,u:()=>k});const n=r(8686).rE,i={appInitialization:{appLoaded:"appInitialization.appLoaded",expectedFailure:"appInitialization.expectedFailure",failure:"appInitialization.failure",success:"appInitialization.success"},appInstallDialog:{openAppInstallDialog:"appInstallDialog.openAppInstallDialog"},authentication:{getAuthToken:"authentication.getAuthToken",getUser:"authentication.getUser",authenticate:"authentication.authenticate",notifySuccess:"authentication.authenticate.success",notifyFailure:"authentication.authenticate.failure"},appEntity:{selectAppEntity:"appEntity.selectAppEntity"},barCode:{scanBarCode:"media.scanBarCode"},calendar:{composeMeeting:"calendar.composeMeeting",openCalendarItem:"calendar.openCalendarItem"},call:{startCall:"call.startCall"},chat:{openChat:"chat.openChat"},clipboard:{writeToClipboard:"clipboard.writeToClipboard",readFromClipboard:"clipboard.readFromClipboard"},conversations:{openConversation:"conversations.openConversation",closeConversation:"conversations.closeConversation",getChatMembers:"getChatMembers"},copilot:{customTelemetry:{sendCustomTelemetryData:"copilot.customTelemetry.sendCustomTelemetryData"},eligibility:{getEligibilityInfo:"copilot.eligibility.getEligibilityInfo"},sidePanel:{getContent:"copilot.sidePanel.getContent",preCheckUserConsent:"copilot.sidePanel.preCheckUserConsent"},view:{closeSidePanel:"copilot.view.closeSidePanel"}},dialogs:{open:"tasks.startTask",submit:"tasks.completeTask",update:{resize:"tasks.updateTask"}},externalAppCardActions:{processActionOpenUrl:"externalAppCardActions.processActionOpenUrl",processActionSubmit:"externalAppCardActions.processActionSubmit"},externalAppCardActionsForCEA:{processActionOpenUrl:"externalAppCardActionsForCEA.processActionOpenUrl",processActionSubmit:"externalAppCardActionsForCEA.processActionSubmit"},externalAppCardActionsForDA:{processActionOpenUrlDialog:"externalAppCardActionsForDA.processActionOpenUrlDialog"},externalAppCommands:{processActionCommand:"externalAppCommands.processActionCommand"},externalAppAuthentication:{authenticateAndResendRequest:"externalAppAuthentication.authenticateAndResendRequest",authenticateWithSSO:"externalAppAuthentication.authenticateWithSSO",authenticateWithSSOAndResendRequest:"externalAppAuthentication.authenticateWithSSOAndResendRequest",authenticateWithOauth2:"externalAppAuthentication.authenticateWithOauth2",authenticateWithPowerPlatformConnectorPlugins:"externalAppAuthentication.authenticateWithPowerPlatformConnectorPlugins"},externalAppAuthenticationForCEA:{authenticateWithSSO:"externalAppAuthenticationForCEA.authenticateWithSSO",authenticateWithOauth:"externalAppAuthenticationForCEA.authenticateWithOauth",authenticateAndResendRequest:"externalAppAuthenticationForCEA.authenticateAndResendRequest",authenticateWithSSOAndResendRequest:"externalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest"},files:{addCloudStorageFolder:"files.addCloudStorageFolder",copyMoveFiles:"files.copyMoveFiles",deleteCloudStorageFolder:"files.deleteCloudStorageFolder",getCloudStorageFolders:"files.getCloudStorageFolders",openFilePreview:"openFilePreview",getExternalProviders:"files.getExternalProviders",openCloudStorageFile:"files.openCloudStorageFile",getCloudStorageFolderContents:"files.getCloudStorageFolderContents"},getContext:"getContext",initialize:"initialize",hostEntity:{tab:{addAndConfigure:"hostEntity.tab.addAndConfigure",reconfigure:"hostEntity.tab.reconfigure",rename:"hostEntity.tab.rename",remove:"hostEntity.tab.remove",getAll:"hostEntity.tab.getAll"}},location:{getCurrentLocation:"location.getLocation",map:{showLocation:"location.showLocation"}},interactive:{getFluidTenantInfo:"interactive.getFluidTenantInfo",getFluidToken:"interactive.getFluidToken",getFluidContainerId:"interactive.getFluidContainerId",setFluidContainerId:"interactive.setFluidContainerId",getNtpTime:"interactive.getNtpTime",registerClientId:"interactive.registerClientId",getClientRoles:"interactive.getClientRoles",getClientInfo:"interactive.getClientInfo"},links:{openLink:"executeDeepLink"},logs:{handleAppLog:"log.receive"},mail:{composeMail:"mail.composeMail",openMailItem:"mail.openMailItem",handoff:{composeMail:"mail.handoff.composeMail"}},marketplace:{getCart:"marketplace.getCart",addOrUpdateCartItems:"marketplace.addOrUpdateCartItems",removeCartItems:"marketplace.removeCartItems",updateCartStatus:"marketplace.updateCartStatus"},media:{captureImage:"captureImage",getMedia:"getMedia",selectMedia:"selectMedia",viewImages:"viewImages"},meeting:{getAppContentStageSharingCapabilities:"meeting.getAppContentStageSharingCapabilities",getAppContentStageSharingState:"meeting.getAppContentStageSharingState",getAuthenticationTokenForAnonymousUser:"meeting.getAuthenticationTokenForAnonymousUser",getIncomingClientAudioState:"getIncomingClientAudioState",getLiveStreamState:"meeting.getLiveStreamState",meetingReactionReceived:"meeting.meetingReactionReceived",getMeetingDetails:"meeting.getMeetingDetails",appShareButton:{setOptions:"meeting.appShareButton.setOptions"},raiseHandStateChanged:"meeting.raiseHandStateChanged",requestStartLiveStreaming:"meeting.requestStartLiveStreaming",requestStopLiveStreaming:"meeting.requestStopLiveStreaming",audioDeviceSelectionChanged:"meeting.audioDeviceSelectionChanged",shareAppContentToStage:"meeting.shareAppContentToStage",speakingStateChanged:"meeting.speakingStateChanged",stopSharingAppContentToStage:"meeting.stopSharingAppContentToStage",toggleIncomingClientAudio:"toggleIncomingClientAudio",requestAppAudioHandling:"meeting.requestAppAudioHandling",updateMicState:"meeting.updateMicState",micStateChanged:"meeting.micStateChanged",joinMeeting:"meeting.joinMeeting"},meetingRoom:{getPairedMeetingRoomInfo:"meetingRoom.getPairedMeetingRoomInfo",sendCommandToPairedMeetingRoom:"meetingRoom.sendCommandToPairedMeetingRoom"},monetization:{openPurchaseExperience:"monetization.openPurchaseExperience"},nestedAppAuth:{execute:"nestedAppAuth.execute",manageNAATrustedOrigins:"nestedAppAuth.manageNAATrustedOrigins"},notifications:{showNotification:"notifications.showNotification"},otherAppStateChange:{unregisterInstall:"otherApp.unregisterInstall",notifyInstallCompleted:"otherApp.notifyInstallCompleted"},pages:{getConfig:"settings.getSettings",navigateCrossDomain:"navigateCrossDomain",navigateToApp:"pages.navigateToApp",returnFocus:"returnFocus",setCurrentFrame:"setFrameContext",shareDeepLink:"shareDeepLink",backStack:{navigateBack:"navigateBack"},currentApp:{navigateTo:"pages.currentApp.navigateTo",navigateToDefaultPage:"pages.currentApp.navigateToDefaultPage"},tabs:{getTabInstances:"getTabInstances",getMruTabInstances:"getMruTabInstances",navigateToTab:"navigateToTab"},config:{setConfig:"settings.setSettings",setValidityState:"settings.setValidityState",save:{success:"settings.save.success",failure:"settings.save.failure"},remove:{success:"settings.remove.success",failure:"settings.remove.failure"}},fullTrust:{enterFullscreen:"enterFullscreen",exitFullscreen:"exitFullscreen"}},people:{selectPeople:"people.selectPeople"},permissions:{storageService:{getPermissionStatus:"permissions.has"},requestUserConsentForPermission:"permissions.request"},profile:{showProfile:"profile.showProfile"},remoteCamera:{getCapableParticipants:"remoteCamera.getCapableParticipants",requestControl:"remoteCamera.requestControl",sendControlCommand:"remoteCamera.sendControlCommand",terminateSession:"remoteCamera.terminateSession"},readyToUnload:"readyToUnload",registerHandler:"registerHandler",search:{unregister:"search.unregister",closeSearch:"search.closeSearch"},sharing:{shareWebContent:"sharing.shareWebContent",history:{getContent:"sharing.history.getContent"}},shortcutRelay:{getHostShortcuts:"shortcutRelay.getHostShortcuts",forwardShortcutEvent:"shortcutRelay.forwardShortcutEvent"},stageView:{open:"stageView.open",self:{close:"stageView.self.close"}},store:{openFullStore:"store.openFullStore",openAppDetail:"store.openAppDetail",openInContextStore:"store.openInContextStore",openSpecificStore:"store.openSpecificStore"},teams:{getTeamChannels:"teams.getTeamChannels",refreshSiteUrl:"teams.refreshSiteUrl",fullTrust:{getConfigSetting:"getConfigSetting",joinedTeams:{getUserJoinedTeams:"getUserJoinedTeams"}}},messageChannels:{telemetry:{getTelemetryPort:"messageChannels.telemetry.getTelemetryPort"},dataLayer:{getDataLayerPort:"messageChannels.dataLayer.getDataLayerPort"}},thirdPartyCloudStorageService:{getDragAndDropFiles:"thirdPartyCloudStorage.getDragAndDropFiles"},video:{effectParameterChange:"video.effectParameterChange",mediaStream:{registerForVideoFrame:"video.mediaStream.registerForVideoFrame",audioInferenceDiscardStatusChange:"video.mediaStream.audioInferenceDiscardStatusChange"},notifyError:"video.notifyError",personalizedEffectsChanged:"video.personalizedEffectsChanged",registerForVideoEffect:"video.registerForVideoEffect",sharedFrame:{registerForVideoFrame:"video.registerForVideoFrame"},startVideoExtensibilityVideoStream:"video.startVideoExtensibilityVideoStream",videoEffectChanged:"video.videoEffectChanged",videoEffectReadiness:"video.videoEffectReadiness",videoExtensibilityIpcChangedEvent:"video.videoExtensibilityIpcChangedEvent",performance:{performanceDataGenerated:"video.performance.performanceDataGenerated",frameProcessingSlow:"video.performance.frameProcessingSlow",firstFrameProcessed:"video.performance.firstFrameProcessed",textureStreamAcquired:"video.performance.textureStreamAcquired"},setFrameProcessTimeLimit:"video.setFrameProcessTimeLimit"},webStorage:{isWebStorageClearedOnUserLogOut:"webStorage.isWebStorageClearedOnUserLogOut"}};var o,a,s,l;!function(e){e.ME="ME",e.CEA="CEA"}(o||(o={})),function(e){e.AuthFailed="AuthFailed",e.Timeout="Timeout",e.Other="Other",e.AppInitTimeout="AppInitTimeout",e.CachedAppLoadTimedOut="CachedAppLoadTimedOut",e.Validation="Validation",e.Validation_InvalidDomains="Validation_InvalidDomains",e.Ocdi="Ocdi"}(a||(a={})),function(e){e.AppExpiration="app expiration",e.AppNotifyFailure="app sent notify failure",e.AppUnloadTimeout="app unload timeout",e.FreeMemoryUnderMinimum="insufficient memory to retain the cached app",e.HostExplicitRemoval="host explicitly removed the app",e.HostMemoryLimitExceeded="host memory limit exceeded",e.AppDidNotRegisterForCaching="app did not register for caching",e.NumAppsExceeded="number of apps exceeded"}(s||(s={})),function(e){e.PermissionError="PermissionError",e.NotFound="NotFound",e.Throttling="Throttling",e.Offline="Offline",e.Other="Other"}(l||(l={}));const c={resourceDomainParameter:"{resourceDomain}",validResourcePattern:"^((https|api)://{resourceDomain}([:/].*)?)$"},u="^[-a-zA-Z0-9._~+/=]+$",d=/^(\*\.)*[^*]+$/i,p=new Set(["b5abf2ae-c16b-4310-8f8a-d3bcdb52f162","d870f6cd-4aa5-4d42-9626-ab690c041429","43a6e7fb-bd10-4c0a-b02e-6a9c86ba272a"]),f=new Set(["96f7e131-7b0f-4947-8a62-9cd027b94147"]),h=new Set(["c3a1996d-db0f-4857-a6ea-7aabf0266b00","25b07509-bc6a-4a53-b683-9beb24e55570"]),g=new Set(["f3a6e67f-850d-4dd9-960a-04c6638ded39","f3a6e67f-850d-4dd9-960a-04c6638ded36","b6b18421-3bba-40df-a983-05fbbc9e2d13","a9750531-44bc-4346-84a7-c4ceda140ef4"]),m=["com.example.microsoftteamstabs.test","com.example.m365testapp.test"],v=new Set([...p,...m]),y="Url is invalid",b="Invalid dialog URL",w="There is at least one improperly formatted domain in the provided app definition's validDomains field",S=4096,C=`Authorization code exceeds max length of ${S} characters`,A="Authorization code contains unexpected characters. Allowed characters are a-z, A-Z, 0-9, ., _, +, /, =, ~, and -",x="Desktop clients must provide implementation for externalAuthService on IAuthenticationService. External auth flows may not work as expected when externalAuthService is not provided.",k="App does not have the required permissions for this operation",E={bingUrl:"https://www.bing.com",contosoUrl:"https://www.contoso.com",contososuitesUrl:"https://www.contososuites.com",exampleUrl:"https://example.com",northwindtradersUrl:"https://www.northwindtraders.com/",teamsAdatumUrl:"https://teams.adatum.com/",teamsMicrosoftUrl:"https://teams.microsoft.com",fromValidDomainList:"https://www.relecloud.com",validAdatumUrl:"https://validurl.adatum.com",validAdatumUrl2:"https://validurl2.adatum.com"},_={requestedForAppID:"RequestedForAppID",copilotHost:"CopilotHost",isExternal:"IsExternal",actionOpenUrlType:"ActionOpenUrlType",oauthConfigId:"OauthConfigID"},I=["www.microsoft365.com","bing.com","edgeservices.bing.com","www.bing.com","www.staging-bing-int.com","teams.cloud.microsoft","outlook.cloud.microsoft","m365.cloud.microsoft","copilot.microsoft.com","windows.msn.com"],P="2.19",T="The detected TeamsJS Version is < 2.19. App may not be able to run on this domain. Please update TeamsJS.",B=["localhost","local.teams.office.com","local.teams.microsoft.com","local.office.com"]},330:(e,t,r)=>{"use strict";const n=r(3682);e.exports=(e,t,r)=>n(e,t,r)>0},345:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=t.addCancelSelectActionEventHandler=t.clearElementChildren=t.getScrollY=t.getScrollX=t.getFitStatus=t.truncate=t.truncateText=t.stringToCssColor=t.parseEnum=t.getEnumValueByName=t.parseBool=t.parseNumber=t.parseString=t.appendChild=t.generateUniqueId=t.isMobileOS=t.isInternetExplorer=void 0;var i=r(1050),o=r(3771);function a(e,t){for(var r in e){var n=parseInt(r,10);if(n>=0){var i=e[r];if(i&&"string"==typeof i&&i.toLowerCase()===t.toLowerCase())return n}}}function s(e,t,r,n,i){var o=function(){return t-e.scrollHeight>=-1};if(!o()){for(var a=function(e){for(var t=[],r=c(e,-1);r<e.length;)" "===e[r]&&t.push(r),r=c(e,r);return t}(r),s=0,l=a.length,u=0;s<l;){var d=Math.floor((s+l)/2);n(r,a[d]),o()?(u=a[d],s=d+1):l=d}if(n(r,u),i&&t-e.scrollHeight>=i-1){for(var p=c(r,u);p<r.length&&(n(r,p),o());)u=p,p=c(r,p);n(r,u)}}}t.isInternetExplorer=function(){return void 0!==window.document.documentMode},t.isMobileOS=function(){var e=window.navigator.userAgent;return!!e.match(/Android/i)||!!e.match(/iPad/i)||!!e.match(/iPhone/i)},t.generateUniqueId=function(){return"__ac-"+o.UUID.generate()},t.appendChild=function(e,t){t&&e.appendChild(t)},t.parseString=function(e,t){return"string"==typeof e?e:t},t.parseNumber=function(e,t){return"number"==typeof e?e:t},t.parseBool=function(e,t){if("boolean"==typeof e)return e;if("string"==typeof e)switch(e.toLowerCase()){case"true":return!0;case"false":return!1;default:return t}return t},t.getEnumValueByName=a,t.parseEnum=function(e,t,r){if(!t)return r;var n=a(e,t);return void 0!==n?n:r},t.stringToCssColor=function(e){if(e){var t=/#([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?/gi.exec(e);if(t&&t[4]){var r=parseInt(t[1],16)/255;return"rgba("+parseInt(t[2],16)+","+parseInt(t[3],16)+","+parseInt(t[4],16)+","+r+")"}}return e},t.truncateText=function(e,t,r){s(e,t,e.innerText,(function(t,r){e.innerText=t.substring(0,r)+"..."}),r)};var l="undefined"==typeof window||null===(n=window.trustedTypes)||void 0===n?void 0:n.createPolicy("adaptivecards#deprecatedExportedFunctionPolicy",{createHTML:function(e){return e}});function c(e,t){for(t+=1;t<e.length&&"<"===e[t];)for(;t<e.length&&">"!==e[t++];);return t}t.truncate=function(e,t,r){s(e,t,e.innerHTML,(function(t,r){var n,i=t.substring(0,r)+"...",o=null!==(n=null==l?void 0:l.createHTML(i))&&void 0!==n?n:i;e.innerHTML=o}),r)},t.getFitStatus=function(e,t){var r=e.offsetTop;return r+e.clientHeight<=t?i.ContainerFitStatus.FullyInContainer:r<t?i.ContainerFitStatus.Overflowing:i.ContainerFitStatus.FullyOutOfContainer},t.getScrollX=function(){return window.pageXOffset},t.getScrollY=function(){return window.pageYOffset},t.clearElementChildren=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.addCancelSelectActionEventHandler=function(e){e.onclick=function(e){e.preventDefault(),e.cancelBubble=!0}},t.debounce=function(e,t){var r;return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r&&clearTimeout(r),r=setTimeout((function(){e.apply(void 0,n)}),t)}}},397:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.PopupMenu=void 0;var o=r(4838),a=r(4267),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._items=new a.Collection,t._renderedItems=[],t._selectedIndex=-1,t}return i(t,e),t.prototype.renderContent=function(){var e=document.createElement("div");e.className=this.hostConfig.makeCssClassName("ac-ctrl ac-popup"),e.setAttribute("role","listbox");for(var t=0;t<this._items.length;t++){var r=this._items.get(t).render(this.hostConfig);r.tabIndex=0,e.appendChild(r),t===this.selectedIndex&&r.focus(),this._renderedItems.push(r)}return e},t.prototype.keyDown=function(t){e.prototype.keyDown.call(this,t);var r=this._selectedIndex;switch(t.key){case o.Constants.keys.tab:this.closePopup(!0);break;case o.Constants.keys.up:(r<=0||--r<0)&&(r=this._renderedItems.length-1),this.selectedIndex=r,t.cancelBubble=!0;break;case o.Constants.keys.down:(r<0||++r>=this._renderedItems.length)&&(r=0),this.selectedIndex=r,t.cancelBubble=!0}},Object.defineProperty(t.prototype,"items",{get:function(){return this._items},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(e){e>=0&&e<this._renderedItems.length&&(this._renderedItems[e].focus(),this._selectedIndex=e)},enumerable:!1,configurable:!0}),t}(r(3353).PopupControl);t.PopupMenu=s},414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getComputedStyle=void 0;var n=r(1635),i=r(6064);function o(e,t){var r,o;void 0===t&&(t=["font-family","font-size","color","background-color"]);var a,s=(0,i.default)(e),l=[];if(t=Array.isArray(t)?t:[t],s){var c=(s.ownerDocument.defaultView||window).getComputedStyle(s);if(c)try{for(var u=(0,n.__values)(t),d=u.next();!d.done;d=u.next()){var p=d.value,f=c.getPropertyValue(p)||"";f="font-family"!=p?f.toLowerCase():f,f="font-size"==p?(a=f)&&a.indexOf("px")==a.length-2?Math.round(75*parseFloat(a)+.05)/100+"pt":a:f,l.push(f)}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}}return l}t.default=o,t.getComputedStyle=function(e,t){return o(e,t)[0]||""}},417:(e,t,r)=>{"use strict";r.d(t,{k:()=>n});const n={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"}},422:(e,t,r)=>{"use strict";e.exports=r(83)},430:(e,t)=>{"use strict";
/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case s:case a:case p:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case g:case h:case l:return e;default:return t}}case i:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.SuspenseList=f,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===d},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===g},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===i},t.isProfiler=function(e){return v(e)===s},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===p},t.isSuspenseList=function(e){return v(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===a||e===p||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=v},504:e=>{"use strict";const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},542:(e,t,r)=>{"use strict";const n=r(2306),i=r(9433);e.exports=(e,t,r)=>{let o=null,a=null,s=null;try{s=new i(t,r)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==a.compare(e)||(o=e,a=new n(o,r)))})),o}},547:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9328);t.default=function(e,t){return(0,n.default)(e,"HTMLElement")&&(e.matches||e.msMatchesSelector).call(e,t)}},549:(e,t,r)=>{"use strict";r.d(t,{Y:()=>u});var n=r(7810),i=r(6971),o=r(3625),a=r(7475),s=r(2425);function l(e,t){if(c(e))return()=>{};const r={current:void 0},n=(0,a.SQ)(t);function i(e){n.isNavigatingWithKeyboard()&&(0,o.s)(e)&&(r.current=e,e.setAttribute(s.A7,""))}function l(){r.current&&(r.current.removeAttribute(s.A7),r.current=void 0)}n.subscribe((e=>{e?i(t.document.activeElement):l()}));const u=e=>{l(),i(e.composedPath()[0])},d=t=>{(!t.relatedTarget||(0,o.s)(t.relatedTarget)&&!e.contains(t.relatedTarget))&&l()};return e.addEventListener(a.Oy,u),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(t.document.activeElement)&&i(t.document.activeElement),()=>{l(),e.removeEventListener(a.Oy,u),e.removeEventListener("focusout",d),e.focusVisible=void 0,(0,a.bd)(n)}}function c(e){return!!e&&(!!e.focusVisible||c(null==e?void 0:e.parentElement))}function u(e={}){const t=(0,i.Y)(),r=n.useRef(null);var o;const a=null!==(o=e.targetDocument)&&void 0!==o?o:t.targetDocument;return n.useEffect((()=>{if((null==a?void 0:a.defaultView)&&r.current)return l(r.current,a.defaultView)}),[r,a]),r}},587:(e,t,r)=>{"use strict";r.d(t,{X:()=>s});var n,i=r(240);!function(e){e.Uninitialized="uninitialized",e.Loading="loading",e.Loaded="loaded",e.Cached="cached",e.LoadingWithoutSpinner="loadingWithoutSpinner"}(n||(n={}));class o{constructor(){this.internalAppStateMap=new Map}stateChangeHelper(e,t,r,o){var a;if(void 0===t)return;const s=null!==(a=this.internalAppStateMap.get(t))&&void 0!==a?a:n.Uninitialized,l=e=>{this.internalAppStateMap.set(t,e)},c={[`${n.Loading}_${i.tz.appInitialization.success}`]:()=>this.setStateToLoaded(l),[`${n.Loading}_${i.tz.appInitialization.expectedFailure}`]:()=>this.setStateToLoaded(l),[`${n.Loading}_${i.tz.appInitialization.appLoaded}`]:()=>this.setStateToLoadingWithoutSpinner(l),[`${n.LoadingWithoutSpinner}_${i.tz.appInitialization.success}`]:()=>this.setStateToLoaded(l),[`${n.LoadingWithoutSpinner}_${i.tz.appInitialization.expectedFailure}`]:()=>this.setStateToLoaded(l),[`${n.Cached}_${i.tz.appInitialization.appLoaded}`]:()=>this.setStateToLoadingWithoutSpinner(l),[`${n.Cached}_${i.tz.appInitialization.success}`]:()=>this.setStateToLoaded(l),[`${n.Loaded}_${i.tz.readyToUnload}`]:()=>this.setStateWhenAppEntersCached(l),[`${n.Uninitialized}_${i.tz.initialize}`]:()=>this.setStateToLoading(l,o),[`${n.Loading}_${i.tz.initialize}`]:()=>this.setStateToLoading(l,o),[`${n.Loaded}_${i.tz.initialize}`]:()=>this.setStateToLoading(l,o),[`${n.LoadingWithoutSpinner}_${i.tz.initialize}`]:()=>this.setStateToLoading(l,o)}[`${s}_${r}`];c&&c(),e.addOrUpdateActivityDataFieldForAppInitStateTransition(`teamsJsInstanceId: ${t} transits state FROM: ${s} TO: ${this.internalAppStateMap.get(t)} BY: ${r}\n`)}msg_initialize_processedSuccessfully(e,t,r){this.stateChangeHelper(e,t,i.tz.initialize,r)}msg_notifyAppLoaded_processedSuccessfully(e,t){this.stateChangeHelper(e,t,i.tz.appInitialization.appLoaded)}msg_notifySuccess_processedSuccessfully(e,t){this.stateChangeHelper(e,t,i.tz.appInitialization.success)}msg_notifyExpectedFailure_processingSucceess(e,t){this.stateChangeHelper(e,t,i.tz.appInitialization.expectedFailure)}msg_notifyFailure_processedSuccessfully(e,t){this.stateChangeHelper(e,t,i.tz.appInitialization.failure)}msg_readyToUnload_processedSuccessfully(e,t){this.stateChangeHelper(e,t,i.tz.readyToUnload)}setStateToLoading(e,t){e(n.Loading),void 0===t||t||this.setStateToLoaded(e)}setStateToLoaded(e){e(n.Loaded)}setStateToLoadingWithoutSpinner(e){e(n.LoadingWithoutSpinner)}setStateWhenAppEntersCached(e){e(n.Cached)}isAllowedToProcessInitializeEvent(e){var t;return void 0===e||(null!==(t=this.internalAppStateMap.get(e))&&void 0!==t?t:n.Uninitialized)!==n.Cached}isAllowedToProcessNotifySuccessEvent(e){if(void 0===e)return!0;const t=this.internalAppStateMap.get(e);return t==n.Loading||t==n.LoadingWithoutSpinner||t==n.Cached}isAllowedToProcessNotifyAppLoadedEvent(e){return void 0===e||this.internalAppStateMap.get(e)==n.Loading}isAllowedToProcessNotifyExpectedFailureEvent(e){if(void 0===e)return!0;const t=this.internalAppStateMap.get(e);return t==n.Loading||t==n.LoadingWithoutSpinner}isAllowedToProcessNotifyFailureEvent(e){if(void 0===e)return!0;const t=this.internalAppStateMap.get(e);return t==n.Loading||t==n.LoadingWithoutSpinner}isAllowedToProcessReadyToUnloadEvent(e){return void 0===e||this.internalAppStateMap.get(e)==n.Loaded}}class a{constructor(){}static getInstance(){return a.instance||(a.instance=new o),a.instance}}function s(){return a.getInstance()}},592:e=>{e.exports="data:image/svg+xml,%3csvg width='214' height='50' viewBox='0 0 214 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M82 25C82 11.1929 93.1929 0 107 0C120.807 0 132 11.1929 132 25C132 38.8071 120.807 50 107 50C93.1929 50 82 38.8071 82 25Z' fill='url(%23paint0_linear)'/%3e %3cpath d='M164 25C164 11.1929 175.193 0 189 0C202.807 0 214 11.1929 214 25C214 38.8071 202.807 50 189 50C175.193 50 164 38.8071 164 25Z' fill='url(%23paint1_linear)'/%3e %3cpath d='M0 25C0 11.1929 11.1929 0 25 0C38.8071 0 50 11.1929 50 25C50 38.8071 38.8071 50 25 50C11.1929 50 0 38.8071 0 25Z' fill='url(%23paint2_linear)'/%3e %3cdefs%3e %3clinearGradient id='paint0_linear' x1='131.578' y1='0.211148' x2='82' y2='0.211148' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23F3F2F1'/%3e %3cstop offset='1' stop-color='%23EDEBE9'/%3e %3c/linearGradient%3e %3clinearGradient id='paint1_linear' x1='213.578' y1='0.211148' x2='164' y2='0.211148' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23F3F2F1'/%3e %3cstop offset='1' stop-color='%23EDEBE9'/%3e %3c/linearGradient%3e %3clinearGradient id='paint2_linear' x1='49.5777' y1='0.211148' x2='0' y2='0.211148' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23F3F2F1'/%3e %3cstop offset='1' stop-color='%23EDEBE9'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e"},623:(e,t,r)=>{"use strict";const n=r(2306),i=r(9433),o=r(330);e.exports=(e,t)=>{e=new i(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const i=e.set[t];let a=null;i.forEach((e=>{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!o(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!a||r&&!o(r,a)||(r=a)}return r&&e.test(r)?r:null}},628:(e,t,r)=>{"use strict";var n=r(4067);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={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:o,resetWarningCache:i};return r.PropTypes=r,r}},669:(e,t,r)=>{"use strict";r.d(t,{z:()=>o});var n=r(5058),i=void 0;try{i=window}catch(e){}function o(e){if((0,n.S)()&&void 0!==i){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:i}}},681:function(e,t){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.formatText=void 0;var i=function(){function e(e){this._regularExpression=e}return e.prototype.format=function(e,t){var r;if(t){for(var n=t;null!=(r=this._regularExpression.exec(t));)n=n.replace(r[0],this.internalFormat(e,r));return n}return t},e}(),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.internalFormat=function(e,t){var r=new Date(Date.parse(t[1])),n=void 0!==t[2]?t[2].toLowerCase():"compact";return"compact"!==n?r.toLocaleDateString(e,{day:"numeric",weekday:n,month:n,year:"numeric"}):r.toLocaleDateString()},t}(i),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.internalFormat=function(e,t){return new Date(Date.parse(t[1])).toLocaleTimeString(e,{hour:"numeric",minute:"2-digit"})},t}(i);t.formatText=function(e,t){for(var r=t,n=0,i=[new o(/\{{2}DATE\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))(?:, ?(COMPACT|LONG|SHORT))?\)\}{2}/g),new a(/\{{2}TIME\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))\)\}{2}/g)];n<i.length;n++)r=i[n].format(e,r);return r}},702:(e,t,r)=>{"use strict";r.d(t,{_:()=>v});var n=r(1119),i=r(1635),o=r(7810),a=r(1612),s=r(9117),l=r(7454),c=r(7847),u=r(5829),d=(0,a.Z)(),p=/\.svg$/i,f=o.forwardRef((function(e,t){var r=o.useRef(),n=o.useRef(),a=function(e,t){var r=e.onLoadingStateChange,n=e.onLoad,i=e.onError,a=e.src,s=o.useState(l.P6.notLoaded),u=s[0],d=s[1];(0,c.E)((function(){d(l.P6.notLoaded)}),[a]),o.useEffect((function(){u===l.P6.notLoaded&&t.current&&(a&&t.current.naturalWidth>0&&t.current.naturalHeight>0||t.current.complete&&p.test(a))&&d(l.P6.loaded)})),o.useEffect((function(){null==r||r(u)}),[u]);var f=o.useCallback((function(e){null==n||n(e),a&&d(l.P6.loaded)}),[a,n]),h=o.useCallback((function(e){null==i||i(e),d(l.P6.error)}),[i]);return[u,f,h]}(e,n),f=a[0],h=a[1],g=a[2],m=(0,s.G1)(e,s.xM,["width","height"]),v=e.src,y=e.alt,b=e.width,w=e.height,S=e.shouldFadeIn,C=void 0===S||S,A=e.shouldStartVisible,x=e.className,k=e.imageFit,E=e.role,_=e.maximizeFrame,I=e.styles,P=e.theme,T=e.loading,B=function(e,t,r,n){var i=o.useRef(t),a=o.useRef();return(void 0===a||i.current===l.P6.notLoaded&&t===l.P6.loaded)&&(a.current=function(e,t,r,n){var i=e.imageFit,o=e.width,a=e.height;if(void 0!==e.coverStyle)return e.coverStyle;if(t===l.P6.loaded&&(i===l.N_.cover||i===l.N_.contain||i===l.N_.centerContain||i===l.N_.centerCover)&&r.current&&n.current){var s;if(s="number"==typeof o&&"number"==typeof a&&i!==l.N_.centerContain&&i!==l.N_.centerCover?o/a:n.current.clientWidth/n.current.clientHeight,r.current.naturalWidth/r.current.naturalHeight>s)return l.Aw.landscape}return l.Aw.portrait}(e,t,r,n)),i.current=t,a.current}(e,f,n,r),D=d(I,{theme:P,className:x,width:b,height:w,maximizeFrame:_,shouldFadeIn:C,shouldStartVisible:A,isLoaded:f===l.P6.loaded||f===l.P6.notLoaded&&e.shouldStartVisible,isLandscape:B===l.Aw.landscape,isCenter:k===l.N_.center,isCenterContain:k===l.N_.centerContain,isCenterCover:k===l.N_.centerCover,isContain:k===l.N_.contain,isCover:k===l.N_.cover,isNone:k===l.N_.none,isError:f===l.P6.error,isNotImageFit:void 0===k});return o.createElement("div",{className:D.root,style:{width:b,height:w},ref:r},o.createElement("img",(0,i.__assign)({},m,{onLoad:h,onError:g,key:"fabricImage"+e.src||"",className:D.image,ref:(0,u.a)(n,t),src:v,alt:y,role:E,loading:T})))}));f.displayName="ImageBase";var h=r(8627),g=r(669),m={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"},v=(0,n.I)(f,(function(e){var t=e.className,r=e.width,n=e.height,i=e.maximizeFrame,o=e.isLoaded,a=e.shouldFadeIn,s=e.shouldStartVisible,l=e.isLandscape,c=e.isCenter,u=e.isContain,d=e.isCover,p=e.isCenterContain,f=e.isCenterCover,v=e.isNone,y=e.isError,b=e.isNotImageFit,w=e.theme,S=(0,h.Km)(m,w),C={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},A=(0,g.z)(),x=void 0!==A&&void 0===A.navigator.msMaxTouchPoints,k=u&&l||d&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[S.root,w.fonts.medium,{overflow:"hidden"},i&&[S.rootMaximizeFrame,{height:"100%",width:"100%"}],o&&a&&!s&&h.lw.fadeIn400,(c||u||d||p||f)&&{position:"relative"},t],image:[S.image,{display:"block",opacity:0},o&&["is-loaded",{opacity:1}],c&&[S.imageCenter,C],u&&[S.imageContain,x&&{width:"100%",height:"100%",objectFit:"contain"},!x&&k,!x&&C],d&&[S.imageCover,x&&{width:"100%",height:"100%",objectFit:"cover"},!x&&k,!x&&C],p&&[S.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},C],f&&[S.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},C],v&&[S.imageNone,{width:"auto",height:"auto"}],b&&[!!r&&!n&&{height:"auto",width:"100%"},!r&&!!n&&{height:"100%",width:"auto"},!!r&&!!n&&{height:"100%",width:"100%"}],l&&S.imageLandscape,!l&&S.imagePortrait,!o&&"is-notLoaded",a&&"is-fadeIn",y&&"is-error"]}}),void 0,{scope:"Image"},!0);v.displayName="Image"},717:(e,t,r)=>{"use strict";r.d(t,{DU:()=>o,Iy:()=>s});var n,i=r(1873);function o(e){n!==e&&(n=e)}function a(){return void 0===n&&(n="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),n}function s(){return{rtl:a(),shadowConfig:i.ou}}n=a()},748:(e,t,r)=>{"use strict";r.d(t,{$S:()=>P,$T:()=>x,AV:()=>_,CE:()=>A,D9:()=>b,EM:()=>k,GC:()=>V,JW:()=>I,KK:()=>y,ON:()=>c,Oh:()=>n,Os:()=>D,Q1:()=>o,QH:()=>M,QJ:()=>U,Ql:()=>u,T_:()=>m,Us:()=>O,Vu:()=>j,Vv:()=>g,WB:()=>v,X1:()=>$,Xk:()=>C,Xv:()=>l,Y3:()=>W,YA:()=>S,Z:()=>R,Z1:()=>s,Zp:()=>z,Zz:()=>q,bK:()=>w,c8:()=>i,ik:()=>d,jF:()=>p,je:()=>h,pT:()=>F,qn:()=>L,s$:()=>T,t1:()=>H,ti:()=>a,um:()=>N,wL:()=>E,wv:()=>f,z1:()=>B});const n={2:"#050505",4:"#0a0a0a",6:"#0f0f0f",8:"#141414",10:"#1a1a1a",12:"#1f1f1f",14:"#242424",16:"#292929",18:"#2e2e2e",20:"#333333",22:"#383838",24:"#3d3d3d",26:"#424242",28:"#474747",30:"#4d4d4d",32:"#525252",34:"#575757",36:"#5c5c5c",38:"#616161",40:"#666666",42:"#6b6b6b",44:"#707070",46:"#757575",48:"#7a7a7a",50:"#808080",52:"#858585",54:"#8a8a8a",56:"#8f8f8f",58:"#949494",60:"#999999",62:"#9e9e9e",64:"#a3a3a3",66:"#a8a8a8",68:"#adadad",70:"#b3b3b3",72:"#b8b8b8",74:"#bdbdbd",76:"#c2c2c2",78:"#c7c7c7",80:"#cccccc",82:"#d1d1d1",84:"#d6d6d6",86:"#dbdbdb",88:"#e0e0e0",90:"#e6e6e6",92:"#ebebeb",94:"#f0f0f0",96:"#f5f5f5",98:"#fafafa"},i={5:"rgba(255, 255, 255, 0.05)",10:"rgba(255, 255, 255, 0.1)",20:"rgba(255, 255, 255, 0.2)",30:"rgba(255, 255, 255, 0.3)",40:"rgba(255, 255, 255, 0.4)",50:"rgba(255, 255, 255, 0.5)",60:"rgba(255, 255, 255, 0.6)",70:"rgba(255, 255, 255, 0.7)",80:"rgba(255, 255, 255, 0.8)",90:"rgba(255, 255, 255, 0.9)"},o={5:"rgba(0, 0, 0, 0.05)",10:"rgba(0, 0, 0, 0.1)",20:"rgba(0, 0, 0, 0.2)",30:"rgba(0, 0, 0, 0.3)",40:"rgba(0, 0, 0, 0.4)",50:"rgba(0, 0, 0, 0.5)",60:"rgba(0, 0, 0, 0.6)",70:"rgba(0, 0, 0, 0.7)",80:"rgba(0, 0, 0, 0.8)",90:"rgba(0, 0, 0, 0.9)"},a={5:"rgba(26, 26, 26, 0.05)",10:"rgba(26, 26, 26, 0.1)",20:"rgba(26, 26, 26, 0.2)",30:"rgba(26, 26, 26, 0.3)",40:"rgba(26, 26, 26, 0.4)",50:"rgba(26, 26, 26, 0.5)",60:"rgba(26, 26, 26, 0.6)",70:"rgba(26, 26, 26, 0.7)",80:"rgba(26, 26, 26, 0.8)",90:"rgba(26, 26, 26, 0.9)"},s={5:"rgba(31, 31, 31, 0.05)",10:"rgba(31, 31, 31, 0.1)",20:"rgba(31, 31, 31, 0.2)",30:"rgba(31, 31, 31, 0.3)",40:"rgba(31, 31, 31, 0.4)",50:"rgba(31, 31, 31, 0.5)",60:"rgba(31, 31, 31, 0.6)",70:"rgba(31, 31, 31, 0.7)",80:"rgba(31, 31, 31, 0.8)",90:"rgba(31, 31, 31, 0.9)"},l={5:"rgba(36, 36, 36, 0.05)",10:"rgba(36, 36, 36, 0.1)",20:"rgba(36, 36, 36, 0.2)",30:"rgba(36, 36, 36, 0.3)",40:"rgba(36, 36, 36, 0.4)",50:"rgba(36, 36, 36, 0.5)",60:"rgba(36, 36, 36, 0.6)",70:"rgba(36, 36, 36, 0.7)",80:"rgba(36, 36, 36, 0.8)",90:"rgba(36, 36, 36, 0.9)"},c="#ffffff",u="#000000",d={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},p={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},f={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},h={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},g={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},m={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},v={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},y={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},b={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},w={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},S={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},C={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},A={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},x={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},k={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},E={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},_={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},I={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},P={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},T={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},B={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},D={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},N={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},R={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},O={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},z={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},M={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},F={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},L={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},j={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},V={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},H={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},q={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},U={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},$={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},W={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"}},778:(e,t,r)=>{"use strict";r.d(t,{AU:()=>f,Di:()=>h,Hk:()=>w,L9:()=>u,OL:()=>g,Tq:()=>A,U2:()=>v,VQ:()=>C,Xs:()=>m,YF:()=>p,Zn:()=>b,aw:()=>c,jZ:()=>S,pd:()=>k,sB:()=>l,x7:()=>d,xy:()=>x});var n=r(240),i=r(2517),o=r(9802);const a=new RegExp("[a-zA-Z0-9_\\-\\.]+(@|%40|%2540)[a-zA-Z0-9_\\-\\.]+\\.[a-zA-Z]{2,5}","g"),s="email_removed",l=`${n.PZ.teamsMicrosoftUrl}`,c=new URL(`${l}/l/`),u=(e,t)=>{var r,n;const i=null===(n=null===(r=e.pages)||void 0===r?void 0:r.static)||void 0===n?void 0:n.find((e=>e.entityId===t));return null==i?void 0:i.name},d=e=>"userSettingsChange"===e,p=(e,t)=>d(e)?{userSettingsChange:{userSettingTypes:t}}:{[`${e}`]:!0},f=e=>{let t;try{t=new URL(e).hostname}catch(t){return console.error("Invalid URL:",e),!1}return!(!t.startsWith("local.")&&!n.qO.some((e=>t===e||t.endsWith("."+e))))||n.MU.some((e=>t===e||t.endsWith("."+e)))},h=(e,t)=>{var r,n;const i=e.split(".").map(Number),o=t.split(".").map(Number),a=Math.max(i.length,o.length);for(let e=0;e<a;e++){const t=null!==(r=i[e])&&void 0!==r?r:0,a=null!==(n=o[e])&&void 0!==n?n:0;if(t<a)return!0;if(t>a)return!1}return!1},g=(e,t)=>e.state===i.Jz.Failed&&t,m=(e,t)=>{if(!(0,o.eZ)().showErrorBanners)return!1;if(!f(window.location.href))return!1;const r=e.state===i.Jz.Loaded&&f(window.location.href)&&h(e.appSdkVersion||"0",n.DX),a=e.state===i.Jz.Failed||r;return!t&&a},v=e=>!!e&&void 0!==e.user.id,y={majorVersion:1,minorVersion:5};function b(){return`${y.majorVersion}.${y.minorVersion}`}function w(e){return e.majorVersion<y.majorVersion||e.majorVersion==y.majorVersion&&e.minorVersion<y.minorVersion}const S=e=>{let t;return t=e===i.jI.Public?i.ut.Public:e===i.jI.EUDB?i.ut.EUDB:i.ut.Other,t};function C(e){return e?((t=e)&&(t=t.replace(a,s)),t):"";var t}function A(e,t){if(t&&t.size>0){const r=[];t.forEach(((e,t)=>{t&&e&&r.push(`${t}=${e}`)})),e+="?"+r.join("&")}return e}function x(e){const t=e.trim(),r=t.indexOf(" ");if(-1!==r){const e=t.substring(r+1).split(",").filter(Boolean).map((e=>e.trim())),n=3,i={error:void 0,claims:void 0};if(e.forEach((e=>{const t=e.split('"');if(t.length===n)switch(t[0].toLocaleLowerCase()){case"error=":i.error=t[1];break;case"claims=":i.claims=t[1]}})),"insufficient_claims"===i.error)return i.claims}}const k=e=>{try{const t=new URL(e);return"https:"===t.protocol&&""!==t.hostname}catch(e){return!1}}},795:(e,t,r)=>{"use strict";r.d(t,{K:()=>o}),r(7810);var n=r(2624);const i=(0,r(3421).X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"fccw675",Bhrd7zp:"fl43uef",Bg96gwp:"f1ebx5kk"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fccw675{font-size:var(--fontSizeHero800);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}"]}),o=(0,n.q)({useStyles:i,className:"fui-Title1",displayName:"Title1"})},810:(e,t,r)=>{"use strict";r.d(t,{T:()=>h,Z:()=>f});var n=r(5454),i=r(5188),o=r(5239),a=r(9666),s=r(7037),l=n.KU,c="2.8.18",u="."+(0,s.Si)(6),d=0;function p(e){return 1===e[i.re]||9===e[i.re]||!+e[i.re]}function f(e,t){return void 0===t&&(t=!1),(0,o.cH)(e+d+++(t?"."+c:a.m5)+u)}function h(e){var t={id:f("_aiData-"+(e||a.m5)+"."+c),accept:function(e){return p(e)},get:function(e,r,n,i){var a=e[t.id];return a?a[(0,o.cH)(r)]:(i&&((a=function(e,t){var r=t[e.id];if(!r){r={};try{p(t)&&(function(e,t,r){if(l)try{return l(e,t,{value:r,enumerable:!1,configurable:!0}),!0}catch(e){}return!1}(t,e.id,r)||(t[e.id]=r))}catch(e){}}return r}(t,e))[(0,o.cH)(r)]=n),n)},kill:function(e,t){if(e&&e[t])try{delete e[t]}catch(e){}}};return t}},821:(e,t,r)=>{"use strict";r.d(t,{D:()=>o});var n=r(7810),i=r(2502);const o=e=>{const t=n.useRef((()=>{throw new Error("Cannot call an event handler while rendering")}));return(0,i.E)((()=>{t.current=e}),[e]),n.useCallback(((...e)=>(0,t.current)(...e)),[t])}},824:(e,t,r)=>{"use strict";r.d(t,{z:()=>i});var n=r(6511);const i=e=>{var t,r,i,a;return{appEligibilityInformation:e.appEligibilityInformation,composeExtension:void 0!==e.composeExtensions&&e.composeExtensions.length>0?{botId:e.composeExtensions[0].botId,type:e.composeExtensions[0].type,commands:o(e)}:void 0,copilotAgents:{customEngineAgents:(null===(r=null===(t=e.copilotExtensions)||void 0===t?void 0:t.customEngineCopilots)||void 0===r?void 0:r.length)?e.copilotExtensions.customEngineCopilots.map((e=>({id:new n.k(e.id),type:e.type}))):[]},connector:void 0!==e.connectors&&e.connectors.length>0?{connectorId:e.connectors[0].connectorId,scopes:e.connectors[0].scopes,configurationUrl:e.connectors[0].configurationUrl}:void 0,devicePermissions:e.devicePermissions||[],id:e.appId,isFullTrust:e.isFullTrustApp||!1,isMicrosoftOwned:e.isMicrosoftOwned||!1,isLOB:!!e.tenantId,pages:{configurable:(null===(i=e.galleryTabs)||void 0===i?void 0:i.map((e=>({configurationUrl:e.configurationUrl}))))||[],static:(null===(a=e.staticTabs)||void 0===a?void 0:a.map((e=>({entityId:e.entityId,contentUrl:e.contentUrl,name:e.name}))))||[]},showLoadingIndicator:e.showLoadingIndicator||!1,validDomains:e.validDomains||[],manifestVersion:e.manifestVersion,version:e.version,webApplicationInfo:e.webApplicationInfo}},o=e=>{var t;return(null===(t=e.composeExtensions[0].commands)||void 0===t?void 0:t.map((e=>({id:e.id,parameterNames:e.parameters?e.parameters.map((e=>e.name)):[]}))))||[]}},825:(e,t,r)=>{"use strict";var n;r.d(t,{r:()=>n}),function(e){e.OpenUrl="Action.OpenUrl",e.Execute="Action.Execute",e.Submit="Action.Submit"}(n||(n={}))},881:(e,t,r)=>{"use strict";r.d(t,{l:()=>a});var n=r(6560),i=r(2614),o=r(6656);class a extends o.B{constructor(e,t,r){super(e),this.appSdkHost=e,this.authService=t,this.telemetryService=r,this.messageHandlers.push(new i.A(e,r,t)),this.messageHandlers.push((0,n.n)(e,{},r)),this.messageHandlers.forEach((e=>e.initHandlers()))}}},912:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ActionSubmitType:()=>Oe.XY,AppService:()=>p,BaseCardService:()=>ze,CardService:()=>He,ChannelService:()=>qe.l,DeepLinkPayloadType:()=>je.p,HttpStatusCode:()=>Oe.kG,HybridAppService:()=>Te,MosAppService:()=>Be,isAdaptiveCardBasedTaskModuleActionSubmit:()=>Le.R1,isBrokeredArchitecture:()=>Ue,isImBackActionSubmit:()=>Le.wY,isInvokeActionSubmit:()=>Le.DO,isMessageBackActionSubmit:()=>Le.bL,isStageViewActionSubmit:()=>Le.Kl,isTaskModuleActionSubmit:()=>Le.Sr,parseActionSubmitInvokePayload:()=>Ve.U,parseDeepLink:()=>je.G,parseMessageBackPayload:()=>Ve.Q});var n=r(1635),i=r(2435),o=r(8088),a=r(2636);const s=e=>Array.isArray(e)?e.map((e=>s(e))):null!=e&&e.constructor===Object?Object.keys(e).reduce(((t,r)=>Object.assign(Object.assign({},t),{[(0,a.A)(r)]:s(e[r])})),{}):e,l=["PluginDefinitions","CustomEngineCopilots"],c="en-us";let u,d=0;class p{constructor(e,t,r){this.tokenService=e,this.telemetryService=r,this.locale=null!=t?t:c}getApp(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const t=yield f(e,this.tokenService,this.locale,this.telemetryService);return null!=t?t:{titleInfo:void 0}}))}}const f=(e,t,r,i)=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){return null==u?yield h(t,r,i):Date.now()-d>36e5&&h(t,r,i),yield g(e.id)})),h=(e,t,r)=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){const n=yield m(e,t,r);return n&&(u=n,d=Date.now()),n})),g=e=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){if(u){const t=u.find((t=>t.appId===e||t.titleId===e));return Promise.resolve({titleInfo:t})}return Promise.reject(`couldn't find app with id, ${e}`)})),m=(e,t,r)=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){var n;const a=new o.k(r,i.yx.GetUserConfig,i.xe.GetUserConfigFrom3S),u={};try{const r=yield e.getToken({resource:"https://substrate.office.com/search"});if(r&&(null==r?void 0:r.authToken)){const e={method:"POST",headers:{Authorization:`Bearer ${r.authToken}`,"Content-Type":"application/json","Accept-Language":null!=t?t:c},body:JSON.stringify({RequestedConfigTypes:l,Scenario:{Name:"sydney"},TextDecorations:"Off",TimeZone:"UTC",Culture:null!=t?t:c})},o=yield fetch("https://substrate.office.com/search/api/v1/userconfig".toString(),e);if(u[i.vP.HttpStatusCode]=null==o?void 0:o.status,o.ok&&200===o.status){const e=yield o.json();return a.logMetricEnd({props:u}),s(null===(n=e.PluginDefinitionResponse)||void 0===n?void 0:n.Plugins)}return a.logMetricEndWithError({props:u}),Promise.reject(`Error while fetching userConfig: ${o.status}`)}}catch(e){return a.logMetricEndWithError({props:u,diagnosticsData:`Error: getUserConfig failed, ${null==e?void 0:e.message}`}),Promise.reject(`getUserConfig failed, ${null==e?void 0:e.message}`)}}));var v=r(6160),y=r(1671);const b=function(){try{var e=(0,y.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),w=function(e,t,r){"__proto__"==t&&b?b(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};var S=r(7348);const C=function(e,t,r){(void 0!==r&&!(0,S.A)(e[t],r)||void 0===r&&!(t in e))&&w(e,t,r)},A=function(e,t,r){for(var n=-1,i=Object(e),o=r(e),a=o.length;a--;){var s=o[++n];if(!1===t(i[s],s,i))break}return e};var x=r(8377),k="object"==typeof exports&&exports&&!exports.nodeType&&exports,E=k&&"object"==typeof module&&module&&!module.nodeType&&module,_=E&&E.exports===k?x.A.Buffer:void 0,I=_?_.allocUnsafe:void 0;var P=r(5168);const T=function(e,t){var r,n,i=t?(r=e.buffer,n=new r.constructor(r.byteLength),new P.A(n).set(new P.A(r)),n):e.buffer;return new e.constructor(i,e.byteOffset,e.length)},B=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t};var D=r(6809),N=Object.create;const R=function(){function e(){}return function(t){if(!(0,D.A)(t))return{};if(N)return N(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),O=(0,r(5067).A)(Object.getPrototypeOf,Object);var z=r(4603);var M=r(2078),F=r(8285),L=r(7242),j=r(8214);var V=r(6118),H=r(9790),q=r(2977),U=Function.prototype,$=Object.prototype,W=U.toString,G=$.hasOwnProperty,K=W.call(Object);var X=r(5935);const Y=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var J=Object.prototype.hasOwnProperty;const Z=function(e,t,r){var n=e[t];J.call(e,t)&&(0,S.A)(n,r)&&(void 0!==r||t in e)||w(e,t,r)};var Q=r(4479);var ee=Object.prototype.hasOwnProperty;const te=function(e){if(!(0,D.A)(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=(0,z.A)(e),r=[];for(var n in e)("constructor"!=n||!t&&ee.call(e,n))&&r.push(n);return r},re=function(e){return(0,L.A)(e)?(0,Q.A)(e,!0):te(e)},ne=function(e){return function(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=n?n(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),i?w(r,s,l):Z(r,s,l)}return r}(e,re(e))},ie=function(e,t,r,n,i,o,a){var s,l=Y(e,r),c=Y(t,r),u=a.get(c);if(u)C(e,r,u);else{var d=o?o(l,c,r+"",e,t,a):void 0,p=void 0===d;if(p){var f=(0,F.A)(c),h=!f&&(0,V.A)(c),g=!f&&!h&&(0,X.A)(c);d=c,f||h||g?(0,F.A)(l)?d=l:(s=l,(0,j.A)(s)&&(0,L.A)(s)?d=B(l):h?(p=!1,d=function(e,t){if(t)return e.slice();var r=e.length,n=I?I(r):new e.constructor(r);return e.copy(n),n}(c,!0)):g?(p=!1,d=T(c,!0)):d=[]):function(e){if(!(0,j.A)(e)||"[object Object]"!=(0,q.A)(e))return!1;var t=O(e);if(null===t)return!0;var r=G.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&W.call(r)==K}(c)||(0,M.A)(c)?(d=l,(0,M.A)(l)?d=ne(l):(0,D.A)(l)&&!(0,H.A)(l)||(d=function(e){return"function"!=typeof e.constructor||(0,z.A)(e)?{}:R(O(e))}(c))):p=!1}p&&(a.set(c,d),i(d,c,n,o,a),a.delete(c)),C(e,r,d)}},oe=function e(t,r,n,i,o){t!==r&&A(r,(function(a,s){if(o||(o=new v.A),(0,D.A)(a))ie(t,r,s,n,e,i,o);else{var l=i?i(Y(t,s),a,s+"",t,r,o):void 0;void 0===l&&(l=a),C(t,s,l)}}),re)},ae=function(e){return e};var se=Math.max;const le=b?function(e,t){return b(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:ae;var ce=Date.now;const ue=(de=le,pe=0,fe=0,function(){var e=ce(),t=16-(e-fe);if(fe=e,t>0){if(++pe>=800)return arguments[0]}else pe=0;return de.apply(void 0,arguments)});var de,pe,fe;const he=function(e,t){return ue(function(e,t,r){return t=se(void 0===t?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=se(n.length-t,0),a=Array(o);++i<o;)a[i]=n[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=n[i];return s[t]=r(a),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(e,this,s)}}(e,t,ae),e+"")};var ge=r(3869);const me=(ve=function(e,t,r){oe(e,t,r)},he((function(e,t){var r=-1,n=t.length,i=n>1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(i=ve.length>3&&"function"==typeof i?(n--,i):void 0,o&&function(e,t,r){if(!(0,D.A)(r))return!1;var n=typeof t;return!!("number"==n?(0,L.A)(r)&&(0,ge.A)(t,r.length):"string"==n&&t in r)&&(0,S.A)(r[t],e)}(t[0],t[1],o)&&(i=n<3?void 0:i,n=1),e=Object(e);++r<n;){var a=t[r];a&&ve(e,a,r)}return e})));var ve,ye=r(2020),be=r(4560);const we=function(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),r=arguments[0],n=e;n--;)t[n-1]=arguments[n];return(0,ye.A)((0,F.A)(r)?B(r):[r],(0,be.A)(t,1))},Se="https://titles.prod.mos.microsoft.com/config/v1/environment",Ce=36e5;class Ae{static getAndCacheUrlFromDiscoveryApi(e,t,r){return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{null==r||r.setScenario(i.oc.ServiceUrlTokenFetchFromDiscoveryApi);const n=yield e.getToken({resource:Se});if(n&&n.authToken){null==r||r.setScenario(i.oc.MOS3ServiceUrlFetchFromDiscoveryApi);const e=new URL(Se),o={method:"GET",headers:{Authorization:`Bearer ${n.authToken}`,Accept:"application/json","Accept-Language":t}},a=yield fetch(e.toString(),o);if(a.ok&&200===a.status){const e=yield a.json();return Ae.cachedServiceUrl=e.titlesServiceUrl,Ae.cacheTimeInMs=e.cacheTimeInHrs?e.cacheTimeInHrs*Ce:Ce,Ae.createTime=Date.now(),e.titlesServiceUrl}return Promise.reject(`Error while fetching discovery environment info: ${a.status}`)}return Promise.reject("Failed to fetch token for discovery endpoint")}catch(e){return Promise.reject(`discovery environment info failed, ${null==e?void 0:e.message}`)}}))}}var xe;Ae.cacheTimeInMs=0,Ae.cachedServiceUrl=void 0,Ae.createTime=0,Ae.getServiceUrl=(e,t,r)=>Date.now()-Ae.createTime<Ae.cacheTimeInMs&&Ae.cachedServiceUrl?(null==r||r.setScenario(i.oc.ServiceUrlFetchFromDiscoveryApiCacheHit),Promise.resolve(Ae.cachedServiceUrl)):Ae.getAndCacheUrlFromDiscoveryApi(e,t,r);const ke="https://titles.prod.mos.microsoft.com",Ee="en-us";class _e{static getAndCacheAcquisitions(e,t,r,i,o){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=yield Ie(t,r,i,o);if(n)return xe.createTime=Date.now(),xe.cachedAcquisitions=n,n;{const n=yield Pe(e,t,r,i);return n&&(xe.cachedAcquisitions?xe.cachedAcquisitions.push(n[0]):(xe.cachedAcquisitions=n,xe.createTime=Date.now())),xe.cachedAcquisitions}}))}static findAcquisitionWithId(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const r={},n=t&&new o.k(t,i.yx.FindAcquisition,i.xe.FindAcquisitionforMOS);if(xe.cachedAcquisitions){const t=xe.cachedAcquisitions.find((t=>t.appId===e||t.titleId===e||t.manifestId===e));return null==n||n.logMetricEnd({props:r}),Promise.resolve(t)}return null==n||n.logMetricEndWithError({props:r,diagnosticsData:"Error: could not find app with id in acquisitions"}),Promise.reject(`couldn't find app with id, ${e}`)}))}}xe=_e,_e.cacheTimeInMs=36e5,_e.cachedAcquisitions=void 0,_e.createTime=0,_e.acquisitionPromiseCache={},_e.getAcquisition=(e,t,...r)=>(0,n.__awaiter)(void 0,[e,t,...r],void 0,(function*(e,t,r=Ee,i,o){if(xe.acquisitionPromiseCache[e])return xe.acquisitionPromiseCache[e];const a=(0,n.__awaiter)(void 0,void 0,void 0,(function*(){return Date.now()-xe.createTime>xe.cacheTimeInMs&&(xe.cachedAcquisitions=void 0),xe.cachedAcquisitions&&0!=xe.cachedAcquisitions.filter((t=>t.appId===e)).length||(yield xe.getAndCacheAcquisitions(e,t,r,i,o)),yield xe.findAcquisitionWithId(e,i)}));return xe.acquisitionPromiseCache[e]=a,a.finally((()=>{delete xe.acquisitionPromiseCache[e]})),a}));const Ie=(e,...t)=>(0,n.__awaiter)(void 0,[e,...t],void 0,(function*(e,t=Ee,r,n){var a;const l={},c=r&&new o.k(r,i.yx.GetAndCacheAcquisition,i.xe.GetAndCacheAcquisitionFromMOS3);try{let r=ke;r=n?"https://titles.gccm.mos.microsoft.com":null!==(a=yield Ae.getServiceUrl(e,t,c))&&void 0!==a?a:ke,null==c||c.setScenario(i.oc.TokenFetchFromMOS3API);const o=yield e.getToken({resource:r});if(!o||!o.authToken)return null==c||c.logMetricEndWithError({props:l,diagnosticsData:`Error: fetching acquisitions token from MOS acquisitions failed, isGCC: ${n}`}),Promise.reject("fetching acquisitions token from MOS acquisitions failed");null==c||c.setScenario(i.oc.AcquisitionsFetchFromMOS3API);const u=new URL("/catalog/v1/users/acquisitions/get",r),d={method:"POST",headers:{Authorization:`Bearer ${o.authToken}`,Accept:"application/json","Accept-Language":t},body:JSON.stringify({Filter:{supportedElementTypes:["ComposeExtensions","Plugins","OpenAIPlugins","Gpts","DeclarativeCopilots","CustomEngineCopilots"]}})};let p,f=[],h=0,g=0;do{p=!1,g++;const e=yield fetch(u.toString(),d);if(l.HttpStatusCode=e.status,e.ok&&200===e.status){const t=yield e.json(),r=s(t.acquisitions);t.syncKey&&r.length>0&&(p=!0,h++,d.body=JSON.stringify({syncKey:t.syncKey}),f=we(r,f))}else null==c||c.logMetricEndWithError({props:l,diagnosticsData:`Error: fetching acquisitions from MOS endpoint failed with status code, ${e.status}`})}while(p);return null==c||c.logMetricEnd({props:l,diagnosticsData:`SyncKey is used , ${h} times for fetching acquisitions, ${g} retries`}),f}catch(e){return null==c||c.logMetricEndWithError({props:l,diagnosticsData:`Error: fetching acquisitions from MOS endpoint failed , ${null==e?void 0:e.message}`}),Promise.reject(`fetching acquisitions from MOS endpoint failed, ${null==e?void 0:e.message}`)}})),Pe=(e,t,...r)=>(0,n.__awaiter)(void 0,[e,t,...r],void 0,(function*(e,t,r=Ee,n){const a={},l=n&&new o.k(n,i.yx.GetAndCacheAcquisition,i.xe.GetAndCacheAcquisitionFromLaunchInfo);try{const n=yield Ae.getServiceUrl(t,r,l),o=null!=n?n:ke,c=new URL("/catalog/v1/users/titles/launchInfo",o);null==l||l.setScenario(i.oc.TokenFetchFromMOS3API);const u=yield t.getToken({resource:o});if(!u||!u.authToken)return null==l||l.logMetricEndWithError({props:a,diagnosticsData:"Error: fetching acquisitions token from launch info endpoint failed"}),Promise.reject("fetching acquisitions token from launch info endpoint failed");const d={method:"POST",headers:{Authorization:`Bearer ${u.authToken}`,Accept:"application/json","Accept-Language":r},body:JSON.stringify({Id:e,Filter:{supportedElementTypes:["ComposeExtensions","Plugins","OpenAIPlugins","Gpts","DeclarativeCopilots"]}})};null==l||l.setScenario(i.oc.AcquisitionsFetchFromMOS3API);const p=yield fetch(c.toString(),d);if(p.ok&&200===p.status){const e=yield p.json();return[s(e.acquisition)]}return a.HttpStatusCode=p.status,null==l||l.logMetricEnd({props:a}),Promise.reject(`Error while fetching acquisitions from launch info endpoint: ${p.status}`)}catch(e){return null==l||l.logMetricEndWithError({props:a,diagnosticsData:`Error: fetching acquisitions from launch info endpoint failed, ${null==e?void 0:e.message}`}),Promise.reject(`fetching acquisitions from launch info endpoint failed, ${null==e?void 0:e.message}`)}}));class Te{constructor(e,t,r){this.tokenService=e,this.locale=t,this.telemetryService=r,this.hybridAppInfosCache=void 0,this.cacheCreateTime=0}getApp(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.getAppInfo(e,this.tokenService,this.locale,this.telemetryService)}))}getAppInfo(e,t,r,a){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=new o.k(this.telemetryService,i.yx.GetApp,i.xe.GetAppFromHybrid);return this.hybridAppInfosCache&&Date.now()-this.cacheCreateTime<36e5||(this.hybridAppInfosCache=yield this.getHybridAppInfos(e.id,t,r,a),this.cacheCreateTime=Date.now()),this.hybridAppInfosCache?this.findAppInfoWithId(e.id)?(n.logMetricEnd({}),Promise.resolve({titleInfo:this.findAppInfoWithId(e.id)})):(n.logMetricEndWithError({diagnosticsData:`Error: getAppDefinition failed, Appid: ${e.id}`}),Promise.reject("Error: getAppDefinition failed")):{titleInfo:void 0}}))}getHybridAppInfos(e,t,r,i){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const[n,o]=yield Promise.all([Ie(t,r,i),m(t,r,i)]);let a=n;a||(a=yield Pe(e,t,r,i));const s=[];if(o){const e={};if(a)for(let t=0;t<a.length;t++){const r=a[t];e[r.appId]=r}for(let t=0;t<o.length;t++){const r=o[t].appId;if(r in e){const n=e[r],i=me(n,o[t]);s.push(i)}else s.push(o[t])}}return s}))}findAppInfoWithId(e){if(this.hybridAppInfosCache){const t=this.hybridAppInfosCache.find((t=>{var r;return t.appId===e||t.titleId===e||(null===(r=t.titleId)||void 0===r?void 0:r.id)===e}));return t}}}class Be{constructor(e,t,r){this.tokenService=e,this.locale=t,this.telemetryService=r}getApp(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return{titleInfo:yield this.getAppFromMOS3(e.id,e.isGcc)}}))}getAppFromMOS3(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const r=new o.k(this.telemetryService,i.yx.GetApp,i.xe.GetAppFromMOS3);try{const n=yield _e.getAcquisition(e,this.tokenService,this.locale,this.telemetryService,t);return r.logMetricEnd({}),n}catch(e){return r.logMetricEndWithError({diagnosticsData:`Error: getAppDefinition failed, ${null==e?void 0:e.message}, isGCC: ${t}`}),Promise.reject(`getAppDefinition failed, ${null==e?void 0:e.message}`)}}))}}var De=r(1503),Ne=r(8702),Re=r(3779),Oe=r(1616);class ze{constructor(e,t,r){this.channelService=e,this.appService=t,this.telemetryService=r}handleActionExecute(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){var t,r,n,a,s,l,c,u,d,p,f,h,g,m,v,y,b,w,S,C,A,x,k,E,_,I,P;const T=new o.k(this.telemetryService,i.yx.CardService,i.xe.ActionExecute),B={},D={cardData:e.cardData,botId:e.botId,appId:e.appId,requestBody:{name:"adaptiveCard/action",type:"invoke",value:{action:{type:"Action.Execute",id:e.actionId,verb:e.actionVerb,data:e.actionData},trigger:null!==(t=e.trigger)&&void 0!==t?t:"manual"}}};e.authCode&&(D.requestBody.value.state=e.authCode),e.authToken&&(D.requestBody.value.authentication={token:e.authToken}),(e.conversationId||(null===(r=e.cardData)||void 0===r?void 0:r.conversationId))&&(D.requestBody.conversation={id:null!==(s=null!==(n=e.conversationId)&&void 0!==n?n:null===(a=e.cardData)||void 0===a?void 0:a.conversationId)&&void 0!==s?s:""});const N=yield null===(l=this.channelService)||void 0===l?void 0:l.botInvoke(D);let R;if((null==N?void 0:N.type)===De.t.Error||!(null==N?void 0:N.value)){const e=N.value;return new Ne.H0(e.errorCode,e.errorMessage)}const O=N.value;switch(null==O?void 0:O.statusCode){case Oe.kG.Ok:R=new Ne.G3(JSON.stringify(O.value),O.type),B[i.vP.ActionExecuteResponseType]=i.Ve.Result,T.logMetricEnd({props:B,diagnosticsData:`TypeOfCard: ${null===(c=null==e?void 0:e.cardData)||void 0===c?void 0:c.contentType}, cardId : ${null===(u=null==e?void 0:e.cardData)||void 0===u?void 0:u.cardId}, cardsize: ${null===(p=null===(d=null==e?void 0:e.cardData)||void 0===d?void 0:d.content)||void 0===p?void 0:p.length}, Appid: ${(0,Re.n)(null===(f=null==e?void 0:e.cardData)||void 0===f?void 0:f.titleId,null===(h=null==e?void 0:e.cardData)||void 0===h?void 0:h.appId)}`},null===(g=e.cardData)||void 0===g?void 0:g.cardId);break;case Oe.kG.Unauthorized:if(N.value){R=new Ne.BF(JSON.stringify(O.value),O.type),B[i.vP.ActionExecuteResponseType]=i.Ve.AuthError,T.logMetricEnd({props:B,diagnosticsData:`TypeOfCard: ${null===(m=null==e?void 0:e.cardData)||void 0===m?void 0:m.contentType}, cardId : ${null===(v=null==e?void 0:e.cardData)||void 0===v?void 0:v.cardId}, cardsize: ${null===(b=null===(y=null==e?void 0:e.cardData)||void 0===y?void 0:y.content)||void 0===b?void 0:b.length}, Appid: ${(0,Re.n)(null===(w=null==e?void 0:e.cardData)||void 0===w?void 0:w.titleId,null===(S=null==e?void 0:e.cardData)||void 0===S?void 0:S.appId)}`},null===(C=e.cardData)||void 0===C?void 0:C.cardId);break}R=new Ne.H0(500,"response is empty"),B[i.vP.ActionExecuteResponseType]=i.Ve.Error,T.logMetricEndWithError({props:B,diagnosticsData:`Error: Action Execute failed. Bot response is empty or error, Appid: ${(0,Re.n)(null===(A=null==e?void 0:e.cardData)||void 0===A?void 0:A.titleId,null===(x=null==e?void 0:e.cardData)||void 0===x?void 0:x.appId)}`},null===(k=e.cardData)||void 0===k?void 0:k.cardId);break;default:R=new Ne.H0(null!==(E=null==O?void 0:O.statusCode)&&void 0!==E?E:500,JSON.stringify(null==O?void 0:O.value)),B[i.vP.ActionExecuteResponseType]=i.Ve.Error,T.logMetricEndWithError({props:B,diagnosticsData:`Error: Action Execute failed. Bot response status code is not supported, Appid: ${(0,Re.n)(null===(_=null==e?void 0:e.cardData)||void 0===_?void 0:_.titleId,null===(I=null==e?void 0:e.cardData)||void 0===I?void 0:I.appId)}`},null===(P=e.cardData)||void 0===P?void 0:P.cardId)}return R}))}getAppDefinition(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.appService.getApp({id:e.id})}))}}var Me=r(8264),Fe=r(8976),Le=r(2940),je=r(9278),Ve=r(191);class He extends ze{constructor(e,t,r,n){super(t,r,n),this.hostService=e,this.channelService=t,this.appService=r,this.telemetryService=n}handleOpenUrl(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){var t,r,n,a,s,l,c,u,d,p,f,h,g,m,v,y,b,w;const S=new o.k(this.telemetryService,i.yx.CardService,i.xe.OpenUrl),C={};try{let o,y={type:je.p.Unhandled,params:{url:new URL(e.url)}};switch(e.disableDeepLinkProcessing||(y=(0,je.G)(null==e?void 0:e.url)),y.type){case je.p.StageView:C[i.vP.ModalViewType]=i.lp.StageView,o={cardData:e.cardData,botId:null!==(t=e.botId)&&void 0!==t?t:"",appId:null!==(n=null===(r=e.cardData)||void 0===r?void 0:r.appId)&&void 0!==n?n:y.params.appId,stageInfo:y.params.stageInfo},e.conversationId&&(o.conversationId=e.conversationId),yield null===(a=this.hostService)||void 0===a?void 0:a.openStageView(o);break;case je.p.TaskModule:C[i.vP.ModalViewType]=i.lp.TaskModule,o={cardData:e.cardData,botId:null!==(s=e.botId)&&void 0!==s?s:"",appId:null!==(c=null===(l=e.cardData)||void 0===l?void 0:l.appId)&&void 0!==c?c:y.params.appId,taskInfo:y.params.taskInfo},e.conversationId&&(o.conversationId=e.conversationId),yield null===(u=this.hostService)||void 0===u?void 0:u.openTaskModule(o);break;default:o={cardData:e.cardData,url:e.url},e.conversationId&&(o.conversationId=e.conversationId),yield this.hostService.openUrl(o)}return S.logMetricEnd({props:C,diagnosticsData:`TypeOfCard: ${null===(d=null==e?void 0:e.cardData)||void 0===d?void 0:d.contentType}, cardId : ${null===(p=null==e?void 0:e.cardData)||void 0===p?void 0:p.cardId}, cardsize: ${null===(h=null===(f=null==e?void 0:e.cardData)||void 0===f?void 0:f.content)||void 0===h?void 0:h.length}, Appid: ${(0,Re.n)(null===(g=null==e?void 0:e.cardData)||void 0===g?void 0:g.titleId,null===(m=null==e?void 0:e.cardData)||void 0===m?void 0:m.appId)}`},null===(v=e.cardData)||void 0===v?void 0:v.cardId),{status:Me.yl.Success,linkType:y.type}}catch(t){return S.logMetricEndWithError({props:C,diagnosticsData:`Error: OpenUrl failed. ErrorMessage: ${(null==t?void 0:t.message)||t},  Appid: ${(0,Re.n)(null===(y=null==e?void 0:e.cardData)||void 0===y?void 0:y.titleId,null===(b=null==e?void 0:e.cardData)||void 0===b?void 0:b.appId)}`},null===(w=e.cardData)||void 0===w?void 0:w.cardId),Promise.reject(t)}}))}handleActionSubmit(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){var t,r,n,a,s,l,c,u,d,p,f,h,g,m,v,y,b,w,S,C,A,x,k,E,_,I,P,T,B,D,N,R,O,z,M,F,L;const j=new o.k(this.telemetryService,i.yx.CardService,i.xe.ActionSubmit),V={};try{if(!e.data||!e.appId)return j.logMetricEndWithError({props:V,diagnosticsData:`Error: ActionSubmit failed as data or appId is undefined, Appid: ${(0,Re.n)(null===(t=null==e?void 0:e.cardData)||void 0===t?void 0:t.titleId,null===(r=null==e?void 0:e.cardData)||void 0===r?void 0:r.appId)}`},null===(n=e.cardData)||void 0===n?void 0:n.cardId),Promise.reject("Data or appId is undefined");if((0,Le.Kl)(e.data)&&(null===(a=e.data)||void 0===a?void 0:a.msteams.value.tabInfo)){V[i.vP.ModalViewType]=i.lp.StageView;const t=Object.assign(Object.assign({},e.data.msteams.value.tabInfo),{triggeringActionTitle:e.triggeringActionTitle}),r={cardData:e.cardData,botId:e.botId,appId:e.appId,stageInfo:t,frameContext:Fe.E2.content};e.conversationId&&(r.conversationId=e.conversationId),yield this.hostService.openStageView(r)}else if((0,Le.wY)(e.data)){V[i.vP.ActionType]=i.X2.ImBack;const t={type:"imBack",cardData:e.cardData,prompt:e.data.msteams.value};t.appId=null===(s=e.cardData)||void 0===s?void 0:s.appId,yield this.channelService.botMessage(t)}else if((0,Le.Sr)(e.data)||(0,Le.R1)(e)){let t;if(V[i.vP.ModalViewType]=i.lp.TaskModule,null===(u=null===(c=null===(l=e.data)||void 0===l?void 0:l.msteams)||void 0===c?void 0:c.value)||void 0===u?void 0:u.tabInfo){const r=Object.assign(Object.assign({},e.data.msteams.value.tabInfo),{triggeringActionTitle:e.triggeringActionTitle});t={cardData:e.cardData,botId:e.botId,appId:e.appId,taskInfo:r,frameContext:Fe.E2.task},e.conversationId&&(t.conversationId=e.conversationId)}else if("task/fetch"===(null===(f=null===(p=null===(d=e.data)||void 0===d?void 0:d.msteams)||void 0===p?void 0:p.value)||void 0===f?void 0:f.type)||"task/fetch"===(null===(g=null===(h=e.data)||void 0===h?void 0:h.msteams)||void 0===g?void 0:g.type)||(0,Le.R1)(e)){V[i.vP.IsTaskFetch]=1;const r=(0,Le.Sr)(e.data)?"task/fetch":"task/submit",n=(0,Ve.U)(e.data),o={appId:e.appId,botId:e.botId,requestBody:{name:r,value:{data:n}}};e.conversationId&&o.requestBody&&(o.requestBody.conversation={id:e.conversationId});const a=yield this.channelService.botInvoke(o);if(a.type===De.t.Error||!a.value)return j.logMetricEndWithError({props:V,diagnosticsData:`Error: Bot invoke failed. Bot response is empty or error, Appid: ${(0,Re.n)(null===(m=null==e?void 0:e.cardData)||void 0===m?void 0:m.titleId,null===(v=null==e?void 0:e.cardData)||void 0===v?void 0:v.appId)}`},null===(y=e.cardData)||void 0===y?void 0:y.cardId),Promise.reject("Bot invoke failed");if((null==a?void 0:a.type)===De.t.Result){const r=a.value;if(!(null===(b=r.task)||void 0===b?void 0:b.value))return j.logMetricEndWithError({props:V,diagnosticsData:`Error: Task info is not present in bot response, Appid: ${(0,Re.n)(null===(w=null==e?void 0:e.cardData)||void 0===w?void 0:w.titleId,null===(S=null==e?void 0:e.cardData)||void 0===S?void 0:S.appId)}`},null===(C=e.cardData)||void 0===C?void 0:C.cardId),Promise.reject("Task info is not present in bot response");const n=Object.assign(Object.assign({},null===(A=r.task)||void 0===A?void 0:A.value),{triggeringActionTitle:e.triggeringActionTitle});t={cardData:e.cardData,botId:e.botId,appId:e.appId,taskInfo:n,frameContext:Fe.E2.task},e.conversationId&&(t.conversationId=e.conversationId)}}t&&(yield this.hostService.openTaskModule(t))}else{if(!(0,Le.DO)(e.data))return j.logMetricEndWithError({props:V,diagnosticsData:`Error: ActionSubmit failed as passed action submit type is not supported, Appid: ${(0,Re.n)(null===(_=null==e?void 0:e.cardData)||void 0===_?void 0:_.titleId,null===(I=null==e?void 0:e.cardData)||void 0===I?void 0:I.appId)}`},null===(P=e.cardData)||void 0===P?void 0:P.cardId),{status:Me.yl.Failure};{V[i.vP.ActionType]=i.X2.Invoke;const t=(0,Ve.U)(e.data),r={appId:e.appId,botId:e.botId,requestBody:{name:"invoke",value:t}};e.conversationId&&r.requestBody&&(r.requestBody.conversation={id:e.conversationId});const n=yield this.channelService.botInvoke(r);if(n.type===De.t.Error||!n.value)return j.logMetricEndWithError({props:V,diagnosticsData:`Error: Bot invoke failed. Bot response is empty or error, Appid: ${(0,Re.n)(null===(x=null==e?void 0:e.cardData)||void 0===x?void 0:x.titleId,null===(k=null==e?void 0:e.cardData)||void 0===k?void 0:k.appId)}`},null===(E=e.cardData)||void 0===E?void 0:E.cardId),Promise.reject("Bot invoke failed")}}j.logMetricEnd({props:V,diagnosticsData:`TypeOfCard: ${null===(T=null==e?void 0:e.cardData)||void 0===T?void 0:T.contentType}, cardId : ${null===(B=null==e?void 0:e.cardData)||void 0===B?void 0:B.cardId}, cardsize: ${null===(N=null===(D=null==e?void 0:e.cardData)||void 0===D?void 0:D.content)||void 0===N?void 0:N.length}, Appid: ${(0,Re.n)(null===(R=null==e?void 0:e.cardData)||void 0===R?void 0:R.titleId,null===(O=null==e?void 0:e.cardData)||void 0===O?void 0:O.appId)}`},null===(z=e.cardData)||void 0===z?void 0:z.cardId)}catch(t){return j.logMetricEndWithError({props:V,diagnosticsData:`Error: ActionSubmit failed. ErrorMessage: ${(null==t?void 0:t.message)||t}, Appid: ${(0,Re.n)(null===(M=null==e?void 0:e.cardData)||void 0===M?void 0:M.titleId,null===(F=null==e?void 0:e.cardData)||void 0===F?void 0:F.appId)}`},null===(L=e.cardData)||void 0===L?void 0:L.cardId),{status:Me.yl.Error}}return{status:Me.yl.Success}}))}}var qe=r(3936);function Ue(e){return"teamshub"==e}},930:(e,t,r)=>{"use strict";r.d(t,{K:()=>n});var n="4.22.404"},969:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeGetStringMapLoader=void 0;var n=r(3592);t.makeGetStringMapLoader=function(e){return function(t){var r=function(t){return e((0,n.toSupportedLocale)(t,"en-us"))};return t?e((0,n.toSupportedLocale)(t,"en-us")).catch((function(){})).then((function(){return r})):Promise.resolve(r)}}},971:(e,t,r)=>{"use strict";const n=r(5923);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},1009:(e,t,r)=>{"use strict";var n;r.d(t,{Bi:()=>s});var i=r(7810),o=r(1644);const a=i.createContext(void 0);function s(e="fui-",t){const s=(0,o.LM)(),l=i.useContext(a)||"",c=(n||(n=r.t(i,2))).useId;if(c){const r=c(),n=i.useMemo((()=>r.replace(/:/g,"")),[r]);return t||`${l}${e}${n}`}return i.useMemo((()=>t||`${l}${e}${++s.current}`),[l,e,t,s])}a.Provider},1013:(e,t,r)=>{"use strict";r.d(t,{Pt:()=>w});const n=["Top","Right","Bottom","Left"];function i(e,t,...r){const[i,o=i,a=i,s=o]=r,l=[i,o,a,s],c={};for(let r=0;r<l.length;r+=1)(l[r]||0===l[r])&&(c[e+n[r]+t]=l[r]);return c}function o(...e){return i("border","Width",...e)}function a(...e){return i("border","Style",...e)}function s(...e){return i("border","Color",...e)}const l=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function c(e){return l.includes(e)}const u=e=>"number"==typeof e&&!Number.isNaN(e),d=e=>"auto"===e,p=["content","fit-content","max-content","min-content"],f=e=>p.some((t=>e===t))||(e=>"string"==typeof e&&/(\d+(\w+|%))/.test(e))(e),h=/var\(.*\)/gi,g=/^[a-zA-Z0-9\-_\\#;]+$/,m=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function v(e){return void 0!==e&&"string"==typeof e&&g.test(e)&&!m.test(e)}const y=["-moz-initial","inherit","initial","revert","unset"],b=["dashed","dotted","double","solid","wavy"],w={border:function(...e){return c(e[0])?Object.assign({},a(e[0]),e[1]&&o(e[1]),e[2]&&s(e[2])):Object.assign({},o(e[0]),e[1]&&a(e[1]),e[2]&&s(e[2]))},borderLeft:function(...e){return c(e[0])?Object.assign({borderLeftStyle:e[0]},e[1]&&{borderLeftWidth:e[1]},e[2]&&{borderLeftColor:e[2]}):Object.assign({borderLeftWidth:e[0]},e[1]&&{borderLeftStyle:e[1]},e[2]&&{borderLeftColor:e[2]})},borderBottom:function(...e){return c(e[0])?Object.assign({borderBottomStyle:e[0]},e[1]&&{borderBottomWidth:e[1]},e[2]&&{borderBottomColor:e[2]}):Object.assign({borderBottomWidth:e[0]},e[1]&&{borderBottomStyle:e[1]},e[2]&&{borderBottomColor:e[2]})},borderRight:function(...e){return c(e[0])?Object.assign({borderRightStyle:e[0]},e[1]&&{borderRightWidth:e[1]},e[2]&&{borderRightColor:e[2]}):Object.assign({borderRightWidth:e[0]},e[1]&&{borderRightStyle:e[1]},e[2]&&{borderRightColor:e[2]})},borderTop:function(...e){return c(e[0])?Object.assign({borderTopStyle:e[0]},e[1]&&{borderTopWidth:e[1]},e[2]&&{borderTopColor:e[2]}):Object.assign({borderTopWidth:e[0]},e[1]&&{borderTopStyle:e[1]},e[2]&&{borderTopColor:e[2]})},borderColor:s,borderStyle:a,borderRadius:function(e,t=e,r=e,n=t){return{borderBottomRightRadius:r,borderBottomLeftRadius:n,borderTopRightRadius:t,borderTopLeftRadius:e}},borderWidth:o,flex:function(...e){const t=1===e.length,r=2===e.length,n=3===e.length;if(t){const[t]=e;if("initial"===t)return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(d(t))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if("none"===t)return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(u(t))return{flexGrow:t,flexShrink:1,flexBasis:0};if(f(t))return{flexGrow:1,flexShrink:1,flexBasis:t}}if(r){const[t,r]=e;if(u(r))return{flexGrow:t,flexShrink:r,flexBasis:0};if(f(r))return{flexGrow:t,flexShrink:1,flexBasis:r}}if(n){const[t,r,n]=e;if(u(t)&&u(r)&&(d(n)||f(n)))return{flexGrow:t,flexShrink:r,flexBasis:n}}return{}},gap:function(e,t=e){return{columnGap:e,rowGap:t}},gridArea:function(...e){if(e.some((e=>!function(e){return void 0===e||"number"==typeof e||"string"==typeof e&&!h.test(e)}(e))))return{};const t=void 0!==e[0]?e[0]:"auto",r=void 0!==e[1]?e[1]:v(t)?t:"auto";return{gridRowStart:t,gridColumnStart:r,gridRowEnd:void 0!==e[2]?e[2]:v(t)?t:"auto",gridColumnEnd:void 0!==e[3]?e[3]:v(r)?r:"auto"}},margin:function(...e){return i("margin","",...e)},marginBlock:function(e,t=e){return{marginBlockStart:e,marginBlockEnd:t}},marginInline:function(e,t=e){return{marginInlineStart:e,marginInlineEnd:t}},padding:function(...e){return i("padding","",...e)},paddingBlock:function(e,t=e){return{paddingBlockStart:e,paddingBlockEnd:t}},paddingInline:function(e,t=e){return{paddingInlineStart:e,paddingInlineEnd:t}},overflow:function(e,t=e){return{overflowX:e,overflowY:t}},inset:function(...e){const[t,r=t,n=t,i=r]=e;return{top:t,right:r,bottom:n,left:i}},outline:function(e,t,r){return Object.assign({outlineWidth:e},t&&{outlineStyle:t},r&&{outlineColor:r})},transition:function(...e){return function(e){return 1===e.length&&y.includes(e[0])}(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:(t=e,1===t.length&&Array.isArray(t[0])?t[0]:[t]).reduce(((e,[t,r="0s",n="0s",i="ease"],o)=>(0===o?(e.transitionProperty=t,e.transitionDuration=r,e.transitionDelay=n,e.transitionTimingFunction=i):(e.transitionProperty+=`, ${t}`,e.transitionDuration+=`, ${r}`,e.transitionDelay+=`, ${n}`,e.transitionTimingFunction+=`, ${i}`),e)),{});var t},textDecoration:function(e,...t){if(0===t.length)return function(e){return b.includes(e)}(e)?{textDecorationStyle:e}:{textDecorationLine:e};const[r,n,i]=t;return Object.assign({textDecorationLine:e},r&&{textDecorationStyle:r},n&&{textDecorationColor:n},i&&{textDecorationThickness:i})}}},1038:(e,t,r)=>{"use strict";r.d(t,{x:()=>c});var n=r(1635),i=r(7810),o=r(702),a=r(3521),s=r(9117),l=r(8565),c=function(e){var t=e.className,r=e.imageProps,c=(0,s.G1)(e,s.vt,["aria-label","aria-labelledby","title","aria-describedby"]),u=r.alt||e["aria-label"],d=u||e["aria-labelledby"]||e.title||r["aria-label"]||r["aria-labelledby"]||r.title,p={"aria-labelledby":e["aria-labelledby"],"aria-describedby":e["aria-describedby"],title:e.title},f=d?{}:{"aria-hidden":!0};return i.createElement("div",(0,n.__assign)({},f,c,{className:(0,a.A)(l.xD,l.xW.root,l.xW.image,t)}),i.createElement(o._,(0,n.__assign)({},p,r,{alt:d?u:""})))}},1044:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,m:()=>o});var n=r(9802);function i(e){return(0,n.eZ)().disableFirstPartyAppsAsMicrosoftOwned?e:Object.assign(Object.assign({},e),{isRestrictedToFirstPartyOrLobApps:e.isRestrictedToFullTrustOrLobApps||e.isRestrictedToFirstPartyOrLobApps,isRestrictedToMicrosoftOwnedOrFullTrustApps:e.isRestrictedToMicrosoftOwnedOrFullTrustApps||e.isRestrictedToFullTrustApps,isRestrictedToFullTrustApps:!1,isRestrictedToFullTrustOrLobApps:!1})}function o(e){return(0,n.eZ)().disableFirstPartyAppsAsMicrosoftOwned?!!(null==e?void 0:e.isFullTrust):!!(null==e?void 0:e.isMicrosoftOwned)||!!(null==e?void 0:e.isFullTrust)}},1050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActionRole=t.CarouselInteractionEvent=t.LogLevel=t.RefreshMode=t.TypeErrorType=t.ContainerFitStatus=t.ValidationEvent=t.ValidationPhase=t.InputLabelPosition=t.InputTextStyle=t.ActionIconPlacement=t.FillMode=t.Orientation=t.ShowCardActionMode=t.ImageStyle=t.ActionAlignment=t.VerticalAlignment=t.HorizontalAlignment=t.TextColor=t.Spacing=t.FontType=t.TextWeight=t.InputStyle=t.TextSize=t.SizeUnit=t.ImageSetPresentationStyle=t.ImageSize=t.Size=t.ActionMode=t.ActionStyle=t.ContainerStyle=void 0;var r=function(){function e(){}return e.Default="default",e.Emphasis="emphasis",e.Accent="accent",e.Good="good",e.Attention="attention",e.Warning="warning",e}();t.ContainerStyle=r;var n=function(){function e(){}return e.Default="default",e.Positive="positive",e.Destructive="destructive",e}();t.ActionStyle=n;var i,o,a,s,l,c,u,d,p,f,h,g,m,v,y,b,w,S,C,A,x,k,E,_,I,P,T,B,D=function(){function e(){}return e.Primary="primary",e.Secondary="secondary",e}();t.ActionMode=D,(B=t.Size||(t.Size={}))[B.Auto=0]="Auto",B[B.Stretch=1]="Stretch",B[B.Small=2]="Small",B[B.Medium=3]="Medium",B[B.Large=4]="Large",(T=t.ImageSize||(t.ImageSize={}))[T.Small=0]="Small",T[T.Medium=1]="Medium",T[T.Large=2]="Large",(P=t.ImageSetPresentationStyle||(t.ImageSetPresentationStyle={}))[P.Default=0]="Default",P[P.Stacked=1]="Stacked",(I=t.SizeUnit||(t.SizeUnit={}))[I.Weight=0]="Weight",I[I.Pixel=1]="Pixel",(_=t.TextSize||(t.TextSize={}))[_.Small=0]="Small",_[_.Default=1]="Default",_[_.Medium=2]="Medium",_[_.Large=3]="Large",_[_.ExtraLarge=4]="ExtraLarge",(E=t.InputStyle||(t.InputStyle={}))[E.RevealOnHover=0]="RevealOnHover",E[E.Default=1]="Default",(k=t.TextWeight||(t.TextWeight={}))[k.Lighter=0]="Lighter",k[k.Default=1]="Default",k[k.Bolder=2]="Bolder",(x=t.FontType||(t.FontType={}))[x.Default=0]="Default",x[x.Monospace=1]="Monospace",(A=t.Spacing||(t.Spacing={}))[A.None=0]="None",A[A.Small=1]="Small",A[A.Default=2]="Default",A[A.Medium=3]="Medium",A[A.Large=4]="Large",A[A.ExtraLarge=5]="ExtraLarge",A[A.Padding=6]="Padding",(C=t.TextColor||(t.TextColor={}))[C.Default=0]="Default",C[C.Dark=1]="Dark",C[C.Light=2]="Light",C[C.Accent=3]="Accent",C[C.Good=4]="Good",C[C.Warning=5]="Warning",C[C.Attention=6]="Attention",(S=t.HorizontalAlignment||(t.HorizontalAlignment={}))[S.Left=0]="Left",S[S.Center=1]="Center",S[S.Right=2]="Right",(w=t.VerticalAlignment||(t.VerticalAlignment={}))[w.Top=0]="Top",w[w.Center=1]="Center",w[w.Bottom=2]="Bottom",(b=t.ActionAlignment||(t.ActionAlignment={}))[b.Left=0]="Left",b[b.Center=1]="Center",b[b.Right=2]="Right",b[b.Stretch=3]="Stretch",(y=t.ImageStyle||(t.ImageStyle={}))[y.Default=0]="Default",y[y.Person=1]="Person",(v=t.ShowCardActionMode||(t.ShowCardActionMode={}))[v.Inline=0]="Inline",v[v.Popup=1]="Popup",(m=t.Orientation||(t.Orientation={}))[m.Horizontal=0]="Horizontal",m[m.Vertical=1]="Vertical",(g=t.FillMode||(t.FillMode={}))[g.Cover=0]="Cover",g[g.RepeatHorizontally=1]="RepeatHorizontally",g[g.RepeatVertically=2]="RepeatVertically",g[g.Repeat=3]="Repeat",(h=t.ActionIconPlacement||(t.ActionIconPlacement={}))[h.LeftOfTitle=0]="LeftOfTitle",h[h.AboveTitle=1]="AboveTitle",(f=t.InputTextStyle||(t.InputTextStyle={}))[f.Text=0]="Text",f[f.Tel=1]="Tel",f[f.Url=2]="Url",f[f.Email=3]="Email",f[f.Password=4]="Password",(p=t.InputLabelPosition||(t.InputLabelPosition={}))[p.Inline=0]="Inline",p[p.Above=1]="Above",(d=t.ValidationPhase||(t.ValidationPhase={}))[d.Parse=0]="Parse",d[d.ToJSON=1]="ToJSON",d[d.Validation=2]="Validation",(u=t.ValidationEvent||(t.ValidationEvent={}))[u.Hint=0]="Hint",u[u.ActionTypeNotAllowed=1]="ActionTypeNotAllowed",u[u.CollectionCantBeEmpty=2]="CollectionCantBeEmpty",u[u.Deprecated=3]="Deprecated",u[u.ElementTypeNotAllowed=4]="ElementTypeNotAllowed",u[u.InteractivityNotAllowed=5]="InteractivityNotAllowed",u[u.InvalidPropertyValue=6]="InvalidPropertyValue",u[u.MissingCardType=7]="MissingCardType",u[u.PropertyCantBeNull=8]="PropertyCantBeNull",u[u.TooManyActions=9]="TooManyActions",u[u.UnknownActionType=10]="UnknownActionType",u[u.UnknownElementType=11]="UnknownElementType",u[u.UnsupportedCardVersion=12]="UnsupportedCardVersion",u[u.DuplicateId=13]="DuplicateId",u[u.UnsupportedProperty=14]="UnsupportedProperty",u[u.RequiredInputsShouldHaveLabel=15]="RequiredInputsShouldHaveLabel",u[u.RequiredInputsShouldHaveErrorMessage=16]="RequiredInputsShouldHaveErrorMessage",u[u.Other=17]="Other",(c=t.ContainerFitStatus||(t.ContainerFitStatus={}))[c.FullyInContainer=0]="FullyInContainer",c[c.Overflowing=1]="Overflowing",c[c.FullyOutOfContainer=2]="FullyOutOfContainer",(l=t.TypeErrorType||(t.TypeErrorType={}))[l.UnknownType=0]="UnknownType",l[l.ForbiddenType=1]="ForbiddenType",(s=t.RefreshMode||(t.RefreshMode={}))[s.Disabled=0]="Disabled",s[s.Manual=1]="Manual",s[s.Automatic=2]="Automatic",(a=t.LogLevel||(t.LogLevel={}))[a.Info=0]="Info",a[a.Warning=1]="Warning",a[a.Error=2]="Error",(o=t.CarouselInteractionEvent||(t.CarouselInteractionEvent={}))[o.NavigationNext=0]="NavigationNext",o[o.NavigationPrevious=1]="NavigationPrevious",o[o.Pagination=2]="Pagination",o[o.Autoplay=3]="Autoplay",(i=t.ActionRole||(t.ActionRole={}))[i.Button=0]="Button",i[i.Link=1]="Link",i[i.Tab=2]="Tab",i[i.Menu=3]="Menu",i[i.MenuItem=4]="MenuItem"},1053:(e,t,r)=>{"use strict";r.d(t,{P:()=>s}),r(7810);var n=r(7424),i=r(7947),o=r(1410),a=r(1750);const s=(e,t)=>{const{size:r}=(0,a.j)(),{appearance:s="secondary",as:l="button",disabled:c=!1,disabledFocusable:u=!1,icon:d,iconPosition:p="before",shape:f="rounded",size:h=(null!=r?r:"medium")}=e,g=i.lq(d,{elementType:"span"});return{appearance:s,disabled:c,disabledFocusable:u,iconPosition:p,shape:f,size:h,iconOnly:Boolean((null==g?void 0:g.children)&&!e.children),components:{root:"button",icon:"span"},root:i.Gk((0,o.g)(l,(0,n.F)(e.as,e)),{elementType:"button",defaultProps:{ref:t,type:"button"===l?"button":void 0}}),icon:g}}},1063:(e,t,r)=>{"use strict";r.d(t,{a:()=>_});var n,i={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"};!function(e){e.depth0="0 0 0 0 transparent",e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(n||(n={}));var o={elevation4:n.depth4,elevation8:n.depth8,elevation16:n.depth16,elevation64:n.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"},a=r(5943),s=r(1786),l="'Segoe UI', '".concat(s.Dn.WestEuropean,"'"),c={ar:s.bi.Arabic,bg:s.bi.Cyrillic,cs:s.bi.EastEuropean,el:s.bi.Greek,et:s.bi.EastEuropean,he:s.bi.Hebrew,hi:s.bi.Hindi,hr:s.bi.EastEuropean,hu:s.bi.EastEuropean,ja:s.bi.Japanese,kk:s.bi.EastEuropean,ko:s.bi.Korean,lt:s.bi.EastEuropean,lv:s.bi.EastEuropean,pl:s.bi.EastEuropean,ru:s.bi.Cyrillic,sk:s.bi.EastEuropean,"sr-latn":s.bi.EastEuropean,th:s.bi.Thai,tr:s.bi.EastEuropean,uk:s.bi.Cyrillic,vi:s.bi.Vietnamese,"zh-hans":s.bi.ChineseSimplified,"zh-hant":s.bi.ChineseTraditional,hy:s.bi.Armenian,ka:s.bi.Georgian};function u(e,t,r){return{fontFamily:r,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}var d,p,f,h,g,m,v=r(1968),y=r(669),b=r(6305),w="language",S=(p=function(e){for(var t in c)if(c.hasOwnProperty(t)&&e&&0===t.indexOf(e))return c[t];return l}(function(e){if(void 0===e&&(e="sessionStorage"),void 0===d){var t=(0,v.Y)(),r="localStorage"===e?function(e){var t=null;try{var r=(0,y.z)();t=r?r.localStorage.getItem(e):null}catch(e){}return t}(w):"sessionStorage"===e?b.G(w):void 0;r&&(d=r),void 0===d&&t&&(d=t.documentElement.getAttribute("lang")),void 0===d&&(d="en")}return d}()),f="".concat(p,", ").concat("'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"),{tiny:u(s.s.mini,s.BO.regular,f),xSmall:u(s.s.xSmall,s.BO.regular,f),small:u(s.s.small,s.BO.regular,f),smallPlus:u(s.s.smallPlus,s.BO.regular,f),medium:u(s.s.medium,s.BO.regular,f),mediumPlus:u(s.s.mediumPlus,s.BO.regular,f),large:u(s.s.large,s.BO.regular,f),xLarge:u(s.s.xLarge,s.BO.semibold,f),xLargePlus:u(s.s.xLargePlus,s.BO.semibold,f),xxLarge:u(s.s.xxLarge,s.BO.semibold,f),xxLargePlus:u(s.s.xxLargePlus,s.BO.semibold,f),superLarge:u(s.s.superLarge,s.BO.semibold,f),mega:u(s.s.mega,s.BO.semibold,f)});function C(e,t,r,n){e="'".concat(e,"'");var i=void 0!==n?"local('".concat(n,"'),"):"";(0,a.n)({fontFamily:e,src:i+"url('".concat(t,".woff2') format('woff2'),")+"url('".concat(t,".woff') format('woff')"),fontWeight:r,fontStyle:"normal",fontDisplay:"swap"})}function A(e,t,r,n,i){void 0===n&&(n="segoeui");var o="".concat(e,"/").concat(r,"/").concat(n);C(t,o+"-light",s.BO.light,i&&i+" Light"),C(t,o+"-semilight",s.BO.semilight,i&&i+" SemiLight"),C(t,o+"-regular",s.BO.regular,i),C(t,o+"-semibold",s.BO.semibold,i&&i+" SemiBold"),C(t,o+"-bold",s.BO.bold,i&&i+" Bold")}!function(e){if(e){var t="".concat(e,"/fonts");A(t,s.Dn.Thai,"leelawadeeui-thai","leelawadeeui"),A(t,s.Dn.Arabic,"segoeui-arabic"),A(t,s.Dn.Cyrillic,"segoeui-cyrillic"),A(t,s.Dn.EastEuropean,"segoeui-easteuropean"),A(t,s.Dn.Greek,"segoeui-greek"),A(t,s.Dn.Hebrew,"segoeui-hebrew"),A(t,s.Dn.Vietnamese,"segoeui-vietnamese"),A(t,s.Dn.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),A(t,s.bi.Selawik,"selawik","selawik"),A(t,s.Dn.Armenian,"segoeui-armenian"),A(t,s.Dn.Georgian,"segoeui-georgian"),C("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),s.BO.light),C("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),s.BO.semibold)}}((m=null===(h=(0,y.z)())||void 0===h?void 0:h.FabricConfig,null!==(g=null==m?void 0:m.fontBaseUrl)&&void 0!==g?g:"https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/assets"));var x=r(3138),k={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},E=r(8120);function _(e,t){void 0===e&&(e={}),void 0===t&&(t=!1);var r=!!e.isInverted,n={palette:i,effects:o,fonts:S,spacing:k,isInverted:r,disableGlobalClassNames:!1,semanticColors:(0,E.b)(i,o,void 0,r,t),rtl:void 0};return(0,x.z)(n,e)}},1067:(e,t,r)=>{"use strict";r.d(t,{X:()=>o});var n=r(5314),i=r(1688);function o(e,t,r=n.A){const o=r();let a=null,s=null;return function(r){const{dir:n,renderer:l}=r,c="ltr"===n;return c?null===a&&(a=(0,i.N)(e,n)):null===s&&(s=(0,i.N)(e,n)),o(l,t),c?a:s}}},1119:(e,t,r)=>{"use strict";r.d(t,{I:()=>c});var n=r(1635),i=r(7810),o=r(1917),a=r(8853),s=r(7608),l=["theme","styles"];function c(e,t,r,c,u){var d=(c=c||{scope:"",fields:void 0}).scope,p=c.fields,f=void 0===p?l:p,h=i.forwardRef((function(l,c){var u=i.useRef(),p=(0,s.m)(f,d),h=p.styles,g=(p.dir,(0,n.__rest)(p,["styles","dir"])),m=r?r(l):void 0,v=(0,a.A)().useStyled,y=u.current&&u.current.__cachedInputs__||[],b=l.styles;if(!u.current||h!==y[1]||b!==y[2]){var w=function(e){return(0,o.p)(e,t,h,b)};w.__cachedInputs__=[t,h,b],w.__noStyleOverride__=!h&&!b,u.current=w}return u.current.__shadowConfig__=v(d),i.createElement(e,(0,n.__assign)({ref:c},g,m,l,{styles:u.current}))}));h.displayName="Styled".concat(e.displayName||e.name);var g=u?i.memo(h):h;return h.displayName&&(g.displayName=h.displayName),g}},1128:(e,t,r)=>{"use strict";var n;r.d(t,{$:()=>n}),function(e){e.Debug="Debug",e.Info="Info",e.Warn="Warn",e.Error="Error"}(n||(n={}))},1136:(e,t,r)=>{"use strict";r.d(t,{Pv:()=>O,_f:()=>z});var n=r(3390),i=r(7e3),o=r(7714),a=r(2290);function s(e,t,r){if("string"==typeof t){const n=(0,a.nL)(e,t,r);return void 0!==n?n:r}return"number"==typeof t?t:r}class l{constructor(e,t){this.default="#000000",this.subtle="#666666",e&&(this.default=e),t&&(this.subtle=t)}parse(e){e&&(this.default=e.default||this.default,this.subtle=e.subtle||this.subtle)}}class c extends l{constructor(){super(...arguments),this.highlightColors=new l("#22000000","#11000000")}parse(e){super.parse(e),e&&this.highlightColors.parse(e.highlightColors)}}class u{constructor(e){this.allowCustomStyle=!1,e&&(this.allowCustomStyle=e.allowCustomStyle||this.allowCustomStyle)}}class d{constructor(e){this.imageSize=n.or.Medium,this.maxImageHeight=100,e&&(this.imageSize=null!=e.imageSize?e.imageSize:this.imageSize,this.maxImageHeight=(0,a.$J)(e.maxImageHeight,d.defaultMaxImageHeight))}toJSON(){return{imageSize:n.or[this.imageSize],maxImageHeight:this.maxImageHeight}}}d.defaultMaxImageHeight=100;class p{constructor(e){this.useHTML5PlayerAsFallback=!1,this.placeholderHeights={veryNarrow:120,narrow:175,standard:250,wide:300},e&&(this.defaultPoster=e.defaultPoster,this.useHTML5PlayerAsFallback=e.useHTML5PlayerAsFallback||this.useHTML5PlayerAsFallback)}toJSON(){return{defaultPoster:this.defaultPoster}}}class f{constructor(e){this.cellSpacing=8,e&&(this.cellSpacing=e.cellSpacing&&"number"==typeof e.cellSpacing?e.cellSpacing:this.cellSpacing)}toJSON(){return{cellSpacing:this.cellSpacing}}}class h{constructor(e){this.size=n.$C.Default,this.color=n.r7.Default,this.isSubtle=!1,this.weight=n.uL.Default,this.parse(e)}parse(e){e&&(this.size=s(n.$C,e.size,this.size),this.color=s(n.r7,e.color,this.color),this.isSubtle=void 0!==e.isSubtle&&"boolean"==typeof e.isSubtle?e.isSubtle:this.isSubtle,this.weight=s(n.uL,e.weight,this.getDefaultWeight()))}getDefaultWeight(){return n.uL.Default}toJSON(){return{size:n.$C[this.size],color:n.r7[this.color],isSubtle:this.isSubtle,weight:n.uL[this.weight]}}}class g extends h{constructor(){super(...arguments),this.fontType=n.g7.Default}parse(e){super.parse(e),e&&(this.fontType=s(n.g7,e.fontType,this.fontType))}}class m{constructor(e){this.default=new g,this.heading=new g({size:"Large",weight:"Bolder"}),this.columnHeader=new g({weight:"Bolder"}),this.label=new g({weight:"Bolder"}),this.captionLabel=new g({size:"Small",weight:"Bolder"}),this.caption=new g({size:"Small"}),this.captionSubtle=new g({size:"Small",weight:"Bolder",isSubtle:!0}),this.captionSubtleLabel=new g({size:"Small",isSubtle:!0}),e&&(this.heading.parse(e.heading),this.columnHeader.parse(e.columnHeader),this.label.parse(e.label),this.captionLabel.parse(e.captionLabel),this.caption.parse(e.caption),this.captionSubtle.parse(e.captionSubtle),this.captionSubtleLabel.parse(e.captionSubtleLabel))}getStyleByName(e){switch(e.toLowerCase()){case"heading":return this.heading;case"columnHeader":return this.columnHeader;default:return this.default}}}class v{constructor(e){e&&(this.headingLevel=(0,a.$J)(e.headingLevel))}}class y extends h{constructor(){super(...arguments),this.suffix=" *",this.suffixColor=n.r7.Attention}parse(e){super.parse(e),e&&(this.suffix=e.suffix||this.suffix,this.suffixColor=s(n.r7,e.suffixColor,this.suffixColor))}toJSON(){const e=super.toJSON();return e.suffix=this.suffix,e.suffixColor=n.r7[this.suffixColor],e}}class b{constructor(e){this.inputSpacing=n.Kz.ExtraSmall,this.requiredInputs=new y,this.optionalInputs=new h,e&&(this.inputSpacing=s(n.Kz,e.inputSpacing,this.inputSpacing),this.requiredInputs=new y(e.requiredInputs),this.optionalInputs=new h(e.optionalInputs))}}class w{constructor(e){this.label=new b,this.errorMessage=new h({color:n.r7.Attention}),e&&(this.label=new b(e.label),this.errorMessage=new h(e.errorMessage))}}class S extends h{constructor(){super(...arguments),this.wrap=!0}parse(e){super.parse(e),e&&(this.wrap=null!=e.wrap?e.wrap:this.wrap)}toJSON(){const e=super.toJSON();return e.wrap=this.wrap,e}}class C extends S{constructor(e){super(e),this.maxWidth=150,this.weight=n.uL.Bolder,e&&(this.maxWidth=null!=e.maxWidth?e.maxWidth:this.maxWidth,this.weight=s(n.uL,e.weight,n.uL.Bolder))}getDefaultWeight(){return n.uL.Bolder}}class A{constructor(e){this.rowGap=10,"object"==typeof e&&(this.rowGap="number"==typeof e.rowGap?Math.max(e.rowGap,0):this.rowGap)}}class x extends A{constructor(e){super(e),this.columnGap=10,"object"==typeof e&&(this.columnGap="number"==typeof e.columnGap?Math.max(e.columnGap,0):this.columnGap)}}class k extends A{constructor(e){super(e),this.titleValueGap=0,"object"==typeof e&&(this.titleValueGap="number"==typeof e.titleValueGap?Math.max(e.titleValueGap,0):this.titleValueGap)}}class E{constructor(e){this.title=new C,this.value=new S,this.tableLayout=new x,this.stackLayout=new k,this.layoutSwitchBreakpoint=n.RK.Standard,"object"==typeof e&&(this.title=new C(e.title),this.value=new S(e.value),this.tableLayout=new x(e.tableLayout),this.stackLayout=new k(e.stackLayout),this.layoutSwitchBreakpoint=s(n.RK,e.layoutSwitchBreakpoint,n.RK.Standard))}}class _{constructor(e){this.actionMode=n.l1.Inline,this.inlineTopMargin=16,this.style=n.xO.Emphasis,e&&(this.actionMode=s(n.l1,e.actionMode,n.l1.Inline),this.inlineTopMargin=null!=e.inlineTopMargin?e.inlineTopMargin:this.inlineTopMargin,this.style=e.style&&"string"==typeof e.style?e.style:n.xO.Emphasis)}toJSON(){return{actionMode:n.l1[this.actionMode],inlineTopMargin:this.inlineTopMargin,style:this.style}}}class I{constructor(e){if(this.maxActions=5,this.spacing=n.Kz.Default,this.buttonSpacing=20,this.showCard=new _,this.preExpandSingleShowCardAction=!1,this.actionsOrientation=n.t4.Horizontal,this.actionAlignment=n.i.Left,this.iconPlacement=n.dC.LeftOfTitle,this.allowTitleToWrap=!1,this.allowButtonsToWrap=!1,this.iconSize=16,e){this.maxActions=null!=e.maxActions?e.maxActions:this.maxActions,this.spacing=s(n.Kz,e.spacing&&e.spacing,n.Kz.Default),this.buttonSpacing=null!=e.buttonSpacing?e.buttonSpacing:this.buttonSpacing,this.showCard=new _(e.showCard),this.preExpandSingleShowCardAction=(0,a.q6)(e.preExpandSingleShowCardAction,!1),this.actionsOrientation=s(n.t4,e.actionsOrientation,n.t4.Horizontal),this.actionAlignment=s(n.i,e.actionAlignment,n.i.Left),this.iconPlacement=s(n.dC,e.iconPlacement,n.dC.LeftOfTitle),this.allowTitleToWrap=null!=e.allowTitleToWrap?e.allowTitleToWrap:this.allowTitleToWrap,this.allowButtonsToWrap=null!=e.allowButtonsToWrap?e.allowButtonsToWrap:this.allowTitleToWrap;try{const t=o.zg.parse(e.iconSize);t.unit===n.Y2.Pixel&&(this.iconSize=t.physicalSize)}catch(e){}}}toJSON(){return{maxActions:this.maxActions,spacing:n.Kz[this.spacing],buttonSpacing:this.buttonSpacing,showCard:this.showCard,preExpandSingleShowCardAction:this.preExpandSingleShowCardAction,actionsOrientation:n.t4[this.actionsOrientation],actionAlignment:n.i[this.actionAlignment]}}}class P{parseSingleColor(e,t){e&&this[t].parse(e[t])}constructor(e){this.default=new c,this.dark=new c,this.light=new c,this.accent=new c,this.good=new c,this.warning=new c,this.attention=new c,this.parse(e)}parse(e){e&&(this.parseSingleColor(e,"default"),this.parseSingleColor(e,"dark"),this.parseSingleColor(e,"light"),this.parseSingleColor(e,"accent"),this.parseSingleColor(e,"good"),this.parseSingleColor(e,"warning"),this.parseSingleColor(e,"attention"))}getColorDefinition(e){switch(e){case n.r7.Accent:return this.accent;case n.r7.Dark:return this.dark;case n.r7.Light:return this.light;case n.r7.Good:return this.good;case n.r7.Warning:return this.warning;case n.r7.Attention:return this.attention;default:return this.default}}}class T{parse(e){e&&(this.backgroundColor=e.backgroundColor,this.foregroundColors.parse(e.foregroundColors),this.highlightBackgroundColor=e.highlightBackgroundColor,this.highlightForegroundColor=e.highlightForegroundColor,this.borderColor=e.borderColor)}constructor(e){this.foregroundColors=new P({default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#E69500",subtle:"#DDE69500"},attention:{default:"#CC3300",subtle:"#DDCC3300"}}),this.parse(e)}get isBuiltIn(){return!1}}class B extends T{get isBuiltIn(){return!0}}class D{constructor(e){if(this._allStyles={},this._allStyles[n.xO.Default]=new B,this._allStyles[n.xO.Emphasis]=new B,this._allStyles[n.xO.Accent]=new B,this._allStyles[n.xO.Good]=new B,this._allStyles[n.xO.Attention]=new B,this._allStyles[n.xO.Warning]=new B,e){this._allStyles[n.xO.Default].parse(e[n.xO.Default]),this._allStyles[n.xO.Emphasis].parse(e[n.xO.Emphasis]),this._allStyles[n.xO.Accent].parse(e[n.xO.Accent]),this._allStyles[n.xO.Good].parse(e[n.xO.Good]),this._allStyles[n.xO.Attention].parse(e[n.xO.Attention]),this._allStyles[n.xO.Warning].parse(e[n.xO.Warning]);const t=e.customStyles;if(t&&Array.isArray(t))for(const e of t)if(e){const t=e.name;t&&"string"==typeof t&&(this._allStyles.hasOwnProperty(t)?this._allStyles[t].parse(e.style):this._allStyles[t]=new T(e.style))}}}toJSON(){const e=[];Object.keys(this._allStyles).forEach((t=>{this._allStyles[t].isBuiltIn||e.push({name:t,style:this._allStyles[t]})}));const t={default:this.default,emphasis:this.emphasis};return e.length>0&&(t.customStyles=e),t}getStyleByName(e,t){return e&&this._allStyles.hasOwnProperty(e)?this._allStyles[e]:t||this._allStyles[n.xO.Default]}get default(){return this._allStyles[n.xO.Default]}get emphasis(){return this._allStyles[n.xO.Emphasis]}}class N{constructor(e){this.fontFamily="Segoe UI,Segoe,Segoe WP,Helvetica Neue,Helvetica,sans-serif",this.fontSizes={small:12,default:14,medium:17,large:21,extraLarge:26},this.fontWeights={lighter:200,default:400,bolder:600},this.inlineImageSizes={small:14,default:16,medium:16,large:18,extraLarge:24},e&&(this.fontFamily=e)}parse(e){this.fontFamily=e.fontFamily||this.fontFamily,this.fontSizes={small:e.fontSizes&&e.fontSizes.small||this.fontSizes.small,default:e.fontSizes&&e.fontSizes.default||this.fontSizes.default,medium:e.fontSizes&&e.fontSizes.medium||this.fontSizes.medium,large:e.fontSizes&&e.fontSizes.large||this.fontSizes.large,extraLarge:e.fontSizes&&e.fontSizes.extraLarge||this.fontSizes.extraLarge},this.fontWeights={lighter:e.fontWeights&&e.fontWeights.lighter||this.fontWeights.lighter,default:e.fontWeights&&e.fontWeights.default||this.fontWeights.default,bolder:e.fontWeights&&e.fontWeights.bolder||this.fontWeights.bolder}}getFontSize(e){switch(e){case n.$C.Small:return this.fontSizes.small;case n.$C.Medium:return this.fontSizes.medium;case n.$C.Large:return this.fontSizes.large;case n.$C.ExtraLarge:return this.fontSizes.extraLarge;default:return this.fontSizes.default}}}N.monospace=new N("'Courier New', Courier, monospace");class R{constructor(e){this.default=new N,this.monospace=new N("'Courier New', Courier, monospace"),e&&(this.default.parse(e.default),this.monospace.parse(e.monospace))}getStyleDefinition(e){switch(e){case n.g7.Monospace:return this.monospace;case n.g7.Default:default:return this.default}}}class O{constructor(e){this.hostCapabilities=new i.B,this.designMode=!1,this.choiceSetInputValueSeparator=",",this.dataGridInputValueSeparator=",",this.supportsInteractivity=!0,this.hostWidthBreakpoints={veryNarrow:216,narrow:345,standard:500},this.spacing={extraSmall:4,small:8,default:12,medium:16,large:20,extraLarge:24,padding:16},this.separator={lineThickness:1,lineColor:"#EEEEEE"},this.roundedCornerRadius=6,this.imageSizes={small:40,medium:80,large:160},this.containerStyles=new D,this.inputs=new w,this.actions=new I,this.adaptiveCard=new u,this.imageSet=new d,this.media=new p,this.factSet=new E,this.table=new f,this.textStyles=new m,this.textBlock=new v,this.alwaysAllowBleed=!1,this._legacyFontType=new N,e&&(("string"==typeof e||e instanceof String)&&(e=JSON.parse(e)),this.choiceSetInputValueSeparator=e&&"string"==typeof e.choiceSetInputValueSeparator?e.choiceSetInputValueSeparator:this.choiceSetInputValueSeparator,this.dataGridInputValueSeparator=e&&"string"==typeof e.dataGridInputValueSeparator?e.dataGridInputValueSeparator:this.dataGridInputValueSeparator,this.supportsInteractivity=e&&"boolean"==typeof e.supportsInteractivity?e.supportsInteractivity:this.supportsInteractivity,this._legacyFontType.parse(e),e.fontTypes&&(this.fontTypes=new R(e.fontTypes)),e.lineHeights&&(this.lineHeights={small:e.lineHeights.small,default:e.lineHeights.default,medium:e.lineHeights.medium,large:e.lineHeights.large,extraLarge:e.lineHeights.extraLarge}),this.imageSizes={small:e.imageSizes&&e.imageSizes.small||this.imageSizes.small,medium:e.imageSizes&&e.imageSizes.medium||this.imageSizes.medium,large:e.imageSizes&&e.imageSizes.large||this.imageSizes.large},this.containerStyles=new D(e.containerStyles),this.spacing={extraSmall:e.spacing&&e.spacing.extraSmall||this.spacing.extraSmall,small:e.spacing&&e.spacing.small||this.spacing.small,default:e.spacing&&e.spacing.default||this.spacing.default,medium:e.spacing&&e.spacing.medium||this.spacing.medium,large:e.spacing&&e.spacing.large||this.spacing.large,extraLarge:e.spacing&&e.spacing.extraLarge||this.spacing.extraLarge,padding:e.spacing&&e.spacing.padding||this.spacing.padding},this.separator={lineThickness:e.separator&&e.separator.lineThickness||this.separator.lineThickness,lineColor:e.separator&&e.separator.lineColor||this.separator.lineColor},this.inputs=new w(e.inputs||this.inputs),this.actions=new I(e.actions||this.actions),this.adaptiveCard=new u(e.adaptiveCard||this.adaptiveCard),this.imageSet=new d(e.imageSet),this.factSet=new E(e.factSet),this.textStyles=new m(e.textStyles),this.textBlock=new v(e.textBlock),this.media=new p(e.media))}getFontTypeDefinition(e){return this.fontTypes?this.fontTypes.getStyleDefinition(e):e===n.g7.Monospace?N.monospace:this._legacyFontType}getEffectiveSpacing(e){switch(e){case n.Kz.ExtraSmall:return this.spacing.extraSmall;case n.Kz.Small:return this.spacing.small;case n.Kz.Default:return this.spacing.default;case n.Kz.Medium:return this.spacing.medium;case n.Kz.Large:return this.spacing.large;case n.Kz.ExtraLarge:return this.spacing.extraLarge;case n.Kz.Padding:return this.spacing.padding;default:return 0}}getHostWidthForPixelWidth(e){return e<=this.hostWidthBreakpoints.veryNarrow?n.RK.VeryNarrow:e<=this.hostWidthBreakpoints.narrow?n.RK.Narrow:e<=this.hostWidthBreakpoints.standard?n.RK.Standard:n.RK.Wide}paddingDefinitionToSpacingDefinition(e){return new o.$i(this.getEffectiveSpacing(e.top),this.getEffectiveSpacing(e.right),this.getEffectiveSpacing(e.bottom),this.getEffectiveSpacing(e.left))}makeCssClassNames(...e){const t=[];for(const r of e)t.push((this.cssClassNamePrefix?`${this.cssClassNamePrefix}-`:"")+r);return t}makeCssClassName(...e){return this.makeCssClassNames(...e).join(" ")||""}get fontFamily(){return this._legacyFontType.fontFamily}set fontFamily(e){this._legacyFontType.fontFamily=e}get fontSizes(){return this._legacyFontType.fontSizes}get fontWeights(){return this._legacyFontType.fontWeights}}const z=new O({preExpandSingleShowCardAction:!0,supportsInteractivity:!0,spacing:{small:10,default:20,medium:30,large:40,extraLarge:50,padding:20},separator:{lineThickness:1,lineColor:"#EEEEEE"},imageSizes:{small:40,medium:80,large:160},fontTypes:{default:{fontFamily:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif",fontSizes:{small:12,default:14,medium:17,large:21,extraLarge:26},fontWeights:{lighter:200,default:400,bolder:600},inlineImageSizes:{small:16,default:19,medium:20,large:28,extraLarge:32}},monospace:{fontFamily:"'Courier New', Courier, monospace",fontSizes:{small:12,default:14,medium:17,large:21,extraLarge:26},fontWeights:{lighter:200,default:400,bolder:600},inlineImageSizes:{small:16,default:19,medium:23,large:28,extraLarge:35}}},textStyles:{heading:{fontType:"default",size:"large",weight:"bolder",color:"default",isSubtle:!1}},textBlock:{headingLevel:2},containerStyles:{default:{borderColor:"#CCCCCC",backgroundColor:"#FFFFFF",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},emphasis:{borderColor:"#666666",backgroundColor:"#08000000",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},accent:{borderColor:"#62A8F7",backgroundColor:"#C7DEF9",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},good:{borderColor:"#69E569",backgroundColor:"#CCFFCC",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},attention:{borderColor:"#FF764C",backgroundColor:"#FFC5B2",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},warning:{borderColor:"#FFBC51",backgroundColor:"#FFE2B2",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}}},actions:{maxActions:5,spacing:"default",buttonSpacing:10,showCard:{actionMode:"inline",inlineTopMargin:16},actionsOrientation:"horizontal",actionAlignment:"left"},adaptiveCard:{allowCustomStyle:!0},imageSet:{imageSize:"medium",maxImageHeight:100},factSet:{title:{color:"default",size:"default",isSubtle:!1,weight:"bolder",wrap:!0,maxWidth:150},value:{color:"default",size:"default",isSubtle:!1,weight:"default",wrap:!0},tableLayout:{columnGap:10,rowGap:6},stackLayout:{rowGap:10},layoutSwitchBreakpoint:"standard"}})},1217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalRegistry=t.CardObjectRegistry=void 0;var n=r(5804),i=function(){function e(){this._items={}}return e.prototype.findByName=function(e){return this._items.hasOwnProperty(e)?this._items[e]:void 0},e.prototype.clear=function(){this._items={}},e.prototype.copyTo=function(e){for(var t=0,r=Object.keys(this._items);t<r.length;t++){var n=r[t],i=this._items[n];e.register(i.typeName,i.objectType,i.schemaVersion)}},e.prototype.register=function(e,t,r){void 0===r&&(r=n.Versions.v1_0);var i=this.findByName(e);void 0!==i?i.objectType=t:i={typeName:e,objectType:t,schemaVersion:r},this._items[e]=i},e.prototype.unregister=function(e){delete this._items[e]},e.prototype.createInstance=function(e,t){var r=this.findByName(e);return r&&r.schemaVersion.compareTo(t)<=0?new r.objectType:void 0},e.prototype.getItemCount=function(){return Object.keys(this._items).length},e.prototype.getItemAt=function(e){var t=this;return Object.keys(this._items).map((function(e){return t._items[e]}))[e]},e}();t.CardObjectRegistry=i;var o=function(){function e(){}return e.populateWithDefaultElements=function(t){t.clear(),e.defaultElements.copyTo(t)},e.populateWithDefaultActions=function(t){t.clear(),e.defaultActions.copyTo(t)},Object.defineProperty(e,"elements",{get:function(){return e._elements||(e._elements=new i,e.populateWithDefaultElements(e._elements)),e._elements},enumerable:!1,configurable:!0}),Object.defineProperty(e,"actions",{get:function(){return e._actions||(e._actions=new i,e.populateWithDefaultActions(e._actions)),e._actions},enumerable:!1,configurable:!0}),e.reset=function(){e._elements=void 0,e._actions=void 0},e.defaultElements=new i,e.defaultActions=new i,e}();t.GlobalRegistry=o},1254:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});class n{constructor(){this.registrations=new Map}addEventListener(e,t){this.registrations.set(e,t)}dispatchEvent(e,t){this.registrations.has(e)&&this.registrations.get(e)(t)}clearListeners(){this.registrations.clear()}}},1279:(e,t,r)=>{"use strict";r.d(t,{AD:()=>v,BC:()=>s,Bd:()=>A,Gf:()=>m,H6:()=>o,Kp:()=>P,L7:()=>u,LB:()=>d,Mr:()=>g,N4:()=>a,OF:()=>w,VH:()=>I,Vb:()=>y,Xh:()=>p,YH:()=>C,Zf:()=>f,_G:()=>_,_s:()=>x,fL:()=>E,l$:()=>c,l6:()=>h,m5:()=>n,p2:()=>i,rv:()=>b,uY:()=>S,vG:()=>l,z5:()=>k});var n="",i="POST",o="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",a="drop",s="send",l="requeue",c="rspFail",u="oth",d="no-cache, no-store",p="application/x-json-stream",f="cache-control",h="content-type",g="kill-tokens",m="kill-duration",v="kill-duration-seconds",y="time-delta-millis",b="client-version",w="client-id",S="time-delta-to-apply-millis",C="upload-time",A="apikey",x="AuthMsaDeviceTicket",k="AuthXToken",E="NoResponseBody",_="msfpc",I="trace",P="user"},1297:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(7810),i=r.t(n,2);const o=i.useInsertionEffect?i.useInsertionEffect:void 0,a=()=>{const e={};return function(t,r){o&&"undefined"!=typeof window&&window.document&&window.document.createElement?o((()=>{t.insertCSSRules(r)}),[t,r]):void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}}},1364:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},1391:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.HostCapabilities=void 0;var o=r(5804),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._capabilities={},t}return i(t,e),t.prototype.getSchemaKey=function(){return"HostCapabilities"},t.prototype.internalParse=function(t,r){if(e.prototype.internalParse.call(this,t,r),t)for(var n in t){var i=t[n];if("string"==typeof i)if("*"===i)this.addCapability(n,"*");else{var a=o.Version.parse(i,r);(null==a?void 0:a.isValid)&&this.addCapability(n,a)}}},t.prototype.internalToJSON=function(t,r){for(var n in e.prototype.internalToJSON.call(this,t,r),this._capabilities)t[n]=this._capabilities[n]},t.prototype.addCapability=function(e,t){this._capabilities[e]=t},t.prototype.removeCapability=function(e){delete this._capabilities[e]},t.prototype.clear=function(){this._capabilities={}},t.prototype.hasCapability=function(e,t){return!!this._capabilities.hasOwnProperty(e)&&("*"===t||"*"===this._capabilities[e]||t.compareTo(this._capabilities[e])<=0)},t.prototype.areAllMet=function(e){for(var t in this._capabilities)if(!e.hasCapability(t,this._capabilities[t]))return!1;return!0},t}(o.SerializableObject);t.HostCapabilities=a},1410:(e,t,r)=>{"use strict";r.d(t,{g:()=>i}),r(7810);var n=r(3171);const i=(e,t,r)=>{var i;return(0,n._)(null!==(i=t.as)&&void 0!==i?i:e,t,r)}},1418:(e,t,r)=>{"use strict";r.r(t),r.d(t,{filterOutNull:()=>i});var n=r(8384);function i(e){return e.filter(n.O)}},1419:(e,t,r)=>{"use strict";r.d(t,{z:()=>s});var n=r(3920),i=r(2625),o=r(1688);const a={};function s(){let e=null,t="",r="";const s=new Array(arguments.length);for(let e=0;e<arguments.length;e++){const i=arguments[e];if("string"==typeof i&&""!==i){const o=i.indexOf(n.fj);if(-1===o)t+=i+" ";else{const a=i.substr(o,n.wn);o>0&&(t+=i.slice(0,o)),r+=a,s[e]=a}}}if(""===r)return t.slice(0,-1);const l=a[r];if(void 0!==l)return t+l;const c=[];for(let t=0;t<arguments.length;t++){const r=s[t];if(r){const t=n.k1[r];t&&(c.push(t[n.FS]),e=t[n.AX])}}const u=Object.assign.apply(Object,[{}].concat(c)),[d,p]=(0,o.z)(u,e),f=(0,i.G)(p,e,s),h=f+" "+d;return a[r]=h,n.k1[f]=[u,e],t+h}},1422:(e,t,r)=>{"use strict";r.d(t,{Y:()=>u,FD:()=>d});var n=r(8038);function i(e){return Boolean(null==e?void 0:e.hasOwnProperty(n.on))}var o=r(7810);function a(e,t){return function(r,o,a,s,l){return i(o)?t(function(e,t){return{...t,[n.on]:e}}(r,o),null,a,s,l):i(r)?t(r,o,a,s,l):e(r,o,a,s,l)}}function s(e){const{as:t,[n.b9]:r,[n.on]:i,[n.Y9]:o,...a}=e,s=a,l="string"==typeof i&&null!=t?t:i;return"string"!=typeof l&&t&&(s.as=t),{elementType:l,props:s,renderFunction:o}}r(8529);var l=r(4922);const c=r.t(l,2),u=a(c.jsx,((e,t,r)=>{const{elementType:n,renderFunction:i,props:a}=s(e),l={...a,...t};return i?c.jsx(o.Fragment,{children:i(n,l)},r):c.jsx(n,l,r)})),d=a(c.jsxs,((e,t,r)=>{const{elementType:n,renderFunction:i,props:a}=s(e),l={...a,...t};return i?c.jsx(o.Fragment,{children:i(n,{...l,children:c.jsxs(o.Fragment,{children:l.children},void 0)})},r):c.jsxs(n,l,r)}))},1442:(e,t,r)=>{var n=r(5810);function i(e,t){var r,i=null;if(!e||"string"!=typeof e)return i;for(var o,a,s=n(e),l="function"==typeof t,c=0,u=s.length;c<u;c++)o=(r=s[c]).property,a=r.value,l?t(o,a,r):a&&(i||(i={}),i[o]=a);return i}e.exports=i,e.exports.default=i},1454:(e,t,r)=>{"use strict";r.d(t,{J:()=>n});class n{constructor(e){this.listeners={},this.element=e}addListener(e,t){this.element&&(this.removeListener(e),this.element.addEventListener(e,t),this.listeners[e]=t)}removeListener(e){this.element&&this.listeners[e]&&(this.element.removeEventListener(e,this.listeners[e]),delete this.listeners[e])}removeAllListeners(){for(const e of Object.keys(this.listeners))this.removeListener(e)}}},1455:(e,t,r)=>{"use strict";r.d(t,{c:()=>o,n:()=>a});var n=r(3390),i=r(2583);class o extends i.BG{parse(e,t,r){const n=e;return r.parseAction(n,t[this.name],this.forbiddenActionTypes,n.isDesignMode())}toJSON(e,t,r,n){n.serializeValue(t,this.name,r?r.toJSON(n):void 0,void 0,!0)}getDescriptor(e){return{valueTypes:[{type:"object",validValues:e.actionRegistry.getDescriptors(e,this.forbiddenActionTypes,this.allowedActionTypes).sort(((e,t)=>e.name.localeCompare(t.name)))}]}}constructor(e,t,r=[],n=[]){super(e,t,void 0),this.targetVersion=e,this.name=t,this.forbiddenActionTypes=r,this.allowedActionTypes=n}}class a extends i.BG{parse(e,t,r){const i=e,o=t[this.name];if(void 0===o||!Array.isArray(o))return;const a=[];if(Array.isArray(o))for(const t of o){const o=r.parseAction(i,t,this.forbiddenActionTypes,i.isDesignMode());o?a.push(o):r.logParseEvent(e,n.iV.InvalidPropertyValue,`Invalid array value "${JSON.stringify(t)}" of type Action, hence ignored.`)}return a}toJSON(e,t,r,n){if(r)for(const e of r)n.serializeValue(t,this.name,e?e.toJSON(n):void 0,void 0,!0)}getDescriptor(e){return{valueTypes:[{type:"object",validValues:e.actionRegistry.getDescriptors(e,this.forbiddenActionTypes).sort(((e,t)=>e.name.localeCompare(t.name)))}],propertyType:"array",suggestedSchemaTypeName:this.typeName}}constructor(e,t,r=[]){super(e,t,void 0),this.targetVersion=e,this.name=t,this.forbiddenActionTypes=r}}},1503:(e,t,r)=>{"use strict";var n;r.d(t,{t:()=>n}),function(e){e.Result="result",e.Error="error"}(n||(n={}))},1565:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l,e:()=>c});var n=r(8331),i=r(1873),o=r(717),a=r(3811),s=r(8378);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c(e,(0,o.Iy)())}function c(e,t){var r=e instanceof Array?e:[e],o=t||{};(0,i.db)(r[0])&&(o.shadowConfig=r[0]),o.stylesheet=a.nr.getInstance(o.shadowConfig);var l=(0,n.h)(o.stylesheet,r),c=l.classes,u=l.objects;return u.length&&c.push((0,s.kG)(o,u)),c.join(" ")}},1612:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(3311),i=r(3811),o=r(8760),a=r(669),s=50,l=5,c=0,u=i.nr.getInstance();u&&u.onReset&&u.onReset((function(){return c++}));var d="__retval__";function p(e){void 0===e&&(e={});var t=new Map,r=0,i=0,u=c;return function(p,f){var g;if(void 0===f&&(f={}),e.useStaticStyles&&"function"==typeof p&&p.__noStyleOverride__)return p(f);i++;var m=p?p.__shadowConfig__:void 0,v=m&&m.window?m.window:"__default__";t.has(v)||t.set(v,new Map);var y=t.get(v),b=f.theme,w=b&&void 0!==b.rtl?b.rtl:(0,o.jI)(),S=e.disableCaching;if(u!==c&&(u=c,t.set(v,new Map),y=t.get(v),r=0),e.disableCaching||(y=h(t.get(v),p),y=h(y,f)),!S&&y[d]||(y[d]=void 0===p?{}:(0,n.L)(["function"==typeof p?p(f):p],{shadowConfig:p.__shadowConfig__,rtl:!!w,specificityMultiplier:e.useStaticStyles?l:void 0}),S||r++),r>(e.cacheSize||s)){var C=(0,a.z)();(null===(g=null==C?void 0:C.FabricConfig)||void 0===g?void 0:g.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is ".concat(r,"/").concat(i,".")),console.trace()),t.get(v).clear(),r=0,e.disableCaching=!0}return y[d]}}function f(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function h(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var r=0,n=t.__cachedInputs__;r<n.length;r++)e=f(e,n[r]);else e=f(e,t);else if("object"==typeof t)for(var i in t)t.hasOwnProperty(i)&&(e=f(e,t[i]));return e}},1613:(e,t)=>{"use strict";
/** @license React v0.20.2
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r,n,i,o;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,d=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(d,0),e}};r=function(e){null!==c?setTimeout(r,0,e):(c=e,setTimeout(d,0))},n=function(e,t){u=setTimeout(e,t)},i=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,f=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,m=null,v=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,S=w.port2;w.port1.onmessage=function(){if(null!==m){var e=t.unstable_now();b=e+y;try{m(!0,e)?S.postMessage(null):(g=!1,m=null)}catch(e){throw S.postMessage(null),e}}else g=!1},r=function(e){m=e,g||(g=!0,S.postMessage(null))},n=function(e,r){v=p((function(){e(t.unstable_now())}),r)},i=function(){f(v),v=-1}}function C(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,i=e[n];if(!(void 0!==i&&0<k(i,t)))break e;e[n]=t,e[r]=i,r=n}}function A(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,i=e.length;n<i;){var o=2*(n+1)-1,a=e[o],s=o+1,l=e[s];if(void 0!==a&&0>k(a,r))void 0!==l&&0>k(l,a)?(e[n]=l,e[s]=r,n=s):(e[n]=a,e[o]=r,n=o);else{if(!(void 0!==l&&0>k(l,r)))break e;e[n]=l,e[s]=r,n=s}}}return t}return null}function k(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var E=[],_=[],I=1,P=null,T=3,B=!1,D=!1,N=!1;function R(e){for(var t=A(_);null!==t;){if(null===t.callback)x(_);else{if(!(t.startTime<=e))break;x(_),t.sortIndex=t.expirationTime,C(E,t)}t=A(_)}}function O(e){if(N=!1,R(e),!D)if(null!==A(E))D=!0,r(z);else{var t=A(_);null!==t&&n(O,t.startTime-e)}}function z(e,r){D=!1,N&&(N=!1,i()),B=!0;var o=T;try{for(R(r),P=A(E);null!==P&&(!(P.expirationTime>r)||e&&!t.unstable_shouldYield());){var a=P.callback;if("function"==typeof a){P.callback=null,T=P.priorityLevel;var s=a(P.expirationTime<=r);r=t.unstable_now(),"function"==typeof s?P.callback=s:P===A(E)&&x(E),R(r)}else x(E);P=A(E)}if(null!==P)var l=!0;else{var c=A(_);null!==c&&n(O,c.startTime-r),l=!1}return l}finally{P=null,T=o,B=!1}}var M=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){D||B||(D=!0,r(z))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return A(E)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var r=T;T=t;try{return e()}finally{T=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=M,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=T;T=e;try{return t()}finally{T=r}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?s+a:s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:I++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,C(_,e),null===A(E)&&e===A(_)&&(N?i():N=!0,n(O,a-s))):(e.sortIndex=l,C(E,e),D||B||(D=!0,r(z))),e},t.unstable_wrapCallback=function(e){var t=T;return function(){var r=T;T=t;try{return e.apply(this,arguments)}finally{T=r}}}},1616:(e,t,r)=>{"use strict";var n,i,o,a,s;r.d(t,{Cu:()=>i,XY:()=>o,au:()=>s,kG:()=>n,m0:()=>a}),function(e){e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.Moved=301]="Moved",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.Redirect=302]="Redirect",e[e.RedirectMethod=303]="RedirectMethod",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.Conflict=409]="Conflict",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout"}(n||(n={})),function(e){e.TeamsHubCopilot3sInvoke="TeamsHubCopilot3sInvoke",e.OfficeWebCopilot3sInvoke="OfficeWebCopilot3sInvoke",e.OutlookWebCopilot3sInvoke="OutlookWebCopilot3sInvoke",e.CibCopilot3sInvoke="cibCopilot3sInvoke",e.M365CardSDK="M365CardSDK"}(i||(i={})),function(e){e.imback="imback",e.messageback="messageback",e.invoke="invoke"}(o||(o={})),function(e){e.taskFetch="task/fetch",e.taskSubmit="task/submit"}(a||(a={})),function(e){e.tabInfoAction="tab/tabInfoAction"}(s||(s={}))},1625:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createICUString:()=>f,getOrdinalPluralString:()=>b,getOrdinalPluralStringUnsafe:()=>y,getPluralString:()=>m,getPluralStringUnsafe:()=>g,getStringForRange:()=>u,mapMidgardLocaleToCLDRLocale:()=>c,mapNumberToRangeForLocale:()=>d,mapOrdinalNumberToRangeForLocale:()=>p,parseOrdinalPluralString:()=>v,parsePluralString:()=>h});var n=r(1635),i=r(8893),o=r(8724),a=r.n(o),s=["zero","one","two","few","many","other"],l={zero:/zero\s*{([^}]+)}/,one:/one\s*{([^}]+)}/,two:/two\s*{([^}]+)}/,few:/few\s*{([^}]+)}/,many:/many\s*{([^}]+)}/,other:/other\s*{([^}]+)}/};function c(e){return e.split("-")[0]}function u(e,t){var r=(0,n.__read)(l[t].exec(e)||[],2)[1];return void 0===r?"":r}function d(e,t){return a()(t,e)}function p(e,t){return a().ordinal(t,e)}function f(e){var t="";return s.forEach((function(r){e[r]&&(t+=" ".concat(r,"{").concat(e[r],"}"))})),"".concat("{count, plural,").concat(t).concat("}")}function h(e,t,r){return u(e,d(t,r)||"other")}function g(e,t,r){if(t<0||t!==1/0&&!(0,i.A)(t))throw new Error("count must be a positive integer or Infinity");return h(e,t,r)}function m(e,t,r){if(void 0===t)return e;try{return g(e,t,r||"en")}catch(t){return e}}function v(e,t,r){return u(e,p(t,r)||"other")}function y(e,t,r){if(t<0||t!==1/0&&!(0,i.A)(t))throw new Error("count must be a positive integer or Infinity");return v(e,t,r)}function b(e,t,r){if(void 0===t)return e;try{return y(e,t,r||"en")}catch(t){return e}}},1635:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>O,__assign:()=>o,__asyncDelegator:()=>k,__asyncGenerator:()=>x,__asyncValues:()=>E,__await:()=>A,__awaiter:()=>h,__classPrivateFieldGet:()=>D,__classPrivateFieldIn:()=>R,__classPrivateFieldSet:()=>N,__createBinding:()=>m,__decorate:()=>s,__disposeResources:()=>M,__esDecorate:()=>c,__exportStar:()=>v,__extends:()=>i,__generator:()=>g,__importDefault:()=>B,__importStar:()=>T,__makeTemplateObject:()=>_,__metadata:()=>f,__param:()=>l,__propKey:()=>d,__read:()=>b,__rest:()=>a,__rewriteRelativeImportExtension:()=>F,__runInitializers:()=>u,__setFunctionName:()=>p,__spread:()=>w,__spreadArray:()=>C,__spreadArrays:()=>S,__values:()=>y,default:()=>L});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function s(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function l(e,t){return function(r,n){t(r,n,e)}}function c(e,t,r,n,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=n.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?n.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),p=!1,f=r.length-1;f>=0;f--){var h={};for(var g in n)h[g]="access"===g?{}:n[g];for(var g in n.access)h.access[g]=n.access[g];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var m=(0,r[f])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw new TypeError("Object expected");(s=a(m.get))&&(d.get=s),(s=a(m.set))&&(d.set=s),(s=a(m.init))&&i.unshift(s)}else(s=a(m))&&("field"===l?i.unshift(s):d[c]=s)}u&&Object.defineProperty(u,n.name,d),p=!0}function u(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))}function g(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var m=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function v(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||m(t,e,r)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function S(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function C(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function A(e){return this instanceof A?(this.v=e,this):new A(e)}function x(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",(function(e){return function(t){return Promise.resolve(t).then(e,c)}})),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){i[e]&&(n[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||s(e,t)}))},t&&(n[e]=t(n[e])))}function s(e,t){try{(r=i[e](t)).value instanceof A?Promise.resolve(r.value.v).then(l,c):u(o[0][2],r)}catch(e){u(o[0][3],e)}var r}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function k(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:A(e[n](t)),done:!1}:i?i(t):t}:i}}function E(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=y(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var I=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},P=function(e){return P=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},P(e)};function T(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=P(e),n=0;n<r.length;n++)"default"!==r[n]&&m(t,e,r[n]);return I(t,e),t}function B(e){return e&&e.__esModule?e:{default:e}}function D(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function N(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r}function R(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function O(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var z="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function M(e){function t(t){e.error=e.hasError?new z(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,(function(e){return t(e),i()}))}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function F(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,r,n,i,o){return r?t?".jsx":".js":!n||i&&o?n+i+"."+o.toLowerCase()+"js":e})):e}const L={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__esDecorate:c,__runInitializers:u,__propKey:d,__setFunctionName:p,__metadata:f,__awaiter:h,__generator:g,__createBinding:m,__exportStar:v,__values:y,__read:b,__spread:w,__spreadArrays:S,__spreadArray:C,__await:A,__asyncGenerator:x,__asyncDelegator:k,__asyncValues:E,__makeTemplateObject:_,__importStar:T,__importDefault:B,__classPrivateFieldGet:D,__classPrivateFieldSet:N,__classPrivateFieldIn:R,__addDisposableResource:O,__disposeResources:M,__rewriteRelativeImportExtension:F}},1644:(e,t,r)=>{"use strict";r.d(t,{LM:()=>s,wR:()=>l});var n=r(7810),i=r(4360);const o={current:0},a=n.createContext(void 0);function s(){var e;return null!==(e=n.useContext(a))&&void 0!==e?e:o}function l(){const e=s()!==o,[t,r]=n.useState(e);return(0,i.S)()&&e&&n.useLayoutEffect((()=>{r(!1)}),[]),t}},1660:(e,t,r)=>{"use strict";r.d(t,{U:()=>i,x:()=>o});const n={width:new Map([[-1,"20%"],[-2,"50%"],[-3,"60%"]]),height:new Map([[-1,"20vh"],[-2,"50vh"],[-3,"66vh"]])};function i(e){var t;return null!==(t=n.height.get(e))&&void 0!==t?t:`${e}px`}function o(e){var t;return null!==(t=n.width.get(e))&&void 0!==t?t:`${e}px`}},1671:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(9790);const i=r(8377).A["__core-js_shared__"];var o,a=(o=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";var s=r(6809),l=r(5549),c=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,p=u.toString,f=d.hasOwnProperty,h=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const g=function(e){return!(!(0,s.A)(e)||(t=e,a&&a in t))&&((0,n.A)(e)?h:c).test((0,l.A)(e));var t},m=function(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return g(r)?r:void 0}},1688:(e,t,r)=>{"use strict";r.d(t,{N:()=>a,z:()=>o});var n=r(3920),i=r(2625);function o(e,t){let r="",n="";for(const i in e){const o=e[i];if(0===o){n+=i+" ";continue}const a=Array.isArray(o),s="rtl"===t?(a?o[1]:o)+" ":(a?o[0]:o)+" ";r+=s,n+=s}return[r.slice(0,-1),n.slice(0,-1)]}function a(e,t){const r={};for(const a in e){const[s,l]=o(e[a],t);if(""===l){r[a]="";continue}const c=(0,i.G)(l,t),u=c+(""===s?"":" "+s);n.k1[c]=[e[a],t],r[a]=u}return r}},1716:(e,t,r)=>{"use strict";const n=r(9789);e.exports=(e,t,r)=>n(e,t,"<",r)},1735:(e,t,r)=>{"use strict";r.d(t,{$e:()=>s,gH:()=>a,k7:()=>i});var n=r(7810);const i=n.createContext(void 0),o=()=>{},a=i.Provider,s=e=>{var t,r;return null!==(r=null===(t=n.useContext(i))||void 0===t?void 0:t[e])&&void 0!==r?r:o}},1750:(e,t,r)=>{"use strict";r.d(t,{J:()=>a,j:()=>s});var n=r(7810);const i=n.createContext(void 0),o={},a=i.Provider,s=()=>{var e;return null!==(e=n.useContext(i))&&void 0!==e?e:o}},1773:(e,t,r)=>{"use strict";function n(e){var t,r,n,i,o,a,s,l,c,u;const d=null!==(t=e.titleDefinition)&&void 0!==t?t:e.unfurlingTitlePreviewDefinition;let p,f,h,g,m,v,y;if(Array.isArray(null==d?void 0:d.elementDefinitions)){const e=null===(r=null==d?void 0:d.elementDefinitions)||void 0===r?void 0:r.find((e=>"ComposeExtensions"===e.elementType));e&&e.definition&&(p=JSON.parse(e.definition),Array.isArray(p)||(p=[p])),p&&(y=p.map((e=>{var t;return{botId:null!==(t=null==e?void 0:e.botId)&&void 0!==t?t:"",type:"BotBased",commands:null==e?void 0:e.commands}})))}else p=null===(n=d.elementDefinitions)||void 0===n?void 0:n.composeExtensions,f=null===(i=d.elementDefinitions)||void 0===i?void 0:i.plugins,h=null===(o=d.elementDefinitions)||void 0===o?void 0:o.openAiPlugins,g=null===(a=d.elementDefinitions)||void 0===a?void 0:a.gpts,null==g||g.map((t=>{t.id=e.titleId+"."+t.id})),m=null===(s=d.elementDefinitions)||void 0===s?void 0:s.declarativeCopilots,null==m||m.map((t=>{t.id=e.titleId+"."+t.id})),v=null===(l=d.elementDefinitions)||void 0===l?void 0:l.customEngineCopilots,p&&(y=p.map((e=>{var t;return{botId:null!==(t=null==e?void 0:e.botId)&&void 0!==t?t:"",type:"ApiBased",commands:null==e?void 0:e.commands}})));let b="NotInstalled";if(e.acquisitionState)switch(e.acquisitionState.toLowerCase()){case"acquired":b="Installed";break;case"blocked":b="Blocked";break;case"needsconsentforupgrade":b="RequireConsent";break;default:b="NotInstalled"}return{id:e.appId,name:null==d?void 0:d.name,manifestVersion:d.manifestVersion,developerName:d.developerName,isFullTrust:d.isFullTrust,devicePermissions:d.devicePermissions,inputExtensions:p,webApplicationInfo:d.webApplicationInfo,showLoadingIndicator:d.showLoadingIndicator,shortDescription:d.shortDescription,largeImageUrl:null===(c=d.iconLarge)||void 0===c?void 0:c.uri,smallImageUrl:null===(u=d.iconSmall)||void 0===u?void 0:u.uri,state:b,version:d.version,validDomains:d.validDomains,privacyUrl:d.privacyUrl,plugins:f,openAiPlugins:h,gpts:g,declarativeCopilots:m,composeExtensions:y,copilotExtensions:{customEngineCopilots:v}}}r.d(t,{P:()=>n})},1786:(e,t,r)=>{"use strict";var n,i,o,a,s;r.d(t,{BO:()=>a,Dn:()=>n,bi:()=>i,fF:()=>s,s:()=>o}),function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}(n||(n={})),function(e){e.Arabic="'".concat(n.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(n.Cyrillic,"'"),e.EastEuropean="'".concat(n.EastEuropean,"'"),e.Greek="'".concat(n.Greek,"'"),e.Hebrew="'".concat(n.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(n.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(n.Vietnamese,"'"),e.WestEuropean="'".concat(n.WestEuropean,"'"),e.Armenian="'".concat(n.Armenian,"'"),e.Georgian="'".concat(n.Georgian,"'")}(i||(i={})),function(e){e.size10="10px",e.size12="12px",e.size14="14px",e.size16="16px",e.size18="18px",e.size20="20px",e.size24="24px",e.size28="28px",e.size32="32px",e.size42="42px",e.size68="68px",e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(o||(o={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(a||(a={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(s||(s={}))},1797:(e,t,r)=>{"use strict";r.d(t,{N:()=>s});var n=r(9953),i="HttpManager:_sendBatches",o="PrivacyGuard:_processTelemetry",a=function(){function e(e,t,r){this.start=(0,n.q)(),this.name=e,this.isAsync=!0===r,this.payload=t}return e.prototype.isChildEvt=function(){return!1},e.prototype.complete=function(){this.time=(0,n.q)()-this.start,this.exTime=this.time},e}(),s=function(){function e(e){this._callbacks=e}return e.prototype.create=function(e,t,r){return e===i||e===o?new a(e,t,r):null},e.prototype.fire=function(e){if(e&&e.complete(),this._callbacks)switch(e.name){case i:this.handleSendBatches(e);break;case o:this.handlePrivacyGuardNotification(e)}},e.prototype.setCtx=function(e,t){},e.prototype.getCtx=function(e){},e.prototype.handleSendBatches=function(e){if(this._callbacks.requestProcessingStats){var t=0;if(e.payload){var r=e.payload();if(r.batches)for(var n in r.batches)t+=r.batches[n].evts.length}this._callbacks.requestProcessingStats(e.time||0,t)}},e.prototype.handlePrivacyGuardNotification=function(e){this._callbacks.privacyGuardStats&&e.time&&e.time>0&&this._callbacks.privacyGuardStats(e.time)},e}()},1831:(e,t,r)=>{"use strict";r.d(t,{Co_:()=>o,KNH:()=>i});var n=r(8807);const i=(0,n.U)("Video20Regular","20",["M5 4a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h5a3 3 0 0 0 3-3v-.32l3.04 2.1c.83.57 1.96-.03 1.96-1.03v-7.5c0-1-1.13-1.6-1.96-1.03L13 7.32V7a3 3 0 0 0-3-3H5Zm8 4.54 3.6-2.5c.17-.1.4.01.4.21v7.5c0 .2-.23.32-.4.2L13 11.46V8.54ZM3 7c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Z"]),o=(0,n.U)("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"])},1859:(e,t,r)=>{"use strict";const n=r(3682);e.exports=(e,t,r)=>n(e,t,r)>=0},1873:(e,t,r)=>{"use strict";r.d(t,{HD:()=>a,P6:()=>n,Se:()=>i,db:()=>s,ou:()=>o});var n="__global__",i="__shadow_dom_stylesheet__",o={stylesheetKey:n,inShadow:!1,window:void 0,__isShadowConfig__:!0},a=function(e,t,r){return{stylesheetKey:e,inShadow:t,window:r,__isShadowConfig__:!0}},s=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__}},1917:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var n=r(6227);function i(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var i=[],o=0,a=t;o<a.length;o++){var s=a[o];s&&i.push("function"==typeof s?s(e):s)}return 1===i.length?i[0]:i.length?n.T.apply(void 0,i):{}}},1951:(e,t,r)=>{"use strict";function n(){for(var e=function(){return"object"==typeof window&&window.crypto&&(e=new Uint8Array(31),window.crypto.getRandomValues(e),e)||function(){for(var e=new Array(31),t=0;t<31;t++)e[t]=Math.floor(16*Math.random());return e}();var e}(),t=0,r="",n=0;n<36;n++)switch(n){case 8:case 13:case 18:case 23:t+=1,r+="-";break;case 14:t+=1,r+="4";break;case 19:r+=(e[n-t]%4+8).toString(16);break;default:r+=(e[n-t]%16).toString(16)}return r}r.d(t,{DA:()=>n})},1956:(e,t,r)=>{"use strict";r.d(t,{R:()=>d});var n=r(1635),i=r(240),o=r(2517),a=r(1128),s=r(5041),l=r(9561),c=r(1044),u=r(7841);class d{constructor(e,t){this.appSdkHost=e,this.telemetryService=t,this.handlers={},this.appDefinition=this.appSdkHost.getAppDefinition(),this.isTelemetryHandledByExecutor=!1}registerHandler(e,t,r){var n;this.handlers[e]=(0,c.C)({callback:t,scenarioName:null!==(n=null==r?void 0:r.scenarioName)&&void 0!==n?n:s.Fb[e],errorCallback:null==r?void 0:r.errorCallback,callbackFixedArgsLength:null==r?void 0:r.callbackFixedArgsLength,isRestrictedToFirstPartyOrLobApps:null==r?void 0:r.isRestrictedToFirstPartyOrLobApps,isRestrictedToFullTrustApps:null==r?void 0:r.isRestrictedToFullTrustApps,isRestrictedToFullTrustOrLobApps:null==r?void 0:r.isRestrictedToFullTrustOrLobApps,isRestrictedToMicrosoftOwnedApps:null==r?void 0:r.isRestrictedToMicrosoftOwnedApps,isRestrictedToMicrosoftOwnedOrFullTrustApps:null==r?void 0:r.isRestrictedToMicrosoftOwnedOrFullTrustApps})}deleteMessageHandling(e){delete this.handlers[e]}canHandleMessage(e){return this.validateInitialization(e)&&void 0!==this.handlers[e]}isAnAuthUXScenario(e){return e===s.Fb[i.tz.authentication.authenticate]}canPassScenarioToHandler(e){return e===s.Fb[i.tz.authentication.authenticate]||e===s.Fb[i.tz.externalAppAuthentication.authenticateAndResendRequest]||e===s.Fb[i.tz.externalAppAuthentication.authenticateWithSSO]||e===s.Fb[i.tz.externalAppAuthentication.authenticateWithSSOAndResendRequest]||e===s.Fb[i.tz.externalAppAuthentication.authenticateWithOauth2]||e===s.Fb[i.tz.externalAppAuthenticationForCEA.authenticateAndResendRequest]||e===s.Fb[i.tz.externalAppAuthenticationForCEA.authenticateWithSSO]||e===s.Fb[i.tz.externalAppAuthenticationForCEA.authenticateWithOauth]||e===s.Fb[i.tz.externalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest]||e===s.Fb[i.tz.externalAppCardActions.processActionOpenUrl]||e===s.Fb[i.tz.externalAppCardActions.processActionSubmit]||e===s.Fb[i.tz.externalAppCardActionsForCEA.processActionOpenUrl]||e===s.Fb[i.tz.externalAppCardActionsForCEA.processActionSubmit]||e===s.Fb[i.tz.externalAppCommands.processActionCommand]||e===s.Fb[i.tz.nestedAppAuth.execute]||e===s.Fb[i.tz.authentication.getAuthToken]}handleMessage(e,t,r,s,l){var d,p,f,h,g,m,v,y;return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(!this.validateInitialization(t))return Promise.reject("SDK context is not initialized");if(!this.canHandleMessage(t))return Promise.reject(`Handler cannot handle message: ${t}`);const n=null!==(d=this.handlers[t].callbackFixedArgsLength)&&void 0!==d?d:r.length;r.push(...Array(Math.max(0,n-r.length)).fill(void 0)),this.trackMessageDelayForAppInitAPIs(t,s);const b=this.handlers[t],w=this.createTelemetryScenario(t,b,r,e,s,l);try{if(b.isRestrictedToFullTrustApps&&!(null===(p=this.appSdkHost.getAppDefinition())||void 0===p?void 0:p.isFullTrust))throw(0,u.jC)(o.O4.INTERNAL_ERROR,i.u);if(b.isRestrictedToMicrosoftOwnedApps&&!(null===(f=this.appSdkHost.getAppDefinition())||void 0===f?void 0:f.isMicrosoftOwned))throw(0,u.jC)(o.O4.INTERNAL_ERROR,i.u);if(b.isRestrictedToFullTrustOrLobApps&&!(null===(h=this.appSdkHost.getAppDefinition())||void 0===h?void 0:h.isFullTrust)&&!(null===(g=this.appSdkHost.getAppDefinition())||void 0===g?void 0:g.isLOB))throw(0,u.jC)(o.O4.INTERNAL_ERROR,i.u);if(b.isRestrictedToFirstPartyOrLobApps&&!(0,c.m)(this.appSdkHost.getAppDefinition())&&!(null===(m=this.appSdkHost.getAppDefinition())||void 0===m?void 0:m.isLOB))throw(0,u.jC)(o.O4.INTERNAL_ERROR,i.u);if(b.isRestrictedToMicrosoftOwnedOrFullTrustApps&&!(null===(v=this.appSdkHost.getAppDefinition())||void 0===v?void 0:v.isFullTrust)&&!(null===(y=this.appSdkHost.getAppDefinition())||void 0===y?void 0:y.isMicrosoftOwned))throw(0,u.jC)(o.O4.INTERNAL_ERROR,i.u);if(!this.appSdkHost.checkIfCachedAndRequestAllowed(t))throw"Request not allowed when cached";this.validateDependencies(t);const e=yield b.callback.apply(this,r);return this.isAnAuthUXScenario(b.scenarioName)||null==w||w.stop(),e}catch(e){const t=(0,u.oE)(e);return this.appSdkHost.getLogger().log(a.$.Error,"handleMessage","Error in handling message",t),b.errorCallback?b.errorCallback(e,w):(null==w||w.fail(t),Promise.reject(e))}}))}createTelemetryScenario(e,t,r=[],n,i,o){var a;const s=t.scenarioName,c=null===(a=this.appDefinition)||void 0===a?void 0:a.id;if(this.isTelemetryHandledByExecutor||!s||(0,l.vJ)(e,c))return;const u=this.telemetryService.createScenario(s,c,null==i?void 0:i.value,n,null==i?void 0:i.type,o);return i&&u.markPhase("MessageDelay"),this.canPassScenarioToHandler(s)&&r.push(u),u}validateInitialization(e){return e===i.tz.initialize||this.appSdkHost.isInitialized()}trackMessageDelayForAppInitAPIs(e,t){}validateDependencies(e){}cleanup(){}}},1967:(e,t,r)=>{"use strict";r.d(t,{y:()=>c});var n=r(1455),i=r(8208),o=r(3390),a=r(2583),s=r(7714),l=r(2637);class c extends i.hA{constructor(){super(...arguments),this.allowVerticalOverflow=!1}populateSchema(e){super.populateSchema(e),this.isSelectable||e.remove(c.selectActionProperty)}get _selectAction(){return this.getValue(c.selectActionProperty)}set _selectAction(e){this.setValue(c.selectActionProperty,e)}isElementAllowed(e){return this.hostConfig.supportsInteractivity||!e.isInteractive}getSpacings(e){super.getSpacings(e);let t=new s.$i;this.getEffectivePadding()&&(t=this.hostConfig.paddingDefinitionToSpacingDefinition(this.getEffectivePadding())),e.padding={top:t.top,right:t.right,bottom:t.bottom,left:t.left}}getMainAction(){return this._selectAction}customizeProps(e){}get isSelectable(){return!1}get renderIfEmpty(){return!1}forbiddenChildElements(){return[]}processApplicableProperties(){super.processApplicableProperties();for(let e=0;e<this.getItemCount();e++)this.getItemAt(e).processApplicableProperties()}releaseDOMResources(){super.releaseDOMResources();for(let e=0;e<this.getItemCount();e++)this.getItemAt(e).releaseDOMResources()}internalValidateProperties(e){super.internalValidateProperties(e);for(let t=0;t<this.getItemCount();t++){const r=this.getItemAt(t);!this.hostConfig.supportsInteractivity&&r.isInteractive&&e.addFailure(this,o.iV.InteractivityNotAllowed,l.D.errors.interactivityNotAllowed()),this.isElementAllowed(r)||e.addFailure(this,o.iV.InteractivityNotAllowed,l.D.errors.elementTypeNotAllowed(r.getJsonTypeName())),r.internalValidateProperties(e)}this._selectAction&&this._selectAction.internalValidateProperties(e)}updateLayout(e=!1){if(super.updateLayout(e),e)for(let e=0;e<this.getItemCount();e++)this.getItemAt(e).updateLayout()}getAllInputs(e=!0){const t=[];for(let r=0;r<this.getItemCount();r++){const n=this.getItemAt(r);n.shouldRenderForTargetWidth()&&t.push(...n.getAllInputs(e))}return t}getAllActions(){const e=super.getAllActions();for(let t=0;t<this.getItemCount();t++){const r=this.getItemAt(t);r.shouldRenderForTargetWidth()&&e.push(...r.getAllActions())}return this._selectAction&&e.push(this._selectAction),e}getResourceInformation(){const e=[];for(let t=0;t<this.getItemCount();t++)e.push(...this.getItemAt(t).getResourceInformation());return e}getElementById(e){let t=super.getElementById(e);if(!t)for(let r=0;r<this.getItemCount();r++){const n=this.getItemAt(r);if(n.shouldRenderForTargetWidth()&&(t=n.getElementById(e)),t)break}return t}getSortKey(){const e=[];for(let t=0;t<this.getItemCount();t++){const r=this.getItemAt(t).getSortKey();r&&e.push(r)}return e.join("-")}isResponsive(){if(super.isResponsive())return!0;for(let e=0;e<this.getItemCount();e++)if(this.getItemAt(e).isResponsive())return!0;return!1}}c.selectActionProperty=new n.c(a.uq.v1_1,"selectAction",["Action.ShowCard"])},1968:(e,t,r)=>{"use strict";r.d(t,{Y:()=>i});var n=r(5058);function i(e){if((0,n.S)()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}},1975:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAAH7+Yj7AAAAAXNSR0IArs4c6QAABXNJREFUWAnNWE9sVEUY/+btbilYdosaDCQcak28oMZYLxpJiF4NESUe9eQB9VIotI0ipbpbKOBB5eBFPXjwTzSNiSeNUaMXqSTaI9IDCSBReW9bpX+2b/z95u3b93+3ZbfAHN6bb+abb34z8/2bEfFL2flYytVBn0z5kyNWLBE1HWtLISf1HUFr2Z4LiIrjBgRqx+f2RugWRMV5I5sjLpuc5epd0nRQXNyEPSpSsavx9myaUzQrZdsJurleM0XQJCEGFWoWOWH3y4r6WkRfkpHe3ZE+Q2itZMJ5O9FRcZaibaf+2xFtCFFl54pHlW0dak6vVpxjlhTyD6X3hlq1fj1ENamW7QtWC0X0R/dB/dwxn8r8F3L3eH0V+9dMpsRi4w0nq3dLY2ug9qmSqFpaH0XvD5LPvypDPb8ZvtPOnbKgXhSlT6D/upRK2+RlNZ8qAwwKOqCl2SGljeTyKvan0S4iSlOJKFdzqrEVVMCK/X1z7lX2QmjeaPNI6f5VDmnBphagDzANbnZHiu62jJ0tytW25VF9RGaAEKVY7IUuLZr6jXwmqo/Jkp6R0d4HosN5/CEljXamUBTE0z2tN/q96YrN3rIzjv19zWNUC6hfRr3Po2VGCrknZWhzYquyBXIkQ45ynxYtA6LUJfzPSl4fkUO9f9QFJ35Jge/pHnGcyxCwUbQ6JN36Qxks/WNGTs4/KLXaOxC8C/1HZaQ0lpAYaaDF8HBa+XEOomUxzNBkUwsPpJnbSRtEu+ehJIQyWKzldMPCKTQREBuGHeZcQ91bfj0EUz3ioWwNshqsdVB5o2vDvRkb22BvXaEzhufyTK81e2sOevaaQuATWkEHCsOEkgG6L5pUh4rexiX3dUSa51OncSgdKoyGor6CA7B/F885tie54tQoANkI3NCSm+k9VjULbZ9x2gg0Pk1dFzrLGy0KB8ugHynU9EhqHOnNJkygDzJfnrJXukubZNmZXxNSz6GcD/vFpMkZJsSILqtfDhb/8ueL/Gn7rrwludyzcnjzF+G+pED2Ts5tleWVb1HbWWeehUpgj3S3oZUaB6oj9b7IL11ghCVEcKKa+wpO9Bm0+pPVGRqBDHRo8mD4DMLGl5K33k0LbgFbtNYaIJ35insGq2V2WoXiHsck72dub1R+QNF2au5L2PrDaCxiEX9KztofP4JggFdLB8g8YNH5CMFynxFkqb0yXPw5PrgtmmbkaugHFq7kM9lQekEGYV6xkgQYJNfnJF96QobUv7ExnSVpmjXnR2zGw2mZQwDQpB/V85h9i1hqd8d3rNWyvB39DmzXpFS8z79ZeAA9K6M7xE3buldGi3+3krcu/Sadci9ANl10P43Jc1x0AUzc6FtuFTiumHMTA7F4bglIvReRnSarzHJ867JdGUKJgRku3RiwWSZ3Jq9yP8gYcvObfSzI6y1YzwAQzOIide3mI8mY0cMyS2zYQdw6jOfPYL5lzYhGwMYdPGtiIm8yt0sxWBCngc0y9zUC4zXrdik+FtwlLe8yqd4E2l0duaK0u0imSt59dDx60TV3T2SF7b7YtAOQczMzJZZ6CUIdG5i5uO7nWMFV2VB4VA5suugzruufV9jF5V+QNGwVy3ounOFEARKF9xT6CUDuw4Bz0tW1Z92AEtjS0hTmQqKAjGa49DwsV4c3IwnQ7zVAq8xy8XQoy4g5Z8SFrrYbChlvLbzWuLIfoAqQP4bE5FgcmA8jG6DPwT8znWr1AHb3IKgeCFvBVv8k2pqSgvUNPMDFhKOv2FvwFrpDlt2nEKX2wNc+jvE5jJ/H+JN4DDvlZyycIqusDmDaaL5a1ixMrB/BA+x2ANgOAPijGOePN0NtgsC05N2pqEWmCUxv+x+PniWAgUGu6gAAAABJRU5ErkJggg=="},2020:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},2074:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA8JJREFUWAnFV0FoE0EUfbtNm0LRm1Jz8GI9mIAHQSiCBQWlVRQEPQmevCjSQw9iWpTQUgUPPRSkF689KQgVqSgoKGhB8KIbBOulh7bozSI0tc363uwm2djZTVpS+iHJZv78//78mfn/rYNmpeB1YM09BWxcRBlZOE6GpvpIFuH7i3BRBNpm0FF+i0JuLVAlfzvJamoLXjdKuMenqwTZS+AyfPyAQ1A4/Ej8DMcyHDvEOS7n/ObgNNIYZSDLZkrMV3wAk9/TWP47gnJ5iLZddPqSgE+R7niOQs9Pq7/C/H6U1i4woMsMpJ9z/sB1J9DdPo7BwyWbjT0ArXoVz+iol8Dv4Tq3MZ6dszmIHRsp9qLsP2QgJxn4HDpxyZaNzQEMfzuK8voLGh1gSofwIDcZC9KMIu8NcnsmuJgltLedw9iRL1Gz+gDMyv1PBN/DVV/B/ezr6ORtPw8XzzAbTxjECjqd49FMuFWn2nOTdq68leAC0ELkU1kVhrBCqQWgA2f2nGlv1corKPqVT22pMAxWoAy2IEj9PA/cZ+55X9Ru0/NdL4d1/zpXc5a6g6F+gY5fIeU8xljO22QTHch773gwj3ErerQVKaML7nmXOe3RydFnFaKSM0HwGzxUzJwf1Wb5J4t1DCJfnELaH6JzeyHSjdrwP4a15abDQkPH+EUHH7j6gajX6rPmrGKWoKerY4kPzhteu4HYIPIefeEEC9U+15RXVTgVmTjRypsGlxMGamziHBJLmCztTCVru8qrKpxNtOdg2rcstDG2FkNhCZPYrmksqu1x5VUHTvV9qyIbc1gthsISJptaipGoo4VNxTLZnPa6A2ebFDNmbopdFzSzjFbGACpdzTq3ctWsygaDCbYG0wTQwMcOqn2YvWX62c/jZSFe1VCTYEtMB0suDxjZTJXZWDyywm1bEmyFSWzX0CgxGZEJm6i8mitjUyaMyUa2NhGWMEnheAjJ4XRlDJOxzDa13ZmyaBoM0SauLwjLXO22GdcQSMPhSKPiRLUdLK9NC+camzgDYgmT5NUN6/U0I+qHaJRN1FhU2x33UeJ2KO2ak9QHhBHwxWlhB91Q7HUV1wyHA/psMYSB3mJ5nWLXi2nHYDvOJrdj8USRVWHWyXBxFHe++hCH2ymRb2EIKxQewlBEncVeRSDF4Vot8mnIKTEMVgBQC0C8XdRZ7FUEspVB1EjpksGIvCPUAlBAeotxU+cZxAqDmG3Jdijt8iWfouX/vSnV0/JK2nf1xaQSxK6+mlWC0K+ysSsvp9EggkB25PX8HxMGtXJNekL7AAAAAElFTkSuQmCC"},2077:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});var n=r(9710);class i{constructor(e){this.idAsString=e,(0,n.tl)(e)}toString(){return this.idAsString}get id(){return this.idAsString}}},2078:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(2977),i=r(8214);const o=function(e){return(0,i.A)(e)&&"[object Arguments]"==(0,n.A)(e)};var a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable;const c=o(function(){return arguments}())?o:function(e){return(0,i.A)(e)&&s.call(e,"callee")&&!l.call(e,"callee")}},2081:(e,t,r)=>{"use strict";r.d(t,{EW:()=>d,Il:()=>c,KJ:()=>u,Kz:()=>m,Nn:()=>f,OD:()=>l,qw:()=>p});var n=r(3986);function i(e,t){return e?e+"."+t:t}function o(e,t,r,o,a){void 0===a&&(a=4),o&&e.push((0,n.m9)("".concat(i(t,r)),o,a))}function a(e,t,r,o){"boolean"==typeof o&&e.push((0,n.LK)("".concat(i(t,r)),o))}function s(e,t,r,o){"number"==typeof o&&e.push((0,n.Ug)("".concat(i(t,r)),o))}var l,c={contractName:"Office.System.Activity",getFields:function(e){var t="Activity",r=[];return o(r,t,"CV",e.cV),s(r,t,"Duration",e.duration),s(r,t,"Count",e.count),s(r,t,"AggMode",e.aggMode),a(r,t,"Success",e.success),e.result&&r.push.apply(r,function(e){var t="Activity.Result",r=[];return s(r,t,"Code",e.code),o(r,t,"Type",e.type),s(r,t,"Tag",e.tag),a(r,t,"IsExpected",e.isExpected),r.push((0,n.m9)("zC.Activity.Result","Office.System.Result")),r}(e.result)),r.push((0,n.m9)("zC.Activity",this.contractName)),r}},u={getFields:function(e){var t="User",r=[];return o(r,t,"PrimaryIdentityHash",e.primaryIdentityHash),o(r,t,"PrimaryIdentitySpace",e.primaryIdentitySpace),o(r,t,"TenantId",e.tenantId,1),o(r,t,"TenantGroup",e.tenantGroup,1),a(r,t,"IsAnonymous",e.isAnonymous),a(r,t,"IsSignedIn",e.isSignedIn),r}};!function(e){e.Web="Web",e.Desktop="Desktop",e.Universal="Universal",e.Mobile="Mobile",e.Win32="Win32",e.Mac="Mac",e.iOS="iOS",e.Android="Android"}(l||(l={}));var d,p={getFields:function(e){var t="App",r=[];return o(r,t,"Name",e.name,1),o(r,t,"Platform",e.platform,1),o(r,t,"Version",e.version,1),r}},f={getFields:function(e){var t="Session",r=[];return o(r,t,"Id",e.id,1),o(r,t,"EcsETag",e.ecsETag,1),r}};!function(e){e.Automation="Automation",e.Dogfood="Dogfood",e.Microsoft="Microsoft",e.Insiders="Insiders",e.Production="Production"}(d||(d={}));var h,g,m={getFields:function(e){var t=[];return o(t,"Release","AudienceGroup",e.audienceGroup,1),t}};!function(e){var t,r,i,s,l="Copilot";(s=e.FeatureActionType||(e.FeatureActionType={})).IsEnabled="IsEnabled",s.IsSeen="IsSeen",s.IsTried="IsTried",s.IsKept="IsKept",s.IsRejected="IsRejected",(i=e.Capability||(e.Capability={})).ContentGeneration="Content Generation",i.Commanding="Commanding",i.QAandSummaries="QA and Summaries",i.Collaboration="Collaboration",i.Suggestions="Suggestions",(r=e.EntryPoint||(e.EntryPoint={})).Chat="Chat",r.Canvas="Canvas",r.SuggestionsPane="Suggestions Pane",r.Backstage="Backstage",(t=e.Verb||(e.Verb={})).Create="Create",t.Command="Command",t.Ask="Ask",t.Summarize="Summarize",t.Share="Share",t.Analyze="Analyze",e.getFields=function(e){var t=[];return o(t,l,"FeatureActionType",e.featureActionType),a(t,l,"IsUserInitiated",e.isUserInitiated),o(t,l,"FeatureName",e.featureName),o(t,l,"SubFeatureName",e.subFeatureName),o(t,l,"Capability",e.capability),a(t,l,"IsThumbsUp",e.isThumbsUp),o(t,l,"EntryPoint",e.entryPoint),o(t,l,"Verb",e.verb),o(t,l,"InteractionId",e.interactionId),o(t,l,"ConversationId",e.conversationId),t.push((0,n.m9)("zC.".concat(l),"Office.System.Copilot")),t}}(h||(h={})),function(e){var t,r="Asha";(t=e.EventType||(e.EventType={})).Pillar="Pillar",t.Error="Error",e.getFields=function(e){var t=[];return o(t,r,"EventType",e.eventType),o(t,r,"Pillar",e.pillar),o(t,r,"Scenario",e.scenario),o(t,r,"Veto",e.veto),o(t,r,"Error",e.error),a(t,r,"InStaging",e.inStaging),a(t,r,"IsSessionEndingError",e.isSessionEndingError),a(t,r,"IsIntentional",e.isIntentional),a(t,r,"IsInternal",e.isInternal),t.push((0,n.m9)("zC.".concat(r),"Office.System.Asha")),t}}(g||(g={}))},2129:(e,t,r)=>{"use strict";r.d(t,{OG:()=>m,WD:()=>d,ZP:()=>g,wq:()=>f,y0:()=>p});var n=r(8207),i=r(5188),o=r(9865),a=r(8374),s=r(5239),l=r(9666);function c(e){return e?'"'+e[i.W7](/\"/g,l.m5)+'"':l.m5}function u(e,t){var r=(0,a.U5)();if(r){var n="log";r[e]&&(n=e),(0,s.Tn)(r[n])&&r[n](t)}}var d=function(){function e(e,t,r,n){void 0===r&&(r=!1);var o=this;o[i.JR]=e,o[i.pM]=(r?"AI: ":"AI (Internal): ")+e;var s=l.m5;(0,a.Z)()&&(s=(0,a.hm)().stringify(n));var u=(t?" message:"+c(t):l.m5)+(n?" props:"+c(s):l.m5);o[i.pM]+=u}return e.dataType="MessageData",e}();function p(e,t){return(e||{})[i.Uw]||new f(t)}var f=function(){function e(t){this.identifier="DiagnosticLogger",this.queue=[];var r,c,p,f,h=0,g={};(0,n.A)(e,this,(function(e){function n(t,r){if(!(h>=p)){var n=!0,o="AITR_"+r[i.JR];if(g[o]?n=!1:g[o]=!0,n&&(t<=c&&(e.queue[i.y5](r),h++,m(1===t?"error":"warn",r)),h===p)){var a="Internal events throttle limit per PageView reached for this app.",s=new d(23,a,!1);e.queue[i.y5](s),1===t?e[l.Zi](a):e[l.Tj](a)}}}function m(e,r){var n=(0,o.$)(t||{});n&&n[i.e4]&&n[i.e4](e,r)}!function(e){r=(0,s.SA)(e.loggingLevelConsole,0),c=(0,s.SA)(e.loggingLevelTelemetry,1),p=(0,s.SA)(e.maxMessageLimit,25),f=(0,s.SA)(e.enableDebug,(0,s.SA)(e[i.a$],!1))}(t||{}),e.consoleLoggingLevel=function(){return r},e.telemetryLoggingLevel=function(){return c},e.maxInternalMessageLimit=function(){return p},e[i.a$]=function(){return f},e.throwInternal=function(t,o,c,u,p){void 0===p&&(p=!1);var h=new d(o,c,p,u);if(f)throw(0,a.mm)(h);var v=1===t?l.Zi:l.Tj;if((0,s.b0)(h[i.pM]))m("throw"+(1===t?"Critical":"Warning"),h);else{if(p){var y=+h[i.JR];!g[y]&&r>=t&&(e[v](h[i.pM]),g[y]=!0)}else r>=t&&e[v](h[i.pM]);n(t,h)}},e[l.Tj]=function(e){u("warn",e),m("warning",e)},e[l.Zi]=function(e){u("error",e),m("error",e)},e.resetInternalMessageCount=function(){h=0,g={}},e[i.sx]=n}))}return e.__ieDyn=1,e}();function h(e){return e||new f}function g(e,t,r,n,i,o){void 0===o&&(o=!1),h(e).throwInternal(t,r,n,i,o)}function m(e,t){h(e)[l.Tj](t)}},2155:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},2221:(e,t,r)=>{"use strict";const n=r(2306);e.exports=(e,t,r,i,o)=>{"string"==typeof r&&(o=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,o).version}catch(e){return null}}},2242:(e,t,r)=>{"use strict";e.exports=r(430)},2290:(e,t,r)=>{"use strict";r.d(t,{$J:()=>u,$T:()=>h,$l:()=>c,Ij:()=>l,R8:()=>s,_U:()=>f,iQ:()=>o,nL:()=>g,q6:()=>d,xg:()=>a,zS:()=>m,zl:()=>v});var n=r(5042),i=r(7714);function o(e,...t){const r=e.className?e.className.split(/\s+/g):[];r.push(...t),e.className=r.join(" ")}function a(){return{style:{}}}function s(){const e=window.navigator.userAgent;return!!e.match(/Android/i)||!!e.match(/iPad/i)||!!e.match(/iPhone/i)}function l(){return`__ac-${i.kk.generate()}`}function c(e,t){return"string"==typeof e?e:t}function u(e,t){return"number"==typeof e?e:t}function d(e,t){if("boolean"==typeof e)return e;if("string"==typeof e)switch(e.toLowerCase()){case"true":return!0;case"false":return!1;default:return t}return t}function p(e,t,r){let n=e;for(;n.length<r;)n=t+n;return n}function f(e,t=!1){const r=(t?/^(\d{4})-(\d{1,2})-(\d{1,2})$/:/^(\d{4})-(\d{2})-(\d{2})$/).exec(e);if(r&&4===r.length){const e=parseInt(r[1],10),t=parseInt(r[2],10)-1,n=parseInt(r[3],10);return new Date(e,t,n)}}function h(e){return`${e.getFullYear()}-${p((e.getMonth()+1).toString(),"0",2)}-${p(e.getDate().toString(),"0",2)}`}function g(e,t,r){if(!t)return r;const i=(0,n.l0)(e,t);return void 0!==i?i:r}function m(e){if(e){const t=/#([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?/gi.exec(e);if(t&&t[4]){const e=parseInt(t[1],16)/255;return`rgba(${parseInt(t[2],16)},${parseInt(t[3],16)},${parseInt(t[4],16)},${e})`}}return e}function v(e,t={}){return Object.entries(t).forEach((([t,r])=>{const n=void 0!==r?r.toString():"";e=e.replace(new RegExp(`{{${t}}}`,"g"),n)})),e}},2296:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCssVariable=t.processCssVariable=void 0;var r=/^\s*var\(\s*[a-zA-Z0-9-_]+\s*(,\s*(.*))?\)\s*$/;t.processCssVariable=function(e){var t=r.exec(e);return(null==t?void 0:t[2])||""},t.isCssVariable=function(e){return 0==e.indexOf("var(")}},2306:(e,t,r)=>{"use strict";const n=r(6286),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=r(504),{safeRe:a,t:s}=r(6516),l=r(6633),{compareIdentifiers:c}=r(2329);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return c(r,i)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const r=this.build[t],i=e.build[t];if(n("build compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return c(r,i)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?a[s.PRERELEASELOOSE]:a[s.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},2307:(e,t,r)=>{"use strict";r.d(t,{RI:()=>i,ev:()=>o,z3:()=>n});var n="REAL_TIME",i="NEAR_REAL_TIME",o="BEST_EFFORT"},2309:(e,t,r)=>{"use strict";r.d(t,{q:()=>N});var n=r(7810),i=r.t(n,2),o=r(1422),a=r(6140),s=r(4360),l=r(4414),c=r(6971);const u=n.createContext(void 0),d=u.Provider;var p=r(4919),f=r(1735),h=r(7533),g=r(8409),m=r(7982),v=r(9620),y=r(549),b=r(7947),w=r(1410),S=r(9098),C=r(2502),A=r(1009),x=r(1067),k=r(1419);const E="fui-FluentProvider",_=(0,x.X)({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),I=i.useInsertionEffect?i.useInsertionEffect:C.E,P={},T={},B=(e,t)=>{const r=(0,c.Y)(),i=n.useContext(u),o=(0,g.Pv)(),a=n.useContext(f.k7)||P,{applyStylesToPortals:s=!0,customStyleHooks_unstable:l,dir:d=r.dir,targetDocument:p=r.targetDocument,theme:h,overrides_unstable:m={}}=e,C=D(i,h),x=D(o,m),k=D(a,l),_=(0,v.J)();var B;const{styleTagId:N,rule:R}=(e=>{const{targetDocument:t,theme:r,rendererAttributes:i}=e,o=n.useRef(),a=(0,A.Bi)(E),s=i,l=n.useMemo((()=>function(e,t){return t?`${e} { ${Object.keys(t).reduce(((e,r)=>`${e}--${r}: ${t[r]}; `),"")} }`:`${e} {}`}(`.${a}`,r)),[r,a]);return function(e,t){n.useState((()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)}))}(t,a),I((()=>{const e=null==t?void 0:t.getElementById(a);return e?o.current=e:(o.current=((e,t)=>{if(!(null==e?void 0:e.head))return;const r=e.createElement("style");return Object.keys(t).forEach((e=>{r.setAttribute(e,t[e])})),e.head.appendChild(r),r})(t,{...s,id:a}),o.current&&((e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))})(o.current,l)),()=>{var e;null===(e=o.current)||void 0===e||e.remove()}}),[a,t,l,s]),{styleTagId:a,rule:l}})({theme:C,targetDocument:p,rendererAttributes:null!==(B=_.styleElementAttributes)&&void 0!==B?B:T});return{applyStylesToPortals:s,customStyleHooks_unstable:k,dir:d,targetDocument:p,theme:C,overrides_unstable:x,themeClassName:N,components:{root:"div"},root:b.Gk((0,w.g)("div",{...e,dir:d,ref:(0,S.a)(t,(0,y.Y)({targetDocument:p}))}),{elementType:"div"}),serverStyleProps:{cssRule:R,attributes:{..._.styleElementAttributes,id:N}}}};function D(e,t){return e&&t?{...e,...t}:e||t}const N=n.forwardRef(((e,t)=>{const r=B(e,t);(e=>{const t=(0,v.J)(),r=_({dir:e.dir,renderer:t});e.root.className=(0,k.z)(E,e.themeClassName,r.root,e.root.className)})(r);const i=function(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:i,root:o,targetDocument:a,theme:s,themeClassName:l,overrides_unstable:c}=e,u=n.useMemo((()=>({dir:i,targetDocument:a})),[i,a]),[d]=n.useState((()=>({}))),p=n.useMemo((()=>({textDirection:i})),[i]);return{customStyleHooks_unstable:r,overrides_unstable:c,provider:u,textDirection:i,iconDirection:p,tooltip:d,theme:s,themeClassName:t?o.className:l}}(r);return((e,t)=>((0,a.C)(e),(0,o.Y)(c.K,{value:t.provider,children:(0,o.Y)(d,{value:t.theme,children:(0,o.Y)(p.I,{value:t.themeClassName,children:(0,o.Y)(f.gH,{value:t.customStyleHooks_unstable,children:(0,o.Y)(h.J,{value:t.tooltip,children:(0,o.Y)(l.e,{dir:t.textDirection,children:(0,o.Y)(m.F,{value:t.iconDirection,children:(0,o.Y)(g.Nv,{value:t.overrides_unstable,children:(0,o.FD)(e.root,{children:[(0,s.S)()?null:(0,o.Y)("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})})))(r,i)}));N.displayName="FluentProvider"},2313:(e,t,r)=>{"use strict";
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
const n=r(2504),i=r(9029),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.hp=l,t.IS=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|g(e,t);let n=s(r);const i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(X(e,Uint8Array)){const t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return p(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer))return f(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return f(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return l.from(n,t,r);const i=function(e){if(l.isBuffer(e)){const t=0|h(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||Y(e.length)?s(0):p(e):"Buffer"===e.type&&Array.isArray(e.data)?p(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|h(e))}function p(e){const t=e.length<0?0:0|h(e.length),r=s(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,l.prototype),n}function h(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(e).length;default:if(i)return n?-1:W(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,r){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return I(this,t,r);case"latin1":case"binary":return P(this,t,r);case"base64":return k(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function v(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Y(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){let o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let n=-1;for(o=r;o<s;o++)if(c(e,o)===c(t,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===l)return n*a}else-1!==n&&(o-=o-n),n=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){let r=!0;for(let n=0;n<l;n++)if(c(e,o+n)!==c(t,n)){r=!1;break}if(r)return o}return-1}function w(e,t,r,n){r=Number(r)||0;const i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;const o=t.length;let a;for(n>o/2&&(n=o/2),a=0;a<n;++a){const n=parseInt(t.substr(2*a,2),16);if(Y(n))return a;e[r+a]=n}return a}function S(e,t,r,n){return K(W(t,e.length-r),e,r,n)}function C(e,t,r,n){return K(function(e){const t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function A(e,t,r,n){return K(G(t),e,r,n)}function x(e,t,r,n){return K(function(e,t){let r,n,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function k(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function E(e,t,r){r=Math.min(e.length,r);const n=[];let i=t;for(;i<r;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=r){let r,n,s,l;switch(a){case 1:t<128&&(o=t);break;case 2:r=e[i+1],128==(192&r)&&(l=(31&t)<<6|63&r,l>127&&(o=l));break;case 3:r=e[i+1],n=e[i+2],128==(192&r)&&128==(192&n)&&(l=(15&t)<<12|(63&r)<<6|63&n,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:r=e[i+1],n=e[i+2],s=e[i+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&(l=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s,l>65535&&l<1114112&&(o=l))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=a}return function(e){const t=e.length;if(t<=_)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=_));return r}(n)}l.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return function(e,t,r){return u(e),e<=0?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)}(e,t,r)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(X(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),X(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);let r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;const n=l.allocUnsafe(t);let i=0;for(r=0;r<e.length;++r){let t=e[r];if(X(t,Uint8Array))i+t.length>n.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,i)}i+=t.length}return n},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},l.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?E(this,0,e):m.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){let e="";const r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,i){if(X(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;let o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0);const s=Math.min(o,a),c=this.slice(n,i),u=e.slice(t,r);for(let e=0;e<s;++e)if(c[e]!==u[e]){o=c[e],a=u[e];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return S(this,e,t,r);case"ascii":case"latin1":case"binary":return C(this,e,t,r);case"base64":return A(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const _=4096;function I(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function P(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function T(e,t,r){const n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=t;n<r;++n)i+=J[e[n]];return i}function B(e,t,r){const n=e.slice(t,r);let i="";for(let e=0;e<n.length-1;e+=2)i+=String.fromCharCode(n[e]+256*n[e+1]);return i}function D(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,r,n,i,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function R(e,t,r,n,i){H(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function O(e,t,r,n,i){H(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r+7]=o,o>>=8,e[r+6]=o,o>>=8,e[r+5]=o,o>>=8,e[r+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function z(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,o){return t=+t,r>>>=0,o||z(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function F(e,t,r,n,o){return t=+t,r>>>=0,o||z(e,0,r,8),i.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){const r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);const n=this.subarray(e,t);return Object.setPrototypeOf(n,l.prototype),n},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||D(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return n},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||D(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||D(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||D(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||D(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=Z((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||U(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))})),l.prototype.readBigUInt64BE=Z((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||U(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)})),l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||D(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||D(e,t,this.length);let n=t,i=1,o=this[e+--n];for(;n>0&&(i*=256);)o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return e>>>=0,t||D(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||D(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||D(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=Z((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||U(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),l.prototype.readBigInt64BE=Z((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||U(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+r)})),l.prototype.readFloatLE=function(e,t){return e>>>=0,t||D(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||D(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||D(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||D(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||N(this,e,t,r,Math.pow(2,8*r)-1,0);let i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||N(this,e,t,r,Math.pow(2,8*r)-1,0);let i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=Z((function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Z((function(e,t=0){return O(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);N(this,e,t,r,n-1,-n)}let i=0,o=1,a=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);N(this,e,t,r,n-1,-n)}let i=r-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=Z((function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Z((function(e,t=0){return O(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);const i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){const t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;let i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{const o=l.isBuffer(e)?e:l.from(e,n),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%a]}return this};const L={};function j(e,t,r){L[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function V(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function H(e,t,r,n,i,o){if(e>r||e<t){const n="bigint"==typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new L.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||U(t,e.length-(r+1))}(n,i,o)}function q(e,t){if("number"!=typeof e)throw new L.ERR_INVALID_ARG_TYPE(t,"number",e)}function U(e,t,r){if(Math.floor(e)!==e)throw q(e,r),new L.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new L.ERR_BUFFER_OUT_OF_BOUNDS;throw new L.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}j("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),j("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),j("ERR_OUT_OF_RANGE",(function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=V(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=V(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n}),RangeError);const $=/[^+/0-9A-Za-z-_]/g;function W(e,t){let r;t=t||1/0;const n=e.length;let i=null;const o=[];for(let a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function G(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function K(e,t,r,n){let i;for(i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}const J=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function Z(e){return"undefined"==typeof BigInt?Q:e}function Q(){throw new Error("BigInt not supported")}},2328:(e,t,r)=>{"use strict";e.exports=r(1613)},2329:e=>{"use strict";const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),i=t.test(r);return n&&i&&(e=+e,r=+r),e===r?0:n&&!i?-1:i&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},2376:e=>{e.exports="data:image/svg+xml,%3csvg width='280' height='280' viewBox='0 0 280 280' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0)'%3e %3cpath d='M182.823 243.2H156.532C155.133 243.2 153.996 242.07 153.996 240.68C153.996 239.29 155.133 238.16 156.532 238.16H182.823C184.222 238.16 185.359 239.29 185.359 240.68C185.359 242.07 184.222 243.2 182.823 243.2Z' fill='%23B2AEAA'/%3e %3cpath d='M185.379 203.71L146.58 165.15L164.169 147.67L199.767 183.05C201.538 184.81 201.538 187.66 199.767 189.41L185.379 203.71Z' fill='%23CCCCCC'/%3e %3cpath d='M190.893 178.42H176.072L182.531 213.63L176.072 232.95H179.382C191.295 232.95 200.944 223.35 200.944 211.52V188.42C200.944 182.89 196.447 178.42 190.893 178.42Z' fill='%23CCCCCC'/%3e %3cpath d='M174.784 90.9999H207.293V90.6399C207.293 87.8599 205.029 85.6099 202.232 85.6099H174.784V90.9999Z' fill='%23E1DFDD'/%3e %3cpath d='M159.48 51.96H174.774V117.93L105.679 143.51V105.42C105.689 75.9 129.777 51.96 159.48 51.96Z' fill='%23CCCCCC'/%3e %3cpath d='M119.232 122.43C83.3219 122.43 54.203 151.37 54.203 187.06V243.15H150.394L174.784 117.93L119.232 122.43Z' fill='url(%23paint0_radial)'/%3e %3cpath d='M191.074 80.33V82.21C191.074 83.55 190.983 84.87 190.802 86.17C190.681 87.05 190.51 87.92 190.309 88.77C188.649 95.8 184.383 101.83 178.567 105.8C178.054 106.15 177.521 106.49 176.987 106.8C175.508 107.68 173.928 108.43 172.288 109.03C170.145 109.82 167.891 110.36 165.537 110.62C164.48 110.74 163.404 110.8 162.317 110.8H160.426C155.193 110.8 150.303 109.42 146.067 106.99C142.757 105.09 139.869 102.56 137.555 99.56C133.852 94.74 131.659 88.73 131.659 82.22V80.34C131.659 75.82 132.705 71.55 134.587 67.74C136.297 64.28 138.702 61.21 141.59 58.71C141.6 58.69 141.63 58.67 141.65 58.65C143.461 57.11 145.464 55.78 147.617 54.72C147.969 54.55 148.311 54.39 148.663 54.23H148.673C149.78 53.73 150.937 53.3 152.114 52.95C154.751 52.17 157.528 51.75 160.415 51.75H162.307C168.344 51.75 173.939 53.59 178.567 56.75C179.654 57.49 180.68 58.3 181.646 59.19C183.87 61.18 185.771 63.53 187.27 66.13C187.311 66.19 187.351 66.26 187.391 66.32C187.653 66.79 187.904 67.27 188.136 67.74C189.071 69.61 189.796 71.6 190.299 73.67C190.4 74.1 190.49 74.53 190.581 74.97C190.681 75.5 190.772 76.04 190.842 76.58C190.993 77.81 191.074 79.07 191.074 80.33Z' fill='%23CCCCCC'/%3e %3cpath d='M151.46 67.74H132.514C132.142 67.74 131.84 67.44 131.84 67.07V56.49C131.85 45.73 140.624 37 151.46 37C151.833 37 152.135 37.3 152.135 37.67V67.08C152.124 67.44 151.823 67.74 151.46 67.74Z' fill='%23CCCCCC'/%3e %3cpath d='M180.972 67.74H162.035C161.663 67.74 161.361 67.44 161.361 67.07V56.49C161.361 45.73 170.145 37 180.972 37C181.344 37 181.646 37.3 181.646 37.67V67.08C181.646 67.44 181.344 67.74 180.972 67.74Z' fill='%23CCCCCC'/%3e %3cpath d='M168.857 117.93V91H149.881C139.396 91 130.904 99.44 130.904 109.86C130.904 120.28 139.396 128.72 149.881 128.72C151.118 128.72 152.125 129.72 152.125 130.95V243.14H153.272L174.784 117.92H168.857V117.93Z' fill='%23E1DFDD'/%3e %3cpath d='M165.849 86.16C167.171 86.16 168.244 84.5572 168.244 82.58C168.244 80.6028 167.171 79 165.849 79C164.526 79 163.454 80.6028 163.454 82.58C163.454 84.5572 164.526 86.16 165.849 86.16Z' fill='%23797673'/%3e %3cpath d='M184.996 86.16C186.319 86.16 187.391 84.5572 187.391 82.58C187.391 80.6028 186.319 79 184.996 79C183.674 79 182.602 80.6028 182.602 82.58C182.602 84.5572 183.674 86.16 184.996 86.16Z' fill='%23797673'/%3e %3cpath d='M146.46 243.15H129.063L118.84 174.24L137.484 167.46L152.124 174.31L146.46 243.15Z' fill='%23CCCCCC'/%3e %3cpath d='M126.779 227.21H147.094C155.968 227.21 163.172 234.36 163.172 243.19H128.882L126.779 227.21Z' fill='%23E1DFDD'/%3e %3cpath d='M181.988 117.93H174.774H148.13V91H207.293V92.78C207.293 106.67 195.964 117.93 181.988 117.93Z' fill='url(%23paint1_radial)'/%3e %3cpath d='M166.07 76.3102H160.858C158.564 76.3102 156.703 74.4602 156.703 72.1802V71.6002C156.703 69.3202 158.564 67.4702 160.858 67.4702H166.07C168.364 67.4702 170.226 69.3202 170.226 71.6002V72.1802C170.226 74.4602 168.364 76.3102 166.07 76.3102Z' fill='%23E1DFDD'/%3e %3cpath d='M54.2029 187.06C54.2029 187.06 76.3288 159.94 99.7427 177.19C121.667 193.34 107.037 228.34 107.037 228.34C107.037 228.34 120.581 228.34 121.939 243.15C109.744 243.15 34.7937 243.15 34.7937 243.15L54.3035 215.2L54.2029 187.06Z' fill='url(%23paint2_radial)'/%3e %3cpath d='M207.293 93.6999H206.76C202.564 93.6999 199.173 90.3199 199.173 86.1599V85.6299H203.51C205.603 85.6299 207.303 87.3199 207.303 89.3999V93.6999H207.293Z' fill='%23797673'/%3e %3cpath d='M30.5275 243.15C47.3874 243.15 61.0551 229.567 61.0551 212.81C61.0551 196.054 47.3874 182.47 30.5275 182.47C13.6676 182.47 0 196.054 0 212.81C0 229.567 13.6676 243.15 30.5275 243.15Z' fill='%23E1DFDD'/%3e %3cpath d='M34.7937 243.15C49.5253 243.15 61.4676 231.281 61.4676 216.64C61.4676 201.999 49.5253 190.13 34.7937 190.13C20.0622 190.13 8.11987 201.999 8.11987 216.64C8.11987 231.281 20.0622 243.15 34.7937 243.15Z' fill='url(%23paint3_radial)'/%3e %3cpath d='M53.3477 197.8C53.3477 197.8 67.1625 217.04 55.1991 233.5C45.3989 246.99 22.961 246.16 17.7993 232.11C12.3257 217.22 22.5284 208.79 25.4966 206.16C25.4966 206.16 24.1785 212.99 31.423 213.93C36.313 214.56 44.936 206.02 33.2241 194.21L53.3477 197.8Z' fill='%23CCCCCC'/%3e %3cpath d='M151.4 128.66L171.745 136.11L174.784 117.93H137.163L151.4 128.66Z' fill='url(%23paint4_radial)'/%3e %3cpath d='M192.985 76.3102H187.773C185.479 76.3102 183.618 74.4602 183.618 72.1802V71.6002C183.618 69.3202 185.479 67.4702 187.773 67.4702H192.985C195.28 67.4702 197.141 69.3202 197.141 71.6002V72.1802C197.141 74.4602 195.28 76.3102 192.985 76.3102Z' fill='%23E1DFDD'/%3e %3cpath d='M203.43 243.21H182.823C181.425 243.21 180.288 242.08 180.288 240.69C180.288 239.3 181.425 238.17 182.823 238.17H203.43C210.946 238.17 217.064 232.78 217.064 225.31V225.13C217.064 217.66 210.946 211.58 203.43 211.58C180.207 211.58 161.311 192.8 161.311 169.72V131.12C161.311 117.03 172.852 105.56 187.029 105.56C201.206 105.56 212.747 117.02 212.747 131.12V136.46C212.747 137.85 211.61 138.98 210.211 138.98C208.813 138.98 207.676 137.85 207.676 136.46V131.12C207.676 119.81 198.419 110.61 187.039 110.61C175.659 110.61 166.402 119.81 166.402 131.12V169.72C166.402 190.02 183.014 206.53 203.44 206.53C213.753 206.53 222.145 214.87 222.145 225.12V225.3C222.135 235.56 213.743 243.21 203.43 243.21Z' fill='%23B2AEAA'/%3e %3cpath d='M276.378 181.83H240.155C238.153 181.83 236.533 180.22 236.533 178.23V120.64C236.533 118.65 238.153 117.04 240.155 117.04H276.378C278.38 117.04 280 118.65 280 120.64V178.23C280 180.22 278.38 181.83 276.378 181.83Z' fill='%23E1DFDD'/%3e %3cpath d='M263.449 146.35H253.095C249.1 146.35 245.85 143.13 245.85 139.15V131.95C245.85 127.98 249.09 124.75 253.095 124.75H263.449C267.443 124.75 270.693 127.97 270.693 131.95V139.15C270.683 143.13 267.443 146.35 263.449 146.35Z' fill='white'/%3e %3cpath d='M263.267 141.53H262.573C261.909 141.53 261.366 140.99 261.366 140.33V130.39C261.366 129.73 261.909 129.19 262.573 129.19H263.267C263.931 129.19 264.475 129.73 264.475 130.39V140.33C264.475 140.99 263.942 141.53 263.267 141.53Z' fill='%23CCCCCC'/%3e %3cpath d='M253.96 141.53H253.266C252.602 141.53 252.059 140.99 252.059 140.33V130.39C252.059 129.73 252.602 129.19 253.266 129.19H253.96C254.624 129.19 255.168 129.73 255.168 130.39V140.33C255.168 140.99 254.624 141.53 253.96 141.53Z' fill='%23CCCCCC'/%3e %3cpath d='M263.449 174.12H253.095C249.1 174.12 245.85 170.9 245.85 166.92V159.72C245.85 155.75 249.09 152.52 253.095 152.52H263.449C267.443 152.52 270.693 155.74 270.693 159.72V166.92C270.683 170.9 267.443 174.12 263.449 174.12Z' fill='white'/%3e %3cpath d='M263.267 169.29H262.573C261.909 169.29 261.366 168.75 261.366 168.09V158.15C261.366 157.49 261.909 156.95 262.573 156.95H263.267C263.931 156.95 264.475 157.49 264.475 158.15V168.09C264.475 168.76 263.942 169.29 263.267 169.29Z' fill='%23CCCCCC'/%3e %3cpath d='M253.96 169.29H253.266C252.602 169.29 252.059 168.75 252.059 168.09V158.15C252.059 157.49 252.602 156.95 253.266 156.95H253.96C254.624 156.95 255.168 157.49 255.168 158.15V168.09C255.168 168.76 254.624 169.29 253.96 169.29Z' fill='%23CCCCCC'/%3e %3cpath d='M188.347 108.13C198.912 108.09 204.587 105.69 204.587 105.69L206.549 101.52H160.908C160.918 101.52 166.935 108.21 188.347 108.13Z' fill='%23E1DFDD'/%3e %3cpath d='M209.406 132.79L211.167 132.8C218.039 132.85 223.563 138.42 223.513 145.25L223.443 154.58C223.443 155.27 222.869 155.82 222.185 155.82L198.057 155.65C197.362 155.65 196.809 155.08 196.809 154.4L196.88 145.07C196.93 138.23 202.534 132.74 209.406 132.79Z' fill='%23B2AEAA'/%3e %3cpath d='M216.128 168.12H216.359C217.275 168.13 218.019 167.39 218.029 166.48L218.11 155.78L214.558 155.75L214.478 166.45C214.478 167.38 215.212 168.12 216.128 168.12Z' fill='%23CCCCCC'/%3e %3cpath d='M203.701 168.04H203.933C204.848 168.05 205.593 167.31 205.603 166.4L205.684 155.7L202.132 155.67L202.051 166.37C202.051 167.29 202.786 168.03 203.701 168.04Z' fill='%23CCCCCC'/%3e %3cpath d='M182.531 213.63L176.072 232.95H179.382C191.295 232.95 200.945 225.63 200.945 213.8L182.531 213.63Z' fill='%23E1DFDD'/%3e %3c/g%3e %3cdefs%3e %3cradialGradient id='paint0_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(112.136 224.955) scale(61.6559 61.2771)'%3e %3cstop stop-color='%23B3B3B3'/%3e %3cstop offset='0.9582' stop-color='%23CCCCCC'/%3e %3c/radialGradient%3e %3cradialGradient id='paint1_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(172.832 120.546) scale(20.3563 20.2313)'%3e %3cstop offset='0.00031407' stop-color='%23BFBFBF'/%3e %3cstop offset='1' stop-color='%23E1DFDD'/%3e %3c/radialGradient%3e %3cradialGradient id='paint2_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(45.9415 220.353) scale(39.9996 39.7539)'%3e %3cstop stop-color='%23B3B3B3'/%3e %3cstop offset='0.9582' stop-color='%23CCCCCC'/%3e %3c/radialGradient%3e %3cradialGradient id='paint3_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(17.4382 234.503) scale(39.4077 39.1656)'%3e %3cstop stop-color='%23A1A1A1'/%3e %3cstop offset='0.8916' stop-color='%23CCCCCC'/%3e %3c/radialGradient%3e %3cradialGradient id='paint4_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(173.346 117.265) rotate(-179.5) scale(21.2237 15.358)'%3e %3cstop offset='0.00031407' stop-color='%23BFBFBF'/%3e %3cstop offset='1' stop-color='%23E1DFDD'/%3e %3c/radialGradient%3e %3cclipPath id='clip0'%3e %3crect width='280' height='280' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e %3c/svg%3e"},2378:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Strings=void 0;var r=function(){function e(){}return e.errors={unknownElementType:function(e){return'Unknown element type "'.concat(e,'". Fallback will be used if present.')},unknownActionType:function(e){return'Unknown action type "'.concat(e,'". Fallback will be used if present.')},elementTypeNotAllowed:function(e){return'Element type "'.concat(e,'" is not allowed in this context.')},actionTypeNotAllowed:function(e){return'Action type "'.concat(e,'" is not allowed in this context.')},invalidPropertyValue:function(e,t){return'Invalid value "'.concat(e,'" for property "').concat(t,'".')},showCardMustHaveCard:function(){return'"An Action.ShowCard must have its "card" property set to a valid AdaptiveCard object.'},invalidColumnWidth:function(e){return'Invalid column width "'.concat(e,'" - defaulting to "auto".')},invalidCardVersion:function(e){return'Invalid card version. Defaulting to "'.concat(e,'".')},invalidVersionString:function(e){return'Invalid version string "'.concat(e,'".')},propertyValueNotSupported:function(e,t,r,n){return'Value "'.concat(e,'" for property "').concat(t,'" is supported in version ').concat(r,", but you are using version ").concat(n,".")},propertyNotSupported:function(e,t,r){return'Property "'.concat(e,'" is supported in version ').concat(t,", but you are using version ").concat(r,".")},indexOutOfRange:function(e){return"Index out of range (".concat(e,").")},elementCannotBeUsedAsInline:function(){return"RichTextBlock.addInline: the specified card element cannot be used as a RichTextBlock inline."},inlineAlreadyParented:function(){return"RichTextBlock.addInline: the specified inline already belongs to another RichTextBlock."},interactivityNotAllowed:function(){return"Interactivity is not allowed."},inputsMustHaveUniqueId:function(){return"All inputs must have a unique Id."},choiceSetMustHaveAtLeastOneChoice:function(){return"An Input.ChoiceSet must have at least one choice defined."},choiceSetChoicesMustHaveTitleAndValue:function(){return"All choices in an Input.ChoiceSet must have their title and value properties set."},propertyMustBeSet:function(e){return'Property "'.concat(e,'" must be set.')},actionHttpHeadersMustHaveNameAndValue:function(){return"All headers of an Action.Http must have their name and value properties set."},tooManyActions:function(e){return"Maximum number of actions exceeded (".concat(e,").")},tooLittleTimeDelay:function(e){return"Autoplay Delay is too short (".concat(e,").")},tooManyCarouselPages:function(e){return"Maximum number of Carousel pages exceeded (".concat(e,").")},invalidInitialPageIndex:function(e){return"InitialPage for carousel is invalid (".concat(e,").")},columnAlreadyBelongsToAnotherSet:function(){return"This column already belongs to another ColumnSet."},invalidCardType:function(){return'Invalid or missing card type. Make sure the card\'s type property is set to "AdaptiveCard".'},unsupportedCardVersion:function(e,t){return"The specified card version (".concat(e,") is not supported or still in preview. The latest released card version is ").concat(t,".")},duplicateId:function(e){return'Duplicate Id "'.concat(e,'".')},markdownProcessingNotEnabled:function(){return"Markdown processing isn't enabled. Please see https://www.npmjs.com/package/adaptivecards#supporting-markdown"},processMarkdownEventRemoved:function(){return"The processMarkdown event has been removed. Please update your code and set onProcessMarkdown instead."},elementAlreadyParented:function(){return"The element already belongs to another container."},actionAlreadyParented:function(){return"The action already belongs to another element."},elementTypeNotStandalone:function(e){return"Elements of type ".concat(e," cannot be used as standalone elements.")},invalidInputLabelWidth:function(){return"Invalid input label width. Defaulting to label width from host config."}},e.magicCodeInputCard={tryAgain:function(){return"That didn't work... let's try again."},pleaseLogin:function(){return'Please login in the popup. You will obtain a magic code. Paste that code below and select "Submit"'},enterMagicCode:function(){return"Enter magic code"},pleaseEnterMagicCodeYouReceived:function(){return"Please enter the magic code you received."},submit:function(){return"Submit"},cancel:function(){return"Cancel"},somethingWentWrong:function(){return"Something went wrong. This action can't be handled."},authenticationFailed:function(){return"Authentication failed."}},e.runtime={automaticRefreshPaused:function(){return"Automatic refresh paused."},clckToRestartAutomaticRefresh:function(){return"Click to restart."},refreshThisCard:function(){return"Refresh this card"}},e.hints={dontUseWeightedAndStrecthedColumnsInSameSet:function(){return"It is not recommended to use weighted and stretched columns in the same ColumnSet, because in such a situation stretched columns will always get the minimum amount of space."}},e.defaults={inlineActionTitle:function(){return"Inline Action"},overflowButtonText:function(){return"..."},overflowButtonTooltip:function(){return"More options"},emptyElementText:function(e){return"Empty ".concat(e)},mediaPlayerAriaLabel:function(){return"Media content"},mediaPlayerPlayMedia:function(){return"Play media"},youTubeVideoPlayer:function(){return"YouTube video player"},vimeoVideoPlayer:function(){return"Vimeo video player"},dailymotionVideoPlayer:function(){return"Dailymotion video player"},carouselNavigationPreviousTooltip:function(){return"Previous carousel page"},carouselNavigationNextTooltip:function(){return"Next carousel page"}},e}();t.Strings=r},2413:(e,t,r)=>{"use strict";r.d(t,{n:()=>l});var n=r(9577),i=r(5239),o=r(1279);function a(e){var t=(e.ext||{}).intweb;return t&&(0,n.yD)(t[o._G])?t[o._G]:null}function s(e){for(var t=null,r=0;null===t&&r<e.length;r++)t=a(e[r]);return t}var l=function(){function e(t,r){var n=r?[].concat(r):[],l=this,c=s(n);l.iKey=function(){return t},l.Msfpc=function(){return c||o.m5},l.count=function(){return n.length},l.events=function(){return n},l.addEvent=function(e){return!!e&&(n.push(e),c||(c=a(e)),!0)},l.split=function(r,o){var a;if(r<n.length){var l=n.length-r;(0,i.hX)(o)||(l=o<l?o:l),a=n.splice(r,l),c=s(n)}return new e(t,a)}}return e.create=function(t,r){return new e(t,r)},e}()},2425:(e,t,r)=>{"use strict";r.d(t,{A7:()=>n,BV:()=>i});const n="data-fui-focus-visible",i="data-fui-focus-within"},2435:(e,t,r)=>{"use strict";var n,i,o,a,s,l,c,u,d,p,f,h,g,m,v;r.d(t,{FG:()=>n,FY:()=>i,Pk:()=>h,Ve:()=>m,X2:()=>p,YE:()=>c,lp:()=>g,mU:()=>f,oc:()=>v,vP:()=>u,xe:()=>l,yx:()=>a}),function(e){e[e.None=0]="None",e[e.AppDefinitionIsUndefined=1]="AppDefinitionIsUndefined",e[e.AttributedDataNotFound=2]="AttributedDataNotFound",e[e.UserPrincipalNameIsNotAvailable=3]="UserPrincipalNameIsNotAvailable",e[e.HostLocaleIsUndefined=4]="HostLocaleIsUndefined",e[e.cardContentParseError=5]="cardContentParseError"}(n||(n={})),function(e){e[e.LogInfo=1]="LogInfo",e[e.LogError=2]="LogError",e[e.LogException=3]="LogException",e[e.LogMetric=4]="LogMetric"}(i||(i={})),function(e){e[e.None=0]="None",e[e.MsgExtCardHeader=1]="MsgExtCardHeader",e[e.getAppDataException=2]="getAppDataException",e[e.verifyCardException=3]="verifyCardException",e[e.createMsgExtContext=4]="createMsgExtContext",e[e.getAppDataForAPIPlugins=5]="getAppDataForAPIPlugins",e[e.getCECDetails=6]="getCECDetails",e[e.CECCard=7]="CECCard",e[e.getCECBotId=8]="getCECBotId",e[e.APIPluginCard=9]="APIPluginCard",e[e.PeoplePickerSearchService=10]="PeoplePickerSearchService",e[e.PeoplePickerProfileImageFetch=11]="PeoplePickerProfileImageFetch"}(o||(o={})),function(e){e[e.None=0]="None",e[e.CardRender=1]="CardRender",e[e.CardActions=2]="CardActions",e[e.BotInvoke=3]="BotInvoke",e[e.GetApp=4]="GetApp",e[e.GetImage=5]="GetImage",e[e.OpenDialog=6]="OpenDialog",e[e.CitationOrEntityControl=7]="CitationOrEntityControl",e[e.ReferenceContainer=8]="ReferenceContainer",e[e.GetUserConfig=9]="GetUserConfig",e[e.FindAcquisition=10]="FindAcquisition",e[e.GetAndCacheAcquisition=11]="GetAndCacheAcquisition",e[e.CardService=12]="CardService",e[e.BrokeredCardService=13]="BrokeredCardService",e[e.APIPluginCardService=14]="APIPluginCardService",e[e.APIPluginHostService=15]="APIPluginHostService",e[e.APIPluginOAuth2Service=16]="APIPluginOAuth2Service",e[e.CECCardService=17]="CECCardService",e[e.CECAuthService=18]="CECAuthService",e[e.NativeCEAOAuth=19]="NativeCEAOAuth",e[e.NativeCEASSO=20]="NativeCEASSO",e[e.NativeAPIPluginCardService=21]="NativeAPIPluginCardService",e[e.GetPeopleSearchSuggestions=22]="GetPeopleSearchSuggestions"}(a||(a={})),function(e){e[e.None=0]="None",e[e.getHeaderOptions=1]="getHeaderOptions",e[e.MsgExtCardReference=2]="MsgExtCardReference",e[e.MsgExtCard=3]="MsgExtCard",e[e.APIPluginCardReference=4]="APIPluginCardReference",e[e.APIPluginCard=5]="APIPluginCard",e[e.getAppDataForAPIPlugins=6]="getAppDataForAPIPlugins",e[e.getCECDetails=7]="getCECDetails",e[e.CECCard=8]="CECCard",e[e.getCECBotId=9]="getCECBotId",e[e.PeoplePickerSearchServiceRequestRetry=10]="PeoplePickerSearchServiceRequestRetry",e[e.FetchLokiPersonImageFailure=11]="FetchLokiPersonImageFailure"}(s||(s={})),function(e){e[e.None=0]="None",e[e.M365CardRenderer=1]="M365CardRenderer",e[e.OpenUrlActivityRequest=2]="OpenUrlActivityRequest",e[e.ActionExecuteActivityRequest=3]="ActionExecuteActivityRequest",e[e.SigninActionActivityRequest=4]="SigninActionActivityRequest",e[e.SubmitActionActivityRequest=5]="SubmitActionActivityRequest",e[e.BotInvokeRequest=6]="BotInvokeRequest",e[e.BotInvokeFetchToken=7]="BotInvokeFetchToken",e[e.GetAppFromMOS3=8]="GetAppFromMOS3",e[e.GetImageProxyUrl=9]="GetImageProxyUrl",e[e.OpenStageView=10]="OpenStageView",e[e.OpenTaskModule=11]="OpenTaskModule",e[e.MsgExtCardPreview=12]="MsgExtCardPreview",e[e.MsgExtCitationOrEntityControl=13]="MsgExtCitationOrEntityControl",e[e.MsgExtCardReferenceContainer=14]="MsgExtCardReferenceContainer",e[e.GetUserConfigFrom3S=15]="GetUserConfigFrom3S",e[e.FindAcquisitionforMOS=16]="FindAcquisitionforMOS",e[e.GetAndCacheAcquisitionFromMOS3=17]="GetAndCacheAcquisitionFromMOS3",e[e.M365CardParser=18]="M365CardParser",e[e.OpenUrl=19]="OpenUrl",e[e.ActionSubmit=20]="ActionSubmit",e[e.ActionExecute=21]="ActionExecute",e[e.CopyCard=22]="CopyCard",e[e.APIPluginCardReferenceContainer=23]="APIPluginCardReferenceContainer",e[e.APIPluginSignInButton=24]="APIPluginSignInButton",e[e.GetAndCacheAcquisitionFromLaunchInfo=25]="GetAndCacheAcquisitionFromLaunchInfo",e[e.GetAppFromHybrid=26]="GetAppFromHybrid",e[e.ExternalAppChannelServiceCEA=27]="ExternalAppChannelServiceCEA",e[e.APIPluginCard=28]="APIPluginCard",e[e.APIPluginCitationOrEntityControl=29]="APIPluginCitationOrEntityControl",e[e.ExternalCardActionServiceCEA=30]="ExternalCardActionServiceCEA",e[e.InsertImageActionActivityRequest=31]="InsertImageActionActivityRequest",e[e.ActionInsertImage=32]="ActionInsertImage",e[e.NativeCEAAuthenticationService=33]="NativeCEAAuthenticationService",e[e.OpenUrlDialogActionActivityRequest=34]="OpenUrlDialogActionActivityRequest",e[e.ActionOpenUrlDialog=35]="ActionOpenUrlDialog",e[e.SearchPeopleFrom3SSuggestionService=36]="SearchPeopleFrom3SSuggestionService"}(l||(l={})),function(e){e.Successful="true",e.Failure="false",e.Timeout="timeout"}(c||(c={})),function(e){e.Intent="Intent",e.Client="Client",e.AppId="AppId",e.ActionType="ActionType",e.RetryCount="RetryCount",e.RuntimeActivityResponseMethod="RuntimeActivityResponseMethod",e.RequestName="RequestName",e.HttpStatusCode="HttpStatusCode",e.DialogContentType="DialogContentType",e.HasURL="HasURL",e.citationIndex="citationIndex",e.ActionErrorType="ActionErrorType",e.ModalViewType="ModalViewType",e.IsTaskFetch="IsTaskFetch",e.ActionExecuteResponseType="ActionExecuteResponseType",e.CardRendered="CardRendered",e.IsPeopleSearchRetry="IsPeopleSearchRetry"}(u||(u={})),function(e){e[e.HeroCard=0]="HeroCard",e[e.ThumbnailCard=1]="ThumbnailCard",e[e.ConnectorCard=2]="ConnectorCard",e[e.AdaptiveCard=3]="AdaptiveCard",e[e.SignInCard=5]="SignInCard",e[e.ConfigCard=6]="ConfigCard",e[e.ErrorCard=7]="ErrorCard"}(d||(d={})),function(e){e[e.Unknown=0]="Unknown",e[e.OpenUrl=1]="OpenUrl",e[e.Execute=2]="Execute",e[e.SignIn=3]="SignIn",e[e.Submit=4]="Submit",e[e.Auth=5]="Auth",e[e.ImBack=6]="ImBack",e[e.MessageBack=7]="MessageBack",e[e.InsertImage=8]="InsertImage",e[e.Invoke=9]="Invoke",e[e.OpenUrlDialog=10]="OpenUrlDialog"}(p||(p={})),function(e){e[e.Execute=0]="Execute",e[e.OnCompletion=1]="OnCompletion"}(f||(f={})),function(e){e[e.Others=0]="Others",e[e.BotInvokeError=1]="BotInvokeError"}(h||(h={})),function(e){e[e.Unknown=0]="Unknown",e[e.StageView=1]="StageView",e[e.TaskModule=2]="TaskModule",e[e.UrlBasedDialog=3]="UrlBasedDialog"}(g||(g={})),function(e){e[e.Result=0]="Result",e[e.AuthError=1]="AuthError",e[e.Error=2]="Error"}(m||(m={})),function(e){e[e.Default=0]="Default",e[e.ServiceUrlFetchFromDiscoveryApiCacheHit=1]="ServiceUrlFetchFromDiscoveryApiCacheHit",e[e.ServiceUrlTokenFetchFromDiscoveryApi=2]="ServiceUrlTokenFetchFromDiscoveryApi",e[e.MOS3ServiceUrlFetchFromDiscoveryApi=3]="MOS3ServiceUrlFetchFromDiscoveryApi",e[e.TokenFetchFromMOS3API=4]="TokenFetchFromMOS3API",e[e.AcquisitionsFetchFromMOS3API=5]="AcquisitionsFetchFromMOS3API"}(v||(v={}))},2483:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(7045)},2492:(e,t,r)=>{"use strict";const n=r(2306);e.exports=(e,t)=>new n(e,t).major},2502:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(7810);const i=(0,r(4360).S)()?n.useLayoutEffect:n.useEffect},2504:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,o=s(e),a=o[0],l=o[1],c=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,l)),u=0,d=l>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,c=n-i;s<c;s+=a)o.push(l(e,s,s+a>c?c:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},2517:(e,t,r)=>{"use strict";var n,i,o,a,s,l,c,u,d,p,f,h,g;r.d(t,{Jz:()=>n,O4:()=>i,QY:()=>c,he:()=>o,jI:()=>p,ut:()=>f}),function(e){e.Unknown="unknown",e.Loading="loading",e.WaitingForAppLoad="WaitingForAppLoad",e.Loaded="loaded",e.Failed="failed",e.Unloading="unloading",e.Unloaded="unloaded",e.Cached="cached"}(n||(n={})),function(e){e[e.NOT_SUPPORTED_ON_PLATFORM=100]="NOT_SUPPORTED_ON_PLATFORM",e[e.INTERNAL_ERROR=500]="INTERNAL_ERROR",e[e.NOT_SUPPORTED_IN_CURRENT_CONTEXT=501]="NOT_SUPPORTED_IN_CURRENT_CONTEXT",e[e.PERMISSION_DENIED=1e3]="PERMISSION_DENIED",e[e.NETWORK_ERROR=2e3]="NETWORK_ERROR",e[e.NO_HW_SUPPORT=3e3]="NO_HW_SUPPORT",e[e.INVALID_ARGUMENTS=4e3]="INVALID_ARGUMENTS",e[e.UNAUTHORIZED_USER_OPERATION=5e3]="UNAUTHORIZED_USER_OPERATION",e[e.INSUFFICIENT_RESOURCES=6e3]="INSUFFICIENT_RESOURCES",e[e.THROTTLE=7e3]="THROTTLE",e[e.USER_ABORT=8e3]="USER_ABORT",e[e.OPERATION_TIMED_OUT=8001]="OPERATION_TIMED_OUT",e[e.OLD_PLATFORM=9e3]="OLD_PLATFORM",e[e.FILE_NOT_FOUND=404]="FILE_NOT_FOUND",e[e.SIZE_EXCEEDED=1e4]="SIZE_EXCEEDED"}(i||(i={})),function(e){e.INTERNAL_ERROR="INTERNAL_ERROR"}(o||(o={})),function(e){e[e.Standard=0]="Standard",e[e.Edu=1]="Edu",e[e.Class=2]="Class",e[e.Plc=3]="Plc",e[e.Staff=4]="Staff"}(a||(a={})),function(e){e.Regular="Regular",e.Private="Private",e.Shared="Shared"}(s||(s={})),function(e){e[e.Admin=0]="Admin",e[e.User=1]="User",e[e.Guest=2]="Guest"}(l||(l={})),function(e){e.Inline="inline",e.Desktop="desktop",e.Web="web"}(c||(c={})),function(e){e.M365Content="m365content"}(u||(u={})),function(e){e.DriveId="driveId",e.GroupId="groupId",e.SiteId="siteId",e.UserId="userId"}(d||(d={})),function(e){e.Public="public",e.EUDB="eudb",e.DOD="dod",e.DOJ="doj"}(p||(p={})),function(e){e.Public="public",e.EUDB="eudb",e.Other="other"}(f||(f={})),function(e){e[e.PreviousLandmark=0]="PreviousLandmark",e[e.NextLandmark=1]="NextLandmark",e[e.Read=2]="Read",e[e.Compose=3]="Compose"}(h||(h={})),function(e){e[e.PreviousLandmark=0]="PreviousLandmark",e[e.NextLandmark=1]="NextLandmark",e[e.GoToActivityFeed=2]="GoToActivityFeed"}(g||(g={}))},2519:(e,t,r)=>{"use strict";function n(e){throw new Error(e)}r.r(t),r.d(t,{throwError:()=>n})},2524:(e,t,r)=>{"use strict";var n,i;r.d(t,{g:()=>i}),function(e){e.Large="large",e.Medium="medium",e.Small="small"}(n||(n={})),function(e){e.Card="card",e.Url="url"}(i||(i={}))},2572:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.Table=t.TableRow=t.TableCell=t.StylableContainer=t.TableColumnDefinition=void 0;var a=r(5396),s=r(1050),l=r(1217),c=r(5804),u=r(3771),d=r(2378),p=r(345),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.width=new u.SizeAndUnit(1,s.SizeUnit.Weight),t}return i(t,e),t.prototype.getSchemaKey=function(){return"ColumnDefinition"},t.horizontalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"horizontalCellContentAlignment",s.HorizontalAlignment),t.verticalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"verticalCellContentAlignment",s.VerticalAlignment),t.widthProperty=new c.CustomProperty(c.Versions.v1_5,"width",(function(e,t,r,n){var i=t.defaultValue,o=r[t.name],a=!1;if("number"!=typeof o||isNaN(o))if("string"==typeof o)try{i=u.SizeAndUnit.parse(o)}catch(e){a=!0}else a=!0;else i=new u.SizeAndUnit(o,s.SizeUnit.Weight);return a&&n.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,d.Strings.errors.invalidColumnWidth(o)),i}),(function(e,t,r,n,i){n.unit===s.SizeUnit.Pixel?i.serializeValue(r,"width",n.physicalSize+"px"):i.serializeNumber(r,"width",n.physicalSize)}),new u.SizeAndUnit(1,s.SizeUnit.Weight)),o([(0,c.property)(t.horizontalCellContentAlignmentProperty)],t.prototype,"horizontalCellContentAlignment",void 0),o([(0,c.property)(t.verticalCellContentAlignmentProperty)],t.prototype,"verticalCellContentAlignment",void 0),o([(0,c.property)(t.widthProperty)],t.prototype,"width",void 0),t}(c.SerializableObject);t.TableColumnDefinition=f;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._items=[],t}return i(t,e),t.prototype.parseItem=function(e,t){var r=this;return t.parseCardObject(this,e,[],!this.isDesignMode(),(function(e){return r.createItemInstance(e)}),(function(e,r){t.logParseEvent(void 0,s.ValidationEvent.ElementTypeNotAllowed,d.Strings.errors.elementTypeNotAllowed(e))}))},t.prototype.internalAddItem=function(e){if(e.parent)throw new Error(d.Strings.errors.elementAlreadyParented());this._items.push(e),e.setParent(this)},t.prototype.internalRemoveItem=function(e){var t=this._items.indexOf(e);return t>=0&&(this._items.splice(t,1),e.setParent(void 0),this.updateLayout(),!0)},t.prototype.internalIndexOf=function(e){return this._items.indexOf(e)},t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this._items=[];var n=t[this.getCollectionPropertyName()];if(Array.isArray(n))for(var i=0,o=n;i<o.length;i++){var a=o[i],s=this.parseItem(a,r);s&&this._items.push(s)}},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r),r.serializeArray(t,this.getCollectionPropertyName(),this._items)},t.prototype.removeItem=function(e){return this.internalRemoveItem(e)},t.prototype.getItemCount=function(){return this._items.length},t.prototype.getItemAt=function(e){return this._items[e]},t.prototype.getFirstVisibleRenderedItem=function(){return this.getItemCount()>0?this.getItemAt(0):void 0},t.prototype.getLastVisibleRenderedItem=function(){return this.getItemCount()>0?this.getItemAt(this.getItemCount()-1):void 0},t}(a.StylableCardElementContainer);t.StylableContainer=h;var g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._columnIndex=-1,t._cellType="data",t}return i(t,e),t.prototype.getHasBorder=function(){return this.parentRow.parentTable.showGridLines},t.prototype.applyBorder=function(){if(this.renderedElement&&this.getHasBorder()){var e=this.hostConfig.containerStyles.getStyleByName(this.parentRow.parentTable.gridStyle);if(e.borderColor){var t=(0,p.stringToCssColor)(e.borderColor);t&&(this.renderedElement.style.borderRight="1px solid "+t,this.renderedElement.style.borderBottom="1px solid "+t)}}},t.prototype.getDefaultPadding=function(){return this.getHasBackground()||this.getHasBorder()?new u.PaddingDefinition(s.Spacing.Small,s.Spacing.Small,s.Spacing.Small,s.Spacing.Small):e.prototype.getDefaultPadding.call(this)},t.prototype.internalRender=function(){var t=e.prototype.internalRender.call(this);return t&&(t.setAttribute("role","data"===this.cellType?"cell":"columnheader"),t.style.minWidth="0","header"===this.cellType&&t.setAttribute("scope","col")),t},t.prototype.shouldSerialize=function(e){return!0},t.prototype.getJsonTypeName=function(){return"TableCell"},t.prototype.getEffectiveTextStyleDefinition=function(){return"header"===this.cellType?this.hostConfig.textStyles.columnHeader:e.prototype.getEffectiveTextStyleDefinition.call(this)},t.prototype.getEffectiveHorizontalAlignment=function(){if(void 0!==this.horizontalAlignment)return this.horizontalAlignment;if(void 0!==this.parentRow.horizontalCellContentAlignment)return this.parentRow.horizontalCellContentAlignment;if(this.columnIndex>=0){var t=this.parentRow.parentTable.getColumnAt(this.columnIndex).horizontalCellContentAlignment;if(void 0!==t)return t}return void 0!==this.parentRow.parentTable.horizontalCellContentAlignment?this.parentRow.parentTable.horizontalCellContentAlignment:e.prototype.getEffectiveHorizontalAlignment.call(this)},t.prototype.getEffectiveVerticalContentAlignment=function(){if(void 0!==this.verticalContentAlignment)return this.verticalContentAlignment;if(void 0!==this.parentRow.verticalCellContentAlignment)return this.parentRow.verticalCellContentAlignment;if(this.columnIndex>=0){var t=this.parentRow.parentTable.getColumnAt(this.columnIndex).verticalCellContentAlignment;if(void 0!==t)return t}return void 0!==this.parentRow.parentTable.verticalCellContentAlignment?this.parentRow.parentTable.verticalCellContentAlignment:e.prototype.getEffectiveVerticalContentAlignment.call(this)},Object.defineProperty(t.prototype,"columnIndex",{get:function(){return this._columnIndex},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cellType",{get:function(){return this._cellType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentRow",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),t}(a.Container);t.TableCell=g;var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getDefaultPadding=function(){return new u.PaddingDefinition(s.Spacing.None,s.Spacing.None,s.Spacing.None,s.Spacing.None)},t.prototype.applyBackground=function(){if(this.renderedElement){var e=this.hostConfig.containerStyles.getStyleByName(this.style,this.hostConfig.containerStyles.getStyleByName(this.defaultStyle));if(e.backgroundColor){var t=(0,p.stringToCssColor)(e.backgroundColor);t&&(this.renderedElement.style.backgroundColor=t)}}},t.prototype.getCollectionPropertyName=function(){return"cells"},t.prototype.createItemInstance=function(e){return e&&"TableCell"!==e?void 0:new g},t.prototype.internalRender=function(){var e=this.getIsFirstRow(),t=this.hostConfig.table.cellSpacing,r=document.createElement("div");r.setAttribute("role","row"),r.style.display="flex",r.style.flexDirection="row";for(var n=0;n<Math.min(this.getItemCount(),this.parentTable.getColumnCount());n++){var i=this.getItemAt(n);i._columnIndex=n,i._cellType=this.parentTable.firstRowAsHeaders&&e?"header":"data";var o=i.render();if(o){var a=this.parentTable.getColumnAt(n);a.computedWidth.unit===s.SizeUnit.Pixel?o.style.flex="0 0 "+a.computedWidth.physicalSize+"px":o.style.flex="1 1 "+a.computedWidth.physicalSize+"%",n>0&&!this.parentTable.showGridLines&&t>0&&(o.style.marginLeft=t+"px"),r.appendChild(o)}}return r.children.length>0?r:void 0},t.prototype.shouldSerialize=function(e){return!0},t.prototype.addCell=function(e){this.internalAddItem(e)},t.prototype.removeCellAt=function(e){return e>=0&&e<this.getItemCount()&&this.removeItem(this.getItemAt(e))},t.prototype.indexOf=function(e){return e instanceof g?this.internalIndexOf(e):-1},t.prototype.ensureHasEnoughCells=function(e){for(;this.getItemCount()<e;)this.addCell(new g)},t.prototype.getJsonTypeName=function(){return"TableRow"},t.prototype.getIsFirstRow=function(){return this.parentTable.getItemAt(0)===this},Object.defineProperty(t.prototype,"parentTable",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),t.styleProperty=new a.ContainerStyleProperty(c.Versions.v1_5,"style"),t.horizontalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"horizontalCellContentAlignment",s.HorizontalAlignment),t.verticalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"verticalCellContentAlignment",s.VerticalAlignment),o([(0,c.property)(t.horizontalCellContentAlignmentProperty)],t.prototype,"horizontalCellContentAlignment",void 0),o([(0,c.property)(t.verticalCellContentAlignmentProperty)],t.prototype,"verticalCellContentAlignment",void 0),t}(h);t.TableRow=m;var v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._columns=[],t.firstRowAsHeaders=!0,t.showGridLines=!0,t}return i(t,e),Object.defineProperty(t.prototype,"gridStyle",{get:function(){var e=this.getValue(t.gridStyleProperty);if(e&&this.hostConfig.containerStyles.getStyleByName(e))return e},set:function(e){this.setValue(t.gridStyleProperty,e)},enumerable:!1,configurable:!0}),t.prototype.ensureRowsHaveEnoughCells=function(){for(var e=0;e<this.getItemCount();e++)this.getItemAt(e).ensureHasEnoughCells(this.getColumnCount())},t.prototype.removeCellsFromColumn=function(e){for(var t=0;t<this.getItemCount();t++)this.getItemAt(t).removeCellAt(e)},t.prototype.getCollectionPropertyName=function(){return"rows"},t.prototype.createItemInstance=function(e){return e&&"TableRow"!==e?void 0:new m},t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this.ensureRowsHaveEnoughCells()},t.prototype.internalRender=function(){if(this.getItemCount()>0){for(var e=0,t=0,r=this._columns;t<r.length;t++)(o=r[t]).width.unit===s.SizeUnit.Weight&&(e+=o.width.physicalSize);for(var n=0,i=this._columns;n<i.length;n++){var o;(o=i[n]).width.unit===s.SizeUnit.Pixel?o.computedWidth=new u.SizeAndUnit(o.width.physicalSize,s.SizeUnit.Pixel):o.computedWidth=new u.SizeAndUnit(100/e*o.width.physicalSize,s.SizeUnit.Weight)}var a=document.createElement("div");if(a.setAttribute("role","table"),a.style.display="flex",a.style.flexDirection="column",this.showGridLines){var l=this.hostConfig.containerStyles.getStyleByName(this.gridStyle);if(l.borderColor){var c=(0,p.stringToCssColor)(l.borderColor);c&&(a.style.borderTop="1px solid "+c,a.style.borderLeft="1px solid "+c)}}for(var d=this.hostConfig.table.cellSpacing,f=0;f<this.getItemCount();f++){var h=this.getItemAt(f).render();if(h){if(f>0&&!this.showGridLines&&d>0){var g=document.createElement("div");g.setAttribute("aria-hidden","true"),g.style.height=d+"px",a.appendChild(g)}a.appendChild(h)}}return a}},t.prototype.addColumn=function(e){this._columns.push(e),this.ensureRowsHaveEnoughCells()},t.prototype.removeColumn=function(e){var t=this._columns.indexOf(e);t>=0&&(this.removeCellsFromColumn(t),this._columns.splice(t,1))},t.prototype.getColumnCount=function(){return this._columns.length},t.prototype.getColumnAt=function(e){return this._columns[e]},t.prototype.addRow=function(e){this.internalAddItem(e),e.ensureHasEnoughCells(this.getColumnCount())},t.prototype.indexOf=function(e){return e instanceof m?this.internalIndexOf(e):-1},t.prototype.getJsonTypeName=function(){return"Table"},t._columnsProperty=new c.SerializableObjectCollectionProperty(c.Versions.v1_5,"columns",f),t.firstRowAsHeadersProperty=new c.BoolProperty(c.Versions.v1_5,"firstRowAsHeaders",!0),t.showGridLinesProperty=new c.BoolProperty(c.Versions.v1_5,"showGridLines",!0),t.gridStyleProperty=new a.ContainerStyleProperty(c.Versions.v1_5,"gridStyle"),t.horizontalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"horizontalCellContentAlignment",s.HorizontalAlignment),t.verticalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"verticalCellContentAlignment",s.VerticalAlignment),o([(0,c.property)(t._columnsProperty)],t.prototype,"_columns",void 0),o([(0,c.property)(t.firstRowAsHeadersProperty)],t.prototype,"firstRowAsHeaders",void 0),o([(0,c.property)(t.showGridLinesProperty)],t.prototype,"showGridLines",void 0),o([(0,c.property)(t.gridStyleProperty)],t.prototype,"gridStyle",null),o([(0,c.property)(t.horizontalCellContentAlignmentProperty)],t.prototype,"horizontalCellContentAlignment",void 0),o([(0,c.property)(t.verticalCellContentAlignmentProperty)],t.prototype,"verticalCellContentAlignment",void 0),t}(h);t.Table=v,l.GlobalRegistry.defaultElements.register("Table",v,c.Versions.v1_5)},2575:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAAGWB6gOAAAAAXNSR0IArs4c6QAAAxhJREFUWAnlV79rFEEUfnsGT88QbfLrKjs1UTshiBJILISzsdAy+A8YsDqTiIVwkoBE0X9ALbXVyqCeaAgRGxMrGwuNGoVIfqiJmHXe27xlZnZmd/Z2E4RscW/mvW++982b2dk5AMPjoa9y1/flWAE7q4vfyFcfPkyWnMWWVkBH7/VZchqHU0T+8YwJZISSEQNhNkY5ZaJRPEK3ykQwuLo4D79/fCEcB9NNTE9h6kcmbwLFCucBVlB95AhjgsK9vnkmdGADAb21mdBHTMcuPYLHF6iu8OLKUQWAyCaGi9UjIFr9UTSZADhAAekM1Pfgs9MCGwfLTg/GkrPJA2xtH6oNE03WTii0YSUVb0yHFlS8k7wbGaoQ4fadGGyHU7e/QrGljTFkcT399fUIAYOMxWbC/ltzMH3jtCD4ayWIJeJgGttwsfUkAZHYB3rAuS82Y6kERWd8EtCr3PNHQWyoJGBcXLypXiErCSfIudhMm8E2pAg/UdPjFSWt8oooEUsHSSYG28RrNK8gUimSSfAbKT8K0WTtpBxT2nEkCFSI/qwsiC9xt0KAnbWl7+F0dCUMVoiCM8aD+lAXx4nkycVWqomNBMEKETqITOzT50OHJBI8n9SaIFZ+IkQYRDLP2wGBkughJxNw27r8+lHKA2zWqMgGjvPnSCQOprhMrrFCaTfshyxkG6crfUXOPfB3/vwF10T2AXE+dbqqyAUXTOK+mNDVh+e9NVp9IebDlgvh2QQFqAoNA8JVDhZ/q6vCYmS7oSG33ShzZ2lvX0F43ONFD+/g+o1Rrqj1SJNBWdooZGqsD5Y/zUJzuTvx1N80QWmF8KStgrCsC+9f0ax6Lj+NXJOZQLf4EcWKLH2ccaqIPt4q6PjIS/rbOTXaR3f35nIX9FSFsL3tOgf1swphUuN9n4Ns8f6Pwpbn3sGezoNC2DPYta9DEtIvKvI2dTWZny1eZZ0E8QBFWMcBKDQVcxHC/CjIumQMki3+3cILBW7YN3fOUsj0N0wek7adShCT4z0L99hmPNv3pHatZlChLH89XTMl4f4HDSaN/wAbxSgqB+b1qQAAAABJRU5ErkJggg=="},2583:(e,t,r)=>{"use strict";r.d(t,{BG:()=>h,E$:()=>R,FZ:()=>N,Rx:()=>u,Uy:()=>b,XB:()=>g,XY:()=>C,Zn:()=>_,a7:()=>k,bU:()=>B,fX:()=>A,g7:()=>S,gV:()=>y,jB:()=>T,js:()=>p,kR:()=>x,l5:()=>w,m2:()=>E,tD:()=>v,uq:()=>d});var n=r(1635),i=r(7478),o=r(5042),a=r(3390),s=r(7714),l=r(2637),c=r(2290);class u{constructor(e=1,t=1,r){this._isValid=!0,this._major=e,this._minor=t,this._label=r}static parse(e,t){if(!e)return;const r=new u;r._versionString=e;const n=/(\d+).(\d+)/gi.exec(e);return null!=n&&3===n.length?(r._major=parseInt(n[1],10),r._minor=parseInt(n[2],10)):r._isValid=!1,r._isValid||t.logParseEvent(void 0,a.iV.InvalidPropertyValue,l.D.errors.invalidVersionString(r._versionString)),r}toString(){return this._isValid?`${this._major}.${this._minor}`:this._versionString}toJSON(){return this.toString()}compareTo(e){if(!this.isValid||!e.isValid)throw new Error("Cannot compare invalid version.");return this.major>e.major?1:this.major<e.major?-1:this.minor>e.minor?1:this.minor<e.minor?-1:0}get label(){return this._label?this._label:this.toString()}get major(){return this._major}get minor(){return this._minor}get isValid(){return this._isValid}}class d{static getAllDeclaredVersions(){const e=[];for(const t in d)if(t.match(/^v[0-9_]*$/))try{const r=d[t];r instanceof u&&e.push(r)}catch(e){}return e.sort(((e,t)=>e.compareTo(t)))}}d.v1_0=new u(1,0),d.v1_1=new u(1,1),d.v1_2=new u(1,2),d.v1_3=new u(1,3),d.v1_4=new u(1,4),d.v1_5=new u(1,5),d.v1_6=new u(1,6,"1.6 Preview"),d.latest=d.v1_5;class p{constructor(e=d.latest){this._validationEvents=[],this.targetVersion=e}postProcessParsedPropertyValue(e,t){var r;const n=null!==(r=this.onPostProcessParsedPropertyValue)&&void 0!==r?r:p.onPostProcessParsedPropertyValue;return n?n(e,t):t}serializeValue(e,t,r,n=void 0,i=!1){null==r||r===n?i&&delete e[t]:e[t]=r}serializeString(e,t,r,n){null==r||r===n?delete e[t]:e[t]=r}serializeDate(e,t,r,n){null==r||r===n?delete e[t]:e[t]=(0,c.$T)(r)}serializeBool(e,t,r,n){null==r||r===n?delete e[t]:e[t]=r}serializeNumber(e,t,r,n){null==r||isNaN(r)||r===n?delete e[t]:e[t]=r}serializeEnum(e,t,r,n,i=void 0){null==n||n===i?delete t[r]:t[r]=e[n]}serializeArray(e,t,r){const n=[];if(r)for(const e of r){let t;t=e instanceof T?e.toJSON(this):e.toJSON?e.toJSON():e,void 0!==t&&n.push(t)}0===n.length?e.hasOwnProperty(t)&&Array.isArray(e[t])&&delete e[t]:this.serializeValue(e,t,n)}clearEvents(){this._validationEvents=[]}logEvent(e,t,r,n){this._validationEvents.push({source:e,phase:t,event:r,message:n})}logParseEvent(e,t,r){this.logEvent(e,a.Fg.Parse,t,r)}getEventAt(e){return this._validationEvents[e]}get eventCount(){return this._validationEvents.length}shouldFailRendering(){return s.h$.failRenderingWhenUnknownPropertiesAreFound&&this._validationEvents.some((e=>e.event===a.iV.UnknownProperty))||s.h$.failRenderingWhenInvalidPropertyValuesAreFound&&this._validationEvents.some((e=>e.event===a.iV.InvalidPropertyValue))}hasEvent(...e){return this._validationEvents.some((t=>e.includes(t.event)))}getAttachableElementProperties(){return[]}getAttachableElementProperty(e){}}class f extends p{}class h{getValueMetadata(e){}getInternalName(){return this.name}parse(e,t,r){return t[this.name]}toJSON(e,t,r,n){n.serializeValue(t,this.name,r,this.defaultValue)}validateValue(e){return!0}preProcessValue(e){return e}getDescriptor(e){return{valueTypes:[{type:"any"}],defaultValue:this.defaultValue}}setContentType(e){return this.contentType=e,this}setEnableSerialization(e){return this.isSerializationEnabled=e,this}setAlternateDefinition(e){return this.alternateDefinition=e,this}setHighPriority(e){return this.isHighPriority=e,this}setShouldApplyResources(e){return this.shouldApplyResources=e,this}setTypeName(e){return this.typeName=e,this}setIsRequired(e=!0){return this.isRequired=e,this}setIsHero(e=!0){return this.isHero=e,this}applyResourceStrings(e,t,r){return e}applyToObject(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){}))}constructor(e,t,r,n){this.targetVersion=e,this.name=t,this.defaultValue=r,this.onGetInitialValue=n,this.isSerializationEnabled=!0,this.isRequired=!1,this.isHero=!1,this.isHighPriority=!1,this.shouldApplyResources=!1,this.sequentialNumber=h._sequentialNumber,h._sequentialNumber++}}h._sequentialNumber=0;class g extends h{parse(e,t,r){let n=(0,c.$l)(t[this.name],this.defaultValue);if(""!==n||this.allowEmptyString||(n=void 0),!n||void 0===this.regEx||this.regEx.exec(n))return n;r.logParseEvent(e,a.iV.InvalidPropertyValue,l.D.errors.invalidPropertyValue(n,this.name))}toJSON(e,t,r,n){n.serializeString(t,this.name,""===r?void 0:r,this.defaultValue)}validateValue(e){const t=""===e&&this.allowEmptyString?void 0:e;return"string"==typeof t||void 0===t}getDescriptor(e){return{valueTypes:[{type:"string"}],defaultValue:this.defaultValue,contentType:this.contentType}}applyResourceStrings(e,t,r){return"string"==typeof e&&(e=e.replace(/\$\{rs:(.+?)\}/g,((e,n)=>{if(n in t){const e=t[n].getLocalizedValue(r);if(e)return e}return`\${rs:${n}}`}))),e}constructor(e,t,r,n,i,o){super(e,t,n,i),this.targetVersion=e,this.name=t,this.regEx=r,this.defaultValue=n,this.onGetInitialValue=i,this.allowEmptyString=o,this.shouldApplyResources=!0}}class m extends h{parse(e,t,r){const n=(0,c.$l)(t[this.name]);if(n)try{return new i.r4(n)}catch(t){r.logParseEvent(e,a.iV.InvalidPropertyValue,l.D.errors.invalidPropertyValue(n,this.name))}}toJSON(e,t,r,n){r&&n.serializeString(t,this.name,r.expressionString)}getDescriptor(e){return{valueTypes:[{type:"string"}],defaultValue:this.defaultValue,contentType:this.contentType}}constructor(e,t){super(e,t),this.targetVersion=e,this.name=t}}class v extends m{constructor(e,t,r){super(e,t),this.targetVersion=e,this.name=t,this.targetProperty=r}applyToObject(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){var t;const r=null===(t=e.expressionEvaluationContext)||void 0===t?void 0:t.clone(),n=e.getValue(this);if(n instanceof i.r4)try{const t=yield n.evaluate(r);n===e.getValue(this)&&e.setValue(this.targetProperty,t)}catch(e){console.warn(`Failed to evaluate dynamic property "${this.name}" with expression: "${n.expressionString}". ${e}`)}}))}}class y extends h{parse(e,t,r){return(0,c.q6)(t[this.name],this.defaultValue)}toJSON(e,t,r,n){n.serializeBool(t,this.name,r,this.defaultValue)}validateValue(e){return"boolean"==typeof e||void 0===e}getDescriptor(e){return{valueTypes:[{type:"boolean"}],defaultValue:this.defaultValue}}constructor(e,t,r,n){super(e,t,r,n),this.targetVersion=e,this.name=t,this.defaultValue=r,this.onGetInitialValue=n}}class b extends h{parse(e,t,r){return(0,c.$J)(t[this.name],this.defaultValue)}toJSON(e,t,r,n){n.serializeNumber(t,this.name,r,this.defaultValue)}validateValue(e){return"number"==typeof e||void 0===e}getDescriptor(e){return{valueTypes:[{type:"number"}],defaultValue:this.defaultValue}}constructor(e,t,r,n){super(e,t,r,n),this.targetVersion=e,this.name=t,this.defaultValue=r,this.onGetInitialValue=n}}class w extends h{parse(e,t,r){let n;const i=t[this.name];if("string"==typeof i){let o=!1;try{const e=s.zg.parse(i,!0);e.unit===a.Y2.Pixel&&(n=e.physicalSize,o=!0)}catch(e){}o||r.logParseEvent(e,a.iV.InvalidPropertyValue,l.D.errors.invalidPropertyValue(t[this.name],"minHeight"))}return n}toJSON(e,t,r,n){n.serializeValue(t,this.name,"number"!=typeof r||isNaN(r)?void 0:`${r}px`)}getDescriptor(e){return{valueTypes:[{type:"string",validValues:[s.IO]}],defaultValue:this.defaultValue}}}class S extends h{parse(e,t,r){const n=t[this.name];if(void 0===n||!Array.isArray(n))return this.defaultValue;const i=[];for(const t of n)"string"==typeof t?i.push(t):r.logParseEvent(e,a.iV.InvalidPropertyValue,`Invalid array value "${JSON.stringify(t)}" of type "${typeof t}" ignored for "${this.name}".`);return i}toJSON(e,t,r,n){n.serializeArray(t,this.name,r)}getDescriptor(e){return{valueTypes:[{type:"string"}],defaultValue:this.defaultValue,propertyType:"array"}}constructor(e,t,r,n){super(e,t,r,n),this.targetVersion=e,this.name=t,this.defaultValue=r,this.onGetInitialValue=n}}class C extends h{isValidValue(e,t){for(const r of this.values)if(e.toLowerCase()===r.value.toLowerCase())return(r.targetVersion?r.targetVersion:this.targetVersion).compareTo(t.targetVersion)<=0;return!1}parse(e,t,r){const n=t[this.name];if(void 0===n)return this.defaultValue;if("string"==typeof n)for(const t of this.values)if(n.toLowerCase()===t.value.toLowerCase()){const i=t.targetVersion?t.targetVersion:this.targetVersion;return i.compareTo(r.targetVersion)<=0?t.value:(r.logParseEvent(e,a.iV.InvalidPropertyValue,l.D.errors.propertyValueNotSupported(n,this.name,i.toString(),r.targetVersion.toString())),this.defaultValue)}return r.logParseEvent(e,a.iV.InvalidPropertyValue,l.D.errors.invalidPropertyValue(n,this.name)),this.defaultValue}toJSON(e,t,r,n){let i=!1;if(void 0!==r){i=!0;for(const t of this.values)if(t.value===r){const o=t.targetVersion?t.targetVersion:this.targetVersion;if(o.compareTo(n.targetVersion)<=0){i=!1;break}n.logEvent(e,a.Fg.ToJSON,a.iV.InvalidPropertyValue,l.D.errors.propertyValueNotSupported(r,this.name,o.toString(),n.targetVersion.toString()))}}i||n.serializeValue(t,this.name,r,this.defaultValue,!0)}getDescriptor(e){return{valueTypes:[{type:"string",validValues:this.values.map((e=>e.value))}],defaultValue:this.defaultValue,suggestedSchemaTypeName:this.typeName}}constructor(e,t,r,n,i){super(e,t,n,i),this.targetVersion=e,this.name=t,this.values=r,this.defaultValue=n,this.onGetInitialValue=i}}class A extends h{getValueMetadata(e){if("number"==typeof e&&this.valuesMetadata)return this.valuesMetadata[e]}parse(e,t,r){const n=t[this.name];if("string"!=typeof n)return this.defaultValue;const i=(0,o.l0)(this.enumType,n);if(void 0!==i)for(const t of this.values)if(t.value===i){const o=t.targetVersion?t.targetVersion:this.targetVersion;return o.compareTo(r.targetVersion)<=0?i:(r.logParseEvent(e,a.iV.InvalidPropertyValue,l.D.errors.propertyValueNotSupported(n,this.name,o.toString(),r.targetVersion.toString())),this.defaultValue)}return r.logParseEvent(e,a.iV.InvalidPropertyValue,l.D.errors.invalidPropertyValue(n,this.name)),this.defaultValue}toJSON(e,t,r,n){let i=!1;if(void 0!==r){i=!0;for(const t of this.values)if(t.value===r){if((t.targetVersion?t.targetVersion:this.targetVersion).compareTo(n.targetVersion)<=0){i=!1;break}n.logEvent(e,a.Fg.ToJSON,a.iV.InvalidPropertyValue,l.D.errors.invalidPropertyValue(r,this.name))}}i||n.serializeEnum(this.enumType,t,this.name,r,this.defaultValue)}getDescriptor(e){const t=(0,o.aL)(this.enumType),r={};for(const e of t){const t=(0,o.l0)(this.enumType,e),n=this.getValueMetadata(t);n&&(r[e]=n)}return{valueTypes:[{type:"string",validValues:(0,o.aL)(this.enumType)}],valuesMetadata:Object.keys(r).length>0?r:void 0,defaultValue:void 0!==this.defaultValue?this.enumType[this.defaultValue]:void 0,suggestedSchemaTypeName:this.typeName}}constructor(e,t,r,n,i,a){if(super(e,t,n,a),this.targetVersion=e,this.name=t,this.enumType=r,this.defaultValue=n,this.onGetInitialValue=a,this._values=[],this.typeName=(0,o.pm)(r),i)this._values=i;else for(const e in r){const t=parseInt(e,10);t>=0&&this._values.push({value:t})}}get values(){return this._values}}class x extends h{setAllowAdditionalProperties(e){return this.allowAdditionalProperties=e,this}setPreserveAdditionalProperties(e){return this.preserveAdditionalProperties=e,this}parse(e,t,r){const n=t[this.name];if(void 0===n)return this.onGetInitialValue?this.onGetInitialValue(e):this.defaultValue;const i=this.createInstance(t);return i.parse(n,r),i}toJSON(e,t,r,n){let i;void 0===r||r.hasAllDefaultValues()||(i=r.toJSON(n)),"object"==typeof i&&0===Object.keys(i).length&&(i=void 0),n.serializeValue(t,this.name,i,this.defaultValue,!0)}getDescriptor(e){const t=new R(this.createInstance(),this.allowAdditionalProperties);return t.preserveAdditionalProperties=this.preserveAdditionalProperties,{valueTypes:[{type:"object",validValues:[t]}],defaultValue:this.defaultValue}}constructor(e,t,r,n=!1,i){super(e,t,i,(e=>this.nullable?void 0:this.createInstance())),this.targetVersion=e,this.name=t,this.createInstance=r,this.nullable=n,this.allowAdditionalProperties=!0,this.preserveAdditionalProperties=!1}}class k extends x{parse(e,t,r){const n=t[this.name];if("object"==typeof n&&"type"in n&&n.type===this.objectTypeName)return super.parse(e,t,r)}constructor(e,t,r,n,i=!1,o){super(e,t,n,i,o),this.targetVersion=e,this.name=t,this.objectTypeName=r,this.createInstance=n,this.nullable=i}}class E extends h{parse(e,t,r){const n=[],i=t[this.name];if(Array.isArray(i))for(const t of i){const i=this.createInstance(t);i&&(i.parse(t,r),n.push(i),this.onItemAdded&&this.onItemAdded(e,i))}return n.length>0?n:this.onGetInitialValue?this.onGetInitialValue(e):void 0}toJSON(e,t,r,n){n.serializeArray(t,this.name,r)}getDescriptor(e){const t=this.createInstance();return{valueTypes:[{type:"object",validValues:t?[new R(t)]:void 0}],defaultValue:this.defaultValue,propertyType:"array"}}constructor(e,t,r,n){super(e,t,void 0,(e=>[])),this.targetVersion=e,this.name=t,this.createInstance=r,this.onItemAdded=n}}class _ extends h{parse(e,t,r){return this.onParse(e,this,t,r)}toJSON(e,t,r,n){this.onToJSON(e,this,t,r,n)}constructor(e,t,r,n,i,o){if(super(e,t,i,o),this.targetVersion=e,this.name=t,this.onParse=r,this.onToJSON=n,this.defaultValue=i,this.onGetInitialValue=o,!this.onParse)throw new Error("CustomPropertyDefinition instances must have an onParse handler.");if(!this.onToJSON)throw new Error("CustomPropertyDefinition instances must have an onToJSON handler.")}}class I{constructor(e){this.owner=e,this._properties=new Map}determinePropertyOrigins(){const e=new P(this.owner);for(const t in this.owner.constructor)try{const r=this.owner.constructor[t];if(r instanceof h){const n=e.getDeclaringClass(t);n&&(r.origin={declaringClass:n,isInherited:n!==this.owner.constructor,schemaVersion:r.targetVersion})}}catch(e){}}add(...e){for(const t of e)this._properties.set(t.name.toLowerCase(),t)}remove(...e){for(const t of e)this._properties.delete(t.name.toLowerCase())}getItem(e){const t=this._properties.get(e.toLowerCase());let r=t;for(;r&&r.name!==e;)r=r.alternateDefinition;return r?t:void 0}get key(){return this.owner.getSchemaKey()}get properties(){return this._properties.values()}}class P{constructor(e){this._serializableObject=e;let t,r=[this._serializableObject.constructor];do{t=Object.getPrototypeOf(r[0].prototype).constructor,(Object.prototype.isPrototypeOf.call(T,t)||t===T)&&(r=[t,...r])}while(t!==T);this._constructorHierarchy=r}getDeclaringClass(e){for(const t of this._constructorHierarchy)if(e in t)return t}}class T{get key(){return this.getValue(T.keyProperty)}set key(e){this.setValue(T.keyProperty,e)}shouldStoreRawProperties(){return s.h$.enableFullJsonRoundTrip||this.preserveSourcePropertiesOnParse}propertyChanged(e,t,r){this.isDesignMode()||e.applyToObject(this),this.onPropertyChanged&&this.onPropertyChanged(this,e,t,r)}afterParse(){}getDefaultSerializationContext(){return new f}populateSchema(e){const t=[];for(const e in this.constructor)try{const r=this.constructor[e];r instanceof h&&t.push(r)}catch(e){}if(t.length>0){const r=t.sort(((e,t)=>e.sequentialNumber>t.sequentialNumber?1:e.sequentialNumber<t.sequentialNumber?-1:0));e.add(...r)}T.onRegisterCustomProperties&&T.onRegisterCustomProperties(this,e)}getAttachableProperties(e){return[]}internalParse(e,t){if(!this._isParsing){this._isParsing=!0;try{if(this._propertyBag={},this.preserveSourcePropertiesOnParse&&"object"==typeof e&&Object.assign(this,e),this._rawProperties=this.shouldStoreRawProperties()&&e||{},e){const r=this.getSchema(),n=this.getAdditionalValidSchemaProperties();for(const i in e)r.getItem(i)||n.includes(i)||t.getAttachableElementProperty(i)||t.logParseEvent(this,a.iV.UnknownProperty,l.D.errors.unknownProperty(i));const i=Array.from(r.properties).concat(this.getAttachableProperties(t));s.h$.enableResourceStringApplication&&i.sort(((e,t)=>Number(t.isHighPriority)-Number(e.isHighPriority)));for(const r of i)if(r.isSerializationEnabled){let n=r.onGetInitialValue?r.onGetInitialValue(this):void 0,i=r;for(;i&&!e.hasOwnProperty(i.name);)i=i.alternateDefinition;i&&(i.targetVersion.compareTo(t.targetVersion)<=0?n=t.postProcessParsedPropertyValue(i,i.parse(this,e,t)):t.logParseEvent(this,a.iV.UnsupportedProperty,l.D.errors.propertyNotSupported(i.name,i.targetVersion.toString(),t.targetVersion.toString()))),this.setValue(r,n)}}else this.resetDefaultValues()}finally{this._isParsing=!1,this.afterParse()}}}internalToJSON(e,t){const r=this.getSchema(),n=[];for(const i of r.properties)i.isSerializationEnabled&&i.targetVersion.compareTo(t.targetVersion)<=0&&-1===n.indexOf(i.name)&&(i.toJSON(this,e,this.getValue(i),t),n.push(i.name))}shouldSerialize(e){return!0}get isParsing(){return this._isParsing}constructor(){this._isParsing=!1,this._propertyBag={},this._rawProperties={},this.preserveSourcePropertiesOnParse=!1,this.maxVersion=T.defaultMaxVersion;const e=this.getSchema();for(const t of e.properties)t.onGetInitialValue&&this.setValue(t,t.onGetInitialValue(this))}isDesignMode(){return!1}getAdditionalValidSchemaProperties(){return[]}getKey(e){const t=this.getValue(T.keyProperty);return null!=t?t:`${this.getSchemaKey()}-${e}`}processImageUrl(e){return e}processApplicableProperties(){if(!this.isDesignMode()){const e=this.getSchema();for(const t of e.properties)t.applyToObject(this)}}getAdditionalPropertyDescriptors(e){return[]}reflect(e){var t,r;const n=this.getSchema();n.determinePropertyOrigins();const i=this.getAdditionalPropertyDescriptors(e),o=new Map,a=[...n.properties,...this.getAttachableProperties(e)];for(const n of a)n.isSerializationEnabled&&o.set(n.name,Object.assign(Object.assign({name:n.name},n.getDescriptor(e)),{declaringClassName:null===(t=n.origin)||void 0===t?void 0:t.declaringClass.name,schemaVersion:null===(r=n.origin)||void 0===r?void 0:r.schemaVersion,metadata:n.metadata,isRequired:n.isRequired,isHero:n.isHero}));for(const e of i)e.declaringClassName||(e.declaringClassName=this.constructor.name),o.set(e.name,e);return[...o.values()]}getSerializationContext(){return this.getDefaultSerializationContext()}getValue(e){return this._propertyBag.hasOwnProperty(e.getInternalName())?this._propertyBag[e.getInternalName()]:e.defaultValue}setValue(e,t){if(!e.validateValue(t))return;const r=(e,t,r)=>{this._isParsing||this.propertyChanged(e,t,r)};if(null==t)this._propertyBag.hasOwnProperty(e.getInternalName())&&(delete this._propertyBag[e.getInternalName()],r(e,t));else{let n=e.preProcessValue(t);if("imageUrl"===e.contentType&&"string"==typeof n&&(n=this.processImageUrl(n)),this._propertyBag[e.getInternalName()]!==n){const t=this._propertyBag[e.getInternalName()];this._propertyBag[e.getInternalName()]=n,r(e,n,t)}}}parse(e,t){const r=null!=t?t:this.getSerializationContext();this.internalParse(e,r),r.onAfterObjectParsed&&r.onAfterObjectParsed(this,e)}toJSON(e){const t=e&&e instanceof p?e:this.getSerializationContext();if(this.shouldSerialize(t)){let e;return e=this.shouldStoreRawProperties()&&this._rawProperties&&"object"==typeof this._rawProperties?this._rawProperties:{},this.internalToJSON(e,t),e}}hasDefaultValue(e){return this.getValue(e)===e.defaultValue}hasAllDefaultValues(){const e=this.getSchema();for(const t of e.properties)if(!this.hasDefaultValue(t))return!1;return!0}resetDefaultValues(){const e=this.getSchema();for(const t of e.properties)this.setValue(t,t.defaultValue)}setCustomProperty(e,t){"string"==typeof t&&!t||null==t?delete this._rawProperties[e]:this._rawProperties[e]=t}getCustomProperty(e){return this._rawProperties[e]}getSchema(){let e=T._schemaCache[this.getSchemaKey()];return e||(e=new I(this),this.populateSchema(e),T._schemaCache[e.key]=e),e}getCodeGenOptions(){}get expressionEvaluationContext(){}}T.keyProperty=new g(d.v1_0,"key"),T.defaultMaxVersion=d.latest,T._schemaCache={};class B extends T{getSchemaKey(){return this.getJsonTypeName()}getAdditionalPropertyDescriptors(e){return[...super.getAdditionalPropertyDescriptors(e),{name:"type",valueTypes:[{type:"string"}],requiredValue:this.getJsonTypeName(),declaringClassName:this.constructor.name,schemaVersion:d.v1_0}]}}B.typeNameProperty=new g(d.v1_0,"type",void 0,void 0,(e=>e.getJsonTypeName()));class D{constructor(e){this.allowAdditionalProperties=e,this.preserveAdditionalProperties=!1}get describedObject(){}get codeGenOptions(){var e;return null===(e=this.describedObject)||void 0===e?void 0:e.getCodeGenOptions()}}class N extends D{constructor(e,t,r=!0){super(r),this._name=e,this._properties=t;for(const e of this._properties)e.declaringClassName=this._name}getProperties(e){return this._properties}get name(){return this._name}}class R extends D{constructor(e,t=!0){super(t),this._objectToReflect=e}getProperties(e){return this._properties||(this._properties=this._objectToReflect.reflect(e)),this._properties}get name(){return this._objectToReflect.getSchemaKey()}get describedObject(){return this._objectToReflect}}},2600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3510),i={B:{"font-weight":"bold"},EM:{"font-style":"italic"},I:{"font-style":"italic"},U:{"text-decoration":"underline"},P:{"margin-top":"1em","margin-bottom":"1em"},PRE:{"white-space":"pre"},S:{"text-decoration":"line-through"},STRIKE:{"text-decoration":"line-through"},SUB:{"vertical-align":"sub","font-size":"smaller"},SUP:{"vertical-align":"super","font-size":"smaller"}};t.default=function(e,t){var r=(0,n.default)(e);return i[r]||(t||{})[r]}},2601:(e,t,r)=>{"use strict";t.l6=t.qP=t.Ex=void 0;r(7944);var n=r(7790);Object.defineProperty(t,"Ex",{enumerable:!0,get:function(){return n.declareString}}),Object.defineProperty(t,"qP",{enumerable:!0,get:function(){return n.declareStringWithPlaceholders}});r(4044);var i=r(8911);Object.defineProperty(t,"l6",{enumerable:!0,get:function(){return i.isDevLocalization}});r(4699),r(8293),r(969),r(7184),r(3592)},2614:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(240),i=r(4788),o=r(9797),a=r(7841);class s extends o.B{constructor(e,t,r){super(e,t,r),this.appAuthSdkHost=e,this.telemetryService=t,this.authenticationService=r}initHandlers(){super.initHandlers(),this.registerHandler(n.tz.authentication.notifySuccess,this.handleNotifySuccess),this.registerHandler(n.tz.authentication.notifyFailure,this.handleNotifyFailure)}handleNotifySuccess(e,t){return this.appAuthSdkHost.closeWindow(),this.appAuthSdkHost.stopAuthWindowMonitor(),(0,a.QY)(this.authenticationService.notifySuccess,t)}handleNotifyFailure(e,t){return this.appAuthSdkHost.closeWindow(),this.appAuthSdkHost.stopAuthWindowMonitor(),(0,a.QY)(this.authenticationService.notifyFailure,t,i.Q.Other)}}},2624:(e,t,r)=>{"use strict";r.d(t,{q:()=>l});var n=r(7810),i=r(1419),o=r(8775),a=r(3874),s=r(3842);function l(e){const{useStyles:t,className:r,displayName:l}=e,c=n.forwardRef(((e,n)=>{const l=t(),c=(0,a.E)(e,n);return(0,s.M)(c),c.root.className=(0,i.z)(r,c.root.className,l.root,e.className),(0,o.n)(c)}));return c.displayName=l,c}},2625:(e,t,r)=>{"use strict";r.d(t,{G:()=>o});var n=r(9935),i=r(3920);function o(e,t,r=[]){return i.fj+function(e){const t=e.length;if(t===i.ez)return e;for(let r=t;r<i.ez;r++)e+="0";return e}((0,n.A)(e+t))}},2631:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(i)return i(e,r).value}return e[r]};e.exports=function e(){var t,r,n,i,c,u,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(i=l(t,r))&&(h&&i&&(a(i)||(c=o(i)))?(c?(c=!1,u=n&&o(n)?n:[]):u=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,u,i)})):void 0!==i&&s(d,{name:r,newValue:i}));return d}},2632:(e,t,r)=>{"use strict";r.d(t,{C:()=>p});var n=r(5273),i=r(748),o=r(7980),a=r(8068),s=r(417),l=r(6307),c=r(9591),u=r(4204),d=r(4846);const p=(e=>{const t=(e=>({colorNeutralForeground1:i.ON,colorNeutralForeground1Hover:i.ON,colorNeutralForeground1Pressed:i.ON,colorNeutralForeground1Selected:i.ON,colorNeutralForeground2:i.Oh[84],colorNeutralForeground2Hover:i.ON,colorNeutralForeground2Pressed:i.ON,colorNeutralForeground2Selected:i.ON,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:i.Oh[68],colorNeutralForeground3Hover:i.Oh[84],colorNeutralForeground3Pressed:i.Oh[84],colorNeutralForeground3Selected:i.Oh[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:i.Oh[60],colorNeutralForegroundDisabled:i.Oh[36],colorNeutralForegroundInvertedDisabled:i.c8[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:i.Oh[84],colorNeutralForeground2LinkHover:i.ON,colorNeutralForeground2LinkPressed:i.ON,colorNeutralForeground2LinkSelected:i.ON,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:i.Oh[14],colorNeutralForegroundStaticInverted:i.ON,colorNeutralForegroundInverted:i.Oh[14],colorNeutralForegroundInvertedHover:i.Oh[14],colorNeutralForegroundInvertedPressed:i.Oh[14],colorNeutralForegroundInvertedSelected:i.Oh[14],colorNeutralForegroundInverted2:i.Oh[14],colorNeutralForegroundOnBrand:i.ON,colorNeutralForegroundInvertedLink:i.ON,colorNeutralForegroundInvertedLinkHover:i.ON,colorNeutralForegroundInvertedLinkPressed:i.ON,colorNeutralForegroundInvertedLinkSelected:i.ON,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:i.Oh[16],colorNeutralBackground1Hover:i.Oh[24],colorNeutralBackground1Pressed:i.Oh[12],colorNeutralBackground1Selected:i.Oh[22],colorNeutralBackground2:i.Oh[12],colorNeutralBackground2Hover:i.Oh[20],colorNeutralBackground2Pressed:i.Oh[8],colorNeutralBackground2Selected:i.Oh[18],colorNeutralBackground3:i.Oh[8],colorNeutralBackground3Hover:i.Oh[16],colorNeutralBackground3Pressed:i.Oh[4],colorNeutralBackground3Selected:i.Oh[14],colorNeutralBackground4:i.Oh[4],colorNeutralBackground4Hover:i.Oh[12],colorNeutralBackground4Pressed:i.Ql,colorNeutralBackground4Selected:i.Oh[10],colorNeutralBackground5:i.Ql,colorNeutralBackground5Hover:i.Oh[8],colorNeutralBackground5Pressed:i.Oh[2],colorNeutralBackground5Selected:i.Oh[6],colorNeutralBackground6:i.Oh[20],colorNeutralBackgroundInverted:i.ON,colorNeutralBackgroundStatic:i.Oh[24],colorNeutralBackgroundAlpha:i.ti[50],colorNeutralBackgroundAlpha2:i.Z1[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:i.Oh[22],colorSubtleBackgroundPressed:i.Oh[18],colorSubtleBackgroundSelected:i.Oh[20],colorSubtleBackgroundLightAlphaHover:i.Xv[80],colorSubtleBackgroundLightAlphaPressed:i.Xv[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:i.Q1[10],colorSubtleBackgroundInvertedPressed:i.Q1[30],colorSubtleBackgroundInvertedSelected:i.Q1[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:i.Oh[8],colorNeutralBackgroundInvertedDisabled:i.c8[10],colorNeutralStencil1:i.Oh[34],colorNeutralStencil2:i.Oh[20],colorNeutralStencil1Alpha:i.c8[10],colorNeutralStencil2Alpha:i.c8[5],colorBackgroundOverlay:i.Q1[50],colorScrollbarOverlay:i.c8[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:i.ON,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:i.Oh[20],colorNeutralCardBackgroundHover:i.Oh[24],colorNeutralCardBackgroundPressed:i.Oh[18],colorNeutralCardBackgroundSelected:i.Oh[22],colorNeutralCardBackgroundDisabled:i.Oh[8],colorNeutralStrokeAccessible:i.Oh[68],colorNeutralStrokeAccessibleHover:i.Oh[74],colorNeutralStrokeAccessiblePressed:i.Oh[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:i.Oh[40],colorNeutralStroke1Hover:i.Oh[46],colorNeutralStroke1Pressed:i.Oh[42],colorNeutralStroke1Selected:i.Oh[44],colorNeutralStroke2:i.Oh[32],colorNeutralStroke3:i.Oh[24],colorNeutralStrokeSubtle:i.Oh[4],colorNeutralStrokeOnBrand:i.Oh[16],colorNeutralStrokeOnBrand2:i.ON,colorNeutralStrokeOnBrand2Hover:i.ON,colorNeutralStrokeOnBrand2Pressed:i.ON,colorNeutralStrokeOnBrand2Selected:i.ON,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:i.Oh[26],colorNeutralStrokeInvertedDisabled:i.c8[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:i.c8[10],colorNeutralStrokeAlpha2:i.c8[20],colorStrokeFocus1:i.Ql,colorStrokeFocus2:i.ON,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...o.V,...a.GR,...a.lm,...a.aI,...a.NM,...s.k,...d.b,...d.F,...c.S,...u.L,...t,...n.h,...n.m,...(0,l.t)(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...(0,l.t)(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}})(r(5403).oZ)},2636:(e,t,r)=>{"use strict";r.d(t,{A:()=>ne});var n=r(7181);var i=r(8285),o=r(8086),a=n.A?n.A.prototype:void 0,s=a?a.toString:void 0;const l=function e(t){if("string"==typeof t)return t;if((0,i.A)(t))return function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}(t,e)+"";if((0,o.A)(t))return s?s.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r},c=function(e){return null==e?"":l(e)},u=function(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}(e,t,r)};var d=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const p=function(e){return d.test(e)};var f="\\ud800-\\udfff",h="["+f+"]",g="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",m="\\ud83c[\\udffb-\\udfff]",v="[^"+f+"]",y="(?:\\ud83c[\\udde6-\\uddff]){2}",b="[\\ud800-\\udbff][\\udc00-\\udfff]",w="(?:"+g+"|"+m+")?",S="[\\ufe0e\\ufe0f]?",C=S+w+"(?:\\u200d(?:"+[v,y,b].join("|")+")"+S+w+")*",A="(?:"+[v+g+"?",g,y,b,h].join("|")+")",x=RegExp(m+"(?="+m+")|"+A+C,"g");const k=function(e){return p(e)?function(e){return e.match(x)||[]}(e):function(e){return e.split("")}(e)},E=function(e){e=c(e);var t=p(e)?k(e):void 0,r=t?t[0]:e.charAt(0),n=t?u(t,1).join(""):e.slice(1);return r.toUpperCase()+n},_=(I={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},function(e){return null==I?void 0:I[e]});var I,P=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,T=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var B=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var D=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var N="\\ud800-\\udfff",R="\\u2700-\\u27bf",O="a-z\\xdf-\\xf6\\xf8-\\xff",z="A-Z\\xc0-\\xd6\\xd8-\\xde",M="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",F="["+M+"]",L="\\d+",j="["+R+"]",V="["+O+"]",H="[^"+N+M+L+R+O+z+"]",q="(?:\\ud83c[\\udde6-\\uddff]){2}",U="[\\ud800-\\udbff][\\udc00-\\udfff]",$="["+z+"]",W="(?:"+V+"|"+H+")",G="(?:"+$+"|"+H+")",K="(?:['’](?:d|ll|m|re|s|t|ve))?",X="(?:['’](?:D|LL|M|RE|S|T|VE))?",Y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",J="[\\ufe0e\\ufe0f]?",Z=J+Y+"(?:\\u200d(?:"+["[^"+N+"]",q,U].join("|")+")"+J+Y+")*",Q="(?:"+[j,q,U].join("|")+")"+Z,ee=RegExp([$+"?"+V+"+"+K+"(?="+[F,$,"$"].join("|")+")",G+"+"+X+"(?="+[F,$+W,"$"].join("|")+")",$+"?"+W+"+"+K,$+"+"+X,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",L,Q].join("|"),"g");const te=function(e,t,r){return e=c(e),void 0===(t=r?void 0:t)?function(e){return D.test(e)}(e)?function(e){return e.match(ee)||[]}(e):function(e){return e.match(B)||[]}(e):e.match(t)||[]};var re=RegExp("['’]","g");const ne=(ie=function(e,t,r){return t=t.toLowerCase(),e+(r?E(c(t).toLowerCase()):t)},function(e){return function(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}(te(function(e){return(e=c(e))&&e.replace(P,_).replace(T,"")}(e).replace(re,"")),ie,"")});var ie},2637:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});class n{}n.errors={unknownElementType:e=>`Unknown element type "${e}". Fallback will be used if present.`,unknownActionType:e=>`Unknown action type "${e}". Fallback will be used if present.`,elementTypeNotAllowed:e=>`Element type "${e}" is not allowed in this context.`,actionTypeNotAllowed:e=>`Action type "${e}" is not allowed in this context.`,invalidPropertyValue:(e,t)=>`Invalid value "${e}" for property "${t}".`,showCardMustHaveCard:()=>'"An Action.ShowCard must have its "card" property set to a valid AdaptiveCard object.',invalidColumnWidth:e=>`Invalid column width "${e}" - defaulting to "auto".`,invalidCardVersion:e=>`Invalid card version. Defaulting to "${e}".`,invalidVersionString:e=>`Invalid version string "${e}".`,invalidDialogDimension:e=>`Invalid dialog dimension "${e}"`,propertyValueNotSupported:(e,t,r,n)=>`Value "${e}" for property "${t}" is supported in version ${r}, but you are using version ${n}.`,propertyNotSupported:(e,t,r)=>`Property "${e}" is supported in version ${t}, but you are using version ${r}.`,indexOutOfRange:e=>`Index out of range (${e}).`,elementCannotBeUsedAsInline:()=>"RichTextBlock.addInline: the specified card element cannot be used as a RichTextBlock inline.",inlineAlreadyParented:()=>"RichTextBlock.addInline: the specified inline already belongs to another RichTextBlock.",interactivityNotAllowed:()=>"Interactivity is not allowed.",inputsMustHaveUniqueId:()=>"All inputs must have a unique Id.",choiceSetMustHaveAtLeastOneChoice:()=>"An Input.ChoiceSet must have at least one choice defined.",choiceSetChoicesMustHaveTitleAndValue:()=>"All choices in an Input.ChoiceSet must have their title and value properties set.",propertyMustBeSet:e=>`Property "${e}" must be set.`,actionHttpHeadersMustHaveNameAndValue:()=>"All headers of an Action.Http must have their name and value properties set.",tooManyActions:e=>`Maximum number of actions exceeded (${e}).`,tooLittleTimeDelay:e=>`Autoplay Delay is too short (${e}).`,columnAlreadyBelongsToAnotherSet:()=>"This column already belongs to another ColumnSet.",invalidCardType:()=>'Invalid or missing card type. Make sure the card\'s type property is set to "AdaptiveCard".',unsupportedCardVersion:(e,t)=>`The specified card version (${e}) is not supported or still in preview. The latest released card version is ${t}.`,duplicateId:e=>`Duplicate Id "${e}".`,markdownProcessingNotEnabled:()=>"Markdown processing isn't enabled. Please see https://www.npmjs.com/package/adaptivecards#supporting-markdown",elementAlreadyParented:()=>"The element already belongs to another container.",actionAlreadyParented:()=>"The action already belongs to another element.",elementTypeNotStandalone:e=>`Elements of type ${e} cannot be used as standalone elements.`,unknownProperty:e=>`Unknown property "${e}"`,speakPropertyShouldBeSet:()=>'The "speak" property should always be set as it provides a way for screen readers to describe the card to an end-user that relies on assistive technologies.',menuActionsNotAllowedInPopovers:()=>"Menu actions are not allowed in popovers and will be ignored."},n.hints={dontUseWeightedAndStretchedColumnsInSameSet:()=>"It is not recommended to use weighted and stretched columns in the same ColumnSet, because in such a situation stretched columns will always get the minimum amount of space."},n.overflowButtonText={key:"overflowButtonText",defaultValue:"..."},n.overflowButtonTooltip={key:"overflowButtonTooltip",defaultValue:"More options"},n.mediaPlayerAriaLabel={key:"mediaPlayerAriaLabel",defaultValue:"Media content"},n.mediaPlayerPlayMedia={key:"mediaPlayerPlayMedia",defaultValue:"Play media"},n.youTubeVideoPlayer={key:"youTubeVideoPlayer",defaultValue:"YouTube video player"},n.vimeoVideoPlayer={key:"vimeoVideoPlayer",defaultValue:"Vimeo video player"},n.dailymotionVideoPlayer={key:"dailymotionVideoPlayer",defaultValue:"Dailymotion video player"},n.mediaPlayerPosterAltText={key:"mediaPlayerPosterAltText",defaultValue:"Video poster"},n.emptyElementText={key:"emptyElementText",defaultValue:"Empty {{elementType}}"}},2694:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(6186),i=r.n(n),o=r(2155),a=r.n(o),s=r(7433),l=r.n(s),c=r(8626),u=r.n(c),d=r(8990),p=r.n(d),f=r(9827),h=r.n(f),g=r(4981),m={};m.styleTagTransform=h(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.A,m);const v=g.A&&g.A.locals?g.A.locals:void 0},2770:(e,t,r)=>{"use strict";r.d(t,{mc:()=>I,XP:()=>k,_I:()=>f,oC:()=>x,zh:()=>v});var n=r(7810),i=r(2583),o=r(3390),a=r(8208),s=r(7714),l=r(5042),c=r(2290),u=r(2637);class d{constructor(){this._observedElements=new Map}getResizeObserver(){return this._resizeObserver||(this._resizeObserver=new ResizeObserver((e=>this.resizeObserverCallback(e)))),this._resizeObserver}resizeObserverCallback(e){for(const t of e){const e=this._observedElements.get(t.target);e&&e(t.target,{left:t.contentRect.left,top:t.contentRect.top,width:t.contentRect.width,height:t.contentRect.height})}}observe(e,t){this.unobserve(e),this._observedElements.set(e,t),this.getResizeObserver().observe(e)}unobserve(e){const t=this.getResizeObserver();this._observedElements.has(e)&&(this._observedElements.delete(e),t.unobserve(e))}disconnect(){this.getResizeObserver().disconnect(),this._observedElements.clear()}setResizeObserver(e){this._resizeObserver!==e&&(this._resizeObserver&&this._resizeObserver.disconnect(),this._resizeObserver=e)}}var p=r(1967);class f extends i.XY{constructor(e,t,r,n){super(e,t,[{value:o.xO.Default},{value:o.xO.Emphasis},{targetVersion:i.uq.v1_2,value:o.xO.Accent},{targetVersion:i.uq.v1_2,value:o.xO.Good},{targetVersion:i.uq.v1_2,value:o.xO.Attention},{targetVersion:i.uq.v1_2,value:o.xO.Warning}],r,n),this.targetVersion=e,this.name=t,this.defaultValue=r,this.onGetInitialValue=n,this.typeName="ContainerStyle"}}class h extends i.bU{get targetWidth(){return this.getValue(h.targetWidthProperty)}set targetWidth(e){this.setValue(h.targetWidthProperty,e)}getAdditionalPropertyDescriptors(e){return[...super.getAdditionalPropertyDescriptors(e),{name:"type",valueTypes:[{type:"string"}],requiredValue:this.getSchemaKey(),schemaVersion:i.uq.v1_5}]}getCodeGenOptions(){return{baseClassName:"ContainerLayout"}}renderItem(e,t,r){return n.createElement(a.XG,{key:t.getKey(r),cardObject:t})}isResponsive(){return void 0!==this.targetWidth}get allowSpaceBetweenElements(){return!0}get allowContainersToBleed(){return!0}}h.targetWidthProperty=new a.n7(i.uq.v1_5,"targetWidth");class g extends h{getJsonTypeName(){return g.jsonTypeName}apply(e,t){switch(t.style.display="flex",t.style.flexDirection="column",e.getEffectiveVerticalContentAlignment()){case o.sx.Center:t.style.justifyContent="center";break;case o.sx.Bottom:t.style.justifyContent="flex-end";break;default:t.style.justifyContent="flex-start"}}}g.jsonTypeName="Layout.Stack";class m extends i.BG{parse(e,t,r){const n=[],i=t[this.name];if(Array.isArray(i))for(const e of i)try{n.push(s.zg.parse(e))}catch(t){"auto"!==e&&"stretch"!==e||n.push(e)}return n}toJSON(e,t,r,n){const i=[];if(Array.isArray(r))for(const e of r)e instanceof s.zg?e.unit===o.Y2.Pixel?i.push(`${e.physicalSize}px`):i.push(e.physicalSize):"auto"!==e&&"stretch"!==e||i.push(e);n.serializeArray(t,this.name,r)}getDescriptor(e){return{valueTypes:[{type:"number"},{type:"string"}],propertyType:"array"}}constructor(e,t,r){super(e,t,r),this.targetVersion=e,this.name=t,this.defaultValue=r}}const v=new i.XB(i.uq.v1_5,"grid.area");class y extends i.jB{get name(){return this.getValue(y.nameProperty)}set name(e){this.setValue(y.nameProperty,e)}get column(){return this.getValue(y.columnProperty)}set column(e){this.setValue(y.columnProperty,e)}get columnSpan(){return this.getValue(y.columnSpanProperty)}set columnSpan(e){this.setValue(y.columnSpanProperty,e)}get row(){return this.getValue(y.rowProperty)}set row(e){this.setValue(y.rowProperty,e)}get rowSpan(){return this.getValue(y.rowSpanProperty)}set rowSpan(e){this.setValue(y.rowSpanProperty,e)}getSchemaKey(){return y.jsonTypeName}constructor(e){super(),this.name=e}}y.jsonTypeName="GridArea",y.nameProperty=new i.XB(i.uq.v1_5,"name"),y.columnProperty=new i.Uy(i.uq.v1_5,"column",1),y.columnSpanProperty=new i.Uy(i.uq.v1_5,"columnSpan",1),y.rowProperty=new i.Uy(i.uq.v1_5,"row",1),y.rowSpanProperty=new i.Uy(i.uq.v1_5,"rowSpan",1);class b extends h{get columns(){return this.getValue(b.columnsProperty)}set columns(e){this.setValue(b.columnsProperty,e)}get areas(){return this.getValue(b.areasProperty)}set areas(e){this.setValue(b.areasProperty,e)}get columnSpacing(){return this.getValue(b.columnSpacingProperty)}set columnSpacing(e){this.setValue(b.columnSpacingProperty,e)}get rowSpacing(){return this.getValue(b.rowSpacingProperty)}set rowSpacing(e){this.setValue(b.rowSpacingProperty,e)}getJsonTypeName(){return b.jsonTypeName}getEffectiveAreas(){return 0===this.areas.length?[b.defaultArea]:this.areas}apply(e,t){t.style.display="grid",t.style.columnGap=e.hostConfig.getEffectiveSpacing(this.columnSpacing)+"px",t.style.rowGap=e.hostConfig.getEffectiveSpacing(this.rowSpacing)+"px";const r=this.columns.map((e=>"auto"===e?e:e.physicalSize<=0?"auto":e.unit===o.Y2.Pixel?`minmax(0, ${e.physicalSize}px)`:`minmax(0, ${Math.min(100,e.physicalSize)}%)`)),n=this.getEffectiveAreas();let i=1;n.forEach((e=>{const t=e.row+e.rowSpan-1;t>i&&(i=t)}));const a=[];for(let e=0;e<i;e++)a.push(new Array(r.length).fill(b.defaultArea.name));for(const e of n)if(e.name){const t=e.row-1,r=t+e.rowSpan,n=e.column-1,i=n+e.columnSpan;for(let o=t;o<r;o++)for(let t=n;t<i;t++)a[o][t]=e.name}let s="";for(const e of a)s+=`"${e.join(" ")}"\n`;t.style.gridTemplateColumns=r.join(" "),t.style.gridTemplateAreas=s}renderItem(e,t,r){var i;const o=this.getEffectiveAreas(),s=t.getValue(v),l=null!==(i=this.areas.find((e=>e.name===s)))&&void 0!==i?i:o[0];return n.createElement("div",{style:{overflow:"hidden",display:"flex",flexDirection:"column",gridArea:l.name},key:t.getKey(r)},n.createElement(a.XG,{cardObject:t}))}get allowSpaceBetweenElements(){return!1}get allowContainersToBleed(){return!1}}var w;b.defaultArea=new y("."),b.jsonTypeName="Layout.AreaGrid",b.columnsProperty=new m(i.uq.v1_5,"columns",[]),b.areasProperty=new i.m2(i.uq.v1_5,"areas",(()=>new y)),b.columnSpacingProperty=new i.fX(i.uq.v1_5,"columnSpacing",o.Kz,o.Kz.Default),b.rowSpacingProperty=new i.fX(i.uq.v1_5,"rowSpacing",o.Kz,o.Kz.Default),function(e){e[e.Fit=0]="Fit",e[e.Fill=1]="Fill"}(w||(w={})),(0,l.FM)(w,"FlowLayoutItemFit");class S extends h{get horizontalItemsAlignment(){return this.getValue(S.horizontalItemsAlignmentProperty)}set horizontalItemsAlignment(e){this.setValue(S.horizontalItemsAlignmentProperty,e)}get verticalItemsAlignment(){return this.getValue(S.verticalItemsAlignmentProperty)}set verticalItemsAlignment(e){this.setValue(S.verticalItemsAlignmentProperty,e)}get itemFit(){return this.getValue(S.itemFitProperty)}set itemFit(e){this.setValue(S.itemFitProperty,e)}get minItemWidth(){return this.getValue(S.minItemWidthProperty)}set minItemWidth(e){this.setValue(S.minItemWidthProperty,e)}get maxItemWidth(){return this.getValue(S.maxItemWidthProperty)}set maxItemWidth(e){this.setValue(S.maxItemWidthProperty,e)}get itemWidth(){return this.getValue(S.itemWidthProperty)}set itemWidth(e){this.setValue(S.itemWidthProperty,e)}get columnSpacing(){return this.getValue(S.columnSpacingProperty)}set columnSpacing(e){this.setValue(S.columnSpacingProperty,e)}get rowSpacing(){return this.getValue(S.rowSpacingProperty)}set rowSpacing(e){this.setValue(S.rowSpacingProperty,e)}getJsonTypeName(){return S.jsonTypeName}renderItem(e,t,r){const i=Math.max(this.minItemWidth,0),o=void 0!==this.maxItemWidth&&this.maxItemWidth>i?this.maxItemWidth:void 0,s=void 0!==this.itemWidth&&this.itemWidth>i?this.itemWidth:void 0,l=this.minItemWidth?`calc(min(${i}px, 100%))`:"0";let c;return c=this.itemFit===w.Fill?"1 1 auto":void 0,n.createElement("div",{style:{minWidth:l,maxWidth:o?`${o}px`:void 0,width:s?`${s}px`:void 0,overflow:"hidden",flex:c,display:"flex",flexDirection:"column"},key:t.getKey(r)},n.createElement(a.XG,{cardObject:t}))}apply(e,t){switch(t.style.display="flex",t.style.flexWrap="wrap",t.style.justifyContent="center",t.style.columnGap=e.hostConfig.getEffectiveSpacing(this.columnSpacing)+"px",t.style.rowGap=e.hostConfig.getEffectiveSpacing(this.rowSpacing)+"px",e.getEffectiveVerticalContentAlignment()){case o.sx.Center:t.style.alignContent="center";break;case o.sx.Bottom:t.style.alignContent="flex-end";break;default:t.style.alignContent="flex-start"}switch(this.horizontalItemsAlignment){case o.OD.Center:t.style.justifyContent="center";break;case o.OD.Right:t.style.justifyContent="flex-end";break;default:t.style.justifyContent="flex-start"}switch(this.verticalItemsAlignment){case o.sx.Center:t.style.alignItems="center";break;case o.sx.Bottom:t.style.alignItems="flex-end";break;default:t.style.alignItems="flex-start"}}get allowSpaceBetweenElements(){return!1}get allowContainersToBleed(){return!1}}S.jsonTypeName="Layout.Flow",S.horizontalItemsAlignmentProperty=new i.fX(i.uq.v1_5,"horizontalItemsAlignment",o.OD,o.OD.Center),S.verticalItemsAlignmentProperty=new i.fX(i.uq.v1_5,"verticalItemsAlignment",o.sx,o.sx.Top),S.itemFitProperty=new i.fX(i.uq.v1_5,"itemFit",w,w.Fit),S.minItemWidthProperty=new i.l5(i.uq.v1_5,"minItemWidth",0),S.maxItemWidthProperty=new i.l5(i.uq.v1_5,"maxItemWidth"),S.itemWidthProperty=new i.l5(i.uq.v1_5,"itemWidth"),S.columnSpacingProperty=new i.fX(i.uq.v1_5,"columnSpacing",o.Kz,o.Kz.Default),S.rowSpacingProperty=new i.fX(i.uq.v1_5,"rowSpacing",o.Kz,o.Kz.Default);const C=new Map([[g.jsonTypeName,()=>new g],[S.jsonTypeName,()=>new S],[b.jsonTypeName,()=>new b]]);class A extends i.BG{parse(e,t,r){const n=[],i=t[this.name];if(Array.isArray(i))for(const e of i){const t=C.get(e.type);if(t){const i=t();i.parse(e,r),n.push(i)}}return n.length>0?n:void 0}toJSON(e,t,r,n){n.serializeArray(t,this.name,r)}getDescriptor(e){const t=[];for(const e of C.values()){const r=e(),n=new i.E$(r);t.push(n)}return{valueTypes:[{type:"object",validValues:t}],propertyType:"array"}}constructor(e,t){super(e,t,void 0),this.targetVersion=e,this.name=t}}class x extends p.y{constructor(){super(...arguments),this._resizeManager=new d,this._containerSize=void 0,this.enableAutomaticReflow=!1}get style(){if(this.allowCustomStyle){const e=this.getValue(x.styleProperty);if(e&&this.hostConfig.containerStyles.getStyleByName(e))return e}}set style(e){this.setValue(x.styleProperty,e)}get showBorder(){return this.getValue(x.showBorderProperty)}set showBorder(e){this.setValue(x.showBorderProperty,e)}get roundedCorners(){return this.getValue(x.roundedCornersProperty)}set roundedCorners(e){this.setValue(x.roundedCornersProperty,e)}get layouts(){return this.getValue(x.layoutsProperty)}set layouts(e){this.setValue(x.layoutsProperty,e)}onRef(e){this.resizeManager.disconnect(),this.isResizeTracked?(this.renderedElement=null!=e?e:void 0,this.renderedElement&&this.enableAutomaticReflow&&this.resizeManager.observe(this.renderedElement,((e,t)=>{const r=this.hostConfig.getHostWidthForPixelWidth(t.width);this._containerSize=t,this.hostWidth!==r&&(this.hostWidth=r,this.invalidate())}))):this.renderedElement=null!=e?e:void 0}get allowCustomStyle(){return!0}get hasExplicitStyle(){return void 0!==this.getValue(x.styleProperty)}get isResizeTracked(){return!1}providesDesignModeElement(){return!0}getEffectiveLayout(){var e;const t=null!==(e=this.layouts)&&void 0!==e?e:[];let r=t.find((e=>!!e.targetWidth&&e.targetWidth.matches(this.hostWidth)));return r||(r=t.find((e=>!e.targetWidth))),null!=r?r:x._defaultLayout}applyBorder(e){if(this.getHasBorder()&&!this.isBleeding()){const t=this.getEffectiveStyleDefinition();t.borderColor&&(e.style.border=`1px solid ${(0,c.zS)(t.borderColor)}`)}}applyRoundedCorners(e){this.getHasRoundedCorners()&&(e.style.borderRadius=`${this.hostConfig.roundedCornerRadius}px`,e.style.overflow="hidden")}applyBackground(e){if(this.getHasBackground()){const t=this.hostConfig.containerStyles.getStyleByName(this.style,this.hostConfig.containerStyles.getStyleByName(this.defaultStyle));if(t.backgroundColor){const r=(0,c.zS)(t.backgroundColor);r&&(e.style.backgroundColor=r)}}}getSpacings(e){if(super.getSpacings(e),this.getEffectivePadding()&&(e.padding=this.hostConfig.paddingDefinitionToSpacingDefinition(this.getEffectivePadding())),this.isBleeding()){const t=new s.pT;this.getImmediateSurroundingPadding(t);const r=this.hostConfig.paddingDefinitionToSpacingDefinition(t);e.margin={right:-r.right,left:-r.left,top:this.isDesignMode()?void 0:-r.top,bottom:this.isDesignMode()?void 0:-r.bottom}}}getSeparatorSpacings(e){if(super.getSeparatorSpacings(e),this.isBleeding()){const t=new s.pT;this.getImmediateSurroundingPadding(t);const r=this.hostConfig.paddingDefinitionToSpacingDefinition(t);this.separatorOrientation===o.t4.Horizontal&&(e.margin.left=-r.left,e.margin.right=-r.right)}else this.separatorOrientation===o.t4.Horizontal&&(e.margin.left=0,e.margin.right=0)}getSeparatorColor(e){return e||!this.parent?super.getSeparatorColor(e):super.getSeparatorColor(this.parent.getEffectiveStyleDefinition())}getHasBackground(e=!1){let t=this.parent;for(;t;){let r=!1;if(r=!e&&t instanceof I&&t.backgroundImage.isValid(),t instanceof x&&this.hasExplicitStyle&&(t.getEffectiveStyle()!==this.getEffectiveStyle()||r))return!0;t=t.parent}return!1}getHasBorder(){return"boolean"==typeof this.showBorder&&this.showBorder}getHasRoundedCorners(){return"boolean"==typeof this.roundedCorners&&this.roundedCorners}getDefaultPadding(){return this.getHasBackground()||this.getHasBorder()?new s.pT(o.Kz.Padding,o.Kz.Padding,o.Kz.Padding,o.Kz.Padding):super.getDefaultPadding()}internalRenderActions(e=!1){return null}applyLayout(e){this.getEffectiveLayout().apply(this,e)}internalRender(e){const t=this.hostConfig,r=(0,c.xg)();r.className=t.makeCssClassName("ac-container"),r.style.display="flex",r.style.flexDirection="column";const i=this.renderItems(),o={padding:{},margin:{}};if(this.getSpacings(o),r.style.paddingLeft=o.padding.left,r.style.paddingRight=o.padding.right,r.style.paddingTop=o.padding.top,r.style.paddingBottom=o.padding.bottom,r.style.marginLeft=o.margin.left,r.style.marginRight=o.margin.right,r.style.marginTop=o.margin.top,r.style.marginBottom=o.margin.bottom,this.applyBackground(r),this.applyBorder(r),this.applyRoundedCorners(r),this.customizeProps(r),0===i.length&&!this.isDesignMode()&&!this.renderIfEmpty)return null;let a=null;i.length>0?a=i:this.isDesignMode()&&(a=this.createPlaceholderElement(this.localizeString(u.D.emptyElementText,{elementType:this.getJsonTypeName()})));const s=(0,c.xg)();return s.style.flex="1",this.applyLayout(s),n.createElement("div",Object.assign({},r,{ref:this.isDesignMode()||this.isResizeTracked?e=>this.onRef(e):void 0}),n.createElement("div",Object.assign({},s),a),this.internalRenderActions(i.length>0||this.isDesignMode()))}internalValidateProperties(e){super.internalValidateProperties(e);const t=this.getValue(x.styleProperty);void 0!==t&&(this.hostConfig.containerStyles.getStyleByName(t)||e.addFailure(this,o.iV.InvalidPropertyValue,u.D.errors.invalidPropertyValue(t,"style")))}isResponsive(){if(void 0!==this.layouts&&this.layouts.length>0)for(const e of this.layouts)if(e.isResponsive())return!0;return super.isResponsive()}getEffectiveStyle(){return this.style||super.getEffectiveStyle()}getEffectiveVerticalContentAlignment(){return o.sx.Top}get resizeManager(){return this._resizeManager}getSize(){return this._containerSize}}x.styleProperty=new f(i.uq.v1_0,"style"),x.showBorderProperty=new i.gV(i.uq.v1_5,"showBorder",!1),x.roundedCornersProperty=new i.gV(i.uq.v1_5,"roundedCorners",!1),x.layoutsProperty=new A(i.uq.v1_5,"layouts"),x._defaultLayout=new g;class k extends x{get _bleed(){return this.getValue(k.bleedProperty)}set _bleed(e){this.setValue(k.bleedProperty,e)}get minPixelHeight(){return this.getValue(k.minHeightProperty)}set minPixelHeight(e){this.setValue(k.minHeightProperty,e)}internalInsertItemAt(e,t,r){if(!r){if(e.parent)throw new Error(u.D.errors.elementAlreadyParented());if(!e.isStandalone)throw new Error(u.D.errors.elementTypeNotStandalone(e.getJsonTypeName()))}e.setParent(this);const n=this.getRawItems();t>=n.length||0===n.length?n.push(e):n.splice(t>=0?t:0,0,e)}adjustSize(e){super.adjustSize(e),void 0!==this.minPixelHeight&&(e.minHeight=`${this.minPixelHeight}px`)}getHasExpandedAction(){return!1}getBleed(){return(!this.parent||this.parent.allowChildContainersToBleed)&&this._bleed}setBleed(e){this._bleed=e}get renderedActionCount(){return 0}addItem(e){this.internalInsertItemAt(e,this.getRawItems().length,!1)}insertItemAt(e,t){this.internalInsertItemAt(e,t,!1)}insertItemBefore(e,t){const r=this.getRawItems().indexOf(t);this.internalInsertItemAt(e,r,!1)}insertItemAfter(e,t){this.internalInsertItemAt(e,this.getRawItems().indexOf(t)+1,!1)}removeItem(e){const t=this.getRawItems(),r=t.indexOf(e);return r>=0&&(t.splice(r,1),e.setParent(void 0),this.updateLayout(),!0)}isBleeding(){return(this.getHasBackground()||this.getHasBorder()||this.hostConfig.alwaysAllowBleed)&&this.getBleed()}getAdditionalValidSchemaProperties(){return[...super.getAdditionalValidSchemaProperties(),this.getItemsCollectionPropertyName()]}}k.bleedProperty=new i.gV(i.uq.v1_2,"bleed",!1),k.minHeightProperty=new i.l5(i.uq.v1_2,"minHeight");class E extends i.jB{constructor(){super(...arguments),this.isProcessed=!1}get url(){return this.getValue(E.urlProperty)}set url(e){this.setValue(E.urlProperty,e)}get fillMode(){return this.getValue(E.fillModeProperty)}set fillMode(e){this.setValue(E.fillModeProperty,e)}get horizontalAlignment(){return this.getValue(E.horizontalAlignmentProperty)}set horizontalAlignment(e){this.setValue(E.horizontalAlignmentProperty,e)}get verticalAlignment(){return this.getValue(E.verticalAlignmentProperty)}set verticalAlignment(e){this.setValue(E.verticalAlignmentProperty,e)}get themedUrls(){return this.getValue(E.themedUrlsProperty)}set themedUrls(e){this.setValue(E.themedUrlsProperty,e)}propertyChanged(e,t){super.propertyChanged(e,t),e===E.urlProperty&&(this.isProcessed=!1)}getSchemaKey(){return"BackgroundImage"}internalParse(e,t){if("string"!=typeof e)return super.internalParse(e,t);this.resetDefaultValues(),this.url=e}apply(e,t){let r=this.url;if(this.themedUrls)for(const t of this.themedUrls)if(t.url&&e.theme===t.theme){r=t.url;break}if(this.url){switch(t.style.backgroundImage=`url('${e.preProcessPropertyValue(E.urlProperty,r)}')`,this.fillMode){case o.VZ.Repeat:t.style.backgroundRepeat="repeat";break;case o.VZ.RepeatHorizontally:t.style.backgroundRepeat="repeat-x";break;case o.VZ.RepeatVertically:t.style.backgroundRepeat="repeat-y";break;case o.VZ.Cover:default:t.style.backgroundRepeat="no-repeat",t.style.backgroundSize="cover"}switch(this.horizontalAlignment){case o.OD.Left:break;case o.OD.Center:t.style.backgroundPositionX="center";break;case o.OD.Right:t.style.backgroundPositionX="right"}switch(this.verticalAlignment){case o.sx.Top:break;case o.sx.Center:t.style.backgroundPositionY="center";break;case o.sx.Bottom:t.style.backgroundPositionY="bottom"}}}isValid(){if(this.url)return!0;if(this.themedUrls)for(const e of this.themedUrls)if(e.url)return!0;return!1}}E.urlProperty=new i.XB(i.uq.v1_0,"url").setContentType("imageUrl"),E.fillModeProperty=new i.fX(i.uq.v1_2,"fillMode",o.VZ,o.VZ.Cover),E.horizontalAlignmentProperty=new i.fX(i.uq.v1_2,"horizontalAlignment",o.OD,o.OD.Left),E.verticalAlignmentProperty=new i.fX(i.uq.v1_2,"verticalAlignment",o.sx,o.sx.Top),E.themedUrlsProperty=new i.m2(i.uq.v1_5,"themedUrls",(e=>new a.x$));class _ extends i.kR{getDescriptor(e){return{valueTypes:[{type:"string",contentType:"imageUrl"},{type:"object",validValues:[new i.E$(this.createInstance(),this.allowAdditionalProperties)]}],defaultValue:this.defaultValue}}constructor(e,t){super(e,t,(e=>new E)),this.targetVersion=e,this.name=t}}class I extends k{constructor(){super(...arguments),this._items=[],this._renderedItems=[]}get backgroundImage(){return this.getValue(I.backgroundImageProperty)}get verticalContentAlignment(){return this.getValue(I.verticalContentAlignmentProperty)}set verticalContentAlignment(e){this.setValue(I.verticalContentAlignmentProperty,e)}get rtl(){return this.getValue(I.rtlProperty)}set rtl(e){this.setValue(I.rtlProperty,e)}get maxPixelHeight(){return this.getValue(I.maxHeightProperty)}set maxPixelHeight(e){this.setValue(I.maxHeightProperty,e)}get renderIfEmpty(){return!(!this.minPixelHeight||!this.backgroundImage.isValid())}getRawItems(){return this._items}getItemsCollectionPropertyName(){return"items"}applyBackground(e){this.backgroundImage.isValid()&&(!this.backgroundImage.isProcessed&&this.processImageUrlAsync({unprocessedUrl:this.backgroundImage.url,setProcessedUrl:e=>{this.backgroundImage.url=e,this.backgroundImage.isProcessed=!0,this.updateLayout()}})||this.backgroundImage.apply(this,e)),super.applyBackground(e)}renderItem(e,t){return this.getEffectiveLayout().renderItem(this,e,t)}renderItems(){const e=[];return this._renderedItems=[],this._items.forEach(((t,r)=>{if(t.shouldRender()&&this.isElementAllowed(t)){const n=this.renderItem(t,r);n&&(e.push(n),this._renderedItems.push(t))}})),e}customizeProps(e){super.customizeProps(e),e.dir=this.isRtl()?"rtl":"ltr"}getHasBackground(e=!1){return!e&&this.backgroundImage.isValid()||super.getHasBackground(e)}internalParse(e,t){super.internalParse(e,t),this.clear(),this.setShouldFallback(!1);const r=e[this.getItemsCollectionPropertyName()];if(Array.isArray(r))for(const e of r){const r=t.parseElement(this,e,this.forbiddenChildElements(),!this.isDesignMode());r&&this.internalInsertItemAt(r,this._items.length,!0)}}internalToJSON(e,t){super.internalToJSON(e,t);const r=this.getItemsCollectionPropertyName();t.serializeArray(e,r,this._items)}adjustSize(e){if(super.adjustSize(e),void 0!==this.maxPixelHeight){const t=void 0!==this.minPixelHeight?Math.max(this.minPixelHeight,this.maxPixelHeight):this.maxPixelHeight;e.maxHeight=`${t}px`,e.overflowY="auto"}}get isSelectable(){return!0}getAdditionalPropertyDescriptors(e){const t=e.getElementDescriptors(this.forbiddenChildElements(),[],!0,e.allowExtensionElementInGeneratedSchema);return[...super.getAdditionalPropertyDescriptors(e),{name:this.getItemsCollectionPropertyName(),valueTypes:[{type:"object",validValues:t.sort(((e,t)=>e.name.localeCompare(t.name)))}],propertyType:"array",declaringClassName:this.constructor.name,schemaVersion:i.uq.v1_0,suggestedSchemaTypeName:s.VE,isHero:!0}]}getEffectivePadding(){return s.h$.removePaddingFromContainersWithBackgroundImage&&!this.getHasBackground(!0)?new s.pT:super.getEffectivePadding()}getParentContainer(){let e=this.parent;for(;e;){if(e instanceof I)return e;e=e.parent}}getEffectiveVerticalContentAlignment(){if(void 0!==this.verticalContentAlignment)return this.verticalContentAlignment;const e=this.getParentContainer();return e?e.getEffectiveVerticalContentAlignment():o.sx.Top}getItemCount(){return this._items.length}getItemAt(e){return this._items[e]}getFirstVisibleRenderedItem(){if(this._renderedItems&&this._renderedItems.length>0)for(const e of this._renderedItems)if(e.isVisible)return e}getLastVisibleRenderedItem(){if(this._renderedItems&&this._renderedItems.length>0)for(let e=this._renderedItems.length-1;e>=0;e--)if(this._renderedItems[e].isVisible)return this._renderedItems[e]}getJsonTypeName(){return"Container"}isFirstElement(e){for(const t of this._items)if(t.shouldRender())return t===e;return!1}isLastElement(e){for(let t=this._items.length-1;t>=0;t--)if(this._items[t].shouldRender())return this._items[t]===e;return!1}isRtl(){if(void 0!==this.rtl)return this.rtl;{const e=this.getParentContainer();return!!e&&e.isRtl()}}isBleedingAtTop(){const e=this.getFirstVisibleRenderedItem();return this.isBleeding()||!!e&&e.isBleedingAtTop()}isBleedingAtBottom(){const e=this.getLastVisibleRenderedItem();return this.isBleeding()||!!e&&e.isBleedingAtBottom()&&e.getEffectiveStyle()===this.getEffectiveStyle()}indexOf(e){return this._items.indexOf(e)}clear(){this._items=[],this._renderedItems=[]}getResourceInformation(){const e=super.getResourceInformation();return this.backgroundImage.isValid()&&e.push({url:this.backgroundImage.url,mimeType:"image"}),e}getActionById(e){let t=super.getActionById(e);if(!t&&(this.selectAction&&(t=this.selectAction.getActionById(e)),!t))for(const r of this._items)if(r.shouldRenderForTargetWidth()&&(t=r.getActionById(e)),t)break;return t}get allowSpaceBetweenElements(){return this.getEffectiveLayout().allowSpaceBetweenElements}get allowChildContainersToBleed(){return this.getEffectiveLayout().allowContainersToBleed}get padding(){return this.getPadding()}set padding(e){this.setPadding(e)}get selectAction(){return this._selectAction}set selectAction(e){this._selectAction=e}get bleed(){return this.getBleed()}set bleed(e){this.setBleed(e)}}I.backgroundImageProperty=new _(i.uq.v1_0,"backgroundImage"),I.verticalContentAlignmentProperty=new i.fX(i.uq.v1_1,"verticalContentAlignment",o.sx),I.rtlProperty=new i.gV(i.uq.v1_0,"rtl"),I.maxHeightProperty=new i.l5(i.uq.v1_5,"maxHeight")},2771:(e,t,r)=>{"use strict";r.d(t,{Ds:()=>j,Fc:()=>V,Hm:()=>B,Q3:()=>R,So:()=>z,Ym:()=>O,ee:()=>L,oS:()=>q,sq:()=>H,vF:()=>U});var n=r(5188),i=r(810),o=r(8374),a=r(5239),s=r(9666),l="on",c="attachEvent",u="addEventListener",d="detachEvent",p="removeEventListener",f="events",h="visibilitychange",g="pagehide",m="pageshow",v="unload",y="beforeunload",b=(0,i.Z)("aiEvtPageHide"),w=(0,i.Z)("aiEvtPageShow"),S=/\.[\.]+/g,C=/[\.]+$/,A=1,x=(0,i.T)("events"),k=/^([^.]*)(?:\.(.+)|)/;function E(e){return e&&e[n.W7]?e[n.W7](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,s.m5):e}function _(e,t){var r;if(t){var i=s.m5;(0,a.cy)(t)?(i=s.m5,(0,a.Iu)(t,(function(e){(e=E(e))&&("."!==e[0]&&(e="."+e),i+=e)}))):i=E(t),i&&("."!==i[0]&&(i="."+i),e=(e||s.m5)+i)}var o=k.exec(e||s.m5)||[];return(r={})[n.QM]=o[1],r.ns=(o[2]||s.m5).replace(S,".").replace(C,s.m5)[n.sY](".").sort().join("."),r}function I(e,t,r){void 0===r&&(r=!0);var n=x.get(e,f,{},r),i=n[t];return i||(i=n[t]=[]),i}function P(e,t,r,i){e&&t&&t[n.QM]&&(e[p]?e[p](t[n.QM],r,i):e[d]&&e[d](l+t[n.QM],r))}function T(e,t,r,i){for(var o=t[n.oI];o--;){var a=t[o];a&&(r.ns&&r.ns!==a.evtName.ns||i&&!i(a)||(P(e,a.evtName,a[n.Yo],a.capture),t[n.Ic](o,1)))}}function B(e,t){return t?_("xx",(0,a.cy)(t)?[e].concat(t):[e,t]).ns[n.sY]("."):e}function D(e,t,r,i,o){var a;void 0===o&&(o=!1);var s=!1;if(e)try{var d=_(t,i);if(s=function(e,t,r,i){var o=!1;return e&&t&&t[n.QM]&&r&&(e[u]?(e[u](t[n.QM],r,i),o=!0):e[c]&&(e[c](l+t[n.QM],r),o=!0)),o}(e,d,r,o),s&&x.accept(e)){var p=((a={guid:A++,evtName:d})[n.Yo]=r,a.capture=o,a);I(e,d.type)[n.y5](p)}}catch(e){}return s}function N(e,t,r,i,o){if(void 0===o&&(o=!1),e)try{var s=_(t,i),l=!1;!function(e,t,r){if(t[n.QM])T(e,I(e,t[n.QM]),t,r);else{var i=x.get(e,f,{});(0,a.z)(i,(function(n,i){T(e,i,t,r)})),0===(0,a.cG)(i)[n.oI]&&x.kill(e,f)}}(e,s,(function(e){return!((!s.ns||r)&&e[n.Yo]!==r||(l=!0,0))})),l||P(e,s,r,o)}catch(e){}}function R(e,t,r,n){return void 0===n&&(n=!1),D(e,t,r,null,n)}function O(e,t,r,n){void 0===n&&(n=!1),N(e,t,r,null,n)}function z(e,t,r){var n=!1,i=(0,o.zk)();i&&(n=D(i,e,t,r),n=D(i.body,e,t,r)||n);var a=(0,o.YE)();return a&&(n=D(a,e,t,r)||n),n}function M(e,t,r,i){var o=!1;return t&&e&&e[n.oI]>0&&(0,a.Iu)(e,(function(e){e&&(r&&-1!==(0,a.rD)(r,e)||(o=z(e,t,i)||o))})),o}function F(e,t,r){e&&(0,a.cy)(e)&&(0,a.Iu)(e,(function(e){e&&function(e,t,r){var n=(0,o.zk)();n&&(N(n,e,t,r),N(n.body,e,t,r));var i=(0,o.YE)();i&&N(i,e,t,r)}(e,t,r)}))}function L(e,t,r){return function(e,t,r,i){var o=!1;return t&&e&&(0,a.cy)(e)&&!(o=M(e,t,r,i))&&r&&r[n.oI]>0&&(o=M(e,t,null,i)),o}([y,v,g],e,t,r)}function j(e,t){F([y,v,g],e,t)}function V(e,t,r){var n=B(b,r),i=M([g],e,t,n);return t&&-1!==(0,a.rD)(t,h)||(i=M([h],(function(t){var r=(0,o.YE)();e&&r&&"hidden"===r.visibilityState&&e(t)}),t,n)||i),!i&&t&&(i=V(e,null,r)),i}function H(e,t){var r=B(b,t);F([g],e,r),F([h],null,r)}function q(e,t,r){var n=B(w,r),i=M([m],e,t,n);return!(i=M([h],(function(t){var r=(0,o.YE)();e&&r&&"visible"===r.visibilityState&&e(t)}),t,n)||i)&&t&&(i=q(e,null,r)),i}function U(e,t){var r=B(w,t);F([m],e,r),F([h],null,r)}},2782:(e,t,r)=>{"use strict";const n=r(9433);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))},2784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findICUPatternPart=function(e,t){void 0===t&&(t=0);var r=e.indexOf("{",t);if(-1!==r){var n=function(e,t){for(var r=0,n=t+1;n<e.length;n++)switch(e[n]){case"{":r++;break;case"}":if(0===r)return n;r--}return-1}(e,r);if(-1!==n)return[e.slice(t,r+1),e.slice(r+1,n),e[n]]}}},2827:(e,t,r)=>{"use strict";const n=r(3682);e.exports=(e,t,r)=>0===n(e,t,r)},2940:(e,t,r)=>{"use strict";r.d(t,{DO:()=>u,Kl:()=>a,R1:()=>d,Sr:()=>s,bL:()=>c,wY:()=>l});var n=r(8696),i=r(1616),o=r(191);function a(e){var t,r,n,o,a;return(null===(t=e.msteams)||void 0===t?void 0:t.type)===i.XY.invoke&&(null===(n=null===(r=null==e?void 0:e.msteams)||void 0===r?void 0:r.value)||void 0===n?void 0:n.type)===i.au.tabInfoAction&&!!(null===(a=null===(o=null==e?void 0:e.msteams)||void 0===o?void 0:o.value)||void 0===a?void 0:a.tabInfo)}function s(e){var t,r,n,o;return(null===(t=null==e?void 0:e.msteams)||void 0===t?void 0:t.type)===i.m0.taskFetch||(null===(r=null==e?void 0:e.msteams)||void 0===r?void 0:r.type)===i.XY.invoke&&(null===(o=null===(n=null==e?void 0:e.msteams)||void 0===n?void 0:n.value)||void 0===o?void 0:o.type)===i.m0.taskFetch}function l(e){var t,r,n;return(null===(t=null==e?void 0:e.msteams)||void 0===t?void 0:t.type)&&(null===(r=null==e?void 0:e.msteams)||void 0===r?void 0:r.type.toLowerCase())===i.XY.imback&&(null===(n=null==e?void 0:e.msteams)||void 0===n?void 0:n.value)}function c(e){var t,r,n;return(null===(t=e.msteams)||void 0===t?void 0:t.type)&&(null===(r=e.msteams)||void 0===r?void 0:r.type.toLowerCase())===i.XY.messageback||(null===(n=e.msteams)||void 0===n?void 0:n.text)||!u(e)}function u(e){var t,r;const n=null===(r=null===(t=null==(e=(0,o.U)(e))?void 0:e.msteams)||void 0===t?void 0:t.type)||void 0===r?void 0:r.toLowerCase();return n===i.XY.invoke||n===i.m0.taskFetch||n===i.m0.taskSubmit}function d(e){var t;return e.appId&&(null===(t=e.cardData)||void 0===t?void 0:t.contentType)===n.z.AdaptiveCard&&e.data}},2977:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(7181),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n.A?n.A.toStringTag:void 0;var l=Object.prototype.toString;var c=n.A?n.A.toStringTag:void 0;const u=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}(e):function(e){return l.call(e)}(e)}},3040:(e,t,r)=>{"use strict";r.d(t,{CDe:()=>o,PPx:()=>i});var n=r(8807);const i=(0,n.U)("Alert20Regular","20",["M10 2a5.92 5.92 0 0 1 5.98 5.36l.02.22V11.4l.92 2.22a1 1 0 0 1 .06.17l.01.08.01.13a1 1 0 0 1-.75.97l-.11.02L16 15h-3.5v.17a2.5 2.5 0 0 1-5 0V15H4a1 1 0 0 1-.26-.03l-.13-.04a1 1 0 0 1-.6-1.05l.02-.13.05-.13L4 11.4V7.57A5.9 5.9 0 0 1 10 2Zm1.5 13h-3v.15a1.5 1.5 0 0 0 1.36 1.34l.14.01c.78 0 1.42-.6 1.5-1.36V15ZM10 3a4.9 4.9 0 0 0-4.98 4.38L5 7.6V11.5l-.04.2L4 14h12l-.96-2.3-.04-.2V7.61A4.9 4.9 0 0 0 10 3Z"]),o=(0,n.U)("ArrowClockwise20Regular","20",["M4 10a6 6 0 0 1 10.47-4H12.5a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-1 0v1.6a7 7 0 1 0 1.98 4.36.5.5 0 1 0-1 .08L16 10a6 6 0 0 1-12 0Z"])},3080:(e,t,r)=>{"use strict";r.d(t,{l:()=>d});var n=r(9813),i=r(8207),o=r(5188),a=r(7471),s=r(2129),l=r(8374),c=r(5239),u=r(9666),d=function(e){function t(){var r,n,a=e.call(this)||this;function d(){r=0,n=[]}return a.identifier="TelemetryInitializerPlugin",a.priority=199,d(),(0,i.A)(t,a,(function(e,t){e.addTelemetryInitializer=function(e){var t={id:r++,fn:e};return n[o.y5](t),{remove:function(){(0,c.Iu)(n,(function(e,r){if(e.id===t.id)return n[o.Ic](r,1),-1}))}}},e[u.qT]=function(t,r){for(var i=!1,a=n[o.oI],u=0;u<a;++u){var d=n[u];if(d)try{if(!1===d.fn[o.y9](null,[t])){i=!0;break}}catch(e){(0,s.ZP)(r[o.e4](),1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+(0,c.lL)(e),{exception:(0,l.mm)(e)},!0)}}i||e[o.$5](t,r)},e[o.tn]=function(){d()}})),a}return(0,n.qU)(t,e),t.__ieDyn=1,t}(a.s)},3138:(e,t,r)=>{"use strict";function n(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,o=t;n<o.length;n++)i(e||{},o[n]);return e}function i(e,t,r){for(var n in void 0===r&&(r=[]),r.push(t),t)if(t.hasOwnProperty(n)&&"__proto__"!==n&&"constructor"!==n&&"prototype"!==n){var o=t[n];if("object"!=typeof o||null===o||Array.isArray(o))e[n]=o;else{var a=r.indexOf(o)>-1;e[n]=a?o:i(e[n]||{},o,r)}}return r.pop(),e}r.d(t,{z:()=>a});var o=r(8120);function a(e,t){var r,i,a;void 0===t&&(t={});var s=n({},e,t,{semanticColors:(0,o.B)(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(r=t.palette)||void 0===r?void 0:r.themePrimary)&&!(null===(i=t.palette)||void 0===i?void 0:i.accent)&&(s.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var l=0,c=Object.keys(s.fonts);l<c.length;l++){var u=c[l];s.fonts[u]=n(s.fonts[u],t.defaultFontStyle,null===(a=null==t?void 0:t.fonts)||void 0===a?void 0:a[u])}return s}},3171:(e,t,r)=>{"use strict";r.d(t,{_:()=>v,n:()=>y}),r(7810);const n=(...e)=>{const t={};for(const r of e){const e=Array.isArray(r)?r:Object.keys(r);for(const r of e)t[r]=1}return t},i=n(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),o=n(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),a=n(["itemID","itemProp","itemRef","itemScope","itemType"]),s=n(o,i,a),l=n(s,["form"]),c=n(s,["height","loop","muted","preload","src","width"]),u=n(c,["poster"]),d=n(s,["start"]),p=n(s,["value"]),f=n(s,["download","href","hrefLang","media","rel","target","type"]),h=n(s,["dateTime"]),g=n(s,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),m={label:l,audio:c,video:u,ol:d,li:p,a:f,button:g,input:n(g,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),textarea:n(g,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),select:n(g,["form","multiple","required"]),option:n(s,["selected","value"]),table:n(s,["cellPadding","cellSpacing"]),tr:s,th:n(s,["colSpan","rowSpan","scope"]),td:n(s,["colSpan","headers","rowSpan","scope"]),colGroup:n(s,["span"]),col:n(s,["span"]),fieldset:n(s,["disabled","form"]),form:n(s,["acceptCharset","action","encType","encType","method","noValidate","target"]),iframe:n(s,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),img:n(s,["alt","crossOrigin","height","src","srcSet","useMap","width"]),time:h,dialog:n(s,["open","onCancel","onClose"])};function v(e,t,r){const n=e&&m[e]||s;return n.as=1,function(e,t,r){const n=Array.isArray(t),i={},o=Object.keys(e);for(const a of o)!(!n&&t[a]||n&&t.indexOf(a)>=0||0===a.indexOf("data-")||0===a.indexOf("aria-"))||r&&-1!==(null==r?void 0:r.indexOf(a))||(i[a]=e[a]);return i}(t,n,r)}const y=({primarySlotTagName:e,props:t,excludedPropNames:r})=>({root:{style:t.style,className:t.className},primary:v(e,t,[...r||[],"style","className"])})},3210:(e,t,r)=>{"use strict";r.d(t,{D:()=>l,f:()=>s});var n=r(7012),i=r(778);function o(e,t){const r=Object.assign({},e);return t.forEach((e=>delete r[e])),r}const a=[{versionToDowngradeFrom:4,downgradeToPreviousVersion:e=>{var t,r,n,i,o;return{apiVersion:3,hostVersionsInfo:e.hostVersionsInfo,supports:Object.assign(Object.assign({},e.supports),{dialog:e.supports.dialog?{url:(null===(t=e.supports)||void 0===t?void 0:t.dialog.url)?(null===(n=null===(r=e.supports)||void 0===r?void 0:r.dialog.url)||void 0===n?void 0:n.bot)?{bot:{}}:{}:void 0,card:null===(i=e.supports.dialog)||void 0===i?void 0:i.card,update:null===(o=e.supports.dialog)||void 0===o?void 0:o.update}:void 0})}}},{versionToDowngradeFrom:3,downgradeToPreviousVersion:e=>({apiVersion:2,hostVersionsInfo:e.hostVersionsInfo,supports:o(e.supports,["clipboard","webStorage"])})},{versionToDowngradeFrom:2,downgradeToPreviousVersion:e=>{var t,r,n,i,o;return{apiVersion:1,supports:Object.assign(Object.assign({},e.supports),{dialog:e.supports.dialog?{bot:null===(n=null===(r=null===(t=e.supports)||void 0===t?void 0:t.dialog)||void 0===r?void 0:r.url)||void 0===n?void 0:n.bot,card:null===(i=e.supports.dialog)||void 0===i?void 0:i.card,update:null===(o=e.supports.dialog)||void 0===o?void 0:o.update}:void 0})}}}],s=(e,t,r=a)=>{if(e.apiVersion<=t)return e;let n=e;for(const e of r)if(n.apiVersion===e.versionToDowngradeFrom&&(n=e.downgradeToPreviousVersion(n)),n.apiVersion<=t)break;return n};function l(e,t,r,o,a){var s,l,c,u,d,p,f,h,g,m,v,y,b,w;return{apiVersion:4,hostVersionsInfo:o,canParentManageNAATrustedOrigins:null!==(c=null===(l=null===(s=e.nestedAppAuthService)||void 0===s?void 0:s.canParentManageNAATrustedOrigins)||void 0===l?void 0:l.call(s))&&void 0!==c&&c,isDeeplyNestedAuthSupported:null!==(d=null===(u=e.nestedAppAuthService)||void 0===u?void 0:u.isDeeplyNestedAuthSupported())&&void 0!==d&&d,isNAAChannelRecommended:null!=a&&a,supports:{app:{notifySuccessResponse:{}},appInstallDialog:e.appInstallDialogService?{}:void 0,appEntity:e.appEntityService?{}:void 0,barCode:e.barCodeService?{}:void 0,calendar:e.calendarService?{}:void 0,call:e.callService?{}:void 0,chat:e.chatService?{}:void 0,clipboard:navigator&&navigator.clipboard?{}:void 0,conversations:e.conversationsService?{}:void 0,copilot:e.copilotService?{customTelemetry:(0,n.wr)(r)&&e.copilotService.customTelemetryService?{}:void 0,eligibility:(0,n.EV)(r)&&e.copilotService.eligibilityService?{}:void 0,sidePanel:(0,n.wr)(r)&&e.copilotService.sidePanelService?{}:void 0,view:(0,n.wr)(r)&&e.copilotService.viewService?{}:void 0}:void 0,dialog:e.dialogService?{url:e.dialogService.urlService?{bot:e.dialogService.urlService.urlBotService?{}:void 0,parentCommunication:e.dialogService.urlService.parentCommunicationService?{}:void 0}:void 0,card:e.dialogService.cardService&&o&&o.adaptiveCardSchemaVersion&&!(0,i.Hk)(o.adaptiveCardSchemaVersion)?{bot:e.dialogService.cardService.cardBotService?{}:void 0}:void 0,update:e.dialogService.updateService?{}:void 0}:void 0,externalAppAuthentication:e.externalAppChannelService&&e.externalAppInfoService?{}:void 0,externalAppAuthenticationForCEA:e.externalAppChannelForCEAService&&e.externalAppInfoService?{}:void 0,externalAppCardActions:e.externalAppCardActionsService&&e.externalAppInfoService?{}:void 0,externalAppCardActionsForCEA:e.externalAppCardActionsForCEAService&&e.externalAppInfoService?{}:void 0,externalAppCardActionsForDA:e.externalAppCardActionsForDAService&&e.externalAppInfoService?{}:void 0,externalAppCommands:e.externalAppCommandsService&&e.externalAppInfoService?{}:void 0,files:e.filesService?{}:void 0,geoLocation:e.locationService?{map:e.locationService.mapService?{}:void 0}:void 0,hostEntity:{tab:(null===(p=e.hostEntityService)||void 0===p?void 0:p.tabService)?{}:void 0},interactive:e.interactiveService?{}:void 0,location:e.locationService&&e.locationService.mapService?{}:void 0,logs:e.logService?{}:void 0,mail:e.mailService?{handoff:e.mailService.handoffService?{}:void 0}:void 0,marketplace:e.marketplaceService?{}:void 0,media:e.mediaService?{}:void 0,meeting:e.meetingService?{appShareButton:e.meetingService.appShareButton?{}:void 0}:void 0,meetingRoom:e.meetingRoomService?{}:void 0,messageChannels:e.messageChannelsService?{telemetry:e.messageChannelsService.telemetry,dataLayer:e.messageChannelsService.dataLayer}:void 0,monetization:e.monetizationService?{}:void 0,nestedAppAuth:e.nestedAppAuthService?{}:void 0,notifications:e.notificationService?{}:void 0,otherAppStateChange:e.otherAppStateChangeService?{}:void 0,pages:{appButton:(null===(f=e.pageService)||void 0===f?void 0:f.appButtonService)?{}:void 0,backStack:(null===(h=e.pageService)||void 0===h?void 0:h.backStackService)?{}:void 0,config:(null===(g=e.pageService)||void 0===g?void 0:g.configService)?{}:void 0,fullTrust:(null===(m=e.pageService)||void 0===m?void 0:m.fullTrustService)?{}:void 0,tabs:(null===(v=e.pageService)||void 0===v?void 0:v.tabsService)?{}:void 0,currentApp:{}},people:e.peopleService?{}:void 0,permissions:e.devicePermissionService?{}:void 0,profile:e.profileService?{}:void 0,remoteCamera:e.remoteCameraService?{}:void 0,search:e.searchService?{}:void 0,sharing:e.sharingService?{history:e.sharingService.historyService?{}:void 0}:void 0,stageView:e.stageViewService?{self:e.stageViewService.selfService?{}:void 0}:void 0,store:e.storeService?{}:void 0,teams:e.teamsService?{fullTrust:(null===(y=e.teamsService)||void 0===y?void 0:y.fullTrustService)?{joinedTeams:(null===(w=null===(b=e.teamsService)||void 0===b?void 0:b.fullTrustService)||void 0===w?void 0:w.joinedTeamsService)?{}:void 0}:void 0}:void 0,teamsCore:t?{}:void 0,thirdPartyCloudStorage:e.thirdPartyCloudStorageService?{}:void 0,video:e.videoExtensibilityService&&(e.videoExtensibilityService.mediaStreamService||e.videoExtensibilityService.sharedFrameService)?{mediaStream:e.videoExtensibilityService.mediaStreamService?{}:void 0,sharedFrame:e.videoExtensibilityService.sharedFrameService?{}:void 0}:void 0,webStorage:e.webStorageService?{}:void 0,shortcutRelay:e.shortcutRelayService?{}:void 0}}}},3212:(e,t,r)=>{"use strict";const n=r(8950);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},3278:(e,t,r)=>{"use strict";r.d(t,{Ct:()=>n,Xz:()=>f,Z1:()=>i,e5:()=>p,wF:()=>c});var n,i,o=r(1635),a=r(240),s=r(8229);!function(e){e.Start="start",e.End="end"}(n||(n={})),function(e){e.MetaOsAppContainerInitiation="metaOsAppContainerInitiation_ms",e.GetPermissions="getPermissions_ms",e.IframeSetAndLoadOrigin="iframeSetAndLoadOrigin_ms",e.OverallAppLoadTimeBeforeInitialize="overallAppLoadTimeBeforeInitialize_ms",e.InitializeMessageDelay="initializeMessageDelay_ms",e.InitializeMessageProcessTime="initializeMessageProcessTime_ms",e.AppLoadedMessageDelay="appLoadedMessageDelay_ms",e.AppLoadedMessageProcessTime="appLoadedMessageProcessTime_ms",e.SuccessMessageDelay="successMessageDelay_ms",e.SuccessMessageProcessTime="successMessageProcessTime_ms",e.FailureMessageDelay="failureMessageDelay_ms",e.FailureMessageProcessTime="failureMessageProcessTime_ms",e.ExpectedFailureMessageDelay="expectedFailureMessageDelay_ms",e.ExpectedFailureMessageProcessTime="expectedFailureMessageProcessTime_ms"}(i||(i={}));const l={[i.MetaOsAppContainerInitiation]:0,[i.GetPermissions]:0,[i.IframeSetAndLoadOrigin]:0,[i.OverallAppLoadTimeBeforeInitialize]:0,[i.InitializeMessageDelay]:0,[i.InitializeMessageProcessTime]:0,[i.AppLoadedMessageDelay]:0,[i.AppLoadedMessageProcessTime]:0,[i.SuccessMessageDelay]:0,[i.SuccessMessageProcessTime]:0,[i.FailureMessageDelay]:0,[i.FailureMessageProcessTime]:0,[i.ExpectedFailureMessageDelay]:0,[i.ExpectedFailureMessageProcessTime]:0};function c(e,t){const r=function(e){return(0,s.qV)(e.type).value-e.value}(t);switch(e){case a.tz.initialize:l.initializeMessageDelay_ms=r;break;case a.tz.appInitialization.appLoaded:l.appLoadedMessageDelay_ms=r;break;case a.tz.appInitialization.success:l.successMessageDelay_ms=r;break;default:console.warn(e+" is not supported in this environment")}return r}const u={};let d=!1;function p(e,t){var r;if(!d&&(r=t,Object.values(i).includes(r))&&"object"==typeof window&&"object"==typeof window.performance&&"now"in window.performance){const r=performance.now();if(e!==n.Start||u.hasOwnProperty(t)){if(e===n.End){const e=u[t];if(void 0!==e){const n=parseFloat((r-e).toFixed(2));l[t]=Math.max(l[t],n)}delete u[t]}}else u[t]=r}}function f(){const e=Object.assign({},l);return function(){(0,o.__awaiter)(this,void 0,void 0,(function*(){d=!0;for(const e in l)l.hasOwnProperty(e)&&(l[e]=0);for(const e in u)u.hasOwnProperty(e)&&delete u[e];yield new Promise((e=>setTimeout(e,0))),d=!1}))}(),e}},3311:(e,t,r)=>{"use strict";r.d(t,{L:()=>d,l:()=>u});var n=r(1635),i=r(6227),o=r(8331),a=r(717),s=r(8378),l=r(1873),c=r(3811);function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return d(e,(0,a.Iy)())}function d(e,t){var r,a={subComponentStyles:{}},u=void 0;(0,l.db)(e[0])?(u=e[0],r=e[1]):r=e[0],null!=u||(u=null==t?void 0:t.shadowConfig);var d=(0,n.__assign)((0,n.__assign)({},t),{shadowConfig:u});if(!r&&e.length<=1)return{subComponentStyles:{}};var p=c.nr.getInstance(u);d.stylesheet=p;var f=i.T.apply(void 0,e),h=[];for(var g in f)if(f.hasOwnProperty(g)){if("subComponentStyles"===g){a.subComponentStyles=f.subComponentStyles||{};continue}if("__shadowConfig__"===g)continue;var m=f[g],v=(0,o.h)(p,m),y=v.classes,b=v.objects;(null==b?void 0:b.length)?(C=(0,s.GJ)(d||{},{displayName:g},b))&&(h.push(C),a[g]=y.concat([C.className]).join(" ")):a[g]=y.join(" ")}for(var w=0,S=h;w<S.length;w++){var C;(C=S[w])&&(0,s.Ae)(C,null==t?void 0:t.specificityMultiplier,u)}return a}},3312:(e,t,r)=>{"use strict";r.d(t,{Fy:()=>s,Y2:()=>i});var n=r(669),i="ms-Fabric--isFocusVisible",o="ms-Fabric--isFocusHidden";function a(e,t){e&&(e.classList.add(t?i:o),e.classList.remove(t?o:i))}function s(e,t,r){var i;r?r.forEach((function(t){return a(t.current,e)})):a(null===(i=(0,n.z)(t))||void 0===i?void 0:i.document.body,e)}},3353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopupControl=void 0;var n=r(4838),i=r(345),o=r(7791),a=function(){function e(){this._isOpen=!1}return e.prototype.keyDown=function(e){e.key===n.Constants.keys.escape&&this.closePopup(!0)},e.prototype.render=function(e){var t=this,r=document.createElement("div");return r.tabIndex=0,r.className=this.hostConfig.makeCssClassName("ac-ctrl","ac-ctrl-popup-container"),r.setAttribute("role","dialog"),r.setAttribute("aria-modal","true"),r.onkeydown=function(e){return t.keyDown(e),!e.cancelBubble},r.appendChild(this.renderContent()),r},e.prototype.focus=function(){this._popupElement&&this._popupElement.firstElementChild.focus()},e.prototype.popup=function(e){var t,r,n,o,a,s=this;if(!this._isOpen){this._overlayElement=document.createElement("div"),this._overlayElement.className=this.hostConfig.makeCssClassName("ac-ctrl-overlay"),this._overlayElement.tabIndex=0,this._overlayElement.style.width=document.documentElement.scrollWidth+"px",this._overlayElement.style.height=document.documentElement.scrollHeight+"px",this._overlayElement.onfocus=function(e){s.closePopup(!0)},document.body.appendChild(this._overlayElement);var l=e.getBoundingClientRect();this._popupElement=this.render(l),(t=this._popupElement.classList).remove.apply(t,this.hostConfig.makeCssClassNames("ac-ctrl-slide","ac-ctrl-slideLeftToRight","ac-ctrl-slideRightToLeft","ac-ctrl-slideTopToBottom","ac-ctrl-slideRightToLeft")),window.addEventListener("resize",(function(e){s.closePopup(!0)}));var c=e.getAttribute("aria-label");c&&this._popupElement.setAttribute("aria-label",c),this._overlayElement.appendChild(this._popupElement);var u,d=this._popupElement.getBoundingClientRect(),p=window.innerHeight-l.bottom,f=l.top,h=window.innerWidth-l.right,g=l.left,m=l.left+i.getScrollX();if(f<d.height&&p<d.height){var v=Math.min(d.height,window.innerHeight);if(this._popupElement.style.maxHeight=v+"px",u=v<d.height?i.getScrollY():i.getScrollY()+l.top+(l.height-v)/2,g<d.width&&h<d.width){var y=Math.min(d.width,window.innerWidth);this._popupElement.style.maxWidth=y+"px",m=y<d.width?i.getScrollX():i.getScrollX()+l.left+(l.width-y)/2}else h>=d.width?(m=i.getScrollX()+l.right,(r=this._popupElement.classList).add.apply(r,this.hostConfig.makeCssClassNames("ac-ctrl-slide","ac-ctrl-slideLeftToRight"))):(m=i.getScrollX()+l.left-d.width,(n=this._popupElement.classList).add.apply(n,this.hostConfig.makeCssClassNames("ac-ctrl-slide","ac-ctrl-slideRightToLeft")))}else p>=d.height?(u=i.getScrollY()+l.bottom,(o=this._popupElement.classList).add.apply(o,this.hostConfig.makeCssClassNames("ac-ctrl-slide","ac-ctrl-slideTopToBottom"))):(u=i.getScrollY()+l.top-d.height,(a=this._popupElement.classList).add.apply(a,this.hostConfig.makeCssClassNames("ac-ctrl-slide","ac-ctrl-slideBottomToTop"))),h<d.width&&(m=i.getScrollX()+l.right-d.width);this._popupElement.style.left=m+"px",this._popupElement.style.top=u+"px",this._popupElement.focus(),this._isOpen=!0}},e.prototype.closePopup=function(e){this._isOpen&&(document.body.removeChild(this._overlayElement),this._isOpen=!1,this.onClose&&this.onClose(this,e))},Object.defineProperty(e.prototype,"hostConfig",{get:function(){return this._hostConfig?this._hostConfig:o.defaultHostConfig},set:function(e){this._hostConfig=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),e}();t.PopupControl=a},3390:(e,t,r)=>{"use strict";r.d(t,{$C:()=>d,Fg:()=>E,Kz:()=>h,Ln:()=>k,OD:()=>m,RK:()=>T,V6:()=>P,VZ:()=>C,Y2:()=>u,bs:()=>b,dC:()=>x,g7:()=>f,hJ:()=>a,i:()=>y,iV:()=>_,jh:()=>B,kj:()=>A,l1:()=>w,lK:()=>l,lS:()=>I,or:()=>o,pO:()=>c,r7:()=>g,s9:()=>n,sx:()=>v,t4:()=>S,uL:()=>p,xO:()=>N,yG:()=>i,yp:()=>s});var n,i,o,a,s,l,c,u,d,p,f,h,g,m,v,y,b,w,S,C,A,x,k,E,_,I,P,T,B,D=r(5042);class N{}N.Default="default",N.Emphasis="emphasis",N.Accent="accent",N.Good="good",N.Attention="attention",N.Warning="warning",function(e){e.Default="default",e.Positive="positive",e.Destructive="destructive"}(n||(n={})),(0,D.FM)(n,"ActionStyle"),function(e){e.Primary="primary",e.Secondary="secondary"}(i||(i={})),(0,D.FM)(i,"ActionMode"),function(e){e[e.Auto=0]="Auto",e[e.Stretch=1]="Stretch",e[e.Small=2]="Small",e[e.Medium=3]="Medium",e[e.Large=4]="Large"}(o||(o={})),(0,D.FM)(o,"Size"),function(e){e[e.Small=0]="Small",e[e.Medium=1]="Medium",e[e.Large=2]="Large"}(a||(a={})),(0,D.FM)(a,"ImageSize"),function(e){e[e.Cover=0]="Cover",e[e.Contain=1]="Contain",e[e.Fill=2]="Fill"}(s||(s={})),(0,D.FM)(s,"ImageFitMode"),function(e){e[e.xxSmall=0]="xxSmall",e[e.xSmall=1]="xSmall",e[e.Small=2]="Small",e[e.Standard=3]="Standard",e[e.Medium=4]="Medium",e[e.Large=5]="Large",e[e.xLarge=6]="xLarge",e[e.xxLarge=7]="xxLarge"}(l||(l={})),(0,D.FM)(l,"IconSize"),function(e){e[e.Regular=0]="Regular",e[e.Filled=1]="Filled"}(c||(c={})),(0,D.FM)(c,"IconStyle"),function(e){e[e.Weight=0]="Weight",e[e.Pixel=1]="Pixel"}(u||(u={})),(0,D.FM)(u,"SizeUnit"),function(e){e[e.Small=0]="Small",e[e.Default=1]="Default",e[e.Medium=2]="Medium",e[e.Large=3]="Large",e[e.ExtraLarge=4]="ExtraLarge"}(d||(d={})),(0,D.FM)(d,"TextSize"),function(e){e[e.Lighter=0]="Lighter",e[e.Default=1]="Default",e[e.Bolder=2]="Bolder"}(p||(p={})),(0,D.FM)(p,"TextWeight"),function(e){e[e.Default=0]="Default",e[e.Monospace=1]="Monospace"}(f||(f={})),(0,D.FM)(f,"FontType"),function(e){e[e.None=0]="None",e[e.ExtraSmall=1]="ExtraSmall",e[e.Small=2]="Small",e[e.Default=3]="Default",e[e.Medium=4]="Medium",e[e.Large=5]="Large",e[e.ExtraLarge=6]="ExtraLarge",e[e.Padding=7]="Padding"}(h||(h={})),(0,D.FM)(h,"Spacing"),function(e){e[e.Default=0]="Default",e[e.Dark=1]="Dark",e[e.Light=2]="Light",e[e.Accent=3]="Accent",e[e.Good=4]="Good",e[e.Warning=5]="Warning",e[e.Attention=6]="Attention"}(g||(g={})),(0,D.FM)(g,"TextColor"),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(m||(m={})),(0,D.FM)(m,"HorizontalAlignment"),function(e){e[e.Top=0]="Top",e[e.Center=1]="Center",e[e.Bottom=2]="Bottom"}(v||(v={})),(0,D.FM)(v,"VerticalAlignment"),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right",e[e.Stretch=3]="Stretch"}(y||(y={})),(0,D.FM)(y,"ActionAlignment"),function(e){e[e.Default=0]="Default",e[e.Person=1]="Person",e[e.RoundedCorners=2]="RoundedCorners"}(b||(b={})),(0,D.FM)(b,"ImageStyle"),function(e){e[e.Inline=0]="Inline",e[e.Popup=1]="Popup"}(w||(w={})),(0,D.FM)(w,"ShowCardActionMode"),function(e){e[e.Horizontal=0]="Horizontal",e[e.Vertical=1]="Vertical"}(S||(S={})),(0,D.FM)(S,"Orientation"),function(e){e[e.Cover=0]="Cover",e[e.RepeatHorizontally=1]="RepeatHorizontally",e[e.RepeatVertically=2]="RepeatVertically",e[e.Repeat=3]="Repeat"}(C||(C={})),(0,D.FM)(C,"FillMode"),function(e){e[e.Normal=0]="Normal",e[e.Expanded=1]="Expanded",e[e.Subdued=2]="Subdued"}(A||(A={})),(0,D.FM)(A,"ActionButtonState"),function(e){e[e.LeftOfTitle=0]="LeftOfTitle",e[e.AboveTitle=1]="AboveTitle"}(x||(x={})),(0,D.FM)(x,"ActionIconPlacement"),function(e){e[e.Text=0]="Text",e[e.Tel=1]="Tel",e[e.Url=2]="Url",e[e.Email=3]="Email",e[e.Password=4]="Password"}(k||(k={})),(0,D.FM)(k,"InputTextStyle"),function(e){e[e.Parse=0]="Parse",e[e.ToJSON=1]="ToJSON",e[e.Validation=2]="Validation"}(E||(E={})),function(e){e[e.Hint=0]="Hint",e[e.ActionTypeNotAllowed=1]="ActionTypeNotAllowed",e[e.CollectionCantBeEmpty=2]="CollectionCantBeEmpty",e[e.Deprecated=3]="Deprecated",e[e.ElementTypeNotAllowed=4]="ElementTypeNotAllowed",e[e.InteractivityNotAllowed=5]="InteractivityNotAllowed",e[e.InvalidPropertyValue=6]="InvalidPropertyValue",e[e.MissingCardType=7]="MissingCardType",e[e.PropertyCantBeNull=8]="PropertyCantBeNull",e[e.PropertyShouldBeSet=9]="PropertyShouldBeSet",e[e.TooManyActions=10]="TooManyActions",e[e.UnknownActionType=11]="UnknownActionType",e[e.UnknownElementType=12]="UnknownElementType",e[e.UnsupportedCardVersion=13]="UnsupportedCardVersion",e[e.DuplicateId=14]="DuplicateId",e[e.UnsupportedProperty=15]="UnsupportedProperty",e[e.RequiredInputsShouldHaveLabel=16]="RequiredInputsShouldHaveLabel",e[e.RequiredInputsShouldHaveErrorMessage=17]="RequiredInputsShouldHaveErrorMessage",e[e.Other=18]="Other",e[e.UnknownProperty=19]="UnknownProperty"}(_||(_={})),function(e){e[e.UnknownType=0]="UnknownType",e[e.ForbiddenType=1]="ForbiddenType"}(I||(I={})),function(e){e[e.Light=0]="Light",e[e.Dark=1]="Dark"}(P||(P={})),(0,D.FM)(P,"ThemeName"),function(e){e[e.VeryNarrow=0]="VeryNarrow",e[e.Narrow=1]="Narrow",e[e.Standard=2]="Standard",e[e.Wide=3]="Wide"}(T||(T={})),function(e){e[e.AtLeast=0]="AtLeast",e[e.AtMost=1]="AtMost"}(B||(B={}))},3394:(e,t,r)=>{"use strict";
/** @license React v17.0.2
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */r(5946);var n=r(7810),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,o={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!l.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:a.current}}t.jsx=c,t.jsxs=c},3413:(e,t,r)=>{"use strict";const n=r(5923);e.exports=(e,t)=>e.sort(((e,r)=>n(e,r,t)))},3421:(e,t,r)=>{"use strict";r.d(t,{X:()=>s});var n=r(1067),i=r(1297),o=r(9620),a=r(4414);function s(e,t){const r=(0,n.X)(e,t,i.A);return function(){const e=(0,a.m)(),t=(0,o.J)();return r({dir:e,renderer:t})}}},3445:(e,t,r)=>{e.exports=r(628)()},3452:(e,t,r)=>{"use strict";r.d(t,{UU:()=>h,aq:()=>f,cL:()=>g});var n,i=r(90),o=r(5188),a=r(9428),s=r(8374),l=r(2771),c=r(5239),u=r(9666),d=r(7037),p=null;function f(){var e=g();return e[o.Re](0,8)+"-"+e[o.Re](8,12)+"-"+e[o.Re](12,16)+"-"+e[o.Re](16,20)+"-"+e[o.Re](20)}function h(){var e=(0,s.FJ)();return e&&e.now?e.now():(0,c.x3)()}function g(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],r=u.m5,n=0;n<4;n++)r+=t[15&(e=(0,d.VN)())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var i=t[8+(3&(0,d.VN)())|0];return r[o.$4](0,8)+r[o.$4](9,4)+"4"+r[o.$4](13,3)+i+r[o.$4](16,3)+r[o.$4](19,12)}var m={_canUseCookies:void 0,isTypeof:c.Ed,isUndefined:c.b0,isNullOrUndefined:c.hX,hasOwnProperty:c.mQ,isFunction:c.Tn,isObject:c.Gv,isDate:c.$P,isArray:c.cy,isError:c.bJ,isString:c.Kg,isNumber:c.Et,isBoolean:c.Lm,toISOString:c._u,arrForEach:c.Iu,arrIndexOf:c.rD,arrMap:c.W$,arrReduce:c.KT,strTrim:c.EH,objCreate:i.AQ,objKeys:c.cG,objDefineAccessors:c.r,addEventHandler:l.So,dateNow:c.x3,isIE:s.lT,disableCookies:function(){var e,t,r,i;(r=(0,a.d5)(e,t),i=m._canUseCookies,null===p&&(p=[],n=i,(0,c.r)(m,"_canUseCookies",(function(){return n}),(function(e){n=e,(0,c.Iu)(p,(function(t){t[o.kt](e)}))}))),-1===(0,c.rD)(p,r)&&p[o.y5](r),(0,c.Lm)(i)&&r[o.kt](i),(0,c.Lm)(n)&&r[o.kt](n),r)[o.kt](!1)},newGuid:f,perfNow:h,newId:d.Si,randomValue:d.Z1,random32:d.VN,mwcRandomSeed:d.yc,mwcRandom32:d.k5,generateW3CId:g};l.Q3,l.Q3,l.Ym,l.Ym},3473:(e,t,r)=>{"use strict";r.d(t,{X:()=>l});var n=r(587),i=r(2517),o=r(3278),a=r(7841);class s{constructor(){}handleEvent(e){const t=e.args[0],r=e.orchestratorCommandParams.telemetryWrapper;return r.markTelemetryForAppInitializationPhases("InitializedToAppLoadedInvoked",t,e.sdkEventMessage),e.orchestratorCommandParams.appSdkHost.setAppInitInfo({state:i.Jz.Loaded,appSdkVersion:null!=t?t:r.telemetryService.getAppSdkVersion()}),r.telemetryService.setAppSdkVersion(t),(0,o.e5)(o.Ct.End,o.Z1.AppLoadedMessageProcessTime),(0,n.X)().msg_notifyAppLoaded_processedSuccessfully(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId),a.f1}}function l(){return new s}},3508:(e,t,r)=>{"use strict";r.d(t,{Y:()=>c});var n=r(587),i=r(2517),o=r(9802),a=r(3278),s=r(6457);class l{constructor(){}handleEvent(e){var t;const r=e.args[0],l=e.orchestratorCommandParams.telemetryWrapper;return e.orchestratorCommandParams.appSdkHost.setAppInitInfo({state:i.Jz.Loaded,appSdkVersion:r}),(l.isLoadingScreenApp()||l.usingCachedApp)&&((0,o.eZ)().createAndSendSignalsToSubstrate&&(0,s.p)(e.orchestratorCommandParams.appSdkHost,e.orchestratorCommandParams.hubServices,l.telemetryService),l.telemetryService.setAppSdkVersion(r),l.updateAppInitializationScenarioFields(r,e.sdkEventMessage),(0,a.e5)(a.Ct.End,a.Z1.SuccessMessageProcessTime),l.stopAppInitializationScenario()),l.stopExtendedAppInitializationScenario(),null===(t=e.orchestratorCommandParams.timerWrapper.timer)||void 0===t||t.clearTimer(e.sdkEventMessage),(0,n.X)().msg_notifySuccess_processedSuccessfully(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId),{kind:"appResponse",data:[null]}}}function c(){return new l}},3510:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&1==e.nodeType?e.tagName.toUpperCase():""}},3521:(e,t,r)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=0,i=e;n<i.length;n++){var o=i[n];if(o)if("string"==typeof o)r.push(o);else if(o.hasOwnProperty("toString")&&"function"==typeof o.toString)r.push(o.toString());else for(var a in o)o[a]&&r.push(a)}return r.join(" ")}r.d(t,{A:()=>n})},3560:e=>{"use strict";e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},3588:(e,t,r)=>{"use strict";const n=r(3682);e.exports=(e,t,r)=>n(t,e,r)},3592:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toSupportedLocale=t.supportedLocales=t.isSupportedLocale=void 0;var n=r(9093);Object.defineProperty(t,"isSupportedLocale",{enumerable:!0,get:function(){return n.isSupportedLocale}}),Object.defineProperty(t,"supportedLocales",{enumerable:!0,get:function(){return n.supportedLocales}}),Object.defineProperty(t,"toSupportedLocale",{enumerable:!0,get:function(){return n.toSupportedLocale}})},3615:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},3625:(e,t,r)=>{"use strict";function n(e,t){var r;const n=e;var i;return Boolean((null==n||null===(r=n.ownerDocument)||void 0===r?void 0:r.defaultView)&&n instanceof n.ownerDocument.defaultView[null!==(i=null==t?void 0:t.constructorName)&&void 0!==i?i:"HTMLElement"])}r.d(t,{s:()=>n})},3656:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e)}},3682:(e,t,r)=>{"use strict";const n=r(2306);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},3695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1635),i=r(414),o=r(3510),a=r(8157);t.default=function(e,t){var r;if(!e||!t)return null;var s=(0,o.default)(e);if(s==t.toUpperCase())return e;for(var l=e.ownerDocument.createElement(t),c=0;c<e.attributes.length;c++){var u=e.attributes[c];l.setAttribute(u.name,u.value)}return(0,a.default)(l,e),"P"!=s&&"P"!=(0,o.default)(l)||(r=(0,n.__read)((0,i.default)(e,["margin-top","margin-bottom"]),2),l.style.marginTop=r[0],l.style.marginBottom=r[1]),e.parentNode&&e.parentNode.replaceChild(l,e),l}},3771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UUID=t.SizeAndUnit=t.PaddingDefinition=t.SpacingDefinition=t.StringWithSubstitutions=t.ContentTypes=t.GlobalSettings=void 0;var n=r(1050),i=function(){function e(){}return e.useAdvancedTextBlockTruncation=!0,e.useAdvancedCardBottomTruncation=!1,e.useMarkdownInRadioButtonAndCheckbox=!0,e.allowMarkForTextHighlighting=!1,e.alwaysBleedSeparators=!1,e.enableFullJsonRoundTrip=!1,e.displayInputValidationErrors=!0,e.allowPreProcessingPropertyValues=!1,e.setTabIndexAtCardRoot=!0,e.enableFallback=!0,e.useWebkitLineClamp=!0,e.allowMoreThanMaxActionsInOverflowMenu=!1,e.removePaddingFromContainersWithBackgroundImage=!1,e.resetInputsDirtyStateAfterActionExecution=!0,e.applets={logEnabled:!0,logLevel:n.LogLevel.Error,maximumRetryAttempts:3,defaultTimeBetweenRetryAttempts:3e3,authPromptWidth:400,authPromptHeight:600,refresh:{mode:n.RefreshMode.Manual,timeBetweenAutomaticRefreshes:3e3,maximumConsecutiveAutomaticRefreshes:3,allowManualRefreshesAfterAutomaticRefreshes:!0}},e}();t.GlobalSettings=i,t.ContentTypes={applicationJson:"application/json",applicationXWwwFormUrlencoded:"application/x-www-form-urlencoded"};var o=function(){function e(){this._isProcessed=!1}return e.prototype.getReferencedInputs=function(e,t){if(!t)throw new Error("The referencedInputs parameter cannot be null.");if(this._original)for(var r=0,n=e;r<n.length;r++){var i=n[r];null!=new RegExp("\\{{2}("+i.id+").value\\}{2}","gi").exec(this._original)&&i.id&&(t[i.id]=i)}},e.prototype.substituteInputValues=function(e,r){if(this._processed=this._original,this._original)for(var n=/\{{2}([a-z0-9_$@]+).value\}{2}/gi,i=void 0;null!==(i=n.exec(this._original))&&this._processed;)for(var o=0,a=Object.keys(e);o<a.length;o++){var s=a[o];if(s.toLowerCase()===i[1].toLowerCase()){var l=e[s],c="";l.value&&(c=l.value),r===t.ContentTypes.applicationJson?c=(c=JSON.stringify(c)).slice(1,-1):r===t.ContentTypes.applicationXWwwFormUrlencoded&&(c=encodeURIComponent(c)),this._processed=this._processed.replace(i[0],c);break}}this._isProcessed=!0},e.prototype.getOriginal=function(){return this._original},e.prototype.get=function(){return this._isProcessed?this._processed:this._original},e.prototype.set=function(e){this._original=e,this._isProcessed=!1},e}();t.StringWithSubstitutions=o;t.SpacingDefinition=function(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0),this.left=0,this.top=0,this.right=0,this.bottom=0,this.top=e,this.right=t,this.bottom=r,this.left=n};t.PaddingDefinition=function(e,t,r,i){void 0===e&&(e=n.Spacing.None),void 0===t&&(t=n.Spacing.None),void 0===r&&(r=n.Spacing.None),void 0===i&&(i=n.Spacing.None),this.top=n.Spacing.None,this.right=n.Spacing.None,this.bottom=n.Spacing.None,this.left=n.Spacing.None,this.top=e,this.right=t,this.bottom=r,this.left=i};var a=function(){function e(e,t){this.physicalSize=e,this.unit=t}return e.parse=function(t,r){void 0===r&&(r=!1);var i=new e(0,n.SizeUnit.Weight);if("number"==typeof t)return i.physicalSize=t,i;if("string"==typeof t){var o=/^([0-9]+)(px|\*)?$/g.exec(t),a=r?3:2;if(o&&o.length>=a)return i.physicalSize=parseInt(o[1]),3===o.length&&"px"===o[2]&&(i.unit=n.SizeUnit.Pixel),i}throw new Error("Invalid size: "+t)},e}();t.SizeAndUnit=a;
/**
 * Fast UUID generator, RFC4122 version 4 compliant.
 * @author Jeff Ward (jcward.com).
 * @license MIT license
 * @link http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/21963136#21963136
 **/
var s=function(){function e(){}return e.generate=function(){var t=4294967295*Math.random()|0,r=4294967295*Math.random()|0,n=4294967295*Math.random()|0,i=4294967295*Math.random()|0;return e.lut[255&t]+e.lut[t>>8&255]+e.lut[t>>16&255]+e.lut[t>>24&255]+"-"+e.lut[255&r]+e.lut[r>>8&255]+"-"+e.lut[r>>16&15|64]+e.lut[r>>24&255]+"-"+e.lut[63&n|128]+e.lut[n>>8&255]+"-"+e.lut[n>>16&255]+e.lut[n>>24&255]+e.lut[255&i]+e.lut[i>>8&255]+e.lut[i>>16&255]+e.lut[i>>24&255]},e.initialize=function(){for(var t=0;t<256;t++)e.lut[t]=(t<16?"0":"")+t.toString(16)},e.lut=[],e}();t.UUID=s,s.initialize()},3779:(e,t,r)=>{"use strict";r.d(t,{n:()=>i});const n={GlobalApp:"GlobalApp",UserApp:"UserApp",TenantApp:"TenantApp",Empty:""};function i(e,t){const r=function(e){return(null==e?void 0:e.startsWith("P_"))?n.GlobalApp:(null==e?void 0:e.startsWith("U_"))?n.UserApp:(null==e?void 0:e.startsWith("T_"))?n.TenantApp:n.Empty}(e);switch(r){case n.GlobalApp:return t?function(e){const t=e.match(/(P_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/);return t?t[1]:""}(t):null;case n.UserApp:return n.UserApp;case n.TenantApp:return n.TenantApp;default:return n.Empty}}},3798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuItem=void 0;var n=r(7791),i=r(4838),o=function(){function e(e,t){this._isEnabled=!0,this.key=e,this._value=t}return e.prototype.click=function(){this.isEnabled&&this.onClick&&this.onClick(this)},e.prototype.updateCssClasses=function(){if(this._element){var e=this._hostConfig?this._hostConfig:n.defaultHostConfig;this._element.className=e.makeCssClassName("ac-ctrl"),this._element.classList.add(e.makeCssClassName(this.isEnabled?"ac-ctrl-dropdown-item":"ac-ctrl-dropdown-item-disabled")),this.isEnabled||this._element.classList.add(e.makeCssClassName("ac-disabled"))}},e.prototype.toString=function(){return this.value},e.prototype.render=function(e){var t=this;return this._hostConfig=e,this._element||(this._element=document.createElement("span"),this._element.innerText=this.value,this._element.setAttribute("role","menuitem"),this.isEnabled||this._element.setAttribute("aria-disabled","true"),this._element.setAttribute("aria-current","false"),this._element.onmouseup=function(e){t.click()},this._element.onkeydown=function(e){e.key===i.Constants.keys.enter&&(e.cancelBubble=!0,t.click())},this.updateCssClasses()),this._element},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e,this._element&&(this._element.innerText=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEnabled",{get:function(){return this._isEnabled},set:function(e){this._isEnabled!==e&&(this._isEnabled=e,this.updateCssClasses())},enumerable:!1,configurable:!0}),e}();t.MenuItem=o},3811:(e,t,r)=>{"use strict";r.d(t,{nr:()=>c});var n,i=r(1635),o=r(1873),a="__stylesheet__",s="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),l={};try{l=window||{}}catch(e){}var c=function(){function e(e,t){var r,n,o,a,s,l;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=(0,i.__assign)({injectionMode:"undefined"==typeof document?0:1,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(r=null==t?void 0:t.classNameToArgs)&&void 0!==r?r:this._classNameToArgs,this._counter=null!==(n=null==t?void 0:t.counter)&&void 0!==n?n:this._counter,this._keyToClassName=null!==(a=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==a?a:this._keyToClassName,this._preservedRules=null!==(s=null==t?void 0:t.preservedRules)&&void 0!==s?s:this._preservedRules,this._rules=null!==(l=null==t?void 0:t.rules)&&void 0!==l?l:this._rules}return e.getInstance=function(t){if(n=l[a],l[o.Se])return l[o.Se].getInstance(t);if(!n||n._lastStyleElement&&n._lastStyleElement.ownerDocument!==document){var r=(null==l?void 0:l.FabricConfig)||{},i=new e(r.mergeStyles,r.serializedStylesheet);n=i,l[a]=i}return n},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=(0,i.__assign)((0,i.__assign)({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,r=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(r,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,r,n){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:r,rules:n}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,r){void 0===r&&(r=o.P6);var n=this._config.injectionMode,i=0!==n?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),i)switch(n){case 1:this._insertRuleIntoSheet(i.sheet,e);break;case 2:i.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:r,sheet:i?i.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,r=t.head,n=t.createElement("style"),i=null;n.setAttribute("data-merge-styles","true");var o=this._config.cspSettings;if(o&&o.nonce&&n.setAttribute("nonce",o.nonce),this._lastStyleElement)i=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();i=a?a.nextElementSibling:r.childNodes[0]}return r.insertBefore(n,r.contains(i)?i:null),this._lastStyleElement=n,n},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),s||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}()},3842:(e,t,r)=>{"use strict";r.d(t,{M:()=>a});var n=r(3421),i=r(1419);const o=(0,n.X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),a=e=>{const t=o();return e.root.className=(0,i.z)("fui-Text",t.root,!1===e.wrap&&t.nowrap,e.truncate&&t.truncate,e.block&&t.block,e.italic&&t.italic,e.underline&&t.underline,e.strikethrough&&t.strikethrough,e.underline&&e.strikethrough&&t.strikethroughUnderline,100===e.size&&t.base100,200===e.size&&t.base200,400===e.size&&t.base400,500===e.size&&t.base500,600===e.size&&t.base600,700===e.size&&t.hero700,800===e.size&&t.hero800,900===e.size&&t.hero900,1e3===e.size&&t.hero1000,"monospace"===e.font&&t.monospace,"numeric"===e.font&&t.numeric,"medium"===e.weight&&t.weightMedium,"semibold"===e.weight&&t.weightSemibold,"bold"===e.weight&&t.weightBold,"center"===e.align&&t.alignCenter,"end"===e.align&&t.alignEnd,"justify"===e.align&&t.alignJustify,e.root.className),e}},3869:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=/^(?:0|[1-9]\d*)$/;const i=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},3870:(e,t,r)=>{"use strict";const n=r(3682);e.exports=(e,t,r)=>n(e,t,r)<=0},3874:(e,t,r)=>{"use strict";r.d(t,{E:()=>o}),r(7810);var n=r(7947),i=r(1410);const o=(e,t)=>{const{wrap:r,truncate:o,block:a,italic:s,underline:l,strikethrough:c,size:u,font:d,weight:p,align:f}=e;return{align:null!=f?f:"start",block:null!=a&&a,font:null!=d?d:"base",italic:null!=s&&s,size:null!=u?u:300,strikethrough:null!=c&&c,truncate:null!=o&&o,underline:null!=l&&l,weight:null!=p?p:"regular",wrap:null==r||r,components:{root:"span"},root:n.Gk((0,i.g)("span",{ref:t,...e}),{elementType:"span"})}}},3899:(e,t,r)=>{"use strict";const n=r(8950);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},3907:(e,t,r)=>{"use strict";r.d(t,{X:()=>l});var n=r(1635),i=r(9950),o={settings:{},scopedSettings:{},inCustomizerContext:!1},a=i.h.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),s=[],l=function(){function e(){}return e.reset=function(){a.settings={},a.scopedSettings={}},e.applySettings=function(t){a.settings=(0,n.__assign)((0,n.__assign)({},a.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,r){a.scopedSettings[t]=(0,n.__assign)((0,n.__assign)({},a.scopedSettings[t]),r),e._raiseChange()},e.getSettings=function(e,t,r){void 0===r&&(r=o);for(var n={},i=t&&r.scopedSettings[t]||{},s=t&&a.scopedSettings[t]||{},l=0,c=e;l<c.length;l++){var u=c[l];n[u]=i[u]||r.settings[u]||s[u]||a.settings[u]}return n},e.applyBatchedUpdates=function(t,r){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,r||e._raiseChange()},e.observe=function(e){s.push(e)},e.unobserve=function(e){s=s.filter((function(t){return t!==e}))},e._raiseChange=function(){e._suppressUpdates||s.forEach((function(e){return e()}))},e}()},3920:(e,t,r)=>{"use strict";r.d(t,{AX:()=>h,EJ:()=>l,FS:()=>f,Ut:()=>m,aN:()=>c,ed:()=>s,ez:()=>u,fj:()=>d,k1:()=>a,qw:()=>g,wn:()=>p});const n="undefined"==typeof window?r.g:window,i="@griffel/";function o(e,t){return n[Symbol.for(i+e)]||(n[Symbol.for(i+e)]=t),n[Symbol.for(i+e)]}const a=o("DEFINITION_LOOKUP_TABLE",{}),s="data-make-styles-bucket",l="data-priority",c="f",u=7,d="___",p=d.length+u,f=0,h=1,g={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},m="DO_NOT_USE_DIRECTLY: @griffel/reset-value"},3936:(e,t,r)=>{"use strict";r.d(t,{l:()=>d});var n,i=r(1635);!function(e){e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.Ambiguous=300]="Ambiguous",e[e.MultipleChoices=300]="MultipleChoices",e[e.Moved=301]="Moved",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.Redirect=302]="Redirect",e[e.RedirectMethod=303]="RedirectMethod",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.RedirectKeepVerb=307]="RedirectKeepVerb",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.RequestEntityTooLarge=413]="RequestEntityTooLarge",e[e.RequestUriTooLong=414]="RequestUriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RequestedRangeNotSatisfiable=416]="RequestedRangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.Unprocessable=422]="Unprocessable",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.FetchTimeoutStatusCode=707]="FetchTimeoutStatusCode",e[e.OfflineFetchFailureStatusCode=709]="OfflineFetchFailureStatusCode",e[e.FetchFailureStatusCode=710]="FetchFailureStatusCode"}(n||(n={}));var o=r(1951),a=r(2435),s=r(1503),l=r(8264),c=r(8088),u=r(1616);class d{constructor(e,t,r,n,i,o,a){this.tokenService=e,this.hostContext=t,this.telemetryService=i,this.sourceName=o,this.botMessagePromptCallback=a,this.endpointUrl="https://substrate.office.com/search/api/v1/",this.tokenScope="https://substrate.office.com/search",r&&(this.endpointUrl=r),n&&(this.tokenScope=n)}botInvoke(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){var t,r;const i=new c.k(this.telemetryService,a.yx.BotInvoke,a.xe.BotInvokeRequest),o={};if(!(null===(t=this.hostContext)||void 0===t?void 0:t.locale))throw i.logMetricEndWithError({message:a.FG.HostLocaleIsUndefined,diagnosticsData:`RequestName: ${e.requestBody.name}`}),new Error("host locale is undefined");const l=this.processRequest(e),u=`${this.endpointUrl}botinvoke?culture=${this.hostContext.locale}`,d=yield this.getInvokeRequestHeaders(null===(r=e.requestBody.conversation)||void 0===r?void 0:r.id),p=yield((e,t,r=9e4)=>new Promise(((i,o)=>{let a;"AbortController"in window&&(a=new AbortController,t.signal=a.signal);const s=window.setTimeout((()=>{a?a.abort():o(new Error("Unidentified error in fetchWithTimeout.ts"))}),r);fetch(e,t).then((e=>(null==e?void 0:e.status)&&-1!==[n.Ok,n.Created].indexOf(e.status)?i(e):o(e))).catch((e=>{o(e)})).finally((()=>{window.clearTimeout(s)}))})))(u,{method:"POST",headers:d,body:JSON.stringify(l)});if(!p.ok)throw i.logMetricEndWithError({props:o,diagnosticsData:`RequestName: ${e.requestBody.name}`}),p;const f=yield p.json();return o[a.vP.HttpStatusCode]=f.statusCode,f.error?(i.logMetricEndWithError({props:o,diagnosticsData:`RequestName: ${e.requestBody.name}`}),{type:s.t.Error,value:{errorCode:f.error.httpCode,errorMessage:f.error.message}}):(i.logMetricEnd({props:o,diagnosticsData:`RequestName: ${e.requestBody.name}`}),{type:s.t.Result,value:f.response})}))}botMessage(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(this.botMessagePromptCallback){if("imBack"===e.type&&e.prompt)return this.botMessagePromptCallback({type:e.type,prompt:e.prompt,appId:e.appId,appType:e.appType}),Promise.resolve({status:l.yl.Success});if("messageBack"===e.type&&e.payload)return this.botMessagePromptCallback({type:e.type,prompt:e.prompt,text:e.text,payload:e.payload,appId:e.appId,appType:e.appType}),Promise.resolve({status:l.yl.Success})}return Promise.reject("Either botMessage prompt or callback is missing")}))}getInvokeRequestHeaders(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=new c.k(this.telemetryService,a.yx.BotInvoke,a.xe.BotInvokeFetchToken),r=new Headers;r.set("Content-Type","application/json");try{const n=yield this.tokenService.getToken({resource:this.tokenScope});n&&(null==n?void 0:n.authToken)&&r.set("Authorization",`Bearer ${n.authToken}`),e&&r.set("X-Ms-Conversation-Id",e),t.logMetricEnd()}catch(e){t.logMetricEndWithError({diagnosticsData:`Error: ${null==e?void 0:e.message}`})}return r}))}processRequest(e){var t,r,n,i,a,s,l;const c={request:{metaOsAppId:e.appId,msaAppId:e.botId,name:e.requestBody.name,value:null!==(t=e.requestBody.value.serializedValue)&&void 0!==t?t:e.requestBody.value,extension:{generateCardSignature:null!==(n=null===(r=e.requestBody.extension)||void 0===r?void 0:r.generateCardSignature)&&void 0!==n&&n,generateFallbackHtml:null!==(a=null===(i=e.requestBody.extension)||void 0===i?void 0:i.generateFallbackHtml)&&void 0!==a&&a}},logicalId:(0,o.DA)(),scenario:{name:this.getScenarioName()}};e.requestBody.appName&&(c.request.appName=e.requestBody.appName),e.requestBody.imdisplayname&&(c.request.imdisplayname=e.requestBody.imdisplayname),(null===(s=e.requestBody.conversation)||void 0===s?void 0:s.id)&&(c.request.threadId=e.requestBody.conversation.id);const u=null!==(l=e.requestBody.authCode)&&void 0!==l?l:e.requestBody.authToken;return u&&"object"==typeof c.request.value&&null!==c.request.value&&(c.request.value.state=u),c}getScenarioName(){var e;return"teamshub"===this.sourceName?u.Cu.TeamsHubCopilot3sInvoke:"officeweb"===this.sourceName||"officedesktop"===this.sourceName?u.Cu.OfficeWebCopilot3sInvoke:"owahub"===this.sourceName?u.Cu.OutlookWebCopilot3sInvoke:"bing"===this.sourceName||(null===(e=this.sourceName)||void 0===e?void 0:e.toLocaleLowerCase().startsWith("bcbv2"))?u.Cu.CibCopilot3sInvoke:"m365card"===this.sourceName?u.Cu.M365CardSDK:u.Cu.OfficeWebCopilot3sInvoke}}},3961:(e,t,r)=>{"use strict";const n=r(3682);e.exports=(e,t,r)=>0!==n(e,t,r)},3986:(e,t,r)=>{"use strict";function n(e,t,r){return a(e,1,t,r)}function i(e,t,r){return a(e,2,t,r)}function o(e,t,r){return a(e,0,t,r)}function a(e,t,r,n){return{name:e,dataType:t,value:r,classification:n||4}}r.d(t,{LK:()=>n,Ug:()=>i,m9:()=>o})},4036:(e,t,r)=>{"use strict";r.d(t,{i:()=>o});class n{constructor(){this.logSubscribers=new Set}subscribeToLogs(e){if(this.logSubscribers.has(e)){const e="This logger has already been subscribed; duplicate subscriptions are not allowed.";throw console.log(e),new Error(e)}this.logSubscribers.add(e)}unsubscribeFromLogs(e){return this.logSubscribers.delete(e)}unsubscribeAll(){return this.logSubscribers.clear()}log(e,t,r,n){this.logSubscribers.forEach((i=>{i.log(e,t,r,n)}))}}class i{constructor(){}static getInstance(){return i.instance||(i.instance=new n),i.instance}}function o(){return i.getInstance()}},4044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultStringProvider=s,t.setLocalizationErrorHandlerForDefaultStringProvider=function(e){a=(0,o.setLocalizationErrorHandler)(e,a)},t.addStringMapForDefaultStringProvider=function(e,t){a=(0,o.addStringMap)(e,t,a)},t.addStringMapLoaderForDefaultStringProvider=function(e){a=(0,o.addStringMapLoader)(e,a)},t.getCurrentLocaleForDefaultStringProvider=function(){return(0,o.getCurrentLocale)(s())},t.setCurrentLocaleForDefaultStringProvider=function(e){return n.__awaiter(this,void 0,void 0,(function(){return n.__generator(this,(function(t){switch(t.label){case 0:return[4,(0,o.setCurrentLocale)(e,a)];case 1:return[2,(a=t.sent()).currentLocale]}}))}))},t.clearStringMapLoadersForDefaultStringProvider=function(){return n.__awaiter(this,void 0,void 0,(function(){return n.__generator(this,(function(e){switch(e.label){case 0:return[4,(0,o.clearStringMapLoaders)(s())];case 1:return a=e.sent(),[2]}}))}))},t.lookupStringInDefaultStringProvider=function(e){return(0,o.lookUpString)(e,s())};var n=r(1635),i=r(8911),o=r(7184),a={currentLocale:void 0,strings:{},errorHandler:function(e){return console.error(e)},loaders:[],stringMapInitialized:!1,suppressEmptyStringMapErrors:(0,i.isTest)()};function s(){return a}},4067:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4083:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DialogModal:()=>HD});var n={};r.r(n),r.d(n,{attentionMarkers:()=>uI,contentInitial:()=>iI,disable:()=>dI,document:()=>nI,flow:()=>aI,flowInitial:()=>oI,insideSpan:()=>cI,string:()=>sI,text:()=>lI});var i={};r.r(i),r.d(i,{boolean:()=>tP,booleanish:()=>rP,commaOrSpaceSeparated:()=>sP,commaSeparated:()=>aP,number:()=>iP,overloadedBoolean:()=>nP,spaceSeparated:()=>oP});var o=r(7810),a=r.t(o,2);const s={};var l,c,u=(c={},(l="@1js/create-shared-react-context")in s||(s[l]=c),{get:()=>s[l],set:e=>s[l]=e});function d(e,t){var r=u.get();return r[t]||(r[t]=o.createContext(e))}var p=d({lookupString:function(e){return function(){return e}}},"LocalizationComponentsStringProvider");function f(){return o.useContext(p)}p.Provider;var h=r(2601),g=function(){return g=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},g.apply(this,arguments)},m=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};function v(e){var t=f(),r=Object.keys(e),n=r.map((function(t){return e[t]}));return(0,o.useMemo)((function(){return r.reduce((function(r,n){var i;return g(g({},r),((i={})[n]=function(){return function(e,t){return(0,h.l6)()?t():e.lookupString(t.key)()}(t,e[n])},i))}),{})}),m(m([t],r,!0),n,!0))}function y(e){var t,r;if(e.composeExtensions){const t=e.composeExtensions.find((e=>!!e.botId));if(t&&t.botId)return t.botId}if(e.inputExtensions){const t=e.inputExtensions.find((e=>!!e.botId));if(t&&t.botId)return t.botId}return null!==(r=null===(t=e.webApplicationInfo)||void 0===t?void 0:t.id)&&void 0!==r?r:""}var b=r(1503);function w(e,t,r,n){return i=>{var o;if(!i)return void t.close();const a={botId:y(r),appId:null!==(o=r.id)&&void 0!==o?o:"",requestBody:{name:"task/submit",value:{data:i}}};n&&(a.requestBody.conversation={id:n}),e.botInvoke(a).then((e=>function(e,t){switch(e.type){case b.t.Result:{const r=e.value;r.composeExtension?function(e,t){var r;switch(e.type){case"message":return S(null!==(r=e.text)&&void 0!==r?r:"",t);case"result":return void t.close({taskModuleClosedReason:"Done",resultType:"card",attachmentLayout:e.attachmentLayout,attachments:e.attachments});default:S("",t)}}(r.composeExtension,t):r.task?function(e,t){switch(e.type){case"message":return S(e.value,t);case"continue":{const r=e.value,n=null!=r.card?"card":"url",i=(r.height,r.height),o=(r.width,r.width);return t.update({type:n,card:"string"==typeof r.card?r.card:JSON.stringify(r.card),url:r.url,completionBotId:r.completionBotId,fallbackUrl:r.fallbackUrl,height:i,width:o})}default:S("",t)}}(r.task,t):S("",t);break}case b.t.Error:S("Something went wrong",t);break;default:S("",t)}}(e,t))).catch((e=>{t.close()}))}}function S(e,t){t.close({taskModuleClosedReason:"Done",resultType:"text",text:e})}var C=r(7454),A=r(1038),x=r(131),k=r(1635),E=r(1419),_=d([],"ComponentStylingPureFluentOverrides");function I(e,t){function r(){var r=t(),n=(0,o.useContext)(_).map((function(t){return t[e]})).filter((function(e){return!!e})),i=(0,k.__assign)({},r),a=function(e){if(Object.prototype.hasOwnProperty.call(r,e)){var t=r[e],o=n.map((function(t){return t[e]})).filter((function(e){return!!e})),a=E.z.apply(void 0,(0,k.__spreadArray)([t],(0,k.__read)(o),!1));i[e]=a}};for(var s in r)a(s);return i}return r.componentName=e,r.__version="fluent",r}var P=r(9272);const T=I("DialogHeader",(0,P.n)({appNameLarge:{fontWeight:"bold",fontSize:"18px"},appName:{fontWeight:"bold",fontSize:"14px"},title:{fontSize:"12px"},dialogIcon:{minWidth:"24px",minHeight:"24px",maxHeight:"32px",maxWidth:"32px",marginRight:"16px",alignSelf:"center"},dialogIconContainer:{display:"flex",flexDirection:"row","&:focus-visible, & > *:focus-visible":{outline:"none",border:"none"}},dialogTitleContainer:{display:"flex",flexDirection:"column"}}));function B(e){const t=T(),{appDefinition:r,title:n}=e,i=o.useMemo((()=>({src:r.largeImageUrl,imageFit:C.N_.contain})),[r.largeImageUrl]);return o.createElement("div",{className:t.dialogIconContainer},i.src&&o.createElement(A.x,{className:t.dialogIcon,imageProps:i}),o.createElement("div",{className:t.dialogTitleContainer},o.createElement(x.E,{className:n?t.appName:t.appNameLarge},r.name),n&&o.createElement(x.E,{className:t.title},n)))}var D=r(1951),N=r(824),R=r(2524),O=r(825),z=r(2435),M=r(8088),F=r(3779);function L(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(r.length?" "+r.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var j={};function V(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:j}var H=Object.assign,q=Object.getOwnPropertyDescriptor,U=Object.defineProperty,$=Object.prototype,W=[];Object.freeze(W);var G={};Object.freeze(G);var K="undefined"!=typeof Proxy,X=Object.toString();function Y(){K||L("Proxy not available")}function J(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var Z=function(){};function Q(e){return"function"==typeof e}function ee(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function te(e){return null!==e&&"object"==typeof e}function re(e){if(!te(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r.toString()===X}function ne(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function ie(e,t,r){U(e,t,{enumerable:!1,writable:!0,configurable:!0,value:r})}function oe(e,t,r){U(e,t,{enumerable:!1,writable:!1,configurable:!0,value:r})}function ae(e,t){var r="isMobX"+e;return t.prototype[r]=!0,function(e){return te(e)&&!0===e[r]}}function se(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function le(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var ce=void 0!==Object.getOwnPropertySymbols,ue="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:ce?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function de(e){return null===e?null:"object"==typeof e?""+e:e}function pe(e,t){return $.hasOwnProperty.call(e,t)}var fe=Object.getOwnPropertyDescriptors||function(e){var t={};return ue(e).forEach((function(r){t[r]=q(e,r)})),t};function he(e,t){return!!(e&t)}function ge(e,t,r){return r?e|=t:e&=~t,e}function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ve(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ae(n.key),n)}}function ye(e,t,r){return t&&ve(e.prototype,t),r&&ve(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function be(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return me(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?me(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},we.apply(null,arguments)}function Se(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ce(e,t)}function Ce(e,t){return Ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ce(e,t)}function Ae(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var xe=Symbol("mobx-stored-annotations");function ke(e){return Object.assign((function(t,r){if(_e(r))return e.decorate_20223_(t,r);Ee(t,r,e)}),e)}function Ee(e,t,r){pe(e,xe)||ie(e,xe,we({},e[xe])),function(e){return e.annotationType_===Oe}(r)||(e[xe][t]=r)}function _e(e){return"object"==typeof e&&"string"==typeof e.kind}var Ie=Symbol("mobx administration"),Pe=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=Bt.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return er(this)},t.reportChanged=function(){Zt(),tr(this),Qt()},t.toString=function(){return this.name_},ye(e,[{key:"isBeingObserved",get:function(){return he(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=ge(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return he(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=ge(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return he(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=ge(this.flags_,e.diffValueMask_,1===t)}}])}();Pe.isBeingObservedMask_=1,Pe.isPendingUnobservationMask_=2,Pe.diffValueMask_=4;var Te=ae("Atom",Pe);function Be(e,t,r){void 0===t&&(t=Z),void 0===r&&(r=Z);var n=new Pe(e);return t!==Z&&Cr(br,n,t,undefined),r!==Z&&Sr(n,r),n}var De={identity:function(e,t){return e===t},structural:function(e,t){return On(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return On(e,t,1)}};function Ne(e,t,r){return Br(e)?e:Array.isArray(e)?vt.array(e,{name:r}):re(e)?vt.object(e,void 0,{name:r}):se(e)?vt.map(e,{name:r}):le(e)?vt.set(e,{name:r}):"function"!=typeof e||vr(e)||Tr(e)?e:ne(e)?Ir(e):mr(r,e)}function Re(e){return e}var Oe="override";function ze(e,t){return{annotationType_:e,options_:t,make_:Me,extend_:Fe,decorate_20223_:Le}}function Me(e,t,r,n){var i;if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,r,!1)?0:1;if(n===e.target_)return null===this.extend_(e,t,r,!1)?0:2;if(vr(r.value))return 1;var o=je(e,this,t,r,!1);return U(n,t,o),2}function Fe(e,t,r,n){var i=je(e,this,t,r);return e.defineProperty_(t,i,n)}function Le(e,t){var r,n=t.kind,i=t.name,o=t.addInitializer,a=this,s=function(e){var t,r,n,o;return Et(null!=(t=null==(r=a.options_)?void 0:r.name)?t:i.toString(),e,null!=(n=null==(o=a.options_)?void 0:o.autoAction)&&n)};return"field"==n?function(e){var t,r=e;return vr(r)||(r=s(r)),null!=(t=a.options_)&&t.bound&&((r=r.bind(this)).isMobxAction=!0),r}:"method"==n?(vr(e)||(e=s(e)),null!=(r=this.options_)&&r.bound&&o((function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t})),e):void L("Cannot apply '"+a.annotationType_+"' to '"+String(i)+"' (kind: "+n+"):\n'"+a.annotationType_+"' can only be used on properties with a function value.")}function je(e,t,r,n,i){var o,a,s,l,c,u,d,p;void 0===i&&(i=Kt.safeDescriptors),p=n,t.annotationType_,p.value;var f,h=n.value;return null!=(o=t.options_)&&o.bound&&(h=h.bind(null!=(f=e.proxy_)?f:e.target_)),{value:Et(null!=(a=null==(s=t.options_)?void 0:s.name)?a:r.toString(),h,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(u=t.options_)&&u.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function Ve(e,t){return{annotationType_:e,options_:t,make_:He,extend_:qe,decorate_20223_:Ue}}function He(e,t,r,n){var i;if(n===e.target_)return null===this.extend_(e,t,r,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!pe(e.target_,t)||!Tr(e.target_[t]))&&null===this.extend_(e,t,r,!1))return 0;if(Tr(r.value))return 1;var o=$e(e,this,0,r,!1,!1);return U(n,t,o),2}function qe(e,t,r,n){var i,o=$e(e,this,0,r,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,n)}function Ue(e,t){var r,n=t.name,i=t.addInitializer;return Tr(e)||(e=Ir(e)),null!=(r=this.options_)&&r.bound&&i((function(){var e=this,t=e[n].bind(e);t.isMobXFlow=!0,e[n]=t})),e}function $e(e,t,r,n,i,o){var a;void 0===o&&(o=Kt.safeDescriptors),a=n,t.annotationType_,a.value;var s,l=n.value;return Tr(l)||(l=Ir(l)),i&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:l,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function We(e,t){return{annotationType_:e,options_:t,make_:Ge,extend_:Ke,decorate_20223_:Xe}}function Ge(e,t,r){return null===this.extend_(e,t,r,!1)?0:1}function Ke(e,t,r,n){return i=r,this.annotationType_,i.get,e.defineComputedProperty_(t,we({},this.options_,{get:r.get,set:r.set}),n);var i}function Xe(e,t){var r=this,n=t.name;return(0,t.addInitializer)((function(){var t=fn(this)[Ie],i=we({},r.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+n.toString()),t.values_.set(n,new Tt(i))})),function(){return this[Ie].getObservablePropValue_(n)}}function Ye(e,t){return{annotationType_:e,options_:t,make_:Je,extend_:Ze,decorate_20223_:Qe}}function Je(e,t,r){return null===this.extend_(e,t,r,!1)?0:1}function Ze(e,t,r,n){var i,o;return this.annotationType_,e.defineObservableProperty_(t,r.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:Ne,n)}function Qe(e,t){var r=this,n=t.kind,i=t.name,o=new WeakSet;function a(e,t){var n,a,s=fn(e)[Ie],l=new Pt(t,null!=(n=null==(a=r.options_)?void 0:a.enhancer)?n:Ne,"ObservableObject."+i.toString(),!1);s.values_.set(i,l),o.add(e)}if("accessor"==n)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[Ie].getObservablePropValue_(i)},set:function(e){return o.has(this)||a(this,e),this[Ie].setObservablePropValue_(i,e)},init:function(e){return o.has(this)||a(this,e),e}}}var et="true",tt=rt();function rt(e){return{annotationType_:et,options_:e,make_:nt,extend_:it,decorate_20223_:ot}}function nt(e,t,r,n){var i,o,a,s;if(r.get)return St.make_(e,t,r,n);if(r.set){var l=Et(t.toString(),r.set);return n===e.target_?null===e.defineProperty_(t,{configurable:!Kt.safeDescriptors||e.isPlainObject_,set:l})?0:2:(U(n,t,{configurable:!0,set:l}),2)}if(n!==e.target_&&"function"==typeof r.value)return ne(r.value)?(null!=(s=this.options_)&&s.autoBind?Ir.bound:Ir).make_(e,t,r,n):(null!=(a=this.options_)&&a.autoBind?mr.bound:mr).make_(e,t,r,n);var c,u=!1===(null==(i=this.options_)?void 0:i.deep)?vt.ref:vt;return"function"==typeof r.value&&null!=(o=this.options_)&&o.autoBind&&(r.value=r.value.bind(null!=(c=e.proxy_)?c:e.target_)),u.make_(e,t,r,n)}function it(e,t,r,n){var i,o,a;return r.get?St.extend_(e,t,r,n):r.set?e.defineProperty_(t,{configurable:!Kt.safeDescriptors||e.isPlainObject_,set:Et(t.toString(),r.set)},n):("function"==typeof r.value&&null!=(i=this.options_)&&i.autoBind&&(r.value=r.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(o=this.options_)?void 0:o.deep)?vt.ref:vt).extend_(e,t,r,n))}function ot(e,t){L("'"+this.annotationType_+"' cannot be used as a decorator")}var at={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function st(e){return e||at}Object.freeze(at);var lt=Ye("observable"),ct=Ye("observable.ref",{enhancer:Re}),ut=Ye("observable.shallow",{enhancer:function(e,t,r){return null==e||mn(e)||Zr(e)||nn(e)||ln(e)?e:Array.isArray(e)?vt.array(e,{name:r,deep:!1}):re(e)?vt.object(e,void 0,{name:r,deep:!1}):se(e)?vt.map(e,{name:r,deep:!1}):le(e)?vt.set(e,{name:r,deep:!1}):void 0}}),dt=Ye("observable.struct",{enhancer:function(e,t){return On(e,t)?t:e}}),pt=ke(lt);function ft(e){return!0===e.deep?Ne:!1===e.deep?Re:(t=e.defaultDecorator)&&null!=(r=null==(n=t.options_)?void 0:n.enhancer)?r:Ne;var t,r,n}function ht(e,t,r){return _e(t)?lt.decorate_20223_(e,t):ee(t)?void Ee(e,t,lt):Br(e)?e:re(e)?vt.object(e,t,r):Array.isArray(e)?vt.array(e,t):se(e)?vt.map(e,t):le(e)?vt.set(e,t):"object"==typeof e&&null!==e?e:vt.box(e,t)}H(ht,pt);var gt,mt,vt=H(ht,{box:function(e,t){var r=st(t);return new Pt(e,ft(r),r.name,!0,r.equals)},array:function(e,t){var r=st(t);return(!1===Kt.useProxies||!1===r.proxy?In:$r)(e,ft(r),r.name)},map:function(e,t){var r=st(t);return new rn(e,ft(r),r.name)},set:function(e,t){var r=st(t);return new sn(e,ft(r),r.name)},object:function(e,t,r){return Dn((function(){return function(e,t,r,n){var i=fe(t);return Dn((function(){var t=fn(e,n)[Ie];ue(i).forEach((function(e){t.extend_(e,i[e],!r||!(e in r)||r[e])}))})),e}(!1===Kt.useProxies||!1===(null==r?void 0:r.proxy)?fn({},r):function(e,t){var r,n;return Y(),null!=(n=(r=(e=fn(e,t))[Ie]).proxy_)?n:r.proxy_=new Proxy(e,Rr)}({},r),e,t)}))},ref:ke(ct),shallow:ke(ut),deep:pt,struct:ke(dt)}),yt="computed",bt=We(yt),wt=We("computed.struct",{equals:De.structural}),St=function(e,t){if(_e(t))return bt.decorate_20223_(e,t);if(ee(t))return Ee(e,t,bt);if(re(e))return ke(We(yt,e));var r=re(t)?t:{};return r.get=e,r.name||(r.name=e.name||""),new Tt(r)};Object.assign(St,bt),St.struct=ke(wt);var Ct=0,At=1,xt=null!=(gt=null==(mt=q((function(){}),"name"))?void 0:mt.configurable)&&gt,kt={value:"action",configurable:!0,writable:!1,enumerable:!1};function Et(e,t,r,n){function i(){return function(e,t,r,n,i){var o=function(e,t){var r=!1,n=0,i=Kt.trackingDerivation,o=!t||!i;Zt();var a=Kt.allowStateChanges;o&&(jt(),a=_t(!0));var s={runAsAction_:o,prevDerivation_:i,prevAllowStateChanges_:a,prevAllowStateReads_:Ht(!0),notifySpy_:r,startTime_:n,actionId_:At++,parentActionId_:Ct};return Ct=s.actionId_,s}(0,t);try{return r.apply(n,i)}catch(e){throw o.error_=e,e}finally{!function(e){Ct!==e.actionId_&&L(30),Ct=e.parentActionId_,void 0!==e.error_&&(Kt.suppressReactionErrors=!0),It(e.prevAllowStateChanges_),qt(e.prevAllowStateReads_),Qt(),e.runAsAction_&&Vt(e.prevDerivation_),Kt.suppressReactionErrors=!1}(o)}}(0,r,t,n||this,arguments)}return void 0===r&&(r=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},xt&&(kt.value=e,U(i,"name",kt)),i}function _t(e){var t=Kt.allowStateChanges;return Kt.allowStateChanges=e,t}function It(e){Kt.allowStateChanges=e}var Pt=function(e){function t(t,r,n,i,o){var a;return void 0===n&&(n="ObservableValue"),void 0===i&&(i=!0),void 0===o&&(o=De.default),(a=e.call(this,n)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=r,a.name_=n,a.equals=o,a.value_=r(t,void 0,n),a}Se(t,e);var r=t.prototype;return r.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},r.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==Kt.UNCHANGED&&this.setNewValue_(e)},r.prepareNewValue_=function(e){if(Or(this)){var t=Mr(this,{object:this,type:Hr,newValue:e});if(!t)return Kt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?Kt.UNCHANGED:e},r.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),Fr(this)&&jr(this,{type:Hr,object:this,newValue:e,oldValue:t})},r.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},r.intercept_=function(e){return zr(this,e)},r.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:Hr,newValue:this.value_,oldValue:void 0}),Lr(this,e)},r.raw=function(){return this.value_},r.toJSON=function(){return this.get()},r.toString=function(){return this.name_+"["+this.value_+"]"},r.valueOf=function(){return de(this.get())},r[Symbol.toPrimitive]=function(){return this.valueOf()},t}(Pe),Tt=function(){function e(e){this.dependenciesState_=Bt.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Bt.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Rt(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Dt.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||L(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Et("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?De.structural:De.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){e.lowestObserverState_===Bt.UP_TO_DATE_&&(e.lowestObserverState_=Bt.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Bt.UP_TO_DATE_&&(e.dependenciesState_=Bt.POSSIBLY_STALE_,e.onBecomeStale_())})))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing&&L(32,this.name_,this.derivation),0!==Kt.inBatch||0!==this.observers_.size||this.keepAlive_){if(er(this),zt(this)){var e=Kt.trackingContext;this.keepAlive_&&!e&&(Kt.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Bt.STALE_&&(e.lowestObserverState_=Bt.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Bt.POSSIBLY_STALE_?t.dependenciesState_=Bt.STALE_:t.dependenciesState_===Bt.UP_TO_DATE_&&(e.lowestObserverState_=Bt.UP_TO_DATE_)})))}(this),Kt.trackingContext=e}}else zt(this)&&(this.warnAboutUntrackedRead_(),Zt(),this.value_=this.computeValue_(!1),Qt());var t=this.value_;if(Ot(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&L(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else L(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Bt.NOT_TRACKING_,r=this.computeValue_(!0),n=t||Ot(e)||Ot(r)||!this.equals_(e,r);return n&&(this.value_=r),n},t.computeValue_=function(e){this.isComputing=!0;var t,r=_t(!1);if(e)t=Mt(this,this.derivation,this.scope_);else if(!0===Kt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new Rt(e)}return It(r),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(Ft(this),this.value_=void 0)},t.observe_=function(e,t){var r=this,n=!0,i=void 0;return function(e,t){var r,n,i,o;void 0===t&&(t=G);var a,s=null!=(r=null==(n=t)?void 0:n.name)?r:"Autorun";if(t.scheduler||t.delay){var l=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:yr}(t),c=!1;a=new rr(s,(function(){c||(c=!0,l((function(){c=!1,a.isDisposed||a.track(u)})))}),t.onError,t.requiresObservable)}else a=new rr(s,(function(){this.track(u)}),t.onError,t.requiresObservable);function u(){e(a)}return null!=(i=t)&&null!=(i=i.signal)&&i.aborted||a.schedule_(),a.getDisposer_(null==(o=t)?void 0:o.signal)}((function(){var o=r.get();if(!n||t){var a=jt();e({observableKind:"computed",debugObjectName:r.name_,type:Hr,object:r,newValue:o,oldValue:i}),Vt(a)}n=!1,i=o}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return de(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},ye(e,[{key:"isComputing",get:function(){return he(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=ge(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return he(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=ge(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return he(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=ge(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return he(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=ge(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return he(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=ge(this.flags_,e.diffValueMask_,1===t)}}])}();Tt.isComputingMask_=1,Tt.isRunningSetterMask_=2,Tt.isBeingObservedMask_=4,Tt.isPendingUnobservationMask_=8,Tt.diffValueMask_=16;var Bt,Dt,Nt=ae("ComputedValue",Tt);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Bt||(Bt={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Dt||(Dt={}));var Rt=function(e){this.cause=void 0,this.cause=e};function Ot(e){return e instanceof Rt}function zt(e){switch(e.dependenciesState_){case Bt.UP_TO_DATE_:return!1;case Bt.NOT_TRACKING_:case Bt.STALE_:return!0;case Bt.POSSIBLY_STALE_:for(var t=Ht(!0),r=jt(),n=e.observing_,i=n.length,o=0;o<i;o++){var a=n[o];if(Nt(a)){if(Kt.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return Vt(r),qt(t),!0}if(e.dependenciesState_===Bt.STALE_)return Vt(r),qt(t),!0}}return Ut(e),Vt(r),qt(t),!1}}function Mt(e,t,r){var n=Ht(!0);Ut(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++Kt.runId;var i,o=Kt.trackingDerivation;if(Kt.trackingDerivation=e,Kt.inBatch++,!0===Kt.disableErrorBoundaries)i=t.call(r);else try{i=t.call(r)}catch(e){i=new Rt(e)}return Kt.inBatch--,Kt.trackingDerivation=o,function(e){for(var t=e.observing_,r=e.observing_=e.newObserving_,n=Bt.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=r[a];0===s.diffValue&&(s.diffValue=1,i!==a&&(r[i]=s),i++),s.dependenciesState_>n&&(n=s.dependenciesState_)}for(r.length=i,e.newObserving_=null,o=t.length;o--;){var l=t[o];0===l.diffValue&&Yt(l,e),l.diffValue=0}for(;i--;){var c=r[i];1===c.diffValue&&(c.diffValue=0,Xt(c,e))}n!==Bt.UP_TO_DATE_&&(e.dependenciesState_=n,e.onBecomeStale_())}(e),qt(n),i}function Ft(e){var t=e.observing_;e.observing_=[];for(var r=t.length;r--;)Yt(t[r],e);e.dependenciesState_=Bt.NOT_TRACKING_}function Lt(e){var t=jt();try{return e()}finally{Vt(t)}}function jt(){var e=Kt.trackingDerivation;return Kt.trackingDerivation=null,e}function Vt(e){Kt.trackingDerivation=e}function Ht(e){var t=Kt.allowStateReads;return Kt.allowStateReads=e,t}function qt(e){Kt.allowStateReads=e}function Ut(e){if(e.dependenciesState_!==Bt.UP_TO_DATE_){e.dependenciesState_=Bt.UP_TO_DATE_;for(var t=e.observing_,r=t.length;r--;)t[r].lowestObserverState_=Bt.UP_TO_DATE_}}var $t=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Wt=!0,Gt=!1,Kt=function(){var e=V();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Wt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new $t).version&&(Wt=!1),Wt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new $t):(setTimeout((function(){Gt||L(35)}),1),new $t)}();function Xt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Yt(e,t){e.observers_.delete(t),0===e.observers_.size&&Jt(e)}function Jt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Kt.pendingUnobservations.push(e))}function Zt(){Kt.inBatch++}function Qt(){if(0==--Kt.inBatch){or();for(var e=Kt.pendingUnobservations,t=0;t<e.length;t++){var r=e[t];r.isPendingUnobservation=!1,0===r.observers_.size&&(r.isBeingObserved&&(r.isBeingObserved=!1,r.onBUO()),r instanceof Tt&&r.suspend_())}Kt.pendingUnobservations=[]}}function er(e){var t=Kt.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&Kt.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&Kt.inBatch>0&&Jt(e),!1)}function tr(e){e.lowestObserverState_!==Bt.STALE_&&(e.lowestObserverState_=Bt.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Bt.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Bt.STALE_})))}var rr=function(){function e(e,t,r,n){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Bt.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=Dt.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=r,this.requiresObservable_=n}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,Kt.pendingReactions.push(this),or())},t.runReaction_=function(){if(!this.isDisposed){Zt(),this.isScheduled=!1;var e=Kt.trackingContext;if(Kt.trackingContext=this,zt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}Kt.trackingContext=e,Qt()}},t.track=function(e){if(!this.isDisposed){Zt(),this.isRunning=!0;var t=Kt.trackingContext;Kt.trackingContext=this;var r=Mt(this,e,void 0);Kt.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&Ft(this),Ot(r)&&this.reportExceptionInDerivation_(r.cause),Qt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(Kt.disableErrorBoundaries)throw e;var r="[mobx] uncaught error in '"+this+"'";Kt.suppressReactionErrors||console.error(r,e),Kt.globalReactionErrorHandlers.forEach((function(r){return r(e,t)}))}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(Zt(),Ft(this),Qt()))},t.getDisposer_=function(e){var t=this,r=function r(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",r)};return null==e||null==e.addEventListener||e.addEventListener("abort",r),r[Ie]=this,r},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},ye(e,[{key:"isDisposed",get:function(){return he(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=ge(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return he(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=ge(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return he(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=ge(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return he(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=ge(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return he(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=ge(this.flags_,e.diffValueMask_,1===t)}}])}();rr.isDisposedMask_=1,rr.isScheduledMask_=2,rr.isTrackPendingMask_=4,rr.isRunningMask_=8,rr.diffValueMask_=16;var nr=100,ir=function(e){return e()};function or(){Kt.inBatch>0||Kt.isRunningReactions||ir(ar)}function ar(){Kt.isRunningReactions=!0;for(var e=Kt.pendingReactions,t=0;e.length>0;){++t===nr&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var r=e.splice(0),n=0,i=r.length;n<i;n++)r[n].runReaction_()}Kt.isRunningReactions=!1}var sr=ae("Reaction",rr),lr="action",cr="autoAction",ur=ze(lr),dr=ze("action.bound",{bound:!0}),pr=ze(cr,{autoAction:!0}),fr=ze("autoAction.bound",{autoAction:!0,bound:!0});function hr(e){return function(t,r){return Q(t)?Et(t.name||"<unnamed action>",t,e):Q(r)?Et(t,r,e):_e(r)?(e?pr:ur).decorate_20223_(t,r):ee(r)?Ee(t,r,e?pr:ur):ee(t)?ke(ze(e?cr:lr,{name:t,autoAction:e})):void 0}}var gr=hr(!1);Object.assign(gr,ur);var mr=hr(!0);function vr(e){return Q(e)&&!0===e.isMobxAction}Object.assign(mr,pr),gr.bound=ke(dr),mr.bound=ke(fr);var yr=function(e){return e()};var br="onBO",wr="onBUO";function Sr(e,t,r){return Cr(wr,e,t,r)}function Cr(e,t,r,n){var i="function"==typeof n?Pn(t,r):Pn(t),o=Q(n)?n:r,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var Ar="always";var xr=0;function kr(){this.message="FLOW_CANCELLED"}kr.prototype=Object.create(Error.prototype);var Er=Ve("flow"),_r=Ve("flow.bound",{bound:!0}),Ir=Object.assign((function(e,t){if(_e(t))return Er.decorate_20223_(e,t);if(ee(t))return Ee(e,t,Er);var r=e,n=r.name||"<unnamed flow>",i=function(){var e,t=arguments,i=++xr,o=gr(n+" - runid: "+i+" - init",r).apply(this,t),a=void 0,s=new Promise((function(t,r){var s=0;function l(e){var t;a=void 0;try{t=gr(n+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(e){return r(e)}u(t)}function c(e){var t;a=void 0;try{t=gr(n+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(e){return r(e)}u(t)}function u(e){if(!Q(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,c);e.then(u,r)}e=r,l(void 0)}));return s.cancel=gr(n+" - runid: "+i+" - cancel",(function(){try{a&&Pr(a);var t=o.return(void 0),r=Promise.resolve(t.value);r.then(Z,Z),Pr(r),e(new kr)}catch(t){e(t)}})),s};return i.isMobXFlow=!0,i}),Er);function Pr(e){Q(e.cancel)&&e.cancel()}function Tr(e){return!0===(null==e?void 0:e.isMobXFlow)}function Br(e){return function(e,t){return!!e&&(void 0!==t?!!mn(e)&&e[Ie].values_.has(t):mn(e)||!!e[Ie]||Te(e)||sr(e)||Nt(e))}(e)}function Dr(e,t){void 0===t&&(t=void 0),Zt();try{return e.apply(t)}finally{Qt()}}function Nr(e){return e[Ie]}Ir.bound=ke(_r);var Rr={has:function(e,t){return Nr(e).has_(t)},get:function(e,t){return Nr(e).get_(t)},set:function(e,t,r){var n;return!!ee(t)&&(null==(n=Nr(e).set_(t,r,!0))||n)},deleteProperty:function(e,t){var r;return!!ee(t)&&(null==(r=Nr(e).delete_(t,!0))||r)},defineProperty:function(e,t,r){var n;return null==(n=Nr(e).defineProperty_(t,r))||n},ownKeys:function(e){return Nr(e).ownKeys_()},preventExtensions:function(e){L(13)}};function Or(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function zr(e,t){var r=e.interceptors_||(e.interceptors_=[]);return r.push(t),J((function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}))}function Mr(e,t){var r=jt();try{for(var n=[].concat(e.interceptors_||[]),i=0,o=n.length;i<o&&((t=n[i](t))&&!t.type&&L(14),t);i++);return t}finally{Vt(r)}}function Fr(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function Lr(e,t){var r=e.changeListeners_||(e.changeListeners_=[]);return r.push(t),J((function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}))}function jr(e,t){var r=jt(),n=e.changeListeners_;if(n){for(var i=0,o=(n=n.slice()).length;i<o;i++)n[i](t);Vt(r)}}var Vr="splice",Hr="update",qr={get:function(e,t){var r=e[Ie];return t===Ie?r:"length"===t?r.getArrayLength_():"string"!=typeof t||isNaN(t)?pe(Wr,t)?Wr[t]:e[t]:r.get_(parseInt(t))},set:function(e,t,r){var n=e[Ie];return"length"===t&&n.setArrayLength_(r),"symbol"==typeof t||isNaN(t)?e[t]=r:n.set_(parseInt(t),r),!0},preventExtensions:function(){L(15)}},Ur=function(){function e(e,t,r,n){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=r,this.legacyMode_=n,this.atom_=new Pe(e),this.enhancer_=function(e,r){return t(e,r,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return zr(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Lr(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&L("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var r=new Array(e-t),n=0;n<e-t;n++)r[n]=void 0;this.spliceWithArray_(t,0,r)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&L(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&_n(e+t+1)},t.spliceWithArray_=function(e,t,r){var n=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===r&&(r=W),Or(this)){var o=Mr(this,{object:this.proxy_,type:Vr,index:e,removedCount:t,added:r});if(!o)return W;t=o.removedCount,r=o.added}if(r=0===r.length?r:r.map((function(e){return n.enhancer_(e,void 0)})),this.legacyMode_){var a=r.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,r);return 0===t&&0===r.length||this.notifyArraySplice_(e,r,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,r){var n;if(r.length<1e4)return(n=this.values_).splice.apply(n,[e,t].concat(r));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=r.length-t;for(var a=0;a<r.length;a++)this.values_[e+a]=r[a];for(var s=0;s<o.length;s++)this.values_[e+r.length+s]=o[s];return i},t.notifyArrayChildUpdate_=function(e,t,r){var n=!this.owned_&&!1,i=Fr(this),o=i||n?{observableKind:"array",object:this.proxy_,type:Hr,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:r}:null;this.atom_.reportChanged(),i&&jr(this,o)},t.notifyArraySplice_=function(e,t,r){var n=!this.owned_&&!1,i=Fr(this),o=i||n?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:Vr,index:e,removed:r,added:t,removedCount:r.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&jr(this,o)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var r=this.values_;if(this.legacyMode_&&e>r.length&&L(17,e,r.length),e<r.length){this.atom_;var n=r[e];if(Or(this)){var i=Mr(this,{type:Hr,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,n))!==n&&(r[e]=t,this.notifyArrayChildUpdate_(e,t,n))}else{for(var o=new Array(e+1-r.length),a=0;a<o.length-1;a++)o[a]=void 0;o[o.length-1]=t,this.spliceWithArray_(r.length,0,o)}},e}();function $r(e,t,r,n){return void 0===r&&(r="ObservableArray"),void 0===n&&(n=!1),Y(),Dn((function(){var i=new Ur(r,t,n,!1);oe(i.values_,Ie,i);var o=new Proxy(i.values_,qr);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o}))}var Wr={clear:function(){return this.splice(0)},replace:function(e){var t=this[Ie];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];var o=this[Ie];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,n)},spliceWithArray:function(e,t,r){return this[Ie].spliceWithArray_(e,t,r)},push:function(){for(var e=this[Ie],t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.spliceWithArray_(e.values_.length,0,r),e.values_.length},pop:function(){return this.splice(Math.max(this[Ie].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[Ie],t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.spliceWithArray_(0,0,r),e.values_.length},reverse:function(){return Kt.trackingDerivation&&L(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Kt.trackingDerivation&&L(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[Ie],r=t.dehanceValues_(t.values_).indexOf(e);return r>-1&&(this.splice(r,1),!0)}};function Gr(e,t){"function"==typeof Array.prototype[e]&&(Wr[e]=t(e))}function Kr(e){return function(){var t=this[Ie];t.atom_.reportObserved();var r=t.dehanceValues_(t.values_);return r[e].apply(r,arguments)}}function Xr(e){return function(t,r){var n=this,i=this[Ie];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e]((function(e,i){return t.call(r,e,i,n)}))}}function Yr(e){return function(){var t=this,r=this[Ie];r.atom_.reportObserved();var n=r.dehanceValues_(r.values_),i=arguments[0];return arguments[0]=function(e,r,n){return i(e,r,n,t)},n[e].apply(n,arguments)}}Gr("at",Kr),Gr("concat",Kr),Gr("flat",Kr),Gr("includes",Kr),Gr("indexOf",Kr),Gr("join",Kr),Gr("lastIndexOf",Kr),Gr("slice",Kr),Gr("toString",Kr),Gr("toLocaleString",Kr),Gr("toSorted",Kr),Gr("toSpliced",Kr),Gr("with",Kr),Gr("every",Xr),Gr("filter",Xr),Gr("find",Xr),Gr("findIndex",Xr),Gr("findLast",Xr),Gr("findLastIndex",Xr),Gr("flatMap",Xr),Gr("forEach",Xr),Gr("map",Xr),Gr("some",Xr),Gr("toReversed",Xr),Gr("reduce",Yr),Gr("reduceRight",Yr);var Jr=ae("ObservableArrayAdministration",Ur);function Zr(e){return te(e)&&Jr(e[Ie])}var Qr={},en="add",tn="delete",rn=function(){function e(e,t,r){var n=this;void 0===t&&(t=Ne),void 0===r&&(r="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Ie]=Qr,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=r,Q(Map)||L(18),Dn((function(){n.keysAtom_=Be("ObservableMap.keys()"),n.data_=new Map,n.hasMap_=new Map,e&&n.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!Kt.trackingDerivation)return this.has_(e);var r=this.hasMap_.get(e);if(!r){var n=r=new Pt(this.has_(e),Re,"ObservableMap.key?",!1);this.hasMap_.set(e,n),Sr(n,(function(){return t.hasMap_.delete(e)}))}return r.get()},t.set=function(e,t){var r=this.has_(e);if(Or(this)){var n=Mr(this,{type:r?Hr:en,object:this,newValue:t,name:e});if(!n)return this;t=n.newValue}return r?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,Or(this)&&!Mr(this,{type:tn,object:this,name:e}))return!1;if(this.has_(e)){var r=Fr(this),n=r?{observableKind:"map",debugObjectName:this.name_,type:tn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return Dr((function(){var r;t.keysAtom_.reportChanged(),null==(r=t.hasMap_.get(e))||r.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),r&&jr(this,n),!0}return!1},t.updateValue_=function(e,t){var r=this.data_.get(e);if((t=r.prepareNewValue_(t))!==Kt.UNCHANGED){var n=Fr(this),i=n?{observableKind:"map",debugObjectName:this.name_,type:Hr,object:this,oldValue:r.value_,name:e,newValue:t}:null;r.setNewValue_(t),n&&jr(this,i)}},t.addValue_=function(e,t){var r=this;this.keysAtom_,Dr((function(){var n,i=new Pt(t,r.enhancer_,"ObservableMap.key",!1);r.data_.set(e,i),t=i.value_,null==(n=r.hasMap_.get(e))||n.setNewValue_(!0),r.keysAtom_.reportChanged()}));var n=Fr(this),i=n?{observableKind:"map",debugObjectName:this.name_,type:en,object:this,name:e,newValue:t}:null;n&&jr(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return on({next:function(){var r=t.next(),n=r.done,i=r.value;return{done:n,value:n?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return on({next:function(){var r=t.next(),n=r.done,i=r.value;return{done:n,value:n?void 0:[i,e.get(i)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var r,n=be(this);!(r=n()).done;){var i=r.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return nn(e)&&(e=new Map(e)),Dr((function(){var r,n,i;re(e)?function(e){var t=Object.keys(e);if(!ce)return t;var r=Object.getOwnPropertySymbols(e);return r.length?[].concat(t,r.filter((function(t){return $.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(r){return t.set(r,e[r])})):Array.isArray(e)?e.forEach((function(e){var r=e[0],n=e[1];return t.set(r,n)})):se(e)?(r=e,n=Object.getPrototypeOf(r),i=Object.getPrototypeOf(n),null!==Object.getPrototypeOf(i)&&L(19,e),e.forEach((function(e,r){return t.set(r,e)}))):null!=e&&L(20,e)})),this},t.clear=function(){var e=this;Dr((function(){Lt((function(){for(var t,r=be(e.keys());!(t=r()).done;){var n=t.value;e.delete(n)}}))}))},t.replace=function(e){var t=this;return Dr((function(){for(var r,n=function(e){if(se(e)||nn(e))return e;if(Array.isArray(e))return new Map(e);if(re(e)){var t=new Map;for(var r in e)t.set(r,e[r]);return t}return L(21,e)}(e),i=new Map,o=!1,a=be(t.data_.keys());!(r=a()).done;){var s=r.value;if(!n.has(s))if(t.delete(s))o=!0;else{var l=t.data_.get(s);i.set(s,l)}}for(var c,u=be(n.entries());!(c=u()).done;){var d=c.value,p=d[0],f=d[1],h=t.data_.has(p);if(t.set(p,f),t.data_.has(p)){var g=t.data_.get(p);i.set(p,g),h||(o=!0)}}if(!o)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var m=t.data_.keys(),v=i.keys(),y=m.next(),b=v.next();!y.done;){if(y.value!==b.value){t.keysAtom_.reportChanged();break}y=m.next(),b=v.next()}t.data_=i})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return Lr(this,e)},t.intercept_=function(e){return zr(this,e)},ye(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),nn=ae("ObservableMap",rn);function on(e){return e[Symbol.toStringTag]="MapIterator",Ln(e)}var an={},sn=function(){function e(e,t,r){var n=this;void 0===t&&(t=Ne),void 0===r&&(r="ObservableSet"),this.name_=void 0,this[Ie]=an,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=r,Q(Set)||L(22),this.enhancer_=function(e,n){return t(e,n,r)},Dn((function(){n.atom_=Be(n.name_),e&&n.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;Dr((function(){Lt((function(){for(var t,r=be(e.data_.values());!(t=r()).done;){var n=t.value;e.delete(n)}}))}))},t.forEach=function(e,t){for(var r,n=be(this);!(r=n()).done;){var i=r.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,Or(this)&&!Mr(this,{type:en,object:this,newValue:e}))return this;if(!this.has(e)){Dr((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var r=Fr(this),n=r?{observableKind:"set",debugObjectName:this.name_,type:en,object:this,newValue:e}:null;r&&jr(this,n)}return this},t.delete=function(e){var t=this;if(Or(this)&&!Mr(this,{type:tn,object:this,oldValue:e}))return!1;if(this.has(e)){var r=Fr(this),n=r?{observableKind:"set",debugObjectName:this.name_,type:tn,object:this,oldValue:e}:null;return Dr((function(){t.atom_.reportChanged(),t.data_.delete(e)})),r&&jr(this,n),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=this.values();return cn({next:function(){var t=e.next(),r=t.value,n=t.done;return n?{value:void 0,done:n}:{value:[r,r],done:n}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=this.data_.values();return cn({next:function(){var r=t.next(),n=r.value,i=r.done;return i?{value:void 0,done:i}:{value:e.dehanceValue_(n),done:i}}})},t.intersection=function(e){return le(e)&&!ln(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return le(e)&&!ln(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return le(e)&&!ln(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return le(e)&&!ln(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return ln(e)&&(e=new Set(e)),Dr((function(){Array.isArray(e)||le(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&L("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return Lr(this,e)},t.intercept_=function(e){return zr(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},ye(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),ln=ae("ObservableSet",sn);function cn(e){return e[Symbol.toStringTag]="SetIterator",Ln(e)}var un=Object.create(null),dn="remove",pn=function(){function e(e,t,r,n){void 0===t&&(t=new Map),void 0===n&&(n=tt),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=r,this.defaultAnnotation_=n,this.keysAtom_=new Pe("ObservableObject.keys"),this.isPlainObject_=re(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var r=this.values_.get(e);if(r instanceof Tt)return r.set(t),!0;if(Or(this)){var n=Mr(this,{type:Hr,object:this.proxy_||this.target_,name:e,newValue:t});if(!n)return null;t=n.newValue}if((t=r.prepareNewValue_(t))!==Kt.UNCHANGED){var i=Fr(this),o=i?{type:Hr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:r.value_,name:e,newValue:t}:null;r.setNewValue_(t),i&&jr(this,o)}return!0},t.get_=function(e){return Kt.trackingDerivation&&!pe(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,r){return void 0===r&&(r=!1),pe(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):r?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,r)},t.has_=function(e){if(!Kt.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new Pt(e in this.target_,Re,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var r;if(null!=(r=this.target_[xe])&&r[e])return;L(1,t.annotationType_,this.name_+"."+e.toString())}for(var n=this.target_;n&&n!==$;){var i=q(n,e);if(i){var o=t.make_(this,e,i,n);if(0===o)return;if(1===o)break}n=Object.getPrototypeOf(n)}vn(this,0,e)}},t.extend_=function(e,t,r,n){if(void 0===n&&(n=!1),!0===r&&(r=this.defaultAnnotation_),!1===r)return this.defineProperty_(e,t,n);var i=r.extend_(this,e,t,n);return i&&vn(this,0,e),i},t.defineProperty_=function(e,t,r){void 0===r&&(r=!1),this.keysAtom_;try{Zt();var n=this.delete_(e);if(!n)return n;if(Or(this)){var i=Mr(this,{object:this.proxy_||this.target_,name:e,type:en,newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=we({},t,{value:o}))}if(r){if(!Reflect.defineProperty(this.target_,e,t))return!1}else U(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{Qt()}return!0},t.defineObservableProperty_=function(e,t,r,n){void 0===n&&(n=!1),this.keysAtom_;try{Zt();var i=this.delete_(e);if(!i)return i;if(Or(this)){var o=Mr(this,{object:this.proxy_||this.target_,name:e,type:en,newValue:t});if(!o)return null;t=o.newValue}var a=gn(e),s={configurable:!Kt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(n){if(!Reflect.defineProperty(this.target_,e,s))return!1}else U(this.target_,e,s);var l=new Pt(t,r,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{Qt()}return!0},t.defineComputedProperty_=function(e,t,r){void 0===r&&(r=!1),this.keysAtom_;try{Zt();var n=this.delete_(e);if(!n)return n;if(Or(this)&&!Mr(this,{object:this.proxy_||this.target_,name:e,type:en,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=gn(e),o={configurable:!Kt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(r){if(!Reflect.defineProperty(this.target_,e,o))return!1}else U(this.target_,e,o);this.values_.set(e,new Tt(t)),this.notifyPropertyAddition_(e,void 0)}finally{Qt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!pe(this.target_,e))return!0;if(Or(this)&&!Mr(this,{object:this.proxy_||this.target_,name:e,type:dn}))return null;try{var r;Zt();var n,i=Fr(this),o=this.values_.get(e),a=void 0;if(!o&&i&&(a=null==(n=q(this.target_,e))?void 0:n.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(o&&(this.values_.delete(e),o instanceof Pt&&(a=o.value_),tr(o)),this.keysAtom_.reportChanged(),null==(r=this.pendingKeys_)||null==(r=r.get(e))||r.set(e in this.target_),i){var s={type:dn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};i&&jr(this,s)}}finally{Qt()}return!0},t.observe_=function(e,t){return Lr(this,e)},t.intercept_=function(e){return zr(this,e)},t.notifyPropertyAddition_=function(e,t){var r,n=Fr(this);if(n){var i=n?{type:en,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;n&&jr(this,i)}null==(r=this.pendingKeys_)||null==(r=r.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),ue(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function fn(e,t){var r;if(pe(e,Ie))return e;var n=null!=(r=null==t?void 0:t.name)?r:"ObservableObject",i=new pn(e,new Map,String(n),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:rt(e):void 0}(t));return ie(e,Ie,i),e}var hn=ae("ObservableObjectAdministration",pn);function gn(e){return un[e]||(un[e]={get:function(){return this[Ie].getObservablePropValue_(e)},set:function(t){return this[Ie].setObservablePropValue_(e,t)}})}function mn(e){return!!te(e)&&hn(e[Ie])}function vn(e,t,r){var n;null==(n=e.target_[xe])||delete n[r]}var yn,bn,wn=kn(0),Sn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Cn=0,An=function(){};yn=An,bn=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(yn.prototype,bn):void 0!==yn.prototype.__proto__?yn.prototype.__proto__=bn:yn.prototype=bn;var xn=function(e){function t(t,r,n,i){var o;return void 0===n&&(n="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,Dn((function(){var e=new Ur(n,r,i,!0);e.proxy_=o,oe(o,Ie,e),t&&t.length&&o.spliceWithArray(0,0,t),Sn&&Object.defineProperty(o,"0",wn)})),o}Se(t,e);var r=t.prototype;return r.concat=function(){this[Ie].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return Zr(e)?e.slice():e})))},r[Symbol.iterator]=function(){var e=this,t=0;return Ln({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},ye(t,[{key:"length",get:function(){return this[Ie].getArrayLength_()},set:function(e){this[Ie].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(An);function kn(e){return{enumerable:!1,configurable:!0,get:function(){return this[Ie].get_(e)},set:function(t){this[Ie].set_(e,t)}}}function En(e){U(xn.prototype,""+e,kn(e))}function _n(e){if(e>Cn){for(var t=Cn;t<e+100;t++)En(t);Cn=e}}function In(e,t,r){return new xn(e,t,r)}function Pn(e,t){if("object"==typeof e&&null!==e){if(Zr(e))return void 0!==t&&L(23),e[Ie].atom_;if(ln(e))return e.atom_;if(nn(e)){if(void 0===t)return e.keysAtom_;var r=e.data_.get(t)||e.hasMap_.get(t);return r||L(25,t,Bn(e)),r}if(mn(e)){if(!t)return L(26);var n=e[Ie].values_.get(t);return n||L(27,t,Bn(e)),n}if(Te(e)||Nt(e)||sr(e))return e}else if(Q(e)&&sr(e[Ie]))return e[Ie];L(28)}function Tn(e,t){return e||L(29),void 0!==t?Tn(Pn(e,t)):Te(e)||Nt(e)||sr(e)||nn(e)||ln(e)?e:e[Ie]?e[Ie]:void L(24,e)}function Bn(e,t){var r;if(void 0!==t)r=Pn(e,t);else{if(vr(e))return e.name;r=mn(e)||nn(e)||ln(e)?Tn(e):Pn(e)}return r.name_}function Dn(e){var t=jt(),r=_t(!0);Zt();try{return e()}finally{Qt(),It(r),Vt(t)}}Object.entries(Wr).forEach((function(e){var t=e[0],r=e[1];"concat"!==t&&ie(xn.prototype,t,r)})),_n(1e3);var Nn,Rn=$.toString;function On(e,t,r){return void 0===r&&(r=-1),zn(e,t,r)}function zn(e,t,r,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;var a=Rn.call(e);if(a!==Rn.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":r>=0&&r++}e=Mn(e),t=Mn(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!(Q(l)&&l instanceof l&&Q(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===r)return!1;r<0&&(r=-1),i=i||[];for(var u=(n=n||[]).length;u--;)if(n[u]===e)return i[u]===t;if(n.push(e),i.push(t),s){if((u=e.length)!==t.length)return!1;for(;u--;)if(!zn(e[u],t[u],r-1,n,i))return!1}else{var d,p=Object.keys(e);if(u=p.length,Object.keys(t).length!==u)return!1;for(;u--;)if(!pe(t,d=p[u])||!zn(e[d],t[d],r-1,n,i))return!1}return n.pop(),i.pop(),!0}function Mn(e){return Zr(e)?e.slice():se(e)||nn(e)||le(e)||ln(e)?Array.from(e.entries()):e}var Fn=(null==(Nn=V().Iterator)?void 0:Nn.prototype)||{};function Ln(e){return e[Symbol.iterator]=jn,Object.assign(Object.create(Fn),e)}function jn(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===V()[e]&&L("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:Bn},$mobx:Ie});var Vn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:r.g;function Hn(){return Vn.__satchelGlobalContext}function qn(e,t){var r=Hn().subscriptions;r[e]||(r[e]=[]),r[e].push(t)}function Un(e){var t=Wn(e),r=Hn().subscriptions[t];if(r){for(var n=[],i=0,o=r;i<o.length;i++){var a=(0,o[i])(e);a&&n.push(a)}if(n.length)return 1==n.length?n[0]:Promise.all(n)}}function $n(e,t){return function(e,t,r){var n=(Hn().nextActionId++).toString(),i=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=t?t.apply(null,i):{};if(a.type)throw new Error("Action creators should not include the type property.");return a.type=e,Gn(a,n),r&&function(e){var t=Hn().currentMutator;if(t)throw new Error("Mutator ("+t+") may not dispatch action ("+e.type+")");Dr((Hn().dispatchWithMiddleware||Un).bind(null,e))}(a),a};return Gn(i,n),function(e,t){e.__SATCHELJS_ACTION_TYPE=t}(i,e),i}(e,t,!0)}function Wn(e){return e.__SATCHELJS_ACTION_ID}function Gn(e,t){e.__SATCHELJS_ACTION_ID=t}function Kn(){return Hn().rootStore}Vn.__satchelGlobalContext?function(){if(3!=Vn.__satchelGlobalContext.schemaVersion)throw new Error("Detected incompatible SatchelJS versions loaded.")}():Vn.__satchelGlobalContext={schemaVersion:3,rootStore:vt.map({}),nextActionId:0,subscriptions:{},dispatchWithMiddleware:null,currentMutator:null,legacyInDispatch:0,legacyDispatchWithMiddleware:null,legacyTestMode:!1};var Xn=gr("createStore",(function(e,t){if(Kn().get(e))throw new Error("A store named "+e+" has already been created.");Kn().set(e,t)}));function Yn(e,t){return Xn(e,t),function(){return Kn().get(e)}}function Jn(e,t){var r=Wn(e);if(!r)throw new Error("Mutators can only subscribe to action creators.");var n=function(e){return e.__SATCHELJS_ACTION_TYPE||"unknown action"}(e);return qn(r,gr(n,(function(e){var r=Hn();try{r.currentMutator=n,t(e),r.currentMutator=null}catch(e){throw r.currentMutator=null,e}}))),t}function Zn(e,t){var r=Wn(e);if(!r)throw new Error("Orchestrators can only subscribe to action creators.");return qn(r,t),t}var Qn,ei=(Qn=Jn,function(e,t){var r=$n(e,(function(){return{args:arguments}}));return Qn(r,(function(e){return t.apply(null,e.args)})),r});!function(e){!0===e.isolateGlobalState&&function(){if((Kt.pendingReactions.length||Kt.inBatch||Kt.isRunningReactions)&&L(36),Gt=!0,Wt){var e=V();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),Kt=new $t}}();var t,r,n=e.useProxies,i=e.enforceActions;if(void 0!==n&&(Kt.useProxies=n===Ar||"never"!==n&&"undefined"!=typeof Proxy),"ifavailable"===n&&(Kt.verifyProxies=!0),void 0!==i){var o=i===Ar?Ar:"observed"===i;Kt.enforceActions=o,Kt.allowStateChanges=!0!==o&&o!==Ar}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(Kt[t]=!!e[t])})),Kt.allowStateReads=!Kt.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,r=ir,ir=function(e){return t((function(){return r(e)}))})}({enforceActions:"observed"});const ti=()=>{const e="MsgExtCardStoreActionPolicy";return Kn().get(e)?Kn().get(e):Yn(e,{cardsMap:new rn})()},ri=ei("updateActionabilityStatus",((e,t)=>{var r,n,i;const o=null===(n=null===(r=ti())||void 0===r?void 0:r.cardsMap)||void 0===n?void 0:n.get(e);o?o.actionabilityStatus=t:null===(i=ti().cardsMap)||void 0===i||i.set(e,{actionabilityStatus:t})})),ni=$n("initializeMsgExtCardState",((e,t,r,n,i,o)=>({cardDetails:e,renderingMode:t,appService:r,channelService:n,actionabilityStatus:i,isGcc:o}))),ii=()=>{const e="MsgExtCardStoreVnext";return Kn().get(e)?Kn().get(e):Yn(e,{cardsMap:new rn})()},oi=(Jn(ni,(e=>{const t={cardDetails:e.cardDetails,renderingMode:e.renderingMode};ii().cardsMap.set(e.cardDetails.cardId,t)})),$n("updateMsgExtAppInfo",((e,t,r)=>({cardId:e,appInfo:t,channelService:r})))),ai=(Jn(oi,(e=>{const t=ii().cardsMap.get(e.cardId);t&&(t.appInfo=e.appInfo)})),ei("updateMsgExtCardDetails",((e,t)=>{const r=ii().cardsMap.get(e);r&&(r.cardDetails=t)})));var si,li,ci,ui,di,pi,fi,hi,gi,mi,vi=r(1773);Zn(ni,(e=>(0,k.__awaiter)(void 0,void 0,void 0,(function*(){var t;let r;try{const n=e.cardDetails,i=null!==(t=e.isGcc)&&void 0!==t&&t;if(n&&n.appId){const t=yield e.appService.getApp({id:n.appId,isGcc:i});t&&(t.titleInfo?r=(0,vi.P)(t.titleInfo):t.appDefinition&&(r=t.appDefinition))}}catch(e){}oi(e.cardDetails.cardId,r,e.channelService)})))),function(e){e.Unknown="Unknown",e.Success="Success",e.Partial="Partial",e.Failed="Failed",e.Error="Error"}(si||(si={})),function(e){e[e.LogInfo=1]="LogInfo",e[e.LogError=2]="LogError",e[e.LogException=3]="LogException",e[e.LogMetric=4]="LogMetric"}(li||(li={})),function(e){e[e.Automatic=0]="Automatic",e[e.Manual=1]="Manual"}(ci||(ci={})),function(e){e.DeleteCard="DeleteCard",e.CopyCard="CopyCard",e.ManualRefresh="ManualRefresh",e.GetApp="GetApp",e.CardCopied="CardCopied"}(ui||(ui={})),function(e){e[e.NotAvailable=0]="NotAvailable",e[e.NotInstalled=1]="NotInstalled",e[e.Installed=2]="Installed",e[e.NeedsConsentForUpgrade=3]="NeedsConsentForUpgrade"}(di||(di={})),function(e){e[e.Unknown=0]="Unknown",e[e.MailEditor=1]="MailEditor",e[e.MailReadingPane=2]="MailReadingPane",e[e.MailEditorReplyForward=3]="MailEditorReplyForward",e[e.MailReadingPaneFromExProp=4]="MailReadingPaneFromExProp"}(pi||(pi={})),function(e){e[e.Light=0]="Light",e[e.Dark=1]="Dark"}(fi||(fi={})),function(e){e[e.Full=0]="Full",e[e.Limited=1]="Limited",e[e.None=2]="None",e[e.Unknown=3]="Unknown"}(hi||(hi={})),function(e){e.result="result",e.auth="auth",e.config="config",e.message="message",e.botMessagePreview="botMessagePreview",e.silentAuth="silentAuth"}(gi||(gi={})),function(e){e[e.Unknown=0]="Unknown",e[e.Auth=1]="Auth",e[e.Config=2]="Config",e[e.SilentAuth=3]="SilentAuth"}(mi||(mi={}));const yi=ei("updateDisabledActionabilityReason",((e,t)=>{var r,n;const i=null===(n=null===(r=ti())||void 0===r?void 0:r.cardsMap)||void 0===n?void 0:n.get(e);i&&(i.reason=t)}));var bi,wi;function Si(e){var t,r,n;return null===(n=null===(r=null===(t=ti())||void 0===t?void 0:t.cardsMap)||void 0===r?void 0:r.get(e))||void 0===n?void 0:n.actionabilityStatus}!function(e){e[e.error=0]="error",e[e.info=1]="info",e[e.warning=2]="warning"}(bi||(bi={})),function(e){e[e.AppNotInstalled=0]="AppNotInstalled",e[e.AppNotAvailable=1]="AppNotAvailable",e[e.ComposeScenario=2]="ComposeScenario"}(wi||(wi={})),Zn(oi,(e=>{var t,r,n,i,o,a,s;let l;const c=function(e){var t,r;return null===(r=null===(t=null==ii?void 0:ii().cardsMap)||void 0===t?void 0:t.get(e))||void 0===r?void 0:r.renderingMode}(e.cardId),u=function(e){var t;const r=null===(t=ii().cardsMap.get(e))||void 0===t?void 0:t.appInfo;if(r&&r.state)switch(r.state){case"InstalledAndDeprecated":case"Featured":case"InstalledAndHidden":case"NotInstalled":case"PreConsented":return di.NotInstalled;case"Installed":case"AdminPreInstalled":case"InstalledAndPermanent":return di.Installed;case"RequireConsent":return di.NeedsConsentForUpgrade;default:return di.NotAvailable}return di.NotAvailable}(e.cardId);let d=hi.None;u===di.Installed?d=hi.Full:("compose"===c&&(d=hi.Limited,l={type:wi.ComposeScenario,messageType:bi.info}),u===di.NotInstalled?l={type:wi.AppNotInstalled,messageType:bi.error}:u===di.NotAvailable&&(l={type:wi.AppNotAvailable,messageType:bi.error}));const p=null!==(i=null===(n=null===(r=null===(t=e.appInfo)||void 0===t?void 0:t.bots)||void 0===r?void 0:r[0])||void 0===n?void 0:n.id)&&void 0!==i?i:null===(s=null===(a=null===(o=e.appInfo)||void 0===o?void 0:o.inputExtensions)||void 0===a?void 0:a[0])||void 0===s?void 0:s.botId;if(p){const t=function(e){var t,r;return null===(r=null===(t=null==ii?void 0:ii().cardsMap)||void 0===t?void 0:t.get(e))||void 0===r?void 0:r.cardDetails}(e.cardId);t&&(t.botId=p,ai(e.cardId,t))}ri(e.cardId,d),yi(e.cardId,l)}));const Ci=new Map;function Ai(e,t){var r;null===(r=Ci.get(e))||void 0===r||r(t)}var xi,ki=r(8696);!function(e){e[e.Selection=0]="Selection",e[e.Top=1]="Top",e[e.Bottom=2]="Bottom"}(xi||(xi={}));var Ei=r(8208),_i=r(3390),Ii=r(2637),Pi=r(2583);class Ti extends Ei.rc{get url(){return this.getValue(Ti.urlProperty)}set url(e){this.setValue(Ti.urlProperty,e)}get altText(){return this.getValue(Ti.altTextProperty)}set altText(e){this.setValue(Ti.altTextProperty,e)}get insertPosition(){return this.getValue(Ti.insertPosition)}set insertPosition(e){this.setValue(Ti.insertPosition,e)}getEffectiveTooltip(){const e=super.getEffectiveTooltip();return e?`${e}\n${this.url}`:this.url}getJsonTypeName(){return Ti.JsonTypeName}internalValidateProperties(e){super.internalValidateProperties(e),this.url||e.addFailure(this,_i.iV.PropertyCantBeNull,Ii.D.errors.propertyMustBeSet("url")),this.altText||e.addFailure(this,_i.iV.PropertyCantBeNull,Ii.D.errors.propertyMustBeSet("altText"))}}Ti.urlProperty=new Pi.XB(Pi.uq.v1_5,"url").setContentType("imageUrl"),Ti.altTextProperty=new Pi.XB(Pi.uq.v1_5,"altText").setContentType("text"),Ti.insertPosition=new Pi.fX(Pi.uq.v1_5,"insertPosition",xi,xi.Selection).setTypeName("ImageInsertPosition"),Ti.JsonTypeName="Action.InsertImage";var Bi=r(7714);class Di extends Pi.BG{parse(e,t,r){const n=t[this.name];let i=this.defaultValue,o=!1;if("small"===n||"medium"===n||"large"===n)i=n,o=!0;else if("string"==typeof n)try{i=Bi.zg.parse(n),i.unit===_i.Y2.Pixel&&(o=!0)}catch(e){}return o||(r.logParseEvent(e,_i.iV.InvalidPropertyValue,Ii.D.errors.invalidDialogDimension(n)),i=void 0),i}toJSON(e,t,r,n){r instanceof Bi.zg?r.unit===_i.Y2.Pixel&&n.serializeValue(t,this.name,`${r.physicalSize}px`):n.serializeValue(t,this.name,r)}getDescriptor(e){return{valueTypes:[{type:"string",validValues:["small","medium","large",Bi.IO]}],defaultValue:this.defaultValue,contentType:this.contentType}}constructor(e,t,r,n){super(e,t,r,n),this.targetVersion=e,this.name=t,this.defaultValue=r,this.onGetInitialValue=n}}class Ni extends Ei.rc{get dialogTitle(){return this.getValue(Ni.dialogTitleProperty)}set dialogTitle(e){this.setValue(Ni.dialogTitleProperty,e)}get dialogHeight(){return this.getValue(Ni.dialogHeightProperty)}set dialogHeight(e){this.setValue(Ni.dialogHeightProperty,e)}get dialogWidth(){return this.getValue(Ni.dialogWidthProperty)}set dialogWidth(e){this.setValue(Ni.dialogWidthProperty,e)}internalValidateProperties(e){super.internalValidateProperties(e),this.dialogTitle||e.addFailure(this,_i.iV.PropertyCantBeNull,Ii.D.errors.propertyMustBeSet("dialogTitle")),this.dialogHeight||e.addFailure(this,_i.iV.PropertyCantBeNull,Ii.D.errors.propertyMustBeSet("dialogHeight")),this.dialogWidth||e.addFailure(this,_i.iV.PropertyCantBeNull,Ii.D.errors.propertyMustBeSet("dialogWidth"))}}Ni.dialogTitleProperty=new Pi.XB(Pi.uq.v1_5,"dialogTitle").setContentType("text"),Ni.dialogHeightProperty=new Di(Pi.uq.v1_5,"dialogHeight"),Ni.dialogWidthProperty=new Di(Pi.uq.v1_5,"dialogWidth");class Ri extends Ni{get url(){return this.getValue(Ri.urlProperty)}set url(e){this.setValue(Ri.urlProperty,e)}getEffectiveTooltip(){const e=super.getEffectiveTooltip();return e?`${e}\n${this.getHref()}`:this.getHref()}getJsonTypeName(){return Ri.jsonTypeName}getAriaRole(){return"link"}internalValidateProperties(e){super.internalValidateProperties(e),this.url||e.addFailure(this,_i.iV.PropertyCantBeNull,Ii.D.errors.propertyMustBeSet("url"))}getHref(){return this.url}}Ri.jsonTypeName="Action.OpenUrlDialog",Ri.urlProperty=new Pi.XB(Pi.uq.v1_5,"url").setContentType("link");class Oi extends Ei.rc{get url(){return this.getValue(Oi.urlProperty)}set url(e){this.setValue(Oi.urlProperty,e)}getEffectiveTooltip(){const e=super.getEffectiveTooltip();return e?`${e}\n${this.getHref()}`:this.getHref()}getJsonTypeName(){return Oi.JsonTypeName}getAriaRole(){return"link"}internalValidateProperties(e){super.internalValidateProperties(e),this.url||e.addFailure(this,_i.iV.PropertyCantBeNull,Ii.D.errors.propertyMustBeSet("url"))}getHref(){return this.url}}Oi.urlProperty=new Pi.XB(Pi.uq.v1_0,"url").setContentType("link").setIsHero(),Oi.JsonTypeName="Action.OpenUrl";var zi=r(5075),Mi=r(4686);class Fi extends Ei.rc{get url(){return this.getValue(Fi.url)}set url(e){this.setValue(Fi.url,e)}get data(){return this.getValue(Fi.data)}set data(e){this.setValue(Fi.data,e)}getJsonTypeName(){return Fi.JsonTypeName}getHref(){return this.url}}Fi.url=new Pi.XB(Pi.uq.v1_0,"url"),Fi.data=new Pi.BG(Pi.uq.v1_0,"data"),Fi.JsonTypeName="Action.SignIn";var Li=r(8702);const ji={body:[{type:"TextBlock",size:"Medium",weight:"Bolder",text:"Sign In"},{type:"TextBlock",text:"Please sign in to see the card content",wrap:!0}],actions:[{type:"Action.SignIn",title:"Sign in",url:"https://sampleSigninUrl",data:{id:"",verb:"",data:{},originalCard:""}}],$schema:"https://adaptivecards.io/schemas/adaptive-card.json",version:"1.0"};class Vi{constructor(e,t,r,n){this.request=e,this.content=t,this.type=r,this.status=n}}class Hi{constructor(e,t,r){this.request=e,this.code=t,this.message=r}}class qi{constructor(e,t,r){this.request=e,this.signInButton=t,this.tokenExchangeResource=r}}class Ui{constructor(e,t,r,n,i,o,a){this.cardData=e,this.serviceProvider=t,this.action=r,this.trigger=n,this.maxRetryCount=i,this.authToken=o,this.authCode=a}onCompletion(e){var t,r,n,i,o,a,s,l,c;const u=new M.k(null===(t=this.serviceProvider)||void 0===t?void 0:t.telemetryService,z.yx.CardActions,z.xe.ActionExecuteActivityRequest),d={};if(d[z.vP.ActionType]=z.X2.Execute,d[z.vP.Intent]=void 0,d[z.vP.RuntimeActivityResponseMethod]=z.mU.OnCompletion,e instanceof Vi){const t=null==e?void 0:e.content;if(t&&e.type){const r=Object.values(ki.z).indexOf(e.type),n=Object.keys(ki.z)[r];Ai(this.cardData.cardId,{cardData:Object.assign(Object.assign({},this.cardData),{content:t,contentType:ki.z[n]})})}}else if(e instanceof qi){const t=e,l=ji;l.actions[0].title=null!==(n=null===(r=t.signInButton)||void 0===r?void 0:r.title)&&void 0!==n?n:"Sign in",l.actions[0].url=null!==(o=null===(i=t.signInButton)||void 0===i?void 0:i.value)&&void 0!==o?o:"",l.actions[0].data.data=null!==(a=this.action.data)&&void 0!==a?a:{},l.actions[0].data.id=null!==(s=this.action.id)&&void 0!==s?s:"",l.actions[0].data.verb=this.action.verb,l.actions[0].data.originalCard=this.cardData.content,Ai(this.cardData.cardId,{cardData:Object.assign(Object.assign({},this.cardData),{content:JSON.stringify(l),contentType:ki.z.AdaptiveCard})})}u.logMetricEnd({props:d,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, cardId : ${this.cardData.cardId}, Appid: ${(0,F.n)(null===(l=this.cardData)||void 0===l?void 0:l.titleId,null===(c=this.cardData)||void 0===c?void 0:c.appId)}`})}async execute(){var e,t,r,n,i,o,a,s;const l=new M.k(null===(e=this.serviceProvider)||void 0===e?void 0:e.telemetryService,z.yx.CardActions,z.xe.ActionExecuteActivityRequest),c={};c[z.vP.ActionType]=z.X2.Execute,c[z.vP.Intent]=void 0,c[z.vP.RuntimeActivityResponseMethod]=z.mU.Execute;let u,d=0;c[z.vP.RetryCount]=d;do{try{const e={cardData:this.cardData,botId:null!==(t=this.cardData.botId)&&void 0!==t?t:"",appId:this.cardData.appId,actionId:this.action.id,actionVerb:this.action.verb,actionData:this.action.data,trigger:this.trigger,authCode:this.authCode,authToken:this.authToken},a=await this.serviceProvider.cardService.handleActionExecute(e);if(a)if(a instanceof Li.BF)u=new qi(this,a.signInButton,a.tokenExchangeResource);else if(a instanceof Li.G3)u=new Vi(this,a.content,a.type);else{const e=a.code;let t=a.message;e||t||(t=JSON.stringify(a)),u=new Hi(this,e,t)}u instanceof Hi?(c[z.vP.ActionErrorType]=z.Pk.BotInvokeError,l.logMetricEndWithError({props:c,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Error: Bot Invoke failed with error code: ${u.code} and message: ${u.message}, Appid: ${(0,F.n)(null===(r=this.cardData)||void 0===r?void 0:r.titleId,null===(n=this.cardData)||void 0===n?void 0:n.appId)}`})):l.logMetricEnd({props:c,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, cardId : ${this.cardData.cardId} Appid: ${(0,F.n)(null===(i=this.cardData)||void 0===i?void 0:i.titleId,null===(o=this.cardData)||void 0===o?void 0:o.appId)}`})}catch(e){d++,c[z.vP.ActionErrorType]=z.Pk.Others;const t=JSON.stringify(null==e?void 0:e.message);l.logMetricEndWithError({props:c,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Error: ${t||JSON.stringify(e)}, Appid: ${(0,F.n)(null===(a=this.cardData)||void 0===a?void 0:a.titleId,null===(s=this.cardData)||void 0===s?void 0:s.appId)}`})}}while(!u&&this.maxRetryCount&&d<this.maxRetryCount);return null!=u?u:{request:this}}}class $i{constructor(e,t,r,n,i){this.cardData=e,this.appId=t,this.botId=r,this.serviceProvider=n,this.action=i}async execute(){var e,t,r,n,i,o,a,s,l,c;const u=new M.k(null===(e=this.serviceProvider)||void 0===e?void 0:e.telemetryService,z.yx.CardActions,z.xe.InsertImageActionActivityRequest),d={};d[z.vP.ActionType]=z.X2.InsertImage,d[z.vP.Intent]=void 0,d[z.vP.RuntimeActivityResponseMethod]=z.mU.Execute;try{const e={id:this.action.id,cardData:this.cardData,botId:this.botId,url:null!==(t=this.action.url)&&void 0!==t?t:"",altText:null!==(r=this.action.altText)&&void 0!==r?r:"",insertPosition:null!==(n=this.action.insertPosition)&&void 0!==n?n:xi.Selection,appId:this.appId,triggeringActionTitle:this.action.title};await(null===(o=(i=this.serviceProvider.cardService).handleActionInsertImage)||void 0===o?void 0:o.call(i,e)),u.logMetricEnd({props:d,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Appid: ${(0,F.n)(null===(a=this.cardData)||void 0===a?void 0:a.titleId,null===(s=this.cardData)||void 0===s?void 0:s.appId)}`})}catch(e){u.logMetricEndWithError({props:d,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Error: ${(null==e?void 0:e.message)||e}, Appid: ${(0,F.n)(null===(l=this.cardData)||void 0===l?void 0:l.titleId,null===(c=this.cardData)||void 0===c?void 0:c.appId)}`})}return{request:this}}onCompletion(e){}}class Wi{constructor(e,t,r,n){this.cardData=e,this.url=t,this.serviceProvider=r,this.botId=n}onCompletion(e){}async execute(){var e,t,r,n,i;const o=new M.k(null===(e=this.serviceProvider)||void 0===e?void 0:e.telemetryService,z.yx.CardActions,z.xe.OpenUrlActivityRequest),a={};a[z.vP.ActionType]=z.X2.OpenUrl,a[z.vP.Intent]=void 0,a[z.vP.RuntimeActivityResponseMethod]=z.mU.Execute;try{const e={cardData:this.cardData,url:this.url,botId:this.botId};await this.serviceProvider.cardService.handleOpenUrl(e),o.logMetricEnd({props:a,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, cardId : ${this.cardData.cardId}, Appid: ${(0,F.n)(null===(t=this.cardData)||void 0===t?void 0:t.titleId,null===(r=this.cardData)||void 0===r?void 0:r.appId)}`})}catch(e){o.logMetricEndWithError({props:a,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Error: ${(null==e?void 0:e.message)||e}, Appid: ${(0,F.n)(null===(n=this.cardData)||void 0===n?void 0:n.titleId,null===(i=this.cardData)||void 0===i?void 0:i.appId)} `})}return{request:this}}}function Gi(e){return e?"string"==typeof e?e:e.physicalSize:"medium"}class Ki{constructor(e,t,r){this.cardData=e,this.serviceProvider=t,this.action=r}async execute(){var e,t,r,n,i,o,a;const s=new M.k(null===(e=this.serviceProvider)||void 0===e?void 0:e.telemetryService,z.yx.CardActions,z.xe.OpenUrlDialogActionActivityRequest),l={};l[z.vP.ActionType]=z.X2.OpenUrlDialog,l[z.vP.Intent]=void 0,l[z.vP.RuntimeActivityResponseMethod]=z.mU.Execute;try{if(void 0===this.action.url)throw new Error("Action.Url is undefined");if(void 0===this.action.dialogTitle)throw new Error("Action.dialogTitle is undefined");const e={appId:this.cardData.appId,dialogTitle:this.action.dialogTitle,dialogHeight:Gi(this.action.dialogHeight),dialogWidth:Gi(this.action.dialogWidth),url:this.action.url,cardData:this.cardData,triggeringActionTitle:this.action.title};await(null===(r=(t=this.serviceProvider.cardService).handleActionOpenUrlDialog)||void 0===r?void 0:r.call(t,e)),s.logMetricEnd({props:l,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Appid: ${(0,F.n)(null===(n=this.cardData)||void 0===n?void 0:n.titleId,null===(i=this.cardData)||void 0===i?void 0:i.appId)}`})}catch(e){s.logMetricEndWithError({props:l,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Error: ${(null==e?void 0:e.message)||e}, Appid: ${(0,F.n)(null===(o=this.cardData)||void 0===o?void 0:o.titleId,null===(a=this.cardData)||void 0===a?void 0:a.appId)}`})}return{request:this}}onCompletion(e){}}class Xi{constructor(e,t,r,n){this.cardData=e,this.serviceProvider=t,this.signInUrl=r,this.data=n}onCompletion(e){var t,r,n;const i=new M.k(null===(t=this.serviceProvider)||void 0===t?void 0:t.telemetryService,z.yx.CardActions,z.xe.SigninActionActivityRequest),o={};if(o[z.vP.ActionType]=z.X2.SignIn,o[z.vP.Intent]=void 0,o[z.vP.RuntimeActivityResponseMethod]=z.mU.OnCompletion,!this.data)return void i.logMetricEndWithError({props:o,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Error: Data not present, Appid: ${(0,F.n)(null===(r=this.cardData)||void 0===r?void 0:r.titleId,null===(n=this.cardData)||void 0===n?void 0:n.appId)} `});const a=new zi.e,s=JSON.parse(this.data);a.id=s.id,a.verb=s.verb,a.data=s.data;const l=e.code,c=Object.assign(Object.assign({},this.cardData),{content:s.originalCard}),u=new Ui(c,this.serviceProvider,a,ki.x.Manual,void 0,void 0,l);u.execute().then((e=>{var t,r;u.onCompletion(e),i.logMetricEnd({props:o,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, cardId : ${this.cardData.cardId}, Appid: ${(0,F.n)(null===(t=this.cardData)||void 0===t?void 0:t.titleId,null===(r=this.cardData)||void 0===r?void 0:r.appId)}`})})).catch((e=>{var t,r;i.logMetricEndWithError({props:o,diagnosticsData:`Error: ${e.message||e}}, TypeOfCard: ${this.cardData.contentType}, cardId : ${this.cardData.cardId}, Appid: ${(0,F.n)(null===(t=this.cardData)||void 0===t?void 0:t.titleId,null===(r=this.cardData)||void 0===r?void 0:r.appId)} `})}))}async execute(){var e,t,r,n,i,o,a,s,l,c;if(!this.signInUrl||!this.data)return{request:this};const u=new M.k(null===(e=this.serviceProvider)||void 0===e?void 0:e.telemetryService,z.yx.CardActions,z.xe.SigninActionActivityRequest),d={};if(d[z.vP.ActionType]=z.X2.SignIn,d[z.vP.Intent]=void 0,d[z.vP.RuntimeActivityResponseMethod]=z.mU.Execute,!JSON.parse(this.data))return u.logMetricEndWithError({props:d,message:z.FG.AttributedDataNotFound,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Error: Data not present, Appid: ${(0,F.n)(null===(t=this.cardData)||void 0===t?void 0:t.titleId,null===(r=this.cardData)||void 0===r?void 0:r.appId)} `}),Promise.reject(z.FG.AttributedDataNotFound);const p=this.cardData.appId,f=await this.getAppDefinition(p);if(!f)return u.logMetricEndWithError({message:z.FG.AppDefinitionIsUndefined,props:d,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId} , Error: app definition not present, Appid: ${(0,F.n)(null===(n=this.cardData)||void 0===n?void 0:n.titleId,null===(i=this.cardData)||void 0===i?void 0:i.appId)} `}),Promise.reject(z.FG.AppDefinitionIsUndefined);const h={cardData:this.cardData,appDefinition:f,signInUrl:this.signInUrl};try{const e=await(null===(o=this.serviceProvider.hostService)||void 0===o?void 0:o.handleAuth(h));return e?{code:e.code}:(u.logMetricEnd({props:d,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Appid: ${(0,F.n)(null===(a=this.cardData)||void 0===a?void 0:a.titleId,null===(s=this.cardData)||void 0===s?void 0:s.appId)}`}),{request:this})}catch(e){return u.logMetricEndWithError({props:d,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Error : ${null==e?void 0:e.message}, Appid: ${(0,F.n)(null===(l=this.cardData)||void 0===l?void 0:l.titleId,null===(c=this.cardData)||void 0===c?void 0:c.appId)} `}),{request:this}}}async getAppDefinition(e){var t;try{const r=await(null===(t=this.serviceProvider.appService)||void 0===t?void 0:t.getApp({id:e}));let n=null==r?void 0:r.appDefinition;return!n&&(null==r?void 0:r.titleInfo)&&(n=(0,vi.P)(r.titleInfo)),n}catch(e){return}}}class Yi{constructor(e,t){this.response=e,this.status=t}}class Ji{constructor(e,t,r){this.status=e,this.code=t,this.message=r,this.type="Error"}}class Zi{constructor(e,t,r){this.request=e,this.response=t,this.status=r}}class Qi{constructor(e,t,r,n){this.request=e,this.status=t,this.code=r,this.message=n}}class eo{constructor(e,t,r,n,i){this.cardData=e,this.appId=t,this.botId=r,this.serviceProvider=n,this.action=i}async execute(){var e,t,r,n,i,o,a;const s=new M.k(null===(e=this.serviceProvider)||void 0===e?void 0:e.telemetryService,z.yx.CardActions,z.xe.SubmitActionActivityRequest),l={};let c;l[z.vP.ActionType]=z.X2.Submit,l[z.vP.Intent]=void 0,l[z.vP.RuntimeActivityResponseMethod]=z.mU.Execute;try{const e={id:this.action.id,cardData:this.cardData,botId:this.botId,data:this.action.data,appId:this.appId,triggeringActionTitle:this.action.title},o=await this.serviceProvider.cardService.handleActionSubmit(e);o&&(c=o instanceof Yi?new Zi(this,o.response,o.status):new Qi(this,o.status,o.code,o.message)),c instanceof Qi?(l[z.vP.ActionErrorType]=z.Pk.BotInvokeError,s.logMetricEndWithError({props:l,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Error: Bot Invoke failed with error code: ${c.code} and message: ${c.message}, Appid: ${(0,F.n)(null===(t=this.cardData)||void 0===t?void 0:t.titleId,null===(r=this.cardData)||void 0===r?void 0:r.appId)}`})):s.logMetricEnd({props:l,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Appid: ${(0,F.n)(null===(n=this.cardData)||void 0===n?void 0:n.titleId,null===(i=this.cardData)||void 0===i?void 0:i.appId)}`})}catch(e){s.logMetricEndWithError({props:l,diagnosticsData:`TypeOfCard: ${this.cardData.contentType}, CardId : ${this.cardData.cardId}, Error: ${(null==e?void 0:e.message)||e}, Appid: ${(0,F.n)(null===(o=this.cardData)||void 0===o?void 0:o.titleId,null===(a=this.cardData)||void 0===a?void 0:a.appId)}`})}return null!=c?c:{request:this}}onCompletion(e){}}class to{constructor(e,t,r,n){this.cardData=e,this.serviceProvider=t,this.onPrepareRuntimeActivityRequest=r,this.onRuntimeActivityResponse=n}get handleAction(){return e=>{const t=this.createRequest(e);this.triggerActivityRequest(t).catch((e=>{}))}}get handleAnchorClicked(){return(e,t)=>{const r=new Wi(this.cardData,e,this.serviceProvider);return this.triggerActivityRequest(r).catch((e=>{})),!0}}async triggerActivityRequest(e){var t,r;if(e&&!await(null===(t=this.onPrepareRuntimeActivityRequest)||void 0===t?void 0:t.call(this,e))){const t=await e.execute();await(null===(r=this.onRuntimeActivityResponse)||void 0===r?void 0:r.call(this,t))||e.onCompletion(t)}}createRequest(e,t){var r,n;let i,o,a;return e instanceof Oi?(o=e.getHref(),o&&(i=new Wi(this.cardData,o,this.serviceProvider,this.cardData.botId))):e instanceof zi.e?i=new Ui(this.cardData,this.serviceProvider,e,null!=t?t:ki.x.Manual):e instanceof Fi?(o=e.getHref(),a=JSON.stringify(e.data),i=new Xi(this.cardData,this.serviceProvider,o,a)):e instanceof Mi.tV?i=new eo(this.cardData,this.cardData.appId,null!==(r=this.cardData.botId)&&void 0!==r?r:"",this.serviceProvider,e):e instanceof Ti?i=new $i(this.cardData,this.cardData.appId,null!==(n=this.cardData.botId)&&void 0!==n?n:"",this.serviceProvider,e):e instanceof Ri&&(i=new Ki(this.cardData,this.serviceProvider,e)),i}}var ro=r(7475);
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
const no="data-tabster",io=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),oo=1,ao=2,so=3;
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
function lo(e,t){var r;return null===(r=e.storageEntry(t))||void 0===r?void 0:r.tabster}function co(e,t,r){var n,i;const o=r||e._noop?void 0:t.getAttribute(no);let a,s=e.storageEntry(t);if(o){if(o===(null===(n=null==s?void 0:s.attr)||void 0===n?void 0:n.string))return;try{const e=JSON.parse(o);if("object"!=typeof e)throw new Error(`Value is not a JSON object, got '${o}'.`);a={string:o,object:e}}catch(e){}}else if(!s)return;s||(s=e.storageEntry(t,!0)),s.tabster||(s.tabster={});const l=s.tabster||{},c=(null===(i=s.attr)||void 0===i?void 0:i.object)||{},u=(null==a?void 0:a.object)||{};for(const r of Object.keys(c))if(!u[r]){if("root"===r){const t=l[r];t&&e.root.onRoot(t,!0)}switch(r){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const n=l[r];n&&(n.dispose(),delete l[r]);break;case"observed":delete l[r],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete l[r]}}for(const r of Object.keys(u)){const n=u.sys;switch(r){case"deloser":l.deloser?l.deloser.setProps(u.deloser):e.deloser&&(l.deloser=e.deloser.createDeloser(t,u.deloser));break;case"root":l.root?l.root.setProps(u.root):l.root=e.root.createRoot(t,u.root,n),e.root.onRoot(l.root);break;case"modalizer":l.modalizer?l.modalizer.setProps(u.modalizer):e.modalizer&&(l.modalizer=e.modalizer.createModalizer(t,u.modalizer,n));break;case"restorer":l.restorer?l.restorer.setProps(u.restorer):e.restorer&&u.restorer&&(l.restorer=e.restorer.createRestorer(t,u.restorer));break;case"focusable":l.focusable=u.focusable;break;case"groupper":l.groupper?l.groupper.setProps(u.groupper):e.groupper&&(l.groupper=e.groupper.createGroupper(t,u.groupper,n));break;case"mover":l.mover?l.mover.setProps(u.mover):e.mover&&(l.mover=e.mover.createMover(t,u.mover,n));break;case"observed":e.observedElement&&(l.observed=u.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":l.uncontrolled=u.uncontrolled;break;case"outline":e.outline&&(l.outline=u.outline);break;case"sys":l.sys=u.sys;break;default:console.error(`Unknown key '${r}' in data-tabster attribute value.`)}}a?s.attr=a:(0===Object.keys(l).length&&(delete s.tabster,delete s.attr),e.storageEntry(t,!1))}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const uo="tabster:movefocus",po="tabster:mover:movefocus",fo="tabster:mover:memorized-element",ho="tabster:restorer:restore-focus",go="undefined"!=typeof CustomEvent?CustomEvent:function(){};class mo extends go{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}}class vo extends mo{constructor(e){super("tabster:focusin",e)}}class yo extends mo{constructor(e){super("tabster:focusout",e)}}class bo extends mo{constructor(e){super(uo,e)}}class wo extends mo{constructor(e){super("tabster:mover:state",e)}}class So extends mo{constructor(e){super("tabster:modalizer:active",e)}}class Co extends mo{constructor(e){super("tabster:modalizer:inactive",e)}}class Ao extends mo{constructor(){super(ho)}}class xo extends mo{constructor(e){super("tabster:root:focus",e)}}class ko extends mo{constructor(e){super("tabster:root:blur",e)}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const Eo={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,t,r,n)=>e.createTreeWalker(t,r,n),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,t)=>!(!t||!(null==e?void 0:e.contains(t))),getActiveElement:e=>e.activeElement,querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),getElementById:(e,t)=>e.getElementById(t),getFirstChild:e=>(null==e?void 0:e.firstChild)||null,getLastChild:e=>(null==e?void 0:e.lastChild)||null,getNextSibling:e=>(null==e?void 0:e.nextSibling)||null,getPreviousSibling:e=>(null==e?void 0:e.previousSibling)||null,getFirstElementChild:e=>(null==e?void 0:e.firstElementChild)||null,getLastElementChild:e=>(null==e?void 0:e.lastElementChild)||null,getNextElementSibling:e=>(null==e?void 0:e.nextElementSibling)||null,getPreviousElementSibling:e=>(null==e?void 0:e.previousElementSibling)||null,appendChild:(e,t)=>e.appendChild(t),insertBefore:(e,t,r)=>e.insertBefore(t,r),getSelection:e=>{var t;return(null===(t=e.ownerDocument)||void 0===t?void 0:t.getSelection())||null},getElementsByName:(e,t)=>e.ownerDocument.getElementsByName(t)};
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
let _o;const Io="undefined"!=typeof DOMRect?DOMRect:class{constructor(e,t,r,n){this.left=e||0,this.top=t||0,this.right=(e||0)+(r||0),this.bottom=(t||0)+(n||0)}};let Po=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),_o=!1}catch(e){_o=!0}function To(e){const t=e();let r=t.__tabsterInstanceContext;return r||(r={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=r),r}class Bo{constructor(e){this._target=e}deref(){return this._target}static cleanup(e,t){return!e._target||!(!t&&Ho(e._target.ownerDocument,e._target))&&(delete e._target,!0)}}class Do{constructor(e,t,r){const n=To(e);let i;n.WeakRef?i=new n.WeakRef(t):(i=new Bo(t),n.fakeWeakRefs.push(i)),this._ref=i,this._data=r}get(){const e=this._ref;let t;return e&&(t=e.deref(),t||delete this._ref),t}getData(){return this._data}}function No(e,t){const r=To(e);r.fakeWeakRefs=r.fakeWeakRefs.filter((e=>!Bo.cleanup(e,t)))}function Ro(e){const t=To(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=function(e){return e.basics.WeakRef}(t)),t.fakeWeakRefsTimer||(t.fakeWeakRefsTimer=e().setTimeout((()=>{t.fakeWeakRefsTimer=void 0,No(e),Ro(e)}),12e4))}function Oo(e,t,r){if(t.nodeType!==Node.ELEMENT_NODE)return;const n=_o?r:{acceptNode:r};return Eo.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,n,!1)}function zo(e,t){let r=t.__tabsterCacheId;const n=To(e),i=r?n.containerBoundingRectCache[r]:void 0;if(i)return i.rect;const o=t.ownerDocument&&t.ownerDocument.documentElement;if(!o)return new Io;let a=0,s=0,l=o.clientWidth,c=o.clientHeight;if(t!==o){const e=t.getBoundingClientRect();a=Math.max(a,e.left),s=Math.max(s,e.top),l=Math.min(l,e.right),c=Math.min(c,e.bottom)}const u=new Io(a<l?a:-1,s<c?s:-1,a<l?l-a:0,s<c?c-s:0);return r||(r="r-"+ ++n.lastContainerBoundingRectCacheId,t.__tabsterCacheId=r),n.containerBoundingRectCache[r]={rect:u,element:t},n.containerBoundingRectCacheTimer||(n.containerBoundingRectCacheTimer=window.setTimeout((()=>{n.containerBoundingRectCacheTimer=void 0;for(const e of Object.keys(n.containerBoundingRectCache))delete n.containerBoundingRectCache[e].element.__tabsterCacheId;n.containerBoundingRectCache={}}),50)),u}function Mo(e,t,r){const n=Fo(t);if(!n)return!1;const i=zo(e,n),o=t.getBoundingClientRect(),a=o.height*(1-r),s=Math.max(0,i.top-o.top)+Math.max(0,o.bottom-i.bottom);return 0===s||s<=a}function Fo(e){const t=e.ownerDocument;if(t){for(let t=Eo.getParentElement(e);t;t=Eo.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return t.documentElement}return null}function Lo(e){return!!e.__shouldIgnoreFocus}function jo(e,t){const r=To(e);let n=t.__tabsterElementUID;return n||(n=t.__tabsterElementUID=function(e){const t=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(t);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(t);else for(let e=0;e<t.length;e++)t[e]=4294967295*Math.random();const r=[];for(let e=0;e<t.length;e++)r.push(t[e].toString(36));return r.push("|"),r.push((++Po).toString(36)),r.push("|"),r.push(Date.now().toString(36)),r.join("")}(e())),!r.elementByUId[n]&&Ho(t.ownerDocument,t)&&(r.elementByUId[n]=new Do(e,t)),n}function Vo(e,t){const r=To(e);for(const e of Object.keys(r.elementByUId)){const n=r.elementByUId[e],i=n&&n.get();i&&t&&!Eo.nodeContains(t,i)||delete r.elementByUId[e]}}function Ho(e,t){return Eo.nodeContains(null==e?void 0:e.body,t)}function qo(e,t){const r=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return r&&r.call(e,t)}let Uo=0;class $o{constructor(e,t,r){const n=e.getWindow;this._tabster=e,this._element=new Do(n,t),this._props={...r},this.id="i"+ ++Uo}getElement(){return this._element.get()}getProps(){return this._props}setProps(e){this._props={...e}}}class Wo{constructor(e,t,r,n,i){var o;this._focusIn=e=>{if(this._fixedTarget){const e=this._fixedTarget.get();return void(e&&(0,ro.kG)(e))}const t=this.input;if(this.onFocusIn&&t){const r=e.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,r),r)}},this._focusOut=e=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const t=this.input;if(this.onFocusOut&&t){const r=e.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,r),r)}};const a=e(),s=a.document.createElement("i");s.tabIndex=0,s.setAttribute("role","none"),s.setAttribute("data-tabster-dummy",""),s.setAttribute("aria-hidden","true");const l=s.style;l.position="fixed",l.width=l.height="1px",l.opacity="0.001",l.zIndex="-1",l.setProperty("content-visibility","hidden"),function(e){e.__shouldIgnoreFocus=!0}(s),this.input=s,this.isFirst=r.isFirst,this.isOutside=t,this._isPhantom=null!==(o=r.isPhantom)&&void 0!==o&&o,this._fixedTarget=i,s.addEventListener("focusin",this._focusIn),s.addEventListener("focusout",this._focusOut),s.__tabsterDummyContainer=n,this._isPhantom&&(this._disposeTimer=a.setTimeout((()=>{delete this._disposeTimer,this.dispose()}),0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(a.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var e;this._clearDisposeTimeout&&this._clearDisposeTimeout();const t=this.input;t&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,t.removeEventListener("focusin",this._focusIn),t.removeEventListener("focusout",this._focusOut),delete t.__tabsterDummyContainer,null===(e=Eo.getParentNode(t))||void 0===e||e.removeChild(t))}setTopLeft(e,t){var r;const n=null===(r=this.input)||void 0===r?void 0:r.style;n&&(n.top=`${e}px`,n.left=`${t}px`)}_isBackward(e,t,r){return e&&!r?!this.isFirst:!!(r&&t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING)}}class Go{constructor(e,t,r,n,i,o){this._element=t,this._instance=new Xo(e,t,this,r,n,i,o)}_setHandlers(e,t){this._onFocusIn=e,this._onFocusOut=t}moveOut(e){var t;null===(t=this._instance)||void 0===t||t.moveOut(e)}moveOutWithDefaultAction(e,t){var r;null===(r=this._instance)||void 0===r||r.moveOutWithDefaultAction(e,t)}getHandler(e){return e?this._onFocusIn:this._onFocusOut}setTabbable(e){var t;null===(t=this._instance)||void 0===t||t.setTabbable(this,e)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(e,t,r,n,i){const o=new Wo(e.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(o){let a,s;if("BODY"===t.tagName)a=t,s=r&&n||!r&&!n?Eo.getFirstElementChild(t):null;else{let i,o;r&&(!n||n&&!e.focusable.isFocusable(t,!1,!0,!0))?(a=t,s=n?t.firstElementChild:null):(a=Eo.getParentElement(t),s=r&&n||!r&&!n?t:Eo.getNextElementSibling(t));do{i=r&&n||!r&&!n?Eo.getPreviousElementSibling(s):s,o=Qo(i),o===t?s=r&&n||!r&&!n?i:Eo.getNextElementSibling(i):o=null}while(o)}(null==a?void 0:a.dispatchEvent(new bo({by:"root",owner:a,next:null,relatedEvent:i})))&&(Eo.insertBefore(a,o,s),(0,ro.kG)(o))}}static addPhantomDummyWithTarget(e,t,r,n){const i=new Wo(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Do(e.getWindow,n)).input;if(i){let e,n;t.querySelector(io)&&!r?(e=t,n=Eo.getFirstElementChild(t)):(e=Eo.getParentElement(t),n=r?t:Eo.getNextElementSibling(t)),e&&Eo.insertBefore(e,i,n)}}}class Ko{constructor(e){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=e=>{var t;this._changedParents.has(e)||(this._changedParents.add(e),this._updateDummyInputsTimer||(this._updateDummyInputsTimer=null===(t=this._win)||void 0===t?void 0:t.call(this).setTimeout((()=>{delete this._updateDummyInputsTimer;for(const e of this._dummyElements){const t=e.get();if(t){const e=this._dummyCallbacks.get(t);if(e){const r=Eo.getParentNode(t);r&&!this._changedParents.has(r)||e()}}}this._changedParents=new WeakSet}),100)))},this._win=e}add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new Do(this._win,e)),this._dummyCallbacks.set(e,t),this.domChanged=this._domChanged)}remove(e){this._dummyElements=this._dummyElements.filter((t=>{const r=t.get();return r&&r!==e})),this._dummyCallbacks.delete(e),0===this._dummyElements.length&&delete this.domChanged}dispose(){var e;const t=null===(e=this._win)||void 0===e?void 0:e.call(this);this._updateTimer&&(null==t||t.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(null==t||t.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(e){this._win&&(this._updateQueue.add(e),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var e;this._updateTimer||(this._updateTimer=null===(e=this._win)||void 0===e?void 0:e.call(this).setTimeout((()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+100<=Date.now()){const e=new Map,t=[];for(const r of this._updateQueue)t.push(r(e));this._updateQueue.clear();for(const e of t)e();e.clear()}else this._scheduledUpdatePositions()}),100))}}class Xo{constructor(e,t,r,n,i,o,a){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(e,t,r)=>{this._onFocus(!0,e,t,r)},this._onFocusOut=(e,t,r)=>{this._onFocus(!1,e,t,r)},this.moveOut=e=>{var t;const r=this._firstDummy,n=this._lastDummy;if(r&&n){this._ensurePosition();const i=r.input,o=n.input,a=null===(t=this._element)||void 0===t?void 0:t.get();if(i&&o&&a){let t;e?(i.tabIndex=0,t=i):(o.tabIndex=0,t=o),t&&(0,ro.kG)(t)}}},this.moveOutWithDefaultAction=(e,t)=>{var r;const n=this._firstDummy,i=this._lastDummy;if(n&&i){this._ensurePosition();const o=n.input,a=i.input,s=null===(r=this._element)||void 0===r?void 0:r.get();if(o&&a&&s){let r;e?!n.isOutside&&this._tabster.focusable.isFocusable(s,!0,!0,!0)?r=s:(n.useDefaultAction=!0,o.tabIndex=0,r=o):(i.useDefaultAction=!0,a.tabIndex=0,r=a),r&&s.dispatchEvent(new bo({by:"root",owner:s,next:null,relatedEvent:t}))&&(0,ro.kG)(r)}}},this.setTabbable=(e,t)=>{var r,n;for(const r of this._wrappers)if(r.manager===e){r.tabbable=t;break}const i=this._getCurrent();if(i){const e=i.tabbable?0:-1;let t=null===(r=this._firstDummy)||void 0===r?void 0:r.input;t&&(t.tabIndex=e),t=null===(n=this._lastDummy)||void 0===n?void 0:n.input,t&&(t.tabIndex=e)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout((()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()}),0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=e=>{var t,r;const n=(null===(t=this._firstDummy)||void 0===t?void 0:t.input)||(null===(r=this._lastDummy)||void 0===r?void 0:r.input),i=this._transformElements,o=new Set;let a=0,s=0;const l=this._getWindow();for(let t=n;t&&t.nodeType===Node.ELEMENT_NODE;t=Eo.getParentElement(t)){let r=e.get(t);if(void 0===r){const n=l.getComputedStyle(t).transform;n&&"none"!==n&&(r={scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),e.set(t,r||null)}r&&(o.add(t),i.has(t)||t.addEventListener("scroll",this._addTransformOffsets),a+=r.scrollTop,s+=r.scrollLeft)}for(const e of i)o.has(e)||e.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=o,()=>{var e,t;null===(e=this._firstDummy)||void 0===e||e.setTopLeft(a,s),null===(t=this._lastDummy)||void 0===t||t.setTopLeft(a,s)}};const s=t.get();if(!s)throw new Error("No element");this._tabster=e,this._getWindow=e.getWindow,this._callForDefaultAction=a;const l=s.__tabsterDummy;if((l||this)._wrappers.push({manager:r,priority:n,tabbable:!0}),l)return l;s.__tabsterDummy=this;const c=null==i?void 0:i.dummyInputsPosition,u=s.tagName;this._isOutside=c?2===c:(o||"UL"===u||"OL"===u||"TABLE"===u)&&!("LI"===u||"TD"===u||"TH"===u),this._firstDummy=new Wo(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new Wo(this._getWindow,this._isOutside,{isFirst:!1},t);const d=this._firstDummy.input;d&&e._dummyObserver.add(d,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}dispose(e,t){var r,n,i,o;if(0===(this._wrappers=this._wrappers.filter((r=>r.manager!==e&&!t))).length){delete(null===(r=this._element)||void 0===r?void 0:r.get()).__tabsterDummy;for(const e of this._transformElements)e.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const e=this._getWindow();this._addTimer&&(e.clearTimeout(this._addTimer),delete this._addTimer);const t=null===(n=this._firstDummy)||void 0===n?void 0:n.input;t&&this._tabster._dummyObserver.remove(t),null===(i=this._firstDummy)||void 0===i||i.dispose(),null===(o=this._lastDummy)||void 0===o||o.dispose()}}_onFocus(e,t,r,n){var i;const o=this._getCurrent();!o||t.useDefaultAction&&!this._callForDefaultAction||null===(i=o.manager.getHandler(e))||void 0===i||i(t,r,n)}_getCurrent(){return this._wrappers.sort(((e,t)=>e.tabbable!==t.tabbable?e.tabbable?-1:1:e.priority-t.priority)),this._wrappers[0]}_ensurePosition(){var e,t,r;const n=null===(e=this._element)||void 0===e?void 0:e.get(),i=null===(t=this._firstDummy)||void 0===t?void 0:t.input,o=null===(r=this._lastDummy)||void 0===r?void 0:r.input;if(n&&i&&o)if(this._isOutside){const e=Eo.getParentNode(n);if(e){const t=Eo.getNextSibling(n);t!==o&&Eo.insertBefore(e,o,t),Eo.getPreviousElementSibling(n)!==i&&Eo.insertBefore(e,i,n)}}else{Eo.getLastElementChild(n)!==o&&Eo.appendChild(n,o);const e=Eo.getFirstElementChild(n);e&&e!==i&&e.parentNode&&Eo.insertBefore(e.parentNode,i,e)}}}function Yo(e){let t=null;for(let r=Eo.getLastElementChild(e);r;r=Eo.getLastElementChild(r))t=r;return t||void 0}function Jo(e,t,r,n){const i=e.storageEntry(t,!0);let o=!1;if(!i.aug){if(void 0===n)return o;i.aug={}}if(void 0===n){if(r in i.aug){const e=i.aug[r];delete i.aug[r],null===e?t.removeAttribute(r):t.setAttribute(r,e),o=!0}}else{let e;r in i.aug||(e=t.getAttribute(r)),void 0!==e&&e!==n&&(i.aug[r]=e,null===n?t.removeAttribute(r):t.setAttribute(r,n),o=!0)}return void 0===n&&0===Object.keys(i.aug).length&&(delete i.aug,e.storageEntry(t,!1)),o}function Zo(e){return"INPUT"===e.tagName&&!!e.name&&"radio"===e.type}function Qo(e){var t;return(null===(t=null==e?void 0:e.__tabsterDummyContainer)||void 0===t?void 0:t.get())||null}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */function ea(e,t){const r=JSON.stringify(e);return!0===t?r:{[no]:r}}class ta extends Go{constructor(e,t,r,n){super(e,t,1,n,void 0,!0),this._onDummyInputFocus=e=>{var t;if(e.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const r=this._element.get();if(r){this._setFocused(!0);const t=this._tabster.focusedElement.getFirstOrLastTabbable(e.isFirst,{container:r,ignoreAccessibility:!0});if(t)return void(0,ro.kG)(t)}null===(t=e.input)||void 0===t||t.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=e,this._setFocused=r}}class ra extends $o{constructor(e,t,r,n,i){super(e,t,n),this._isFocused=!1,this._setFocused=e=>{var t;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===e)return;const r=this._element.get();r&&(e?(this._isFocused=!0,null===(t=this._dummyManager)||void 0===t||t.setTabbable(!1),r.dispatchEvent(new xo({element:r}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout((()=>{var e;delete this._setFocusedTimer,this._isFocused=!1,null===(e=this._dummyManager)||void 0===e||e.setTabbable(!0),r.dispatchEvent(new ko({element:r}))}),0))},this._onFocusIn=e=>{const t=this._tabster.getParent,r=this._element.get();let n=e.composedPath()[0];do{if(n===r)return void this._setFocused(!0);n=n&&t(n)}while(n)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=r;const o=e.getWindow;this.uid=jo(o,t),this._sys=i,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();const a=o().document;a.addEventListener(ro.Oy,this._onFocusIn),a.addEventListener(ro.RY,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new ta(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var e;this._onDispose(this);const t=this._tabster.getWindow(),r=t.document;r.removeEventListener(ro.Oy,this._onFocusIn),r.removeEventListener(ro.RY,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),null===(e=this._dummyManager)||void 0===e||e.dispose(),this._remove()}moveOutWithDefaultAction(e,t){const r=this._dummyManager;if(r)r.moveOutWithDefaultAction(e,t);else{const r=this.getElement();r&&ta.moveWithPhantomDummy(this._tabster,r,!0,e,t)}}_add(){}_remove(){}}class na{constructor(e,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var e;const t=this._win().document,r=t.body;if(r){this._autoRootUnwait(t);const n=this._autoRoot;if(n)return function(e,t,r){let n;if(r){const t=e.getAttribute(no);if(t)try{n=JSON.parse(t)}catch(e){}}n||(n={}),function(e,t){for(const r of Object.keys(t)){const n=t[r];n?e[r]=n:delete e[r]}}(n,t),Object.keys(n).length>0?e.setAttribute(no,ea(n,!0)):e.removeAttribute(no)}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */(r,{root:n},!0),co(this._tabster,r),null===(e=lo(this._tabster,r))||void 0===e?void 0:e.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,t.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=e=>{delete this._roots[e.id]},this._tabster=e,this._win=e.getWindow,this._autoRoot=t,e.queueInit((()=>{this._autoRoot&&this._autoRootCreate()}))}_autoRootUnwait(e){e.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const e=this._win();this._autoRootUnwait(e.document),delete this._autoRoot,Object.keys(this._roots).forEach((e=>{this._roots[e]&&(this._roots[e].dispose(),delete this._roots[e])})),this.rootById={}}createRoot(e,t,r){const n=new ra(this._tabster,e,this._onRootDispose,t,r);return this._roots[n.id]=n,this._forceDummy&&n.addDummyInputs(),n}addDummyInputs(){this._forceDummy=!0;const e=this._roots;for(const t of Object.keys(e))e[t].addDummyInputs()}static getRootByUId(e,t){const r=e().__tabsterInstance;return r&&r.root.rootById[t]}static getTabsterContext(e,t,r){var n,i,o,a;if(void 0===r&&(r={}),!t.ownerDocument)return;const{checkRtl:s,referenceElement:l}=r,c=e.getParent;let u,d,p,f;e.drainInitQueue();let h,g,m,v,y=!1,b=l||t;const w={};for(;b&&(!u||s);){const r=lo(e,b);if(s&&void 0===m){const e=b.dir;e&&(m="rtl"===e.toLowerCase())}if(!r){b=c(b);continue}const a=b.tagName;(r.uncontrolled||"IFRAME"===a||"WEBVIEW"===a)&&e.focusable.isVisible(b)&&(v=b),f||!(null===(n=r.focusable)||void 0===n?void 0:n.excludeFromMover)||p||(y=!0);const l=r.modalizer,S=r.groupper,C=r.mover;!d&&l&&(d=l),p||!S||d&&!l||(d?(!S.isActive()&&S.getProps().tabbability&&d.userId!==(null===(i=e.modalizer)||void 0===i?void 0:i.activeId)&&(d=void 0,p=S),g=S):p=S),f||!C||d&&!l||S&&b===t||!b.contains(t)||(f=C,h=!!p&&p!==S),r.root&&(u=r.root),(null===(o=r.focusable)||void 0===o?void 0:o.ignoreKeydown)&&Object.assign(w,r.focusable.ignoreKeydown),b=c(b)}if(!u){const r=e.root;r._autoRoot&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.body)&&(u=r._autoRootCreate())}return p&&!f&&(h=!0),u?{root:u,modalizer:d,groupper:p,mover:f,groupperBeforeMover:h,modalizerInGroupper:g,rtl:s?!!m:void 0,uncontrolled:v,excludedFromMover:y,ignoreKeydown:e=>!!w[e.key]}:void 0}static getRoot(e,t){var r;const n=e.getParent;for(let i=t;i;i=n(i)){const t=null===(r=lo(e,i))||void 0===r?void 0:r.root;if(t)return t}}onRoot(e,t){t?delete this.rootById[e.uid]:this.rootById[e.uid]=e}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
class ia{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(e){const t=this._callbacks;t.indexOf(e)<0&&t.push(e)}subscribeFirst(e){const t=this._callbacks,r=t.indexOf(e);r>=0&&t.splice(r,1),t.unshift(e)}unsubscribe(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}setVal(e,t){this._val!==e&&(this._val=e,this._callCallbacks(e,t))}getVal(){return this._val}trigger(e,t){this._callCallbacks(e,t)}_callCallbacks(e,t){this._callbacks.forEach((r=>r(e,t)))}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
class oa{constructor(e){this._tabster=e}dispose(){}getProps(e){const t=lo(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,r,n){return!(!qo(e,io)||!t&&-1===e.tabIndex)&&(r||this.isVisible(e))&&(n||this.isAccessible(e))}isVisible(e){if(!e.ownerDocument||e.nodeType!==Node.ELEMENT_NODE)return!1;if(function(e){var t,r;const n=e.ownerDocument,i=null===(t=n.defaultView)||void 0===t?void 0:t.getComputedStyle(e);if(null===e.offsetParent&&n.body!==e&&"fixed"!==(null==i?void 0:i.position))return!0;if("hidden"===(null==i?void 0:i.visibility))return!0;if("fixed"===(null==i?void 0:i.position)){if("none"===i.display)return!0;if(null===(null===(r=e.parentElement)||void 0===r?void 0:r.offsetParent)&&n.body!==e.parentElement)return!0}return!1}(e))return!1;const t=e.ownerDocument.body.getBoundingClientRect();return 0!==t.width||0!==t.height}isAccessible(e){var t;for(let r=e;r;r=Eo.getParentElement(r)){const e=lo(this._tabster,r);if(this._isHidden(r))return!1;if(!(null===(t=null==e?void 0:e.focusable)||void 0===t?void 0:t.ignoreAriaDisabled)&&this._isDisabled(r))return!1}return!0}_isDisabled(e){return e.hasAttribute("disabled")}_isHidden(e){var t;const r=e.getAttribute("aria-hidden");return!(!r||"true"!==r.toLowerCase()||(null===(t=this._tabster.modalizer)||void 0===t?void 0:t.isAugmented(e)))}findFirst(e,t){return this.findElement({...e},t)}findLast(e,t){return this.findElement({isBackward:!0,...e},t)}findNext(e,t){return this.findElement({...e},t)}findPrev(e,t){return this.findElement({...e,isBackward:!0},t)}findDefault(e,t){return this.findElement({...e,acceptCondition:t=>this.isFocusable(t,e.includeProgrammaticallyFocusable)&&!!this.getProps(t).isDefault},t)||null}findAll(e){return this._findElements(!0,e)||[]}findElement(e,t){const r=this._findElements(!1,e,t);return r?r[0]:r}_findElements(e,t,r){var n,i,o;const{container:a,currentElement:s=null,includeProgrammaticallyFocusable:l,useActiveModalizer:c,ignoreAccessibility:u,modalizerId:d,isBackward:p,onElement:f}=t;r||(r={});const h=[];let{acceptCondition:g}=t;const m=!!g;if(!a)return null;g||(g=e=>this.isFocusable(e,l,!1,u));const v={container:a,modalizerUserId:void 0===d&&c?null===(n=this._tabster.modalizer)||void 0===n?void 0:n.activeId:d||(null===(o=null===(i=na.getTabsterContext(this._tabster,a))||void 0===i?void 0:i.modalizer)||void 0===o?void 0:o.userId),from:s||a,isBackward:p,isFindAll:e,acceptCondition:g,hasCustomCondition:m,includeProgrammaticallyFocusable:l,ignoreAccessibility:u,cachedGrouppers:{},cachedRadioGroups:{}},y=Oo(a.ownerDocument,a,(e=>this._acceptElement(e,v)));if(!y)return null;const b=t=>{var n,i;const o=null!==(n=v.foundElement)&&void 0!==n?n:v.foundBackward;return o&&h.push(o),e?!(o&&(v.found=!1,delete v.foundElement,delete v.foundBackward,delete v.fromCtx,v.from=o,f&&!f(o))||!o&&!t):(o&&r&&(r.uncontrolled=null===(i=na.getTabsterContext(this._tabster,o))||void 0===i?void 0:i.uncontrolled),!(!t||o))};if(s||(r.outOfDOMOrder=!0),s&&Eo.nodeContains(a,s))y.currentNode=s;else if(p){const e=Yo(a);if(!e)return null;if(this._acceptElement(e,v)===NodeFilter.FILTER_ACCEPT&&!b(!0))return v.skippedFocusable&&(r.outOfDOMOrder=!0),h;y.currentNode=e}do{p?y.previousNode():y.nextNode()}while(b());return v.skippedFocusable&&(r.outOfDOMOrder=!0),h.length?h:null}_acceptElement(e,t){var r,n,i;if(t.found)return NodeFilter.FILTER_ACCEPT;const o=t.foundBackward;if(o&&(e===o||!Eo.nodeContains(o,e)))return t.found=!0,t.foundElement=o,NodeFilter.FILTER_ACCEPT;const a=t.container;if(e===a)return NodeFilter.FILTER_SKIP;if(!Eo.nodeContains(a,e))return NodeFilter.FILTER_REJECT;if(Qo(e))return NodeFilter.FILTER_REJECT;if(Eo.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;const s=t.currentCtx=na.getTabsterContext(this._tabster,e);if(!s)return NodeFilter.FILTER_SKIP;if(Lo(e))return this.isFocusable(e,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&("IFRAME"===e.tagName||"WEBVIEW"===e.tagName))return this.isVisible(e)&&(null===(r=s.modalizer)||void 0===r?void 0:r.userId)===(null===(n=this._tabster.modalizer)||void 0===n?void 0:n.activeId)?(t.found=!0,t.rejectElementsFrom=t.foundElement=e,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(e))return this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let l,c=t.fromCtx;c||(c=t.fromCtx=na.getTabsterContext(this._tabster,t.from));const u=null==c?void 0:c.mover;let d=s.groupper,p=s.mover;if(l=null===(i=this._tabster.modalizer)||void 0===i?void 0:i.acceptElement(e,t),void 0!==l&&(t.skippedFocusable=!0),void 0===l&&(d||p||u)){const r=null==d?void 0:d.getElement(),n=null==u?void 0:u.getElement();let i=null==p?void 0:p.getElement();if(i&&Eo.nodeContains(n,i)&&Eo.nodeContains(a,n)&&(!r||!p||Eo.nodeContains(n,r))&&(p=u,i=n),r)if(r!==a&&Eo.nodeContains(a,r)){if(!Eo.nodeContains(r,e))return NodeFilter.FILTER_REJECT}else d=void 0;if(i)if(Eo.nodeContains(a,i)){if(!Eo.nodeContains(i,e))return NodeFilter.FILTER_REJECT}else p=void 0;d&&p&&(i&&r&&!Eo.nodeContains(r,i)?p=void 0:d=void 0),d&&(l=d.acceptElement(e,t)),p&&(l=p.acceptElement(e,t))}if(void 0===l&&(l=t.acceptCondition(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,l===NodeFilter.FILTER_SKIP&&this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0)),l===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&Zo(e)&&!e.checked){const r=e.name;let n=t.cachedRadioGroups[r];if(n||(n=function(e){if(!Zo(e))return;const t=e.name;let r,n=Array.from(Eo.getElementsByName(e,t));return n=n.filter((e=>!!Zo(e)&&(e.checked&&(r=e),!0))),{name:t,buttons:new Set(n),checked:r}}(e),n&&(t.cachedRadioGroups[r]=n)),(null==n?void 0:n.checked)&&n.checked!==e)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=e,l=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=e)}return l}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const aa="Home",sa="ArrowLeft",la="ArrowUp",ca="ArrowRight",ua="ArrowDown",da={[ao]:0,[so]:1,[oo]:2};
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class pa extends ia{constructor(e,t){super(),this._init=()=>{const e=this._win(),t=e.document;t.addEventListener(ro.Oy,this._onFocusIn,!0),t.addEventListener(ro.RY,this._onFocusOut,!0),e.addEventListener("keydown",this._onKeyDown,!0);const r=Eo.getActiveElement(t);r&&r!==t.body&&this._setFocusedElement(r),this.subscribe(this._onChanged)},this._onFocusIn=e=>{const t=e.composedPath()[0];t&&this._setFocusedElement(t,e.detail.relatedTarget,e.detail.isFocusedProgrammatically)},this._onFocusOut=e=>{var t;this._setFocusedElement(void 0,null===(t=e.detail)||void 0===t?void 0:t.originalEvent.relatedTarget)},this._validateFocusedElement=e=>{},this._onKeyDown=e=>{if("Tab"!==e.key||e.ctrlKey)return;const t=this.getVal();if(!t||!t.ownerDocument||"true"===t.contentEditable)return;const r=this._tabster,n=r.controlTab,i=na.getTabsterContext(r,t);if(!i||i.ignoreKeydown(e))return;const o=e.shiftKey,a=pa.findNextTabbable(r,i,void 0,t,void 0,o,!0),s=i.root.getElement();if(!s)return;const l=null==a?void 0:a.element,c=function(e,t){var r;const n=e.getParent;let i=t;do{const t=null===(r=lo(e,i))||void 0===r?void 0:r.uncontrolled;if(t&&e.uncontrolled.isUncontrolledCompletely(i,!!t.completely))return i;i=n(i)}while(i)}(r,t);if(l){const u=a.uncontrolled;if(i.uncontrolled||Eo.nodeContains(u,t)){if(!a.outOfDOMOrder&&u===i.uncontrolled||c&&!Eo.nodeContains(c,l))return;return void Go.addPhantomDummyWithTarget(r,t,o,l)}if(u&&r.focusable.isVisible(u)||"IFRAME"===l.tagName&&r.focusable.isVisible(l))return void(s.dispatchEvent(new bo({by:"root",owner:s,next:l,relatedEvent:e}))&&Go.moveWithPhantomDummy(r,null!=u?u:l,!1,o,e));(n||(null==a?void 0:a.outOfDOMOrder))&&s.dispatchEvent(new bo({by:"root",owner:s,next:l,relatedEvent:e}))&&(e.preventDefault(),e.stopImmediatePropagation(),(0,ro.kG)(l))}else!c&&s.dispatchEvent(new bo({by:"root",owner:s,next:null,relatedEvent:e}))&&i.root.moveOutWithDefaultAction(o,e)},this._onChanged=(e,t)=>{var r,n;if(e)e.dispatchEvent(new vo(t));else{const e=null===(r=this._lastVal)||void 0===r?void 0:r.get();if(e){const r={...t},i=na.getTabsterContext(this._tabster,e),o=null===(n=null==i?void 0:i.modalizer)||void 0===n?void 0:n.userId;o&&(r.modalizerId=o),e.dispatchEvent(new yo(r))}}},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){super.dispose();const e=this._win(),t=e.document;t.removeEventListener(ro.Oy,this._onFocusIn,!0),t.removeEventListener(ro.RY,this._onFocusOut,!0),e.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const r=this._asyncFocus;r&&(e.clearTimeout(r.timeout),delete this._asyncFocus),delete pa._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(e,t){var r,n;let i=pa._lastResetElement,o=i&&i.get();o&&Eo.nodeContains(t,o)&&delete pa._lastResetElement,o=null===(n=null===(r=e._nextVal)||void 0===r?void 0:r.element)||void 0===n?void 0:n.get(),o&&Eo.nodeContains(t,o)&&delete e._nextVal,i=e._lastVal,o=i&&i.get(),o&&Eo.nodeContains(t,o)&&delete e._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var e;let t=null===(e=this._lastVal)||void 0===e?void 0:e.get();return(!t||t&&!Ho(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(e,t,r,n){return!!this._tabster.focusable.isFocusable(e,t,!1,r)&&(e.focus({preventScroll:n}),!0)}focusDefault(e){const t=this._tabster.focusable.findDefault({container:e});return!!t&&(this._tabster.focusedElement.focus(t),!0)}getFirstOrLastTabbable(e,t){var r;const{container:n,ignoreAccessibility:i}=t;let o;if(n){const t=na.getTabsterContext(this._tabster,n);t&&(o=null===(r=pa.findNextTabbable(this._tabster,t,n,void 0,void 0,!e,i))||void 0===r?void 0:r.element)}return o&&!Eo.nodeContains(n,o)&&(o=void 0),o||void 0}_focusFirstOrLast(e,t){const r=this.getFirstOrLastTabbable(e,t);return!!r&&(this.focus(r,!1,!0),!0)}focusFirst(e){return this._focusFirstOrLast(!0,e)}focusLast(e){return this._focusFirstOrLast(!1,e)}resetFocus(e){if(!this._tabster.focusable.isVisible(e))return!1;if(this._tabster.focusable.isFocusable(e,!0,!0,!0))this.focus(e);else{const t=e.getAttribute("tabindex"),r=e.getAttribute("aria-hidden");e.tabIndex=-1,e.setAttribute("aria-hidden","true"),pa._lastResetElement=new Do(this._win,e),this.focus(e,!0,!0),this._setOrRemoveAttribute(e,"tabindex",t),this._setOrRemoveAttribute(e,"aria-hidden",r)}return!0}requestAsyncFocus(e,t,r){const n=this._tabster.getWindow(),i=this._asyncFocus;if(i){if(da[e]>da[i.source])return;n.clearTimeout(i.timeout)}this._asyncFocus={source:e,callback:t,timeout:n.setTimeout((()=>{this._asyncFocus=void 0,t()}),r)}}cancelAsyncFocus(e){const t=this._asyncFocus;(null==t?void 0:t.source)===e&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(e,t,r){null===r?e.removeAttribute(t):e.setAttribute(t,r)}_setFocusedElement(e,t,r){var n,i;if(this._tabster._noop)return;const o={relatedTarget:t};if(e){const t=null===(n=pa._lastResetElement)||void 0===n?void 0:n.get();if(pa._lastResetElement=void 0,t===e||Lo(e))return;o.isFocusedProgrammatically=r;const a=na.getTabsterContext(this._tabster,e),s=null===(i=null==a?void 0:a.modalizer)||void 0===i?void 0:i.userId;s&&(o.modalizerId=s)}const a=this._nextVal={element:e?new Do(this._win,e):void 0,detail:o};e&&e!==this._val&&this._validateFocusedElement(e),this._nextVal===a&&this.setVal(e,o),this._nextVal=void 0}setVal(e,t){super.setVal(e,t),e&&(this._lastVal=new Do(this._win,e))}static findNextTabbable(e,t,r,n,i,o,a){const s=r||t.root.getElement();if(!s)return null;let l=null;const c=pa._isTabbingTimer,u=e.getWindow();c&&u.clearTimeout(c),pa.isTabbing=!0,pa._isTabbingTimer=u.setTimeout((()=>{delete pa._isTabbingTimer,pa.isTabbing=!1}),0);const d=t.modalizer,p=t.groupper,f=t.mover,h=t=>{if(l=t.findNextTabbable(n,i,o,a),n&&!(null==l?void 0:l.element)){const i=t!==d&&Eo.getParentElement(t.getElement());if(i){const s=na.getTabsterContext(e,n,{referenceElement:i});if(s){const n=t.getElement(),c=o?n:n&&Yo(n)||n;c&&(l=pa.findNextTabbable(e,s,r,c,i,o,a),l&&(l.outOfDOMOrder=!0))}}}};if(p&&f)h(t.groupperBeforeMover?p:f);else if(p)h(p);else if(f)h(f);else if(d)h(d);else{const t={container:s,currentElement:n,referenceElement:i,ignoreAccessibility:a,useActiveModalizer:!0},r={},c=e.focusable[o?"findPrev":"findNext"](t,r);l={element:c,outOfDOMOrder:r.outOfDOMOrder,uncontrolled:r.uncontrolled}}return l}}pa.isTabbing=!1;
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
class fa extends ia{constructor(e){super(),this._onChange=e=>{this.setVal(e,void 0)},this._keyborg=(0,ro.SQ)(e()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),(0,ro.bd)(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(e){var t;null===(t=this._keyborg)||void 0===t||t.setVal(e)}isNavigatingWithKeyboard(){var e;return!!(null===(e=this._keyborg)||void 0===e?void 0:e.isNavigatingWithKeyboard())}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */let ha=0;const ga="aria-hidden";class ma extends Go{constructor(e,t,r){super(t,e,2,r),this._setHandlers(((r,n)=>{var i,o;const a=e.get(),s=a&&(null===(i=na.getRoot(t,a))||void 0===i?void 0:i.getElement()),l=r.input;let c;if(s&&l){const e=Qo(l),r=na.getTabsterContext(t,e||l);r&&(c=null===(o=pa.findNextTabbable(t,r,s,l,void 0,n,!0))||void 0===o?void 0:o.element),c&&(0,ro.kG)(c)}}))}}class va extends $o{constructor(e,t,r,n,i,o){super(e,t,n),this._wasFocused=0,this.userId=n.id,this._onDispose=r,this._activeElements=o,e.controlTab||(this.dummyManager=new ma(this._element,e,i))}makeActive(e){if(this._isActive!==e){this._isActive=e;const t=this.getElement();if(t){const r=this._activeElements,n=r.map((e=>e.get())).indexOf(t);e?n<0&&r.push(new Do(this._tabster.getWindow,t)):n>=0&&r.splice(n,1)}this._dispatchEvent(e)}}focused(e){return e||(this._wasFocused=++ha),this._wasFocused}setProps(e){e.id&&(this.userId=e.id),this._props={...e}}dispose(){var e;this.makeActive(!1),this._onDispose(this),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(e){return Eo.nodeContains(this.getElement(),e)}findNextTabbable(e,t,r,n){var i,o;if(!this.getElement())return null;const a=this._tabster;let s,l=null,c=!1;const u=e&&(null===(i=na.getRoot(a,e))||void 0===i?void 0:i.getElement());if(u){const i={container:u,currentElement:e,referenceElement:t,ignoreAccessibility:n,useActiveModalizer:!0},d={};l=a.focusable[r?"findPrev":"findNext"](i,d),!l&&this._props.isTrapped&&(null===(o=a.modalizer)||void 0===o?void 0:o.activeId)?(l=a.focusable[r?"findLast":"findFirst"]({container:u,ignoreAccessibility:n,useActiveModalizer:!0},d),null===l&&(l=e),c=!0):c=!!d.outOfDOMOrder,s=d.uncontrolled}return{element:l,uncontrolled:s,outOfDOMOrder:c}}_dispatchEvent(e,t){const r=this.getElement();let n=!1;if(r){const i=t?this._activeElements.map((e=>e.get())):[r];for(const t of i)if(t){const i={id:this.userId,element:r},o=e?new So(i):new Co(i);t.dispatchEvent(o),o.defaultPrevented&&(n=!0)}}return n}_remove(){}}class ya{constructor(e,t,r){this._onModalizerDispose=e=>{const t=e.id,r=e.userId,n=this._parts[r];if(delete this._modalizers[t],n&&(delete n[t],0===Object.keys(n).length)){delete this._parts[r];const e=this._activationHistory,t=[];let n;for(let i=e.length;i--;){const o=e[i];o!==r&&o!==n&&(n=o,(o||t.length>0)&&t.unshift(o))}if(this._activationHistory=t,this.activeId===r){const e=t[0],r=e?Object.values(this._parts[e])[0]:void 0;this.setActive(r)}}},this._onKeyDown=e=>{var t;if("Escape"!==e.key)return;const r=this._tabster,n=r.focusedElement.getFocusedElement();if(n){const i=na.getTabsterContext(r,n),o=null==i?void 0:i.modalizer;if(i&&!i.groupper&&(null==o?void 0:o.isActive())&&!i.ignoreKeydown(e)){const n=o.userId;if(n){const i=this._parts[n];if(i){const n=Object.keys(i).map((e=>{var t;const n=i[e],o=n.getElement();let a;return o&&(a=null===(t=lo(r,o))||void 0===t?void 0:t.groupper),n&&o&&a?{el:o,focusedSince:n.focused(!0)}:{focusedSince:0}})).filter((e=>e.focusedSince>0)).sort(((e,t)=>e.focusedSince>t.focusedSince?-1:e.focusedSince<t.focusedSince?1:0));if(n.length){const i=n[0].el;i&&(null===(t=r.groupper)||void 0===t||t.handleKeyPress(i,e,!0))}}}}}},this._onFocus=(e,t)=>{var r;const n=this._tabster,i=e&&na.getTabsterContext(n,e);if(!i||!e)return;const o=this._augMap;for(let t=e;t;t=Eo.getParentElement(t))o.has(t)&&(o.delete(t),Jo(n,t,ga));let a=i.modalizer;const s=lo(n,e),l=null==s?void 0:s.modalizer;if(l&&(l.focused(),l.userId===this.activeId&&s.groupper)){const t=n.getParent(e),i=t&&(null===(r=na.getTabsterContext(n,t))||void 0===r?void 0:r.modalizer);if(!i)return void this.setActive(void 0);a=i}if(null==a||a.focused(),(null==a?void 0:a.userId)!==this.activeId)if(t.isFocusedProgrammatically||this.currentIsOthersAccessible||(null==a?void 0:a.getProps().isAlwaysAccessible))this.setActive(a);else{const t=this._win();t.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=t.setTimeout((()=>this._restoreModalizerFocus(e)),100)}else this.currentIsOthersAccessible=null==a?void 0:a.getProps().isOthersAccessible},this._tabster=e,this._win=e.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=t,this._accessibleCheck=r,this._activationHistory=[],this.activeElements=[],e.controlTab||e.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),e.queueInit((()=>{this._tabster.focusedElement.subscribe(this._onFocus)}))}dispose(){const e=this._win();e.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach((e=>{this._modalizers[e]&&(this._modalizers[e].dispose(),delete this._modalizers[e])})),e.clearTimeout(this._restoreModalizerFocusTimer),e.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(e,t,r){var n;const i=new va(this._tabster,e,this._onModalizerDispose,t,r,this.activeElements),o=i.id,a=t.id;this._modalizers[o]=i;let s=this._parts[a];s||(s=this._parts[a]={}),s[o]=i;const l=null!==(n=this._tabster.focusedElement.getFocusedElement())&&void 0!==n?n:null;return e!==l&&Eo.nodeContains(e,l)&&(a!==this.activeId?this.setActive(i):i.makeActive(!0)),i}isAugmented(e){return this._augMap.has(e)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout((()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()}),250))}setActive(e){const t=null==e?void 0:e.userId,r=this.activeId;if(r===t)return;if(this.activeId=t,r){const e=this._parts[r];if(e)for(const t of Object.keys(e))e[t].makeActive(!1)}if(t){const e=this._parts[t];if(e)for(const t of Object.keys(e))e[t].makeActive(!0)}this.currentIsOthersAccessible=null==e?void 0:e.getProps().isOthersAccessible,this.hiddenUpdate();const n=this._activationHistory;n[0]!==t&&(void 0!==t||n.length>0)&&n.unshift(t)}focus(e,t,r){const n=this._tabster,i=na.getTabsterContext(n,e),o=null==i?void 0:i.modalizer;if(o){this.setActive(o);const e=o.getProps(),i=o.getElement();if(i){if(void 0===t&&(t=e.isNoFocusFirst),!t&&n.keyboardNavigation.isNavigatingWithKeyboard()&&n.focusedElement.focusFirst({container:i}))return!0;if(void 0===r&&(r=e.isNoFocusDefault),!r&&n.focusedElement.focusDefault(i))return!0;n.focusedElement.resetFocus(i)}}return!1}activate(e){var t;const r=e?null===(t=na.getTabsterContext(this._tabster,e))||void 0===t?void 0:t.modalizer:void 0;return!(e&&!r||(this.setActive(r),0))}acceptElement(e,t){var r;const n=t.modalizerUserId,i=null===(r=t.currentCtx)||void 0===r?void 0:r.modalizer;if(n)for(const t of this.activeElements){const r=t.get();if(r&&(Eo.nodeContains(e,r)||r===e))return NodeFilter.FILTER_SKIP}const o=n===(null==i?void 0:i.userId)||!n&&(null==i?void 0:i.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return void 0!==o&&(t.skippedFocusable=!0),o}_hiddenUpdate(){var e;const t=this._tabster,r=t.getWindow().document.body,n=this.activeId,i=this._parts,o=[],a=[],s=this._alwaysAccessibleSelector,l=s?Array.from(Eo.querySelectorAll(r,s)):[],c=[];for(const e of Object.keys(i)){const t=i[e];for(const r of Object.keys(t)){const i=t[r],s=i.getElement(),u=i.getProps().isAlwaysAccessible;s&&(e===n?(c.push(s),this.currentIsOthersAccessible||o.push(s)):u?l.push(s):a.push(s))}}const u=this._augMap,d=o.length>0?[...o,...l]:void 0,p=[],f=new WeakMap,h=(e,r)=>{var n;const i=e.tagName;if("SCRIPT"===i||"STYLE"===i)return;let o=!1;u.has(e)?r?o=!0:(u.delete(e),Jo(t,e,ga)):r&&!(null===(n=this._accessibleCheck)||void 0===n?void 0:n.call(this,e,c))&&Jo(t,e,ga,"true")&&(u.set(e,!0),o=!0),o&&(p.push(new Do(t.getWindow,e)),f.set(e,!0))},g=e=>{var r;for(let n=Eo.getFirstElementChild(e);n;n=Eo.getNextElementSibling(n)){let e=!1,i=!1,o=!1;if(d){const a=t.getParent(n);for(const t of d){if(n===t){e=!0;break}if(Eo.nodeContains(n,t)){i=!0;break}Eo.nodeContains(t,a)&&(o=!0)}i||(null===(r=n.__tabsterElementFlags)||void 0===r?void 0:r.noDirectAriaHidden)?g(n):e||o||h(n,!0)}else h(n,!1)}};d||l.forEach((e=>h(e,!1))),a.forEach((e=>h(e,!0))),r&&g(r),null===(e=this._aug)||void 0===e||e.map((e=>e.get())).forEach((e=>{e&&!f.get(e)&&h(e,!1)})),this._aug=p,this._augMap=f}_restoreModalizerFocus(e){var t;const r=null==e?void 0:e.ownerDocument;if(!e||!r)return;const n=this._tabster.focusedElement.getFocusedElement(),i=n&&(null===(t=na.getTabsterContext(this._tabster,n))||void 0===t?void 0:t.modalizer);if(!n||n&&(null==i?void 0:i.userId)===this.activeId)return;const o=this._tabster,a=na.getTabsterContext(o,e),s=null==a?void 0:a.modalizer,l=this.activeId;if(!s&&!l||s&&l===s.userId)return;const c=null==a?void 0:a.root.getElement();if(c){let t=o.focusable.findFirst({container:c,useActiveModalizer:!0});if(t){if(e.compareDocumentPosition(t)&document.DOCUMENT_POSITION_PRECEDING&&(t=o.focusable.findLast({container:c,useActiveModalizer:!0}),!t))throw new Error("Something went wrong.");return void o.focusedElement.focus(t)}}e.blur()}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const ba=["input","textarea","*[contenteditable]"].join(", ");class wa extends Go{constructor(e,t,r,n){super(t,e,3,n),this._onFocusDummyInput=e=>{var t,r;const n=this._element.get(),i=e.input;if(n&&i){const o=na.getTabsterContext(this._tabster,n);let a;o&&(a=null===(t=pa.findNextTabbable(this._tabster,o,void 0,i,void 0,!e.isFirst,!0))||void 0===t?void 0:t.element);const s=null===(r=this._getMemorized())||void 0===r?void 0:r.get();s&&this._tabster.focusable.isFocusable(s)&&(a=s),a&&(0,ro.kG)(a)}},this._tabster=t,this._getMemorized=r,this._setHandlers(this._onFocusDummyInput)}}class Sa extends $o{constructor(e,t,r,n,i){var o;super(e,t,n),this._visible={},this._onIntersection=e=>{for(const t of e){const e=t.target,r=jo(this._win,e);let n,i=this._fullyVisible;if(t.intersectionRatio>=.25?(n=t.intersectionRatio>=.75?2:1,2===n&&(i=r)):n=0,this._visible[r]!==n){void 0===n?(delete this._visible[r],i===r&&delete this._fullyVisible):(this._visible[r]=n,this._fullyVisible=i);const t=this.getState(e);t&&e.dispatchEvent(new wo(t))}}},this._win=e.getWindow,this.visibilityTolerance=null!==(o=n.visibilityTolerance)&&void 0!==o?o:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=r;e.controlTab||(this.dummyManager=new wa(this._element,e,(()=>n.memorizeCurrent?this._current:void 0),i))}dispose(){var e;this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const t=this._win();this._setCurrentTimer&&(t.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager}setCurrent(e){this._current=e?new Do(this._win,e):void 0,!this._props.trackState&&!this._props.visibilityAware||this._setCurrentTimer||(this._setCurrentTimer=this._win().setTimeout((()=>{var e;delete this._setCurrentTimer;const t=[];this._current!==this._prevCurrent&&(t.push(this._current),t.push(this._prevCurrent),this._prevCurrent=this._current);for(const r of t){const t=null==r?void 0:r.get();if(t&&(null===(e=this._allElements)||void 0===e?void 0:e.get(t))===this){const e=this._props;if(t&&(void 0!==e.visibilityAware||e.trackState)){const e=this.getState(t);e&&t.dispatchEvent(new wo(e))}}}})))}getCurrent(){var e;return(null===(e=this._current)||void 0===e?void 0:e.get())||null}findNextTabbable(e,t,r,n){const i=this.getElement(),o=i&&Qo(e)===i;if(!i)return null;let a,s=null,l=!1;if(this._props.tabbable||o||e&&!Eo.nodeContains(i,e)){const o={currentElement:e,referenceElement:t,container:i,ignoreAccessibility:n,useActiveModalizer:!0},c={};s=this._tabster.focusable[r?"findPrev":"findNext"](o,c),l=!!c.outOfDOMOrder,a=c.uncontrolled}return{element:s,uncontrolled:a,outOfDOMOrder:l}}acceptElement(e,t){var r,n;if(!pa.isTabbing)return(null===(r=t.currentCtx)||void 0===r?void 0:r.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:i,visibilityAware:o,hasDefault:a=!0}=this._props,s=this.getElement();if(s&&(i||o||a)&&(!Eo.nodeContains(s,t.from)||Qo(t.from)===s)){let e;if(i){const r=null===(n=this._current)||void 0===n?void 0:n.get();r&&t.acceptCondition(r)&&(e=r)}if(!e&&a&&(e=this._tabster.focusable.findDefault({container:s,useActiveModalizer:!0})),!e&&o&&(e=this._tabster.focusable.findElement({container:s,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:e=>{var r;const n=jo(this._win,e),i=this._visible[n];return s!==e&&!!(null===(r=this._allElements)||void 0===r?void 0:r.get(e))&&t.acceptCondition(e)&&(2===i||1===i&&(1===o||!this._fullyVisible))}})),e)return t.found=!0,t.foundElement=e,t.rejectElementsFrom=s,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const e=this.getElement();if(this._unobserve||!e||"undefined"==typeof MutationObserver)return;const t=this._win(),r=this._allElements=new WeakMap,n=this._tabster.focusable;let i=this._updateQueue=[];const o=Eo.createMutationObserver((e=>{for(const t of e){const e=t.target,r=t.removedNodes,n=t.addedNodes;if("attributes"===t.type)"tabindex"===t.attributeName&&i.push({element:e,type:2});else{for(let e=0;e<r.length;e++)i.push({element:r[e],type:3});for(let e=0;e<n.length;e++)i.push({element:n[e],type:1})}}u()})),a=(e,t)=>{var n,i;const o=r.get(e);o&&t&&(null===(n=this._intersectionObserver)||void 0===n||n.unobserve(e),r.delete(e)),o||t||(r.set(e,this),null===(i=this._intersectionObserver)||void 0===i||i.observe(e))},s=e=>{const t=n.isFocusable(e);r.get(e)?t||a(e,!0):t&&a(e)},l=e=>{const{mover:r}=d(e);if(r&&r!==this){if(r.getElement()!==e||!n.isFocusable(e))return;a(e)}const i=Oo(t.document,e,(e=>{const{mover:t,groupper:r}=d(e);if(t&&t!==this)return NodeFilter.FILTER_REJECT;const i=null==r?void 0:r.getFirst(!0);return r&&r.getElement()!==e&&i&&i!==e?NodeFilter.FILTER_REJECT:(n.isFocusable(e)&&a(e),NodeFilter.FILTER_SKIP)}));if(i)for(i.currentNode=e;i.nextNode(););},c=e=>{r.get(e)&&a(e,!0);for(let t=Eo.getFirstElementChild(e);t;t=Eo.getNextElementSibling(t))c(t)},u=()=>{!this._updateTimer&&i.length&&(this._updateTimer=t.setTimeout((()=>{delete this._updateTimer;for(const{element:e,type:t}of i)switch(t){case 2:s(e);break;case 1:l(e);break;case 3:c(e)}i=this._updateQueue=[]}),0))},d=e=>{const t={};for(let r=e;r;r=Eo.getParentElement(r)){const e=lo(this._tabster,r);if(e&&(e.groupper&&!t.groupper&&(t.groupper=e.groupper),e.mover)){t.mover=e.mover;break}}return t};i.push({element:e,type:1}),u(),o.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{o.disconnect()}}getState(e){const t=jo(this._win,e);if(t in this._visible){const r=this._visible[t]||0;return{isCurrent:this._current?this._current.get()===e:void 0,visibility:r}}}}class Ca{constructor(e,t){this._init=()=>{const e=this._win();e.addEventListener("keydown",this._onKeyDown,!0),e.addEventListener(po,this._onMoveFocus),e.addEventListener(fo,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=e=>{delete this._movers[e.id]},this._onFocus=e=>{var t;let r=e,n=e;for(let i=Eo.getParentElement(e);i;i=Eo.getParentElement(i)){const e=null===(t=lo(this._tabster,i))||void 0===t?void 0:t.mover;e&&(e.setCurrent(n),r=void 0),!r&&this._tabster.focusable.isFocusable(i)&&(r=n=i)}},this._onKeyDown=async e=>{var t;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1),e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;const r=e.key;let n;if(r===ua?n=2:r===ca?n=4:r===la?n=1:r===sa?n=3:"PageDown"===r?n=6:"PageUp"===r?n=5:r===aa?n=7:"End"===r&&(n=8),!n)return;const i=this._tabster.focusedElement.getFocusedElement();i&&!await this._isIgnoredInput(i,r)&&this._moveFocus(i,n,e)},this._onMoveFocus=e=>{var t;const r=e.composedPath()[0],n=null===(t=e.detail)||void 0===t?void 0:t.key;r&&void 0!==n&&!e.defaultPrevented&&(this._moveFocus(r,n),e.stopImmediatePropagation())},this._onMemorizedElement=e=>{var t;const r=e.composedPath()[0];let n=null===(t=e.detail)||void 0===t?void 0:t.memorizedElement;if(r){const t=na.getTabsterContext(this._tabster,r),i=null==t?void 0:t.mover;i&&(n&&!Eo.nodeContains(i.getElement(),n)&&(n=void 0),i.setCurrent(n),e.stopImmediatePropagation())}},this._tabster=e,this._win=t,this._movers={},e.queueInit(this._init)}dispose(){var e;const t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),null===(e=this._ignoredInputResolve)||void 0===e||e.call(this,!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener(po,this._onMoveFocus),t.removeEventListener(fo,this._onMemorizedElement),Object.keys(this._movers).forEach((e=>{this._movers[e]&&(this._movers[e].dispose(),delete this._movers[e])}))}createMover(e,t,r){const n=new Sa(this._tabster,e,this._onMoverDispose,t,r);return this._movers[n.id]=n,n}moveFocus(e,t){return this._moveFocus(e,t)}_moveFocus(e,t,r){var n,i;const o=this._tabster,a=na.getTabsterContext(o,e,{checkRtl:!0});if(!a||!a.mover||a.excludedFromMover||r&&a.ignoreKeydown(r))return null;const s=a.mover,l=s.getElement();if(a.groupperBeforeMover){const e=a.groupper;if(!e||e.isActive(!0))return null;for(let t=Eo.getParentElement(e.getElement());t&&t!==l;t=Eo.getParentElement(t))if(null===(i=null===(n=lo(o,t))||void 0===n?void 0:n.groupper)||void 0===i?void 0:i.isActive(!0))return null}if(!l)return null;const c=o.focusable,u=s.getProps(),d=u.direction||0,p=0===d,f=p||1===d,h=p||2===d,g=4===d,m=g||3===d,v=u.cyclic;let y,b,w,S=0,C=0;if(m&&(w=e.getBoundingClientRect(),S=Math.ceil(w.left),C=Math.floor(w.right)),a.rtl&&(4===t?t=3:3===t&&(t=4)),2===t&&f||4===t&&(h||m))if(y=c.findNext({currentElement:e,container:l,useActiveModalizer:!0}),y&&m){const e=Math.ceil(y.getBoundingClientRect().left);!g&&C>e&&(y=void 0)}else!y&&v&&(y=c.findFirst({container:l,useActiveModalizer:!0}));else if(1===t&&f||3===t&&(h||m))if(y=c.findPrev({currentElement:e,container:l,useActiveModalizer:!0}),y&&m){const e=Math.floor(y.getBoundingClientRect().right);!g&&e>S&&(y=void 0)}else!y&&v&&(y=c.findLast({container:l,useActiveModalizer:!0}));else if(7===t)m?c.findElement({container:l,currentElement:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{var r;if(!c.isFocusable(t))return!1;const n=Math.ceil(null!==(r=t.getBoundingClientRect().left)&&void 0!==r?r:0);return t!==e&&S<=n||(y=t,!1)}}):y=c.findFirst({container:l,useActiveModalizer:!0});else if(8===t)m?c.findElement({container:l,currentElement:e,useActiveModalizer:!0,acceptCondition:t=>{var r;if(!c.isFocusable(t))return!1;const n=Math.ceil(null!==(r=t.getBoundingClientRect().left)&&void 0!==r?r:0);return t!==e&&S>=n||(y=t,!1)}}):y=c.findLast({container:l,useActiveModalizer:!0});else if(5===t){if(c.findElement({currentElement:e,container:l,useActiveModalizer:!0,isBackward:!0,acceptCondition:e=>!(!c.isFocusable(e)||Mo(this._win,e,s.visibilityTolerance)&&(y=e,1))}),m&&y){const e=Math.ceil(y.getBoundingClientRect().left);c.findElement({currentElement:y,container:l,useActiveModalizer:!0,acceptCondition:t=>{if(!c.isFocusable(t))return!1;const r=Math.ceil(t.getBoundingClientRect().left);return S<r||e>=r||(y=t,!1)}})}b=!1}else if(6===t){if(c.findElement({currentElement:e,container:l,useActiveModalizer:!0,acceptCondition:e=>!(!c.isFocusable(e)||Mo(this._win,e,s.visibilityTolerance)&&(y=e,1))}),m&&y){const e=Math.ceil(y.getBoundingClientRect().left);c.findElement({currentElement:y,container:l,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{if(!c.isFocusable(t))return!1;const r=Math.ceil(t.getBoundingClientRect().left);return S>r||e<=r||(y=t,!1)}})}b=!0}else if(m){const r=1===t,n=S,i=Math.ceil(w.top),o=C,a=Math.floor(w.bottom);let s,u,d=0;c.findAll({container:l,currentElement:e,isBackward:r,onElement:e=>{const t=e.getBoundingClientRect(),l=Math.ceil(t.left),c=Math.ceil(t.top),p=Math.floor(t.right),f=Math.floor(t.bottom);if(r&&i<f||!r&&a>c)return!0;const h=Math.ceil(Math.min(o,p))-Math.floor(Math.max(n,l)),g=Math.ceil(Math.min(o-n,p-l));if(h>0&&g>=h){const t=h/g;t>d&&(s=e,d=t)}else if(0===d){const t=function(e,t,r,n,i,o,a,s){const l=r<i?i-r:a<e?e-a:0,c=n<o?o-n:s<t?t-s:0;return 0===l?c:0===c?l:Math.sqrt(l*l+c*c)}(n,i,o,a,l,c,p,f);(void 0===u||t<u)&&(u=t,s=e)}else if(d>0)return!1;return!0}}),y=s}return y&&(!r||r&&l.dispatchEvent(new bo({by:"mover",owner:l,next:y,relatedEvent:r})))?(void 0!==b&&function(e,t,r){const n=Fo(t);if(n){const i=zo(e,n),o=t.getBoundingClientRect();n.scrollTop+=r?o.top-i.top:o.bottom-i.bottom}}(this._win,y,b),r&&(r.preventDefault(),r.stopImmediatePropagation()),(0,ro.kG)(y),y):null}async _isIgnoredInput(e,t){if("true"===e.getAttribute("aria-expanded")&&e.hasAttribute("aria-activedescendant"))return!0;if(qo(e,ba)){let r,n=0,i=0,o=0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName){const r=e.type,a=e.value;if(o=(a||"").length,"email"===r||"number"===r){if(o){const r=Eo.getSelection(e);if(r){const e=r.toString().length,n=t===sa||t===la;if(r.modify("extend",n?"backward":"forward","character"),e!==r.toString().length)return r.modify("extend",n?"forward":"backward","character"),!0;o=0}}}else{const t=e.selectionStart;if(null===t)return"hidden"===r;n=t||0,i=e.selectionEnd||0}}else"true"===e.contentEditable&&(r=new(function(e){const t=To(e);if(t.basics.Promise)return t.basics.Promise;throw new Error("No Promise defined.")}(this._win))((t=>{this._ignoredInputResolve=e=>{delete this._ignoredInputResolve,t(e)};const r=this._win();this._ignoredInputTimer&&r.clearTimeout(this._ignoredInputTimer);const{anchorNode:a,focusNode:s,anchorOffset:l,focusOffset:c}=Eo.getSelection(e)||{};this._ignoredInputTimer=r.setTimeout((()=>{var t,r,u;delete this._ignoredInputTimer;const{anchorNode:d,focusNode:p,anchorOffset:f,focusOffset:h}=Eo.getSelection(e)||{};if(d===a&&p===s&&f===l&&h===c){if(n=f||0,i=h||0,o=(null===(r=e.textContent)||void 0===r?void 0:r.length)||0,d&&p&&Eo.nodeContains(e,d)&&Eo.nodeContains(e,p)&&d!==e){let t=!1;const r=e=>{if(e===d)t=!0;else if(e===p)return!0;const o=e.textContent;if(o&&!Eo.getFirstChild(e)){const e=o.length;t?p!==d&&(i+=e):(n+=e,i+=e)}let a=!1;for(let t=Eo.getFirstChild(e);t&&!a;t=t.nextSibling)a=r(t);return a};r(e)}null===(u=this._ignoredInputResolve)||void 0===u||u.call(this,!0)}else null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1)}),0)})));if(r&&!await r)return!0;if(n!==i)return!0;if(n>0&&(t===sa||t===la||t===aa))return!0;if(n<o&&(t===ca||t===ua||"End"===t))return!0}return!1}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
class Aa{constructor(e){this._isUncontrolledCompletely=e}isUncontrolledCompletely(e,t){var r;const n=null===(r=this._isUncontrolledCompletely)||void 0===r?void 0:r.call(this,e,t);return void 0===n?t:n}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class xa extends $o{constructor(e,t,r){var n;if(super(e,t,r),this._hasFocus=!1,this._onFocusOut=e=>{var t;const r=null===(t=this._element)||void 0===t?void 0:t.get();r&&null===e.relatedTarget&&r.dispatchEvent(new Ao),r&&!Eo.nodeContains(r,e.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},0===this._props.type){const e=null===(n=this._element)||void 0===n?void 0:n.get();null==e||e.addEventListener("focusout",this._onFocusOut),null==e||e.addEventListener("focusin",this._onFocusIn),this._hasFocus=Eo.nodeContains(e,e&&Eo.getActiveElement(e.ownerDocument))}}dispose(){var e;if(0===this._props.type){const t=null===(e=this._element)||void 0===e?void 0:e.get();null==t||t.removeEventListener("focusout",this._onFocusOut),null==t||t.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new Ao)}}}class ka{constructor(e){this._stack=[],this._getWindow=e}push(e){var t;(null===(t=this._stack[this._stack.length-1])||void 0===t?void 0:t.get())!==e&&(this._stack.length>ka.DEPTH&&this._stack.shift(),this._stack.push(new Do(this._getWindow,e)))}pop(e){var t;void 0===e&&(e=()=>!0);const r=this._getWindow().document;for(let n=this._stack.length-1;n>=0;n--){const n=null===(t=this._stack.pop())||void 0===t?void 0:t.get();if(n&&Eo.nodeContains(r.body,Eo.getParentElement(n))&&e(n))return n}}}ka.DEPTH=10;class Ea{constructor(e){this._onRestoreFocus=e=>{var t,r;this._focusedElementState.cancelAsyncFocus(2);const n=e.composedPath()[0];if(n){const e=null===(r=null===(t=lo(this._tabster,n))||void 0===t?void 0:t.restorer)||void 0===r?void 0:r.getProps().id;this._focusedElementState.requestAsyncFocus(2,(()=>this._restoreFocus(n,e)),0)}},this._onFocusIn=e=>{var t;if(!e)return;const r=lo(this._tabster,e);1===(null===(t=null==r?void 0:r.restorer)||void 0===t?void 0:t.getProps().type)&&this._history.push(e)},this._restoreFocus=(e,t)=>{var r;const n=this._getWindow().document;if(Eo.getActiveElement(n)!==n.body)return;if(!this._keyboardNavState.isNavigatingWithKeyboard()&&Eo.nodeContains(n.body,e))return;const i=e=>{var t,r;const n=null===(r=null===(t=lo(this._tabster,e))||void 0===t?void 0:t.restorer)||void 0===r?void 0:r.getProps();return n?n.id:null};null===(r=this._history.pop((e=>t===i(e))))||void 0===r||r.focus()},this._tabster=e,this._getWindow=e.getWindow,this._getWindow().addEventListener(ho,this._onRestoreFocus),this._history=new ka(this._getWindow),this._keyboardNavState=e.keyboardNavigation,this._focusedElementState=e.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const e=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(2),e.removeEventListener(ho,this._onRestoreFocus)}createRestorer(e,t){const r=new xa(this._tabster,e,t);return 1===t.type&&Eo.getActiveElement(e.ownerDocument)===e&&this._history.push(e),r}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
class _a{static _overrideAttachShadow(e){const t=e.Element.prototype.attachShadow;t.__origAttachShadow||(Element.prototype.attachShadow=function(e){const r=t.call(this,e);for(const e of _a._shadowObservers)e._addSubObserver(r);return r},Element.prototype.attachShadow.__origAttachShadow=t)}constructor(e){this._isObserving=!1,this._callbackWrapper=(e,t)=>{for(const t of e)if("childList"===t.type){const e=t.removedNodes,r=t.addedNodes;for(let t=0;t<e.length;t++)this._walkShadows(e[t],!0);for(let e=0;e<r.length;e++)this._walkShadows(r[e])}this._callback(e,t)},this._callback=e,this._observer=new MutationObserver(this._callbackWrapper),this._subObservers=new Map}_addSubObserver(e){if(this._options&&this._callback&&!this._subObservers.has(e)&&this._options.subtree&&function(e,t){var r,n;if(!e||!t)return!1;let i=t;for(;i;){if(i===e)return!0;i="function"!=typeof i.assignedElements&&(null===(r=i.assignedSlot)||void 0===r?void 0:r.parentNode)?null===(n=i.assignedSlot)||void 0===n?void 0:n.parentNode:i.nodeType===document.DOCUMENT_FRAGMENT_NODE?i.host:i.parentNode}return!1}(this._root,e)){const t=new MutationObserver(this._callbackWrapper);this._subObservers.set(e,t),this._isObserving&&t.observe(e,this._options),this._walkShadows(e)}}disconnect(){this._isObserving=!1,delete this._options,_a._shadowObservers.delete(this);for(const e of this._subObservers.values())e.disconnect();this._subObservers.clear(),this._observer.disconnect()}observe(e,t){const r=e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument,n=null==r?void 0:r.defaultView;r&&n&&(_a._overrideAttachShadow(n),_a._shadowObservers.add(this),this._root=e,this._options=t,this._isObserving=!0,this._observer.observe(e,t),this._walkShadows(e))}_walkShadows(e,t){const r=e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument;if(!r)return;if(e===r)e=r.body;else{const t=e.shadowRoot;if(t)return void this._addSubObserver(t)}r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{if(e.nodeType===Node.ELEMENT_NODE)if(t){const t=this._subObservers.get(e);t&&(t.disconnect(),this._subObservers.delete(e))}else{const t=e.shadowRoot;t&&this._addSubObserver(t)}return NodeFilter.FILTER_SKIP}}).nextNode()}takeRecords(){const e=this._observer.takeRecords();for(const t of this._subObservers.values())e.push(...t.takeRecords());return e}}_a._shadowObservers=new Set;
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
class Ia{constructor(e){this.keyboardNavigation=e.keyboardNavigation,this.focusedElement=e.focusedElement,this.focusable=e.focusable,this.root=e.root,this.uncontrolled=e.uncontrolled,this.core=e}}class Pa{constructor(e,t){var r,n;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.5.6",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=function(e){const t=e.__tabsterInstanceContext;return new((null==t?void 0:t.basics.WeakMap)||WeakMap)}(e),this._win=e;const i=this.getWindow;(null==t?void 0:t.DOMAPI)&&function(e){for(const t of Object.keys(e))Eo[t]=e[t]}({...t.DOMAPI}),this.keyboardNavigation=new fa(i),this.focusedElement=new pa(this,i),this.focusable=new oa(this),this.root=new na(this,null==t?void 0:t.autoRoot),this.uncontrolled=new Aa((null==t?void 0:t.checkUncontrolledCompletely)||(null==t?void 0:t.checkUncontrolledTrappingFocus)),this.controlTab=null===(r=null==t?void 0:t.controlTab)||void 0===r||r,this.rootDummyInputs=!!(null==t?void 0:t.rootDummyInputs),this._dummyObserver=new Ko(i),this.getParent=null!==(n=null==t?void 0:t.getParent)&&void 0!==n?n:Eo.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:e=>{if(!this._unobserve){const t=i().document;this._unobserve=function(e,t,r,n){if("undefined"==typeof MutationObserver)return()=>{};const i=t.getWindow;let o;function a(t,r){o||(o=To(i).elementByUId),s(t,r);const n=Oo(e,t,(e=>s(e,r)));if(n)for(;n.nextNode(););}function s(e,n){var a;if(!e.getAttribute)return NodeFilter.FILTER_SKIP;const s=e.__tabsterElementUID;return s&&o&&(n?delete o[s]:null!==(a=o[s])&&void 0!==a||(o[s]=new Do(i,e))),(lo(t,e)||e.hasAttribute(no))&&r(t,e,n),NodeFilter.FILTER_SKIP}const l=Eo.createMutationObserver((e=>{var n,i,o,s,l;const c=new Set;for(const l of e){const e=l.target,u=l.removedNodes,d=l.addedNodes;if("attributes"===l.type)l.attributeName===no&&(c.has(e)||r(t,e));else{for(let r=0;r<u.length;r++){const o=u[r];c.add(o),a(o,!0),null===(i=(n=t._dummyObserver).domChanged)||void 0===i||i.call(n,e)}for(let r=0;r<d.length;r++)a(d[r]),null===(s=(o=t._dummyObserver).domChanged)||void 0===s||s.call(o,e)}}c.clear(),null===(l=t.modalizer)||void 0===l||l.hiddenUpdate()}));return n&&a(i().document.body),l.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[no]}),()=>{l.disconnect()}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */(t,this,co,e)}}},Ro(i),this.queueInit((()=>{this.internal.resumeObserver(!0)}))}_mergeProps(e){var t;e&&(this.getParent=null!==(t=e.getParent)&&void 0!==t?t:this.getParent)}createTabster(e,t){const r=new Ia(this);return e||this._wrappers.add(r),this._mergeProps(t),r}disposeTabster(e,t){t?this._wrappers.clear():this._wrappers.delete(e),0===this._wrappers.size&&this.dispose()}dispose(){var e,t,r,n,i,o,a,s;this.internal.stopObserver();const l=this._win;null==l||l.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],l&&this._forgetMemorizedTimer&&(l.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),null===(e=this.outline)||void 0===e||e.dispose(),null===(t=this.crossOrigin)||void 0===t||t.dispose(),null===(r=this.deloser)||void 0===r||r.dispose(),null===(n=this.groupper)||void 0===n||n.dispose(),null===(i=this.mover)||void 0===i||i.dispose(),null===(o=this.modalizer)||void 0===o||o.dispose(),null===(a=this.observedElement)||void 0===a||a.dispose(),null===(s=this.restorer)||void 0===s||s.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),function(e){const t=To(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}(this.getWindow),Vo(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),l&&(function(e){const t=e.__tabsterInstanceContext;t&&(t.elementByUId={},delete t.WeakRef,t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),t.fakeWeakRefsTimer&&e.clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}(l),delete l.__tabsterInstance,delete this._win)}storageEntry(e,t){const r=this._storage;let n=r.get(e);return n?!1===t&&0===Object.keys(n).length&&r.delete(e):!0===t&&(n={},r.set(e,n)),n}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),this._forgetMemorizedTimer||(this._forgetMemorizedTimer=this._win.setTimeout((()=>{delete this._forgetMemorizedTimer;for(let e=this._forgetMemorizedElements.shift();e;e=this._forgetMemorizedElements.shift())Vo(this.getWindow,e),pa.forgetMemorized(this.focusedElement,e)}),0),No(this.getWindow,!0)))}queueInit(e){var t;this._win&&(this._initQueue.push(e),this._initTimer||(this._initTimer=null===(t=this._win)||void 0===t?void 0:t.setTimeout((()=>{delete this._initTimer,this.drainInitQueue()}),0)))}drainInitQueue(){if(!this._win)return;const e=this._initQueue;this._initQueue=[],e.forEach((e=>e()))}}function Ta(e){const t=e.core;return t.mover||(t.mover=new Ca(t,t.getWindow)),t.mover}function Ba(e,t,r){const n=e.core;return n.modalizer||(n.modalizer=new ya(n,t,r)),n.modalizer}function Da(e){const t=e.core;return t.restorer||(t.restorer=new Ea(t)),t.restorer}var Na=r(6971);function Ra(e,t={}){if(!e)return null;if(!t.skipVirtual){const t=function(e){return(t=e)&&t._virtual&&e._virtual.parent||null;var t}(e);if(t)return t}const r=e.parentNode;return r&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r}var Oa=r(2502);const za=e=>e;function Ma(e=za){const{targetDocument:t}=(0,Na.Y)(),r=o.useRef(null);return(0,Oa.E)((()=>{const n=function(e){const t=(null==e?void 0:e.defaultView)||void 0,r=null==t?void 0:t.__tabsterShadowDOMAPI;if(t)return function(e,t){let r=function(e){return e.__tabsterInstance}(e);return r?r.createTabster(!1,t):(r=new Pa(e,t),e.__tabsterInstance=r,r.createTabster())}(t,{autoRoot:{},controlTab:!1,getParent:Ra,checkUncontrolledTrappingFocus:e=>{var t;return!!(null===(t=e.firstElementChild)||void 0===t?void 0:t.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:r})}(t);if(n)return r.current=e(n),()=>{!function(e){e.core.disposeTabster(e,void 0)}(n),r.current=null}}),[t,e]),r}const Fa=e=>{Ma();const t=ea(e,!0);return o.useMemo((()=>({[no]:t})),[t])},La=(e={})=>{const{circular:t,axis:r,memorizeCurrent:n=!0,tabbable:i,ignoreDefaultKeydown:o,unstable_hasDefault:a}=e;return Ma(Ta),Fa({mover:{cyclic:!!t,direction:ja(null!=r?r:"vertical"),memorizeCurrent:n,tabbable:i,hasDefault:a},...o&&{focusable:{ignoreKeydown:o}}})};function ja(e){switch(e){case"horizontal":return 2;case"grid":return 3;case"grid-linear":return 4;case"both":return 0;default:return 1}}var Va=r(5484),Ha=r(2624),qa=r(3421);const Ua=(0,qa.X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),$a=(0,Ha.q)({useStyles:Ua,className:"fui-Body1Strong",displayName:"Body1Strong"});var Wa=r(5042);const Ga=o.createContext({localizeString:e=>e.defaultValue}),Ka=e=>o.createElement(Ga.Provider,{value:{localizeString:e.localizeString}},e.children);var Xa=r(8885);class Ya{}Ya.chartCannotBeDisplayed={key:"ac_chart_chartCannotBeDisplayed",defaultValue:"The chart cannot be displayed."},Ya.gaugeChartSliceAriaLabel={key:"ac_gaugeChart_slice_ariaLabel",defaultValue:"{{legend}}, {{rangeStart}} to {{rangeEnd}}"},Ya.chartLegendAriaLabel={key:"ac_chart_legend_ariaLabel",defaultValue:"Legend"},Ya.chartLegendUnknown={key:"ac_chart_legend_unknown",defaultValue:"Unknown"},Ya.chartLegendOverflowButtonOneItem={key:"ac_legend_overflow_button_one_item",defaultValue:"1 item"},Ya.chartLegendOverflowButtonNItems={key:"ac_legend_overflow_button_n_items",defaultValue:"{{count}} items"},Ya.gaugeChartOneSectionAriaLabel={key:"ac_gaugeChart_oneSection_ariaLabel",defaultValue:"Gauge chart with one section."},Ya.gaugeChartMultipleSectionsAriaLabel={key:"ac_gaugeChart_multipleSections_ariaLabel",defaultValue:"Gauge chart with {{sectionCount}} sections."},Ya.gaugeChartMinValueAriaLabel={key:"ac_gaugeChart_minValue_ariaLabel",defaultValue:"Minimum value: {{value}}"},Ya.gaugeChartMaxValueAriaLabel={key:"ac_gaugeChart_maxValue_ariaLabel",defaultValue:"Maximum value: {{value}}"},Ya.gaugeChartCurrentValueAriaLabel={key:"ac_gaugeChart_currentValue_ariaLabel",defaultValue:"Current value: {{value}}"},Ya.verticalBarChartAriaLabel={key:"ac_verticalBarChart_ariaLabel",defaultValue:"Vertical bar chart"},Ya.verticalBarChartWithNSeriesAriaLabel={key:"ac_verticalBarChart_withNSeries_ariaLabel",defaultValue:"Vertical bar chart with {{seriesCount}} series"},Ya.xAxisAriaLabel={key:"ac_verticalBarChart_xAxis_ariaLabel",defaultValue:"X axis: {{axisTitle}}"},Ya.yAxisAriaLabel={key:"ac_verticalBarChart_yAxis_ariaLabel",defaultValue:"Y axis: {{axisTitle}}"},Ya.total={key:"ac_barTooltip_total_ariaLabel",defaultValue:"Total: {{value}}"},Ya.lineChartWithNSeriesAriaLabel={key:"ac_lineChart_withNSeries_ariaLabel",defaultValue:"Line chart with {{seriesCount}} series"},Ya.lineChartAriaLabel={key:"ac_lineChart_ariaLabel",defaultValue:"Line chart"},Ya.xOutOfY={key:"ac_xOutOfY",defaultValue:"{{x}} out of {{y}}"},Ya.horizontalBarChartWithNSeriesAriaLabel={key:"ac_horizontalBarChart_withNSeries_ariaLabel",defaultValue:"Horizontal bar chart with {{seriesCount}} series"},Ya.horizontalBarChartAriaLabel={key:"ac_horizontalBarChart_ariaLabel",defaultValue:"Horizontal bar chart"},Ya.stackedHorizontalBarChartAriaLabel={key:"ac_stackedHorizontalBarChart_ariaLabel",defaultValue:"Stacked horizontal bar chart"},Ya.donutChartAriaLabel={key:"ac_donutChart_ariaLabel",defaultValue:"Donut chart"},Ya.pieChartAriaLabel={key:"ac_pieChart_ariaLabel",defaultValue:"Pie chart"},Ya.lineChartSeriesWithNPointsAriaLabel={key:"ac_lineChart_seriesWithNPoints_ariaLabel",defaultValue:"{{legend}} series with {{pointCount}} points"},Ya.lineChartSeriesWithOnePointAriaLabel={key:"ac_lineChart_seriesWithOnePoint_ariaLabel",defaultValue:"{{legend}} series with one point"},Ya.lineChartSeriesPointAriaLabel={key:"ac_lineChart_seriesPoint_ariaLabel",defaultValue:"Point {{index}}, {{xAxisTitle}}={{x}}, {{yAxisTitle}}={{y}}"};class Ja extends o.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}render(){return this.state.hasError?o.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",gap:"10px"}},o.createElement(Xa.FW,{name:"PollOff",iconSize:_i.lK.Large,iconStyle:_i.pO.Regular,showPlaceholder:!1,allowFallback:!1}),this.props.localizeStringFn(Ya.chartCannotBeDisplayed)):this.props.children}}var Za=r(5273),Qa=r(748),es=r(7980),ts=r(8068),rs=r(417),ns=r(6307),is=r(9591),os=r(4204),as=r(4846);const ss=e=>{const t=(e=>({colorNeutralForeground1:Qa.ON,colorNeutralForeground1Hover:Qa.ON,colorNeutralForeground1Pressed:Qa.ON,colorNeutralForeground1Selected:Qa.ON,colorNeutralForeground2:Qa.Oh[84],colorNeutralForeground2Hover:Qa.ON,colorNeutralForeground2Pressed:Qa.ON,colorNeutralForeground2Selected:Qa.ON,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:Qa.Oh[68],colorNeutralForeground3Hover:Qa.Oh[84],colorNeutralForeground3Pressed:Qa.Oh[84],colorNeutralForeground3Selected:Qa.Oh[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:Qa.Oh[60],colorNeutralForegroundDisabled:Qa.Oh[36],colorNeutralForegroundInvertedDisabled:Qa.c8[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:Qa.Oh[84],colorNeutralForeground2LinkHover:Qa.ON,colorNeutralForeground2LinkPressed:Qa.ON,colorNeutralForeground2LinkSelected:Qa.ON,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[120],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:Qa.Oh[14],colorNeutralForegroundStaticInverted:Qa.ON,colorNeutralForegroundInverted:Qa.Oh[14],colorNeutralForegroundInvertedHover:Qa.Oh[14],colorNeutralForegroundInvertedPressed:Qa.Oh[14],colorNeutralForegroundInvertedSelected:Qa.Oh[14],colorNeutralForegroundInverted2:Qa.Oh[14],colorNeutralForegroundOnBrand:Qa.ON,colorNeutralForegroundInvertedLink:Qa.ON,colorNeutralForegroundInvertedLinkHover:Qa.ON,colorNeutralForegroundInvertedLinkPressed:Qa.ON,colorNeutralForegroundInvertedLinkSelected:Qa.ON,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Qa.Oh[16],colorNeutralBackground1Hover:Qa.Oh[24],colorNeutralBackground1Pressed:Qa.Oh[12],colorNeutralBackground1Selected:Qa.Oh[22],colorNeutralBackground2:Qa.Oh[14],colorNeutralBackground2Hover:Qa.Oh[22],colorNeutralBackground2Pressed:Qa.Oh[10],colorNeutralBackground2Selected:Qa.Oh[20],colorNeutralBackground3:Qa.Oh[12],colorNeutralBackground3Hover:Qa.Oh[20],colorNeutralBackground3Pressed:Qa.Oh[8],colorNeutralBackground3Selected:Qa.Oh[18],colorNeutralBackground4:Qa.Oh[8],colorNeutralBackground4Hover:Qa.Oh[16],colorNeutralBackground4Pressed:Qa.Oh[4],colorNeutralBackground4Selected:Qa.Oh[14],colorNeutralBackground5:Qa.Oh[4],colorNeutralBackground5Hover:Qa.Oh[12],colorNeutralBackground5Pressed:Qa.Ql,colorNeutralBackground5Selected:Qa.Oh[10],colorNeutralBackground6:Qa.Oh[20],colorNeutralBackgroundInverted:Qa.ON,colorNeutralBackgroundStatic:Qa.Oh[24],colorNeutralBackgroundAlpha:Qa.ti[50],colorNeutralBackgroundAlpha2:Qa.Z1[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:Qa.Oh[22],colorSubtleBackgroundPressed:Qa.Oh[18],colorSubtleBackgroundSelected:Qa.Oh[20],colorSubtleBackgroundLightAlphaHover:Qa.Xv[80],colorSubtleBackgroundLightAlphaPressed:Qa.Xv[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Qa.Q1[10],colorSubtleBackgroundInvertedPressed:Qa.Q1[30],colorSubtleBackgroundInvertedSelected:Qa.Q1[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:Qa.Oh[8],colorNeutralBackgroundInvertedDisabled:Qa.c8[10],colorNeutralStencil1:Qa.Oh[34],colorNeutralStencil2:Qa.Oh[20],colorNeutralStencil1Alpha:Qa.c8[10],colorNeutralStencil2Alpha:Qa.c8[5],colorBackgroundOverlay:Qa.Q1[50],colorScrollbarOverlay:Qa.c8[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Qa.ON,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:Qa.Oh[20],colorNeutralCardBackgroundHover:Qa.Oh[24],colorNeutralCardBackgroundPressed:Qa.Oh[18],colorNeutralCardBackgroundSelected:Qa.Oh[22],colorNeutralCardBackgroundDisabled:Qa.Oh[8],colorNeutralStrokeAccessible:Qa.Oh[68],colorNeutralStrokeAccessibleHover:Qa.Oh[74],colorNeutralStrokeAccessiblePressed:Qa.Oh[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:Qa.Oh[40],colorNeutralStroke1Hover:Qa.Oh[46],colorNeutralStroke1Pressed:Qa.Oh[42],colorNeutralStroke1Selected:Qa.Oh[44],colorNeutralStroke2:Qa.Oh[32],colorNeutralStroke3:Qa.Oh[24],colorNeutralStrokeSubtle:Qa.Oh[4],colorNeutralStrokeOnBrand:Qa.Oh[16],colorNeutralStrokeOnBrand2:Qa.ON,colorNeutralStrokeOnBrand2Hover:Qa.ON,colorNeutralStrokeOnBrand2Pressed:Qa.ON,colorNeutralStrokeOnBrand2Selected:Qa.ON,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[90],colorCompoundBrandStrokeHover:e[100],colorCompoundBrandStrokePressed:e[80],colorNeutralStrokeDisabled:Qa.Oh[26],colorNeutralStrokeInvertedDisabled:Qa.c8[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Qa.c8[10],colorNeutralStrokeAlpha2:Qa.c8[20],colorStrokeFocus1:Qa.Ql,colorStrokeFocus2:Qa.ON,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...es.V,...ts.GR,...ts.lm,...ts.aI,...ts.NM,...rs.k,...as.b,...as.F,...is.S,...os.L,...t,...Za.h,...Za.m,...(0,ns.t)(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...(0,ns.t)(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}};var ls=r(5403);const cs={...ts.aI,fontFamilyBase:'-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif'},us={...ss(ls.U1),...cs};ss(ls.Fr);var ds=r(4924);const ps={...(0,ds.a)(ls.U1),...cs},fs=((0,ds.a)(ls.Fr),"#107C10"),hs="#c50f1f",gs="#80215d",ms="#3f3682",vs="#2461ca",ys="#0078d4",bs="#00b7c3",ws="#00cc6a",Ss="#a4cd6c",Cs="#f3c761",As="#333357",xs="#4f52b2",ks="#5b5fc7",Es="#7f85f5",_s="#9299f7",Is="#aab1fa",Ps="#c5cbfa",Ts="#dce0fa",Bs="#13458f",Ds="#2c72a8",Ns="#92b6d1",Rs="#9bd9db",Os="#ffe69e",zs="#f4beaa",Ms="#e37d81",Fs="#d33f4c",Ls="#950c17",js="#4b5356",Vs={name:"Categorical",lightTheme:[hs,gs,ms,vs,ys,bs,ws,Ss,Cs],darkTheme:[hs,gs,ms,vs,ys,bs,ws,Ss,Cs]},Hs={name:"Sequential",lightTheme:[As,xs,ks,Es,_s,Is,Ps,Ts],darkTheme:[xs,ks,Es,_s,Is,Ps,Ts,"#f2f5ff"]},qs={name:"Diverging",lightTheme:[Bs,Ds,Ns,Rs,Os,zs,Ms,Fs,Ls],darkTheme:[Rs,Ns,Ds,Bs,js,Ls,Fs,Ms,zs]},Us=["good","warning","attention","neutral","categoricalRed","categoricalPurple","categoricalLavender","categoricalBlue","categoricalLightBlue","categoricalTeal","categoricalGreen","categoricalLime","categoricalMarigold","sequential1","sequential2","sequential3","sequential4","sequential5","sequential6","sequential7","sequential8","divergingBlue","divergingLightBlue","divergingCyan","divergingTeal","divergingYellow","divergingPeach","divergingLightRed","divergingRed","divergingMaroon","divergingGray"],$s=Hs;class Ws{static addColorSet(e){this._colorSets.set(e.name.toLowerCase(),e)}static removeColorSet(e){this._colorSets.delete(e.toLowerCase())}static getColor(e,t,r){var n;const i=e&&null!==(n=this._colorSets.get(e))&&void 0!==n?n:$s,o=t===_i.V6.Dark?i.darkTheme:i.lightTheme;return o[(r>=0?r:0)%o.length]}static getColors(e,t){var r;const n=e&&null!==(r=this._colorSets.get(e.toLowerCase()))&&void 0!==r?r:$s;return t===_i.V6.Dark?n.darkTheme:n.lightTheme}static getWellKnownColor(e){return e?this._wellKnownChartColors[e]:this._wellKnownChartColors.sequential3}static getWellKnownChartColorNames(){return[...Us]}static getColorSetNames(){return[...this._colorSets.keys()]}}function Gs(e,t){const r={};return t.forEach((t=>{const n=e.querySelector(`#${t}`);n&&(r[t]=n.getBBox())})),r}Ws._colorSets=new Map([[Vs.name.toLowerCase(),Vs],[Hs.name.toLowerCase(),Hs],[qs.name.toLowerCase(),qs]]),Ws._wellKnownChartColors={good:fs,warning:"#FFC300",attention:"#D13438",neutral:"#CCCCCC",categoricalRed:hs,categoricalPurple:gs,categoricalLavender:ms,categoricalBlue:vs,categoricalLightBlue:ys,categoricalTeal:bs,categoricalGreen:ws,categoricalLime:Ss,categoricalMarigold:Cs,sequential1:As,sequential2:xs,sequential3:ks,sequential4:Es,sequential5:_s,sequential6:Is,sequential7:Ps,sequential8:Ts,divergingBlue:Bs,divergingLightBlue:Ds,divergingCyan:Ns,divergingTeal:Rs,divergingYellow:Os,divergingPeach:zs,divergingLightRed:Ms,divergingRed:Fs,divergingMaroon:Ls,divergingGray:js},Ws.defaultLoadingSkeletonHeight=200,Ws.wideVerticalBarWidth=30,Ws.narrowVerticalBarWidth=20,Ws.verticalChartHeight=300,Ws.lineChartHeight=300,Ws.pieAndDonutChartHeight=300,Ws.gaugeChartHeight=150,Ws.donutChartInnerRadiusRatio=.3,Ws.fluentV9DarkTheme=us,Ws.fluentV9LightTheme=ps,Ws.overrideThemeBackgroundColor=!0,Ws.verticalBarChart={minBarGroupPadding:2,defaultBarGroupWidth:24,defaultBBarGroupPadding:20};class Ks{constructor(e,t,r,n){this.x=e,this.y=t,this.width=r,this.height=n}toString(){return`${Math.round(this.x)} ${Math.round(this.y)} ${Math.round(this.width)} ${Math.round(this.height)}`}}function Xs(e,t){return{start:e,slope:(t.y-e.y)/(t.x-e.x)}}function Ys(e,t){if(e.slope-t.slope==0)return;const r=(t.start.y-e.start.y+e.slope*e.start.x-t.slope*t.start.x)/(e.slope-t.slope);return{x:r,y:e.slope*(r-e.start.x)+e.start.y}}function Js(e,t,r){const n=(r-90)*Math.PI/180;return{x:e.x+t*Math.cos(n),y:e.y+t*Math.sin(n)}}function Zs(e,t,r,n){return{start:Js(e,t,r),end:Js(e,t,n),radius:t}}function Qs(e,t,r,n){return{topLeft:{x:Math.min(e,r),y:Math.min(t,n)},bottomRight:{x:Math.max(e,r),y:Math.max(t,n)}}}function el(e){return`M${e.topLeft.x},${e.topLeft.y} L${e.bottomRight.x},${e.topLeft.y} L${e.bottomRight.x},${e.bottomRight.y} L${e.topLeft.x},${e.bottomRight.y} Z`}function tl(e){const t=e.indexOf(".");if(-1===t)return e;let r=e.length-1;for(;r>t&&"0"===e[r];)r--;return r===t?e.slice(0,t):e.slice(0,r+1)}function rl(e){const t=Math.abs(e);if(t>=1e3){const t=e/1e3;return`${tl(t.toFixed(t>=10?0:1))}k`}return t>=1?tl(e.toFixed(t>=10?1:2)):t>=.1?tl(e.toFixed(2)):t>=.001?tl(e.toFixed(3)):e%1==0?e.toString():e.toExponential(2)}function nl(e,t=", "){return e.filter((e=>e)).join(t)}function il(e,t){return t?e:Math.max(0,e)}function ol(e,t){if(void 0===t){let t=1e4;for(;t>=.001;){if(e>=t)return t/10;t/=10}return t}return t}function al(e,t){const r=ol(e,t);return Math.ceil(e/r)*r}function sl(e,t){const r=ol(e,t);return Math.floor(e/r)*r}function ll(e){const t=new Map;return e.forEach((e=>{e.values.forEach((e=>{t.set(e.x,{value:e.x,color:e.color})}))})),Array.from(t.values())}const cl=(e,t={allowNegativeValues:!1,stacked:!1})=>{var r,n;const i=null!==(r=t.allowNegativeValues)&&void 0!==r&&r,o=null!==(n=t.stacked)&&void 0!==n&&n,a=ll(e),s=new Map;for(const t of a){const r=new Map;e.forEach(((e,t)=>{var n;r.set(null!==(n=e.legend)&&void 0!==n?n:"Unknown",{y:0,color:e.color,seriesIndex:t,legend:e.legend})})),s.set(t.value,{x:t.value,values:r,totalValue:0})}e.forEach((e=>{e.values.forEach((t=>{var r;const n=s.get(t.x);if(!n)return;const o=n.values.get(null!==(r=e.legend)&&void 0!==r?r:"Unknown");if(o){const e=il(t.y,i);o.y=e,t.color&&(o.color=t.color),n.totalValue+=e}}))}));const l=Array.from(s.values()),c=l.reduce(((e,t)=>e+t.totalValue),0);let u=Number.MAX_VALUE,d=Number.MIN_VALUE;if(o){let e=Number.MIN_VALUE;l.forEach((t=>{e=Math.max(e,t.totalValue)})),e>0?(u=0,d=e):(u=e,d=0)}else e.forEach((e=>{e.values.forEach((e=>{const t=il(e.y,i);u=Math.min(u,t),d=Math.max(d,t)}))}));const p=sl(u>0?0:u),f=al(d<0?0:d);return{valueGroups:l,allSeriesValues:a,grandTotal:c,minValue:u,maxValue:d,rangeMin:p,rangeMax:f,totalRange:f-p}};function ul(e,t=2){if(e%1==0)return e.toString();if(e<.01){const t=e.toFixed(4);let r=t.length-1;for(;r>0&&"0"===t[r];)r--;return t.slice(0,r+1)}return e.toFixed(t)}function dl(e){return e instanceof Date}function pl(e){return"number"==typeof e?rl(e):dl(e)?e.toLocaleDateString(void 0,{year:"numeric",month:"2-digit",day:"2-digit"}):e}class fl extends Pi.XY{constructor(e,t,r){super(e,t,Us.map((e=>({value:e})))),this.targetVersion=e,this.name=t,this.defaultValue=r,this.typeName="ChartColor"}}class hl extends Pi.XY{constructor(e,t,r){const n=Ws.getColorSetNames().map((e=>({value:e})));super(e,t,n),this.targetVersion=e,this.name=t,this.defaultValue=r,this.typeName="ChartColorSet"}}class gl extends Ei.hA{get title(){return this.getValue(gl.titleProperty)}set title(e){this.setValue(gl.titleProperty,e)}get colorSet(){return this.getValue(gl.colorSetProperty)}set colorSet(e){this.setValue(gl.colorSetProperty,e)}get chartHeight(){}internalRender(){const e=(e,t)=>this.localizeString(e,t);return null===this.renderChartComponent()?this.isDesignMode()?this.createPlaceholderElement():null:o.createElement("div",{style:void 0!==this.chartHeight?{height:`${this.chartHeight}px`}:void 0},o.createElement(Ka,{localizeString:e},o.createElement(Ja,{localizeStringFn:e},this.renderChartComponent())))}}var ml;gl.titleProperty=new Pi.XB(Pi.uq.v1_5,"title").setContentType("text"),gl.colorSetProperty=new hl(Pi.uq.v1_5,"colorSet"),function(e){e[e.Percentage=0]="Percentage",e[e.Fraction=1]="Fraction"}(ml||(ml={})),(0,Wa.FM)(ml,"GaugeChartValueFormat");class vl extends Pi.jB{get size(){return this.getValue(vl.sizeProperty)}set size(e){this.setValue(vl.sizeProperty,e)}get legend(){return this.getValue(vl.legendProperty)}set legend(e){this.setValue(vl.legendProperty,e)}get color(){return this.getValue(vl.colorProperty)}set color(e){this.setValue(vl.colorProperty,e)}getSchemaKey(){return"GaugeChartLegend"}}vl.sizeProperty=new Pi.Uy(Pi.uq.v1_5,"size",0),vl.legendProperty=new Pi.XB(Pi.uq.v1_5,"legend").setContentType("text"),vl.colorProperty=new fl(Pi.uq.v1_5,"color");class yl extends gl{get min(){return this.getValue(yl.minProperty)}set min(e){this.setValue(yl.minProperty,e)}get max(){return this.getValue(yl.maxProperty)}get subLabel(){return this.getValue(yl.subLabelProperty)}set subLabel(e){this.setValue(yl.subLabelProperty,e)}get showMinMax(){return this.getValue(yl.showMinMaxProperty)}set showMinMax(e){this.setValue(yl.showMinMaxProperty,e)}get showLegend(){return this.getValue(yl.showLegendProperty)}set showLegend(e){this.setValue(yl.showLegendProperty,e)}get segments(){return this.getValue(yl.segmentsProperty)}set segments(e){this.setValue(yl.segmentsProperty,e)}get value(){return this.getValue(yl.valueProperty)}set value(e){this.setValue(yl.valueProperty,e)}get valueFormat(){return this.getValue(yl.valueFormatProperty)}set valueFormat(e){this.setValue(yl.valueFormatProperty,e)}}yl.minProperty=new Pi.Uy(Pi.uq.v1_5,"min",0),yl.maxProperty=new Pi.Uy(Pi.uq.v1_5,"max"),yl.subLabelProperty=new Pi.XB(Pi.uq.v1_5,"subLabel").setContentType("text"),yl.showMinMaxProperty=new Pi.gV(Pi.uq.v1_5,"showMinMax",!0),yl.showLegendProperty=new Pi.gV(Pi.uq.v1_5,"showLegend",!0),yl.segmentsProperty=new Pi.m2(Pi.uq.v1_5,"segments",(e=>new vl)),yl.valueProperty=new Pi.Uy(Pi.uq.v1_5,"value",0),yl.valueFormatProperty=new Pi.fX(Pi.uq.v1_5,"valueFormat",ml,ml.Percentage);const bl=(0,P.n)({root:{display:"flex",flexDirection:"column",rowGap:"4px"},needle:{fill:Va.L.colorNeutralForeground1,stroke:Va.L.colorNeutralForegroundInverted,strokeWidth:"1px","@media (forced-colors: active)":{stroke:"Windowtext",fill:"window",strokeWidth:"2px"}},valueText:{fill:Va.L.colorNeutralForeground1,fontWeight:Va.L.fontWeightSemibold,textAnchor:"middle","@media (forced-colors: active)":{fill:"windowtext"}},minMaxText:{fill:Va.L.colorNeutralForeground1,fontSize:Va.L.fontSizeBase100,"@media (forced-colors: active)":{fill:"windowtext"}},slice:{outline:"none","&:focus":{stroke:Va.L.colorNeutralForeground1,strokeWidth:"2px"}},centeredText:{textAlign:"center"},sliceTooltipRoot:{display:"grid",gridTemplateColumns:"4px auto",columnGap:Va.L.spacingHorizontalS},sliceTooltipInfo:{display:"flex",flexDirection:"column",rowGap:Va.L.spacingVerticalXXS}});var wl=r(1009),Sl=r(2328);const Cl=e=>{const t=o.createContext({value:{current:e},version:{current:-1},listeners:[]});var r;return t.Provider=(r=t.Provider,e=>{const t=o.useRef(e.value),n=o.useRef(0),i=o.useRef();return i.current||(i.current={value:t,version:n,listeners:[]}),(0,Oa.E)((()=>{t.current=e.value,n.current+=1,(0,Sl.unstable_runWithPriority)(Sl.unstable_NormalPriority,(()=>{i.current.listeners.forEach((t=>{t([n.current,e.value])}))}))}),[e.value]),o.createElement(r,{value:i.current},e.children)}),delete t.Consumer,t};var Al=r(821);const xl=(e,t)=>{const r=o.useContext(e),{value:{current:n},version:{current:i},listeners:a}=r,s=t(n),[l,c]=o.useState([n,s]),u=e=>{c((r=>{if(!e)return[n,s];if(e[0]<=i)return Object.is(r[1],s)?r:[n,s];try{if(Object.is(r[0],e[1]))return r;const n=t(e[1]);return Object.is(r[1],n)?r:[e[1],n]}catch(e){}return[r[0],r[1]]}))};Object.is(l[1],s)||u(void 0);const d=(0,Al.D)(u);return(0,Oa.E)((()=>(a.push(d),()=>{const e=a.indexOf(d);a.splice(e,1)})),[d,a]),l[1]},kl=Cl(void 0),El={itemVisibility:{},groupVisibility:{},hasOverflow:!1,registerItem:()=>()=>null,updateOverflow:()=>null,registerOverflowMenu:()=>()=>null,registerDivider:()=>()=>null},_l=e=>xl(kl,((t=El)=>e(t)));var Il=r(7947),Pl=r(1410),Tl=r(9098);const Bl=Cl(void 0),Dl={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},Nl=Bl.Provider,Rl=e=>xl(Bl,((t=Dl)=>e(t))),Ol=o.createContext(void 0),zl=Ol.Provider,Ml=(0,qa.X)({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]}),Fl=(e,t)=>{const r=r=>{const{className:n,filled:i,...a}=r,s=Ml();return o.createElement(o.Fragment,null,o.createElement(e,Object.assign({},a,{className:(0,E.z)(s.root,i&&s.visible,"fui-Icon-filled",n)})),o.createElement(t,Object.assign({},a,{className:(0,E.z)(s.root,!i&&s.visible,"fui-Icon-regular",n)})))};return r.displayName="CompoundIcon",r};var Ll=r(6580);const jl=Cl(void 0),Vl={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},Hl=jl.Provider,ql=e=>xl(jl,((t=Vl)=>e(t)));var Ul=r(7424),$l=r(4348);const Wl=o.createContext(void 0),Gl={setMultiline:()=>null},Kl=(Wl.Provider,()=>{var e;return null!==(e=o.useContext(Wl))&&void 0!==e?e:Gl}),Xl=()=>Kl()!==Gl,Yl=Fl(Ll.oAB,Ll.Crl),Jl=Fl(Ll.NGN,Ll.nUb),Zl=e=>{const{hasSubmenu:t,multiline:r}=e,n=Xl()&&t,{setMultiline:i}=Kl();(0,Oa.E)((()=>{n||i(r)}),[i,r,n])},Ql=e=>{const{hasSubmenu:t}=e,r=Rl((e=>e.hasIcons)),n=Rl((e=>e.hasCheckmarks)),i=Xl()&&t;return{hasIcons:r&&!i,hasCheckmarks:n&&!i}};var ec=r(1422),tc=r(6140),rc=r(5774);const nc=(0,qa.X)({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),ic="fui-MenuItem",oc=(0,rc.y)("rfoezjv","r8lt3v0",{r:[".rfoezjv{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r8lt3v0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:['@media (forced-colors: active){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}",'@media (forced-colors: active){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),ac=(0,rc.y)("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),sc=(0,rc.y)("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),lc=(0,rc.y)("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),cc=(0,rc.y)("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),uc=(0,rc.y)("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),dc=(0,qa.X)({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",c7f7en:"ff3wrqt",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",Bumww26:"fszh5vc",t0hwav:"ft33916",Bbusuzp:"f1dcs8yz",ze5xyy:"f1kc2mi9",Bqrx1nm:"fkavljg",Bctn1xl:"fk56vqo",h5esng:"ff3wi9b",Bsk3rfj:"fduv4kr",pc6evw:"fb3rf2x",g2kj27:"f183y0b2",evg1t5:"f12is0ou",Bh6z0a4:"f1ikwg0d",Bh953qp:"f10l1t5h"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".ff3wrqt:hover .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}",".fszh5vc:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkavljg:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fk56vqo:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff3wi9b:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fduv4kr:hover .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f183y0b2:hover:active{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12is0ou:hover:active .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ikwg0d:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f10l1t5h:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),pc=(0,qa.X)({disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),fc=(0,qa.X)({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]});var hc=r(1735);const gc=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=null!==(n=o.useContext(Ol))&&void 0!==n&&n;var n;const i=ql((e=>e.persistOnItemClick)),{as:a="div",disabled:s=!1,hasSubmenu:l=r,persistOnClick:c=i,content:u,...d}=e,{hasIcons:p,hasCheckmarks:f}=Ql({hasSubmenu:l}),h=ql((e=>e.setOpen));Zl({multiline:!!e.subText,hasSubmenu:l});const{dir:g}=(0,Na.Y)(),m=o.useRef(null),v=o.useRef(!1),y={hasSubmenu:l,disabled:s,persistOnClick:c,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:Il.Gk((0,Pl.g)(a,(0,Ul.F)(a,{role:"menuitem",...d,disabled:!1,disabledFocusable:s,ref:(0,Tl.a)(t,m),onKeyDown:(0,Al.D)((t=>{var r;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),t.isDefaultPrevented()||t.key!==$l.$xS&&t.key!==$l.xyI||(v.current=!0)})),onMouseMove:(0,Al.D)((t=>{var r,n;t.currentTarget.ownerDocument.activeElement!==t.currentTarget&&(null===(n=m.current)||void 0===n||n.focus()),null===(r=e.onMouseMove)||void 0===r||r.call(e,t)})),onClick:(0,Al.D)((t=>{var r;l||c||(h(t,{open:!1,keyboard:v.current,bubble:!0,type:"menuItemClick",event:t}),v.current=!1),null===(r=e.onClick)||void 0===r||r.call(e,t)}))})),{elementType:"div"}),icon:Il.lq(e.icon,{renderByDefault:p,elementType:"span"}),checkmark:Il.lq(e.checkmark,{renderByDefault:f,elementType:"span"}),submenuIndicator:Il.lq(e.submenuIndicator,{renderByDefault:l,defaultProps:{children:"ltr"===g?o.createElement(Yl,null):o.createElement(Jl,null)},elementType:"span"}),content:Il.lq(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:Il.lq(e.secondaryContent,{elementType:"span"}),subText:Il.lq(e.subText,{elementType:"span"})};return((e,t)=>{const r=Rl((e=>e.setFocusByFirstCharacter)),{onKeyDown:n}=e.root;e.root.onKeyDown=e=>{var i;null==n||n(e),(null===(i=e.key)||void 0===i?void 0:i.length)>1||t.current&&(null==r||r(e,t.current))}})(y,m),y})(e,t);return(e=>{const t=dc(),r=oc(),n=ac(),i=sc(),o=lc(),a=cc(),s=fc(),l=uc(),c=pc(),u=!!e.subText;e.root.className=(0,E.z)(ic,r,e.disabled&&t.disabled,e.root.className),e.content&&(e.content.className=(0,E.z)("fui-MenuItem__content",n,e.content.className,u&&s.content)),e.checkmark&&(e.checkmark.className=(0,E.z)("fui-MenuItem__checkmark",t.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=(0,E.z)("fui-MenuItem__secondaryContent",i,e.disabled&&t.disabled,e.secondaryContent.className,u&&s.secondaryContent)),e.icon&&(e.icon.className=(0,E.z)("fui-MenuItem__icon",o,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=(0,E.z)("fui-MenuItem__submenuIndicator",a,e.submenuIndicator.className,u&&s.submenuIndicator)),e.subText&&(e.subText.className=(0,E.z)("fui-MenuItem__subText",e.disabled&&c.disabled,e.subText.className,l)),(e=>{const t=nc();e.checkmark&&(e.checkmark.className=(0,E.z)(t.root,e.checked&&t.rootChecked,e.checkmark.className))})(e)})(r),(0,hc.$e)("useMenuItemStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[e.checkmark&&(0,ec.Y)(e.checkmark,{}),e.icon&&(0,ec.Y)(e.icon,{}),e.content&&(0,ec.FD)(e.content,{children:[e.content.children,e.subText&&(0,ec.Y)(e.subText,{})]}),e.secondaryContent&&(0,ec.Y)(e.secondaryContent,{}),e.submenuIndicator&&(0,ec.Y)(e.submenuIndicator,{})]})))(r)}));gc.displayName="MenuItem";const mc=e=>{const[t,r]=o.useState(e);return[t,e=>{if(null==e)return void r(void 0);let t;t=e instanceof MouseEvent?e:e.nativeEvent,MouseEvent;const n=function(e){const t=e.clientX,r=e.clientY,n=t+1,i=r+1;return{getBoundingClientRect:function(){return{left:t,top:r,right:n,bottom:i,x:t,y:r,height:1,width:1}}}}(t);r(n)}]},vc={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function yc(e){return null==e?{}:"string"==typeof e?vc[e]:e}var bc=r(4360);const wc="data-popper-is-intersecting",Sc="data-popper-escaped",Cc="data-popper-reference-hidden",Ac="fui-positioningend",xc=["top","right","bottom","left"],kc=Math.min,Ec=Math.max,_c=Math.round,Ic=(Math.floor,e=>({x:e,y:e})),Pc={left:"right",right:"left",bottom:"top",top:"bottom"},Tc={start:"end",end:"start"};function Bc(e,t,r){return Ec(e,kc(t,r))}function Dc(e,t){return"function"==typeof e?e(t):e}function Nc(e){return e.split("-")[0]}function Rc(e){return e.split("-")[1]}function Oc(e){return"x"===e?"y":"x"}function zc(e){return"y"===e?"height":"width"}function Mc(e){return["top","bottom"].includes(Nc(e))?"y":"x"}function Fc(e){return Oc(Mc(e))}function Lc(e){return e.replace(/start|end/g,(e=>Tc[e]))}function jc(e){return e.replace(/left|right|bottom|top/g,(e=>Pc[e]))}function Vc(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Hc(e){const{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function qc(e,t,r){let{reference:n,floating:i}=e;const o=Mc(t),a=Fc(t),s=zc(a),l=Nc(t),c="y"===o,u=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,p=n[s]/2-i[s]/2;let f;switch(l){case"top":f={x:u,y:n.y-i.height};break;case"bottom":f={x:u,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:d};break;case"left":f={x:n.x-i.width,y:d};break;default:f={x:n.x,y:n.y}}switch(Rc(t)){case"start":f[a]-=p*(r&&c?-1:1);break;case"end":f[a]+=p*(r&&c?-1:1)}return f}async function Uc(e,t){var r;void 0===t&&(t={});const{x:n,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=Dc(t,e),h=Vc(f),g=s[p?"floating"===d?"reference":"floating":d],m=Hc(await o.getClippingRect({element:null==(r=await(null==o.isElement?void 0:o.isElement(g)))||r?g:g.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),b=await(null==o.isElement?void 0:o.isElement(y))&&await(null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},w=Hc(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(m.top-w.top+h.top)/b.y,bottom:(w.bottom-m.bottom+h.bottom)/b.y,left:(m.left-w.left+h.left)/b.x,right:(w.right-m.right+h.right)/b.x}}function $c(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Wc(e){return xc.some((t=>e[t]>=0))}function Gc(){return"undefined"!=typeof window}function Kc(e){return Jc(e)?(e.nodeName||"").toLowerCase():"#document"}function Xc(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Yc(e){var t;return null==(t=(Jc(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Jc(e){return!!Gc()&&(e instanceof Node||e instanceof Xc(e).Node)}function Zc(e){return!!Gc()&&(e instanceof Element||e instanceof Xc(e).Element)}function Qc(e){return!!Gc()&&(e instanceof HTMLElement||e instanceof Xc(e).HTMLElement)}function eu(e){return!(!Gc()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Xc(e).ShadowRoot)}function tu(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=su(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function ru(e){return["table","td","th"].includes(Kc(e))}function nu(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function iu(e){const t=ou(),r=Zc(e)?su(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!r[e]&&"none"!==r[e]))||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function ou(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function au(e){return["html","body","#document"].includes(Kc(e))}function su(e){return Xc(e).getComputedStyle(e)}function lu(e){return Zc(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function cu(e){if("html"===Kc(e))return e;const t=e.assignedSlot||e.parentNode||eu(e)&&e.host||Yc(e);return eu(t)?t.host:t}function uu(e){const t=cu(e);return au(t)?e.ownerDocument?e.ownerDocument.body:e.body:Qc(t)&&tu(t)?t:uu(t)}function du(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=uu(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),a=Xc(i);if(o){const e=pu(a);return t.concat(a,a.visualViewport||[],tu(i)?i:[],e&&r?du(e):[])}return t.concat(i,du(i,[],r))}function pu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fu(e){const t=su(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=Qc(e),o=i?e.offsetWidth:r,a=i?e.offsetHeight:n,s=_c(r)!==o||_c(n)!==a;return s&&(r=o,n=a),{width:r,height:n,$:s}}function hu(e){return Zc(e)?e:e.contextElement}function gu(e){const t=hu(e);if(!Qc(t))return Ic(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:o}=fu(t);let a=(o?_c(r.width):r.width)/n,s=(o?_c(r.height):r.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const mu=Ic(0);function vu(e){const t=Xc(e);return ou()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:mu}function yu(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),o=hu(e);let a=Ic(1);t&&(n?Zc(n)&&(a=gu(n)):a=gu(e));const s=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==Xc(e))&&t}(o,r,n)?vu(o):Ic(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=Xc(o),t=n&&Zc(n)?Xc(n):n;let r=e,i=pu(r);for(;i&&n&&t!==r;){const e=gu(i),t=i.getBoundingClientRect(),n=su(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,r=Xc(i),i=pu(r)}}return Hc({width:u,height:d,x:l,y:c})}function bu(e,t){const r=lu(e).scrollLeft;return t?t.left+r:yu(Yc(e)).left+r}function wu(e,t,r){void 0===r&&(r=!1);const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:bu(e,n)),y:n.top+t.scrollTop}}function Su(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=Xc(e),n=Yc(e),i=r.visualViewport;let o=n.clientWidth,a=n.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=ou();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,r);else if("document"===t)n=function(e){const t=Yc(e),r=lu(e),n=e.ownerDocument.body,i=Ec(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=Ec(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+bu(e);const s=-r.scrollTop;return"rtl"===su(n).direction&&(a+=Ec(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Yc(e));else if(Zc(t))n=function(e,t){const r=yu(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=Qc(e)?gu(e):Ic(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:n*o.y}}(t,r);else{const r=vu(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Hc(n)}function Cu(e,t){const r=cu(e);return!(r===t||!Zc(r)||au(r))&&("fixed"===su(r).position||Cu(r,t))}function Au(e,t,r){const n=Qc(t),i=Yc(t),o="fixed"===r,a=yu(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=Ic(0);if(n||!n&&!o)if(("body"!==Kc(t)||tu(i))&&(s=lu(t)),n){const e=yu(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=bu(i));const c=!i||n||o?Ic(0):wu(i,s);return{x:a.left+s.scrollLeft-l.x-c.x,y:a.top+s.scrollTop-l.y-c.y,width:a.width,height:a.height}}function xu(e){return"static"===su(e).position}function ku(e,t){if(!Qc(e)||"fixed"===su(e).position)return null;if(t)return t(e);let r=e.offsetParent;return Yc(e)===r&&(r=r.ownerDocument.body),r}function Eu(e,t){const r=Xc(e);if(nu(e))return r;if(!Qc(e)){let t=cu(e);for(;t&&!au(t);){if(Zc(t)&&!xu(t))return t;t=cu(t)}return r}let n=ku(e,t);for(;n&&ru(n)&&xu(n);)n=ku(n,t);return n&&au(n)&&xu(n)&&!iu(n)?r:n||function(e){let t=cu(e);for(;Qc(t)&&!au(t);){if(iu(t))return t;if(nu(t))return null;t=cu(t)}return null}(e)||r}const _u={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const o="fixed"===i,a=Yc(n),s=!!t&&nu(t.floating);if(n===a||s&&o)return r;let l={scrollLeft:0,scrollTop:0},c=Ic(1);const u=Ic(0),d=Qc(n);if((d||!d&&!o)&&(("body"!==Kc(n)||tu(a))&&(l=lu(n)),Qc(n))){const e=yu(n);c=gu(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}const p=!a||d||o?Ic(0):wu(a,l,!0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:r.y*c.y-l.scrollTop*c.y+u.y+p.y}},getDocumentElement:Yc,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const o="clippingAncestors"===r?nu(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=du(e,[],!1).filter((e=>Zc(e)&&"body"!==Kc(e))),i=null;const o="fixed"===su(e).position;let a=o?cu(e):e;for(;Zc(a)&&!au(a);){const t=su(a),r=iu(a);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||tu(a)&&!r&&Cu(e,a))?n=n.filter((e=>e!==a)):i=t,a=cu(a)}return t.set(e,n),n}(t,this._c):[].concat(r),a=[...o,n],s=a[0],l=a.reduce(((e,r)=>{const n=Su(t,r,i);return e.top=Ec(n.top,e.top),e.right=kc(n.right,e.right),e.bottom=kc(n.bottom,e.bottom),e.left=Ec(n.left,e.left),e}),Su(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Eu,getElementRects:async function(e){const t=this.getOffsetParent||Eu,r=this.getDimensions,n=await r(e.floating);return{reference:Au(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=fu(e);return{width:t,height:r}},getScale:gu,isElement:Zc,isRTL:function(e){return"rtl"===su(e).direction}},Iu=Uc,Pu=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...i}=Dc(e,t);switch(n){case"referenceHidden":{const e=$c(await Uc(t,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Wc(e)}}}case"escaped":{const e=$c(await Uc(t,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:Wc(e)}}}default:return{}}}}},Tu=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:i,rects:o,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=Dc(e,t)||{};if(null==c)return{};const d=Vc(u),p={x:r,y:n},f=Fc(i),h=zc(f),g=await a.getDimensions(c),m="y"===f,v=m?"top":"left",y=m?"bottom":"right",b=m?"clientHeight":"clientWidth",w=o.reference[h]+o.reference[f]-p[f]-o.floating[h],S=p[f]-o.reference[f],C=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let A=C?C[b]:0;A&&await(null==a.isElement?void 0:a.isElement(C))||(A=s.floating[b]||o.floating[h]);const x=w/2-S/2,k=A/2-g[h]/2-1,E=kc(d[v],k),_=kc(d[y],k),I=E,P=A-g[h]-_,T=A/2-g[h]/2+x,B=Bc(I,T,P),D=!l.arrow&&null!=Rc(i)&&T!==B&&o.reference[h]/2-(T<I?E:_)-g[h]/2<0,N=D?T<I?T-I:T-P:0;return{[f]:p[f]+N,data:{[f]:B,centerOffset:T-B-N,...D&&{alignmentOffset:N}},reset:D}}}),Bu=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=Dc(e,t),u={x:r,y:n},d=Mc(i),p=Oc(d);let f=u[p],h=u[d];const g=Dc(s,t),m="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const e="y"===p?"height":"width",t=o.reference[p]-o.floating[e]+m.mainAxis,r=o.reference[p]+o.reference[e]-m.mainAxis;f<t?f=t:f>r&&(f=r)}if(c){var v,y;const e="y"===p?"width":"height",t=["top","left"].includes(Nc(i)),r=o.reference[d]-o.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:m.crossAxis),n=o.reference[d]+o.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?m.crossAxis:0);h<r?h=r:h>n&&(h=n)}return{[p]:f,[d]:h}}}};var Du=r(3625);const Nu=e=>{const t=e&&(e=>"HTML"===e.nodeName?e:e.parentNode||e.host)(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:r,overflowX:n,overflowY:i}=(e=>{var t;if(1!==e.nodeType)return{};const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return r?r.getComputedStyle(e,null):{}})(t);return/(auto|scroll|overlay)/.test(r+i+n)?t:Nu(t)};function Ru(e){const t=[];let r=e;for(;r;){const n=Nu(r);if(e.ownerDocument.body===n){t.push(n);break}if("BODY"===n.nodeName&&n!==e.ownerDocument.body)break;t.push(n),r=n}return t}function Ou(e){let t=!1;const{container:r,target:n,arrow:i,strategy:o,middleware:a,placement:s,useTransform:l=!0,disableUpdateOnResize:c=!1}=e,u=r.ownerDocument.defaultView;if(!n||!r||!u)return{updatePosition:()=>{},dispose:()=>{}};const d=c?null:function(e){return new e.ResizeObserver((e=>{e.every((e=>e.contentRect.width>0&&e.contentRect.height>0))&&g()}))}(u);let p=!0;const f=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const h=()=>{t||(p&&(Ru(r).forEach((e=>f.add(e))),(0,Du.s)(n)&&Ru(n).forEach((e=>f.add(e))),f.forEach((e=>{e.addEventListener("scroll",g,{passive:!0})})),null==d||d.observe(r),(0,Du.s)(n)&&(null==d||d.observe(n)),p=!1),Object.assign(r.style,{position:o}),((e,t,r)=>{const n=new Map,i={platform:_u,...r},o={...i.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=r,s=o.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=qc(c,n,l),p=n,f={},h=0;for(let r=0;r<s.length;r++){const{name:o,fn:g}=s[r],{x:m,y:v,data:y,reset:b}=await g({x:u,y:d,initialPlacement:n,placement:p,strategy:i,middlewareData:f,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=v?v:d,f={...f,[o]:{...f[o],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):b.rects),({x:u,y:d}=qc(c,p,l))),r=-1)}return{x:u,y:d,placement:p,strategy:i,middlewareData:f}})(e,t,{...i,platform:o})})(n,r,{placement:s,middleware:a,strategy:o}).then((({x:e,y:n,middlewareData:a,placement:s})=>{t||(function(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:n,y:i}=r.arrow;Object.assign(t.style,{left:null!=n?`${n}px`:"",top:null!=i?`${i}px`:""})}({arrow:i,middlewareData:a}),function(e){var t,r,n;const{container:i,placement:o,middlewareData:a,strategy:s,lowPPI:l,coordinates:c,useTransform:u=!0}=e;if(!i)return;i.setAttribute("data-popper-placement",o),i.removeAttribute(wc),a.intersectionObserver.intersecting&&i.setAttribute(wc,""),i.removeAttribute(Sc),(null===(t=a.hide)||void 0===t?void 0:t.escaped)&&i.setAttribute(Sc,""),i.removeAttribute(Cc),(null===(r=a.hide)||void 0===r?void 0:r.referenceHidden)&&i.setAttribute(Cc,"");const d=(null===(n=i.ownerDocument.defaultView)||void 0===n?void 0:n.devicePixelRatio)||1,p=Math.round(c.x*d)/d,f=Math.round(c.y*d)/d;Object.assign(i.style,{position:s}),u?Object.assign(i.style,{transform:l?`translate(${p}px, ${f}px)`:`translate3d(${p}px, ${f}px, 0)`}):Object.assign(i.style,{left:`${p}px`,top:`${f}px`})}({container:r,middlewareData:a,placement:s,coordinates:{x:e,y:n},lowPPI:((null==u?void 0:u.devicePixelRatio)||1)<=1,strategy:o,useTransform:l}),r.dispatchEvent(new CustomEvent(Ac)))})).catch((e=>{})))},g=function(){let e;return()=>(e||(e=new Promise((t=>{Promise.resolve().then((()=>{e=void 0,t(h())}))}))),e)}();return u&&(u.addEventListener("scroll",g,{passive:!0}),u.addEventListener("resize",g)),g(),{updatePosition:g,dispose:()=>{t=!0,u&&(u.removeEventListener("scroll",g),u.removeEventListener("resize",g)),f.forEach((e=>{e.removeEventListener("scroll",g)})),f.clear(),null==d||d.disconnect()}}}function zu(e,t){if("window"===t)return null==e?void 0:e.ownerDocument.documentElement;if("clippingParents"===t)return"clippingAncestors";if("scrollParent"===t){let t=Nu(e);return"BODY"===t.nodeName&&(t=null==e?void 0:e.ownerDocument.documentElement),t}return t}function Mu(e,t){if("number"==typeof e)return e;const{start:r,end:n,...i}=e,o=i,a=t?"end":"start",s=t?"start":"end";return e[a]&&(o.left=e[a]),e[s]&&(o.right=e[s]),o}const Fu=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var n;if(null===(n=t.resetMaxSize)||void 0===n?void 0:n.maxSizeAlreadyReset)return{};const{applyMaxWidth:i,applyMaxHeight:o}=e;return i&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),o&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function Lu(e,t){const{container:r,overflowBoundary:n,overflowBoundaryPadding:i,isRtl:o}=t;return function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:i,rects:o,platform:a,elements:s}=t,{apply:l=()=>{},...c}=Dc(e,t),u=await Uc(t,c),d=Nc(i),p=Rc(i),f="y"===Mc(i),{width:h,height:g}=o.floating;let m,v;"top"===d||"bottom"===d?(m=d,v=p===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(v=d,m="end"===p?"top":"bottom");const y=g-u.top-u.bottom,b=h-u.left-u.right,w=kc(g-u[m],y),S=kc(h-u[v],b),C=!t.middlewareData.shift;let A=w,x=S;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(x=b),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(A=y),C&&!p){const e=Ec(u.left,0),t=Ec(u.right,0),r=Ec(u.top,0),n=Ec(u.bottom,0);f?x=h-2*(0!==e||0!==t?e+t:Ec(u.left,u.right)):A=g-2*(0!==r||0!==n?r+n:Ec(u.top,u.bottom))}await l({...t,availableWidth:x,availableHeight:A});const k=await a.getDimensions(s.floating);return h!==k.width||g!==k.height?{reset:{rects:!0}}:{}}}}({...i&&{padding:Mu(i,o)},...n&&{altBoundary:!0,boundary:zu(r,n)},apply({availableHeight:t,availableWidth:r,elements:n,rects:i}){const o=(e,t,r)=>{if(e&&(n.floating.style.setProperty("box-sizing","border-box"),n.floating.style.setProperty(`max-${t}`,`${r}px`),i.floating[t]>r)){n.floating.style.setProperty(t,`${r}px`);const e="width"===t?"x":"y";n.floating.style.getPropertyValue(`overflow-${e}`)||n.floating.style.setProperty(`overflow-${e}`,"auto")}},{applyMaxWidth:a,applyMaxHeight:s}=e;o(a,"width",r),o(s,"height",t)}})}const ju="--fui-match-target-size";function Vu(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}function Hu(e){const t=(r=e)?"number"==typeof r||"object"==typeof r?r:({rects:{floating:e,reference:t},placement:n})=>{const{position:i,alignment:o}=(e=>{const{side:t,alignment:r}=Vu(e),n={top:"above",bottom:"below",right:"after",left:"before"}[t],i=r&&(e=>"above"===e||"below"===e?{start:"start",end:"end"}:{start:"top",end:"bottom"})(n)[r];return{position:n,alignment:i}})(n);return r({positionedRect:e,targetRect:t,position:i,alignment:o})}:r;var r,n;return void 0===(n=t)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;const{x:i,y:o,placement:a,middlewareData:s}=e,l=await async function(e,t){const{placement:r,platform:n,elements:i}=e,o=await(null==n.isRTL?void 0:n.isRTL(i.floating)),a=Nc(r),s=Rc(r),l="y"===Mc(r),c=["left","top"].includes(a)?-1:1,u=o&&l?-1:1,d=Dc(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof h&&(f="end"===s?-1*h:h),l?{x:f*u,y:p*c}:{x:p*c,y:f*u}}(e,n);return a===(null==(t=s.offset)?void 0:t.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}}const qu=(e,t,r)=>{const n=((e,t)=>{const r="above"===e||"below"===e,n="top"===t||"bottom"===t;return r&&n||!r&&!n})(t,e)?"center":e,i=t&&(e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}))(r)[t],o=n&&{start:"start",end:"end",top:"start",bottom:"end",center:void 0}[n];return i&&o?`${i}-${o}`:i};function Uu(e){const{hasScrollableElement:t,flipBoundary:r,container:n,fallbackPositions:i=[],isRtl:o}=e,a=i.reduce(((e,t)=>{const{position:r,align:n}=yc(t),i=qu(n,r,o);return i&&e.push(i),e}),[]);return function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...m}=Dc(e,t);if(null!=(r=o.arrow)&&r.alignmentOffset)return{};const v=Nc(i),y=Mc(s),b=Nc(s)===s,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),S=p||(b||!g?[jc(s)]:function(e){const t=jc(e);return[Lc(e),t,Lc(t)]}(s)),C="none"!==h;!p&&C&&S.push(...function(e,t,r,n){const i=Rc(e);let o=function(e,t,r){const n=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?i:n:t?n:i;case"left":case"right":return t?o:a;default:return[]}}(Nc(e),"start"===r,n);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(Lc)))),o}(s,g,h,w));const A=[s,...S],x=await Uc(t,m),k=[];let E=(null==(n=o.flip)?void 0:n.overflows)||[];if(u&&k.push(x[v]),d){const e=function(e,t,r){void 0===r&&(r=!1);const n=Rc(e),i=Fc(e),o=zc(i);let a="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=jc(a)),[a,jc(a)]}(i,a,w);k.push(x[e[0]],x[e[1]])}if(E=[...E,{placement:i,overflows:k}],!k.every((e=>e<=0))){var _,I;const e=((null==(_=o.flip)?void 0:_.index)||0)+1,t=A[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let r=null==(I=E.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:I.placement;if(!r)switch(f){case"bestFit":{var P;const e=null==(P=E.filter((e=>{if(C){const t=Mc(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:P[0];e&&(r=e);break}case"initialPlacement":r=s}if(i!==r)return{reset:{placement:r}}}return{}}}}({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:zu(n,r)},fallbackStrategy:"bestFit",...a.length&&{fallbackPlacements:a}})}function $u(e){const{hasScrollableElement:t,shiftToCoverTarget:r,disableTether:n,overflowBoundary:i,container:o,overflowBoundaryPadding:a,isRtl:s}=e;return function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=Dc(e,t),c={x:r,y:n},u=await Uc(t,l),d=Mc(Nc(i)),p=Oc(d);let f=c[p],h=c[d];if(o){const e="y"===p?"bottom":"right";f=Bc(f+u["y"===p?"top":"left"],f,f-u[e])}if(a){const e="y"===d?"bottom":"right";h=Bc(h+u["y"===d?"top":"left"],h,h-u[e])}const g=s.fn({...t,[p]:f,[d]:h});return{...g,data:{x:g.x-r,y:g.y-n,enabled:{[p]:o,[d]:a}}}}}}({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:!0,limiter:Bu({crossAxis:!0,mainAxis:!1})},...n&&{crossAxis:"all"===n,limiter:Bu({crossAxis:"all"!==n,mainAxis:!1})},...a&&{padding:Mu(a,s)},...i&&{altBoundary:!0,boundary:zu(o,i)}})}const Wu=({options:e})=>e,Gu=o.createContext(void 0);function Ku(e,t,r){const n=o.useRef(!0),[i]=o.useState((()=>({value:e,callback:t,facade:{get current(){return i.value},set current(e){const t=i.value;if(t!==e){if(i.value=e,r&&n.current)return;i.callback(e,t)}}}})));return(0,Oa.E)((()=>{n.current=!1}),[]),i.callback=t,i.facade}function Xu(e){const t=o.useRef(null),r=o.useRef(null),n=o.useRef(null),i=o.useRef(null),a=o.useRef(null),{enabled:s=!0}=e,l=function(e){const{dir:t,targetDocument:r}=(0,Na.Y)(),n="rtl"===t,i=function(e,t){const{align:r,arrowPadding:n,autoSize:i,coverTarget:a,disableUpdateOnResize:s,flipBoundary:l,offset:c,overflowBoundary:u,pinned:d,position:p,unstable_disableTether:f,strategy:h,overflowBoundaryPadding:g,fallbackPositions:m,useTransform:v,matchTargetSize:y,shiftToCoverTarget:b}=t;return o.useCallback(((t,o)=>e({container:t,arrow:o,options:{autoSize:i,disableUpdateOnResize:s,matchTargetSize:y,offset:c,strategy:h,coverTarget:a,flipBoundary:l,overflowBoundary:u,useTransform:v,overflowBoundaryPadding:g,pinned:d,arrowPadding:n,align:r,fallbackPositions:m,shiftToCoverTarget:b,position:p,unstable_disableTether:f}})),[i,s,y,c,h,a,l,u,v,g,d,n,r,m,b,p,f,e])}(null!==(a=o.useContext(Gu))&&void 0!==a?a:Wu,e);var a;const{positionFixed:s}=e;return o.useCallback(((e,t)=>{const r=(e=>{var t;const r=Nu(e);return!!r&&r!==(null===(t=r.ownerDocument)||void 0===t?void 0:t.body)})(e),o=i(e,t),{autoSize:a,disableUpdateOnResize:l,matchTargetSize:c,offset:u,coverTarget:d,flipBoundary:p,overflowBoundary:f,useTransform:h,overflowBoundaryPadding:g,pinned:m,position:v,arrowPadding:y,strategy:b,align:w,fallbackPositions:S,shiftToCoverTarget:C,unstable_disableTether:A}=o,x=(e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}})(a),k=[x&&Fu(x),c&&{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:n},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:i=!1}={}}}=e;if(t.width===r.width||i)return{};const{width:o}=t;return n.style.setProperty(ju,`${o}px`),n.style.width||(n.style.width=`var(${ju})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}},u&&Hu(u),d&&{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:n,y:i}=e,o={x:n,y:i};switch(Vu(t).side){case"bottom":o.y-=r.reference.height;break;case"top":o.y+=r.reference.height;break;case"left":o.x+=r.reference.width;break;case"right":o.x-=r.reference.width}return o}},!m&&Uu({container:e,flipBoundary:p,hasScrollableElement:r,isRtl:n,fallbackPositions:S}),$u({container:e,hasScrollableElement:r,overflowBoundary:f,disableTether:A,overflowBoundaryPadding:g,isRtl:n,shiftToCoverTarget:C}),x&&Lu(x,{container:e,overflowBoundary:f,overflowBoundaryPadding:g,isRtl:n}),{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await Iu(e,{altBoundary:!0}),n=r.top<t.height&&r.top>0,i=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:n||i}}}},t&&Tu({element:t,padding:y}),Pu({strategy:"referenceHidden"}),Pu({strategy:"escaped"}),!1].filter(Boolean);return{placement:qu(w,v,n),middleware:k,strategy:(null!=b?b:s)?"fixed":"absolute",disableUpdateOnResize:l,useTransform:h}}),[i,n,r,s])}(e),c=o.useCallback((()=>{var e;t.current&&t.current.dispose(),t.current=null;const o=null!==(e=n.current)&&void 0!==e?e:r.current;s&&(0,bc.S)()&&o&&i.current&&(t.current=Ou({container:i.current,target:o,arrow:a.current,...l(i.current,a.current)}))}),[s,l]),u=(0,Al.D)((e=>{n.current=e,c()}));o.useImperativeHandle(e.positioningRef,(()=>({updatePosition:()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.updatePosition()},setTarget:t=>{e.target,u(t)}})),[e.target,u]),(0,Oa.E)((()=>{var t;u(null!==(t=e.target)&&void 0!==t?t:null)}),[e.target,u]),(0,Oa.E)((()=>{c()}),[c]);const d=Ku(null,(e=>{r.current!==e&&(r.current=e,c())})),p=(0,Al.D)((()=>{var t;return null===(t=e.onPositioningEnd)||void 0===t?void 0:t.call(e)})),f=Ku(null,(e=>{var t;i.current!==e&&(null===(t=i.current)||void 0===t||t.removeEventListener(Ac,p),null==e||e.addEventListener(Ac,p),i.current=e,c())}));return{targetRef:d,containerRef:f,arrowRef:Ku(null,(e=>{a.current!==e&&(a.current=e,c())}))}}function Yu(e,t){const r=o.useRef(void 0),n=o.useCallback(((n,i)=>(void 0!==r.current&&t(r.current),r.current=e(n,i),r.current)),[t,e]),i=o.useCallback((()=>{void 0!==r.current&&(t(r.current),r.current=void 0)}),[t]);return o.useEffect((()=>i),[i]),[n,i]}Gu.Provider;const Ju=e=>-1,Zu=e=>{};function Qu(){const{targetDocument:e}=(0,Na.Y)(),t=null==e?void 0:e.defaultView;return Yu(t?t.setTimeout:Ju,t?t.clearTimeout:Zu)}const ed=e=>(e(0),0),td=e=>e;function rd(){let e=!1;const t=[];return{isActive:()=>e,toggleActive(r){e!==r&&(e=r,t.forEach((t=>t(e))))},subscribe:e=>(t.push(e),()=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)})}}var nd=r(422);function id(e,t){return{topLeft:[e.left-t[0],e.top-t[1]],topRight:[e.right-t[0],e.top-t[1]],bottomRight:[e.right-t[0],e.bottom-t[1]],bottomLeft:[e.left-t[0],e.bottom-t[1]]}}function od(e,t){return Math.sqrt((e[0]-t[0])**2+(e[1]-t[1])**2)}function ad(e){return`M ${e} z`}const sd=(0,qa.X)({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},triangle:{Bkecrkj:"f1cguypg"},triangleDebug:{Bceei9c:"f7116n6",Bkfmm31:"f1xab38x"},rectDebug:{Bkfmm31:"fyegryc"}},{d:[".fjseox{display:none;}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1aehjj5{pointer-events:none;}",".ftgm304{display:block;}",".f1au8mb3{fill:transparent;}",".f19dog8a{position:fixed;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f1cguypg{pointer-events:auto;}",".f7116n6{cursor:crosshair;}",".f1xab38x{fill:color-mix(in srgb, var(--colorPaletteGreenBackground3) 20%, transparent);}",".fyegryc{fill:color-mix(in srgb, var(--colorPaletteRedBackground3) 20%, transparent);}"]});function ld(e){if(e.width<=0||e.height<=0)return"";let t="";return t+=`M ${e.x},${e.y} `,t+=`V ${e.y+e.height} `,t+=`H ${e.x+e.width} `,t+=`V ${e.y} `,t+=`H ${e.x} `,t+="Z ",t}const cd={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON:()=>""};function ud(e,t){return e.top===t.top&&e.right===t.right&&e.bottom===t.bottom&&e.left===t.left&&e.width===t.width&&e.height===t.height}const dd=o.memo((e=>{const{debug:t,onMouseEnter:r,onMouseMove:n,onMouseLeave:i,stateStore:a}=e,s=(0,wl.Bi)(),l=sd(),c=(0,nd.useSyncExternalStore)(a.subscribe,a.isActive),u=o.useRef(null),[d,p]=o.useState((()=>({containerRect:cd,targetRect:cd,mouseCoordinates:[0,0]})));o.useImperativeHandle(e.imperativeRef,(()=>({updateSVG(e){p((t=>{return ud(t.containerRect,e.containerRect)&&ud(t.targetRect,e.targetRect)&&(r=t.mouseCoordinates,n=e.mouseCoordinates,r[0]===n[0]&&r[1]===n[1])?t:e;var r,n}))}})),[]);const{containerRect:f,targetRect:h,mouseCoordinates:g}=d,m=Math.min(h.top,f.top),v=Math.min(h.left,f.left),y=Math.max(h.bottom,f.bottom),b=Math.max(h.right,f.right),w=id(f,[v,m]),S=id(h,[v,m]),C=[g[0]-v,g[1]-m],A=function(e,t,r){const n=[(e[0]+t[0])/2,(e[1]+t[1])/2],i=function(e,t){const r=od(e,t);return 0===r?[0,0]:[(e[0]-t[0])/r,(e[1]-t[1])/r]}([r[0],r[1]],[n[0],n[1]]),o=od([n[0],n[1]],[r[0],r[1]]);return[n[0]+i[0]*(o+20),n[1]+i[1]*(o+20)]}(w.topLeft,w.bottomRight,C),x=[A,w.topLeft,w.topRight],k=[A,w.topRight,w.bottomRight],_=[A,w.bottomRight,w.bottomLeft],I=[A,w.bottomLeft,w.topLeft],P=b-v,T=y-m,B=function(e,t,r,n){let i=`M 0,0 H ${e} V ${t} H 0 Z `;return i+=ld(r),i+=ld(n),i}(P,T,{x:S.topLeft[0],y:S.topLeft[1],width:h.width,height:h.height},{x:w.topLeft[0],y:w.topLeft[1],width:f.width,height:f.height});return o.createElement("div",{className:(0,E.z)(l.wrapper,c&&l.wrapperActive),"data-safe-zone":""},c?o.createElement("svg",{"aria-hidden":!0,className:l.svg,xmlns:"http://www.w3.org/2000/svg",ref:u,style:{width:`${P}px`,height:`${T}px`,transform:`translate(${v}px, ${m}px)`}},o.createElement("g",{className:(0,E.z)(l.triangle,t&&l.triangleDebug),clipPath:`url(#${s})`,onMouseEnter:r,onMouseMove:n,onMouseLeave:i},o.createElement("path",{d:ad(x)}),o.createElement("path",{d:ad(k)}),o.createElement("path",{d:ad(_)}),o.createElement("path",{d:ad(I)})),o.createElement("clipPath",{id:s},o.createElement("path",{d:B})),t&&o.createElement("path",{className:l.rectDebug,d:B})):null)}));const pd=e=>{const[t,r]=o.useState((()=>void 0===e.defaultState?e.initialState:"function"==typeof e.defaultState?e.defaultState():e.defaultState)),n=o.useRef(e.state);o.useEffect((()=>{n.current=e.state}),[e.state]);const i=o.useCallback((e=>{(function(e){return"function"==typeof e})(e)&&e(n.current)}),[]);return fd(e.state)?[e.state,i]:[t,r]},fd=e=>{const[t]=o.useState((()=>void 0!==e));return t},hd=(e,t)=>!!(null==e?void 0:e.contains(t)),gd=e=>{const{targetDocument:t}=(0,Na.Y)(),r=null==t?void 0:t.defaultView,{refs:n,callback:i,element:a,disabled:s,disabledFocusOnIframe:l,contains:c=hd}=e,u=o.useRef(void 0);yd({element:a,disabled:l||s,callback:i,refs:n,contains:c});const d=o.useRef(!1),p=(0,Al.D)((e=>{if(d.current)return void(d.current=!1);const t=e.composedPath()[0];n.every((e=>!c(e.current||null,t)))&&!s&&i(e)})),f=(0,Al.D)((e=>{d.current=n.some((t=>c(t.current||null,e.target)))}));o.useEffect((()=>{if(s)return;let e=md(r);const t=t=>{t!==e?p(t):e=void 0};return null==a||a.addEventListener("click",t,!0),null==a||a.addEventListener("touchstart",t,!0),null==a||a.addEventListener("contextmenu",t,!0),null==a||a.addEventListener("mousedown",f,!0),u.current=null==r?void 0:r.setTimeout((()=>{e=void 0}),1),()=>{null==a||a.removeEventListener("click",t,!0),null==a||a.removeEventListener("touchstart",t,!0),null==a||a.removeEventListener("contextmenu",t,!0),null==a||a.removeEventListener("mousedown",f,!0),null==r||r.clearTimeout(u.current),e=void 0}}),[p,a,s,f,r])},md=e=>{var t,r,n;if(e)return"object"==typeof e.window&&e.window===e?e.event:null!==(n=null===(r=e.ownerDocument)||void 0===r||null===(t=r.defaultView)||void 0===t?void 0:t.event)&&void 0!==n?n:void 0},vd="fuiframefocus",yd=e=>{const{disabled:t,element:r,callback:n,contains:i=hd,pollDuration:a=100,refs:s}=e,l=o.useRef(),c=(0,Al.D)((e=>{s.every((t=>!i(t.current||null,e.target)))&&!t&&n(e)}));o.useEffect((()=>{if(!t)return null==r||r.addEventListener(vd,c,!0),()=>{null==r||r.removeEventListener(vd,c,!0)}}),[r,t,c]),o.useEffect((()=>{var e;if(!t)return l.current=null==r||null===(e=r.defaultView)||void 0===e?void 0:e.setInterval((()=>{const e=null==r?void 0:r.activeElement;if("IFRAME"===(null==e?void 0:e.tagName)||"WEBVIEW"===(null==e?void 0:e.tagName)){const t=new CustomEvent(vd,{bubbles:!0});e.dispatchEvent(t)}}),a),()=>{var e;null==r||null===(e=r.defaultView)||void 0===e||e.clearTimeout(l.current)}}),[r,t,a])};function bd(e,t){if(!e||!t)return!1;if(e===t)return!0;{const r=new WeakSet;for(;t;){const n=Ra(t,{skipVirtual:r.has(t)});if(r.add(t),n===e)return!0;t=n}}return!1}const wd=e=>{const{refs:t,callback:r,element:n,disabled:i,contains:a}=e,s=(0,Al.D)((e=>{const n=a||((e,t)=>!!(null==e?void 0:e.contains(t))),o=e.composedPath()[0];t.every((e=>!n(e.current||null,o)))&&!i&&r(e)}));o.useEffect((()=>{if(!i)return null==n||n.addEventListener("wheel",s),null==n||n.addEventListener("touchmove",s),()=>{null==n||n.removeEventListener("wheel",s),null==n||n.removeEventListener("touchmove",s)}}),[s,n,i])};function Sd(){const e=o.useRef(!0);return e.current?(e.current=!1,!0):e.current}const Cd=()=>{const e=Ma(),{targetDocument:t}=(0,Na.Y)(),r=o.useCallback(((t,r)=>{var n;return(null===(n=e.current)||void 0===n?void 0:n.focusable.findAll({container:t,acceptCondition:r}))||[]}),[e]),n=o.useCallback((t=>{var r;return null===(r=e.current)||void 0===r?void 0:r.focusable.findFirst({container:t})}),[e]),i=o.useCallback((t=>{var r;return null===(r=e.current)||void 0===r?void 0:r.focusable.findLast({container:t})}),[e]),a=o.useCallback(((r,n={})=>{if(!e.current||!t)return null;const{container:i=t.body}=n;return e.current.focusable.findNext({currentElement:r,container:i})}),[e,t]),s=o.useCallback(((r,n={})=>{if(!e.current||!t)return null;const{container:i=t.body}=n;return e.current.focusable.findPrev({currentElement:r,container:i})}),[e,t]);return{findAllFocusable:r,findFirstFocusable:n,findLastFocusable:i,findNextFocusable:a,findPrevFocusable:s}};function Ad(e){const t=o.useContext(e);return!!t.version&&-1!==t.version.current}function xd(){const e=ql((e=>e.isSubmenu)),t=Ad(Bl);return e||t}const kd="fuimenusafezonetimeout",Ed="fuimenuenter",_d=["after","after-bottom","before-top","before","before-bottom","above"],Id=e=>{const t=(e=>{const t=xd(),{hoverDelay:r=500,inline:n=!1,hasCheckmarks:i=!1,hasIcons:a=!1,closeOnScroll:s=!1,openOnContext:l=!1,persistOnItemClick:c=!1,openOnHover:u=t,defaultCheckedValues:d,mountNode:p=null,safeZone:f}=e,{targetDocument:h}=(0,Na.Y)(),g=(0,wl.Bi)("menu"),[m,v]=mc(),y={position:t?"after":"below",align:t?"top":"start",target:e.openOnContext?m:void 0,fallbackPositions:t?_d:void 0,...yc(e.positioning)},b=o.Children.toArray(e.children);let w,S;2===b.length?(w=b[0],S=b[1]):1===b.length&&(S=b[0]);const{targetRef:C,containerRef:A}=Xu(y),x=f&&u,k=o.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),E=function({debug:e=!1,disabled:t=!1,onSafeZoneEnter:r,onSafeZoneMove:n,onSafeZoneLeave:i,onSafeZoneTimeout:a,timeout:s=1500}={}){const[l]=o.useState(rd),c=o.useRef(null),u=o.useRef(null),d=o.useRef(null),[p,f]=Qu(),[h,g]=function(){const{targetDocument:e}=(0,Na.Y)(),t=null==e?void 0:e.defaultView;return Yu(t?t.requestAnimationFrame:ed,t?t.cancelAnimationFrame:td)}(),m=o.useRef({x:0,y:0}),v=o.useMemo((()=>{if(t)return()=>{};let e=null;function r(){f(),l.toggleActive(!1)}return t=>{null===t&&(null==e||e.removeEventListener("mouseenter",r)),e=t,null==t||t.addEventListener("mouseenter",r)}}),[f,t,l]),y=o.useMemo((()=>{if(t)return()=>{};let e=null;function r(e){m.current={x:e.clientX,y:e.clientY},l.isActive()||l.toggleActive(!0),p((()=>{l.toggleActive(!1)}),2e3)}return t=>{null===t&&(g(),f(),null==e||e.removeEventListener("mousemove",r)),e=t,null==t||t.addEventListener("mousemove",r)}}),[g,f,t,l,p]),b=(0,Al.D)((e=>{null==r||r(e),p((()=>{l.toggleActive(!1),null==a||a()}),s)})),w=(0,Al.D)((e=>{p((()=>{l.toggleActive(!1),null==a||a()}),s),null==n||n(e)})),S=(0,Al.D)((e=>{null==i||i(e)}));return o.useEffect((()=>l.subscribe((e=>{if(e){function t(){const e=u.current,r=d.current;var n;e&&r&&(null===(n=c.current)||void 0===n||n.updateSVG({containerRect:e.getBoundingClientRect(),mouseCoordinates:[m.current.x,m.current.y],targetRect:r.getBoundingClientRect()})),h(t)}t()}else g()}))),[g,h,l]),{containerRef:(0,Tl.a)(u,v),targetRef:(0,Tl.a)(d,y),elementToRender:o.useMemo((()=>t?null:o.createElement(dd,{debug:e,onMouseEnter:b,onMouseMove:w,onMouseLeave:S,imperativeRef:c,stateStore:l})),[t,e,b,w,S,l])}}({disabled:!x,timeout:"object"==typeof f?f.timeout:300,onSafeZoneEnter:e=>{T(e,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:e}),k.current.isInside=!0},onSafeZoneLeave:()=>{k.current.isInside=!1},onSafeZoneMove:e=>{k.current.mouseCoordinates={x:e.clientX,y:e.clientY}},onSafeZoneTimeout:()=>{const e=new CustomEvent(kd);if(T(e,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:e}),k.current.isInside&&h){const t=h.elementsFromPoint(k.current.mouseCoordinates.x,k.current.mouseCoordinates.y).find((e=>e.classList.contains(ic)));null==t||t.dispatchEvent(e)}}}),_=(0,Tl.a)(C,E.targetRef),I=(0,Tl.a)(A,E.containerRef),[P,T]=(e=>{const{targetDocument:t}=(0,Na.Y)(),r=ql((e=>e.setOpen)),n=(0,Al.D)(((t,r)=>{var n;return null===(n=e.onOpenChange)||void 0===n?void 0:n.call(e,t,r)})),i=o.useRef(!1),[a,s]=pd({state:e.open,defaultState:e.defaultOpen,initialState:!1}),l=(0,Al.D)(((t,i)=>{const o=t instanceof CustomEvent&&t.type===Ed?t.detail.nativeEvent:t;null==n||n(o,{...i}),i.open&&"contextmenu"===t.type&&e.setContextTarget(t),i.open||e.setContextTarget(void 0),i.bubble&&r(t,{...i}),s(i.open)})),[c,u]=Qu(),d=(0,Al.D)(((t,r)=>{var n;u(),t instanceof Event||!t.persist||t.persist(),r.ignoreHoverDelay||"mouseleave"!==t.type&&"mouseover"!==t.type&&"mousemove"!==t.type&&t.type!==Ed?l(t,r):((null===(n=e.triggerRef.current)||void 0===n?void 0:n.contains(t.target))&&(i.current="mouseover"===t.type||"mousemove"===t.type),c((()=>l(t,r)),e.hoverDelay))}));gd({contains:bd,disabled:!a,element:t,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:e=>d(e,{open:!1,type:"clickOutside",event:e})});const p=e.openOnContext||e.closeOnScroll;wd({contains:bd,element:t,callback:e=>d(e,{open:!1,type:"scrollOutside",event:e}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!a||!p}),(e=>{const{refs:t,callback:r,element:n,disabled:i}=e,a=(0,Al.D)((e=>{const n=t[0],o=e.target;var a;!bd(null!==(a=n.current)&&void 0!==a?a:null,o)&&!i&&r(e)}));o.useEffect((()=>{if(null!=n)return i||n.addEventListener(Ed,a),()=>{n.removeEventListener(Ed,a)}}),[a,n,i])})({element:t,callback:e=>{i.current||d(e,{open:!1,type:"menuMouseEnter",event:e})},disabled:!a,refs:[e.menuPopoverRef]});const{findFirstFocusable:f}=Cd(),h=o.useCallback((()=>{const t=f(e.menuPopoverRef.current);null==t||t.focus()}),[f,e.menuPopoverRef]),g=Sd();return o.useEffect((()=>{var r;a?h():g||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&(null===(r=e.triggerRef.current)||void 0===r||r.focus())}),[e.triggerRef,e.isSubmenu,a,h,t,e.menuPopoverRef]),[a,d]})({hoverDelay:r,isSubmenu:t,setContextTarget:v,closeOnScroll:s,menuPopoverRef:I,triggerRef:_,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:l}),[B,D]=(e=>{const[t,r]=pd({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),n=(0,Al.D)(((t,{name:n,checkedItems:i})=>{var o;null===(o=e.onCheckedValueChange)||void 0===o||o.call(e,t,{name:n,checkedItems:i}),r((e=>({...e,[n]:i})))}));return[t,n]})({checkedValues:e.checkedValues,defaultCheckedValues:d,onCheckedValueChange:e.onCheckedValueChange});return{inline:n,hoverDelay:r,triggerId:g,isSubmenu:t,openOnHover:u,contextTarget:m,setContextTarget:v,hasCheckmarks:i,hasIcons:a,closeOnScroll:s,menuTrigger:w,menuPopover:S,mountNode:p,triggerRef:_,menuPopoverRef:I,components:{},openOnContext:l,open:P,setOpen:T,checkedValues:B,onCheckedValueChange:D,persistOnItemClick:c,safeZone:E.elementToRender}})(e),r=function(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:n,inline:i,isSubmenu:o,menuPopoverRef:a,mountNode:s,onCheckedValueChange:l,open:c,openOnContext:u,openOnHover:d,persistOnItemClick:p,safeZone:f,setOpen:h,triggerId:g,triggerRef:m}=e;return{menu:{checkedValues:t,hasCheckmarks:r,hasIcons:n,inline:i,isSubmenu:o,menuPopoverRef:a,mountNode:s,onCheckedValueChange:l,open:c,openOnContext:u,openOnHover:d,persistOnItemClick:p,safeZone:f,setOpen:h,triggerId:g,triggerRef:m}}}(t);return((e,t)=>o.createElement(Hl,{value:t.menu},e.menuTrigger,e.open&&e.menuPopover))(t,r)};function Pd(e){return Boolean(e.type.isFluentTriggerComponent)}function Td(e){return o.isValidElement(e)?Pd(e)?Td(e.props.children):e:null}function Bd(e,t){return(...r)=>{null==e||e(...r),null==t||t(...r)}}function Dd(e,t){return"function"==typeof e?e(t):e?Nd(e,t):e||null}function Nd(e,t){if(!o.isValidElement(e)||e.type===o.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(Pd(e)){const r=Nd(e.props.children,t);return o.cloneElement(e,void 0,r)}return o.cloneElement(e,t)}function Rd(){}Id.displayName="Menu";const Od=e=>{const t=e=>e.hasAttribute("disabled")||e.hasAttribute("aria-disabled")&&"true"===e.getAttribute("aria-disabled");return!(!(0,Du.s)(e.target)||!t(e.target))||(0,Du.s)(e.currentTarget)&&t(e.currentTarget)},zd=e=>(e=>o.createElement(zl,{value:e.isSubmenu},e.children))((e=>{const{children:t,disableButtonEnhancement:r=!1}=e,n=ql((e=>e.triggerRef)),i=ql((e=>e.menuPopoverRef)),a=ql((e=>e.setOpen)),s=ql((e=>e.open)),l=ql((e=>e.triggerId)),c=ql((e=>e.openOnHover)),u=ql((e=>e.openOnContext)),d=xd(),{findFirstFocusable:p}=Cd(),f=o.useCallback((()=>{const e=p(i.current);null==e||e.focus()}),[p,i]),h=o.useRef(!1),g=o.useRef(!1),m=o.useRef(!1),{dir:v}=(0,Na.Y)(),y="ltr"===v?$l.Qpb:$l.nkM,b=Td(t),w=(e=>{const t=o.useRef(null);return o.useCallback((r=>{var n;null===(n=t.current)||void 0===n||n.removeEventListener(kd,e),null==r||r.addEventListener(kd,e),t.current=r}),[e])})((0,Al.D)((()=>{d&&(g.current=!0)})));var S;const C={id:l,...null==b?void 0:b.props,ref:(0,Tl.a)(n,null==b?void 0:b.ref,w),onMouseEnter:(0,Al.D)(null!==(S=null==b?void 0:b.props.onMouseEnter)&&void 0!==S?S:Rd),onMouseLeave:(0,Al.D)(Bd(null==b?void 0:b.props.onMouseLeave,(e=>{Od(e)||c&&a(e,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:e})}))),onContextMenu:(0,Al.D)(Bd(null==b?void 0:b.props.onContextMenu,(e=>{Od(e)||e.isDefaultPrevented()||u&&(e.preventDefault(),a(e,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:e}))}))),onMouseMove:(0,Al.D)(Bd(null==b?void 0:b.props.onMouseMove,(e=>{Od(e)||c&&!m.current&&(a(e,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:e}),m.current=!0)}))),onMouseOver:(0,Al.D)(Bd(null==b?void 0:b.props.onMouseOver,(e=>{Od(e)||c&&(m.current?a(e,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:e}):g.current&&(a(e,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:e}),g.current=!1))})))},A={"aria-haspopup":"menu","aria-expanded":s||d?s:void 0,...C,onClick:(0,Al.D)(Bd(null==b?void 0:b.props.onClick,(e=>{Od(e)||u||(a(e,{open:!s,keyboard:h.current,type:"menuTriggerClick",event:e}),h.current=!1)}))),onKeyDown:(0,Al.D)(Bd(null==b?void 0:b.props.onKeyDown,(e=>{if(Od(e)||e.isDefaultPrevented())return;const t=e.key;!u&&(d&&t===y||!d&&t===$l.yd$)&&a(e,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:e}),t!==$l.uf9||d||a(e,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:e}),s&&t===y&&d&&f()})))},x=(0,Ul.F)("button"===(null==b?void 0:b.type)||"a"===(null==b?void 0:b.type)?b.type:"div",A);return{isSubmenu:d,children:Dd(t,u?C:r?A:x)}})(e));zd.displayName="MenuTrigger",zd.isFluentTriggerComponent=!0;var Md=r(1053),Fd=r(7599);const Ld=(0,qa.X)({base:{D0sxk3:"fxoiby5",t6yez3:"f15q0o9g"},outline:{g2u3we:"f1ly1fcm",h3c5rm:["fi8bssc","fj6btzu"],B9xav0g:"f1s9tnsa",zhjwy3:["fj6btzu","fi8bssc"],B4j52fo:"fgx37oo",Bekrc4i:["f130t4y6","f1efpmoh"],Bn0qgzm:"fv51ejd",ibv6hh:["f1efpmoh","f130t4y6"],sj55zd:"f14nttnl"},primary:{De3pzq:"f8w4g0q"},secondary:{De3pzq:"f1nfm20t",g2u3we:"f1ly1fcm",h3c5rm:["fi8bssc","fj6btzu"],B9xav0g:"f1s9tnsa",zhjwy3:["fj6btzu","fi8bssc"],sj55zd:"f14nttnl"},subtle:{De3pzq:"fq5gl1p",sj55zd:"f1eryozh"},transparent:{De3pzq:"f1q9pm1r",sj55zd:"f1qj7y59"}},{d:[".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f1ly1fcm{border-top-color:var(--colorNeutralStroke1Selected);}",".fi8bssc{border-right-color:var(--colorNeutralStroke1Selected);}",".fj6btzu{border-left-color:var(--colorNeutralStroke1Selected);}",".f1s9tnsa{border-bottom-color:var(--colorNeutralStroke1Selected);}",".fgx37oo{border-top-width:var(--strokeWidthThicker);}",".f130t4y6{border-right-width:var(--strokeWidthThicker);}",".f1efpmoh{border-left-width:var(--strokeWidthThicker);}",".fv51ejd{border-bottom-width:var(--strokeWidthThicker);}",".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f8w4g0q{background-color:var(--colorBrandBackgroundSelected);}",".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"]}),jd=(0,qa.X)({outline:{sj55zd:"f14nttnl"},primary:{},secondary:{sj55zd:"f14nttnl"},subtle:{sj55zd:"f1qj7y59"},transparent:{sj55zd:"f1qj7y59"},highContrast:{ze5xyy:"f4xjyn1"}},{d:[".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}]]}),Vd=(0,qa.X)({base:{Bg96gwp:"fez10in"},small:{Be2twd7:"f1ugzwwg",Bqenvij:"fvblgha",Bg96gwp:"fwrc4pm",a9b677:"frx94fk"},medium:{Be2twd7:"f1ugzwwg",Bqenvij:"fvblgha",Bg96gwp:"fwrc4pm",a9b677:"frx94fk"},large:{Be2twd7:"f4ybsrx",Bqenvij:"fd461yt",Bg96gwp:"faaz57k",a9b677:"fjw5fx7"},notIconOnly:{Frg6f3:["fbyavb5","fm0x6gh"]}},{d:[".fez10in{line-height:0;}",".f1ugzwwg{font-size:12px;}",".fvblgha{height:12px;}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".frx94fk{width:12px;}",".f4ybsrx{font-size:16px;}",".fd461yt{height:16px;}",".faaz57k{line-height:var(--lineHeightBase400);}",".fjw5fx7{width:16px;}",".fbyavb5{margin-left:var(--spacingHorizontalXS);}",".fm0x6gh{margin-right:var(--spacingHorizontalXS);}"]}),Hd=o.forwardRef(((e,t)=>{const r=(({menuIcon:e,...t},r)=>{const n=(0,Md.P)(t,r);return n.root["aria-expanded"]=!!t["aria-expanded"]&&("true"===t["aria-expanded"]||!0===t["aria-expanded"]),{...n,iconOnly:Boolean(!t.children),components:{root:"button",icon:"span",menuIcon:"span"},menuIcon:Il.lq(e,{defaultProps:{children:o.createElement(Ll.yuG,null)},renderByDefault:!0,elementType:"span"})}})(e,t);return(e=>{const t=Ld(),r=jd(),n=Vd();e.root.className=(0,E.z)("fui-MenuButton",e.root["aria-expanded"]&&t.base,e.root["aria-expanded"]&&t[e.appearance],e.root.className),e.icon&&(e.icon.className=(0,E.z)("fui-MenuButton__icon",e.root["aria-expanded"]&&r[e.appearance]&&r.highContrast,e.icon.className)),e.menuIcon&&(e.menuIcon.className=(0,E.z)("fui-MenuButton__menuIcon",n.base,n[e.size],!e.iconOnly&&n.notIconOnly,e.menuIcon.className)),(0,Fd.B)({...e,iconPosition:"before"})})(r),(0,hc.$e)("useMenuButtonStyles_unstable")(r),(e=>{(0,tc.C)(e);const{icon:t,iconOnly:r}=e;return(0,ec.FD)(e.root,{children:[e.icon&&(0,ec.Y)(e.icon,{}),!r&&e.root.children,(!r||!(null==t?void 0:t.children))&&e.menuIcon&&(0,ec.Y)(e.menuIcon,{})]})})(r)}));Hd.displayName="MenuButton";const qd=(0,qa.X)({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}"],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]});function Ud(e,t){if(!e)return;const r=e;r._virtual||(r._virtual={}),r._virtual.parent=t}const $d=o.createContext(void 0);$d.Provider;var Wd=r(4919),Gd=r(549);const Kd=(0,qa.X)({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),Xd=a.useInsertionEffect,Yd=e=>{const{targetDocument:t,dir:r}=(0,Na.Y)(),n=o.useContext($d),i=(0,Gd.Y)(),a=Kd(),s=(0,Wd.q)(),l=(0,E.z)(s,a.root,e.className),c=null!=n?n:null==t?void 0:t.body,u=function(t,r){var n;const i=o.useMemo,a=o.useEffect,[s,l]=null!=(n=i((()=>(()=>{if(void 0===c||e.disabled)return[null,()=>null];const t=c.ownerDocument.createElement("div");return c.appendChild(t),[t,()=>t.remove()]})()),r))?n:[null,()=>null];return a((()=>l),r),s}(0,[c]);return Xd?Xd((()=>{if(!u)return;const e=l.split(" ").filter(Boolean);return u.classList.add(...e),u.setAttribute("dir",r),u.setAttribute("data-portal-node","true"),i.current=u,()=>{u.classList.remove(...e),u.removeAttribute("dir")}}),[l,r,u,i]):o.useMemo((()=>{u&&(u.className=l,u.setAttribute("dir",r),u.setAttribute("data-portal-node","true"),i.current=u)}),[l,r,u,i]),u};var Jd=r(2483);const Zd=e=>(e=>o.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Jd.createPortal(e.children,e.mountNode)))((e=>{const{element:t,className:r}=function(e){return(0,Du.s)(e)?{element:e}:"object"==typeof e?null===e?{element:null}:e:{}}(e.mountNode),n=o.useRef(null),i=Yd({disabled:!!t,className:r}),a=null!=t?t:i,s={children:e.children,mountNode:a,virtualParentRootRef:n};return o.useEffect((()=>{if(!a)return;const e=n.current,t=a.contains(e);return e&&!t?(Ud(a,e),()=>{Ud(a,void 0)}):void 0}),[n,a]),s})(e));Zd.displayName="Portal";const Qd=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=ql((e=>e.safeZone)),n=ql((e=>e.menuPopoverRef)),i=ql((e=>e.setOpen)),a=ql((e=>e.open)),s=ql((e=>e.openOnHover)),l=ql((e=>e.triggerRef)),c=xd(),u=o.useRef(!0),d=(Ma(Da),ea({restorer:{type:0}})),[p,f]=Qu(),{dir:h}=(0,Na.Y)(),g="ltr"===h?$l.nkM:$l.Qpb,m=o.useCallback((e=>{e&&e.addEventListener("mouseover",(e=>{var t;u.current&&(u.current=!1,t=e,n.current.dispatchEvent(new CustomEvent(Ed,{bubbles:!0,detail:{nativeEvent:t}})),p((()=>{u.current=!0}),250))}))}),[n,p]);var v;o.useEffect((()=>()=>f()),[f]);const y=null!==(v=ql((e=>e.inline)))&&void 0!==v&&v,b=ql((e=>e.mountNode)),w=Il.Gk((0,Pl.g)("div",{role:"presentation",...d,...e,ref:(0,Tl.a)(t,n,m)}),{elementType:"div"}),{onMouseEnter:S,onKeyDown:C}=w;return w.onMouseEnter=(0,Al.D)((e=>{(s||c)&&i(e,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:e}),null==S||S(e)})),w.onKeyDown=(0,Al.D)((e=>{const t=e.key;var r,o;(t===$l.uf9||c&&t===g)&&a&&(null===(r=n.current)||void 0===r?void 0:r.contains(e.target))&&!e.isDefaultPrevented()&&(i(e,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:e}),e.preventDefault()),t===$l.ozo&&(i(e,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:e}),c||null===(o=l.current)||void 0===o||o.focus()),null==C||C(e)})),{inline:y,mountNode:b,safeZone:r,components:{root:"div"},root:w}})(e,t);return(e=>{const t=qd();e.root.className=(0,E.z)("fui-MenuPopover",t.root,e.root.className)})(r),(0,hc.$e)("useMenuPopoverStyles_unstable")(r),(e=>((0,tc.C)(e),e.inline?(0,ec.FD)(o.Fragment,{children:[(0,ec.Y)(e.root,{}),e.safeZone]}):(0,ec.FD)(Zd,{mountNode:e.mountNode,children:[(0,ec.Y)(e.root,{}),e.safeZone]})))(r)}));Qd.displayName="MenuPopover";const ep=(0,qa.X)({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),tp=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{findAllFocusable:r}=Cd(),{targetDocument:n}=(0,Na.Y)(),i={checkedValues:ql((e=>e.checkedValues)),onCheckedValueChange:ql((e=>e.onCheckedValueChange)),triggerId:ql((e=>e.triggerId)),hasIcons:ql((e=>e.hasIcons)),hasCheckmarks:ql((e=>e.hasCheckmarks))},a=Ad(jl),s=La({circular:!0});((e,t,r)=>{let n=!1;for(const r in t)e[r]&&(n=!0);return r&&n})(e,i,a)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const l=o.useRef(null);o.useEffect((()=>{const e=l.current;if(a&&n&&e){const t=t=>{const r=t.detail.next;r&&e.contains(n.activeElement)&&!e.contains(r)&&t.preventDefault()};return n.addEventListener(uo,t),()=>{n.removeEventListener(uo,t)}}}),[l,n,a]);const c=o.useCallback(((e,t)=>{const n=["menuitem","menuitemcheckbox","menuitemradio"];if(!l.current)return;const i=r(l.current,(e=>e.hasAttribute("role")&&-1!==n.indexOf(e.getAttribute("role"))));let o=i.indexOf(t)+1;o===i.length&&(o=0);const a=i.map((e=>{var t;return null===(t=e.textContent)||void 0===t?void 0:t.charAt(0).toLowerCase()})),s=e.key.toLowerCase(),c=(e,t)=>{for(let t=e;t<a.length;t++)if(s===a[t])return t;return-1};let u=c(o);-1===u&&(u=c(0)),u>-1&&i[u].focus()}),[r]);var u;const[d,p]=pd({state:null!==(u=e.checkedValues)&&void 0!==u?u:a?i.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var f;const h=null!==(f=e.onCheckedValueChange)&&void 0!==f?f:a?i.onCheckedValueChange:void 0,g=(0,Al.D)(((e,t,r,n)=>{const i=[...(null==d?void 0:d[t])||[]];n?i.splice(i.indexOf(r),1):i.push(r),null==h||h(e,{name:t,checkedItems:i}),p((e=>({...e,[t]:i})))})),m=(0,Al.D)(((e,t,r)=>{const n=[r];p((e=>({...e,[t]:n}))),null==h||h(e,{name:t,checkedItems:n})}));return{components:{root:"div"},root:Il.Gk((0,Pl.g)("div",{ref:(0,Tl.a)(t,l),role:"menu","aria-labelledby":i.triggerId,...s,...e}),{elementType:"div"}),hasIcons:i.hasIcons||!1,hasCheckmarks:i.hasCheckmarks||!1,checkedValues:d,hasMenuContext:a,setFocusByFirstCharacter:c,selectRadio:m,toggleCheckbox:g}})(e,t),n=function(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:n,selectRadio:i,setFocusByFirstCharacter:o,toggleCheckbox:a}=e;return{menuList:{checkedValues:t,hasCheckmarks:r,hasIcons:n,selectRadio:i,setFocusByFirstCharacter:o,toggleCheckbox:a}}}(r);return(e=>{const t=ep();e.root.className=(0,E.z)("fui-MenuList",t.root,e.hasMenuContext&&t.hasMenuContext,e.root.className)})(r),(0,hc.$e)("useMenuListStyles_unstable")(r),((e,t)=>((0,tc.C)(e),(0,ec.Y)(Nl,{value:t.menuList,children:(0,ec.Y)(e.root,{})})))(r,n)}));tp.displayName="MenuList";const rp=(0,qa.X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),np=(0,Ha.q)({useStyles:rp,className:"fui-Caption1",displayName:"Caption1"}),ip="data-overflowing",op="data-overflow-group";function ap(e){const t=[];let r=0;const n=e=>Math.floor((e-1)/2),i=(e,r)=>{const n=t[e];t[e]=t[r],t[r]=n},o=n=>{let a=n;const s=(e=>2*e+1)(n),l=(e=>2*e+2)(n);s<r&&e(t[s],t[a])<0&&(a=s),l<r&&e(t[l],t[a])<0&&(a=l),a!==n&&(i(a,n),o(a))};return{all:()=>t.slice(0,r),clear:()=>{r=0},contains:e=>{const n=t.indexOf(e);return n>=0&&n<r},dequeue:()=>{if(0===r)throw new Error("Priority queue empty");const e=t[0];return t[0]=t[--r],o(0),e},enqueue:o=>{t[r++]=o;let a=r-1,s=n(a);for(;a>0&&e(t[s],t[a])>0;)i(s,a),a=s,s=n(a)},peek:()=>0===r?null:t[0],remove:e=>{const n=t.indexOf(e);-1===n||n>=r||(t[n]=t[--r],o(n))},size:()=>r}}function sp(){const e=new Map;let t,r,n=!1,i=!0;const o={padding:10,overflowAxis:"horizontal",overflowDirection:"end",minimumVisible:0,onUpdateItemVisibility:()=>{},onUpdateOverflow:()=>{}},a={},s={};let l=()=>null;const c=(e,t)=>{const r=e.dequeue();return t.enqueue(r),a[r]},u=lp();function d(e,t){if(!e||!t)return 0;const r=a[e],n=a[t];if(!r||!n)return r?1:-1;if(r.priority!==n.priority)return r.priority>n.priority?1:-1;const i="end"===o.overflowDirection?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING;return r.element.compareDocumentPosition(n.element)&i?1:-1}function p(t,r,n){return e.has(n)||e.set(n,"horizontal"===o.overflowAxis?n[t]:n[r]),e.get(n)}const f=p.bind(null,"offsetWidth","offsetHeight"),h=p.bind(null,"clientWidth","clientHeight"),g=ap(((e,t)=>-1*d(e,t))),m=ap(d);function v(){const e=m.all().map((e=>a[e].element)).map(f).reduce(((e,t)=>e+t),0),t=Object.entries(u.groupVisibility()).reduce(((e,[t,r])=>e+("hidden"!==r&&s[t]?f(s[t].element):0)),0);return e+t+(g.size()>0&&r?f(r):0)}const y=()=>{const e=c(g,m);var t;o.onUpdateItemVisibility({item:e,visible:!0}),e.groupId&&(u.showItem(e.id,e.groupId),u.isSingleItemVisible(e.id,e.groupId)&&(null===(t=s[e.groupId])||void 0===t||t.element.removeAttribute(ip)))},b=()=>{const e=c(m,g);var t;(o.onUpdateItemVisibility({item:e,visible:!1}),e.groupId)&&(u.isSingleItemVisible(e.id,e.groupId)&&(null===(t=s[e.groupId])||void 0===t||t.element.setAttribute(ip,"")),u.hideItem(e.id,e.groupId))},w=()=>{((()=>{if(!t)return!1;e.clear();const r=h(t)-o.padding,n=m.peek(),i=g.peek();for(;d(g.peek(),m.peek())>0;)b();for(let e=0;e<2;e++){for(;v()<r&&g.size()>0||1===g.size();)y();for(;v()>r&&m.size()>o.minimumVisible;)b()}return m.peek()!==n||g.peek()!==i})()||i)&&(i=!1,(()=>{const e=m.all(),t=g.all(),r=e.map((e=>a[e])),n=t.map((e=>a[e]));o.onUpdateOverflow({visibleItems:r,invisibleItems:n,groupVisibility:u.groupVisibility()})})())},S=function(e){let t;return()=>{t||(t=!0,queueMicrotask((()=>{t=!1,e()})))}}(w),C=()=>{r=void 0},A=e=>{if(!s[e])return;const t=s[e];t.groupId&&(delete s[e],t.element.removeAttribute(op))},x=t=>{if(!a[t])return;n&&(i=!0);const r=a[t];m.remove(t),g.remove(t),r.groupId&&(u.removeItem(r.id,r.groupId),r.element.removeAttribute(op)),e.delete(r.element),delete a[t],S()};return{addItem:e=>{a[e.id]||(a[e.id]=e,n&&(i=!0,m.enqueue(e.id)),e.groupId&&(u.addItem(e.id,e.groupId),e.element.setAttribute(op,e.groupId)),S())},disconnect:()=>{l(),t=void 0,n=!1,i=!0,Object.keys(a).forEach((e=>x(e))),Object.keys(s).forEach((e=>A(e))),C(),e.clear()},forceUpdate:w,observe:(e,r)=>{Object.assign(o,r),n=!0,Object.values(a).forEach((e=>m.enqueue(e.id))),t=e,l=function(e){var r;const n=null===(r=e.ownerDocument.defaultView)||void 0===r?void 0:r.ResizeObserver;if(!n)return()=>null;let i=new n((e=>{e[0]&&t&&S()}));return i.observe(e),()=>{null==i||i.disconnect(),i=void 0}}(t)},removeItem:x,update:S,addOverflowMenu:e=>{r=e},removeOverflowMenu:C,addDivider:e=>{e.groupId&&!s[e.groupId]&&(e.element.setAttribute(op,e.groupId),s[e.groupId]=e)},removeDivider:A}}const lp=()=>{const e={},t={};function r(r){const n=t[r];n.invisibleItemIds.size&&n.visibleItemIds.size?e[r]="overflow":0===n.visibleItemIds.size?e[r]="hidden":e[r]="visible"}return{groupVisibility:()=>e,isSingleItemVisible:(r,n)=>function(t){return"visible"===e[t]||"overflow"===e[t]}(n)&&t[n].visibleItemIds.has(r)&&1===t[n].visibleItemIds.size,addItem(e,n){var i,o,a;null!==(a=(i=t)[o=n])&&void 0!==a||(i[o]={visibleItemIds:new Set,invisibleItemIds:new Set}),t[n].visibleItemIds.add(e),r(n)},removeItem(e,n){t[n].invisibleItemIds.delete(e),t[n].visibleItemIds.delete(e),r(n)},showItem(e,n){t[n].invisibleItemIds.delete(e),t[n].visibleItemIds.add(e),r(n)},hideItem(e,n){t[n].invisibleItemIds.add(e),t[n].visibleItemIds.delete(e),r(n)}}},cp="data-overflowing",up="data-overflow-item",dp="data-overflow-menu",pp="data-overflow-divider",fp=()=>null,hp=({item:e,visible:t})=>{t?e.element.removeAttribute(cp):e.element.setAttribute(cp,"")},gp=(0,qa.X)({overflowMenu:{Brvla84:"fyfkpbf"},overflowingItems:{zb22lx:"f10570jf"}},{d:[".fyfkpbf [data-overflow-menu]{flex-shrink:0;}",".f10570jf [data-overflowing]{display:none;}"]}),mp=o.forwardRef(((e,t)=>{const r=gp(),{children:n,minimumVisible:i,overflowAxis:a="horizontal",overflowDirection:s,padding:l,onOverflowChange:c}=e,[u,d]=o.useState({hasOverflow:!1,itemVisibility:{},groupVisibility:{}}),{containerRef:p,registerItem:f,updateOverflow:h,registerOverflowMenu:g,registerDivider:m}=((e,t)=>{const{overflowAxis:r="horizontal",overflowDirection:n="end",padding:i=10,minimumVisible:a=0,onUpdateItemVisibility:s=fp}=t,l=(0,Al.D)((e=>{const{visibleItems:t,invisibleItems:r,groupVisibility:n}=e,i={};t.forEach((e=>{i[e.id]=!0})),r.forEach((e=>i[e.id]=!1));const o={hasOverflow:e.invisibleItems.length>0,itemVisibility:i,groupVisibility:n};null==c||c(null,{...o}),d(o)})),u=o.useMemo((()=>({overflowAxis:r,overflowDirection:n,padding:i,minimumVisible:a,onUpdateItemVisibility:s,onUpdateOverflow:l})),[a,s,r,n,i,l]),p=Sd(),f=o.useRef(null),[h,g]=o.useState((()=>(0,bc.S)()?sp():null));return(0,Oa.E)((()=>{p&&f.current&&(null==h||h.observe(f.current,u))}),[p,h,u]),(0,Oa.E)((()=>{if(!f.current||!(0,bc.S)()||p)return;const e=sp();e.observe(f.current,u),g(e)}),[u]),o.useEffect((()=>()=>{null==h||h.disconnect()}),[h]),{registerItem:o.useCallback((e=>(null==h||h.addItem(e),e.element.setAttribute(up,""),()=>{e.element.removeAttribute(cp),e.element.removeAttribute(up),null==h||h.removeItem(e.id)})),[h]),registerDivider:o.useCallback((e=>{const t=e.element;return null==h||h.addDivider(e),t.setAttribute(pp,""),()=>{e.groupId&&(null==h||h.removeDivider(e.groupId)),t.removeAttribute(pp)}}),[h]),registerOverflowMenu:o.useCallback((e=>(null==h||h.addOverflowMenu(e),e.setAttribute(dp,""),()=>{null==h||h.removeOverflowMenu(),e.removeAttribute(dp)})),[h]),updateOverflow:o.useCallback((()=>{null==h||h.update()}),[h]),containerRef:f}})(0,{overflowDirection:s,overflowAxis:a,padding:l,minimumVisible:i,onUpdateItemVisibility:hp}),v=Td(n),y=Dd(n,{ref:(0,Tl.a)(p,t,null==v?void 0:v.ref),className:(0,E.z)("fui-Overflow",r.overflowMenu,r.overflowingItems,n.props.className)});return o.createElement(kl.Provider,{value:{itemVisibility:u.itemVisibility,groupVisibility:u.groupVisibility,hasOverflow:u.hasOverflow,registerItem:f,updateOverflow:h,registerOverflowMenu:g,registerDivider:m}},y)})),vp=o.forwardRef(((e,t)=>{const{id:r,groupId:n,priority:i,children:a}=e,s=function(e,t,r){const n=o.useRef(null),i=_l((e=>e.registerItem));return(0,Oa.E)((()=>{if(n.current)return i({element:n.current,id:e,priority:null!=t?t:0,groupId:r})}),[e,t,i,r]),n}(r,i,n),l=Td(a);return Dd(a,{ref:(0,Tl.a)(s,t,null==l?void 0:l.ref)})}));vp.isFluentTriggerComponent=!0;const yp=(0,P.n)({root:{display:"flex",justifyContent:"center",flexWrap:"nowrap"},itemRoot:{flex:0,display:"flex",gap:"8px",alignItems:"center",padding:"8px",cursor:"pointer",outlineOffset:"-2px"},swatchContainer:{flex:"0 0 auto",width:"12px",height:"12px"},swatch:{width:"100%",height:"100%",backgroundColor:Va.L.colorNeutralBackground1},text:{whiteSpace:"nowrap",flex:"0 0 auto"}}),bp=e=>{const{localizeString:t}=o.useContext(Ga),{ref:r,overflowCount:n,isOverflowing:i}=function(e){const t=(0,wl.Bi)("overflow-menu",e),r=_l((e=>Object.entries(e.itemVisibility).reduce(((e,[t,r])=>(r||e++,e)),0))),n=_l((e=>e.registerOverflowMenu)),i=_l((e=>e.updateOverflow)),a=o.useRef(null),s=r>0;return(0,Oa.E)((()=>{if(a.current)return n(a.current)}),[n,s,t]),(0,Oa.E)((()=>{s&&i()}),[s,i,a]),{ref:a,overflowCount:r,isOverflowing:s}}();if(!i)return null;const a=(n<e.items.length?"+":"")+(1===n?t(Ya.chartLegendOverflowButtonOneItem):t(Ya.chartLegendOverflowButtonNItems,{count:n})),s=[];for(let t=e.itemIds.length-n;t<e.itemIds.length;t++)s.push(o.createElement(gc,{tabIndex:-1,key:t,style:{padding:0}},e.items[t]));return o.createElement(Id,null,o.createElement(zd,{disableButtonEnhancement:!0},o.createElement(Hd,{ref:r,appearance:"transparent"},a)),o.createElement(Qd,null,o.createElement(tp,{style:{gap:0}},s)))},wp=o.forwardRef(((e,t)=>{const r=yp();return o.createElement("div",{ref:t,className:r.itemRoot,role:"option",tabIndex:0,"aria-selected":e.isSelected,onClick:()=>{e.toggleSelected(e.item)},onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),e.toggleSelected(e.item))},onPointerEnter:()=>{e.onHovered(e.item,!0)},onPointerLeave:()=>{e.onHovered(e.item,!1)}},o.createElement("div",{className:r.swatchContainer,style:{border:`2px solid ${e.item.color}`}},o.createElement("div",{className:r.swatch,style:{backgroundColor:e.isSubdued?void 0:e.item.color,forcedColorAdjust:"none"}})),o.createElement(np,{className:r.text},e.item.name))}));wp.displayName="LegendItem";const Sp=e=>{const{localizeString:t}=o.useContext(Ga),r=yp(),n=La({axis:"horizontal"}),[i,a]=o.useState(void 0),[s,l]=o.useState(void 0),c=e=>{a(e===i?void 0:e)},u=(e,t)=>{l(t?e:void 0)},d=o.useMemo((()=>null!=i?i:s),[i,s]);o.useEffect((()=>{var t;null===(t=e.highlightItem)||void 0===t||t.call(e,d)}),[e,d]);const p=t(Ya.chartLegendAriaLabel),f=(e,t)=>o.createElement(wp,{key:t,item:e,isSelected:e===i,isSubdued:void 0!==d&&e!==d,toggleSelected:c,setSelected:a,onHovered:u}),h=e.items.map(((e,t)=>f(e,t)));return o.createElement("div",{role:"listbox","aria-multiselectable":!1,"aria-label":p},o.createElement(mp,null,o.createElement("div",Object.assign({role:"group"},n,{className:r.root}),e.items.map(((e,t)=>o.createElement(vp,{key:t,id:t.toString()},f(e)))),o.createElement(bp,{itemIds:e.items.map(((e,t)=>t.toString())),items:h}))))};function Cp(e,t){return"number"==typeof e||"object"==typeof e&&null!==e?Ap(e,t):"function"==typeof e?r=>{const n=e(r);return Ap(n,t)}:{mainAxis:t}}const Ap=(e,t)=>{return"number"==typeof e?{mainAxis:e+t}:{...e,mainAxis:(null!==(r=e.mainAxis)&&void 0!==r?r:0)+t};var r};var xp=r(7533);function kp(){const{targetDocument:e}=(0,Na.Y)(),t=o.useRef(null);return o.useEffect((()=>{const r=null==e?void 0:e.defaultView;if(r){const e=(0,ro.SQ)(r);return t.current=e,()=>{(0,ro.bd)(e),t.current=null}}}),[e]),t}var Ep=r(1644);const _p=(0,qa.X)({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),Ip=e=>{const t=(e=>{var t,r,n,i,a,s;const l=(0,xp.n)(),c=(0,Ep.wR)(),{targetDocument:u}=(0,Na.Y)(),[d,p]=Qu(),{appearance:f="normal",children:h,content:g,withArrow:m=!1,positioning:v="above",onVisibleChange:y,relationship:b,showDelay:w=250,hideDelay:S=250,mountNode:C}=e,[A,x]=pd({state:e.visible,initialState:!1}),k=o.useCallback(((e,t)=>{p(),x((r=>(t.visible!==r&&(null==y||y(e,t)),t.visible)))}),[p,x,y]),E={withArrow:m,positioning:v,showDelay:w,hideDelay:S,relationship:b,visible:A,shouldRenderTooltip:A,appearance:f,mountNode:C,components:{content:"div"},content:Il.Gk(g,{defaultProps:{role:"tooltip"},elementType:"div"})};E.content.id=(0,wl.Bi)("tooltip-",E.content.id);const _={enabled:E.visible,arrowPadding:8,position:"above",align:"center",offset:4,...yc(E.positioning)};E.withArrow&&(_.offset=Cp(_.offset,6));const{targetRef:I,containerRef:P,arrowRef:T}=Xu(_);E.content.ref=(0,Tl.a)(E.content.ref,P),E.arrowRef=T,(0,Oa.E)((()=>{if(A){var e;const t={hide:e=>k(void 0,{visible:!1,documentKeyboardEvent:e})};null===(e=l.visibleTooltip)||void 0===e||e.hide(),l.visibleTooltip=t;const r=e=>{e.key!==$l.uf9||e.defaultPrevented||(t.hide(e),e.preventDefault())};return null==u||u.addEventListener("keydown",r,{capture:!0}),()=>{l.visibleTooltip===t&&(l.visibleTooltip=void 0),null==u||u.removeEventListener("keydown",r,{capture:!0})}}}),[l,u,A,k]);const B=o.useRef(!1),D=o.useCallback((e=>{if("focus"===e.type&&B.current)return void(B.current=!1);const t=l.visibleTooltip?0:E.showDelay;d((()=>{k(e,{visible:!0})}),t),e.persist()}),[d,k,E.showDelay,l]),N=function(){const e=kp();return o.useCallback((()=>{var t,r;return null!==(r=null===(t=e.current)||void 0===t?void 0:t.isNavigatingWithKeyboard())&&void 0!==r&&r}),[e])}(),[R]=o.useState((()=>{const e=e=>{var t;(null===(t=e.detail)||void 0===t?void 0:t.isFocusedProgrammatically)&&!N()&&(B.current=!0)};let t=null;return r=>{null==t||t.removeEventListener(ro.Oy,e),null==r||r.addEventListener(ro.Oy,e),t=r}})),O=o.useCallback((e=>{let t=E.hideDelay;"blur"===e.type&&(t=0,B.current=(null==u?void 0:u.activeElement)===e.target),d((()=>{k(e,{visible:!1})}),t),e.persist()}),[d,k,E.hideDelay,u]);E.content.onPointerEnter=Bd(E.content.onPointerEnter,p),E.content.onPointerLeave=Bd(E.content.onPointerLeave,O),E.content.onFocus=Bd(E.content.onFocus,p),E.content.onBlur=Bd(E.content.onBlur,O);const z=Td(h),M={},F=!0===(null==z||null===(t=z.props)||void 0===t?void 0:t["aria-expanded"])||"true"===(null==z||null===(r=z.props)||void 0===r?void 0:r["aria-expanded"]);return"label"===b?"string"==typeof E.content.children?M["aria-label"]=E.content.children:(M["aria-labelledby"]=E.content.id,E.shouldRenderTooltip=!0):"description"===b&&(M["aria-describedby"]=E.content.id,E.shouldRenderTooltip=!0),(c||F)&&(E.shouldRenderTooltip=!1),E.children=Dd(h,{...M,...null==z?void 0:z.props,ref:(0,Tl.a)(null==z?void 0:z.ref,R,void 0===_.target?I:void 0),onPointerEnter:(0,Al.D)(Bd(null==z||null===(n=z.props)||void 0===n?void 0:n.onPointerEnter,D)),onPointerLeave:(0,Al.D)(Bd(null==z||null===(i=z.props)||void 0===i?void 0:i.onPointerLeave,O)),onFocus:(0,Al.D)(Bd(null==z||null===(a=z.props)||void 0===a?void 0:a.onFocus,D)),onBlur:(0,Al.D)(Bd(null==z||null===(s=z.props)||void 0===s?void 0:s.onBlur,O))}),E})(e);return(e=>{const t=_p();e.content.className=(0,E.z)("fui-Tooltip__content",t.root,"inverted"===e.appearance&&t.inverted,e.visible&&t.visible,e.content.className),e.arrowClassName=t.arrow})(t),(0,hc.$e)("useTooltipStyles_unstable")(t),(e=>((0,tc.C)(e),(0,ec.FD)(o.Fragment,{children:[e.children,e.shouldRenderTooltip&&(0,ec.Y)(Zd,{mountNode:e.mountNode,children:(0,ec.FD)(e.content,{children:[e.withArrow&&(0,ec.Y)("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]})))(t)};Ip.displayName="Tooltip",Ip.isFluentTriggerComponent=!0;const Pp=(0,P.n)({root:{outline:"none","&:focus":{stroke:Va.L.colorNeutralForeground1,strokeWidth:"2px"},"@media (forced-colors: active)":{stroke:"windowtext",strokeWidth:"2px"}},tooltipRoot:{display:"grid",gridTemplateColumns:"4px auto",columnGap:Va.L.spacingHorizontalS},tooltipInfo:{display:"flex",flexDirection:"column",rowGap:Va.L.spacingVerticalXXS}}),Tp=(0,qa.X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"flh3ekv",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),Bp=(0,Ha.q)({useStyles:Tp,className:"fui-Body1Stronger",displayName:"Body1Stronger"}),Dp=(0,qa.X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"fl43uef",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),Np=(0,Ha.q)({useStyles:Dp,className:"fui-Caption1Strong",displayName:"Caption1Strong"}),Rp=(0,P.n)({root:{display:"flex",flexDirection:"column",rowGap:Va.L.spacingVerticalS,"@media (forced-colors: active)":{"& > *":{color:"windowtext"}}},itemsRoot:{display:"grid",gridTemplateColumns:"repeat(4, auto)",columnGap:Va.L.spacingHorizontalS,rowGap:Va.L.spacingVerticalS},itemRoot:{display:"flex",flexDirection:"column",rowGap:Va.L.spacingVerticalXXS,padding:`${Va.L.spacingVerticalXXS} ${Va.L.spacingHorizontalS}`}}),Op=e=>{const{localizeString:t}=o.useContext(Ga),r=Rp();return o.createElement("div",{className:r.root},o.createElement($a,null,e.x),o.createElement("div",{className:r.itemsRoot},e.items.map(((e,t)=>{const n=Array.isArray(e.value)?e.value:[e.value];return o.createElement("div",{key:t,className:r.itemRoot,style:{borderLeft:`4px solid ${e.color}`,forcedColorAdjust:"none"}},o.createElement(np,null,e.legend),n.map(((e,t)=>o.createElement(Bp,{key:t},e))))}))),e.totalValue&&o.createElement(Np,{style:{gridColumn:"1 / -1"}},t(Ya.total,{value:e.totalValue})))},zp=e=>{const t=Pp();let r=e.endAngle;r-e.startAngle==360&&(r-=.1);const n=void 0!==e.cornerRadius?e.cornerRadius:0,i=!!e.displayBorder&&e.displayBorder,a=function(e,t,r,n,i,o=0){let a,s,l,c;if(0===o)a=Zs(e,t,n,i),s=Zs(e,r,n,i),l={start:a.start,end:s.start},c={start:s.end,end:a.end};else{const u=2*o/3;a=Zs(e,t,n+u,i-u),s=Zs(e,r,n+u,i-u);const d=Zs(e,t-o,n,i),p=Zs(e,r+o,n,i);l={start:d.start,end:p.start},c={start:d.end,end:p.end}}return{outerArc:a,innerArc:s,startSegment:l,endSegment:c}}(e.center,e.outerRadius,e.innerRadius,e.startAngle,r,n),s=r-e.startAngle>180?1:0;let l;if(0===n)l=`\n      M ${a.outerArc.start.x} ${a.outerArc.start.y}\n      A ${a.outerArc.radius} ${a.outerArc.radius} 0 ${s} 1 ${a.outerArc.end.x} ${a.outerArc.end.y}\n      L ${a.innerArc.end.x} ${a.innerArc.end.y}\n      A ${a.innerArc.radius} ${a.innerArc.radius} 0 ${s} 0 ${a.innerArc.start.x} ${a.innerArc.start.y}\n      Z`;else{const t=(a.outerArc.end.y-e.center.y)/(a.outerArc.end.x-e.center.x),r={start:a.outerArc.end,slope:-1/t},n={start:a.innerArc.end,slope:-1/t},i=(a.outerArc.start.y-e.center.y)/(a.outerArc.start.x-e.center.x),o={start:a.outerArc.start,slope:-1/i},s={start:a.innerArc.start,slope:-1/i},c=Xs(a.endSegment.start,a.endSegment.end),u=Xs(a.startSegment.start,a.startSegment.end),d=Ys(r,c),p=Ys(n,c),f=Ys(o,u),h=Ys(s,u);l=`\n      M ${a.outerArc.start.x},${a.outerArc.start.y}\n      A ${a.outerArc.radius} ${a.outerArc.radius} 0 0 1 ${a.outerArc.end.x} ${a.outerArc.end.y}\n      Q ${null==d?void 0:d.x},${null==d?void 0:d.y} ${a.endSegment.start.x},${a.endSegment.start.y}\n      L ${a.endSegment.end.x} ${a.endSegment.end.y}\n      Q ${null==p?void 0:p.x},${null==p?void 0:p.y} ${a.innerArc.end.x},${a.innerArc.end.y}\n      A ${a.innerArc.radius} ${a.innerArc.radius} 0 0 0 ${a.innerArc.start.x} ${a.innerArc.start.y}\n      Q ${null==h?void 0:h.x},${null==h?void 0:h.y} ${a.startSegment.end.x},${a.startSegment.end.y}\n      L ${a.startSegment.start.x},${a.startSegment.start.y}\n      Q ${null==f?void 0:f.x},${null==f?void 0:f.y} ${a.outerArc.start.x},${a.outerArc.start.y}\n      Z`}const c=o.createElement(Op,{x:e.segment.legend,items:[{value:e.value,color:e.segment.color}]});return o.createElement(Ip,{content:c,relationship:"inaccessible",withArrow:!0},o.createElement("path",{className:t.root,tabIndex:0,d:l,fill:e.segment.color,opacity:e.isSubdued?.1:1,stroke:i?Va.L.colorNeutralForegroundInverted:void 0,strokeWidth:i?1:void 0,role:"img","aria-label":e.ariaLabel}))},Mp=e=>{const t=bl(),r=e.thickness/2,n=`\n    M 0,-${e.thickness}\n    L -${e.length},-${r}\n    A ${r},${r},0,0,0,-${e.length},${r}\n    L 0,${e.thickness}\n    A ${e.thickness},${e.thickness},0,0,0,0,-${e.thickness}`;return o.createElement("path",{className:t.needle,transform:`translate(${e.position.x}, ${e.position.y}) rotate(${e.angle}, 0, 0)`,style:{pointerEvents:"none"},d:n,tabIndex:-1,"aria-hidden":!0})},Fp=e=>{var t;const{localizeString:r}=o.useContext(Ga),n=bl(),i=La({axis:"horizontal"}),a=o.useRef(null),[s,l]=o.useState(void 0),[c,u]=o.useState(void 0),d=!e.showTitle||e.showTitle,p=(null!==(t=e.height)&&void 0!==t?t:150)/2,f=.8*p,h=Math.max(void 0!==e.min?e.min:0,0),g=e.segments.reduce(((e,t)=>e+t.size),h);let m=void 0!==e.max?e.max:g;m<=h&&(m=h<100?100:h+100),m=Math.max(m,g);const v=m-h,y=o.useMemo((()=>{const t=[...e.segments];return m>g&&t.push({legend:r(Ya.chartLegendUnknown),size:m-g,color:Va.L.colorNeutralForegroundDisabled}),t}),[e.segments,m,g,r]),b=2*p,w=p,S=o.useMemo((()=>({x:b/2,y:w})),[b,w]),C=Math.min(Math.max(e.value,h),m);let A=`${ul(C)}`;0===h&&e.valueFormat===ml.Percentage&&(A=`${ul(C/m*100)}%`);const x=p-f+4,k=180*(C-h)/v,E=Js(S,f-2,k-90),_=o.useMemo((()=>e.segments.map(((e,t)=>({index:t,name:e.legend,color:e.color})))),[e.segments]),I=o.useMemo((()=>{let e=0,t=-90;return y.map(((n,i)=>{const a=n.size/v,s=t+180*a,l=ul(e),u=ul(e+y[i].size),d=r(Ya.gaugeChartSliceAriaLabel,{legend:n.legend,rangeStart:l,rangeEnd:u}),h=`${l} - ${u}`,g=o.createElement(zp,{key:i,center:S,outerRadius:p,innerRadius:f,startAngle:t+0,endAngle:s-0,displayBorder:!0,segment:n,isSubdued:void 0!==c&&i!==c,ariaLabel:d,value:h});return t=s,e+=n.size,g}))}),[S,v,p,f,y,c,r]);o.useEffect((()=>{if(a.current){const e=Gs(a.current,["slices","minText","maxText"]);if(e){const t=Math.max(e.minText.width,e.maxText.width)+8,r=new Ks(e.slices.x-t,e.slices.y-5,e.slices.width+2*t,e.slices.height+10+10);l(r.toString())}}}),[]);const P=nl([e.title,1===y.length?r(Ya.gaugeChartOneSectionAriaLabel):r(Ya.gaugeChartMultipleSectionsAriaLabel,{sectionCount:y.length})]);return o.createElement("div",{className:n.root,role:"alert","aria-label":P},e.title&&d&&o.createElement($a,{className:n.centeredText,"aria-hidden":!0},e.title),o.createElement("svg",Object.assign({ref:a},i,{width:"100%",viewBox:s,style:{maxHeight:"150px"},role:"none"}),o.createElement("g",{style:{opacity:s?1:0}},o.createElement("text",{id:"minText",className:n.minMaxText,transform:`translate(-8, ${S.y})`,role:"img",tabIndex:-1,textAnchor:"end","aria-label":r(Ya.gaugeChartMinValueAriaLabel,{value:ul(h)})},ul(h)),o.createElement("text",{id:"maxText",className:n.minMaxText,transform:`translate(${b+8}, ${S.y})`,role:"img",tabIndex:-1,"aria-label":r(Ya.gaugeChartMaxValueAriaLabel,{value:ul(m)})},ul(m)),o.createElement("g",{id:"slices"},I),o.createElement(Mp,{length:x,thickness:5,position:E,angle:k}),o.createElement("text",{transform:`translate(${S.x}, ${S.y})`,className:n.valueText,fontSize:Math.min(.6*f,24)+"px",role:"img",tabIndex:-1,"aria-label":r(Ya.gaugeChartCurrentValueAriaLabel,{value:A})},A))),e.subLabel&&o.createElement($a,{className:n.centeredText},e.subLabel),o.createElement(Sp,{items:_,highlightItem:e=>{u(null==e?void 0:e.index)}}))};class Lp extends yl{renderChartComponent(){if(!this.segments)return null;const e=this.segments.map(((e,t)=>{var r;return{legend:null!==(r=e.legend)&&void 0!==r?r:this.localizeString(Ya.chartLegendUnknown),size:e.size,color:e.color?Ws.getWellKnownColor(e.color):Ws.getColor(this.colorSet,this.theme,t)}}));return 0===e.length?null:o.createElement(Fp,{height:this.chartHeight,segments:e,title:this.title,subLabel:this.subLabel,valueFormat:this.valueFormat,min:this.min,max:this.max,value:this.value,showMinMax:this.showMinMax,showLegend:this.showLegend})}getJsonTypeName(){return Lp.jsonTypeName}}Lp.jsonTypeName="Chart.Gauge";const jp=()=>{const{targetDocument:e}=(0,Na.Y)(),[t,r]=o.useState({width:0,height:0}),n=o.useRef(null);return o.useEffect((()=>{var t;if(!(null===(t=null==e?void 0:e.defaultView)||void 0===t?void 0:t.ResizeObserver))return;const i=new e.defaultView.ResizeObserver((([e])=>{if(e){const{width:t,height:n}=e.contentRect;r({width:t,height:n})}}));return n.current&&i.observe(n.current),()=>i.disconnect()}),[e]),[n,t]},Vp={fontFamily:Va.L.fontFamilyBase,fontSize:Va.L.fontSizeBase100,fontWeight:Va.L.fontWeightSemibold,lineHeight:Va.L.lineHeightBase100},Hp=(0,P.n)({root:{display:"flex",flexDirection:"column",rowGap:"4px"},centeredText:{textAlign:"center"},chartContainer:{overflow:"auto"},xAxisValueText:Object.assign(Object.assign({},Vp),{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",textAlign:"center",color:Va.L.colorNeutralForeground1}),bar:{"@media (forced-colors: active)":{strokeWidth:"2px"}},barValueText:Object.assign(Object.assign({},Vp),{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",textAlign:"center",fontSize:Va.L.fontSizeBase200,lineHeight:Va.L.lineHeightBase200,color:Va.L.colorNeutralForeground1}),axisTitle:Object.assign(Object.assign({},Vp),{fontSize:Va.L.fontSizeBase200,lineHeight:Va.L.lineHeightBase200,fill:Va.L.colorNeutralForeground1,textAnchor:"middle","@media (forced-colors: active)":{fill:"windowtext"}}),axisTickLine:{stroke:Va.L.colorNeutralStroke1,"@media (forced-colors: active)":{stroke:"windowtext"}}}),qp={fontFamily:Va.L.fontFamilyBase,fontSize:Va.L.fontSizeBase100,fontWeight:Va.L.fontWeightSemibold,lineHeight:Va.L.lineHeightBase100},Up=(0,P.n)({yAxisValueText:Object.assign(Object.assign({},qp),{textAnchor:"end",alignmentBaseline:"middle",fill:Va.L.colorNeutralForeground1,"@media (forced-colors: active)":{fill:"windowtext"}}),axisTickLine:{stroke:Va.L.colorNeutralStroke1,"@media (forced-colors: active)":{stroke:"windowtext"}}}),$p=e=>{const t=Up();return o.createElement("g",null,o.createElement("text",{className:t.yAxisValueText,x:-5,y:e.y,fontSize:12,"aria-hidden":!0},e.displayValue),o.createElement("line",{className:t.axisTickLine,style:{strokeDasharray:"dashed"===e.style?"5, 5":"none"},x1:0,y1:e.y,x2:e.width,y2:e.y}))},Wp=e=>{var t;const{localizeString:r}=o.useContext(Ga),n=Hp(),i=La({axis:"both"}),[a,s]=o.useState(void 0),[l,c]=jp(),u=!!e.showTitle&&e.showTitle,d=void 0!==e.allowNegativeValues&&e.allowNegativeValues,p=void 0!==e.showBarValues&&e.showBarValues&&1===e.series.length,f=void 0!==e.yAxisTitle&&c.width>300,h=void 0!==e.stacked&&e.stacked,g=e.series.length>1,m=c.width>300?40:20,v=f?60:m,y=m,b=p?20:10,w=g?25:30,S=void 0!==e.width?e.width:c.width,C=null!=e.minWidth?Math.max(S,e.minWidth):S,A=C-v-y,x=C;let k=null!==(t=e.height)&&void 0!==t?t:Ws.verticalChartHeight;c.width>0&&k>c.width&&(k=c.width);const E=k+b+w,_=e.yAxisTickCount?Math.max(e.yAxisTickCount,5):5,{valueGroups:I,rangeMin:P,rangeMax:T,totalRange:B}=o.useMemo((()=>cl(e.series,{allowNegativeValues:d,stacked:h})),[d,e.series,h]);let D=e.series.length>1&&!h?e.series.length*Ws.verticalBarChart.defaultBarGroupWidth:Ws.verticalBarChart.defaultBarGroupWidth,N=Ws.verticalBarChart.defaultBBarGroupPadding,R=0,O=D*I.length+2*N*I.length;if(O>A){let e=O-A;N-=e/I.length/2,N<Ws.verticalBarChart.minBarGroupPadding&&(N=Ws.verticalBarChart.minBarGroupPadding,O=D*I.length+2*N*I.length,e=O-A,D-=e/I.length)}else R=(A-O)/2;const z=o.useCallback((e=>k-k/B*(e-P)),[k,P,B]),M=o.useMemo((()=>{const e=B/(_-1),t=[];0!==P&&0!==T&&t.push(0);let r=P;for(;r<=T;)t.push(r),r+=e;return t.map(((e,t)=>o.createElement($p,{key:t,y:z(e),displayValue:rl(e),width:A})))}),[A,_,T,P,B,z]),F=o.useCallback(((e,t,r)=>{const i=t+2*r,s=t/e.values.size,l=[],c=[],u=Array.from(e.values.values());let d=0;u.forEach(((t,f)=>{var g;const m=h?Qs(r,z(d),r+u.length*s,z(d+t.y)):Qs(r+f*s,z(0),r+(f+1)*s-2,z(t.y));d+=t.y;let v=o.createElement("path",{className:n.bar,d:el(m),fill:null!==(g=t.color)&&void 0!==g?g:Va.L.colorNeutralForeground1,opacity:void 0!==a&&t.seriesIndex!==a?.1:1,tabIndex:0});const y=o.createElement(Op,{x:e.x.toString(),items:[{legend:t.legend,value:ul(t.y),color:t.color}]});v=o.createElement(Ip,{content:y,relationship:"inaccessible",withArrow:!0},v),l.push(o.createElement(o.Fragment,{key:`${e.x}-${l.length}`},v)),p&&s>20&&c.push(o.createElement("foreignObject",{key:c.length,x:m.topLeft.x-r,y:m.topLeft.y-20,width:i,height:"100%",role:"none",pointerEvents:"none"},o.createElement("div",{className:n.barValueText,"aria-hidden":!0},ul(t.y))))}));const f=[];e.values.forEach((e=>{f.push(e.legend,ul(e.y))}));const g=nl([e.x.toString(),...f]);return o.createElement(o.Fragment,{key:e.x},o.createElement("g",{"aria-label":g,role:"img",tabIndex:-1},l),c,o.createElement("foreignObject",{x:2,y:z(0)+8,width:i-4,height:"100%",role:"none",pointerEvents:"none"},o.createElement("div",{className:n.xAxisValueText,"aria-hidden":!0},e.x)),o.createElement("line",{className:n.axisTickLine,x1:i/2,y1:z(0),x2:i/2,y2:z(0)+6}))}),[a,p,h,z,n.bar,n.barValueText,n.xAxisValueText,n.axisTickLine]),L=o.useMemo((()=>I.map(((e,t)=>o.createElement("g",{key:t,transform:`translate(${R+t*(D+2*N)}, 0)`},F(e,D,N))))),[N,D,R,F,I]),j={x:-35,y:k/2},V=nl([e.title,e.series.length>1?r(Ya.verticalBarChartWithNSeriesAriaLabel,{seriesCount:e.series.length}):r(Ya.verticalBarChartAriaLabel),e.xAxisTitle?r(Ya.xAxisAriaLabel,{axisTitle:e.xAxisTitle}):void 0,e.yAxisTitle?r(Ya.yAxisAriaLabel,{axisTitle:e.yAxisTitle}):void 0]),H=o.useMemo((()=>e.series.map(((e,t)=>{var n;return{index:t,name:null!==(n=e.legend)&&void 0!==n?n:r(Ya.chartLegendUnknown),color:e.color}}))),[e.series,r]);return o.createElement("div",{ref:l,className:n.root,role:"alert","aria-label":V},e.title&&u&&o.createElement($a,{className:n.centeredText,"aria-hidden":!0},e.title),o.createElement("div",{className:n.chartContainer},o.createElement("svg",{width:"100%",height:E,viewBox:`-${v} -${b} ${x} ${E}`},f&&o.createElement("text",{className:n.axisTitle,x:j.x,y:j.y,transform:`rotate(-90 ${j.x},${j.y})`,"aria-hidden":!0},e.yAxisTitle),M,o.createElement("g",Object.assign({},i),L))),e.xAxisTitle&&o.createElement(Np,{className:n.centeredText,"aria-hidden":!0},e.xAxisTitle),e.series.length>1&&o.createElement(Sp,{items:H,highlightItem:e=>{s(null==e?void 0:e.index)}}))};class Gp extends Pi.jB{get x(){return this.getValue(Gp.xProperty)}set x(e){this.setValue(Gp.xProperty,e)}get y(){return this.getValue(Gp.yProperty)}set y(e){this.setValue(Gp.yProperty,e)}getSchemaKey(){return"BarChartDataValue"}}Gp.xProperty=new Pi.XB(Pi.uq.v1_5,"x").setContentType("text"),Gp.yProperty=new Pi.Uy(Pi.uq.v1_5,"y",0);class Kp extends Pi.jB{get legend(){return this.getValue(Kp.legendProperty)}set legend(e){this.setValue(Kp.legendProperty,e)}}Kp.legendProperty=new Pi.XB(Pi.uq.v1_5,"legend").setContentType("text");class Xp extends gl{get xAxisTitle(){return this.getValue(Xp.xAxisTitleProperty)}set xAxisTitle(e){this.setValue(Xp.xAxisTitleProperty,e)}get yAxisTitle(){return this.getValue(Xp.yAxisTitleProperty)}set yAxisTitle(e){this.setValue(Xp.yAxisTitleProperty,e)}get color(){return this.getValue(Xp.colorProperty)}set color(e){this.setValue(Xp.colorProperty,e)}}Xp.xAxisTitleProperty=new Pi.XB(Pi.uq.v1_5,"xAxisTitle").setContentType("text"),Xp.yAxisTitleProperty=new Pi.XB(Pi.uq.v1_5,"yAxisTitle").setContentType("text"),Xp.colorProperty=new fl(Pi.uq.v1_5,"color");class Yp extends Kp{get values(){return this.getValue(Yp.valuesProperty)}set values(e){this.setValue(Yp.valuesProperty,e)}get color(){return this.getValue(Yp.colorProperty)}set color(e){this.setValue(Yp.colorProperty,e)}getSchemaKey(){return"GroupedVerticalBarChartData"}}Yp.valuesProperty=new Pi.m2(Pi.uq.v1_5,"values",(e=>new Gp)),Yp.colorProperty=new fl(Pi.uq.v1_5,"color");class Jp extends Xp{get stacked(){return this.getValue(Jp.stackedProperty)}set stacked(e){this.setValue(Jp.stackedProperty,e)}get data(){return this.getValue(Jp.dataProperty)}set data(e){this.setValue(Jp.dataProperty,e)}get showBarValues(){return this.getValue(Jp.showBarValuesProperty)}set showBarValues(e){this.setValue(Jp.showBarValuesProperty,e)}internalValidateProperties(e){super.internalValidateProperties(e),0===this.data.length&&e.addFailure(this,_i.iV.InvalidPropertyValue,"No data sets provided."),this.data.length>4&&e.addFailure(this,_i.iV.InvalidPropertyValue,"Invalid number of data sets. Maximum of 4 data sets allowed.")}}Jp.stackedProperty=new Pi.gV(Pi.uq.v1_5,"stacked",!1),Jp.dataProperty=new Pi.m2(Pi.uq.v1_5,"data",(e=>new Yp)),Jp.showBarValuesProperty=new Pi.gV(Pi.uq.v1_5,"showBarValues",!1);class Zp extends Jp{renderChartComponent(){if(!this.data)return null;const e=this.data.map(((e,t)=>{var r;const n=e.values.map((e=>{var t;return{x:null!==(t=e.x)&&void 0!==t?t:this.localizeString(Ya.chartLegendUnknown),y:e.y}}));return{legend:null!==(r=e.legend)&&void 0!==r?r:this.localizeString(Ya.chartLegendUnknown),color:e.color?Ws.getWellKnownColor(e.color):this.color?Ws.getWellKnownColor(this.color):Ws.getColor(this.colorSet,this.theme,t),values:n}}));return 0===e.length?null:o.createElement(Wp,{title:this.title,series:e,xAxisTitle:this.xAxisTitle,yAxisTitle:this.yAxisTitle,height:this.chartHeight,stacked:this.stacked})}getJsonTypeName(){return Zp.jsonTypeName}}Zp.jsonTypeName="Chart.VerticalBar.Grouped";const Qp={fontFamily:Va.L.fontFamilyBase,fontSize:Va.L.fontSizeBase100,fontWeight:Va.L.fontWeightSemibold,lineHeight:Va.L.lineHeightBase100},ef=(0,P.n)({root:{display:"flex",flexDirection:"column",rowGap:"4px"},centeredText:{textAlign:"center"},chartContainer:{overflow:"auto"},xAxisValueText:Object.assign(Object.assign({},Qp),{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",textAlign:"center",color:Va.L.colorNeutralForeground1,padding:"0 4px",fontSize:Va.L.fontSizeBase100}),axisTitle:Object.assign(Object.assign({},Qp),{fontSize:Va.L.fontSizeBase200,lineHeight:Va.L.lineHeightBase200,textAnchor:"middle",fill:Va.L.colorNeutralForeground1,"@media (forced-colors: active)":{fill:"windowtext"}}),axisLine:{stroke:Va.L.colorNeutralStroke1,"@media (forced-colors: active)":{stroke:"windowtext"}},highlightedValueLine:{stroke:Va.L.colorNeutralForeground3,strokeWidth:"2px",strokeDasharray:"6,6","@media (forced-colors: active)":{stroke:"windowtext"}},focusZone:{opacity:0,"&:hover":{opacity:1},"&:focus":{opacity:1}},lineDot:{opacity:0,"&:hover":{opacity:1},"&:focus":{opacity:1}}}),tf=(e,t,r,n)=>{const i=[];if(e.forcedLinesAroundZero){i.push({y:0});let t=0;for(let r=0;r<e.forcedLinesAroundZero.linesAboveZero;r++)t+=e.forcedLinesAroundZero.intervalStep,i.push({y:t,style:"dashed"});t=0;for(let r=0;r<e.forcedLinesAroundZero.linesBelowZero;r++)t-=e.forcedLinesAroundZero.intervalStep,i.push({y:t,style:r<e.forcedLinesAroundZero.linesBelowZero-1?"dashed":"solid"})}else{const t=Math.round(r),n=(e.rangeMax-e.rangeMin)/t;let o=e.rangeMin;for(let e=0;e<=t;e++)i.push({y:o,style:0===e?"solid":"dashed"}),o+=n}return i.map(((e,r)=>o.createElement($p,{key:r,y:n(e.y),displayValue:rl(e.y),width:t,style:e.style})))},rf=e=>{let t=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;e.series.length>0?e.series.forEach((n=>{n.values.forEach((n=>{const i=il(n.y,e.allowNegativeValues);t=Math.min(t,i),r=Math.max(r,i)}))})):(t=0,r=0),void 0!==e.yMin&&void 0!==e.yMax&&e.yMin<e.yMax?(t=e.yMin,r=e.yMax):void 0!==e.yMin&&e.yMin<t?t=e.yMin:void 0!==e.yMax&&e.yMax>r&&(r=e.yMax);let n,i=void 0!==e.yMin?t:t>0?0:t,o=void 0!==e.yMax?r:r<0?0:r;if(i<=0&&o>=0){const t=(o-i)/Math.max(e.tickCount-1,1);let r=0;if(o>0){let e=0;do{e+=t,r++}while(e<o)}let a=0;if(i<0){let e=0;do{e-=t,a++}while(e>i)}i=sl(-a*t),o=al(r*t),n={linesAboveZero:r,linesBelowZero:a,intervalStep:t}}return{minValue:t,maxValue:r,rangeMin:i,rangeMax:o,totalRange:o-i,forcedLinesAroundZero:n}},nf=e=>{var t,r;return 1===e.points.length?o.createElement("circle",{cx:e.points[0].x,cy:e.points[0].y,r:4,fill:null!==(t=e.series.color)&&void 0!==t?t:Va.L.colorNeutralForeground1,opacity:e.isHighlighted?1:.1}):o.createElement("path",{d:`M ${e.points.map((e=>`${e.x},${e.y}`)).join(" L ")}`,fill:"none",stroke:null!==(r=e.series.color)&&void 0!==r?r:Va.L.colorNeutralForeground1,opacity:e.isHighlighted?1:.1,strokeWidth:4})},of=e=>{var t;const{localizeString:r}=o.useContext(Ga),n=ef(),i=La({axis:"horizontal"}),[a,s]=o.useState(void 0),[l,c]=jp(),u=void 0!==e.showTitle&&e.showTitle,d=void 0!==e.allowNegativeValues&&e.allowNegativeValues,p=e.series.length>1,f=c.width>300?40:20,h=void 0!==e.yAxisTitle&&c.width>300,g=h?60:f,m=f,v=p?25:30;let y=null!==(t=e.height)&&void 0!==t?t:Ws.verticalChartHeight;c.width>0&&y>c.width&&(y=c.width);const b=void 0!==e.width?e.width:c.width,w=null!=e.minWidth?Math.max(b,e.minWidth):b,S=Math.max(0,w-g-m),C=w,A=y+10+v,x=e.yAxisTickCount?Math.max(e.yAxisTickCount,5):5,k=rf({series:e.series,yMin:e.yAxisMin,yMax:e.yAxisMax,allowNegativeValues:d,tickCount:x}),E=o.useCallback((e=>k.totalRange<=0?y:y-y/k.totalRange*(e-k.rangeMin)),[y,k]),_=o.useMemo((()=>tf(k,S,x,E)),[S,k,E,x]),I=o.useMemo((()=>ll(e.series)),[e.series]),P=o.useMemo((()=>{const t=[];return e.series.forEach((e=>{const r=new Map;e.values.forEach((e=>{r.set(e.x,e)})),t.push(r)})),t}),[e.series]),T=I.length<=2?S/(I.length+1):S/(I.length-1),B=o.useCallback(((e,t)=>{const r=[];let n=I.length<=2?T:0;return I.forEach((e=>{const i=P[t].get(e.value);i&&r.push({x:n,y:E(i.y)}),n+=T})),o.createElement(nf,{series:e,points:r,isHighlighted:void 0===a||t===a})}),[I,a,E,P,T]),D=o.useMemo((()=>e.series.map(((e,t)=>o.createElement("g",{key:t},B(e,t))))),[e.series,B]),N=o.useMemo((()=>{const e=S/I.length,t=[],r=E(k.rangeMin);let i=I.length<=2?T:0;for(const a of I)t.push(o.createElement(o.Fragment,{key:a.value.toString()},o.createElement("foreignObject",{x:i-e/2,y:r+8,width:e,height:"100%",role:"none",pointerEvents:"none"},o.createElement("div",{className:n.xAxisValueText,"aria-hidden":!0},a.value.toString())),o.createElement("line",{className:n.axisLine,x1:i,y1:r,x2:i,y2:r+6}))),i+=T;return t}),[I,S,E,n,k,T]),R=o.useMemo((()=>{const t=[];let r=I.length<=2?T:0;return I.forEach(((i,a)=>{const s=[];P.forEach(((t,n)=>{var a,l;const c=t.get(i.value);if(c){const t=null!==(l=null!==(a=c.color)&&void 0!==a?a:e.series[n].color)&&void 0!==l?l:Va.L.colorNeutralForeground1;s.push(o.createElement("g",{key:`${n}-${s.length}`,tabIndex:-1},o.createElement("circle",{cx:r,cy:E(c.y),r:8,fill:t}),o.createElement("circle",{cx:r,cy:E(c.y),r:4,fill:Va.L.colorNeutralBackground1})))}}));const l={topLeft:{x:0===a?r-8:r-T/2,y:E(k.rangeMin)},bottomRight:{x:a<I.length-1?r+T/2:r+8,y:E(k.maxValue)}},c=[];e.series.forEach(((e,t)=>{var r;const n=P[t].get(i.value);n&&c.push({legend:e.legend,value:ul(n.y),color:null!==(r=n.color)&&void 0!==r?r:e.color})}));const u=nl([i.value.toString(),...c.map((e=>`${e.legend} ${e.value}`))]);t.push(o.createElement(Ip,{key:a,content:{style:{maxWidth:"unset"},children:o.createElement(Op,{x:i.value.toString(),items:c})},relationship:"inaccessible",withArrow:!0},o.createElement("g",{className:n.focusZone,"aria-label":u,tabIndex:0,role:"img"},o.createElement("path",{d:el(l),fill:"transparent"}),o.createElement("line",{className:n.highlightedValueLine,x1:r,y1:E(k.rangeMin),x2:r,y2:E(k.rangeMax)}),s))),r+=T})),o.createElement("g",Object.assign({},i),t)}),[I,k,e.series,E,n,P,i,T]),O={x:-35,y:y/2},z=nl([e.title,e.series.length>1?r(Ya.lineChartWithNSeriesAriaLabel,{seriesCount:e.series.length}):r(Ya.lineChartAriaLabel),e.xAxisTitle?r(Ya.xAxisAriaLabel,{axisTitle:e.xAxisTitle}):void 0,e.yAxisTitle?r(Ya.yAxisAriaLabel,{axisTitle:e.yAxisTitle}):void 0]),M=o.useMemo((()=>e.series.map(((e,t)=>{var n;return{index:t,name:null!==(n=e.legend)&&void 0!==n?n:r(Ya.chartLegendUnknown),color:e.color}}))),[e.series,r]);return o.createElement("div",{ref:l,className:n.root,role:"alert","aria-label":z},e.title&&u&&o.createElement($a,{className:n.centeredText,"aria-hidden":!0},e.title),o.createElement("div",{className:n.chartContainer},o.createElement("svg",{width:"100%",height:A,viewBox:`-${g} -10 ${C} ${A}`},h&&o.createElement("text",{className:n.axisTitle,x:O.x,y:O.y,transform:`rotate(-90 ${O.x},${O.y})`,"aria-hidden":!0},e.yAxisTitle),_,D,R,N)),e.xAxisTitle&&o.createElement(Np,{className:n.centeredText,"aria-hidden":!0},e.xAxisTitle),e.series.length>1&&o.createElement(Sp,{items:M,highlightItem:e=>{s(null==e?void 0:e.index)}}))},af=e=>{var t,r;const n=ef(),i=La({axis:"horizontal"}),{localizeString:a}=o.useContext(Ga),s=e.isHighlighted?1:.1,l=e.series.values.length>1?a(Ya.lineChartSeriesWithNPointsAriaLabel,{legend:e.series.legend,pointCount:e.series.values.length}):a(Ya.lineChartSeriesWithOnePointAriaLabel,{legend:e.series.legend}),c=e=>dl(e)?e.getTime():e;return o.createElement("g",Object.assign({},i,{"aria-label":l,role:"presentation"}),e.series.values.length>1?o.createElement("path",{d:`M ${e.series.values.map((t=>`${e.toScreenX(c(t.x))},${e.toScreenY(t.y)}`)).join(" L ")}`,fill:"none",stroke:null!==(t=e.series.color)&&void 0!==t?t:Va.L.colorNeutralForeground1,opacity:s,strokeWidth:4,"aria-hidden":!0}):o.createElement("circle",{cx:e.toScreenX(c(e.series.values[0].x)),cy:e.toScreenY(e.series.values[0].y),r:4,fill:null!==(r=e.series.color)&&void 0!==r?r:Va.L.colorNeutralForeground1,opacity:s,"aria-hidden":!0}),e.series.values.map(((t,r)=>{var i,l,u,d,p;const f=function(e){return dl(e)?e.toLocaleDateString(void 0,{year:"numeric",month:"2-digit",day:"2-digit"}):ul(e)}(t.x),h=ul(t.y),g=nl([a(Ya.lineChartSeriesPointAriaLabel,{index:r+1,xAxisTitle:null!==(i=e.xAxisTitle)&&void 0!==i?i:"X",yAxisTitle:null!==(l=e.yAxisTitle)&&void 0!==l?l:"Y",x:f,y:h})]),m=e.toScreenX(c(t.x)),v=e.toScreenY(t.y);return o.createElement(Ip,{key:r,content:o.createElement(Op,{items:[{value:[`${null!==(u=e.xAxisTitle)&&void 0!==u?u:"x"}: ${f}`,`${null!==(d=e.yAxisTitle)&&void 0!==d?d:"y"}: ${h}`],legend:e.series.legend,color:e.series.color}]}),relationship:"inaccessible",withArrow:!0},o.createElement("g",{className:n.lineDot,tabIndex:0,"aria-label":g,role:"img"},o.createElement("line",{className:n.highlightedValueLine,x1:m,y1:e.toScreenY(e.minY),x2:m,y2:v,pointerEvents:"none",role:"none"}),o.createElement("circle",{cx:m,cy:v,r:16,fill:"transparent"}),o.createElement("circle",{cx:m,cy:v,r:8,fill:null!==(p=e.series.color)&&void 0!==p?p:Va.L.colorNeutralForeground1,opacity:s}),o.createElement("circle",{cx:m,cy:v,r:4,fill:Va.L.colorNeutralBackground1,opacity:s})))})))},sf=e=>{var t;const{localizeString:r}=o.useContext(Ga),n=ef(),[i,a]=o.useState(void 0),[s,l]=jp(),c=void 0!==e.showTitle&&e.showTitle,u=void 0!==e.allowNegativeValues&&e.allowNegativeValues,d=e.series.length>1,p=l.width>300?40:20,f=void 0!==e.yAxisTitle&&l.width>300,h=f?60:p,g=p,m=d?25:30;let v=null!==(t=e.height)&&void 0!==t?t:Ws.verticalChartHeight;l.width>0&&v>l.width&&(v=l.width);const y=void 0!==e.width?e.width:l.width,b=null!=e.minWidth?Math.max(y,e.minWidth):y,w=Math.max(0,b-h-g),S=b,C=v+10+m;let A=e.xAxisTickCount?Math.max(e.xAxisTickCount,5):5;const x=e.yAxisTickCount?Math.max(e.yAxisTickCount,5):5;e.series.forEach((e=>{e.values=e.values.sort(((e,t)=>dl(e.x)&&dl(t.x)?e.x.getTime():"number"==typeof t.x&&"number"==typeof e.x?e.x-t.x:0))}));const k=rf({series:e.series,yMin:e.yAxisMin,yMax:e.yAxisMax,allowNegativeValues:u,tickCount:x});let E=Number.POSITIVE_INFINITY,_=Number.NEGATIVE_INFINITY,I=!1;e.series.forEach((e=>{e.values.forEach((e=>{let t;dl(e.x)?(t=e.x.getTime(),I=!0):t=e.x;const r=il(t,!0);E=Math.min(E,r),_=Math.max(_,r)}))}));let P=sl(E),T=al(_);if(P===T)I?(P=new Date(P).getTime()-864e5,T=new Date(T).getTime()+864e5):(P-=1,T+=1),A=3;else if(I){const e=Math.ceil((T-P)/864e5)+1;e<A&&(A=Math.max(e,2))}const B=T-P,D=o.useCallback((e=>k.totalRange<=0?v:v-v/k.totalRange*(e-k.rangeMin)),[v,k]),N=o.useCallback((e=>w/B*(e-P)),[w,P,B]),R=o.useMemo((()=>tf(k,w,x,D)),[w,D,k,x]),O=o.useMemo((()=>{const e=w/(A-1),t=B/(A-1),r=[];let i=P;for(;i<=T;)r.push(i),i+=t;const a=D(k.rangeMin);let s;const l=r.map((e=>{if(I){const t=new Date(e),r=s&&s.getFullYear()===t.getFullYear()&&s.getMonth()===t.getMonth()?t.toLocaleDateString(void 0,{month:"long",day:"numeric"}):t.toLocaleDateString(void 0,{month:"long",day:"numeric",year:"numeric"});return s=t,r}return rl(e)}));return r.map(((t,r)=>o.createElement(o.Fragment,{key:r},o.createElement("foreignObject",{x:N(t)-e/2,y:a+8,width:e,height:"100%",role:"none",pointerEvents:"none"},o.createElement("div",{className:n.xAxisValueText,"aria-hidden":!0},l[r])),o.createElement("line",{className:n.axisLine,x1:N(t),y1:a,x2:N(t),y2:a+6}))))}),[w,A,T,P,B,N,D,n.xAxisValueText,n.axisLine,I,k]),z=o.useCallback(((t,r)=>o.createElement(af,{series:t,isHighlighted:void 0===i||r===i,xAxisTitle:e.xAxisTitle,yAxisTitle:e.yAxisTitle,minY:k.rangeMin,toScreenX:N,toScreenY:D})),[i,N,D,k,e.xAxisTitle,e.yAxisTitle]),M=o.useMemo((()=>e.series.map(((e,t)=>o.createElement("g",{key:t},z(e,t))))),[e.series,z]),F={x:-35,y:v/2},L=nl([e.title,e.series.length>1?r(Ya.lineChartWithNSeriesAriaLabel,{seriesCount:e.series.length}):r(Ya.lineChartAriaLabel),e.xAxisTitle?r(Ya.xAxisAriaLabel,{axisTitle:e.xAxisTitle}):void 0,e.yAxisTitle?r(Ya.yAxisAriaLabel,{axisTitle:e.yAxisTitle}):void 0]),j=o.useMemo((()=>e.series.map(((e,t)=>{var n;return{index:t,name:null!==(n=e.legend)&&void 0!==n?n:r(Ya.chartLegendUnknown),color:e.color}}))),[e.series,r]);return o.createElement("div",{ref:s,className:n.root,role:"alert","aria-label":L},e.title&&c&&o.createElement($a,{className:n.centeredText,"aria-hidden":!0},e.title),o.createElement("div",{className:n.chartContainer},o.createElement("svg",{width:"100%",height:C,viewBox:`-${h} -10 ${S} ${C}`},f&&o.createElement("text",{className:n.axisTitle,x:F.x,y:F.y,transform:`rotate(-90 ${F.x},${F.y})`,"aria-hidden":!0},e.yAxisTitle),R,M,O)),e.xAxisTitle&&o.createElement(Np,{className:n.centeredText,"aria-hidden":!0},e.xAxisTitle),e.series.length>1&&o.createElement(Sp,{items:j,highlightItem:e=>{a(null==e?void 0:e.index)}}))};var lf=r(2290);class cf extends Pi.BG{parse(e,t,r){const n=t[this.name];if("string"==typeof n){const e=(0,lf._U)(n,!0);return null!=e?e:n}return"number"==typeof n?n:this.defaultValue}toJSON(e,t,r,n){r instanceof Date?n.serializeDate(t,this.name,r):"number"==typeof r&&n.serializeNumber(t,this.name,r)}getDescriptor(e){return{valueTypes:[{type:"number"},{type:"string"}]}}toString(){return this.name}constructor(e,t,r){super(e,t,r)}}class uf extends Pi.jB{get x(){return this.getValue(uf.xProperty)}set x(e){this.setValue(uf.xProperty,e)}get y(){return this.getValue(uf.yProperty)}set y(e){this.setValue(uf.yProperty,e)}getSchemaKey(){return"LineChartValue"}}uf.xProperty=new cf(Pi.uq.v1_5,"x",0),uf.yProperty=new Pi.Uy(Pi.uq.v1_5,"y",0);class df extends Kp{get values(){return this.getValue(df.valuesProperty)}set values(e){this.setValue(df.valuesProperty,e)}get color(){return this.getValue(df.colorProperty)}set color(e){this.setValue(df.colorProperty,e)}getSchemaKey(){return"LineChartData"}}df.valuesProperty=new Pi.m2(Pi.uq.v1_5,"values",(e=>new uf)),df.colorProperty=new fl(Pi.uq.v1_5,"color");class pf extends Xp{get data(){return this.getValue(pf.dataProperty)}set data(e){this.setValue(pf.dataProperty,e)}get yMin(){return this.getValue(pf.yMinProperty)}set yMin(e){this.setValue(pf.yMinProperty,e)}get yMax(){return this.getValue(pf.yMaxProperty)}set yMax(e){this.setValue(pf.yMaxProperty,e)}}pf.dataProperty=new Pi.m2(Pi.uq.v1_5,"data",(e=>new df)),pf.yMinProperty=new Pi.Uy(Pi.uq.v1_5,"yMin"),pf.yMaxProperty=new Pi.Uy(Pi.uq.v1_5,"yMax");class ff extends pf{renderChartComponent(){if(!this.data)return null;const e=this.data.map(((e,t)=>{const r=e.values.map((e=>({x:e.x,y:e.y})));return{legend:e.legend,color:e.color?Ws.getWellKnownColor(e.color):this.color?Ws.getWellKnownColor(this.color):Ws.getColor(this.colorSet,this.theme,t),values:r}})),t=[],r=[],n=[];e.forEach((e=>{const i=[],o=[],a=[];for(const t of e.values){const{x:e}=t,r=(0,k.__rest)(t,["x"]);"number"==typeof e?i.push(Object.assign({x:e},r)):dl(e)&&o.push(Object.assign({x:e},r)),a.push(Object.assign({x:pl(e)},r))}i.length===e.values.length?t.push({legend:e.legend,color:e.color,values:i}):o.length===e.values.length&&r.push({legend:e.legend,color:e.color,values:o}),n.push({legend:e.legend,color:e.color,values:a})}));const i=t.length===e.length?t:r.length===e.length?r:void 0;return(i?0===i.length:0===n.length)?null:i?o.createElement(sf,{title:this.title,series:i,xAxisTitle:this.xAxisTitle,yAxisTitle:this.yAxisTitle,yAxisMin:this.yMin,yAxisMax:this.yMax,height:this.chartHeight,allowNegativeValues:!0}):o.createElement(of,{title:this.title,series:n,xAxisTitle:this.xAxisTitle,yAxisTitle:this.yAxisTitle,yAxisMin:this.yMin,yAxisMax:this.yMax,height:this.chartHeight,allowNegativeValues:!0})}getJsonTypeName(){return ff.jsonTypeName}}ff.jsonTypeName="Chart.Line";const hf=(0,qa.X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}"]}),gf=(0,Ha.q)({useStyles:hf,className:"fui-Caption2Strong",displayName:"Caption2Strong"});var mf;!function(e){e[e.AbsoluteWithAxis=0]="AbsoluteWithAxis",e[e.AbsoluteNoAxis=1]="AbsoluteNoAxis",e[e.PartToWhole=2]="PartToWhole"}(mf||(mf={})),(0,Wa.FM)(mf,"HorizontalBarChartDisplayMode");class vf extends Pi.jB{get x(){return this.getValue(vf.xProperty)}set x(e){this.setValue(vf.xProperty,e)}get y(){return this.getValue(vf.yProperty)}set y(e){this.setValue(vf.yProperty,e)}get color(){return this.getValue(vf.colorProperty)}set color(e){this.setValue(vf.colorProperty,e)}getSchemaKey(){return"HorizontalBarChartDataValue"}}vf.xProperty=new Pi.XB(Pi.uq.v1_5,"x").setContentType("text"),vf.yProperty=new Pi.Uy(Pi.uq.v1_5,"y",0),vf.colorProperty=new fl(Pi.uq.v1_5,"color");class yf extends Xp{get data(){return this.getValue(yf.dataProperty)}set data(e){this.setValue(yf.dataProperty,e)}get displayMode(){return this.getValue(yf.displayModeProperty)}set displayMode(e){this.setValue(yf.displayModeProperty,e)}internalValidateProperties(e){super.internalValidateProperties(e),0===this.data.length&&e.addFailure(this,_i.iV.InvalidPropertyValue,"No data sets provided."),this.data.length>4&&e.addFailure(this,_i.iV.InvalidPropertyValue,"Invalid number of data sets. Maximum of 4 data sets allowed.")}}yf.dataProperty=new Pi.m2(Pi.uq.v1_5,"data",(e=>new vf)),yf.displayModeProperty=new Pi.fX(Pi.uq.v1_5,"displayMode",mf,mf.AbsoluteWithAxis);const bf={textAlign:"center",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"0 4px"},wf=(0,P.n)({root:{display:"flex",flexDirection:"column",rowGap:Va.L.spacingVerticalS,overflow:"hidden","--first-bar-group-row-padding":"10px","--last-bar-group-row-padding":"10px","--grid-line-color":Va.L.colorNeutralStroke1},chartRoot:{display:"flex",flexDirection:"row",columnGap:Va.L.spacingHorizontalS},yAxisTitle:{writingMode:"vertical-lr",transform:"rotate(180deg)",textAlign:"center"},gridRoot:{display:"grid",gridTemplateColumns:"max-content 1fr",flex:1},tickLinesRoot:{gridColumn:2,display:"flex"},firstTickLine:{borderLeft:"1px solid var(--grid-line-color)",borderRight:"1px solid var(--grid-line-color)",height:"100%"},tickLine:{borderRight:"1px solid var(--grid-line-color)",height:"100%"},tickValuesRoot:{gridColumn:2,display:"flex"},tickValuesContainer:{height:"100%",display:"flex",flexDirection:"column",justifyContent:"end",position:"relative",paddingTop:Va.L.spacingVerticalXXS},leftTickValue:Object.assign(Object.assign({},bf),{position:"absolute",transform:"translateX(-50%)"}),rightTickValue:Object.assign(Object.assign({},bf),{transform:"translateX(50%)"}),barContainer:{display:"flex",flexDirection:"column",rowGap:Va.L.spacingVerticalXS},bar:{display:"flex",alignItems:"center",justifyContent:"end",outlineOffset:"-2px","@media (forced-colors: active)":{border:"2px solid windowtext"}},barPartToWholeResidual:{backgroundColor:Va.L.colorNeutralBackground1Pressed,"@media (forced-colors: active)":{backgroundColor:"windowtext"}},barValue:{transform:`translateX(calc(100% + ${Va.L.spacingHorizontalXS}))`,textOverflow:"ellipsis",whiteSpace:"nowrap","@media (forced-colors: active)":{color:"windowtext"}},barGroup:{display:"flex",flexDirection:"column",rowGap:"2px",gridColumn:2,padding:`${Va.L.spacingVerticalS} 0`},barGroupRow:{gridColumn:"1 / -1",display:"grid",gridTemplateColumns:"subgrid",zIndex:100},firstBarGroupRow:{marginTop:"var(--first-bar-group-row-padding)"},lastBarGroupRow:{marginBottom:"var(--last-bar-group-row-padding)"},barGroupRowHeader:{display:"flex",columnGap:Va.L.spacingHorizontalXS,alignItems:"end",justifyContent:"space-between"},yAxisLabel:{display:"grid",gridTemplateColumns:"1fr auto",alignItems:"center",columnGap:Va.L.spacingHorizontalXS,textAlign:"end"},yAxisTickLine:{width:"6px",borderTop:"1px solid var(--grid-line-color)"},xAxisTitle:{textAlign:"center",gridColumn:"2 / -1",marginTop:Va.L.spacingVerticalXS}}),Sf=e=>{const t=wf(),{localizeString:r}=o.useContext(Ga),n=Array.from(e.valueGroup.values.values()),i=`${(e.valueGroup.totalValue/e.grandTotal*100).toFixed(1)}%`,a=[e.valueGroup.x.toString()];return e.displayMode===mf.PartToWhole?a.push(r(Ya.xOutOfY,{x:e.valueGroup.totalValue,y:ul(e.grandTotal)}),i):a.push(...n.map((e=>{const t=ul(e.y);return e.legend?`${e.legend}: ${t}`:`${t}`}))),o.createElement("div",{className:e.className,style:Object.assign({},e.style),"aria-label":nl(a),role:"img"},e.displayMode===mf.AbsoluteWithAxis?o.createElement(gf,{className:t.yAxisLabel,style:{gridColumn:1},"aria-hidden":!0},e.showYAxisTickLabels&&e.valueGroup.x,o.createElement("div",{className:t.yAxisTickLine,style:{gridColumn:2}})):o.createElement("div",{className:t.barGroupRowHeader,style:{gridColumn:2},"aria-hidden":!0},o.createElement(Np,null,e.valueGroup.x),"overBar"===e.barValueDisplayMode&&o.createElement(Np,{style:{textAlign:"end"}},`${e.valueGroup.totalValue} (${i})`)),o.createElement("div",{className:t.barGroup},n.map(((r,n)=>{const i=il(r.y,!1);let a=i/e.totalRange*100;e.displayMode===mf.PartToWhole&&(a=i/e.grandTotal*100);let s=o.createElement("div",{className:t.bar,tabIndex:0,role:"button",style:{width:`${a}%`,height:e.barHeight,backgroundColor:r.color,forcedColorAdjust:"none",opacity:void 0!==e.highlightedSeriesIndex&&e.highlightedSeriesIndex!==r.seriesIndex?.2:1}},"rightOfBar"===e.barValueDisplayMode&&o.createElement(Np,{className:t.barValue},i));if(e.displayMode!==mf.PartToWhole){const t=o.createElement(Op,{x:e.valueGroup.x.toString(),items:[{legend:r.legend,color:r.color,value:ul(r.y)}]});s=o.createElement(Ip,{content:t,relationship:"inaccessible",positioning:"after",withArrow:!0},s)}return o.createElement("div",{key:n,style:{display:"flex"}},s,e.displayMode===mf.PartToWhole&&o.createElement("div",{className:t.barPartToWholeResidual,style:{width:100-a+"%",height:e.barHeight}}))}))))},Cf=e=>{const t=wf(),[r,n]=jp(),[i,a]=o.useState(void 0),s=La({axis:"vertical"}),{localizeString:l}=o.useContext(Ga),c=void 0!==e.showTitle&&e.showTitle,u=void 0!==e.displayMode?e.displayMode:mf.AbsoluteWithAxis,d=e.series.length>1,p=u===mf.AbsoluteWithAxis?void 0!==e.barHeight?e.barHeight:24:12;let f="none";e.showBarValues&&(f=u===mf.AbsoluteWithAxis||u===mf.AbsoluteNoAxis?"rightOfBar":"overBar");const h=e.xAxisTickCount?Math.max(e.xAxisTickCount,6):6,g=e.xAxisTitle&&u===mf.AbsoluteWithAxis,m=e.yAxisTitle&&n.width>300&&u===mf.AbsoluteWithAxis,v=n.width>200,{valueGroups:y,totalRange:b,grandTotal:w}=o.useMemo((()=>cl(e.series)),[e.series]),S=o.useMemo((()=>y.map(((e,r)=>{const n=[];return 0===r&&n.push(t.firstBarGroupRow),r===y.length-1&&n.push(t.lastBarGroupRow),o.createElement(Sf,{key:r,className:(0,E.z)(t.barGroupRow,...n),style:{gridRow:r+1},valueGroup:e,totalRange:b,grandTotal:w,displayMode:u,barValueDisplayMode:f,barHeight:p,highlightedSeriesIndex:i,showYAxisTickLabels:v})}))),[y,b,w,u,p,f,i,t.barGroupRow,t.firstBarGroupRow,t.lastBarGroupRow,v]),C=[],A=[];u===mf.AbsoluteWithAxis&&(()=>{const e=100/h;for(let r=0;r<h;r++){const n=(e,n)=>o.createElement(gf,{key:`tickValue-${r}-${e}`,className:"left"===n?t.leftTickValue:t.rightTickValue,"aria-hidden":!0},rl(e)),i=[n((r+1)*b*e/100,"right")];0===r&&i.push(n(0,"left")),C.push(o.createElement("div",{key:`tickLine-${r}`,className:0===r?t.firstTickLine:t.tickLine,style:{width:`${e}%`}})),A.push(o.createElement("div",{key:`tickValue-${r}`,className:t.tickValuesContainer,style:{width:`${e}%`}},i))}})();const x=o.useMemo((()=>e.series.map(((e,t)=>{var r;return{index:t,name:null!==(r=e.legend)&&void 0!==r?r:l(Ya.chartLegendUnknown),color:e.color}}))),[e.series,l]),k=nl([e.title,e.series.length>1?l(Ya.horizontalBarChartWithNSeriesAriaLabel,{seriesCount:e.series.length}):l(Ya.horizontalBarChartAriaLabel),e.xAxisTitle&&l(Ya.xAxisAriaLabel,{axisTitle:e.xAxisTitle}),e.yAxisTitle&&l(Ya.yAxisAriaLabel,{axisTitle:e.yAxisTitle})]);return o.createElement("div",{ref:r,className:t.root,"aria-label":k,role:"alert"},e.title&&c&&o.createElement($a,{style:{textAlign:"center"},"aria-hidden":!0},e.title),o.createElement("div",{className:t.chartRoot,style:{marginRight:u===mf.AbsoluteWithAxis||"rightOfBar"===f?Va.L.spacingHorizontalXXL:0},role:"none"},m&&o.createElement(Np,{className:t.yAxisTitle,"aria-hidden":!0},e.yAxisTitle),o.createElement("div",Object.assign({className:t.gridRoot},s),o.createElement("div",{className:t.tickLinesRoot,style:{gridRow:`1 / ${y.length+1}`}},C),o.createElement("div",{className:t.tickValuesRoot,style:{gridRow:y.length+2,minWidth:0}},A),g&&o.createElement(Np,{className:t.xAxisTitle,style:{gridRow:y.length+3},"aria-hidden":!0},e.xAxisTitle),S,u===mf.PartToWhole&&o.createElement(Np,{style:{textAlign:"end",gridColumn:"1 / -1",gridRow:y.length+4},"aria-hidden":!0},l(Ya.total,{value:w})))),d&&o.createElement(Sp,{items:x,highlightItem:e=>{a(null==e?void 0:e.index)}}))};class Af extends yf{renderChartComponent(){if(!this.data)return null;const e=[];this.data.forEach(((t,r)=>{t.x&&e.push({x:t.x,y:t.y,color:t.color?Ws.getWellKnownColor(t.color):this.color?Ws.getWellKnownColor(this.color):Ws.getColor(this.colorSet,this.theme,r)})}));const t={values:e,color:this.color?Ws.getWellKnownColor(this.color):Ws.getColor(this.colorSet,this.theme,0)};return 0===t.values.length?null:o.createElement(Cf,{title:this.title,series:[t],xAxisTitle:this.xAxisTitle,yAxisTitle:this.yAxisTitle,displayMode:this.displayMode,showBarValues:this.displayMode!==mf.AbsoluteWithAxis})}getJsonTypeName(){return Af.jsonTypeName}}Af.jsonTypeName="Chart.HorizontalBar";const xf=(0,P.n)({root:{display:"flex",flexDirection:"column",rowGap:Va.L.spacingVerticalS,overflow:"hidden"},chartRoot:{display:"flex",flexDirection:"column",rowGap:Va.L.spacingVerticalS},bar:{display:"flex",alignItems:"center",justifyContent:"end",outlineOffset:"-2px","@media (forced-colors: active)":{border:"2px solid windowtext"}},row:{display:"flex",flexDirection:"column",rowGap:Va.L.spacingVerticalS},rowHeader:{display:"flex",columnGap:Va.L.spacingHorizontalXS,alignItems:"end",justifyContent:"space-between"},horizontalBarStack:{display:"flex",flexDirection:"row",gap:Va.L.spacingHorizontalXS}}),kf=e=>{const t=xf(),r=La({axis:"horizontal"});return o.createElement("div",{className:t.row,"aria-label":e.ariaLabel,role:"img"},o.createElement("div",{className:t.rowHeader},o.createElement(Np,null,e.series.legend),o.createElement(Np,null,ul(e.grandTotal))),o.createElement("div",Object.assign({className:t.horizontalBarStack},r),e.series.values.map(((r,n)=>{const i=il(r.y,!1)/e.grandTotal*100,a=o.createElement(Op,{x:e.series.legend,items:[{legend:r.x.toString(),color:r.color,value:`${ul(r.y)} (${ul(i)}%)`}]});return o.createElement(Ip,{key:n,content:a,relationship:"inaccessible"},o.createElement("div",{className:t.bar,tabIndex:0,role:"button",style:{width:`${i}%`,height:e.barHeight,backgroundColor:r.color,forcedColorAdjust:"none",opacity:void 0!==e.highlightedValue&&e.highlightedValue!==r.x?.1:1}}))}))))},Ef=e=>{const t=xf(),[r,n]=o.useState(void 0),{localizeString:i}=o.useContext(Ga),a=void 0!==e.showTitle&&e.showTitle,s=e.series.length>1,l=void 0!==e.barHeight?e.barHeight:12,c=o.useMemo((()=>e.series.map(((e,t)=>{const n=e.values.reduce(((e,t)=>e+t.y),0),a=nl([e.legend,i(Ya.total,{value:n}),...e.values.map((e=>`${e.x}: ${e.y} (${(e.y/n*100).toFixed(1)}%)`))]);return o.createElement(kf,{key:t,series:e,index:t,highlightedValue:r,barHeight:l,ariaLabel:a,grandTotal:n})}))),[e.series,r,l,i]),u=o.useMemo((()=>ll(e.series).map(((e,t)=>({name:e.value.toString(),color:e.color,index:t})))),[e.series]),d=nl([e.title,i(Ya.stackedHorizontalBarChartAriaLabel)]);return o.createElement("div",{className:t.root,"aria-label":d,role:"alert"},e.title&&a&&o.createElement($a,{style:{textAlign:"center"},"aria-hidden":!0},e.title),o.createElement("div",{className:t.chartRoot},c),s&&o.createElement(Sp,{items:u,highlightItem:e=>{n(null==e?void 0:e.name)}}))};class _f extends Xp{get data(){return this.getValue(_f.dataProperty)}set data(e){this.setValue(_f.dataProperty,e)}internalValidateProperties(e){super.internalValidateProperties(e),0===this.data.length&&e.addFailure(this,_i.iV.InvalidPropertyValue,"No data sets provided."),this.data.length>4&&e.addFailure(this,_i.iV.InvalidPropertyValue,"Invalid number of data sets. Maximum of 4 data sets allowed.")}}_f.dataProperty=new Pi.m2(Pi.uq.v1_5,"data",(e=>new If));class If extends Pi.jB{get title(){return this.getValue(If.titleProperty)}set title(e){this.setValue(If.titleProperty,e)}get data(){return this.getValue(If.dataProperty)}set data(e){this.setValue(If.dataProperty,e)}getSchemaKey(){return"StackedHorizontalBarChartData"}}If.titleProperty=new Pi.XB(Pi.uq.v1_5,"title").setContentType("text"),If.dataProperty=new Pi.m2(Pi.uq.v1_5,"data",(e=>new Pf));class Pf extends Pi.jB{get legend(){return this.getValue(Pf.legendProperty)}set legend(e){this.setValue(Pf.legendProperty,e)}get value(){return this.getValue(Pf.valueProperty)}set value(e){this.setValue(Pf.valueProperty,e)}get color(){return this.getValue(Pf.colorProperty)}set color(e){this.setValue(Pf.colorProperty,e)}getSchemaKey(){return"StackedHorizontalBarChartDataPoint"}}Pf.legendProperty=new Pi.XB(Pi.uq.v1_5,"legend").setContentType("text"),Pf.valueProperty=new Pi.Uy(Pi.uq.v1_5,"value",0),Pf.colorProperty=new fl(Pi.uq.v1_5,"color");class Tf extends _f{renderChartComponent(){if(!this.data)return null;const e=this.data.map(((e,t)=>{var r;const n=e.data.map(((e,t)=>{var r;return{x:null!==(r=e.legend)&&void 0!==r?r:this.localizeString(Ya.chartLegendUnknown),y:e.value,color:e.color?Ws.getWellKnownColor(e.color):this.color?Ws.getWellKnownColor(this.color):Ws.getColor(this.colorSet,this.theme,t)}}));return{legend:null!==(r=e.title)&&void 0!==r?r:this.localizeString(Ya.chartLegendUnknown),color:this.color?Ws.getWellKnownColor(this.color):Ws.getColor(this.colorSet,this.theme,t),values:n}}));return 0===e.length?null:o.createElement(Ef,{title:this.title,series:e})}getJsonTypeName(){return Tf.jsonTypeName}}Tf.jsonTypeName="Chart.HorizontalBar.Stacked";const Bf=(0,P.n)({root:{display:"flex",flexDirection:"column",rowGap:"4px"},needle:{fill:Va.L.colorNeutralForeground1,stroke:Va.L.colorStrokeFocus1,strokeWidth:"2px"},valueText:{fill:Va.L.colorNeutralForeground1,fontWeight:Va.L.fontWeightSemibold,textAnchor:"middle"},minMaxText:{fill:Va.L.colorNeutralForeground1,fontSize:Va.L.fontSizeBase100},slice:{outline:"none","&:focus":{stroke:Va.L.colorNeutralForeground1,strokeWidth:"2px"}},centeredText:{textAlign:"center"},sliceTooltipRoot:{display:"grid",gridTemplateColumns:"4px auto",columnGap:Va.L.spacingHorizontalS},sliceTooltipInfo:{display:"flex",flexDirection:"column",rowGap:Va.L.spacingVerticalXXS}}),Df=e=>{const{localizeString:t}=o.useContext(Ga),r=Bf(),n=La({axis:"horizontal"}),[i,a]=o.useState(void 0),s=o.useRef(null),[l,c]=o.useState(void 0),u=void 0!==e.showTitle&&e.showTitle,d=e.height?e.height:250,p=!!e.isPieChart&&e.isPieChart,f=.5*d,h=p?0:.65*f,g=e.segments.reduce(((e,t)=>e+t.size),0),m=ul(g),v=2*f,y=f,b=o.useMemo((()=>e.segments.map(((e,t)=>({index:t,name:e.legend,color:e.color})))),[e.segments]),w=o.useMemo((()=>{const r={x:v/2,y};let n=0;return e.segments.map(((i,a)=>{const s=i.size/g,c=n+360*s,u=ul(e.segments[a].size),d=`${ul(e.segments[a].size/g*100)}%`,p=nl([e.segments[a].legend,t(Ya.xOutOfY,{x:u,y:m}),d]),v=o.createElement(zp,{key:a,center:r,outerRadius:f,innerRadius:h,startAngle:n,endAngle:c,segment:i,displayBorder:!0,isSubdued:void 0!==l&&a!==l,value:`${u} / ${m} (${d})`,ariaLabel:p});return n=c,v}))}),[f,y,v,h,e.segments,l,g,m,t]);o.useEffect((()=>{if(s.current){const e=Gs(s.current,["sectors"]);if(e){const t=new Ks(e.sectors.x,e.sectors.y,e.sectors.width,e.sectors.height);a(t.toString())}}}),[]);const S=nl([e.title,t(p?Ya.pieChartAriaLabel:Ya.donutChartAriaLabel)]);return o.createElement("div",{className:r.root,"aria-label":S,role:"alert"},e.title&&u&&o.createElement($a,{className:r.centeredText,"aria-hidden":!0},e.title),o.createElement("svg",{ref:s,width:"100%",viewBox:i,style:{maxHeight:d}},o.createElement("g",Object.assign({id:"sectors"},n,{style:{opacity:i?1:0}}),w)),o.createElement(Sp,{items:b,highlightItem:e=>{c(null==e?void 0:e.index)}}))};class Nf extends Kp{get value(){return this.getValue(Nf.valueProperty)}set value(e){this.setValue(Nf.valueProperty,e)}get color(){return this.getValue(Nf.colorProperty)}set color(e){this.setValue(Nf.colorProperty,e)}getSchemaKey(){return"DonutChartData"}}Nf.valueProperty=new Pi.Uy(Pi.uq.v1_5,"value",0),Nf.colorProperty=new fl(Pi.uq.v1_5,"color");class Rf extends gl{get data(){return this.getValue(Rf.dataProperty)}set data(e){this.setValue(Rf.dataProperty,e)}}Rf.dataProperty=new Pi.m2(Pi.uq.v1_5,"data",(e=>new Nf));class Of extends Rf{renderChartComponent(){if(!this.data)return null;const e=this.data.map(((e,t)=>{var r;return{legend:null!==(r=e.legend)&&void 0!==r?r:this.localizeString(Ya.chartLegendUnknown),size:e.value,color:e.color?Ws.getWellKnownColor(e.color):Ws.getColor(this.colorSet,this.theme,t)}}));return 0===e.length?null:o.createElement(Df,{title:this.title,height:this.chartHeight,segments:e,isPieChart:this.renderAsPieChart})}get renderAsPieChart(){return!1}}class zf extends Of{getJsonTypeName(){return zf.jsonTypeName}}zf.jsonTypeName="Chart.Donut";class Mf extends Of{get renderAsPieChart(){return!0}getJsonTypeName(){return Mf.jsonTypeName}}Mf.jsonTypeName="Chart.Pie";class Ff extends Pi.BG{parse(e,t,r){const n=t[this.name];return"string"==typeof n||"number"==typeof n?n:this.defaultValue}serialize(e,t,r,n){"string"==typeof r?n.serializeString(t,this.name,r):"number"==typeof r&&n.serializeNumber(t,this.name,r)}getDescriptor(e){return{valueTypes:[{type:"string"},{type:"number"}]}}constructor(e,t,r){super(e,t,r)}}class Lf extends Pi.jB{get x(){return this.getValue(Lf.xProperty)}set x(e){this.setValue(Lf.xProperty,e)}get y(){return this.getValue(Lf.yProperty)}set y(e){this.setValue(Lf.yProperty,e)}get color(){return this.getValue(Lf.colorProperty)}set color(e){this.setValue(Lf.colorProperty,e)}getSchemaKey(){return"VerticalBarChartDataValue"}}Lf.xProperty=new Ff(Pi.uq.v1_5,"x",0).setContentType("text"),Lf.yProperty=new Pi.Uy(Pi.uq.v1_5,"y",0),Lf.colorProperty=new fl(Pi.uq.v1_5,"color");class jf extends Xp{get data(){return this.getValue(jf.dataProperty)}set data(e){this.setValue(jf.dataProperty,e)}get color(){return this.getValue(jf.colorProperty)}set color(e){this.setValue(jf.colorProperty,e)}get showBarValues(){return this.getValue(jf.showBarValuesProperty)}set showBarValues(e){this.setValue(jf.showBarValuesProperty,e)}internalValidateProperties(e){super.internalValidateProperties(e),0===this.data.length&&e.addFailure(this,_i.iV.InvalidPropertyValue,"No data sets provided."),this.data.length>4&&e.addFailure(this,_i.iV.InvalidPropertyValue,"Invalid number of data sets. Maximum of 4 data sets allowed.")}}jf.dataProperty=new Pi.m2(Pi.uq.v1_5,"data",(e=>new Lf)),jf.colorProperty=new fl(Pi.uq.v1_5,"color"),jf.showBarValuesProperty=new Pi.gV(Pi.uq.v1_5,"showBarValues",!1);class Vf extends jf{renderChartComponent(){if(!this.data)return null;const e=this.data.map(((e,t)=>({x:void 0!==e.x&&""!==e.x?e.x.toString():this.localizeString(Ya.chartLegendUnknown),y:e.y,color:e.color?Ws.getWellKnownColor(e.color):this.color?Ws.getWellKnownColor(this.color):Ws.getColor(this.colorSet,this.theme,t)}))),t={values:e,color:this.color};return 0===t.values.length?null:o.createElement(Wp,{title:this.title,series:[t],xAxisTitle:this.xAxisTitle,yAxisTitle:this.yAxisTitle,height:this.chartHeight,showBarValues:this.showBarValues})}getJsonTypeName(){return Vf.jsonTypeName}}function Hf(e,t){e.register(Vf.jsonTypeName,(()=>new Vf)),e.register(Lp.jsonTypeName,(()=>new Lp)),e.register(Zp.jsonTypeName,(()=>new Zp)),e.register(ff.jsonTypeName,(()=>new ff)),e.register(Af.jsonTypeName,(()=>new Af)),e.register(Tf.jsonTypeName,(()=>new Tf)),e.register(Mf.jsonTypeName,(()=>new Mf)),e.register(zf.jsonTypeName,(()=>new zf))}Vf.jsonTypeName="Chart.VerticalBar";
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
const{entries:qf,setPrototypeOf:Uf,isFrozen:$f,getPrototypeOf:Wf,getOwnPropertyDescriptor:Gf}=Object;let{freeze:Kf,seal:Xf,create:Yf}=Object,{apply:Jf,construct:Zf}="undefined"!=typeof Reflect&&Reflect;Kf||(Kf=function(e){return e}),Xf||(Xf=function(e){return e}),Jf||(Jf=function(e,t,r){return e.apply(t,r)}),Zf||(Zf=function(e,t){return new e(...t)});const Qf=hh(Array.prototype.forEach),eh=hh(Array.prototype.lastIndexOf),th=hh(Array.prototype.pop),rh=hh(Array.prototype.push),nh=hh(Array.prototype.splice),ih=hh(String.prototype.toLowerCase),oh=hh(String.prototype.toString),ah=hh(String.prototype.match),sh=hh(String.prototype.replace),lh=hh(String.prototype.indexOf),ch=hh(String.prototype.trim),uh=hh(Object.prototype.hasOwnProperty),dh=hh(RegExp.prototype.test),ph=(fh=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Zf(fh,t)});var fh;function hh(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return Jf(e,t,n)}}function gh(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ih;Uf&&Uf(e,null);let n=t.length;for(;n--;){let i=t[n];if("string"==typeof i){const e=r(i);e!==i&&($f(t)||(t[n]=e),i=e)}e[i]=!0}return e}function mh(e){for(let t=0;t<e.length;t++)uh(e,t)||(e[t]=null);return e}function vh(e){const t=Yf(null);for(const[r,n]of qf(e))uh(e,r)&&(Array.isArray(n)?t[r]=mh(n):n&&"object"==typeof n&&n.constructor===Object?t[r]=vh(n):t[r]=n);return t}function yh(e,t){for(;null!==e;){const r=Gf(e,t);if(r){if(r.get)return hh(r.get);if("function"==typeof r.value)return hh(r.value)}e=Wf(e)}return function(){return null}}const bh=Kf(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),wh=Kf(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Sh=Kf(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ch=Kf(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ah=Kf(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),xh=Kf(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),kh=Kf(["#text"]),Eh=Kf(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),_h=Kf(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ih=Kf(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ph=Kf(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Th=Xf(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Bh=Xf(/<%[\w\W]*|[\w\W]*%>/gm),Dh=Xf(/\$\{[\w\W]*/gm),Nh=Xf(/^data-[\-\w.\u00B7-\uFFFF]+$/),Rh=Xf(/^aria-[\-\w]+$/),Oh=Xf(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),zh=Xf(/^(?:\w+script|data):/i),Mh=Xf(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Fh=Xf(/^html$/i),Lh=Xf(/^[a-z][.\w]*(-[.\w]+)+$/i);var jh=Object.freeze({__proto__:null,ARIA_ATTR:Rh,ATTR_WHITESPACE:Mh,CUSTOM_ELEMENT:Lh,DATA_ATTR:Nh,DOCTYPE_NAME:Fh,ERB_EXPR:Bh,IS_ALLOWED_URI:Oh,IS_SCRIPT_OR_DATA:zh,MUSTACHE_EXPR:Th,TMPLIT_EXPR:Dh});const Vh=function(){return"undefined"==typeof window?null:window};var Hh=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vh();const r=t=>e(t);if(r.version="3.2.6",r.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return r.isSupported=!1,r;let{document:n}=t;const i=n,o=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:f,trustedTypes:h}=t,g=c.prototype,m=yh(g,"cloneNode"),v=yh(g,"remove"),y=yh(g,"nextSibling"),b=yh(g,"childNodes"),w=yh(g,"parentNode");if("function"==typeof s){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let S,C="";const{implementation:A,createNodeIterator:x,createDocumentFragment:k,getElementsByTagName:E}=n,{importNode:_}=i;let I={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof qf&&"function"==typeof w&&A&&void 0!==A.createHTMLDocument;const{MUSTACHE_EXPR:P,ERB_EXPR:T,TMPLIT_EXPR:B,DATA_ATTR:D,ARIA_ATTR:N,IS_SCRIPT_OR_DATA:R,ATTR_WHITESPACE:O,CUSTOM_ELEMENT:z}=jh;let{IS_ALLOWED_URI:M}=jh,F=null;const L=gh({},[...bh,...wh,...Sh,...Ah,...kh]);let j=null;const V=gh({},[...Eh,..._h,...Ih,...Ph]);let H=Object.seal(Yf(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),q=null,U=null,$=!0,W=!0,G=!1,K=!0,X=!1,Y=!0,J=!1,Z=!1,Q=!1,ee=!1,te=!1,re=!1,ne=!0,ie=!1,oe=!0,ae=!1,se={},le=null;const ce=gh({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ue=null;const de=gh({},["audio","video","img","source","image","track"]);let pe=null;const fe=gh({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",me="http://www.w3.org/1999/xhtml";let ve=me,ye=!1,be=null;const we=gh({},[he,ge,me],oh);let Se=gh({},["mi","mo","mn","ms","mtext"]),Ce=gh({},["annotation-xml"]);const Ae=gh({},["title","style","font","a","script"]);let xe=null;const ke=["application/xhtml+xml","text/html"];let Ee=null,_e=null;const Ie=n.createElement("form"),Pe=function(e){return e instanceof RegExp||e instanceof Function},Te=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!_e||_e!==e){if(e&&"object"==typeof e||(e={}),e=vh(e),xe=-1===ke.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ee="application/xhtml+xml"===xe?oh:ih,F=uh(e,"ALLOWED_TAGS")?gh({},e.ALLOWED_TAGS,Ee):L,j=uh(e,"ALLOWED_ATTR")?gh({},e.ALLOWED_ATTR,Ee):V,be=uh(e,"ALLOWED_NAMESPACES")?gh({},e.ALLOWED_NAMESPACES,oh):we,pe=uh(e,"ADD_URI_SAFE_ATTR")?gh(vh(fe),e.ADD_URI_SAFE_ATTR,Ee):fe,ue=uh(e,"ADD_DATA_URI_TAGS")?gh(vh(de),e.ADD_DATA_URI_TAGS,Ee):de,le=uh(e,"FORBID_CONTENTS")?gh({},e.FORBID_CONTENTS,Ee):ce,q=uh(e,"FORBID_TAGS")?gh({},e.FORBID_TAGS,Ee):vh({}),U=uh(e,"FORBID_ATTR")?gh({},e.FORBID_ATTR,Ee):vh({}),se=!!uh(e,"USE_PROFILES")&&e.USE_PROFILES,$=!1!==e.ALLOW_ARIA_ATTR,W=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,Y=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,Q=e.FORCE_BODY||!1,ne=!1!==e.SANITIZE_DOM,ie=e.SANITIZE_NAMED_PROPS||!1,oe=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,M=e.ALLOWED_URI_REGEXP||Oh,ve=e.NAMESPACE||me,Se=e.MATHML_TEXT_INTEGRATION_POINTS||Se,Ce=e.HTML_INTEGRATION_POINTS||Ce,H=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Pe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Pe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(W=!1),te&&(ee=!0),se&&(F=gh({},kh),j=[],!0===se.html&&(gh(F,bh),gh(j,Eh)),!0===se.svg&&(gh(F,wh),gh(j,_h),gh(j,Ph)),!0===se.svgFilters&&(gh(F,Sh),gh(j,_h),gh(j,Ph)),!0===se.mathMl&&(gh(F,Ah),gh(j,Ih),gh(j,Ph))),e.ADD_TAGS&&(F===L&&(F=vh(F)),gh(F,e.ADD_TAGS,Ee)),e.ADD_ATTR&&(j===V&&(j=vh(j)),gh(j,e.ADD_ATTR,Ee)),e.ADD_URI_SAFE_ATTR&&gh(pe,e.ADD_URI_SAFE_ATTR,Ee),e.FORBID_CONTENTS&&(le===ce&&(le=vh(le)),gh(le,e.FORBID_CONTENTS,Ee)),oe&&(F["#text"]=!0),J&&gh(F,["html","head","body"]),F.table&&(gh(F,["tbody"]),delete q.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw ph('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw ph('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=e.TRUSTED_TYPES_POLICY,C=S.createHTML("")}else void 0===S&&(S=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(h,o)),null!==S&&"string"==typeof C&&(C=S.createHTML(""));Kf&&Kf(e),_e=e}},Be=gh({},[...wh,...Sh,...Ch]),De=gh({},[...Ah,...xh]),Ne=function(e){rh(r.removed,{element:e});try{w(e).removeChild(e)}catch(t){v(e)}},Re=function(e,t){try{rh(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){rh(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ee||te)try{Ne(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Oe=function(e){let t=null,r=null;if(Q)e="<remove></remove>"+e;else{const t=ah(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===xe&&ve===me&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=S?S.createHTML(e):e;if(ve===me)try{t=(new f).parseFromString(i,xe)}catch(e){}if(!t||!t.documentElement){t=A.createDocument(ve,"template",null);try{t.documentElement.innerHTML=ye?C:i}catch(e){}}const o=t.body||t.documentElement;return e&&r&&o.insertBefore(n.createTextNode(r),o.childNodes[0]||null),ve===me?E.call(t,J?"html":"body")[0]:J?t.documentElement:o},ze=function(e){return x.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Me=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Fe=function(e){return"function"==typeof l&&e instanceof l};function Le(e,t,n){Qf(e,(e=>{e.call(r,t,n,_e)}))}const je=function(e){let t=null;if(Le(I.beforeSanitizeElements,e,null),Me(e))return Ne(e),!0;const n=Ee(e.nodeName);if(Le(I.uponSanitizeElement,e,{tagName:n,allowedTags:F}),Y&&e.hasChildNodes()&&!Fe(e.firstElementChild)&&dh(/<[/\w!]/g,e.innerHTML)&&dh(/<[/\w!]/g,e.textContent))return Ne(e),!0;if(7===e.nodeType)return Ne(e),!0;if(Y&&8===e.nodeType&&dh(/<[/\w]/g,e.data))return Ne(e),!0;if(!F[n]||q[n]){if(!q[n]&&He(n)){if(H.tagNameCheck instanceof RegExp&&dh(H.tagNameCheck,n))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(n))return!1}if(oe&&!le[n]){const t=w(e)||e.parentNode,r=b(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const i=m(r[n],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,y(e))}}return Ne(e),!0}return e instanceof c&&!function(e){let t=w(e);t&&t.tagName||(t={namespaceURI:ve,tagName:"template"});const r=ih(e.tagName),n=ih(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===me?"svg"===r:t.namespaceURI===he?"svg"===r&&("annotation-xml"===n||Se[n]):Boolean(Be[r]):e.namespaceURI===he?t.namespaceURI===me?"math"===r:t.namespaceURI===ge?"math"===r&&Ce[n]:Boolean(De[r]):e.namespaceURI===me?!(t.namespaceURI===ge&&!Ce[n])&&!(t.namespaceURI===he&&!Se[n])&&!De[r]&&(Ae[r]||!Be[r]):!("application/xhtml+xml"!==xe||!be[e.namespaceURI]))}(e)?(Ne(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!dh(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&3===e.nodeType&&(t=e.textContent,Qf([P,T,B],(e=>{t=sh(t,e," ")})),e.textContent!==t&&(rh(r.removed,{element:e.cloneNode()}),e.textContent=t)),Le(I.afterSanitizeElements,e,null),!1):(Ne(e),!0)},Ve=function(e,t,r){if(ne&&("id"===t||"name"===t)&&(r in n||r in Ie))return!1;if(W&&!U[t]&&dh(D,t));else if($&&dh(N,t));else if(!j[t]||U[t]){if(!(He(e)&&(H.tagNameCheck instanceof RegExp&&dh(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&dh(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t))||"is"===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&dh(H.tagNameCheck,r)||H.tagNameCheck instanceof Function&&H.tagNameCheck(r))))return!1}else if(pe[t]);else if(dh(M,sh(r,O,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==lh(r,"data:")||!ue[e])if(G&&!dh(R,sh(r,O,"")));else if(r)return!1;return!0},He=function(e){return"annotation-xml"!==e&&ah(e,z)},qe=function(e){Le(I.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Me(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:j,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:s,value:l}=o,c=Ee(a),u=l;let d="value"===a?u:ch(u);if(n.attrName=c,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,Le(I.uponSanitizeAttribute,e,n),d=n.attrValue,!ie||"id"!==c&&"name"!==c||(Re(a,e),d="user-content-"+d),Y&&dh(/((--!?|])>)|<\/(style|title)/i,d)){Re(a,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){Re(a,e);continue}if(!K&&dh(/\/>/i,d)){Re(a,e);continue}X&&Qf([P,T,B],(e=>{d=sh(d,e," ")}));const p=Ee(e.nodeName);if(Ve(p,c,d)){if(S&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(s);else switch(h.getAttributeType(p,c)){case"TrustedHTML":d=S.createHTML(d);break;case"TrustedScriptURL":d=S.createScriptURL(d)}if(d!==u)try{s?e.setAttributeNS(s,a,d):e.setAttribute(a,d),Me(e)?Ne(e):th(r.removed)}catch(t){Re(a,e)}}else Re(a,e)}Le(I.afterSanitizeAttributes,e,null)},Ue=function e(t){let r=null;const n=ze(t);for(Le(I.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)Le(I.uponSanitizeShadowNode,r,null),je(r),qe(r),r.content instanceof a&&e(r.content);Le(I.afterSanitizeShadowDOM,t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,s=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Fe(e)){if("function"!=typeof e.toString)throw ph("toString is not a function");if("string"!=typeof(e=e.toString()))throw ph("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Z||Te(t),r.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){const t=Ee(e.nodeName);if(!F[t]||q[t])throw ph("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)n=Oe("\x3c!----\x3e"),o=n.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!ee&&!X&&!J&&-1===e.indexOf("<"))return S&&re?S.createHTML(e):e;if(n=Oe(e),!n)return ee?null:re?C:""}n&&Q&&Ne(n.firstChild);const u=ze(ae?e:n);for(;s=u.nextNode();)je(s),qe(s),s.content instanceof a&&Ue(s.content);if(ae)return e;if(ee){if(te)for(c=k.call(n.ownerDocument);n.firstChild;)c.appendChild(n.firstChild);else c=n;return(j.shadowroot||j.shadowrootmode)&&(c=_.call(i,c,!0)),c}let d=J?n.outerHTML:n.innerHTML;return J&&F["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&dh(Fh,n.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+d),X&&Qf([P,T,B],(e=>{d=sh(d,e," ")})),S&&re?S.createHTML(d):d},r.setConfig=function(){Te(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},r.clearConfig=function(){_e=null,Z=!1},r.isValidAttribute=function(e,t,r){_e||Te({});const n=Ee(e),i=Ee(t);return Ve(n,i,r)},r.addHook=function(e,t){"function"==typeof t&&rh(I[e],t)},r.removeHook=function(e,t){if(void 0!==t){const r=eh(I[e],t);return-1===r?void 0:nh(I[e],r,1)[0]}return th(I[e])},r.removeHooks=function(e){I[e]=[]},r.removeAllHooks=function(){I={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}();const qh=r(5724),Uh=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],$h=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Wh=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Gh=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Kh=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();var Xh="[0-9](_*[0-9])*",Yh=`\\.(${Xh})`,Jh="[0-9a-fA-F](_*[0-9a-fA-F])*",Zh={className:"number",variants:[{begin:`(\\b(${Xh})((${Yh})|\\.)?|(${Yh}))[eE][+-]?(${Xh})[fFdD]?\\b`},{begin:`\\b(${Xh})((${Yh})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Yh})[fFdD]?\\b`},{begin:`\\b(${Xh})[fFdD]\\b`},{begin:`\\b0[xX]((${Jh})\\.?|(${Jh})?\\.(${Jh}))[pP][+-]?(${Xh})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Jh})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Qh(e,t,r){return-1===r?"":e.replace(t,(n=>Qh(e,t,r-1)))}const eg="[A-Za-z$_][0-9A-Za-z$_]*",tg=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],rg=["true","false","null","undefined","NaN","Infinity"],ng=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ig=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],og=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ag=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],sg=[].concat(og,ng,ig),lg="[A-Za-z$_][0-9A-Za-z$_]*",cg=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],ug=["true","false","null","undefined","NaN","Infinity"],dg=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],pg=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],fg=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],hg=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],gg=[].concat(fg,dg,pg);function mg(e){const t=e.regex,r=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(i,{begin:/\(/,end:/\)/}),a=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[n]},{begin:/'/,end:/'/,contains:[n]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[i,s,a,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[i,o,s,a]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},n,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(r,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var vg;function yg(e){return vg[e].toLowerCase()}!function(e){e[e.Bash=0]="Bash",e[e.C=1]="C",e[e.Cpp=2]="Cpp",e[e.CSharp=3]="CSharp",e[e.Css=4]="Css",e[e.Dos=5]="Dos",e[e.Go=6]="Go",e[e.Graphql=7]="Graphql",e[e.Html=8]="Html",e[e.Java=9]="Java",e[e.JavaScript=10]="JavaScript",e[e.Json=11]="Json",e[e.ObjectiveC=12]="ObjectiveC",e[e.Perl=13]="Perl",e[e.Php=14]="Php",e[e.PlainText=15]="PlainText",e[e.PowerShell=16]="PowerShell",e[e.Python=17]="Python",e[e.Sql=18]="Sql",e[e.TypeScript=19]="TypeScript",e[e.VbNet=20]="VbNet",e[e.Verilog=21]="Verilog",e[e.Vhdl=22]="Vhdl",e[e.Xml=23]="Xml"}(vg||(vg={})),(0,Wa.FM)(vg,"CodeLanguage");class bg extends Ei.hA{get codeSnippet(){return this.getValue(bg.codeSnippetProperty)}set codeSnippet(e){this.setValue(bg.codeSnippetProperty,e)}get language(){var e;return null!==(e=this.getValue(bg.languageProperty))&&void 0!==e?e:vg.PlainText}set language(e){this.setValue(bg.languageProperty,e)}get startLineNumber(){return this.getValue(bg.startLineNumberProperty)}set startLineNumber(e){this.setValue(bg.startLineNumberProperty,e)}}bg.codeSnippetProperty=new Pi.XB(Pi.uq.v1_5,"codeSnippet").setContentType("text"),bg.languageProperty=new Pi.fX(Pi.uq.v1_5,"language",vg,vg.PlainText),bg.startLineNumberProperty=new Pi.Uy(Pi.uq.v1_5,"startLineNumber",1);const wg=new Map([[yg(vg.Bash),function(e){const t=e.regex,r={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r,i]};i.contains.push(s);const l={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,r]},c=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),u={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[c,e.SHEBANG(),u,l,o,a,{match:/(\/[a-z._-]+)+/},s,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},r]}}],[yg(vg.C),function(e){const t=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="("+n+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",p={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},f=[c,a,r,e.C_BLOCK_COMMENT_MODE,l,s],h={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:f.concat([{begin:/\(/,end:/\)/,keywords:p,contains:f.concat(["self"]),relevance:0}]),relevance:0},g={begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[r,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,r,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:p,disableAutodetect:!0,illegal:"</",contains:[].concat(h,g,f,[c,{begin:e.IDENT_RE+"::",keywords:p},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:p}}}],[yg(vg.Cpp),function(e){const t=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+n+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",p={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},f={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},h=[f,c,a,r,e.C_BLOCK_COMMENT_MODE,l,s],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,contains:h.concat(["self"]),relevance:0}]),relevance:0},m={className:"function",begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[r,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,r,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(g,m,f,h,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:p,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:p},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}],[yg(vg.CSharp),function(e){const t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},r=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),n={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},i={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},o=e.inherit(i,{illegal:/\n/}),a={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(a,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},a]},u=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});a.contains=[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.C_BLOCK_COMMENT_MODE],s.contains=[u,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const d={variants:[{className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},r]},f=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",h={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,n,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},r,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[r,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+f+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,p],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,n,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},h]}}],[yg(vg.Css),function(e){const t=e.regex,r=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(e),n=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},r.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+Wh.join("|")+")"},{begin:":(:)?("+Gh.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Kh.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,...n,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...n,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:$h.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...n,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Uh.join("|")+")\\b"}]}}],[yg(vg.Dos),function(e){const t=e.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:["if","else","goto","for","in","do","call","exit","not","exist","errorlevel","defined","equ","neq","lss","leq","gtr","geq"],built_in:["prn","nul","lpt3","lpt2","lpt1","con","com4","com3","com2","com1","aux","shift","cd","dir","echo","setlocal","endlocal","set","pause","copy","append","assoc","at","attrib","break","cacls","cd","chcp","chdir","chkdsk","chkntfs","cls","cmd","color","comp","compact","convert","date","dir","diskcomp","diskcopy","doskey","erase","fs","find","findstr","format","ftype","graftabl","help","keyb","label","md","mkdir","mode","more","move","path","pause","print","popd","pushd","promt","rd","recover","rem","rename","replace","restore","rmdir","shift","sort","start","subst","time","title","tree","type","ver","verify","vol","ping","net","ipconfig","taskkill","xcopy","ren","del"]},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",end:"goto:eof",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),t]},{className:"number",begin:"\\b\\d+",relevance:0},t]}}],[yg(vg.Go),function(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}],[yg(vg.Graphql),function(e){const t=e.regex;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}],[yg(vg.Html),mg],[yg(vg.Java),function(e){const t=e.regex,r="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n=r+Qh("(?:<"+r+"~~~(?:\\s*,\\s*"+r+"~~~)*>)?",/~~~/g,2),i={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},o={className:"meta",begin:"@"+r,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},a={className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,r),/\s+/,r,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,r],className:{1:"keyword",3:"title.class"},contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:i,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,Zh,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},Zh,o]}}],[yg(vg.JavaScript),function(e){const t=e.regex,r=eg,n={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const r=e[0].length+e.index,n=e.input[r];if("<"===n||","===n)return void t.ignoreMatch();let i;">"===n&&(((e,{after:t})=>{const r="</"+e[0].slice(1);return-1!==e.input.indexOf(r,t)})(e,{after:r})||t.ignoreMatch());const o=e.input.substring(r);((i=o.match(/^\s*=/))||(i=o.match(/^\s+extends\s+/))&&0===i.index)&&t.ignoreMatch()}},i={$pattern:eg,keyword:tg,literal:rg,built_in:sg,"variable.language":ag},o="[0-9](_?[0-9])*",a=`\\.(${o})`,s="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${s})((${a})|\\.)?|(${a}))[eE][+-]?(${o})\\b`},{begin:`\\b(${s})\\b((${a})\\b|\\.)?|(${a})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},c={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},u={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"xml"}},d={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"css"}},p={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"graphql"}},f={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,c]},h={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},g=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,u,d,p,f,{match:/\$\d+/},l];c.contains=g.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(g)});const m=[].concat(h,c.contains),v=m.concat([{begin:/(\s*)\(/,end:/\)/,keywords:i,contains:["self"].concat(m)}]),y={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:v},b={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},w={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...ng,...ig]}},S={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},C={match:t.concat(/\b/,function(e){return t.concat("(?!",e.join("|"),")")}([...og,"super","import"].map((e=>`${e}\\s*\\(`))),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},A={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},x={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},k="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(k)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:v,CLASS_REFERENCE:w},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,u,d,p,f,h,{match:/\$\d+/},l,w,{scope:"attr",match:r+t.lookahead(":"),relevance:0},E,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[h,e.REGEXP_MODE,{className:"function",begin:k,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:v}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:"</>"},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:n.begin,"on:begin":n.isTrulyOpeningTag,end:n.end}],subLanguage:"xml",contains:[{begin:n.begin,end:n.end,skip:!0,contains:["self"]}]}]},S,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},A,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},C,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},b,x,{match:/\$[(.]/}]}}],[yg(vg.Json),function(e){const t=["true","false","null"],r={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}],[yg(vg.ObjectiveC),function(e){const t=/[a-zA-Z@][a-zA-Z0-9_]*/,r={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+r.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:r,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}],[yg(vg.Perl),function(e){const t=e.regex,r=/[dualxmsipngr]{0,12}/,n={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"].join(" ")},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},o={begin:/->\{/,end:/\}/},a={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},s={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[a]},l={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},c=[e.BACKSLASH_ESCAPE,i,s],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(e,n,i="\\1")=>{const o="\\1"===i?i:t.concat(i,n);return t.concat(t.concat("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,o,/(?:\\.|[^\\\/])*?/,i,r)},p=(e,n,i)=>t.concat(t.concat("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,i,r),f=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},l,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:d("s|tr|y",t.either(...u,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",t.either(...u,{capture:!0}),/\1/)},{begin:p("m|qr",/\(/,/\)/)},{begin:p("m|qr",/\[/,/\]/)},{begin:p("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,a]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,a,l]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=f,o.contains=f,{name:"Perl",aliases:["pl","pm"],keywords:n,contains:f}}],[yg(vg.Php),function(e){const t=e.regex,r=/(?![A-Za-z0-9])(?![$])/,n=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),o=t.concat(/[A-Z]+/,r),a={scope:"variable",match:"\\$+"+n},s={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),c="[ \t\n]",u={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(s)}),l,{begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(s),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},d={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},p=["false","null","true"],f=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],h=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],g={keyword:f,literal:(e=>{const t=[];return e.forEach((e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())})),t})(p),built_in:h},m=e=>e.map((e=>e.replace(/\|\d+$/,""))),v={variants:[{match:[/new/,t.concat(c,"+"),t.concat("(?!",m(h).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},y=t.concat(n,"\\b(?!\\()"),b={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),y],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),y],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},w={scope:"attr",match:t.concat(n,t.lookahead(":"),t.lookahead(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:g,contains:[w,a,b,e.C_BLOCK_COMMENT_MODE,u,d,v]},C={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",m(f).join("\\b|"),"|",m(h).join("\\b|"),"\\b)"),n,t.concat(c,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(C);const A=[w,b,e.C_BLOCK_COMMENT_MODE,u,d,v],x={begin:t.concat(/#\[\s*\\?/,t.either(i,o)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:p,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:p,keyword:["new","array"]},contains:["self",...A]},...A,{scope:"meta",variants:[{match:i},{match:o}]}]};return{case_insensitive:!1,keywords:g,contains:[x,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},a,C,b,{match:[/const/,/\s/,n],scope:{1:"keyword",3:"variable.constant"}},v,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:g,contains:["self",x,a,b,e.C_BLOCK_COMMENT_MODE,u,d]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},u,d]}}],[yg(vg.PlainText),function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}],[yg(vg.PowerShell),function(e){const t={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},r={begin:"`[\\s\\S]",relevance:0},n={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},i={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[r,n,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},o={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},a=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),s={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},c={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[n]}]},u={begin:/using\s/,end:/$/,returnBegin:!0,contains:[i,o,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},d={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},p={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},f=[p,a,r,e.NUMBER_MODE,i,o,s,n,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],h={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",f,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return p.contains.unshift(h),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:t,contains:f.concat(l,c,u,d,h)}}],[yg(vg.Python),function(e){const t=e.regex,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},o={className:"meta",begin:/^(>>>|\.\.\.) /},a={className:"subst",begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o,s,a]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,a]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${n.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`}]},f={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},h={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",o,p,l,e.HASH_COMMENT_MODE]}]};return a.contains=[l,p,o],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[o,p,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,f,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[h]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,h,l]}]}}],[yg(vg.Sql),function(e){const t=e.regex,r=e.COMMENT("--","$"),n=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],i=n,o=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter((e=>!n.includes(e))),a={match:t.concat(/\b/,t.either(...i),/\s*\(/),relevance:0,keywords:{built_in:i}};function s(e){return t.concat(/\b/,t.either(...e.map((e=>e.replace(/\s+/,"\\s+")))),/\b/)}const l={scope:"keyword",match:s(["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"]),relevance:0};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:r}={}){const n=r;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:n(e)?`${e}|0`:e))}(o,{when:e=>e.length<3}),literal:["true","false","unknown"],type:["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{scope:"type",match:s(["double precision","large object","with timezone","without timezone"])},l,a,{scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},{scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},{begin:/"/,end:/"/,contains:[{match:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,r,{scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}],[yg(vg.TypeScript),function(e){const t=e.regex,r=function(e){const t=e.regex,r=lg,n={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const r=e[0].length+e.index,n=e.input[r];if("<"===n||","===n)return void t.ignoreMatch();let i;">"===n&&(((e,{after:t})=>{const r="</"+e[0].slice(1);return-1!==e.input.indexOf(r,t)})(e,{after:r})||t.ignoreMatch());const o=e.input.substring(r);((i=o.match(/^\s*=/))||(i=o.match(/^\s+extends\s+/))&&0===i.index)&&t.ignoreMatch()}},i={$pattern:lg,keyword:cg,literal:ug,built_in:gg,"variable.language":hg},o="[0-9](_?[0-9])*",a=`\\.(${o})`,s="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${s})((${a})|\\.)?|(${a}))[eE][+-]?(${o})\\b`},{begin:`\\b(${s})\\b((${a})\\b|\\.)?|(${a})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},c={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},u={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"xml"}},d={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"css"}},p={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,c],subLanguage:"graphql"}},f={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,c]},h={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},g=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,u,d,p,f,{match:/\$\d+/},l];c.contains=g.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(g)});const m=[].concat(h,c.contains),v=m.concat([{begin:/(\s*)\(/,end:/\)/,keywords:i,contains:["self"].concat(m)}]),y={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:v},b={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},w={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...dg,...pg]}},S={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},C={match:t.concat(/\b/,function(e){return t.concat("(?!",e.join("|"),")")}([...fg,"super","import"].map((e=>`${e}\\s*\\(`))),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},A={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},x={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},k="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(k)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:v,CLASS_REFERENCE:w},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,u,d,p,f,h,{match:/\$\d+/},l,w,{scope:"attr",match:r+t.lookahead(":"),relevance:0},E,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[h,e.REGEXP_MODE,{className:"function",begin:k,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:v}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:"</>"},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:n.begin,"on:begin":n.isTrulyOpeningTag,end:n.end}],subLanguage:"xml",contains:[{begin:n.begin,end:n.end,skip:!0,contains:["self"]}]}]},S,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},A,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},C,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},b,x,{match:/\$[(.]/}]}}(e),n=lg,i=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:i},contains:[r.exports.CLASS_REFERENCE]},s={$pattern:lg,keyword:cg.concat(["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),literal:ug,built_in:gg.concat(i),"variable.language":hg},l={className:"meta",begin:"@"+n},c=(e,t,r)=>{const n=e.contains.findIndex((e=>e.label===t));if(-1===n)throw new Error("can not find mode to replace");e.contains.splice(n,1,r)};Object.assign(r.keywords,s),r.exports.PARAMS_CONTAINS.push(l);const u=r.contains.find((e=>"attr"===e.scope)),d=Object.assign({},u,{match:t.concat(n,t.lookahead(/\s*\?:/))});return r.exports.PARAMS_CONTAINS.push([r.exports.CLASS_REFERENCE,u,d]),r.contains=r.contains.concat([l,o,a,d]),c(r,"shebang",e.SHEBANG()),c(r,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),r.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(r,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),r}],[yg(vg.VbNet),function(e){const t=e.regex,r=/\d{1,2}\/\d{1,2}\/\d{4}/,n=/\d{4}-\d{1,2}-\d{1,2}/,i=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,o=/\d{1,2}(:\d{1,2}){1,2}/,a={className:"literal",variants:[{begin:t.concat(/# */,t.either(n,r),/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,i,/ *#/)},{begin:t.concat(/# */,t.either(n,r),/ +/,t.either(i,o),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),l=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},a,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,l,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[l]}]}}],[yg(vg.Verilog),function(e){const t=e.regex,r=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either("__FILE__","__LINE__"))},{scope:"meta",begin:t.concat(/`/,t.either(...r)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:r}]}}],[yg(vg.Vhdl),function(e){const t="\\d(_|\\d)*",r="[eE][-+]?"+t,n="\\b("+t+"#\\w+(\\.\\w+)?#("+r+")?|"+t+"(\\."+t+")?("+r+")?)";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:n,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}],[yg(vg.Xml),mg]]);class Sg{static get hljs(){if(!Sg._hljs){const e=qh.newInstance();for(const[t,r]of wg)e.registerLanguage(t,r);Sg._hljs=e}return Sg._hljs}static applyHighlighting(e,t){var r;const n=t&&wg.has(t)?t:"plaintext";return null!==(r=Sg.hljs.highlight(e,{language:n}).value)&&void 0!==r?r:e}}const Cg={backgroundColor:"#ffffff",borderColor:"#242424",textColor:"#242424",syntaxColor:{default:"#4f52b2",string:"#107c10",keyword:"#5b5fc7",function:"#bc2f32",comment:"#707070"}};class Ag{constructor(e){this.default=Cg.syntaxColor.default,e&&(this.default=e.default,this.string=e.string,this.keyword=e.keyword,this.function=e.function,this.comment=e.comment)}toJSON(){return{default:this.default,string:this.string,keyword:this.keyword,function:this.function,comment:this.comment}}}class xg{constructor(e){this.textColor=Cg.textColor,this.syntaxColor=new Ag,e&&(this.backgroundColor=e.backgroundColor,this.borderColor=e.borderColor,this.textColor=e.textColor,this.syntaxColor=new Ag(e.syntaxColor))}toJSON(){return{backgroundColor:this.backgroundColor,borderColor:this.borderColor,textColor:this.textColor,syntaxColor:this.syntaxColor.toJSON()}}}const kg={backgroundColor:"#ffffff",borderColor:"#242424",textColor:"#242424",syntaxColor:{default:"#4f52b2",string:"#107c10",keyword:"#5b5fc7",function:"#bc2f32",comment:"#707070"}},Eg={backgroundColor:"#292929",borderColor:"#242424",textColor:"#fafafa",syntaxColor:{default:"#7579eb",string:"#107c10",keyword:"#7f85f5",function:"#e37d80",comment:"#999999"}};class _g{static get colorSettings(){return this._colorSettings.toJSON()}static set colorSettings(e){this._colorSettings=new xg(e)}static get lightThemeColorSettings(){return this._lightThemeColorSettings?this._lightThemeColorSettings.toJSON():kg}static set lightThemeColorSettings(e){this._lightThemeColorSettings=e?new xg(e):void 0}static get darkThemeColorSettings(){return this._darkThemeColorSettings?this._darkThemeColorSettings.toJSON():Eg}static set darkThemeColorSettings(e){this._darkThemeColorSettings=e?new xg(e):void 0}}_g._colorSettings=new xg(Cg);const Ig="span",Pg="language-",Tg="\n";class Bg{}function Dg(e){return e.nodeType===Node.ELEMENT_NODE&&e.tagName.toLowerCase()===Ig}function Ng(e,t=1){return e.split(Tg).map(((e,r)=>`<div class="code-div"><div class="code-line-number">${r+t}</div><code class="ac-cb code-line">${e}</code></div>`)).join("")}Bg.collapseStateAriaLabel={key:"ac_codeBlock_collapseStateAriaLabel",defaultValue:"Collapse"},Bg.expandStateAriaLabel={key:"ac_codeBlock_expandStateAriaLabel",defaultValue:"Expand ({{totalLines}} lines)"};const Rg=e=>({"& .hljs-default":{color:e.default},"& .hljs-string, .hljs-number, .hljs-symbol, .hljs-link":{color:e.string},"& .hljs-title:not(.class_, .function_), .hljs-keyword, .hljs-meta, .hljs-name, .hljs-type":{color:e.keyword},"& .hljs-function, .hljs-title.class_, .hljs-title.function_, .hljs-built_in, .hljs-attr, .hljs-attribute":{color:e.function},"& .hljs-comment, .hljs-quote, .hljs-doctag":{color:e.comment},"& .hljs-emphasis":{fontStyle:"italic"},"& .hljs-strong":{fontWeight:"bold"}}),Og=e=>({borderRadius:"4px",display:"block",padding:"8px",overflowX:"auto",background:e.backgroundColor,border:`1px solid ${Va.L.colorNeutralStroke2}`,color:e.textColor,"::-webkit-scrollbar":{display:"none"},":hover::-webkit-scrollbar":{display:"block"},"& .code-div":{display:"flex",flexDirection:"row"},"& .code-line":{overflowWrap:"normal"},"& .code-line-number":{display:"inline-block",textAlign:"left",marginRight:"20px"}}),zg=e=>({cursor:"pointer",fontSize:"12px",marginTop:"10px",color:e.keyword}),Mg=(0,P.n)({code:Object.assign({},Rg(_g.lightThemeColorSettings.syntaxColor)),pre:Object.assign({},Og(_g.lightThemeColorSettings)),expandCollapseButton:Object.assign({},zg(_g.lightThemeColorSettings.syntaxColor))}),Fg=(0,P.n)({code:Object.assign({},Rg(_g.darkThemeColorSettings.syntaxColor)),pre:Object.assign({},Og(_g.darkThemeColorSettings)),expandCollapseButton:Object.assign({},zg(_g.darkThemeColorSettings.syntaxColor))}),Lg=[new class{format(e){return e.flatMap((e=>this._processNode(e)))}_processNode(e){return Dg(e)?this._handleSpanElement(e):[e]}_handleSpanElement(e){const t=e.className.split(" ");if(t.some((e=>e.startsWith(Pg)))){const r=t.filter((e=>!e.startsWith(Pg)));return r.length>0?(e.className=r.join(" "),[e]):Array.from(e.childNodes)}return[e]}},new class{format(e){return e.flatMap((e=>this._processNode(e)))}_processNode(e){return Dg(e)?this._handleSpanElement(e):[e]}_handleSpanElement(e){return Array.from(e.childNodes).flatMap((t=>this._processChildNode(t,e.className)))}_processChildNode(e,t){return e.nodeType===Node.TEXT_NODE?this._handleTextNode(e,t):e.nodeType===Node.ELEMENT_NODE?this._handleElementNode(e,t):[e]}_handleTextNode(e,t){var r;const n=(null===(r=e.textContent)||void 0===r?void 0:r.split(Tg))||[];return n.map(((e,r)=>this._createSpan(e,t,r<n.length-1)))}_handleElementNode(e,t){return e.tagName.toLowerCase()===Ig?(e.className=`${t} ${e.className}`,this._handleSpanElement(e)):[e]}_createSpan(e,t,r){const n=document.createElement(Ig);return n.className=t,n.textContent=r?`${e}${Tg}`:e,n}}];var jg;!function(e){e.Invisible="INVISIBLE",e.Expanded="EXPANDED",e.Collapsed="COLLAPSED"}(jg||(jg={}));const Vg=e=>{const t=Mg(),r=Fg(),n=e.themeName===_i.V6.Light?t:r,i=function(e){let t=0;return e.split(Tg).map((e=>t++)),t}(e.codeSnippet),a=i<=10?jg.Invisible:jg.Collapsed,[s,l]=o.useState(a),c=()=>{l(s===jg.Collapsed?jg.Expanded:jg.Collapsed)},u=s===jg.Invisible?i:s===jg.Collapsed?10:20,d=20*Math.min(i,u)+12,p=20===u&&i>u?"scroll":"hidden",f=yg(e.language),h=Ng(function(e){const t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return e.replace(/[&<>"']/g,(function(e){return t[e]}))}(e.codeSnippet),e.startIndex),[g,m]=o.useState(h);return o.useEffect((()=>{const t=function(e){const t=Hh.sanitize(e,{RETURN_DOM:!0});return Lg.reduce(((e,t)=>t.format(e)),Array.from(t.childNodes)).map((e=>e instanceof HTMLElement?e.outerHTML:e.nodeValue)).join("")}(Sg.applyHighlighting(e.codeSnippet,f));m(Ng(t,e.startIndex))}),[e,f]),o.createElement("div",{className:"ac-codeBlock"},o.createElement("pre",{className:`ac-cb ${n.pre}`,style:{margin:0,maxHeight:d,overflowY:p}},o.createElement("code",{className:`ac-cb hljs ${Pg}${f} ${n.code}`,dangerouslySetInnerHTML:{__html:Hh.sanitize(g,{RETURN_TRUSTED_TYPE:!0})}})),s!==jg.Invisible&&o.createElement("span",{onClick:c,onKeyDown:e=>"Enter"===e.key&&c(),className:n.expandCollapseButton,role:"button",tabIndex:0},s===jg.Collapsed?e.localizeStringFn(Bg.expandStateAriaLabel,{totalLines:i}):e.localizeStringFn(Bg.collapseStateAriaLabel)))};class Hg extends bg{internalRender(){return this.codeSnippet?o.createElement(Vg,{codeSnippet:this.codeSnippet,language:this.language,startIndex:this.startLineNumber,localizeStringFn:(e,t)=>this.localizeString(e,t),themeName:this.theme}):this.isDesignMode()?this.createPlaceholderElement():null}getJsonTypeName(){return Hg.jsonTypeName}}function qg(e,t){e.register("CodeBlock",(()=>new Hg))}Hg.jsonTypeName="CodeBlock";var Ug=r(1455);class $g{constructor(e){this._regularExpression=e}format(e,t){let r;if(t){let n=t;for(;null!=(r=this._regularExpression.exec(t));)n=n.replace(r[0],this.internalFormat(e,r));return n}return t}}class Wg extends $g{internalFormat(e,t){const r=new Date(Date.parse(t[1])),n=void 0!==t[2]?t[2].toLowerCase():"compact";return"compact"!==n?r.toLocaleDateString(e,{day:"numeric",weekday:n,month:n,year:"numeric"}):r.toLocaleDateString()}}class Gg extends $g{internalFormat(e,t){return new Date(Date.parse(t[1])).toLocaleTimeString(e,{hour:"numeric",minute:"2-digit"})}}function Kg(e,t){const r=[new Wg(/\{{2}DATE\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))(?:, ?(COMPACT|LONG|SHORT))?\)\}{2}/g),new Gg(/\{{2}TIME\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))\)\}{2}/g)];let n=t;for(const t of r)n=t.format(e,n);return n}class Xg extends Ei.hA{populateSchema(e){super.populateSchema(e),e.remove(Xg.selectActionProperty)}get size(){return this.getValue(Xg.sizeProperty)}set size(e){this.setValue(Xg.sizeProperty,e)}get weight(){return this.getValue(Xg.weightProperty)}set weight(e){this.setValue(Xg.weightProperty,e)}get color(){return this.getValue(Xg.colorProperty)}set color(e){this.setValue(Xg.colorProperty,e)}get fontType(){return this.getValue(Xg.fontTypeProperty)}set fontType(e){this.setValue(Xg.fontTypeProperty,e)}get isSubtle(){return this.getValue(Xg.isSubtleProperty)}set isSubtle(e){this.setValue(Xg.isSubtleProperty,e)}get text(){return this.getValue(Xg.textProperty)}set text(e){this.setText(e)}get textDynamic(){return this.getValue(Xg.textDynamicProperty)}set textDynamic(e){this.setValue(Xg.textDynamicProperty,e)}get selectAction(){return this.getValue(Xg.selectActionProperty)}set selectAction(e){this.setValue(Xg.selectActionProperty,e)}getFontSize(e){switch(this.effectiveSize){case _i.$C.Small:return e.fontSizes.small;case _i.$C.Medium:return e.fontSizes.medium;case _i.$C.Large:return e.fontSizes.large;case _i.$C.ExtraLarge:return e.fontSizes.extraLarge;default:return e.fontSizes.default}}setText(e){this.setValue(Xg.textProperty,e)}constructor(e){super(),this.ariaHidden=!1,e&&(this.text=e)}init(e){this.size=e.size,this.weight=e.weight,this.color=e.color,this.isSubtle=e.isSubtle}asString(){return this.text}applyStylesTo(e){const t=this.hostConfig.getFontTypeDefinition(this.effectiveFontType);t.fontFamily&&(e.style.fontFamily=t.fontFamily),e.style.fontSize=`${t.getFontSize(this.effectiveSize)}px`;const r=this.getEffectiveStyleDefinition().foregroundColors.getColorDefinition(this.effectiveColor),n=(0,lf.zS)(this.effectiveIsSubtle?r.subtle:r.default);switch(n&&(e.style.color=n),this.effectiveWeight){case _i.uL.Lighter:e.style.fontWeight=t.fontWeights.lighter;break;case _i.uL.Bolder:e.style.fontWeight=t.fontWeights.bolder;break;default:e.style.fontWeight=t.fontWeights.default}this.ariaHidden&&(e["aria-hidden"]="true")}getAllActions(){const e=super.getAllActions();return this.selectAction&&e.push(this.selectAction),e}get effectiveColor(){return void 0!==this.color?this.color:this.getEffectiveTextStyleDefinition().color}get effectiveFontType(){return void 0!==this.fontType?this.fontType:this.getEffectiveTextStyleDefinition().fontType}get effectiveIsSubtle(){return void 0!==this.isSubtle?this.isSubtle:this.getEffectiveTextStyleDefinition().isSubtle}get effectiveSize(){return void 0!==this.size?this.size:this.getEffectiveTextStyleDefinition().size}get effectiveWeight(){return void 0!==this.weight?this.weight:this.getEffectiveTextStyleDefinition().weight}}Xg.textProperty=new Pi.XB(Pi.uq.v1_0,"text").setContentType("text").setIsHero(),Xg.textDynamicProperty=new Pi.tD(Pi.uq.v1_5,"text.dynamic",Xg.textProperty),Xg.sizeProperty=new Pi.fX(Pi.uq.v1_0,"size",_i.$C),Xg.weightProperty=new Pi.fX(Pi.uq.v1_0,"weight",_i.uL),Xg.colorProperty=new Pi.fX(Pi.uq.v1_0,"color",_i.r7),Xg.isSubtleProperty=new Pi.gV(Pi.uq.v1_0,"isSubtle"),Xg.fontTypeProperty=new Pi.fX(Pi.uq.v1_2,"fontType",_i.g7),Xg.selectActionProperty=new Ug.c(Pi.uq.v1_1,"selectAction",["Action.ShowCard"]);const Yg=(0,P.n)({lastParagraph:{"& > div > p:last-of-type":{display:"inline"},"& > div":{display:"inline"}}});class Jg extends Xg{constructor(){super(...arguments),this._internalId=(0,lf.Ij)(),this.useMarkdown=!0,this.renderAs="div"}get wrap(){return this.getValue(Jg.wrapProperty)}set wrap(e){this.setValue(Jg.wrapProperty,e)}get maxLines(){return this.getValue(Jg.maxLinesProperty)}set maxLines(e){this.setValue(Jg.maxLinesProperty,e)}get style(){return this.getValue(Jg.styleProperty)}set style(e){this.setValue(Jg.styleProperty,e)}get labelFor(){return this.getValue(Jg.labelForProperty)}set labelFor(e){this.setValue(Jg.labelForProperty,e)}populateSchema(e){super.populateSchema(e),e.remove(Xg.selectActionProperty)}propertyChanged(e,t,r){super.propertyChanged(e,t,r),e===Jg.labelForProperty&&(r&&this.removeLabelElementForInputId(r),t&&this.setLabelElementForInputId(t,this))}afterParse(){super.afterParse(),this.labelFor&&this.setLabelElementForInputId(this.labelFor,this)}internalRender(e){var t;const r=Yg();if(this.text){const e=this.preProcessPropertyValue(Xg.textProperty),n=this.hostConfig,i={style:{}};if(i.id=null!==(t=this.id)&&void 0!==t?t:this._internalId,i.className=n.makeCssClassName("ac-textBlock"),i.style.overflow="hidden",i.style.margin=0,i.style.padding=0,this.applyStylesTo(i),"heading"===this.style){i.role="heading";const e=this.hostConfig.textBlock.headingLevel;void 0!==e&&e>0&&(i["aria-level"]=e)}const a=Kg(this.lang,e),s=this.useMarkdown&&a?this.processMarkdown({text:a,properties:this}):{didProcess:!1};s.didProcess&&s.output?i.children=s.output:i.children=a,this.wrap?(i.style.wordWrap="break-word",this.maxLines&&this.maxLines>0&&(i.style.overflow="hidden",Bi.h$.useWebkitLineClamp?(i.style.lineHeight=void 0,i.style.display="-webkit-box",i.style.WebkitBoxOrient="vertical",i.style.WebkitLineClamp=this.maxLines):i.style.maxHeight=this._computedLineHeight*this.maxLines+"px")):i.style.whiteSpace="nowrap",i.style.textOverflow="ellipsis";const l=this.labelFor&&this.getLabelElementForInputId(this.labelFor)?this.getInput(this.labelFor):void 0;if(i.htmlFor=null==l?void 0:l.internalId,l&&(null==l?void 0:l.isRequired)&&(null==l?void 0:l.isEnabled)){const e=new Jg(n.inputs.label.requiredInputs.suffix);e.init(n.inputs.label.requiredInputs),e.color=n.inputs.label.requiredInputs.suffixColor,e.ariaHidden=!0,e.renderAs="span",i.children=[o.createElement(o.Fragment,{key:"text"},i.children),o.createElement(Ei.XG,{key:"requiredCue",cardObject:e})],i.className=r.lastParagraph}return o.createElement(l?"label":this.renderAs,i)}return null}applyStylesTo(e){switch(super.applyStylesTo(e),this.getEffectiveHorizontalAlignment()){case _i.OD.Center:e.style.textAlign="center";break;case _i.OD.Right:e.style.textAlign="end";break;default:e.style.textAlign="start"}const t=this.hostConfig.lineHeights;if(t)switch(this.effectiveSize){case _i.$C.Small:this._computedLineHeight=t.small;break;case _i.$C.Medium:this._computedLineHeight=t.medium;break;case _i.$C.Large:this._computedLineHeight=t.large;break;case _i.$C.ExtraLarge:this._computedLineHeight=t.extraLarge;break;default:this._computedLineHeight=t.default}else this._computedLineHeight=1.33*this.getFontSize(this.hostConfig.getFontTypeDefinition(this.effectiveFontType));e.style.lineHeight=`${this._computedLineHeight}px`}getSortKey(){return this.text||""}getJsonTypeName(){return"TextBlock"}getEffectiveTextStyleDefinition(){return this.style?this.hostConfig.textStyles.getStyleByName(this.style):super.getEffectiveTextStyleDefinition()}get internalId(){return this._internalId}}Jg.wrapProperty=new Pi.gV(Pi.uq.v1_0,"wrap",!1),Jg.maxLinesProperty=new Pi.Uy(Pi.uq.v1_0,"maxLines"),Jg.styleProperty=new Pi.XY(Pi.uq.v1_5,"style",[{value:"default"},{value:"columnHeader"},{value:"heading"}]),Jg.labelForProperty=new Pi.XB(Pi.uq.v1_5,"labelFor");class Zg extends Xg{populateSchema(e){super.populateSchema(e),e.remove(Ei.hA.targetWidthProperty),e.remove(Ei.hA.horizontalAlignmentProperty),e.remove(Ei.hA.heightProperty),e.remove(Ei.hA.separatorProperty),e.remove(Ei.hA.spacingProperty),e.remove(Ei.hA.requiresProperty),e.add(Xg.selectActionProperty)}get italic(){return this.getValue(Zg.italicProperty)}set italic(e){this.setValue(Zg.italicProperty,e)}get strikethrough(){return this.getValue(Zg.strikethroughProperty)}set strikethrough(e){this.setValue(Zg.strikethroughProperty,e)}get highlight(){return this.getValue(Zg.highlightProperty)}set highlight(e){this.setValue(Zg.highlightProperty,e)}get underline(){return this.getValue(Zg.underlineProperty)}set underline(e){this.setValue(Zg.underlineProperty,e)}internalRender(e){var t;if(this.text){const e=this.preProcessPropertyValue(Xg.textProperty),r=this.hostConfig,n=Kg(this.lang,e);let i=null!=n?n:"";if((null===(t=this.selectAction)||void 0===t?void 0:t.isEffectivelyEnabled())&&r.supportsInteractivity){const e={style:{}};e.className=r.makeCssClassName("ac-anchor"),e.href=this.selectAction.getHref(),e.target="_blank",e.rel="noopener noreferrer",e.onClick=e=>{var t,r;e.preventDefault(),e.stopPropagation(),"click"===(null===(t=this.selectAction)||void 0===t?void 0:t.applicationMode)&&(null===(r=this.selectAction)||void 0===r||r.execute())};const t=this.renderAnchor(n,e);null!==t&&(i=this.selectAction.applyTo(t))}const a=(0,lf.xg)();return a.className=r.makeCssClassName("ac-textRun"),a.style.whiteSpace="pre-wrap",this.applyStylesTo(a),o.createElement("span",a,i)}return null}applyStylesTo(e){if(super.applyStylesTo(e),this.italic&&(e.style.fontStyle="italic"),this.strikethrough&&(e.style.textDecoration="line-through"),this.highlight){const t=this.getEffectiveStyleDefinition().foregroundColors.getColorDefinition(this.effectiveColor),r=(0,lf.zS)(this.effectiveIsSubtle?t.highlightColors.subtle:t.highlightColors.default);r&&(e.style.backgroundColor=r)}this.underline&&(e.style.textDecoration="underline")}getJsonTypeName(){return"TextRun"}get isStandalone(){return!1}get isInline(){return!0}}Zg.italicProperty=new Pi.gV(Pi.uq.v1_2,"italic",!1),Zg.strikethroughProperty=new Pi.gV(Pi.uq.v1_2,"strikethrough",!1),Zg.highlightProperty=new Pi.gV(Pi.uq.v1_2,"highlight",!1),Zg.underlineProperty=new Pi.gV(Pi.uq.v1_3,"underline",!1);class Qg extends Ei.hA{constructor(){super(...arguments),this._inlines=[],this._internalId=(0,lf.Ij)()}get labelFor(){return this.getValue(Qg.labelForProperty)}set labelFor(e){this.setValue(Qg.labelForProperty,e)}propertyChanged(e,t,r){super.propertyChanged(e,t,r),e===Qg.labelForProperty&&(r&&this.removeLabelElementForInputId(r),t&&this.setLabelElementForInputId(t,this))}afterParse(){super.afterParse(),this.labelFor&&this.setLabelElementForInputId(this.labelFor,this)}internalAddInline(e,t=!1){if(!e.isInline)throw new Error(Ii.D.errors.elementCannotBeUsedAsInline());if(void 0!==e.parent&&!t&&e.parent!==this)throw new Error(Ii.D.errors.inlineAlreadyParented());e.setParent(this),this._inlines.push(e)}internalParse(e,t){if(super.internalParse(e,t),this._inlines=[],Array.isArray(e.inlines))for(const r of e.inlines){let e;if("string"==typeof r){const t=new Zg;t.text=r,e=t}else e=t.parseElement(this,r,[],!1);e&&this.internalAddInline(e,!0)}}internalToJSON(e,t){if(super.internalToJSON(e,t),this._inlines.length>0){const r=[];for(const e of this._inlines)r.push(e.toJSON(t));t.serializeValue(e,"inlines",r)}}internalRender(e){var t;if(this._inlines.length>0){const e=(0,lf.xg)();e.id=null!==(t=this.id)&&void 0!==t?t:this._internalId,e.className=this.hostConfig.makeCssClassName("ac-richTextBlock"),e.style.margin=0,e.style.padding=0;const r=this.hostConfig;switch(this.getEffectiveHorizontalAlignment()){case _i.OD.Center:e.style.textAlign="center";break;case _i.OD.Right:e.style.textAlign="end";break;default:e.style.textAlign="start"}const n=[...this._inlines];let i="div";if(this.forElementId)e.htmlFor=this.forElementId,i="label";else{const t=this.labelFor&&this.getLabelElementForInputId(this.labelFor)?this.getInput(this.labelFor):void 0;if(t&&(e.htmlFor=t.internalId,i="label",t.isRequired&&t.isEnabled)){const e=new Zg(r.inputs.label.requiredInputs.suffix);e.setParent(this),e.color=r.inputs.label.requiredInputs.suffixColor,e.ariaHidden=!0,n.push(e)}}const a=n.map(((e,t)=>o.createElement(Ei.XG,{key:e.getKey(t),cardObject:e})));if(a.length>0)return o.createElement(i,e,a)}return null}asString(){let e="";for(const t of this._inlines)e+=t.asString();return e}getJsonTypeName(){return"RichTextBlock"}getAdditionalValidSchemaProperties(){return[...super.getAdditionalValidSchemaProperties(),"inlines"]}getAdditionalPropertyDescriptors(e){const t=e.getElementDescriptors().filter((e=>e.describedObject instanceof Ei.hA&&e.describedObject.isInline));return[...super.getAdditionalPropertyDescriptors(e),{name:"inlines",valueTypes:[{type:"object",validValues:t},{type:"string",contentType:"text"}],propertyType:"array",schemaVersion:Pi.uq.v1_2,suggestedSchemaTypeName:"RichTextBlockInlineArray"}]}getInlineCount(){return this._inlines.length}getInlineAt(e){if(e>=0&&e<this._inlines.length)return this._inlines[e];throw new Error(Ii.D.errors.indexOutOfRange(e))}addInline(e){"string"==typeof e?this.internalAddInline(new Zg(e)):this.internalAddInline(e)}removeInline(e){const t=this._inlines.indexOf(e);return t>=0&&(this._inlines[t].setParent(void 0),this._inlines.splice(t,1),!0)}get internalId(){return this._internalId}}Qg.labelForProperty=new Pi.XB(Pi.uq.v1_5,"labelFor");var em=r(5605);class tm extends Ei.hA{constructor(){super(...arguments),this._hasError=!1,this._internalId=(0,lf.Ij)(),this.labelId=(0,lf.Ij)(),this.errorId=(0,lf.Ij)()}get label(){return this.getValue(tm.labelProperty)}set label(e){this.setValue(tm.labelProperty,e)}get isRequired(){return this.getValue(tm.isRequiredProperty)}set isRequired(e){this.setValue(tm.isRequiredProperty,e)}get errorMessage(){return this.getValue(tm.errorMessageProperty)}set errorMessage(e){this.setValue(tm.errorMessageProperty,e)}get valueChangedAction(){return this.getValue(tm.valueChangedActionProperty)}set valueChangedAction(e){this.setValue(tm.valueChangedActionProperty,e)}get internalId(){return this._internalId}populateSchema(e){super.populateSchema(e),e.remove(Ei.hA.horizontalAlignmentProperty)}internalParse(e,t){super.internalParse(e,t),this._value=this.defaultValue}getAllLabelIds(){var e;const t=[];if(this.labelledBy&&t.push(this.labelledBy),this.id&&this.inputHasExternalLabel(this.id)){const r=this.getLabelElementForInputId(this.id),n=null!==(e=null==r?void 0:r.id)&&void 0!==e?e:null==r?void 0:r.internalId;n&&t.push(n)}else t.push(this.labelId,this.errorId);return t}getAriaLabelledBy(){const e=this.getAllLabelIds();return e.length>0?e.join(" "):void 0}get isNullable(){return!0}renderLabel(){const e=this.hostConfig;if((!this.id||!this.inputHasExternalLabel(this.id))&&this.label){const t=new Qg;t.id=this.labelId,t.setParent(this),t.forElementId=this.internalId;const r=new Zg(this.label);if(t.addInline(r),this.isRequired&&this.isEnabled){r.init(e.inputs.label.requiredInputs);const n=new Zg(e.inputs.label.requiredInputs.suffix);n.color=e.inputs.label.requiredInputs.suffixColor,n.ariaHidden=!0,t.addInline(n)}else r.init(e.inputs.label.optionalInputs);return o.createElement(Ei.XG,{cardObject:t})}return null}renderExtraContent(){return null}afterParse(){super.afterParse(),this.registerInput(this)}internalRender(e){const t=this.hostConfig,r=this.renderExtraContent(),n={display:"flex",flexDirection:"row",gap:r?"10px":void 0,flex:"stretch"===this.height?"1 1 auto":void 0};return o.createElement("div",{style:{display:"flex",flexDirection:"column",gap:`${t.getEffectiveSpacing(t.inputs.label.inputSpacing)}px`}},this.renderLabel(),o.createElement("div",{className:this.hostConfig.makeCssClassName("ac-input-container"),style:n},this.renderInputControl(),r),this.renderValidationError())}renderValidationError(){if(this.hasError&&this.errorMessage&&Bi.h$.displayInputValidationErrors){const e=new Jg;return e.id=this.errorId,e.setParent(this),e.text=this.errorMessage,e.wrap=!0,e.init(this.hostConfig.inputs.errorMessage),o.createElement(Ei.XG,{cardObject:e})}return null}executeValueChangedAction(){var e;null===(e=this.valueChangedAction)||void 0===e||e.execute()}valueChanged(e){this._value=e,this.getRootElement().updateActionsEnabledState(),this.executeValueChangedAction(),!this.isValid()||(this.hasError=!1),this.onValueChanged&&this.onValueChanged(this);const t=this.getRootElement(),r=t&&t.onInputValueChanged?t.onInputValueChanged:em.hq.onInputValueChanged;r&&r(this)}getValue(e){return(e!==tm.isRequiredProperty||!this.isInPopover())&&super.getValue(e)}focus(){return!1}resetValue(){this.isSet()&&(this.value=this.defaultValue,this.updateLayout())}isValid(){return!0}isDirty(){return this.isSet()&&this.value!==this._oldValue}resetDirtyState(){this._oldValue=this.value}internalValidateProperties(e){super.internalValidateProperties(e),this.id||e.addFailure(this,_i.iV.PropertyCantBeNull,Ii.D.errors.inputsMustHaveUniqueId()),!0===super.getValue(tm.isRequiredProperty)&&(this.label||e.addFailure(this,_i.iV.RequiredInputsShouldHaveLabel,"Required inputs should have a label"),this.errorMessage||e.addFailure(this,_i.iV.RequiredInputsShouldHaveErrorMessage,"Required inputs should have an error message"),this.isInPopover()&&e.addFailure(this,_i.iV.Other,"Required inputs are not allowed in popovers. The input will be treated as optional."))}validateValue(){if(!this.isEnabled)return!0;const e=this.isRequired?this.isSet()&&this.isValid():this.isValid();return this.hasError=!e,e}getAllInputs(e=!0){return[this]}get valueAsString(){return void 0!==this.value&&null!==this.value?this.value.toString():void 0}get isInteractive(){return!0}get hasError(){return this._hasError}set hasError(e){this._hasError!==e&&(this._hasError=e,this.updateLayout())}}tm.labelProperty=new Pi.XB(Pi.uq.v1_3,"label").setContentType("text"),tm.isRequiredProperty=new Pi.gV(Pi.uq.v1_3,"isRequired",!1),tm.errorMessageProperty=new Pi.XB(Pi.uq.v1_3,"errorMessage").setContentType("text"),tm.valueChangedActionProperty=new Ug.c(Pi.uq.v1_5,"valueChangedAction",["Action.ToggleVisibility","Action.Execute","Action.Submit","Action.OpenUrl","Action.Overflow","Action.Http","Action.ShowCard","Action.InsertImage"]);const rm=(0,qa.X)({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),nm=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{disabled:r=!1,required:n=!1,weight:i="regular",size:o="medium"}=e;return{disabled:r,required:Il.lq(!0===n?"*":n||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:i,size:o,components:{root:"label",required:"span"},root:Il.Gk((0,Pl.g)("label",{ref:t,...e}),{elementType:"label"})}})(e,t);return(e=>{const t=rm();e.root.className=(0,E.z)("fui-Label",t.root,e.disabled&&t.disabled,t[e.size],"semibold"===e.weight&&t.semibold,e.root.className),e.required&&(e.required.className=(0,E.z)("fui-Label__required",t.required,e.disabled&&t.disabled,e.required.className))})(r),(0,hc.$e)("useLabelStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[e.root.children,e.required&&(0,ec.Y)(e.required,{})]})))(r)}));nm.displayName="Label";const im=o.createContext(void 0),om=im.Provider,am=()=>o.useContext(im);function sm(e,t){return lm(am(),e,t)}function lm(e,t,r){if(!e)return t;t={...t};const{generatedControlId:n,hintId:i,labelFor:o,labelId:a,required:s,validationMessageId:l,validationState:c}=e;var u,d,p,f,h,g,m,v,y,b,w,S;return n&&(null!==(d=(u=t).id)&&void 0!==d||(u.id=n)),!a||(null==r?void 0:r.supportsLabelFor)&&o===t.id||null!==(f=(p=t)["aria-labelledby"])&&void 0!==f||(p["aria-labelledby"]=a),(l||i)&&(t["aria-describedby"]=[l,i,null==t?void 0:t["aria-describedby"]].filter(Boolean).join(" ")),"error"===c&&(null!==(g=(h=t)["aria-invalid"])&&void 0!==g||(h["aria-invalid"]=!0)),s&&((null==r?void 0:r.supportsRequired)?null!==(v=(m=t).required)&&void 0!==v||(m.required=!0):null!==(b=(y=t)["aria-required"])&&void 0!==b||(y["aria-required"]=!0)),(null==r?void 0:r.supportsSize)&&(null!==(S=(w=t).size)&&void 0!==S||(w.size=e.size)),t}var cm=r(3171);const um=(e,t,r)=>Math.max(t,Math.min(r,e||0)),dm={sliderDirectionVar:"--fui-Slider--direction",sliderInnerThumbRadiusVar:"--fui-Slider__inner-thumb--radius",sliderProgressVar:"--fui-Slider--progress",sliderProgressColorVar:"--fui-Slider__progress--color",sliderRailSizeVar:"--fui-Slider__rail--size",sliderRailColorVar:"--fui-Slider__rail--color",sliderStepsPercentVar:"--fui-Slider--steps-percent",sliderThumbColorVar:"--fui-Slider__thumb--color",sliderThumbSizeVar:"--fui-Slider__thumb--size"},{sliderDirectionVar:pm,sliderInnerThumbRadiusVar:fm,sliderProgressVar:hm,sliderProgressColorVar:gm,sliderRailSizeVar:mm,sliderRailColorVar:vm,sliderStepsPercentVar:ym,sliderThumbColorVar:bm,sliderThumbSizeVar:wm}=dm,Sm=(0,qa.X)({root:{qhf8xq:"f10pi13n",mc9l5x:"fwk3njj",lpbzjs:"f1sdsnyy",Bt984gj:"f122n59",B7hvi0a:"f1oiokrs"},small:{Bi64ftq:"f1agqo6f",Bslxy2k:"f1mmvox9",Ba19x4e:"f1i7ztpd",sshi5w:"f1pha7fy"},medium:{Bi64ftq:"f1a78h9h",Bslxy2k:"fh1udnr",Ba19x4e:"fuok0yf",sshi5w:"f1nxs5xn"},horizontal:{Bf4jedk:"fyvtabn",wkccdc:"fgfd48t",Budl1dq:"f4t5rw1"},vertical:{sshi5w:"f1pzv1zu",wkccdc:"fktlcaf",Budl1dq:"fiadc6h"},enabled:{B7wi8oa:"f4l8x3l",B250r6j:"f671q34",Bpmy4es:"fvfzmw5",Buw9y6v:"faw1t00",Bq939m0:"fxdgx5",gjzr1t:"fii04fa",tg7hqu:"f36hzz8",ypdvl1:"f1volkfw",Bw5jdd4:"f1xddb6",Bdjie01:"fcdikl",Bvh9j6m:"fhpzgm6",Bvsvvpo:"f1q6pm3h"},disabled:{Bpmy4es:"foojseg",B7wi8oa:"f1lgdqhv",B250r6j:"f1veetlj",ypdvl1:"fu12m3e",Bw5jdd4:"fi9guym",Bdjie01:"fcdjl4u"},focusIndicatorHorizontal:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",Bssx7fj:"f1b1k54r",uh7if5:["f4ne723","fqqcjud"],clntm0:"fh7aioi",Dlk2r6:["fqqcjud","f4ne723"],Bm3wd5j:"f1k55ka9",Bbrhkcr:["fgclinu","f16pcs8n"],f1oku:"fycbxed",aywvf2:["f16pcs8n","fgclinu"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",Byrf0fs:0,Bsiemmq:0,Bwckmig:0,skfxo0:0,Iidy0u:0,B98u21t:0,Bvwlmkc:0,jo1ztg:0,Ba1iezr:0,Blmvk6g:0,B24cy0v:0,Bil7v7r:0,Br3gin4:0,nr063g:0,ghq09:0,Bbgo44z:0,Bseh09z:"fmj8fco",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1iwowo3",B2pnrqr:"f1pffoy2",B29w5g4:["f1dfga45","f63jj3o"],Bhhzhcn:"fs6b7xr",Bec0n69:["f63jj3o","f1dfga45"]},focusIndicatorVertical:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",Bssx7fj:"f1b1k54r",uh7if5:["f4ne723","fqqcjud"],clntm0:"fh7aioi",Dlk2r6:["fqqcjud","f4ne723"],Bm3wd5j:"f1k55ka9",Bbrhkcr:["fgclinu","f16pcs8n"],f1oku:"fycbxed",aywvf2:["f16pcs8n","fgclinu"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",Byrf0fs:0,Bsiemmq:0,Bwckmig:0,skfxo0:0,Iidy0u:0,B98u21t:0,Bvwlmkc:0,jo1ztg:0,Ba1iezr:0,Blmvk6g:0,B24cy0v:0,Bil7v7r:0,Br3gin4:0,nr063g:0,ghq09:0,Bbgo44z:0,Bseh09z:"fmj8fco",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1iwowo3",B2pnrqr:"f1pffoy2",B29w5g4:["fm5xmfm","femsgmt"],Bhhzhcn:"fs6b7xr",Bec0n69:["femsgmt","fm5xmfm"]}},{d:[".f10pi13n{position:relative;}",".fwk3njj{display:inline-grid;}",".f1sdsnyy{touch-action:none;}",".f122n59{align-items:center;}",".f1oiokrs{justify-items:center;}",".f1agqo6f{--fui-Slider__thumb--size:16px;}",".f1mmvox9{--fui-Slider__inner-thumb--radius:5px;}",".f1i7ztpd{--fui-Slider__rail--size:2px;}",".f1pha7fy{min-height:24px;}",".f1a78h9h{--fui-Slider__thumb--size:20px;}",".fh1udnr{--fui-Slider__inner-thumb--radius:6px;}",".fuok0yf{--fui-Slider__rail--size:4px;}",".f1nxs5xn{min-height:32px;}",".fyvtabn{min-width:120px;}",".fgfd48t{grid-template-rows:1fr var(--fui-Slider__thumb--size) 1fr;}",".f4t5rw1{grid-template-columns:1fr calc(100% - var(--fui-Slider__thumb--size)) 1fr;}",".f1pzv1zu{min-height:120px;}",".fktlcaf{grid-template-rows:1fr calc(100% - var(--fui-Slider__thumb--size)) 1fr;}",".fiadc6h{grid-template-columns:1fr var(--fui-Slider__thumb--size) 1fr;}",".f4l8x3l{--fui-Slider__rail--color:var(--colorNeutralStrokeAccessible);}",".f671q34{--fui-Slider__progress--color:var(--colorCompoundBrandBackground);}",".fvfzmw5{--fui-Slider__thumb--color:var(--colorCompoundBrandBackground);}",".foojseg{--fui-Slider__thumb--color:var(--colorNeutralForegroundDisabled);}",".f1lgdqhv{--fui-Slider__rail--color:var(--colorNeutralBackgroundDisabled);}",".f1veetlj{--fui-Slider__progress--color:var(--colorNeutralForegroundDisabled);}",".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}",".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}",".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}",".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}",'.ffht0p2[data-fui-focus-within]:focus-within::after{content:"";}',".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}",".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}",".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}",[".fmj8fco[data-fui-focus-within]:focus-within::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1iwowo3[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1pffoy2[data-fui-focus-within]:focus-within::after{top:calc(0px - 2px - -2px);}",".f1dfga45[data-fui-focus-within]:focus-within::after{right:calc(0px - 2px - -4px);}",".f63jj3o[data-fui-focus-within]:focus-within::after{left:calc(0px - 2px - -4px);}",".fs6b7xr[data-fui-focus-within]:focus-within::after{bottom:calc(0px - 2px - -2px);}",[".fmj8fco[data-fui-focus-within]:focus-within::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1iwowo3[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fm5xmfm[data-fui-focus-within]:focus-within::after{right:calc(0px - 2px - 4px);}",".femsgmt[data-fui-focus-within]:focus-within::after{left:calc(0px - 2px - 4px);}"],h:[".faw1t00:hover{--fui-Slider__thumb--color:var(--colorCompoundBrandBackgroundHover);}",".fxdgx5:hover{--fui-Slider__progress--color:var(--colorCompoundBrandBackgroundHover);}"],a:[".fii04fa:active{--fui-Slider__thumb--color:var(--colorCompoundBrandBackgroundPressed);}",".f36hzz8:active{--fui-Slider__progress--color:var(--colorCompoundBrandBackgroundPressed);}"],m:[["@media (forced-colors: active){.f1volkfw{--fui-Slider__rail--color:CanvasText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1xddb6{--fui-Slider__thumb--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcdikl{--fui-Slider__progress--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fhpzgm6:hover{--fui-Slider__thumb--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1q6pm3h:hover{--fui-Slider__progress--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fu12m3e{--fui-Slider__rail--color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fi9guym{--fui-Slider__thumb--color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcdjl4u{--fui-Slider__progress--color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1k55ka9[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16pcs8n[data-fui-focus-within]:focus-within::after{border-left-color:Highlight;}.fgclinu[data-fui-focus-within]:focus-within::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fycbxed[data-fui-focus-within]:focus-within::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"]}),Cm=(0,qa.X)({rail:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu",Bkecrkj:"f1aehjj5",Ijaq50:"faunodf",nk6f5a:"f88nxoq",Br312pm:"fd46tj4",Bw0ie65:"f1e2fz10",qhf8xq:"f10pi13n",Bvjb7m6:"fdgv6k0",Bcmaq0h:"fizngqt",Bpd4iqm:"fpvhumw",oeaueh:"f1yog68k",Bw0xxkn:"f13sgyd8",Ftih45:"fzhtfnv",Brfgrao:"f1j7ml58",Bbn5juq:"fx36ao7",Brdvuy1:"fux3rle"},horizontal:{a9b677:"fly5x3f",Bqenvij:"f1cy86ho",Fbdkly:["f1heqfse","fkh49vu"],mdwyqc:["fkh49vu","f1heqfse"],Baz25je:"f16tdq4e"},vertical:{a9b677:"fqxfnkd",Bqenvij:"f1l02sjl",Ccq8qp:"f1rik0od",Bciustq:"f14xwovp",lawp4y:"fdehrcx"}},{d:[[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".f1aehjj5{pointer-events:none;}",".faunodf{grid-row-start:2;}",".f88nxoq{grid-row-end:2;}",".fd46tj4{grid-column-start:2;}",".f1e2fz10{grid-column-end:2;}",".f10pi13n{position:relative;}",".fdgv6k0{forced-color-adjust:none;}",".fizngqt{background-image:linear-gradient(\n      var(--fui-Slider--direction),\n      var(--fui-Slider__progress--color) 0%,\n      var(--fui-Slider__progress--color) var(--fui-Slider--progress),\n      var(--fui-Slider__rail--color) var(--fui-Slider--progress)\n    );}",".fpvhumw{outline-width:1px;}",".f1yog68k{outline-style:solid;}",".f13sgyd8{outline-color:var(--colorTransparentStroke);}",".fzhtfnv::before{content:'';}",".f1j7ml58::before{position:absolute;}",".fx36ao7::before{background-image:repeating-linear-gradient(\n        var(--fui-Slider--direction),\n        #0000 0%,\n        #0000 calc(var(--fui-Slider--steps-percent) - 1px),\n        var(--colorNeutralBackground1) calc(var(--fui-Slider--steps-percent) - 1px),\n        var(--colorNeutralBackground1) var(--fui-Slider--steps-percent)\n      );}",".fly5x3f{width:100%;}",".f1cy86ho{height:var(--fui-Slider__rail--size);}",".f1heqfse::before{left:-1px;}",".fkh49vu::before{right:-1px;}",".f16tdq4e::before{height:var(--fui-Slider__rail--size);}",".fqxfnkd{width:var(--fui-Slider__rail--size);}",".f1l02sjl{height:100%;}",".f1rik0od::before{width:var(--fui-Slider__rail--size);}",".f14xwovp::before{top:-1px;}",".fdehrcx::before{bottom:-1px;}"],m:[["@media (forced-colors: active){.fux3rle::before{background-image:repeating-linear-gradient(\n          var(--fui-Slider--direction),\n          #0000 0%,\n          #0000 calc(var(--fui-Slider--steps-percent) - 1px),\n          HighlightText calc(var(--fui-Slider--steps-percent) - 1px),\n          HighlightText var(--fui-Slider--steps-percent)\n        );}}",{m:"(forced-colors: active)"}]]}),Am=(0,qa.X)({thumb:{B2lzsem:"ftx3jue",Ijaq50:"faunodf",nk6f5a:"f88nxoq",Br312pm:"fd46tj4",Bw0ie65:"f1e2fz10",qhf8xq:"f1euv43f",a9b677:"f174ca62",Bqenvij:"f1yfdkfd",Bkecrkj:"f1aehjj5",oeaueh:"f1s6fcnf",Bvjb7m6:"fdgv6k0",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",E5pizo:"fof7hq0",De3pzq:"foksa45",Brfgrao:"f1j7ml58",Bciustq:"f14u7mkt",Fbdkly:["f5zrw40","f1ks5ppg"],lawp4y:"fto0uou",mdwyqc:["f1ks5ppg","f5zrw40"],r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"fielpny",Bcvre1j:"fyl8oag",Ftih45:"fzhtfnv",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1fsco4d"},disabled:{Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1pv9hn4"},horizontal:{Bz10aip:["f13gfj74","f1nfknbn"],oyh7mz:["foa2ioz","fjmilum"]},vertical:{Bz10aip:"f5cv5a3",B5kzvoi:"f1k2fpdo"}},{d:[".ftx3jue{--fui-Slider__thumb--position:clamp(var(--fui-Slider__inner-thumb--radius), var(--fui-Slider--progress), calc(100% - var(--fui-Slider__inner-thumb--radius)));}",".faunodf{grid-row-start:2;}",".f88nxoq{grid-row-end:2;}",".fd46tj4{grid-column-start:2;}",".f1e2fz10{grid-column-end:2;}",".f1euv43f{position:absolute;}",".f174ca62{width:var(--fui-Slider__thumb--size);}",".f1yfdkfd{height:var(--fui-Slider__thumb--size);}",".f1aehjj5{pointer-events:none;}",".f1s6fcnf{outline-style:none;}",".fdgv6k0{forced-color-adjust:none;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],".fof7hq0{box-shadow:0 0 0 calc(var(--fui-Slider__thumb--size) * .2) var(--colorNeutralBackground1) inset;}",".foksa45{background-color:var(--fui-Slider__thumb--color);}",".f1j7ml58::before{position:absolute;}",".f14u7mkt::before{top:0px;}",".f5zrw40::before{left:0px;}",".f1ks5ppg::before{right:0px;}",".fto0uou::before{bottom:0px;}",[".fielpny::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],".fyl8oag::before{box-sizing:border-box;}",".fzhtfnv::before{content:'';}",[".f1fsco4d::before{border:calc(var(--fui-Slider__thumb--size) * .05) solid var(--colorNeutralStroke1);}",{p:-2}],[".f1pv9hn4::before{border:calc(var(--fui-Slider__thumb--size) * .05) solid var(--colorNeutralForegroundDisabled);}",{p:-2}],".f13gfj74{transform:translateX(-50%);}",".f1nfknbn{transform:translateX(50%);}",".foa2ioz{left:var(--fui-Slider__thumb--position);}",".fjmilum{right:var(--fui-Slider__thumb--position);}",".f5cv5a3{transform:translateY(50%);}",".f1k2fpdo{bottom:var(--fui-Slider__thumb--position);}"]}),xm=(0,qa.X)({input:{Bceei9c:"f1k6fduh",abs64n:"fk73vx1",Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z",Br312pm:"fwpfdsa",Bw0ie65:"fuur7zz",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"},disabled:{Bceei9c:"f158kwzp"},horizontal:{Bqenvij:"f1yfdkfd",a9b677:"fly5x3f"},vertical:{Bqenvij:"f1l02sjl",a9b677:"f174ca62",fsx8h0:"f1mm7lwf",B0wtrmc:["fdkxjay","f6bzpni"],B5laz1p:"f1ry0dy"}},{d:[".f1k6fduh{cursor:pointer;}",".fk73vx1{opacity:0;}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".fwpfdsa{grid-column-start:1;}",".fuur7zz{grid-column-end:-1;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],".f158kwzp{cursor:default;}",".f1yfdkfd{height:var(--fui-Slider__thumb--size);}",".fly5x3f{width:100%;}",".f1l02sjl{height:100%;}",".f174ca62{width:var(--fui-Slider__thumb--size);}"],t:["@supports (writing-mode: sideways-lr){.f1mm7lwf{writing-mode:vertical-lr;}}","@supports (writing-mode: sideways-lr){.f6bzpni{direction:ltr;}.fdkxjay{direction:rtl;}}","@supports not (writing-mode: sideways-lr){.f1ry0dy{-webkit-appearance:slider-vertical;}}"]}),{sliderStepsPercentVar:km,sliderProgressVar:Em,sliderDirectionVar:_m}=dm;var Im=r(2425);function Pm(e){e.removeAttribute(Im.BV)}function Tm(e){return!!e&&Boolean(e&&"object"==typeof e&&"classList"in e&&"contains"in e)}function Bm(){const{targetDocument:e}=(0,Na.Y)(),t=o.useRef(null);return o.useEffect((()=>{if((null==e?void 0:e.defaultView)&&t.current)return function(e,t){const r=(0,ro.SQ)(t);r.subscribe((t=>{t||Pm(e)}));const n=t=>{r.isNavigatingWithKeyboard()&&Tm(t.target)&&e.setAttribute(Im.BV,"")},i=t=>{(!t.relatedTarget||Tm(t.relatedTarget)&&!e.contains(t.relatedTarget))&&Pm(e)};return e.addEventListener(ro.Oy,n),e.addEventListener("focusout",i),()=>{e.removeEventListener(ro.Oy,n),e.removeEventListener("focusout",i),(0,ro.bd)(r)}}(t.current,e.defaultView)}),[t,e]),t}const Dm=o.forwardRef(((e,t)=>{const r=((e,t)=>{e=sm(e,{supportsLabelFor:!0});const r=(0,cm.n)({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","size"]}),{disabled:n,vertical:i,size:o="medium",root:a,input:s,rail:l,thumb:c}=e,u={disabled:n,size:o,vertical:i,components:{input:"input",rail:"div",root:"div",thumb:"div"},root:Il.Gk(a,{defaultProps:r.root,elementType:"div"}),input:Il.Gk(s,{defaultProps:{id:(0,wl.Bi)("slider-",e.id),ref:t,...r.primary,type:"range",orient:i?"vertical":void 0},elementType:"input"}),rail:Il.Gk(l,{elementType:"div"}),thumb:Il.Gk(c,{elementType:"div"})};return u.root.ref=(0,Tl.a)(u.root.ref,Bm()),((e,t)=>{const{min:r=0,max:n=100,step:i}=t,{dir:o}=(0,Na.Y)(),[a,s]=pd({state:t.value,defaultState:t.defaultValue,initialState:0}),l=um(a,r,n),c=((e,t,r)=>r===t?0:(e-t)/(r-t)*100)(l,r,n),u=e.input.onChange,d=t.onChange,p=(0,Al.D)((e=>{const t=Number(e.target.value);s(um(t,r,n)),u&&u!==d?u(e):d&&d(e,{value:t})})),f=i&&i>0?100*i/(n-r)+"%":void 0,h={[_m]:e.vertical?"0deg":"ltr"===o?"90deg":"270deg",[Em]:`${c}%`,...void 0!==f&&{[km]:f}};e.root.style={...h,...e.root.style},e.input.value=l,e.input.onChange=p})(u,e),u})(e,t);return(e=>{const t=Sm(),r=Cm(),n=Am(),i=xm(),o=e.vertical;e.root.className=(0,E.z)("fui-Slider",t.root,o?t.focusIndicatorVertical:t.focusIndicatorHorizontal,t[e.size],o?t.vertical:t.horizontal,e.disabled?t.disabled:t.enabled,e.root.className),e.rail.className=(0,E.z)("fui-Slider__rail",r.rail,o?r.vertical:r.horizontal,e.rail.className),e.thumb.className=(0,E.z)("fui-Slider__thumb",n.thumb,o?n.vertical:n.horizontal,e.disabled&&n.disabled,e.thumb.className),e.input.className=(0,E.z)("fui-Slider__input",i.input,o?i.vertical:i.horizontal,e.disabled&&i.disabled,e.input.className)})(r),(0,hc.$e)("useSliderStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[(0,ec.Y)(e.input,{}),(0,ec.Y)(e.rail,{}),(0,ec.Y)(e.thumb,{})]})))(r)}));Dm.displayName="Slider";var Nm=r(8807);const Rm=(0,Nm.U)("ErrorCircle12Filled","12",["M6 11A5 5 0 1 0 6 1a5 5 0 0 0 0 10Zm-.75-2.75a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm.26-4.84a.5.5 0 0 1 .98 0l.01.09v2.59a.5.5 0 0 1-1 0V3.41Z"]),Om=(0,Nm.U)("ErrorCircle20Filled","20",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 10.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM10 6a.5.5 0 0 0-.5.41v4.68a.5.5 0 0 0 1 0V6.41A.5.5 0 0 0 10 6Z"]),zm=(0,Nm.U)("Eye24Regular","24",["M12 9a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 1.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5Zm0-5a10 10 0 0 1 9.7 7.56.75.75 0 1 1-1.45.37 8.5 8.5 0 0 0-16.5 0 .75.75 0 0 1-1.45-.36A10 10 0 0 1 12 5.5Z"]),Mm=(0,Nm.U)("EyeOff24Regular","24",["M2.22 2.22a.75.75 0 0 0-.07.98l.07.08 4.03 4.03a9.99 9.99 0 0 0-3.95 5.75.75.75 0 0 0 1.45.37 8.49 8.49 0 0 1 3.58-5.04l1.81 1.81A3.99 3.99 0 0 0 12 17c1.09 0 2.08-.43 2.8-1.14l5.92 5.92a.75.75 0 0 0 1.13-.98l-.07-.08-6.11-6.11-1.2-1.2-2.87-2.87-2.88-2.88-1.13-1.13-4.31-4.31a.75.75 0 0 0-1.06 0Zm7.98 9.05 3.54 3.53A2.5 2.5 0 0 1 9.5 13c0-.67.27-1.28.7-1.73ZM12 5.5a10 10 0 0 0-2.89.42l1.24 1.24a8.52 8.52 0 0 1 9.9 6.27.75.75 0 0 0 1.45-.36A10 10 0 0 0 12 5.5Zm.2 3.5 3.8 3.81a4 4 0 0 0-3.8-3.8Z"]);var Fm=r(1831);const Lm=(0,Nm.U)("CheckboxChecked20Filled","20",["M6 3a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6Zm7.85 4.85-5 5a.5.5 0 0 1-.7 0l-2-2a.5.5 0 0 1 .7-.7l1.65 1.64 4.65-4.64a.5.5 0 0 1 .7.7Z"]),jm=(0,Nm.U)("CheckboxUnchecked20Regular","20",["M3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm3-2a2 2 0 0 0-2 2v8c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H6Z"]),Vm=(0,Nm.U)("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),Hm=(0,Nm.U)("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),qm=(0,Nm.U)("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]),Um={error:o.createElement(Rm,null),warning:o.createElement(Fm.Co_,null),success:o.createElement(qm,null),none:void 0},$m="fui-Field",Wm="fui-Field__label",Gm="fui-Field__validationMessage",Km="fui-Field__validationMessageIcon",Xm="fui-Field__hint",Ym=(0,qa.X)({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),Jm=(0,qa.X)({vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),Zm=(0,rc.y)("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),Qm=(0,qa.X)({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),ev=(0,rc.y)("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),tv=(0,qa.X)({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),rv=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{children:r,orientation:n="vertical",required:i=!1,validationState:o=(e.validationMessage?"error":"none"),size:a="medium"}=e,s=(0,wl.Bi)("field-"),l=s+"__control",c=Il.Gk((0,Pl.g)("div",{...e,ref:t},["children"]),{elementType:"div"}),u=Il.lq(e.label,{defaultProps:{htmlFor:l,id:s+"__label",required:i,size:a},elementType:nm}),d=Il.lq(e.validationMessage,{defaultProps:{id:s+"__validationMessage",role:"error"===o||"warning"===o?"alert":void 0},elementType:"div"}),p=Il.lq(e.hint,{defaultProps:{id:s+"__hint"},elementType:"div"}),f=Um[o],h=Il.lq(e.validationMessageIcon,{renderByDefault:!!f,defaultProps:{children:f},elementType:"span"});return{children:r,generatedControlId:l,orientation:n,required:i,size:a,validationState:o,components:{root:"div",label:nm,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:c,label:u,validationMessageIcon:h,validationMessage:d,hint:p}})(e,t);(e=>{const{validationState:t,size:r}=e,n="horizontal"===e.orientation,i=Ym();e.root.className=(0,E.z)($m,i.base,n&&i.horizontal,n&&!e.label&&i.horizontalNoLabel,e.root.className);const o=Jm();e.label&&(e.label.className=(0,E.z)(Wm,n&&o.horizontal,n&&"small"===r&&o.horizontalSmall,n&&"large"===r&&o.horizontalLarge,!n&&o.vertical,!n&&"large"===r&&o.verticalLarge,e.label.className));const a=ev(),s=tv();e.validationMessageIcon&&(e.validationMessageIcon.className=(0,E.z)(Km,a,"none"!==t&&s[t],e.validationMessageIcon.className));const l=Zm(),c=Qm();e.validationMessage&&(e.validationMessage.className=(0,E.z)(Gm,l,"error"===t&&c.error,!!e.validationMessageIcon&&c.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=(0,E.z)(Xm,l,e.hint.className))})(r),(0,hc.$e)("useFieldStyles_unstable")(r);const n=(e=>{var t,r,n,i;const{generatedControlId:a,orientation:s,required:l,size:c,validationState:u}=e,d=null===(t=e.label)||void 0===t?void 0:t.htmlFor,p=null===(r=e.label)||void 0===r?void 0:r.id,f=null===(n=e.validationMessage)||void 0===n?void 0:n.id,h=null===(i=e.hint)||void 0===i?void 0:i.id;return{field:o.useMemo((()=>({generatedControlId:a,hintId:h,labelFor:d,labelId:p,orientation:s,required:l,size:c,validationMessageId:f,validationState:u})),[a,h,d,p,s,l,c,f,u])}})(r);return((e,t)=>{(0,tc.C)(e);let{children:r}=e;return"function"==typeof r&&(r=r(lm(t.field)||{})),(0,ec.Y)(om,{value:null==t?void 0:t.field,children:(0,ec.FD)(e.root,{children:[e.label&&(0,ec.Y)(e.label,{}),r,e.validationMessage&&(0,ec.FD)(e.validationMessage,{children:[e.validationMessageIcon&&(0,ec.Y)(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&(0,ec.Y)(e.hint,{})]})})})(r,n)}));rv.displayName="Field";class nv{}nv.sliderInputCurrentValue={key:"sliderInputCurrentValue",defaultValue:"Current value: {{value}}"};const iv=o.forwardRef(((e,t)=>{const r=o.createElement("div",{style:{width:"100%",display:"flex",flexDirection:"row",gap:"4px",alignItems:"center"}},e.showMinMax&&o.createElement(nm,{style:{margin:0},"aria-hidden":!0},e.min),o.createElement(Dm,{ref:t,id:e.internalId,min:e.min,max:e.max,value:void 0!==e.value?e.value:void 0!==e.min?e.min:0,onChange:(t,r)=>{e.valueChanged(r.value)},style:{width:"100%",minWidth:0}}),e.showMinMax&&o.createElement(nm,{style:{margin:0},"aria-hidden":!0},e.max)),n=e.currentValueLabel?(0,lf.zl)(e.currentValueLabel,{value:void 0!==e.value?e.value:"-"}):e.localizeString(nv.sliderInputCurrentValue,{value:void 0!==e.value?e.value:"-"});return e.showValue?o.createElement(rv,{validationMessage:n,validationState:"none",style:{width:"100%"}},r):r}));iv.displayName="RatingInputComponent";class ov extends tm{constructor(){super(...arguments),this._inputRef=o.createRef()}get defaultValue(){return this.getValue(ov.valueProperty)}set defaultValue(e){this.setValue(ov.valueProperty,e)}get min(){return this.getValue(ov.minProperty)}set min(e){this.setValue(ov.minProperty,e)}get max(){return this.getValue(ov.maxProperty)}set max(e){this.setValue(ov.maxProperty,e)}get step(){return this.getValue(ov.stepProperty)}set step(e){this.setValue(ov.stepProperty,e)}get showValue(){return this.getValue(ov.showValueProperty)}set showValue(e){this.setValue(ov.showValueProperty,e)}get showMinMax(){return this.getValue(ov.showMinMaxProperty)}set showMinMax(e){this.setValue(ov.showMinMaxProperty,e)}get currentValueLabel(){return this.getValue(ov.currentValueLabelProperty)}set currentValueLabel(e){this.setValue(ov.currentValueLabelProperty,e)}focus(){var e,t;return!!(null===(e=this._inputRef)||void 0===e?void 0:e.current)&&(null===(t=this._inputRef)||void 0===t||t.current.focus(),!0)}renderInputControl(){return o.createElement(iv,{ref:this._inputRef,internalId:this.internalId,isRequired:this.isRequired,min:this.min,max:this.max,step:this.step,value:this.value,valueChanged:e=>{this.valueChanged(e),this.updateLayout()},showValue:this.showValue,showMinMax:this.showMinMax,currentValueLabel:this.currentValueLabel,localizeString:(e,t)=>this.localizeString(e,t)})}getJsonTypeName(){return"Input.Slider"}isSet(){return void 0!==this.value&&!isNaN(this.value)}isValid(){return void 0===this.value?!this.isRequired:this.isValidValue(this.value)}isValidValue(e){let t=!0;return void 0!==this.min&&(t=t&&e>=this.min),void 0!==this.max&&(t=t&&e<=this.max),t}get value(){return this._value}set value(e){this._value===e||void 0!==e&&!this.isValidValue(e)||this.valueChanged(e)}}ov.valueProperty=new Pi.Uy(Pi.uq.v1_5,"value"),ov.minProperty=new Pi.Uy(Pi.uq.v1_5,"min",0),ov.maxProperty=new Pi.Uy(Pi.uq.v1_5,"max",10),ov.stepProperty=new Pi.Uy(Pi.uq.v1_5,"step"),ov.showValueProperty=new Pi.gV(Pi.uq.v1_5,"showValue",!1),ov.showMinMaxProperty=new Pi.gV(Pi.uq.v1_5,"showMinMax",!1),ov.currentValueLabelProperty=new Pi.XB(Pi.uq.v1_5,"currentValueLabel");var av=r(2770),sv=r(7478),lv=r(4801);class cv{constructor(){this._parts=[],this._shouldDropOwner=!1}static parse(e){if(!e)return e;const t=/\$\{([^\\}\\\\]*(?:\\.[^\\}\\\\]*)*)\}/g,r=new cv;let n,i=0;for(;null!=(n=t.exec(e));){let t;n.index>i&&r._parts.push(e.substring(i,n.index));try{t=new sv.Of(n[0])}catch(e){t=n[0]}r._parts.push(t),i=n.index+n[0].length}return i<e.length&&r._parts.push(e.substring(i)),1===r._parts.length&&"string"==typeof r._parts[0]?r._parts[0]:r}evalExpression(e,t){return(0,k.__awaiter)(this,void 0,void 0,(function*(){const r=yield e.evaluate(t);return void 0===r&&(this._shouldDropOwner=this._shouldDropOwner||!e.allowNull),r}))}internalEvaluate(e){return(0,k.__awaiter)(this,void 0,void 0,(function*(){if(0!==this._parts.length){if(1===this._parts.length)return"string"==typeof this._parts[0]?this._parts[0]:yield this.evalExpression(this._parts[0],e);{let t="";for(const r of this._parts)if("string"==typeof r)t+=r;else{let n=yield this.evalExpression(r,e);void 0===n&&r.allowNull&&(n=lv.h$.undefinedExpressionValueSubstitutionString?lv.h$.undefinedExpressionValueSubstitutionString:r.expressionString),t+=n}return t}}}))}evaluate(e){return(0,k.__awaiter)(this,void 0,void 0,(function*(){return this._shouldDropOwner=!1,yield this.internalEvaluate(e)}))}get shouldDropOwner(){return this._shouldDropOwner}}class uv{static prepare(e){if("string"==typeof e)return cv.parse(e);if(Array.isArray(e)){const t=[];for(const r of e)t.push(uv.prepare(r));return t}if((0,lv._5)(e)){const t={},r=Object.keys(e);for(const n of r)t[n]=uv.prepare(e[n]);return t}return e}expandSingleObject(e){return(0,k.__awaiter)(this,void 0,void 0,(function*(){const t={},r=Object.keys(e);for(const n of r)if(!sv.eC.isReservedField(n)){const r=e[n],i=yield this.internalExpand(r);if(r instanceof cv&&r.shouldDropOwner)return null;null!=i&&(t[n]=i)}return t}))}internalExpand(e){return(0,k.__awaiter)(this,void 0,void 0,(function*(){let t;if(this._context.saveState(),Array.isArray(e)){let r=[];for(const t of e){const e=yield this.internalExpand(t);null!==e&&(Array.isArray(e)?r=r.concat(e):r.push(e))}t=r}else if(e instanceof cv)t=yield e.evaluate(this._context),e.shouldDropOwner&&(t=null);else if((0,lv._5)(e)){const r=e.$when;let n=!1;if(r instanceof cv){let e;try{e=yield r.evaluate(this._context),"boolean"!=typeof e&&(e=!1)}catch(t){e=!1}n=!e}if(n)t=null;else{let r=e.$data;if(void 0!==r)if(r instanceof cv&&(r=yield r.evaluate(this._context)),Array.isArray(r)){const n=[];for(let t=0;t<r.length;t++){this._context.$data=r[t],this._context.$index=t;const i=yield this.expandSingleObject(e);null!==i&&n.push(i)}t=n}else this._context.$data=r,t=yield this.expandSingleObject(e);else t=yield this.expandSingleObject(e)}}else t=e;return this._context.restoreLastState(),t}))}constructor(e){this.preparedPayload=uv.prepare(e)}expand(e){return(0,k.__awaiter)(this,void 0,void 0,(function*(){return this._context=null!=e?e:new sv.kK,yield this.internalExpand(this.preparedPayload)}))}}class dv extends av.mc{get itemTemplate(){return this.getValue(dv.itemTemplateProperty)}set itemTemplate(e){this.setValue(dv.itemTemplateProperty,e)}get itemsData(){return this.getValue(dv.itemsDataProperty)}set itemsData(e){this.setValue(dv.itemsDataProperty,e)}renderItems(){const e=super.renderItems();let t=e.length;if(this.itemTemplate&&this.itemsData&&Array.isArray(this.itemsData)){const r=new uv(this.itemTemplate);this.itemsData.forEach((n=>{const i=r.expand(new sv.kK({$root:n})),o=this.getSerializationContext().parseElement(this,i,[],!0);if(o){0===t&&(o.spacing=_i.Kz.None);const r=this.renderItem(o,t);r&&e.push(r)}t++}))}return e}getJsonTypeName(){return"TemplatizedContainer"}isResponsive(){return!0}}dv.itemTemplateProperty=new Pi.BG(Pi.uq.v1_5,"itemTemplate"),dv.itemsDataProperty=new Pi.BG(Pi.uq.v1_5,"items.data");var pv=r(7843);const fv=(0,qa.X)({primaryActionButton:{B6xbmo0:["f1x37qnr","f1um7c6d"],kdpuga:["fn4c73s","f6pwzcr"]},menuButton:{lbo84a:["frrbwxo","f1rgcpbv"],dm238s:["f1um7c6d","f1x37qnr"],Bw81rd7:["f6pwzcr","fn4c73s"]}},{d:[".f1x37qnr[data-fui-focus-visible]{border-top-right-radius:0;}",".f1um7c6d[data-fui-focus-visible]{border-top-left-radius:0;}",".fn4c73s[data-fui-focus-visible]{border-bottom-right-radius:0;}",".f6pwzcr[data-fui-focus-visible]{border-bottom-left-radius:0;}",".frrbwxo[data-fui-focus-visible]{border-left-width:0;}",".f1rgcpbv[data-fui-focus-visible]{border-right-width:0;}"]}),hv=(0,qa.X)({base:{mc9l5x:"ftuwxu6",Brf1p80:"fsxf2b5",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",kn2xc0:["f14uur2j","fc1btbj"],Bs76p8a:["fye5tvs","fc597qq"],cuxpm9:["f1e8brtx","fr36rk3"],Biffepf:["fxp12j1","f1m6nt2y"],Defnvf:["fr7y8no","f1dn0c6m"],z0pv9t:"f1b65x5h"},outline:{},primary:{B1l9wao:["f4rm5b0","f1tuwo13"],lcnrd8:["fdwdeeo","f1ezdslh"],Brbpp8k:["fckzjn8","f8ohr2i"],Bcsxniv:["ff0tx2l","fnrj3rw"],tl7e51:["f3jppgx","f1m2s8ie"],mba178:["f96h41g","fdxf0pi"]},secondary:{},subtle:{B1l9wao:["f16kf41h","fxiafvi"],lcnrd8:["ffl6mx9","f1t5sw6t"],Brbpp8k:["f1t42bc8","fsw5hli"]},transparent:{B1l9wao:["f16kf41h","fxiafvi"],lcnrd8:["ffl6mx9","f1t5sw6t"],Brbpp8k:["f1t42bc8","fsw5hli"]},circular:{},rounded:{},square:{},disabled:{B1l9wao:["f10xrnr8","f15nylwb"],lcnrd8:["f11fwhjz","f18vtcsx"],Brbpp8k:["f31btwb","fzgm9gq"]},disabledHighContrast:{Bcsxniv:["fj2q5vi","f13tct40"],tl7e51:["fb2mzc7","f179dhpp"],mba178:["f1ma39qa","f1nzpdru"]}},{d:[".ftuwxu6{display:inline-flex;}",".fsxf2b5{justify-content:stretch;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f14uur2j .fui-SplitButton__primaryActionButton{border-top-right-radius:0;}",".fc1btbj .fui-SplitButton__primaryActionButton{border-top-left-radius:0;}",".fye5tvs .fui-SplitButton__primaryActionButton{border-bottom-right-radius:0;}",".fc597qq .fui-SplitButton__primaryActionButton{border-bottom-left-radius:0;}",".f1e8brtx .fui-SplitButton__menuButton{border-left-width:0;}",".fr36rk3 .fui-SplitButton__menuButton{border-right-width:0;}",".fxp12j1 .fui-SplitButton__menuButton{border-top-left-radius:0;}",".f1m6nt2y .fui-SplitButton__menuButton{border-top-right-radius:0;}",".fr7y8no .fui-SplitButton__menuButton{border-bottom-left-radius:0;}",".f1dn0c6m .fui-SplitButton__menuButton{border-bottom-right-radius:0;}",".f1b65x5h .fui-SplitButton__menuButton{min-width:24px;}",".f4rm5b0 .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f1tuwo13 .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeOnBrand);}",".f16kf41h .fui-SplitButton__primaryActionButton{border-right-color:var(--colorTransparentBackground);}",".fxiafvi .fui-SplitButton__primaryActionButton{border-left-color:var(--colorTransparentBackground);}",".f10xrnr8 .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeDisabled);}",".f15nylwb .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeDisabled);}"],h:[".fdwdeeo:hover .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f1ezdslh:hover .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fckzjn8:hover:active .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f8ohr2i:hover:active .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeOnBrand);}",".ffl6mx9:hover .fui-SplitButton__primaryActionButton{border-right-color:var(--colorTransparentBackgroundHover);}",".f1t5sw6t:hover .fui-SplitButton__primaryActionButton{border-left-color:var(--colorTransparentBackgroundHover);}",".f1t42bc8:hover:active .fui-SplitButton__primaryActionButton{border-right-color:var(--colorTransparentBackgroundPressed);}",".fsw5hli:hover:active .fui-SplitButton__primaryActionButton{border-left-color:var(--colorTransparentBackgroundPressed);}",".f11fwhjz:hover .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18vtcsx:hover .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeDisabled);}",".f31btwb:hover:active .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeDisabled);}",".fzgm9gq:hover:active .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeDisabled);}"],m:[["@media (forced-colors: active){.ff0tx2l .fui-SplitButton__primaryActionButton{border-right-color:HighlightText;}.fnrj3rw .fui-SplitButton__primaryActionButton{border-left-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m2s8ie:hover .fui-SplitButton__primaryActionButton{border-left-color:Highlight;}.f3jppgx:hover .fui-SplitButton__primaryActionButton{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f96h41g:hover:active .fui-SplitButton__primaryActionButton{border-right-color:Highlight;}.fdxf0pi:hover:active .fui-SplitButton__primaryActionButton{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13tct40 .fui-SplitButton__primaryActionButton{border-left-color:GrayText;}.fj2q5vi .fui-SplitButton__primaryActionButton{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f179dhpp:hover .fui-SplitButton__primaryActionButton{border-left-color:GrayText;}.fb2mzc7:hover .fui-SplitButton__primaryActionButton{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ma39qa:hover:active .fui-SplitButton__primaryActionButton{border-right-color:GrayText;}.f1nzpdru:hover:active .fui-SplitButton__primaryActionButton{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}]]}),gv=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{appearance:r="secondary",children:n,disabled:i=!1,disabledFocusable:o=!1,icon:a,iconPosition:s="before",menuButton:l,menuIcon:c,primaryActionButton:u,shape:d="rounded",size:p="medium"}=e,f=(0,wl.Bi)("splitButton-"),h=Il.lq(l,{defaultProps:{appearance:r,disabled:i,disabledFocusable:o,menuIcon:c,shape:d,size:p},renderByDefault:!0,elementType:Hd}),g=Il.lq(u,{defaultProps:{appearance:r,children:n,disabled:i,disabledFocusable:o,icon:a,iconPosition:s,id:f+"__primaryActionButton",shape:d,size:p},renderByDefault:!0,elementType:pv.$});return h&&g&&!h["aria-label"]&&!h["aria-labelledby"]&&(h["aria-labelledby"]=g.id),{appearance:r,disabled:i,disabledFocusable:o,iconPosition:s,shape:d,size:p,components:{root:"div",menuButton:Hd,primaryActionButton:pv.$},root:Il.Gk((0,Pl.g)("div",{ref:t,...e}),{elementType:"div"}),menuButton:h,primaryActionButton:g}})(e,t);return(e=>{const t=hv(),r=fv(),{appearance:n,disabled:i,disabledFocusable:o}=e;e.root.className=(0,E.z)("fui-SplitButton",t.base,n&&t[n],(i||o)&&t.disabled,(i||o)&&t.disabledHighContrast,e.root.className),e.menuButton&&(e.menuButton.className=(0,E.z)("fui-SplitButton__menuButton",r.menuButton,e.menuButton.className)),e.primaryActionButton&&(e.primaryActionButton.className=(0,E.z)("fui-SplitButton__primaryActionButton",r.primaryActionButton,e.primaryActionButton.className))})(r),(0,hc.$e)("useSplitButtonStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[e.primaryActionButton&&(0,ec.Y)(e.primaryActionButton,{}),e.menuButton&&(0,ec.Y)(e.menuButton,{})]})))(r)}));gv.displayName="SplitButton";var mv=r(1013);class vv{}vv.basicInputAppearance="outline",vv.comboboxAppearance="outline",vv.textareaAppearance="outline",vv.numberInputAppearance="outline",vv.timeInputAppearance="outline",vv.shouldUseInlinePopup=!1,vv.destructiveActionButton=Object.assign(Object.assign({backgroundColor:Va.L.colorStatusDangerBackground3,color:Va.L.colorNeutralForegroundOnBrand},mv.Pt.borderColor(Va.L.colorStatusDangerBackground3)),{"&:hover":Object.assign({backgroundColor:Va.L.colorStatusDangerBackground3Hover,color:Va.L.colorNeutralForegroundOnBrand},mv.Pt.borderColor(Va.L.colorStatusDangerBackground3Hover)),"&:focus:active":Object.assign({backgroundColor:Va.L.colorStatusDangerBackground3Pressed,color:Va.L.colorNeutralForegroundOnBrand},mv.Pt.borderColor(Va.L.colorStatusDangerBackground3Pressed))});const yv={width:"100%",minWidth:"0"},bv={overflow:"hidden"},wv={textInput:Object.assign(Object.assign({},yv),vv.textInput),multilineTextInput:Object.assign(Object.assign(Object.assign({},yv),{minHeight:"90px"}),vv.multilineTextInput),multilineTextInputTextArea:Object.assign(Object.assign({},yv),{maxHeight:"unset"}),passwordInputHideRevealButton:{"::-ms-reveal":{display:"none"}},dateInput:Object.assign(Object.assign(Object.assign({},yv),vv.dateInput),{"& + .fui-DatePicker__popupSurface":{zIndex:1,"& td.fui-CalendarDayGrid__dayCell":{paddingLeft:"0",paddingRight:"0"},"& th.fui-CalendarDayGrid__dayCell":{paddingLeft:"0",paddingRight:"0"}}}),numberInput:Object.assign(Object.assign({},yv),vv.numberInput),timeInput:Object.assign(Object.assign({},yv),vv.timeInput),toggleInput:Object.assign(Object.assign({},yv),vv.toggleInput),toggleInputLabelNoWrap:Object.assign(Object.assign({},bv),{whiteSpace:"nowrap",textOverflow:"ellipsis"}),toggleInputLabelWrap:Object.assign({},bv),compactChoiceSetInput:Object.assign(Object.assign({},yv),vv.compactChoiceSetInput),actionButton:Object.assign(Object.assign({minWidth:0,height:"100%"},vv.actionButton),{"@media (forced-colors: active)":{"&:focus":{outline:"2px solid",outlineOffset:"-2px"}}}),destructiveActionButton:Object.assign({},vv.destructiveActionButton),splitActionButtonDestructive:{borderRightColor:Va.L.colorNeutralBackground1,"&:hover":{borderRightColor:Va.L.colorNeutralBackground1},"&:focus:active":{borderRightColor:Va.L.colorNeutralBackground1}},splitMenuButton:{alignItems:"center"},inlineActionButton:Object.assign({minWidth:0,height:"100%",flexShrink:0,flexGrow:0,flexBasis:"auto"},vv.actionButton)},Sv=(0,P.n)(wv);class Cv extends Ei.On{constructor(){super(...arguments),this._domElement=null}render(e,t){let r;switch(this.action.style){case _i.s9.Positive:r=_i.s9.Positive;break;case _i.s9.Destructive:r=_i.s9.Destructive;break;default:r=this.action.isExpanded||this.action.isInSubCard||t.forcePrimary?_i.s9.Positive:_i.s9.Default}return o.createElement(Av,Object.assign({buttonProps:e},t,{style:r,isInline:t.isInline,onRef:e=>{var t;const r=this._domElement;this._domElement=e,this.onDomElementChanged&&this.onDomElementChanged(null!=r?r:void 0,null!==(t=this._domElement)&&void 0!==t?t:void 0)},menuItems:this.menuItems,isExpanded:this.action.isExpandable?this.action.isExpanded:void 0,onPopupMenuOpenedOrClosed:e=>{const t=this.action.parent;t&&(e?t.popoverOpened():t.popoverClosed())}}))}get domElement(){return this._domElement}}const Av=o.forwardRef(((e,t)=>{const r=Sv(),n=e.isInline?r.inlineActionButton:r.actionButton,i=e.style!==_i.s9.Destructive||e.buttonProps.disabled?n:(0,E.z)(n,r.destructiveActionButton),a=e.style===_i.s9.Positive?"primary":void 0;return e.menuItems&&0!==e.menuItems.length?o.createElement(Id,Object.assign({},e.buttonProps.isSplitButton?{}:{onOpenChange:(t,r)=>{e.onPopupMenuOpenedOrClosed(r.open)}}),o.createElement(zd,{disableButtonEnhancement:!0},o.createElement("div",{ref:t},e.buttonProps.isSplitButton?(()=>{const t=(0,E.z)(i,e.style===_i.s9.Destructive?r.splitActionButtonDestructive:void 0),n=Object.assign(Object.assign({},e.buttonProps),{className:t,onClick:e.onClick,ariaExpanded:e.isExpanded}),s=(0,E.z)(i,r.splitMenuButton),l=Object.assign(Object.assign({},e.buttonProps),{className:s});return o.createElement(gv,Object.assign({},e.buttonProps,{ref:e.onRef,className:i,appearance:a,primaryActionButton:n,menuButton:l}),e.renderedContent)})():o.createElement(Hd,Object.assign({},e.buttonProps,{ref:e.onRef,className:i,appearance:a,menuIcon:e.renderedContent})))),o.createElement(Qd,null,o.createElement(tp,null,null===(s=e.menuItems)||void 0===s?void 0:s.map((e=>{var t;return o.createElement(gc,{key:e.key,disabled:e.disabled,title:e.tooltip,onClick:()=>{e.onClick&&e.onClick()}},null!==(t=e.renderedContent)&&void 0!==t?t:e.text)}))))):o.createElement("div",{ref:t},o.createElement(pv.$,Object.assign({},e.buttonProps,{ref:e.onRef,className:i,appearance:a,onClick:e.onClick,"aria-expanded":e.isExpanded}),e.renderedContent));var s}));Av.displayName="ActionButtonComponent";class xv extends Pi.BG{parse(e,t,r){let n=e;for(;n&&!(n instanceof Ei.hA);)n=n.parent;if(n)return r.parseElement(n,t[this.name],this.forbiddenElementTypes,!0,{isPopoverContent:this.isPopoverContent})}toJSON(e,t,r,n){n.serializeValue(t,this.name,r?r.toJSON(n):void 0,void 0,!0)}getDescriptor(e){return{valueTypes:[{type:"object",validValues:e.getElementDescriptors(this.forbiddenElementTypes).sort(((e,t)=>e.name.localeCompare(t.name)))}]}}setIsPopoverContent(e){return this.isPopoverContent=e,this}constructor(e,t,r=[]){super(e,t,void 0),this.targetVersion=e,this.name=t,this.forbiddenElementTypes=r,this.isPopoverContent=!1}}const kv={small:6,medium:8,large:8},Ev=(0,qa.X)({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}'],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),_v=Cl(void 0),Iv={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1},Pv=(_v.Provider,e=>xl(_v,((t=Iv)=>e(t)))),Tv=e=>(e=>{const{appearance:t,arrowRef:r,contentRef:n,inline:i,mountNode:a,open:s,openOnContext:l,openOnHover:c,setOpen:u,size:d,toggleOpen:p,trapFocus:f,triggerRef:h,withArrow:g,inertTrapFocus:m}=e;return o.createElement(_v.Provider,{value:{appearance:t,arrowRef:r,contentRef:n,inline:i,mountNode:a,open:s,openOnContext:l,openOnHover:c,setOpen:u,toggleOpen:p,triggerRef:h,size:d,trapFocus:f,inertTrapFocus:m,withArrow:g}},e.popoverTrigger,e.open&&e.popoverSurface)})((e=>{const[t,r]=mc(),n={size:"medium",contextTarget:t,setContextTarget:r,...e},i=o.Children.toArray(e.children);let a,s;2===i.length?(a=i[0],s=i[1]):1===i.length&&(s=i[0]);const[l,c]=function(e){const t=(0,Al.D)(((t,r)=>{var n;return null===(n=e.onOpenChange)||void 0===n?void 0:n.call(e,t,r)})),[r,n]=pd({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=void 0!==r?r:e.open;const i=e.setContextTarget;return[r,o.useCallback(((e,r)=>{r&&"contextmenu"===e.type&&i(e),r||i(void 0),n(r),null==t||t(e,{open:r})}),[n,t,i])]}(n),[u,d]=Qu(),p=(0,Al.D)(((t,r)=>{var n;d(),t instanceof Event||!t.persist||t.persist(),"mouseleave"===t.type?u((()=>{c(t,r)}),null!==(n=e.mouseLeaveDelay)&&void 0!==n?n:500):c(t,r)})),f=o.useCallback((e=>{p(e,!l)}),[p,l]),h=function(e){const t={position:"above",align:"center",arrowPadding:8,target:e.openOnContext?e.contextTarget:void 0,...yc(e.positioning)};t.coverTarget&&(e.withArrow=!1),e.withArrow&&(t.offset=Cp(t.offset,kv[e.size]));const{targetRef:r,containerRef:n,arrowRef:i}=Xu(t);return{triggerRef:r,contentRef:n,arrowRef:i}}(n),{targetDocument:g}=(0,Na.Y)();var m;gd({contains:bd,element:g,callback:e=>p(e,!1),refs:[h.triggerRef,h.contentRef],disabled:!l,disabledFocusOnIframe:!(null===(m=e.closeOnIframeFocus)||void 0===m||m)});const v=n.openOnContext||n.closeOnScroll;wd({contains:bd,element:g,callback:e=>p(e,!1),refs:[h.triggerRef,h.contentRef],disabled:!l||!v});const{findFirstFocusable:y}=Cd(),b=function(){const e=Ma(Ba),[t]=Qu();return o.useCallback((r=>{t((()=>{var t;null===(t=e.current)||void 0===t||t.activate(r)}),0)}),[e,t])}();var w,S;return o.useEffect((()=>{if(e.unstable_disableAutoFocus)return;const t=h.contentRef.current;if(l&&t){var r;const e=!isNaN(null!==(r=t.getAttribute("tabIndex"))&&void 0!==r?r:void 0),n=e?t:y(t);null==n||n.focus(),e&&b(t)}}),[y,b,l,h.contentRef,e.unstable_disableAutoFocus]),{...n,...h,inertTrapFocus:null!==(w=e.inertTrapFocus)&&void 0!==w?w:void 0!==e.legacyTrapFocus&&!e.legacyTrapFocus,popoverTrigger:a,popoverSurface:s,open:l,setOpen:p,toggleOpen:f,setContextTarget:r,contextTarget:t,inline:null!==(S=e.inline)&&void 0!==S&&S}})(e));Tv.displayName="Popover";const Bv=e=>e.hasAttribute("data-tabster-never-hide");function Dv(e){Ba(e,void 0,Bv),Da(e)}const Nv=(e={})=>{const{trapFocus:t,alwaysFocusable:r,legacyTrapFocus:n}=e;Ma(Dv);const i=(0,wl.Bi)("modal-",e.id);return{modalAttributes:Fa({restorer:{type:0},...t&&{modalizer:{id:i,isOthersAccessible:!t,isAlwaysAccessible:r,isTrapped:n&&t}}}),triggerAttributes:Fa({restorer:{type:1}})}},Rv=e=>{const t=(e=>{const{children:t,disableButtonEnhancement:r=!1}=e,n=Td(t),i=Pv((e=>e.open)),o=Pv((e=>e.setOpen)),a=Pv((e=>e.toggleOpen)),s=Pv((e=>e.triggerRef)),l=Pv((e=>e.openOnHover)),c=Pv((e=>e.openOnContext)),{triggerAttributes:u}=Nv(),d={...u,"aria-expanded":`${i}`,...null==n?void 0:n.props,onMouseEnter:(0,Al.D)(Bd(null==n?void 0:n.props.onMouseEnter,(e=>{l&&o(e,!0)}))),onMouseLeave:(0,Al.D)(Bd(null==n?void 0:n.props.onMouseLeave,(e=>{l&&o(e,!1)}))),onContextMenu:(0,Al.D)(Bd(null==n?void 0:n.props.onContextMenu,(e=>{c&&(e.preventDefault(),o(e,!0))}))),ref:(0,Tl.a)(s,null==n?void 0:n.ref)},p={...d,onClick:(0,Al.D)(Bd(null==n?void 0:n.props.onClick,(e=>{c||a(e)}))),onKeyDown:(0,Al.D)(Bd(null==n?void 0:n.props.onKeyDown,(e=>{e.key===$l.uf9&&i&&!e.isDefaultPrevented()&&(o(e,!1),e.preventDefault())})))},f=(0,Ul.F)("button"===(null==n?void 0:n.type)||"a"===(null==n?void 0:n.type)?n.type:"div",p);return{children:Dd(e.children,(0,Ul.F)("button"===(null==n?void 0:n.type)||"a"===(null==n?void 0:n.type)?n.type:"div",c?d:r?p:f))}})(e);return(e=>e.children)(t)};Rv.displayName="PopoverTrigger",Rv.isFluentTriggerComponent=!0;const Ov=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=Pv((e=>e.contentRef)),n=Pv((e=>e.openOnHover)),i=Pv((e=>e.setOpen)),o=Pv((e=>e.mountNode)),a=Pv((e=>e.arrowRef)),s=Pv((e=>e.size)),l=Pv((e=>e.withArrow)),c=Pv((e=>e.appearance)),u=Pv((e=>e.trapFocus)),d=Pv((e=>e.inertTrapFocus)),p=Pv((e=>e.inline)),{modalAttributes:f}=Nv({trapFocus:u,legacyTrapFocus:!d,alwaysFocusable:!u}),h={inline:p,appearance:c,withArrow:l,size:s,arrowRef:a,mountNode:o,components:{root:"div"},root:Il.Gk((0,Pl.g)("div",{ref:(0,Tl.a)(t,r),role:u?"dialog":"group","aria-modal":!!u||void 0,...f,...e}),{elementType:"div"})},{onMouseEnter:g,onMouseLeave:m,onKeyDown:v}=h.root;return h.root.onMouseEnter=e=>{n&&i(e,!0),null==g||g(e)},h.root.onMouseLeave=e=>{n&&i(e,!1),null==m||m(e)},h.root.onKeyDown=e=>{var t;"Escape"===e.key&&(null===(t=r.current)||void 0===t?void 0:t.contains(e.target))&&(e.preventDefault(),i(e,!1)),null==v||v(e)},h})(e,t);return(e=>{const t=Ev();e.root.className=(0,E.z)("fui-PopoverSurface",t.root,e.inline&&t.inline,"small"===e.size&&t.smallPadding,"medium"===e.size&&t.mediumPadding,"large"===e.size&&t.largePadding,"inverted"===e.appearance&&t.inverted,"brand"===e.appearance&&t.brand,e.root.className),e.arrowClassName=(0,E.z)(t.arrow,"small"===e.size?t.smallArrow:t.mediumLargeArrow)})(r),(0,hc.$e)("usePopoverSurfaceStyles_unstable")(r),(e=>{(0,tc.C)(e);const t=(0,ec.FD)(e.root,{children:[e.withArrow&&(0,ec.Y)("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?t:(0,ec.Y)(Zd,{mountNode:e.mountNode,children:t})})(r)}));var zv;Ov.displayName="PopoverSurface",function(e){e[e.Above=0]="Above",e[e.Below=1]="Below",e[e.Before=2]="Before",e[e.After=3]="After"}(zv||(zv={})),(0,Wa.FM)(zv,"PopoverPosition");const Mv={[zv.Above]:"above",[zv.Below]:"below",[zv.Before]:"before",[zv.After]:"after"},Fv=e=>{const[t,r]=o.useState(!1);return o.useEffect((()=>{e.ownerEvents.onClosePopover=()=>{r(!1)}}),[e.ownerEvents]),o.createElement(Tv,{withArrow:e.displayArrow,trapFocus:!0,positioning:Mv[e.position],onOpenChange:(e,t)=>{r(t.open)},size:"medium",open:t},o.createElement(Rv,{disableButtonEnhancement:!0},e.triggerElement),o.createElement(Ov,{tabIndex:-1,style:{maxWidth:e.maxWidth}},o.createElement(Ei.XG,{cardObject:e.content})))};class Lv extends Ei.rc{populateSchema(e){super.populateSchema(e),e.remove(Ei.rc.menuActionsProperty)}get content(){return this.getValue(Lv.contentProperty)}set content(e){this.setValue(Lv.contentProperty,e)}get displayArrow(){return this.getValue(Lv.displayArrowProperty)}set displayArrow(e){this.setValue(Lv.displayArrowProperty,e)}get position(){return this.getValue(Lv.positionProperty)}set position(e){this.setValue(Lv.positionProperty,e)}get maxPopoverWidth(){return this.getValue(Lv.maxPopoverWidthProperty)}set maxPopoverWidth(e){this.setValue(Lv.maxPopoverWidthProperty,e)}processApplicableProperties(){var e;super.processApplicableProperties(),null===(e=this.content)||void 0===e||e.processApplicableProperties()}getJsonTypeName(){return Lv.JsonTypeName}getAllInputs(e=!0){return[...super.getAllInputs(),...this.content?this.content.getAllInputs():[]]}getAllActions(){return[...super.getAllActions(),...this.content?this.content.getAllActions():[]]}internalValidateProperties(e){var t;super.internalValidateProperties(e),null===(t=this.content)||void 0===t||t.internalValidateProperties(e)}hasResponsiveElements(){return!0}closeParentPopover(){alert("closeParentPopover")}wrapElement(e){var t,r;if(this.content){this.content.separator=!1,this.content.spacing=_i.Kz.None;const n=this.maxPopoverWidth&&this.maxPopoverWidth>0?this.maxPopoverWidth:null===(r=null===(t=this.getRootObject())||void 0===t?void 0:t.getSize())||void 0===r?void 0:r.width,i={};return this.content.onClosePopover=()=>{i.onClosePopover&&i.onClosePopover()},o.createElement(Fv,{triggerElement:e,content:this.content,maxWidth:n,displayArrow:this.displayArrow,position:this.position,ownerEvents:i})}return e}get applicationMode(){return"wrap"}get isSupportedInPopover(){return!1}}var jv,Vv,Hv,qv,Uv;Lv.contentProperty=new xv(Pi.uq.v1_5,"content").setIsPopoverContent(!0),Lv.displayArrowProperty=new Pi.gV(Pi.uq.v1_5,"displayArrow",!0),Lv.positionProperty=new Pi.fX(Pi.uq.v1_5,"position",zv,zv.Above),Lv.maxPopoverWidthProperty=new Pi.l5(Pi.uq.v1_5,"maxPopoverWidth"),Lv.JsonTypeName="Action.Popover",function(e){e[e.Filled=0]="Filled",e[e.Tint=1]="Tint"}(jv||(jv={})),(0,Wa.FM)(jv,"BadgeAppearance"),function(e){e[e.Before=0]="Before",e[e.After=1]="After"}(Vv||(Vv={})),(0,Wa.FM)(Vv,"BadgeIconPosition"),function(e){e[e.Square=0]="Square",e[e.Rounded=1]="Rounded",e[e.Circular=2]="Circular"}(Hv||(Hv={})),(0,Wa.FM)(Hv,"BadgeShape"),function(e){e[e.Medium=0]="Medium",e[e.Large=1]="Large",e[e.ExtraLarge=2]="ExtraLarge"}(qv||(qv={})),(0,Wa.FM)(qv,"BadgeSize"),function(e){e[e.Default=0]="Default",e[e.Subtle=1]="Subtle",e[e.Informative=2]="Informative",e[e.Accent=3]="Accent",e[e.Good=4]="Good",e[e.Attention=5]="Attention",e[e.Warning=6]="Warning"}(Uv||(Uv={})),(0,Wa.FM)(Uv,"BadgeStyle");const $v={[qv.Medium]:{fontSize:10,iconSize:12,height:20,columnGap:2},[qv.Large]:{fontSize:12,iconSize:16,height:24,columnGap:2},[qv.ExtraLarge]:{fontSize:12,iconSize:20,height:28,columnGap:4}},Wv={[qv.Medium]:{textOnly:6,iconAndText:{left:4,right:6}},[qv.Large]:{textOnly:6,iconAndText:{left:4,right:6}},[qv.ExtraLarge]:{textOnly:8,iconAndText:{left:6,right:6}}},Gv={[Uv.Default]:{[jv.Filled]:{backgroundColor:Va.L.colorNeutralForeground1,textColor:Va.L.colorNeutralBackground1},[jv.Tint]:{backgroundColor:Va.L.colorNeutralStencil1,textColor:Va.L.colorNeutralForeground3Hover,strokeColor:Va.L.colorNeutralStroke1}},[Uv.Subtle]:{[jv.Filled]:{backgroundColor:Va.L.colorNeutralBackground5,textColor:Va.L.colorNeutralForeground3,strokeColor:Va.L.colorTransparentStroke},[jv.Tint]:{backgroundColor:Va.L.colorNeutralBackground4,textColor:Va.L.colorNeutralForeground3,strokeColor:Va.L.colorNeutralStroke2}},[Uv.Informative]:{[jv.Filled]:{backgroundColor:Va.L.colorNeutralBackground1,textColor:Va.L.colorNeutralForeground1,strokeColor:Va.L.colorTransparentStroke},[jv.Tint]:{backgroundColor:Va.L.colorNeutralBackground1,textColor:Va.L.colorNeutralForeground3,strokeColor:Va.L.colorNeutralStroke2}},[Uv.Accent]:{[jv.Filled]:{backgroundColor:Va.L.colorBrandBackground,textColor:Va.L.colorNeutralForegroundOnBrand},[jv.Tint]:{backgroundColor:{dark:"#00061d",light:"#f2f4fc",highContrast:"#000000"},textColor:Va.L.colorBrandForeground2,strokeColor:Va.L.colorBrandStroke2}},[Uv.Good]:{[jv.Filled]:{backgroundColor:Va.L.colorStatusSuccessBackground3,textColor:Va.L.colorNeutralForegroundOnBrand},[jv.Tint]:{backgroundColor:Va.L.colorPaletteGreenBackground1,textColor:Va.L.colorStatusSuccessForeground1,strokeColor:Va.L.colorStatusSuccessBorder1}},[Uv.Attention]:{[jv.Filled]:{backgroundColor:Va.L.colorPaletteRedBackground3,textColor:Va.L.colorNeutralForegroundOnBrand},[jv.Tint]:{backgroundColor:Va.L.colorStatusDangerBackground1,textColor:Va.L.colorStatusDangerForeground3,strokeColor:Va.L.colorStatusDangerBorder1}},[Uv.Warning]:{[jv.Filled]:{backgroundColor:Va.L.colorPaletteMarigoldBackground3,textColor:Va.L.colorNeutralForeground1Static},[jv.Tint]:{backgroundColor:Va.L.colorPaletteMarigoldBackground1,textColor:Va.L.colorPaletteMarigoldForeground2,strokeColor:Va.L.colorPaletteMarigoldBorder1}}};class Kv extends Ei.hA{get text(){return this.getValue(Kv.textProperty)}set text(e){this.setValue(Kv.textProperty,e)}get icon(){return this.getValue(Kv.iconProperty)}set icon(e){this.setValue(Kv.iconProperty,e)}get iconPosition(){return this.getValue(Kv.iconPositionProperty)}set iconPosition(e){this.setValue(Kv.iconPositionProperty,e)}get appearance(){return this.getValue(Kv.appearanceProperty)}set appearance(e){this.setValue(Kv.appearanceProperty,e)}get size(){return this.getValue(Kv.sizeProperty)}set size(e){this.setValue(Kv.sizeProperty,e)}get shape(){return this.getValue(Kv.shapeProperty)}set shape(e){this.setValue(Kv.shapeProperty,e)}get style(){return this.getValue(Kv.styleProperty)}set style(e){this.setValue(Kv.styleProperty,e)}get tooltip(){return this.getValue(Kv.tooltipProperty)}set tooltip(e){this.setValue(Kv.tooltipProperty,e)}getJsonTypeName(){return Kv.jsonTypeName}internalRender(e){var t;const r=this.icon?(0,Xa.Zo)(this.icon):void 0,n=Gv[this.style][this.appearance],i=this.getBackgroundColor(n);let a;switch(this.shape){case Hv.Circular:a="10000px";break;case Hv.Rounded:a="4px";break;default:a=void 0}const s=$v[this.size],l=this.getBadgePadding(),c=this.text?o.createElement("div",{key:"text",style:{flex:"1 1 auto",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontFamily:null===(t=this.hostConfig.fontTypes)||void 0===t?void 0:t.default.fontFamily,fontSize:s.fontSize,fontWeight:600}},this.text):null,u=r?o.createElement(Xa.FW,{key:"icon",name:r.name,iconStyle:r.style,iconSize:`${s.iconSize}px`,showPlaceholder:!1,allowFallback:!1}):null,d=this.iconPosition===Vv.Before?[u,c]:[c,u];let p;switch(this.horizontalAlignment){case _i.OD.Center:p="center";break;case _i.OD.Right:p="flex-end";break;default:p="flex-start"}const f=o.createElement("div",{style:Object.assign(Object.assign({boxSizing:"border-box",alignSelf:p,display:"flex",alignItems:"center",justifyContent:"center",columnGap:`${s.columnGap}px`,color:n.textColor,backgroundColor:i,paddingLeft:`${l.left}px`,paddingRight:`${l.right}px`,borderRadius:a,height:`${s.height}px`,minWidth:`${s.height}px`},n.strokeColor?{border:`1px solid ${n.strokeColor}`}:{}),{cursor:"default"})},d);return this.tooltip?o.createElement(Ip,{content:this.tooltip,relationship:"description"},f):f}getBackgroundColor(e){const t=e.backgroundColor;if("string"==typeof t)return t;switch(this.theme){case _i.V6.Dark:return t.dark;case _i.V6.Light:return t.light;default:return t.highContrast}}getBadgePadding(){const e=this.icon&&!this.text,t=this.text&&!this.icon,r=!this.text&&!this.icon,n=Wv[this.size];return e||r?{left:0,right:0}:t?{left:n.textOnly,right:n.textOnly}:this.iconPosition===Vv.Before?n.iconAndText:{left:n.iconAndText.right,right:n.iconAndText.left}}}Kv.jsonTypeName="Badge",Kv.textProperty=new Pi.XB(Pi.uq.v1_5,"text").setContentType("text"),Kv.iconProperty=new Pi.XB(Pi.uq.v1_5,"icon",Xa.bi),Kv.iconPositionProperty=new Pi.fX(Pi.uq.v1_5,"iconPosition",Vv,Vv.Before),Kv.appearanceProperty=new Pi.fX(Pi.uq.v1_5,"appearance",jv,jv.Filled),Kv.sizeProperty=new Pi.fX(Pi.uq.v1_5,"size",qv,qv.Medium),Kv.shapeProperty=new Pi.fX(Pi.uq.v1_5,"shape",Hv,Hv.Circular),Kv.styleProperty=new Pi.fX(Pi.uq.v1_5,"style",Uv,Uv.Default),Kv.tooltipProperty=new Pi.XB(Pi.uq.v1_5,"tooltip").setContentType("text");var Xv=r(5260);class Yv{}Yv.carouselPageDotButtonTooltip={key:"carouselPageDotButtonTooltip",defaultValue:"Go to page {{pageIndex}}"},Yv.carouselPageNOfTotal={key:"carouselAriaLive",defaultValue:"Page {{pageIndex}} of {{pageCount}}"},Yv.carouselAriaRoleDescription={key:"carouselAriaRoleDescription",defaultValue:"Slide"},Yv.carouselNextPageButtonAriaLabel={key:"carouselNextPageButtonAriaLabel",defaultValue:"Next page"},Yv.carouselPreviousPageButtonAriaLabel={key:"carouselPreviousPageButtonAriaLabel",defaultValue:"Previous page"};const Jv=Object.assign(Object.assign({},mv.Pt.padding(0)),{minWidth:0,flex:"0 0 auto","&:focus":{outline:0}}),Zv={height:"8px",borderRadius:"4px"},Qv={animationDuration:".250s"},ey=(0,P.n)({slideInFromLeft:Object.assign(Object.assign({},Qv),{animationName:{from:{transform:"translateX(-100%)"},to:{transform:"translateX(0)"}}}),slideOutToRight:Object.assign(Object.assign({},Qv),{animationName:{from:{transform:"translateX(0)"},to:{transform:"translateX(100%)"}}}),slideInFromRight:Object.assign(Object.assign({},Qv),{animationName:{from:{transform:"translateX(100%)"},to:{transform:"translateX(0)"}}}),slideOutToLeft:Object.assign(Object.assign({},Qv),{animationName:{from:{transform:"translateX(0)"},to:{transform:"translateX(-100%)"}}}),fadeIn:Object.assign(Object.assign({},Qv),{animationName:{from:{opacity:0},to:{opacity:1}}}),fadeOut:Object.assign(Object.assign({},Qv),{animationName:{from:{opacity:1},to:{opacity:0}}}),navigationButton:Object.assign(Object.assign({},Jv),{width:"24px",height:"24px"}),pageDotsHost:{display:"flex",justifyContent:"center",flex:"0 1 auto",overflow:"hidden",columnGap:"0px"},navigationBar:{display:"flex",justifyContent:"center",columnGap:"6px"},pageDot:Object.assign(Object.assign({},Zv),{backgroundColor:Va.L.colorNeutralForeground1,opacity:.65,"&:hover":{opacity:.75},"&:active":{opacity:1},width:"8px"}),selectedPageDot:Object.assign(Object.assign({},Zv),{backgroundColor:Va.L.colorNeutralForeground1,width:"16px"}),pageNumberLabelContainer:{overflow:"hidden",display:"flex",flexDirection:"column",justifyContent:"center"}});var ty;!function(e){e[e.Slide=0]="Slide",e[e.CrossFade=1]="CrossFade",e[e.None=2]="None"}(ty||(ty={})),(0,Wa.FM)(ty,"CarouselPageAnimation");const ry=e=>{const t=ey();let r=La({axis:"horizontal",circular:!0});e.displayPageDots||(r={});const n=[];if(e.displayPageDots){const r=t=>{e.goToPage(t,e.pageInfo.currentIndex,t<e.pageInfo.currentIndex?"rightToLeft":"leftToRight")};for(let i=0;i<e.pageCount;i++)n.push(o.createElement(pv.$,{key:`dot-${i}`,className:t.navigationButton,appearance:"transparent",title:e.localizeString(Yv.carouselPageDotButtonTooltip,{pageIndex:i+1}),onClick:()=>r(i)},o.createElement("div",{tabIndex:-1,"aria-hidden":!0,className:i===e.pageInfo.currentIndex?t.selectedPageDot:t.pageDot})))}else{const r=e.localizeString(Yv.carouselPageNOfTotal,{pageIndex:e.pageInfo.currentIndex+1,pageCount:e.pageCount}),i=new Jg;i.text=r,i.useMarkdown=!1,i.spacing=_i.Kz.None,i.setParent(e.parent),n.push(o.createElement("div",{key:"page-number",className:t.pageNumberLabelContainer},o.createElement(Ei.XG,{cardObject:i})))}return o.createElement("div",Object.assign({className:t.pageDotsHost},r),n)},ny=e=>{const[t,r]=o.useState({currentIndex:0}),[n,i]=o.useState(!1),[a,s]=o.useState(!0),l=o.useRef(null),c=o.useRef(null),u=ey();o.useEffect((()=>{const e=()=>{i(!1)};if(l.current){const t=l.current;return l.current.addEventListener("animationend",e),()=>{t.removeEventListener("animationend",e)}}}),[t]),o.useEffect((()=>{if(c.current&&e.resizeManager)return e.resizeManager.observe(c.current,((t,r)=>{const n=96+16*(e.children.length-1);s(n<=r.width&&n<=160)})),()=>{e.resizeManager.unobserve(c.current)}}));const d=(e,t,n)=>{e!==t&&(i(n),r({currentIndex:e,previousIndex:t}))},p=e.localizeString(Yv.carouselNextPageButtonAriaLabel),f=e.localizeString(Yv.carouselPreviousPageButtonAriaLabel),h=e.localizeString(Yv.carouselPageNOfTotal,{pageIndex:t.currentIndex+1,pageCount:e.children.length});return o.createElement(o.Fragment,null,o.createElement("div",{"aria-live":"polite",style:{position:"absolute",left:"-99999px",width:0,height:0}},h),o.createElement("section",{ref:e.pageAnimation!==ty.None?l:void 0,style:{display:"grid"},tabIndex:0,"aria-roledescription":e.localizeString(Yv.carouselAriaRoleDescription)},(()=>{let r,i;return!1!==n&&(e.pageAnimation===ty.CrossFade?(r=u.fadeOut,i=u.fadeIn):e.pageAnimation===ty.Slide&&("leftToRight"===n?(r=u.slideOutToLeft,i=u.slideInFromRight):"rightToLeft"===n&&(r=u.slideOutToRight,i=u.slideInFromLeft))),e.children.map(((a,s)=>{const l=e.pageAnimation===ty.None||!1===n?s===t.currentIndex:s===t.currentIndex||s===t.previousIndex;let c;return s===t.previousIndex?c=r:s===t.currentIndex&&(c=i),o.createElement("div",{className:c,key:s,style:{gridColumn:1,gridRow:1,visibility:l?"visible":"hidden"},"aria-hidden":l},a)}))})()),e.children.length>1&&o.createElement(o.Fragment,null,(0,Ei.JM)(e.parent.hostConfig,{spacing:e.parent.hostConfig.getEffectiveSpacing(_i.Kz.Default)},_i.t4.Horizontal,{padding:{},margin:{}}),o.createElement("div",{className:u.navigationBar,ref:c},o.createElement(pv.$,{className:u.navigationButton,appearance:"subtle",icon:o.createElement(Xv.nbA,null),title:f,onClick:()=>{let r=t.currentIndex-1;r<0&&(r=e.children.length-1),d(r,t.currentIndex,"rightToLeft")},"aria-label":f}),o.createElement(ry,{parent:e.parent,pageCount:e.children.length,pageInfo:t,goToPage:d,displayPageDots:a,localizeString:e.localizeString}),o.createElement(pv.$,{className:u.navigationButton,appearance:"subtle",icon:o.createElement(Xv.qGP,null),title:p,onClick:()=>{let r=t.currentIndex+1;r>=e.children.length&&(r=0),d(r,t.currentIndex,"leftToRight")},"aria-label":p}))))};class iy extends av.mc{populateSchema(e){super.populateSchema(e),e.remove(iy.bleedProperty),e.remove(iy.horizontalAlignmentProperty),e.remove(iy.separatorProperty),e.remove(iy.spacingProperty)}shouldSerialize(e){return!0}adjustSize(e){e.height="100%"}get renderIfEmpty(){return!0}getJsonTypeName(){return"CarouselPage"}getEffectivePadding(){const e=super.getEffectivePadding();let t=!1,r=!1;if(this.parent){const e=this.parent.getHasBackground()||this.parent.isBleeding();t=e&&this.parent.isAtTheVeryLeft(),r=e&&this.parent.isAtTheVeryRight()}return{top:e.top,right:r?_i.Kz.Padding:e.right,bottom:e.bottom,left:t?_i.Kz.Padding:e.left}}isResponsive(){return!0}get hasVisibleSeparator(){return!1}get isStandalone(){return!1}}class oy extends av.XP{constructor(){super(...arguments),this._pages=[]}get pageAnimation(){return this.getValue(oy.pageAnimationProperty)}set pageAnimation(e){this.setValue(oy.pageAnimationProperty,e)}createPageInstance(e,t){return t.parseCardObject(this,e,[],!this.isDesignMode(),(e=>e&&"CarouselPage"!==e?void 0:new iy),((e,r)=>{t.logParseEvent(void 0,_i.iV.ElementTypeNotAllowed,Ii.D.errors.elementTypeNotAllowed(e))}))}getPagesToRender(){return this._pages.filter((e=>e.shouldRender()))}getResizeManager(){const e=this.getRootElement();return e instanceof em.hq?e.resizeManager:void 0}populateSchema(e){super.populateSchema(e),e.remove(oy.layoutsProperty),e.remove(oy.horizontalAlignmentProperty),e.remove(oy.styleProperty),e.remove(oy.showBorderProperty),e.remove(oy.roundedCornersProperty),e.remove(oy.selectActionProperty)}getRawItems(){return this._pages}renderItems(){const e=this.getPagesToRender().map(((e,t)=>o.createElement(o.Fragment,{key:e.getKey(t)},o.createElement(Ei.XG,{cardObject:e}))));return[o.createElement(ny,{key:"carousel",parent:this,pageAnimation:this.pageAnimation,resizeManager:this.getResizeManager(),localizeString:this.localizeString},e)]}applyLayout(e){e.style.display="flex",e.style.flexDirection="column",e.style.overflowX="hidden"}internalParse(e,t){super.internalParse(e,t),this._pages=[];const r=e[this.getItemsCollectionPropertyName()];if(Array.isArray(r))for(const e of r){const r=this.createPageInstance(e,t);r&&this._pages.push(r)}else t.logParseEvent(this,_i.iV.InvalidPropertyValue,Ii.D.errors.invalidPropertyValue(r,"pages"))}internalToJSON(e,t){super.internalToJSON(e,t),t.serializeArray(e,this.getItemsCollectionPropertyName(),this._pages)}getAdditionalPropertyDescriptors(e){return[...super.getAdditionalPropertyDescriptors(e),{name:this.getItemsCollectionPropertyName(),valueTypes:[{type:"object",validValues:[new Pi.E$(new iy)]}],propertyType:"array"}]}isBleeding(){return this.getBleed()}getItemsCollectionPropertyName(){return"pages"}getEffectivePadding(){const e=super.getEffectivePadding(),t=this.getPagesToRender();return{top:e.top,right:_i.Kz.None,bottom:this.isAtTheVeryBottom()&&t.length>1?_i.Kz.Padding:e.bottom,left:_i.Kz.None}}getHasBackground(e=!1){return super.getHasBackground(e)}isFirstElement(e){return e instanceof iy&&this._pages.includes(e)&&e.shouldRender()}getItemCount(){return this._pages.length}getFirstVisibleRenderedItem(){}getLastVisibleRenderedItem(){}getPageAt(e){return this._pages[e]}getItemAt(e){return this.getPageAt(e)}getJsonTypeName(){return"Carousel"}addPage(e){this.internalInsertItemAt(e,this._pages.length,!0)}removeItem(e){if(e instanceof iy){const t=this._pages.indexOf(e);if(t>=0)return this._pages.splice(t,1),e.setParent(void 0),this.updateLayout(),!0}return!1}indexOf(e){return e instanceof iy?this._pages.indexOf(e):-1}getActionById(e){let t;for(const r of this._pages)if(t=r.getActionById(e),t)break;return t}get bleed(){return this.getBleed()}set bleed(e){this.setBleed(e)}get padding(){return this.getPadding()}set padding(e){this.setPadding(e)}}oy.pageAnimationProperty=new Pi.fX(Pi.uq.v1_5,"pageAnimation",ty,ty.Slide);class ay extends Pi.jB{get title(){return this.getValue(ay.titleProperty)}set title(e){this.setValue(ay.titleProperty,e)}get value(){return this.getValue(ay.valueProperty)}set value(e){this.setValue(ay.valueProperty,e)}getSchemaKey(){return"Choice"}constructor(e,t){super(),this.title=e,this.value=t}}ay.titleProperty=new Pi.XB(Pi.uq.v1_0,"title").setContentType("text"),ay.valueProperty=new Pi.XB(Pi.uq.v1_0,"value");class sy extends Pi.bU{get dataset(){return this.getValue(sy.datasetProperty)}set dataset(e){this.setValue(sy.datasetProperty,e)}get count(){return this.getValue(sy.countProperty)}set count(e){this.setValue(sy.countProperty,e)}get skip(){return this.getValue(sy.skipProperty)}set skip(e){this.setValue(sy.skipProperty,e)}get associatedInputs(){return this.getValue(sy.associatedInputsProperty)}set associatedInputs(e){this.setValue(sy.associatedInputsProperty,e)}getJsonTypeName(){return"Data.Query"}getAdditionalPropertyDescriptors(e){return[...super.getAdditionalPropertyDescriptors(e),{name:"type",valueTypes:[{type:"string"}],requiredValue:this.getJsonTypeName(),schemaVersion:Pi.uq.v1_0}]}}sy.datasetProperty=new Pi.XB(Pi.uq.v1_0,"dataset"),sy.associatedInputsProperty=new Ei.XC(Pi.uq.v1_0,"associatedInputs"),sy.countProperty=new Pi.Uy(Pi.uq.v1_0,"count"),sy.skipProperty=new Pi.Uy(Pi.uq.v1_0,"skip");class ly extends tm{constructor(){super(...arguments),this.selectedValues=new Set}get defaultValue(){return this.getValue(ly.valueProperty)}set defaultValue(e){this.setValue(ly.valueProperty,e)}get style(){return this.getValue(ly.styleProperty)}set style(e){this.setValue(ly.styleProperty,e)}get isMultiSelect(){return this.getValue(ly.isMultiSelectProperty)}set isMultiSelect(e){this.setValue(ly.isMultiSelectProperty,e)}get placeholder(){return this.getValue(ly.placeholderProperty)}set placeholder(e){this.setValue(ly.placeholderProperty,e)}get wrap(){return this.getValue(ly.wrapProperty)}set wrap(e){this.setValue(ly.wrapProperty,e)}get choices(){return this.getValue(ly.choicesProperty)}set choices(e){this.setValue(ly.choicesProperty,e)}get choicesData(){return this.getValue(ly.choicesDataProperty)}set choicesData(e){this.setValue(ly.choicesDataProperty,e)}propertyChanged(e,t){if(super.propertyChanged(e,t),e===ly.valueProperty){const e=this.defaultValue?this.defaultValue.split(this.hostConfig.choiceSetInputValueSeparator):[];this.selectedValues.clear(),e.forEach((e=>this.selectedValues.add(e)))}}getJsonTypeName(){return"Input.ChoiceSet"}internalValidateProperties(e){super.internalValidateProperties(e),0===this.choices.length&&e.addFailure(this,_i.iV.CollectionCantBeEmpty,Ii.D.errors.choiceSetMustHaveAtLeastOneChoice());for(const t of this.choices)t.title&&t.value||e.addFailure(this,_i.iV.PropertyCantBeNull,Ii.D.errors.choiceSetChoicesMustHaveTitleAndValue())}isSet(){return!!this.value}isValid(){if(this.choicesData)return!0;if(""===this.value||void 0===this.value)return!this.isRequired;const e=this.isMultiSelect?this.value.split(this.hostConfig.choiceSetInputValueSeparator):[this.value],t=this.choices.map((e=>e.value));for(const r of e)if(!t.includes(r))return!1;return!0}isValidValue(e){if(this.choicesData)return!0;const t=this.isMultiSelect?e.split(this.hostConfig.choiceSetInputValueSeparator):[e],r=this.choices.map((e=>e.value));for(const e of t)if(!r.includes(e))return!1;return!0}getAssociatedInputs(){return this.choicesData&&"none"!==this.choicesData.associatedInputs?this.getRootElement().getAllInputs():[]}get value(){return this._value}set value(e){this._value===e||void 0!==e&&!this.isValidValue(e)||super.valueChanged(e)}}ly.valueProperty=new Pi.XB(Pi.uq.v1_0,"value"),ly.choicesProperty=new Pi.m2(Pi.uq.v1_0,"choices",(e=>new ay)).setIsHero(),ly.choicesDataProperty=new Pi.a7(Pi.uq.v1_5,"choices.data","Data.Query",(e=>new sy),!0),ly.styleProperty=new Pi.XY(Pi.uq.v1_0,"style",[{value:"compact"},{value:"expanded"},{value:"filtered",targetVersion:Pi.uq.v1_5}],"compact"),ly.isMultiSelectProperty=new Pi.gV(Pi.uq.v1_0,"isMultiSelect",!1),ly.placeholderProperty=new Pi.XB(Pi.uq.v1_0,"placeholder").setContentType("text"),ly.wrapProperty=new Pi.gV(Pi.uq.v1_2,"wrap",!0);const cy=(0,Nm.U)("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),uy=(0,Nm.U)("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),dy=(0,rc.y)("r1q22k1j","r18ze4k2",{r:[".r1q22k1j{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1q22k1j:focus{outline-style:none;}",".r1q22k1j:focus-visible{outline-style:none;}",".r1q22k1j[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1q22k1j[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r18ze4k2{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r18ze4k2:focus{outline-style:none;}",".r18ze4k2:focus-visible{outline-style:none;}",".r18ze4k2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r18ze4k2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1q22k1j[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r18ze4k2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),py=(0,qa.X)({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",Bbusuzp:"f1dcs8yz",mrqfp9:"fxb3eh3"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxb3eh3{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),fy=(0,rc.y)("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),hy=(0,qa.X)({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),gy=(0,rc.y)("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),my=(0,qa.X)({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),vy=(0,qa.X)({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),yy=o.forwardRef(((e,t)=>{const r=((e,t)=>{e=sm(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:r=!1,required:n,shape:i="square",size:a="medium",labelPosition:s="after",onChange:l}=e,[c,u]=pd({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),d=(0,cm.n)({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),p="mixed"===c,f=(0,wl.Bi)("checkbox-",d.primary.id);let h;p?h="circular"===i?o.createElement(Ll.xeZ,null):"large"===a?o.createElement(uy,null):o.createElement(cy,null):c&&(h="large"===a?o.createElement(Hm,null):o.createElement(Vm,null));const g={shape:i,checked:c,disabled:r,size:a,labelPosition:s,components:{root:"span",input:"input",indicator:"div",label:nm},root:Il.Gk(e.root,{defaultProps:{ref:Bm(),...d.root},elementType:"span"}),input:Il.Gk(e.input,{defaultProps:{type:"checkbox",id:f,ref:t,checked:!0===c,...d.primary},elementType:"input"}),label:Il.lq(e.label,{defaultProps:{htmlFor:f,disabled:r,required:n,size:"medium"},elementType:nm}),indicator:Il.lq(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:h},elementType:"div"})};g.input.onChange=(0,Al.D)((e=>{const t=e.currentTarget.indeterminate?"mixed":e.currentTarget.checked;null==l||l(e,{checked:t}),u(t)}));const m=(0,Tl.a)(g.input.ref);return g.input.ref=m,(0,Oa.E)((()=>{m.current&&(m.current.indeterminate=p)}),[m,p]),g})(e,t);return(e=>{const{checked:t,disabled:r,labelPosition:n,shape:i,size:o}=e,a=dy(),s=py();e.root.className=(0,E.z)("fui-Checkbox",a,r?s.disabled:"mixed"===t?s.mixed:t?s.checked:s.unchecked,e.root.className);const l=fy(),c=hy();e.input.className=(0,E.z)("fui-Checkbox__input",l,"large"===o&&c.large,c[n],e.input.className);const u=gy(),d=my();e.indicator&&(e.indicator.className=(0,E.z)("fui-Checkbox__indicator",u,"large"===o&&d.large,"circular"===i&&d.circular,e.indicator.className));const p=vy();e.label&&(e.label.className=(0,E.z)("fui-Checkbox__label",p.base,p[o],p[n],e.label.className))})(r),(0,hc.$e)("useCheckboxStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[(0,ec.Y)(e.input,{}),"before"===e.labelPosition&&e.label&&(0,ec.Y)(e.label,{}),e.indicator&&(0,ec.Y)(e.indicator,{}),"after"===e.labelPosition&&e.label&&(0,ec.Y)(e.label,{})]})))(r)}));yy.displayName="Checkbox";const by=o.createContext(void 0),wy={},Sy=(by.Provider,()=>o.useContext(by)||wy),Cy=(0,qa.X)({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),Ay=o.forwardRef(((e,t)=>{const r=((e,t)=>{e=sm(e);const r=(0,wl.Bi)("radiogroup-"),{name:n=r,value:i,defaultValue:o,disabled:a,layout:s="vertical",onChange:l,required:c}=e;return{layout:s,name:n,value:i,defaultValue:o,disabled:a,required:c,components:{root:"div"},root:{ref:t,role:"radiogroup",...Il.Gk((0,Pl.g)("div",e,["onChange","name"]),{elementType:"div"}),onChange:(0,Al.D)((e=>{l&&(0,Du.s)(e.target,{constructorName:"HTMLInputElement"})&&"radio"===e.target.type&&l(e,{value:e.target.value})}))}}})(e,t),n=(e=>{const{name:t,value:r,defaultValue:n,disabled:i,layout:a,required:s}=e,l=e.root["aria-describedby"];return{radioGroup:o.useMemo((()=>({name:t,value:r,defaultValue:n,disabled:i,layout:a,required:s,"aria-describedby":l})),[t,r,n,i,a,s,l])}})(r);return(e=>{const t=Cy();e.root.className=(0,E.z)("fui-RadioGroup",t.root,"vertical"===e.layout&&t.vertical,e.root.className)})(r),(0,hc.$e)("useRadioGroupStyles_unstable")(r),((e,t)=>((0,tc.C)(e),(0,ec.Y)(by.Provider,{value:t.radioGroup,children:(0,ec.Y)(e.root,{})})))(r,n)}));Ay.displayName="RadioGroup";const xy=(0,rc.y)("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),ky=(0,qa.X)({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),Ey=(0,rc.y)("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),_y=(0,qa.X)({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),Iy=(0,rc.y)("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),Py=(0,qa.X)({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),Ty=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=Sy(),{name:n=r.name,checked:i=(void 0!==r.value?r.value===e.value:void 0),defaultChecked:o=(void 0!==r.defaultValue?r.defaultValue===e.value:void 0),labelPosition:a=("horizontal-stacked"===r.layout?"below":"after"),disabled:s=r.disabled,required:l=r.required,"aria-describedby":c=r["aria-describedby"],onChange:u}=e,d=(0,cm.n)({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=Il.Gk(e.root,{defaultProps:{ref:Bm(),...d.root},elementType:"span"}),f=Il.Gk(e.input,{defaultProps:{ref:t,type:"radio",id:(0,wl.Bi)("radio-",d.primary.id),name:n,checked:i,defaultChecked:o,disabled:s,required:l,"aria-describedby":c,...d.primary},elementType:"input"});f.onChange=Bd(f.onChange,(e=>null==u?void 0:u(e,{value:e.currentTarget.value})));const h=Il.lq(e.label,{defaultProps:{htmlFor:f.id,disabled:f.disabled},elementType:nm}),g=Il.Gk(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:a,components:{root:"span",input:"input",label:nm,indicator:"div"},root:p,input:f,label:h,indicator:g}})(e,t);return(e=>{const{labelPosition:t}=e,r=xy(),n=ky();e.root.className=(0,E.z)("fui-Radio",r,"below"===t&&n.vertical,e.root.className);const i=Ey(),o=_y();e.input.className=(0,E.z)("fui-Radio__input",i,"below"===t&&o.below,e.indicator.children?o.customIndicator:o.defaultIndicator,e.input.className);const a=Iy();e.indicator.className=(0,E.z)("fui-Radio__indicator",a,e.indicator.className);const s=Py();e.label&&(e.label.className=(0,E.z)("fui-Radio__label",s.base,s[t],e.label.className))})(r),(0,hc.$e)("useRadioStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[(0,ec.Y)(e.input,{}),(0,ec.Y)(e.indicator,{}),e.label&&(0,ec.Y)(e.label,{})]})))(r)}));function By(e){const t=kp(),r=(0,Al.D)(e);o.useEffect((()=>{const e=t.current;if(e){const t=e=>{r(e)};return e.subscribe(t),t(e.isNavigatingWithKeyboard()),()=>{e.unsubscribe(t)}}}),[t,r])}Ty.displayName="Radio";const Dy="data-activedescendant",Ny="data-activedescendant-focusvisible",Ry=e=>{if(!e)return;const t=Oy(e.parentElement);if(!t)return;const{offsetHeight:r}=e,n=zy(e,t),{scrollMarginTop:i,scrollMarginBottom:o}=My(e),{offsetHeight:a,scrollTop:s}=t,l=n+r+o>s+a;n-i<s?t.scrollTo(0,n-i-2):l&&t.scrollTo(0,n+r+o-a+2)},Oy=e=>e?e.scrollHeight>e.offsetHeight?e:Oy(e.parentElement):null,zy=(e,t)=>e&&e!==t?e.contains(t)?-1*t.offsetTop:e.offsetTop+zy(e.offsetParent,t):0,My=e=>{var t;const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;if(!r)return{scrollMarginTop:0,scrollMarginBottom:0};const n=r.getComputedStyle(e);var i,o;return{scrollMarginTop:null!==(i=Fy(n.scrollMarginTop))&&void 0!==i?i:Fy(n.scrollMarginBlockStart),scrollMarginBottom:null!==(o=Fy(n.scrollMarginBottom))&&void 0!==o?o:Fy(n.scrollMarginBlockEnd)}},Fy=e=>e?parseInt(e,10):0;function Ly(e){const{imperativeRef:t,matchOption:r}=e,n=o.useRef(!1),i=o.useRef(!0),a=o.useRef(null),s=o.useRef(null),l=o.useRef(null),c=o.useRef(!0),u=o.useCallback((()=>{var e;null===(e=l.current)||void 0===e||e.removeAttribute("aria-activedescendant")}),[]),d=o.useCallback((e=>{var t;e&&(a.current=e),c.current&&a.current&&(null===(t=l.current)||void 0===t||t.setAttribute("aria-activedescendant",a.current))}),[]);By((e=>{n.current=e;const t=m();t&&(e&&i.current?t.setAttribute(Ny,""):t.removeAttribute(Ny))}));const p=(0,Al.D)(r),f=o.useRef(null),{optionWalker:h,listboxCallbackRef:g}=function(e){const{matchOption:t}=e,{targetDocument:r}=(0,Na.Y)(),n=o.useRef(null),i=o.useRef(null),a=o.useCallback((e=>(0,Du.s)(e)&&t(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP),[t]),s=o.useCallback((e=>{e&&r?(i.current=e,n.current=r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a)):(i.current=null,n.current=null)}),[r,a]);return{optionWalker:o.useMemo((()=>({first:()=>n.current&&i.current?(n.current.currentNode=i.current,n.current.firstChild()):null,last:()=>n.current&&i.current?(n.current.currentNode=i.current,n.current.lastChild()):null,next:()=>n.current?n.current.nextNode():null,prev:()=>n.current?n.current.previousNode():null,find:(e,t)=>{if(!n.current||!i.current)return null;const o=t?null==r?void 0:r.getElementById(t):null;n.current.currentNode=null!=o?o:i.current;let a=n.current.currentNode;for(;a&&!e(a.id);)a=n.current.nextNode();return a},setCurrent:e=>{n.current&&(n.current.currentNode=e)}})),[r]),listboxCallbackRef:s}}({matchOption:p}),m=o.useCallback((()=>{var e;return null===(e=f.current)||void 0===e?void 0:e.querySelector(`#${a.current}`)}),[f]),v=o.useCallback((e=>{i.current=e;const t=m();t&&(e&&n.current?t.setAttribute(Ny,""):t.removeAttribute(Ny))}),[m]),y=o.useCallback((()=>{const e=m();var t;return e&&(e.removeAttribute(Dy),e.removeAttribute(Ny)),u(),s.current=a.current,a.current=null,null!==(t=null==e?void 0:e.id)&&void 0!==t?t:null}),[m,u]),b=o.useCallback((e=>{if(!e)return;const t=y();Ry(e),d(e.id),e.setAttribute(Dy,""),n.current&&i.current&&e.setAttribute(Ny,"");const r=(o={id:e.id,previousId:t},new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:o}));var o;e.dispatchEvent(r)}),[y,d]),w=o.useMemo((()=>({first:({passive:e}={})=>{const t=h.first();return e||b(t),null==t?void 0:t.id},last:({passive:e}={})=>{const t=h.last();return e||b(t),null==t?void 0:t.id},next:({passive:e}={})=>{const t=m();if(!t)return;h.setCurrent(t);const r=h.next();return e||b(r),null==r?void 0:r.id},prev:({passive:e}={})=>{const t=m();if(!t)return;h.setCurrent(t);const r=h.prev();return e||b(r),null==r?void 0:r.id},blur:()=>{y()},active:()=>{var e;return null===(e=m())||void 0===e?void 0:e.id},focus:e=>{if(!f.current)return;const t=f.current.querySelector(`#${e}`);t&&b(t)},focusLastActive:()=>{if(!f.current||!s.current)return;const e=f.current.querySelector(`#${s.current}`);return e?(b(e),!0):void 0},find(e,{passive:t,startFrom:r}={}){const n=h.find(e,r);return t||b(n),null==n?void 0:n.id},scrollActiveIntoView:()=>{if(!f.current)return;const e=m();e&&Ry(e)},showAttributes(){c.current=!0,d()},hideAttributes(){c.current=!1,u()},showFocusVisibleAttributes(){v(!0)},hideFocusVisibleAttributes(){v(!1)}})),[h,f,d,u,b,y,m,v]);return o.useImperativeHandle(t,(()=>w)),{listboxRef:(0,Tl.a)(f,g),activeParentRef:l,controller:w}}const jy=()=>{const e=o.useRef(new Map),t=o.useMemo((()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:t=>e.current.get(t),getOptionsMatchingText:t=>Array.from(e.current.values()).filter((({text:e})=>t(e))),getOptionsMatchingValue:t=>{const r=[];for(const n of e.current.values())t(n.value)&&r.push(n);return r}})),[]),r=o.useCallback((t=>(e.current.set(t.id,t),()=>e.current.delete(t.id))),[]);return{...t,options:Array.from(e.current.values()),registerOption:r}},Vy=e=>{const{defaultSelectedOptions:t,multiselect:r,onOptionSelect:n}=e,[i,a]=pd({state:e.selectedOptions,defaultState:t,initialState:[]});return{clearSelection:e=>{a([]),null==n||n(e,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:o.useCallback(((e,t)=>{if(t.disabled)return;let o=[t.value];if(r){const e=i.findIndex((e=>e===t.value));o=e>-1?[...i.slice(0,e),...i.slice(e+1)]:[...i,t.value]}a(o),null==n||n(e,{optionValue:t.value,optionText:t.text,selectedOptions:o})}),[n,r,i,a]),selectedOptions:i}},Hy=e=>{const{appearance:t="outline",disableAutoFocus:r,children:n,clearable:i=!1,editable:a=!1,inlinePopup:s=!1,mountNode:l,multiselect:c,onOpenChange:u,size:d="medium",activeDescendantController:p,freeform:f=!1,disabled:h=!1,onActiveOptionChange:g=null}=e,m=jy(),{getOptionsMatchingValue:v}=m,{getOptionById:y}=m,b=o.useCallback((()=>{const e=p.active();return e?y(e):void 0}),[p,y]),w=b(),S=o.useCallback((e=>{let t;"function"==typeof e&&(t=e(b())),t?p.focus(t.id):p.blur()}),[p,b]),[C,A]=o.useState(!1),[x,k]=o.useState(!1),E=o.useRef(!1),_=Sd(),[I,P]=pd({state:e.value,initialState:void 0}),{selectedOptions:T,selectOption:B,clearSelection:D}=Vy(e),N=o.useCallback(((e,t)=>{Jd.unstable_batchedUpdates((()=>{P(void 0),B(e,t)}))}),[P,B]),R=o.useMemo((()=>{if(void 0!==I)return I;if(_&&void 0!==e.defaultValue)return e.defaultValue;const t=v((e=>T.includes(e))).map((e=>e.text));return c?a?"":t.join(", "):t[0]}),[I,a,v,c,T]),[O,z]=pd({state:e.open,defaultState:e.defaultOpen,initialState:!1}),M=o.useCallback(((e,t)=>{h||(null==u||u(e,{open:t}),Jd.unstable_batchedUpdates((()=>{t||f||P(void 0),z(t)})))}),[u,z,P,f,h]);o.useEffect((()=>{if(O){if(!c&&T.length>0){const e=v((e=>e===T[0])).pop();(null==e?void 0:e.id)&&p.focus(e.id)}}else p.blur()}),[O,p]),o.useEffect((()=>{!O||r||p.active()||p.first()}),[O,n,r,p,y]);const F=(0,Al.D)((e=>{const t=e.detail.previousId?m.getOptionById(e.detail.previousId):null,r=m.getOptionById(e.detail.id);null==g||g(e,{event:e,type:"change",previousOption:t,nextOption:r})}));return{...m,freeform:f,disabled:h,selectOption:N,clearSelection:D,selectedOptions:T,activeOption:w,appearance:t,clearable:i,focusVisible:C,ignoreNextBlur:E,inlinePopup:s,mountNode:l,open:O,hasFocus:x,setActiveOption:S,setFocusVisible:A,setHasFocus:k,setOpen:M,setValue:P,size:d,value:R,multiselect:c,onOptionClick:(0,Al.D)((e=>{c||M(e,!1)})),onActiveDescendantChange:F}},qy=()=>{},Uy={controller:{active:qy,blur:qy,find:qy,first:qy,focus:qy,focusLastActive:qy,scrollActiveIntoView:qy,last:qy,next:qy,prev:qy,showAttributes:qy,hideAttributes:qy,showFocusVisibleAttributes:qy,hideFocusVisibleAttributes:qy}},$y=o.createContext(void 0),Wy=$y.Provider,Gy=()=>{var e;return null!==(e=o.useContext($y))&&void 0!==e?e:Uy};function Ky(e,t={}){const{open:r=!0,multiselect:n=!1}=t,i=e.key,{altKey:o,ctrlKey:a,key:s,metaKey:l}=e;return 1!==s.length||i===$l.$xS||o||a||l?r?i===$l.DoI&&o||i===$l.xyI||!n&&i===$l.$xS?"CloseSelect":n&&i===$l.$xS?"Select":i===$l.uf9?"Close":i===$l.yd$?"Next":i===$l.DoI?"Previous":i===$l.ww0?"First":i===$l.oam?"Last":i===$l.j0c?"PageUp":i===$l.e5x?"PageDown":i===$l.ozo?"Tab":"None":i===$l.yd$||i===$l.DoI||i===$l.xyI||i===$l.$xS?"Open":"None":"Type"}const Xy="fui-Option",Yy=(0,qa.X)({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],Bbusuzp:"f1dcs8yz"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Jy=e=>{const{disabled:t,multiselect:r,selected:n}=e,i=Yy();return e.root.className=(0,E.z)(Xy,i.root,i.active,t&&i.disabled,n&&i.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=(0,E.z)("fui-Option__checkIcon",i.checkIcon,r&&i.multiselectCheck,n&&i.selectedCheck,n&&r&&i.selectedMultiselectCheck,t&&i.checkDisabled,t&&r&&i.multiselectCheckDisabled,e.checkIcon.className)),e},Zy={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue:()=>[],registerOption:()=>()=>{},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Qy=Cl(void 0),eb=e=>xl(Qy,((t=Zy)=>e(t))),tb=Qy.Provider,rb={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},nb=(0,qa.X)({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),ib=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{multiselect:r,disableAutoFocus:n=!1}=e,i=jy(),{listboxRef:a,activeParentRef:s,controller:l}=Ly({matchOption:e=>e.classList.contains(Xy)}),c=Ad(Qy),u=eb((e=>e.onActiveDescendantChange)),d=eb((e=>e.getOptionById)),p=eb((e=>e.getOptionsMatchingValue)),f=c?d:i.getOptionById,h=c?p:i.getOptionsMatchingValue,g=o.useMemo((()=>{let e=null;const t=e=>{null==u||u(e)};return r=>{r?(e=r,e.addEventListener("activedescendantchange",t)):null==e||e.removeEventListener("activedescendantchange",t)}}),[u]),[m,v]=o.useState(!1);By(v);const y=Gy(),b=!!o.useContext($y),w=b?y.controller:l,{clearSelection:S,selectedOptions:C,selectOption:A}=Vy(e),x=eb((e=>e.selectedOptions)),k=eb((e=>e.selectOption)),E=c?{selectedOptions:x,selectOption:k,...rb}:{selectedOptions:C,selectOption:A,...rb};o.useEffect((()=>{if(!b){if(w.hideFocusVisibleAttributes(),!n)if(!r&&E.selectedOptions.length>0){const e=h((e=>e===E.selectedOptions[0])).pop();(null==e?void 0:e.id)&&w.focus(e.id)}else w.first();return()=>{w.blur()}}}),[]);const _=o.useCallback((()=>{b||(w.showFocusVisibleAttributes(),m&&w.scrollActiveIntoView())}),[w,b,m]),I=o.useCallback((()=>{b||w.hideFocusVisibleAttributes()}),[w,b]),P={components:{root:"div"},root:Il.Gk((0,Pl.g)("div",{ref:(0,Tl.a)(t,s,a,g),role:r?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!c,multiselect:r,clearSelection:S,activeDescendantController:w,onActiveDescendantChange:u,...i,...E};return P.root.onKeyDown=(0,Al.D)(Bd(P.root.onKeyDown,(e=>{const t=Ky(e,{open:!0}),r=w.active(),n=r?f(r):null;switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":e.preventDefault()}switch(t){case"Next":n?w.next():w.first();break;case"Previous":n?w.prev():w.first();break;case"PageUp":case"First":w.first();break;case"PageDown":case"Last":w.last();break;case"Select":case"CloseSelect":n&&A(e,n)}}))),P.root.onFocus=(0,Al.D)(Bd(P.root.onFocus,_)),P.root.onBlur=(0,Al.D)(Bd(P.root.onBlur,I)),P})(e,t),n=function(e){const t=Ad(Qy),{getOptionById:r,getOptionsMatchingValue:n,multiselect:i,registerOption:a,selectedOptions:s,selectOption:l,activeDescendantController:c}=e,u=eb((e=>e.registerOption));return{listbox:{activeOption:void 0,focusVisible:!1,getOptionById:r,getOptionsMatchingValue:n,multiselect:i,registerOption:t?u:a,selectedOptions:s,selectOption:l,setActiveOption:()=>{},onOptionClick:eb((e=>e.onOptionClick)),onActiveDescendantChange:eb((e=>e.onActiveDescendantChange))},activeDescendant:o.useMemo((()=>({controller:c})),[c])}}(r);return(e=>{const t=nb();e.root.className=(0,E.z)("fui-Listbox",t.root,e.root.className)})(r),(0,hc.$e)("useListboxStyles_unstable")(r),((e,t)=>((0,tc.C)(e),(0,ec.Y)(Wy,{value:t.activeDescendant,children:(0,ec.Y)(Qy.Provider,{value:t.listbox,children:(0,ec.Y)(e.root,{})})})))(r,n)}));function ob(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)&&!o.isValidElement(e)}function ab(e,t,r){const{state:{multiselect:n},triggerRef:i,defaultProps:o}=r,a=(0,wl.Bi)("fluent-listbox",ob(e)?e.id:void 0),s=Il.lq(e,{renderByDefault:!0,elementType:ib,defaultProps:{id:a,multiselect:n,tabIndex:void 0,...o}}),l=sm({id:a},{supportsLabelFor:!0});s&&!s["aria-label"]&&!s["aria-labelledby"]&&l["aria-labelledby"]&&(s["aria-labelledby"]=l["aria-labelledby"]);const c=(0,Al.D)(Bd((e=>{e.preventDefault()}),null==s?void 0:s.onMouseDown)),u=(0,Al.D)(Bd((e=>{var t;e.preventDefault(),null===(t=i.current)||void 0===t||t.focus()}),null==s?void 0:s.onClick)),d=(0,Tl.a)(null==s?void 0:s.ref,t);return s&&(s.ref=d,s.onMouseDown=c,s.onClick=u),s}function sb(e,t,r){const{state:{open:n,setOpen:i,setHasFocus:a},defaultProps:s,elementType:l,activeDescendantController:c}=r,u=Il.Gk(e,{defaultProps:{type:"text","aria-expanded":n,role:"combobox",..."object"==typeof s&&s},elementType:l}),d=o.useRef(null);return u.ref=(0,Tl.a)(d,u.ref,t),u.onBlur=Bd((e=>{i(e,!1),a(!1)}),u.onBlur),u.onFocus=Bd((e=>{e.target===e.currentTarget&&a(!0)}),u.onFocus),u.onClick=Bd((e=>{i(e,!n)}),u.onClick),u.onKeyDown=Bd(function(e){const{activeDescendantController:t,getOptionById:r,setOpen:n,selectOption:i,multiselect:a,open:s}=e,l=o.useCallback((()=>{const e=t.active();return e?r(e):void 0}),[t,r]),c=function(){const e=kp();return o.useCallback((t=>{var r;null===(r=e.current)||void 0===r||r.setVal(t)}),[e])}();return(0,Al.D)((e=>{const r=Ky(e,{open:s,multiselect:a}),o=l();switch(r){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":e.preventDefault()}switch(c(!0),r){case"First":t.first();break;case"Last":t.last();break;case"Next":(e=>{e?t.next():t.first()})(o);break;case"Previous":(e=>{e?t.prev():t.first()})(o);break;case"PageDown":(()=>{for(let e=0;e<10;e++)t.next()})();break;case"PageUp":(()=>{for(let e=0;e<10;e++)t.prev()})();break;case"Open":n(e,!0);break;case"Close":e.stopPropagation(),n(e,!1);break;case"CloseSelect":!a&&!(null==o?void 0:o.disabled)&&n(e,!1);case"Select":o&&i(e,o);break;case"Tab":!a&&o&&i(e,o)}}))}({activeDescendantController:c,...r.state}),u.onKeyDown),u}function lb(e,t,r){const{state:{open:n,value:i,selectOption:a,setValue:s,multiselect:l,selectedOptions:c,clearSelection:u,getOptionById:d,setOpen:p},freeform:f,defaultProps:h,activeDescendantController:g}=r,m=sb(e,t,{state:r.state,defaultProps:h,elementType:"input",activeDescendantController:g});m.onChange=Bd(m.onChange,(e=>{const t=e.target.value;s(t);const r=(e=>{const t=null==e?void 0:e.trim().toLowerCase();if(!t||0===t.length)return void g.blur();const r=g.find((e=>{const r=d(e);return!!r&&0===r.text.toLowerCase().indexOf(t)}));if(r)return d(r);g.blur()})(t);l||1!==c.length||!(t.length<1)&&r||u(e)})),m.onBlur=Bd(m.onBlur,(e=>{if(!n&&!f){const t=g.active(),r=t?d(t):null;i&&r&&i.trim().toLowerCase()===(null==r?void 0:r.text.toLowerCase())&&a(e,r),s(void 0)}}));const[v,y]=o.useState(!1),b=o.useRef(!1),w=m.onKeyDown,S=(0,Al.D)((t=>{n||"Type"!==Ky(t)||p(t,!0),t.key===$l.nkM||t.key===$l.Qpb?y(!0):y(!1);const r=Ky(t,{open:n,multiselect:l});var i;"Type"===r?b.current=!0:("Open"===r&&" "!==t.key||"Next"===r||"Previous"===r||"First"===r||"Last"===r||"PageUp"===r||"PageDown"===r)&&(b.current=!1),!b.current&&n||" "!==t.key?null==w||w(t):null==e||null===(i=e.onKeyDown)||void 0===i||i.call(e,t)}));return m.onKeyDown=S,v&&(m["aria-activedescendant"]=void 0),m}ib.displayName="Listbox";const cb=(e,t)=>{var r,n;e=sm(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{listboxRef:i,activeParentRef:a,controller:s}=Ly({matchOption:e=>e.classList.contains(Xy)}),l=Hy({...e,editable:!0,activeDescendantController:s}),{clearable:c,clearSelection:u,disabled:d,multiselect:p,open:f,selectedOptions:h,setOpen:g,value:m,hasFocus:v}=l,[y,b]=function(e){const{positioning:t}=e,r={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...yc(t)},{targetRef:n,containerRef:i}=Xu(r);return[i,n]}(e),{disableAutoFocus:w=!1,freeform:S,inlinePopup:C}=e,A=(0,wl.Bi)("combobox-"),{primary:x,root:k}=(0,cm.n)({props:e,primarySlotTagName:"input",excludedPropNames:["children","size"]}),E=o.useRef(null),_=ab(e.listbox,(0,Tl.a)(y,i),{state:l,triggerRef:E,defaultProps:{children:e.children,disableAutoFocus:w}});var I;const P=lb(null!==(I=e.input)&&void 0!==I?I:{},(0,Tl.a)(E,a,t),{state:l,freeform:S,defaultProps:{type:"text",value:null!=m?m:"","aria-controls":f?null==_?void 0:_.id:void 0,...x},activeDescendantController:s}),T=Il.Gk(e.root,{defaultProps:{"aria-owns":!C&&f?null==_?void 0:_.id:void 0,...k},elementType:"div"});T.ref=(0,Tl.a)(T.ref,b);const B=h.length>0&&!d&&c&&!p,D={components:{root:"div",input:"input",expandIcon:"span",listbox:ib,clearIcon:"span"},root:T,input:P,listbox:f||v?_:void 0,clearIcon:Il.lq(e.clearIcon,{defaultProps:{"aria-hidden":"true",children:o.createElement(Ll.BEt,null)},elementType:"span",renderByDefault:!0}),expandIcon:Il.lq(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":d?"true":void 0,"aria-expanded":f,children:o.createElement(Ll.yuG,null),role:"button"},elementType:"span"}),showClearIcon:B,activeDescendantController:s,...l},{targetDocument:N}=(0,Na.Y)();gd({element:N,callback:e=>g(e,!1),refs:[E,y,b],disabled:!f});const{onMouseDown:R}=D.expandIcon||{},O=(0,Al.D)(Bd(R,(e=>{var t;e.preventDefault(),D.setOpen(e,!D.open),null===(t=E.current)||void 0===t||t.focus()})));if(D.expandIcon){D.expandIcon.onMouseDown=O;const t="Open";if(!D.expandIcon["aria-label"]&&!D.expandIcon["aria-labelledby"])if(e["aria-labelledby"]){var z;const e=null!==(z=D.expandIcon.id)&&void 0!==z?z:`${A}-chevron`,r=`${e} ${D.input["aria-labelledby"]}`;D.expandIcon["aria-label"]=t,D.expandIcon.id=e,D.expandIcon["aria-labelledby"]=r}else e["aria-label"]?D.expandIcon["aria-label"]=`${t} ${e["aria-label"]}`:D.expandIcon["aria-label"]=t}const M=(0,Al.D)(Bd(null===(r=D.clearIcon)||void 0===r?void 0:r.onMouseDown,(e=>{e.preventDefault()}))),F=(0,Al.D)(Bd(null===(n=D.clearIcon)||void 0===n?void 0:n.onClick,(e=>{u(e)})));return D.clearIcon&&(D.clearIcon.onMouseDown=M,D.clearIcon.onClick=F),p&&(D.clearIcon=void 0),D},ub=Cl({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption:()=>()=>{},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"}),db=(ub.Provider,(e,t)=>((0,tc.C)(e),(0,ec.Y)(e.root,{children:(0,ec.Y)(Wy,{value:t.activeDescendant,children:(0,ec.Y)(tb,{value:t.listbox,children:(0,ec.FD)(ub.Provider,{value:t.combobox,children:[(0,ec.Y)(e.input,{}),e.clearIcon&&(0,ec.Y)(e.clearIcon,{}),e.expandIcon&&(0,ec.Y)(e.expandIcon,{}),e.listbox&&(e.inlinePopup?(0,ec.Y)(e.listbox,{}):(0,ec.Y)(Zd,{mountNode:e.mountNode,children:(0,ec.Y)(e.listbox,{})}))]})})})}))),pb=(0,qa.X)({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),fb=(0,qa.X)({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),hb=(0,qa.X)({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Bo70h7d:"fvc9v3g"},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fvc9v3g svg{display:block;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),gb=e=>{const{appearance:t,open:r,size:n,showClearIcon:i}=e,o="true"==`${e.input["aria-invalid"]}`,a=e.input.disabled,s=pb(),l=hb(),c=fb();return e.root.className=(0,E.z)("fui-Combobox",s.root,s[t],s[n],!a&&"outline"===t&&s.outlineInteractive,o&&"underline"!==t&&s.invalid,o&&"underline"===t&&s.invalidUnderline,a&&s.disabled,e.root.className),e.input.className=(0,E.z)("fui-Combobox__input",c.input,c[n],a&&c.disabled,e.input.className),e.listbox&&(e.listbox.className=(0,E.z)("fui-Combobox__listbox",s.listbox,e.inlinePopup&&s.inlineListbox,!r&&s.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=(0,E.z)("fui-Combobox__expandIcon",l.icon,l[n],a&&l.disabled,i&&l.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=(0,E.z)("fui-Combobox__clearIcon",l.icon,l[n],a&&l.disabled,!i&&l.hidden,e.clearIcon.className)),e};function mb(e){const{appearance:t,open:r,getOptionById:n,getOptionsMatchingValue:i,registerOption:a,selectedOptions:s,selectOption:l,setOpen:c,size:u,activeDescendantController:d,onOptionClick:p,onActiveDescendantChange:f}=e,h={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:i,registerOption:a,selectedOptions:s,selectOption:l,setActiveOption:()=>null,onOptionClick:p,onActiveDescendantChange:f};return{combobox:{activeOption:void 0,appearance:t,focusVisible:!1,open:r,registerOption:a,selectedOptions:s,selectOption:l,setActiveOption:()=>null,setOpen:c,size:u},activeDescendant:o.useMemo((()=>({controller:d})),[d]),listbox:h}}const vb=o.forwardRef(((e,t)=>{const r=cb(e,t),n=mb(r);return gb(r),(0,hc.$e)("useComboboxStyles_unstable")(r),db(r,n)}));vb.displayName="Combobox";const yb=(e,t)=>{const{children:r,disabled:n,text:i,value:a}=e,s=o.useRef(null),l=function(e,t){if(void 0!==e)return e;let r="",n=!1;return o.Children.forEach(t,(e=>{"string"==typeof e?r+=e:n=!0})),n&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),r}(i,r),c=null!=a?a:l,u=(0,wl.Bi)("fluent-option",e.id),d=o.useMemo((()=>({id:u,disabled:n,text:l,value:c})),[u,n,l,c]),{controller:p}=Gy(),f=eb((e=>e.multiselect)),h=eb((e=>e.registerOption)),g=eb((e=>{const t=e.selectedOptions;return void 0!==c&&void 0!==t.find((e=>e===c))})),m=eb((e=>e.selectOption)),v=eb((e=>e.onOptionClick));let y=o.createElement(Ll._jO,null);f&&(y=g?o.createElement(Vm,null):""),o.useEffect((()=>{if(u&&s.current)return h(d,s.current)}),[u,d,h]);const b=f?{role:"menuitemcheckbox","aria-checked":g}:{role:"option","aria-selected":g};return{components:{root:"div",checkIcon:"span"},root:Il.Gk((0,Pl.g)("div",{ref:(0,Tl.a)(t,s),"aria-disabled":n?"true":void 0,id:u,...b,...e,onClick:t=>{var r;n?t.preventDefault():(p.focus(u),m(t,d),v(t),null===(r=e.onClick)||void 0===r||r.call(e,t))}}),{elementType:"div"}),checkIcon:Il.lq(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:y},elementType:"span"}),disabled:n,multiselect:f,selected:g,focusVisible:!1,active:!1}},bb=o.forwardRef(((e,t)=>{const r=yb(e,t);return Jy(r),(0,hc.$e)("useOptionStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[e.checkIcon&&(0,ec.Y)(e.checkIcon,{}),e.root.children]})))(r)}));bb.displayName="Option";const wb=(e,t)=>{const r=(0,wl.Bi)("group-label"),{label:n}=e;return{components:{root:"div",label:"span"},root:Il.Gk((0,Pl.g)("div",{ref:t,role:"group","aria-labelledby":n?r:void 0,...e}),{elementType:"div"}),label:Il.lq(n,{defaultProps:{id:r,role:"presentation"},elementType:"span"})}},Sb=e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[e.label&&(0,ec.Y)(e.label,{children:e.label.children}),e.root.children]})),Cb=(0,qa.X)({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Belr9w4:"fiut8dr",B8lkq7l:"f1xxzjds",eii1in:0,H93o2g:0,Gwp8xu:0,Bd39igo:"f16cmn8k",om0q45:"f5642y",Hl9o3s:"ffdf81h",sl1c2c:0,z4hxbw:0,B0i58d9:0,Bi9x0x4:0,Bgurq3m:"f1bsn9kn"},label:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f11d4kpn",mc9l5x:"ftgm304",Be2twd7:"fy9rknc",Bhrd7zp:"fl43uef",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mpq0zz"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".fiut8dr{row-gap:var(--spacingHorizontalXXS);}",'.f1xxzjds:not(:last-child)::after{content:"";}',[".f16cmn8k:not(:last-child)::after{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".f5642y:not(:last-child)::after{display:block;}",".ffdf81h:not(:last-child)::after{padding-bottom:var(--spacingHorizontalXS);}",[".f1bsn9kn:not(:last-child)::after{margin:0 calc(var(--spacingHorizontalXS) * -1) var(--spacingVerticalXS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f11d4kpn{color:var(--colorNeutralForeground3);}",".ftgm304{display:block;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".f1mpq0zz{padding:var(--spacingHorizontalS) var(--spacingHorizontalSNudge);}",{p:-1}]]}),Ab=e=>{const t=Cb();return e.root.className=(0,E.z)("fui-OptionGroup",t.root,e.root.className),e.label&&(e.label.className=(0,E.z)("fui-OptionGroup__label",t.label,e.label.className)),e},xb=o.forwardRef(((e,t)=>{const r=wb(e,t);return Ab(r),(0,hc.$e)("useOptionGroupStyles_unstable")(r),Sb(r)}));xb.displayName="OptionGroup";class kb{constructor(e){this.sendDataQueryRequest=e}debouncedQuery(e,t,r,n=250){this._timer&&(clearTimeout(this._timer),this._timer=void 0),this._timer=setTimeout((()=>{this.sendDataQueryRequest({searchString:t,dataQuery:e,onDataQueryCompleted:r})}),n)}cancelPendingQuery(){this._timer&&(clearTimeout(this._timer),this._timer=void 0)}}const Eb=(e,t,r,n,i)=>(0,k.__awaiter)(void 0,void 0,void 0,(function*(){n(r({searchString:e,dataQuery:t,onDataQueryCompleted:e=>{i(e),n(!1)}}))})),_b=e=>{const{title:t,value:r}=e,n=(0,k.__rest)(e,["title","value"]);return o.createElement(bb,Object.assign({key:t+r,text:t,value:r},n),t)},Ib=o.forwardRef(((e,t)=>{const{staticChoices:r,choicesData:n,internalId:i,placeholder:a,ariaLabelledBy:s,isRequired:l,valueChanged:c,onDataQuery:u,value:d}=e,p=Sv(),f=e=>{const t=e.map(((e,t)=>e.title&&e.value?o.createElement(_b,{key:t,title:e.title,value:e.value}):null));return t.filter((e=>null!==e))},[h,g]=o.useState(0),[m,v]=o.useState(""),[y,b]=o.useState(!1),w=o.useCallback((e=>{b(e)}),[b]),S=((e,t,r,n)=>{const[i,a]=o.useState(void 0),s=o.useCallback((e=>{a(e)}),[a]),l=o.useCallback((e=>{t(e)}),[t]),c=o.useMemo((()=>((e,t)=>{let r;return function(...n){r&&clearTimeout(r),r=setTimeout((()=>{e(...n)}),t)}})(Eb,250)),[]);return o.useEffect((()=>{e&&n&&r&&c(e,r,n,l,s)}),[e,r,n,l,s,c]),i})(m,w,n,u);let C=[];S&&(null==S?void 0:S.query)===m&&(C=f((e=>{const t=[];return e&&Array.isArray(e)&&e.map((e=>{e.title&&e.value&&t.push(new ay(e.title,e.value))})),t})(S.data)));let A=null;y?A=o.createElement(xb,{label:e.strings.loadingResults}):(null==S?void 0:S.error)&&(A=o.createElement(xb,{label:e.strings.errorLoadingResults}));const x=o.useRef(void 0);o.useEffect((()=>{d!==x.current&&(d!==x.current&&(x.current=d),null!=d&&0!==d.length?v(d.join(",")):v(""))}),[d]);const k={id:i,appearance:vv.comboboxAppearance,className:p.compactChoiceSetInput,placeholder:a,multiselect:!1,selectedOptions:d,value:m,disabled:!e.isEnabled,onOptionSelect:(e,t)=>{c(t.selectedOptions)},onChange:e=>{const t=e.target.value.trim();v(t)},"aria-label":a,"aria-labelledby":s,"aria-required":l,onOpenChange(e,t){t.open&&g(e.currentTarget.clientWidth)},input:{style:{minWidth:0}},listbox:{style:{maxHeight:"200px",width:`${h}px`}}};return o.createElement(vb,Object.assign({ref:t},k),(()=>{if(m){const e=r.filter((e=>e.title&&0===e.title.toLowerCase().indexOf(m.toLowerCase())));return f(e)}return[]})(),C,A)}));Ib.displayName="DynamicTypeahead";const Pb=(0,rc.y)("r70qvj9",null,[".r70qvj9{display:flex;align-items:center;}"]),Tb=(0,qa.X)({secondaryContent:{mc9l5x:"f13qh94s",Budl1dq:"fjxzuw"}},{d:[".f13qh94s{display:grid;}",".fjxzuw{grid-template-columns:auto 1fr;}"]}),Bb=(0,rc.y)("r131qrbm",null,[".r131qrbm{grid-column-start:2;grid-row-start:2;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),Db=(0,rc.y)("rrip69g",null,[".rrip69g{grid-row-start:span 2;}"]),Nb=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=yb(e,t);return{components:{...r.components,media:"div",secondaryContent:"span"},media:Il.lq(e.media,{elementType:"div"}),secondaryContent:Il.lq(e.secondaryContent,{elementType:"span"}),root:Il.Gk({...r.root,role:"option","aria-checked":e["aria-checked"]},{elementType:"div"})}})(e,t);return(e=>{const t=Pb(),r=Tb(),n=Bb(),i=Db();e.root.className=(0,E.z)("fui-TagPickerOption",t,e.secondaryContent&&r.secondaryContent,e.root.className),Jy({...e,active:!1,disabled:!1,focusVisible:!1,checkIcon:void 0,selected:!1}),e.media&&(e.media.className=(0,E.z)("fui-TagPickerOption__media",i,e.media.className)),e.secondaryContent&&(e.secondaryContent.className=(0,E.z)("fui-TagPickerOption__secondaryContent",n,e.secondaryContent.className))})(r),(0,hc.$e)("useTagPickerOptionStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[e.media&&(0,ec.Y)(e.media,{}),e.root.children,e.secondaryContent&&(0,ec.Y)(e.secondaryContent,{})]})))(r)}));function Rb(e){return o.createElement(Nb,{value:e,key:e},e)}function Ob({filter:e,noOptionsElement:t,renderOption:r=Rb,query:n,options:i}){const a=o.useCallback((e=>{const t=n.trim();return""===t||e.toLowerCase().includes(t.toLowerCase())}),[n]),s=null!=e?e:a,l=o.useMemo((()=>i.reduce(((e,t,n)=>(s(t,n)&&e.push(r(t)),e)),[])),[i,r,s]);return 0===l.length?[t.key?t:o.cloneElement(t,{key:"no-options"})]:l}Nb.displayName="TagPickerOption";const zb=wb,Mb=Sb,Fb=o.forwardRef(((e,t)=>{const r=zb(e,t);return(e=>{Ab(e),e.root.className=(0,E.z)("fui-TagPickerOptionGroup",e.root.className),e.label&&(e.label.className=(0,E.z)("fui-TagPickerOptionGroup__label",e.label.className))})(r),(0,hc.$e)("useTagPickerOptionGroupStyles_unstable")(r),Mb(r)}));Fb.displayName="TagPickerOptionGroup";const Lb=["above","after","after-top","before","before-top"],jb={triggerRef:o.createRef(),popoverRef:o.createRef(),targetRef:o.createRef(),tagPickerGroupRef:o.createRef(),secondaryActionRef:o.createRef(),open:!1,clearSelection:()=>null,getOptionById:()=>{},selectedOptions:[],selectOption:()=>null,setHasFocus:()=>null,setOpen:()=>null,setValue:()=>null,value:void 0,popoverId:"",size:"medium",appearance:"outline",disabled:!1},Vb=Cl(void 0),Hb=Vb.Provider,qb=e=>xl(Vb,((t=jb)=>e(t))),Ub=()=>{},$b=o.memo((e=>{const t=(e=>{const t=(0,wl.Bi)("picker-listbox"),r=o.useRef(null),n=o.useRef(null),i=o.useRef(null),{positioning:a,size:s="medium",inline:l=!1,noPopover:c=!1}=e,{targetRef:u,containerRef:d}=Xu({position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:Lb,matchTargetSize:"width",...yc(a)}),{controller:p,activeParentRef:f,listboxRef:h}=Ly({matchOption:e=>e.classList.contains(Xy)}),g=Hy({...e,onOptionSelect:(0,Al.D)(((t,r)=>{var n;return null===(n=e.onOptionSelect)||void 0===n?void 0:n.call(e,t,{selectedOptions:r.selectedOptions,value:r.optionValue,type:t.type,event:t})})),onOpenChange:(0,Al.D)(((t,r)=>{var n;return null===(n=e.onOpenChange)||void 0===n?void 0:n.call(e,t,{...r,type:t.type,event:t})})),activeDescendantController:p,editable:!0,multiselect:!0,size:"medium"}),{trigger:m,popover:v}=((e,t)=>{const r=o.Children.toArray(e);if(t)return{trigger:r[0]};let n,i;return 2===r.length?(n=r[0],i=r[1]):1===r.length&&(i=r[0]),{trigger:n,popover:i}})(e.children,c);return{activeDescendantController:p,components:{},trigger:m,popover:g.open||g.hasFocus?v:void 0,popoverId:t,noPopover:c,disabled:g.disabled,triggerRef:(0,Tl.a)(r,f),popoverRef:(0,Tl.a)(h,d),secondaryActionRef:n,tagPickerGroupRef:i,targetRef:u,size:s,inline:l,open:g.open,mountNode:g.mountNode,onOptionClick:(0,Al.D)((e=>{g.onOptionClick(e),g.setOpen(e,!1)})),appearance:g.appearance,clearSelection:g.clearSelection,getOptionById:g.getOptionById,getOptionsMatchingValue:g.getOptionsMatchingValue,registerOption:g.registerOption,selectedOptions:g.selectedOptions,selectOption:(0,Al.D)(((t,r)=>{var n;!g.selectedOptions.includes(r.value)||bd(i.current,t.target)?g.selectOption(t,r):null===(n=e.onOptionSelect)||void 0===n||n.call(e,t,{selectedOptions:g.selectedOptions,value:r.value,type:t.type,event:t})})),setHasFocus:g.setHasFocus,setOpen:g.setOpen,setValue:g.setValue,value:g.value}})(e),r=function(e){const{onOptionClick:t,registerOption:r,selectedOptions:n,selectOption:i,value:a,triggerRef:s,secondaryActionRef:l,tagPickerGroupRef:c,targetRef:u,size:d,setValue:p,setOpen:f,setHasFocus:h,popoverRef:g,appearance:m,clearSelection:v,getOptionById:y,getOptionsMatchingValue:b,open:w,popoverId:S,disabled:C,noPopover:A}=e;return{activeDescendant:o.useMemo((()=>({controller:e.activeDescendantController})),[e.activeDescendantController]),listbox:{onOptionClick:t,registerOption:r,getOptionById:y,getOptionsMatchingValue:b,selectedOptions:n,selectOption:i,focusVisible:!1,setActiveOption:Ub},picker:{value:a,triggerRef:s,targetRef:u,secondaryActionRef:l,tagPickerGroupRef:c,size:d,setValue:p,setOpen:f,setHasFocus:h,selectOption:i,popoverRef:g,selectedOptions:n,appearance:m,clearSelection:v,getOptionById:y,open:w,popoverId:S,disabled:C,noPopover:A}}}(t);return((e,t)=>((0,tc.C)(e),o.createElement(Hb,{value:t.picker},o.createElement(Wy,{value:t.activeDescendant},o.createElement(tb,{value:t.listbox},e.trigger,e.inline?e.popover:o.createElement(Zd,{mountNode:e.mountNode},e.popover))))))(t,r)}));$b.displayName="TagPicker";const Wb=(0,qa.X)({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",z189sj:["f1d8q41i","f8lqu5g"],uwmqm3:["f1uw59to","fw5db7e"],Bt984gj:"f122n59",i8kkvl:"f14mj54c",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",Eh141a:"fni485r",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},medium:{sshi5w:"f1nxs5xn"},large:{sshi5w:"f1w5jphr"},"extra-large":{sshi5w:"f5pgtk9"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1d8q41i{padding-right:calc(var(--spacingHorizontalM) + var(--fui-TagPickerControl-aside-width, 0px));}",".f8lqu5g{padding-left:calc(var(--spacingHorizontalM) + var(--fui-TagPickerControl-aside-width, 0px));}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f122n59{align-items:center;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fni485r{flex-wrap:wrap;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f1nxs5xn{min-height:32px;}",".f1w5jphr{min-height:40px;}",".f5pgtk9{min-height:44px;}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),Gb=(0,qa.X)({root:{mc9l5x:"f22iagw",qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",j35jbq:["f8b87gs","fedtrts"],Bqenvij:"f1l02sjl",Bceei9c:"f113hnb5"},medium:{sshi5w:"f1nxs5xn"},large:{sshi5w:"f1w5jphr"},"extra-large":{sshi5w:"f5pgtk9"}},{d:[".f22iagw{display:flex;}",".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f8b87gs{right:var(--spacingHorizontalM);}",".fedtrts{left:var(--spacingHorizontalM);}",".f1l02sjl{height:100%;}",".f113hnb5{cursor:text;}",".f1nxs5xn{min-height:32px;}",".f1w5jphr{min-height:40px;}",".f5pgtk9{min-height:44px;}"]}),Kb=(0,qa.X)({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Brf1p80:"f4d9j23",Bt984gj:"f122n59",qb2dma:"fjgzulp",Be2twd7:"f1pp30po",Bo70h7d:"fvc9v3g"},medium:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],sshi5w:"f1nxs5xn"},large:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],sshi5w:"f1w5jphr"},"extra-large":{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],sshi5w:"f5pgtk9"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".f4d9j23{justify-content:center;}",".f122n59{align-items:center;}",".fjgzulp{align-self:flex-start;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1nxs5xn{min-height:32px;}",".fe5j1ua{font-size:20px;}",".f1w5jphr{min-height:40px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f5pgtk9{min-height:44px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),Xb=(0,qa.X)({root:{mc9l5x:"f22iagw"}},{d:[".f22iagw{display:flex;}"]}),Yb=o.forwardRef(((e,t)=>{const r=((e,t)=>{var r;const n=qb((e=>e.targetRef)),i=qb((e=>e.triggerRef)),a=qb((e=>e.tagPickerGroupRef)),s=qb((e=>e.open)),l=qb((e=>e.popoverId)),c=qb((e=>e.setOpen)),u=qb((e=>e.secondaryActionRef)),d=qb((e=>e.size)),p=qb((e=>e.appearance)),f=qb((e=>e.disabled)),h="error"===(null===(r=am())||void 0===r?void 0:r.validationState),g=qb((e=>{var t;return null!==(t=e.noPopover)&&void 0!==t&&t})),{targetDocument:m}=(0,Na.Y)(),v=(0,wl.Bi)("tagPicker-"),y=o.useRef(null),b=o.useRef(null),w=o.useRef(null),S=o.useRef(null),C=Il.lq(e.secondaryAction,{elementType:"span"}),A=(0,Tl.a)(u,null==C?void 0:C.ref);C&&(C.ref=A);const x=Il.lq(e.expandIcon,{renderByDefault:!g,defaultProps:{"aria-expanded":s,"aria-disabled":f?"true":void 0,children:o.createElement(Ll.yuG,null),role:"button"},elementType:"span"}),k=(0,Tl.a)(null==x?void 0:x.ref,w);x&&(x.ref=k);const E=(e=>{const{targetDocument:t}=(0,Na.Y)(),[r]=o.useState((()=>{var r;const n=null==t||null===(r=t.defaultView)||void 0===r?void 0:r.ResizeObserver;if(n)return new n(e)}));return o.useCallback((e=>{e?null==r||r.observe(e):null==r||r.disconnect()}),[r])})((([e])=>{const t=null==m?void 0:m.defaultView;t&&(y.current=t.requestAnimationFrame((()=>{var t;null===(t=b.current)||void 0===t||t.style.setProperty("--fui-TagPickerControl-aside-width",`${e.contentRect.width}px`)})))})),_=Il.lq(void 0,{elementType:"span",renderByDefault:Boolean(C||x),defaultProps:{ref:E}}),I=(0,Tl.a)(S,null==_?void 0:_.ref);_&&(_.ref=I);const P=(0,Al.D)((e=>{var t;e.isDefaultPrevented()||(bd(w.current,e.target)||e.target===b.current||e.target===a.current||e.target===S.current)&&(e.preventDefault(),c(e,!s),null===(t=i.current)||void 0===t||t.focus())})),T={components:{root:"div",expandIcon:"span",secondaryAction:"span",aside:"span"},root:Il.Gk((0,Pl.g)("div",{ref:(0,Tl.a)(t,n,b),"aria-owns":s&&!g?l:void 0,...e,onMouseDown:P}),{elementType:"div"}),aside:_,expandIcon:x,secondaryAction:C,size:d,appearance:p,disabled:f,invalid:h},B=function(e){const{tagPickerId:t,state:r}=e,{targetDocument:n}=(0,Na.Y)(),i=qb((e=>e.triggerRef)),a=o.useRef(null),s=!!r.expandIcon,{"aria-label":l,"aria-labelledby":c,id:u}=r.expandIcon||{},d=o.useCallback(((e,r)=>{let n,i,o;if(s){const a="Open";l||c||(r?(n=a,o=null!=u?u:`${t}-chevron`,i=`${o} ${r}`):n=e?`${a} ${e}`:a)}return{expandAriaLabel:n,expandAriaLabelledBy:i,expandId:o}}),[l,c,u,s,t]),p=o.useCallback((()=>{var e,t;const r=null===(e=i.current)||void 0===e?void 0:e.getAttribute("aria-label"),n=null===(t=i.current)||void 0===t?void 0:t.getAttribute("aria-labelledby"),{expandAriaLabel:o,expandAriaLabelledBy:s,expandId:l}=d(r,n);var c,u,p;s&&(null===(c=a.current)||void 0===c||c.setAttribute("aria-labelledby",s)),o&&(null===(u=a.current)||void 0===u||u.setAttribute("aria-label",o)),l&&(null===(p=a.current)||void 0===p||p.setAttribute("id",l))}),[d,i]);return o.useEffect((()=>{const e=l||c;if(!(null==n?void 0:n.defaultView)||!i.current||!s||e)return;const t=n.defaultView;p();const r=new t.MutationObserver(p);return r.observe(i.current,{attributes:!0,attributeFilter:["aria-label","aria-labelledby"]}),()=>r.disconnect()}),[d,p,l,c,s,t,i,n]),a}({tagPickerId:v,state:T}),D=(0,Tl.a)(null==x?void 0:x.ref,B);return T.expandIcon&&(T.expandIcon.ref=D),o.useEffect((()=>{y.current&&(null==m?void 0:m.defaultView)&&m.defaultView.cancelAnimationFrame(y.current)}),[m]),T})(e,t);return(e=>{const t=Wb(),r=Kb(),n=Gb(),i=Xb();e.root.className=(0,E.z)("fui-TagPickerControl",t.root,t[e.size],t[e.appearance],!e.disabled&&"outline"===e.appearance&&t.outlineInteractive,e.invalid&&"underline"!==e.appearance&&t.invalid,e.invalid&&"underline"===e.appearance&&t.invalidUnderline,e.disabled&&t.disabled,e.root.className),e.aside&&(e.aside.className=(0,E.z)("fui-TagPickerControl__aside",n.root,n[e.size],e.aside.className)),e.expandIcon&&(e.expandIcon.className=(0,E.z)("fui-TagPickerControl__expandIcon",r.icon,r[e.size],e.disabled&&r.disabled,e.expandIcon.className)),e.secondaryAction&&(e.secondaryAction.className=(0,E.z)("fui-TagPickerControl__secondaryAction",i.root,e.secondaryAction.className))})(r),(0,hc.$e)("useTagPickerControlStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[e.root.children,e.aside&&(0,ec.FD)(e.aside,{children:[e.secondaryAction&&(0,ec.Y)(e.secondaryAction,{}),e.expandIcon&&(0,ec.Y)(e.expandIcon,{})]})]})))(r)}));Yb.displayName="TagPickerControl";function Jb(e){return"filled-darker"===e?"outline":"filled"}const Zb=o.createContext(void 0),Qb={handleTagDismiss:()=>({}),size:"medium",role:"toolbar",handleTagSelect:void 0},ew=Zb.Provider;const tw=(0,qa.X)({base:{mc9l5x:"ftuwxu6"},medium:{i8kkvl:"fsnqrgy"},small:{i8kkvl:"f1rjii52"},"extra-small":{i8kkvl:"f1ufnopg"}},{d:[".ftuwxu6{display:inline-flex;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}"]}),rw=(0,qa.X)({root:{Eh141a:"fni485r",B7ck84d:"f1ewtqcl",Bceei9c:"f113hnb5"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fa2pw7h",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fc0zr7g",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},"extra-large":{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fc0zr7g",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"}},{d:[".fni485r{flex-wrap:wrap;}",".f1ewtqcl{box-sizing:border-box;}",".f113hnb5{cursor:text;}",[".fa2pw7h{padding:var(--spacingVerticalSNudge) 0 var(--spacingVerticalSNudge) 0;}",{p:-1}],[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],[".fc0zr7g{padding:var(--spacingVerticalS) 0 var(--spacingVerticalS) 0;}",{p:-1}],[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],[".fc0zr7g{padding:var(--spacingVerticalS) 0 var(--spacingVerticalS) 0;}",{p:-1}],[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}]]}),nw=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=qb((e=>e.selectedOptions.length>0)),n=qb((e=>1===e.selectedOptions.length)),i=qb((e=>e.triggerRef)),a=qb((e=>e.tagPickerGroupRef)),s=qb((e=>e.selectOption)),l=qb((e=>function(e){switch(e){case"medium":default:return"extra-small";case"large":return"small";case"extra-large":return"medium"}}(e.size))),c=qb((e=>e.appearance)),u=qb((e=>e.disabled)),d=La({circular:!1,axis:"both",memorizeCurrent:!0}),p=((e,t)=>{const{onDismiss:r,disabled:n=!1,defaultSelectedValues:i,size:a="medium",appearance:s="filled",dismissible:l=!1,role:c="toolbar",onTagSelect:u,selectedValues:d,...p}=e,f=o.useRef(),{targetDocument:h}=(0,Na.Y)(),{findNextFocusable:g,findPrevFocusable:m}=Cd(),[v,y]=pd({defaultState:i,state:d,initialState:[]}),b=(0,Al.D)(((e,t)=>{var n;null==r||r(e,t);const i=null==h?void 0:h.activeElement;if(null===(n=f.current)||void 0===n?void 0:n.contains(i)){const e=g(i,{container:f.current});if(e)return void e.focus();if(null==i?void 0:i.className.includes("fui-InteractionTagSecondary")){const e=m(i.parentElement,{container:f.current});null==e||e.focus()}else{const e=m(i,{container:f.current});null==e||e.focus()}}})),w=(0,Al.D)(Bd(u,((e,t)=>{v.includes(t.value)?y(v.filter((e=>e!==t.value))):y([...v,t.value])}))),S=La({circular:!0,axis:"both",memorizeCurrent:!0});return{handleTagDismiss:b,handleTagSelect:u?w:void 0,selectedValues:v,role:c,size:a,disabled:n,appearance:s,dismissible:l,components:{root:"div"},root:Il.Gk((0,Pl.g)("div",{ref:(0,Tl.a)(t,f),role:c,"aria-disabled":n,...S,...p}),{elementType:"div"})}})({role:"listbox",disabled:u,...e,...d,size:l,appearance:Jb(c),dismissible:!0,onKeyDown:(0,Al.D)((t=>{var r,n;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),(0,Du.s)(t.target)&&t.key===$l.Qpb&&(null===(n=i.current)||void 0===n||n.focus())})),onDismiss:(0,Al.D)(((e,t)=>{var r;s(e,{value:t.value,id:"ERROR_DO_NOT_USE",text:"ERROR_DO_NOT_USE"}),n&&!e.isDefaultPrevented()&&(null===(r=i.current)||void 0===r||r.focus())}))},(0,Tl.a)(t,a));return{...p,hasSelectedOptions:r}})(e,t);return(e=>{(e=>{const t=tw(),{size:r}=e;e.root.className=(0,E.z)("fui-TagGroup",t.base,t[r],e.root.className)})(e);const t=rw();e.root.className=(0,E.z)("fui-TagPickerGroup",t[function(e){switch(e){case"extra-small":default:return"medium";case"small":return"large";case"medium":return"extra-large"}}(e.size)],t.root,e.root.className)})(r),(0,hc.$e)("useTagPickerGroupStyles_unstable")(r),function(e,t){return e.hasSelectedOptions?((e,t)=>((0,tc.C)(e),(0,ec.Y)(ew,{value:t.tagGroup,children:(0,ec.Y)(e.root,{})})))(e,t):null}(r,function(e){const{handleTagDismiss:t,handleTagSelect:r,selectedValues:n,size:i,disabled:a,appearance:s,dismissible:l,role:c}=e;return{tagGroup:o.useMemo((()=>({handleTagDismiss:t,handleTagSelect:r,selectedValues:n,size:i,disabled:a,appearance:s,dismissible:l,role:c})),[t,r,n,i,a,s,l,c])}}(r))}));nw.displayName="TagPickerGroup";const iw={medium:28,small:20,"extra-small":16},ow={rounded:"square",circular:"circular"},aw=o.createContext(void 0).Provider,sw=(Va.L.strokeWidthThin,Va.L.colorTransparentStroke,(0,rc.y)("r1wstn2o","r7a32g8",{r:['.r1wstn2o{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary   dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r1wstn2o[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",'.r7a32g8{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary   dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r7a32g8[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"],s:['@media (forced-colors: active){.r1wstn2o{position:relative;}.r1wstn2o::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-top-left-radius:var(--borderRadiusMedium);border-top-right-radius:var(--borderRadiusMedium);}}','@media (forced-colors: active){.r7a32g8{position:relative;}.r7a32g8::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;top:-1px;right:-1px;left:-1px;bottom:-1px;border-top-right-radius:var(--borderRadiusMedium);border-top-left-radius:var(--borderRadiusMedium);}}']})),lw=(0,rc.y)("rlv0lsa","r18mdwmi",{r:['.rlv0lsa{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary   dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".rlv0lsa[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",'.r18mdwmi{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary   dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r18mdwmi[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"],s:['@media (forced-colors: active){.rlv0lsa{position:relative;}.rlv0lsa::before{content:"";border-top:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:var(--borderRadiusCircular);}}','@media (forced-colors: active){.r18mdwmi{position:relative;}.r18mdwmi::before{content:"";border-top:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;position:absolute;top:-1px;right:-1px;left:-1px;bottom:-1px;border-radius:var(--borderRadiusCircular);}}']}),cw=(0,qa.X)({filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb"},outline:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"]},brand:{De3pzq:"f16xkysk",sj55zd:"faj9fo0"},selected:{De3pzq:"ffp7eso",sj55zd:"f1phragk",g2u3we:"fk9qgl1",h3c5rm:["f1vfbj5f","f1qpacp7"],B9xav0g:"fdf0ba2",zhjwy3:["f1qpacp7","f1vfbj5f"],ycbfsm:"fkc42ay",Bsw6fvg:"f1rirnrt",Bbusuzp:"f1lkg8j3"},medium:{Bqenvij:"f1d2rq10"},small:{Bqenvij:"frvgh55"},"extra-small":{qhf8xq:"f10pi13n",Bqenvij:"fjamq6b",b7i14k:"f15j58gw",Bej73l1:"fitnkyp",sg3u8k:"f12jc7rs",dpul0f:"fitizsl",Bj2wrql:"ff8e2ck",u6d25:"f1oinwhq"}},{d:[".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fk9qgl1{border-top-color:var(--colorBrandStroke1);}",".f1vfbj5f{border-right-color:var(--colorBrandStroke1);}",".f1qpacp7{border-left-color:var(--colorBrandStroke1);}",".fdf0ba2{border-bottom-color:var(--colorBrandStroke1);}",".f1d2rq10{height:32px;}",".frvgh55{height:24px;}",".f10pi13n{position:relative;}",".fjamq6b{height:20px;}",'.f15j58gw:before,.f15j58gw:after{content:"";}',".fitnkyp:before,.fitnkyp:after{position:absolute;}",".f12jc7rs:before,.f12jc7rs:after{height:2px;}",".fitizsl:before,.fitizsl:after{width:100%;}",".ff8e2ck:before{bottom:100%;}",".f1oinwhq:after{top:100%;}"],m:[["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}]]}),uw=(0,qa.X)({filled:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]},outline:{Bceei9c:"fdrzuqr",De3pzq:"fhovq9v",sj55zd:"f1s2aq7o",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"]},brand:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]}},{d:[".fdrzuqr{cursor:not-allowed;}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fgig46g{border-top-color:var(--colorTransparentStrokeDisabled);}",".f1mxt3zg{border-right-color:var(--colorTransparentStrokeDisabled);}",".fziff3p{border-left-color:var(--colorTransparentStrokeDisabled);}",".f250w3l{border-bottom-color:var(--colorTransparentStrokeDisabled);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"]}),dw=(0,qa.X)({medium:{uwmqm3:["f1rtp3s9","f18k1jr3"]},small:{uwmqm3:["f15vdbe4","fwiuce9"]},"extra-small":{uwmqm3:["f15vdbe4","fwiuce9"]}},{d:[".f1rtp3s9{padding-left:7px;}",".f18k1jr3{padding-right:7px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}"]}),pw=(0,qa.X)({medium:{z189sj:["f18k1jr3","f1rtp3s9"]},small:{z189sj:["fwiuce9","f15vdbe4"]},"extra-small":{z189sj:["fwiuce9","f15vdbe4"]}},{d:[".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}"]}),fw=(0,qa.X)({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"fujjg13",mc9l5x:"f22iagw",B7ck84d:"f1e4lqlz"},medium:{uwmqm3:["f1rtp3s9","f18k1jr3"],z189sj:["f7x41pl","fruq291"],a9b677:"f64fuq3",Be2twd7:"fe5j1ua"},small:{uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["ffczdla","fgiv446"],a9b677:"fjw5fx7",Be2twd7:"f4ybsrx"},"extra-small":{uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["ffczdla","fgiv446"],a9b677:"frx94fk",Be2twd7:"f1ugzwwg"}},{d:[[".fujjg13{grid-area:media;}",{p:-1}],".f22iagw{display:flex;}",".f1e4lqlz{box-sizing:content-box;}",".f1rtp3s9{padding-left:7px;}",".f18k1jr3{padding-right:7px;}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f64fuq3{width:20px;}",".fe5j1ua{font-size:20px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".fjw5fx7{width:16px;}",".f4ybsrx{font-size:16px;}",".frx94fk{width:12px;}",".f1ugzwwg{font-size:12px;}"]}),hw=(0,qa.X)({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"fujjg13",mc9l5x:"f22iagw",uwmqm3:["f10xn8zz","f136y8j8"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},small:{z189sj:["fdw0yi8","fk8j09s"]},"extra-small":{z189sj:["fdw0yi8","fk8j09s"]}},{d:[[".fujjg13{grid-area:media;}",{p:-1}],".f22iagw{display:flex;}",".f10xn8zz{padding-left:1px;}",".f136y8j8{padding-right:1px;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}"]}),gw=(0,qa.X)({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"f1k1gsvr",mc9l5x:"f22iagw",ze5xyy:"f4xjyn1",oy3o9n:"f1xtr1b3"},medium:{uwmqm3:["fruq291","f7x41pl"],z189sj:["f18k1jr3","f1rtp3s9"],Be2twd7:"fe5j1ua"},small:{uwmqm3:["fgiv446","ffczdla"],z189sj:["fwiuce9","f15vdbe4"],Be2twd7:"f4ybsrx"},"extra-small":{uwmqm3:["fgiv446","ffczdla"],z189sj:["fwiuce9","f15vdbe4"],Be2twd7:"f1ugzwwg"},filled:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},outline:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},brand:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},selected:{Bi91k9c:"f1rq72xc",lj723h:"f18otbis"}},{d:[[".f1k1gsvr{grid-area:dismissIcon;}",{p:-1}],".f22iagw{display:flex;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fe5j1ua{font-size:20px;}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}",".f4ybsrx{font-size:16px;}",".f1ugzwwg{font-size:12px;}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1xtr1b3:active{color:Highlight;}}",{m:"(forced-colors: active)"}]],h:[".f8491dx:hover{cursor:pointer;}",".f3ymbdj:hover{color:var(--colorCompoundBrandForeground1Hover);}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}"],a:[".fryz5bw:active{color:var(--colorCompoundBrandForeground1Pressed);}",".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}"]}),mw=(0,qa.X)({base:{Huce71:"fz5stix",uwmqm3:["fgiv446","ffczdla"],z189sj:["ffczdla","fgiv446"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},withoutSecondaryText:{Br312pm:"faqcfhe",Ijaq50:"f1q3ipgb",nk6f5a:"fc0ab3q",Byoj8tv:"f1g03r3y"},withSecondaryText:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"f1ebragv",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",B6of3ja:"f1ryq6si"}},{d:[".fz5stix{white-space:nowrap;}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".faqcfhe{grid-column-start:primary;}",".f1q3ipgb{grid-row-start:primary;}",".fc0ab3q{grid-row-end:secondary;}",".f1g03r3y{padding-bottom:var(--spacingHorizontalXXS);}",[".f1ebragv{grid-area:primary;}",{p:-1}],".f1ryq6si{margin-top:-2px;}"]}),vw=(0,rc.y)("r7hv1ps","rnrslm9",[".r7hv1ps{grid-area:secondary;padding-left:var(--spacingHorizontalXXS);padding-right:var(--spacingHorizontalXXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);white-space:nowrap;}",".rnrslm9{grid-area:secondary;padding-right:var(--spacingHorizontalXXS);padding-left:var(--spacingHorizontalXXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);white-space:nowrap;}"]),yw=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{handleTagDismiss:r,size:n,disabled:i,appearance:a,dismissible:s,role:l}=null!==(c=o.useContext(Zb))&&void 0!==c?c:Qb;var c;const u=(0,wl.Bi)("fui-Tag",e.id),{appearance:d=(null!=a?a:"filled"),disabled:p=!1,dismissible:f=null!=s&&s,selected:h,shape:g="rounded",size:m=n,value:v=u}=e,y=(0,Al.D)((t=>{var n;null===(n=e.onClick)||void 0===n||n.call(e,t),t.defaultPrevented||null==r||r(t,{value:v})})),b=(0,Al.D)((t=>{var n;null==e||null===(n=e.onKeyDown)||void 0===n||n.call(e,t),t.defaultPrevented||t.key!==$l.epd&&t.key!==$l.Er0||null==r||r(t,{value:v})})),w=f?"button":"span",S="listbox"===l?"aria-selected":"aria-pressed",C="boolean"==typeof h||"listbox"===l;return{appearance:d,avatarShape:ow[g],avatarSize:iw[m],disabled:!!i||p,dismissible:f,selected:!!h,shape:g,size:m,components:{root:w,media:"span",icon:"span",primaryText:"span",secondaryText:"span",dismissIcon:"span"},root:Il.Gk((0,Pl.g)(w,{ref:t,role:"listbox"===l?"option":void 0,[S]:C?h:void 0,...e,disabled:!!i||p,id:u,...f&&{onClick:y,onKeyDown:b}}),{elementType:w}),media:Il.lq(e.media,{elementType:"span"}),icon:Il.lq(e.icon,{elementType:"span"}),primaryText:Il.lq(e.primaryText,{renderByDefault:!0,defaultProps:{children:e.children},elementType:"span"}),secondaryText:Il.lq(e.secondaryText,{elementType:"span"}),dismissIcon:Il.lq(e.dismissIcon,{renderByDefault:f,defaultProps:{children:o.createElement(Ll.BEt,null)},elementType:"span"})}})(e,t);return(e=>{const t=sw(),r=lw(),n=cw(),i=uw(),o=dw(),a=pw(),s=fw(),l=hw(),c=gw(),u=mw(),d=vw(),{disabled:p,shape:f,size:h,appearance:g,selected:m}=e;e.root.className=(0,E.z)("fui-Tag","rounded"===f?t:r,p?i[g]:n[g],m&&!p&&n.selected,n[h],!e.media&&!e.icon&&o[h],!e.dismissIcon&&a[h],e.root.className),e.media&&(e.media.className=(0,E.z)("fui-Tag__media",l.base,l[h],e.media.className)),e.icon&&(e.icon.className=(0,E.z)("fui-Tag__icon",s.base,s[h],e.icon.className)),e.primaryText&&(e.primaryText.className=(0,E.z)("fui-Tag__primaryText",u.base,u[h],e.secondaryText?u.withSecondaryText:u.withoutSecondaryText,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=(0,E.z)("fui-Tag__secondaryText",d,e.secondaryText.className)),e.dismissIcon&&(e.dismissIcon.className=(0,E.z)("fui-Tag__dismissIcon",c.base,c[h],!p&&c[g],m&&!p&&c.selected,e.dismissIcon.className))})(r),(0,hc.$e)("useTagStyles_unstable")(r),((e,t)=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[e.media&&(0,ec.Y)(aw,{value:t.avatar,children:(0,ec.Y)(e.media,{})}),e.icon&&(0,ec.Y)(e.icon,{}),e.primaryText&&(0,ec.Y)(e.primaryText,{}),e.secondaryText&&(0,ec.Y)(e.secondaryText,{}),e.dismissIcon&&e.dismissible&&(0,ec.Y)(e.dismissIcon,{})]})))(r,function(e){const{avatarSize:t,avatarShape:r}=e;return{avatar:o.useMemo((()=>({size:t,shape:r})),[r,t])}}(r))}));yw.displayName="Tag";const bw="--fluent-TagPickerInput__width",ww=e=>{e.style.removeProperty(bw),e.scrollWidth>e.offsetWidth+1?e.style.setProperty(bw,"100%"):e.style.removeProperty(bw)},Sw=(0,rc.y)("r1hdk6fw",null,[".r1hdk6fw{background-color:var(--colorTransparentBackground);color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);box-sizing:border-box;border:none;min-width:24px;max-width:100%;width:var(--fluent-TagPickerInput__width, 0);flex-grow:1;}",".r1hdk6fw:focus{outline-style:none;}",".r1hdk6fw::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1hdk6fw::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1hdk6fw::placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1hdk6fw::after{visibility:hidden;white-space:pre-wrap;}"]),Cw=(0,qa.X)({medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fa2pw7h"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"ft37c3"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3abo53"},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fa2pw7h{padding:var(--spacingVerticalSNudge) 0 var(--spacingVerticalSNudge) 0;}",{p:-1}],[".ft37c3{padding:var(--spacingVerticalMNudge) 0 var(--spacingVerticalMNudge) 0;}",{p:-1}],[".f3abo53{padding:var(--spacingVerticalM) 0 var(--spacingVerticalM) 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),Aw=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=sm(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0}),{controller:n}=Gy(),i=qb((e=>e.size)),a=qb((e=>e.disabled)),s=qb((e=>e.tagPickerGroupRef)),l=qb((e=>e.triggerRef)),c=qb((e=>e.selectedOptions)),u=qb((e=>e.setValue)),d=qb((e=>e.setOpen)),p=qb((e=>e.setHasFocus)),f=qb((e=>e.clearSelection)),h=qb((e=>e.open)),g=qb((e=>e.noPopover?void 0:e.popoverId)),m=qb((e=>e.selectOption)),v=qb((e=>e.getOptionById)),y=qb((e=>e.value));(0,Oa.E)((()=>{l.current&&ww(l.current)}),[c,l]),(0,Oa.E)((()=>{if(l.current){const e=l.current,t=()=>ww(e);return e.addEventListener("input",t),()=>{e.removeEventListener("input",t)}}}),[l]);const{value:b=y,disabled:w=a}=r,{findLastFocusable:S}=Cd(),C=o.useRef(!1);return{components:{root:"input"},root:lb({type:"text",value:null!=b?b:"","aria-controls":h?g:void 0,disabled:w,...(0,Pl.g)("input",r),onKeyDown:(0,Al.D)((e=>{var t,n;null===(t=r.onKeyDown)||void 0===t||t.call(r,e),e.key!==$l.nkM&&e.key!==$l.Er0||0!==e.currentTarget.selectionStart||0!==e.currentTarget.selectionEnd||!s.current?e.key===$l.$xS?h&&!C.current&&d(e,!1):e.key===$l.xyI&&(h?Jd.unstable_batchedUpdates((()=>{u(void 0),d(e,!1)})):d(e,!0)):null===(n=S(s.current))||void 0===n||n.focus(),C.current=1===e.key.length&&e.code!==$l.$xS&&!e.altKey&&!e.ctrlKey&&!e.metaKey}))},(0,Tl.a)(l,t),{activeDescendantController:n,freeform:!1,state:{clearSelection:f,getOptionById:v,open:h,selectedOptions:c,selectOption:m,setHasFocus:p,setOpen:d,setValue:u,multiselect:!0,value:r.value}}),disabled:w,size:i}})(e,t);return(e=>{const t=Sw(),r=Cw();e.root.className=(0,E.z)("fui-TagPickerInput",t,r[e.size],e.disabled&&r.disabled,e.root.className)})(r),(0,hc.$e)("useTagPickerInputStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.Y)(e.root,{})))(r)}));Aw.displayName="TagPickerInput";const xw=(0,qa.X)({root:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},collapsed:{mc9l5x:"fjseox"}},{d:[".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".f1ewtqcl{box-sizing:border-box;}",".fjseox{display:none;}"]}),kw=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=qb((e=>e.triggerRef)),n=qb((e=>e.popoverRef)),i=qb((e=>e.popoverId));return{open:qb((e=>e.open)),components:{root:ib},root:Il.Gk({...ab(e,(0,Tl.a)(n,t),{state:{multiselect:!0},triggerRef:r,defaultProps:{id:i}}),role:"listbox"},{elementType:ib})}})(e,t);return(e=>{const t=xw();e.root.className=(0,E.z)("fui-TagPickerList",t.root,!e.open&&t.collapsed,e.root.className)})(r),(0,hc.$e)("useTagPickerListStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.Y)(e.root,{})))(r)}));kw.displayName="TagPickerList";const Ew=o.createContext(void 0),_w={},Iw=(Ew.Provider,(e,t)=>{const{size:r}=null!==(n=o.useContext(Ew))&&void 0!==n?n:_w;var n;const{appearance:i="primary",labelPosition:a="after",size:s=(null!=r?r:"medium"),delay:l=0}=e,c=(0,wl.Bi)("spinner"),{role:u="progressbar",...d}=e,p=Il.Gk((0,Pl.g)("div",{ref:t,role:u,...d},["size"]),{elementType:"div"}),[f,h]=o.useState(!1),[g,m]=Qu();o.useEffect((()=>{if(!(l<=0))return g((()=>{h(!0)}),l),()=>{m()}}),[g,m,l]);const v=Il.lq(e.label,{defaultProps:{id:c},renderByDefault:!1,elementType:nm}),y=Il.lq(e.spinner,{renderByDefault:!0,elementType:"span"});return v&&p&&!p["aria-labelledby"]&&(p["aria-labelledby"]=v.id),{appearance:i,delay:l,labelPosition:a,size:s,shouldRenderSpinner:!l||f,components:{root:"div",spinner:"span",spinnerTail:"span",label:nm},root:p,spinner:y,spinnerTail:Il.Gk(e.spinnerTail,{elementType:"span"}),label:v}}),Pw=(0,rc.y)("r82apo5",null,[".r82apo5{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;}"]),Tw=(0,qa.X)({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),Bw=(0,rc.y)("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),Dw=(0,rc.y)("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),Nw=(0,qa.X)({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Br2kee7:"f1wkkxo7"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1wkkxo7{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Rw=(0,qa.X)({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),Ow=o.forwardRef(((e,t)=>{const r=Iw(e,t);return(e=>{const{labelPosition:t,size:r,appearance:n}=e,{dir:i}=(0,Na.Y)(),o=Pw(),a=Tw(),s=Bw(),l=Nw(),c=Dw(),u=Rw();e.root.className=(0,E.z)("fui-Spinner",o,("above"===t||"below"===t)&&a.vertical,e.root.className),e.spinner&&(e.spinner.className=(0,E.z)("fui-Spinner__spinner",s,l[r],"inverted"===n&&l.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=(0,E.z)("fui-Spinner__spinnerTail",c,"rtl"===i&&l.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=(0,E.z)("fui-Spinner__label",u[r],"inverted"===n&&u.inverted,e.label.className))})(r),(0,hc.$e)("useSpinnerStyles_unstable")(r),(e=>{(0,tc.C)(e);const{labelPosition:t,shouldRenderSpinner:r}=e;return(0,ec.FD)(e.root,{children:[e.label&&r&&("above"===t||"before"===t)&&(0,ec.Y)(e.label,{}),e.spinner&&r&&(0,ec.Y)(e.spinner,{children:e.spinnerTail&&(0,ec.Y)(e.spinnerTail,{})}),e.label&&r&&("below"===t||"after"===t)&&(0,ec.Y)(e.label,{})]})})(r)}));Ow.displayName="Spinner";class zw{}zw.passwordInputHidePasswordAriaLabel={key:"passwordInputHidePasswordAriaLabel",defaultValue:"Hide password"},zw.passwordInputRevealPasswordAriaLabel={key:"passwordInputRevealPasswordAriaLabel",defaultValue:"Reveal password"},zw.dateInputDefaultPlaceholder={key:"dateInputDefaultPlaceholder",defaultValue:"Select a date..."},zw.timeInputDefaultPlaceholder={key:"timeInputDefaultPlaceholder",defaultValue:"Select a time..."},zw.noResults={key:"noResults",defaultValue:"No results"},zw.noResultsFound={key:"noResultsFound",defaultValue:"We couldn't find any matches."},zw.selectMultipleOptions={key:"selectMultipleOptions",defaultValue:"Select multiple options"},zw.selectAnOption={key:"selectAnOption",defaultValue:"Select an option"},zw.comboBoxClearButtonAriaLabel={key:"comboBoxClearButtonAriaLabel",defaultValue:"Clear"},zw.loadingResults={key:"loadingResults",defaultValue:"Loading..."},zw.errorLoadingResults={key:"errorLoadingResults",defaultValue:"Results couldn't be loaded"},zw.selectedValues={key:"selectedValues",defaultValue:"Selected values"},zw.selectedPeople={key:"selectedPeople",defaultValue:"Selected people"},zw.selectedPerson={key:"selectedPerson",defaultValue:"Selected person"},zw.selectPeople={key:"SelectPeople",defaultValue:"Select people"},zw.selectPerson={key:"SelectPerson",defaultValue:"Select a person"},zw.noMatchesFound={key:"noMatchesFound",defaultValue:"No matches found"},zw.sliderInputCurrentValue={key:"sliderInputCurrentValue",defaultValue:"Current value: {{value}}"},zw.checkboxGroupLabel={key:"checkboxGroupLabel",defaultValue:"Select at least one"},zw.january={key:"january",defaultValue:"January"},zw.february={key:"february",defaultValue:"February"},zw.march={key:"march",defaultValue:"March"},zw.april={key:"april",defaultValue:"April"},zw.may={key:"may",defaultValue:"May"},zw.june={key:"june",defaultValue:"June"},zw.july={key:"july",defaultValue:"July"},zw.august={key:"august",defaultValue:"August"},zw.september={key:"september",defaultValue:"September"},zw.october={key:"october",defaultValue:"October"},zw.november={key:"november",defaultValue:"November"},zw.december={key:"december",defaultValue:"December"},zw.januaryShort={key:"januaryShort",defaultValue:"Jan"},zw.februaryShort={key:"februaryShort",defaultValue:"Feb"},zw.marchShort={key:"marchShort",defaultValue:"Mar"},zw.aprilShort={key:"aprilShort",defaultValue:"Apr"},zw.mayShort={key:"mayShort",defaultValue:"May"},zw.juneShort={key:"juneShort",defaultValue:"Jun"},zw.julyShort={key:"julyShort",defaultValue:"Jul"},zw.augustShort={key:"augustShort",defaultValue:"Aug"},zw.septemberShort={key:"septemberShort",defaultValue:"Sep"},zw.octoberShort={key:"octoberShort",defaultValue:"Oct"},zw.novemberShort={key:"novemberShort",defaultValue:"Nov"},zw.decemberShort={key:"decemberShort",defaultValue:"Dec"},zw.sunday={key:"sunday",defaultValue:"Sunday"},zw.monday={key:"monday",defaultValue:"Monday"},zw.tuesday={key:"tuesday",defaultValue:"Tuesday"},zw.wednesday={key:"wednesday",defaultValue:"Wednesday"},zw.thursday={key:"thursday",defaultValue:"Thursday"},zw.friday={key:"friday",defaultValue:"Friday"},zw.saturday={key:"saturday",defaultValue:"Saturday"},zw.sundayShort={key:"sundayShort",defaultValue:"Sun"},zw.mondayShort={key:"mondayShort",defaultValue:"Mon"},zw.tuesdayShort={key:"tuesdayShort",defaultValue:"Tue"},zw.wednesdayShort={key:"wednesdayShort",defaultValue:"Wed"},zw.thursdayShort={key:"thursdayShort",defaultValue:"Thu"},zw.fridayShort={key:"fridayShort",defaultValue:"Fri"},zw.saturdayShort={key:"saturdayShort",defaultValue:"Sat"},zw.calendarWeekNumberFormatString={key:"calendarWeekNumberFormatString",defaultValue:"Week number {0}"},zw.calendarPreviousMonthAriaLabel={key:"calendarPreviousMonthAriaLabel",defaultValue:"Previous month"},zw.calendarNextMonthAriaLabel={key:"calendarNextMonthAriaLabel",defaultValue:"Next month"},zw.calendarGoToToday={key:"calendarGoToToday",defaultValue:"Go to today"};const Mw=(0,P.n)({optionContainer:{display:"flex",gap:"8px",alignItems:"center"}});function Fw(e){return"string"==typeof e.title&&"string"==typeof e.value}const Lw=o.forwardRef(((e,t)=>{var r,n;const i=Mw(),{search:a,cancelSearch:s}=e,l=Sv(),[c,u]=o.useState(""),[d,p]=o.useState(void 0),[f,h]=o.useState(function(e){const t=new Map;return e.forEach((e=>{Fw(e)&&t.set(e.value,e)})),t}(e.staticChoices));o.useEffect((()=>{if(!c)return s(),void p(void 0);p("loading"),a(c,(e=>{if(e.error)p("error");else if(p(void 0),e.data&&Array.isArray(e.data)){const t=[];e.data.forEach((e=>{Fw(e)&&t.push(new ay(e.title,e.value))})),h((e=>{const r=new Map(e);return t.forEach((e=>{Fw(e)&&r.set(e.value,e)})),r}))}}))}),[c,a,s]);const g=Ob({query:c,options:[...f.values()].map((e=>e.value)),noOptionsElement:o.createElement(Fb,null,e.localizeString(zw.noMatchesFound)),renderOption:t=>{var r,n,a;const s=f.get(t),l=!!e.value&&e.value.includes(t);let c=null;return e.isMultiSelect&&(c=l?o.createElement(Lm,{color:Va.L.colorBrandForeground1}):o.createElement(jm,null)),o.createElement(Nb,{key:t,text:null!==(r=null==s?void 0:s.title)&&void 0!==r?r:t,value:null!==(n=null==s?void 0:s.value)&&void 0!==n?n:t},o.createElement("div",{className:i.optionContainer},c,null!==(a=null==s?void 0:s.title)&&void 0!==a?a:t))},filter:e=>e.toLowerCase().startsWith(c.toLowerCase())});return o.createElement($b,{appearance:vv.comboboxAppearance,selectedOptions:e.value,disabled:!e.isEnabled,onOptionSelect:(t,r)=>{e.isMultiSelect?e.valueChanged(r.selectedOptions):e.valueChanged(r.selectedOptions.length>0?[r.selectedOptions[r.selectedOptions.length-1]]:[]),u("")}},o.createElement(Yb,{className:l.compactChoiceSetInput,id:e.internalId,style:{width:"100%"}},o.createElement(nw,{"aria-label":e.localizeString(zw.selectedValues),"aria-labelledby":e.ariaLabelledBy},null===(r=e.value)||void 0===r?void 0:r.map(((e,t)=>{var r;return o.createElement(yw,{key:t,value:e},null===(r=f.get(e))||void 0===r?void 0:r.title)}))),o.createElement(Aw,{ref:t,placeholder:0===(null===(n=e.value)||void 0===n?void 0:n.length)?e.placeholder:void 0,value:c,onChange:e=>{const t=e.target.value.trim();u(t)},"aria-label":e.placeholder,"aria-labelledby":e.ariaLabelledBy,"aria-required":e.isRequired})),o.createElement(kw,{style:{maxHeight:"200px"}},g,"loading"===d&&o.createElement(Fb,null,o.createElement("div",{className:i.optionContainer},o.createElement(Ow,{size:"tiny"}),e.localizeString(zw.loadingResults))),"error"===d&&o.createElement(Fb,null,o.createElement("div",{className:i.optionContainer},o.createElement(Om,{color:Va.L.colorStatusDangerBackground3}),e.localizeString(zw.errorLoadingResults)))))}));Lw.displayName="DynamicTypeaheadV2";const jw=o.forwardRef(((e,t)=>{const r=Sv(),n=new Set(e.choices.filter((e=>e.isSelected)).map((e=>e.value))),i=e.localizeString(zw.checkboxGroupLabel);return o.createElement("div",{id:e.internalId,ref:t,style:{display:"flex",flexDirection:"column",overflow:"hidden"},"aria-label":e.isRequired?i:""},e.choices.map(((t,i)=>{const a=`${e.internalId}-${i}`;let s=t.title;if(Bi.h$.useMarkdownInRadioButtonAndCheckbox&&e.parent){const r=new Jg(t.title);r.wrap=e.wrap,r.setParent(e.parent),s=o.createElement(Ei.XG,{cardObject:r})}return o.createElement(yy,{key:i,id:a,className:r.toggleInput,label:{className:e.wrap?r.toggleInputLabelWrap:r.toggleInputLabelNoWrap,children:s},checked:t.isSelected,disabled:!e.isEnabled,input:{"aria-label":t.title},onChange:(r,i)=>{"boolean"==typeof i.checked&&(i.checked?n.add(t.value):n.delete(t.value),e.valueChanged([...n.values()]))},"aria-labelledby":`${e.ariaLabelledBy} ${a}`})})))}));jw.displayName="CheckboxGroupComponent";const Vw=o.forwardRef(((e,t)=>o.createElement(Ay,{id:e.internalId,ref:t,onChange:(t,r)=>{e.valueChanged(r.value)},value:e.value,disabled:!e.isEnabled,"aria-label":e.label,"aria-labelledby":e.ariaLabelledBy,"aria-required":e.isRequired},e.choices.map(((t,r)=>{let n=t.title;if(Bi.h$.useMarkdownInRadioButtonAndCheckbox&&e.parent){const r=new Jg(t.title);r.wrap=e.wrap,r.setParent(e.parent),n=o.createElement(Ei.XG,{cardObject:r})}return o.createElement(Ty,{key:r,value:t.value,label:n})})))));Vw.displayName="RadioGroupComponent";const Hw=o.forwardRef(((e,t)=>{const r=Sv(),n=e.choices.filter((e=>e.isSelected)).map((e=>e.value)),[i,a]=o.useState(e.choices),s=o.useMemo((()=>{const t=[];return n.forEach((r=>{const n=e.choices.find((e=>e.value===r));n&&t.push(n)})),t.map((e=>e.title)).join(", ")}),[e.choices,n]),[l,c]=o.useState(s);o.useEffect((()=>{c(s)}),[s]);const u=t=>{if(e.isFiltered){const r=e.choices.filter((e=>e.title.toLowerCase().includes(t.target.value.toLowerCase())));a(r)}c(t.target.value)},d={id:e.internalId,appearance:vv.comboboxAppearance,className:r.compactChoiceSetInput,placeholder:e.placeholder,multiselect:e.isMultiSelect,onOptionSelect:(t,r)=>{e.valueChanged(r.selectedOptions)},selectedOptions:n,onInput:u,value:l,"aria-label":e.placeholder,"aria-labelledby":e.ariaLabelledBy,"aria-required":e.isRequired,disabled:!e.isEnabled,input:{style:{minWidth:0}},inlinePopup:vv.shouldUseInlinePopup};return(e.isFiltered||e.isMultiSelect)&&(d.onChange=u,d.onFocus=()=>{c(""),a(e.choices)},d.onBlur=()=>{c(s)}),o.createElement(vb,Object.assign({ref:t},d),i.map(((e,t)=>o.createElement(bb,{key:t,value:e.value},e.title))),0===i.length&&e.isFiltered?o.createElement(xb,{label:e.strings.noResults}):null)}));function qw(e,t=["radio","checkbox"]){for(let r=0;r<e.children.length;r++){const n=e.children[r];if(n instanceof HTMLInputElement){if("INPUT"===n.tagName&&t.includes(n.type))return n}else{const e=qw(n);if(e)return e}}}Hw.displayName="ComboboxComponent";class Uw extends ly{isDynamicTypeahead(){var e;return void 0!==(null===(e=this.choicesData)||void 0===e?void 0:e.dataset)}ensureValidValue(){if(this.isDynamicTypeahead())return;const e=this.value;if(e){const t=this.isMultiSelect?e.split(this.hostConfig.choiceSetInputValueSeparator):[e],r=this.choices.map((e=>e.value)),n=[];for(const e of t)r.indexOf(e)>=0&&n.push(e);this._value=n.length>0?n.join(this.hostConfig.choiceSetInputValueSeparator):void 0}}search(e,t){this.choicesData&&this._dataQueryManager.debouncedQuery(this.choicesData,e,t)}cancelPendingSearch(){this._dataQueryManager.cancelPendingQuery()}renderAsDynamicTypeahead(e){const t=e=>{e&&e.length>0?this.valueChanged(e.join(this.hostConfig.choiceSetInputValueSeparator)):this.valueChanged(void 0),this.updateLayout()};return this.useDynamicSearchTypeaheadV2?o.createElement(Lw,{ref:this._inputRef,staticChoices:this.choices,internalId:this.internalId,placeholder:this.placeholder,isEnabled:this.isEnabled,isRequired:this.isRequired,ariaLabelledBy:this.getAriaLabelledBy(),valueChanged:t,search:(e,t)=>this.search(e,t),cancelSearch:()=>this.cancelPendingSearch(),isMultiSelect:this.isMultiSelect,value:e,localizeString:(e,t)=>this.localizeString(e,t)}):o.createElement(Ib,{ref:this._inputRef,staticChoices:this.choices,choicesData:this.choicesData,internalId:this.internalId,placeholder:this.placeholder,isEnabled:this.isEnabled,isRequired:this.isRequired,ariaLabelledBy:this.getAriaLabelledBy(),valueChanged:t,onDataQuery:this.onDataQueryRequest,isMultiSelect:this.isMultiSelect,value:e,strings:{dropdownPlaceholder:this.localizeString(zw.selectAnOption),noResults:this.localizeString(zw.noResults),loadingResults:this.localizeString(zw.loadingResults),errorLoadingResults:this.localizeString(zw.errorLoadingResults)}})}renderAsRadioGroup(e){var t;return o.createElement(Vw,{ref:this._inputRef,internalId:this.internalId,choices:e,value:null!==(t=this.value)&&void 0!==t?t:"",isEnabled:this.isEnabled,isRequired:this.isRequired,ariaLabelledBy:this.getAriaLabelledBy(),valueChanged:e=>{this.valueChanged(e),this.updateLayout()},wrap:this.wrap,parent:this,localizeString:(e,t)=>this.localizeString(e,t)})}renderAsCheckboxGroup(e,t){return o.createElement(jw,{ref:this._inputRef,internalId:this.internalId,choices:e,value:t,isEnabled:this.isEnabled,isRequired:this.isRequired,ariaLabelledBy:this.getAriaLabelledBy(),valueChanged:e=>{e&&e.length>0?this.valueChanged(e.join(this.hostConfig.choiceSetInputValueSeparator)):this.valueChanged(void 0),this.updateLayout()},wrap:this.wrap,label:this.label,localizeString:(e,t)=>this.localizeString(e,t),parent:this})}getAllLabelIds(){const e=[];return this.labelledBy&&e.push(this.labelledBy),e.push(this.labelId,this.checkboxLabelId,this.errorId),e}renderAsComboBox(e,t){return o.createElement(Hw,{ref:this._inputRef,internalId:this.internalId,choices:e,value:t,isMultiSelect:this.isMultiSelect,isFiltered:"filtered"===this.style,placeholder:this.placeholder,isEnabled:this.isEnabled,isRequired:this.isRequired,ariaLabelledBy:this.getAriaLabelledBy(),strings:{dropdownPlaceholder:this.isMultiSelect?this.localizeString(zw.selectMultipleOptions):this.localizeString(zw.selectAnOption),noResults:this.localizeString(zw.noResults),clearButtonAriaLabel:this.localizeString(zw.comboBoxClearButtonAriaLabel)},valueChanged:e=>{e&&e.length>0?this.valueChanged(e.join(this.hostConfig.choiceSetInputValueSeparator)):this.valueChanged(void 0),this.updateLayout()}})}renderInputControl(){this.ensureValidValue();const e=this.value,t=e?this.isMultiSelect?e.split(this.hostConfig.choiceSetInputValueSeparator):[e]:[],r=this.choices.map(((e,r)=>{var n,i;return{title:null!==(n=e.title)&&void 0!==n?n:r.toString(),value:null!==(i=e.value)&&void 0!==i?i:r.toString(),isSelected:!!e.value&&t.includes(e.value)}}));return this.isDynamicTypeahead()?this.renderAsDynamicTypeahead(t):"compact"===this.style||"filtered"===this.style?this.renderAsComboBox(r,t):this.isMultiSelect?this.renderAsCheckboxGroup(r,t):this.renderAsRadioGroup(r)}constructor(e=!1){super(),this.useDynamicSearchTypeaheadV2=e,this.checkboxLabelId=(0,lf.Ij)(),this.onDataQueryRequest=e=>{const t="none"!==e.dataQuery.associatedInputs?(0,Ei.Gh)(this):void 0;let r;if(t){r={};for(const e in t){const n=t[e];r[e]=n.value}}return e.inputData=r,this.dataQuery(e)},this._inputRef=o.createRef(),this._dataQueryManager=new kb(this.onDataQueryRequest)}focus(){if(this._inputRef.current){if("expanded"!==this.style)return this._inputRef.current.focus(),!0;{const e=qw(this._inputRef.current);if(e)return e.focus(),!0}}return!1}isValid(){if(""===this.value||void 0===this.value||this.isDynamicTypeahead())return!0;const e=this.isMultiSelect?this.value.split(this.hostConfig.choiceSetInputValueSeparator):[this.value],t=this.choices.map((e=>e.value));for(const r of e)if(!t.includes(r))return!1;return!0}}const $w=(Va.L.spacingHorizontalXXS,(0,rc.y)("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}'])),Ww=(0,qa.X)({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),Gw=(0,rc.y)("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),Kw=(0,qa.X)({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),Xw=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{shape:r="circular",size:n="medium",iconPosition:i="before",appearance:o="filled",color:a="brand"}=e;return{shape:r,size:n,iconPosition:i,appearance:o,color:a,components:{root:"div",icon:"span"},root:Il.Gk((0,Pl.g)("div",{ref:t,...e}),{elementType:"div"}),icon:Il.lq(e.icon,{elementType:"span"})}})(e,t);return(e=>{const t=$w(),r=Ww(),n="small"===e.size||"extra-small"===e.size||"tiny"===e.size;e.root.className=(0,E.z)("fui-Badge",t,n&&r.fontSmallToTiny,r[e.size],r[e.shape],"rounded"===e.shape&&n&&r.roundedSmallToTiny,"ghost"===e.appearance&&r.borderGhost,r[e.appearance],r[`${e.appearance}-${e.color}`],e.root.className);const i=Gw(),o=Kw();if(e.icon){let t;e.root.children&&(t="extra-large"===e.size?"after"===e.iconPosition?o.afterTextXL:o.beforeTextXL:"after"===e.iconPosition?o.afterText:o.beforeText),e.icon.className=(0,E.z)("fui-Badge__icon",i,t,o[e.size],e.icon.className)}})(r),(0,hc.$e)("useBadgeStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:["before"===e.iconPosition&&e.icon&&(0,ec.Y)(e.icon,{}),e.root.children,"after"===e.iconPosition&&e.icon&&(0,ec.Y)(e.icon,{})]})))(r)}));Xw.displayName="Badge";const Yw={gridColumn:2,lineHeight:Va.L.lineHeightBase300,fontSize:Va.L.fontSizeBase300,fontFamily:Va.L.fontFamilyBase,paddingTop:"2px",overflow:"hidden"},Jw=(0,P.n)({root:{display:"grid",gridTemplateColumns:"auto 1fr",padding:"6px 8px 8px 8px",rowGap:Va.L.spacingHorizontalXS,columnGap:Va.L.spacingHorizontalS,textAlign:"start",minWidth:0},icon:{alignSelf:"baseline",marginTop:"1px",gridRowStart:1},textContainerSingleRow:Object.assign({},Yw),textContainerMultiRow:Object.assign(Object.assign({},Yw),{display:"flex",flexDirection:"column",gap:Va.L.spacingHorizontalXS}),titleAndBadgeContainer:{display:"flex",flexWrap:"wrap",gap:Va.L.spacingHorizontalXS},category:{fontWeight:Va.L.fontWeightSemibold},prompt:{fontWeight:Va.L.fontWeightRegular}}),Zw=o.forwardRef(((e,t)=>{const r=Jw(),n=e.badge?o.createElement(Xw,{appearance:"tint"},e.badge):null,i=e.category?o.createElement("span",{className:r.category},e.category):null,a=i&&n?o.createElement("div",{className:r.titleAndBadgeContainer},i,n):i||n,s=a&&e.description?r.textContainerMultiRow:r.textContainerSingleRow;return o.createElement(pv.$,Object.assign({},e,{ref:t,className:r.root,icon:void 0}),o.createElement(o.Fragment,null,o.createElement("span",{className:r.icon},e.icon),o.createElement("div",{className:s},a,e.description&&o.createElement("span",{className:r.prompt},e.description))))}));Zw.displayName="PromptStarterWrapper";class Qw extends Pi.jB{get name(){return this.getValue(Qw.nameProperty)}set name(e){this.setValue(Qw.nameProperty,e)}get size(){return this.getValue(Qw.sizeProperty)}set size(e){this.setValue(Qw.sizeProperty,e)}get style(){return this.getValue(Qw.styleProperty)}set style(e){this.setValue(Qw.styleProperty,e)}get color(){return this.getValue(Qw.colorProperty)}set color(e){this.setValue(Qw.colorProperty,e)}getSchemaKey(){return"IconInfo"}constructor(e,t,r,n){super(),this.name=e,void 0!==t&&(this.size=t),void 0!==r&&(this.style=r),void 0!==n&&(this.color=n)}render(e){var t;return o.createElement(Xa.FW,{name:null!==(t=this.name)&&void 0!==t?t:eS.defaultIconName,iconSize:this.size,iconStyle:this.style,iconColor:this.color?(0,lf.zS)(e.foregroundColors.getColorDefinition(this.color).default):void 0})}}Qw.nameProperty=new Pi.XB(Pi.uq.v1_5,"name"),Qw.sizeProperty=new Pi.fX(Pi.uq.v1_5,"size",_i.lK,_i.lK.xSmall),Qw.styleProperty=new Pi.fX(Pi.uq.v1_5,"style",_i.pO,_i.pO.Regular),Qw.colorProperty=new Pi.fX(Pi.uq.v1_5,"color",_i.r7,_i.r7.Default);class eS extends Ei.hA{static getDefaultIcon(){return eS._defaultIcon||(eS._defaultIcon=new Qw("Info",_i.lK.xSmall,_i.pO.Regular,_i.r7.Default)),eS._defaultIcon}get icon(){return this.getValue(eS.iconProperty)}set icon(e){this.setValue(eS.iconProperty,e)}get title(){return this.getValue(eS.titleProperty)}set title(e){this.setValue(eS.titleProperty,e)}get badge(){return this.getValue(eS.badgeProperty)}set badge(e){this.setValue(eS.badgeProperty,e)}get description(){return this.getValue(eS.descriptionProperty)}set description(e){this.setValue(eS.descriptionProperty,e)}get selectAction(){return this.getValue(eS.selectActionProperty)}set selectAction(e){this.setValue(eS.selectActionProperty,e)}getMainAction(){return this.selectAction}internalRender(e){var t;const r={icon:(null!==(t=this.icon)&&void 0!==t?t:eS.getDefaultIcon()).render(this.getEffectiveStyleDefinition()),category:this.title,description:this.description,badge:this.badge,disabled:!this.isEnabled};return this.selectAction&&this.hostConfig.supportsInteractivity&&(r.onKeyPress=e=>{this.selectAction&&this.selectAction.isEffectivelyEnabled()&&("Enter"===e.code||"Space"===e.code)&&(e.preventDefault(),e.stopPropagation(),this.selectAction.execute())},r.onClick=e=>{this.selectAction&&this.selectAction.isEffectivelyEnabled()&&(e.preventDefault(),e.stopPropagation(),this.selectAction.execute())},this.selectAction.setupElementForAccessibility(r,!1,!1)),o.createElement(Zw,Object.assign({},r))}getJsonTypeName(){return"CompoundButton"}}eS.defaultIconName="Info",eS.iconProperty=new Pi.kR(Pi.uq.v1_5,"icon",(()=>new Qw),!0),eS.badgeProperty=new Pi.XB(Pi.uq.v1_5,"badge").setContentType("text"),eS.titleProperty=new Pi.XB(Pi.uq.v1_5,"title").setContentType("text"),eS.descriptionProperty=new Pi.XB(Pi.uq.v1_5,"description").setContentType("text"),eS.selectActionProperty=new Ug.c(Pi.uq.v1_5,"selectAction",["Action.ShowCard"]);class tS extends Pi.BG{parse(e,t,r){const n=t[this.name];let i=!1;if("string"!=typeof n)i=!0;else{const e=(0,lf._U)(n);if(e)return e;i=!0}return i&&r.logParseEvent(e,_i.iV.InvalidPropertyValue,Ii.D.errors.invalidPropertyValue(n,this.name)),this.defaultValue}toJSON(e,t,r,n){n.serializeDate(t,this.name,r,this.defaultValue)}getDescriptor(e){return{valueTypes:[{type:"string"}]}}constructor(e,t,r){super(e,t,r),this.targetVersion=e,this.name=t,this.defaultValue=r}}class rS extends tm{get defaultValue(){return this.getValue(rS.valueProperty)}set defaultValue(e){this.setValue(rS.valueProperty,e)}get min(){return this.getValue(rS.minProperty)}set min(e){this.setValue(rS.minProperty,e)}get max(){return this.getValue(rS.maxProperty)}set max(e){this.setValue(rS.maxProperty,e)}get placeholder(){return this.getValue(rS.placeholderProperty)}set placeholder(e){this.setValue(rS.placeholderProperty,e)}getJsonTypeName(){return"Input.Date"}isSet(){return!!this.value}isValid(){return this.value?this.isValidValue(this.value):!this.isRequired}isValidValue(e){let t=!0;return this.min&&(t=t&&e>=this.min),this.max&&(t=t&&e<=this.max),t}get value(){return this._value}set value(e){this._value===e||void 0!==e&&!this.isValidValue(e)||this.valueChanged(e)}get valueAsString(){if(void 0!==this.value)return(0,lf.$T)(this.value)}}var nS,iS,oS,aS;rS.valueProperty=new tS(Pi.uq.v1_0,"value"),rS.placeholderProperty=new Pi.XB(Pi.uq.v1_0,"placeholder").setContentType("text"),rS.minProperty=new tS(Pi.uq.v1_0,"min"),rS.maxProperty=new tS(Pi.uq.v1_0,"max"),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(nS||(nS={})),function(e){e[e.January=0]="January",e[e.February=1]="February",e[e.March=2]="March",e[e.April=3]="April",e[e.May=4]="May",e[e.June=5]="June",e[e.July=6]="July",e[e.August=7]="August",e[e.September=8]="September",e[e.October=9]="October",e[e.November=10]="November",e[e.December=11]="December"}(iS||(iS={})),function(e){e[e.FirstDay=0]="FirstDay",e[e.FirstFullWeek=1]="FirstFullWeek",e[e.FirstFourDayWeek=2]="FirstFourDayWeek"}(oS||(oS={})),function(e){e[e.Day=0]="Day",e[e.Week=1]="Week",e[e.Month=2]="Month",e[e.WorkWeek=3]="WorkWeek"}(aS||(aS={}));const sS=12;function lS(e,t){const r=new Date(e.getTime());return r.setDate(r.getDate()+t),r}function cS(e,t){return lS(e,7*t)}function uS(e,t){let r=new Date(e.getTime());const n=r.getMonth()+t;return r.setMonth(n),r.getMonth()!==(n%sS+sS)%sS&&(r=lS(r,-r.getDate())),r}function dS(e,t){let r=new Date(e.getTime());return r.setFullYear(e.getFullYear()+t),r.getMonth()!==(e.getMonth()%sS+sS)%sS&&(r=lS(r,-r.getDate())),r}function pS(e){return new Date(e.getFullYear(),e.getMonth(),1,0,0,0,0)}function fS(e){return new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0,0)}function hS(e,t){return uS(e,t-e.getMonth())}function gS(e,t){return!e&&!t||!(!e||!t)&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function mS(e,t){return SS(e)-SS(t)}function vS(e,t,r,n,i=1){const o=[];let a,s=null;switch(n||(n=[nS.Monday,nS.Tuesday,nS.Wednesday,nS.Thursday,nS.Friday]),i=Math.max(i,1),t){case aS.Day:a=wS(e),s=lS(a,i);break;case aS.Week:case aS.WorkWeek:a=function(e,t){let r=t-e.getDay();return r>0&&(r-=7),lS(e,r)}(wS(e),r),s=lS(a,7);break;case aS.Month:a=new Date(e.getFullYear(),e.getMonth(),1),s=uS(a,1);break;default:throw new Error("Unexpected object: "+t)}let l=a;do{(t!==aS.WorkWeek||-1!==n.indexOf(l.getDay()))&&o.push(l),l=lS(l,1)}while(!gS(l,s));return o}function yS(e,t){for(const r of t)if(gS(e,r))return!0;return!1}function bS(e,t,r){switch(r){case oS.FirstFullWeek:return CS(e,t,7);case oS.FirstFourDayWeek:return CS(e,t,4);default:return function(e,t){const r=AS(e)-1,n=(e.getDay()-r%7-t+14)%7;return Math.floor((r+n)/7+1)}(e,t)}}function wS(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function SS(e){return e.getDate()+(e.getMonth()<<5)+(e.getFullYear()<<9)}function CS(e,t,r){const n=AS(e)-1;let i=e.getDay()-n%7;const o=AS(new Date(e.getFullYear()-1,iS.December,31))-1;let a=(t-i+14)%7;0!==a&&a>=r&&(a-=7);let s=n-a;return s<0&&(i-=o%7,a=(t-i+14)%7,0!==a&&a+1>=r&&(a-=7),s=o-a),Math.floor(s/7+1)}function AS(e){const t=e.getMonth(),r=e.getFullYear();let n=0;for(let e=0;e<t;e++)n+=xS(e+1,r);return n+=e.getDate(),n}function xS(e,t){return new Date(t,e,0).getDate()}let kS;function ES(e,t){if(e){if(kS)return void(kS=e);kS=e,t&&t.requestAnimationFrame((()=>{kS&&kS.focus(),kS=void 0}))}}const _S={formatDay:e=>e.getDate().toString(),formatMonth:(e,t)=>t.months[e.getMonth()],formatYear:e=>e.getFullYear().toString(),formatMonthDayYear:(e,t)=>t.months[e.getMonth()]+" "+e.getDate()+", "+e.getFullYear(),formatMonthYear:(e,t)=>t.months[e.getMonth()]+" "+e.getFullYear()},IS={months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["S","M","T","W","T","F","S"],goToToday:"Go to today",weekNumberFormatString:"Week number {0}",prevMonthAriaLabel:"Previous month",nextMonthAriaLabel:"Next month",prevYearAriaLabel:"Previous year",nextYearAriaLabel:"Next year",prevYearRangeAriaLabel:"Previous year range",nextYearRangeAriaLabel:"Next year range",closeButtonAriaLabel:"Close",selectedDateFormatString:"Selected date {0}",todayDateFormatString:"Today's date {0}",monthPickerHeaderAriaLabel:"{0}, change year",yearPickerHeaderAriaLabel:"{0}, change month",dayMarkedAriaLabel:"marked"},PS=(e,t,r)=>{let n=[...e];return t&&(n=n.filter((e=>mS(e,t)>=0))),r&&(n=n.filter((e=>mS(e,r)<=0))),n},TS=(e,t)=>{const{minDate:r}=t;return!!r&&mS(r,e)>=1},BS=(e,t)=>{const{maxDate:r}=t;return!!r&&mS(e,r)>=1},DS=(e,t)=>{const{restrictedDates:r,minDate:n,maxDate:i}=t;return!!(r||n||i)&&(r&&r.some((t=>gS(t,e)))||TS(e,t)||BS(e,t))};var NS;!function(e){e[e.Horizontal=0]="Horizontal",e[e.Vertical=1]="Vertical"}(NS||(NS={}));const RS="fui-CalendarDayGrid__hoverStyle",OS="fui-CalendarDayGrid__pressedStyle",zS=(0,qa.X)({base:{Byoj8tv:"f1fow5ox"}},{d:[".f1fow5ox{padding-bottom:10px;}"]}),MS=(0,qa.X)({base:{po53p8:"fgkb47j",Bxjg3zr:"f16vktn6",Be2twd7:"fjoy568",B6of3ja:"fvjh0tl",Byoj8tv:"f1fow5ox",qhf8xq:"f10pi13n",B73mfa3:"f14m3nip",fsow6f:"f17mccla",a9b677:"f4m2ahc"},showWeekNumbers:{a9b677:"fl524qk"}},{d:[".fgkb47j{border-collapse:collapse;}",".f16vktn6{border-spacing:0;}",".fjoy568{font-size:inherit;}",".fvjh0tl{margin-top:4px;}",".f1fow5ox{padding-bottom:10px;}",".f10pi13n{position:relative;}",".f14m3nip{table-layout:fixed;}",".f17mccla{text-align:center;}",".f4m2ahc{width:196px;}",".fl524qk{width:226px;}"]}),FS=(0,qa.X)({base:{sj55zd:"f19n0e5",Bceei9c:"f1k6fduh",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fqtknz5",qhf8xq:"f10pi13n",Bsw6fvg:"f8pusc0",Bbusuzp:"fqgauei",cvlxnx:"fp6dsbd",Bweudez:"f4xgodq",Bsnevi5:0,z1p9vi:0,dua3dm:0,Bf7el8m:"f1ko8o2g",xnb59o:"fts5qqo",B0mcfed:"fq2wdp5",Bj67fi1:"f1lhgsq9",B2gfgcj:"fdbuq6n",B6cqqer:"f16j2ub3",fpurfy:"f5hk6jp",Fioj4w:["f1d258es","f1llk4aj"],Bq9yiu4:"ftezgwa",cpbo2x:["f1llk4aj","f1d258es"],Bq268z6:"f1iohfpm"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bb7d1vk:"f226i61",zhwhgb:["f13kzufm","fsx75g8"],dhy2o1:"flujwa2",Gfyso:["fsx75g8","f13kzufm"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"fpqizxz",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"fqkqgbk",Bule8hv:["f1as04kd","ft30ozv"],Bjwuhne:"f8pxvb2",Ghsupd:["ft30ozv","f1as04kd"]}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1k6fduh{cursor:pointer;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".fqtknz5{padding:2px;}",{p:-1}],".f10pi13n{position:relative;}",".fp6dsbd.fui-CalendarDayGrid__hoverStyle{color:var(--colorNeutralForeground1Static);}",".f4xgodq.fui-CalendarDayGrid__hoverStyle{background-color:var(--colorBrandBackgroundInvertedHover);}",".f1lhgsq9.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForeground1Static);}",".fdbuq6n.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorBrandBackgroundInvertedPressed);}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".fpqizxz[data-fui-focus-visible]::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fqkqgbk[data-fui-focus-visible]::after{top:calc(var(--strokeWidthThick) * -1);}",".f1as04kd[data-fui-focus-visible]::after{right:calc(var(--strokeWidthThick) * -1);}",".ft30ozv[data-fui-focus-visible]::after{left:calc(var(--strokeWidthThick) * -1);}",".f8pxvb2[data-fui-focus-visible]::after{bottom:calc(var(--strokeWidthThick) * -1);}"],m:[["@media (forced-colors: active){.f8pusc0{background-color:Window;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqgauei{color:WindowText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ko8o2g.fui-CalendarDayGrid__hoverStyle{outline:1px solid Highlight;}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fts5qqo.fui-CalendarDayGrid__hoverStyle{z-index:3;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq2wdp5.fui-CalendarDayGrid__hoverStyle .fui-CalendarDayGrid__dayTodayMarker{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16j2ub3.fui-CalendarDayGrid__pressedStyle{background-color:Window;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f5hk6jp.fui-CalendarDayGrid__pressedStyle{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1d258es.fui-CalendarDayGrid__pressedStyle{border-right-color:Highlight;}.f1llk4aj.fui-CalendarDayGrid__pressedStyle{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftezgwa.fui-CalendarDayGrid__pressedStyle{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1iohfpm.fui-CalendarDayGrid__pressedStyle{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f226i61[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13kzufm[data-fui-focus-visible]::after{border-right-color:Highlight;}.fsx75g8[data-fui-focus-visible]::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.flujwa2[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"]}),LS=(0,qa.X)({base:{De3pzq:"f1vevd59",sj55zd:"ff5vbop",Bsw6fvg:"f1rirnrt",Bjwas2f:"f132fbg1",Bn1d65q:["f1ene5x0","fzbc999"],Bxeuatn:"f6jgcol",n51gp8:["fzbc999","f1ene5x0"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",a3nq4f:"f1chdfq9",Bnf3alp:"fq0dbue",H2c3sd:"f3pe0v7",qu8ld:"f3t0uu2",E9zv3o:"ft4goo8"}},{d:[".f1vevd59{background-color:var(--colorBrandBackgroundInvertedSelected);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f132fbg1{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ene5x0{border-right-color:Highlight;}.fzbc999{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f6jgcol{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3pe0v7:hover,.f3pe0v7.fui-CalendarDayGrid__hoverStyle,.f3pe0v7.fui-CalendarDayGrid__pressedStyle{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3t0uu2:hover,.f3t0uu2.fui-CalendarDayGrid__hoverStyle,.f3t0uu2.fui-CalendarDayGrid__pressedStyle{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ft4goo8>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}",{m:"(forced-colors: active)"}]],h:[".f1chdfq9:hover,.f1chdfq9.fui-CalendarDayGrid__hoverStyle,.f1chdfq9.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForeground1Static);}",".fq0dbue:hover,.fq0dbue.fui-CalendarDayGrid__hoverStyle,.fq0dbue.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorBrandBackgroundInvertedSelected);}"]}),jS=(0,qa.X)({base:{sj55zd:"ff5vbop",E9zv3o:"ft4goo8",B2ns3jv:"fy35frb",Bwxf4zv:0,Bp8cau8:0,Buy161k:0,Bpzqh5e:0,Fh6yq5:"f8kna22",B75pphk:"f3ef5pp",Cmeexk:["f1lmnm0c","f1nrej41"],yen2pv:"f1pt3b1q",ydc5we:["f1nrej41","f1lmnm0c"],Bz06psx:"fcydihv",Bvql7r5:["fgb2y1b","fzbode6"],k24jl4:"fofq8g1",Bksmc0g:["fzbode6","fgb2y1b"],Buxuwzc:"f36ub4m",xn840g:["f19aczhj","ffhc5ea"],Jh9m0u:"flfq9gv",Fmkg4n:["ffhc5ea","f19aczhj"],kmtgwu:"fv38a4k",g6m10a:"f1wil596",Birdjzs:["f1941p3i","fsfopon"],yojo9v:"f14tb4e3",qdeutu:["fsfopon","f1941p3i"],yfp87c:"f161hy0n",zuskld:"fbp2bxz"}},{d:[".ff5vbop{color:var(--colorNeutralForeground1Static);}",".fy35frb>.fui-CalendarDayGrid__dayButton{background-color:var(--colorBrandBackgroundInvertedSelected);}",[".f8kna22>.fui-CalendarDayGrid__dayButton{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f3ef5pp>.fui-CalendarDayGrid__dayButton{border-top-width:1px;}",".f1lmnm0c>.fui-CalendarDayGrid__dayButton{border-right-width:1px;}",".f1nrej41>.fui-CalendarDayGrid__dayButton{border-left-width:1px;}",".f1pt3b1q>.fui-CalendarDayGrid__dayButton{border-bottom-width:1px;}",".fcydihv>.fui-CalendarDayGrid__dayButton{border-top-style:solid;}",".fgb2y1b>.fui-CalendarDayGrid__dayButton{border-right-style:solid;}",".fzbode6>.fui-CalendarDayGrid__dayButton{border-left-style:solid;}",".fofq8g1>.fui-CalendarDayGrid__dayButton{border-bottom-style:solid;}",".f36ub4m>.fui-CalendarDayGrid__dayButton{border-top-color:var(--colorBrandStroke1);}",".f19aczhj>.fui-CalendarDayGrid__dayButton{border-right-color:var(--colorBrandStroke1);}",".ffhc5ea>.fui-CalendarDayGrid__dayButton{border-left-color:var(--colorBrandStroke1);}",".flfq9gv>.fui-CalendarDayGrid__dayButton{border-bottom-color:var(--colorBrandStroke1);}"],m:[["@media (forced-colors: active){.ft4goo8>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fv38a4k>.fui-CalendarDayGrid__dayButton{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wil596>.fui-CalendarDayGrid__dayButton{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1941p3i>.fui-CalendarDayGrid__dayButton{border-right-color:Highlight;}.fsfopon>.fui-CalendarDayGrid__dayButton{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14tb4e3>.fui-CalendarDayGrid__dayButton{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f161hy0n>.fui-CalendarDayGrid__dayButton{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbp2bxz>.fui-CalendarDayGrid__dayButton{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}]]}),VS=(0,qa.X)({base:{qhf8xq:"f10pi13n",mlyf9c:"f1gazwyt"},animation:{vin17d:"f5f2jbu",Bf5fcs:"fywypte",Ezkn3b:"f1ee2ue"},horizontalBackward:{Bv12yb3:["f1o9w3l8","f1kwjajc"]},horizontalForward:{Bv12yb3:["f1kwjajc","f1o9w3l8"]},verticalBackward:{Bv12yb3:"fgl3yn7"},verticalForward:{Bv12yb3:"faiu5ye"}},{d:[".f10pi13n{position:relative;}",".f5f2jbu{animation-duration:0.367s;}",".fywypte{animation-fill-mode:both;}",".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}",".f1o9w3l8{animation-name:f5j8bii,f2lgmc3;}",".f1kwjajc{animation-name:f5j8bii,fpktcv7;}",".fgl3yn7{animation-name:f5j8bii,f3bv9km;}",".faiu5ye{animation-name:f5j8bii,funtx0y;}"],w:[".f1gazwyt:focus-within{z-index:1;}"],k:["@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}","@keyframes f2lgmc3{from{pointer-events:none;transform:translate3d(-20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}","@keyframes fpktcv7{from{pointer-events:none;transform:translate3d(20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}","@keyframes f3bv9km{from{pointer-events:none;transform:translate3d(0, -20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}","@keyframes funtx0y{from{pointer-events:none;transform:translate3d(0, 20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}"]}),HS=(0,qa.X)({base:{famaaq:"f1xqy1su",vin17d:"fhsqnsn",Bf5fcs:"fywypte",Bv12yb3:"f1h7u52p",Ezkn3b:"fjq4c94"}},{d:[".f1xqy1su{-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".fhsqnsn{animation-duration:0.267s;}",".fywypte{animation-fill-mode:both;}",".f1h7u52p{animation-name:f5j8bii;}",".fjq4c94{animation-timing-function:cubic-bezier(.1,.25,.75,.9);}"],k:["@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}"]}),qS=(0,qa.X)({base:{De3pzq:"f1c21dwh",h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["fe2nn5g","f1rcbay7"],B7ck84d:"f1ewtqcl",sj55zd:"fxc4j92",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bqenvij:"fxldao9",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",a9b677:"f1w9dchk"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fe2nn5g{border-right:1px solid var(--colorNeutralStroke2);}",{p:-1}],[".f1rcbay7{border-left:1px solid var(--colorNeutralStroke2);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fxldao9{height:28px;}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f1w9dchk{width:28px;}"]}),US=(0,qa.X)({base:{x734em:"f1v4z6xg",B0ssf13:"f1u9q7oh",B8h8h5z:"f1a22lcc",Bbusuzp:"f1dcs8yz"}},{d:[".f1v4z6xg,.f1v4z6xg:disabled,.f1v4z6xg button,.f1v4z6xg.fui-CalendarDayGrid__hoverStyle,.f1v4z6xg.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorTransparentBackground);}",".f1u9q7oh,.f1u9q7oh:disabled,.f1u9q7oh button,.f1u9q7oh.fui-CalendarDayGrid__hoverStyle,.f1u9q7oh.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForegroundDisabled);}",".f1a22lcc,.f1a22lcc:disabled,.f1a22lcc button,.f1a22lcc.fui-CalendarDayGrid__hoverStyle,.f1a22lcc.fui-CalendarDayGrid__pressedStyle{pointer-events:none;}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),$S=(0,qa.X)({lightenDaysOutsideNavigatedMonth:{sj55zd:"fxc4j92",Bhrd7zp:"figsok6",Bbusuzp:"f1dcs8yz"}},{d:[".fxc4j92{color:var(--colorNeutralForeground4);}",".figsok6{font-weight:var(--fontWeightRegular);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),WS=(0,qa.X)({base:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f1ym3bx4",Bceei9c:"f1k6fduh",Be2twd7:"fy9rknc",Bhrd7zp:"ff5ikls",Bqenvij:"frvgh55",Bg96gwp:"f8xlz6g",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",a9b677:"fq4mcun",Bx0yju7:"f10y451g",l98f4w:"f1dwpgx3",Jwef8y:"f18a0fwf",Btmb5he:0,gu71dq:0,B2zomw9:0,Fgk69s:0,Bw6eyry:"f1mhq3ai",ecr2s2:"f7la2e8"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f1ym3bx4{color:inherit;}",".f1k6fduh{cursor:pointer;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".ff5ikls{font-weight:inherit;}",".frvgh55{height:24px;}",".f8xlz6g{line-height:24px;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".fq4mcun{width:24px;}",".f10y451gspan{height:inherit;}",".f1dwpgx3span{line-height:inherit;}"],h:[".f18a0fwf:hover{background-color:var(--colorBrandBackgroundInvertedHover);}",[".f1mhq3ai:hover{border-radius:var(--borderRadiusMedium);}",{p:-1}]],a:[".f7la2e8:active{background-color:var(--colorBrandBackgroundInvertedPressed);}"]}),GS=(0,qa.X)({base:{mc9l5x:"f22iagw",Brf1p80:"f4d9j23",Bt984gj:"f122n59",sj55zd:"f1phragk",Bhrd7zp:"fl43uef",kof2un:"f1b5s8wn",E9zv3o:"ft4goo8"}},{d:[".f22iagw{display:flex;}",".f4d9j23{justify-content:center;}",".f122n59{align-items:center;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1b5s8wn>.fui-CalendarDayGrid__dayMarker{background-color:var(--colorNeutralForegroundOnBrand);}"],m:[["@media (forced-colors: active){.ft4goo8>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}",{m:"(forced-colors: active)"}]]}),KS=(0,qa.X)({base:{mc9l5x:"f22iagw",Brf1p80:"f4d9j23",Bt984gj:"f122n59",De3pzq:"ffp7eso",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1qtlz2s",a9b677:"f64fuq3",Bqenvij:"fjamq6b",Bg96gwp:"f1n95isl",Bsw6fvg:"fg374yq",Bjwas2f:"fx4t0an",Bn1d65q:["f1bd7qk0","fk5vpic"],Bxeuatn:"fgxnpfp",n51gp8:["fk5vpic","f1bd7qk0"],Bbusuzp:"f1yig07e",ycbfsm:"fkc42ay"}},{d:[".f22iagw{display:flex;}",".f4d9j23{justify-content:center;}",".f122n59{align-items:center;}",".ffp7eso{background-color:var(--colorBrandBackground);}",[".f1qtlz2s{border-radius:100%;}",{p:-1}],".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".f1n95isl{line-height:20px;}"],m:[["@media (forced-colors: active){.fg374yq{background-color:WindowText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx4t0an{border-top-color:WindowText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1bd7qk0{border-right-color:WindowText;}.fk5vpic{border-left-color:WindowText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fgxnpfp{border-bottom-color:WindowText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1yig07e{color:Window;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}]]}),XS=(0,qa.X)({base:{Bqenvij:"fniina8",abs64n:"fk73vx1",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",qhf8xq:"f1euv43f",a9b677:"f3tsq5r"},verticalForward:{vin17d:"f5f2jbu",Bf5fcs:"fywypte",Bv12yb3:"fupj2f5",Ezkn3b:"f1ee2ue"}},{d:[".fniina8{height:0;}",".fk73vx1{opacity:0;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1euv43f{position:absolute;}",".f3tsq5r{width:0;}",".f5f2jbu{animation-duration:0.367s;}",".fywypte{animation-fill-mode:both;}",".fupj2f5{animation-name:f199e34v,f76svrd,f13agkrc;}",".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}"],k:["@keyframes f199e34v{from{opacity:1;}to{opacity:0;visibility:hidden;}}","@keyframes f76svrd{from{transform:translate3d(0, 0, 0);}to{transform:translate3d(0, -20px, 0);}}","@keyframes f13agkrc{100%{height:0px;overflow:hidden;width:0px;}99.9%{height:28px;overflow:visible;width:100%;}0%{height:28px;overflow:visible;width:100%;}}"]}),YS=(0,qa.X)({base:{Bqenvij:"fniina8",B6of3ja:"flykjtj",abs64n:"fk73vx1",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",qhf8xq:"f1euv43f",a9b677:"f3tsq5r"},verticalBackward:{vin17d:"f5f2jbu",Bf5fcs:"fywypte",Bv12yb3:"fifoktk",Ezkn3b:"f1ee2ue"}},{d:[".fniina8{height:0;}",".flykjtj{margin-top:-28px;}",".fk73vx1{opacity:0;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1euv43f{position:absolute;}",".f3tsq5r{width:0;}",".f5f2jbu{animation-duration:0.367s;}",".fywypte{animation-fill-mode:both;}",".fifoktk{animation-name:f199e34v,f18895iq,f13agkrc;}",".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}"],k:["@keyframes f199e34v{from{opacity:1;}to{opacity:0;visibility:hidden;}}","@keyframes f18895iq{from{transform:translate3d(0, 0, 0);}to{transform:translate3d(0, 20px, 0);}}","@keyframes f13agkrc{100%{height:0px;overflow:hidden;width:0px;}99.9%{height:28px;overflow:visible;width:100%;}0%{height:28px;overflow:visible;width:100%;}}"]}),JS=(0,qa.X)({base:{De3pzq:"fnggedw",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1qtlz2s",B5kzvoi:"f1oq0udb",Bqenvij:"f6ywr7j",oyh7mz:["f1vgc2s3","f1e31b4d"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"fcpdi13",qhf8xq:"f1euv43f",j35jbq:["f1e31b4d","f1vgc2s3"],a9b677:"faro0ui",Bsw6fvg:"fg374yq",ycbfsm:"fkc42ay"}},{d:[".fnggedw{background-color:var(--colorBrandForeground2);}",[".f1qtlz2s{border-radius:100%;}",{p:-1}],".f1oq0udb{bottom:1px;}",".f6ywr7j{height:4px;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",[".fcpdi13{margin:auto;}",{p:-1}],".f1euv43f{position:absolute;}",".faro0ui{width:4px;}"],m:[["@media (forced-colors: active){.fg374yq{background-color:WindowText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}]]}),ZS=(0,qa.X)({corners:{Cy64m2:["f1yxjewa","f5xfyye"],Bnn43bw:["f1kpdnd7","fokqrni"],feanbc:["f127emps","f1s6s1el"],B4268ip:["f39vr2a","frpqyrn"]}},{d:[".f1yxjewa.fui-CalendarDayGrid__topRightCornerDate{border-top-right-radius:var(--borderRadiusMedium);}",".f5xfyye.fui-CalendarDayGrid__topRightCornerDate{border-top-left-radius:var(--borderRadiusMedium);}",".f1kpdnd7.fui-CalendarDayGrid__topLeftCornerDate{border-top-left-radius:var(--borderRadiusMedium);}",".fokqrni.fui-CalendarDayGrid__topLeftCornerDate{border-top-right-radius:var(--borderRadiusMedium);}",".f127emps.fui-CalendarDayGrid__bottomRightCornerDate{border-bottom-right-radius:var(--borderRadiusMedium);}",".f1s6s1el.fui-CalendarDayGrid__bottomRightCornerDate{border-bottom-left-radius:var(--borderRadiusMedium);}",".f39vr2a.fui-CalendarDayGrid__bottomLeftCornerDate{border-bottom-left-radius:var(--borderRadiusMedium);}",".frpqyrn.fui-CalendarDayGrid__bottomLeftCornerDate{border-bottom-right-radius:var(--borderRadiusMedium);}"]}),QS=e=>{const{showWeekNumbers:t,strings:r,firstDayOfWeek:n,allFocusable:i,weeksToShow:a,weeks:s,classNames:l}=e,c=r.shortDays.slice();let u=-1;const d=s[1];for(let e=0;e<s[1].length;e++)if(1===d[e].originalDate.getDate()){u=e;break}return 1===a&&u>=0&&(c[(u+n)%7]=r.shortMonths[s[1][u].originalDate.getMonth()]),o.createElement("tr",null,t&&o.createElement("th",{className:l.dayCell}),c.map(((e,t)=>{const a=(t+n)%7,s=r.days[a];return o.createElement("th",{className:(0,E.z)(l.dayCell,l.weekDayLabelCell),scope:"col",key:c[a]+" "+t,title:s,"aria-label":s,tabIndex:i?0:void 0},c[a])})))},eC=(e,t)=>{if("rtl"===t)switch(e){case"ArrowLeft":return"ArrowRight";case"ArrowRight":return"ArrowLeft"}return e},tC=e=>{const{targetDate:t,initialDate:r,direction:n,...i}=e;let o=t;if(!DS(t,i))return t;for(;0!==mS(r,o)&&DS(o,i)&&!BS(o,i)&&!TS(o,i);)o=lS(o,n);return 0===mS(r,o)||DS(o,i)?void 0:o},rC="fui-CalendarDayGrid__topRightCornerDate",nC="fui-CalendarDayGrid__topLeftCornerDate",iC="fui-CalendarDayGrid__bottomRightCornerDate",oC="fui-CalendarDayGrid__bottomLeftCornerDate",aC=e=>{const{navigatedDate:t,dateTimeFormatter:r,allFocusable:n,strings:i,activeDescendantId:a,navigatedDayRef:s,calculateRoundedStyles:l,weeks:c,classNames:u,day:d,dayIndex:p,weekIndex:f,weekCorners:h,ariaHidden:g,customDayCellRef:m,dateRangeType:v,daysToSelectInDayView:y,onSelectDate:b,restrictedDates:w,minDate:S,maxDate:C,onNavigateDate:A,getDayInfosInRangeOfDay:x,getRefsFromDayInfos:k}=e;var _;const I=null!==(_=null==h?void 0:h[f+"_"+p])&&void 0!==_?_:"",P=gS(t,d.originalDate),{dir:T}=(0,Na.Y)();let B=d.originalDate.getDate()+", "+i.months[d.originalDate.getMonth()]+", "+d.originalDate.getFullYear();d.isMarked&&(B=B+", "+i.dayMarkedAriaLabel);const D=!g&&(n||!!d.isInBounds||void 0);return o.createElement("td",{className:(0,E.z)(u.dayCell,h&&I,d.isSelected&&!d.isSingleSelected&&u.daySelected,d.isSingleSelected&&u.daySingleSelected,!d.isInBounds&&u.dayOutsideBounds,!d.isInMonth&&u.dayOutsideNavigatedMonth),ref:e=>{null==m||m(e,d.originalDate,u),d.setRef(e),P&&(s.current=e)},"aria-disabled":!g&&!d.isInBounds,onClick:d.isInBounds&&!g?d.onSelected:void 0,onMouseOver:g?void 0:e=>{const t=x(d),r=k(t);r.forEach(((e,n)=>{if(e&&(e.classList.add(RS),!t[n].isSelected&&v===aS.Day&&y&&y>1)){e.classList.remove(oC,iC,nC,rC);const t=l(!1,!1,n>0,n<r.length-1).trim();t&&e.classList.add(...t.trim().split(" "))}}))},onMouseDown:g?void 0:e=>{const t=x(d);k(t).forEach((e=>{e&&e.classList.add(OS)}))},onMouseUp:g?void 0:e=>{const t=x(d);k(t).forEach((e=>{e&&e.classList.remove(OS)}))},onMouseOut:g?void 0:e=>{const t=x(d),r=k(t);r.forEach(((e,n)=>{if(e&&(e.classList.remove(RS),e.classList.remove(OS),!t[n].isSelected&&v===aS.Day&&y&&y>1)){const t=l(!1,!1,n>0,n<r.length-1).trim();t&&e.classList.remove(...t.trim().split(" "))}}))},onKeyDown:g?void 0:e=>{e.key===$l.xyI?null==b||b(d.originalDate):((e,t)=>{let r,n=1;if(e.key===$l.DoI?(r=cS(t,-1),n=-1):e.key===$l.yd$?r=cS(t,1):e.key===eC($l.nkM,T)?(r=lS(t,-1),n=-1):e.key===eC($l.Qpb,T)&&(r=lS(t,1)),!r)return;const i={initialDate:t,targetDate:r,direction:n,restrictedDates:w,minDate:S,maxDate:C};let o=tC(i);o||(i.direction=-n,o=tC(i)),c&&o&&c.slice(1,c.length-1).some((e=>e.some((e=>gS(e.originalDate,o)))))||o&&(A(o,!0),e.preventDefault())})(e,d.originalDate)},role:"gridcell",tabIndex:P||D?0:void 0,"aria-current":d.isToday?"date":void 0,"aria-selected":d.isInBounds?d.isSelected:void 0},o.createElement("button",{key:d.key+"button",className:(0,E.z)(u.dayButton,d.isToday&&u.dayIsToday),"aria-label":B,id:P?a:void 0,disabled:!g&&!d.isInBounds,type:"button",tabIndex:-1},o.createElement("span",{className:d.isToday?(0,E.z)(u.dayTodayMarker):void 0},r.formatDay(d.originalDate)),d.isMarked&&o.createElement("div",{"aria-hidden":"true",className:u.dayMarker})))},sC=e=>{const{ariaHidden:t,classNames:r,week:n,weeks:i,weekIndex:a,rowClassName:s,ariaRole:l,showWeekNumbers:c,firstDayOfWeek:u,firstWeekOfYear:d,navigatedDate:p,strings:f}=e,h=c?function(e,t,r,n){const i=n.getFullYear(),o=n.getMonth();let a=1;const s=a+(t+7-1)-function(e,t){return e!==nS.Sunday&&t<e?t+7:t}(t,new Date(i,o,a).getDay());let l=new Date(i,o,s);a=l.getDate();const c=[];for(let n=0;n<e;n++)c.push(bS(l,t,r)),a+=7,l=new Date(i,o,a);return c}(i.length,u,d,p):null,g=h?f.weekNumberFormatString&&f.weekNumberFormatString.replace("{0}",`${h[a]}`):"";return o.createElement("tr",{role:l,"aria-hidden":t,className:s,key:a+"_"+n[0].key},c&&h&&o.createElement("th",{className:r.weekNumberCell,key:a,title:g,"aria-label":g,scope:"row"},o.createElement("span",null,h[a])),n.map(((t,r)=>o.createElement(aC,{...e,key:t.key,day:t,dayIndex:r}))))};function lC(e,t,r){return o.useMemo((()=>{var n;const i=(e=>{const{selectedDate:t,dateRangeType:r,firstDayOfWeek:n,today:i,minDate:o,maxDate:a,weeksToShow:s,workWeekDays:l,daysToSelectInDayView:c,restrictedDates:u,markedDays:d}=e,p={minDate:o,maxDate:a,restrictedDates:u},f=i||new Date,h=e.navigatedDate?e.navigatedDate:f;let g;g=s&&s<=4?new Date(h.getFullYear(),h.getMonth(),h.getDate()):new Date(h.getFullYear(),h.getMonth(),1);const m=[];for(;g.getDay()!==n;)g.setDate(g.getDate()-1);g=lS(g,-7);let v=!1;const y=((e,t,r)=>!t||e!==aS.WorkWeek||((e,t,r)=>{const n=new Set(e);let i=0;for(const t of e){const e=(t+1)%7;(!n.has(e)||r===e)&&i++}return i<2})(t,0,r)&&0!==t.length?e:aS.Week)(r,l,n);let b=[];t&&(b=vS(t,y,n,l,c),b=PS(b,o,a));let w=!0;for(let e=0;w;e++){const r=[];v=!0;for(let e=0;e<7;e++){const e=new Date(g.getTime()),n={key:g.toString(),date:g.getDate().toString(),originalDate:e,isInMonth:g.getMonth()===h.getMonth(),isToday:gS(f,g),isSelected:yS(g,b),isSingleSelected:1===b.length&&gS(g,t),isInBounds:!DS(g,p),isMarked:(null==d?void 0:d.some((t=>gS(e,t))))||!1};r.push(n),n.isInMonth&&(v=!1),g.setDate(g.getDate()+1)}w=s?e<s+1:!v||0===e,m.push(r)}return m})(e),o=i[1][0].originalDate,a=i[i.length-1][6].originalDate,s=(null===(n=e.getMarkedDays)||void 0===n?void 0:n.call(e,o,a))||[],l=[];for(let e=0;e<i.length;e++){const n=[];for(let o=0;o<7;o++){const a=i[e][o],l={onSelected:()=>t(a.originalDate),setRef:r(a.key),...a,isMarked:a.isMarked||(null==s?void 0:s.some((e=>gS(a.originalDate,e))))};n.push(l)}l.push(n)}return l}),[e])}const cC=e=>{const t=o.useRef(null),r=(0,wl.Bi)(),[n,i]=function(){const e=o.useRef({});return[e,t=>r=>{null===r?delete e.current[t]:e.current[t]=r}]}(),a=lC(e,(t=>{var r,n;const{firstDayOfWeek:i,minDate:o,maxDate:a,workWeekDays:s,daysToSelectInDayView:l,restrictedDates:c}=e,u={minDate:o,maxDate:a,restrictedDates:c};let p=vS(t,d,i,s,l);p=PS(p,o,a),p=p.filter((e=>!DS(e,u))),null===(r=e.onSelectDate)||void 0===r||r.call(e,t,p),null===(n=e.onNavigateDate)||void 0===n||n.call(e,t,!0)}),i),s=function(e){const t=o.useRef();o.useEffect((()=>{t.current=e[0][0].originalDate}));const r=t.current;return r&&r.getTime()!==e[0][0].originalDate.getTime()?!(r<=e[0][0].originalDate):void 0}(a),[l,c]=function(e){const{dir:t}=(0,Na.Y)(),r=(e,r,n,i)=>{const o=[],a=!e&&!i,s=!r&&!n,l=!r&&!i;return!e&&!n&&o.push("rtl"===t?rC:nC),a&&o.push("rtl"===t?nC:rC),s&&o.push("rtl"===t?iC:oC),l&&o.push("rtl"===t?oC:iC),(0,E.z)(...o)},n=(t,r,n,i)=>{const{dateRangeType:o,firstDayOfWeek:a,workWeekDays:s}=e,l=vS(t,o===aS.WorkWeek?aS.Week:o,a,s);return n===i&&(!(!n||!i)||l.filter((e=>e.getTime()===r.getTime())).length>0)};return[e=>{const t={},i=e.slice(1,e.length-1);return i.forEach(((e,o)=>{e.forEach(((e,a)=>{const s=i[o-1]&&i[o-1][a]&&n(i[o-1][a].originalDate,e.originalDate,i[o-1][a].isSelected,e.isSelected),l=i[o+1]&&i[o+1][a]&&n(i[o+1][a].originalDate,e.originalDate,i[o+1][a].isSelected,e.isSelected),c=i[o][a-1]&&n(i[o][a-1].originalDate,e.originalDate,i[o][a-1].isSelected,e.isSelected),u=i[o][a+1]&&n(i[o][a+1].originalDate,e.originalDate,i[o][a+1].isSelected,e.isSelected);t[o+"_"+a]=r(s,l,c,u)}))})),t},r]}(e);o.useImperativeHandle(e.componentRef,(()=>({focus(){var e,r;null===(r=t.current)||void 0===r||null===(e=r.focus)||void 0===e||e.call(r)}})),[]);const{gridLabel:u,dateRangeType:d,showWeekNumbers:p,labelledBy:f,lightenDaysOutsideNavigatedMonth:h,animationDirection:g}=e,m=(e=>{const t=zS(),r=MS(),n=FS(),i=LS(),o=jS(),a=VS(),s=HS(),l=qS(),c=US(),u=$S(),d=WS(),p=GS(),f=XS(),h=YS(),g=JS(),m=ZS(),v=KS(),{animateBackwards:y,animationDirection:b,lightenDaysOutsideNavigatedMonth:w,showWeekNumbers:S}=e;return{wrapper:(0,E.z)("fui-CalendarDayGrid__wrapper",t.base),table:(0,E.z)("fui-CalendarDayGrid__table",r.base,S&&r.showWeekNumbers),dayCell:(0,E.z)("fui-CalendarDayGrid__dayCell",n.base,n.focusIndicator,m.corners),daySelected:(0,E.z)("fui-CalendarDayGrid__daySelected",i.base),daySingleSelected:(0,E.z)("fui-CalendarDayGrid__daySingleSelected",o.base),weekRow:(0,E.z)("fui-CalendarDayGrid__weekRow",a.base,void 0!==y&&a.animation,void 0!==y&&(b===NS.Horizontal?y?a.horizontalBackward:a.horizontalForward:y?a.verticalBackward:a.verticalForward)),weekDayLabelCell:(0,E.z)("fui-CalendarDayGrid__weekDayLabelCell",s.base),weekNumberCell:(0,E.z)("fui-CalendarDayGrid__weekNumberCell",l.base),dayOutsideBounds:(0,E.z)("fui-CalendarDayGrid__dayOutsideBounds",c.base),dayOutsideNavigatedMonth:(0,E.z)("fui-CalendarDayGrid__dayOutsideNavigatedMonth",w&&u.lightenDaysOutsideNavigatedMonth),dayButton:(0,E.z)("fui-CalendarDayGrid__dayButton",d.base),dayIsToday:(0,E.z)("fui-CalendarDayGrid__dayIsToday",p.base),firstTransitionWeek:(0,E.z)("fui-CalendarDayGrid__firstTransitionWeek",f.base,void 0!==y&&b!==NS.Horizontal&&!y&&f.verticalForward),lastTransitionWeek:(0,E.z)("fui-CalendarDayGrid__lastTransitionWeek",h.base,void 0!==y&&b!==NS.Horizontal&&y&&h.verticalBackward),dayMarker:(0,E.z)("fui-CalendarDayGrid__dayMarker",g.base),dayTodayMarker:(0,E.z)("fui-CalendarDayGrid__dayTodayMarker",v.base)}})({animateBackwards:s,animationDirection:g,dateRangeType:d,lightenDaysOutsideNavigatedMonth:void 0===h||h,showWeekNumbers:p}),v=l(a),y={weeks:a,navigatedDayRef:t,calculateRoundedStyles:c,activeDescendantId:r,classNames:m,weekCorners:v,getDayInfosInRangeOfDay:t=>{const r=function(e,t){if(t&&e===aS.WorkWeek){const e=t.slice().sort();let r=!0;for(let t=1;t<e.length;t++)if(e[t]!==e[t-1]+1){r=!1;break}if(!r||0===t.length)return aS.Week}return e}(e.dateRangeType,e.workWeekDays),n=vS(t.originalDate,r,e.firstDayOfWeek,e.workWeekDays,e.daysToSelectInDayView).map((e=>e.getTime()));return a.reduce(((e,t)=>e.concat(t.filter((e=>-1!==n.indexOf(e.originalDate.getTime()))))),[])},getRefsFromDayInfos:e=>{let t=[];return t=e.map((e=>n.current[e.key])),t}},b=La({axis:"grid"});return o.createElement("table",{className:(0,E.z)(m.table,e.className),"aria-multiselectable":"false","aria-label":u,"aria-labelledby":f,"aria-activedescendant":r,role:"grid",...b},o.createElement("tbody",null,o.createElement(QS,{...e,classNames:m,weeks:a}),o.createElement(sC,{...e,...y,week:a[0],weekIndex:-1,rowClassName:m.firstTransitionWeek,"aria-role":"presentation",ariaHidden:!0}),a.slice(1,a.length-1).map(((t,r)=>o.createElement(sC,{...e,...y,key:r,week:t,weekIndex:r,rowClassName:m.weekRow}))),o.createElement(sC,{...e,...y,week:a[a.length-1],weekIndex:-2,rowClassName:m.lastTransitionWeek,"aria-role":"presentation",ariaHidden:!0})))};cC.displayName="CalendarDayGrid";const uC=(0,qa.X)({base:{B7ck84d:"f1e4lqlz",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4",a9b677:"f4m2ahc"},normalize:{E5pizo:"f1couhl3",B7ck84d:"f1ewtqcl",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai"},showWeekNumbers:{a9b677:"fl524qk"}},{d:[".f1e4lqlz{box-sizing:content-box;}",[".f1sy4kr4{padding:12px;}",{p:-1}],".f4m2ahc{width:196px;}",".f1couhl3{box-shadow:none;}",".f1ewtqcl{box-sizing:border-box;}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".fl524qk{width:226px;}"]}),dC=(0,qa.X)({base:{mc9l5x:"ftuwxu6",Bqenvij:"fxldao9",Bg96gwp:"f1vzymgo",qhf8xq:"f10pi13n",a9b677:"fly5x3f"}},{d:[".ftuwxu6{display:inline-flex;}",".fxldao9{height:28px;}",".f1vzymgo{line-height:44px;}",".f10pi13n{position:relative;}",".fly5x3f{width:100%;}"]}),pC=(0,qa.X)({base:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",mc9l5x:"f14t3ns0",Bh6795r:"fqerorx",Bahqtrf:"f1mo0ibp",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f336tjw",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1td8mcv","f1udkdxo"],fsow6f:["f1o700av","fes3tcz"],ygn44y:"f1cmbuwj",Huce71:"fz5stix"},animation:{vin17d:"fhsqnsn",Bf5fcs:"fywypte",Bv12yb3:"f1h7u52p",Ezkn3b:"fjq4c94"},headerIsClickable:{Jwef8y:"f18a0fwf",Bi91k9c:"f3sdaeg",eoavqd:"f8491dx",pugfm4:0,ukgb2i:0,Dwtyhm:0,Biisq0s:"f15rpok4",iro3zm:"f1wvkgvo",B2d53fq:"f1wdoaqd",c3iz72:"f13c0t7h",mghro0:0,Bx68yb:0,syojd9:0,E5hylx:"fy2scak"}},{d:[".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14t3ns0{display:inline-block;}",".fqerorx{flex-grow:1;}",".f1mo0ibp{font-family:inherit;}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f336tjw{line-height:28px;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1td8mcv{padding:0 4px 0 10px;}",{p:-1}],[".f1udkdxo{padding:0 10px 0 4px;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1cmbuwj{text-overflow:ellipsis;}",".fz5stix{white-space:nowrap;}",".fhsqnsn{animation-duration:0.267s;}",".fywypte{animation-fill-mode:both;}",".f1h7u52p{animation-name:f5j8bii;}",".fjq4c94{animation-timing-function:cubic-bezier(.1,.25,.75,.9);}"],k:["@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}"],h:[".f18a0fwf:hover{background-color:var(--colorBrandBackgroundInvertedHover);}",".f3sdaeg:hover{color:var(--colorBrandForegroundOnLightHover);}",".f8491dx:hover{cursor:pointer;}",[".f15rpok4:hover{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],".f1wvkgvo:hover:active{background-color:var(--colorBrandBackgroundInvertedPressed);}",".f1wdoaqd:hover:active{color:var(--colorBrandForegroundOnLightPressed);}",".f13c0t7h:hover:active{cursor:pointer;}",[".fy2scak:hover:active{outline:1px solid var(--colorTransparentStroke);}",{p:-1}]]}),fC=(0,qa.X)({base:{qb2dma:"fpydfdc",mc9l5x:"ftuwxu6"}},{d:[".fpydfdc{align-self:flex-end;}",".ftuwxu6{display:inline-flex;}"]}),hC=(0,qa.X)({base:{De3pzq:"f1c21dwh",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f11d4kpn",mc9l5x:"ftgm304",Bahqtrf:"f1mo0ibp",Be2twd7:"fy9rknc",Bqenvij:"fxldao9",Bg96gwp:"f336tjw",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",qhf8xq:"f10pi13n",fsow6f:"f17mccla",a9b677:"f1w9dchk",Jwef8y:"f18a0fwf",Bi91k9c:"f3sdaeg",eoavqd:"f8491dx",pugfm4:0,ukgb2i:0,Dwtyhm:0,Biisq0s:"f15rpok4",iro3zm:"f1wvkgvo",B2d53fq:"f1wdoaqd"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f11d4kpn{color:var(--colorNeutralForeground3);}",".ftgm304{display:block;}",".f1mo0ibp{font-family:inherit;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fxldao9{height:28px;}",".f336tjw{line-height:28px;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f10pi13n{position:relative;}",".f17mccla{text-align:center;}",".f1w9dchk{width:28px;}"],h:[".f18a0fwf:hover{background-color:var(--colorBrandBackgroundInvertedHover);}",".f3sdaeg:hover{color:var(--colorBrandForegroundOnLightHover);}",".f8491dx:hover{cursor:pointer;}",[".f15rpok4:hover{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],".f1wvkgvo:hover:active{background-color:var(--colorBrandBackgroundInvertedPressed);}",".f1wdoaqd:hover:active{color:var(--colorBrandForegroundOnLightPressed);}"]}),gC=(0,qa.X)({base:{Bg33ivm:"f1oelgmz",t69wg0:"fhh1ekj"}},{d:[".f1oelgmz,.f1oelgmz:disabled,.f1oelgmz button{color:var(--colorNeutralForegroundDisabled);}",".fhh1ekj,.fhh1ekj:disabled,.fhh1ekj button{pointer-events:none;}"]}),mC=e=>{const t=o.useRef(null);o.useImperativeHandle(e.componentRef,(()=>({focus(){var e,r;null===(r=t.current)||void 0===r||null===(e=r.focus)||void 0===e||e.call(r)}})),[]);const{strings:r,gridLabel:n,navigatedDate:i,dateTimeFormatter:a,className:s,onHeaderSelect:l,showSixWeeksByDefault:c,minDate:u,maxDate:d,restrictedDates:p,onNavigateDate:f,showWeekNumbers:h,dateRangeType:g,animationDirection:m}=e,v=(e=>{const t=uC(),r=dC(),n=pC(),i=fC(),o=hC(),a=gC(),{className:s,headerIsClickable:l,showWeekNumbers:c}=e;return{root:(0,E.z)("fui-CalendarDay",t.normalize,t.base,c&&t.showWeekNumbers,s),header:(0,E.z)("fui-CalendarDay__header",r.base),monthAndYear:(0,E.z)("fui-CalendarDay__monthAndYear",n.base,n.animation,l&&n.headerIsClickable),monthComponents:(0,E.z)("fui-CalendarDay__monthComponents",i.base),headerIconButton:(0,E.z)("fui-CalendarDay__headerIconButton",o.base),disabledStyle:(0,E.z)("fui-CalendarDay__disabledStyle",a.base)}})({className:s,headerIsClickable:!!l,showWeekNumbers:h,animationDirection:m}),y=a.formatMonthYear(i,r),b=l?"button":"div",w=r.yearPickerHeaderAriaLabel?r.yearPickerHeaderAriaLabel.replace("{0}",y):y,{...S}=e;return o.createElement("div",{className:v.root},o.createElement("div",{className:v.header},o.createElement(b,{"aria-label":l?w:void 0,className:v.monthAndYear,onClick:l,tabIndex:l?0:-1,onKeyDown:yC(l),type:"button"},o.createElement("span",{"aria-live":"polite","aria-atomic":"true"},y)),o.createElement(vC,{...e,classNames:v})),o.createElement(cC,{...S,gridLabel:`${y}, ${n}`,componentRef:t,strings:r,navigatedDate:i,weeksToShow:c?6:void 0,dateTimeFormatter:a,minDate:u,maxDate:d,restrictedDates:p,onNavigateDate:f,dateRangeType:g}))};mC.displayName="CalendarDay";const vC=e=>{const{minDate:t,maxDate:r,navigatedDate:n,navigationIcons:i,allFocusable:a,strings:s,showCloseButton:l,classNames:c,onNavigateDate:u,onDismiss:d}=e,p=()=>{u(uS(n,1),!1)},f=()=>{u(uS(n,-1),!1)},h=!t||mS(t,pS(n))<0,g=!r||mS(fS(n),r)<0;return o.createElement("div",{className:c.monthComponents},o.createElement("button",{className:(0,E.z)(c.headerIconButton,!h&&c.disabledStyle),tabIndex:h?void 0:a?0:-1,"aria-disabled":!h,onClick:h?f:void 0,onKeyDown:h?yC(f):void 0,title:s.prevMonthAriaLabel?s.prevMonthAriaLabel+" "+s.months[uS(n,-1).getMonth()]:void 0,type:"button"},i.upNavigation),o.createElement("button",{className:(0,E.z)(c.headerIconButton,!g&&c.disabledStyle),tabIndex:g?void 0:a?0:-1,"aria-disabled":!g,onClick:g?p:void 0,onKeyDown:g?yC(p):void 0,title:s.nextMonthAriaLabel?s.nextMonthAriaLabel+" "+s.months[uS(n,1).getMonth()]:void 0,type:"button"},i.downNavigation),l&&o.createElement("button",{className:c.headerIconButton,onClick:d,onKeyDown:yC(d),title:s.closeButtonAriaLabel,type:"button"},i.dismiss))};vC.displayName="CalendarDayNavigationButtons";const yC=e=>t=>{t.key===$l.xyI&&(null==e||e())},bC=(0,qa.X)({base:{B7ck84d:"f1e4lqlz",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4",a9b677:"f4m2ahc"},normalize:{E5pizo:"f1couhl3",B7ck84d:"f1ewtqcl",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai"}},{d:[".f1e4lqlz{box-sizing:content-box;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1sy4kr4{padding:12px;}",{p:-1}],".f4m2ahc{width:196px;}",".f1couhl3{box-shadow:none;}",".f1ewtqcl{box-sizing:border-box;}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}]]}),wC=(0,qa.X)({base:{mc9l5x:"f22iagw"}},{d:[".f22iagw{display:flex;}"]}),SC=(0,qa.X)({base:{De3pzq:"f1c21dwh",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f1ym3bx4",Bh6795r:"fqerorx",Bahqtrf:"f1mo0ibp",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1td8mcv","f1udkdxo"],fsow6f:["f1o700av","fes3tcz"]},animation:{vin17d:"fhsqnsn",Bf5fcs:"fywypte",Bv12yb3:"f1h7u52p",Ezkn3b:"fjq4c94"},hasHeaderClickCallback:{Jwef8y:"f18a0fwf",Bi91k9c:"f3sdaeg",eoavqd:"f8491dx",pugfm4:0,ukgb2i:0,Dwtyhm:0,Biisq0s:"f15rpok4",iro3zm:"f1wvkgvo",B2d53fq:"f1wdoaqd",c3iz72:"f13c0t7h",mghro0:0,Bx68yb:0,syojd9:0,E5hylx:"fy2scak"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ym3bx4{color:inherit;}",".fqerorx{flex-grow:1;}",".f1mo0ibp{font-family:inherit;}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1td8mcv{padding:0 4px 0 10px;}",{p:-1}],[".f1udkdxo{padding:0 10px 0 4px;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fhsqnsn{animation-duration:0.267s;}",".fywypte{animation-fill-mode:both;}",".f1h7u52p{animation-name:f5j8bii;}",".fjq4c94{animation-timing-function:cubic-bezier(.1,.25,.75,.9);}"],k:["@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}"],h:[".f18a0fwf:hover{background-color:var(--colorBrandBackgroundInvertedHover);}",".f3sdaeg:hover{color:var(--colorBrandForegroundOnLightHover);}",".f8491dx:hover{cursor:pointer;}",[".f15rpok4:hover{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],".f1wvkgvo:hover:active{background-color:var(--colorBrandBackgroundInvertedPressed);}",".f1wdoaqd:hover:active{color:var(--colorBrandForegroundOnLightPressed);}",".f13c0t7h:hover:active{cursor:pointer;}",[".fy2scak:hover:active{outline:1px solid var(--colorTransparentStroke);}",{p:-1}]]}),CC=(0,qa.X)({base:{Bt984gj:"f122n59",mc9l5x:"f22iagw"}},{d:[".f122n59{align-items:center;}",".f22iagw{display:flex;}"]}),AC=(0,qa.X)({base:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",mc9l5x:"ftgm304",Bahqtrf:"f1mo0ibp",Be2twd7:"fy9rknc",Bqenvij:"fxldao9",Bg96gwp:"f336tjw",sshi5w:"f1ysfysz",Bf4jedk:"f107v6xj",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",qhf8xq:"f10pi13n",fsow6f:"f17mccla",a9b677:"f1w9dchk",Jwef8y:"f18a0fwf",Bi91k9c:"f3sdaeg",eoavqd:"f8491dx",pugfm4:0,ukgb2i:0,Dwtyhm:0,Biisq0s:"f15rpok4",iro3zm:"f1wvkgvo",B2d53fq:"f1wdoaqd"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".ftgm304{display:block;}",".f1mo0ibp{font-family:inherit;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fxldao9{height:28px;}",".f336tjw{line-height:28px;}",".f1ysfysz{min-height:28px;}",".f107v6xj{min-width:28px;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f10pi13n{position:relative;}",".f17mccla{text-align:center;}",".f1w9dchk{width:28px;}"],h:[".f18a0fwf:hover{background-color:var(--colorBrandBackgroundInvertedHover);}",".f3sdaeg:hover{color:var(--colorBrandForegroundOnLightHover);}",".f8491dx:hover{cursor:pointer;}",[".f15rpok4:hover{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],".f1wvkgvo:hover:active{background-color:var(--colorBrandBackgroundInvertedPressed);}",".f1wdoaqd:hover:active{color:var(--colorBrandForegroundOnLightPressed);}"]}),xC=(0,qa.X)({base:{B6of3ja:"fvjh0tl"}},{d:[".fvjh0tl{margin-top:4px;}"]}),kC=(0,qa.X)({base:{jrapky:"f15tpi3i",sw9gdo:"f1gdbdba"},animation:{vin17d:"f5f2jbu",Bf5fcs:"fywypte",Ezkn3b:"f1ee2ue"},horizontalBackward:{Bv12yb3:["f1o9w3l8","f1kwjajc"]},horizontalForward:{Bv12yb3:["f1kwjajc","f1o9w3l8"]},verticalBackward:{Bv12yb3:"fgl3yn7"},verticalForward:{Bv12yb3:"faiu5ye"}},{d:[".f15tpi3i{margin-bottom:16px;}",".f1gdbdba:last-of-type{margin-bottom:0;}",".f5f2jbu{animation-duration:0.367s;}",".fywypte{animation-fill-mode:both;}",".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}",".f1o9w3l8{animation-name:f5j8bii,f2lgmc3;}",".f1kwjajc{animation-name:f5j8bii,fpktcv7;}",".fgl3yn7{animation-name:f5j8bii,f3bv9km;}",".faiu5ye{animation-name:f5j8bii,funtx0y;}"],k:["@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}","@keyframes f2lgmc3{from{pointer-events:none;transform:translate3d(-20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}","@keyframes fpktcv7{from{pointer-events:none;transform:translate3d(20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}","@keyframes f3bv9km{from{pointer-events:none;transform:translate3d(0, -20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}","@keyframes funtx0y{from{pointer-events:none;transform:translate3d(0, 20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}"]}),EC=(0,qa.X)({base:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f11d4kpn",Bahqtrf:"f1mo0ibp",Be2twd7:"fy9rknc",Bqenvij:"fbhnoac",Bg96gwp:"fc76cdq",sshi5w:"f1w5jphr",Bf4jedk:"f12clzc2",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:["f1ytixos","fqk6p8t"],B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",a9b677:"feqmc2u",Btgfwho:["f65zstl","f1yt3tqw"],xrote9:"flfbxit",Bja5ulm:"ff5vbxt",Jwef8y:"f18a0fwf",Bi91k9c:"f1u69ym5",eoavqd:"f8491dx",pugfm4:0,ukgb2i:0,Dwtyhm:0,Biisq0s:"f15rpok4",Bqrx1nm:"f9ep5xw",ze5xyy:"f1qvjex",iyr2r2:"fd2qbv0",Bx7pl5v:0,Bnosqey:0,Bv57zgv:0,Bbxjs3m:"fm3bo9w",iro3zm:"f1wvkgvo",g2kj27:"f1b9qfq3",pc6evw:"f9ddjv3",B76w7ga:"fr4cgi0"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1mo0ibp{font-family:inherit;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fbhnoac{height:40px;}",".fc76cdq{line-height:40px;}",".f1w5jphr{min-height:40px;}",".f12clzc2{min-width:40px;}",[".f1ytixos{margin:0 12px 0 0;}",{p:-1}],[".fqk6p8t{margin:0 0 0 12px;}",{p:-1}],[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".feqmc2u{width:40px;}",".f65zstl:nth-child(4n + 4){margin-right:0;}",".f1yt3tqw:nth-child(4n + 4){margin-left:0;}",".flfbxit:nth-child(n + 9){margin-bottom:0;}",".ff5vbxt div{font-weight:var(--fontWeightRegular);}"],h:[".f18a0fwf:hover{background-color:var(--colorBrandBackgroundInvertedHover);}",".f1u69ym5:hover{color:var(--colorNeutralForeground1Static);}",".f8491dx:hover{cursor:pointer;}",[".f15rpok4:hover{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],".f1wvkgvo:hover:active{background-color:var(--colorBrandBackgroundInvertedPressed);}"],m:[["@media (forced-colors: active){.f9ep5xw:hover{background-color:Window;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1qvjex:hover{color:WindowText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd2qbv0:hover{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fm3bo9w:hover{outline:1px solid Highlight;}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1b9qfq3:hover:active{background-color:Window;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fr4cgi0:hover:active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}]]}),_C=(0,qa.X)({highlightCurrent:{De3pzq:"ffp7eso",sj55zd:"f1phragk",Bhrd7zp:"fl43uef",Bsw6fvg:"fg374yq",Bbusuzp:"f1yig07e",ycbfsm:"fkc42ay",mk428o:"ffic4m0",B1lrsqs:"f13lyc4l",z0vste:"f13g7o2i",Bgjd7nk:"fbbf6h8",kur00z:"f1fsg2me"}},{d:[".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.fg374yq{background-color:WindowText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1yig07e{color:Window;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13g7o2i:hover,.f13g7o2i:hover:active{background-color:WindowText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbbf6h8:hover,.fbbf6h8:hover:active{color:Window;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1fsg2me:hover,.f1fsg2me:hover:active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}]],h:[".ffic4m0:hover,.ffic4m0:hover:active{background-color:var(--colorBrandBackground);}",".f13lyc4l:hover,.f13lyc4l:hover:active{color:var(--colorNeutralForegroundOnBrand);}"]}),IC=(0,qa.X)({highlightSelected:{De3pzq:"f1vevd59",sj55zd:"ff5vbop",Bhrd7zp:"fl43uef",Bsw6fvg:"f1rirnrt",Bbusuzp:"f1yig07e",ycbfsm:"fkc42ay",Bja5ulm:"fospawf",Jwef8y:"fbo057p",Bi91k9c:"f1u69ym5",Bqrx1nm:"fiu8gst",ze5xyy:"f1v4q6pl",iyr2r2:"fd2qbv0",iro3zm:"f1wvkgvo"}},{d:[".f1vevd59{background-color:var(--colorBrandBackgroundInvertedSelected);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fospawf div{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1yig07e{color:Window;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fiu8gst:hover{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v4q6pl:hover{color:Window;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd2qbv0:hover{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}]],h:[".fbo057p:hover{background-color:var(--colorBrandBackgroundInvertedSelected);}",".f1u69ym5:hover{color:var(--colorNeutralForeground1Static);}",".f1wvkgvo:hover:active{background-color:var(--colorBrandBackgroundInvertedPressed);}"]}),PC=(0,qa.X)({base:{Bg33ivm:"f1oelgmz",t69wg0:"fhh1ekj",Bbusuzp:"f1dcs8yz",ycbfsm:"fkc42ay"}},{d:[".f1oelgmz,.f1oelgmz:disabled,.f1oelgmz button{color:var(--colorNeutralForegroundDisabled);}",".fhh1ekj,.fhh1ekj:disabled,.fhh1ekj button{pointer-events:none;}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}]]}),TC=e=>{const t=bC(),r=wC(),n=SC(),i=CC(),o=AC(),a=xC(),s=kC(),l=EC(),c=_C(),u=IC(),d=PC(),{animateBackwards:p,animationDirection:f,className:h,hasHeaderClickCallback:g,highlightCurrent:m,highlightSelected:v}=e;return{root:(0,E.z)("fui-CalendarPicker",t.normalize,t.base,h),headerContainer:(0,E.z)("fui-CalendarPicker__headerContainer",r.base),currentItemButton:(0,E.z)("fui-CalendarPicker__currentItemButton",n.base,void 0!==p&&n.animation,g&&n.hasHeaderClickCallback),navigationButtonsContainer:(0,E.z)("fui-CalendarPicker__navigationButtonsContainer",i.base),navigationButton:(0,E.z)("fui-CalendarPicker__navigationButton",o.base),gridContainer:(0,E.z)("fui-CalendarPicker__gridContainer",a.base),buttonRow:(0,E.z)("fui-CalendarPicker__buttonRow",s.base,s.animation,void 0!==p&&(f===NS.Horizontal?p?s.horizontalBackward:s.horizontalForward:p?s.verticalBackward:s.verticalForward)),itemButton:(0,E.z)("fui-CalendarPicker__itemButton",l.base),selected:(0,E.z)("fui-CalendarPicker__selected",v&&u.highlightSelected),current:(0,E.z)("fui-CalendarPicker__current",m&&c.highlightCurrent),disabled:(0,E.z)("fui-CalendarPicker__disabled",d.base)}},BC=e=>TC(e),DC={prevRangeAriaLabel:void 0,nextRangeAriaLabel:void 0},NC=e=>{const{className:t,highlightCurrentYear:r,highlightSelectedYear:n,year:i,selected:a,disabled:s,componentRef:l,onSelectYear:c,onRenderYear:u}=e,d=o.useRef(null);o.useImperativeHandle(l,(()=>({focus(){var e,t;null===(t=d.current)||void 0===t||null===(e=t.focus)||void 0===e||e.call(t)}})),[]);const p=BC({className:t,highlightCurrent:r,highlightSelected:n});var f;return o.createElement("button",{className:(0,E.z)(p.itemButton,a&&p.selected,s&&p.disabled),type:"button",role:"gridcell",onClick:s?void 0:()=>{null==c||c(i)},onKeyDown:s?void 0:e=>{e.key===$l.xyI&&(null==c||c(i))},disabled:s,"aria-selected":a,ref:d},null!==(f=null==u?void 0:u(i))&&void 0!==f?f:i)};NC.displayName="CalendarYearGridCell";const RC=e=>{const{className:t,fromYear:r,toYear:n,animationDirection:i,animateBackwards:a,minYear:s,maxYear:l,onSelectYear:c,selectedYear:u,componentRef:d}=e,p=o.useRef(null),f=o.useRef(null);o.useImperativeHandle(d,(()=>({focus(){var e,t;null===(t=p.current||f.current)||void 0===t||null===(e=t.focus)||void 0===e||e.call(t)}})),[]);const h=t=>{const r=t===u,n=void 0!==s&&t<s||void 0!==l&&t>l,i=t===(new Date).getFullYear();return o.createElement(NC,{...e,key:t,year:t,selected:r,current:i,disabled:n,onSelectYear:c,componentRef:r?p:i?f:void 0})},g=BC({className:t,animateBackwards:a,animationDirection:i}),m=t=>{var r,n;return null!==(n=null===(r=e.onRenderYear)||void 0===r?void 0:r.call(e,t))&&void 0!==n?n:t},v=`${m(r)} - ${m(n)}`;let y=r;const b=[];for(let e=0;e<(n-r+1)/4;e++){b.push([]);for(let t=0;t<4;t++)b[e].push(h(y)),y++}const w=La({axis:"grid"});return o.createElement("div",{...w,className:g.gridContainer,role:"grid","aria-label":v},b.map(((e,t)=>o.createElement("div",{key:"yearPickerRow_"+t+"_"+r,role:"row",className:g.buttonRow},e))))};RC.displayName="CalendarYearGrid";const OC=e=>{const{className:t,strings:r=DC,direction:n,onSelectPrev:i,onSelectNext:a,fromYear:s,toYear:l,maxYear:c,minYear:u,navigationIcons:d}=e,p=BC({className:t}),f=0===n?r.prevRangeAriaLabel:r.nextRangeAriaLabel,h=0===n?-12:12,g=f?"string"==typeof f?f:f({fromYear:s+h,toYear:l+h}):void 0,m=0===n?void 0!==u&&s<u:void 0!==c&&e.fromYear+12>c,v=()=>{0===n?null==i||i():null==a||a()};return o.createElement("button",{className:(0,E.z)(p.navigationButton,m&&p.disabled),onClick:m?void 0:v,onKeyDown:m?void 0:e=>{e.key===$l.xyI&&v()},type:"button",title:g,disabled:m},0===n?d.upNavigation:d.downNavigation)};OC.displayName="CalendarYearNavArrow";const zC=e=>{const{className:t}=e,r=BC({className:t});return o.createElement("div",{className:r.navigationButtonsContainer},o.createElement(OC,{...e,direction:0}),o.createElement(OC,{...e,direction:1}))};zC.displayName="CalendarYearNav";const MC=e=>{const{className:t,fromYear:r,toYear:n,strings:i=DC,animateBackwards:a,animationDirection:s}=e,l=()=>{var t;null===(t=e.onHeaderSelect)||void 0===t||t.call(e,!0)},c=e=>{e.key!==$l.xyI&&e.key!==$l.$xS||l()},u=t=>{var r,n;return null!==(n=null===(r=e.onRenderYear)||void 0===r?void 0:r.call(e,t))&&void 0!==n?n:t},d=BC({className:t,hasHeaderClickCallback:!!e.onHeaderSelect,animateBackwards:a,animationDirection:s});if(e.onHeaderSelect){const t=i.rangeAriaLabel,a=i.headerAriaLabelFormatString,s=t?"string"==typeof t?t:t(e):void 0,p=a?a.replace("{0}",null!=s?s:""):s;return o.createElement("button",{className:d.currentItemButton,onClick:l,onKeyDown:c,"aria-label":p,role:"button",type:"button"},o.createElement("span",{"aria-live":"assertive","aria-atomic":"true"},u(r)," - ",u(n)))}return o.createElement("div",{className:d.current},u(r)," - ",u(n))};MC.displayName="CalendarYearTitle";const FC=e=>{const{className:t,animateBackwards:r,animationDirection:n,onRenderTitle:i}=e,a=BC({className:t,hasHeaderClickCallback:!!e.onHeaderSelect,animateBackwards:r,animationDirection:n});var s;return o.createElement("div",{className:a.headerContainer},null!==(s=null==i?void 0:i(e))&&void 0!==s?s:o.createElement(MC,e),o.createElement(zC,e))};FC.displayName="CalendarYearHeader";const LC=e=>{const t=function({selectedYear:e,navigatedYear:t}){const r=e||t||(new Date).getFullYear(),n=10*Math.floor(r/10),i=o.useRef(n);o.useRef((()=>{i.current=n}));const a=i.current;return a&&a!==n?a>n:void 0}(e),[r,n,i,a]=function({selectedYear:e,navigatedYear:t}){const r=o.useMemo((()=>e||t||10*Math.floor((new Date).getFullYear()/10)),[t,e]),[n,i]=o.useState(r);return o.useEffect((()=>{i(r)}),[r]),[n,n+12-1,()=>{i((e=>e+12))},()=>{i((e=>e-12))}]}(e),s=o.useRef(null);o.useImperativeHandle(e.componentRef,(()=>({focus(){var e,t;null===(t=s.current)||void 0===t||null===(e=t.focus)||void 0===e||e.call(t)}})));const{className:l}=e,c=BC({className:l});return o.createElement("div",{className:c.root},o.createElement(FC,{...e,fromYear:r,toYear:n,onSelectPrev:a,onSelectNext:i,animateBackwards:t}),o.createElement(RC,{...e,fromYear:r,toYear:n,animateBackwards:t,componentRef:s}))};LC.displayName="CalendarYear";const jC=e=>{const{allFocusable:t,animationDirection:r,className:n,componentRef:i,dateTimeFormatter:a=_S,highlightCurrentMonth:s,highlightSelectedMonth:l,maxDate:c,minDate:u,navigatedDate:d,navigationIcons:p,onHeaderSelect:f,onNavigateDate:h,selectedDate:g,strings:m,today:v=new Date,yearPickerHidden:y=!1}=e,[b,w,S]=function({componentRef:e}){const t=o.useRef(null),r=o.useRef(null),n=o.useRef(!1),i=o.useCallback((()=>{r.current?r.current.focus():t.current&&t.current.focus()}),[]);return o.useImperativeHandle(e,(()=>({focus:i})),[i]),o.useEffect((()=>{n.current&&(i(),n.current=!1)})),[t,r,()=>{n.current=!0}]}({componentRef:i}),[C,A]=o.useState(!1),x=function({navigatedDate:e}){const t=e.getFullYear(),r=o.useRef();o.useEffect((()=>{r.current=t}));const n=r.current;return void 0===n||n===t?void 0:n>t}({navigatedDate:d}),k=e=>()=>P(e),_=()=>{h(dS(d,1),!1)},I=()=>{h(dS(d,-1),!1)},P=e=>{null==f||f(),h(hS(d,e),!0)},T=()=>{y?null==f||f():(S(),A(!0))},B=e=>{if(S(),d.getFullYear()!==e){let t=new Date(d.getTime());t.setFullYear(e),c&&t>c?t=hS(t,c.getMonth()):u&&t<u&&(t=hS(t,u.getMonth())),h(t,!0)}A(!1)},D=e=>{S(),A(!1)},N=a,R=!u||mS(u,new Date(d.getFullYear(),0,1,0,0,0,0))<0,O=!c||mS(new Date(d.getFullYear()+1,0,0,0,0,0,0),c)<0,z=(e=>TC(e))({className:n,hasHeaderClickCallback:!!f||!y,highlightCurrent:s,highlightSelected:l,animateBackwards:x,animationDirection:r}),M=La({axis:"grid"});if(C){const[e,t]=function({dateTimeFormatter:e,navigatedDate:t,strings:r}){const n=r=>{if(e){const n=new Date(t.getTime());return n.setFullYear(r),e.formatYear(n)}return String(r)},i=e=>`${n(e.fromYear)} - ${n(e.toYear)}`;return[n,{rangeAriaLabel:i,prevRangeAriaLabel:e=>r.prevYearRangeAriaLabel?`${r.prevYearRangeAriaLabel} ${i(e)}`:"",nextRangeAriaLabel:e=>r.nextYearRangeAriaLabel?`${r.nextYearRangeAriaLabel} ${i(e)}`:"",headerAriaLabelFormatString:r.yearPickerHeaderAriaLabel}]}({dateTimeFormatter:a,navigatedDate:d,strings:m});return o.createElement(LC,{key:"calendarYear",minYear:u?u.getFullYear():void 0,maxYear:c?c.getFullYear():void 0,onSelectYear:B,onHeaderSelect:D,selectedYear:g?g.getFullYear():d?d.getFullYear():void 0,navigatedYear:d.getFullYear(),navigationIcons:p,onRenderYear:e,strings:t,componentRef:w,highlightCurrentYear:s,highlightSelectedYear:l,animationDirection:r})}const F=[];for(let e=0;e<m.shortMonths.length/4;e++)F.push(e);const L=N.formatYear(d),j=m.monthPickerHeaderAriaLabel?m.monthPickerHeaderAriaLabel.replace("{0}",L):L;return o.createElement("div",{className:z.root},o.createElement("div",{className:z.headerContainer},o.createElement("button",{className:z.currentItemButton,onClick:T,onKeyDown:HC(T),"aria-label":j,tabIndex:f||!y?0:-1,type:"button"},o.createElement("span",{"aria-live":"polite","aria-atomic":"true"},L)),o.createElement("div",{className:z.navigationButtonsContainer},o.createElement("button",{className:(0,E.z)(z.navigationButton,!R&&z.disabled),"aria-disabled":!R,tabIndex:R?void 0:t?0:-1,onClick:R?I:void 0,onKeyDown:R?HC(I):void 0,title:m.prevYearAriaLabel?m.prevYearAriaLabel+" "+N.formatYear(dS(d,-1)):void 0,type:"button"},p.upNavigation),o.createElement("button",{className:(0,E.z)(z.navigationButton,!O&&z.disabled),"aria-disabled":!O,tabIndex:O?void 0:t?0:-1,onClick:O?_:void 0,onKeyDown:O?HC(_):void 0,title:m.nextYearAriaLabel?m.nextYearAriaLabel+" "+N.formatYear(dS(d,1)):void 0,type:"button"},p.downNavigation))),o.createElement("div",{...M,className:z.gridContainer,role:"grid","aria-label":L},F.map((e=>{const r=m.shortMonths.slice(4*e,4*(e+1));return o.createElement("div",{key:"monthRow_"+e+d.getFullYear(),role:"row",className:z.buttonRow},r.map(((r,n)=>{const i=4*e+n,a=hS(d,i),p=d.getMonth()===i,f=g.getMonth()===i,h=g.getFullYear()===d.getFullYear(),y=(!u||mS(u,fS(a))<1)&&(!c||mS(pS(a),c)<1);return o.createElement("button",{ref:p?b:void 0,role:"gridcell",className:(0,E.z)(z.itemButton,s&&VC(i,d.getFullYear(),v)&&z.current,l&&f&&h&&z.selected,!y&&z.disabled),disabled:!t&&!y,key:i,onClick:y?k(i):void 0,onKeyDown:y?HC(k(i)):void 0,"aria-label":N.formatMonth(a,m),"aria-selected":p,tabIndex:y?0:-1,type:"button"},r)})))}))))};function VC(e,t,r){return r.getFullYear()===t&&r.getMonth()===e}function HC(e){return t=>{t.key===$l.xyI&&e()}}jC.displayName="CalendarMonth";const qC=(0,Nm.U)("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]),UC=(0,Nm.U)("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0}),$C=(0,Nm.U)("CalendarMonthRegular","1em",["M14.5 3A2.5 2.5 0 0 1 17 5.5v9a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 3 14.5v-9A2.5 2.5 0 0 1 5.5 3h9Zm0 1h-9C4.67 4 4 4.67 4 5.5v9c0 .83.67 1.5 1.5 1.5h9c.83 0 1.5-.67 1.5-1.5v-9c0-.83-.67-1.5-1.5-1.5ZM7 11a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2ZM7 7a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"]),WC={dismiss:o.createElement(Ll.BEt,null),downNavigation:o.createElement(qC,null),upNavigation:o.createElement(UC,null)},GC=(0,qa.X)({base:{mc9l5x:"f22iagw",a9b677:"f13dwy2t"},normalize:{E5pizo:"f1couhl3",B7ck84d:"f1ewtqcl",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai"},monthPickerNotVisible:{Beiy3e4:"f1vx9l62"},dayAndMonthPickersVisible:{a9b677:"fcy5b15"},dayPickerVisibleAndWeekNumbersShown:{a9b677:"fhsg0in"},dayAndMonthPickersVisibleAndWeekNumbersShown:{a9b677:"fcarq7f"}},{d:[".f22iagw{display:flex;}",".f13dwy2t{width:220px;}",".f1couhl3{box-shadow:none;}",".f1ewtqcl{box-sizing:border-box;}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f1vx9l62{flex-direction:column;}",".fcy5b15{width:440px;}",".fhsg0in{width:250px;}",".fcarq7f{width:470px;}"]}),KC=(0,qa.X)({base:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["fe2nn5g","f1rcbay7"],Bhzewxz:"f15twtuk"}},{d:[[".fe2nn5g{border-right:1px solid var(--colorNeutralStroke2);}",{p:-1}],[".f1rcbay7{border-left:1px solid var(--colorNeutralStroke2);}",{p:-1}],".f15twtuk{top:0;}"]}),XC=(0,qa.X)({base:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}"]}),YC=(0,qa.X)({base:{qb2dma:"fpydfdc",De3pzq:"f1c21dwh",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],B5kzvoi:"f1yab3r1",B7ck84d:"f1e4lqlz",sj55zd:"f19n0e5",Bahqtrf:"f1mo0ibp",Be2twd7:"fy9rknc",Bqenvij:"f1tvdnth",Bg96gwp:"fpfng1i",t21cq0:["f17vyym1","fb5scp"],B6of3ja:"f4gg0ds",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1p2x7z2",seuwu7:"fvy6vk6",Jwef8y:"f9ql6rf",Bi91k9c:"f1f1pb61",eoavqd:"f8491dx",Bx7pl5v:0,Bnosqey:0,Bv57zgv:0,Bbxjs3m:"fzk52v6",knvgbf:0,B23s7e0:0,Be8uuq8:0,B3ons6i:0,Bnj8mme:"fxh1mxx",B2d53fq:"fc9d3oc",Dyrjrp:"f1cqwcg4",Be90el1:"fmjaa5u"}},{d:[".fpydfdc{align-self:flex-end;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".f1yab3r1{bottom:0;}",".f1e4lqlz{box-sizing:content-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1mo0ibp{font-family:inherit;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".f1tvdnth{height:30px;}",".fpfng1i{line-height:30px;}",".f17vyym1{margin-right:16px;}",".fb5scp{margin-left:16px;}",".f4gg0ds{margin-top:3px;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1p2x7z2{padding:0 4px;}",{p:-1}],".fvy6vk6 div{font-size:var(--fontSizeBase200);}",".f1cqwcg4:disabled{color:var(--colorNeutralForegroundDisabled);}",".fmjaa5u:disabled{pointer-events:none;}"],h:[".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f1f1pb61:hover{color:var(--colorBrandForeground1);}",".f8491dx:hover{cursor:pointer;}",".fc9d3oc:hover:active{color:var(--colorBrandForeground2);}"],m:[["@media (forced-colors: active){.fzk52v6:hover{outline:var(--strokeWidthThin);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxh1mxx:hover{border-radius:var(--borderRadiusSmall);}}",{p:-1,m:"(forced-colors: active)"}]]}),JC=(0,qa.X)({base:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",qhf8xq:"f1euv43f",a9b677:"frkrog8"}},{d:[[".f3bhgqh{border:none;}",{p:-2}],".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f1euv43f{position:absolute;}",".frkrog8{width:1px;}"]}),ZC=[nS.Monday,nS.Tuesday,nS.Wednesday,nS.Thursday,nS.Friday],QC=o.forwardRef(((e,t)=>{const{allFocusable:r=!1,calendarDayProps:n,calendarMonthProps:i,className:a,componentRef:s,dateRangeType:l=aS.Day,dateTimeFormatter:c=_S,firstDayOfWeek:u=nS.Sunday,firstWeekOfYear:d=oS.FirstDay,highlightCurrentMonth:p=!1,highlightSelectedMonth:f=!1,id:h,isDayPickerVisible:g=!0,isMonthPickerVisible:m=!0,maxDate:v,minDate:y,onDismiss:b,onSelectDate:w,restrictedDates:S,showCloseButton:C=!1,showGoToToday:A=!0,showMonthPickerAsOverlay:x=!1,showSixWeeksByDefault:k=!1,showWeekNumbers:_=!1,strings:I=IS,today:P,value:T,workWeekDays:B=ZC}=e,D=o.useMemo((()=>null!=P?P:new Date),[P]),[N,R,O,z,M,F]=function(e){const{value:t,today:r,onSelectDate:n}=e,i=o.useMemo((()=>null!=r?r:new Date),[r]),[a,s]=pd({state:t,defaultState:t?void 0:i,initialState:i}),[l=i,c]=o.useState(t),[u=i,d]=o.useState(t),[p=i,f]=o.useState(t);return t&&p.valueOf()!==t.valueOf()&&(c(t),d(t),f(t)),[a,l,u,(e,t)=>{d(e),c(e),s(e),null==n||n(e,t)},e=>{d(e),c(e)},e=>{d(e)}]}({onSelectDate:w,value:T,today:D}),[L,j,V]=function({isDayPickerVisible:e,isMonthPickerVisible:t,showMonthPickerAsOverlay:r}){const n=eA({isDayPickerVisible:e,showMonthPickerAsOverlay:r}),[i,a]=o.useState((()=>!n&&null!=t&&t)),[s,l]=o.useState((()=>!!n||null==e||e));return[i,s,()=>{a(!i),l(!s)}]}({isDayPickerVisible:g,isMonthPickerVisible:m,showMonthPickerAsOverlay:x}),[H,q,U]=function({componentRef:e},t,r){const n=o.useRef(null),i=o.useRef(null),a=o.useRef(!1),{targetDocument:s}=(0,Na.Y)(),l=null==s?void 0:s.defaultView,c=o.useCallback((()=>{t&&n.current?ES(n.current,l):r&&i.current&&ES(i.current,l)}),[t,r,l]);return o.useImperativeHandle(e,(()=>({focus:c})),[c]),o.useEffect((()=>{a.current&&(c(),a.current=!1)})),[n,i,()=>{a.current=!0}]}({componentRef:s},j,L),$=()=>{let e=A;return e&&D&&(e=R.getFullYear()!==D.getFullYear()||R.getMonth()!==D.getMonth()||O.getFullYear()!==D.getFullYear()||O.getMonth()!==D.getMonth()),A&&o.createElement("button",{className:J.goTodayButton,onClick:K,onKeyDown:X(K),type:"button",disabled:!e},I.goToToday)},W=eA({isDayPickerVisible:g,showMonthPickerAsOverlay:x}),G=W?()=>{V(),U()}:void 0,K=()=>{M(D),W&&L&&V(),U()},X=e=>t=>{switch(t.key){case $l.xyI:case $l.$xS:e()}},Y=!W&&!j,J=(e=>{const t=GC(),r=KC(),n=XC(),i=YC(),o=JC(),{className:a,isDayPickerVisible:s,isMonthPickerVisible:l,showWeekNumbers:c}=e;return{root:(0,E.z)("fui-Calendar",t.base,t.normalize,!l&&t.monthPickerNotVisible,s&&l&&!c&&t.dayAndMonthPickersVisible,s&&!l&&c&&t.dayPickerVisibleAndWeekNumbersShown,s&&l&&c&&t.dayAndMonthPickersVisibleAndWeekNumbersShown,a),divider:(0,E.z)("fui-Calendar__divider",r.base),monthPickerWrapper:(0,E.z)("fui-Calendar__monthPickerWrapper",n.base),goTodayButton:(0,E.z)("fui-Calendar__goTodayButton",i.base),liveRegion:(0,E.z)("fui-Calendar__liveRegion",o.base)}})({className:a,isDayPickerVisible:j,isMonthPickerVisible:L,showWeekNumbers:_});let Z="",Q="";if(c&&I.todayDateFormatString&&(Z=I.todayDateFormatString.replace("{0}",c.formatMonthDayYear(D,I))),c&&I.selectedDateFormatString){const e=Y?c.formatMonthYear:c.formatMonthDayYear;Q=I.selectedDateFormatString.replace("{0}",e(N,I))}const ee=Q+", "+Z;return o.createElement("div",{id:h,ref:t,className:J.root,onKeyDown:e=>{switch(e.key){case $l.xyI:case $l.Er0:e.preventDefault();break;case $l.uf9:e.stopPropagation(),null==b||b();break;case $l.j0c:e.ctrlKey?M(dS(R,1)):M(uS(R,1)),e.preventDefault();break;case $l.e5x:e.ctrlKey?M(dS(R,-1)):M(uS(R,-1)),e.preventDefault()}}},o.createElement("div",{className:J.liveRegion,"aria-live":"polite","aria-atomic":"true"},o.createElement("span",null,Q)),j&&o.createElement(mC,{gridLabel:ee,selectedDate:N,navigatedDate:R,today:D,onSelectDate:z,onNavigateDate:(e,t)=>{M(e),t&&U()},onDismiss:b,firstDayOfWeek:u,dateRangeType:l,strings:I,onHeaderSelect:G,showWeekNumbers:_,firstWeekOfYear:d,dateTimeFormatter:c,showSixWeeksByDefault:k,minDate:y,maxDate:v,navigationIcons:WC,restrictedDates:S,workWeekDays:B,componentRef:H,showCloseButton:C,allFocusable:r,...n}),j&&L&&o.createElement("div",{className:J.divider}),L?o.createElement("div",{className:J.monthPickerWrapper},o.createElement(jC,{navigatedDate:O,selectedDate:R,strings:I,onNavigateDate:(e,t)=>{t&&U(),t?(Y&&z(e),M(e)):F(e)},today:D,highlightCurrentMonth:p,highlightSelectedMonth:f,onHeaderSelect:G,dateTimeFormatter:c,minDate:y,maxDate:v,componentRef:q,navigationIcons:WC,...i}),$()):$())}));QC.displayName="Calendar";const eA=({isDayPickerVisible:e,showMonthPickerAsOverlay:t})=>{const{targetDocument:r}=(0,Na.Y)(),n=null==r?void 0:r.defaultView;return t||e&&n&&n.innerWidth<=440},tA={...IS,prevMonthAriaLabel:"Go to previous month",nextMonthAriaLabel:"Go to next month",prevYearAriaLabel:"Go to previous year",nextYearAriaLabel:"Go to next year",closeButtonAriaLabel:"Close date picker"};var rA=r(8409);const nA=(Va.L.spacingHorizontalSNudge,Va.L.spacingHorizontalMNudge,Va.L.spacingHorizontalM,Va.L.spacingHorizontalXXS,Va.L.spacingHorizontalXXS,Va.L.spacingHorizontalSNudge,Va.L.spacingHorizontalS,Va.L.spacingHorizontalM,Va.L.spacingHorizontalM,Va.L.spacingHorizontalSNudge,(0,rc.y)("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]})),iA=(0,qa.X)({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),oA=(0,rc.y)("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),aA=(0,qa.X)({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),sA=(0,rc.y)("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),lA=(0,qa.X)({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),cA=o.forwardRef(((e,t)=>{const r=((e,t)=>{e=sm(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=(0,rA.Pv)();var n;const{size:i="medium",appearance:o=(null!==(n=r.inputDefaultAppearance)&&void 0!==n?n:"outline"),onChange:a}=e,[s,l]=pd({state:e.value,defaultState:e.defaultValue,initialState:""}),c=(0,cm.n)({props:e,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),u={size:i,appearance:o,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Il.Gk(e.input,{defaultProps:{type:"text",ref:t,...c.primary},elementType:"input"}),contentAfter:Il.lq(e.contentAfter,{elementType:"span"}),contentBefore:Il.lq(e.contentBefore,{elementType:"span"}),root:Il.Gk(e.root,{defaultProps:c.root,elementType:"span"})};return u.input.value=s,u.input.onChange=(0,Al.D)((e=>{const t=e.target.value;null==a||a(e,{value:t}),l(t)})),u})(e,t);return(e=>{const{size:t,appearance:r}=e,n=e.input.disabled,i="true"==`${e.input["aria-invalid"]}`,o=r.startsWith("filled"),a=iA(),s=aA(),l=lA();e.root.className=(0,E.z)("fui-Input",nA(),a[t],e.contentBefore&&a[`${t}WithContentBefore`],e.contentAfter&&a[`${t}WithContentAfter`],a[r],!n&&"outline"===r&&a.outlineInteractive,!n&&"underline"===r&&a.underlineInteractive,!n&&o&&a.filledInteractive,o&&a.filled,!n&&i&&a.invalid,n&&a.disabled,e.root.className),e.input.className=(0,E.z)("fui-Input__input",oA(),s[t],e.contentBefore&&s[`${t}WithContentBefore`],e.contentAfter&&s[`${t}WithContentAfter`],n&&s.disabled,e.input.className);const c=[sA(),n&&l.disabled,l[t]];e.contentBefore&&(e.contentBefore.className=(0,E.z)("fui-Input__contentBefore",...c,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=(0,E.z)("fui-Input__contentAfter",...c,e.contentAfter.className))})(r),(0,hc.$e)("useInputStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[e.contentBefore&&(0,ec.Y)(e.contentBefore,{}),(0,ec.Y)(e.input,{}),e.contentAfter&&(0,ec.Y)(e.contentAfter,{})]})))(r)}));cA.displayName="Input";const uA=e=>e?e.toDateString():"",dA=e=>{const t=Date.parse(e);return t?new Date(t):null},pA=(0,qa.X)({base:{qhf8xq:"f10pi13n",Bceei9c:"f1k6fduh",xfaavh:"faxec97"},disabled:{Bceei9c:"f158kwzp",xfaavh:"f19qwlmg"},inline:{Bj3rh1h:"f19g0ac"}},{d:[".f10pi13n{position:relative;}",".f1k6fduh{cursor:pointer;}",".faxec97 input{cursor:pointer;}",".f158kwzp{cursor:default;}",".f19qwlmg input{cursor:default;}",".f19g0ac{z-index:1;}"]}),fA=(0,rc.y)("r1ytv1z8",null,[".r1ytv1z8{background-color:var(--colorNeutralBackground1);box-shadow:var(--shadow16);border-radius:var(--borderRadiusMedium);border-width:1px;border-style:solid;border-color:var(--colorTransparentStroke);display:inline-flex;color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}"]),hA=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{allowTextInput:r=!1,allFocusable:n=!1,borderless:i=!1,dateTimeFormatter:a,defaultOpen:s=!1,disableAutoFocus:l=!0,firstDayOfWeek:c=nS.Sunday,firstWeekOfYear:u=oS.FirstDay,formatDate:d=uA,highlightCurrentMonth:p=!1,highlightSelectedMonth:f=!1,initialPickerDate:h,inlinePopup:g=!1,isMonthPickerVisible:m=!0,maxDate:v,minDate:y,mountNode:b,onOpenChange:w,onSelectDate:S,openOnClick:C=!0,onValidationResult:A,parseDateFromString:x=dA,showCloseButton:k=!1,showGoToToday:E=!0,showMonthPickerAsOverlay:_=!1,showWeekNumbers:I=!1,strings:P=tA,today:T,underlined:B=!1,value:D,...N}=e,R=o.useMemo((()=>null!=h?h:new Date),[h]),O=o.useRef(null),[z,M,F,L]=function(){const e=o.useRef(null),t=o.useRef(!1),r=o.useCallback((()=>{var t,r;null===(r=e.current)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)}),[]),n=o.useCallback((()=>{t.current=!0}),[]);return[r,e,t,n]}(),[j,V,H,q]=function({formatDate:e,onSelectDate:t,value:r}){const[n,i]=pd({initialState:null,state:r}),[a,s]=o.useState((()=>r&&e?e(r):""));return o.useEffect((()=>{s(r&&e?e(r):"")}),[e,r]),[n,a,r=>{null==t||t(r),i(r),s(r&&e?e(r):"")},s]}({formatDate:d,onSelectDate:S,value:D}),[U,$]=function(e){const[t,r]=pd({initialState:!1,defaultState:e.defaultOpen,state:e.open}),n=o.useRef(!1);return o.useEffect((()=>{var r;n.current&&!t&&(null===(r=e.onOpenChange)||void 0===r||r.call(e,!1)),n.current=!0}),[e.allowTextInput,t]),[t,r]}(e),W=am();var G;const K=null!==(G=null==W?void 0:W.required)&&void 0!==G?G:e.required,X=(0,wl.Bi)("datePicker-input"),Y=(0,wl.Bi)("datePicker-popupSurface"),J=o.useCallback(((e=null)=>{let t;if(r)if(V||e){if(j&&d&&d(null!=e?e:j)===V)return;!(e=e||x(V))||isNaN(e.getTime())?(H(j),t="invalid-input"):function(e,t,r){return!!t&&mS(t,e)>0||!!r&&mS(r,e)<0}(e,y,v)?t="out-of-bounds":H(e)}else K&&(t="required-input"),null==S||S(e);else K&&!V&&(t="required-input");null==A||A({error:t})}),[r,d,V,v,y,S,A,x,K,j,H]),Z=o.useCallback((t=>{null==w||w(t),$(t),U||e.disabled||z()}),[z,w,e.disabled,$]),Q=o.useCallback((e=>{U&&(Z(!1),J(e),!r&&e&&H(e))}),[r,U,Z,H,J]),ee=o.useCallback((()=>{U||(L(),Z(!0))}),[U,L,Z]),te=o.useCallback((e=>{L(),Q(e)}),[Q,L]),re=o.useCallback(((e,t)=>{const{value:n}=t;r&&(U&&Q(),q(n))}),[r,Q,U,q]),ne=o.useCallback((()=>{J()}),[J]),ie=o.useCallback((t=>{switch(t.key){case $l.xyI:t.preventDefault(),t.stopPropagation(),U?e.allowTextInput&&Q():(J(),ee());break;case $l.uf9:t.stopPropagation(),t.preventDefault(),U&&te();break;case $l.yd$:t.preventDefault(),U||ee()}}),[te,Q,U,e.allowTextInput,ee,J]),oe=o.useCallback((()=>{l||r||(F.current||ee(),F.current=!1)}),[r,l,F,ee]),ae=o.useCallback((()=>{!e.openOnClick&&e.disableAutoFocus||U||e.disabled?r&&Q():ee()}),[r,Q,U,e.disabled,e.disableAutoFocus,e.openOnClick,ee]),se=B?"underline":i?"filled-lighter":"outline",[le,ce]=function(e){const{positioning:t}=e,r={position:"below",align:"start",...yc(t)},{targetRef:n,containerRef:i}=Xu(r);return[n,i]}(e),ue=Il.Gk(e.root,{defaultProps:{ref:le},elementType:"span"});ue.ref=(0,Tl.a)(ue.ref,le);const de=Il.Gk(e.input,{elementType:"input"});de.ref=(0,Tl.a)(de.ref,t,M);const pe=e["aria-labelledby"];var fe;const he=null!==(fe=e.id)&&void 0!==fe?fe:X,ge=o.useMemo((()=>({role:"button","aria-expanded":U,"aria-labelledby":null!=pe?pe:he})),[U,pe,he]),me=Il.Gk(e.contentAfter||{},{defaultProps:{children:o.createElement($C,null),...ge},elementType:"span"});me.onClick=(0,Al.D)(Bd(me.onClick,(t=>{t.stopPropagation(),U||e.disabled?e.allowTextInput&&Q():ee()})));const ve=Il.Gk(N,{defaultProps:{appearance:se,"aria-controls":U?Y:void 0,"aria-expanded":U,"aria-haspopup":"dialog",readOnly:!r,role:"combobox",id:he},elementType:cA});ve.root=ue,ve.input=de,ve.contentAfter=me,ve.onChange=(0,Al.D)(Bd(ve.onChange,re)),ve.onBlur=(0,Al.D)(Bd(ve.onBlur,ne)),ve.onKeyDown=(0,Al.D)(Bd(ve.onKeyDown,ie)),ve.onFocus=(0,Al.D)(Bd(ve.onFocus,oe)),ve.onClick=(0,Al.D)(Bd(ve.onClick,ae));const{modalAttributes:ye}=Nv({trapFocus:!0,alwaysFocusable:!0,legacyTrapFocus:!0}),be=U?Il.lq(e.popupSurface,{renderByDefault:!0,defaultProps:{"aria-label":"Calendar","aria-modal":!0,id:Y,role:"dialog",ref:ce,...ye},elementType:"div"}):void 0,{targetDocument:we}=(0,Na.Y)();gd({element:we,callback:e=>Q(),refs:[le,ce],disabled:!U}),wd({element:we,callback:e=>Q(),refs:[le,ce],disabled:!U}),o.useEffect((()=>{U&&!e.disabled&&O.current&&O.current.focus()}),[l,U,e.disabled]);const Se=Il.Gk(e.calendar,{defaultProps:{allFocusable:n,componentRef:O,dateTimeFormatter:a,firstDayOfWeek:c,firstWeekOfYear:u,highlightCurrentMonth:p,highlightSelectedMonth:f,isMonthPickerVisible:m,maxDate:v,minDate:y,showCloseButton:k,showGoToToday:E,showMonthPickerAsOverlay:_,showWeekNumbers:I,strings:P,today:T,value:j||R},elementType:QC});Se.onDismiss=(0,Al.D)(Bd(Se.onDismiss,te)),Se.onSelectDate=(0,Al.D)(Bd(Se.onSelectDate,te));const Ce={disabled:!!e.disabled,inlinePopup:g,components:{root:cA,calendar:QC,popupSurface:"div"},calendar:Se,mountNode:b,root:ve,popupSurface:be};return Ce.root.value=V,Ce})(e,t);return(e=>{const t=pA(),r=fA(),{disabled:n,inlinePopup:i}=e;e.root.className=(0,E.z)("fui-DatePicker",t.base,n&&t.disabled,e.root.className),e.popupSurface&&(e.popupSurface.className=(0,E.z)("fui-DatePicker__popupSurface",r,e.popupSurface.className,i&&t.inline)),e.calendar.className=(0,E.z)("fui-DatePicker__calendar",e.calendar.className)})(r),(e=>{(0,tc.C)(e);const{inlinePopup:t}=e;return(0,ec.FD)(o.Fragment,{children:[(0,ec.Y)(e.root,{}),e.popupSurface&&(t?(0,ec.Y)(e.popupSurface,{children:(0,ec.Y)(e.calendar,{})}):(0,ec.Y)(Zd,{mountNode:e.mountNode,children:(0,ec.Y)(e.popupSurface,{children:(0,ec.Y)(e.calendar,{})})}))]})})(r)}));hA.displayName="DatePicker";const gA=o.forwardRef(((e,t)=>{var r;const n=Sv();return o.createElement(hA,{id:e.internalId,strings:e.strings,appearance:vv.basicInputAppearance,className:n.dateInput,onSelectDate:t=>{e.valueChanged(null!=t?t:void 0)},allowTextInput:!0,value:null!==(r=e.value)&&void 0!==r?r:null,placeholder:e.placeholder,showGoToToday:!1,showMonthPickerAsOverlay:!0,formatDate:e.formatDate,disabled:!e.isEnabled,inlinePopup:vv.shouldUseInlinePopup,input:{ref:t,"aria-label":e.placeholder,"aria-labelledby":e.ariaLabelledBy,"aria-required":e.isRequired}})}));gA.displayName="DateInputComponent";class mA extends rS{constructor(){super(...arguments),this._inputRef=o.createRef()}getStrings(){return{months:[this.localizeString(zw.january),this.localizeString(zw.february),this.localizeString(zw.march),this.localizeString(zw.april),this.localizeString(zw.may),this.localizeString(zw.june),this.localizeString(zw.july),this.localizeString(zw.august),this.localizeString(zw.september),this.localizeString(zw.october),this.localizeString(zw.november),this.localizeString(zw.december)],shortMonths:[this.localizeString(zw.januaryShort),this.localizeString(zw.februaryShort),this.localizeString(zw.marchShort),this.localizeString(zw.aprilShort),this.localizeString(zw.mayShort),this.localizeString(zw.juneShort),this.localizeString(zw.julyShort),this.localizeString(zw.augustShort),this.localizeString(zw.septemberShort),this.localizeString(zw.octoberShort),this.localizeString(zw.novemberShort),this.localizeString(zw.decemberShort)],days:[this.localizeString(zw.sunday),this.localizeString(zw.monday),this.localizeString(zw.tuesday),this.localizeString(zw.wednesday),this.localizeString(zw.thursday),this.localizeString(zw.friday),this.localizeString(zw.saturday)],shortDays:[this.localizeString(zw.sundayShort),this.localizeString(zw.mondayShort),this.localizeString(zw.tuesdayShort),this.localizeString(zw.wednesdayShort),this.localizeString(zw.thursdayShort),this.localizeString(zw.fridayShort),this.localizeString(zw.saturdayShort)],weekNumberFormatString:this.localizeString(zw.calendarWeekNumberFormatString),prevMonthAriaLabel:this.localizeString(zw.calendarPreviousMonthAriaLabel),nextMonthAriaLabel:this.localizeString(zw.calendarNextMonthAriaLabel),goToToday:this.localizeString(zw.calendarGoToToday)}}focus(){return!!this._inputRef.current&&(this._inputRef.current.focus(),!0)}renderInputControl(){const e=this.placeholder||this.localizeString(zw.dateInputDefaultPlaceholder),t=e=>e?this.formatDate(e):"";return o.createElement(gA,{strings:this.getStrings(),internalId:this.internalId,valueChanged:e=>{this.valueChanged(e),this.updateLayout()},value:this.value,placeholder:e,ariaLabelledBy:this.getAriaLabelledBy(),isEnabled:this.isEnabled,isRequired:this.isRequired,formatDate:e=>t(e),ref:this._inputRef})}}class vA extends Pi.Uy{parse(e,t,r){const n=t[this.name];return"string"==typeof n?Number(n):(0,lf.$J)(n,this.defaultValue)}}class yA extends tm{get defaultValue(){return this.getValue(yA.valueProperty)}set defaultValue(e){this.setValue(yA.valueProperty,e)}get min(){return this.getValue(yA.minProperty)}set min(e){this.setValue(yA.minProperty,e)}get max(){return this.getValue(yA.maxProperty)}set max(e){this.setValue(yA.maxProperty,e)}get placeholder(){return this.getValue(yA.placeholderProperty)}set placeholder(e){this.setValue(yA.placeholderProperty,e)}getJsonTypeName(){return"Input.Number"}isSet(){return void 0!==this.value&&!isNaN(this.value)}isValid(){return void 0===this.value?!this.isRequired:this.isValidValue(this.value)}isValidValue(e){let t=!0;return void 0!==this.min&&(t=t&&e>=this.min),void 0!==this.max&&(t=t&&e<=this.max),t}get value(){return this._value}set value(e){this._value===e||void 0!==e&&!this.isValidValue(e)||this.valueChanged(e)}}function bA(e,t,r=10){const n=Math.pow(r,t);return Math.round(e*n)/n}yA.valueProperty=new vA(Pi.uq.v1_0,"value"),yA.placeholderProperty=new Pi.XB(Pi.uq.v1_0,"placeholder").setContentType("text"),yA.minProperty=new Pi.Uy(Pi.uq.v1_0,"min"),yA.maxProperty=new Pi.Uy(Pi.uq.v1_0,"max");const wA=(e,t,r)=>void 0!==t&&e===t?r===t?"both":"min":void 0!==r&&e===r?"max":"none",SA=(e,t,r)=>{let n=e;if(void 0!==t){if(void 0!==r&&t>r)return new Error,e;n=Math.max(t,n)}return void 0!==r&&(n=Math.min(r,n)),n},CA="fui-SpinButton__button_active",AA=(0,rc.y)("r109xulx","r1h2jnch",{r:[".r109xulx{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 0 0 var(--spacingHorizontalMNudge);border-radius:var(--borderRadiusMedium);}",'.r109xulx::before{content:"";box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r109xulx::after{box-sizing:border-box;content:"";position:absolute;right:0;bottom:0;left:0;z-index:20;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r109xulx:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r109xulx:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r109xulx:focus-within{outline:2px solid transparent;}",".r1h2jnch{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 var(--spacingHorizontalMNudge) 0 0;border-radius:var(--borderRadiusMedium);}",'.r1h2jnch::before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r1h2jnch::after{box-sizing:border-box;content:"";position:absolute;left:0;bottom:0;right:0;z-index:20;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1h2jnch:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1h2jnch:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1h2jnch:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r109xulx::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r109xulx:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),xA=(0,qa.X)({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",uwmqm3:["f1f5gg8d","f1vdfbxk"]},medium:{},outline:{},outlineInteractive:{Bo3r8zu:"f1w2y1rc",Hpvxnh:["f1gofhvl","f18htlvq"],Bx11ytk:"ffcnd28",B1rg0w0:["f18htlvq","f1gofhvl"],Bsg1tlv:"f6lmxco",Brjw370:["fcoc0mf","f15r4wkl"],xcfy85:"f1ipdth8",Bcc6kan:["f15r4wkl","fcoc0mf"]},underline:{B0qfbqy:"f1o236ok",B4f6apu:["faeg28l","f64aojp"],y0oebl:"fdw6hkg",uvfttm:["f64aojp","faeg28l"],r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"f1xyh2jw"},underlineInteractive:{Bx11ytk:"ffcnd28",xcfy85:"f1ipdth8",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"fkp7w9h"},filled:{Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4"},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},filledInteractive:{B05mzqr:"f1xqt08",tb9y6h:["fzt5lgo","f8tv3r9"],jcehpj:"fyhrops",B23o0hn:["f8tv3r9","fzt5lgo"]},invalid:{emecyz:"fl48pg9",lz0pba:["f1a168p3","f1pvdymy"],Bo1k74p:"f11knvgl",Ba322q7:["f1pvdymy","f1a168p3"]},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",Bq4z7u6:"f1a0lfh7",Bk5zm6e:["f1p2ejm6","fmzytvz"],Bqjgrrk:"fas2e61",Bm6vgfq:["fmzytvz","f1p2ejm6"],Cffpyd:"flb8es4",hxi8he:["f1lclws","frjp63v"],Bcuq369:"f1yv9wnt",Imo2if:["frjp63v","f1lclws"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1o236ok::before{border-top-width:0;}",".faeg28l::before{border-right-width:0;}",".f64aojp::before{border-left-width:0;}",".fdw6hkg::before{border-bottom-width:1px;}",[".f1xyh2jw::before{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fkp7w9h::after{border-radius:var(--borderRadiusNone);}",{p:-1}],[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fl48pg9:not(:focus-within)::before,.fl48pg9:hover:not(:focus-within)::before{border-top-color:var(--colorPaletteRedBorder2);}",".f1a168p3:not(:focus-within)::before,.f1a168p3:hover:not(:focus-within)::before{border-right-color:var(--colorPaletteRedBorder2);}",".f1pvdymy:not(:focus-within)::before,.f1pvdymy:hover:not(:focus-within)::before{border-left-color:var(--colorPaletteRedBorder2);}",".f11knvgl:not(:focus-within)::before,.f11knvgl:hover:not(:focus-within)::before{border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1a0lfh7::before{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1p2ejm6::before{border-right-color:var(--colorNeutralStrokeDisabled);}",".fmzytvz::before{border-left-color:var(--colorNeutralStrokeDisabled);}",".fas2e61::before{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],h:[".f1w2y1rc:hover::before{border-top-color:var(--colorNeutralStroke1Hover);}",".f1gofhvl:hover::before{border-right-color:var(--colorNeutralStroke1Hover);}",".f18htlvq:hover::before{border-left-color:var(--colorNeutralStroke1Hover);}",".ffcnd28:hover::before{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".f1xqt08:hover::before,.f1xqt08:focus-within::before{border-top-color:var(--colorTransparentStrokeInteractive);}",".fzt5lgo:hover::before,.fzt5lgo:focus-within::before{border-right-color:var(--colorTransparentStrokeInteractive);}",".f8tv3r9:hover::before,.f8tv3r9:focus-within::before{border-left-color:var(--colorTransparentStrokeInteractive);}",".fyhrops:hover::before,.fyhrops:focus-within::before{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f6lmxco:active::before,.f6lmxco:focus-within::before{border-top-color:var(--colorNeutralStroke1Pressed);}",".fcoc0mf:active::before,.fcoc0mf:focus-within::before{border-right-color:var(--colorNeutralStroke1Pressed);}",".f15r4wkl:active::before,.f15r4wkl:focus-within::before{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1ipdth8:active::before,.f1ipdth8:focus-within::before{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.flb8es4::before{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lclws::before{border-right-color:GrayText;}.frjp63v::before{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1yv9wnt::before{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]]}),kA=(0,rc.y)("r1ljrqje",null,[".r1ljrqje{grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:3;outline-style:none;border:0;padding:0;color:var(--colorNeutralForeground1);background-color:transparent;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;width:100%;}",".r1ljrqje::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),EA=(0,qa.X)({disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",yvdlaj:"fahhnxm"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),_A=(0,rc.y)("r1g4chgs",null,[".r1g4chgs{display:inline-flex;width:24px;align-items:center;justify-content:center;border:0;position:absolute;outline-style:none;height:16px;background-color:transparent;color:var(--colorNeutralForeground3);grid-column-start:2;border-radius:0;padding:0 5px 0 5px;}",".r1g4chgs:active{outline-style:none;}",".r1g4chgs:enabled:hover{cursor:pointer;color:var(--colorNeutralForeground3Hover);background-color:var(--colorSubtleBackgroundHover);}",".r1g4chgs:enabled:active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:disabled{cursor:not-allowed;color:var(--colorNeutralForegroundDisabled);}"]),IA=(0,qa.X)({increment:{Ijaq50:"f16hsg94",B7oj6ja:["f1jar5jt","fyu767a"],z8tnut:"f10ra9hq",Byoj8tv:"f1brlhvm"},decrement:{Ijaq50:"faunodf",Bbmb7ep:["f1aa9q02","f16jpd5f"],z8tnut:"f1sl3k7w",Byoj8tv:"f1y2xyjm"},incrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f4lv8q1","fm3uwd2"],Bqenvij:"fvblgha"},decrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1q86st8","frkrfqj"],Bqenvij:"fvblgha"},outline:{},underline:{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1bifk9c",p743kt:"fp1zg4s",B7xitij:"fo6hitd",B6siaa6:"f1wiab75",Ba9qmo4:"fj9zm5z",Dyrjrp:"f1cqwcg4"},"filled-darker":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"fwwxidx",p743kt:"fp1zg4s",B7xitij:"f14i52sd",B6siaa6:"f1wiab75",Ba9qmo4:"fwry2ka",Dyrjrp:"f1cqwcg4"},"filled-lighter":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1yywxnv",drw0cw:"fzaa11h",idzz8t:"f4fpmm9",Dyrjrp:"f1cqwcg4"}},{d:[".f16hsg94{grid-row-start:1;}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f10ra9hq{padding-top:4px;}",".f1brlhvm{padding-bottom:1px;}",".faunodf{grid-row-start:2;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1sl3k7w{padding-top:1px;}",".f1y2xyjm{padding-bottom:4px;}",[".f4lv8q1{padding:3px 6px 0px 4px;}",{p:-1}],[".fm3uwd2{padding:3px 4px 0px 6px;}",{p:-1}],".fvblgha{height:12px;}",[".f1q86st8{padding:0px 6px 3px 4px;}",{p:-1}],[".frkrfqj{padding:0px 4px 3px 6px;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1no7wuu:enabled:hover{color:var(--colorNeutralForeground3Hover);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",".fp1zg4s:enabled:active{color:var(--colorNeutralForeground3Pressed);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1wiab75:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".fj9zm5z:enabled.fui-SpinButton__button_active{background-color:var(--colorSubtleBackgroundPressed);}",".f1cqwcg4:disabled{color:var(--colorNeutralForegroundDisabled);}",".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",".fwry2ka:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground3Pressed);}",".f1yywxnv:enabled:hover{background-color:var(--colorNeutralBackground1Hover);}",".fzaa11h:enabled:active,.fzaa11h:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".f4fpmm9:enabled:active,.f4fpmm9:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground1Pressed);}"]}),PA=o.forwardRef(((e,t)=>{const r=((e,t)=>{e=sm(e,{supportsLabelFor:!0,supportsRequired:!0});const r=(0,cm.n)({props:e,primarySlotTagName:"input",excludedPropNames:["defaultValue","max","min","onChange","size","value"]}),n=(0,rA.Pv)();var i;const{value:a,displayValue:s,defaultValue:l,min:c,max:u,step:d=1,stepPage:p=1,precision:f,onChange:h,size:g="medium",appearance:m=(null!==(i=n.inputDefaultAppearance)&&void 0!==i?i:"outline"),root:v,input:y,incrementButton:b,decrementButton:w}=e,S=o.useMemo((()=>null!=f?f:Math.max(function(e){const t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}(d),0)),[f,d]),[C,A]=pd({state:a,defaultState:l,initialState:0}),x=o.useRef(null),k=void 0!==a,[E,_]=o.useState(void 0),[I,P]=o.useState("rest"),T=o.useRef({value:C,spinState:"rest",spinTime:0,spinDelay:150,atBound:null!==C?wA(bA(C,S),c,u):"none"}),[B,D]=Qu(),N=(e,t,r)=>{let n=T.current.value;if(r){const e=parseFloat(r);isNaN(e)||(n=e)}const i=n,o="up"===t||"upPage"===t?1:-1,a="upPage"===t||"downPage"===t?p:d;if(null===i){const t=SA((void 0===c?0:c)+a*o,c,u);return void z(e,t)}let s=i+a*o;Number.isNaN(s)||(s=SA(s,c,u)),z(e,s),"rest"!==T.current.spinState&&B((()=>{T.current.spinTime+=T.current.spinDelay,T.current.spinDelay=150+T.current.spinTime/1e3*-70,N(e,t)}),T.current.spinDelay)},R=e=>{T.current.previousTextValue||(T.current.previousTextValue=null!=E?E:String(C));const t=e.target.value;_(t),x.current&&(x.current.ariaValueNow=t)},O=e=>{D(),T.current.spinState="rest",T.current.spinDelay=150,T.current.spinTime=0},z=(e,t,r)=>{const n=void 0!==t&&C!==t,i=void 0!==r&&void 0!==T.current.previousTextValue&&T.current.previousTextValue!==r;let o;if(n)o=bA(t,S),A(o),T.current.value=o;else if(i&&!k){const e=parseFloat(r);isNaN(e)||(A(bA(e,S)),T.current.value=bA(e,S))}(n||i)&&(null==h||h(e,{value:o,displayValue:r})),_(void 0)};let M;if(void 0!==E)M=E;else if(null===a||null===C)M=null!=s?s:"",T.current.value=null,T.current.atBound="none";else{const e=bA(C,S);T.current.value=e,T.current.atBound=wA(e,c,u),M=k&&null!=s?s:String(e)}const F={size:g,appearance:m,spinState:I,atBound:T.current.atBound,components:{root:"span",input:"input",incrementButton:"button",decrementButton:"button"},root:Il.Gk(v,{defaultProps:r.root,elementType:"span"}),input:Il.Gk(y,{defaultProps:{autoComplete:"off",role:"spinbutton",appearance:m,type:"text",...r.primary},elementType:"input"}),incrementButton:Il.Gk(b,{defaultProps:{tabIndex:-1,children:o.createElement(Xv.g4$,null),disabled:r.primary.disabled||"max"===T.current.atBound||"both"===T.current.atBound,"aria-label":"Increment value",type:"button"},elementType:"button"}),decrementButton:Il.Gk(w,{defaultProps:{tabIndex:-1,children:o.createElement(Xv.rLf,null),disabled:r.primary.disabled||"min"===T.current.atBound||"both"===T.current.atBound,"aria-label":"Decrement value",type:"button"},elementType:"button"})};var L,j;return F.input.value=M,F.input.ref=(0,Tl.a)(x,t),F.input["aria-valuemin"]=c,F.input["aria-valuemax"]=u,F.input["aria-valuenow"]=null!==(L=T.current.value)&&void 0!==L?L:void 0,F.input["aria-valuetext"]=null!==(j=F.input["aria-valuetext"])&&void 0!==j?j:void 0!==a&&s||void 0,F.input.onChange=Bd(F.input.onChange,R),F.input.onInput=Bd(F.input.onInput,R),F.input.onBlur=Bd(F.input.onBlur,(e=>{z(e,C,E),T.current.previousTextValue=void 0})),F.input.onKeyDown=Bd(F.input.onKeyDown,(e=>{let t="rest";e.key===$l.DoI?(N(e,"up",E),t="up"):e.key===$l.yd$?(N(e,"down",E),t="down"):e.key===$l.j0c?(e.preventDefault(),N(e,"upPage",E),t="up"):e.key===$l.e5x?(e.preventDefault(),N(e,"downPage",E),t="down"):e.shiftKey||e.key!==$l.ww0||void 0===c?e.shiftKey||e.key!==$l.oam||void 0===u?e.key===$l.xyI?(z(e,C,E),T.current.previousTextValue=void 0):e.key===$l.uf9&&T.current.previousTextValue&&(_(void 0),T.current.previousTextValue=void 0):(z(e,u),t="up"):(z(e,c),t="down"),I!==t&&P(t)})),F.input.onKeyUp=Bd(F.input.onKeyUp,(e=>{"rest"!==I&&(P("rest"),T.current.spinState="rest")})),F.incrementButton.onMouseDown=Bd((e=>{z(e,C,E),T.current.spinState="up",N(e,"up")}),F.incrementButton.onMouseDown),F.incrementButton.onMouseUp=Bd(F.incrementButton.onMouseUp,O),F.incrementButton.onMouseLeave=Bd(F.incrementButton.onMouseLeave,O),F.decrementButton.onMouseDown=Bd((e=>{z(e,C,E),T.current.spinState="down",N(e,"down")}),F.decrementButton.onMouseDown),F.decrementButton.onMouseUp=Bd(F.decrementButton.onMouseUp,O),F.decrementButton.onMouseLeave=Bd(F.decrementButton.onMouseLeave,O),F})(e,t);return(e=>{const{appearance:t,spinState:r,size:n}=e,i=e.input.disabled,o="true"==`${e.input["aria-invalid"]}`,a=t.startsWith("filled"),s=xA(),l=IA(),c=EA();e.root.className=(0,E.z)("fui-SpinButton",AA(),s[n],s[t],a&&s.filled,!i&&"outline"===t&&s.outlineInteractive,!i&&"underline"===t&&s.underlineInteractive,!i&&a&&s.filledInteractive,!i&&o&&s.invalid,i&&s.disabled,e.root.className),e.incrementButton.className=(0,E.z)("fui-SpinButton__incrementButton","up"===r&&`${CA}`,_A(),l.increment,l[t],"small"===n&&l.incrementButtonSmall,e.incrementButton.className),e.decrementButton.className=(0,E.z)("fui-SpinButton__decrementButton","down"===r&&`${CA}`,_A(),l.decrement,l[t],"small"===n&&l.decrementButtonSmall,e.decrementButton.className),e.input.className=(0,E.z)("fui-SpinButton__input",kA(),i&&c.disabled,e.input.className)})(r),(0,hc.$e)("useSpinButtonStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[(0,ec.Y)(e.input,{}),(0,ec.Y)(e.incrementButton,{}),(0,ec.Y)(e.decrementButton,{})]})))(r)}));PA.displayName="SpinButton";const TA=o.forwardRef(((e,t)=>{const r=Sv();return o.createElement(PA,{id:e.internalId,appearance:vv.numberInputAppearance,className:r.numberInput,ref:t,placeholder:e.placeholder,value:void 0!==e.value?e.value:null,min:e.min,max:e.max,precision:10,disabled:!e.isEnabled,input:{"aria-label":e.placeholder,"aria-labelledby":e.ariaLabelledBy,"aria-required":e.isRequired},onChange:(t,r)=>{let n;if(void 0===r.value){if(r.displayValue){const t=Number(r.displayValue);isNaN(t)||(n=void 0!==e.min&&t<e.min?e.min:void 0!==e.max&&t>e.max?e.max:t)}}else n=null!==r.value?r.value:void 0;e.valueChanged(n)}})}));TA.displayName="NumberInputComponent";class BA extends yA{constructor(){super(...arguments),this._inputRef=o.createRef()}focus(){var e,t;return!!(null===(e=this._inputRef)||void 0===e?void 0:e.current)&&(null===(t=this._inputRef)||void 0===t||t.current.focus(),!0)}renderInputControl(){return o.createElement(TA,{internalId:this.internalId,valueChanged:e=>{this.valueChanged(e),this.updateLayout()},placeholder:this.placeholder,value:this.value,ariaLabelledBy:this.getAriaLabelledBy(),isEnabled:this.isEnabled,isRequired:this.isRequired,min:this.min,max:this.max,ref:this._inputRef})}}const DA="fui-ProgressBar__bar",NA=(0,qa.X)({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bpep1pd:"fu42dvn"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.fu42dvn{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),RA=(0,qa.X)({base:{Bpep1pd:"f1neahkh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f12b9xdw",Bqenvij:"f1l02sjl"},nonZeroDeterminate:{Bmy1vo4:"fjt6zfz",B3o57yi:"f1wofebd",Bkqvd7p:"fv71qf3"},indeterminate:{B2u0y6b:"fa0wk36",qhf8xq:"f10pi13n",Bcmaq0h:["fpo0yib","f1u5hf6c"],Bv12yb3:["fwd2bol","f14gig94"],vin17d:"f1a27w2r",Ezkn3b:"f452v7t",w3vfg9:"f1cpbl36",B3ks32h:"f2xo07b",B3vm3ge:"f1f2ih6z",Gqtpxc:"f7h4d4t",vr3tzx:"f32r5lb"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1neahkh{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f2xo07b{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1f2ih6z{animation-iteration-count:infinite;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f7h4d4t{animation-duration:3s;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f32r5lb{animation-name:ftc26vs;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",".fpo0yib{background-image:linear-gradient(\n      to right,\n      var(--colorNeutralBackground6) 0%,\n      var(--colorTransparentBackground) 50%,\n      var(--colorNeutralBackground6) 100%\n    );}",".f1u5hf6c{background-image:linear-gradient(\n      to left,\n      var(--colorNeutralBackground6) 0%,\n      var(--colorTransparentBackground) 50%,\n      var(--colorNeutralBackground6) 100%\n    );}",".fwd2bol{animation-name:f1keuaan;}",".f14gig94{animation-name:f10x8f8u;}",".f1a27w2r{animation-duration:3s;}",".f452v7t{animation-timing-function:linear;}",".f1cpbl36{animation-iteration-count:infinite;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"],k:["@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}","@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}","@keyframes ftc26vs{0%{opacity:.2;}50%{opacity:1;}100%{opacity:.2;}}"]}),OA=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=am(),n=null==r?void 0:r.validationState,{color:i=("error"===n||"warning"===n||"success"===n?n:"brand"),shape:o="rounded",thickness:a="medium"}=e;var s;const l=(e=>e<=0?1:e)(null!==(s=e.max)&&void 0!==s?s:1),c=((e,t)=>void 0===e?e:e<0?0:e>t?t:e)(e.value,l),u=Il.Gk((0,Pl.g)("div",{ref:t,role:"progressbar","aria-valuemin":void 0!==c?0:void 0,"aria-valuemax":void 0!==c?l:void 0,"aria-valuenow":c,"aria-labelledby":null==r?void 0:r.labelId,...e}),{elementType:"div"});return r&&(r.validationMessageId||r.hintId)&&(u["aria-describedby"]=[null==r?void 0:r.validationMessageId,null==r?void 0:r.hintId,u["aria-describedby"]].filter(Boolean).join(" ")),{color:i,max:l,shape:o,thickness:a,value:c,components:{root:"div",bar:"div"},root:u,bar:Il.Gk(e.bar,{elementType:"div"})}})(e,t);return(e=>{const{color:t,max:r,shape:n,thickness:i,value:o}=e,a=NA(),s=RA();e.root.className=(0,E.z)("fui-ProgressBar",a.root,a[n],a[i],e.root.className),e.bar&&(e.bar.className=(0,E.z)(DA,s.base,s.brand,void 0===o&&s.indeterminate,void 0!==o&&o>.01&&s.nonZeroDeterminate,t&&void 0!==o&&s[t],e.bar.className)),e.bar&&void 0!==o&&(e.bar.style={width:Math.min(100,Math.max(0,o/r*100))+"%",...e.bar.style})})(r),(0,hc.$e)("useProgressBarStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.Y)(e.root,{children:e.bar&&(0,ec.Y)(e.bar,{})})))(r)}));var zA;OA.displayName="ProgressBar",function(e){e[e.Accent=0]="Accent",e[e.Good=1]="Good",e[e.Warning=2]="Warning",e[e.Attention=3]="Attention"}(zA||(zA={})),(0,Wa.FM)(zA,"ProgressBarColor");const MA={[_i.V6.Light]:"#0000001a",[_i.V6.Dark]:"#ffffff26"},FA=Va.L.colorBrandForeground1,LA=Va.L.colorStatusSuccessBackground3,jA=Va.L.colorPaletteMarigoldBackground3,VA=Va.L.colorStatusDangerBackground3,HA=(0,P.n)({accent:{backgroundColor:MA[_i.V6.Light],[`& > .${DA}`]:{backgroundColor:FA}},good:{backgroundColor:MA[_i.V6.Light],[`& > .${DA}`]:{backgroundColor:LA}},warning:{backgroundColor:MA[_i.V6.Light],[`& > .${DA}`]:{backgroundColor:jA}},attention:{backgroundColor:MA[_i.V6.Light],[`& > .${DA}`]:{backgroundColor:VA}}}),qA=(0,P.n)({accent:{backgroundColor:MA[_i.V6.Dark],[`& > .${DA}`]:{backgroundColor:FA}},good:{backgroundColor:MA[_i.V6.Dark],[`& > .${DA}`]:{backgroundColor:LA}},warning:{backgroundColor:MA[_i.V6.Dark],[`& > .${DA}`]:{backgroundColor:jA}},attention:{backgroundColor:MA[_i.V6.Dark],[`& > .${DA}`]:{backgroundColor:VA}}}),UA=(0,P.n)({accent:{backgroundColor:MA[_i.V6.Dark],[`& > .${DA}`]:{backgroundColor:Va.L.colorTransparentBackground,backgroundImage:`linear-gradient(to right, ${Va.L.colorTransparentBackground}, ${FA}, ${Va.L.colorTransparentBackground})`}},good:{backgroundColor:MA[_i.V6.Dark],[`& > .${DA}`]:{backgroundColor:Va.L.colorTransparentBackground,backgroundImage:`linear-gradient(to right, ${Va.L.colorTransparentBackground}, ${LA}, ${Va.L.colorTransparentBackground})`}},warning:{backgroundColor:MA[_i.V6.Dark],[`& > .${DA}`]:{backgroundColor:Va.L.colorTransparentBackground,backgroundImage:`linear-gradient(to right, ${Va.L.colorTransparentBackground}, ${jA}, ${Va.L.colorTransparentBackground})`}},attention:{backgroundColor:MA[_i.V6.Dark],[`& > .${DA}`]:{backgroundColor:Va.L.colorTransparentBackground,backgroundImage:`linear-gradient(to right, ${Va.L.colorTransparentBackground}, ${VA}, ${Va.L.colorTransparentBackground})`}}});class $A extends Ei.hA{get value(){return this.getValue($A.valueProperty)}set value(e){this.setValue($A.valueProperty,e)}get max(){return this.getValue($A.maxProperty)}set max(e){this.setValue($A.maxProperty,e)}get color(){return this.getValue($A.colorProperty)}set color(e){this.setValue($A.colorProperty,e)}getJsonTypeName(){return $A.jsonTypeName}internalRender(e){return WA({value:this.value,max:this.max,color:this.color,theme:this.theme})}}$A.jsonTypeName="ProgressBar",$A.valueProperty=new Pi.Uy(Pi.uq.v1_5,"value"),$A.maxProperty=new Pi.Uy(Pi.uq.v1_5,"max",100),$A.colorProperty=new Pi.fX(Pi.uq.v1_5,"color",zA,zA.Accent);const WA=e=>{const t=HA(),r=qA(),n=UA(),i=void 0===e.value,a=e.theme===_i.V6.Light?t:i?n:r;let s=a.accent;if(!i)switch(e.color){case zA.Good:s=a.good;break;case zA.Warning:s=a.warning;break;case zA.Attention:s=a.attention}return o.createElement(OA,{thickness:"large",className:s,value:e.value,max:e.max})};var GA,KA;!function(e){e[e.Tiny=0]="Tiny",e[e.Small=1]="Small",e[e.Medium=2]="Medium",e[e.Large=3]="Large"}(GA||(GA={})),(0,Wa.FM)(GA,"ProgressRingSize"),function(e){e[e.Before=0]="Before",e[e.After=1]="After",e[e.Above=2]="Above",e[e.Below=3]="Below"}(KA||(KA={})),(0,Wa.FM)(KA,"ProgressRingLabelPosition");const XA={[GA.Tiny]:"tiny",[GA.Small]:"small",[GA.Medium]:"medium",[GA.Large]:"large"},YA={[KA.Before]:"before",[KA.After]:"after",[KA.Above]:"above",[KA.Below]:"below"};class JA extends Ei.hA{get label(){return this.getValue(JA.labelProperty)}set label(e){this.setValue(JA.labelProperty,e)}get labelPosition(){return this.getValue(JA.labelPositionProperty)}set labelPosition(e){this.setValue(JA.labelPositionProperty,e)}get size(){return this.getValue(JA.sizeProperty)}set size(e){this.setValue(JA.sizeProperty,e)}getJsonTypeName(){return JA.jsonTypeName}internalRender(e){const t=YA[this.labelPosition],r=XA[this.size];let n;switch(this.horizontalAlignment){case _i.OD.Center:n="center";break;case _i.OD.Right:n="flex-end";break;default:n="flex-start"}return o.createElement("div",{style:{alignSelf:n,display:"flex"}},o.createElement(Ow,{label:this.label,labelPosition:t,size:r}))}}JA.jsonTypeName="ProgressRing",JA.labelProperty=new Pi.XB(Pi.uq.v1_5,"label"),JA.labelPositionProperty=new Pi.fX(Pi.uq.v1_5,"labelPosition",KA,KA.Below),JA.sizeProperty=new Pi.fX(Pi.uq.v1_5,"size",GA,GA.Medium);const ZA=(0,Nm.U)("StarFilled","1em",["M9.1 2.9a1 1 0 0 1 1.8 0l1.93 3.91 4.31.63a1 1 0 0 1 .56 1.7l-3.12 3.05.73 4.3a1 1 0 0 1-1.45 1.05L10 15.51l-3.86 2.03a1 1 0 0 1-1.45-1.05l.74-4.3L2.3 9.14a1 1 0 0 1 .56-1.7l4.31-.63L9.1 2.9Z"]),QA=(0,Nm.U)("StarRegular","1em",["M9.1 2.9a1 1 0 0 1 1.8 0l1.93 3.91 4.31.63a1 1 0 0 1 .56 1.7l-3.12 3.05.73 4.3a1 1 0 0 1-1.45 1.05L10 15.51l-3.86 2.03a1 1 0 0 1-1.45-1.05l.74-4.3L2.3 9.14a1 1 0 0 1 .56-1.7l4.31-.63L9.1 2.9Zm.9.44L8.07 7.25a1 1 0 0 1-.75.55L3 8.43l3.12 3.04a1 1 0 0 1 .3.89l-.75 4.3 3.87-2.03a1 1 0 0 1 .93 0l3.86 2.03-.74-4.3a1 1 0 0 1 .29-.89L17 8.43l-4.32-.63a1 1 0 0 1-.75-.55L10 3.35Z"]),ex=o.createContext(void 0),tx={color:"neutral",iconFilled:ZA,iconOutline:QA,step:1,size:"medium"},rx=ex.Provider,nx=e=>e+"",ix=(0,qa.X)({root:{qhf8xq:"f10pi13n",Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",Bssx7fj:"f1b1k54r",uh7if5:["f4ne723","fqqcjud"],clntm0:"fh7aioi",Dlk2r6:["fqqcjud","f4ne723"],Bm3wd5j:"f1k55ka9",Bbrhkcr:["fgclinu","f16pcs8n"],f1oku:"fycbxed",aywvf2:["f16pcs8n","fgclinu"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",Byrf0fs:0,Bsiemmq:0,Bwckmig:0,skfxo0:0,Iidy0u:0,B98u21t:0,Bvwlmkc:0,jo1ztg:0,Ba1iezr:0,Blmvk6g:0,B24cy0v:0,Bil7v7r:0,Br3gin4:0,nr063g:0,ghq09:0,Bbgo44z:0,Bseh09z:"fmj8fco",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1iwowo3",B2pnrqr:"f1spmvte",B29w5g4:["fgp7k2s","f13pb23"],Bhhzhcn:"f1ihbrwi",Bec0n69:["f13pb23","fgp7k2s"]},small:{Be2twd7:"f1ugzwwg",a9b677:"frx94fk",Bqenvij:"fvblgha"},medium:{Be2twd7:"f4ybsrx",a9b677:"fjw5fx7",Bqenvij:"fd461yt"},large:{Be2twd7:"fe5j1ua",a9b677:"f64fuq3",Bqenvij:"fjamq6b"},"extra-large":{Be2twd7:"f24l1pt",a9b677:"f1w9dchk",Bqenvij:"fxldao9"}},{d:[".f10pi13n{position:relative;}",".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}",".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}",".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}",".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}",'.ffht0p2[data-fui-focus-within]:focus-within::after{content:"";}',".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}",".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}",".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}",[".fmj8fco[data-fui-focus-within]:focus-within::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1iwowo3[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1spmvte[data-fui-focus-within]:focus-within::after{top:calc(2px * -1);}",".fgp7k2s[data-fui-focus-within]:focus-within::after{right:calc(2px * -1);}",".f13pb23[data-fui-focus-within]:focus-within::after{left:calc(2px * -1);}",".f1ihbrwi[data-fui-focus-within]:focus-within::after{bottom:calc(2px * -1);}",".f1ugzwwg{font-size:12px;}",".frx94fk{width:12px;}",".fvblgha{height:12px;}",".f4ybsrx{font-size:16px;}",".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fe5j1ua{font-size:20px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".f24l1pt{font-size:28px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],m:[["@media (forced-colors: active){.f1k55ka9[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16pcs8n[data-fui-focus-within]:focus-within::after{border-left-color:Highlight;}.fgclinu[data-fui-focus-within]:focus-within::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fycbxed[data-fui-focus-within]:focus-within::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),ox=(0,rc.y)("r1qfsv1p","rh8pzaz",[".r1qfsv1p{position:absolute;left:0;top:0;right:0;bottom:0;box-sizing:border-box;margin:0;opacity:0;cursor:pointer;height:100%;}",".rh8pzaz{position:absolute;right:0;top:0;left:0;bottom:0;box-sizing:border-box;margin:0;opacity:0;cursor:pointer;height:100%;}"]),ax=(0,qa.X)({lowerHalf:{j35jbq:["ffenbu1","f1ktbn1t"]},upperHalf:{oyh7mz:["f1ktbn1t","ffenbu1"]}},{d:[".ffenbu1{right:50%;}",".f1ktbn1t{left:50%;}"]}),sx=(0,rc.y)("r1420l2m","r1yt29v5",[".r1420l2m{display:flex;overflow:hidden;color:var(--colorNeutralForeground1);fill:currentColor;pointer-events:none;position:absolute;left:0;right:0;top:0;bottom:0;}",".r1yt29v5{display:flex;overflow:hidden;color:var(--colorNeutralForeground1);fill:currentColor;pointer-events:none;position:absolute;right:0;left:0;top:0;bottom:0;}"]),lx=(0,qa.X)({lowerHalf:{j35jbq:["ffenbu1","f1ktbn1t"],l5kjut:0,uoufgc:0,v39lw8:0,Bbwb3tu:"f10jwh99"},upperHalf:{oyh7mz:["f1ktbn1t","ffenbu1"],Frg6f3:["fbm7ezh","f3ev47i"]},brand:{sj55zd:"f16muhyy"},marigold:{sj55zd:"f1whvut0"},filled:{sj55zd:"f1qaymga",ojy3ng:"f13qq9og",Bbusuzp:"f1cg6951",B6jmk37:"f1am6ztc"},brandFilled:{sj55zd:"f1kdv6iu"},marigoldFilled:{sj55zd:"f1ymbmfq"}},{d:[".ffenbu1{right:50%;}",".f1ktbn1t{left:50%;}",[".f10jwh99>svg{flex:0 0 auto;}",{p:-1}],".fbm7ezh{margin-left:-50%;}",".f3ev47i{margin-right:-50%;}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whvut0{color:var(--colorPaletteMarigoldBorderActive);}",".f1qaymga{color:var(--colorNeutralBackground6);}",".f13qq9og{stroke:var(--colorTransparentStroke);}",".f1kdv6iu{color:var(--colorBrandBackground2);}",".f1ymbmfq{color:var(--colorPaletteMarigoldBackground2);}"],m:[["@media (forced-colors: active){.f1cg6951{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1am6ztc{stroke:CanvasText;}}",{m:"(forced-colors: active)"}]]}),cx=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=o.useContext(ex)||tx,{value:n=0}=e,{itemLabel:i=nx,iconFilled:a,iconOutline:s}=r,l=Math.round(2*(r.value||0))/2;var c;const u=null!==(c=r.hoveredValue)&&void 0!==c?c:l,d=r.interactive?"outline":"filled";let p;p=r.compact||u>=n?1:u>=n-.5?.5:0;const f=Il.Gk((0,Pl.g)("span",{ref:(0,Tl.a)(Bm(),t),...e}),{elementType:"span"});let h,g,m,v;return p<1&&(h=Il.Gk(e.unselectedIcon,{defaultProps:{children:"filled"===d?o.createElement(a,null):o.createElement(s,null),"aria-hidden":!0},elementType:"div"})),p>0&&(g=Il.Gk(e.selectedIcon,{defaultProps:{children:o.createElement(a,null),"aria-hidden":!0},elementType:"div"})),r.interactive&&.5===r.step&&(m=Il.Gk(e.halfValueInput,{defaultProps:{type:"radio",name:r.name,value:n-.5,checked:l===n-.5,"aria-label":i(n-.5),onChange:()=>{}},elementType:"input"})),r.interactive&&(v=Il.Gk(e.fullValueInput,{defaultProps:{type:"radio",name:r.name,value:n,checked:l===n,"aria-label":i(n),onChange:()=>{}},elementType:"input"})),{appearance:d,color:r.color,step:r.step,size:r.size,iconFillWidth:p,value:n,components:{root:"span",selectedIcon:"div",unselectedIcon:"div",halfValueInput:"input",fullValueInput:"input"},root:f,selectedIcon:g,unselectedIcon:h,halfValueInput:m,fullValueInput:v}})(e,t);return(e=>{const{color:t,size:r,iconFillWidth:n,appearance:i}=e,o=ix(),a=ox(),s=ax(),l=sx(),c=lx();e.root.className=(0,E.z)("fui-RatingItem",o.root,o[r],e.root.className),e.halfValueInput&&(e.halfValueInput.className=(0,E.z)("fui-RatingItem__halfValueInput",a,s.lowerHalf,e.halfValueInput.className)),e.fullValueInput&&(e.fullValueInput.className=(0,E.z)("fui-RatingItem__fullValueInput",a,e.halfValueInput&&s.upperHalf,e.fullValueInput.className)),e.unselectedIcon&&(e.unselectedIcon.className=(0,E.z)("fui-RatingItem__unselectedIcon",l,"filled"===i&&c.filled,"brand"===t&&("filled"===i?c.brandFilled:c.brand),"marigold"===t&&("filled"===i?c.marigoldFilled:c.marigold),.5===n&&c.upperHalf,e.unselectedIcon.className)),e.selectedIcon&&(e.selectedIcon.className=(0,E.z)("fui-RatingItem__selectedIcon",l,"brand"===t&&c.brand,"marigold"===t&&c.marigold,.5===n&&c.lowerHalf,e.selectedIcon.className))})(r),(0,hc.$e)("useRatingItemStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(e.root,{children:[e.halfValueInput&&(0,ec.Y)(e.halfValueInput,{}),e.fullValueInput&&(0,ec.Y)(e.fullValueInput,{}),e.unselectedIcon&&(0,ec.Y)(e.unselectedIcon,{}),e.selectedIcon&&(0,ec.Y)(e.selectedIcon,{})]})))(r)}));cx.displayName="RatingItem";const ux=(0,rc.y)("rxxdqwu",null,[".rxxdqwu{display:flex;flex-wrap:wrap;align-items:center;}"]),dx=(0,rc.y)("rkwnos5","rwei36a",[".rkwnos5{color:var(--colorNeutralForeground1);margin-left:var(--spacingHorizontalXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}",".rwei36a{color:var(--colorNeutralForeground1);margin-right:var(--spacingHorizontalXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),px=(0,qa.X)({large:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Frg6f3:["f1t5qyk5","f1ikr372"]},extraLarge:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Frg6f3:["foyynoy","f1vcna3q"]},strong:{Bhrd7zp:"fl43uef"},divider:{Ftih45:"f169p45e"}},{d:[".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".foyynoy{margin-left:var(--spacingHorizontalS);}",".f1vcna3q{margin-right:var(--spacingHorizontalS);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",'.f169p45e::before{content:"· ";}']}),fx=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{color:r="neutral",count:n,compact:i=!1,icon:a=ZA,max:s=5,size:l="medium",value:c}=e,u=(0,wl.Bi)("rating-value-"),d=(0,wl.Bi)("rating-count-"),p=o.useMemo((()=>i?o.createElement(cx,{value:1,key:1,"aria-hidden":!0}):Array.from(Array(s),((e,t)=>o.createElement(cx,{value:t+1,key:t+1,"aria-hidden":!0})))),[i,s]),f={color:r,compact:i,icon:a,max:s,size:l,value:c,components:{root:"div",valueText:"span",countText:"span"},root:Il.Gk((0,Pl.g)("div",{ref:t,children:p,role:"img",...e}),{elementType:"div"}),valueText:Il.lq(e.valueText,{renderByDefault:void 0!==c,defaultProps:{children:c,id:u,"aria-hidden":!0},elementType:"span"}),countText:Il.lq(e.countText,{renderByDefault:void 0!==n,defaultProps:{children:null==n?void 0:n.toLocaleString(),id:d,"aria-hidden":!0},elementType:"span"})};var h,g;return f.root["aria-label"]||f.root["aria-labelledby"]||(f.root["aria-labelledby"]=[null===(h=f.valueText)||void 0===h?void 0:h.id,null===(g=f.countText)||void 0===g?void 0:g.id].filter(Boolean).join(" ")),f})(e,t),n=(e=>{const{color:t,compact:r,icon:n,size:i,value:a}=e;return{ratingItem:o.useMemo((()=>({color:t,compact:r,iconFilled:n,iconOutline:n,interactive:!1,step:.5,size:i,value:a})),[t,r,n,i,a])}})(r);return(e=>{const{size:t}=e,r=ux();e.root.className=(0,E.z)("fui-RatingDisplay",r,e.root.className);const n=dx(),i=px();e.valueText&&(e.valueText.className=(0,E.z)("fui-RatingDisplay__valueText",n,i.strong,"large"===t&&i.large,"extra-large"===t&&i.extraLarge,e.valueText.className)),e.countText&&(e.countText.className=(0,E.z)("fui-RatingDisplay__countText",n,"large"===t&&i.large,"extra-large"===t&&i.extraLarge,e.valueText&&i.divider,e.countText.className))})(r),(0,hc.$e)("useRatingDisplayStyles_unstable")(r),((e,t)=>((0,tc.C)(e),(0,ec.Y)(rx,{value:t.ratingItem,children:(0,ec.FD)(e.root,{children:[e.root.children,e.valueText&&(0,ec.Y)(e.valueText,{}),e.countText&&(0,ec.Y)(e.countText,{})]})})))(r,n)}));var hx,gx,mx;fx.displayName="RatingDisplay",function(e){e[e.Medium=0]="Medium",e[e.Large=1]="Large"}(hx||(hx={})),(0,Wa.FM)(hx,"RatingSize"),function(e){e[e.Neutral=0]="Neutral",e[e.Marigold=1]="Marigold"}(gx||(gx={})),(0,Wa.FM)(gx,"RatingColor"),function(e){e[e.Default=0]="Default",e[e.Compact=1]="Compact"}(mx||(mx={})),(0,Wa.FM)(mx,"RatingStyle");const vx={[hx.Medium]:"medium",[hx.Large]:"large"},yx={[gx.Neutral]:"neutral",[gx.Marigold]:"marigold"};class bx extends Ei.hA{get value(){return this.getValue(bx.valueProperty)}set value(e){this.setValue(bx.valueProperty,e)}get count(){return this.getValue(bx.countProperty)}set count(e){this.setValue(bx.countProperty,e)}get max(){return this.getValue(bx.maxProperty)}set max(e){this.setValue(bx.maxProperty,e)}get size(){return this.getValue(bx.sizeProperty)}set size(e){this.setValue(bx.sizeProperty,e)}get color(){return this.getValue(bx.colorProperty)}set color(e){this.setValue(bx.colorProperty,e)}get style(){return this.getValue(bx.styleProperty)}set style(e){this.setValue(bx.styleProperty,e)}internalRender(e){const t=this.max>0?Math.min(this.max,bx.maxMax):bx.defaultMax;let r;switch(this.horizontalAlignment){case _i.OD.Right:r="flex-end";break;case _i.OD.Center:r="center"}return o.createElement("div",{style:{display:"flex",justifyContent:r}},o.createElement(fx,{value:this.value,max:t,size:vx[this.size],color:yx[this.color],count:this.count,compact:this.style===mx.Compact}))}getJsonTypeName(){return"Rating"}}bx.defaultMax=5,bx.maxMax=5,bx.valueProperty=new Pi.Uy(Pi.uq.v1_5,"value"),bx.countProperty=new Pi.Uy(Pi.uq.v1_5,"count"),bx.maxProperty=new Pi.Uy(Pi.uq.v1_5,"max",bx.defaultMax),bx.sizeProperty=new Pi.fX(Pi.uq.v1_5,"size",hx,hx.Large),bx.colorProperty=new Pi.fX(Pi.uq.v1_5,"color",gx,gx.Neutral),bx.styleProperty=new Pi.fX(Pi.uq.v1_5,"style",mx,mx.Default);const wx=(0,rc.y)("r2imjyh",null,[".r2imjyh{display:flex;flex-wrap:wrap;}"]),Sx=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=(0,wl.Bi)("rating-"),{color:n="neutral",iconFilled:i=ZA,iconOutline:a=QA,max:s=5,name:l=r,onChange:c,step:u=1,size:d="extra-large",itemLabel:p}=e,[f,h]=pd({state:e.value,defaultState:e.defaultValue,initialState:0}),g=e=>(0,Du.s)(e,{constructorName:"HTMLInputElement"})&&"radio"===e.type&&e.name===l,[m,v]=o.useState(void 0),y=o.useMemo((()=>Array.from(Array(s),((e,t)=>o.createElement(cx,{value:t+1,key:t+1})))),[s]),b={color:n,iconFilled:i,iconOutline:a,name:l,step:u,size:d,itemLabel:p,value:f,hoveredValue:m,components:{root:"div"},root:Il.Gk((0,Pl.g)("div",{ref:t,children:y,role:"radiogroup",...e},["onChange"]),{elementType:"div"})};return b.root.onChange=e=>{if(g(e.target)){const t=parseFloat(e.target.value);isNaN(t)||(h(t),null==c||c(e,{type:"change",event:e,value:t}))}},b.root.onMouseOver=Bd(e.onMouseOver,(e=>{if(g(e.target)){const t=parseFloat(e.target.value);isNaN(t)||v(t)}})),b.root.onMouseLeave=Bd(e.onMouseLeave,(e=>{v(void 0)})),b})(e,t),n=(e=>{const{color:t,hoveredValue:r,iconFilled:n,iconOutline:i,itemLabel:a,name:s,step:l,size:c,value:u}=e;return{ratingItem:o.useMemo((()=>({color:t,hoveredValue:r,iconFilled:n,iconOutline:i,interactive:!0,itemLabel:a,name:s,step:l,size:c,value:u})),[t,r,n,i,a,s,l,c,u])}})(r);return(e=>{const t=wx();e.root.className=(0,E.z)("fui-Rating",t,e.root.className)})(r),(0,hc.$e)("useRatingStyles_unstable")(r),((e,t)=>((0,tc.C)(e),(0,ec.Y)(rx,{value:t.ratingItem,children:(0,ec.Y)(e.root,{})})))(r,n)}));Sx.displayName="Rating";const Cx=o.forwardRef(((e,t)=>e.isEnabled?o.createElement(Sx,{ref:t,step:e.step,id:e.internalId,max:e.max,size:e.size,color:e.color,value:e.value,onChange:(t,r)=>{e.valueChanged(r.value)}}):o.createElement(fx,{value:e.value,max:e.max,size:e.size,color:e.color,valueText:""})));Cx.displayName="RatingInputComponent";const Ax={[hx.Medium]:"medium",[hx.Large]:"large"},xx={[gx.Neutral]:"neutral",[gx.Marigold]:"marigold"};class kx extends tm{constructor(){super(...arguments),this._inputRef=o.createRef()}get defaultValue(){return this.getValue(kx.valueProperty)}set defaultValue(e){this.setValue(kx.valueProperty,e)}get max(){return this.getValue(kx.maxProperty)}set max(e){this.setValue(kx.maxProperty,e)}get allowHalfSteps(){return this.getValue(kx.allowHalfStepsProperty)}set allowHalfSteps(e){this.setValue(kx.allowHalfStepsProperty,e)}get size(){return this.getValue(kx.sizeProperty)}set size(e){this.setValue(kx.sizeProperty,e)}get color(){return this.getValue(kx.colorProperty)}set color(e){this.setValue(kx.colorProperty,e)}focus(){var e;if(null===(e=this._inputRef)||void 0===e?void 0:e.current){const e=this._inputRef.current,t=e.querySelector("input[type=radio]:checked")||e.querySelector("input[type=radio]:enabled");if(t)return null==t||t.focus(),!0}return!1}internalParse(e,t){super.internalParse(e,t),this.max>0&&this._value>this.max&&(this._value=this.max)}renderInputControl(){const e=this.max>0?Math.min(this.max,kx.maxMax):kx.defaultMax;return o.createElement(Cx,{ref:this._inputRef,internalId:this.internalId,isEnabled:this.isEnabled,isRequired:this.isRequired,max:e,step:this.allowHalfSteps?.5:1,size:Ax[this.size],color:xx[this.color],value:this.value,valueChanged:e=>{this.valueChanged(e),this.updateLayout()}})}getJsonTypeName(){return"Input.Rating"}isSet(){return void 0!==this.value&&!isNaN(this.value)}isValid(){return void 0===this.value?!this.isRequired:this.isValidValue(this.value)}isValidValue(e){let t=!0;return void 0!==this.max&&(t=t&&e<=this.max),t}get value(){return this._value}set value(e){this._value===e||void 0!==e&&!this.isValidValue(e)||this.valueChanged(e)}}kx.defaultMax=5,kx.maxMax=5,kx.valueProperty=new Pi.Uy(Pi.uq.v1_5,"value"),kx.maxProperty=new Pi.Uy(Pi.uq.v1_5,"max",kx.defaultMax),kx.allowHalfStepsProperty=new Pi.gV(Pi.uq.v1_5,"allowHalfSteps",!1),kx.sizeProperty=new Pi.fX(Pi.uq.v1_5,"size",hx,hx.Large),kx.colorProperty=new Pi.fX(Pi.uq.v1_5,"color",gx,gx.Neutral);class Ex extends tm{get defaultValue(){return this.getValue(Ex.valueProperty)}set defaultValue(e){this.setValue(Ex.valueProperty,e)}get maxLength(){return this.getValue(Ex.maxLengthProperty)}set maxLength(e){this.setValue(Ex.maxLengthProperty,e)}get isMultiline(){return this.getValue(Ex.isMultilineProperty)}set isMultiline(e){this.setValue(Ex.isMultilineProperty,e)}get placeholder(){return this.getValue(Ex.placeholderProperty)}set placeholder(e){this.setValue(Ex.placeholderProperty,e)}get style(){return this.getValue(Ex.styleProperty)}set style(e){this.setValue(Ex.styleProperty,e)}get inlineAction(){return this.getValue(Ex.inlineActionProperty)}set inlineAction(e){this.setValue(Ex.inlineActionProperty,e)}get regex(){return this.getValue(Ex.regexProperty)}set regex(e){this.setValue(Ex.regexProperty,e)}renderExtraContent(){return this.inlineAction?o.createElement(Ei.XG,{cardObject:this.inlineAction,args:{isInline:!0}}):null}executeValueChangedAction(){var e;null===(e=this.valueChangedAction)||void 0===e||e.execute(Ex.valueChangedActionExecutionDelay)}getJsonTypeName(){return"Input.Text"}getAllActions(){const e=super.getAllActions();return this.inlineAction&&e.push(this.inlineAction),e}getActionById(e){let t=super.getActionById(e);return!t&&this.inlineAction&&(t=this.inlineAction.getActionById(e)),t}isDirty(){const e=""!==this.value?this.value:void 0,t=""!==this._oldValue?this._oldValue:void 0;return this.isSet()&&e!==t}isSet(){return!!this.value}isValid(){return this.value?this.isValidValue(this.value):!this.isRequired}isValidValue(e){return!this.regex||new RegExp(this.regex,"g").test(e)}get value(){return this._value}set value(e){this._value===e||void 0!==e&&!this.isValidValue(e)||this.valueChanged(e)}}Ex.valueChangedActionExecutionDelay=1e3,Ex.valueProperty=new Pi.XB(Pi.uq.v1_0,"value").setContentType("text"),Ex.maxLengthProperty=new Pi.Uy(Pi.uq.v1_0,"maxLength"),Ex.isMultilineProperty=new Pi.gV(Pi.uq.v1_0,"isMultiline",!1),Ex.placeholderProperty=new Pi.XB(Pi.uq.v1_0,"placeholder").setContentType("text"),Ex.styleProperty=new Pi.fX(Pi.uq.v1_0,"style",_i.Ln,_i.Ln.Text,[{value:_i.Ln.Text},{value:_i.Ln.Tel},{value:_i.Ln.Url},{value:_i.Ln.Email},{value:_i.Ln.Password,targetVersion:Pi.uq.v1_5}]),Ex.inlineActionProperty=new Ug.c(Pi.uq.v1_0,"inlineAction",["Action.ShowCard"]),Ex.regexProperty=new Pi.XB(Pi.uq.v1_3,"regex");const _x=(0,qa.X)({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"ff3nzm7",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]},interactive:{li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],m:[["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),Ix=(0,qa.X)({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",B4brmom:"f1vw9udw",Brrnbx2:"fbb3kq8",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1vw9udw::selection{color:var(--colorNeutralForegroundInverted);}",".fbb3kq8::selection{background-color:var(--colorNeutralBackgroundInverted);}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Px=(0,qa.X)({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),Tx=o.forwardRef(((e,t)=>{const r=((e,t)=>{e=sm(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=(0,rA.Pv)();var n;const{size:i="medium",appearance:o=(null!==(n=r.inputDefaultAppearance)&&void 0!==n?n:"outline"),resize:a="none",onChange:s}=e,[l,c]=pd({state:e.value,defaultState:e.defaultValue,initialState:void 0}),u=(0,cm.n)({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={size:i,appearance:o,resize:a,components:{root:"span",textarea:"textarea"},textarea:Il.Gk(e.textarea,{defaultProps:{ref:t,...u.primary},elementType:"textarea"}),root:Il.Gk(e.root,{defaultProps:u.root,elementType:"span"})};return d.textarea.value=l,d.textarea.onChange=(0,Al.D)((e=>{const t=e.target.value;null==s||s(e,{value:t}),c(t)})),d})(e,t);return(e=>{const{size:t,appearance:r,resize:n}=e,i=e.textarea.disabled,o="true"==`${e.textarea["aria-invalid"]}`,a=r.startsWith("filled"),s=_x();e.root.className=(0,E.z)("fui-Textarea",s.base,i&&s.disabled,!i&&a&&s.filled,!i&&s[r],!i&&s.interactive,!i&&"outline"===r&&s.outlineInteractive,!i&&o&&s.invalid,e.root.className);const l=Ix(),c=Px();e.textarea.className=(0,E.z)("fui-Textarea__textarea",l.base,l[t],c[n],i&&l.disabled,e.textarea.className)})(r),(0,hc.$e)("useTextareaStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.Y)(e.root,{children:(0,ec.Y)(e.textarea,{})})))(r)}));Tx.displayName="Textarea";const Bx=o.forwardRef(((e,t)=>{var r,n;const[i,a]=o.useState(!1),s=Sv(),l=(t,r)=>{e.valueChanged(r.value)},c=t=>{t.ctrlKey&&"Enter"===t.key&&e.inlineAction&&e.inlineAction.isEffectivelyEnabled()&&e.inlineAction.execute()},u=e.maxLength&&e.maxLength>0?e.maxLength:void 0,d=e.style===_i.Ln.Password;if(!e.isMultiline){const n=d?i?"text":"password":_i.Ln[e.style].toLowerCase();let p;if(d){let t,r;i?(t=o.createElement(Mm,null),r=e.strings.passwordInputIconHideAriaLabel):(t=o.createElement(zm,null),r=e.strings.passwordInputIconRevealAriaLabel);const n=()=>{a(!i)};p=o.createElement(pv.$,{icon:t,appearance:"transparent",disabled:!e.isEnabled,"aria-label":r,onClick:n})}const f=d?s.passwordInputHideRevealButton:void 0;return o.createElement(cA,{id:e.internalId,className:s.textInput,appearance:vv.basicInputAppearance,type:n,ref:t,placeholder:e.placeholder,value:null!==(r=e.value)&&void 0!==r?r:"",maxLength:u,contentAfter:p,disabled:!e.isEnabled,input:{className:f,"aria-label":e.placeholder,"aria-labelledby":e.ariaLabelledBy,"aria-required":e.isRequired},onChange:l,onKeyDown:c})}return o.createElement(Tx,{id:e.internalId,className:s.multilineTextInput,appearance:vv.textareaAppearance,ref:t,placeholder:e.placeholder,maxLength:u,value:null!==(n=e.value)&&void 0!==n?n:"",disabled:!e.isEnabled,textarea:{className:s.multilineTextInputTextArea,"aria-label":e.placeholder,"aria-labelledby":e.ariaLabelledBy,"aria-required":e.isRequired},onChange:l,onKeyDown:c})}));Bx.displayName="TextInputComponent";class Dx extends Ex{constructor(){super(...arguments),this._inputRef=o.createRef()}focus(){var e,t;return!!(null===(e=this._inputRef)||void 0===e?void 0:e.current)&&(null===(t=this._inputRef)||void 0===t||t.current.focus(),!0)}internalParse(e,t){super.internalParse(e,t),this.style===_i.Ln.Password&&this.isMultiline&&(this.style=_i.Ln.Text)}renderInputControl(){return o.createElement(Bx,{internalId:this.internalId,valueChanged:e=>{this.valueChanged(e),this.updateLayout()},value:this.value,inlineAction:this.inlineAction,maxLength:this.maxLength,style:this.style,isMultiline:this.isMultiline,placeholder:this.placeholder,ariaLabelledBy:this.getAriaLabelledBy(),isEnabled:this.isEnabled,isRequired:this.isRequired,strings:{passwordInputIconHideAriaLabel:this.localizeString(zw.passwordInputHidePasswordAriaLabel),passwordInputIconRevealAriaLabel:this.localizeString(zw.passwordInputRevealPasswordAriaLabel)},ref:this._inputRef})}}class Nx extends Pi.Zn{static validateTimeString(e){return void 0===e||Nx.validationRegEx.test(e)}static timeStringToDate(e){const t=Nx.validationRegEx.exec(e);if(null!==t){const e=parseInt(t[1],10),r=parseInt(t[2],10);return new Date(Nx.referenceDate.getFullYear(),Nx.referenceDate.getMonth(),Nx.referenceDate.getDay(),e,r,0,0)}}static dateToTimeString(e){const t=e.getHours(),r=e.getMinutes();return`${t<10?"0":""}${t}:${r<10?"0":""}${r}`}constructor(e,t){super(e,t,((e,t,r,n)=>{const i=r[t.name];if("string"==typeof i&&i&&Nx.validateTimeString(i))return i}),((e,t,r,n,i)=>{i.serializeValue(r,t.name,n)})),this.targetVersion=e,this.name=t}preProcessValue(e){return Nx.validateTimeString(e)?e:void 0}getDescriptor(e){return{valueTypes:[{type:"string"}]}}}Nx.referenceDate=new Date(1973,9,4,0,0,0,0),Nx.validationRegEx=/^(0[0-9]|1[0-9]|2[0-3]):([0-5][0-9])$/;class Rx extends tm{get defaultValue(){return this.getValue(Rx.valueProperty)}set defaultValue(e){this.setValue(Rx.valueProperty,e)}get min(){return this.getValue(Rx.minProperty)}set min(e){this.setValue(Rx.minProperty,e)}get max(){return this.getValue(Rx.maxProperty)}set max(e){this.setValue(Rx.maxProperty,e)}get placeholder(){return this.getValue(Rx.placeholderProperty)}set placeholder(e){this.setValue(Rx.placeholderProperty,e)}valueChanged(e){super.valueChanged(e?Nx.dateToTimeString(e):void 0)}getJsonTypeName(){return"Input.Time"}isSet(){return!!this.value}isValid(){return void 0===this.valueAsDate?!this.isRequired:this.isValidValue(this.valueAsDate)}isValidValue(e){const t="string"==typeof e?Nx.timeStringToDate(e):e;if(void 0===t)return!1;let r=!0;return this.minAsDate&&(r=r&&t>=this.minAsDate),this.maxAsDate&&(r=r&&t<=this.maxAsDate),r}get value(){return this._value}set value(e){this._value===e||void 0!==e&&!this.isValidValue(e)||super.valueChanged(e)}get valueAsDate(){return this.value?Nx.timeStringToDate(this.value):void 0}get minAsDate(){return this.min?Nx.timeStringToDate(this.min):void 0}get maxAsDate(){return this.max?Nx.timeStringToDate(this.max):void 0}}function Ox(e){return!isNaN(e.getTime())}function zx(e){return e?Ox(e)?e.toISOString():"invalid":""}function Mx(e){if(""===e||"invalid"===e)return null;const t=new Date(e);return Ox(t)?t:null}function Fx(e,{hourCycle:t,showSeconds:r}={}){return e.toLocaleTimeString(void 0,{hour:"numeric",hourCycle:t,minute:"2-digit",second:r?"2-digit":void 0})}Rx.valueProperty=new Nx(Pi.uq.v1_0,"value"),Rx.placeholderProperty=new Pi.XB(Pi.uq.v1_0,"placeholder").setContentType("text"),Rx.minProperty=new Nx(Pi.uq.v1_0,"min"),Rx.maxProperty=new Nx(Pi.uq.v1_0,"max");const Lx=/^((1[0-2]|0?[0-9]):([0-5][0-9]):([0-5][0-9])\s([AaPp][Mm]))$/,jx=/^((1[0-2]|0?[0-9]):[0-5][0-9]\s([AaPp][Mm]))$/,Vx=/^([0-1]?[0-9]|2[0-4]):[0-5][0-9]:[0-5][0-9]$/,Hx=/^([0-1]?[0-9]|2[0-4]):[0-5][0-9]$/,qx=(e,t,r)=>{const[n]=o.useState((()=>new Date)),i=zx(null!=e?e:null);return o.useMemo((()=>{const i=null!=e?e:n,o=function(e,t){const r=new Date(e);return r.setHours(t,0,0,0),r}(i,t),a=function(e,t,r){const n=new Date(e);return(t>r||24===r)&&n.setDate(n.getDate()+1),n.setHours(24===r?0:r,0,0,0),n}(i,t,r);return{dateStartAnchor:o,dateEndAnchor:a}}),[r,n,i,t])},Ux=(e,t)=>{const{getOptionById:r,freeform:n,parseTimeStringToDate:i,submittedText:a,value:s,activeDescendantController:l}=e,c=o.useCallback((()=>{const e=l.active();return e?r(e):null}),[l,r]);o.useEffect((()=>{if(n&&s){const e=c();if(!e)return;0===e.text.toLowerCase().indexOf(s.toLowerCase())||l.blur()}}),[n,s,l,c]);const u=(0,Al.D)((e=>{if(!n)return;const{date:r,errorType:o}=i(s);a!==s&&(null==t||t(e,{selectedTime:r,selectedTimeText:s,errorType:o}))})),d=(0,Al.D)((e=>{c()||e.key!==$l.xyI||u(e)}));e.root.onKeyDown=Bd(d,e.root.onKeyDown);const p=o.useRef(null);e.root.ref=(0,Tl.a)(e.root.ref,p),e.listbox&&(e.listbox.tabIndex=-1),e.expandIcon&&(e.expandIcon.tabIndex=-1);const f=(0,Al.D)((e=>{(!e.relatedTarget||!bd(p.current,e.relatedTarget))&&u(e)}));e.input.onBlur=Bd(f,e.input.onBlur)},$x=e=>{var t;const r=am(),n=(0,wl.Bi)("timepicker-chevron-");if((null==r?void 0:r.labelId)&&"Open"===(null===(t=e.expandIcon)||void 0===t?void 0:t["aria-label"])){var i;const t=null!==(i=e.expandIcon.id)&&void 0!==i?i:n;e.expandIcon["aria-labelledby"]=`${t} ${r.labelId}`}},Wx=(0,qa.X)({listbox:{Bxyxcbc:"f1vfnyiv"}},{d:[".f1vfnyiv{max-height:min(80vh, 416px);}"]}),Gx=o.forwardRef(((e,t)=>{const r=((e,t)=>{var r;const{dateAnchor:n,defaultSelectedTime:i,endHour:a=24,formatDateToTimeString:s=Fx,hourCycle:l,increment:c=30,onTimeChange:u,selectedTime:d,showSeconds:p=!1,startHour:f=0,parseTimeStringToDate:h,...g}=e,{freeform:m=!1}=g;var v;const{dateStartAnchor:y,dateEndAnchor:b}=qx(null!==(v=null!=n?n:d)&&void 0!==v?v:i,f,a),w=o.useMemo((()=>function(e,t,r){if(r<=0)return console.error("Increment value should be a positive number."),[];const n=[],i=new Date(e);for(;i<t;)n.push(new Date(i)),i.setMinutes(i.getMinutes()+r);return n}(y,b,c).map((e=>({date:e,key:zx(e),text:s(e,{showSeconds:p,hourCycle:l})})))),[b,y,s,l,c,p]),[S,C]=pd({state:d,defaultState:i,initialState:null}),[A,x]=o.useState(void 0),k=(0,Al.D)(((e,t)=>{C(t.selectedTime),x(t.selectedTimeText),null==u||u(e,t)})),E=o.useMemo((()=>{const e=zx(S),t=w.find((t=>t.key===e));return t?[t.key]:[]}),[w,S]),_=o.useRef(null),I=(0,Al.D)(((e,t)=>{if(m&&void 0===t.optionValue&&(!g.clearable||"click"!==e.type||e.currentTarget!==_.current))return;var r;const n={selectedTime:Mx(null!==(r=t.optionValue)&&void 0!==r?r:""),selectedTimeText:t.optionText,errorType:void 0};k(e,n)})),P=cb({autoComplete:"off",...g,selectedOptions:E,onOptionSelect:I,children:w.map((e=>o.createElement(bb,{key:e.key,value:e.key},e.text)))},t),T=o.useCallback((e=>function(e,t,r,n){if(!e)return{date:null,errorType:"required-input"};const{hourCycle:i,showSeconds:o}=n,a="h11"===i||"h12"===i;if(!(a?o?Lx:jx:o?Vx:Hx).test(e))return{date:null,errorType:"invalid-input"};const s=/^(\d\d?):(\d\d):?(\d\d)? ?([ap]m)?/i.exec(e);if(!s)return{date:null,errorType:"invalid-input"};const[,l,c,u,d]=s;let p=l;a&&d&&("pm"===d.toLowerCase()&&12!=+p?p=(+p+12).toString():"am"===d.toLowerCase()&&12==+p&&(p="0"));const f=new Date(t);return f.setHours(+p,+c,u?+u:0),f<t&&f.setDate(f.getDate()+1),f>=r?{date:f,errorType:"out-of-bounds"}:{date:f}}(e,y,b,{hourCycle:l,showSeconds:p})),[b,y,l,p]),B=(0,Tl.a)(null===(r=P.clearIcon)||void 0===r?void 0:r.ref,_),D={...P,clearIcon:P.clearIcon?{...P.clearIcon,ref:B}:void 0,freeform:m,parseTimeStringToDate:null!=h?h:T,submittedText:A};return $x(D),Ux(D,k),D})(e,t),n=mb(r);return(e=>{const t=Wx();e.root.className=(0,E.z)("fui-TimePicker",e.root.className),e.input.className=(0,E.z)("fui-TimePicker__input",e.input.className),e.expandIcon&&(e.expandIcon.className=(0,E.z)("fui-TimePicker__expandIcon",e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=(0,E.z)("fui-TimePicker__clearIcon",e.clearIcon.className)),e.listbox&&(e.listbox.className=(0,E.z)("fui-TimePicker__listbox",t.listbox,e.listbox.className)),gb(e)})(r),(0,hc.$e)("useTimePickerCompatStyles_unstable")(r),db(r,n)}));function Kx(e){return e?Fx(e):""}Gx.displayName="TimePicker";const Xx=o.forwardRef(((e,t)=>{var r;const[n,i]=o.useState(Kx(e.value));o.useEffect((()=>{i(Kx(e.value))}),[e.value]);const a=Sv();return o.createElement(Gx,{id:e.internalId,className:a.timeInput,appearance:vv.timeInputAppearance,ref:t,placeholder:e.placeholder,dateAnchor:Nx.referenceDate,selectedTime:e.value||null,value:n,startHour:null===(r=e.min)||void 0===r?void 0:r.getHours(),endHour:e.max?e.max.getHours()+1:void 0,freeform:!0,disabled:!e.isEnabled,required:!1,input:{"aria-label":e.placeholder,"aria-labelledby":e.ariaLabelledBy,"aria-required":e.isRequired},listbox:{style:{maxHeight:"212px"}},positioning:{autoSize:"width"},onInput:e=>{i(e.target.value)},onTimeChange:(t,r)=>{if("required-input"===r.errorType)i(""),e.valueChanged(void 0);else if(void 0!==r.errorType)i(Kx(e.value));else{let t=null!==r.selectedTime?r.selectedTime:void 0;void 0!==t&&(void 0!==e.min&&t<e.min?t=e.min:void 0!==e.max&&t>e.max&&(t=e.max)),i(Kx(t)),e.valueChanged(t)}},inlinePopup:vv.shouldUseInlinePopup})}));Xx.displayName="TimeInputComponent";class Yx extends Rx{constructor(){super(...arguments),this._inputRef=o.createRef()}focus(){var e,t;return!!(null===(e=this._inputRef)||void 0===e?void 0:e.current)&&(null===(t=this._inputRef)||void 0===t||t.current.focus(),!0)}renderInputControl(){const e=this.placeholder||this.localizeString(zw.timeInputDefaultPlaceholder);return o.createElement(Xx,{internalId:this.internalId,valueChanged:e=>{this.valueChanged(e),this.updateLayout()},placeholder:e,value:this.valueAsDate,ariaLabelledBy:this.getAriaLabelledBy(),isEnabled:this.isEnabled,isRequired:this.isRequired,min:this.minAsDate,max:this.maxAsDate,ref:this._inputRef})}}const Jx="true",Zx="false";class Qx extends tm{get defaultValue(){return this.getValue(Qx.valueProperty)}set defaultValue(e){this.setValue(Qx.valueProperty,e)}get title(){return this.getValue(Qx.titleProperty)}set title(e){this.setValue(Qx.titleProperty,e)}get valueOn(){return this.getValue(Qx.valueOnProperty)}set valueOn(e){this.setValue(Qx.valueOnProperty,e)}get valueOff(){return this.getValue(Qx.valueOffProperty)}set valueOff(e){this.setValue(Qx.valueOffProperty,e)}get wrap(){return this.getValue(Qx.wrapProperty)}set wrap(e){this.setValue(Qx.wrapProperty,e)}get isNullable(){return!1}getJsonTypeName(){return"Input.Toggle"}isSet(){return this.isRequired?this.value===this.valueOn:!!this.value}isValidValue(e){return e===this.valueOn||e===this.valueOff}get value(){return this._value}set value(e){this._value===e||void 0!==e&&!this.isValidValue(e)||this.valueChanged(e)}}Qx.valueProperty=new Pi.XB(Pi.uq.v1_0,"value",void 0,Zx),Qx.titleProperty=new Pi.XB(Pi.uq.v1_0,"title").setContentType("text").setIsHero(),Qx.valueOnProperty=new Pi.XB(Pi.uq.v1_0,"valueOn",void 0,Jx,(e=>Jx)),Qx.valueOffProperty=new Pi.XB(Pi.uq.v1_0,"valueOff",void 0,Zx,(e=>Zx)),Qx.wrapProperty=new Pi.gV(Pi.uq.v1_2,"wrap",!0);const ek=o.forwardRef(((e,t)=>{const r=Sv(),n=e.wrap?r.toggleInputLabelWrap:r.toggleInputLabelNoWrap;let i=e.title;if(Bi.h$.useMarkdownInRadioButtonAndCheckbox&&e.parent){const t=new Jg(e.title);t.wrap=e.wrap,t.setParent(e.parent),i=o.createElement(Ei.XG,{cardObject:t})}return o.createElement(yy,{id:e.internalId,ref:t,className:r.toggleInput,label:{id:e.checkboxLabelId,className:n,children:i},disabled:!e.isEnabled,checked:e.value,input:{"aria-label":e.title,"aria-labelledby":e.ariaLabelledBy,"aria-required":e.isRequired},onChange:(t,r)=>{"boolean"==typeof r.checked&&e.valueChanged(r.checked)}})}));ek.displayName="ToggleInputComponent";class tk extends Qx{constructor(){super(...arguments),this._inputRef=o.createRef(),this.checkboxLabelId=(0,lf.Ij)()}focus(){return!!this._inputRef.current&&(this._inputRef.current.focus(),!0)}getAllLabelIds(){const e=[];return this.labelledBy&&e.push(this.labelledBy),e.push(this.labelId,this.checkboxLabelId,this.errorId),e}renderInputControl(){return o.createElement(ek,{internalId:this.internalId,checkboxLabelId:this.checkboxLabelId,ref:this._inputRef,isEnabled:this.isEnabled,title:this.title,value:this.value===this.valueOn,valueChanged:e=>{const t=e?this.valueOn:this.valueOff;this.valueChanged(t),this.updateLayout()},isRequired:this.isRequired,wrap:this.wrap,ariaLabelledBy:this.getAriaLabelledBy(),parent:this})}}const rk=new Pi.FZ("TargetElement",[{name:"elementId",valueTypes:[{type:"string"}],schemaVersion:Pi.uq.v1_5},{name:"isVisible",valueTypes:[{type:"boolean"}],schemaVersion:Pi.uq.v1_5}]);class nk extends Pi.Zn{getDescriptor(e){return{valueTypes:[{type:"string"},{type:"object",validValues:[rk]}],propertyType:"array"}}}class ik extends Ei.rc{get targetElements(){return this.getValue(ik.targetElementsProperty)}set targetElements(e){this.setValue(ik.targetElementsProperty,e)}getAriaControlsAttribute(){if(this.targetElements){const e=Object.keys(this.targetElements);if(e.length>0)return e.join(" ")}}internalValidateProperties(e){super.internalValidateProperties(e),this.targetElements||e.addFailure(this,_i.iV.PropertyCantBeNull,Ii.D.errors.propertyMustBeSet("targetElements"))}getJsonTypeName(){return ik.JsonTypeName}execute(){var e;super.execute();const t=null===(e=this.parent)||void 0===e?void 0:e.getRootObject();if(t&&t instanceof Ei.hA)for(const e of Object.keys(this.targetElements)){const r=t.getElementById(e);r&&("boolean"==typeof this.targetElements[e]?r.isVisible=this.targetElements[e]:r.isVisible=!r.isVisible)}}addTargetElement(e,t=void 0){this.targetElements[e]=t}removeTargetElement(e){delete this.targetElements[e]}get isSupportedInPopover(){return!1}}ik.targetElementsProperty=new nk(Pi.uq.v1_2,"targetElements",((e,t,r,n)=>{const i={};if(Array.isArray(r[t.name]))for(const e of r[t.name])if("string"==typeof e)i[e]=void 0;else if("object"==typeof e){const t=e.elementId;"string"==typeof t&&(i[t]=(0,lf.q6)(e.isVisible))}return i}),((e,t,r,n,i)=>{const o=[];for(const e of Object.keys(n))"boolean"==typeof n[e]?o.push({elementId:e,isVisible:n[e]}):o.push(e);i.serializeArray(r,t.name,o)}),{},(e=>({}))),ik.JsonTypeName="Action.ToggleVisibility";var ok,ak,sk=r(7035);class lk extends Ei.hA{get orientation(){return this.getValue(lk.orientationProperty)}set orientation(e){this.setValue(lk.orientationProperty,e)}populateSchema(e){super.populateSchema(e),e.remove(lk.orientationProperty)}internalParse(e,t){super.internalParse(e,t),this._actionCollection.parse(e.actions,t)}internalToJSON(e,t){super.internalToJSON(e,t),this._actionCollection.toJSON(e,"actions",t)}internalRender(e){var t;return null!==(t=this._actionCollection.render(void 0!==this.orientation?this.orientation:this.hostConfig.actions.actionsOrientation))&&void 0!==t?t:this.isDesignMode()?this.createPlaceholderElement():null}constructor(){super(),this._actionCollection=new sk.L(this)}releaseDOMResources(){super.releaseDOMResources(),this._actionCollection.releaseDOMResources()}isBleedingAtBottom(){return 0===this._actionCollection.renderedActionCount?super.isBleedingAtBottom():1===this._actionCollection.getActionCount()?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction}getJsonTypeName(){return"ActionSet"}getActionCount(){return this._actionCollection.getActionCount()}getActionAt(e){return e>=0&&e<this.getActionCount()?this._actionCollection.getActionAt(e):super.getActionAt(e)}getActionById(e){return this._actionCollection.getActionById(e)||super.getActionById(e)}getElementById(e){return this._actionCollection.getElementById(e)||super.getElementById(e)}getAllActions(){const e=super.getAllActions();for(let t=0;t<this.getActionCount();t++){const r=this.getActionAt(t);r&&e.push(r)}return e}internalValidateProperties(e){super.internalValidateProperties(e),this._actionCollection.validateProperties(e)}addAction(e){this._actionCollection.addAction(e)}getAllInputs(e=!0){return e?this._actionCollection.getAllInputs():[]}getResourceInformation(){return this._actionCollection.getResourceInformation()}getAdditionalValidSchemaProperties(){return[...super.getAdditionalValidSchemaProperties(),"actions"]}getAdditionalPropertyDescriptors(e){return[...super.getAdditionalPropertyDescriptors(e),sk.L.getActionsPropertyDescriptor(e,this.getJsonTypeName(),!0)]}isLastElement(e){return e.parent===this&&e.isExpandableInlineElement}get isInteractive(){return!0}}lk.orientationProperty=new Pi.fX(Pi.uq.v1_1,"orientation",_i.t4);class ck extends Pi.BG{parse(e,t,r){let n=this.defaultValue;const i=t[this.name];let o=!1;if("number"!=typeof i||isNaN(i))if("auto"===i||"stretch"===i)n=i;else if("string"==typeof i)try{n=Bi.zg.parse(i),n.unit===_i.Y2.Pixel&&this.targetVersion.compareTo(r.targetVersion)>0&&(o=!0)}catch(e){o=!0}else o=!0;else n=new Bi.zg(i,_i.Y2.Weight);return o&&(r.logParseEvent(e,_i.iV.InvalidPropertyValue,Ii.D.errors.invalidColumnWidth(i)),n="auto"),n}toJSON(e,t,r,n){r instanceof Bi.zg?r.unit===_i.Y2.Pixel?n.serializeValue(t,"width",`${r.physicalSize}px`):n.serializeNumber(t,"width",r.physicalSize):n.serializeValue(t,"width",r)}getDescriptor(e){return{valueTypes:[{type:"string",validValues:["auto","stretch",Bi.IO]},{type:"number"}],defaultValue:this.defaultValue}}}class uk extends av.mc{get width(){return this.getValue(uk.widthProperty)}set width(e){this.setValue(uk.widthProperty,e)}adjustSize(e){this.isDesignMode()?(e.minWidth="20px",e.minHeight=(this.minPixelHeight?Math.max(this.minPixelHeight,20):20)+"px"):(e.minWidth="0",this.minPixelHeight&&(e.minHeight=`${this.minPixelHeight}px`)),"auto"===this.width?e.flex="0 1 auto":"stretch"===this.width?e.flex="1 1 50px":this.width instanceof Bi.zg&&(this.width.unit===_i.Y2.Pixel?(e.flex="0 0 auto",e.width=`${this.width.physicalSize}px`):e.flex=`1 1 ${this._computedWeight>0?this._computedWeight:this.width.physicalSize}%`)}shouldSerialize(e){return!0}get separatorOrientation(){return _i.t4.Vertical}get renderIfEmpty(){return!0}constructor(e="stretch"){super(),this._computedWeight=0,this.width=e}getJsonTypeName(){return"Column"}get hasVisibleSeparator(){return!!(this.parent&&this.parent instanceof dk)&&!this.parent.isFirstElement(this)&&this.shouldRender()}get isStandalone(){return!1}}uk.widthProperty=new ck(Pi.uq.v1_0,"width","stretch");class dk extends av.XP{constructor(){super(...arguments),this._columns=[]}createColumnInstance(e,t){return"object"!=typeof e||"type"in e||(e.type="Column"),t.parseCardObject(this,e,[],!this.isDesignMode(),(e=>e&&"Column"!==e?void 0:new uk),((e,r)=>{t.logParseEvent(void 0,_i.iV.ElementTypeNotAllowed,Ii.D.errors.elementTypeNotAllowed(e))}))}populateSchema(e){super.populateSchema(e),e.remove(av.oC.layoutsProperty)}getRawItems(){return this._columns}renderItems(){const e=this._columns.filter((e=>e.shouldRender()));let t=0;for(const r of e)r.width instanceof Bi.zg&&r.width.unit===_i.Y2.Weight&&(t+=r.width.physicalSize);const r=[];return this._renderedColumns=[],e.forEach(((e,n)=>{if(e.width instanceof Bi.zg&&e.width.unit===_i.Y2.Weight&&t>0){const r=100/t*e.width.physicalSize;e._computedWeight=r}const i=o.createElement(Ei.XG,{key:e.getKey(n),cardObject:e});i&&(r.push(i),this._renderedColumns.push(e))})),r}applyLayout(e){switch(e.style.display="flex",e.style.flexDirection="row",this.getEffectiveHorizontalAlignment()){case _i.OD.Center:e.style.justifyContent="center";break;case _i.OD.Right:e.style.justifyContent="flex-end";break;default:e.style.justifyContent="flex-start"}}internalParse(e,t){super.internalParse(e,t),this._columns=[],this._renderedColumns=[];const r=e[this.getItemsCollectionPropertyName()];if(Array.isArray(r))for(const e of r){const r=this.createColumnInstance(e,t);r&&this._columns.push(r)}}internalToJSON(e,t){super.internalToJSON(e,t),t.serializeArray(e,this.getItemsCollectionPropertyName(),this._columns)}get isSelectable(){return!0}getAdditionalPropertyDescriptors(e){return[...super.getAdditionalPropertyDescriptors(e),{name:this.getItemsCollectionPropertyName(),valueTypes:[{type:"object",validValues:[new Pi.E$(new uk)]}],propertyType:"array",declaringClassName:this.constructor.name,schemaVersion:Pi.uq.v1_0,suggestedSchemaTypeName:"ColumnArray"}]}getItemsCollectionPropertyName(){return"columns"}isFirstElement(e){for(const t of this._columns)if(t.shouldRender())return t===e;return!1}isBleedingAtTop(){if(this.isBleeding())return!0;if(this._renderedColumns&&this._renderedColumns.length>0)for(const e of this._columns)if(e.isBleedingAtTop())return!0;return!1}isBleedingAtBottom(){if(this.isBleeding())return!0;if(this._renderedColumns&&this._renderedColumns.length>0)for(const e of this._columns)if(e.isBleedingAtBottom())return!0;return!1}getItemCount(){return this._columns.length}getFirstVisibleRenderedItem(){return this._renderedColumns&&this._renderedColumns.length>0?this._renderedColumns[0]:void 0}getLastVisibleRenderedItem(){return this._renderedColumns&&this._renderedColumns.length>0?this._renderedColumns[this._renderedColumns.length-1]:void 0}getColumnAt(e){return this._columns[e]}getItemAt(e){return this.getColumnAt(e)}getJsonTypeName(){return"ColumnSet"}internalValidateProperties(e){super.internalValidateProperties(e);let t=0,r=0;for(const e of this._columns)"number"==typeof e.width?t++:"stretch"===e.width&&r++;t>0&&r>0&&e.addFailure(this,_i.iV.Hint,Ii.D.hints.dontUseWeightedAndStretchedColumnsInSameSet())}addColumn(e){this.internalInsertItemAt(e,this._columns.length,!0)}removeItem(e){if(e instanceof uk){const t=this._columns.indexOf(e);if(t>=0)return this._columns.splice(t,1),e.setParent(void 0),this.updateLayout(),!0}return!1}indexOf(e){return e instanceof uk?this._columns.indexOf(e):-1}isLeftMostElement(e){return 0===this._columns.indexOf(e)}isRightMostElement(e){return this._columns.indexOf(e)===this._columns.length-1}isTopElement(e){return this._columns.indexOf(e)>=0}isBottomElement(e){return this._columns.indexOf(e)>=0}getActionById(e){let t;for(const r of this._columns)if(t=r.getActionById(e),t)break;return t}get bleed(){return this.getBleed()}set bleed(e){this.setBleed(e)}get padding(){return this.getPadding()}set padding(e){this.setPadding(e)}get selectAction(){return this._selectAction}set selectAction(e){this._selectAction=e}}class pk extends Pi.jB{get name(){return this.getValue(pk.titleProperty)}set name(e){this.setValue(pk.titleProperty,e)}get value(){return this.getValue(pk.valueProperty)}set value(e){this.setValue(pk.valueProperty,e)}getSchemaKey(){return"Fact"}constructor(e,t){super(),this.name=e,this.value=t}}pk.titleProperty=new Pi.XB(Pi.uq.v1_0,"title").setContentType("text").setIsHero(),pk.valueProperty=new Pi.XB(Pi.uq.v1_0,"value").setContentType("text").setIsHero();class fk extends Ei.hA{get facts(){return this.getValue(fk.factsProperty)}set facts(e){this.setValue(fk.factsProperty,e)}populateSchema(e){super.populateSchema(e),e.remove(Ei.hA.horizontalAlignmentProperty)}get useDefaultSizing(){return!1}internalRender(e){const t=this.hostConfig,r=e=>{const t=new Jg;return t.setParent(this),t.text=e.value,t.size=e.style.size,t.color=e.style.color,t.isSubtle=e.style.isSubtle,t.weight=e.style.weight,t.wrap=e.style.wrap,t.spacing=_i.Kz.None,o.createElement(Ei.XG,{cardObject:t})};if(this.facts.length>0){const e=(0,Bi.bK)(this.hostWidth,t.factSet.layoutSwitchBreakpoint)<0,n=void 0!==t.factSet.title.maxWidth?t.factSet.title.maxWidth:150,i=t.makeCssClassName("ac-fact-title"),a=t.makeCssClassName("ac-fact-value");return o.createElement("div",{style:{display:"grid",overflow:"hidden",gridTemplateColumns:e?"auto":"minmax(min-content, max-content) auto",gap:`${e?t.factSet.stackLayout.rowGap:t.factSet.tableLayout.rowGap}px ${t.factSet.tableLayout.columnGap}px`}},this.facts.map(((s,l)=>{const c=s.getKey(l),u=o.createElement(r,{value:s.name,style:t.factSet.title}),d=o.createElement(r,{value:s.value,style:t.factSet.value});return e?o.createElement("div",{key:c,style:{display:"grid",gridAutoColumns:"auto",gap:`${t.factSet.stackLayout.titleValueGap}px`}},o.createElement("div",{className:i},u),o.createElement("div",{className:a},d)):o.createElement(o.Fragment,null,o.createElement("div",{key:c+"_title",className:i,style:{maxWidth:`${n}px`}},u),o.createElement("div",{key:c+"_value",className:a,style:{gridColumn:2}},d))})))}return null}isResponsive(){return!0}getJsonTypeName(){return"FactSet"}}fk.factsProperty=new Pi.m2(Pi.uq.v1_0,"facts",(e=>new pk)).setIsHero(),function(e){e[e.Small=0]="Small",e[e.Default=1]="Default",e[e.Medium=2]="Medium",e[e.Large=3]="Large",e[e.ExtraLarge=4]="ExtraLarge"}(ok||(ok={})),function(e){e[e.Top=0]="Top",e[e.Center=1]="Center",e[e.Bottom=2]="Bottom"}(ak||(ak={}));const hk={[ok.Small]:"14px",[ok.Default]:"16px",[ok.Medium]:"16px",[ok.Large]:"18px",[ok.ExtraLarge]:"24px"};class gk extends Ei.hA{populateSchema(e){super.populateSchema(e),e.remove(Ei.hA.targetWidthProperty),e.remove(Ei.hA.horizontalAlignmentProperty),e.remove(Ei.hA.heightProperty),e.remove(Ei.hA.separatorProperty),e.remove(Ei.hA.spacingProperty),e.remove(Ei.hA.requiresProperty)}get name(){return this.getValue(gk.nameProperty)}set name(e){this.setValue(gk.nameProperty,e)}get size(){return this.getValue(gk.sizeProperty)}set size(e){this.setValue(gk.sizeProperty,e)}get style(){return this.getValue(gk.styleProperty)}set style(e){this.setValue(gk.styleProperty,e)}get color(){return this.getValue(gk.colorProperty)}set color(e){this.setValue(gk.colorProperty,e)}get selectAction(){return this.getValue(gk.selectActionProperty)}set selectAction(e){this.setValue(gk.selectActionProperty,e)}internalRender(e){const t=this.hostConfig,r=this.getEffectiveStyleDefinition().foregroundColors.getColorDefinition(this.color);return o.createElement("span",{className:t.makeCssClassName("ac-iconRun"),style:{whiteSpace:"pre-wrap"}},o.createElement(Xa.FW,{name:this.name,iconSize:hk[this.size],iconStyle:this.style,iconColor:(0,lf.zS)(r.default),isInline:!0}))}getJsonTypeName(){return"IconRun"}get isStandalone(){return!1}get isInline(){return!0}}gk.nameProperty=new Pi.XB(Pi.uq.v1_5,"name"),gk.sizeProperty=new Pi.fX(Pi.uq.v1_5,"size",ok,ok.Default),gk.styleProperty=new Pi.fX(Pi.uq.v1_5,"style",_i.pO,_i.pO.Regular),gk.colorProperty=new Pi.fX(Pi.uq.v1_5,"color",_i.r7,_i.r7.Default),gk.selectActionProperty=new Ug.c(Pi.uq.v1_5,"selectAction",["Action.ShowCard"]);class mk extends Pi.BG{getInternalName(){return this.internalName}parse(e,t,r){let n;const i=t[this.name];if(void 0===i)return this.defaultValue;let o=!1;if("string"==typeof i){try{const e=Bi.zg.parse(i,!0);e.unit===_i.Y2.Pixel&&(n=e.physicalSize,o=!0)}catch(e){}!o&&this.fallbackProperty&&(o=this.fallbackProperty.isValidValue(i,r))}return o||r.logParseEvent(e,_i.iV.InvalidPropertyValue,Ii.D.errors.invalidPropertyValue(i,this.name)),n}toJSON(e,t,r,n){n.serializeValue(t,this.name,"number"!=typeof r||isNaN(r)?void 0:`${r}px`)}getDescriptor(e){return{valueTypes:[{type:"string",validValues:["auto","stretch",Bi.IO]}],defaultValue:"auto"}}constructor(e,t,r,n){super(e,t),this.targetVersion=e,this.name=t,this.internalName=r,this.fallbackProperty=n}}class vk extends Pi.jB{get allowExpand(){return this.getValue(vk.allowExpand)}set allowExpand(e){this.setValue(vk.allowExpand,e)}getSchemaKey(){return"TeamsImageProperties"}}vk.allowExpand=new Pi.gV(Pi.uq.v1_0,"allowExpand");class yk extends Ei.hA{populateSchema(e){super.populateSchema(e),e.remove(Ei.hA.heightProperty),e.add(yk.pixelHeightProperty)}get url(){return this.getValue(yk.urlProperty)}set url(e){this.setValue(yk.urlProperty,e)}get altText(){return this.getValue(yk.altTextProperty)}set altText(e){this.setValue(yk.altTextProperty,e)}get backgroundColor(){return this.getValue(yk.backgroundColorProperty)}set backgroundColor(e){this.setValue(yk.backgroundColorProperty,e)}get size(){return this.getValue(yk.sizeProperty)}set size(e){this.setValue(yk.sizeProperty,e)}get style(){return this.getValue(yk.styleProperty)}set style(e){this.setValue(yk.styleProperty,e)}get pixelWidth(){return this.getValue(yk.pixelWidthProperty)}set pixelWidth(e){this.setValue(yk.pixelWidthProperty,e)}get pixelHeight(){return this.getValue(yk.pixelHeightProperty)}set pixelHeight(e){this.setValue(yk.pixelHeightProperty,e)}get selectAction(){return this.getValue(yk.selectActionProperty)}set selectAction(e){this.setValue(yk.selectActionProperty,e)}get allowExpand(){return this.getValue(yk.allowExpandProperty)}set allowExpand(e){this.setValue(yk.allowExpandProperty,e)}get themedUrls(){return this.getValue(yk.themedUrlsProperty)}set themedUrls(e){this.setValue(yk.themedUrlsProperty,e)}get fitMode(){return this.getValue(yk.fitModeProperty)}set fitMode(e){this.setValue(yk.fitModeProperty,e)}get horizontalContentAlignment(){return this.getValue(yk.horizontalContentAlignmentProperty)}set horizontalContentAlignment(e){this.setValue(yk.horizontalContentAlignmentProperty,e)}get verticalContentAlignment(){return this.getValue(yk.verticalContentAlignmentProperty)}set verticalContentAlignment(e){this.setValue(yk.verticalContentAlignmentProperty,e)}applySize(e){if(this.pixelWidth||this.pixelHeight)this.pixelWidth&&(e.style.width=`${this.pixelWidth}px`),this.pixelHeight&&(e.style.height=`${this.pixelHeight}px`);else if(this.maxHeight){switch(this.size){case _i.or.Small:e.style.height=`${this.hostConfig.imageSizes.small}px`;break;case _i.or.Large:e.style.height=`${this.hostConfig.imageSizes.large}px`;break;default:e.style.height=`${this.hostConfig.imageSizes.medium}px`}e.style.maxHeight=`${this.maxHeight}px`}else{switch(this.size){case _i.or.Stretch:e.style.width="100%";break;case _i.or.Auto:e.style.maxWidth="100%";break;case _i.or.Small:e.style.width=`${this.hostConfig.imageSizes.small}px`;break;case _i.or.Large:e.style.width=`${this.hostConfig.imageSizes.large}px`;break;case _i.or.Medium:e.style.width=`${this.hostConfig.imageSizes.medium}px`}e.style.maxHeight="100%"}}getEffectiveUrl(){if(this.themedUrls)for(const e of this.themedUrls)if(e.url&&this.theme===e.theme)return e.url;return this.url}get useDefaultSizing(){return!1}getMainAction(){return this.selectAction}internalRender(e){const t=this.getEffectiveUrl();if(t){const e=this.hostConfig,r={style:{minWidth:"0"}};switch(r.className=e.makeCssClassName("ac-image"),this.applySize(r),this.fitMode){case _i.yp.Cover:r.style.objectFit="cover";break;case _i.yp.Contain:r.style.objectFit="contain";break;case _i.yp.Fill:r.style.objectFit="fill"}const n=_i.OD[this.horizontalContentAlignment],i=_i.sx[this.verticalContentAlignment];switch(r.style.objectPosition=`${n} ${i}`,this.style!==_i.bs.Default&&this.fitMode!==_i.yp.Contain&&(r.style.borderRadius=this.style===_i.bs.Person?"50%":`${this.hostConfig.roundedCornerRadius}px`,r.style.backgroundPosition="50% 50%",r.style.backgroundRepeat="no-repeat"),this.getEffectiveHorizontalAlignment()){case _i.OD.Center:r.style.alignSelf="center";break;case _i.OD.Right:r.style.alignSelf="flex-end";break;default:r.style.alignSelf="flex-start"}const o=(0,lf.zS)(this.backgroundColor);o&&(r.style.backgroundColor=o),r.src=this.preProcessPropertyValue(Ei.x$.urlProperty,t);const a=this.preProcessPropertyValue(yk.altTextProperty);return a&&(r.alt=a),this.renderImage({allowExpand:this.allowExpand,isSelectable:void 0!==this.selectAction},r)}return this.isDesignMode()?this.createPlaceholderElement():null}getJsonTypeName(){return"Image"}getAllActions(){const e=super.getAllActions();return this.selectAction&&e.push(this.selectAction),e}getActionById(e){let t=super.getActionById(e);return!t&&this.selectAction&&(t=this.selectAction.getActionById(e)),t}getResourceInformation(){const e=this.getEffectiveUrl();return e?[{url:e,mimeType:"image"}]:[]}}var bk,wk;yk.urlProperty=new Pi.XB(Pi.uq.v1_0,"url").setContentType("imageUrl").setIsHero(),yk.altTextProperty=new Pi.XB(Pi.uq.v1_0,"altText",void 0,void 0,void 0,!0).setContentType("text"),yk.backgroundColorProperty=new Pi.XB(Pi.uq.v1_1,"backgroundColor"),yk.styleProperty=new Pi.fX(Pi.uq.v1_0,"style",_i.bs,_i.bs.Default),yk.sizeProperty=new Pi.fX(Pi.uq.v1_0,"size",_i.or,_i.or.Auto),yk.pixelWidthProperty=new mk(Pi.uq.v1_1,"width","pixelWidth"),yk.pixelHeightProperty=new mk(Pi.uq.v1_1,"height","pixelHeight",Ei.hA.heightProperty),yk.selectActionProperty=new Ug.c(Pi.uq.v1_1,"selectAction",["Action.ShowCard"]),yk.allowExpandProperty=new Pi.gV(Pi.uq.v1_2,"allowExpand",!1),yk.msTeamsProperty=new Pi.kR(Pi.uq.v1_2,"msTeams",(e=>new vk)).setAlternateDefinition(new Pi.kR(Pi.uq.v1_2,"msteams",(e=>new vk))),yk.themedUrlsProperty=new Pi.m2(Pi.uq.v1_5,"themedUrls",(e=>new Ei.x$)),yk.fitModeProperty=new Pi.fX(Pi.uq.v1_5,"fitMode",_i.yp,_i.yp.Fill),yk.horizontalContentAlignmentProperty=new Pi.fX(Pi.uq.v1_5,"horizontalContentAlignment",_i.OD,_i.OD.Left),yk.verticalContentAlignmentProperty=new Pi.fX(Pi.uq.v1_5,"verticalContentAlignment",_i.sx,_i.sx.Top),function(e){e[e.Small=0]="Small",e[e.Default=1]="Default",e[e.Medium=2]="Medium",e[e.Large=3]="Large",e[e.ExtraLarge=4]="ExtraLarge"}(bk||(bk={})),function(e){e[e.Top=0]="Top",e[e.Center=1]="Center",e[e.Bottom=2]="Bottom"}(wk||(wk={}));class Sk extends Ei.hA{populateSchema(e){super.populateSchema(e),e.remove(Ei.hA.targetWidthProperty),e.remove(Ei.hA.horizontalAlignmentProperty),e.remove(Ei.hA.heightProperty),e.remove(Ei.hA.separatorProperty),e.remove(Ei.hA.spacingProperty),e.remove(Ei.hA.requiresProperty)}get url(){return this.getValue(Sk.urlProperty)}set url(e){this.setValue(Sk.urlProperty,e)}get size(){return this.getValue(Sk.sizeProperty)}set size(e){this.setValue(Sk.sizeProperty,e)}get style(){return this.getValue(Sk.styleProperty)}set style(e){this.setValue(Sk.styleProperty,e)}get selectAction(){return this.getValue(Sk.selectActionProperty)}set selectAction(e){this.setValue(Sk.selectActionProperty,e)}get themedUrls(){return this.getValue(Sk.themedUrlsProperty)}set themedUrls(e){this.setValue(Sk.themedUrlsProperty,e)}getImageSize(){const e=this.getEffectiveTextStyleDefinition().fontType,t=this.hostConfig.getFontTypeDefinition(e);switch(this.size){case bk.Small:return t.inlineImageSizes.small;case bk.Medium:return t.inlineImageSizes.medium;case bk.Large:return t.inlineImageSizes.large;case bk.ExtraLarge:return t.inlineImageSizes.extraLarge;default:return t.inlineImageSizes.default}}getEffectiveUrl(){if(this.themedUrls)for(const e of this.themedUrls)if(e.url&&this.theme===e.theme)return e.url;return this.url}internalRender(e){const t=this.getEffectiveUrl();if(t){const e=this.hostConfig,r={style:{}};return r.style={minWidth:"0",height:`${this.getImageSize()}px`},r.className=e.makeCssClassName("ac-imageRun"),this.style!==_i.bs.Default&&(r.style.borderRadius=this.style===_i.bs.Person?"50%":`${this.hostConfig.roundedCornerRadius}px`,r.style.backgroundPosition="50% 50%",r.style.backgroundRepeat="no-repeat"),r.src=this.preProcessPropertyValue(Ei.x$.urlProperty,t),this.renderImage({allowExpand:!1,isSelectable:void 0!==this.selectAction},r)}return this.isDesignMode()?this.createPlaceholderElement():null}getJsonTypeName(){return"ImageRun"}get isStandalone(){return!1}get isInline(){return!0}}Sk.urlProperty=new Pi.XB(Pi.uq.v1_5,"url").setContentType("imageUrl"),Sk.sizeProperty=new Pi.fX(Pi.uq.v1_5,"size",bk,bk.Default),Sk.styleProperty=new Pi.fX(Pi.uq.v1_5,"style",_i.bs,_i.bs.Default),Sk.selectActionProperty=new Ug.c(Pi.uq.v1_5,"selectAction",["Action.ShowCard"]),Sk.themedUrlsProperty=new Pi.m2(Pi.uq.v1_5,"themedUrls",(e=>new Ei.x$));var Ck,Ak=r(1967);class xk extends Ak.y{get _images(){return this.getValue(xk.imagesProperty)}set _images(e){this.setValue(xk.imagesProperty,e)}get imageSize(){return this.getValue(xk.imageSizeProperty)}set imageSize(e){this.setValue(xk.imageSizeProperty,e)}internalRender(e){if(this._images.length>0){const e=[];let t;switch(this._images.forEach(((t,r)=>{switch(this.imageSize){case _i.hJ.Small:t.size=_i.or.Small;break;case _i.hJ.Large:t.size=_i.or.Large;break;default:t.size=_i.or.Medium}t.maxHeight=this.hostConfig.imageSet.maxImageHeight,e.push(o.createElement(Ei.XG,{key:t.getKey(r),cardObject:t}))})),this.horizontalAlignment){case _i.OD.Right:t="flex-end";break;case _i.OD.Center:t="center"}return o.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:"10px",justifyContent:t}},e)}return this.isDesignMode()?this.createPlaceholderElement():null}getItemCount(){return this._images.length}getItemAt(e){return this._images[e]}getFirstVisibleRenderedItem(){return this._images&&this._images.length>0?this._images[0]:void 0}getLastVisibleRenderedItem(){return this._images&&this._images.length>0?this._images[this._images.length-1]:void 0}removeItem(e){if(e instanceof yk){const t=this._images.indexOf(e);if(t>=0)return this._images.splice(t,1),e.setParent(void 0),this.updateLayout(),!0}return!1}getJsonTypeName(){return"ImageSet"}addImage(e){if(e.parent)throw new Error("This image already belongs to another ImageSet");this._images.push(e),e.setParent(this)}indexOf(e){return e instanceof yk?this._images.indexOf(e):-1}}xk.imagesProperty=new Pi.m2(Pi.uq.v1_0,"images",(e=>new yk),((e,t)=>{t.setParent(e)})).setIsHero(),xk.imageSizeProperty=new Pi.fX(Pi.uq.v1_0,"imageSize",_i.hJ,_i.hJ.Medium);class kk extends Pi.jB{get mimeType(){return this.getValue(kk.mimeTypeProperty)}set mimeType(e){this.setValue(kk.mimeTypeProperty,e)}get url(){return this.getValue(kk.urlProperty)}set url(e){this.setValue(kk.urlProperty,e)}constructor(e,t){super(),this.url=e,this.mimeType=t}isValid(){return!(!this.mimeType||!this.url)}}kk.mimeTypeProperty=new Pi.XB(Pi.uq.v1_1,"mimeType"),kk.urlProperty=new Pi.XB(Pi.uq.v1_1,"url").setContentType("mediaUrl");class Ek extends kk{get label(){return this.getValue(Ek.labelProperty)}set label(e){this.setValue(Ek.labelProperty,e)}constructor(e,t,r){super(e,t),this.label=r}getSchemaKey(){return"CaptionSource"}render(e){return this.isValid()?o.createElement("track",{src:this.url,kind:"captions",label:this.label}):null}}Ek.labelProperty=new Pi.XB(Pi.uq.v1_6,"label").setContentType("text");class _k extends kk{getSchemaKey(){return"MediaSource"}render(){return this.isValid()?o.createElement("source",{src:this.url,type:this.mimeType}):null}}class Ik{constructor(){this.isPlaying=!1}play(){}get selectedMediaType(){}}class Pk extends Ik{processSources(){this._selectedSources=[],this._captionSources=[],this._selectedMediaType=void 0;for(const e of this.owner.sources){const t=e.mimeType?e.mimeType.split("/"):[];if(2===t.length){if(!this._selectedMediaType){const e=Pk.supportedMediaTypes.indexOf(t[0]);e>=0&&(this._selectedMediaType=Pk.supportedMediaTypes[e])}t[0]===this._selectedMediaType&&this._selectedSources.push(e)}}this._captionSources.push(...this.owner.captionSources)}constructor(e){super(),this.owner=e,this._selectedSources=[],this._captionSources=[],this.processSources()}canPlay(){return this._selectedSources.length>0}fetchVideoDetails(){return(0,k.__awaiter)(this,void 0,void 0,(function*(){}))}render(){"video"===this._selectedMediaType?this._mediaElement=document.createElement("video"):this._mediaElement=document.createElement("audio");const e=(0,lf.xg)();e["aria-label"]=this.owner.altText?this.owner.altText:this.owner.localizeString(Ii.D.mediaPlayerAriaLabel),e.playsInline=!0,e.crossOrigin="",e.autoPlay=!0,e.controls=!0,e.preload="none",e.style.width="100%",(0,lf.R8)()&&(e.muted=!0);const t=this.owner.sources.map((e=>e.render())).filter((e=>void 0!==e)),r=this.owner.captionSources.filter((e=>"vtt"===e.mimeType)).map((e=>e.render())).filter((e=>void 0!==e));return o.createElement("video"===this._selectedMediaType?"video":"audio",e,t,r)}play(){this._mediaElement&&this._mediaElement.play()}get selectedMediaType(){return this._selectedMediaType}}Pk.supportedMediaTypes=["audio","video"];class Tk extends Ik{constructor(e){super()}}class Bk extends Tk{constructor(e,t,r){super(t),this.owner=e,this.matches=t,this.iFrameTitle=r,t.length>=2&&(this._videoId=t[1])}canPlay(){return void 0!==this._videoId}render(){return o.createElement("div",{style:{position:"relative",width:"100%",height:"0",paddingBottom:"56.25%"}},o.createElement("iframe",{sandbox:"allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:this.getEmbedVideoUrl(),frameBorder:"0",title:this.iFrameTitle?this.owner.localizeString(this.iFrameTitle):void 0,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}))}get videoId(){return this._videoId}}class Dk extends Bk{fetchVideoDetails(){return(0,k.__awaiter)(this,void 0,void 0,(function*(){const e=`https://vimeo.com/api/oembed.json?url=${this.getEmbedVideoUrl()}`,t=yield fetch(e);if(t.ok){const e=yield t.json();this.posterUrl=e.thumbnail_url}}))}getEmbedVideoUrl(){return`https://player.vimeo.com/video/${this.videoId}?autoplay=1`}}class Nk extends Bk{fetchVideoDetails(){return(0,k.__awaiter)(this,void 0,void 0,(function*(){const e=`https://api.dailymotion.com/video/${this.videoId}?fields=thumbnail_720_url`,t=yield fetch(e);if(t.ok){const e=yield t.json();this.posterUrl=e.thumbnail_720_url}}))}getEmbedVideoUrl(){return`https://www.dailymotion.com/embed/video/${this.videoId}?autoplay=1`}}class Rk extends Bk{constructor(e,t,r){super(e,t,r),this.owner=e,this.matches=t,this.iFrameTitle=r,t.length>=3&&void 0!==t[2]&&(this._startTimeIndex=parseInt(t[2],10))}fetchVideoDetails(){return(0,k.__awaiter)(this,void 0,void 0,(function*(){this.posterUrl=this.videoId?`https://img.youtube.com/vi/${this.videoId}/maxresdefault.jpg`:void 0}))}getEmbedVideoUrl(){let e=`https://www.youtube.com/embed/${this.videoId}?autoplay=1`;return void 0!==this._startTimeIndex&&(e+=`&start=${this._startTimeIndex}`),e}}!function(e){e[e.Loading=0]="Loading",e[e.ShowPoster=1]="ShowPoster",e[e.ShowPlayer=2]="ShowPlayer"}(Ck||(Ck={}));const Ok=e=>o.createElement("div",{tabIndex:0,role:"button","aria-label":e.ariaLabel,onClick:t=>{t.preventDefault(),t.stopPropagation(),e.startPlayback()},onKeyDown:t=>{"Enter"!==t.code&&"Space"!==t.code||(t.preventDefault(),t.stopPropagation(),e.startPlayback())},style:{position:"absolute",transform:"translate(-50%, -50%)",top:"50%",left:"50%",display:"flex",alignItems:"center",justifyContent:"center",width:"56px",height:"56px",border:"1px solid #eeeeee",borderRadius:"28px",boxShadow:"0px 0px 10px #eeeeee",backgroundColor:"rgba(255, 255, 255, 0.9)",color:"black",cursor:"pointer"}},o.createElement(Xa.FW,{name:"Play",iconSize:112/3,iconStyle:_i.pO.Filled,iconColor:"black"}));class zk{static registerMediaElement(e){var t;const r=null!==(t=e.groupId)&&void 0!==t?t:zk.defaultGroupId;let n=zk._groupedMediaElements.get(r);n||(n=new Set,zk._groupedMediaElements.set(r,n)),n.add(e)}static unregisterMediaElement(e){for(const t of zk._groupedMediaElements.values())t.delete(e)}static stopPlayback(e,t){if(e){const r=zk._groupedMediaElements.get(e);if(r)for(const e of r)e!==t&&e.releaseDOMResources()}else for(const[,e]of zk._groupedMediaElements)if(!t||e.has(t))for(const r of e)r!==t&&r.releaseDOMResources()}static stopPlaybackInChildren(e){for(const[,t]of zk._groupedMediaElements)for(const r of t)r.hasAsParent(e)&&r.releaseDOMResources()}}zk.defaultGroupId="__defaultGroupId__",zk._groupedMediaElements=new Map;class Mk extends Ei.hA{static stopPlayback(e){zk.stopPlayback(e)}static stopPlaybackInChildren(e){zk.stopPlaybackInChildren(e)}get sources(){return this.getValue(Mk.sourcesProperty)}set sources(e){this.setValue(Mk.sourcesProperty,e)}get captionSources(){return this.getValue(Mk.captionSourcesProperty)}set captionSources(e){this.setValue(Mk.captionSourcesProperty,e)}get poster(){return this.getValue(Mk.posterProperty)}set poster(e){this.setValue(Mk.posterProperty,e)}get altText(){return this.getValue(Mk.altTextProperty)}set altText(e){this.setValue(Mk.altTextProperty,e)}populateSchema(e){super.populateSchema(e),e.remove(Ei.hA.horizontalAlignmentProperty)}mounted(){super.mounted(),zk.registerMediaElement(this)}unmounted(){super.unmounted(),zk.unregisterMediaElement(this)}getJsonTypeName(){return"Media"}}Mk.sourcesProperty=new Pi.m2(Pi.uq.v1_1,"sources",(e=>new _k)),Mk.captionSourcesProperty=new Pi.m2(Pi.uq.v1_6,"captionSources",(e=>new Ek)),Mk.posterProperty=new Pi.XB(Pi.uq.v1_1,"poster").setContentType("imageUrl"),Mk.altTextProperty=new Pi.XB(Pi.uq.v1_1,"altText").setContentType("text");const Fk=e=>{var t;const[r,n]=o.useState(Ck.Loading);switch(o.useEffect((()=>{var t;(null===(t=e.mediaPlayer)||void 0===t?void 0:t.isPlaying)||(n(Ck.Loading),e.mediaPlayer&&e.mediaPlayer.fetchVideoDetails().then((()=>{n(Ck.ShowPoster)})))}),[e.mediaPlayer,null===(t=e.mediaPlayer)||void 0===t?void 0:t.isPlaying]),r){case Ck.Loading:return o.createElement("div",{style:{height:`${e.placeholderHeight}px`}});case Ck.ShowPoster:return(()=>{var t,r,i;const a=null!==(i=null!==(t=e.posterUrl)&&void 0!==t?t:null===(r=e.mediaPlayer)||void 0===r?void 0:r.posterUrl)&&void 0!==i?i:e.defaultPosterUrl;let s,l=null;if(a){const t={src:a,alt:e.localizeString(Ii.D.mediaPlayerPosterAltText),style:{width:"100%",height:"100%"}};l=e.renderImage({isSelectable:!1,allowExpand:!1},t)}else s=`${e.placeholderHeight}px`;const c=()=>{e.startPlayback(),n(Ck.ShowPlayer)};return o.createElement("div",{role:"contentinfo","aria-label":e.ariaLabel,style:{position:"relative",display:"flex",height:s}},l,(()=>{if(e.mediaPlayer&&e.mediaPlayer.canPlay()){const t={ariaLabel:e.localizeString(Ii.D.mediaPlayerAriaLabel),startPlayback:c};return Ei.v7.mediaPlayButtonRenderer?Ei.v7.mediaPlayButtonRenderer(t):o.createElement(Ok,Object.assign({},t))}return null})())})();case Ck.ShowPlayer:return e.mediaPlayer?e.mediaPlayer.render():null}},Lk={urlPatterns:[/^(?:https:\/\/)?(?:www\.)?youtube\.com\/watch\?(?=.*v=([\w\d-_]+))(?=(?:.*t=(\d+))?).*/i,/^(?:https:\/\/)?youtu\.be\/([\w\d-_]+)(?:\?t=(\d+))?/i],createMediaPlayer:(e,t)=>new Rk(e,t,Ii.D.youTubeVideoPlayer)},jk={urlPatterns:[/^(?:https:\/\/)?vimeo\.com\/([\w\d-_]+).*/i],createMediaPlayer:(e,t)=>new Dk(e,t,Ii.D.vimeoVideoPlayer)},Vk={urlPatterns:[/^(?:https:\/\/)?(?:www\.)?dailymotion\.com\/video\/([\w\d-_]+).*/i],createMediaPlayer:(e,t)=>new Nk(e,t,Ii.D.dailymotionVideoPlayer)};class Hk extends Mk{static registerCustomMediaPlayers(...e){Hk._customMediaPlayers.push(...e)}createMediaPlayerFromRegistry(){for(const e of Hk._customMediaPlayers)for(const t of this.sources)if(t.url)for(const r of e.urlPatterns){const n=r.exec(t.url);if(null!==n)return e.createMediaPlayer(this,n)}}propertyChanged(e,t){this._mediaPlayer=void 0,super.propertyChanged(e,t)}internalRender(e){var t;return void 0===this._mediaPlayer&&(this._mediaPlayer=this.createMediaPlayerFromRegistry(),!this._mediaPlayer&&this.hostConfig.media.useHTML5PlayerAsFallback&&(this._mediaPlayer=new Pk(this))),o.createElement(Fk,{mediaPlayer:this._mediaPlayer,posterUrl:this.poster,defaultPosterUrl:this.hostConfig.media.defaultPoster,placeholderHeight:(()=>{switch(this.hostWidth){case _i.RK.VeryNarrow:return this.hostConfig.media.placeholderHeights.veryNarrow;case _i.RK.Narrow:return this.hostConfig.media.placeholderHeights.narrow;case _i.RK.Standard:return this.hostConfig.media.placeholderHeights.standard;default:return this.hostConfig.media.placeholderHeights.wide}})(),ariaLabel:null!==(t=this.altText)&&void 0!==t?t:this.localizeString(Ii.D.mediaPlayerAriaLabel),renderImage:(e,t)=>this.renderImage(e,t),localizeString:(e,t)=>this.localizeString(e,t),startPlayback:()=>{this._mediaPlayer&&(this._mediaPlayer.isPlaying=!0),Bi.h$.allowSimultaneousVideoPlayback||zk.stopPlayback(void 0,this),this.mediaPlaybackStarted(this)}})}releaseDOMResources(){super.releaseDOMResources(),this._mediaPlayer&&(this._mediaPlayer.isPlaying=!1),this.updateLayout()}getResourceInformation(){const e=[];if(this._mediaPlayer){const t=this.poster?this.poster:this.hostConfig.media.defaultPoster;t&&e.push({url:t,mimeType:"image"})}for(const t of this.sources)t.isValid()&&e.push({url:t.url,mimeType:t.mimeType});for(const t of this.captionSources)t.isValid()&&e.push({url:t.url,mimeType:t.mimeType});return e}get selectedMediaType(){var e;return null===(e=this._mediaPlayer)||void 0===e?void 0:e.selectedMediaType}}Hk._customMediaPlayers=[];class qk extends em.hq{constructor(){super(...arguments),this.suppressStyle=!1}getAdditionalValidSchemaProperties(){return[...super.getAdditionalValidSchemaProperties(),"$schema","version"]}getSchemaKey(){return"InlineAdaptiveCard"}getDefaultPadding(){const e=this.suppressStyle?_i.Kz.None:_i.Kz.Padding;return new Bi.pT(e,e,e,e)}getSpacings(e){if(super.getSpacings(e),!this.suppressStyle){const t=new Bi.pT;this.getImmediateSurroundingPadding(t);const r=this.hostConfig.paddingDefinitionToSpacingDefinition(t);e.padding.left=r.left,e.padding.right=r.right,e.margin.left=-r.left,e.margin.right=-r.right,0!==r.bottom&&(e.padding.bottom=r.bottom,e.margin.bottom=-r.bottom)}}customizeProps(e){super.customizeProps(e),e["aria-live"]="polite",e.tabIndex=void 0}get bypassVersionCheck(){return!0}get isResizeTracked(){return!1}populateSchema(e){super.populateSchema(e),e.remove(em.hq.resourcesProperty)}get defaultStyle(){return this.suppressStyle?_i.xO.Default:this.hostConfig.actions.showCard.style?this.hostConfig.actions.showCard.style:_i.xO.Emphasis}get isExpandableInlineElement(){return!0}get hasVisibleSeparator(){return!1}}class Uk extends Ei.rc{constructor(){super(...arguments),this.card=new qk}inlineCardExpanded(e){var t;const r=null===(t=this.parent)||void 0===t?void 0:t.getRootObject(),n=r instanceof em.hq&&r.onInlineCardExpanded?r.onInlineCardExpanded:em.hq.onInlineCardExpanded;n&&n(this,e)}internalParse(e,t){super.internalParse(e,t);const r=e.card;r?this.card.parse(r,t):t.logParseEvent(this,_i.iV.PropertyCantBeNull,Ii.D.errors.showCardMustHaveCard())}internalToJSON(e,t){super.internalToJSON(e,t),this.card&&t.serializeValue(e,"card",this.card.toJSON(t))}processApplicableProperties(){super.processApplicableProperties(),this.card.processApplicableProperties()}getAdditionalPropertyDescriptors(e){return[...super.getAdditionalPropertyDescriptors(e),{name:"card",valueTypes:[{type:"object",validValues:[new Pi.E$(new em.hq)]}],schemaVersion:Pi.uq.v1_0}]}expand(e=!1,t=!1){this.card.suppressStyle=e,t&&this.inlineCardExpanded(!0)}collapse(){this.inlineCardExpanded(!1)}releaseDOMResources(){super.releaseDOMResources(),this.card.releaseDOMResources()}getJsonTypeName(){return Uk.JsonTypeName}internalValidateProperties(e){super.internalValidateProperties(e),this.card.internalValidateProperties(e)}setParent(e){super.setParent(e),this.card.setParent(e)}getAllInputs(e=!0){return this.card.getAllInputs(e)}getAllActions(){const e=super.getAllActions();return e.push(...this.card.getAllActions()),e}getResourceInformation(){const e=super.getResourceInformation();return e.push(...this.card.getResourceInformation()),e}getInlineContent(){return this.card}getActionById(e){let t=super.getActionById(e);return t||(t=this.card.getActionById(e)),t}getElementById(e){let t=super.getElementById(e);return t||(t=this.card.getElementById(e)),t}hasResponsiveElements(){return this.card.isResponsive()}shouldRaiseOnExecuteEvent(){return this.hostConfig.actions.showCard.actionMode===_i.l1.Popup}getAdditionalValidSchemaProperties(){return[...super.getAdditionalValidSchemaProperties(),"card"]}get isExpandable(){return!0}get isSupportedInPopover(){return!1}}Uk.JsonTypeName="Action.ShowCard";class $k extends Pi.Zn{getDescriptor(e){return{valueTypes:[{type:"string",validValues:[Bi.IO]},{type:"number"}]}}}class Wk extends Pi.jB{get horizontalCellContentAlignment(){return this.getValue(Wk.horizontalCellContentAlignmentProperty)}set horizontalCellContentAlignment(e){this.setValue(Wk.horizontalCellContentAlignmentProperty,e)}get verticalCellContentAlignment(){return this.getValue(Wk.verticalCellContentAlignmentProperty)}set verticalCellContentAlignment(e){this.setValue(Wk.verticalCellContentAlignmentProperty,e)}get width(){return this.getValue(Wk.widthProperty)}set width(e){this.setValue(Wk.widthProperty,e)}getSchemaKey(){return"ColumnDefinition"}}Wk.horizontalCellContentAlignmentProperty=new Pi.fX(Pi.uq.v1_5,"horizontalCellContentAlignment",_i.OD),Wk.verticalCellContentAlignmentProperty=new Pi.fX(Pi.uq.v1_5,"verticalCellContentAlignment",_i.sx),Wk.widthProperty=new $k(Pi.uq.v1_5,"width",((e,t,r,n)=>{let i=t.defaultValue;const o=r[t.name];let a=!1;if("number"!=typeof o||isNaN(o))if("string"==typeof o)try{i=Bi.zg.parse(o)}catch(e){a=!0}else a=!0;else i=new Bi.zg(o,_i.Y2.Weight);return a&&n.logParseEvent(e,_i.iV.InvalidPropertyValue,Ii.D.errors.invalidColumnWidth(o)),i}),((e,t,r,n,i)=>{n.unit===_i.Y2.Pixel?i.serializeValue(r,"width",`${n.physicalSize}px`):i.serializeNumber(r,"width",n.physicalSize)}),new Bi.zg(1,_i.Y2.Weight));class Gk extends av.oC{constructor(){super(...arguments),this._items=[]}parseItem(e,t){return t.parseCardObject(this,e,[],!0,(e=>this.createItemInstance(e)),((e,r)=>{t.logParseEvent(void 0,_i.iV.ElementTypeNotAllowed,Ii.D.errors.elementTypeNotAllowed(e))}))}internalAddItem(e){if(e.parent)throw new Error(Ii.D.errors.elementAlreadyParented());this._items.push(e),e.setParent(this)}internalRemoveItem(e){const t=this._items.indexOf(e);return t>=0&&(this._items.splice(t,1),e.setParent(void 0),this.updateLayout(),!0)}internalIndexOf(e){return this._items.indexOf(e)}internalParse(e,t){super.internalParse(e,t),this._items=[];const r=e[this.getCollectionPropertyName()];if(Array.isArray(r))for(const e of r){const r=this.parseItem(e,t);r&&this._items.push(r)}}internalToJSON(e,t){super.internalToJSON(e,t),t.serializeArray(e,this.getCollectionPropertyName(),this._items)}removeItem(e){return this.internalRemoveItem(e)}getItemCount(){return this._items.length}getItemAt(e){return this._items[e]}getFirstVisibleRenderedItem(){return this.getItemCount()>0?this.getItemAt(0):void 0}getLastVisibleRenderedItem(){return this.getItemCount()>0?this.getItemAt(this.getItemCount()-1):void 0}getAdditionalValidSchemaProperties(){return[...super.getAdditionalValidSchemaProperties(),this.getCollectionPropertyName()]}}class Kk extends av.mc{constructor(){super(...arguments),this._columnIndex=-1,this._cellType="data"}populateSchema(e){super.populateSchema(e),e.remove(av.oC.horizontalAlignmentProperty),e.remove(av.mc.showBorderProperty),e.remove(av.mc.roundedCornersProperty)}getHasBorder(){return this.parentRow.parentTable.showGridLines}applyBorder(e){if(this.getHasBorder()){const t=this.hostConfig.containerStyles.getStyleByName(this.parentRow.parentTable.gridStyle);if(t.borderColor){const r=(0,lf.zS)(t.borderColor);r&&this.parentRow.parentTable.showGridLines&&this.parentRow.indexOf(this)>0&&(e.style.borderLeft=`1px solid ${r}`)}}}getDefaultPadding(){return this.getHasBackground()||this.getHasBorder()?new Bi.pT(_i.Kz.Small,_i.Kz.Small,_i.Kz.Small,_i.Kz.Small):super.getDefaultPadding()}adjustSize(e){const t=this.parentRow.parentTable.getColumnAt(this.columnIndex);t.computedWidth.unit===_i.Y2.Pixel?e.flex=`0 0 ${t.computedWidth.physicalSize}px`:e.flex=`1 1 ${t.computedWidth.physicalSize}%`}customizeProps(e){super.customizeProps(e),e.role="data"===this.cellType?"cell":"columnheader",e.style.minWidth=0,"header"===this.cellType&&(e.scope="col")}shouldSerialize(e){return!0}getJsonTypeName(){return"TableCell"}getEffectiveTextStyleDefinition(){return"header"===this.cellType?this.hostConfig.textStyles.columnHeader:super.getEffectiveTextStyleDefinition()}getEffectiveHorizontalAlignment(){if(void 0!==this.horizontalAlignment)return this.horizontalAlignment;if(void 0!==this.parentRow.horizontalCellContentAlignment)return this.parentRow.horizontalCellContentAlignment;if(this.columnIndex>=0){const e=this.parentRow.parentTable.getColumnAt(this.columnIndex).horizontalCellContentAlignment;if(void 0!==e)return e}return void 0!==this.parentRow.parentTable.horizontalCellContentAlignment?this.parentRow.parentTable.horizontalCellContentAlignment:super.getEffectiveHorizontalAlignment()}getEffectiveVerticalContentAlignment(){if(void 0!==this.verticalContentAlignment)return this.verticalContentAlignment;if(void 0!==this.parentRow.verticalCellContentAlignment)return this.parentRow.verticalCellContentAlignment;if(this.columnIndex>=0){const e=this.parentRow.parentTable.getColumnAt(this.columnIndex).verticalCellContentAlignment;if(void 0!==e)return e}return void 0!==this.parentRow.parentTable.verticalCellContentAlignment?this.parentRow.parentTable.verticalCellContentAlignment:super.getEffectiveVerticalContentAlignment()}get hasVisibleSeparator(){return!1}get columnIndex(){return this._columnIndex}get cellType(){return this._cellType}get parentRow(){return this.parent}get isStandalone(){return!1}}class Xk extends Gk{get horizontalCellContentAlignment(){return this.getValue(Xk.horizontalCellContentAlignmentProperty)}set horizontalCellContentAlignment(e){this.setValue(Xk.horizontalCellContentAlignmentProperty,e)}get verticalCellContentAlignment(){return this.getValue(Xk.verticalCellContentAlignmentProperty)}set verticalCellContentAlignment(e){this.setValue(Xk.verticalCellContentAlignmentProperty,e)}populateSchema(e){super.populateSchema(e),e.remove(av.oC.layoutsProperty)}getDefaultPadding(){return new Bi.pT(_i.Kz.None,_i.Kz.None,_i.Kz.None,_i.Kz.None)}applyBackground(e){const t=this.hostConfig.containerStyles.getStyleByName(this.style,this.hostConfig.containerStyles.getStyleByName(this.defaultStyle));if(t.backgroundColor){const r=(0,lf.zS)(t.backgroundColor);r&&(e.style.backgroundColor=r)}}getCollectionPropertyName(){return"cells"}createItemInstance(e){return e&&"TableCell"!==e?void 0:new Kk}renderItems(){const e=[],t=this.getIsFirstRow();for(let r=0;r<Math.min(this.getItemCount(),this.parentTable.getColumnCount());r++){const n=this.getItemAt(r);n._columnIndex=r,n._cellType=this.parentTable.firstRowAsHeaders&&t?"header":"data";const i=o.createElement(Ei.XG,{key:n.getKey(r),cardObject:n});i&&e.push(i)}return e}customizeProps(e){e.role="row"}applyLayout(e){e.style.display="flex",e.style.flexDirection="row";const t=this.hostConfig.table.cellSpacing;if(!this.parentTable.showGridLines&&t>0&&(e.style.gap=t),this.parentTable.showGridLines&&this.parentTable.indexOf(this)>0){const t=this.hostConfig.containerStyles.getStyleByName(this.parentTable.gridStyle);if(t.borderColor){const r=(0,lf.zS)(t.borderColor);r&&(e.style.borderTop=`1px solid ${r}`)}}}shouldSerialize(e){return!0}addCell(e){this.internalAddItem(e)}removeCellAt(e){return e>=0&&e<this.getItemCount()&&this.removeItem(this.getItemAt(e))}indexOf(e){return e instanceof Kk?this.internalIndexOf(e):-1}ensureHasEnoughCells(e){for(;this.getItemCount()<e;)this.addCell(new Kk)}getJsonTypeName(){return"TableRow"}getIsFirstRow(){return this.parentTable.getItemAt(0)===this}getAdditionalPropertyDescriptors(e){return[...super.getAdditionalPropertyDescriptors(e),{name:this.getCollectionPropertyName(),valueTypes:[{type:"object",validValues:[new Pi.E$(new Kk)]}],propertyType:"array",schemaVersion:Pi.uq.v1_5,suggestedSchemaTypeName:"TableCellArray"}]}get hasVisibleSeparator(){return!1}get parentTable(){return this.parent}get isStandalone(){return!1}}Xk.styleProperty=new av._I(Pi.uq.v1_5,"style"),Xk.horizontalCellContentAlignmentProperty=new Pi.fX(Pi.uq.v1_5,"horizontalCellContentAlignment",_i.OD),Xk.verticalCellContentAlignmentProperty=new Pi.fX(Pi.uq.v1_5,"verticalCellContentAlignment",_i.sx);class Yk extends Gk{get _columns(){return this.getValue(Yk._columnsProperty)}set _columns(e){this.setValue(Yk._columnsProperty,e)}get firstRowAsHeaders(){return this.getValue(Yk.firstRowAsHeadersProperty)}set firstRowAsHeaders(e){this.setValue(Yk.firstRowAsHeadersProperty,e)}get showGridLines(){return this.getValue(Yk.showGridLinesProperty)}set showGridLines(e){this.setValue(Yk.showGridLinesProperty,e)}get gridStyle(){const e=this.getValue(Yk.gridStyleProperty);if(e&&this.hostConfig.containerStyles.getStyleByName(e))return e}set gridStyle(e){this.setValue(Yk.gridStyleProperty,e)}get horizontalCellContentAlignment(){return this.getValue(Yk.horizontalCellContentAlignmentProperty)}set horizontalCellContentAlignment(e){this.setValue(Yk.horizontalCellContentAlignmentProperty,e)}get verticalCellContentAlignment(){return this.getValue(Yk.verticalCellContentAlignmentProperty)}set verticalCellContentAlignment(e){this.setValue(Yk.verticalCellContentAlignmentProperty,e)}populateSchema(e){super.populateSchema(e),e.remove(av.oC.layoutsProperty)}ensureRowsHaveEnoughCells(){for(let e=0;e<this.getItemCount();e++)this.getItemAt(e).ensureHasEnoughCells(this.getColumnCount())}removeCellsFromColumn(e){for(let t=0;t<this.getItemCount();t++)this.getItemAt(t).removeCellAt(e)}getCollectionPropertyName(){return"rows"}createItemInstance(e){return e&&"TableRow"!==e?void 0:new Xk}internalParse(e,t){super.internalParse(e,t),this.ensureRowsHaveEnoughCells()}renderItems(){const e=[];for(let t=0;t<this.getItemCount();t++){const r=this.getItemAt(t),n=o.createElement(Ei.XG,{key:r.getKey(t),cardObject:r});n&&e.push(n)}return e}applyLayout(e){let t=0;for(const e of this._columns)e.width.unit===_i.Y2.Weight&&(t+=e.width.physicalSize);for(const e of this._columns)e.width.unit===_i.Y2.Pixel?e.computedWidth=new Bi.zg(e.width.physicalSize,_i.Y2.Pixel):e.computedWidth=new Bi.zg(100/t*e.width.physicalSize,_i.Y2.Weight);e.role="table",e.style.display="flex",e.style.flexDirection="column",e.style.overflow="hidden";const r=this.hostConfig.table.cellSpacing;if(this.showGridLines){const t=this.hostConfig.containerStyles.getStyleByName(this.gridStyle);if(t.borderColor){const r=(0,lf.zS)(t.borderColor);r&&(e.style.border=`1px solid ${r}`,this.applyRoundedCorners(e))}}else e.style.gap=r>0?r:void 0}getDefaultPadding(){return this.getHasBackground()?new Bi.pT(_i.Kz.Padding,_i.Kz.Padding,_i.Kz.Padding,_i.Kz.Padding):new Bi.pT}getHasBorder(){return this.showGridLines&&this.getHasBackground()||super.getHasBorder()}addColumn(e){this._columns.push(e),this.ensureRowsHaveEnoughCells()}removeColumn(e){const t=this._columns.indexOf(e);t>=0&&(this.removeCellsFromColumn(t),this._columns.splice(t,1))}getColumnCount(){return this._columns.length}getColumnAt(e){return this._columns[e]}addRow(e){this.internalAddItem(e),e.ensureHasEnoughCells(this.getColumnCount())}indexOf(e){return e instanceof Xk?this.internalIndexOf(e):-1}getJsonTypeName(){return"Table"}getAdditionalPropertyDescriptors(e){return[...super.getAdditionalPropertyDescriptors(e),{name:this.getCollectionPropertyName(),valueTypes:[{type:"object",validValues:[new Pi.E$(new Xk)]}],propertyType:"array",schemaVersion:Pi.uq.v1_5,suggestedSchemaTypeName:"TableRowArray"}]}getAdditionalValidSchemaProperties(){return[...super.getAdditionalValidSchemaProperties(),"columns"]}}Yk._columnsProperty=new Pi.m2(Pi.uq.v1_5,"columns",(e=>new Wk)),Yk.firstRowAsHeadersProperty=new Pi.gV(Pi.uq.v1_5,"firstRowAsHeaders",!0),Yk.showGridLinesProperty=new Pi.gV(Pi.uq.v1_5,"showGridLines",!0),Yk.gridStyleProperty=new av._I(Pi.uq.v1_5,"gridStyle"),Yk.horizontalCellContentAlignmentProperty=new Pi.fX(Pi.uq.v1_5,"horizontalCellContentAlignment",_i.OD),Yk.verticalCellContentAlignmentProperty=new Pi.fX(Pi.uq.v1_5,"verticalCellContentAlignment",_i.sx);let Jk=!1;class Zk extends Ei.hA{populateSchema(e){super.populateSchema(e),e.remove(Ei.hA.heightProperty)}get name(){return this.getValue(Zk.nameProperty)}set name(e){this.setValue(Zk.nameProperty,e)}get size(){return this.getValue(Zk.sizeProperty)}set size(e){this.setValue(Zk.sizeProperty,e)}get style(){return this.getValue(Zk.styleProperty)}set style(e){this.setValue(Zk.styleProperty,e)}get color(){return this.getValue(Zk.colorProperty)}set color(e){this.setValue(Zk.colorProperty,e)}get selectAction(){return this.getValue(Zk.selectActionProperty)}set selectAction(e){this.setValue(Zk.selectActionProperty,e)}getMainAction(){return this.selectAction}internalRender(e){const t=this.hostConfig;if(!this.name&&this.isDesignMode())return this.createPlaceholderElement();let r;switch(this.horizontalAlignment){case _i.OD.Center:r="center";break;case _i.OD.Right:r="flex-end"}const n={style:{display:"flex",width:"fit-content",alignSelf:r}};n.className=t.makeCssClassName("ac-icon");const i=this.getEffectiveStyleDefinition().foregroundColors.getColorDefinition(this.color);return o.createElement("div",Object.assign({},n),o.createElement(Xa.FW,{name:this.name,iconSize:this.size,iconStyle:this.style,iconColor:(0,lf.zS)(i.default)}))}getJsonTypeName(){return"Icon"}}Zk.nameProperty=new Pi.XB(Pi.uq.v1_5,"name").setIsHero(),Zk.sizeProperty=new Pi.fX(Pi.uq.v1_5,"size",_i.lK,_i.lK.Standard),Zk.styleProperty=new Pi.fX(Pi.uq.v1_5,"style",_i.pO,_i.pO.Regular),Zk.colorProperty=new Pi.fX(Pi.uq.v1_5,"color",_i.r7,_i.r7.Default),Zk.selectActionProperty=new Ug.c(Pi.uq.v1_5,"selectAction",["Action.ShowCard"]);class Qk extends Ei.rc{get targetInputIds(){return this.getValue(Qk.targetInputIdsProperty)}set targetInputIds(e){this.setValue(Qk.targetInputIdsProperty,e)}getJsonTypeName(){return"Action.ResetInputs"}isValid(){var e;return null!=this.targetInputIds&&(null===(e=this.targetInputIds)||void 0===e?void 0:e.length)>0}execute(e){var t,r;if(super.execute(e),this.isValid()){const e=null===(t=this.parent)||void 0===t?void 0:t.getRootObject();if(e&&e instanceof Ei.hA){const t=e.getAllInputs(),n={};for(const e of t)e.id&&(n[e.id]=e);null===(r=this.targetInputIds)||void 0===r||r.forEach((e=>{var t;n[e]&&(null===(t=n[e])||void 0===t||t.resetValue())}))}}}}Qk.targetInputIdsProperty=new Pi.g7(Pi.uq.v1_5,"targetInputIds"),Qk.JsonTypeName="Action.ResetInputs";var eE=r(8872);function tE(e){return e&&"object"==typeof e?"position"in e||"type"in e?nE(e.position):"start"in e||"end"in e?nE(e):"line"in e||"column"in e?rE(e):"":""}function rE(e){return iE(e&&e.line)+":"+iE(e&&e.column)}function nE(e){return rE(e&&e.start)+"-"+rE(e&&e.end)}function iE(e){return e&&"number"==typeof e?e:1}class oE extends Error{constructor(e,t,r){const n=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(r=t,t=void 0),"string"==typeof r){const e=r.indexOf(":");-1===e?n[1]=r:(n[0]=r.slice(0,e),n[1]=r.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=tE(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=n[0],this.ruleId=n[1],this.file,this.actual,this.expected,this.url,this.note}}oE.prototype.file="",oE.prototype.name="",oE.prototype.reason="",oE.prototype.message="",oE.prototype.stack="",oE.prototype.fatal=null,oE.prototype.column=null,oE.prototype.line=null,oE.prototype.source=null,oE.prototype.ruleId=null,oE.prototype.position=null;const aE=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');dE(e);let r,n=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(r){n=o+1;break}}else i<0&&(r=!0,i=o+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(r){n=o+1;break}}else a<0&&(r=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(i=o):(s=-1,i=a));return n===i?i=a:i<0&&(i=e.length),e.slice(n,i)},sE=function(e){if(dE(e),0===e.length)return".";let t,r=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.charCodeAt(0)?"/":".":1===r&&47===e.charCodeAt(0)?"//":e.slice(0,r)},lE=function(e){dE(e);let t,r=e.length,n=-1,i=0,o=-1,a=0;for(;r--;){const s=e.charCodeAt(r);if(47!==s)n<0&&(t=!0,n=r+1),46===s?o<0?o=r:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=r+1;break}}return o<0||n<0||0===a||1===a&&o===n-1&&o===i+1?"":e.slice(o,n)},cE=function(...e){let t,r=-1;for(;++r<e.length;)dE(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){dE(e);const t=47===e.charCodeAt(0);let r=function(e,t){let r,n,i="",o=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)r=e.charCodeAt(l);else{if(47===r)break;r=47}if(47===r){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if(n=i.lastIndexOf("/"),n!==i.length-1){n<0?(i="",o=0):(i=i.slice(0,n),o=i.length-1-i.lastIndexOf("/")),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===r&&s>-1?s++:s=-1}return i}(e,!t);return 0!==r.length||t||(r="."),r.length>0&&47===e.charCodeAt(e.length-1)&&(r+="/"),t?"/"+r:r}(t)},uE="/";function dE(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const pE=function(){return"/"};function fE(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}const hE=["history","path","basename","stem","extname","dirname"];class gE{constructor(e){let t;t=e?"string"==typeof e||function(e){return eE(e)}(e)?{value:e}:fE(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=pE(),this.value,this.stored,this.result,this.map;let r,n=-1;for(;++n<hE.length;){const e=hE[n];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)hE.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){fE(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!fE(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r<t.length;)if(37===t.charCodeAt(r)&&50===t.charCodeAt(r+1)){const e=t.charCodeAt(r+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),vE(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?sE(this.path):void 0}set dirname(e){yE(this.basename,"dirname"),this.path=cE(e||"",this.basename)}get basename(){return"string"==typeof this.path?aE(this.path):void 0}set basename(e){vE(e,"basename"),mE(e,"basename"),this.path=cE(this.dirname||"",e)}get extname(){return"string"==typeof this.path?lE(this.path):void 0}set extname(e){if(mE(e,"extname"),yE(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=cE(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?aE(this.path,this.extname):void 0}set stem(e){vE(e,"stem"),mE(e,"stem"),this.path=cE(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,r){const n=new oE(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=null,n}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}}function mE(e,t){if(e&&e.includes(uE))throw new Error("`"+t+"` cannot be a path: did not expect `"+uE+"`")}function vE(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function yE(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function bE(e){if(e)throw e}var wE=r(2631);function SE(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}const CE=function e(){const t=function(){const e=[],t={run:function(...t){let r=-1;const n=t.pop();if("function"!=typeof n)throw new TypeError("Expected function as last argument, not "+n);!function i(o,...a){const s=e[++r];let l=-1;if(o)n(o);else{for(;++l<t.length;)null!==a[l]&&void 0!==a[l]||(a[l]=t[l]);t=a,s?function(e,t){let r;return function(...t){const o=e.length>t.length;let a;o&&t.push(n);try{a=e.apply(this,t)}catch(e){if(o&&r)throw e;return n(e)}o||(a&&a.then&&"function"==typeof a.then?a.then(i,n):a instanceof Error?n(a):i(a))};function n(e,...n){r||(r=!0,t(e,...n))}function i(e){n(null,e)}}(s,i)(...a):n(null,...a)}}(null,...t)},use:function(r){if("function"!=typeof r)throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}(),r=[];let n,i={},o=-1;return a.data=function(e,t){return"string"==typeof e?2===arguments.length?(_E("data",n),i[e]=t,a):AE.call(i,e)&&i[e]||null:e?(_E("data",n),i=e,a):i},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(n)return a;for(;++o<r.length;){const[e,...n]=r[o];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const i=e.call(a,...n);"function"==typeof i&&t.use(i)}return n=!0,o=Number.POSITIVE_INFINITY,a},a.attachers=r,a.use=function(e,...t){let o;if(_E("use",n),null==e);else if("function"==typeof e)u(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?c(e):l(e)}return o&&(i.settings=Object.assign(i.settings||{},o)),a;function s(e){if("function"==typeof e)u(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...r]=e;u(t,...r)}else l(e)}}function l(e){c(e.plugins),e.settings&&(o=Object.assign(o||{},e.settings))}function c(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)s(e[t])}}function u(e,t){let n,i=-1;for(;++i<r.length;)if(r[i][0]===e){n=r[i];break}n?(SE(n[1])&&SE(t)&&(t=wE(!0,n[1],t)),n[1]=t):r.push([...arguments])}},a.parse=function(e){a.freeze();const t=TE(e),r=a.Parser;return kE("parse",r),xE(r,"parse")?new r(String(t),t).parse():r(String(t),t)},a.stringify=function(e,t){a.freeze();const r=TE(t),n=a.Compiler;return EE("stringify",n),IE(e),xE(n,"compile")?new n(e,r).compile():n(e,r)},a.run=function(e,r,n){if(IE(e),a.freeze(),n||"function"!=typeof r||(n=r,r=void 0),!n)return new Promise(i);function i(i,o){t.run(e,TE(r),(function(t,r,a){r=r||e,t?o(t):i?i(r):n(null,r,a)}))}i(null,n)},a.runSync=function(e,t){let r,n;return a.run(e,t,(function(e,t){bE(e),r=t,n=!0})),PE("runSync","run",n),r},a.process=function(e,t){if(a.freeze(),kE("process",a.Parser),EE("process",a.Compiler),!t)return new Promise(r);function r(r,n){const i=TE(e);function o(e,i){e||!i?n(e):r?r(i):t(null,i)}a.run(a.parse(i),i,((e,t,r)=>{if(!e&&t&&r){const i=a.stringify(t,r);null==i||("string"==typeof(n=i)||eE(n)?r.value=i:r.result=i),o(e,r)}else o(e);var n}))}r(null,t)},a.processSync=function(e){let t;a.freeze(),kE("processSync",a.Parser),EE("processSync",a.Compiler);const r=TE(e);return a.process(r,(function(e){t=!0,bE(e)})),PE("processSync","process",t),r},a;function a(){const t=e();let n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(wE(!0,{},i)),t}}().freeze(),AE={}.hasOwnProperty;function xE(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(AE.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function kE(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function EE(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function _E(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function IE(e){if(!SE(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function PE(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function TE(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new gE(e)}const BE={};function DE(e,t,r){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||r?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return NE(e.children,t,r)}return Array.isArray(e)?NE(e,t,r):""}function NE(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=DE(e[i],t,r);return n.join("")}function RE(e,t,r,n){const i=e.length;let o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),e.splice(...o);else for(r&&e.splice(t,r);a<n.length;)o=n.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function OE(e,t){return e.length>0?(RE(e,e.length,0,t),e):t}const zE={}.hasOwnProperty;function ME(e,t){let r;for(r in t){const n=(zE.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let o;if(i)for(o in i){zE.call(n,o)||(n[o]=[]);const e=i[o];FE(n[o],Array.isArray(e)?e:e?[e]:[])}}}function FE(e,t){let r=-1;const n=[];for(;++r<t.length;)("after"===t[r].add?e:n).push(t[r]);RE(e,0,0,n)}const LE=JE(/[A-Za-z]/),jE=JE(/[\dA-Za-z]/),VE=JE(/[#-'*+\--9=?A-Z^-~]/);function HE(e){return null!==e&&(e<32||127===e)}const qE=JE(/\d/),UE=JE(/[\dA-Fa-f]/),$E=JE(/[!-/:-@[-`{-~]/);function WE(e){return null!==e&&e<-2}function GE(e){return null!==e&&(e<0||32===e)}function KE(e){return-2===e||-1===e||32===e}const XE=JE(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),YE=JE(/\s/);function JE(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function ZE(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let o=0;return function(n){return KE(n)?(e.enter(r),a(n)):t(n)};function a(n){return KE(n)&&o++<i?(e.consume(n),a):(e.exit(r),t(n))}}const QE={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ZE(e,t,"linePrefix");e.consume(r)}),(function(t){return e.enter("paragraph"),n(t)}));let r;return t;function n(t){const n=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=n),r=n,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):WE(t)?(e.consume(t),e.exit("chunkText"),n):(e.consume(t),i)}}},e_={tokenize:function(e){const t=this,r=[];let n,i,o,a=0;return s;function s(n){if(a<r.length){const i=r[a];return t.containerState=i[1],e.attempt(i[0].continuation,l,c)(n)}return c(n)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,n&&y();const r=t.events.length;let i,o=r;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}v(a);let s=r;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},i),s++;return RE(t.events,o+1,0,t.events.slice(r)),t.events.length=s,c(e)}return s(e)}function c(i){if(a===r.length){if(!n)return p(i);if(n.currentConstruct&&n.currentConstruct.concrete)return h(i);t.interrupt=Boolean(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(t_,u,d)(i)}function u(e){return n&&y(),v(a),p(e)}function d(e){return t.parser.lazy[t.now().line]=a!==r.length,o=t.now().offset,h(e)}function p(r){return t.containerState={},e.attempt(t_,f,h)(r)}function f(e){return a++,r.push([t.currentConstruct,t.containerState]),p(e)}function h(r){return null===r?(n&&y(),v(0),void e.consume(r)):(n=n||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:n}),g(r))}function g(r){return null===r?(m(e.exit("chunkFlow"),!0),v(0),void e.consume(r)):WE(r)?(e.consume(r),m(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(r),g)}function m(e,r){const s=t.sliceStream(e);if(r&&s.push(null),e.previous=i,i&&(i.next=e),i=e,n.defineSkip(e.start),n.write(s),t.parser.lazy[e.start.line]){let e=n.events.length;for(;e--;)if(n.events[e][1].start.offset<o&&(!n.events[e][1].end||n.events[e][1].end.offset>o))return;const r=t.events.length;let i,s,l=r;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){s=t.events[l][1].end;break}i=!0}for(v(a),e=r;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;RE(t.events,l+1,0,t.events.slice(r)),t.events.length=e}}function v(n){let i=r.length;for(;i-- >n;){const n=r[i];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function y(){n.write([null]),i=void 0,n=void 0,t.containerState._closeFlow=void 0}}},t_={tokenize:function(e,t,r){return ZE(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},r_={tokenize:function(e,t,r){return function(t){return KE(t)?ZE(e,n,"linePrefix")(t):n(t)};function n(e){return null===e||WE(e)?t(e):r(e)}},partial:!0};function n_(e){const t={};let r,n,i,o,a,s,l,c=-1;for(;++c<e.length;){for(;c in t;)c=t[c];if(r=e[c],c&&"chunkFlow"===r[1].type&&"listItemPrefix"===e[c-1][1].type&&(s=r[1]._tokenizer.events,i=0,i<s.length&&"lineEndingBlank"===s[i][1].type&&(i+=2),i<s.length&&"content"===s[i][1].type))for(;++i<s.length&&"content"!==s[i][1].type;)"chunkText"===s[i][1].type&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===r[0])r[1].contentType&&(Object.assign(t,i_(e,c)),c=t[c],l=!0);else if(r[1]._container){for(i=c,n=void 0;i--&&(o=e[i],"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(n&&(e[n][1].type="lineEndingBlank"),o[1].type="lineEnding",n=i);n&&(r[1].end=Object.assign({},e[n][1].start),a=e.slice(n,c),a.unshift(r),RE(e,n,c-n+1,a))}}return!l}function i_(e,t){const r=e[t][1],n=e[t][2];let i=t-1;const o=[],a=r._tokenizer||n.parser[r.contentType](r.start),s=a.events,l=[],c={};let u,d,p=-1,f=r,h=0,g=0;const m=[g];for(;f;){for(;e[++i][1]!==f;);o.push(i),f._tokenizer||(u=n.sliceStream(f),f.next||u.push(null),d&&a.defineSkip(f.start),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=f,f=f.next}for(f=r;++p<s.length;)"exit"===s[p][0]&&"enter"===s[p-1][0]&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(g=p+1,m.push(g),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(a.events=[],f?(f._tokenizer=void 0,f.previous=void 0):m.pop(),p=m.length;p--;){const t=s.slice(m[p],m[p+1]),r=o.pop();l.unshift([r,r+t.length-1]),RE(e,r,2,t)}for(p=-1;++p<l.length;)c[h+l[p][0]]=h+l[p][1],h+=l[p][1]-l[p][0]-1;return c}const o_={tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?i(t):WE(t)?e.check(a_,o,i)(t):(e.consume(t),n)}function i(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function o(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}},resolve:function(e){return n_(e),e}},a_={tokenize:function(e,t,r){const n=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ZE(e,i,"linePrefix")};function i(i){if(null===i||WE(i))return r(i);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(n.parser.constructs.flow,r,t)(i)}},partial:!0},s_={tokenize:function(e){const t=this,r=e.attempt(r_,(function(n){if(null!==n)return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r;e.consume(n)}),e.attempt(this.parser.constructs.flowInitial,n,ZE(e,e.attempt(this.parser.constructs.flow,n,e.attempt(o_,n)),"linePrefix")));return r;function n(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r;e.consume(n)}}},l_={resolveAll:p_()},c_=d_("string"),u_=d_("text");function d_(e){return{tokenize:function(t){const r=this,n=this.parser.constructs[e],i=t.attempt(n,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=n[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}},resolveAll:p_("text"===e?f_:void 0)}}function p_(e){return function(t,r){let n,i=-1;for(;++i<=t.length;)void 0===n?t[i]&&"data"===t[i][1].type&&(n=i,i++):t[i]&&"data"===t[i][1].type||(i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),i=n+2),n=void 0);return e?e(t,r):t}}function f_(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const n=e[r-1][1],i=t.sliceStream(n);let o,a=i.length,s=-1,l=0;for(;a--;){const e=i[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)o=!0,l++;else if(-1!==e){a++;break}}if(l){const i={type:r===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-l,offset:n.end.offset-l,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},i.start),n.start.offset===n.end.offset?Object.assign(n,i):(e.splice(r,0,["enter",i,t],["exit",i,t]),r+=2)}r++}return e}function h_(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!n.includes(o)&&(t=o(t,r),n.push(o))}return t}function g_(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],s=[],l=!0;const c={consume:function(e){WE(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,b()):-1!==e&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=e,l=!0},enter:function(e,t){const r=t||{};return r.type=e,r.start=h(),u.events.push(["enter",r,u]),s.push(r),r},exit:function(e){const t=s.pop();return t.end=h(),u.events.push(["exit",t,u]),t},attempt:v((function(e,t){y(e,t.from)})),check:v(m),interrupt:v(m,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:f,sliceSerialize:function(e,t){return function(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const o=e[r];let a;if("string"==typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,n.push(a)}return n.join("")}(f(e),t)},now:h,defineSkip:function(e){i[e.line]=e.column,b()},write:function(e){return a=OE(a,e),function(){let e;for(;n._index<a.length;){const t=a[n._index];if("string"==typeof t)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<t.length;)g(t.charCodeAt(n._bufferIndex));else g(t)}}(),null!==a[a.length-1]?[]:(y(t,0),u.events=h_(o,u.events,u),u.events)}};let d,p=t.tokenize.call(u,c);return t.resolveAll&&o.push(t),u;function f(e){return function(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;if(r===i)a=[e[r].slice(n,o)];else{if(a=e.slice(r,i),n>-1){const e=a[0];"string"==typeof e?a[0]=e.slice(n):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}(a,e)}function h(){const{line:e,column:t,offset:r,_index:i,_bufferIndex:o}=n;return{line:e,column:t,offset:r,_index:i,_bufferIndex:o}}function g(e){l=void 0,d=e,p=p(e)}function m(e,t){t.restore()}function v(e,t){return function(r,i,o){let a,d,p,f;return Array.isArray(r)?m(r):"tokenize"in r?m([r]):(g=r,function(e){const t=null!==e&&g[e],r=null!==e&&g.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)});var g;function m(e){return a=e,d=0,0===e.length?o:v(e[d])}function v(e){return function(r){return f=function(){const e=h(),t=u.previous,r=u.currentConstruct,i=u.events.length,o=Array.from(s);return{restore:function(){n=e,u.previous=t,u.currentConstruct=r,u.events.length=i,s=o,b()},from:i}}(),p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name)?w():e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,y,w)(r)}}function y(t){return l=!0,e(p,f),i}function w(e){return l=!0,f.restore(),++d<a.length?v(a[d]):o}}}function y(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&RE(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function b(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}const m_={name:"thematicBreak",tokenize:function(e,t,r){let n,i=0;return function(t){return e.enter("thematicBreak"),function(e){return n=e,o(e)}(t)};function o(o){return o===n?(e.enter("thematicBreakSequence"),a(o)):i>=3&&(null===o||WE(o))?(e.exit("thematicBreak"),t(o)):r(o)}function a(t){return t===n?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),KE(t)?ZE(e,o,"whitespace")(t):o(t))}}},v_={name:"list",tokenize:function(e,t,r){const n=this,i=n.events[n.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){const i=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!n.containerState.marker||t===n.containerState.marker:qE(t)){if(n.containerState.type||(n.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(m_,r,l)(t):l(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return r(t)};function s(t){return qE(t)&&++a<10?(e.consume(t),s):(!n.interrupt||a<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):r(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(r_,n.interrupt?r:c,e.attempt(y_,d,u))}function c(e){return n.containerState.initialBlankLine=!0,o++,d(e)}function u(t){return KE(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):r(t)}function d(r){return n.containerState.size=o+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}},continuation:{tokenize:function(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(r_,(function(r){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ZE(e,t,"listItemIndent",n.containerState.size+1)(r)}),(function(r){return n.containerState.furtherBlankLines||!KE(r)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,i(r)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(b_,t,i)(r))}));function i(i){return n.containerState._closeFlow=!0,n.interrupt=void 0,ZE(e,e.attempt(v_,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},y_={tokenize:function(e,t,r){const n=this;return ZE(e,(function(e){const i=n.events[n.events.length-1];return!KE(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):r(e)}),"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},b_={tokenize:function(e,t,r){const n=this;return ZE(e,(function(e){const i=n.events[n.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===n.containerState.size?t(e):r(e)}),"listItemIndent",n.containerState.size+1)},partial:!0},w_={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(62===t){const r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return r(t)};function i(r){return KE(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}},continuation:{tokenize:function(e,t,r){const n=this;return function(t){return KE(t)?ZE(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(n){return e.attempt(w_,t,r)(n)}}},exit:function(e){e.exit("blockQuote")}};function S_(e,t,r,n,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(n),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||HE(t)?r(t):(e.enter(n),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),h(t))};function d(r){return 62===r?(e.enter(o),e.consume(r),e.exit(o),e.exit(i),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(r))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||WE(t)?r(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function h(i){return u||null!==i&&41!==i&&!GE(i)?u<c&&40===i?(e.consume(i),u++,h):41===i?(e.consume(i),u--,h):null===i||32===i||40===i||HE(i)?r(i):(e.consume(i),92===i?g:h):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(n),t(i))}function g(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function C_(e,t,r,n,i,o){const a=this;let s,l=0;return function(t){return e.enter(n),e.enter(i),e.consume(t),e.exit(i),e.enter(o),c};function c(d){return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?r(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(n),t):WE(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||WE(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!KE(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function A_(e,t,r,n,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(n),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s):r(t)};function s(r){return r===a?(e.enter(i),e.consume(r),e.exit(i),e.exit(n),t):(e.enter(o),l(r))}function l(t){return t===a?(e.exit(o),s(a)):null===t?r(t):WE(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ZE(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||WE(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function x_(e,t){let r;return function n(i){return WE(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):KE(i)?ZE(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}function k_(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const E_={name:"definition",tokenize:function(e,t,r){const n=this;let i;return function(t){return e.enter("definition"),function(t){return C_.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return i=k_(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):r(t)}function a(t){return GE(t)?x_(e,s)(t):s(t)}function s(t){return S_(e,l,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(__,c,c)(t)}function c(t){return KE(t)?ZE(e,u,"whitespace")(t):u(t)}function u(o){return null===o||WE(o)?(e.exit("definition"),n.parser.defined.push(i),t(o)):r(o)}}},__={tokenize:function(e,t,r){return function(t){return GE(t)?x_(e,n)(t):r(t)};function n(t){return A_(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return KE(t)?ZE(e,o,"whitespace")(t):o(t)}function o(e){return null===e||WE(e)?t(e):r(e)}},partial:!0},I_={name:"codeIndented",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("codeIndented"),ZE(e,i,"linePrefix",5)(t)};function i(e){const t=n.events[n.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):r(e)}function o(t){return null===t?s(t):WE(t)?e.attempt(P_,o,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||WE(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function s(r){return e.exit("codeIndented"),t(r)}}},P_={tokenize:function(e,t,r){const n=this;return i;function i(t){return n.parser.lazy[n.now().line]?r(t):WE(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):ZE(e,o,"linePrefix",5)(t)}function o(e){const o=n.events[n.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):WE(e)?i(e):r(e)}},partial:!0},T_={name:"headingAtx",tokenize:function(e,t,r){let n=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&n++<6?(e.consume(t),i):null===t||GE(t)?(e.exit("atxHeadingSequence"),o(t)):r(t)}function o(r){return 35===r?(e.enter("atxHeadingSequence"),a(r)):null===r||WE(r)?(e.exit("atxHeading"),t(r)):KE(r)?ZE(e,o,"whitespace")(r):(e.enter("atxHeadingText"),s(r))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||GE(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}},resolve:function(e,t){let r,n,i=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(r={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},n={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},RE(e,o,i-o+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]])),e}},B_={name:"setextUnderline",tokenize:function(e,t,r){const n=this;let i;return function(t){let a,s=n.events.length;for(;s--;)if("lineEnding"!==n.events[s][1].type&&"linePrefix"!==n.events[s][1].type&&"content"!==n.events[s][1].type){a="paragraph"===n.events[s][1].type;break}return n.parser.lazy[n.now().line]||!n.interrupt&&!a?r(t):(e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t))};function o(t){return t===i?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),KE(t)?ZE(e,a,"lineSuffix")(t):a(t))}function a(n){return null===n||WE(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}},resolveTo:function(e,t){let r,n,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){r=o;break}"paragraph"===e[o][1].type&&(n=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[n][1].type="setextHeadingText",i?(e.splice(n,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}},D_=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],N_=["pre","script","style","textarea"],R_={name:"htmlFlow",tokenize:function(e,t,r){const n=this;let i,o,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),o=!0,f):63===s?(e.consume(s),i=3,n.interrupt?t:R):LE(s)?(e.consume(s),a=String.fromCharCode(s),h):r(s)}function u(o){return 45===o?(e.consume(o),i=2,d):91===o?(e.consume(o),i=5,s=0,p):LE(o)?(e.consume(o),i=4,n.interrupt?t:R):r(o)}function d(i){return 45===i?(e.consume(i),n.interrupt?t:R):r(i)}function p(i){return i==="CDATA[".charCodeAt(s++)?(e.consume(i),6===s?n.interrupt?t:E:p):r(i)}function f(t){return LE(t)?(e.consume(t),a=String.fromCharCode(t),h):r(t)}function h(s){if(null===s||47===s||62===s||GE(s)){const l=47===s,c=a.toLowerCase();return l||o||!N_.includes(c)?D_.includes(a.toLowerCase())?(i=6,l?(e.consume(s),g):n.interrupt?t(s):E(s)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(s):o?m(s):v(s)):(i=1,n.interrupt?t(s):E(s))}return 45===s||jE(s)?(e.consume(s),a+=String.fromCharCode(s),h):r(s)}function g(i){return 62===i?(e.consume(i),n.interrupt?t:E):r(i)}function m(t){return KE(t)?(e.consume(t),m):x(t)}function v(t){return 47===t?(e.consume(t),x):58===t||95===t||LE(t)?(e.consume(t),y):KE(t)?(e.consume(t),v):x(t)}function y(t){return 45===t||46===t||58===t||95===t||jE(t)?(e.consume(t),y):b(t)}function b(t){return 61===t?(e.consume(t),w):KE(t)?(e.consume(t),b):v(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),l=t,S):KE(t)?(e.consume(t),w):C(t)}function S(t){return t===l?(e.consume(t),l=null,A):null===t||WE(t)?r(t):(e.consume(t),S)}function C(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||GE(t)?b(t):(e.consume(t),C)}function A(e){return 47===e||62===e||KE(e)?v(e):r(e)}function x(t){return 62===t?(e.consume(t),k):r(t)}function k(t){return null===t||WE(t)?E(t):KE(t)?(e.consume(t),k):r(t)}function E(t){return 45===t&&2===i?(e.consume(t),T):60===t&&1===i?(e.consume(t),B):62===t&&4===i?(e.consume(t),O):63===t&&3===i?(e.consume(t),R):93===t&&5===i?(e.consume(t),N):!WE(t)||6!==i&&7!==i?null===t||WE(t)?(e.exit("htmlFlowData"),_(t)):(e.consume(t),E):(e.exit("htmlFlowData"),e.check(O_,z,_)(t))}function _(t){return e.check(z_,I,z)(t)}function I(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return null===t||WE(t)?_(t):(e.enter("htmlFlowData"),E(t))}function T(t){return 45===t?(e.consume(t),R):E(t)}function B(t){return 47===t?(e.consume(t),a="",D):E(t)}function D(t){if(62===t){const r=a.toLowerCase();return N_.includes(r)?(e.consume(t),O):E(t)}return LE(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),D):E(t)}function N(t){return 93===t?(e.consume(t),R):E(t)}function R(t){return 62===t?(e.consume(t),O):45===t&&2===i?(e.consume(t),R):E(t)}function O(t){return null===t||WE(t)?(e.exit("htmlFlowData"),z(t)):(e.consume(t),O)}function z(r){return e.exit("htmlFlow"),t(r)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},O_={tokenize:function(e,t,r){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(r_,t,r)}},partial:!0},z_={tokenize:function(e,t,r){const n=this;return function(t){return WE(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):r(t)};function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},M_={tokenize:function(e,t,r){const n=this;return function(t){return null===t?r(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},F_={name:"codeFenced",tokenize:function(e,t,r){const n=this,i={tokenize:function(e,t,r){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),KE(t)?ZE(e,l,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===o?(e.enter("codeFencedFenceSequence"),c(t)):r(t)}function c(t){return t===o?(i++,e.consume(t),c):i>=s?(e.exit("codeFencedFenceSequence"),KE(t)?ZE(e,u,"whitespace")(t):u(t)):r(t)}function u(n){return null===n||WE(n)?(e.exit("codeFencedFence"),t(n)):r(n)}},partial:!0};let o,a=0,s=0;return function(t){return function(t){const r=n.events[n.events.length-1];return a=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(s++,e.consume(t),l):s<3?r(t):(e.exit("codeFencedFenceSequence"),KE(t)?ZE(e,c,"whitespace")(t):c(t))}function c(r){return null===r||WE(r)?(e.exit("codeFencedFence"),n.interrupt?t(r):e.check(M_,f,y)(r)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(r))}function u(t){return null===t||WE(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):KE(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ZE(e,d,"whitespace")(t)):96===t&&t===o?r(t):(e.consume(t),u)}function d(t){return null===t||WE(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||WE(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===o?r(t):(e.consume(t),p)}function f(t){return e.attempt(i,y,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),g}function g(t){return a>0&&KE(t)?ZE(e,m,"linePrefix",a+1)(t):m(t)}function m(t){return null===t||WE(t)?e.check(M_,f,y)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||WE(t)?(e.exit("codeFlowValue"),m(t)):(e.consume(t),v)}function y(r){return e.exit("codeFenced"),t(r)}},concrete:!0},L_=document.createElement("i");function j_(e){const t="&"+e+";";L_.innerHTML=t;const r=L_.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&r!==t&&r}const V_={name:"characterReference",tokenize:function(e,t,r){const n=this;let i,o,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=jE,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=UE,c):(e.enter("characterReferenceValue"),i=7,o=qE,c(t))}function c(s){if(59===s&&a){const i=e.exit("characterReferenceValue");return o!==jE||j_(n.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(s)}return o(s)&&a++<i?(e.consume(s),c):r(s)}}},H_={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),n};function n(n){return $E(n)?(e.enter("characterEscapeValue"),e.consume(n),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(n)}}},q_={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ZE(e,t,"linePrefix")}}},U_={name:"labelEnd",tokenize:function(e,t,r){const n=this;let i,o,a=n.events.length;for(;a--;)if(("labelImage"===n.events[a][1].type||"labelLink"===n.events[a][1].type)&&!n.events[a][1]._balanced){i=n.events[a][1];break}return function(t){return i?i._inactive?u(t):(o=n.parser.defined.includes(k_(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):r(t)};function s(t){return 40===t?e.attempt($_,c,o?c:u)(t):91===t?e.attempt(W_,c,o?l:u)(t):o?c(t):u(t)}function l(t){return e.attempt(G_,c,u)(t)}function c(e){return t(e)}function u(e){return i._balanced=!0,r(e)}},resolveTo:function(e,t){let r,n,i,o,a=e.length,s=0;for(;a--;)if(r=e[a][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[a][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=a,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(i=a);const l={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[i][1].end)},u={type:"labelText",start:Object.assign({},e[n+s+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=OE(o,e.slice(n+1,n+s+3)),o=OE(o,[["enter",u,t]]),o=OE(o,h_(t.parser.constructs.insideSpan.null,e.slice(n+s+4,i-3),t)),o=OE(o,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),o=OE(o,e.slice(i+1)),o=OE(o,[["exit",l,t]]),RE(e,n,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const r=e[t][1];"labelImage"!==r.type&&"labelLink"!==r.type&&"labelEnd"!==r.type||(e.splice(t+1,"labelImage"===r.type?4:2),r.type="data",t++)}return e}},$_={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),n};function n(t){return GE(t)?x_(e,i)(t):i(t)}function i(t){return 41===t?c(t):S_(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return GE(t)?x_(e,s)(t):c(t)}function a(e){return r(e)}function s(t){return 34===t||39===t||40===t?A_(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return GE(t)?x_(e,c)(t):c(t)}function c(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},W_={tokenize:function(e,t,r){const n=this;return function(t){return C_.call(n,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return n.parser.defined.includes(k_(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}function o(e){return r(e)}}},G_={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}},K_={name:"labelStartImage",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):r(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:U_.resolveAll};function X_(e){return null===e||GE(e)||YE(e)?1:XE(e)?2:void 0}const Y_={name:"attention",tokenize:function(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=X_(n);let o;return function(t){return o=t,e.enter("attentionSequence"),a(t)};function a(s){if(s===o)return e.consume(s),a;const l=e.exit("attentionSequence"),c=X_(s),u=!c||2===c&&i||r.includes(s),d=!i||2===i&&c||r.includes(n);return l._open=Boolean(42===o?u:u&&(i||!d)),l._close=Boolean(42===o?d:d&&(c||!u)),t(s)}},resolveAll:function(e,t){let r,n,i,o,a,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(r=u;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[r][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),p=Object.assign({},e[u][1].start);J_(d,-s),J_(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[u][1].start)},n={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[r][1].end=Object.assign({},o.start),e[u][1].start=Object.assign({},a.end),l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=OE(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=OE(l,[["enter",n,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=OE(l,h_(t.parser.constructs.insideSpan.null,e.slice(r+1,u),t)),l=OE(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",n,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=OE(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,RE(e,r-1,u-r+3,l),u=r+l.length-c-2;break}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e}};function J_(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Z_={name:"autolink",tokenize:function(e,t,r){let n=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return LE(t)?(e.consume(t),o):l(t)}function o(e){return 43===e||45===e||46===e||jE(e)?(n=1,a(e)):l(e)}function a(t){return 58===t?(e.consume(t),n=0,s):(43===t||45===t||46===t||jE(t))&&n++<32?(e.consume(t),a):(n=0,l(t))}function s(n){return 62===n?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):null===n||32===n||60===n||HE(n)?r(n):(e.consume(n),s)}function l(t){return 64===t?(e.consume(t),c):VE(t)?(e.consume(t),l):r(t)}function c(e){return jE(e)?u(e):r(e)}function u(r){return 46===r?(e.consume(r),n=0,c):62===r?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):d(r)}function d(t){if((45===t||jE(t))&&n++<63){const r=45===t?d:u;return e.consume(t),r}return r(t)}}},Q_={name:"htmlText",tokenize:function(e,t,r){const n=this;let i,o,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),w):63===t?(e.consume(t),y):LE(t)?(e.consume(t),A):r(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o=0,f):LE(t)?(e.consume(t),v):r(t)}function c(t){return 45===t?(e.consume(t),p):r(t)}function u(t){return null===t?r(t):45===t?(e.consume(t),d):WE(t)?(a=u,D(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?B(e):45===e?d(e):u(e)}function f(t){return t==="CDATA[".charCodeAt(o++)?(e.consume(t),6===o?h:f):r(t)}function h(t){return null===t?r(t):93===t?(e.consume(t),g):WE(t)?(a=h,D(t)):(e.consume(t),h)}function g(t){return 93===t?(e.consume(t),m):h(t)}function m(t){return 62===t?B(t):93===t?(e.consume(t),m):h(t)}function v(t){return null===t||62===t?B(t):WE(t)?(a=v,D(t)):(e.consume(t),v)}function y(t){return null===t?r(t):63===t?(e.consume(t),b):WE(t)?(a=y,D(t)):(e.consume(t),y)}function b(e){return 62===e?B(e):y(e)}function w(t){return LE(t)?(e.consume(t),S):r(t)}function S(t){return 45===t||jE(t)?(e.consume(t),S):C(t)}function C(t){return WE(t)?(a=C,D(t)):KE(t)?(e.consume(t),C):B(t)}function A(t){return 45===t||jE(t)?(e.consume(t),A):47===t||62===t||GE(t)?x(t):r(t)}function x(t){return 47===t?(e.consume(t),B):58===t||95===t||LE(t)?(e.consume(t),k):WE(t)?(a=x,D(t)):KE(t)?(e.consume(t),x):B(t)}function k(t){return 45===t||46===t||58===t||95===t||jE(t)?(e.consume(t),k):E(t)}function E(t){return 61===t?(e.consume(t),_):WE(t)?(a=E,D(t)):KE(t)?(e.consume(t),E):x(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),i=t,I):WE(t)?(a=_,D(t)):KE(t)?(e.consume(t),_):(e.consume(t),P)}function I(t){return t===i?(e.consume(t),i=void 0,T):null===t?r(t):WE(t)?(a=I,D(t)):(e.consume(t),I)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):47===t||62===t||GE(t)?x(t):(e.consume(t),P)}function T(e){return 47===e||62===e||GE(e)?x(e):r(e)}function B(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}function D(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return KE(t)?ZE(e,R,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):R(t)}function R(t){return e.enter("htmlTextData"),a(t)}}},eI={name:"labelStartLink",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:U_.resolveAll},tI={name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.consume(t),n};function n(n){return WE(n)?(e.exit("hardBreakEscape"),t(n)):r(n)}}},rI={name:"codeText",tokenize:function(e,t,r){let n,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),o++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?r(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(i=e.enter("codeTextSequence"),n=0,c(t)):WE(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||WE(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(r){return 96===r?(e.consume(r),n++,c):n===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(i.type="codeTextData",l(r))}},resolve:function(e){let t,r,n=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[n][1].type&&"space"!==e[n][1].type))for(t=i;++t<n;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[n][1].type="codeTextPadding",i+=2,n-=2;break}for(t=i-1,n++;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):t!==n&&"lineEnding"!==e[t][1].type||(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}},nI={42:v_,43:v_,45:v_,48:v_,49:v_,50:v_,51:v_,52:v_,53:v_,54:v_,55:v_,56:v_,57:v_,62:w_},iI={91:E_},oI={[-2]:I_,[-1]:I_,32:I_},aI={35:T_,42:m_,45:[B_,m_],60:R_,61:B_,95:m_,96:F_,126:F_},sI={38:V_,92:H_},lI={[-5]:q_,[-4]:q_,[-3]:q_,33:K_,38:V_,42:Y_,60:[Z_,Q_],91:eI,92:[tI,H_],93:U_,95:Y_,96:rI},cI={null:[Y_,l_]},uI={null:[42,95]},dI={null:[]};const pI=/[\0\t\n\r]/g;function fI(e,t){const r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||!(65535&~r)||65534==(65535&r)||r>1114111?"�":String.fromCharCode(r)}const hI=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function gI(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return fI(r.slice(t?2:1),t?16:10)}return j_(r)||e}const mI={}.hasOwnProperty,vI=function(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(w),autolinkProtocol:p,autolinkEmail:p,atxHeading:a(v),blockQuote:a((function(){return{type:"blockquote",children:[]}})),characterEscape:p,characterReference:p,codeFenced:a(m),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(m,s),codeText:a((function(){return{type:"inlineCode",value:""}}),s),codeTextData:p,data:p,codeFlowValue:p,definition:a((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:a(y),hardBreakTrailing:a(y),htmlFlow:a(b,s),htmlFlowData:p,htmlText:a(b,s),htmlTextData:p,image:a((function(){return{type:"image",title:null,url:"",alt:null}})),label:s,link:a(w),listItem:a((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){o("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue"))},listOrdered:a(S,(function(){i("expectingFirstListItemValue",!0)})),listUnordered:a(S),paragraph:a((function(){return{type:"paragraph",children:[]}})),reference:function(){i("referenceType","collapsed")},referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(v),strong:a((function(){return{type:"strong",children:[]}})),thematicBreak:a((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:c(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}},autolink:c(),autolinkEmail:function(e){f.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){f.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:c(),characterEscapeValue:f,characterReferenceMarkerHexadecimal:g,characterReferenceMarkerNumeric:g,characterReferenceValue:function(e){const t=this.sliceSerialize(e),r=o("characterReferenceType");let n;r?(n=fI(t,"characterReferenceMarkerNumeric"===r?10:16),i("characterReferenceType")):n=j_(t);const a=this.stack.pop();a.value+=n,a.position.end=yI(e.end)},codeFenced:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")})),codeFencedFence:function(){o("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:f,codeIndented:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:f,data:f,definition:c(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=k_(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:c(),hardBreakEscape:c(h),hardBreakTrailing:c(h),htmlFlow:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:f,htmlText:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:f,image:c((function(){const e=this.stack[this.stack.length-1];if(o("inReference")){const t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(i("inReference",!0),"link"===r.type){const t=e.children;r.children=t}else r.alt=t},labelText:function(e){const t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=function(e){return e.replace(hI,gI)}(t),r.identifier=k_(t).toLowerCase()},lineEnding:function(e){const r=this.stack[this.stack.length-1];if(o("atHardBreak"))return r.children[r.children.length-1].position.end=yI(e.end),void i("atHardBreak");!o("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(r.type)&&(p.call(this,e),f.call(this,e))},link:c((function(){const e=this.stack[this.stack.length-1];if(o("inReference")){const t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=k_(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){i("inReference")},setextHeading:c((function(){i("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){i("setextHeadingSlurpLineEnding",!0)},strong:c(),thematicBreak:c()}};bI(t,(e||{}).mdastExtensions||[]);const r={};return function(e){let r={type:"root",children:[]};const a={stack:[r],tokenStack:[],config:t,enter:l,exit:u,buffer:s,resume:d,setData:i,getData:o},c=[];let p=-1;for(;++p<e.length;)"listOrdered"!==e[p][1].type&&"listUnordered"!==e[p][1].type||("enter"===e[p][0]?c.push(p):p=n(e,c.pop(),p));for(p=-1;++p<e.length;){const r=t[e[p][0]];mI.call(r,e[p][1].type)&&r[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},a),e[p][1])}if(a.tokenStack.length>0){const e=a.tokenStack[a.tokenStack.length-1];(e[1]||SI).call(a,void 0,e[0])}for(r.position={start:yI(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:yI(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)r=t.transforms[p](r)||r;return r};function n(e,t,r){let n,i,o,a,s=t-1,l=-1,c=!1;for(;++s<=r;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?l++:l--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!n||a||l||o||(o=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let a=s;for(i=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(n._spread=!0),n.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",n,t[2]]),s++,r++}"listItemPrefix"===t[1].type&&(n={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0},e.splice(s,0,["enter",n,t[2]]),s++,r++,o=void 0,a=!0)}}return e[t][1]._spread=c,r}function i(e,t){r[e]=t}function o(e){return r[e]}function a(e,t){return function(r){l.call(this,e(r),r),t&&t.call(this,r)}}function s(){this.stack.push({type:"fragment",children:[]})}function l(e,t,r){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r]),e.position={start:yI(t.start)},e}function c(e){return function(t){e&&e.call(this,t),u.call(this,t)}}function u(e,t){const r=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+tE({start:e.start,end:e.end})+"): it’s not open");return n[0].type!==e.type&&(t?t.call(this,e,n[0]):(n[1]||SI).call(this,e,n[0])),r.position.end=yI(e.end),r}function d(){return function(e){return DE(e,"boolean"!=typeof BE.includeImageAlt||BE.includeImageAlt,"boolean"!=typeof BE.includeHtml||BE.includeHtml)}(this.stack.pop())}function p(e){const t=this.stack[this.stack.length-1];let r=t.children[t.children.length-1];r&&"text"===r.type||(r={type:"text",value:""},r.position={start:yI(e.start)},t.children.push(r)),this.stack.push(r)}function f(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=yI(e.end)}function h(){i("atHardBreak",!0)}function g(e){i("characterReferenceType",e.type)}function m(){return{type:"code",lang:null,meta:null,value:""}}function v(){return{type:"heading",depth:void 0,children:[]}}function y(){return{type:"break"}}function b(){return{type:"html",value:""}}function w(){return{type:"link",title:null,url:"",children:[]}}function S(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(r)(function(e){for(;!n_(e););return e}(function(e){const t=function(e){const t={};let r=-1;for(;++r<e.length;)ME(t,e[r]);return t}([n,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:t,content:i(QE),document:i(e_),flow:i(s_),string:i(c_),text:i(u_)};return r;function i(e){return function(t){return g_(r,e,t)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(i,o,a){const s=[];let l,c,u,d,p;for(i=r+i.toString(o),u=0,r="",n&&(65279===i.charCodeAt(0)&&u++,n=void 0);u<i.length;){if(pI.lastIndex=u,l=pI.exec(i),d=l&&void 0!==l.index?l.index:i.length,p=i.charCodeAt(d),!l){r=i.slice(u);break}if(10===p&&u===d&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),u<d&&(s.push(i.slice(u,d)),t+=d-u),p){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}u=d+1}return a&&(e&&s.push(-5),r&&s.push(r),s.push(null)),s}}()(e,t,!0))))};function yI(e){return{line:e.line,column:e.column,offset:e.offset}}function bI(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?bI(e,n):wI(e,n)}}function wI(e,t){let r;for(r in t)if(mI.call(t,r))if("canContainEols"===r){const n=t[r];n&&e[r].push(...n)}else if("transforms"===r){const n=t[r];n&&e[r].push(...n)}else if("enter"===r||"exit"===r){const n=t[r];n&&Object.assign(e[r],n)}}function SI(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+tE({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+tE({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+tE({start:t.start,end:t.end})+") is still open")}function CI(e){Object.assign(this,{Parser:t=>{const r=this.data("settings");return vI(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function AI(e){const t=[];let r=-1,n=0,i=0;for(;++r<e.length;){const o=e.charCodeAt(r);let a="";if(37===o&&jE(e.charCodeAt(r+1))&&jE(e.charCodeAt(r+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(r+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(n,r),encodeURIComponent(a)),n=r+i+1,a=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}const xI=function(e){if(null==e)return EI;if("string"==typeof e)return t=e,kI((function(e){return e&&e.type===t}));var t;if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=xI(e[r]);return kI((function(...e){let r=-1;for(;++r<t.length;)if(t[r].call(this,...e))return!0;return!1}))}(e):function(e){return kI((function(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}))}(e);if("function"==typeof e)return kI(e);throw new Error("Expected function, string, or object as test")};function kI(e){return function(t,...r){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...r)))}}function EI(){return!0}const _I=!1,II=function(e,t,r,n){"function"==typeof t&&"function"!=typeof r&&(n=r,r=t,t=null),function(e,t,r,n){"function"==typeof t&&"function"!=typeof r&&(n=r,r=t,t=null);const i=xI(t),o=n?-1:1;!function e(a,s,l){const c=a&&"object"==typeof a?a:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,p=[];if((!t||i(a,s,l[l.length-1]||null))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:[e]}(r(a,l)),p[0]===_I))return p;if(a.children&&"skip"!==p[0])for(u=(n?a.children.length:-1)+o,d=l.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,d)(),c[0]===_I)return c;u="number"==typeof c[1]?c[1]:u+o}return p}}(e,void 0,[])()}(e,t,(function(e,t){const n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),n)},PI=BI("start"),TI=BI("end");function BI(e){return function(t){const r=t&&t.position&&t.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}const DI={}.hasOwnProperty;function NI(e){return String(e||"").toUpperCase()}function RI(e,t){const r=String(t.identifier).toUpperCase(),n=AI(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o;-1===i?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,o=e.footnoteOrder.length):(e.footnoteCounts[r]++,o=i+1);const a=e.footnoteCounts[r],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+n,id:e.clobberPrefix+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function OI(e,t){const r=t.referenceType;let n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+n};const i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&"text"===a.type?a.value+=n:i.push({type:"text",value:n}),i}function zI(e){const t=e.spread;return null==t?e.children.length>1:t}function MI(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),i=0;const o=[];for(;n;)o.push(FI(t.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(t);return o.push(FI(t.slice(i),i>0,!1)),o.join("")}function FI(e,t,r){let n=0,i=e.length;if(t){let t=e.codePointAt(n);for(;9===t||32===t;)n++,t=e.codePointAt(n)}if(r){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>n?e.slice(n,i):""}const LI={blockquote:function(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){const r=t.value?t.value+"\n":"",n=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};n&&(i.className=["language-"+n]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:r}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:RI,footnote:function(e,t){const r=e.footnoteById;let n=1;for(;n in r;)n++;const i=String(n);return r[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},RI(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.dangerous){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}return null},imageReference:function(e,t){const r=e.definition(t.identifier);if(!r)return OI(e,t);const n={src:AI(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(n.title=r.title);const i={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const r={src:AI(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)},inlineCode:function(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)},linkReference:function(e,t){const r=e.definition(t.identifier);if(!r)return OI(e,t);const n={href:AI(r.url||"")};null!==r.title&&void 0!==r.title&&(n.title=r.title);const i={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const r={href:AI(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},listItem:function(e,t,r){const n=e.all(t),i=r?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=zI(r[n])}return t}(r):zI(t),o={},a=[];if("boolean"==typeof t.checked){const e=n[0];let r;e&&"element"===e.type&&"p"===e.tagName?r=e:(r={type:"element",tagName:"p",properties:{},children:[]},n.unshift(r)),r.children.length>0&&r.children.unshift({type:"text",value:" "}),r.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<n.length;){const e=n[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}const l=n[n.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const r={},n=e.all(t);let i=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++i<n.length;){const e=n[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},root:function(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)},strong:function(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},table:function(e,t){const r=e.all(t),n=r.shift(),i=[];if(n){const r={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],r),i.push(r)}if(r.length>0){const n={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},o=PI(t.children[1]),a=TI(t.children[t.children.length-1]);o.line&&a.line&&(n.position={start:o,end:a}),i.push(n)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){const n=r?r.children:void 0,i=0===(n?n.indexOf(t):1)?"th":"td",o=r&&"table"===r.type?r.align:void 0,a=o?o.length:t.children.length;let s=-1;const l=[];for(;++s<a;){const r=t.children[s],n={},a=o?o[s]:void 0;a&&(n.align=a);let c={type:"element",tagName:i,properties:n,children:[]};r&&(c.children=e.all(r),e.patch(r,c),c=e.applyData(t,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const r={type:"text",value:MI(String(t.value))};return e.patch(t,r),e.applyData(t,r)},thematicBreak:function(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)},toml:jI,yaml:jI,definition:jI,footnoteDefinition:jI};function jI(){return null}const VI={}.hasOwnProperty;function HI(e,t){var r;e.position&&(t.position={start:PI(r=e),end:TI(r)})}function qI(e,t){let r=t;if(e&&e.data){const t=e.data.hName,n=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===r.type?r.tagName=t:r={type:"element",tagName:t,properties:{},children:[]}),"element"===r.type&&i&&(r.properties={...r.properties,...i}),"children"in r&&r.children&&null!=n&&(r.children=n)}return r}function UI(e,t,r){const n=t&&t.type;if(!n)throw new Error("Expected node, got `"+t+"`");return VI.call(e.handlers,n)?e.handlers[n](e,t,r):e.passThrough&&e.passThrough.includes(n)?"children"in t?{...t,children:$I(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,r):function(e,t){const r=t.data||{},n=!("value"in t)||VI.call(r,"hProperties")||VI.call(r,"hChildren")?{type:"element",tagName:"div",properties:{},children:$I(e,t)}:{type:"text",value:t.value};return e.patch(t,n),e.applyData(t,n)}(e,t)}function $I(e,t){const r=[];if("children"in t){const n=t.children;let i=-1;for(;++i<n.length;){const o=UI(e,n[i],t);if(o){if(i&&"break"===n[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?r.push(...o):r.push(o)}}}return r}function WI(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:"\n"});++n<e.length;)n&&r.push({type:"text",value:"\n"}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:"\n"}),r}function GI(e,t){const r=function(e,t){const r=t||{},n=r.allowDangerousHtml||!1,i={};return a.dangerous=n,a.clobberPrefix=void 0===r.clobberPrefix||null===r.clobberPrefix?"user-content-":r.clobberPrefix,a.footnoteLabel=r.footnoteLabel||"Footnotes",a.footnoteLabelTagName=r.footnoteLabelTagName||"h2",a.footnoteLabelProperties=r.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=r.footnoteBackLabel||"Back to content",a.unknownHandler=r.unknownHandler,a.passThrough=r.passThrough,a.handlers={...LI,...r.handlers},a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return II(e,"definition",(e=>{const r=NI(e.identifier);r&&!DI.call(t,r)&&(t[r]=e)})),function(e){const r=NI(e);return r&&DI.call(t,r)?t[r]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=HI,a.applyData=qI,a.one=function(e,t){return UI(a,e,t)},a.all=function(e){return $I(a,e)},a.wrap=WI,a.augment=o,II(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();VI.call(i,t)||(i[t]=e)})),a;function o(e,t){if(e&&"data"in e&&e.data){const r=e.data;r.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=r.hName),"element"===t.type&&r.hProperties&&(t.properties={...t.properties,...r.hProperties}),"children"in t&&t.children&&r.hChildren&&(t.children=r.hChildren)}if(e){const n="type"in e?e:{position:e};!((r=n)&&r.position&&r.position.start&&r.position.start.line&&r.position.start.column&&r.position.end&&r.position.end.line&&r.position.end.column)||(t.position={start:PI(n),end:TI(n)})}var r;return t}function a(e,t,r,n){return Array.isArray(r)&&(n=r,r={}),o(e,{type:"element",tagName:t,properties:r||{},children:n||[]})}}(e,t),n=r.one(e,null),i=function(e){const t=[];let r=-1;for(;++r<e.footnoteOrder.length;){const n=e.footnoteById[e.footnoteOrder[r]];if(!n)continue;const i=e.all(n),o=String(n.identifier).toUpperCase(),a=AI(o.toLowerCase());let s=0;const l=[];for(;++s<=e.footnoteCounts[o];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const c=i[i.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else i.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(i,!0)};e.patch(n,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(r);return i&&n.children.push({type:"text",value:"\n"},i),Array.isArray(n)?{type:"root",children:n}:n}const KI=function(e,t){return e&&"run"in e?function(e,t){return(r,n,i)=>{e.run(GI(r,t),n,(e=>{i(e)}))}}(e,t):function(e){return t=>GI(t,e)}(e||t)};var XI=r(3445);class YI{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}}function JI(e,t){const r={},n={};let i=-1;for(;++i<e.length;)Object.assign(r,e[i].property),Object.assign(n,e[i].normal);return new YI(r,n,t)}function ZI(e){return e.toLowerCase()}YI.prototype.property={},YI.prototype.normal={},YI.prototype.space=null;class QI{constructor(e,t){this.property=e,this.attribute=t}}QI.prototype.space=null,QI.prototype.boolean=!1,QI.prototype.booleanish=!1,QI.prototype.overloadedBoolean=!1,QI.prototype.number=!1,QI.prototype.commaSeparated=!1,QI.prototype.spaceSeparated=!1,QI.prototype.commaOrSpaceSeparated=!1,QI.prototype.mustUseProperty=!1,QI.prototype.defined=!1;let eP=0;const tP=lP(),rP=lP(),nP=lP(),iP=lP(),oP=lP(),aP=lP(),sP=lP();function lP(){return 2**++eP}const cP=Object.keys(i);class uP extends QI{constructor(e,t,r,n){let o=-1;if(super(e,t),dP(this,"space",n),"number"==typeof r)for(;++o<cP.length;){const e=cP[o];dP(this,cP[o],(r&i[e])===i[e])}}}function dP(e,t,r){r&&(e[t]=r)}uP.prototype.defined=!0;const pP={}.hasOwnProperty;function fP(e){const t={},r={};let n;for(n in e.properties)if(pP.call(e.properties,n)){const i=e.properties[n],o=new uP(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(o.mustUseProperty=!0),t[n]=o,r[ZI(n)]=n,r[ZI(o.attribute)]=n}return new YI(t,r,e.space)}const hP=fP({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),gP=fP({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function mP(e,t){return t in e?e[t]:t}function vP(e,t){return mP(e,t.toLowerCase())}const yP=fP({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:vP,properties:{xmlns:null,xmlnsXLink:null}}),bP=fP({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:rP,ariaAutoComplete:null,ariaBusy:rP,ariaChecked:rP,ariaColCount:iP,ariaColIndex:iP,ariaColSpan:iP,ariaControls:oP,ariaCurrent:null,ariaDescribedBy:oP,ariaDetails:null,ariaDisabled:rP,ariaDropEffect:oP,ariaErrorMessage:null,ariaExpanded:rP,ariaFlowTo:oP,ariaGrabbed:rP,ariaHasPopup:null,ariaHidden:rP,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oP,ariaLevel:iP,ariaLive:null,ariaModal:rP,ariaMultiLine:rP,ariaMultiSelectable:rP,ariaOrientation:null,ariaOwns:oP,ariaPlaceholder:null,ariaPosInSet:iP,ariaPressed:rP,ariaReadOnly:rP,ariaRelevant:null,ariaRequired:rP,ariaRoleDescription:oP,ariaRowCount:iP,ariaRowIndex:iP,ariaRowSpan:iP,ariaSelected:rP,ariaSetSize:iP,ariaSort:null,ariaValueMax:iP,ariaValueMin:iP,ariaValueNow:iP,ariaValueText:null,role:null}}),wP=fP({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:vP,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:aP,acceptCharset:oP,accessKey:oP,action:null,allow:null,allowFullScreen:tP,allowPaymentRequest:tP,allowUserMedia:tP,alt:null,as:null,async:tP,autoCapitalize:null,autoComplete:oP,autoFocus:tP,autoPlay:tP,blocking:oP,capture:null,charSet:null,checked:tP,cite:null,className:oP,cols:iP,colSpan:null,content:null,contentEditable:rP,controls:tP,controlsList:oP,coords:iP|aP,crossOrigin:null,data:null,dateTime:null,decoding:null,default:tP,defer:tP,dir:null,dirName:null,disabled:tP,download:nP,draggable:rP,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:tP,formTarget:null,headers:oP,height:iP,hidden:tP,high:iP,href:null,hrefLang:null,htmlFor:oP,httpEquiv:oP,id:null,imageSizes:null,imageSrcSet:null,inert:tP,inputMode:null,integrity:null,is:null,isMap:tP,itemId:null,itemProp:oP,itemRef:oP,itemScope:tP,itemType:oP,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:tP,low:iP,manifest:null,max:null,maxLength:iP,media:null,method:null,min:null,minLength:iP,multiple:tP,muted:tP,name:null,nonce:null,noModule:tP,noValidate:tP,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:tP,optimum:iP,pattern:null,ping:oP,placeholder:null,playsInline:tP,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:tP,referrerPolicy:null,rel:oP,required:tP,reversed:tP,rows:iP,rowSpan:iP,sandbox:oP,scope:null,scoped:tP,seamless:tP,selected:tP,shadowRootClonable:tP,shadowRootDelegatesFocus:tP,shadowRootMode:null,shape:null,size:iP,sizes:null,slot:null,span:iP,spellCheck:rP,src:null,srcDoc:null,srcLang:null,srcSet:null,start:iP,step:null,style:null,tabIndex:iP,target:null,title:null,translate:null,type:null,typeMustMatch:tP,useMap:null,value:rP,width:iP,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:oP,axis:null,background:null,bgColor:null,border:iP,borderColor:null,bottomMargin:iP,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:tP,declare:tP,event:null,face:null,frame:null,frameBorder:null,hSpace:iP,leftMargin:iP,link:null,longDesc:null,lowSrc:null,marginHeight:iP,marginWidth:iP,noResize:tP,noHref:tP,noShade:tP,noWrap:tP,object:null,profile:null,prompt:null,rev:null,rightMargin:iP,rules:null,scheme:null,scrolling:rP,standby:null,summary:null,text:null,topMargin:iP,valueType:null,version:null,vAlign:null,vLink:null,vSpace:iP,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:tP,disableRemotePlayback:tP,prefix:null,property:null,results:iP,security:null,unselectable:null}}),SP=fP({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:mP,properties:{about:sP,accentHeight:iP,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:iP,amplitude:iP,arabicForm:null,ascent:iP,attributeName:null,attributeType:null,azimuth:iP,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:iP,by:null,calcMode:null,capHeight:iP,className:oP,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:iP,diffuseConstant:iP,direction:null,display:null,dur:null,divisor:iP,dominantBaseline:null,download:tP,dx:null,dy:null,edgeMode:null,editable:null,elevation:iP,enableBackground:null,end:null,event:null,exponent:iP,externalResourcesRequired:null,fill:null,fillOpacity:iP,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:aP,g2:aP,glyphName:aP,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:iP,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:iP,horizOriginX:iP,horizOriginY:iP,id:null,ideographic:iP,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:iP,k:iP,k1:iP,k2:iP,k3:iP,k4:iP,kernelMatrix:sP,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:iP,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:iP,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:iP,overlineThickness:iP,paintOrder:null,panose1:null,path:null,pathLength:iP,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:oP,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:iP,pointsAtY:iP,pointsAtZ:iP,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:sP,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:sP,rev:sP,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:sP,requiredFeatures:sP,requiredFonts:sP,requiredFormats:sP,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:iP,specularExponent:iP,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:iP,strikethroughThickness:iP,string:null,stroke:null,strokeDashArray:sP,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:iP,strokeOpacity:iP,strokeWidth:null,style:null,surfaceScale:iP,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sP,tabIndex:iP,tableValues:null,target:null,targetX:iP,targetY:iP,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:sP,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:iP,underlineThickness:iP,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:iP,values:null,vAlphabetic:iP,vMathematical:iP,vectorEffect:null,vHanging:iP,vIdeographic:iP,version:null,vertAdvY:iP,vertOriginX:iP,vertOriginY:iP,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:iP,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),CP=JI([gP,hP,yP,bP,wP],"html"),AP=JI([gP,hP,yP,bP,SP],"svg");function xP(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{II(t,"element",((t,r,n)=>{const i=n;let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"==typeof r&&(o=!e.allowElement(t,r,i)),o&&"number"==typeof r)return e.unwrapDisallowed&&t.children?i.children.splice(r,1,...t.children):i.children.splice(r,1),r}))}}var kP=r(2242);function EP(e){const t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const _P=/^data[-\w.:]+$/i,IP=/-[a-z]/g,PP=/[A-Z]/g;function TP(e){return"-"+e.toLowerCase()}function BP(e){return e.charAt(1).toUpperCase()}const DP={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},NP=r(1442),RP=["http","https","mailto","tel"];function OP(e){const t=(e||"").trim(),r=t.charAt(0);if("#"===r||"/"===r)return t;const n=t.indexOf(":");if(-1===n)return t;let i=-1;for(;++i<RP.length;){const e=RP[i];if(n===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return i=t.indexOf("?"),-1!==i&&n>i?t:(i=t.indexOf("#"),-1!==i&&n>i?t:"javascript:void(0)")}const zP={}.hasOwnProperty,MP=new Set(["table","thead","tbody","tfoot","tr"]);function FP(e,t){const r=[];let n,i=-1;for(;++i<t.children.length;)n=t.children[i],"element"===n.type?r.push(LP(e,n,i,t)):"text"===n.type?"element"===t.type&&MP.has(t.tagName)&&EP(n)||r.push(n.value):"raw"!==n.type||e.options.skipHtml||r.push(n.value);return r}function LP(e,t,r,n){const i=e.options,a=void 0===i.transformLinkUri?OP:i.transformLinkUri,s=e.schema,l=t.tagName,c={};let u,d=s;if("html"===s.space&&"svg"===l&&(d=AP,e.schema=d),t.properties)for(u in t.properties)zP.call(t.properties,u)&&VP(c,u,t.properties[u],e);"ol"!==l&&"ul"!==l||e.listDepth++;const p=FP(e,t);"ol"!==l&&"ul"!==l||e.listDepth--,e.schema=s;const f=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=i.components&&zP.call(i.components,l)?i.components[l]:l,g="string"==typeof h||h===o.Fragment;if(!kP.isValidElementType(h))throw new TypeError(`Component for name \`${l}\` not defined or is not renderable`);if(c.key=r,"a"===l&&i.linkTarget&&(c.target="function"==typeof i.linkTarget?i.linkTarget(String(c.href||""),t.children,"string"==typeof c.title?c.title:null):i.linkTarget),"a"===l&&a&&(c.href=a(String(c.href||""),t.children,"string"==typeof c.title?c.title:null)),g||"code"!==l||"element"!==n.type||"pre"===n.tagName||(c.inline=!0),g||"h1"!==l&&"h2"!==l&&"h3"!==l&&"h4"!==l&&"h5"!==l&&"h6"!==l||(c.level=Number.parseInt(l.charAt(1),10)),"img"===l&&i.transformImageUri&&(c.src=i.transformImageUri(String(c.src||""),String(c.alt||""),"string"==typeof c.title?c.title:null)),!g&&"li"===l&&"element"===n.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const r=e.children[t];if("element"===r.type&&"input"===r.tagName)return r}return null}(t);c.checked=e&&e.properties?Boolean(e.properties.checked):null,c.index=jP(n,t),c.ordered="ol"===n.tagName}var m;return g||"ol"!==l&&"ul"!==l||(c.ordered="ol"===l,c.depth=e.listDepth),"td"!==l&&"th"!==l||(c.align&&(c.style||(c.style={}),c.style.textAlign=c.align,delete c.align),g||(c.isHeader="th"===l)),g||"tr"!==l||"element"!==n.type||(c.isHeader=Boolean("thead"===n.tagName)),i.sourcePos&&(c["data-sourcepos"]=[(m=f).start.line,":",m.start.column,"-",m.end.line,":",m.end.column].map(String).join("")),!g&&i.rawSourcePos&&(c.sourcePosition=t.position),!g&&i.includeElementIndex&&(c.index=jP(n,t),c.siblingCount=jP(n)),g||(c.node=t),p.length>0?o.createElement(h,c,p):o.createElement(h,c)}function jP(e,t){let r=-1,n=0;for(;++r<e.children.length&&e.children[r]!==t;)"element"===e.children[r].type&&n++;return n}function VP(e,t,r,n){const i=function(e,t){const r=ZI(t);let n=t,i=QI;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&"data"===r.slice(0,4)&&_P.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(IP,BP);n="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!IP.test(e)){let r=e.replace(PP,TP);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}i=uP}return new i(n,t)}(n.schema,t);let o=r;null!=o&&o==o&&(Array.isArray(o)&&(o=i.commaSeparated?function(e){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(o):o.join(" ").trim()),"style"===i.property&&"string"==typeof o&&(o=function(e){const t={};try{NP(e,(function(e,r){const n="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[n.replace(/-([a-z])/g,HP)]=r}))}catch{}return t}(o)),i.space&&i.property?e[zP.call(DP,i.property)?DP[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function HP(e,t){return t.toUpperCase()}const qP={}.hasOwnProperty,UP={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function $P(e){for(const t in UP)if(qP.call(UP,t)&&qP.call(e,t)){const e=UP[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete UP[t]}const t=CE().use(CI).use(e.remarkPlugins||[]).use(KI,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(xP,e),r=new gE;"string"==typeof e.children?r.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const n=t.runSync(t.parse(r),r);if("root"!==n.type)throw new TypeError("Expected a `root` node");let i=o.createElement(o.Fragment,{},FP({options:e,schema:CP,listDepth:0},n));return e.className&&(i=o.createElement("div",{className:e.className},i)),i}$P.propTypes={children:XI.string,className:XI.string,allowElement:XI.func,allowedElements:XI.arrayOf(XI.string),disallowedElements:XI.arrayOf(XI.string),unwrapDisallowed:XI.bool,remarkPlugins:XI.arrayOf(XI.oneOfType([XI.object,XI.func,XI.arrayOf(XI.oneOfType([XI.bool,XI.string,XI.object,XI.func,XI.arrayOf(XI.any)]))])),rehypePlugins:XI.arrayOf(XI.oneOfType([XI.object,XI.func,XI.arrayOf(XI.oneOfType([XI.bool,XI.string,XI.object,XI.func,XI.arrayOf(XI.any)]))])),sourcePos:XI.bool,rawSourcePos:XI.bool,skipHtml:XI.bool,includeElementIndex:XI.bool,transformLinkUri:XI.oneOfType([XI.func,XI.bool]),linkTarget:XI.oneOfType([XI.func,XI.string]),transformImageUri:XI.func,components:XI.object};class WP extends Ei.Au{constructor(e,t,r){super(Pi.uq.latest),this.setElementRegistry(e),this.setActionRegistry(t),this.forbiddenActionTypes=r}parseAction(e,t,r,n){return super.parseAction(e,t,this.forbiddenActionTypes,n)}}var GP;function KP(e){return"string"==typeof e.id&&""!=e.id&&"string"==typeof e.displayName&&""!=e.displayName}function XP(e){const t=new Map;return e.forEach((e=>{KP(e)&&t.set(e.id,e)})),t}!function(e){e.ZeroQuery="zeroQuery",e.Loading="loading",e.Error="error",e.NoResults="noResults",e.DisplayingResults="displayingResults"}(GP||(GP={}));const YP=(0,P.n)({optionContainer:{display:"flex",gap:"8px",alignItems:"center"},tagPickerList:{maxHeight:"200px"},spinnerSize:{size:"small"},statusMessageContainer:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)"}}),JP=o.forwardRef(((e,t)=>{var r,n;const i=YP(),{search:a,cancelSearch:s,getPersonaImageComponent:l}=e,c=Sv(),[u,d]=o.useState(""),[p,f]=o.useState(!1),[h,g]=o.useState(GP.ZeroQuery),[m,v]=o.useState(XP([])),[y,b]=o.useState(XP([])),[w,S]=o.useState("");o.useEffect((()=>{if(!u)return g(GP.ZeroQuery),void s();g(GP.Loading),a(u,(t=>{var r;if(t.error)g(GP.Error);else{if(null==t.data||!Array.isArray(t.data)||0===t.data.length)return u?void g(GP.NoResults):void g(GP.ZeroQuery);if(g(GP.DisplayingResults),t.data&&Array.isArray(t.data)){const n=[];if(t.data.forEach((e=>{if(KP(e)){const t={id:e.id,displayName:e.displayName,jobTitle:null==e?void 0:e.jobTitle,userPrincipalName:null==e?void 0:e.userPrincipalName,alias:null==e?void 0:e.alias};n.push(t)}})),1===n.length&&(null===(r=e.value)||void 0===r?void 0:r.includes(n[0].id)))return void g(GP.NoResults);v((()=>{const e=new Map([...XP(n)]);return 0===e.size&&g(GP.NoResults),e}))}}}))}),[u,a,s]);const C=Ob({query:u,options:[...m.values()].map((e=>e.id)),noOptionsElement:h!==GP.Loading&&h!==GP.Error?o.createElement(Fb,null,e.localizeString(zw.noResultsFound)):o.createElement(o.Fragment,null),renderOption:e=>{var t,r,n,i,a;const s=m.get(e);return o.createElement(Nb,{key:null==s?void 0:s.id,secondaryContent:ZP(null==s?void 0:s.alias,null==s?void 0:s.jobTitle,u),text:null!==(t=null==s?void 0:s.displayName)&&void 0!==t?t:"",value:null!==(r=null==s?void 0:s.id)&&void 0!==r?r:"",media:l({persona:{defaultName:{displayName:null!==(n=null==s?void 0:s.displayName)&&void 0!==n?n:""},defaultEmailAddress:{address:null!==(i=null==s?void 0:s.userPrincipalName)&&void 0!==i?i:""}},size:32})},QP(null!==(a=null==s?void 0:s.displayName)&&void 0!==a?a:"",u))},filter:t=>{var r;const n=u.toLowerCase();return!(!n||""==n||(null===(r=e.value)||void 0===r?void 0:r.includes(t)))}});let A="";switch(h){case GP.Loading:A=e.localizeString(zw.loadingResults);break;case GP.Error:A=e.localizeString(zw.errorLoadingResults);break;case GP.NoResults:A=e.localizeString(zw.noResultsFound)}return o.createElement(o.Fragment,null,o.createElement("div",{role:"status","aria-live":"polite",className:i.statusMessageContainer},A),o.createElement("div",{role:"status","aria-live":"polite",className:i.statusMessageContainer},w),o.createElement($b,{appearance:vv.comboboxAppearance,open:h!==GP.ZeroQuery&&p,selectedOptions:e.value,disabled:!e.isEnabled,onOptionSelect:(r,n)=>{var i;const o=m.get(n.value);if(n.selectedOptions&&n.selectedOptions.includes(n.value)?S(`${null==o?void 0:o.displayName} added to selection`):S(`${null==o?void 0:o.displayName} removed from selection`),setTimeout((()=>{S("")}),1e3),e.isMultiSelect?e.valueChanged(n.selectedOptions):e.valueChanged(n.selectedOptions.length>0?[n.selectedOptions[n.selectedOptions.length-1]]:[]),e.isMultiSelect||0!=n.selectedOptions.length||b(new Map),n.selectedOptions.length>0){const e=m.get(n.selectedOptions[n.selectedOptions.length-1]);e&&!y.has(e.id)&&b((t=>new Map([...t,...XP([e])])))}g(GP.ZeroQuery),d("");null===(i=null==t?void 0:t.current)||void 0===i||i.focus()}},o.createElement(Yb,{className:c.compactChoiceSetInput,expandIcon:{style:{display:"none"}},id:e.internalId,style:{width:"100%"}},o.createElement(nw,{"aria-label":e.isMultiSelect?e.localizeString(zw.selectedPeople):e.localizeString(zw.selectedPerson)},null===(r=e.value)||void 0===r?void 0:r.map(((e,t)=>{var r,n;const i=y.get(e);return i?o.createElement(yw,{id:"person-tag-"+i.id,key:t,value:e,size:"small",onClick:()=>{b((t=>{const r=new Map(t);return r.delete(e),r}))},media:l({persona:{defaultName:{displayName:null!==(r=null==i?void 0:i.displayName)&&void 0!==r?r:""},defaultEmailAddress:{address:null!==(n=null==i?void 0:i.userPrincipalName)&&void 0!==n?n:""}},size:20})},i.displayName):null}))),o.createElement(Aw,{id:"people-picker-input",ref:t,placeholder:0===(null===(n=e.value)||void 0===n?void 0:n.length)?e.placeholder:void 0,value:u,onChange:e=>{v(new Map),g(GP.Loading);const t=e.target.value;d(t)},onFocus:()=>{f(!0)},onKeyDown:t=>{e.isMultiSelect||1!==y.size||t.preventDefault()},onBlur:()=>{const e=t;(null==e?void 0:e.current)&&!e.current.contains(document.activeElement)&&f(!1)},"aria-label":e.placeholder?e.placeholder:e.isMultiSelect?e.localizeString(zw.selectPeople):e.localizeString(zw.selectPerson),"aria-labelledby":e.ariaLabelledBy,"aria-required":e.isRequired,style:{caretColor:e.isMultiSelect||1!==y.size?"auto":"transparent",cursor:e.isMultiSelect||1!==y.size?"text":"default"}})),o.createElement(kw,{style:{maxHeight:"200px"}},C,h===GP.Loading&&o.createElement(Fb,null,o.createElement("div",{className:i.optionContainer},o.createElement(Ow,{size:"tiny"}),e.localizeString(zw.loadingResults))),h===GP.Error&&o.createElement(Fb,null,o.createElement("div",{className:i.optionContainer},o.createElement(Om,{color:Va.L.colorStatusDangerBackground3}),e.localizeString(zw.errorLoadingResults))))))})),ZP=(e,t,r)=>{if(!e)return null!=t?t:"";const n=e.toUpperCase();return o.createElement("span",null,o.createElement("span",null,"(",QP(n,r.toUpperCase()),")"),t?` ${t}`:"")},QP=(e,t)=>{const r=e.toLowerCase().indexOf(t.toLowerCase());return-1===r?o.createElement("span",null,e):o.createElement("span",null,e.substring(0,r),o.createElement("span",{style:{fontWeight:600}},e.substring(r,r+t.length)),e.substring(r+t.length))};JP.displayName="PeoplePicker";const eT=e=>"graph.microsoft.com/users"===(null==e?void 0:e.dataset);class tT extends Uw{constructor(e=!1,t){super(),this.useDynamicSearchTypeaheadV2=e,this.onPeopleSearchQueryRequest=e=>{const t="none"!==e.dataQuery.associatedInputs?(0,Ei.Gh)(this):void 0;let r;if(t){r={};for(const e in t){const n=t[e];r[e]=n.value}}return e.inputData=r,this.dataQuery(e)},this.serviceProvider=t,this._dataQueryManager=new kb(this.onPeopleSearchQueryRequest)}renderInputControl(){const e=this.value,t=e?this.isMultiSelect?e.split(this.hostConfig.choiceSetInputValueSeparator):[e]:[];return eT(this.choicesData)?this.renderAsPeoplePicker(t):super.renderInputControl()}renderAsPeoplePicker(e){return o.createElement(JP,{ref:this._inputRef,internalId:this.internalId,placeholder:this.placeholder,isEnabled:this.isEnabled,isRequired:this.isRequired,ariaLabelledBy:this.getAriaLabelledBy(),valueChanged:e=>{e&&e.length>0?this.valueChanged(e.join(this.hostConfig.choiceSetInputValueSeparator)):this.valueChanged(void 0),this.updateLayout()},search:(e,t)=>this.searchPeople(e,t),cancelSearch:()=>this._dataQueryManager.cancelPendingQuery(),getPersonaImageComponent:e=>this.getPersonaImageComponent(e),isMultiSelect:this.isMultiSelect,value:e,localizeString:(e,t)=>this.localizeString(e,t)})}searchPeople(e,t){this.choicesData&&eT(this.choicesData)&&this._dataQueryManager.debouncedQuery(this.choicesData,e,t)}getPersonaImageComponent(e){var t,r,n,i,a,s;if(!(null===(r=null===(t=this.serviceProvider)||void 0===t?void 0:t.hostService)||void 0===r?void 0:r.getPersonaImageComponent))return;const l=this.serviceProvider.hostService.getPersonaImageComponent(),c=null==l?void 0:l.personaRenderer;return c&&o.createElement(c,{persona:{defaultName:{displayName:null===(n=e.persona.defaultName)||void 0===n?void 0:n.displayName},defaultEmailAddress:{address:null===(i=e.persona.defaultEmailAddress)||void 0===i?void 0:i.address}},size:e.size,tokenService:null===(a=this.serviceProvider)||void 0===a?void 0:a.tokenService,telemetryService:null===(s=this.serviceProvider)||void 0===s?void 0:s.telemetryService,hostContext:l.hostContext,userContext:l.userContext})}}const rT=["enableAdaptiveCardCharts","enableAdaptiveCardEnhancements","disableAdaptiveCardActionSubmit","enablefullWidthPropOnAC","enableCustomWidthPropOnAC","avoidAdaptiveCardRerender","enableCardAutoRefresh","enablePeoplePickerInAdaptiveCards"];function nT(e,t){var r;return rT.includes(e)&&!!(null===(r=null==t?void 0:t.featureFlags)||void 0===r?void 0:r[e])}const iT={responsiveLayout:{name:"responsiveLayout",version:new Pi.Rx(1,0)}},oT=I("AdaptiveCardRenderer",(0,P.n)({renderedAC:{"&:focus-visible, & > *:focus-visible":{outline:"none",border:"none"},"& .ac-container.ac-selectable":{cursor:"pointer"},"& .ac-cb.hljs:hover":{scrollbarWidth:"thin"}},acLink:{color:Va.L.colorBrandForegroundLink,textDecoration:"none","&:hover":{textDecoration:"underline"}}})),aT=o.createContext(void 0),sT={},lT=aT.Provider,cT=()=>{var e;return null!==(e=o.useContext(aT))&&void 0!==e?e:sT},uT=(0,qa.X)({blockStyling:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),dT=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{animation:r,appearance:n}=cT(),{animation:i=(null!=r?r:"wave"),appearance:o=(null!=n?n:"opaque")}=e;return{animation:i,appearance:o,components:{root:"div"},root:Il.Gk((0,Pl.g)("div",{ref:t,role:"progressbar","aria-busy":!0,...e}),{elementType:"div"})}})(e,t),n=(e=>{const{animation:t,appearance:r}=e;return{skeletonGroup:o.useMemo((()=>({animation:t,appearance:r})),[t,r])}})(r);return(e=>{const t=uT();e.root.className=(0,E.z)("fui-Skeleton","span"===e.root.as&&t.blockStyling,e.root.className)})(r),(0,hc.$e)("useSkeletonStyles_unstable")(r),((e,t)=>((0,tc.C)(e),(0,ec.Y)(lT,{value:t.skeletonGroup,children:(0,ec.Y)(e.root,{})})))(r,n)}));dT.displayName="Skeleton";const pT=(0,qa.X)({root:{qhf8xq:"f10pi13n",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bsft5z2:"f13zj6fq",ap17g6:"f2gz7yw",E3zdtr:"f1mdlcz9",By385i5:0,Eqx8gd:0,B1piin3:0,bn5sak:0,B58onuk:"f1nt53hs",s9ouvv:"f18xs7ez",xr36ep:"ffm3629",Bitv4sc:"f1f9zsvm",Jx5sug:"f1ub80pn",Hzyzrh:"f1e7twep"},wave:{De3pzq:"f1gjxg63",Br128sd:["f3fo419","f6m9r4"],h62rwi:["ftnv2js","f12jzhyt"],b1kco5:["fig1c6l","f1rv5y9h"],oi31me:"f103n15n"},pulse:{Br128sd:"f171zwvm",xr36ep:"fs3pcyf",Bjyk6c5:"f1yu5riq"},translucent:{De3pzq:"f162mh4z",h62rwi:["flvf4r0","f1uek97b"]},translucentPulse:{De3pzq:"flu3bqm",Bjyk6c5:"fxucc0w"},blockStyling:{mc9l5x:"ftgm304"}},{d:[".f10pi13n{position:relative;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],'.f13zj6fq::after{content:"";}',".f2gz7yw::after{display:block;}",".f1mdlcz9::after{position:absolute;}",[".f1nt53hs::after{inset:0;}",{p:-1}],".f18xs7ez::after{animation-iteration-count:infinite;}",".ffm3629::after{animation-duration:3s;}",".f1f9zsvm::after{animation-timing-function:ease-in-out;}",".f1gjxg63{background-color:var(--colorNeutralStencil1);}",".f3fo419::after{animation-name:f1efwx7q;}",".f6m9r4::after{animation-name:f1kkgpz1;}",".ftnv2js::after{background-image:linear-gradient(\n        to right,\n        var(--colorNeutralStencil1) 0%,\n        var(--colorNeutralStencil2) 50%,\n        var(--colorNeutralStencil1) 100%);}",".f12jzhyt::after{background-image:linear-gradient(\n        to left,\n        var(--colorNeutralStencil1) 0%,\n        var(--colorNeutralStencil2) 50%,\n        var(--colorNeutralStencil1) 100%);}",".fig1c6l::after{transform:translate(-100%);}",".f1rv5y9h::after{transform:translate(100%);}",".f171zwvm::after{animation-name:f12o7gg6;}",".fs3pcyf::after{animation-duration:1s;}",".f1yu5riq::after{background-color:var(--colorNeutralStencil1);}",".f162mh4z{background-color:var(--colorNeutralStencil1Alpha);}",".flvf4r0::after{background-image:linear-gradient(\n      to right,\n      transparent 0%,\n      var(--colorNeutralStencil1Alpha) 50%,\n      transparent 100%);}",".f1uek97b::after{background-image:linear-gradient(\n      to left,\n      transparent 0%,\n      var(--colorNeutralStencil1Alpha) 50%,\n      transparent 100%);}",".flu3bqm{background-color:none;}",".fxucc0w::after{background-color:var(--colorNeutralStencil1Alpha);}",".ftgm304{display:block;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1ub80pn::after{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1e7twep::after{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (forced-colors: active){.f103n15n::after{background-color:WindowText;}}",{m:"screen and (forced-colors: active)"}]],k:["@keyframes f1efwx7q{to{transform:translate(100%);}}","@keyframes f1kkgpz1{to{transform:translate(-100%);}}","@keyframes f12o7gg6{0%{opacity:1;}50%{opacity:0.4;}100%{opacity:1;}}"]}),fT=(0,qa.X)({8:{Bqenvij:"f1x82gua"},12:{Bqenvij:"fvblgha"},16:{Bqenvij:"fd461yt"},20:{Bqenvij:"fjamq6b"},24:{Bqenvij:"frvgh55"},28:{Bqenvij:"fxldao9"},32:{Bqenvij:"f1d2rq10"},36:{Bqenvij:"f8ljn23"},40:{Bqenvij:"fbhnoac"},48:{Bqenvij:"ff2sm71"},56:{Bqenvij:"fzki0ko"},64:{Bqenvij:"f16k9i2m"},72:{Bqenvij:"f1shusfg"},96:{Bqenvij:"fypu0ge"},120:{Bqenvij:"fjr5b71"},128:{Bqenvij:"fele2au"},root:{a9b677:"fly5x3f",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ff3glw6"}},{d:[".f1x82gua{height:8px;}",".fvblgha{height:12px;}",".fd461yt{height:16px;}",".fjamq6b{height:20px;}",".frvgh55{height:24px;}",".fxldao9{height:28px;}",".f1d2rq10{height:32px;}",".f8ljn23{height:36px;}",".fbhnoac{height:40px;}",".ff2sm71{height:48px;}",".fzki0ko{height:56px;}",".f16k9i2m{height:64px;}",".f1shusfg{height:72px;}",".fypu0ge{height:96px;}",".fjr5b71{height:120px;}",".fele2au{height:128px;}",".fly5x3f{width:100%;}",[".ff3glw6{border-radius:4px;}",{p:-1}]]}),hT=(0,qa.X)({8:{a9b677:"f1o3cbw4",Bqenvij:"f1x82gua"},12:{a9b677:"frx94fk",Bqenvij:"fvblgha"},16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".f1o3cbw4{width:8px;}",".f1x82gua{height:8px;}",".frx94fk{width:12px;}",".fvblgha{height:12px;}",".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),gT=(0,qa.X)({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f5q2cvs"}},{d:[[".f5q2cvs{border-radius:50%;}",{p:-1}]]}),mT=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{animation:r,appearance:n}=cT(),{animation:i=(null!=r?r:"wave"),appearance:o=(null!=n?n:"opaque"),size:a=16,shape:s="rectangle"}=e;return{appearance:o,animation:i,size:a,shape:s,components:{root:"div"},root:Il.Gk((0,Pl.g)("div",{ref:t,...e}),{elementType:"div"})}})(e,t);return(e=>{const{animation:t,appearance:r,size:n,shape:i}=e,o=pT(),a=fT(),s=hT(),l=gT();e.root.className=(0,E.z)("fui-SkeletonItem",o.root,"span"===e.root.as&&o.blockStyling,"wave"===t&&o.wave,"pulse"===t&&o.pulse,"translucent"===r&&o.translucent,"pulse"===t&&"translucent"===r&&o.translucentPulse,"rectangle"===i&&a.root,"rectangle"===i&&a[n],"square"===i&&s[n],"circle"===i&&l.root,"circle"===i&&s[n],e.root.className)})(r),(0,hc.$e)("useSkeletonItemStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.Y)(e.root,{})))(r)}));mT.displayName="SkeletonItem";const vT=({style:e})=>{var t,r,n;const i=Object.assign(Object.assign(Object.assign(Object.assign({},e),{maxHeight:null!==(t=null==e?void 0:e.maxHeight)&&void 0!==t?t:"600px",maxWidth:null!==(r=null==e?void 0:e.maxWidth)&&void 0!==r?r:"400px"}),(null==e?void 0:e.height)?{}:{aspectRatio:"1 / 1"}),{height:null!==(n=null==e?void 0:e.height)&&void 0!==n?n:"auto"});return o.createElement(dT,{"aria-label":"Loading Content",animation:"pulse",appearance:"translucent"},o.createElement(mT,{style:i}))},yT=o.forwardRef(((e,t)=>{const[r,n]=o.useState(void 0),i=o.useMemo((()=>{var t;return new M.k(null===(t=e.serviceProvider)||void 0===t?void 0:t.telemetryService,z.yx.GetImage,z.xe.GetImageProxyUrl)}),[]);o.useEffect((()=>{var t,r;const o=e.src;if(o){if(/^data:image\/[a-zA-Z+.-]+;base64,/.test(o))return n(o),void i.logMetricEnd({renderId:e.renderId,diagnosticsData:`cardId : ${e.cardId}, type: base64`});const a={url:o};null===(r=null===(t=e.serviceProvider)||void 0===t?void 0:t.hostService)||void 0===r||r.getImage(a).then((t=>{n(null==t?void 0:t.url),i.logMetricEnd({renderId:e.renderId,diagnosticsData:`cardId : ${e.cardId}, type: URL, Image url: ${null==t?void 0:t.url}, isCachedImage: ${null==t?void 0:t.isCachedImage}`})})).catch((t=>{i.logMetricEndWithError({renderId:e.renderId,diagnosticsData:`GetImage request failed with error: ${t} cardId : ${e.cardId}`})}))}}),[]);const a=e.image.isSelectable?Object.assign(Object.assign({},e.style),{cursor:"pointer"}):e.style;return r?o.createElement("img",Object.assign({},e,{ref:t,src:r,alt:e.alt||"Adaptive card img",style:a})):o.createElement(vT,{style:a})}));yT.displayName="CustomImageRenderer";const bT=e=>o.createElement("div",{style:{width:e.width,height:e.height}});let wT;function ST(e){switch(e){case _i.RK.VeryNarrow:return"220px";case _i.RK.Narrow:return"340px";case _i.RK.Standard:return"450px";case _i.RK.Wide:return"676px";default:return}}function CT(e){var t,r,n,i,a,s;const{content:l,runtime:c,hostConfig:u,uxRegistry:d,serviceProvider:p,cardId:f,renderId:h,disableAllActions:g,forbiddenActionTypes:m=[]}=e,[v,y]=o.useState(),[b,w]=o.useState(0),[S,C]=o.useState(null),A=o.useRef(new em.hq),x=o.useRef(f),[E,_]=o.useState(A.current.getValue(em.hq.msTeamsProperty)),I=o.useMemo((()=>nT("avoidAdaptiveCardRerender",u)),[null===(t=null==u?void 0:u.featureFlags)||void 0===t?void 0:t.avoidAdaptiveCardRerender]);Jk||(Ei.v7.defaultActions.register(Mi.tV.JsonTypeName,(e=>new Mi.tV)),Ei.v7.defaultActions.register(Oi.JsonTypeName,(e=>new Oi)),Ei.v7.defaultActions.register(zi.e.JsonTypeName,(e=>new zi.e),Pi.uq.v1_4),Ei.v7.defaultActions.register(ik.JsonTypeName,(e=>new ik),Pi.uq.v1_2),Ei.v7.defaultElements.register("Container",(e=>new av.mc)),Ei.v7.defaultElements.register("ActionSet",(e=>new lk),Pi.uq.v1_2),Ei.v7.defaultElements.register("ColumnSet",(e=>new dk)),Ei.v7.defaultElements.register("Media",(e=>new Hk),Pi.uq.v1_1),Ei.v7.defaultElements.register("RichTextBlock",(e=>new Qg),Pi.uq.v1_2),Ei.v7.defaultElements.register("Table",(e=>new Yk),Pi.uq.v1_5),Ei.v7.defaultElements.register("TextBlock",(e=>new Jg)),Ei.v7.defaultElements.register("TextRun",(e=>new Zg),Pi.uq.v1_2),Ei.v7.defaultElements.register("IconRun",(e=>new gk),Pi.uq.v1_5),Ei.v7.defaultElements.register("ImageRun",(e=>new Sk),Pi.uq.v1_5),Ei.v7.defaultElements.register("FactSet",(e=>new fk)),Ei.v7.defaultElements.register("ImageSet",(e=>new xk)),Ei.v7.defaultElements.register("Image",(e=>new yk)),Ei.v7.defaultActions.register(Uk.JsonTypeName,(e=>new Uk)),Ei.v7.defaultElements.registerAttachableProperty(av.zh),Jk=!0);const P=function(e){const[t,r]=o.useState(e);return o.useEffect((()=>{t!==e&&r(e)}),[t,e]),t}(l),T=function(e,t,r){const[n,i]=o.useState(void 0);return o.useEffect((()=>{const n=new WP(e,t,r);i(n)}),[e,t,JSON.stringify(r)]),n}(Ei.v7.defaultElements,Ei.v7.defaultActions,nT("disableAdaptiveCardActionSubmit",u)?["Action.Submit"]:m.map((e=>e.toString()))),B=oT(),N=o.useMemo((()=>new M.k(null==p?void 0:p.telemetryService,z.yx.CardRender,z.xe.M365CardParser)),[l,c,u,d]);return o.useEffect((()=>{x.current!==f&&(x.current=f)}),[f]),o.useEffect((()=>{v&&0===b&&nT("enableCardAutoRefresh",u)&&(null==c||c.handleAction(v),w(1))}),[v]),o.useEffect((()=>{if(I&&P&&T){const e=new M.k(null==p?void 0:p.telemetryService,z.yx.CardRender,z.xe.M365CardParser);try{const t=JSON.parse(P);A.current.parse(t,T);const r=o.createElement(A.current.Render,null);r&&C((e=>e||r)),_(A.current.getValue(em.hq.msTeamsProperty));const n=A.current.getAllActions().filter(((e,t,r)=>t===r.findIndex((t=>t.key===e.key)))),i=n.length;e.logMetricEnd({diagnosticsData:`cardId : ${x.current}, actionCount: ${i}`})}catch(t){e.logMetricEndWithError({diagnosticsData:` Card parsing failed with error: ${t} cardId : ${x.current}`})}}}),[P,T,I]),o.useEffect((()=>{I&&(Ei.v7.actionButtonRenderer=Cv,Ei.v7.defaultElements.register("Input.Text",(e=>new Dx),Pi.uq.v1_0),Ei.v7.defaultElements.register("Input.Date",(e=>new mA),Pi.uq.v1_0),Ei.v7.defaultElements.register("Input.Time",(e=>new Yx),Pi.uq.v1_0),Ei.v7.defaultElements.register("Input.Number",(e=>new BA),Pi.uq.v1_0),Ei.v7.defaultElements.register("Input.Toggle",(e=>new tk),Pi.uq.v1_0),nT("enablePeoplePickerInAdaptiveCards",u)?Ei.v7.defaultElements.register("Input.ChoiceSet",(e=>new tT(!1,p)),Pi.uq.v1_0):Ei.v7.defaultElements.register("Input.ChoiceSet",(e=>new Uw),Pi.uq.v1_0),A.current.onProcessMarkdown=(e,t,r)=>{r.didProcess=!0,r.output=o.createElement($P,{components:{a:e=>{var{node:t}=e;return xT((e=>{AT(c,e)}),(0,k.__rest)(e,["node"]))},p:e=>{var{node:r}=e,n=(0,k.__rest)(e,["node"]);return kT(t.wrap,n)}}},e)})}),[]),o.useEffect((()=>{if(!I)return;const{actionRegistry:e,elementRegistry:t}=d;e&&e.copyTo(Ei.v7.defaultActions),t&&t.copyTo(Ei.v7.defaultElements)}),[d,I]),o.useEffect((()=>{I&&nT("enableAdaptiveCardEnhancements",u)&&(qg(Ei.v7.defaultElements,Ei.v7.defaultActions),Ei.v7.defaultElements.register("Icon",(e=>new Zk),Pi.uq.v1_5),Bi.h$.enableIconSupportForActionButtons=!0,Ei.v7.imagePlaceholderRenderer=bT,Ei.v7.defaultElements.register("Rating",(e=>new bx)),Ei.v7.defaultElements.register("Input.Rating",(e=>new kx)),Ei.v7.defaultElements.register("CompoundButton",(e=>new eS)),Ei.v7.defaultElements.register("TemplatizedContainer",(e=>new dv)),Ei.v7.defaultElements.register("Carousel",(e=>new oy),Pi.uq.v1_5),Ei.v7.defaultElements.register("CarouselPage",(e=>new iy),Pi.uq.v1_5),Hk.registerCustomMediaPlayers(jk,Vk,Lk),Ei.v7.defaultActions.register(Lv.JsonTypeName,(e=>new Lv),Pi.uq.v1_5),Ei.v7.defaultActions.register(Qk.JsonTypeName,(e=>new Qk),Pi.uq.v1_5),Mi._Z.conditionallyEnabledProperty.isSerializationEnabled=!0,av.zh.isSerializationEnabled=!0,av.oC.layoutsProperty.isSerializationEnabled=!0,av.oC.roundedCornersProperty.isSerializationEnabled=!0,av.oC.showBorderProperty.isSerializationEnabled=!0)}),[null===(r=null==u?void 0:u.featureFlags)||void 0===r?void 0:r.enableAdaptiveCardEnhancements,I]),o.useEffect((()=>{I&&nT("enableAdaptiveCardCharts",u)&&Hf(Ei.v7.defaultElements,Ei.v7.defaultActions)}),[null===(n=null==u?void 0:u.featureFlags)||void 0===n?void 0:n.enableAdaptiveCardCharts,I]),o.useEffect((()=>{if(!I)return;const e="full"===(null==E?void 0:E.width)&&nT("enablefullWidthPropOnAC",u);wT=nT("enableCustomWidthPropOnAC",u)?void 0:ST(e?_i.RK.Wide:u.hostWidth)}),[E,null===(i=null==u?void 0:u.featureFlags)||void 0===i?void 0:i.enablefullWidthPropOnAC,null===(a=null==u?void 0:u.featureFlags)||void 0===a?void 0:a.enableCustomWidthPropOnAC,null==u?void 0:u.hostWidth,I]),o.useEffect((()=>{I&&(A.current.hostConfig=u,A.current.hostWidth=u.hostWidth,A.current.hostConfig.hostCapabilities.addCapability(iT.responsiveLayout.name,iT.responsiveLayout.version))}),[u,I]),o.useEffect((()=>{I&&(A.current.onExecuteAction=null==c?void 0:c.handleAction)}),[c,I]),o.useEffect((()=>{I&&g&&A.current.getAllActions().forEach((e=>{e.isEnabled=!1}))}),[g,I]),o.useEffect((()=>{I&&(A.current.onRenderImage=(e,t)=>o.createElement(yT,Object.assign({},t,{image:e,cardId:f,renderId:h,serviceProvider:p})))}),[p,f,h,I]),o.useEffect((()=>{var e,t;vv.shouldUseInlinePopup=null!==(t=null===(e=u.featureFlags)||void 0===e?void 0:e.shouldACUseInlinePopup)&&void 0!==t&&t}),[null===(s=u.featureFlags)||void 0===s?void 0:s.shouldACUseInlinePopup,I]),o.useEffect((()=>{var t,r,n,i;try{if(I)return;vv.shouldUseInlinePopup=null!==(r=null===(t=e.hostConfig.featureFlags)||void 0===t?void 0:t.shouldACUseInlinePopup)&&void 0!==r&&r;const a=new em.hq;Ei.v7.actionButtonRenderer=Cv,Ei.v7.defaultElements.register("Input.Text",(e=>new Dx),Pi.uq.v1_0),Ei.v7.defaultElements.register("Input.Date",(e=>new mA),Pi.uq.v1_0),Ei.v7.defaultElements.register("Input.Time",(e=>new Yx),Pi.uq.v1_0),Ei.v7.defaultElements.register("Input.Number",(e=>new BA),Pi.uq.v1_0),Ei.v7.defaultElements.register("Input.Toggle",(e=>new tk),Pi.uq.v1_0),nT("enablePeoplePickerInAdaptiveCards",u)?Ei.v7.defaultElements.register("Input.ChoiceSet",(e=>new tT(!1,p)),Pi.uq.v1_0):Ei.v7.defaultElements.register("Input.ChoiceSet",(e=>new Uw),Pi.uq.v1_0),nT("enableAdaptiveCardEnhancements",u)&&(qg(Ei.v7.defaultElements,Ei.v7.defaultActions),Ei.v7.defaultElements.register("Icon",(e=>new Zk),Pi.uq.v1_5),Bi.h$.enableIconSupportForActionButtons=!0,Ei.v7.imagePlaceholderRenderer=bT,Ei.v7.defaultElements.register("Rating",(e=>new bx)),Ei.v7.defaultElements.register("Input.Rating",(e=>new kx)),Ei.v7.defaultElements.register("CompoundButton",(e=>new eS)),Ei.v7.defaultElements.register("TemplatizedContainer",(e=>new dv)),Ei.v7.defaultActions.register(Qk.JsonTypeName,(e=>new Qk),Pi.uq.v1_5),Ei.v7.defaultElements.register("Carousel",(e=>new oy),Pi.uq.v1_5),Ei.v7.defaultElements.register("CarouselPage",(e=>new iy),Pi.uq.v1_5),Hk.registerCustomMediaPlayers(jk,Vk,Lk),Ei.v7.defaultActions.register(Lv.JsonTypeName,(e=>new Lv),Pi.uq.v1_5),Mi._Z.conditionallyEnabledProperty.isSerializationEnabled=!0,av.zh.isSerializationEnabled=!0,av.oC.layoutsProperty.isSerializationEnabled=!0,av.oC.roundedCornersProperty.isSerializationEnabled=!0,av.oC.showBorderProperty.isSerializationEnabled=!0),nT("enableAdaptiveCardCharts",u)&&Hf(Ei.v7.defaultElements,Ei.v7.defaultActions);const{actionRegistry:s,elementRegistry:v}=d;s&&s.copyTo(Ei.v7.defaultActions),v&&v.copyTo(Ei.v7.defaultElements);const b=(e,t,r)=>{r.didProcess=!0,r.output=o.createElement($P,{components:{a:e=>{var{node:t}=e;return xT((e=>{AT(c,e)}),(0,k.__rest)(e,["node"]))},p:e=>{var{node:r}=e,n=(0,k.__rest)(e,["node"]);return kT(t.wrap,n)}}},e)};a.onProcessMarkdown=b;const w=e=>(setTimeout((()=>{(async()=>{var t;if(!nT("enablePeoplePickerInAdaptiveCards",u)||!eT(e.dataQuery))return;if(void 0===(null===(t=null==p?void 0:p.hostService)||void 0===t?void 0:t.getPeopleSearchQueryResponse))return;const r={searchQuery:e.searchString,scenario:"m365card-sdk-people-picker-search-suggestions",logicalId:(0,D.DA)(),locale:null==u?void 0:u.locale,clientSessionId:(0,D.DA)(),telemetryService:null==p?void 0:p.telemetryService,peopleEntityResponseSize:25},n=await p.hostService.getPeopleSearchQueryResponse(r),i={query:n.query,data:JSON.parse(JSON.stringify(n.validPeople)),error:n.error};e.onDataQueryCompleted(i)})()}),100),!0);a.onDataQuery=w;const S=nT("disableAdaptiveCardActionSubmit",u)?["Action.Submit"]:m.map((e=>e.toString())),A=new WP(Ei.v7.defaultElements,Ei.v7.defaultActions,S);a.hostConfig=u,a.hostWidth=u.hostWidth,a.theme="dark"===u.themeMode?_i.V6.Dark:_i.V6.Light,a.hostConfig.hostCapabilities.addCapability(iT.responsiveLayout.name,iT.responsiveLayout.version);const x=JSON.parse(l);a.parse(x,A),(null===(n=a.refresh)||void 0===n?void 0:n.action)&&y(null===(i=a.refresh)||void 0===i?void 0:i.action);const E="full"===a.getValue(em.hq.msTeamsProperty).width&&nT("enablefullWidthPropOnAC",u);wT=nT("enableCustomWidthPropOnAC",u)?void 0:ST(E?_i.RK.Wide:u.hostWidth),a.onExecuteAction=null==c?void 0:c.handleAction,g&&a.getAllActions().forEach((e=>{e.isEnabled=!1})),a.onRenderImage=(e,t)=>o.createElement(yT,Object.assign({},t,{image:e,cardId:f,renderId:h,serviceProvider:p}));const _=a.getAllActions().filter(((e,t,r)=>t===r.findIndex((t=>t.key===e.key)))),P=_.length,T=o.createElement(a.Render,null);T&&C(T),N.logMetricEnd({diagnosticsData:`cardId : ${f}, actionCount: ${P}`})}catch(e){N.logMetricEndWithError({diagnosticsData:` Card parsing failed with error: ${e} cardId : ${f}`})}}),[l,g,c,u,d,I]),o.createElement("div",{id:"renderedAC",style:{width:wT},className:B.renderedAC},S)}function AT(e,t){t&&(null==e||e.handleAnchorClicked(t))}function xT(e,t){return t.href&&"string"==typeof t.href?function(e){const t=oT();return o.createElement("a",Object.assign({},e,{className:t.acLink,href:e.href,title:e.href,target:"_blank",rel:"noopener noreferrer"}),e.children)}(Object.assign(Object.assign({},t),{onClick:r=>{e(t.href),r.preventDefault(),r.stopPropagation()},href:t.href})):o.createElement("span",null,t.children)}function kT(e,t){return o.createElement("p",Object.assign({style:{overflow:e?void 0:"hidden",textOverflow:e?void 0:"ellipsis",margin:0}},t))}const ET=I("nonAdaptiveCardStyles",(0,P.n)({cardStack:{marginLeft:"16px",marginRight:"16px",marginBottom:"16px",marginTop:"4px"},factName:{fontSize:"14px",fontWeight:600,color:Va.L.colorNeutralForeground1},cardTitle:{fontSize:"18px",fontWeight:700,textAlign:"start",display:"block",whiteSpace:"pre-wrap",wordBreak:"break-word",textOverflow:"clip",textSizeAdjust:"100%",overflowWrap:"anywhere",color:Va.L.colorNeutralForeground1},cardSubTitle:{fontSize:"12px",fontWeight:400,width:"fit-content",textAlign:"start",textSizeAdjust:"100%",wordBreak:"break-word",color:Va.L.colorNeutralForeground3,display:"block",marginBottom:"16px"},cardText:{fontSize:"14px",width:"fit-content",textAlign:"start",wordBreak:"break-word",whiteSpace:"normal",color:Va.L.colorNeutralForeground1,display:"block",marginBottom:"16px"},thumbnailImage:{flexShrink:"0 !important"},heroImage:{height:"100%",width:"100%",maxWidth:"fit-content"},cardButton:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},mv.Pt.overflow("hidden")),{textOverflow:"ellipsis",textAlign:"center",verticalAlign:"middle",cursor:"default",fontFamily:"'Segoe UI', sans-serif",fontSize:"14px",fontWeight:600}),mv.Pt.padding("4px 10px 5px 10px")),{"-webkit-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",height:"31px",marginTop:"1px"}),mv.Pt.border("1px solid")),{backgroundColor:Va.L.colorNeutralBackground1}),mv.Pt.borderColor(Va.L.colorNeutralStroke1)),{"&:active":{cursor:"pointer"}}),mv.Pt.borderRadius("4px")),{marginRight:"8px"}),buttonStack:{marginTop:"5px"}}));var _T=r(6338);class IT{constructor(){this.options={attributeCallbacks:BT()}}static instance(){return this.sInstance||(this.sInstance=new IT),this.sInstance}sanitizeHtml(e){return _T.A.sanitizeHtml(e,this.options)}}IT.sInstance=null;const PT=["width","height","style"],TT={IMG:{width:"auto",height:"auto",style:""}},BT=()=>{const e={};return PT.forEach((t=>{e[t]=DT(t)})),e},DT=e=>(t,r)=>r&&void 0!==TT[r.tagName]&&void 0!==TT[r.tagName][e]?TT[r.tagName][e]:NT(t),NT=e=>{const t=null==e?void 0:e.split(";").map((e=>-1===e.indexOf("font-size")?e:null)).join(";");return t},RT=o.memo((e=>{const{content:t}=e,r=IT.instance().sanitizeHtml(t);return o.createElement("div",{dangerouslySetInnerHTML:{__html:r}})}));RT.displayName="RichHtml";const OT=e=>{const{content:t,className:r}=e;return t?o.createElement(x.E,{className:r},o.createElement(RT,{content:t})):null},zT=o.memo((e=>{const t=o.useRef(!1),{action:r,className:n,onClick:i}=e,[a,s]=o.useState(!1),l=o.useCallback((e=>t.current&&s(e)),[]);o.useEffect((()=>(t.current=!0,()=>{t.current=!1})),[]);const c=o.useCallback((e=>{try{e.stopPropagation(),l(!0),i(r)}catch(e){}finally{l(!1)}}),[i,r,l]);return o.createElement(pv.$,{className:n,disabled:a,onClick:c},r.title)}));zT.displayName="CardButton";const MT=e=>{const{actions:t,buttonClassName:r,containerClassName:n,onClick:i,payload:a}=e,s=(l=t,Array.isArray(l)&&(null==l?void 0:l.length)>0?t.slice(0,6):t);var l;return o.createElement("div",{className:n},s.map(((e,t)=>o.createElement("span",null,o.createElement(zT,{key:t,className:r,action:e,onClick:i,payload:a})))))};function FT(e){const t=JSON.parse(e.content),r=t=>{var r;null===(r=e.serviceProvider)||void 0===r||r.cardService.handleOpenUrl({url:t.value,botId:e.botId})},n=ET(),i=t.images,a=t.text||"",s=null==i?void 0:i[0],l=t.tap,c=e=>{try{e.stopPropagation(),r(l)}catch(e){}},u={src:null==s?void 0:s.url,alt:null==s?void 0:s.alt,image:{allowExpand:!0,isSelectable:!0},serviceProvider:e.serviceProvider};return o.createElement("div",{key:"heroCardView","data-tid":"hero-card",className:n.cardStack,onClick:l&&c,onKeyDown:l&&c,role:"presentation"},o.createElement(OT,{className:n.cardTitle,content:t.title}),o.createElement(OT,{className:n.cardSubTitle,content:t.subtitle}),s&&o.createElement("div",null,o.createElement(yT,Object.assign({},u))),a&&o.createElement(OT,{className:n.cardText,content:a}),o.createElement(MT,{actions:t.buttons||[],buttonClassName:n.cardButton,containerClassName:n.buttonStack,onClick:r,payload:t}))}var LT,jT,VT;function HT(e){return Array.isArray(e)&&(null==e?void 0:e.length)>0}!function(e){e.OpenUri="OpenUri",e.ViewAction="ViewAction",e.HttpPOST="HttpPOST",e.ActionCard="ActionCard"}(LT||(LT={})),function(e){e.Article="article",e.Avatar="avatar"}(jT||(jT={})),function(e){e.Android="android",e.Default="default",e.IOS="iOS",e.Windows="windows"}(VT||(VT={}));const qT=e=>{switch(e["@type"]){case LT.OpenUri:return{type:"openUrl",title:e.name,value:UT(e)};case LT.ViewAction:return{type:"openUrl",title:e.name,value:null==e?void 0:e.target[0]};case LT.ActionCard:case LT.HttpPOST:default:return{type:"unknown",title:e.name,value:""}}},UT=e=>{var t;const r=null===(t=null==e?void 0:e.targets)||void 0===t?void 0:t.find((e=>e.os===VT.Default));return(null==r?void 0:r.uri)||""},$T=o.memo((({actions:e,buttonClassName:t,containerClassName:r,onClick:n,payload:i})=>o.createElement("div",{className:r},e.map(((e,r)=>o.createElement("span",{key:r},o.createElement(zT,{className:t,action:qT(e),onClick:n,key:r,payload:i})))))));$T.displayName="O365ConnectorCardButtonContainer";const WT=o.memo((e=>{const{fact:t,factClassName:r,textClassName:n}=e;return o.createElement("div",null,o.createElement("span",{className:r},o.createElement(RT,{content:null==t?void 0:t.name})),o.createElement(OT,{className:n,content:null==t?void 0:t.value}))}));WT.displayName="O365ConnectorCardFactRenderer";const GT=o.memo((e=>{var t,r;const{section:n,payload:i,onCardAction:a}=e,s=ET(),l=HT(n.images)?n.images.map(((t,r)=>{const n={src:null==t?void 0:t.image,alt:null==t?void 0:t.title,height:160,width:160,image:{allowExpand:!0,isSelectable:!0},serviceProvider:e.serviceProvider};return o.createElement("div",{key:r},o.createElement("div",null,t.image?o.createElement(yT,Object.assign({},n)):null))})):null,c=HT(n.facts)?n.facts.map(((e,t)=>o.createElement("div",{key:t},o.createElement(WT,{factClassName:s.factName,textClassName:s.cardText,fact:e})))):null,u=n.potentialAction&&o.createElement($T,{actions:n.potentialAction,buttonClassName:s.cardButton,containerClassName:s.buttonStack,onClick:a,payload:i});return o.createElement("div",null,o.createElement(OT,{className:s.cardSubTitle,content:null===(t=null==e?void 0:e.section)||void 0===t?void 0:t.title}),o.createElement(KT,Object.assign({},e)),o.createElement(OT,{className:s.cardText,content:null===(r=null==e?void 0:e.section)||void 0===r?void 0:r.text}),c,o.createElement("div",null,l),u)}));GT.displayName="O365ConnectorCardSectionRenderer";const KT=e=>{const{section:t}=e,r=ET(),n={src:t.activityImage,alt:t.activityImage,height:52,width:52,image:{allowExpand:!0,isSelectable:!0},serviceProvider:e.serviceProvider};return o.createElement("div",null,t.activityImage?o.createElement(yT,Object.assign({},n)):null,o.createElement("div",null,o.createElement(OT,{className:r.cardSubTitle,content:null==t?void 0:t.activityTitle}),o.createElement(OT,{className:r.cardSubTitle,content:t.activitySubtitle}),o.createElement(OT,{className:r.cardText,content:t.activityText})))};function XT(e){const t=ET(),r=JSON.parse(e.content),n=r.potentialAction,i=t=>{var r;"openUrl"===t.type&&(null===(r=e.serviceProvider)||void 0===r||r.cardService.handleOpenUrl({url:t.value,botId:e.botId,cardData:e.cardData}))},a=HT(r.sections)?r.sections.map(((t,n)=>o.createElement("div",{key:n},o.createElement(GT,{section:t,onCardAction:i,payload:r,serviceProvider:e.serviceProvider})))):null;return o.createElement("div",{className:t.cardStack},o.createElement(OT,{className:t.cardTitle,content:null==r?void 0:r.title}),o.createElement(OT,{className:t.cardText,content:null==r?void 0:r.text}),a,n&&o.createElement($T,{actions:n,buttonClassName:t.cardButton,containerClassName:t.buttonStack,onClick:i,payload:r}))}function YT(e){const t=ET(),r=JSON.parse(e.content),n=t=>{var r;null===(r=e.serviceProvider)||void 0===r||r.cardService.handleOpenUrl({url:t.value,botId:e.botId})},i=r.tap,a=e=>{try{e.stopPropagation(),n(i)}catch(e){}},s=r.text||"",l=r.images,c=null==l?void 0:l[0],u={src:null==c?void 0:c.url,alt:null==c?void 0:c.alt,height:100,width:100,image:{allowExpand:!0,isSelectable:!0},serviceProvider:e.serviceProvider};return o.createElement("div",{key:"thumbnailCardView",className:t.cardStack,onClick:i&&a,onKeyDown:i&&a,role:"presentation"},o.createElement("div",null,c?o.createElement("div",null,o.createElement("div",{className:t.thumbnailImage},o.createElement(yT,Object.assign({},u)))):[],o.createElement("div",null,o.createElement(OT,{className:t.cardTitle,content:r.title}),o.createElement(OT,{className:t.cardSubTitle,content:r.subtitle}),s&&o.createElement(OT,{className:t.cardText,content:s}))),o.createElement(MT,{actions:r.buttons||[],buttonClassName:t.cardButton,containerClassName:t.buttonStack,onClick:n,payload:r}))}function JT(e){const{cardData:t,uxRegistry:r,onPrepareRuntimeActivityRequest:n,onRuntimeActivityResponse:i,hostConfig:a,serviceProvider:s,renderId:l,forbiddenActionTypes:c,disableAllActions:u}=e,d=o.useMemo((()=>s?new to(t,s,n,i):void 0),[s,n,i,t]);switch(null==t?void 0:t.contentType){case ki.z.AdaptiveCard:return o.createElement(CT,{content:null==t?void 0:t.content,cardId:t.cardId,renderId:l,runtime:d,uxRegistry:r,hostConfig:a,serviceProvider:s,forbiddenActionTypes:c,disableAllActions:u});case ki.z.HeroCard:return o.createElement(FT,{content:null==t?void 0:t.content,botId:t.botId,serviceProvider:s});case ki.z.ThumbnailCard:return o.createElement(YT,{content:null==t?void 0:t.content,botId:t.botId,serviceProvider:s});case ki.z.ConnectorCard:return o.createElement(XT,{content:null==t?void 0:t.content,botId:t.botId,serviceProvider:s,cardData:t});default:return o.createElement(o.Fragment,null)}}function ZT(e){var t,r;let n=null;const{cardData:i,uxRegistry:a,hostConfig:s,onPrepareRuntimeActivityRequest:l,onRuntimeActivityResponse:c,serviceProvider:u,forbiddenActionTypes:d,disableAllActions:p}=e,[f,h]=o.useState({cardData:i}),[g,m]=o.useState((0,D.DA)());o.useMemo((()=>{return e=i.cardId,t=h,void Ci.set(e,t);var e,t}),[i.cardId]),o.useMemo((()=>h({cardData:i})),[i]);const v=o.useMemo((()=>(m((0,D.DA)()),new M.k(null==u?void 0:u.telemetryService,z.yx.CardRender,z.xe.M365CardRenderer))),[]);try{n=o.createElement(JT,{cardData:null==f?void 0:f.cardData,hostConfig:s,uxRegistry:a,serviceProvider:u,onPrepareRuntimeActivityRequest:l,onRuntimeActivityResponse:c,renderId:g,forbiddenActionTypes:d,disableAllActions:p})}catch(e){v.logMetricEndWithError({diagnosticsData:`TypeOfCard: ${null==f?void 0:f.cardData.contentType}, Card rendering failed with error: ${e} cardId : ${null==f?void 0:f.cardData.cardId}, Appid: ${(0,F.n)(null===(t=null==f?void 0:f.cardData)||void 0===t?void 0:t.titleId,null===(r=null==f?void 0:f.cardData)||void 0===r?void 0:r.appId)}`})}return o.useEffect((()=>{var e,t,r;m((0,D.DA)()),v.logMetricEnd({props:{},renderId:g,diagnosticsData:`TypeOfCard: ${null==f?void 0:f.cardData.contentType}, cardId : ${null==f?void 0:f.cardData.cardId} cardsize: ${null===(e=null==f?void 0:f.cardData.content)||void 0===e?void 0:e.length}, Appid: ${(0,F.n)(null===(t=null==f?void 0:f.cardData)||void 0===t?void 0:t.titleId,null===(r=null==f?void 0:f.cardData)||void 0===r?void 0:r.appId)}, actionabilityStatus: ${Si(null==f?void 0:f.cardData.cardId)}`},null==s?void 0:s.correlationId)}),[]),n}class QT{constructor(){this.elementRegistry=new Ei.lX,this.actionRegistry=new Ei.lX}}var eB=r(9278),tB=r(2940),rB=r(8264);class nB{constructor(e,t,r,n){this.hostService=e,this.channelService=t,this.dialogActions=r,this.telemetryService=n}getAppDefinition(e){throw new Error("Method not implemented.")}handleOpenUrl(e){return(0,k.__awaiter)(this,void 0,void 0,(function*(){var t,r,n,i,o,a,s,l,c,u,d,p,f,h;const g=new M.k(this.telemetryService,z.yx.CardService,z.xe.OpenUrl),m={};try{let p,f={type:eB.p.Unhandled,params:{url:new URL(e.url)}};switch(e.disableDeepLinkProcessing||(f=(0,eB.G)(null==e?void 0:e.url)),f.type){case eB.p.StageView:m[z.vP.ModalViewType]=z.lp.StageView,p={cardData:e.cardData,botId:null!==(t=e.botId)&&void 0!==t?t:"",appId:f.params.appId,stageInfo:f.params.stageInfo},e.conversationId&&(p.conversationId=e.conversationId),yield null===(r=this.hostService)||void 0===r?void 0:r.openStageView(p);break;case eB.p.TaskModule:m[z.vP.ModalViewType]=z.lp.TaskModule,p={cardData:e.cardData,botId:null!==(n=e.botId)&&void 0!==n?n:"",appId:f.params.appId,taskInfo:f.params.taskInfo},e.conversationId&&(p.conversationId=e.conversationId),yield null===(i=this.hostService)||void 0===i?void 0:i.openTaskModule(p);break;default:p={cardData:e.cardData,url:e.url},e.conversationId&&(p.conversationId=e.conversationId),yield this.hostService.openUrl(p)}return g.logMetricEnd({props:m,diagnosticsData:`TypeOfCard: ${null===(o=null==e?void 0:e.cardData)||void 0===o?void 0:o.contentType}, cardId : ${null===(a=null==e?void 0:e.cardData)||void 0===a?void 0:a.cardId}, cardsize: ${null===(l=null===(s=null==e?void 0:e.cardData)||void 0===s?void 0:s.content)||void 0===l?void 0:l.length}, Appid: ${(0,F.n)(null===(c=null==e?void 0:e.cardData)||void 0===c?void 0:c.titleId,null===(u=null==e?void 0:e.cardData)||void 0===u?void 0:u.appId)}`},null===(d=e.cardData)||void 0===d?void 0:d.cardId),{status:rB.yl.Success,linkType:f.type}}catch(t){return g.logMetricEndWithError({props:m,diagnosticsData:`Error: OpenUrl failed. ErrorMessage: ${(null==t?void 0:t.message)||t},  Appid: ${(0,F.n)(null===(p=null==e?void 0:e.cardData)||void 0===p?void 0:p.titleId,null===(f=null==e?void 0:e.cardData)||void 0===f?void 0:f.appId)}`},null===(h=e.cardData)||void 0===h?void 0:h.cardId),{status:rB.yl.Error}}}))}handleActionExecute(e){return(0,k.__awaiter)(this,void 0,void 0,(function*(){var t,r,n,i,o,a,s,l,c,u,d,p,f,h,g,m,v,y,w,S,C,A,x,k,E;const _=new M.k(this.telemetryService,z.yx.CardService,z.xe.ActionExecute),I={},P={cardData:e.cardData,botId:e.botId,appId:e.appId,requestBody:{name:"adaptiveCard/action",type:"invoke",value:{action:{type:"Action.Execute",id:e.actionId,verb:e.actionVerb,data:e.actionData},trigger:null!==(t=e.trigger)&&void 0!==t?t:"manual"}}};e.conversationId&&(P.requestBody=Object.assign(Object.assign({},P.requestBody),{conversation:{id:e.conversationId}})),e.authCode&&(P.requestBody.value.state=e.authCode),e.authToken&&(P.requestBody.value.authentication={token:e.authToken});const T=yield null===(r=this.channelService)||void 0===r?void 0:r.botInvoke(P);let B;if((null==T?void 0:T.type)===b.t.Error||!(null==T?void 0:T.value)){const e=T.value;return new Li.H0(e.errorCode,e.errorMessage)}const D=T.value;switch(null==D?void 0:D.statusCode){case 200:B=new Li.G3(JSON.stringify(D.value),D.type),I[z.vP.ActionExecuteResponseType]=z.Ve.Result,_.logMetricEnd({props:I,diagnosticsData:`TypeOfCard: ${null===(n=null==e?void 0:e.cardData)||void 0===n?void 0:n.contentType}, cardId : ${null===(i=null==e?void 0:e.cardData)||void 0===i?void 0:i.cardId}, cardsize: ${null===(a=null===(o=null==e?void 0:e.cardData)||void 0===o?void 0:o.content)||void 0===a?void 0:a.length}, Appid: ${(0,F.n)(null===(s=null==e?void 0:e.cardData)||void 0===s?void 0:s.titleId,null===(l=null==e?void 0:e.cardData)||void 0===l?void 0:l.appId)}, actionabilityStatus: ${Si(null===(c=null==e?void 0:e.cardData)||void 0===c?void 0:c.cardId)}`},null===(u=e.cardData)||void 0===u?void 0:u.cardId);break;case 401:if(T.value){B=new Li.BF(JSON.stringify(D.value),D.type),I[z.vP.ActionExecuteResponseType]=z.Ve.AuthError,_.logMetricEnd({props:I,diagnosticsData:`TypeOfCard: ${null===(d=null==e?void 0:e.cardData)||void 0===d?void 0:d.contentType}, cardId : ${null===(p=null==e?void 0:e.cardData)||void 0===p?void 0:p.cardId}, cardsize: ${null===(h=null===(f=null==e?void 0:e.cardData)||void 0===f?void 0:f.content)||void 0===h?void 0:h.length}, Appid: ${(0,F.n)(null===(g=null==e?void 0:e.cardData)||void 0===g?void 0:g.titleId,null===(m=null==e?void 0:e.cardData)||void 0===m?void 0:m.appId)}, actionabilityStatus: ${Si(null===(v=null==e?void 0:e.cardData)||void 0===v?void 0:v.cardId)}`},null===(y=e.cardData)||void 0===y?void 0:y.cardId);break}B=new Li.H0(500,"response is empty"),I[z.vP.ActionExecuteResponseType]=z.Ve.Error,_.logMetricEndWithError({props:I,diagnosticsData:`Error: Action Execute failed. Bot response is empty or error, Appid: ${(0,F.n)(null===(w=null==e?void 0:e.cardData)||void 0===w?void 0:w.titleId,null===(S=null==e?void 0:e.cardData)||void 0===S?void 0:S.appId)}`},null===(C=e.cardData)||void 0===C?void 0:C.cardId);break;default:B=new Li.H0(null!==(A=null==D?void 0:D.statusCode)&&void 0!==A?A:500,JSON.stringify(null==D?void 0:D.value)),I[z.vP.ActionExecuteResponseType]=z.Ve.Error,_.logMetricEndWithError({props:I,diagnosticsData:`Error: Action Execute failed. Bot response status code is not supported, Appid: ${(0,F.n)(null===(x=null==e?void 0:e.cardData)||void 0===x?void 0:x.titleId,null===(k=null==e?void 0:e.cardData)||void 0===k?void 0:k.appId)}`},null===(E=e.cardData)||void 0===E?void 0:E.cardId)}return B}))}handleActionSubmit(e){return(0,k.__awaiter)(this,void 0,void 0,(function*(){var t,r,n,i,o,a;const s=new M.k(this.telemetryService,z.yx.CardService,z.xe.ActionSubmit),l={};try{return(0,tB.R1)(e)?(this.dialogActions.submit(e.data),{status:rB.yl.Success}):(s.logMetricEndWithError({props:l,diagnosticsData:`Error: ActionSubmit failed as passed action submit type is not supported, Appid: ${(0,F.n)(null===(t=null==e?void 0:e.cardData)||void 0===t?void 0:t.titleId,null===(r=null==e?void 0:e.cardData)||void 0===r?void 0:r.appId)}`},null===(n=e.cardData)||void 0===n?void 0:n.cardId),new Ji(rB.yl.Error,400,"Error: ActionSubmit failed as passed action submit type is not supported"))}catch(t){return s.logMetricEndWithError({props:l,diagnosticsData:`Error: ActionSubmit failed. ErrorMessage: ${(null==t?void 0:t.message)||t}, Appid: ${(0,F.n)(null===(i=null==e?void 0:e.cardData)||void 0===i?void 0:i.titleId,null===(o=null==e?void 0:e.cardData)||void 0===o?void 0:o.appId)}`},null===(a=e.cardData)||void 0===a?void 0:a.cardId),new Ji(rB.yl.Error,400,"Error: ActionSubmit failed")}}))}}var iB=r(1136);class oB extends iB.Pv{constructor(e,t,r,n,i,o=_i.RK.Standard){super(t),this.featureFlags=e,this.locale=r,this.correlationId=n,this.themeMode=i,this.hostWidth=o}}const aB=[O.r.Execute,O.r.Submit,O.r.OpenUrl];function sB(e){var t;const r=o.useMemo((()=>new QT),[]),{cardDetails:n,postActionExecute:i,channelService:a,dialogActions:s,telemetryService:l,supportedActions:c=aB,theme:u,featureFlags:d,hostService:p}=e,f=o.useMemo((()=>"dark"===u?(e=>new oB(e,{choiceSetInputValueSeparator:",",supportsInteractivity:!0,spacing:{small:8,default:12,medium:16,large:20,extraLarge:24,padding:16},separator:{lineThickness:1,lineColor:"#EEEEEE"},fontTypes:{default:{fontFamily:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif",fontSizes:{small:12,default:14,medium:14,large:18,extraLarge:24},fontWeights:{lighter:200,default:400,bolder:600}},monospace:{fontFamily:"'Courier New', Courier, monospace",fontSizes:{small:12,default:14,medium:14,large:18,extraLarge:24},fontWeights:{lighter:200,default:400,bolder:600}}},textStyles:{heading:{fontType:"default",size:"large",weight:"bolder",color:"default",isSubtle:!1}},textBlock:{headingLevel:2},imageSizes:{small:32,medium:52,large:100},containerStyles:{default:{foregroundColors:{default:{default:"#ffffffff",subtle:"#f0f0f0"},dark:{default:"#ff201f1f",subtle:"#ff2d2c2c"},light:{default:"#ffffffff",subtle:"#bfffffff"},accent:{default:"#1890f1",subtle:"#ff8b8cc7"},good:{default:"#ff92c353",subtle:"#e592c353"},warning:{default:"#fff8d22a",subtle:"#e5f8d22a"},attention:{default:"#ffd74654",subtle:"#e5d74654"}},borderColor:"#CCCCCC",backgroundColor:"#1f1f1f"},emphasis:{foregroundColors:{default:{default:"#ffffffff",subtle:"#bfffffff"},dark:{default:"#ff201f1f",subtle:"#ff2d2c2c"},light:{default:"#ffffffff",subtle:"#bfffffff"},accent:{default:"#1890f1",subtle:"#ff8b8cc7"},good:{default:"#ff92c353",subtle:"#e592c353"},warning:{default:"#fff8d22a",subtle:"#e5f8d22a"},attention:{default:"#ffd74654",subtle:"#e5d74654"}},borderColor:"#666666",backgroundColor:"#ff292828"},accent:{borderColor:"#62A8F7",backgroundColor:"#C7DEF9",foregroundColors:{default:{default:"#ff201f1f",subtle:"#ff2d2c2c"},dark:{default:"#ff201f1f",subtle:"#ff2d2c2c"},light:{default:"#ffffffff",subtle:"#bfffffff"},accent:{default:"#1890f1",subtle:"#ff8b8cc7"},good:{default:"#ff92c353",subtle:"#e592c353"},warning:{default:"#fff8d22a",subtle:"#e5f8d22a"},attention:{default:"#ffd74654",subtle:"#e5d74654"}}},good:{borderColor:"#69E569",backgroundColor:"#CCFFCC",foregroundColors:{default:{default:"#ff201f1f",subtle:"#ff2d2c2c"},dark:{default:"#ff201f1f",subtle:"#ff2d2c2c"},light:{default:"#ffffffff",subtle:"#bfffffff"},accent:{default:"#1890f1",subtle:"#ff8b8cc7"},good:{default:"#ff92c353",subtle:"#e592c353"},warning:{default:"#fff8d22a",subtle:"#e5f8d22a"},attention:{default:"#ffd74654",subtle:"#e5d74654"}}},attention:{borderColor:"#FF764C",backgroundColor:"#FFC5B2",foregroundColors:{default:{default:"#ff201f1f",subtle:"#ff2d2c2c"},dark:{default:"#ff201f1f",subtle:"#ff2d2c2c"},light:{default:"#ffffffff",subtle:"#bfffffff"},accent:{default:"#1890f1",subtle:"#ff8b8cc7"},good:{default:"#ff92c353",subtle:"#e592c353"},warning:{default:"#fff8d22a",subtle:"#e5f8d22a"},attention:{default:"#ffd74654",subtle:"#e5d74654"}}},warning:{borderColor:"#FFBC51",backgroundColor:"#FFE2B2",foregroundColors:{default:{default:"#ff201f1f",subtle:"#ff2d2c2c"},dark:{default:"#ff201f1f",subtle:"#ff2d2c2c"},light:{default:"#ffffffff",subtle:"#bfffffff"},accent:{default:"#1890f1",subtle:"#ff8b8cc7"},good:{default:"#ff92c353",subtle:"#e592c353"},warning:{default:"#fff8d22a",subtle:"#e5f8d22a"},attention:{default:"#ffd74654",subtle:"#e5d74654"}}}},actions:{maxActions:6,spacing:"Default",buttonSpacing:8,showCard:{actionMode:"Inline",inlineTopMargin:16,style:"emphasis"},preExpandSingleShowCardAction:!1,actionsOrientation:"Horizontal",actionAlignment:"Right",allowButtonsToWrap:!0},adaptiveCard:{allowCustomStyle:!1},imageSet:{imageSize:"Medium",maxImageHeight:100},factSet:{title:{size:"Default",color:"Default",isSubtle:!1,weight:"Bolder",wrap:!0},value:{size:"Default",color:"Default",isSubtle:!1,weight:"Default",wrap:!0},spacing:16}},void 0,void 0,"dark"))(d):(e=>new oB(e,{choiceSetInputValueSeparator:",",supportsInteractivity:!0,spacing:{small:8,default:12,medium:16,large:20,extraLarge:24,padding:16},separator:{lineThickness:1,lineColor:"#EEEEEE"},imageSizes:{small:32,medium:52,large:100},fontTypes:{default:{fontFamily:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif",fontSizes:{small:12,default:14,medium:14,large:18,extraLarge:24},fontWeights:{lighter:200,default:400,bolder:600}},monospace:{fontFamily:"'Courier New', Courier, monospace",fontSizes:{small:12,default:14,medium:14,large:18,extraLarge:24},fontWeights:{lighter:200,default:400,bolder:600}}},textStyles:{heading:{fontType:"default",size:"large",weight:"bolder",color:"default",isSubtle:!1}},textBlock:{headingLevel:2},containerStyles:{default:{foregroundColors:{default:{default:"#1f1f1f",subtle:"#424242"},dark:{default:"#252424",subtle:"#bf252424"},light:{default:"#ffffff",subtle:"#fff3f2f1"},accent:{default:"#1890f1",subtle:"#8b8cc7"},good:{default:"#92c353",subtle:"#e592c353"},warning:{default:"#f8d22a",subtle:"#e5f8d22a"},attention:{default:"#c4314b",subtle:"#e5c4314b"}},borderColor:"#CCCCCC",backgroundColor:"#fafafa"},emphasis:{foregroundColors:{default:{default:"#ff252424",subtle:"#bf252424"},dark:{default:"#252424",subtle:"#bf252424"},light:{default:"#ffffff",subtle:"#fff3f2f1"},accent:{default:"#1890f1",subtle:"#8b8cc7"},good:{default:"#92c353",subtle:"#e592c353"},warning:{default:"#f8d22a",subtle:"#e5f8d22a"},attention:{default:"#c4314b",subtle:"#e5c4314b"}},borderColor:"#666666",backgroundColor:"#fff9f8f7"},accent:{borderColor:"#62A8F7",backgroundColor:"#C7DEF9",foregroundColors:{default:{default:"#ff252424",subtle:"#bf252424"},dark:{default:"#252424",subtle:"#bf252424"},light:{default:"#ffffff",subtle:"#fff3f2f1"},accent:{default:"#1890f1",subtle:"#8b8cc7"},good:{default:"#92c353",subtle:"#e592c353"},warning:{default:"#f8d22a",subtle:"#e5f8d22a"},attention:{default:"#c4314b",subtle:"#e5c4314b"}}},good:{borderColor:"#69E569",backgroundColor:"#CCFFCC",foregroundColors:{default:{default:"#ff252424",subtle:"#bf252424"},dark:{default:"#252424",subtle:"#bf252424"},light:{default:"#ffffff",subtle:"#fff3f2f1"},accent:{default:"#1890f1",subtle:"#8b8cc7"},good:{default:"#92c353",subtle:"#e592c353"},warning:{default:"#f8d22a",subtle:"#e5f8d22a"},attention:{default:"#c4314b",subtle:"#e5c4314b"}}},attention:{borderColor:"#FF764C",backgroundColor:"#FFC5B2",foregroundColors:{default:{default:"#ff252424",subtle:"#bf252424"},dark:{default:"#252424",subtle:"#bf252424"},light:{default:"#ffffff",subtle:"#fff3f2f1"},accent:{default:"#1890f1",subtle:"#8b8cc7"},good:{default:"#92c353",subtle:"#e592c353"},warning:{default:"#f8d22a",subtle:"#e5f8d22a"},attention:{default:"#c4314b",subtle:"#e5c4314b"}}},warning:{borderColor:"#FFBC51",backgroundColor:"#FFE2B2",foregroundColors:{default:{default:"#ff252424",subtle:"#bf252424"},dark:{default:"#252424",subtle:"#bf252424"},light:{default:"#ffffff",subtle:"#fff3f2f1"},accent:{default:"#1890f1",subtle:"#8b8cc7"},good:{default:"#92c353",subtle:"#e592c353"},warning:{default:"#f8d22a",subtle:"#e5f8d22a"},attention:{default:"#c4314b",subtle:"#e5c4314b"}}}},actions:{maxActions:6,spacing:"Default",buttonSpacing:8,showCard:{actionMode:"Inline",inlineTopMargin:16,style:"emphasis"},preExpandSingleShowCardAction:!1,actionsOrientation:"Horizontal",actionAlignment:"Right",allowButtonsToWrap:!0},adaptiveCard:{allowCustomStyle:!1},imageSet:{imageSize:"Medium",maxImageHeight:100},factSet:{title:{size:"Default",color:"Default",isSubtle:!1,weight:"Bolder",wrap:!0},value:{size:"Default",color:"Default",isSubtle:!1,weight:"Default",wrap:!0},spacing:16}},void 0,void 0,"light"))(d)),[d,u]),h=JSON.parse(n.content),g=Object.assign(Object.assign({},n),{content:JSON.stringify(h.content),botId:null!==(t=h.botId)&&void 0!==t?t:n.botId}),m={cardService:new nB(p,a,s,l),channelService:a,telemetryService:l,hostService:p},v=aB.filter((e=>-1==c.indexOf(e)));return o.createElement(ZT,{cardData:g,hostConfig:f,uxRegistry:r,serviceProvider:m,onRuntimeActivityResponse:i,forbiddenActionTypes:v})}var lB,cB,uB,dB,pB,fB,hB,gB,mB=r(9975);class vB{getLoadingUi(){return o.createElement(o.Fragment,null)}getErrorUiData(e){return{localizedErrorStrings:{errorHeading:"Error",errorSubtitle:"An error occurred",bubbleHeading:"Error",bubbleSubtitle:"An error occurred",openInDesktopButtonTitle:"Open in Desktop",openInWebBrowserButtonTitle:"Open in Web Browser",openInLegacyBrowserButtonTitle:"Open in Legacy Browser",retryButtonTitle:"Retry"},errorImage:{image:"https://example.com/error.png",altText:"Error Image"},openDesktopApp:()=>{console.log("Open Desktop App")},openBrowser:()=>{console.log("Open Browser")},openLegacyUrl:()=>{console.log("Open Legacy URL")},retry:()=>{console.log("Retry")}}}}!function(e){e[e.None=0]="None",e[e.AppStoreLaunchHandled=1]="AppStoreLaunchHandled",e[e.AppStoreLaunchFailed=2]="AppStoreLaunchFailed",e[e.NavigateToApp=3]="NavigateToApp",e[e.DeepLinkParsingFailed=4]="DeepLinkParsingFailed",e[e.UnhandledDeepLink=5]="UnhandledDeepLink",e[e.UnHandledPostInstall=6]="UnHandledPostInstall",e[e.GptPostInstall=7]="GptPostInstall",e[e.PluginPostInstall=8]="PluginPostInstall"}(lB||(lB={})),function(e){e[e.LogInfo=1]="LogInfo",e[e.LogError=2]="LogError",e[e.LogException=3]="LogException",e[e.LogMetric=4]="LogMetric"}(cB||(cB={})),function(e){e[e.LinkService=0]="LinkService",e[e.AppStoreExtProvider=1]="AppStoreExtProvider",e[e.M365ExtAppStoreDialogTelemetryService=2]="M365ExtAppStoreDialogTelemetryService"}(uB||(uB={})),function(e){e[e.LaunchAppStore=0]="LaunchAppStore",e[e.DeepLinkHandler=1]="DeepLinkHandler",e[e.PostInstall=2]="PostInstall"}(dB||(dB={})),function(e){e[e.openAppStore=0]="openAppStore"}(pB||(pB={})),function(e){e[e.M365ExtDialog=0]="M365ExtDialog",e[e.M365ExtAppStore=1]="M365ExtAppStore",e[e.DeepLinkHandler=2]="DeepLinkHandler",e[e.PostInstall=3]="PostInstall"}(fB||(fB={})),function(e){e.Successful="true",e.Failure="false",e.Timeout="timeout"}(hB||(hB={})),function(e){e.AppId="AppId",e.DeepLink="DeepLink"}(gB||(gB={}));class yB{constructor(e,t,r){this.tag=e,this.name=t,this.telemetryService=r,this.start=Date.now(),this.isTimeout=!1,this.timeoutId=setTimeout((()=>{this.log({type:cB.LogMetric,tag:this.tag,name:this.name,success:hB.Timeout,duration:6e4,diagnosticsData:"Ended with Timeout"}),this.isTimeout=!0}),6e4)}logMetricEnd(e,t){if(clearTimeout(this.timeoutId),!this.isTimeout){const r=Date.now()-this.start;this.log(Object.assign(Object.assign({},e),{type:cB.LogMetric,tag:this.tag,name:this.name,success:hB.Successful,duration:r,correlationVector:t}))}}logMetricEndWithError(e,t){if(clearTimeout(this.timeoutId),!this.isTimeout){const r=Date.now()-this.start;this.log(Object.assign(Object.assign({},e),{type:cB.LogMetric,tag:this.tag,name:this.name,success:hB.Failure,duration:r,correlationVector:t}))}}log(e){var t;null===(t=this.telemetryService)||void 0===t||t.LogMetric(e)}}var bB,wB=r(8976);!function(e){e.TaskModule="taskModule",e.StageView="stageView",e.NavigateToApp="app",e.LaunchPage="launchPage",e.Unhandled="unhandled"}(bB||(bB={}));const SB=e=>({type:bB.Unhandled,params:{url:e}});function CB(e,t,r){var n;const i=null!==(n=new URLSearchParams(e.search).get("webUrl"))&&void 0!==n?n:void 0;return{type:bB.NavigateToApp,params:{appId:t,pageId:null!=r?r:"",webUrl:i}}}const AB=e=>{try{const t=e,r=t.pathname.match(/^\/l\/stage\/([^/]+)\/([^/]+)$/);if(3!==(null==r?void 0:r.length)||!r[1])throw new Error("Invalid Teams url format for StageView");const n=t.searchParams.get("context");let i={};const o=decodeURIComponent(null!=n?n:"");return i=JSON.parse(o),{type:bB.StageView,params:{appId:r[1],stageInfo:i}}}catch(e){return}},xB=e=>{var t,r;try{const n=/^\/l\/entity\/([^/]+)\/([^/]+)$/,i=e,o=i.pathname.match(n);if(3!==(null==o?void 0:o.length))throw new Error("Invalid Teams url format for Tab");const a=o[1];let s;if(i.searchParams.has("context")){const e=i.searchParams.get("context"),t=decodeURIComponent(null!=e?e:"");s=JSON.parse(t)}const l={entityId:o[2],webUrl:null!==(t=i.searchParams.get("webUrl"))&&void 0!==t?t:void 0,label:null!==(r=i.searchParams.get("label"))&&void 0!==r?r:void 0,subEntityId:null==s?void 0:s.subEntityId};return{type:bB.LaunchPage,params:{appId:a,tabInfo:l}}}catch(e){return}};var kB=r(2313);class EB{constructor(e,t,r,n,i){this.hubName=e,this.actions=t,this.onNavigateToApp=r,this.telemetryService=n,this.correlationVector=i}openLink(e){var t,r,n,i;const o=new yB(dB.DeepLinkHandler,fB.DeepLinkHandler,this.telemetryService),a=function(e,t){if(!function(e){try{const t=new URL(e);return[!!t.origin,"https:"===t.protocol].every((e=>e))}catch(e){return!1}}(e))return{type:bB.Unhandled,params:{url:new URL(e)}};const r=new URL(e);return r.pathname&&"https://teams.microsoft.com"===r.origin?function(e,t){try{if(t===wB.UH.office){const[t,r,n,i]=e.pathname.split("/");if(""!==t||"m365Apps"!==r)throw new Error("Invalid Teams url format for App");if(!n)throw new Error("Invalid appId");return CB(e,n,i)}{const[t,r,n,i,o]=e.pathname.split("/");if(""!==t||"l"!==r||"entity"!==n&&"app"!==n)throw new Error("Invalid Teams url format for App");if(!i)throw new Error("Invalid appId");return CB(e,i,o)}}catch(e){return}}(r,t)||function(e){var t,r,n,i,o,a,s;try{if(!e)return;const l=e.pathname.match(/^\/l\/task\/([^/]+)$/);if(2!==(null==l?void 0:l.length)||!l[1])throw new Error("Invalid Teams url format for TaskModule");const c={height:null!==(t=e.searchParams.get("width"))&&void 0!==t?t:void 0,width:null!==(r=e.searchParams.get("height"))&&void 0!==r?r:void 0},u={url:null!==(n=e.searchParams.get("url"))&&void 0!==n?n:void 0,fallbackUrl:null!==(i=e.searchParams.get("fallbackUrl"))&&void 0!==i?i:void 0,card:null!==(o=JSON.stringify(e.searchParams.get("card")))&&void 0!==o?o:void 0,width:c.width,height:c.height,title:null!==(a=e.searchParams.get("title"))&&void 0!==a?a:void 0,completionBotId:null!==(s=e.searchParams.get("completionBotId"))&&void 0!==s?s:void 0};return{type:bB.TaskModule,params:{appId:l[1],taskInfo:u}}}catch(e){return}}(r)||AB(r)||xB(r)||SB(r):{type:bB.Unhandled,params:{url:new URL(e)}}}(e,this.hubName);if(!a)return o.logMetricEndWithError({message:lB.DeepLinkParsingFailed,diagnosticsData:`Failed to parse the deep link: ${e}`},this.correlationVector),Promise.reject();if((null==a?void 0:a.type)===bB.NavigateToApp){const e=null!==(t=a.params.appId)&&void 0!==t?t:"";o.logMetricEnd({message:lB.NavigateToApp,props:{AppId:e}},this.correlationVector),null===(r=this.onNavigateToApp)||void 0===r||r.call(this,e),this.actions.close()}else{try{const t=/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/;if(e.match(t)){const t=e.split("/").pop();if(t){const e=JSON.parse(kB.hp.from(t,"base64").toString()),r=(null===(n=e.id)||void 0===n?void 0:n.toLowerCase())||"",o=e.scenario.toLowerCase();null===(i=this.onNavigateToApp)||void 0===i||i.call(this,r,o),this.actions.close()}}}catch(t){return o.logMetricEndWithError({message:lB.DeepLinkParsingFailed,diagnosticsData:`Failed to parse the deep link: ${e}`},this.correlationVector),Promise.reject()}o.logMetricEnd({message:lB.UnhandledDeepLink,props:{DeepLink:e}},this.correlationVector)}return Promise.resolve()}}var _B=r(1254);class IB extends _B.U{returnFocus(e){throw new Error("Method not implemented.")}setCurrentFrame(e){throw new Error("Method not implemented.")}navigateToApp(e){throw new Error("Method not implemented.")}shareDeepLink(e){throw new Error("Method not implemented.")}getConfig(){throw new Error("Method not implemented.")}}class PB extends _B.U{constructor(){super()}messageForParent(e){throw new Error("Method not implemented.")}messageForChild(e){throw new Error("Method not implemented.")}}class TB{constructor(e){this.dialogActions=e,this.urlService=new BB(e)}}class BB extends _B.U{constructor(e){super(),this.dialogActions=e,this.open=e=>{throw new Error("Method not implemented.")},this.submit=(e,t)=>(this.dialogActions.submit(e),Promise.resolve()),this.parentCommunicationService=new PB}}var DB=r(7080);const NB=(0,h.qP)("m365-ext-dialog.dialogWithTitle"),RB=(0,h.Ex)("m365-ext-dialog.dialogWithoutTitle");function OB(e){var t,r;const n=o.useMemo((()=>(0,D.DA)()),[]),i={authenticationService:new mB.y((()=>Promise.resolve()),(()=>Promise.resolve()),e.tokenService,e.userContext,e.externalAuthService),hubUiService:new vB,linkService:new EB(e.hostContext.host.name,e.dialogActions,e.onNavigateToApp,e.dialogTelemetryService,n),pageService:new IB,dialogService:null!==(t=e.dialogService)&&void 0!==t?t:new TB(e.dialogActions),logger:{log:function(e,t,r,n){}}},a={user:e.userContext,app:e.hostContext,page:{id:(null===(r=e.appDefinition)||void 0===r?void 0:r.id)||"",frameContext:e.frameContext||wB.E2.content,sourceOrigin:"https://teams.microsoft.com",subPageId:e.subEntityId},dialogParameters:e.dialogParameters},s=function(e){var t=f(),r=Object.keys(e),n=r.map((function(t){return e[t]}));return(0,o.useMemo)((function(){return r.reduce((function(r,n){var i;return g(g({},r),((i={})[n]=function(r){return function(e,t,r){return(0,h.l6)()?t(r):e.lookupString(t.key)(r)}(t,e[n],r)},i))}),{})}),m(m([t],r,!0),n,!0))}({dialogWithTitle:NB}),l=v({dialogWithoutTitle:RB}),c=void 0!==e.createAndSendSignalsToSubstrate&&null!==e.createAndSendSignalsToSubstrate?{createAndSendSignalsToSubstrate:e.createAndSendSignalsToSubstrate}:void 0;return o.createElement(DB.SW,{hostWindow:window,hubServices:i,contentUrl:e.content.url,appDefinition:e.appDefinition,context:a,title:e.content.title?s.dialogWithTitle({title:e.content.title}):l.dialogWithoutTitle(),featureFlags:c})}const zB=e=>{var t,r;const{dialogContent:n,dialogActions:i,appDefinition:a,tokenService:s,hostContext:l,userContext:c,subEntityId:u,onNavigateToApp:d,telemetryService:p,cardContentType:f,botService:h,postActionExecute:g,supportedActions:m,dialogParameters:v,frameContext:b,hostService:w}=e,S=(0,N.z)(Object.assign(Object.assign({},a),{version:null!==(t=a.version)&&void 0!==t?t:"",appId:a.id,manifestVersion:null!==(r=a.manifestVersion)&&void 0!==r?r:""}));switch(n.type){case R.g.Card:{const e={appId:a.id,content:n.card,contentType:null!=f?f:ki.z.AdaptiveCard,cardId:(0,D.DA)(),botId:y(a)},t=new oB({},void 0,null==l?void 0:l.locale,"",null==l?void 0:l.theme);if(!h||!w)throw new Error("Missing Parameters bot service or card service");return o.createElement(sB,{cardDetails:e,dialogActions:i,channelService:h,telemetryService:p,postActionExecute:g,supportedActions:m,featureFlags:t.featureFlags,theme:null==l?void 0:l.theme,hostService:w})}case R.g.Url:return o.createElement(OB,{dialogActions:i,content:n,appDefinition:S,hostContext:l,tokenService:s,userContext:c,subEntityId:u,onNavigateToApp:d,dialogParameters:v,frameContext:b})}};var MB=r(2632),FB=r(4677),LB=r(2309),jB=r(8038);function VB(e,t){const{as:r,children:n,...i}=null!=e?e:{};if(null===e){const e=!t.defaultProps.visible&&t.defaultProps.unmountOnExit,r=(t,r)=>e?null:o.createElement(o.Fragment,null,r.children);return{[jB.Y9]:r,[jB.on]:t.elementType}}const a={...t.defaultProps,...i,[jB.on]:t.elementType};return"function"==typeof n&&(a[jB.Y9]=n),a}const HB={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},qB=Cl(void 0),UB=qB.Provider,$B=e=>xl(qB,((t=HB)=>e(t))),WB=o.createContext(void 0);WB.Provider;const GB={fill:"forwards"},KB={duration:1};function XB(){return function(){var e;const t="undefined"!=typeof window&&"function"==typeof(null===(e=window.Animation)||void 0===e?void 0:e.prototype.persist);return o.useCallback(((e,r,n)=>{const i=Array.isArray(r)?r:[r],{isReducedMotion:o}=n,a=i.map((r=>{const{keyframes:n,reducedMotion:i=KB,...a}=r,{keyframes:s=n,...l}=i,c=o?s:n,u={...GB,...a,...o&&l};try{const r=e.animate(c,u);if(t)null==r||r.persist();else{const t=c[c.length-1];var d;Object.assign(null!==(d=e.style)&&void 0!==d?d:{},t)}return r}catch(e){return null}})).filter((e=>!!e));return{set playbackRate(e){a.forEach((t=>{t.playbackRate=e}))},setMotionEndCallbacks(e,t){const r=a.map((e=>new Promise(((t,r)=>{e.onfinish=()=>t(),e.oncancel=()=>r()}))));Promise.all(r).then((()=>{e()})).catch((()=>{t()}))},isRunning:()=>a.some((e=>function(e){if("running"===e.playState){var t,r;if(void 0!==e.overallProgress){var n;const t=null!==(n=e.overallProgress)&&void 0!==n?n:0;return t>0&&t<1}const o=Number(null!==(r=e.currentTime)&&void 0!==r?r:0);var i;const a=Number(null!==(i=null===(t=e.effect)||void 0===t?void 0:t.getTiming().duration)&&void 0!==i?i:0);return o>0&&o<a}return!1}(e))),cancel:()=>{a.forEach((e=>{e.cancel()}))},pause:()=>{a.forEach((e=>{e.pause()}))},play:()=>{a.forEach((e=>{e.play()}))},finish:()=>{a.forEach((e=>{e.finish()}))},reverse:()=>{a.forEach((e=>{e.reverse()}))}}}),[t])}()}function YB(e){const t=o.useRef();return o.useImperativeHandle(e,(()=>({setPlayState:e=>{var r,n;"running"===e&&(null===(r=t.current)||void 0===r||r.play()),"paused"===e&&(null===(n=t.current)||void 0===n||n.pause())},setPlaybackRate:e=>{t.current&&(t.current.playbackRate=e)}}))),t}function JB(){const{targetDocument:e}=(0,Na.Y)();var t;const r=null!==(t=null==e?void 0:e.defaultView)&&void 0!==t?t:null,n=o.useRef(!1),i=o.useCallback((()=>n.current),[]);return(0,Oa.E)((()=>{if(null===r||"function"!=typeof r.matchMedia)return;const e=r.matchMedia("screen and (prefers-reduced-motion: reduce)");e.matches&&(n.current=!0);const t=e=>{n.current=e.matches};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}}),[r]),i}const ZB=o.version.startsWith("19."),QB=["@fluentui/react-motion: Invalid child element.","\n","Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function eD(e,t=!0){const r=o.useRef(null);o.useEffect((()=>{}),[t]);try{const t=o.Children.only(e);if(o.isValidElement(t))return[o.cloneElement(t,{ref:(0,Tl.a)(r,(n=t,ZB?n.props.ref:n.ref))}),r]}catch{}var n;throw new Error(QB)}const tD=o.createContext(void 0),rD=(tD.Provider,()=>{var e;return null!==(e=o.useContext(tD))&&void 0!==e?e:"default"});function nD(e){return t=>{const{children:r,imperativeRef:n,onMotionFinish:i,onMotionStart:a,onMotionCancel:s,...l}=t,c=l,[u,d]=eD(r),p=YB(n),f="skip"===rD(),h=o.useRef({skipMotions:f,params:c}),g=XB(),m=JB(),v=(0,Al.D)((()=>{null==a||a(null)})),y=(0,Al.D)((()=>{null==i||i(null)})),b=(0,Al.D)((()=>{null==s||s(null)}));return(0,Oa.E)((()=>{h.current={skipMotions:f,params:c}})),(0,Oa.E)((()=>{const t=d.current;if(t){const r="function"==typeof e?e({element:t,...h.current.params}):e;v();const n=g(t,r,{isReducedMotion:m()});return p.current=n,n.setMotionEndCallbacks(y,b),h.current.skipMotions&&n.finish(),()=>{n.cancel()}}}),[g,d,p,m,y,v,b]),u}}const iD=Symbol("MOTION_DEFINITION"),oD=Symbol.for("interruptablePresence");function aD(e){return Object.assign((t=>{const r={...o.useContext(WB),...t},n="skip"===rD(),{appear:i,children:a,imperativeRef:s,onExit:l,onMotionFinish:c,onMotionStart:u,onMotionCancel:d,visible:p,unmountOnExit:f,...h}=r,g=h,[m,v]=function(e=!1,t=!1){const r=o.useRef(!t||e),n=o.useReducer((e=>e+1),0)[1],i=o.useCallback((e=>{r.current!==e&&(r.current=e,n())}),[n]);return o.useEffect((()=>{e&&(r.current=e)})),[e||r.current,i]}(p,f),[y,b]=eD(a,m),w=YB(s),S=o.useRef({appear:i,params:g,skipMotions:n}),C=XB(),A=Sd(),x=JB(),k=(0,Al.D)((e=>{null==u||u(null,{direction:e})})),E=(0,Al.D)((e=>{null==c||c(null,{direction:e}),"exit"===e&&f&&(v(!1),null==l||l())})),_=(0,Al.D)((e=>{null==d||d(null,{direction:e})}));return(0,Oa.E)((()=>{S.current={appear:i,params:g,skipMotions:n}})),(0,Oa.E)((()=>{const t=b.current;if(!t)return;let r;function n(){r&&(o&&r.isRunning()||(r.cancel(),w.current=void 0))}const i="function"==typeof e?e({element:t,...S.current.params}):e,o=i[oD];if(o&&(r=w.current,r&&r.isRunning()))return r.reverse(),n;const a=p?i.enter:i.exit,s=p?"enter":"exit",l=!S.current.appear&&A,c=S.current.skipMotions;return l||k(s),r=C(t,a,{isReducedMotion:x()}),l?(r.finish(),n):(w.current=r,r.setMotionEndCallbacks((()=>E(s)),(()=>_(s))),c&&r.finish(),n)}),[C,b,w,x,E,k,_,p]),m?y:null}),{[iD]:"function"==typeof e?e:()=>e},{In:nD("function"==typeof e?(...t)=>e(...t).enter:e.enter),Out:nD("function"==typeof e?(...t)=>e(...t).exit:e.exit)})}const sD=150,lD=200,cD=250,uD="cubic-bezier(0.8,0,0.78,1)",dD="cubic-bezier(0.33,0,0.67,1)",pD="cubic-bezier(0,0,1,1)",fD=[{opacity:0,transform:"scale(0.85) translateZ(0)"},{transform:"scale(1) translateZ(0)",opacity:1}],hD=aD({enter:{keyframes:fD,easing:"cubic-bezier(0,0,0,1)",duration:cD},exit:{keyframes:[...fD].reverse(),easing:uD,duration:cD}}),gD=o.createContext(void 0),mD=o.forwardRef(((e,t)=>o.createElement(gD.Provider,{value:t},e.children))),vD=o.createContext(void 0),yD=vD.Provider,bD=o.memo((e=>{const t=(e=>{const{children:t,modalType:r="modal",onOpenChange:n,inertTrapFocus:i=!1}=e,[a,s]=function(e){const t=o.Children.toArray(e);switch(t.length){case 2:return t;case 1:return[void 0,t[0]];default:return[void 0,void 0]}}(t),[l,c]=pd({state:e.open,defaultState:e.defaultOpen,initialState:!1}),u=(0,Al.D)((e=>{null==n||n(e.event,e),e.event.isDefaultPrevented()||c(e.open)})),d=function(e,t){const{findFirstFocusable:r}=Cd(),{targetDocument:n}=(0,Na.Y)(),i=o.useRef(null);return o.useEffect((()=>{if(!e)return;const t=i.current&&r(i.current);var n;t?t.focus():null===(n=i.current)||void 0===n||n.focus()}),[r,e,t,n]),i}(l,r),{modalAttributes:p,triggerAttributes:f}=Nv({trapFocus:"non-modal"!==r,legacyTrapFocus:!i}),h=Ad(qB);return{components:{surfaceMotion:hD},inertTrapFocus:i,open:l,modalType:r,content:s,trigger:a,requestOpenChange:u,dialogTitleId:(0,wl.Bi)("dialog-title-"),isNestedDialog:h,dialogRef:d,modalAttributes:p,triggerAttributes:f,surfaceMotion:VB(e.surfaceMotion,{elementType:hD,defaultProps:{appear:!0,visible:l,unmountOnExit:!0}})}})(e),r=function(e){const{modalType:t,open:r,dialogRef:n,dialogTitleId:i,isNestedDialog:o,inertTrapFocus:a,requestOpenChange:s,modalAttributes:l,triggerAttributes:c}=e;return{dialog:{open:r,modalType:t,dialogRef:n,dialogTitleId:i,isNestedDialog:o,inertTrapFocus:a,modalAttributes:l,triggerAttributes:c,requestOpenChange:s},dialogSurface:!1}}(t);return((e,t)=>((0,tc.C)(e),(0,ec.Y)(UB,{value:t.dialog,children:(0,ec.FD)(yD,{value:t.dialogSurface,children:[e.trigger,e.content&&(0,ec.Y)(e.surfaceMotion,{children:(0,ec.Y)(mD,{children:e.content})})]})})))(t,r)}));bD.displayName="Dialog";const wD=(0,rc.y)("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),SD=(0,rc.y)("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function CD(e,t){const r=function(e,t){return r=>e({...t,...r})}(e[iD],t);return aD(r)}const AD=({direction:e,duration:t,easing:r=pD,fromOpacity:n=0})=>{const i=[{opacity:n},{opacity:1}];return"exit"===e&&i.reverse(),{keyframes:i,duration:t,easing:r}},xD=aD((({duration:e=lD,easing:t=dD,exitDuration:r=e,exitEasing:n=t})=>({enter:AD({direction:"enter",duration:e,easing:t}),exit:AD({direction:"exit",duration:r,easing:n})}))),kD=(CD(xD,{duration:sD}),CD(xD,{duration:cD})),ED=(0,rc.y)("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),_D=(0,rc.y)("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),ID=(0,qa.X)({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),PD=o.forwardRef(((e,t)=>{const r=((e,t)=>{const r=o.useContext(gD),n=$B((e=>e.modalType)),i=$B((e=>e.isNestedDialog)),a=$B((e=>e.modalAttributes)),s=$B((e=>e.dialogRef)),l=$B((e=>e.requestOpenChange)),c=$B((e=>e.dialogTitleId)),u=$B((e=>e.open)),d=(0,Al.D)((t=>{var r,i;ob(e.backdrop)&&(null===(r=(i=e.backdrop).onClick)||void 0===r||r.call(i,t)),"modal"!==n||t.isDefaultPrevented()||l({event:t,open:!1,type:"backdropClick"})})),p=(0,Al.D)((t=>{var r;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),t.key!==$l.uf9||t.isDefaultPrevented()||(l({event:t,open:!1,type:"escapeKeyDown"}),t.preventDefault())})),f=Il.lq(e.backdrop,{renderByDefault:"non-modal"!==n,defaultProps:{"aria-hidden":"true"},elementType:"div"});f&&(f.onClick=d);const{disableBodyScroll:h,enableBodyScroll:g}=function(){const e=wD(),t=SD(),{targetDocument:r}=(0,Na.Y)();return{disableBodyScroll:o.useCallback((()=>{var n,i;r&&Math.floor(r.body.getBoundingClientRect().height)>(null!==(i=null===(n=r.defaultView)||void 0===n?void 0:n.innerHeight)&&void 0!==i?i:0)&&(r.documentElement.classList.add(e),r.body.classList.add(t))}),[r,e,t]),enableBodyScroll:o.useCallback((()=>{r&&(r.documentElement.classList.remove(e),r.body.classList.remove(t))}),[r,e,t])}}();return(0,Oa.E)((()=>{if(!i&&"non-modal"!==n)return h(),()=>{g()}}),[g,i,h,n]),{components:{backdrop:"div",root:"div",backdropMotion:kD},open:u,backdrop:f,isNestedDialog:i,mountNode:e.mountNode,root:Il.Gk((0,Pl.g)("div",{tabIndex:-1,"aria-modal":"non-modal"!==n,role:"alert"===n?"alertdialog":"dialog","aria-labelledby":e["aria-label"]?void 0:c,...e,...a,onKeyDown:p,ref:(0,Tl.a)(t,r,s)}),{elementType:"div"}),backdropMotion:VB(e.backdropMotion,{elementType:kD,defaultProps:{appear:!0,visible:u}}),transitionStatus:void 0}})(e,t);return(e=>{const{isNestedDialog:t,root:r,backdrop:n}=e,i=ED(),o=_D(),a=ID();r.className=(0,E.z)("fui-DialogSurface",i,r.className),n&&(n.className=(0,E.z)("fui-DialogSurface__backdrop",o,t&&a.nestedDialogBackdrop,n.className))})(r),(0,hc.$e)("useDialogSurfaceStyles_unstable")(r),((e,t)=>((0,tc.C)(e),(0,ec.FD)(Zd,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&(0,ec.Y)(e.backdropMotion,{children:(0,ec.Y)(e.backdrop,{})}),(0,ec.Y)(yD,{value:t.dialogSurface,children:(0,ec.Y)(e.root,{})})]})))(r,{dialogSurface:!0})}));PD.displayName="DialogSurface";const TD=(0,rc.y)("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),BD=o.forwardRef(((e,t)=>{const r=((e,t)=>{var r;return{components:{root:"div"},root:Il.Gk((0,Pl.g)(null!==(r=e.as)&&void 0!==r?r:"div",{ref:t,...e}),{elementType:"div"})}})(e,t);return(e=>{const t=TD();e.root.className=(0,E.z)("fui-DialogBody",t,e.root.className)})(r),(0,hc.$e)("useDialogBodyStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.Y)(e.root,{})))(r)}));BD.displayName="DialogBody";var DD=r(4230);const ND=e=>(e=>e.children)((e=>{const t=null!==(r=o.useContext(vD))&&void 0!==r&&r;var r;const{children:n,disableButtonEnhancement:i=!1,action:a=(t?"close":"open")}=e,s=Td(n),l=$B((e=>e.requestOpenChange)),{triggerAttributes:c}=Nv(),u=(0,Al.D)((e=>{var t,r;null==s||null===(t=(r=s.props).onClick)||void 0===t||t.call(r,e),e.isDefaultPrevented()||l({event:e,type:"triggerClick",open:"open"===a})})),d={...null==s?void 0:s.props,ref:null==s?void 0:s.ref,onClick:u,...c},p=(0,Ul.F)("button"===(null==s?void 0:s.type)||"a"===(null==s?void 0:s.type)?s.type:"div",{...d,type:"button"});return{children:Dd(n,i?d:p)}})(e));ND.displayName="DialogTrigger",ND.isFluentTriggerComponent=!0;const RD=(0,rc.y)("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),OD=(0,qa.X)({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),zD=(0,rc.y)("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),MD=(0,rc.y)("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),FD=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{action:r}=e,n=$B((e=>e.modalType)),i=MD();return{components:{root:"h2",action:"div"},root:Il.Gk((0,Pl.g)("h2",{ref:t,id:$B((e=>e.dialogTitleId)),...e}),{elementType:"h2"}),action:Il.lq(r,{renderByDefault:"non-modal"===n,defaultProps:{children:o.createElement(ND,{disableButtonEnhancement:!0,action:"close"},o.createElement("button",{type:"button",className:i,"aria-label":"close"},o.createElement(DD.LMj,null)))},elementType:"div"})}})(e,t);return(e=>{const t=RD(),r=zD(),n=OD();e.root.className=(0,E.z)("fui-DialogTitle",t,!e.action&&n.rootWithoutAction,e.root.className),e.action&&(e.action.className=(0,E.z)("fui-DialogTitle__action",r,e.action.className))})(r),(0,hc.$e)("useDialogTitleStyles_unstable")(r),(e=>((0,tc.C)(e),(0,ec.FD)(o.Fragment,{children:[(0,ec.Y)(e.root,{children:e.root.children}),e.action&&(0,ec.Y)(e.action,{})]})))(r)}));FD.displayName="DialogTitle";var LD=r(1660),jD=r(8925);const VD=I("DialogRenderer",(0,P.n)({dialogContainer:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({width:"60%",height:"80%",maxWidth:"80%",maxHeight:"80%",minWidth:"20%",minHeight:"20%"},mv.Pt.padding("0px")),mv.Pt.borderRadius(Va.L.borderRadiusMedium)),mv.Pt.border("none")),mv.Pt.outline("3px","solid",Va.L.colorTransparentBackground)),{display:"block"}),mv.Pt.overflow("hidden")),dialogBody:Object.assign(Object.assign({alignItems:"left",colorScheme:"none",width:"100%",height:"90%",maxHeight:"85%",display:"flex",overflow:"auto",flexDirection:"column"},mv.Pt.padding("0px","12px","0px","12px")),{"&::-webkit-scrollbar-button:horizontal:start:increment":{},"&::-webkit-scrollbar-button:horizontal:end:decrement":{},"&::-webkit-scrollbar-button:vertical:start:increment":{},"&::-webkit-scrollbar-button:vertical:end:decrement":{display:"none"},"&::-webkit-scrollbar-button:start:increment":{},"&::-webkit-scrollbar-button:start:decrement":Object.assign(Object.assign({display:"none"},mv.Pt.gap("12px")),mv.Pt.overflow("hidden","auto"))}),dialogHeader:Object.assign({display:"flex",flexDirection:"row",justifyContent:"space-between"},mv.Pt.padding("12px","12px","12px","24px"))})),HD=e=>{const{dialogContent:t,hostContext:r,appDefinition:n,botService:i,tokenService:a,userContext:s,subEntityId:l,onNavigateToApp:c,telemetryService:u,dialogTelemetryService:d,onDialogClose:p,supportedActions:f,postActionExecute:h,getOverriddenDialogActions:g,dialogParameters:m,frameContext:y,hostService:b,conversationId:S}=e,C=VD(),A=v({DialogCloseButtonTitle:jD.j}),x=Fl(DD.p4K,DD.LMj),[k,E]=o.useState(t);o.useMemo((()=>{E(t)}),[t]);const _=o.useMemo((()=>{var e;const t={close:()=>E(void 0),update:E};return null!==(e=null==g?void 0:g(t,n,i))&&void 0!==e?e:((e,t,r,n)=>r?Object.assign({submit:w(r,e,t,n)},e):Object.assign({},e))(t,n,i,S)}),[i]);let I={};t.height&&t.width&&(I={width:(0,LD.x)(t.width),height:(0,LD.U)(t.height)});const P=()=>{p&&p(),_.close()},T=r.theme==wB.BD.dark?MB.C:FB.o;return k?o.createElement(LB.q,{theme:T},o.createElement(bD,{open:!0},o.createElement(PD,{className:C.dialogContainer,style:I},o.createElement(BD,{className:C.dialogHeader},o.createElement(FD,{action:o.createElement(ND,{disableButtonEnhancement:!0,action:"close"},o.createElement(pv.$,{tabIndex:0,appearance:"transparent","aria-label":A.DialogCloseButtonTitle(),icon:o.createElement(x,null),onKeyDown:e=>{"Escape"!==e.key&&"Enter"!==e.key||P()},onClick:P}))},o.createElement(B,{appDefinition:n,title:k.title}))),o.createElement(BD,{className:C.dialogBody},o.createElement(zB,{dialogContent:k,dialogActions:_,tokenService:a,appDefinition:n,hostContext:r,botService:i,userContext:s,subEntityId:l,onNavigateToApp:c,telemetryService:u,dialogTelemetryService:d,supportedActions:f,postActionExecute:h,dialogParameters:m,frameContext:y,hostService:b}))))):null}},4087:(e,t,r)=>{"use strict";r.d(t,{z:()=>n});var n=r(7810).createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},4131:(e,t,r)=>{"use strict";r.d(t,{s:()=>n});const n={success:"green",warning:"orange",danger:"cranberry"}},4132:(e,t,r)=>{"use strict";r.d(t,{NQ:()=>l,nZ:()=>p});var n,i,o,a,s,l,c=r(1635),u=r(240),d=r(8976);!function(e){e.Unknown="Unknown",e.Windows="Windows",e.iOS="iOS",e.Android="Android",e.Linux="Linux",e.tvOS="tvOS",e.MacOS="MacOS"}(n||(n={})),function(e){e.Unknown="Unknown",e.EXO="EXO",e.SPO="SPO",e.OXO="OXO",e.MileIQ="MileIQ",e.AFS="AFS",e.Teams="Teams",e.Stream="Stream",e.ODB="ODB",e.MicrosoftPowerBI="MicrosoftPowerBI",e.Yammer="Yammer"}(i||(i={})),function(e){e.NotSpecified="NotSpecified",e.User="User",e.System="System"}(o||(o={})),function(e){e.Unknown="Unknown",e.Anonymous="Anonymous",e.AAD="AAD",e.MSA="MSA",e.Self="Self"}(a||(a={})),function(e){e.Unknown="Unknown",e.AccessControlData="AccessControlData",e.CustomerContent="CustomerContent",e.EUII="EUII",e.OII="OII",e.AccountData="OII",e.SystemMetaData="SystemMetaData"}(s||(s={})),function(e){e.ApplicationEngaged="ApplicationEngaged"}(l||(l={}));class p{constructor(e,t,r){var n,i,s;this.appSdkHost=e,this.hubServices=t,this.appContext=r,this.getDefaultSignalAuthToken=()=>(0,c.__awaiter)(this,void 0,void 0,(function*(){var e;if(!(null===(e=this.hubServices.authenticationService)||void 0===e?void 0:e.acquireToken))throw new Error("Cancelled since service is not available.");const t=yield this.hubServices.authenticationService.acquireToken(p.DEFAULT_SIGS_RESOURCE_URL,void 0,!0);if(t&&t.token)return t.token;throw new Error("Empty token response.")})),this.delay=e=>new Promise((t=>{var r;setTimeout(t,Math.pow(null!==(r=this.jestDelay)&&void 0!==r?r:100,e))}));const l=this.appSdkHost.getAppDefinition();this.actorInfo={ActorId:a.Self,ActorIdType:a.Self,ActorType:o.User,AadTenantId:a.Self},this.applicationInfo={AppName:"",AadAppId:null!==(n=null==l?void 0:l.id)&&void 0!==n?n:"",Workload:this.getWorkLoad(null===(i=this.appContext)||void 0===i?void 0:i.app.host.name)},this.deviceInfo={Os:this.getOs(),UserAgent:window.navigator.userAgent},this.commonCustomProperties={HubName:null===(s=this.appContext)||void 0===s?void 0:s.app.host.name,MetaOSHubSDKVersion:u.eO}}createSignal(e){return{SignalType:e.signalType,Compliance:s.CustomerContent,CV:this.appContext.app.sessionId,StartTime:this.getDateTime(e.startTime),EndTime:this.getDateTime(e.endTime),Application:Object.assign({},this.applicationInfo),Actor:Object.assign({},this.actorInfo),Device:Object.assign({},this.deviceInfo),CustomProperties:Object.assign(Object.assign({},this.commonCustomProperties),e.customProperties)}}getDateTime(e){return e&&e>0?new Date(e):new Date}getWorkLoad(e){switch(e){case d.UH.office||d.UH.outlookWin32||d.UH.office:return i.OXO;case d.UH.teams||d.UH.teamsModern:return i.Teams;default:return i.Unknown}}getOs(){let e=n.Unknown;if(window&&window.navigator.userAgent){const t=window.navigator.userAgent;-1!=t.indexOf("Windows")?e=n.Windows:-1!=t.indexOf("Mac OS")?e=n.MacOS:-1!=t.indexOf("Android")?e=n.Android:-1!=t.indexOf("Linux")?e=n.Linux:/iPad|iPhone|iPod/.test(t)&&(e=n.iOS)}return e}sendSignal(e,t){return new Promise(((r,n)=>(0,c.__awaiter)(this,void 0,void 0,(function*(){if(t)r(this.postSignalWithRetry(e,t,1));else try{const t=yield this.getDefaultSignalAuthToken();r(this.postSignalWithRetry(e,t,1))}catch(e){n(e)}}))))}postSignalWithRetry(e,t,r){return r>p.RETRY_LIMIT?Promise.reject("Retry Limit reached. Unable to send Signal."):fetch(p.SIGS_ENDPOINT,{method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json","X-SignalInstanceId":e.CV,Authorization:"Bearer "+t}}).catch((e=>Promise.reject(e))).then((n=>(0,c.__awaiter)(this,void 0,void 0,(function*(){return n&&n.ok?Promise.resolve(e.CV):n&&p.RETRY_CODES.has(n.status)?(yield this.delay(r),this.postSignalWithRetry(e,t,++r)):Promise.reject(n)}))))}}p.SIGS_ENDPOINT="https://substrate.office.com/sigsapi/v1.0/Me/Signals",p.RETRY_LIMIT=2,p.RETRY_CODES=new Set([503]),p.DEFAULT_SIGS_RESOURCE_URL="https://outlook.office.com"},4150:(e,t,r)=>{"use strict";r.d(t,{$:()=>i});var n=r(3986),i={getFields:function(e){var t="Error",r=[];return r.push((0,n.m9)("".concat(t,".ErrorGroup"),e.errorGroup)),r.push((0,n.Ug)("".concat(t,".Tag"),e.tag)),void 0!==e.code&&r.push((0,n.Ug)("".concat(t,".Code"),e.code)),void 0!==e.id&&r.push((0,n.Ug)("".concat(t,".Id"),e.id)),void 0!==e.count&&r.push((0,n.Ug)("".concat(t,".Count"),e.count)),r}}},4202:(e,t,r)=>{"use strict";r.d(t,{hX:()=>s,wN:()=>l});var n=r(5188),i="00000000000000000000000000000000",o="0000000000000000";function a(e,t,r){return!(!e||e[n.oI]!==t||e===r||!e.match(/^[\da-f]*$/i))}function s(e){return a(e,32,i)}function l(e){return a(e,16,o)}},4204:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});const n={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"}},4230:(e,t,r)=>{"use strict";r.d(t,{LMj:()=>a,iAS:()=>i,p4K:()=>o});var n=r(8807);const i=(0,n.U)("Dismiss16Regular","16",["m2.59 2.72.06-.07a.5.5 0 0 1 .63-.06l.07.06L8 7.29l4.65-4.64a.5.5 0 0 1 .7.7L8.71 8l4.64 4.65c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L8 8.71l-4.65 4.64a.5.5 0 0 1-.7-.7L7.29 8 2.65 3.35a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),o=(0,n.U)("Dismiss20Filled","20",["m3.9 4.05.07-.08a.75.75 0 0 1 .98-.07l.08.07L10 8.94l4.97-4.97a.75.75 0 0 1 .98-.07l.08.07c.27.27.3.68.07.98l-.07.08L11.06 10l4.97 4.97c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L10 11.06l-4.97 4.97a.75.75 0 0 1-.98.07l-.08-.07a.75.75 0 0 1-.07-.98l.07-.08L8.94 10 3.97 5.03a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]),a=(0,n.U)("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"])},4256:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(8721),i=r(193);const o=function(e,t,r){var o=(e=e||{}).random||(e.rng||n.A)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=o[a];return t}return(0,i.A)(o)}},4267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Collection=void 0;var r=function(){function e(){this._items=[]}return e.prototype.get=function(e){return this._items[e]},e.prototype.add=function(e){this._items.push(e),this.onItemAdded&&this.onItemAdded(e)},e.prototype.remove=function(e){var t=this._items.indexOf(e);t>=0&&(this._items=this._items.splice(t,1),this.onItemRemoved&&this.onItemRemoved(e))},e.prototype.indexOf=function(e){return this._items.indexOf(e)},Object.defineProperty(e.prototype,"length",{get:function(){return this._items.length},enumerable:!1,configurable:!0}),e}();t.Collection=r},4285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5501);t.default=function(e,t){if(e){var r=(0,n.default)(t||{}).map((function(e){var r=t[e],n=e?e.trim():null,i=r?r.trim():null;return n&&i?n+":"+i:null})).filter((function(e){return e})).join(";");r?e.setAttribute("style",r):e.removeAttribute("style")}}},4337:(e,t,r)=>{"use strict";r.d(t,{r:()=>l});var n=r(1635),i=r(5564),o=r(9357),a=r(6314),s=r(9587),l=function(e){function t(t,r){var n,a=e.call(this,t,r)||this;a.sendTelemetryEvent=function(e){return(0,o.TX)((function(){var t=a.getOneDSTelemetryEvent(e);t&&n&&n.track(t)}),o.q6)},a.sendCustomerContent=function(e){},a.sendNonStandardEvent=function(e,t){var r=!1;l.forEach((function(n){n.canHandle(t)&&(n.processEvent(e),r=!0)})),r||(0,i.wC)(0,1,(function(){return"Missing Handler for "+t+"to process"+e.eventName}))},a.flush=function(e){null==n||n.flush(e),l.forEach((function(t){t.flush(e)}))},a.shutdown=function(){try{null==n||n.shutdown(),l.forEach((function(e){e.shutdown()}))}catch(e){(0,i.wC)(0,2,(function(){return"An error occurred on shutdown"}))}};var l=r.nonStandardEventHandlers||[];if(n=(0,s.FL)(r,o.z2),l.forEach((function(e){e.initialize(a,r)})),!r.endpointUrl)throw new Error("Missing Endpoint Url");return r.disableStatsTracking||(0,s.D$)(a,n),a}return(0,n.__extends)(t,e),t}(a.c)},4348:(e,t,r)=>{"use strict";r.d(t,{$xS:()=>i,DoI:()=>c,Er0:()=>h,Qpb:()=>l,e5x:()=>p,epd:()=>g,j0c:()=>f,nkM:()=>s,oam:()=>u,ozo:()=>o,uf9:()=>m,ww0:()=>d,xyI:()=>n,yd$:()=>a});const n="Enter",i=" ",o="Tab",a="ArrowDown",s="ArrowLeft",l="ArrowRight",c="ArrowUp",u="End",d="Home",p="PageDown",f="PageUp",h="Backspace",g="Delete",m="Escape"},4360:(e,t,r)=>{"use strict";function n(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}r.d(t,{S:()=>n})},4364:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAAGWB6gOAAAAAXNSR0IArs4c6QAAAW9JREFUWAljYMACGEFicnJy/5HlmJA5MDZxgnzqTjANCJqRoAUYhmMIYHUowgoIC0MXugIQn3qKsJmOIcboveD//8t18hgSMAHdpodUdBP1fEdPkxgZnoMjGBRWsHAhi2Zk6GSBacQX6DA1uGhgpJQTFQC4DEAWHzUIOTSws6kWRpB0tPB/B8N/hnLsdhEQBSZGLk4GBQKqiJdm9KbENVB7tiYwMrKAvERhqgYbR7XAHjWIcDIYDaPRMCIcAoRVMDEACyas7SvCelFUsIBKN/mY+Q+AxYkkigyxHGAtC1IKLmpDV/1n+/adoQnIjyPbQGItRlcHDBGg0CKgh+pWhzH+Alf9QMeAffZgSQLD51v70bXQlA+MHkn56PnlQDfEAS2SguR9aDDT2zEgn366uQ/iYagbqFYYQUylnBx1EKEwHA2h0RAiFAKE5EfT0GgIEQoBQvKjaYhQCEFGHkCNI2A/DTSsM2AA2kAbMPtxWQwAsbtIn+j/0mAAAAAASUVORK5CYII="},4386:(e,t,r)=>{"use strict";r.d(t,{h:()=>l});var n=r(8207),i=r(5188),o=r(5239),a=r(9666);function s(e,t,r,n){(0,o.Iu)(e,(function(e){if(e&&e[t])if(r)setTimeout((function(){return n(e)}),0);else try{n(e)}catch(e){}}))}var l=function(){function e(t){this.listeners=[];var r=!!(t||{}).perfEvtsSendAll;(0,n.A)(e,this,(function(e){e[i.vR]=function(t){e.listeners[i.y5](t)},e[i.TP]=function(t){for(var r=(0,o.rD)(e[i.lJ],t);r>-1;)e.listeners[i.Ic](r,1),r=(0,o.rD)(e[i.lJ],t)},e[a.fc]=function(t){s(e[i.lJ],a.fc,!0,(function(e){e[a.fc](t)}))},e[a.Yp]=function(t,r){s(e[i.lJ],a.Yp,!0,(function(e){e[a.Yp](t,r)}))},e[a.dI]=function(t,r){s(e[i.lJ],a.dI,r,(function(e){e[a.dI](t,r)}))},e[a.l0]=function(t){t&&(!r&&t[i.Zu]()||s(e[i.lJ],a.l0,!1,(function(e){t[i.tI]?setTimeout((function(){return e[a.l0](t)}),0):e[a.l0](t)})))}}))}return e.__ieDyn=1,e}()},4410:(e,t,r)=>{"use strict";const n=r(8950);e.exports=(e,t)=>{const r=n(e,null,!0),i=n(t,null,!0),o=r.compare(i);if(0===o)return null;const a=o>0,s=a?r:i,l=a?i:r,c=!!s.prerelease.length;if(l.prerelease.length&&!c){if(!l.patch&&!l.minor)return"major";if(0===l.compareMain(s))return l.minor&&!l.patch?"minor":"patch"}const u=c?"pre":"";return r.major!==i.major?u+"major":r.minor!==i.minor?u+"minor":r.patch!==i.patch?u+"patch":"prerelease"}},4414:(e,t,r)=>{"use strict";r.d(t,{e:()=>o,m:()=>a});var n=r(7810);const i=n.createContext("ltr"),o=({children:e,dir:t})=>n.createElement(i.Provider,{value:t},e);function a(){return n.useContext(i)}},4417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return((null==e?void 0:e.getAttribute("style"))||"").split(";").forEach((function(e){var r=e.indexOf(":"),n=e.slice(0,r),i=e.slice(r+1);n&&i&&(t[n.trim()]=i.trim())})),t}},4420:(e,t,r)=>{"use strict";r.d(t,{a:()=>n});class n{constructor(){this.items=new Map,this.add=e=>{if(e){const t=e.toLowerCase();if(!this.items.has(t))return this.items.set(t,e),!0}return!1},this.values=()=>Array.from(this.items.values())}}},4440:(e,t,r)=>{"use strict";r.d(t,{CN:()=>s,Zi:()=>a});var n=r(5564),i=".",o={};function a(e,t){e.substring(0,7)==="Office"+i&&e[e.length-1]!==i?o[e]?(t.ariaTenantToken&&(o[e].ariaTenantToken=t.ariaTenantToken),t.dnmToken&&(o[e].dnmToken=t.dnmToken)):o[e]=t:(0,n.wC)(0,0,(function(){return"Namespace: ".concat(e)}))}function s(e,t){for(var r=e.length;r>0;){var n=e.substr(0,r);if(o[n]){var a=o[n];return t.ariaTenantToken=a.ariaTenantToken,t.dnmToken=a.dnmToken,!0}r=e.lastIndexOf(i,r-1)}return!1}},4479:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(2078),i=r(8285),o=r(6118),a=r(3869),s=r(5935),l=Object.prototype.hasOwnProperty;const c=function(e,t){var r=(0,i.A)(e),c=!r&&(0,n.A)(e),u=!r&&!c&&(0,o.A)(e),d=!r&&!c&&!u&&(0,s.A)(e),p=r||c||u||d,f=p?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],h=f.length;for(var g in e)!t&&!l.call(e,g)||p&&("length"==g||u&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||(0,a.A)(g,h))||f.push(g);return f}},4502:(e,t,r)=>{"use strict";r.d(t,{TQ:()=>n,dt:()=>i});const n=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],i=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"]},4560:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(2020),i=r(7181),o=r(2078),a=r(8285),s=i.A?i.A.isConcatSpreadable:void 0;const l=function(e){return(0,a.A)(e)||(0,o.A)(e)||!!(s&&e&&e[s])},c=function e(t,r,i,o,a){var s=-1,c=t.length;for(i||(i=l),a||(a=[]);++s<c;){var u=t[s];r>0&&i(u)?r>1?e(u,r-1,i,o,a):(0,n.A)(a,u):o||(a[a.length]=u)}return a}},4563:(e,t,r)=>{"use strict";const n=r(6652),i=r(3682);e.exports=(e,t,r)=>{const o=[];let a=null,s=null;const l=e.sort(((e,t)=>i(e,t,r)));for(const e of l)n(e,t,r)?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null);a&&o.push([a,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return u.length<d.length?u:t}},4564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cloneObject=void 0;var n=r(1635),i=r(5501),o=Object.assign?function(e,t){return Object.assign(t||{},e)}:function(e,t){var r,o,a=t||{};if(e)try{for(var s=(0,n.__values)((0,i.default)(e)),l=s.next();!l.done;l=s.next()){var c=l.value;a[c]=e[c]}}catch(e){r={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return a};t.cloneObject=function(e,t){return o(e,t)}},4603:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=Object.prototype;const i=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},4617:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(8207),i=r(5239);const o=function(){function e(){var t={};(0,n.A)(e,this,(function(e){e.setKillSwitchTenants=function(e,r){if(e&&r)try{var n=(s=e.split(","),l=[],s&&(0,i.Iu)(s,(function(e){l.push((0,i.EH)(e))})),l);if("this-request-only"===r)return n;for(var o=1e3*parseInt(r,10),a=0;a<n.length;++a)t[n[a]]=(0,i.x3)()+o}catch(e){return[]}var s,l;return[]},e.isTenantKilled=function(e){var r=t,n=(0,i.EH)(e);return void 0!==r[n]&&r[n]>(0,i.x3)()||(delete r[n],!1)}}))}return e.__ieDyn=1,e}()},4627:(e,t,r)=>{"use strict";r.d(t,{v:()=>n});const n=()=>{return void 0!==window.Cypress||"undefined"!=typeof process&&void 0!==(null===(e=null===process||void 0===process?void 0:process.env)||void 0===e?void 0:e.JEST_WORKER_ID);var e}},4674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9328);t.default=function(e,t,r){return!(!e||!t)&&(!(!r||e!=t)||((0,n.default)(t,"Range")&&(t=t&&t.commonAncestorContainer,r=!0),t&&3==t.nodeType&&(t=t.parentNode,r=!0),1!=e.nodeType&&11!=e.nodeType?!!r&&e==t:!(!r&&e==t)&&function(e,t){if(e.contains)return e.contains(t);for(;t;){if(t==e)return!0;t=t.parentNode}return!1}(e,t)))}},4677:(e,t,r)=>{"use strict";r.d(t,{o:()=>o});var n=r(4924),i=r(5403);const o=(0,n.a)(i.oZ)},4686:(e,t,r)=>{"use strict";r.d(t,{_Z:()=>m,tV:()=>b});var n=r(8208),i=r(2583),o=r(7714);class a extends i.jB{getAdditionalPropertyDescriptors(e){return[...super.getAdditionalPropertyDescriptors(e),{name:"type",valueTypes:[{type:"string"}],requiredValue:this.getTypeName(),schemaVersion:i.uq.v1_0}]}}a.typeNameProperty=new i.XB(i.uq.v1_0,"type",void 0,void 0,(e=>e.getTypeName()));class s extends a{get value(){return this.getValue(s.valueProperty)}set value(e){this.setValue(s.valueProperty,e)}getSchemaKey(){return s.className}getTypeName(){return s.jsonTypeName}}s.jsonTypeName="imBack",s.className="ImBackSubmitActionData",s.valueProperty=new i.XB(i.uq.v1_0,"value").setIsHero();class l extends a{get value(){return this.getValue(l.valueProperty)}set value(e){this.setValue(l.valueProperty,e)}getSchemaKey(){return l.className}getTypeName(){return l.jsonTypeName}}l.jsonTypeName="invoke",l.className="InvokeSubmitActionData",l.valueProperty=new i.BG(i.uq.v1_0,"value").setIsHero();class c extends a{get text(){return this.getValue(c.textProperty)}set text(e){this.setValue(c.textProperty,e)}get displayText(){return this.getValue(c.displayTextProperty)}set displayText(e){this.setValue(c.displayTextProperty,e)}get value(){return this.getValue(c.valueProperty)}set value(e){this.setValue(c.valueProperty,e)}getSchemaKey(){return c.className}getTypeName(){return c.jsonTypeName}}c.jsonTypeName="messageBack",c.className="MessageBackSubmitActionData",c.textProperty=new i.XB(i.uq.v1_0,"text"),c.displayTextProperty=new i.XB(i.uq.v1_0,"displayText"),c.valueProperty=new i.XB(i.uq.v1_0,"value");class u extends a{get value(){return this.getValue(u.valueProperty)}set value(e){this.setValue(u.valueProperty,e)}getSchemaKey(){return u.className}getTypeName(){return u.jsonTypeName}}u.jsonTypeName="signin",u.className="SigninSubmitActionData",u.valueProperty=new i.XB(i.uq.v1_0,"value").setIsHero();class d extends a{get value(){return this.getValue(d.valueProperty)}set value(e){this.setValue(d.valueProperty,e)}getSchemaKey(){return d.className}getTypeName(){return d.jsonTypeName}}d.jsonTypeName="task/fetch",d.className="TaskFetchSubmitActionData",d.valueProperty=new i.BG(i.uq.v1_0,"value").setIsHero();const p=new Map([[s.jsonTypeName,()=>new s],[l.jsonTypeName,()=>new l],[c.jsonTypeName,()=>new c],[u.jsonTypeName,()=>new u],[d.jsonTypeName,()=>new d]]);class f extends i.BG{parse(e,t,r){let n;const i=t[this.name];if("object"==typeof i){const e=p.get(i.type);e&&(n=e(),n.parse(i,r))}return n}toJSON(e,t,r,n){n.serializeValue(t,this.name,r)}getDescriptor(e){const t=[];for(const e of p.values()){const r=e(),n=new i.E$(r);t.push(n)}return{valueTypes:[{type:"object",validValues:t}]}}constructor(e,t){super(e,t,void 0),this.targetVersion=e,this.name=t}}class h extends i.jB{getSchemaKey(){return"SubmitActionData"}constructor(){super(),this.preserveSourcePropertiesOnParse=!0}getCodeGenOptions(){return{treatAsDictionary:!0}}}h.msTeamsProperty=new f(i.uq.v1_0,"msTeams").setAlternateDefinition(new f(i.uq.v1_0,"msteams"));class g extends i.BG{parse(e,t,r){const n=t[this.name];if("object"==typeof n){const e=new h;return e.parse(n,r),e}if("string"==typeof n)return n}toJSON(e,t,r,n){"string"==typeof r?n.serializeString(t,this.name,r):r instanceof h?n.serializeValue(t,this.name,r.toJSON(n),this.defaultValue,!0):super.toJSON(e,t,r,n)}getDescriptor(e){const t=new i.E$(new h);return t.preserveAdditionalProperties=!0,{valueTypes:[{type:"string"},{type:"object",validValues:[t]}]}}constructor(e,t){super(e,t,void 0),this.targetVersion=e,this.name=t}}class m extends n.rc{constructor(){super(...arguments),this._isPrepared=!1,this._areReferencedInputsDirty=!1}get _originalData(){return this.getValue(m.dataProperty)}set _originalData(e){this.setValue(m.dataProperty,e)}get associatedInputs(){return this.getValue(m.associatedInputsProperty)}set associatedInputs(e){this.setValue(m.associatedInputsProperty,e)}get conditionallyEnabled(){return this.getValue(m.conditionallyEnabledProperty)}set conditionallyEnabled(e){this.setValue(m.conditionallyEnabledProperty,e)}updateReferencedInputsDirtyState(){this._areReferencedInputsDirty=!1;const e=this.getReferencedInputs();if(e)for(const t of Object.keys(e))if(e[t].isDirty()){this._areReferencedInputsDirty=!0;break}}internalGetReferencedInputs(){return"none"!==this.associatedInputs?(0,n.Gh)(this):{}}internalPrepareForExecution(e){if(this._originalData?this._processedData=JSON.parse(JSON.stringify(this._originalData)):this._processedData={},this._processedData&&"object"==typeof this._processedData&&e)for(const t of Object.keys(e)){const r=e[t];r.id&&r.isSet()&&(this._processedData[r.id]=r.valueAsString)}this._isPrepared=!0}internalAfterExecute(){o.h$.resetInputsDirtyStateAfterActionExecution&&this.resetReferencedInputsDirtyState()}resetReferencedInputsDirtyState(){const e=this.getReferencedInputs();if(this._areReferencedInputsDirty=!1,e)for(const t of Object.keys(e))e[t].resetDirtyState()}updateEnabledState(){const e=this._areReferencedInputsDirty;this.updateReferencedInputsDirtyState();const t=this.getReferencedInputs();if(t)for(const e of Object.keys(t))if(t[e].isDirty()){this._areReferencedInputsDirty=!0;break}this._areReferencedInputsDirty!==e&&this.updateLayout()}isEffectivelyEnabled(){const e=super.isEffectivelyEnabled();return this.updateReferencedInputsDirtyState(),this.conditionallyEnabled?e&&this._areReferencedInputsDirty:e}get data(){return this._isPrepared?this._processedData:this._originalData}set data(e){this._originalData=e,this._isPrepared=!1}}m.dataProperty=new g(i.uq.v1_0,"data"),m.associatedInputsProperty=new n.XC(i.uq.v1_3,"associatedInputs"),m.conditionallyEnabledProperty=new i.gV(i.uq.v1_5,"conditionallyEnabled",!1);class v extends i.jB{get hide(){return this.getValue(v.hideProperty)}set hide(e){this.setValue(v.hideProperty,e)}getSchemaKey(){return"TeamsSubmitActionFeedback"}}v.hideProperty=new i.gV(i.uq.v1_0,"hide");class y extends i.jB{get feedback(){return this.getValue(y.feedbackProperty)}set feedback(e){this.setValue(y.feedbackProperty,e)}getSchemaKey(){return"TeamsSubmitActionProperties"}}y.feedbackProperty=new i.kR(i.uq.v1_0,"feedback",(e=>new v));class b extends m{getJsonTypeName(){return b.JsonTypeName}}b.JsonTypeName="Action.Submit",b.msTeamsProperty=new i.kR(i.uq.v1_0,"msTeams",(e=>new y)).setAlternateDefinition(new i.kR(i.uq.v1_0,"msteams",(e=>new y)))},4691:(e,t,r)=>{"use strict";r.d(t,{y:()=>i});var n=r(8070);const i=(e,t)=>{const r=new URL(e);r.searchParams.delete(n.qm),r.searchParams.delete(n.qR);const i=decodeURIComponent(r.searchParams.toString()),o=""===i.trim();r.search="";const a=`${i}${o?"":"&"}`;return encodeURIComponent(`${r.toString()}?${a}${n.qm}=${t}&${n.qR}=${n.a9}`)}},4699:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStringDescriptionWithOnlyKey=function(e){return{key:e,stringToBeLocalized:"",comment:"",placeholderNames:[]}},t.getStringDescriptionWithoutPlaceholders=function(e,t){return{key:e,stringToBeLocalized:t.text,comment:t.comment,placeholderNames:[]}},t.getStringDescriptionWithPlaceholders=function(e,t){for(var r=(0,i.keys)(t.placeholders).filter(i.isString).sort(),l={},c=0,u=(0,i.keys)(t.placeholders);c<u.length;c++){var d=u[c];l[d]=(0,i.isString)(d)?"{".concat(r.indexOf(d),"}"):(0,a.throwError)("Placeholder name ".concat(d," is not a string"))}var p=t.text(l),f=n.__spreadArray([t.comment],r.map((function(e,r){var n=t.placeholders[e].trim();return n?"{".concat(r,"} is a placeholder for ").concat((0,i.lowerFirst)(n)):null})),!0),h=(0,o.filterOutNull)(f).map(s).filter(Boolean).join(" ");return r.forEach((function(e,t){h=h.replace("{"+e+"}","{"+t+"}")})),{key:e,stringToBeLocalized:p,comment:h,placeholderNames:r}};var n=r(1635),i=r(5851),o=r(1418),a=r(2519);function s(e){return(e=(0,i.upperFirst)(e.trim()))&&!(0,i.endsWith)(e,".")&&(e+="."),e}},4701:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var n=r(5516),i=r.n(n),o=r(1364),a=r.n(o),s=r(3615),l=r.n(s),c=new URL(r(1975),r.b),u=new URL(r(9085),r.b),d=new URL(r(4364),r.b),p=new URL(r(2575),r.b),f=a()(i()),h=l()(c),g=l()(u),m=l()(d),v=l()(p);f.push([e.id,`.ac-image.ac-selectable {\n    cursor: pointer;\n}\n\na.ac-anchor {\n    text-decoration: underline;\n}\n\na.ac-anchor:link {\n    color: #2899f5;\n}\n\na.ac-anchor:visited {\n    color: #2899f5;\n}\n\na.ac-anchor:link:active {\n    color: #2899f5;\n}\n\na.ac-anchor:visited:active {\n    color: #2899f5;\n}\n\n.ac-container:not(.ac-adaptiveCard) {\n    outline: none;\n}\n\n.ac-adaptiveCard {\n    outline-color: #006ac1;\n}\n\n.ac-container.ac-selectable,\n.ac-columnSet.ac-selectable {\n    padding: 0px;\n    outline: none;\n    border: none;\n}\n\n.ac-container.ac-selectable:hover,\n.ac-columnSet.ac-selectable:hover,\n.ac-container.ac-selectable:focus,\n.ac-columnSet.ac-selectable:focus,\na.ac-anchor:focus {\n    background-color: rgba(255, 255, 255, 0.1);\n    outline: none;\n    border: none;\n}\n\n.ac-container.ac-selectable:active,\n.ac-columnSet.ac-selectable:active {\n    background-color: rgba(255, 255, 255, 0.15);\n    outline: none;\n    border: none;\n}\n\n.ac-pushButton {\n    /*default active*/\n    vertical-align: middle;\n    cursor: default;\n    overflow: hidden;\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    letter-spacing: -0.15px;\n    font-weight: 500;\n    padding: 6px 8px 6px 8px;\n    -webkit-user-select: none;\n    -moz-user-select: none;\n    -ms-user-select: none;\n    user-select: none;\n    background-color: #1e1e1e;\n    color: #0078d4;\n    border-radius: 4px;\n    outline: none;\n    border: 1px solid #0078d4;\n    margin: 2px; /* needed for box-shadow */\n}\n\n.ac-pushButton.primary:enabled,\n.ac-pushButton.style-positive:enabled {\n    /*primary, positive active*/\n    background-color: #0078d4;\n    color: #000000;\n    border: 1px solid #0078d4;\n}\n\n.ac-pushButton.primary:hover:enabled,\n.ac-pushButton.style-positive:hover:enabled {\n    /*primary, positive hover*/\n    background-color: #106ebe;\n    color: #000000;\n    border: 1px solid #106ebe;\n}\n\n.ac-pushButton.primary:active:enabled,\n.ac-pushButton.style-positive:active:enabled {\n    /*primary, positive press*/\n    background-color: #aad2f3;\n    color: #000000;\n    border: 1px solid #aad2f3;\n}\n\n.ac-pushButton.primary:focus:enabled,\n.ac-pushButton.style-positive:focus:enabled {\n    /*primary, positive focus*/\n    background-color: #106ebe;\n    color: #000000;\n    border: 1px solid #106ebe;\n    box-shadow: 0 0 0 2px #14344f;\n}\n\n.ac-pushButton.primary:disabled,\n.ac-pushButton.style-positive:disabled,\n.ac-pushButton.style-destructive:disabled {\n    /*primary, positive, destructive disabled*/\n    background-color: #605e5c;\n    color: #000000;\n    border: 1px solid #605e5c;\n}\n\n.ac-pushButton.style-destructive:enabled {\n    /*destructive active*/\n    background-color: #e50000;\n    color: #000000;\n    border: 1px solid #e50000;\n}\n\n.ac-pushButton.style-destructive:hover:enabled {\n    /*destructive hover*/\n    background-color: #bf0000;\n    color: #000000;\n    border: 1px solid #bf0000;\n}\n\n.ac-pushButton.style-destructive:active:enabled {\n    /*destructive press*/\n    background-color: #ac0202;\n    color: #000000;\n    border: 1px solid #ac0202;\n}\n\n.ac-pushButton.style-destructive:focus:enabled {\n    /*destructive focus*/\n    background-color: #e50000;\n    color: #000000;\n    border: 1px solid #bf0000;\n    box-shadow: 0 0 0 2px #490e0e;\n}\n\n.ac-pushButton:hover:enabled {\n    /*default hover*/\n    background-color: #2b2b2b;\n    color: #106ebe;\n    border: 1px solid #106ebe;\n}\n\n.ac-pushButton:active:enabled {\n    /*default press*/\n    background-color: #2b2b2b;\n    color: #aad2f3;\n    border: 1px solid #aad2f3;\n}\n\n.ac-pushButton:focus:enabled {\n    /*default focus*/\n    border: 1px solid #106ebe;\n    background-color: #2b2b2b;\n    box-shadow: 0 0 0 2px #14344f;\n    color: #106ebe;\n}\n\n.ac-pushButton:disabled {\n    /*default disabled*/\n    background-color: #2b2b2b;\n    color: #605e5c;\n    border: 1px solid #605e5c;\n}\n\n.ac-input {\n    /*rest single line*/\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    color: #f3f2f1;\n    background-color: inherit;\n    border: 1px solid #d2d0ce;\n    border-radius: 4px;\n    padding: 4px 4px 4px 8px;\n}\n\n.ac-toggleInput {\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    color: #ffffff;\n    background-color: inherit;\n    padding: 4px 4px 4px 8px;\n    border: none;\n}\n\n.ac-dateInput,\n.ac-timeInput {\n    padding-bottom: 4px;\n    padding-top: 4px;\n    padding-right: 4px;\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    letter-spacing: -0.15px;\n}\n\n.ac-input.ac-textInput,\n.ac-input.ac-numberInput {\n    resize: none;\n    background-color: #1e1e1e;\n}\n\n.ac-numberInputError {\n    border: 1px solid #a4262c;\n    box-shadow: 0 0 0 2px #512022;\n}\n\n.ac-input.ac-textInput:focus,\n.ac-input.ac-textInput.ac-multiline:focus,\n.ac-input.ac-numberInput:focus,\n.ac-input.ac-textInput:hover,\n.ac-input.ac-textInput.ac-multiline:hover,\n.ac-input.ac-numberInput:hover {\n    border: 1px solid #0078d4;\n    color: #f3f2f1;\n}\n\n.ac-fact-title {\n    font-weight: 600;\n}\n\n.ac-fact-value {\n    font-weight: 400;\n}\n\n.ac-multiline {\n    min-height: 72px;\n    box-sizing: border-box;\n}\n\n.ac-input.ac-textInput:focus::placeholder,\n.ac-input.ac-textInput.ac-multiline:focus::placeholder,\n.ac-input.ac-numberInput:focus::placeholder {\n    color: #707070;\n}\n\n.ac-input.ac-textInput::placeholder,\n.ac-input.ac-textInput.ac-multiline::placeholder,\n.ac-input.ac-numberInput::placeholder {\n    color: #707070;\n}\n\n.ac-input,\n.ac-multichoiceInput {\n    outline: none;\n}\n\n.ac-multichoiceInput:focus,\n.ac-multichoiceInput:hover {\n    border: 1px solid #0078d4;\n}\n\n.ac-multiInput,\n.ac-singleInput {\n    border: none;\n}\n\n.ac-choiceSetInput-expanded {\n    border: none;\n}\n\n.ac-choiceSetInput-compact {\n    background-color: #1e1e1e;\n}\n\n.ac-input.ac-dropdown {\n    padding-bottom: 4px;\n    padding-top: 4px;\n    padding-left: 8px;\n    padding-right: 8px;\n    background-color: #1e1e1e;\n    appearance: auto;\n}\n\n.ac-input.ac-dropdown:focus,\n.ac-input.ac-dropdown:hover {\n    border: 1px solid #0078d4;\n    box-shadow: 0 0 0 2px #14344f;\n    appearance: auto;\n    color: #f3f2f1;\n}\n\ninput[type='radio'] {\n    -webkit-appearance: none;\n    height: 16px;\n    width: 16px;\n    background-size: 16px;\n    background-image: url(${h});\n    outline: none;\n}\n\ninput[type='radio']:checked {\n    background-image: url(${g});\n}\n\ninput[type='checkbox'] {\n    -webkit-appearance: none;\n    height: 16px;\n    width: 16px;\n    background-size: 16px;\n    background-image: url(${m});\n    outline: none;\n    background-color: #1e1e1e;\n}\n\ninput[type='checkbox']:checked {\n    background-image: url(${v});\n}\n\n.ac-spinner {\n    display: inline-block;\n    width: 16px;\n    height: 16px;\n    border: 2px solid;\n    border-radius: 50%;\n    border-top-color: transparent;\n    animation: spin 1s linear infinite;\n    -webkit-animation: spin 1s linear infinite;\n}\n\n.ac-pushButton .ac-spinner {\n    color: #0078d7;\n}\n\n.ac-pushButton.primary:enabled .ac-spinner {\n    color: #ffffff;\n}\n\n@keyframes spin {\n    to {\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n@-webkit-keyframes spin {\n    to {\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n\n.ac-overlay-spinner {\n    display: inline-block;\n    border-top-color: transparent !important;\n    -webkit-animation: spin 1s linear infinite;\n    animation: spin 1s linear infinite;\n    border: 2px solid #4ba0ff;\n    border-radius: 50%;\n    width: 18px;\n    height: 18px;\n    left: 50%;\n    position: relative;\n    margin-top: 8px;\n    margin-bottom: 16px;\n}\n\n.input-placeholder,\n::placeholder {\n    color: #707070;\n}\n\ninput[type='number']::-webkit-outer-spin-button,\ninput[type='number']::-webkit-inner-spin-button {\n    -webkit-appearance: none;\n    margin: 0;\n}\n\n.ac-input.ac-numberInput.error,\n.ac-input.ac-numberInput.error:focus {\n    border: 1px solid #a4262c;\n    box-shadow: 0 0 0 2px #512022;\n}\n\n.ac-requiredPlaceHolder {\n    font-size: 12px;\n    line-height: 20px;\n    font-family: 'Segoe UI';\n    color: #777777;\n    background-color: inherit;\n}\n\n/* ACV2 specific styles */\n\n/* Invisible overlay to disable user interaction in the card */\n.aaf-invisible-overlay {\n    position: absolute;\n    left: 0;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    background-color: transparent;\n    z-index: 1;\n}\n\n/* Overlay for all elements except buttons */\n.aaf-per-action-progress-overlay {\n    position: absolute;\n    left: 0;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    background-color: rgba(0, 0, 0, 0.4);\n    display: flex;\n    justify-content: center;\n    align-items: center;\n}\n\n/* Overlay for auto-refresh action execution*/\n.aaf-per-action-progress-overlay.refresh {\n    align-items: start;\n    margin-top: 8px;\n    position: static;\n    height: 22px;\n}\n\n@keyframes aaf-spinner-rotate {\n    from {\n        transform: rotate(0);\n    }\n    to {\n        transform: rotate(360deg);\n    }\n}\n\n/* Spinner for all elements except buttons */\n.aaf-spinner {\n    width: 18px;\n    height: 18px;\n    border-radius: 50%;\n    border-width: 2px;\n    border-style: solid;\n    border-color: #4ba0ff #4ba0ff #4ba0ff transparent;\n    animation-name: aaf-spinner-rotate;\n    animation: spin 1s linear infinite;\n}\n\n/* Overlay for default button */\n.ac-pushButton .aaf-per-action-progress-overlay {\n    background-color: #000000;\n}\n\n/* Spinner for default button */\n.ac-pushButton .aaf-spinner {\n    border-color: #4ba0ff #4ba0ff #4ba0ff transparent;\n}\n\n/* Overlay for positive button */\n.ac-pushButton.style-positive .aaf-per-action-progress-overlay {\n    background-color: #4ba0ff;\n}\n\n/* Spinner for positive button */\n.ac-pushButton.style-positive .aaf-spinner {\n    border-color: transparent #000000 #000000 #000000;\n}\n\n/* Overlay for destructive button */\n.ac-pushButton.style-destructive .aaf-per-action-progress-overlay {\n    background-color: #e50000;\n}\n\n/* Spinner for destructive button */\n.ac-pushButton.style-destructive .aaf-spinner {\n    border-color: transparent #000000 #000000 #000000;\n}\n\n.ac-hidden {\n    display: none !important;\n}\n\n.ac-inlineActionButton {\n    overflow: hidden;\n    text-overflow: ellipsis;\n    text-align: center;\n    vertical-align: middle;\n    cursor: pointer;\n    font-family: 'Segoe UI', sans-serif;\n    font-size: 14px;\n    -webkit-user-select: none;\n    -moz-user-select: none;\n    -ms-user-select: none;\n    user-select: none;\n    border: none;\n    background-color: transparent;\n    height: 31px;\n}\n\n.ac-inlineActionButton.textOnly {\n    padding: 0 8px;\n}\n\n.ac-inlineActionButton.iconOnly {\n    padding: 0;\n}\n\n.ac-inlineActionButton:hover {\n    background-color: #eeeeee;\n}\n\n.ac-inlineActionButton:active {\n    background-color: #cccccc;\n}\n\n.ac-media-poster {\n}\n\n.ac-media-poster.empty {\n    height: 200px;\n    background-color: #f2f2f2;\n}\n\n.ac-media-playButton {\n    width: 56px;\n    height: 56px;\n    border: 1px solid #eeeeee;\n    border-radius: 28px;\n    box-shadow: 0px 0px 10px #eeeeee;\n    background-color: rgba(255, 255, 255, 0.9);\n    color: black;\n    cursor: pointer;\n}\n\n.ac-media-playButton-arrow {\n    color: black;\n    width: auto !important;\n    height: auto !important;\n}\n\n.ac-media-playButton:hover {\n    background-color: white;\n}\n\n/* Fix for markdown list is breaking in TextBlock*/\n.ac-textBlock > ul,\n.ac-textBlock > ol,\n.ac-textBlock > li {\n    width: auto !important;\n}\n`,"",{version:3,sources:["webpack://./src/util/AdaptiveCardStylesDarkMode.scss"],names:[],mappings:"AAAA;IACI,eAAe;AACnB;;AAEA;IACI,0BAA0B;AAC9B;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,sBAAsB;AAC1B;;AAEA;;IAEI,YAAY;IACZ,aAAa;IACb,YAAY;AAChB;;AAEA;;;;;IAKI,0CAA0C;IAC1C,aAAa;IACb,YAAY;AAChB;;AAEA;;IAEI,2CAA2C;IAC3C,aAAa;IACb,YAAY;AAChB;;AAEA;IACI,iBAAiB;IACjB,sBAAsB;IACtB,eAAe;IACf,gBAAgB;IAChB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,uBAAuB;IACvB,gBAAgB;IAChB,wBAAwB;IACxB,yBAAyB;IACzB,sBAAsB;IACtB,qBAAqB;IACrB,iBAAiB;IACjB,yBAAyB;IACzB,cAAc;IACd,kBAAkB;IAClB,aAAa;IACb,yBAAyB;IACzB,WAAW,EAAE,0BAA0B;AAC3C;;AAEA;;IAEI,2BAA2B;IAC3B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;;;IAGI,0CAA0C;IAC1C,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,qBAAqB;IACrB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,yBAAyB;IACzB,6BAA6B;IAC7B,cAAc;AAClB;;AAEA;IACI,mBAAmB;IACnB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,mBAAmB;IACnB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,yBAAyB;IACzB,yBAAyB;IACzB,kBAAkB;IAClB,wBAAwB;AAC5B;;AAEA;IACI,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,yBAAyB;IACzB,wBAAwB;IACxB,YAAY;AAChB;;AAEA;;IAEI,mBAAmB;IACnB,gBAAgB;IAChB,kBAAkB;IAClB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,uBAAuB;AAC3B;;AAEA;;IAEI,YAAY;IACZ,yBAAyB;AAC7B;;AAEA;IACI,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;;;;;;IAMI,yBAAyB;IACzB,cAAc;AAClB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,gBAAgB;IAChB,sBAAsB;AAC1B;;AAEA;;;IAGI,cAAc;AAClB;;AAEA;;;IAGI,cAAc;AAClB;;AAEA;;IAEI,aAAa;AACjB;;AAEA;;IAEI,yBAAyB;AAC7B;;AAEA;;IAEI,YAAY;AAChB;;AAEA;IACI,YAAY;AAChB;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;IACI,mBAAmB;IACnB,gBAAgB;IAChB,iBAAiB;IACjB,kBAAkB;IAClB,yBAAyB;IACzB,gBAAgB;AACpB;;AAEA;;IAEI,yBAAyB;IACzB,6BAA6B;IAC7B,gBAAgB;IAChB,cAAc;AAClB;;AAEA;IACI,wBAAwB;IACxB,YAAY;IACZ,WAAW;IACX,qBAAqB;IACrB,yDAA8D;IAC9D,aAAa;AACjB;;AAEA;IACI,yDAA6D;AACjE;;AAEA;IACI,wBAAwB;IACxB,YAAY;IACZ,WAAW;IACX,qBAAqB;IACrB,yDAAwD;IACxD,aAAa;IACb,yBAAyB;AAC7B;;AAEA;IACI,yDAAgE;AACpE;;AAEA;IACI,qBAAqB;IACrB,WAAW;IACX,YAAY;IACZ,iBAAiB;IACjB,kBAAkB;IAClB,6BAA6B;IAC7B,kCAAkC;IAClC,0CAA0C;AAC9C;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI;QACI,iCAAiC;QACjC,yBAAyB;IAC7B;AACJ;AACA;IACI;QACI,iCAAiC;QACjC,yBAAyB;IAC7B;AACJ;;AAEA;IACI,qBAAqB;IACrB,wCAAwC;IACxC,0CAA0C;IAC1C,kCAAkC;IAClC,yBAAyB;IACzB,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,SAAS;IACT,kBAAkB;IAClB,eAAe;IACf,mBAAmB;AACvB;;AAEA;;IAEI,cAAc;AAClB;;AAEA;;IAEI,wBAAwB;IACxB,SAAS;AACb;;AAEA;;IAEI,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;IACI,eAAe;IACf,iBAAiB;IACjB,uBAAuB;IACvB,cAAc;IACd,yBAAyB;AAC7B;;AAEA,yBAAyB;;AAEzB,8DAA8D;AAC9D;IACI,kBAAkB;IAClB,OAAO;IACP,MAAM;IACN,WAAW;IACX,YAAY;IACZ,6BAA6B;IAC7B,UAAU;AACd;;AAEA,4CAA4C;AAC5C;IACI,kBAAkB;IAClB,OAAO;IACP,MAAM;IACN,WAAW;IACX,YAAY;IACZ,oCAAoC;IACpC,aAAa;IACb,uBAAuB;IACvB,mBAAmB;AACvB;;AAEA,6CAA6C;AAC7C;IACI,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,YAAY;AAChB;;AAEA;IACI;QACI,oBAAoB;IACxB;IACA;QACI,yBAAyB;IAC7B;AACJ;;AAEA,4CAA4C;AAC5C;IACI,WAAW;IACX,YAAY;IACZ,kBAAkB;IAClB,iBAAiB;IACjB,mBAAmB;IACnB,iDAAiD;IACjD,kCAAkC;IAClC,kCAAkC;AACtC;;AAEA,+BAA+B;AAC/B;IACI,yBAAyB;AAC7B;;AAEA,+BAA+B;AAC/B;IACI,iDAAiD;AACrD;;AAEA,gCAAgC;AAChC;IACI,yBAAyB;AAC7B;;AAEA,gCAAgC;AAChC;IACI,iDAAiD;AACrD;;AAEA,mCAAmC;AACnC;IACI,yBAAyB;AAC7B;;AAEA,mCAAmC;AACnC;IACI,iDAAiD;AACrD;;AAEA;IACI,wBAAwB;AAC5B;;AAEA;IACI,gBAAgB;IAChB,uBAAuB;IACvB,kBAAkB;IAClB,sBAAsB;IACtB,eAAe;IACf,mCAAmC;IACnC,eAAe;IACf,yBAAyB;IACzB,sBAAsB;IACtB,qBAAqB;IACrB,iBAAiB;IACjB,YAAY;IACZ,6BAA6B;IAC7B,YAAY;AAChB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,UAAU;AACd;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;AACA;;AAEA;IACI,aAAa;IACb,yBAAyB;AAC7B;;AAEA;IACI,WAAW;IACX,YAAY;IACZ,yBAAyB;IACzB,mBAAmB;IACnB,gCAAgC;IAChC,0CAA0C;IAC1C,YAAY;IACZ,eAAe;AACnB;;AAEA;IACI,YAAY;IACZ,sBAAsB;IACtB,uBAAuB;AAC3B;;AAEA;IACI,uBAAuB;AAC3B;;AAEA,kDAAkD;AAClD;;;IAGI,sBAAsB;AAC1B",sourcesContent:[".ac-image.ac-selectable {\r\n    cursor: pointer;\r\n}\r\n\r\na.ac-anchor {\r\n    text-decoration: underline;\r\n}\r\n\r\na.ac-anchor:link {\r\n    color: #2899f5;\r\n}\r\n\r\na.ac-anchor:visited {\r\n    color: #2899f5;\r\n}\r\n\r\na.ac-anchor:link:active {\r\n    color: #2899f5;\r\n}\r\n\r\na.ac-anchor:visited:active {\r\n    color: #2899f5;\r\n}\r\n\r\n.ac-container:not(.ac-adaptiveCard) {\r\n    outline: none;\r\n}\r\n\r\n.ac-adaptiveCard {\r\n    outline-color: #006ac1;\r\n}\r\n\r\n.ac-container.ac-selectable,\r\n.ac-columnSet.ac-selectable {\r\n    padding: 0px;\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-container.ac-selectable:hover,\r\n.ac-columnSet.ac-selectable:hover,\r\n.ac-container.ac-selectable:focus,\r\n.ac-columnSet.ac-selectable:focus,\r\na.ac-anchor:focus {\r\n    background-color: rgba(255, 255, 255, 0.1);\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-container.ac-selectable:active,\r\n.ac-columnSet.ac-selectable:active {\r\n    background-color: rgba(255, 255, 255, 0.15);\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-pushButton {\r\n    /*default active*/\r\n    vertical-align: middle;\r\n    cursor: default;\r\n    overflow: hidden;\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    letter-spacing: -0.15px;\r\n    font-weight: 500;\r\n    padding: 6px 8px 6px 8px;\r\n    -webkit-user-select: none;\r\n    -moz-user-select: none;\r\n    -ms-user-select: none;\r\n    user-select: none;\r\n    background-color: #1e1e1e;\r\n    color: #0078d4;\r\n    border-radius: 4px;\r\n    outline: none;\r\n    border: 1px solid #0078d4;\r\n    margin: 2px; /* needed for box-shadow */\r\n}\r\n\r\n.ac-pushButton.primary:enabled,\r\n.ac-pushButton.style-positive:enabled {\r\n    /*primary, positive active*/\r\n    background-color: #0078d4;\r\n    color: #000000;\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-pushButton.primary:hover:enabled,\r\n.ac-pushButton.style-positive:hover:enabled {\r\n    /*primary, positive hover*/\r\n    background-color: #106ebe;\r\n    color: #000000;\r\n    border: 1px solid #106ebe;\r\n}\r\n\r\n.ac-pushButton.primary:active:enabled,\r\n.ac-pushButton.style-positive:active:enabled {\r\n    /*primary, positive press*/\r\n    background-color: #aad2f3;\r\n    color: #000000;\r\n    border: 1px solid #aad2f3;\r\n}\r\n\r\n.ac-pushButton.primary:focus:enabled,\r\n.ac-pushButton.style-positive:focus:enabled {\r\n    /*primary, positive focus*/\r\n    background-color: #106ebe;\r\n    color: #000000;\r\n    border: 1px solid #106ebe;\r\n    box-shadow: 0 0 0 2px #14344f;\r\n}\r\n\r\n.ac-pushButton.primary:disabled,\r\n.ac-pushButton.style-positive:disabled,\r\n.ac-pushButton.style-destructive:disabled {\r\n    /*primary, positive, destructive disabled*/\r\n    background-color: #605e5c;\r\n    color: #000000;\r\n    border: 1px solid #605e5c;\r\n}\r\n\r\n.ac-pushButton.style-destructive:enabled {\r\n    /*destructive active*/\r\n    background-color: #e50000;\r\n    color: #000000;\r\n    border: 1px solid #e50000;\r\n}\r\n\r\n.ac-pushButton.style-destructive:hover:enabled {\r\n    /*destructive hover*/\r\n    background-color: #bf0000;\r\n    color: #000000;\r\n    border: 1px solid #bf0000;\r\n}\r\n\r\n.ac-pushButton.style-destructive:active:enabled {\r\n    /*destructive press*/\r\n    background-color: #ac0202;\r\n    color: #000000;\r\n    border: 1px solid #ac0202;\r\n}\r\n\r\n.ac-pushButton.style-destructive:focus:enabled {\r\n    /*destructive focus*/\r\n    background-color: #e50000;\r\n    color: #000000;\r\n    border: 1px solid #bf0000;\r\n    box-shadow: 0 0 0 2px #490e0e;\r\n}\r\n\r\n.ac-pushButton:hover:enabled {\r\n    /*default hover*/\r\n    background-color: #2b2b2b;\r\n    color: #106ebe;\r\n    border: 1px solid #106ebe;\r\n}\r\n\r\n.ac-pushButton:active:enabled {\r\n    /*default press*/\r\n    background-color: #2b2b2b;\r\n    color: #aad2f3;\r\n    border: 1px solid #aad2f3;\r\n}\r\n\r\n.ac-pushButton:focus:enabled {\r\n    /*default focus*/\r\n    border: 1px solid #106ebe;\r\n    background-color: #2b2b2b;\r\n    box-shadow: 0 0 0 2px #14344f;\r\n    color: #106ebe;\r\n}\r\n\r\n.ac-pushButton:disabled {\r\n    /*default disabled*/\r\n    background-color: #2b2b2b;\r\n    color: #605e5c;\r\n    border: 1px solid #605e5c;\r\n}\r\n\r\n.ac-input {\r\n    /*rest single line*/\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    color: #f3f2f1;\r\n    background-color: inherit;\r\n    border: 1px solid #d2d0ce;\r\n    border-radius: 4px;\r\n    padding: 4px 4px 4px 8px;\r\n}\r\n\r\n.ac-toggleInput {\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    color: #ffffff;\r\n    background-color: inherit;\r\n    padding: 4px 4px 4px 8px;\r\n    border: none;\r\n}\r\n\r\n.ac-dateInput,\r\n.ac-timeInput {\r\n    padding-bottom: 4px;\r\n    padding-top: 4px;\r\n    padding-right: 4px;\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    letter-spacing: -0.15px;\r\n}\r\n\r\n.ac-input.ac-textInput,\r\n.ac-input.ac-numberInput {\r\n    resize: none;\r\n    background-color: #1e1e1e;\r\n}\r\n\r\n.ac-numberInputError {\r\n    border: 1px solid #a4262c;\r\n    box-shadow: 0 0 0 2px #512022;\r\n}\r\n\r\n.ac-input.ac-textInput:focus,\r\n.ac-input.ac-textInput.ac-multiline:focus,\r\n.ac-input.ac-numberInput:focus,\r\n.ac-input.ac-textInput:hover,\r\n.ac-input.ac-textInput.ac-multiline:hover,\r\n.ac-input.ac-numberInput:hover {\r\n    border: 1px solid #0078d4;\r\n    color: #f3f2f1;\r\n}\r\n\r\n.ac-fact-title {\r\n    font-weight: 600;\r\n}\r\n\r\n.ac-fact-value {\r\n    font-weight: 400;\r\n}\r\n\r\n.ac-multiline {\r\n    min-height: 72px;\r\n    box-sizing: border-box;\r\n}\r\n\r\n.ac-input.ac-textInput:focus::placeholder,\r\n.ac-input.ac-textInput.ac-multiline:focus::placeholder,\r\n.ac-input.ac-numberInput:focus::placeholder {\r\n    color: #707070;\r\n}\r\n\r\n.ac-input.ac-textInput::placeholder,\r\n.ac-input.ac-textInput.ac-multiline::placeholder,\r\n.ac-input.ac-numberInput::placeholder {\r\n    color: #707070;\r\n}\r\n\r\n.ac-input,\r\n.ac-multichoiceInput {\r\n    outline: none;\r\n}\r\n\r\n.ac-multichoiceInput:focus,\r\n.ac-multichoiceInput:hover {\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-multiInput,\r\n.ac-singleInput {\r\n    border: none;\r\n}\r\n\r\n.ac-choiceSetInput-expanded {\r\n    border: none;\r\n}\r\n\r\n.ac-choiceSetInput-compact {\r\n    background-color: #1e1e1e;\r\n}\r\n\r\n.ac-input.ac-dropdown {\r\n    padding-bottom: 4px;\r\n    padding-top: 4px;\r\n    padding-left: 8px;\r\n    padding-right: 8px;\r\n    background-color: #1e1e1e;\r\n    appearance: auto;\r\n}\r\n\r\n.ac-input.ac-dropdown:focus,\r\n.ac-input.ac-dropdown:hover {\r\n    border: 1px solid #0078d4;\r\n    box-shadow: 0 0 0 2px #14344f;\r\n    appearance: auto;\r\n    color: #f3f2f1;\r\n}\r\n\r\ninput[type='radio'] {\r\n    -webkit-appearance: none;\r\n    height: 16px;\r\n    width: 16px;\r\n    background-size: 16px;\r\n    background-image: url('./images/dark_mode/radioButtonOff.png');\r\n    outline: none;\r\n}\r\n\r\ninput[type='radio']:checked {\r\n    background-image: url('./images/dark_mode/radioButtonOn.png');\r\n}\r\n\r\ninput[type='checkbox'] {\r\n    -webkit-appearance: none;\r\n    height: 16px;\r\n    width: 16px;\r\n    background-size: 16px;\r\n    background-image: url('./images/dark_mode/checkbox.png');\r\n    outline: none;\r\n    background-color: #1e1e1e;\r\n}\r\n\r\ninput[type='checkbox']:checked {\r\n    background-image: url('./images/dark_mode/checkboxSelected.png');\r\n}\r\n\r\n.ac-spinner {\r\n    display: inline-block;\r\n    width: 16px;\r\n    height: 16px;\r\n    border: 2px solid;\r\n    border-radius: 50%;\r\n    border-top-color: transparent;\r\n    animation: spin 1s linear infinite;\r\n    -webkit-animation: spin 1s linear infinite;\r\n}\r\n\r\n.ac-pushButton .ac-spinner {\r\n    color: #0078d7;\r\n}\r\n\r\n.ac-pushButton.primary:enabled .ac-spinner {\r\n    color: #ffffff;\r\n}\r\n\r\n@keyframes spin {\r\n    to {\r\n        -webkit-transform: rotate(360deg);\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n@-webkit-keyframes spin {\r\n    to {\r\n        -webkit-transform: rotate(360deg);\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n\r\n.ac-overlay-spinner {\r\n    display: inline-block;\r\n    border-top-color: transparent !important;\r\n    -webkit-animation: spin 1s linear infinite;\r\n    animation: spin 1s linear infinite;\r\n    border: 2px solid #4ba0ff;\r\n    border-radius: 50%;\r\n    width: 18px;\r\n    height: 18px;\r\n    left: 50%;\r\n    position: relative;\r\n    margin-top: 8px;\r\n    margin-bottom: 16px;\r\n}\r\n\r\n.input-placeholder,\r\n::placeholder {\r\n    color: #707070;\r\n}\r\n\r\ninput[type='number']::-webkit-outer-spin-button,\r\ninput[type='number']::-webkit-inner-spin-button {\r\n    -webkit-appearance: none;\r\n    margin: 0;\r\n}\r\n\r\n.ac-input.ac-numberInput.error,\r\n.ac-input.ac-numberInput.error:focus {\r\n    border: 1px solid #a4262c;\r\n    box-shadow: 0 0 0 2px #512022;\r\n}\r\n\r\n.ac-requiredPlaceHolder {\r\n    font-size: 12px;\r\n    line-height: 20px;\r\n    font-family: 'Segoe UI';\r\n    color: #777777;\r\n    background-color: inherit;\r\n}\r\n\r\n/* ACV2 specific styles */\r\n\r\n/* Invisible overlay to disable user interaction in the card */\r\n.aaf-invisible-overlay {\r\n    position: absolute;\r\n    left: 0;\r\n    top: 0;\r\n    width: 100%;\r\n    height: 100%;\r\n    background-color: transparent;\r\n    z-index: 1;\r\n}\r\n\r\n/* Overlay for all elements except buttons */\r\n.aaf-per-action-progress-overlay {\r\n    position: absolute;\r\n    left: 0;\r\n    top: 0;\r\n    width: 100%;\r\n    height: 100%;\r\n    background-color: rgba(0, 0, 0, 0.4);\r\n    display: flex;\r\n    justify-content: center;\r\n    align-items: center;\r\n}\r\n\r\n/* Overlay for auto-refresh action execution*/\r\n.aaf-per-action-progress-overlay.refresh {\r\n    align-items: start;\r\n    margin-top: 8px;\r\n    position: static;\r\n    height: 22px;\r\n}\r\n\r\n@keyframes aaf-spinner-rotate {\r\n    from {\r\n        transform: rotate(0);\r\n    }\r\n    to {\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n\r\n/* Spinner for all elements except buttons */\r\n.aaf-spinner {\r\n    width: 18px;\r\n    height: 18px;\r\n    border-radius: 50%;\r\n    border-width: 2px;\r\n    border-style: solid;\r\n    border-color: #4ba0ff #4ba0ff #4ba0ff transparent;\r\n    animation-name: aaf-spinner-rotate;\r\n    animation: spin 1s linear infinite;\r\n}\r\n\r\n/* Overlay for default button */\r\n.ac-pushButton .aaf-per-action-progress-overlay {\r\n    background-color: #000000;\r\n}\r\n\r\n/* Spinner for default button */\r\n.ac-pushButton .aaf-spinner {\r\n    border-color: #4ba0ff #4ba0ff #4ba0ff transparent;\r\n}\r\n\r\n/* Overlay for positive button */\r\n.ac-pushButton.style-positive .aaf-per-action-progress-overlay {\r\n    background-color: #4ba0ff;\r\n}\r\n\r\n/* Spinner for positive button */\r\n.ac-pushButton.style-positive .aaf-spinner {\r\n    border-color: transparent #000000 #000000 #000000;\r\n}\r\n\r\n/* Overlay for destructive button */\r\n.ac-pushButton.style-destructive .aaf-per-action-progress-overlay {\r\n    background-color: #e50000;\r\n}\r\n\r\n/* Spinner for destructive button */\r\n.ac-pushButton.style-destructive .aaf-spinner {\r\n    border-color: transparent #000000 #000000 #000000;\r\n}\r\n\r\n.ac-hidden {\r\n    display: none !important;\r\n}\r\n\r\n.ac-inlineActionButton {\r\n    overflow: hidden;\r\n    text-overflow: ellipsis;\r\n    text-align: center;\r\n    vertical-align: middle;\r\n    cursor: pointer;\r\n    font-family: 'Segoe UI', sans-serif;\r\n    font-size: 14px;\r\n    -webkit-user-select: none;\r\n    -moz-user-select: none;\r\n    -ms-user-select: none;\r\n    user-select: none;\r\n    border: none;\r\n    background-color: transparent;\r\n    height: 31px;\r\n}\r\n\r\n.ac-inlineActionButton.textOnly {\r\n    padding: 0 8px;\r\n}\r\n\r\n.ac-inlineActionButton.iconOnly {\r\n    padding: 0;\r\n}\r\n\r\n.ac-inlineActionButton:hover {\r\n    background-color: #eeeeee;\r\n}\r\n\r\n.ac-inlineActionButton:active {\r\n    background-color: #cccccc;\r\n}\r\n\r\n.ac-media-poster {\r\n}\r\n\r\n.ac-media-poster.empty {\r\n    height: 200px;\r\n    background-color: #f2f2f2;\r\n}\r\n\r\n.ac-media-playButton {\r\n    width: 56px;\r\n    height: 56px;\r\n    border: 1px solid #eeeeee;\r\n    border-radius: 28px;\r\n    box-shadow: 0px 0px 10px #eeeeee;\r\n    background-color: rgba(255, 255, 255, 0.9);\r\n    color: black;\r\n    cursor: pointer;\r\n}\r\n\r\n.ac-media-playButton-arrow {\r\n    color: black;\r\n    width: auto !important;\r\n    height: auto !important;\r\n}\r\n\r\n.ac-media-playButton:hover {\r\n    background-color: white;\r\n}\r\n\r\n/* Fix for markdown list is breaking in TextBlock*/\r\n.ac-textBlock > ul,\r\n.ac-textBlock > ol,\r\n.ac-textBlock > li {\r\n    width: auto !important;\r\n}\r\n"],sourceRoot:""}]);const y=f},4788:(e,t,r)=>{"use strict";var n;r.d(t,{Q:()=>n}),function(e){e.AppDefinitionUnavailable="AppDefinitionUnavailable",e.BlockedByBrowser="BlockedByBrowser",e.CancelledByUser="CancelledByUser",e.InvalidAuthUrl="InvalidAuthUrl",e.InvalidFrameContext="InvalidFrameContext",e.InvalidOrigin="InvalidOrigin",e.Other="Other",e.AuthWindowReferenceUndefined="AuthWindowReferenceUndefined"}(n||(n={}))},4790:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAehJREFUWAntmM1Kw0AQxydWbKmKHuxHwBZvtX69gL3oG+gD6KXFR7AnKZ58BfEmPoIerQf1EUR6k4KI9qy0osT9Z3chlGySrWnSQwZKQ/ZjfvOfmZAs0YSZYfO0rBnqd07JsA7IIjNSRoPeyDIuKVM5oZbxPW07BwxZxwwmerMFYL77HfhuTtkEUCZuEwwcKOo0uQUvGDiQ24SY7iVAfsInCk2UQrnZFD0clenmcFnJFVnKANOul2l7JUsLGbVb9YgyBv0BCbNRTNPT+4D2rl6Vm4wdaBhm56JLvc/feIB0YUA5NoVGgfEEumadcM86Ahvr2qgwnkCLrBNqrCPuGmXKa0AtZVN0Wy+RLGC/mhkOVpmyfdYJ6Ij1QjowFGDajRJtFjP2Wl0YT4U+WCfsso4A1JqAKsyp0xcGjCcQBt2gii5QYcH4Ag1DVfM8fU4oWTMyTVDV6zmDPb1MWUPORU6lVgWUOZ8iCbNl8poBDOb+x/hXR/M50Os9uq3Nug6F3ukNaPBjUZgwdFY1AikkI0b06BwUeiWXDhdGONECwhrUB6AeX77sXxhpkgHjn3+XOe8EuAZU7bwbYKb+FG2F9F3orUiA/PRKFAqmEI5E4jbBwFOG85m4TTDw5xAOi3A+E/eBVdyiuPn/A/Mu7sgeVfFlAAAAAElFTkSuQmCC"},4801:(e,t,r)=>{"use strict";r.d(t,{Px:()=>o,_5:()=>i,ck:()=>a,h$:()=>n});class n{}function i(e){return"object"==typeof e&&null!==e}function o(e){return void 0!==e&&("string"==typeof e||"number"==typeof e)}function a(e,t){return e===t||(Array.isArray(e)&&Array.isArray(t)?s(e,t):!Array.isArray(e)&&!Array.isArray(t)&&!(!e||"object"!=typeof e||!t||"object"!=typeof t)&&function(e,t){if("object"!=typeof e||"object"!=typeof t)return!1;if(null===e||null===t)return!1;if(void 0===e||void 0===t)return!1;if(e===t)return!0;if(!e||!t)return!1;const r=Object.keys(e);if(!s(r,Object.keys(t)))return!1;let n=!0;for(const i of r)n&&(n=a(e[i],t[i]));return n}(e,t))}function s(e,t){if(e===t)return!0;if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e.length!==t.length)return!1;let r=!0;for(let n=0;n<e.length;n++){const i=e[n],o=t[n];r&&(r=a(i,o))}return r}n.undefinedExpressionValueSubstitutionString=void 0},4802:(e,t,r)=>{"use strict";r.d(t,{Ul:()=>a,cc:()=>o,yd:()=>i});var n=r(748);const i={red:n.wv,green:n.wL,darkOrange:n.je,yellow:n.D9,berry:n.pT,lightGreen:n.EM,marigold:n.KK},o={darkRed:n.ik,cranberry:n.jF,pumpkin:n.Vv,peach:n.WB,gold:n.bK,brass:n.YA,brown:n.Xk,forest:n.CE,seafoam:n.$T,darkGreen:n.AV,lightTeal:n.JW,teal:n.$S,steel:n.s$,blue:n.z1,royalBlue:n.Os,cornflower:n.um,navy:n.Z,lavender:n.Us,purple:n.Zp,grape:n.QH,lilac:n.qn,pink:n.Vu,magenta:n.GC,plum:n.t1,beige:n.Zz,mink:n.QJ,platinum:n.X1,anchor:n.Y3},a={cranberry:n.jF,green:n.wL,orange:n.T_}},4838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0;var r=function(){function e(){}return e.keys={tab:"Tab",enter:"Enter",escape:"Escape",space:" ",up:"ArrowUp",down:"ArrowDown",delete:"Delete"},e}();t.Constants=r},4846:(e,t,r)=>{"use strict";r.d(t,{F:()=>u,b:()=>c});const n="10px",i="12px",o="16px",a="20px",s="24px",l="32px",c={spacingHorizontalNone:"0",spacingHorizontalXXS:"2px",spacingHorizontalXS:"4px",spacingHorizontalSNudge:"6px",spacingHorizontalS:"8px",spacingHorizontalMNudge:n,spacingHorizontalM:i,spacingHorizontalL:o,spacingHorizontalXL:a,spacingHorizontalXXL:s,spacingHorizontalXXXL:l},u={spacingVerticalNone:"0",spacingVerticalXXS:"2px",spacingVerticalXS:"4px",spacingVerticalSNudge:"6px",spacingVerticalS:"8px",spacingVerticalMNudge:n,spacingVerticalM:i,spacingVerticalL:o,spacingVerticalXL:a,spacingVerticalXXL:s,spacingVerticalXXXL:l}},4864:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(3798),t),i(r(397),t)},4869:(e,t,r)=>{"use strict";var n;r.d(t,{d:()=>n}),function(e){e.USGOV_DOD="https://pf.events.data.microsoft.com/OneCollector/1.0/",e.USGOV_DOJ="https://tb.events.data.microsoft.com/OneCollector/1.0/",e.PUBLIC="https://browser.events.data.microsoft.com/OneCollector/1.0/",e.CUSTOMER_CONTENT="",e.EUDB="https://eu-office.events.data.microsoft.com/OneCollector/1.0/"}(n||(n={}))},4874:(e,t,r)=>{"use strict";r.d(t,{_:()=>f});var n=r(240),i=r(2517),o=r(1128),a=r(9802),s=r(778),l=r(7841);const c="App failed to call initialize(). Immediate or Loading Screen apps are required to call app.initialize().",u="App failed to call notifySuccess(). Loading screen apps are required to call app.notifySuccess() when the app is loaded.";class d{constructor(e){this.getOCDIWarning=()=>{var e;const t=null===(e=this.telemetryWrapper.telemetryService)||void 0===e?void 0:e.getAppSdkVersion();return(0,s.AU)(window.location.href)&&t&&(0,s.Di)(t,n.DX)?n.f:""},this.startTimerToWaitForNofifyCallFromApp=()=>window.setTimeout((()=>{var e,t;window.clearTimeout(this.timerId),this.telemetryWrapper.failAppInitializationScenario(u),this.telemetryWrapper.failExtendedAppInitializationScenario(u),this.appSdkHost.setAppInitInfo({state:i.Jz.Failed,reason:n.Af.AppInitTimeout,appSdkVersion:null===(e=this.telemetryWrapper.telemetryService)||void 0===e?void 0:e.getAppSdkVersion()}),null===(t=this.hubServices.logger)||void 0===t||t.log(o.$.Error,"Error Screen Reason",u+this.getOCDIWarning())}),this.timeToWaitForStateTransitionsInMs),this.startTimerToWaitForInitializeCallFromApp=()=>this.telemetryWrapper.usingCachedApp?window.setTimeout((()=>{var e,t;window.clearTimeout(this.timerId),this.telemetryWrapper.failAppInitializationScenario("Cached app load timed out"),this.telemetryWrapper.failExtendedAppInitializationScenario("Cached app load timed out"),this.appSdkHost.setAppInitInfo({state:i.Jz.Failed,reason:n.Af.CachedAppLoadTimedOut,appSdkVersion:null===(e=this.telemetryWrapper.telemetryService)||void 0===e?void 0:e.getAppSdkVersion()}),null===(t=this.hubServices.logger)||void 0===t||t.log(o.$.Error,"Error Screen Reason",u+this.getOCDIWarning())}),this.timeToWaitForStateTransitionsInMs):this.telemetryWrapper.isLoadingScreenApp()?window.setTimeout((()=>{this.onInitializeCallTimedOutForLoadingScreenApp()}),this.timeToWaitForStateTransitionsInMs):window.setTimeout((()=>{this.onInitializeCallTimedOutForImmediateApp()}),this.timeToWaitForStateTransitionsInMs),this.appSdkHost=e.orchestratorCommandParams.appSdkHost,this.hubServices=e.orchestratorCommandParams.hubServices,this.telemetryWrapper=e.orchestratorCommandParams.telemetryWrapper,this.timeToWaitForStateTransitionsInMs=this.telemetryWrapper.isLoadingScreenApp()?this.getTimeoutValueForLoadingScreenAppInMills():this.getTimeoutValueForImmediateAppInMills(),this.setTimer(e.sdkEventMessage)}setTimer(e){if(null==e.data||null===e.data||"func"in e.data&&null===e.data.func)this.timerId=this.startTimerToWaitForInitializeCallFromApp();else{if(void 0===e.data||null===e.data||void 0===e.data.func||e.data.func!=n.tz.initialize)throw(0,l.jC)(i.O4.INTERNAL_ERROR,`Timer cannot be set correctly by event: ${e.data.func}`);this.timerId=this.startTimerToWaitForNofifyCallFromApp()}}clearTimer(e){const t=e.data.func;t!==n.tz.initialize&&t!==n.tz.appInitialization.success&&t!=n.tz.appInitialization.expectedFailure&&t!=n.tz.appInitialization.failure||window.clearTimeout(this.timerId)}getTimeoutValueForImmediateAppInMills(){var e;const t=function(){const e=(0,a.eZ)().overrideForEachInitStateChangeTimeoutsInMs;return null!=e?e:3e4}();return null!=(0,a.eZ)().overrideForEachInitStateChangeTimeoutsInMs&&(null===(e=this.hubServices.logger)||void 0===e||e.log(o.$.Info,"Feature Flag overrideForEachInitStateChangeTimeoutsInMs",`Using timeout for immediate app: ${t} milliseconds`)),t}getTimeoutValueForLoadingScreenAppInMills(){var e,t;const r=function(){const e=(0,a.eZ)().extendedAppLoadTimeoutInMillis,t=(0,a.eZ)().overrideForEachInitStateChangeTimeoutsInMs;return null!=t?t:null!=e?e:45e3}();return null!=(0,a.eZ)().overrideForEachInitStateChangeTimeoutsInMs&&(null===(e=this.hubServices.logger)||void 0===e||e.log(o.$.Info,"Feature Flag overrideForEachInitStateChangeTimeoutsInMs",`Using timeout for loading screen app: ${r} milliseconds`)),null!=(0,a.eZ)().extendedAppLoadTimeoutInMillis&&(null===(t=this.hubServices.logger)||void 0===t||t.log(o.$.Info,"Feature Flag extendedAppLoadTimeoutInMillis",`Using timeout for loading screen app: ${r} milliseconds`)),r}onInitializeCallTimedOutForImmediateApp(){var e,t;window.clearTimeout(this.timerId),this.telemetryWrapper.failAppInitializationScenario("SDK initialization timed out"),this.telemetryWrapper.failExtendedAppInitializationScenario("SDK initialization timed out"),this.appSdkHost.setAppInitInfo({state:i.Jz.Failed,reason:n.Af.AppInitTimeout,appSdkVersion:null===(e=this.telemetryWrapper.telemetryService)||void 0===e?void 0:e.getAppSdkVersion()}),null===(t=this.hubServices.logger)||void 0===t||t.log(o.$.Error,"Error Bubble Reason",c+this.getOCDIWarning())}onInitializeCallTimedOutForLoadingScreenApp(){var e,t;window.clearTimeout(this.timerId),this.telemetryWrapper.failAppInitializationScenario(c),this.telemetryWrapper.failExtendedAppInitializationScenario(c),this.appSdkHost.setAppInitInfo({state:i.Jz.Failed,reason:n.Af.AppInitTimeout,appSdkVersion:null===(e=this.telemetryWrapper.telemetryService)||void 0===e?void 0:e.getAppSdkVersion()}),null===(t=this.hubServices.logger)||void 0===t||t.log(o.$.Error,"Error Screen Reason",c+this.getOCDIWarning())}}class p{constructor(){}handleEvent(e){return e.orchestratorCommandParams.timerWrapper.timer=new d(e),l.f1}}function f(){return new p}},4919:(e,t,r)=>{"use strict";r.d(t,{I:()=>a,q:()=>s});var n=r(7810);const i=n.createContext(void 0),o="",a=i.Provider;function s(){var e;return null!==(e=n.useContext(i))&&void 0!==e?e:o}},4922:(e,t,r)=>{"use strict";e.exports=r(3394)},4924:(e,t,r)=>{"use strict";r.d(t,{a:()=>y});var n=r(4802),i=r(4502),o=r(4131);const a=i.TQ.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${r}Background1`]:n.yd[t].tint60,[`colorPalette${r}Background2`]:n.yd[t].tint40,[`colorPalette${r}Background3`]:n.yd[t].primary,[`colorPalette${r}Foreground1`]:n.yd[t].shade10,[`colorPalette${r}Foreground2`]:n.yd[t].shade30,[`colorPalette${r}Foreground3`]:n.yd[t].primary,[`colorPalette${r}BorderActive`]:n.yd[t].primary,[`colorPalette${r}Border1`]:n.yd[t].tint40,[`colorPalette${r}Border2`]:n.yd[t].primary};return Object.assign(e,i)}),{});a.colorPaletteYellowForeground1=n.yd.yellow.shade30,a.colorPaletteRedForegroundInverted=n.yd.red.tint20,a.colorPaletteGreenForegroundInverted=n.yd.green.tint20,a.colorPaletteYellowForegroundInverted=n.yd.yellow.tint40;const s=i.dt.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${r}Background2`]:n.cc[t].tint40,[`colorPalette${r}Foreground2`]:n.cc[t].shade30,[`colorPalette${r}BorderActive`]:n.cc[t].primary};return Object.assign(e,i)}),{}),l={...a,...s},c=Object.entries(o.s).reduce(((e,[t,r])=>{const i=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${i}Background1`]:n.Ul[r].tint60,[`colorStatus${i}Background2`]:n.Ul[r].tint40,[`colorStatus${i}Background3`]:n.Ul[r].primary,[`colorStatus${i}Foreground1`]:n.Ul[r].shade10,[`colorStatus${i}Foreground2`]:n.Ul[r].shade30,[`colorStatus${i}Foreground3`]:n.Ul[r].primary,[`colorStatus${i}ForegroundInverted`]:n.Ul[r].tint30,[`colorStatus${i}BorderActive`]:n.Ul[r].primary,[`colorStatus${i}Border1`]:n.Ul[r].tint40,[`colorStatus${i}Border2`]:n.Ul[r].primary};return Object.assign(e,o)}),{});c.colorStatusDangerBackground3Hover=n.Ul[o.s.danger].shade10,c.colorStatusDangerBackground3Pressed=n.Ul[o.s.danger].shade20,c.colorStatusWarningForeground1=n.Ul[o.s.warning].shade20,c.colorStatusWarningForeground3=n.Ul[o.s.warning].shade20,c.colorStatusWarningBorder2=n.Ul[o.s.warning].shade20;var u=r(748),d=r(7980),p=r(8068),f=r(417),h=r(6307),g=r(9591),m=r(4204),v=r(4846);const y=e=>{const t=(e=>({colorNeutralForeground1:u.Oh[14],colorNeutralForeground1Hover:u.Oh[14],colorNeutralForeground1Pressed:u.Oh[14],colorNeutralForeground1Selected:u.Oh[14],colorNeutralForeground2:u.Oh[26],colorNeutralForeground2Hover:u.Oh[14],colorNeutralForeground2Pressed:u.Oh[14],colorNeutralForeground2Selected:u.Oh[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:u.Oh[38],colorNeutralForeground3Hover:u.Oh[26],colorNeutralForeground3Pressed:u.Oh[26],colorNeutralForeground3Selected:u.Oh[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:u.Oh[44],colorNeutralForegroundDisabled:u.Oh[74],colorNeutralForegroundInvertedDisabled:u.c8[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:u.Oh[26],colorNeutralForeground2LinkHover:u.Oh[14],colorNeutralForeground2LinkPressed:u.Oh[14],colorNeutralForeground2LinkSelected:u.Oh[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:u.Oh[14],colorNeutralForegroundStaticInverted:u.ON,colorNeutralForegroundInverted:u.ON,colorNeutralForegroundInvertedHover:u.ON,colorNeutralForegroundInvertedPressed:u.ON,colorNeutralForegroundInvertedSelected:u.ON,colorNeutralForegroundInverted2:u.ON,colorNeutralForegroundOnBrand:u.ON,colorNeutralForegroundInvertedLink:u.ON,colorNeutralForegroundInvertedLinkHover:u.ON,colorNeutralForegroundInvertedLinkPressed:u.ON,colorNeutralForegroundInvertedLinkSelected:u.ON,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:u.ON,colorNeutralBackground1Hover:u.Oh[96],colorNeutralBackground1Pressed:u.Oh[88],colorNeutralBackground1Selected:u.Oh[92],colorNeutralBackground2:u.Oh[98],colorNeutralBackground2Hover:u.Oh[94],colorNeutralBackground2Pressed:u.Oh[86],colorNeutralBackground2Selected:u.Oh[90],colorNeutralBackground3:u.Oh[96],colorNeutralBackground3Hover:u.Oh[92],colorNeutralBackground3Pressed:u.Oh[84],colorNeutralBackground3Selected:u.Oh[88],colorNeutralBackground4:u.Oh[94],colorNeutralBackground4Hover:u.Oh[98],colorNeutralBackground4Pressed:u.Oh[96],colorNeutralBackground4Selected:u.ON,colorNeutralBackground5:u.Oh[92],colorNeutralBackground5Hover:u.Oh[96],colorNeutralBackground5Pressed:u.Oh[94],colorNeutralBackground5Selected:u.Oh[98],colorNeutralBackground6:u.Oh[90],colorNeutralBackgroundInverted:u.Oh[16],colorNeutralBackgroundStatic:u.Oh[20],colorNeutralBackgroundAlpha:u.c8[50],colorNeutralBackgroundAlpha2:u.c8[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:u.Oh[96],colorSubtleBackgroundPressed:u.Oh[88],colorSubtleBackgroundSelected:u.Oh[92],colorSubtleBackgroundLightAlphaHover:u.c8[70],colorSubtleBackgroundLightAlphaPressed:u.c8[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:u.Q1[10],colorSubtleBackgroundInvertedPressed:u.Q1[30],colorSubtleBackgroundInvertedSelected:u.Q1[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:u.Oh[94],colorNeutralBackgroundInvertedDisabled:u.c8[10],colorNeutralStencil1:u.Oh[90],colorNeutralStencil2:u.Oh[98],colorNeutralStencil1Alpha:u.Q1[10],colorNeutralStencil2Alpha:u.Q1[5],colorBackgroundOverlay:u.Q1[40],colorScrollbarOverlay:u.Q1[50],colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:u.ON,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:u.Oh[98],colorNeutralCardBackgroundHover:u.ON,colorNeutralCardBackgroundPressed:u.Oh[96],colorNeutralCardBackgroundSelected:u.Oh[92],colorNeutralCardBackgroundDisabled:u.Oh[94],colorNeutralStrokeAccessible:u.Oh[38],colorNeutralStrokeAccessibleHover:u.Oh[34],colorNeutralStrokeAccessiblePressed:u.Oh[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:u.Oh[82],colorNeutralStroke1Hover:u.Oh[78],colorNeutralStroke1Pressed:u.Oh[70],colorNeutralStroke1Selected:u.Oh[74],colorNeutralStroke2:u.Oh[88],colorNeutralStroke3:u.Oh[94],colorNeutralStrokeSubtle:u.Oh[88],colorNeutralStrokeOnBrand:u.ON,colorNeutralStrokeOnBrand2:u.ON,colorNeutralStrokeOnBrand2Hover:u.ON,colorNeutralStrokeOnBrand2Pressed:u.ON,colorNeutralStrokeOnBrand2Selected:u.ON,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:u.Oh[88],colorNeutralStrokeInvertedDisabled:u.c8[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:u.Q1[5],colorNeutralStrokeAlpha2:u.c8[20],colorStrokeFocus1:u.ON,colorStrokeFocus2:u.Ql,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...d.V,...p.GR,...p.lm,...p.aI,...p.NM,...f.k,...v.b,...v.F,...g.S,...m.L,...t,...l,...c,...(0,h.t)(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...(0,h.t)(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}}},4979:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e={},t={}){Object.keys(t).forEach((r=>{void 0===e[r]?e[r]=t[r]:n(t[r])&&n(e[r])&&Object.keys(t[r]).length>0&&i(e[r],t[r])}))}r.r(t),r.d(t,{A11y:()=>le,Autoplay:()=>de,Controller:()=>se,EffectCards:()=>Te,EffectCoverflow:()=>Ie,EffectCreative:()=>Pe,EffectCube:()=>ke,EffectFade:()=>xe,EffectFlip:()=>_e,FreeMode:()=>fe,Grid:()=>he,HashNavigation:()=>ue,History:()=>ce,Keyboard:()=>J,Lazy:()=>ae,Manipulation:()=>we,Mousewheel:()=>Z,Navigation:()=>ee,Pagination:()=>re,Parallax:()=>ie,Scrollbar:()=>ne,Swiper:()=>X,Thumbs:()=>pe,Virtual:()=>Y,Zoom:()=>oe,default:()=>X});const o={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return i(e,o),e}const s={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return i(e,s),e}class c extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function u(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...u(e)):t.push(e)})),t}function d(e,t){return Array.prototype.filter.call(e,t)}function p(e,t){const r=l(),n=a();let i=[];if(!t&&e instanceof c)return e;if(!e)return new c(i);if("string"==typeof e){const r=e.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){let e="div";0===r.indexOf("<li")&&(e="ul"),0===r.indexOf("<tr")&&(e="tbody"),0!==r.indexOf("<td")&&0!==r.indexOf("<th")||(e="tr"),0===r.indexOf("<tbody")&&(e="table"),0===r.indexOf("<option")&&(e="select");const t=n.createElement(e);t.innerHTML=r;for(let e=0;e<t.childNodes.length;e+=1)i.push(t.childNodes[e])}else i=function(e,t){if("string"!=typeof e)return[e];const r=[],n=t.querySelectorAll(e);for(let e=0;e<n.length;e+=1)r.push(n[e]);return r}(e.trim(),t||n)}else if(e.nodeType||e===r||e===n)i.push(e);else if(Array.isArray(e)){if(e instanceof c)return e;i=e}return new c(function(e){const t=[];for(let r=0;r<e.length;r+=1)-1===t.indexOf(e[r])&&t.push(e[r]);return t}(i))}p.fn=c.prototype;const f="resize scroll".split(" ");function h(e){return function(...t){if(void 0===t[0]){for(let t=0;t<this.length;t+=1)f.indexOf(e)<0&&(e in this[t]?this[t][e]():p(this[t]).trigger(e));return this}return this.on(e,...t)}}h("click"),h("blur"),h("focus"),h("focusin"),h("focusout"),h("keyup"),h("keydown"),h("keypress"),h("submit"),h("change"),h("mousedown"),h("mousemove"),h("mouseup"),h("mouseenter"),h("mouseleave"),h("mouseout"),h("mouseover"),h("touchstart"),h("touchend"),h("touchmove"),h("resize"),h("scroll");const g={addClass:function(...e){const t=u(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=u(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=u(e.map((e=>e.split(" "))));return d(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=u(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let r=0;r<this.length;r+=1)if(2===arguments.length)this[r].setAttribute(e,t);else for(const t in e)this[r][t]=e[t],this[r].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,r,n,i]=e;function o(e){const t=e.target;if(!t)return;const i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),p(t).is(r))n.apply(t,i);else{const e=p(t).parents();for(let t=0;t<e.length;t+=1)p(e[t]).is(r)&&n.apply(e[t],i)}}function a(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof e[1]&&([t,n,i]=e,r=void 0),i||(i=!1);const s=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(r)for(l=0;l<s.length;l+=1){const e=s[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:n,proxyListener:o}),t.addEventListener(e,o,i)}else for(l=0;l<s.length;l+=1){const e=s[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:n,proxyListener:a}),t.addEventListener(e,a,i)}}return this},off:function(...e){let[t,r,n,i]=e;"function"==typeof e[1]&&([t,n,i]=e,r=void 0),i||(i=!1);const o=t.split(" ");for(let e=0;e<o.length;e+=1){const t=o[e];for(let e=0;e<this.length;e+=1){const o=this[e];let a;if(!r&&o.dom7Listeners?a=o.dom7Listeners[t]:r&&o.dom7LiveListeners&&(a=o.dom7LiveListeners[t]),a&&a.length)for(let e=a.length-1;e>=0;e-=1){const r=a[e];n&&r.listener===n||n&&r.listener&&r.listener.dom7proxy&&r.listener.dom7proxy===n?(o.removeEventListener(t,r.proxyListener,i),a.splice(e,1)):n||(o.removeEventListener(t,r.proxyListener,i),a.splice(e,1))}}}return this},trigger:function(...e){const t=l(),r=e[0].split(" "),n=e[1];for(let i=0;i<r.length;i+=1){const o=r[i];for(let r=0;r<this.length;r+=1){const i=this[r];if(t.CustomEvent){const r=new t.CustomEvent(o,{detail:n,bubbles:!0,cancelable:!0});i.dom7EventData=e.filter(((e,t)=>t>0)),i.dispatchEvent(r),i.dom7EventData=[],delete i.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function r(n){n.target===this&&(e.call(this,n),t.off("transitionend",r))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=l();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=l(),t=a(),r=this[0],n=r.getBoundingClientRect(),i=t.body,o=r.clientTop||i.clientTop||0,s=r.clientLeft||i.clientLeft||0,c=r===e?e.scrollY:r.scrollTop,u=r===e?e.scrollX:r.scrollLeft;return{top:n.top+c-o,left:n.left+u-s}}return null},css:function(e,t){const r=l();let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(const t in e)this[n].style[t]=e[t];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,r)=>{e.apply(t,[t,r])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=l(),r=a(),n=this[0];let i,o;if(!n||void 0===e)return!1;if("string"==typeof e){if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);for(i=p(e),o=0;o<i.length;o+=1)if(i[o]===n)return!0;return!1}if(e===r)return n===r;if(e===t)return n===t;if(e.nodeType||e instanceof c){for(i=e.nodeType?[e]:e,o=0;o<i.length;o+=1)if(i[o]===n)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return p([]);if(e<0){const r=t+e;return p(r<0?[]:[this[r]])}return p([this[e]])},append:function(...e){let t;const r=a();for(let n=0;n<e.length;n+=1){t=e[n];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const n=r.createElement("div");for(n.innerHTML=t;n.firstChild;)this[e].appendChild(n.firstChild)}else if(t instanceof c)for(let r=0;r<t.length;r+=1)this[e].appendChild(t[r]);else this[e].appendChild(t)}return this},prepend:function(e){const t=a();let r,n;for(r=0;r<this.length;r+=1)if("string"==typeof e){const i=t.createElement("div");for(i.innerHTML=e,n=i.childNodes.length-1;n>=0;n-=1)this[r].insertBefore(i.childNodes[n],this[r].childNodes[0])}else if(e instanceof c)for(n=0;n<e.length;n+=1)this[r].insertBefore(e[n],this[r].childNodes[0]);else this[r].insertBefore(e,this[r].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&p(this[0].nextElementSibling).is(e)?p([this[0].nextElementSibling]):p([]):this[0].nextElementSibling?p([this[0].nextElementSibling]):p([]):p([])},nextAll:function(e){const t=[];let r=this[0];if(!r)return p([]);for(;r.nextElementSibling;){const n=r.nextElementSibling;e?p(n).is(e)&&t.push(n):t.push(n),r=n}return p(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&p(t.previousElementSibling).is(e)?p([t.previousElementSibling]):p([]):t.previousElementSibling?p([t.previousElementSibling]):p([])}return p([])},prevAll:function(e){const t=[];let r=this[0];if(!r)return p([]);for(;r.previousElementSibling;){const n=r.previousElementSibling;e?p(n).is(e)&&t.push(n):t.push(n),r=n}return p(t)},parent:function(e){const t=[];for(let r=0;r<this.length;r+=1)null!==this[r].parentNode&&(e?p(this[r].parentNode).is(e)&&t.push(this[r].parentNode):t.push(this[r].parentNode));return p(t)},parents:function(e){const t=[];for(let r=0;r<this.length;r+=1){let n=this[r].parentNode;for(;n;)e?p(n).is(e)&&t.push(n):t.push(n),n=n.parentNode}return p(t)},closest:function(e){let t=this;return void 0===e?p([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let r=0;r<this.length;r+=1){const n=this[r].querySelectorAll(e);for(let e=0;e<n.length;e+=1)t.push(n[e])}return p(t)},children:function(e){const t=[];for(let r=0;r<this.length;r+=1){const n=this[r].children;for(let r=0;r<n.length;r+=1)e&&!p(n[r]).is(e)||t.push(n[r])}return p(t)},filter:function(e){return p(d(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(g).forEach((e=>{Object.defineProperty(p.fn,e,{value:g[e],writable:!0})}));const m=p;function v(e,t=0){return setTimeout(e,t)}function y(){return Date.now()}function b(e,t="x"){const r=l();let n,i,o;const a=function(e){const t=l();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}(e);return r.WebKitCSSMatrix?(i=a.transform||a.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new r.WebKitCSSMatrix("none"===i?"":i)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),"x"===t&&(i=r.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=r.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0}function w(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function S(...e){const t=Object(e[0]),r=["__proto__","constructor","prototype"];for(let i=1;i<e.length;i+=1){const o=e[i];if(null!=o&&(n=o,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const e=Object.keys(Object(o)).filter((e=>r.indexOf(e)<0));for(let r=0,n=e.length;r<n;r+=1){const n=e[r],i=Object.getOwnPropertyDescriptor(o,n);void 0!==i&&i.enumerable&&(w(t[n])&&w(o[n])?o[n].__swiper__?t[n]=o[n]:S(t[n],o[n]):!w(t[n])&&w(o[n])?(t[n]={},o[n].__swiper__?t[n]=o[n]:S(t[n],o[n])):t[n]=o[n])}}}var n;return t}function C(e,t,r){e.style.setProperty(t,r)}function A({swiper:e,targetPosition:t,side:r}){const n=l(),i=-e.translate;let o,a=null;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(e.cssModeFrameID);const c=t>i?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{o=(new Date).getTime(),null===a&&(a=o);const l=Math.max(Math.min((o-a)/s,1),0),c=.5-Math.cos(l*Math.PI)/2;let p=i+c*(t-i);if(u(p,t)&&(p=t),e.wrapperEl.scrollTo({[r]:p}),u(p,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:p})})),void n.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=n.requestAnimationFrame(d)};d()}let x,k,E;function _(){return x||(x=function(){const e=l(),t=a();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const r=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,r)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),x}const I={on(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const i=r?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)})),n},once(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function i(...r){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(n,r)}return i.__emitterProxy=t,n.on(e,i,r)},onAny(e,t){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof e)return r;const n=t?"unshift":"push";return r.eventsAnyListeners.indexOf(e)<0&&r.eventsAnyListeners[n](e),r},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const r=t.eventsAnyListeners.indexOf(e);return r>=0&&t.eventsAnyListeners.splice(r,1),t},off(e,t){const r=this;return!r.eventsListeners||r.destroyed?r:r.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach(((n,i)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(i,1)}))})),r):r},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let r,n,i;return"string"==typeof e[0]||Array.isArray(e[0])?(r=e[0],n=e.slice(1,e.length),i=t):(r=e[0].events,n=e[0].data,i=e[0].context||t),n.unshift(i),(Array.isArray(r)?r:r.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(i,[e,...n])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(i,n)}))})),t}},P={updateSize:function(){const e=this;let t,r;const n=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n[0].clientWidth,r=void 0!==e.params.height&&null!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===r&&e.isVertical()||(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),r=r-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(r)&&(r=0),Object.assign(e,{width:t,height:r,size:e.isHorizontal()?t:r}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function r(e,r){return parseFloat(e.getPropertyValue(t(r))||0)}const n=e.params,{$wrapperEl:i,size:o,rtlTranslate:a,wrongRTL:s}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=i.children(`.${e.params.slideClass}`),d=l?e.virtual.slides.length:u.length;let p=[];const f=[],h=[];let g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(e));let m=n.slidesOffsetAfter;"function"==typeof m&&(m=n.slidesOffsetAfter.call(e));const v=e.snapGrid.length,y=e.slidesGrid.length;let b=n.spaceBetween,w=-g,S=0,A=0;if(void 0===o)return;"string"==typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*o),e.virtualSize=-b,a?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(C(e.wrapperEl,"--swiper-centered-offset-before",""),C(e.wrapperEl,"--swiper-centered-offset-after",""));const x=n.grid&&n.grid.rows>1&&e.grid;let k;x&&e.grid.initSlides(d);const E="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<d;i+=1){k=0;const a=u.eq(i);if(x&&e.grid.updateSlide(i,a,d,t),"none"!==a.css("display")){if("auto"===n.slidesPerView){E&&(u[i].style[t("width")]="");const o=getComputedStyle(a[0]),s=a[0].style.transform,l=a[0].style.webkitTransform;if(s&&(a[0].style.transform="none"),l&&(a[0].style.webkitTransform="none"),n.roundLengths)k=e.isHorizontal()?a.outerWidth(!0):a.outerHeight(!0);else{const e=r(o,"width"),t=r(o,"padding-left"),n=r(o,"padding-right"),i=r(o,"margin-left"),s=r(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)k=e+i+s;else{const{clientWidth:r,offsetWidth:o}=a[0];k=e+t+n+i+s+(o-r)}}s&&(a[0].style.transform=s),l&&(a[0].style.webkitTransform=l),n.roundLengths&&(k=Math.floor(k))}else k=(o-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(k=Math.floor(k)),u[i]&&(u[i].style[t("width")]=`${k}px`);u[i]&&(u[i].swiperSlideSize=k),h.push(k),n.centeredSlides?(w=w+k/2+S/2+b,0===S&&0!==i&&(w=w-o/2-b),0===i&&(w=w-o/2-b),Math.abs(w)<.001&&(w=0),n.roundLengths&&(w=Math.floor(w)),A%n.slidesPerGroup==0&&p.push(w),f.push(w)):(n.roundLengths&&(w=Math.floor(w)),(A-Math.min(e.params.slidesPerGroupSkip,A))%e.params.slidesPerGroup==0&&p.push(w),f.push(w),w=w+k+b),e.virtualSize+=k+b,S=k,A+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+m,a&&s&&("slide"===n.effect||"coverflow"===n.effect)&&i.css({width:`${e.virtualSize+n.spaceBetween}px`}),n.setWrapperSize&&i.css({[t("width")]:`${e.virtualSize+n.spaceBetween}px`}),x&&e.grid.updateWrapperSize(k,p,t),!n.centeredSlides){const t=[];for(let r=0;r<p.length;r+=1){let i=p[r];n.roundLengths&&(i=Math.floor(i)),p[r]<=e.virtualSize-o&&t.push(i)}p=t,Math.floor(e.virtualSize-o)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-o)}if(0===p.length&&(p=[0]),0!==n.spaceBetween){const r=e.isHorizontal()&&a?"marginLeft":t("marginRight");u.filter(((e,t)=>!n.cssMode||t!==u.length-1)).css({[r]:`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween;const t=e-o;p=p.map((e=>e<0?-g:e>t?t+m:e))}if(n.centerInsufficientSlides){let e=0;if(h.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween,e<o){const t=(o-e)/2;p.forEach(((e,r)=>{p[r]=e-t})),f.forEach(((e,r)=>{f[r]=e+t}))}}if(Object.assign(e,{slides:u,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){C(e.wrapperEl,"--swiper-centered-offset-before",-p[0]+"px"),C(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],r=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+r))}if(d!==c&&e.emit("slidesLengthChange"),p.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,r=e.$el.hasClass(t);d<=n.maxBackfaceHiddenSlides?r||e.$el.addClass(t):r&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,r=[],n=t.virtual&&t.params.virtual.enabled;let i,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>n?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||m([])).each((e=>{r.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!n)break;r.push(a(e))}else r.push(a(t.activeIndex));for(i=0;i<r.length;i+=1)if(void 0!==r[i]){const e=r[i].offsetHeight;o=e>o?e:o}(o||0===o)&&t.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,r=t.params,{slides:n,rtlTranslate:i,snapGrid:o}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;i&&(a=e),n.removeClass(r.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<n.length;e+=1){const s=n[e];let l=s.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(l-=n[0].swiperSlideOffset);const c=(a+(r.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+r.spaceBetween),u=(a-o[0]+(r.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+r.spaceBetween),d=-(a-l),p=d+t.slidesSizesGrid[e];(d>=0&&d<t.size-1||p>1&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(r.slideVisibleClass)),s.progress=i?-c:c,s.originalProgress=i?-u:u}t.visibleSlides=m(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const r=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*r||0}const r=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:a}=t;const s=o,l=a;0===n?(i=0,o=!0,a=!0):(i=(e-t.minTranslate())/n,o=i<=0,a=i>=1),Object.assign(t,{progress:i,isBeginning:o,isEnd:a}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),o&&!s&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(s&&!o||l&&!a)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:r,$wrapperEl:n,activeIndex:i,realIndex:o}=e,a=e.virtual&&r.virtual.enabled;let s;t.removeClass(`${r.slideActiveClass} ${r.slideNextClass} ${r.slidePrevClass} ${r.slideDuplicateActiveClass} ${r.slideDuplicateNextClass} ${r.slideDuplicatePrevClass}`),s=a?e.$wrapperEl.find(`.${r.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),s.addClass(r.slideActiveClass),r.loop&&(s.hasClass(r.slideDuplicateClass)?n.children(`.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(r.slideDuplicateActiveClass):n.children(`.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(r.slideDuplicateActiveClass));let l=s.nextAll(`.${r.slideClass}`).eq(0).addClass(r.slideNextClass);r.loop&&0===l.length&&(l=t.eq(0),l.addClass(r.slideNextClass));let c=s.prevAll(`.${r.slideClass}`).eq(0).addClass(r.slidePrevClass);r.loop&&0===c.length&&(c=t.eq(-1),c.addClass(r.slidePrevClass)),r.loop&&(l.hasClass(r.slideDuplicateClass)?n.children(`.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicateNextClass):n.children(`.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicateNextClass),c.hasClass(r.slideDuplicateClass)?n.children(`.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicatePrevClass):n.children(`.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,r=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:i,params:o,activeIndex:a,realIndex:s,snapIndex:l}=t;let c,u=e;if(void 0===u){for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?r>=n[e]&&r<n[e+1]-(n[e+1]-n[e])/2?u=e:r>=n[e]&&r<n[e+1]&&(u=e+1):r>=n[e]&&(u=e);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(i.indexOf(r)>=0)c=i.indexOf(r);else{const e=Math.min(o.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/o.slidesPerGroup)}if(c>=i.length&&(c=i.length-1),u===a)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(t,{snapIndex:c,realIndex:d,previousIndex:a,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),s!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,r=t.params,n=m(e).closest(`.${r.slideClass}`)[0];let i,o=!1;if(n)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===n){o=!0,i=e;break}if(!n||!o)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(m(n).attr("data-swiper-slide-index"),10):t.clickedIndex=i,r.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};function T({swiper:e,runCallbacks:t,direction:r,step:n}){const{activeIndex:i,previousIndex:o}=e;let a=r;if(a||(a=i>o?"next":i<o?"prev":"reset"),e.emit(`transition${n}`),t&&i!==o){if("reset"===a)return void e.emit(`slideResetTransition${n}`);e.emit(`slideChangeTransition${n}`),"next"===a?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`)}}const B={slideTo:function(e=0,t=this.params.speed,r=!0,n,i){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const o=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:p,wrapperEl:f,enabled:h}=o;if(o.animating&&s.preventInteractionOnTransition||!h&&!n&&!i)return!1;const g=Math.min(o.params.slidesPerGroupSkip,a);let m=g+Math.floor((a-g)/o.params.slidesPerGroup);m>=l.length&&(m=l.length-1);const v=-l[m];if(s.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*v),r=Math.floor(100*c[e]),n=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=r&&t<n-(n-r)/2?a=e:t>=r&&t<n&&(a=e+1):t>=r&&(a=e)}if(o.initialized&&a!==d){if(!o.allowSlideNext&&v<o.translate&&v<o.minTranslate())return!1;if(!o.allowSlidePrev&&v>o.translate&&v>o.maxTranslate()&&(d||0)!==a)return!1}let y;if(a!==(u||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(v),y=a>d?"next":a<d?"prev":"reset",p&&-v===o.translate||!p&&v===o.translate)return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==s.effect&&o.setTranslate(v),"reset"!==y&&(o.transitionStart(r,y),o.transitionEnd(r,y)),!1;if(s.cssMode){const e=o.isHorizontal(),r=p?v:-v;if(0===t){const t=o.virtual&&o.params.virtual.enabled;t&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),f[e?"scrollLeft":"scrollTop"]=r,t&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._swiperImmediateVirtual=!1}))}else{if(!o.support.smoothScroll)return A({swiper:o,targetPosition:r,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(v),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(r,y),0===t?o.transitionEnd(r,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(r,y))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,r=!0,n){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let o=e;return i.params.loop&&(o+=i.loopedSlides),i.slideTo(o,t,r,n)},slideNext:function(e=this.params.speed,t=!0,r){const n=this,{animating:i,enabled:o,params:a}=n;if(!o)return n;let s=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<a.slidesPerGroupSkip?1:s;if(a.loop){if(i&&a.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return a.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+l,e,t,r)},slidePrev:function(e=this.params.speed,t=!0,r){const n=this,{params:i,animating:o,snapGrid:a,slidesGrid:s,rtlTranslate:l,enabled:c}=n;if(!c)return n;if(i.loop){if(o&&i.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=u(l?n.translate:-n.translate),p=a.map((e=>u(e)));let f=a[p.indexOf(d)-1];if(void 0===f&&i.cssMode){let e;a.forEach(((t,r)=>{d>=t&&(e=r)})),void 0!==e&&(f=a[e>0?e-1:e])}let h=0;if(void 0!==f&&(h=s.indexOf(f),h<0&&(h=n.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(h=h-n.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),i.rewind&&n.isBeginning){const i=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(i,e,t,r)}return n.slideTo(h,e,t,r)},slideReset:function(e=this.params.speed,t=!0,r){return this.slideTo(this.activeIndex,e,t,r)},slideToClosest:function(e=this.params.speed,t=!0,r,n=.5){const i=this;let o=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[s]){const e=i.snapGrid[s];l-e>(i.snapGrid[s+1]-e)*n&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[s-1];l-e<=(i.snapGrid[s]-e)*n&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,r)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:r}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(m(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?o<e.loopedSlides-n/2||o>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),o=r.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),v((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-n?(e.loopFix(),o=r.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),v((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}};function D(e){const t=this,r=a(),n=l(),i=t.touchEventsData,{params:o,touches:s,enabled:c}=t;if(!c)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let u=e;u.originalEvent&&(u=u.originalEvent);let d=m(u.target);if("wrapper"===o.touchEventsTarget&&!d.closest(t.wrapperEl).length)return;if(i.isTouchEvent="touchstart"===u.type,!i.isTouchEvent&&"which"in u&&3===u.which)return;if(!i.isTouchEvent&&"button"in u&&u.button>0)return;if(i.isTouched&&i.isMoved)return;const p=!!o.noSwipingClass&&""!==o.noSwipingClass,f=e.composedPath?e.composedPath():e.path;p&&u.target&&u.target.shadowRoot&&f&&(d=m(f[0]));const h=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,g=!(!u.target||!u.target.shadowRoot);if(o.noSwiping&&(g?function(e,t=this){return function t(r){if(!r||r===a()||r===l())return null;r.assignedSlot&&(r=r.assignedSlot);const n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null}(t)}(h,d[0]):d.closest(h)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!d.closest(o.swipeHandler)[0])return;s.currentX="touchstart"===u.type?u.targetTouches[0].pageX:u.pageX,s.currentY="touchstart"===u.type?u.targetTouches[0].pageY:u.pageY;const v=s.currentX,b=s.currentY,w=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,S=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(w&&(v<=S||v>=n.innerWidth-S)){if("prevent"!==w)return;e.preventDefault()}if(Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=v,s.startY=b,i.touchStartTime=y(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==u.type){let e=!0;d.is(i.focusableElements)&&(e=!1,"SELECT"===d[0].nodeName&&(i.isTouched=!1)),r.activeElement&&m(r.activeElement).is(i.focusableElements)&&r.activeElement!==d[0]&&r.activeElement.blur();const n=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!n||d[0].isContentEditable||u.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",u)}function N(e){const t=a(),r=this,n=r.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:l}=r;if(!l)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",c));if(n.isTouchEvent&&"touchmove"!==c.type)return;const u="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),d="touchmove"===c.type?u.pageX:c.pageX,p="touchmove"===c.type?u.pageY:c.pageY;if(c.preventedByNestedSwiper)return o.startX=d,void(o.startY=p);if(!r.allowTouchMove)return m(c.target).is(n.focusableElements)||(r.allowClick=!1),void(n.isTouched&&(Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=y()));if(n.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(r.isVertical()){if(p<o.startY&&r.translate<=r.maxTranslate()||p>o.startY&&r.translate>=r.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(d<o.startX&&r.translate<=r.maxTranslate()||d>o.startX&&r.translate>=r.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&c.target===t.activeElement&&m(c.target).is(n.focusableElements))return n.isMoved=!0,void(r.allowClick=!1);if(n.allowTouchCallbacks&&r.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;o.currentX=d,o.currentY=p;const f=o.currentX-o.startX,h=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(f**2+h**2)<r.params.threshold)return;if(void 0===n.isScrolling){let e;r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:f*f+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,n.isScrolling=r.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",c),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;r.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation(),n.isMoved||(i.loop&&!i.cssMode&&r.loopFix(),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating&&r.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!i.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",c)),r.emit("sliderMove",c),n.isMoved=!0;let g=r.isHorizontal()?f:h;o.diff=g,g*=i.touchRatio,s&&(g=-g),r.swipeDirection=g>0?"prev":"next",n.currentTranslate=g+n.startTranslate;let v=!0,b=i.resistanceRatio;if(i.touchReleaseOnEdges&&(b=0),g>0&&n.currentTranslate>r.minTranslate()?(v=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+g)**b)):g<0&&n.currentTranslate<r.maxTranslate()&&(v=!1,i.resistance&&(n.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-n.startTranslate-g)**b)),v&&(c.preventedByNestedSwiper=!0),!r.allowSlideNext&&"next"===r.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&"prev"===r.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),r.allowSlidePrev||r.allowSlideNext||(n.currentTranslate=n.startTranslate),i.threshold>0){if(!(Math.abs(g)>i.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&r.freeMode||i.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),r.params.freeMode&&i.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function R(e){const t=this,r=t.touchEventsData,{params:n,touches:i,rtlTranslate:o,slidesGrid:a,enabled:s}=t;if(!s)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),r.allowTouchCallbacks&&t.emit("touchEnd",l),r.allowTouchCallbacks=!1,!r.isTouched)return r.isMoved&&n.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,void(r.startMoving=!1);n.grabCursor&&r.isMoved&&r.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=y(),u=c-r.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),u<300&&c-r.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(r.lastClickTime=y(),v((()=>{t.destroyed||(t.allowClick=!0)})),!r.isTouched||!r.isMoved||!t.swipeDirection||0===i.diff||r.currentTranslate===r.startTranslate)return r.isTouched=!1,r.isMoved=!1,void(r.startMoving=!1);let d;if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,d=n.followFinger?o?t.translate:-t.translate:-r.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:d});let p=0,f=t.slidesSizesGrid[0];for(let e=0;e<a.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==a[e+t]?d>=a[e]&&d<a[e+t]&&(p=e,f=a[e+t]-a[e]):d>=a[e]&&(p=e,f=a[a.length-1]-a[a.length-2])}let h=null,g=null;n.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(h=0));const m=(d-a[p])/f,b=p<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(u>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(m>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?h:p+b):t.slideTo(p)),"prev"===t.swipeDirection&&(m>1-n.longSwipesRatio?t.slideTo(p+b):null!==g&&m<0&&Math.abs(m)>n.longSwipesRatio?t.slideTo(g):t.slideTo(p))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==h?h:p+b),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:p)):l.target===t.navigation.nextEl?t.slideTo(p+b):t.slideTo(p)}}function O(){const e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:i,snapGrid:o}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function z(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function M(){const e=this,{wrapperEl:t,rtlTranslate:r,enabled:n}=e;if(!n)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();i=0===o?0:(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let F=!1;function L(){}const j=(e,t)=>{const r=a(),{params:n,touchEvents:i,el:o,wrapperEl:s,device:l,support:c}=e,u=!!n.nested,d="on"===t?"addEventListener":"removeEventListener",p=t;if(c.touch){const t=!("touchstart"!==i.start||!c.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};o[d](i.start,e.onTouchStart,t),o[d](i.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:u}:u),o[d](i.end,e.onTouchEnd,t),i.cancel&&o[d](i.cancel,e.onTouchEnd,t)}else o[d](i.start,e.onTouchStart,!1),r[d](i.move,e.onTouchMove,u),r[d](i.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&o[d]("click",e.onClick,!0),n.cssMode&&s[d]("scroll",e.onScroll),n.updateOnWindowResize?e[p](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",O,!0):e[p]("observerUpdate",O,!0)},V={attachEvents:function(){const e=this,t=a(),{params:r,support:n}=e;e.onTouchStart=D.bind(e),e.onTouchMove=N.bind(e),e.onTouchEnd=R.bind(e),r.cssMode&&(e.onScroll=M.bind(e)),e.onClick=z.bind(e),n.touch&&!F&&(t.addEventListener("touchstart",L),F=!0),j(e,"on")},detachEvents:function(){j(this,"off")}},H=(e,t)=>e.grid&&t.grid&&t.grid.rows>1,q={addClasses:function(){const e=this,{classNames:t,params:r,rtl:n,$el:i,device:o,support:a}=e,s=function(e,t){const r=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((n=>{e[n]&&r.push(t+n)})):"string"==typeof e&&r.push(t+e)})),r}(["initialized",r.direction,{"pointer-events":!a.touch},{"free-mode":e.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&"column"===r.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...s),i.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},U={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function $(e,t){return function(r={}){const n=Object.keys(r)[0],i=r[n];"object"==typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in i?(!0===e[n]&&(e[n]={enabled:!0}),"object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),S(t,r)):S(t,r)):S(t,r)}}const W={eventsEmitter:I,update:P,translate:{getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:r,translate:n,$wrapperEl:i}=this;if(t.virtualTranslate)return r?-n:n;if(t.cssMode)return n;let o=b(i[0],e);return r&&(o=-o),o||0},setTranslate:function(e,t){const r=this,{rtlTranslate:n,params:i,$wrapperEl:o,wrapperEl:a,progress:s}=r;let l,c=0,u=0;r.isHorizontal()?c=n?-e:e:u=e,i.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),i.cssMode?a[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-c:-u:i.virtualTranslate||o.transform(`translate3d(${c}px, ${u}px, 0px)`),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?c:u;const d=r.maxTranslate()-r.minTranslate();l=0===d?0:(e-r.minTranslate())/d,l!==s&&r.updateProgress(e),r.emit("setTranslate",r.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,r=!0,n=!0,i){const o=this,{params:a,wrapperEl:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let u;if(u=n&&e>l?l:n&&e<c?c:e,o.updateProgress(u),a.cssMode){const e=o.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-u;else{if(!o.support.smoothScroll)return A({swiper:o,targetPosition:-u,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(u),r&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(u),r&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,r&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const r=this;r.params.cssMode||r.$wrapperEl.transition(e),r.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const r=this,{params:n}=r;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),T({swiper:r,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const r=this,{params:n}=r;r.animating=!1,n.cssMode||(r.setTransition(0),T({swiper:r,runCallbacks:e,direction:t,step:"End"}))}},slide:B,loop:{loopCreate:function(){const e=this,t=a(),{params:r,$wrapperEl:n}=e,i=n.children().length>0?m(n.children()[0].parentNode):n;i.children(`.${r.slideClass}.${r.slideDuplicateClass}`).remove();let o=i.children(`.${r.slideClass}`);if(r.loopFillGroupWithBlank){const e=r.slidesPerGroup-o.length%r.slidesPerGroup;if(e!==r.slidesPerGroup){for(let n=0;n<e;n+=1){const e=m(t.createElement("div")).addClass(`${r.slideClass} ${r.slideBlankClass}`);i.append(e)}o=i.children(`.${r.slideClass}`)}}"auto"!==r.slidesPerView||r.loopedSlides||(r.loopedSlides=o.length),e.loopedSlides=Math.ceil(parseFloat(r.loopedSlides||r.slidesPerView,10)),e.loopedSlides+=r.loopAdditionalSlides,e.loopedSlides>o.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);const s=[],l=[];o.each(((e,t)=>{m(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/o.length)*o.length;l.push(o.eq(e)[0]),s.unshift(o.eq(o.length-e-1)[0])}for(let e=0;e<l.length;e+=1)i.append(m(l[e].cloneNode(!0)).addClass(r.slideDuplicateClass));for(let e=s.length-1;e>=0;e-=1)i.prepend(m(s[e].cloneNode(!0)).addClass(r.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:r,loopedSlides:n,allowSlidePrev:i,allowSlideNext:o,snapGrid:a,rtlTranslate:s}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-a[t]-e.getTranslate();t<n?(l=r.length-3*n+t,l+=n,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)):t>=r.length-n&&(l=-r.length+t+n,l+=n,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)),e.allowSlidePrev=i,e.allowSlideNext=o,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:r}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),r.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;r.style.cursor="move",r.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:V,breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:r,loopedSlides:n=0,params:i,$el:o}=e,a=i.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const s=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const l=(s in a?a[s]:void 0)||e.originalParams,c=H(e,i),u=H(e,l),d=i.enabled;c&&!u?(o.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(o.addClass(`${i.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===i.grid.fill)&&o.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const r=i[t]&&i[t].enabled,n=l[t]&&l[t].enabled;r&&!n&&e[t].disable(),!r&&n&&e[t].enable()}));const p=l.direction&&l.direction!==i.direction,f=i.loop&&(l.slidesPerView!==i.slidesPerView||p);p&&r&&e.changeDirection(),S(e.params,l);const h=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!h?e.disable():!d&&h&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",l),f&&r&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t="window",r){if(!e||"container"===t&&!r)return;let n=!1;const i=l(),o="window"===t?i.innerHeight:r.clientHeight,a=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<a.length;e+=1){const{point:o,value:s}=a[e];"window"===t?i.matchMedia(`(min-width: ${s}px)`).matches&&(n=o):s<=r.clientWidth&&(n=o)}return n||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:r}=e,{slidesOffsetBefore:n}=r;if(n){const t=e.slides.length-1,r=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>r}else e.isLocked=1===e.snapGrid.length;!0===r.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===r.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:q,images:{loadImage:function(e,t,r,n,i,o){const a=l();let s;function c(){o&&o()}m(e).parent("picture")[0]||e.complete&&i?c():t?(s=new a.Image,s.onload=c,s.onerror=c,n&&(s.sizes=n),r&&(s.srcset=r),t&&(s.src=t)):c()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let r=0;r<e.imagesToLoad.length;r+=1){const n=e.imagesToLoad[r];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},G={};class K{constructor(...e){let t,r;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?r=e[0]:[t,r]=e,r||(r={}),r=S({},r),t&&!r.el&&(r.el=t),r.el&&m(r.el).length>1){const e=[];return m(r.el).each((t=>{const n=S({},r,{el:t});e.push(new K(n))})),e}const n=this;n.__swiper__=!0,n.support=_(),n.device=function(e={}){return k||(k=function({userAgent:e}={}){const t=_(),r=l(),n=r.navigator.platform,i=e||r.navigator.userAgent,o={ios:!1,android:!1},a=r.screen.width,s=r.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/);let u=i.match(/(iPad).*OS\s([\d_]+)/);const d=i.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===n;let h="MacIntel"===n;return!u&&h&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${s}`)>=0&&(u=i.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),h=!1),c&&!f&&(o.os="android",o.android=!0),(u||p||d)&&(o.os="ios",o.ios=!0),o}(e)),k}({userAgent:r.userAgent}),n.browser=(E||(E=function(){const e=l();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),E),n.eventsListeners={},n.eventsAnyListeners=[],n.modules=[...n.__modules__],r.modules&&Array.isArray(r.modules)&&n.modules.push(...r.modules);const i={};n.modules.forEach((e=>{e({swiper:n,extendParams:$(r,i),on:n.on.bind(n),once:n.once.bind(n),off:n.off.bind(n),emit:n.emit.bind(n)})}));const o=S({},U,i);return n.params=S({},o,G,r),n.originalParams=S({},n.params),n.passedParams=S({},r),n.params&&n.params.on&&Object.keys(n.params.on).forEach((e=>{n.on(e,n.params.on[e])})),n.params&&n.params.onAny&&n.onAny(n.params.onAny),n.$=m,Object.assign(n,{enabled:n.params.enabled,el:t,classNames:[],slides:m(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===n.params.direction,isVertical:()=>"vertical"===n.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return n.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},n.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},n.support.touch||!n.params.simulateTouch?n.touchEventsTouch:n.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:n.params.focusableElements,lastClickTime:y(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:n.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),n.emit("_swiper"),n.params.init&&n.init(),n}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const r=this;e=Math.min(Math.max(e,0),1);const n=r.minTranslate(),i=(r.maxTranslate()-n)*e+n;r.translateTo(i,void 0===t?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((r=>{const n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:r,slides:n,slidesGrid:i,slidesSizesGrid:o,size:a,activeIndex:s}=this;let l=1;if(r.centeredSlides){let e,t=n[s].swiperSlideSize;for(let r=s+1;r<n.length;r+=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,l+=1,t>a&&(e=!0));for(let r=s-1;r>=0;r-=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=s+1;e<n.length;e+=1)(t?i[e]+o[e]-i[s]<a:i[e]-i[s]<a)&&(l+=1);else for(let e=s-1;e>=0;e-=1)i[s]-i[e]<a&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:r}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,r=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}let i;r.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(n(),e.params.autoHeight&&e.updateAutoHeight()):(i=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||n()),r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const r=this,n=r.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(r.$el.removeClass(`${r.params.containerModifierClass}${n}`).addClass(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),r.emit("changeDirection"),t&&r.update()),r}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const r=m(e||t.params.el);if(!(e=r[0]))return!1;e.swiper=t;const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=m(e.shadowRoot.querySelector(n()));return t.children=e=>r.children(e),t}return r.children?r.children(n()):m(r).children(n())})();if(0===i.length&&t.params.createElements){const e=a().createElement("div");i=m(e),e.className=t.params.wrapperClass,r.append(e),r.children(`.${t.params.slideClass}`).each((e=>{i.append(e)}))}return Object.assign(t,{$el:r,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===r.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===r.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}init(e){const t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const r=this,{params:n,$el:i,$wrapperEl:o,slides:a}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((e=>{r.off(e)})),!1!==e&&(r.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(r)),r.destroyed=!0),null}static extendDefaults(e){S(G,e)}static get extendedDefaults(){return G}static get defaults(){return U}static installModule(e){K.prototype.__modules__||(K.prototype.__modules__=[]);const t=K.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>K.installModule(e))),K):(K.installModule(e),K)}}Object.keys(W).forEach((e=>{Object.keys(W[e]).forEach((t=>{K.prototype[t]=W[e][t]}))})),K.use([function({swiper:e,on:t,emit:r}){const n=l();let i=null,o=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(r("beforeResize"),r("resize"))},s=()=>{e&&!e.destroyed&&e.initialized&&r("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==n.ResizeObserver?e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver((t=>{o=n.requestAnimationFrame((()=>{const{width:r,height:n}=e;let i=r,o=n;t.forEach((({contentBoxSize:t,contentRect:r,target:n})=>{n&&n!==e.el||(i=r?r.width:(t[0]||t).inlineSize,o=r?r.height:(t[0]||t).blockSize)})),i===r&&o===n||a()}))})),i.observe(e.el)):(n.addEventListener("resize",a),n.addEventListener("orientationchange",s))})),t("destroy",(()=>{o&&n.cancelAnimationFrame(o),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null),n.removeEventListener("resize",a),n.removeEventListener("orientationchange",s)}))},function({swiper:e,extendParams:t,on:r,emit:n}){const i=[],o=l(),a=(e,t={})=>{const r=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(1===e.length)return void n("observerUpdate",e[0]);const t=function(){n("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)}));r.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.push(r)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)a(t[e])}a(e.$el[0],{childList:e.params.observeSlideChildren}),a(e.$wrapperEl[0],{attributes:!1})}})),r("destroy",(()=>{i.forEach((e=>{e.disconnect()})),i.splice(0,i.length)}))}]);const X=K;function Y({swiper:e,extendParams:t,on:r,emit:n}){let i;function o(t,r){const n=e.params.virtual;if(n.cache&&e.virtual.cache[r])return e.virtual.cache[r];const i=n.renderSlide?m(n.renderSlide.call(e,t,r)):m(`<div class="${e.params.slideClass}" data-swiper-slide-index="${r}">${t}</div>`);return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",r),n.cache&&(e.virtual.cache[r]=i),i}function a(t){const{slidesPerView:r,slidesPerGroup:i,centeredSlides:a}=e.params,{addSlidesBefore:s,addSlidesAfter:l}=e.params.virtual,{from:c,to:u,slides:d,slidesGrid:p,offset:f}=e.virtual;e.params.cssMode||e.updateActiveIndex();const h=e.activeIndex||0;let g,m,v;g=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",a?(m=Math.floor(r/2)+i+l,v=Math.floor(r/2)+i+s):(m=r+(i-1)+l,v=i+s);const y=Math.max((h||0)-v,0),b=Math.min((h||0)+m,d.length-1),w=(e.slidesGrid[y]||0)-(e.slidesGrid[0]||0);function S(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),n("virtualUpdate")}if(Object.assign(e.virtual,{from:y,to:b,offset:w,slidesGrid:e.slidesGrid}),c===y&&u===b&&!t)return e.slidesGrid!==p&&w!==f&&e.slides.css(g,`${w}px`),e.updateProgress(),void n("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:w,from:y,to:b,slides:function(){const e=[];for(let t=y;t<=b;t+=1)e.push(d[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?S():n("virtualUpdate"));const C=[],A=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=c;t<=u;t+=1)(t<y||t>b)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e<d.length;e+=1)e>=y&&e<=b&&(void 0===u||t?A.push(e):(e>u&&A.push(e),e<c&&C.push(e)));A.forEach((t=>{e.$wrapperEl.append(o(d[t],t))})),C.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(o(d[t],t))})),e.$wrapperEl.children(".swiper-slide").css(g,`${w}px`),S()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},r("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||a())})),r("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(i),i=setTimeout((()=>{a()}),100)):a())})),r("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&C(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let r=0;r<t.length;r+=1)t[r]&&e.virtual.slides.push(t[r]);else e.virtual.slides.push(t);a(!0)},prependSlide:function(t){const r=e.activeIndex;let n=r+1,i=1;if(Array.isArray(t)){for(let r=0;r<t.length;r+=1)t[r]&&e.virtual.slides.unshift(t[r]);n=r+t.length,i=t.length}else e.virtual.slides.unshift(t);if(e.params.virtual.cache){const t=e.virtual.cache,r={};Object.keys(t).forEach((e=>{const n=t[e],o=n.attr("data-swiper-slide-index");o&&n.attr("data-swiper-slide-index",parseInt(o,10)+i),r[parseInt(e,10)+i]=n})),e.virtual.cache=r}a(!0),e.slideTo(n,0)},removeSlide:function(t){if(null==t)return;let r=e.activeIndex;if(Array.isArray(t))for(let n=t.length-1;n>=0;n-=1)e.virtual.slides.splice(t[n],1),e.params.virtual.cache&&delete e.virtual.cache[t[n]],t[n]<r&&(r-=1),r=Math.max(r,0);else e.virtual.slides.splice(t,1),e.params.virtual.cache&&delete e.virtual.cache[t],t<r&&(r-=1),r=Math.max(r,0);a(!0),e.slideTo(r,0)},removeAllSlides:function(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),a(!0),e.slideTo(0,0)},update:a})}function J({swiper:e,extendParams:t,on:r,emit:n}){const i=a(),o=l();function s(t){if(!e.enabled)return;const{rtlTranslate:r}=e;let a=t;a.originalEvent&&(a=a.originalEvent);const s=a.keyCode||a.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===s,u=l&&34===s,d=37===s,p=39===s,f=38===s,h=40===s;if(!e.allowSlideNext&&(e.isHorizontal()&&p||e.isVertical()&&h||u))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&d||e.isVertical()&&f||c))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(c||u||d||p||f||h)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const n=e.$el,i=n[0].clientWidth,a=n[0].clientHeight,s=o.innerWidth,l=o.innerHeight,c=e.$el.offset();r&&(c.left-=e.$el[0].scrollLeft);const u=[[c.left,c.top],[c.left+i,c.top],[c.left,c.top+a],[c.left+i,c.top+a]];for(let e=0;e<u.length;e+=1){const r=u[e];if(r[0]>=0&&r[0]<=s&&r[1]>=0&&r[1]<=l){if(0===r[0]&&0===r[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((c||u||d||p)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((u||p)&&!r||(c||d)&&r)&&e.slideNext(),((c||d)&&!r||(u||p)&&r)&&e.slidePrev()):((c||u||f||h)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(u||h)&&e.slideNext(),(c||f)&&e.slidePrev()),n("keyPress",s)}}function c(){e.keyboard.enabled||(m(i).on("keydown",s),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(m(i).off("keydown",s),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),r("init",(()=>{e.params.keyboard.enabled&&c()})),r("destroy",(()=>{e.keyboard.enabled&&u()})),Object.assign(e.keyboard,{enable:c,disable:u})}function Z({swiper:e,extendParams:t,on:r,emit:n}){const i=l();let o;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let a,s=y();const c=[];function u(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function p(t){return!(e.params.mousewheel.thresholdDelta&&t.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&y()-s<e.params.mousewheel.thresholdTime||!(t.delta>=6&&y()-s<60)&&(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),n("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),n("scroll",t.raw)),s=(new i.Date).getTime(),1))}function f(t){let r=t,i=!0;if(!e.enabled)return;const s=e.params.mousewheel;e.params.cssMode&&r.preventDefault();let l=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(l=m(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!l[0].contains(r.target)&&!s.releaseOnEdges)return!0;r.originalEvent&&(r=r.originalEvent);let u=0;const d=e.rtlTranslate?-1:1,f=function(e){let t=0,r=0,n=0,i=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=10*t,i=10*r,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=i,i=0),(n||i)&&e.deltaMode&&(1===e.deltaMode?(n*=40,i*=40):(n*=800,i*=800)),n&&!t&&(t=n<1?-1:1),i&&!r&&(r=i<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:i}}(r);if(s.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(f.pixelX)>Math.abs(f.pixelY)))return!0;u=-f.pixelX*d}else{if(!(Math.abs(f.pixelY)>Math.abs(f.pixelX)))return!0;u=-f.pixelY}else u=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*d:-f.pixelY;if(0===u)return!0;s.invert&&(u=-u);let h=e.getTranslate()+u*s.sensitivity;if(h>=e.minTranslate()&&(h=e.minTranslate()),h<=e.maxTranslate()&&(h=e.maxTranslate()),i=!!e.params.loop||!(h===e.minTranslate()||h===e.maxTranslate()),i&&e.params.nested&&r.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:y(),delta:Math.abs(u),direction:Math.sign(u)},i=a&&t.time<a.time+500&&t.delta<=a.delta&&t.direction===a.direction;if(!i){a=void 0,e.params.loop&&e.loopFix();let l=e.getTranslate()+u*s.sensitivity;const d=e.isBeginning,p=e.isEnd;if(l>=e.minTranslate()&&(l=e.minTranslate()),l<=e.maxTranslate()&&(l=e.maxTranslate()),e.setTransition(0),e.setTranslate(l),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!d&&e.isBeginning||!p&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(o),o=void 0,c.length>=15&&c.shift();const r=c.length?c[c.length-1]:void 0,n=c[0];if(c.push(t),r&&(t.delta>r.delta||t.direction!==r.direction))c.splice(0);else if(c.length>=15&&t.time-n.time<500&&n.delta-t.delta>=1&&t.delta<=6){const r=u>0?.8:.2;a=t,c.splice(0),o=v((()=>{e.slideToClosest(e.params.speed,!0,void 0,r)}),0)}o||(o=v((()=>{a=t,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(i||n("scroll",r),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),l===e.minTranslate()||l===e.maxTranslate())return!0}}else{const r={time:y(),delta:Math.abs(u),direction:Math.sign(u),raw:t};c.length>=2&&c.shift();const n=c.length?c[c.length-1]:void 0;if(c.push(r),n?(r.direction!==n.direction||r.delta>n.delta||r.time>n.time+150)&&p(r):p(r),function(t){const r=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&r.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&r.releaseOnEdges)return!0;return!1}(r))return!0}return r.preventDefault?r.preventDefault():r.returnValue=!1,!1}function h(t){let r=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(r=m(e.params.mousewheel.eventsTarget)),r[t]("mouseenter",u),r[t]("mouseleave",d),r[t]("wheel",f)}function g(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",f),!0):!e.mousewheel.enabled&&(h("on"),e.mousewheel.enabled=!0,!0)}function b(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,f),!0):!!e.mousewheel.enabled&&(h("off"),e.mousewheel.enabled=!1,!0)}r("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&b(),e.params.mousewheel.enabled&&g()})),r("destroy",(()=>{e.params.cssMode&&g(),e.mousewheel.enabled&&b()})),Object.assign(e.mousewheel,{enable:g,disable:b})}function Q(e,t,r,n){const i=a();return e.params.createElements&&Object.keys(n).forEach((o=>{if(!r[o]&&!0===r.auto){let a=e.$el.children(`.${n[o]}`)[0];a||(a=i.createElement("div"),a.className=n[o],e.$el.append(a)),r[o]=a,t[o]=a}})),r}function ee({swiper:e,extendParams:t,on:r,emit:n}){function i(t){let r;return t&&(r=m(t),e.params.uniqueNavElements&&"string"==typeof t&&r.length>1&&1===e.$el.find(t).length&&(r=e.$el.find(t))),r}function o(t,r){const n=e.params.navigation;t&&t.length>0&&(t[r?"addClass":"removeClass"](n.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=r),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](n.lockClass))}function a(){if(e.params.loop)return;const{$nextEl:t,$prevEl:r}=e.navigation;o(r,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function s(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function c(){const t=e.params.navigation;if(e.params.navigation=Q(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const r=i(t.nextEl),n=i(t.prevEl);r&&r.length>0&&r.on("click",l),n&&n.length>0&&n.on("click",s),Object.assign(e.navigation,{$nextEl:r,nextEl:r&&r[0],$prevEl:n,prevEl:n&&n[0]}),e.enabled||(r&&r.addClass(t.lockClass),n&&n.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:r}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),r&&r.length&&(r.off("click",s),r.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},r("init",(()=>{!1===e.params.navigation.enabled?d():(c(),a())})),r("toEdge fromEdge lock unlock",(()=>{a()})),r("destroy",(()=>{u()})),r("enable disable",(()=>{const{$nextEl:t,$prevEl:r}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),r&&r[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),r("click",((t,r)=>{const{$nextEl:i,$prevEl:o}=e.navigation,a=r.target;if(e.params.navigation.hideOnClick&&!m(a).is(o)&&!m(a).is(i)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===a||e.pagination.el.contains(a)))return;let t;i?t=i.hasClass(e.params.navigation.hiddenClass):o&&(t=o.hasClass(e.params.navigation.hiddenClass)),n(!0===t?"navigationShow":"navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),o&&o.toggleClass(e.params.navigation.hiddenClass)}}));const d=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),c(),a()},disable:d,update:a,init:c,destroy:u})}function te(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function re({swiper:e,extendParams:t,on:r,emit:n}){const i="swiper-pagination";let o;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let a=0;function s(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function l(t,r){const{bulletActiveClass:n}=e.params.pagination;t[r]().addClass(`${n}-${r}`)[r]().addClass(`${n}-${r}-${r}`)}function c(){const t=e.rtl,r=e.params.pagination;if(s())return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,c=e.pagination.$el;let u;const d=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>i-1-2*e.loopedSlides&&(u-=i-2*e.loopedSlides),u>d-1&&(u-=d),u<0&&"bullets"!==e.params.paginationType&&(u=d+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===r.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let i,s,d;if(r.dynamicBullets&&(o=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(e.isHorizontal()?"width":"height",o*(r.dynamicMainBullets+4)+"px"),r.dynamicMainBullets>1&&void 0!==e.previousIndex&&(a+=u-(e.previousIndex-e.loopedSlides||0),a>r.dynamicMainBullets-1?a=r.dynamicMainBullets-1:a<0&&(a=0)),i=Math.max(u-a,0),s=i+(Math.min(n.length,r.dynamicMainBullets)-1),d=(s+i)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${r.bulletActiveClass}${e}`)).join(" ")),c.length>1)n.each((e=>{const t=m(e),n=t.index();n===u&&t.addClass(r.bulletActiveClass),r.dynamicBullets&&(n>=i&&n<=s&&t.addClass(`${r.bulletActiveClass}-main`),n===i&&l(t,"prev"),n===s&&l(t,"next"))}));else{const t=n.eq(u),o=t.index();if(t.addClass(r.bulletActiveClass),r.dynamicBullets){const t=n.eq(i),a=n.eq(s);for(let e=i;e<=s;e+=1)n.eq(e).addClass(`${r.bulletActiveClass}-main`);if(e.params.loop)if(o>=n.length){for(let e=r.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass(`${r.bulletActiveClass}-main`);n.eq(n.length-r.dynamicMainBullets-1).addClass(`${r.bulletActiveClass}-prev`)}else l(t,"prev"),l(a,"next");else l(t,"prev"),l(a,"next")}}if(r.dynamicBullets){const i=Math.min(n.length,r.dynamicMainBullets+4),a=(o*i-o)/2-d*o,s=t?"right":"left";n.css(e.isHorizontal()?s:"top",`${a}px`)}}if("fraction"===r.type&&(c.find(te(r.currentClass)).text(r.formatFractionCurrent(u+1)),c.find(te(r.totalClass)).text(r.formatFractionTotal(d))),"progressbar"===r.type){let t;t=r.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const n=(u+1)/d;let i=1,o=1;"horizontal"===t?i=n:o=n,c.find(te(r.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${i}) scaleY(${o})`).transition(e.params.speed)}"custom"===r.type&&r.renderCustom?(c.html(r.renderCustom(e,u+1,d)),n("paginationRender",c[0])):n("paginationUpdate",c[0]),e.params.watchOverflow&&e.enabled&&c[e.isLocked?"addClass":"removeClass"](r.lockClass)}function u(){const t=e.params.pagination;if(s())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el;let o="";if("bullets"===t.type){let n=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&n>r&&(n=r);for(let r=0;r<n;r+=1)t.renderBullet?o+=t.renderBullet.call(e,r,t.bulletClass):o+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;i.html(o),e.pagination.bullets=i.find(te(t.bulletClass))}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,i.html(o)),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,i.html(o)),"custom"!==t.type&&n("paginationRender",e.pagination.$el[0])}function d(){e.params.pagination=Q(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let r=m(t.el);0!==r.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&r.length>1&&(r=e.$el.find(t.el),r.length>1&&(r=r.filter((t=>m(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&r.addClass(t.clickableClass),r.addClass(t.modifierClass+t.type),r.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(r.addClass(`${t.modifierClass}${t.type}-dynamic`),a=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&r.addClass(t.progressbarOppositeClass),t.clickable&&r.on("click",te(t.bulletClass),(function(t){t.preventDefault();let r=m(this).index()*e.params.slidesPerGroup;e.params.loop&&(r+=e.loopedSlides),e.slideTo(r)})),Object.assign(e.pagination,{$el:r,el:r[0]}),e.enabled||r.addClass(t.lockClass))}function p(){const t=e.params.pagination;if(s())return;const r=e.pagination.$el;r.removeClass(t.hiddenClass),r.removeClass(t.modifierClass+t.type),r.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&r.off("click",te(t.bulletClass))}r("init",(()=>{!1===e.params.pagination.enabled?f():(d(),u(),c())})),r("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&c()})),r("snapIndexChange",(()=>{e.params.loop||c()})),r("slidesLengthChange",(()=>{e.params.loop&&(u(),c())})),r("snapGridLengthChange",(()=>{e.params.loop||(u(),c())})),r("destroy",(()=>{p()})),r("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),r("lock unlock",(()=>{c()})),r("click",((t,r)=>{const i=r.target,{$el:o}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&o&&o.length>0&&!m(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=o.hasClass(e.params.pagination.hiddenClass);n(!0===t?"paginationShow":"paginationHide"),o.toggleClass(e.params.pagination.hiddenClass)}}));const f=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),p()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),d(),u(),c()},disable:f,render:u,update:c,init:d,destroy:p})}function ne({swiper:e,extendParams:t,on:r,emit:n}){const i=a();let o,s,l,c,u=!1,d=null,p=null;function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:r,progress:n}=e,{$dragEl:i,$el:o}=t,a=e.params.scrollbar;let c=s,u=(l-s)*n;r?(u=-u,u>0?(c=s-u,u=0):-u+s>l&&(c=l+u)):u<0?(c=s+u,u=0):u+s>l&&(c=l-u),e.isHorizontal()?(i.transform(`translate3d(${u}px, 0, 0)`),i[0].style.width=`${c}px`):(i.transform(`translate3d(0px, ${u}px, 0)`),i[0].style.height=`${c}px`),a.hide&&(clearTimeout(d),o[0].style.opacity=1,d=setTimeout((()=>{o[0].style.opacity=0,o.transition(400)}),1e3))}function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:r,$el:n}=t;r[0].style.width="",r[0].style.height="",l=e.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,c=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),s="auto"===e.params.scrollbar.dragSize?l*c:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?r[0].style.width=`${s}px`:r[0].style.height=`${s}px`,n[0].style.display=c>=1?"none":"",e.params.scrollbar.hide&&(n[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function g(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function y(t){const{scrollbar:r,rtlTranslate:n}=e,{$el:i}=r;let a;a=(g(t)-i.offset()[e.isHorizontal()?"left":"top"]-(null!==o?o:s/2))/(l-s),a=Math.max(Math.min(a,1),0),n&&(a=1-a);const c=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*a;e.updateProgress(c),e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}function b(t){const r=e.params.scrollbar,{scrollbar:i,$wrapperEl:a}=e,{$el:s,$dragEl:l}=i;u=!0,o=t.target===l[0]||t.target===l?g(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),a.transition(100),l.transition(100),y(t),clearTimeout(p),s.transition(0),r.hide&&s.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),n("scrollbarDragStart",t)}function w(t){const{scrollbar:r,$wrapperEl:i}=e,{$el:o,$dragEl:a}=r;u&&(t.preventDefault?t.preventDefault():t.returnValue=!1,y(t),i.transition(0),o.transition(0),a.transition(0),n("scrollbarDragMove",t))}function S(t){const r=e.params.scrollbar,{scrollbar:i,$wrapperEl:o}=e,{$el:a}=i;u&&(u=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),o.transition("")),r.hide&&(clearTimeout(p),p=v((()=>{a.css("opacity",0),a.transition(400)}),1e3)),n("scrollbarDragEnd",t),r.snapOnRelease&&e.slideToClosest())}function C(t){const{scrollbar:r,touchEventsTouch:n,touchEventsDesktop:o,params:a,support:s}=e,l=r.$el;if(!l)return;const c=l[0],u=!(!s.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},d=!(!s.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};if(!c)return;const p="on"===t?"addEventListener":"removeEventListener";s.touch?(c[p](n.start,b,u),c[p](n.move,w,u),c[p](n.end,S,d)):(c[p](o.start,b,u),i[p](o.move,w,u),i[p](o.end,S,d))}function A(){const{scrollbar:t,$el:r}=e;e.params.scrollbar=Q(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const n=e.params.scrollbar;if(!n.el)return;let i=m(n.el);e.params.uniqueNavElements&&"string"==typeof n.el&&i.length>1&&1===r.find(n.el).length&&(i=r.find(n.el)),i.addClass(e.isHorizontal()?n.horizontalClass:n.verticalClass);let o=i.find(`.${e.params.scrollbar.dragClass}`);0===o.length&&(o=m(`<div class="${e.params.scrollbar.dragClass}"></div>`),i.append(o)),Object.assign(t,{$el:i,el:i[0],$dragEl:o,dragEl:o[0]}),n.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&C("on"),i&&i[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function x(){const t=e.params.scrollbar,r=e.scrollbar.$el;r&&r.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&C("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},r("init",(()=>{!1===e.params.scrollbar.enabled?k():(A(),h(),f())})),r("update resize observerUpdate lock unlock",(()=>{h()})),r("setTranslate",(()=>{f()})),r("setTransition",((t,r)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(r)})),r("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),r("destroy",(()=>{x()}));const k=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),x()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),A(),h(),f()},disable:k,updateSize:h,setTranslate:f,init:A,destroy:x})}function ie({swiper:e,extendParams:t,on:r}){t({parallax:{enabled:!1}});const n=(t,r)=>{const{rtl:n}=e,i=m(t),o=n?-1:1,a=i.attr("data-swiper-parallax")||"0";let s=i.attr("data-swiper-parallax-x"),l=i.attr("data-swiper-parallax-y");const c=i.attr("data-swiper-parallax-scale"),u=i.attr("data-swiper-parallax-opacity");if(s||l?(s=s||"0",l=l||"0"):e.isHorizontal()?(s=a,l="0"):(l=a,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*r*o+"%":s*r*o+"px",l=l.indexOf("%")>=0?parseInt(l,10)*r+"%":l*r+"px",null!=u){const e=u-(u-1)*(1-Math.abs(r));i[0].style.opacity=e}if(null==c)i.transform(`translate3d(${s}, ${l}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(r));i.transform(`translate3d(${s}, ${l}, 0px) scale(${e})`)}},i=()=>{const{$el:t,slides:r,progress:i,snapGrid:o}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,i)})),r.each(((t,r)=>{let a=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(r/2)-i*(o.length-1)),a=Math.min(Math.max(a,-1),1),m(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,a)}))}))};r("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),r("init",(()=>{e.params.parallax.enabled&&i()})),r("setTranslate",(()=>{e.params.parallax.enabled&&i()})),r("setTransition",((t,r)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:r}=e;r.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const r=m(e);let n=parseInt(r.attr("data-swiper-parallax-duration"),10)||t;0===t&&(n=0),r.transition(n)}))})(r)}))}function oe({swiper:e,extendParams:t,on:r,emit:n}){const i=l();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o,a,s,c=1,u=!1;const d={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},p={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},f={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let h=1;function g(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,r=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt((n-t)**2+(i-r)**2)}function v(t){const r=e.support,n=e.params.zoom;if(a=!1,s=!1,!r.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;a=!0,d.scaleStart=g(t)}d.$slideEl&&d.$slideEl.length||(d.$slideEl=m(t.target).closest(`.${e.params.slideClass}`),0===d.$slideEl.length&&(d.$slideEl=e.slides.eq(e.activeIndex)),d.$imageEl=d.$slideEl.find(`.${n.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),d.$imageWrapEl=d.$imageEl.parent(`.${n.containerClass}`),d.maxRatio=d.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==d.$imageWrapEl.length)?(d.$imageEl&&d.$imageEl.transition(0),u=!0):d.$imageEl=void 0}function y(t){const r=e.support,n=e.params.zoom,i=e.zoom;if(!r.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;s=!0,d.scaleMove=g(t)}d.$imageEl&&0!==d.$imageEl.length?(r.gestures?i.scale=t.scale*c:i.scale=d.scaleMove/d.scaleStart*c,i.scale>d.maxRatio&&(i.scale=d.maxRatio-1+(i.scale-d.maxRatio+1)**.5),i.scale<n.minRatio&&(i.scale=n.minRatio+1-(n.minRatio-i.scale+1)**.5),d.$imageEl.transform(`translate3d(0,0,0) scale(${i.scale})`)):"gesturechange"===t.type&&v(t)}function w(t){const r=e.device,n=e.support,i=e.params.zoom,o=e.zoom;if(!n.gestures){if(!a||!s)return;if("touchend"!==t.type||"touchend"===t.type&&t.changedTouches.length<2&&!r.android)return;a=!1,s=!1}d.$imageEl&&0!==d.$imageEl.length&&(o.scale=Math.max(Math.min(o.scale,d.maxRatio),i.minRatio),d.$imageEl.transition(e.params.speed).transform(`translate3d(0,0,0) scale(${o.scale})`),c=o.scale,u=!1,1===o.scale&&(d.$slideEl=void 0))}function S(t){const r=e.zoom;if(!d.$imageEl||0===d.$imageEl.length)return;if(e.allowClick=!1,!p.isTouched||!d.$slideEl)return;p.isMoved||(p.width=d.$imageEl[0].offsetWidth,p.height=d.$imageEl[0].offsetHeight,p.startX=b(d.$imageWrapEl[0],"x")||0,p.startY=b(d.$imageWrapEl[0],"y")||0,d.slideWidth=d.$slideEl[0].offsetWidth,d.slideHeight=d.$slideEl[0].offsetHeight,d.$imageWrapEl.transition(0));const n=p.width*r.scale,i=p.height*r.scale;if(!(n<d.slideWidth&&i<d.slideHeight)){if(p.minX=Math.min(d.slideWidth/2-n/2,0),p.maxX=-p.minX,p.minY=Math.min(d.slideHeight/2-i/2,0),p.maxY=-p.minY,p.touchesCurrent.x="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,p.touchesCurrent.y="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,!p.isMoved&&!u){if(e.isHorizontal()&&(Math.floor(p.minX)===Math.floor(p.startX)&&p.touchesCurrent.x<p.touchesStart.x||Math.floor(p.maxX)===Math.floor(p.startX)&&p.touchesCurrent.x>p.touchesStart.x))return void(p.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(p.minY)===Math.floor(p.startY)&&p.touchesCurrent.y<p.touchesStart.y||Math.floor(p.maxY)===Math.floor(p.startY)&&p.touchesCurrent.y>p.touchesStart.y))return void(p.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),p.isMoved=!0,p.currentX=p.touchesCurrent.x-p.touchesStart.x+p.startX,p.currentY=p.touchesCurrent.y-p.touchesStart.y+p.startY,p.currentX<p.minX&&(p.currentX=p.minX+1-(p.minX-p.currentX+1)**.8),p.currentX>p.maxX&&(p.currentX=p.maxX-1+(p.currentX-p.maxX+1)**.8),p.currentY<p.minY&&(p.currentY=p.minY+1-(p.minY-p.currentY+1)**.8),p.currentY>p.maxY&&(p.currentY=p.maxY-1+(p.currentY-p.maxY+1)**.8),f.prevPositionX||(f.prevPositionX=p.touchesCurrent.x),f.prevPositionY||(f.prevPositionY=p.touchesCurrent.y),f.prevTime||(f.prevTime=Date.now()),f.x=(p.touchesCurrent.x-f.prevPositionX)/(Date.now()-f.prevTime)/2,f.y=(p.touchesCurrent.y-f.prevPositionY)/(Date.now()-f.prevTime)/2,Math.abs(p.touchesCurrent.x-f.prevPositionX)<2&&(f.x=0),Math.abs(p.touchesCurrent.y-f.prevPositionY)<2&&(f.y=0),f.prevPositionX=p.touchesCurrent.x,f.prevPositionY=p.touchesCurrent.y,f.prevTime=Date.now(),d.$imageWrapEl.transform(`translate3d(${p.currentX}px, ${p.currentY}px,0)`)}}function C(){const t=e.zoom;d.$slideEl&&e.previousIndex!==e.activeIndex&&(d.$imageEl&&d.$imageEl.transform("translate3d(0,0,0) scale(1)"),d.$imageWrapEl&&d.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,c=1,d.$slideEl=void 0,d.$imageEl=void 0,d.$imageWrapEl=void 0)}function A(t){const r=e.zoom,n=e.params.zoom;if(d.$slideEl||(t&&t.target&&(d.$slideEl=m(t.target).closest(`.${e.params.slideClass}`)),d.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):d.$slideEl=e.slides.eq(e.activeIndex)),d.$imageEl=d.$slideEl.find(`.${n.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),d.$imageWrapEl=d.$imageEl.parent(`.${n.containerClass}`)),!d.$imageEl||0===d.$imageEl.length||!d.$imageWrapEl||0===d.$imageWrapEl.length)return;let o,a,s,l,u,f,h,g,v,y,b,w,S,C,A,x,k,E;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),d.$slideEl.addClass(`${n.zoomedSlideClass}`),void 0===p.touchesStart.x&&t?(o="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,a="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(o=p.touchesStart.x,a=p.touchesStart.y),r.scale=d.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,c=d.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,t?(k=d.$slideEl[0].offsetWidth,E=d.$slideEl[0].offsetHeight,s=d.$slideEl.offset().left+i.scrollX,l=d.$slideEl.offset().top+i.scrollY,u=s+k/2-o,f=l+E/2-a,v=d.$imageEl[0].offsetWidth,y=d.$imageEl[0].offsetHeight,b=v*r.scale,w=y*r.scale,S=Math.min(k/2-b/2,0),C=Math.min(E/2-w/2,0),A=-S,x=-C,h=u*r.scale,g=f*r.scale,h<S&&(h=S),h>A&&(h=A),g<C&&(g=C),g>x&&(g=x)):(h=0,g=0),d.$imageWrapEl.transition(300).transform(`translate3d(${h}px, ${g}px,0)`),d.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${r.scale})`)}function x(){const t=e.zoom,r=e.params.zoom;d.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):d.$slideEl=e.slides.eq(e.activeIndex),d.$imageEl=d.$slideEl.find(`.${r.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),d.$imageWrapEl=d.$imageEl.parent(`.${r.containerClass}`)),d.$imageEl&&0!==d.$imageEl.length&&d.$imageWrapEl&&0!==d.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,c=1,d.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),d.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),d.$slideEl.removeClass(`${r.zoomedSlideClass}`),d.$slideEl=void 0)}function k(t){const r=e.zoom;r.scale&&1!==r.scale?x():A(t)}function E(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function _(){return`.${e.params.slideClass}`}function I(t){const{passiveListener:r}=E(),n=_();e.$wrapperEl[t]("gesturestart",n,v,r),e.$wrapperEl[t]("gesturechange",n,y,r),e.$wrapperEl[t]("gestureend",n,w,r)}function P(){o||(o=!0,I("on"))}function T(){o&&(o=!1,I("off"))}function B(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const r=e.support,{passiveListener:n,activeListenerWithCapture:i}=E(),o=_();r.gestures?(e.$wrapperEl.on(e.touchEvents.start,P,n),e.$wrapperEl.on(e.touchEvents.end,T,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,o,v,n),e.$wrapperEl.on(e.touchEvents.move,o,y,i),e.$wrapperEl.on(e.touchEvents.end,o,w,n),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,o,w,n)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,S,i)}function D(){const t=e.zoom;if(!t.enabled)return;const r=e.support;t.enabled=!1;const{passiveListener:n,activeListenerWithCapture:i}=E(),o=_();r.gestures?(e.$wrapperEl.off(e.touchEvents.start,P,n),e.$wrapperEl.off(e.touchEvents.end,T,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,o,v,n),e.$wrapperEl.off(e.touchEvents.move,o,y,i),e.$wrapperEl.off(e.touchEvents.end,o,w,n),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,o,w,n)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,S,i)}Object.defineProperty(e.zoom,"scale",{get:()=>h,set(e){if(h!==e){const t=d.$imageEl?d.$imageEl[0]:void 0,r=d.$slideEl?d.$slideEl[0]:void 0;n("zoomChange",e,t,r)}h=e}}),r("init",(()=>{e.params.zoom.enabled&&B()})),r("destroy",(()=>{D()})),r("touchStart",((t,r)=>{e.zoom.enabled&&function(t){const r=e.device;d.$imageEl&&0!==d.$imageEl.length&&(p.isTouched||(r.android&&t.cancelable&&t.preventDefault(),p.isTouched=!0,p.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,p.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(r)})),r("touchEnd",((t,r)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!d.$imageEl||0===d.$imageEl.length)return;if(!p.isTouched||!p.isMoved)return p.isTouched=!1,void(p.isMoved=!1);p.isTouched=!1,p.isMoved=!1;let r=300,n=300;const i=f.x*r,o=p.currentX+i,a=f.y*n,s=p.currentY+a;0!==f.x&&(r=Math.abs((o-p.currentX)/f.x)),0!==f.y&&(n=Math.abs((s-p.currentY)/f.y));const l=Math.max(r,n);p.currentX=o,p.currentY=s;const c=p.width*t.scale,u=p.height*t.scale;p.minX=Math.min(d.slideWidth/2-c/2,0),p.maxX=-p.minX,p.minY=Math.min(d.slideHeight/2-u/2,0),p.maxY=-p.minY,p.currentX=Math.max(Math.min(p.currentX,p.maxX),p.minX),p.currentY=Math.max(Math.min(p.currentY,p.maxY),p.minY),d.$imageWrapEl.transition(l).transform(`translate3d(${p.currentX}px, ${p.currentY}px,0)`)}()})),r("doubleTap",((t,r)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&k(r)})),r("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&C()})),r("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&C()})),Object.assign(e.zoom,{enable:B,disable:D,in:A,out:x,toggle:k})}function ae({swiper:e,extendParams:t,on:r,emit:n}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let i=!1,o=!1;function a(t,r=!0){const i=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const o=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),s=o.find(`.${i.elementClass}:not(.${i.loadedClass}):not(.${i.loadingClass})`);!o.hasClass(i.elementClass)||o.hasClass(i.loadedClass)||o.hasClass(i.loadingClass)||s.push(o[0]),0!==s.length&&s.each((t=>{const s=m(t);s.addClass(i.loadingClass);const l=s.attr("data-background"),c=s.attr("data-src"),u=s.attr("data-srcset"),d=s.attr("data-sizes"),p=s.parent("picture");e.loadImage(s[0],c||l,u,d,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(l?(s.css("background-image",`url("${l}")`),s.removeAttr("data-background")):(u&&(s.attr("srcset",u),s.removeAttr("data-srcset")),d&&(s.attr("sizes",d),s.removeAttr("data-sizes")),p.length&&p.children("source").each((e=>{const t=m(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),c&&(s.attr("src",c),s.removeAttr("data-src"))),s.addClass(i.loadedClass).removeClass(i.loadingClass),o.find(`.${i.preloaderClass}`).remove(),e.params.loop&&r){const t=o.attr("data-swiper-slide-index");o.hasClass(e.params.slideDuplicateClass)?a(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1):a(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}n("lazyImageReady",o[0],s[0]),e.params.autoHeight&&e.updateAutoHeight()}})),n("lazyImageLoad",o[0],s[0])}))}function s(){const{$wrapperEl:t,params:r,slides:n,activeIndex:i}=e,s=e.virtual&&r.virtual.enabled,l=r.lazy;let c=r.slidesPerView;function u(e){if(s){if(t.children(`.${r.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(n[e])return!0;return!1}function d(e){return s?m(e).attr("data-swiper-slide-index"):m(e).index()}if("auto"===c&&(c=0),o||(o=!0),e.params.watchSlidesProgress)t.children(`.${r.slideVisibleClass}`).each((e=>{a(s?m(e).attr("data-swiper-slide-index"):m(e).index())}));else if(c>1)for(let e=i;e<i+c;e+=1)u(e)&&a(e);else a(i);if(l.loadPrevNext)if(c>1||l.loadPrevNextAmount&&l.loadPrevNextAmount>1){const e=l.loadPrevNextAmount,t=Math.ceil(c),r=Math.min(i+t+Math.max(e,t),n.length),o=Math.max(i-Math.max(t,e),0);for(let e=i+t;e<r;e+=1)u(e)&&a(e);for(let e=o;e<i;e+=1)u(e)&&a(e)}else{const e=t.children(`.${r.slideNextClass}`);e.length>0&&a(d(e));const n=t.children(`.${r.slidePrevClass}`);n.length>0&&a(d(n))}}function c(){const t=l();if(!e||e.destroyed)return;const r=e.params.lazy.scrollingElement?m(e.params.lazy.scrollingElement):m(t),n=r[0]===t,o=n?t.innerWidth:r[0].offsetWidth,a=n?t.innerHeight:r[0].offsetHeight,u=e.$el.offset(),{rtlTranslate:d}=e;let p=!1;d&&(u.left-=e.$el[0].scrollLeft);const f=[[u.left,u.top],[u.left+e.width,u.top],[u.left,u.top+e.height],[u.left+e.width,u.top+e.height]];for(let e=0;e<f.length;e+=1){const t=f[e];if(t[0]>=0&&t[0]<=o&&t[1]>=0&&t[1]<=a){if(0===t[0]&&0===t[1])continue;p=!0}}const h=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};p?(s(),r.off("scroll",c,h)):i||(i=!0,r.on("scroll",c,h))}r("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),r("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():s())})),r("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&s()})),r("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():s())})),r("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!o)&&(e.params.lazy.checkInView?c():s())})),r("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?c():s())})),r("slideChange",(()=>{const{lazy:t,cssMode:r,watchSlidesProgress:n,touchReleaseOnEdges:i,resistanceRatio:o}=e.params;t.enabled&&(r||n&&(i||0===o))&&s()})),r("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:s,loadInSlide:a})}function se({swiper:e,extendParams:t,on:r}){function n(e,t){const r=function(){let e,t,r;return(n,i)=>{for(t=-1,e=n.length;e-t>1;)r=e+t>>1,n[r]<=i?t=r:e=r;return e}}();let n,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=r(this.x,e),n=i-1,(e-this.x[n])*(this.y[i]-this.y[n])/(this.x[i]-this.x[n])+this.y[n]):0},this}function i(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},r("beforeInit",(()=>{e.controller.control=e.params.controller.control})),r("update",(()=>{i()})),r("resize",(()=>{i()})),r("observerUpdate",(()=>{i()})),r("setTranslate",((t,r,n)=>{e.controller.control&&e.controller.setTranslate(r,n)})),r("setTransition",((t,r,n)=>{e.controller.control&&e.controller.setTransition(r,n)})),Object.assign(e.controller,{setTranslate:function(t,r){const i=e.controller.control;let o,a;const s=e.constructor;function l(t){const r=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(function(t){e.controller.spline||(e.controller.spline=e.params.loop?new n(e.slidesGrid,t.slidesGrid):new n(e.snapGrid,t.snapGrid))}(t),a=-e.controller.spline.interpolate(-r)),a&&"container"!==e.params.controller.by||(o=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),a=(r-e.minTranslate())*o+t.minTranslate()),e.params.controller.inverse&&(a=t.maxTranslate()-a),t.updateProgress(a),t.setTranslate(a,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(i))for(let e=0;e<i.length;e+=1)i[e]!==r&&i[e]instanceof s&&l(i[e]);else i instanceof s&&r!==i&&l(i)},setTransition:function(t,r){const n=e.constructor,i=e.controller.control;let o;function a(r){r.setTransition(t,e),0!==t&&(r.transitionStart(),r.params.autoHeight&&v((()=>{r.updateAutoHeight()})),r.$wrapperEl.transitionEnd((()=>{i&&(r.params.loop&&"slide"===e.params.controller.by&&r.loopFix(),r.transitionEnd())})))}if(Array.isArray(i))for(o=0;o<i.length;o+=1)i[o]!==r&&i[o]instanceof n&&a(i[o]);else i instanceof n&&r!==i&&a(i)}})}function le({swiper:e,extendParams:t,on:r}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let n=null;function i(e){const t=n;0!==t.length&&(t.html(""),t.html(e))}function o(e){e.attr("tabIndex","0")}function a(e){e.attr("tabIndex","-1")}function s(e,t){e.attr("role",t)}function l(e,t){e.attr("aria-roledescription",t)}function c(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function d(e){e.attr("aria-disabled",!1)}function p(t){if(13!==t.keyCode&&32!==t.keyCode)return;const r=e.params.a11y,n=m(t.target);e.navigation&&e.navigation.$nextEl&&n.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?i(r.lastSlideMessage):i(r.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&n.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?i(r.firstSlideMessage):i(r.prevSlideMessage)),e.pagination&&n.is(te(e.params.pagination.bulletClass))&&n[0].click()}function f(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function h(){return f()&&e.params.pagination.clickable}const g=(e,t,r)=>{o(e),"BUTTON"!==e[0].tagName&&(s(e,"button"),e.on("keydown",p)),c(e,r),function(e,t){e.attr("aria-controls",t)}(e,t)},v=()=>{e.a11y.clicked=!0},y=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},b=t=>{if(e.a11y.clicked)return;const r=t.target.closest(`.${e.params.slideClass}`);if(!r||!e.slides.includes(r))return;const n=e.slides.indexOf(r)===e.activeIndex,i=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(r);n||i||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(r),0))},w=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&l(m(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&s(m(e.slides),t.slideRole);const r=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((n,i)=>{const o=m(n),a=e.params.loop?parseInt(o.attr("data-swiper-slide-index"),10):i;c(o,t.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,r))}))};r("beforeInit",(()=>{n=m(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)})),r("afterInit",(()=>{e.params.a11y.enabled&&(()=>{const t=e.params.a11y;e.$el.append(n);const r=e.$el;t.containerRoleDescriptionMessage&&l(r,t.containerRoleDescriptionMessage),t.containerMessage&&c(r,t.containerMessage);const i=e.$wrapperEl,o=t.id||i.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,a=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var s;let u,d;s=o,i.attr("id",s),function(e,t){e.attr("aria-live",t)}(i,a),w(),e.navigation&&e.navigation.$nextEl&&(u=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(d=e.navigation.$prevEl),u&&u.length&&g(u,o,t.nextSlideMessage),d&&d.length&&g(d,o,t.prevSlideMessage),h()&&e.pagination.$el.on("keydown",te(e.params.pagination.bulletClass),p),e.$el.on("focus",b,!0),e.$el.on("pointerdown",v,!0),e.$el.on("pointerup",y,!0)})()})),r("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&w()})),r("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:r}=e.navigation;r&&r.length>0&&(e.isBeginning?(u(r),a(r)):(d(r),o(r))),t&&t.length>0&&(e.isEnd?(u(t),a(t)):(d(t),o(t)))}()})),r("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;f()&&e.pagination.bullets.each((r=>{const n=m(r);e.params.pagination.clickable&&(o(n),e.params.pagination.renderBullet||(s(n,"button"),c(n,t.paginationBulletMessage.replace(/\{\{index\}\}/,n.index()+1)))),n.is(`.${e.params.pagination.bulletActiveClass}`)?n.attr("aria-current","true"):n.removeAttr("aria-current")}))}()})),r("destroy",(()=>{e.params.a11y.enabled&&function(){let t,r;n&&n.length>0&&n.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(r=e.navigation.$prevEl),t&&t.off("keydown",p),r&&r.off("keydown",p),h()&&e.pagination.$el.off("keydown",te(e.params.pagination.bulletClass),p),e.$el.off("focus",b,!0),e.$el.off("pointerdown",v,!0),e.$el.off("pointerup",y,!0)}()}))}function ce({swiper:e,extendParams:t,on:r}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,i={};const o=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=e=>{const t=l();let r;r=e?new URL(e):t.location;const n=r.pathname.slice(1).split("/").filter((e=>""!==e)),i=n.length;return{key:n[i-2],value:n[i-1]}},s=(t,r)=>{const i=l();if(!n||!e.params.history.enabled)return;let a;a=e.params.url?new URL(e.params.url):i.location;const s=e.slides.eq(r);let c=o(s.attr("data-history"));if(e.params.history.root.length>0){let r=e.params.history.root;"/"===r[r.length-1]&&(r=r.slice(0,r.length-1)),c=`${r}/${t}/${c}`}else a.pathname.includes(t)||(c=`${t}/${c}`);e.params.history.keepQuery&&(c+=a.search);const u=i.history.state;u&&u.value===c||(e.params.history.replaceState?i.history.replaceState({value:c},null,c):i.history.pushState({value:c},null,c))},c=(t,r,n)=>{if(r)for(let i=0,a=e.slides.length;i<a;i+=1){const a=e.slides.eq(i);if(o(a.attr("data-history"))===r&&!a.hasClass(e.params.slideDuplicateClass)){const r=a.index();e.slideTo(r,t,n)}}else e.slideTo(0,t,n)},u=()=>{i=a(e.params.url),c(e.params.speed,i.value,!1)};r("init",(()=>{e.params.history.enabled&&(()=>{const t=l();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);n=!0,i=a(e.params.url),(i.key||i.value)&&(c(0,i.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",u))}})()})),r("destroy",(()=>{e.params.history.enabled&&(()=>{const t=l();e.params.history.replaceState||t.removeEventListener("popstate",u)})()})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&s(e.params.history.key,e.activeIndex)})),r("slideChange",(()=>{n&&e.params.cssMode&&s(e.params.history.key,e.activeIndex)}))}function ue({swiper:e,extendParams:t,emit:r,on:n}){let i=!1;const o=a(),s=l();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const c=()=>{r("hashChange");const t=o.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const r=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===r)return;e.slideTo(r)}},u=()=>{if(i&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&s.history&&s.history.replaceState)s.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),r("hashSet");else{const t=e.slides.eq(e.activeIndex),n=t.attr("data-hash")||t.attr("data-history");o.location.hash=n||"",r("hashSet")}};n("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;i=!0;const t=o.location.hash.replace("#","");if(t){const r=0;for(let n=0,i=e.slides.length;n<i;n+=1){const i=e.slides.eq(n);if((i.attr("data-hash")||i.attr("data-history"))===t&&!i.hasClass(e.params.slideDuplicateClass)){const t=i.index();e.slideTo(t,r,e.params.runCallbacksOnInit,!0)}}}e.params.hashNavigation.watchState&&m(s).on("hashchange",c)})()})),n("destroy",(()=>{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&m(s).off("hashchange",c)})),n("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&u()})),n("slideChange",(()=>{i&&e.params.cssMode&&u()}))}function de({swiper:e,extendParams:t,on:r,emit:n}){let i;function o(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let r=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(r=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(i),i=v((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),n("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?l():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),n("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),n("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),n("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?l():(t=e.slideTo(0,e.params.speed,!0,!0),n("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),n("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&o()}),r)}function s(){return void 0===i&&!e.autoplay.running&&(e.autoplay.running=!0,n("autoplayStart"),o(),!0)}function l(){return!!e.autoplay.running&&void 0!==i&&(i&&(clearTimeout(i),i=void 0),e.autoplay.running=!1,n("autoplayStop"),!0)}function c(t){e.autoplay.running&&(e.autoplay.paused||(i&&clearTimeout(i),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,d)})):(e.autoplay.paused=!1,o())))}function u(){const t=a();"hidden"===t.visibilityState&&e.autoplay.running&&c(),"visible"===t.visibilityState&&e.autoplay.paused&&(o(),e.autoplay.paused=!1)}function d(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,d)})),e.autoplay.paused=!1,e.autoplay.running?o():l())}function p(){e.params.autoplay.disableOnInteraction?l():(n("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,d)}))}function f(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,n("autoplayResume"),o())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),r("init",(()=>{e.params.autoplay.enabled&&(s(),a().addEventListener("visibilitychange",u),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",p),e.$el.on("mouseleave",f)))})),r("beforeTransitionStart",((t,r,n)=>{e.autoplay.running&&(n||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(r):l())})),r("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?l():c())})),r("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&o()})),r("destroy",(()=>{e.$el.off("mouseenter",p),e.$el.off("mouseleave",f),e.autoplay.running&&l(),a().removeEventListener("visibilitychange",u)})),Object.assign(e.autoplay,{pause:c,run:o,start:s,stop:l})}function pe({swiper:e,extendParams:t,on:r}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let n=!1,i=!1;function o(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const r=t.clickedIndex,n=t.clickedSlide;if(n&&m(n).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==r)return;let i;if(i=t.params.loop?parseInt(m(t.clickedSlide).attr("data-swiper-slide-index"),10):r,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const r=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(),n=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${i}"]`).eq(0).index();i=void 0===r?n:void 0===n?r:n-t<t-r?n:r}e.slideTo(i)}function a(){const{thumbs:t}=e.params;if(n)return!1;n=!0;const r=e.constructor;if(t.swiper instanceof r)e.thumbs.swiper=t.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1});else if(w(t.swiper)){const n=Object.assign({},t.swiper);Object.assign(n,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new r(n),i=!0}return e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",o),!0}function s(t){const r=e.thumbs.swiper;if(!r||r.destroyed)return;const n="auto"===r.params.slidesPerView?r.slidesPerViewDynamic():r.params.slidesPerView;let i=1;const o=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(i=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),r.slides.removeClass(o),r.params.loop||r.params.virtual&&r.params.virtual.enabled)for(let t=0;t<i;t+=1)r.$wrapperEl.children(`[data-swiper-slide-index="${e.realIndex+t}"]`).addClass(o);else for(let t=0;t<i;t+=1)r.slides.eq(e.realIndex+t).addClass(o);const a=e.params.thumbs.autoScrollOffset,s=a&&!r.params.loop;if(e.realIndex!==r.realIndex||s){let i,o,l=r.activeIndex;if(r.params.loop){r.slides.eq(l).hasClass(r.params.slideDuplicateClass)&&(r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft,l=r.activeIndex);const t=r.slides.eq(l).prevAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index(),n=r.slides.eq(l).nextAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index();i=void 0===t?n:void 0===n?t:n-l==l-t?r.params.slidesPerGroup>1?n:l:n-l<l-t?n:t,o=e.activeIndex>e.previousIndex?"next":"prev"}else i=e.realIndex,o=i>e.previousIndex?"next":"prev";s&&(i+="next"===o?a:-1*a),r.visibleSlidesIndexes&&r.visibleSlidesIndexes.indexOf(i)<0&&(r.params.centeredSlides?i=i>l?i-Math.floor(n/2)+1:i+Math.floor(n/2)-1:i>l&&r.params.slidesPerGroup,r.slideTo(i,t?0:void 0))}}e.thumbs={swiper:null},r("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(a(),s(!0))})),r("slideChange update resize observerUpdate",(()=>{s()})),r("setTransition",((t,r)=>{const n=e.thumbs.swiper;n&&!n.destroyed&&n.setTransition(r)})),r("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&i&&t.destroy()})),Object.assign(e.thumbs,{init:a,update:s})}function fe({swiper:e,extendParams:t,emit:r,once:n}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:r}=e;0===t.velocities.length&&t.velocities.push({position:r[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:r[e.isHorizontal()?"currentX":"currentY"],time:y()})},onTouchEnd:function({currentPos:t}){const{params:i,$wrapperEl:o,rtlTranslate:a,snapGrid:s,touchEventsData:l}=e,c=y()-l.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length<s.length?e.slideTo(s.length-1):e.slideTo(e.slides.length-1);else{if(i.freeMode.momentum){if(l.velocities.length>1){const t=l.velocities.pop(),r=l.velocities.pop(),n=t.position-r.position,o=t.time-r.time;e.velocity=n/o,e.velocity/=2,Math.abs(e.velocity)<i.freeMode.minimumVelocity&&(e.velocity=0),(o>150||y()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=i.freeMode.momentumVelocityRatio,l.velocities.length=0;let t=1e3*i.freeMode.momentumRatio;const c=e.velocity*t;let u=e.translate+c;a&&(u=-u);let d,p=!1;const f=20*Math.abs(e.velocity)*i.freeMode.momentumBounceRatio;let h;if(u<e.maxTranslate())i.freeMode.momentumBounce?(u+e.maxTranslate()<-f&&(u=e.maxTranslate()-f),d=e.maxTranslate(),p=!0,l.allowMomentumBounce=!0):u=e.maxTranslate(),i.loop&&i.centeredSlides&&(h=!0);else if(u>e.minTranslate())i.freeMode.momentumBounce?(u-e.minTranslate()>f&&(u=e.minTranslate()+f),d=e.minTranslate(),p=!0,l.allowMomentumBounce=!0):u=e.minTranslate(),i.loop&&i.centeredSlides&&(h=!0);else if(i.freeMode.sticky){let t;for(let e=0;e<s.length;e+=1)if(s[e]>-u){t=e;break}u=Math.abs(s[t]-u)<Math.abs(s[t-1]-u)||"next"===e.swipeDirection?s[t]:s[t-1],u=-u}if(h&&n("transitionEnd",(()=>{e.loopFix()})),0!==e.velocity){if(t=a?Math.abs((-u-e.translate)/e.velocity):Math.abs((u-e.translate)/e.velocity),i.freeMode.sticky){const r=Math.abs((a?-u:u)-e.translate),n=e.slidesSizesGrid[e.activeIndex];t=r<n?i.speed:r<2*n?1.5*i.speed:2.5*i.speed}}else if(i.freeMode.sticky)return void e.slideToClosest();i.freeMode.momentumBounce&&p?(e.updateProgress(d),e.setTransition(t),e.setTranslate(u),e.transitionStart(!0,e.swipeDirection),e.animating=!0,o.transitionEnd((()=>{e&&!e.destroyed&&l.allowMomentumBounce&&(r("momentumBounce"),e.setTransition(i.speed),setTimeout((()=>{e.setTranslate(d),o.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(r("_freeModeNoMomentumRelease"),e.updateProgress(u),e.setTransition(t),e.setTranslate(u),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,o.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(u),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(i.freeMode.sticky)return void e.slideToClosest();i.freeMode&&r("_freeModeNoMomentumRelease")}(!i.freeMode.momentum||c>=i.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})}function he({swiper:e,extendParams:t}){let r,n,i;t({grid:{rows:1,fill:"column"}}),e.grid={initSlides:t=>{const{slidesPerView:o}=e.params,{rows:a,fill:s}=e.params.grid;n=r/a,i=Math.floor(t/a),r=Math.floor(t/a)===t/a?t:Math.ceil(t/a)*a,"auto"!==o&&"row"===s&&(r=Math.max(r,o*a))},updateSlide:(t,o,a,s)=>{const{slidesPerGroup:l,spaceBetween:c}=e.params,{rows:u,fill:d}=e.params.grid;let p,f,h;if("row"===d&&l>1){const e=Math.floor(t/(l*u)),n=t-u*l*e,i=0===e?l:Math.min(Math.ceil((a-e*u*l)/u),l);h=Math.floor(n/i),f=n-h*i+e*l,p=f+h*r/u,o.css({"-webkit-order":p,order:p})}else"column"===d?(f=Math.floor(t/u),h=t-f*u,(f>i||f===i&&h===u-1)&&(h+=1,h>=u&&(h=0,f+=1))):(h=Math.floor(t/n),f=t-h*n);o.css(s("margin-top"),0!==h?c&&`${c}px`:"")},updateWrapperSize:(t,n,i)=>{const{spaceBetween:o,centeredSlides:a,roundLengths:s}=e.params,{rows:l}=e.params.grid;if(e.virtualSize=(t+o)*r,e.virtualSize=Math.ceil(e.virtualSize/l)-o,e.$wrapperEl.css({[i("width")]:`${e.virtualSize+o}px`}),a){n.splice(0,n.length);const t=[];for(let r=0;r<n.length;r+=1){let i=n[r];s&&(i=Math.floor(i)),n[r]<e.virtualSize+n[0]&&t.push(i)}n.push(...t)}}}}function ge(e){const t=this,{$wrapperEl:r,params:n}=t;if(n.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&r.append(e[t]);else r.append(e);n.loop&&t.loopCreate(),n.observer||t.update()}function me(e){const t=this,{params:r,$wrapperEl:n,activeIndex:i}=t;r.loop&&t.loopDestroy();let o=i+1;if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&n.prepend(e[t]);o=i+e.length}else n.prepend(e);r.loop&&t.loopCreate(),r.observer||t.update(),t.slideTo(o,0,!1)}function ve(e,t){const r=this,{$wrapperEl:n,params:i,activeIndex:o}=r;let a=o;i.loop&&(a-=r.loopedSlides,r.loopDestroy(),r.slides=n.children(`.${i.slideClass}`));const s=r.slides.length;if(e<=0)return void r.prependSlide(t);if(e>=s)return void r.appendSlide(t);let l=a>e?a+1:a;const c=[];for(let t=s-1;t>=e;t-=1){const e=r.slides.eq(t);e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&n.append(t[e]);l=a>e?a+t.length:a}else n.append(t);for(let e=0;e<c.length;e+=1)n.append(c[e]);i.loop&&r.loopCreate(),i.observer||r.update(),i.loop?r.slideTo(l+r.loopedSlides,0,!1):r.slideTo(l,0,!1)}function ye(e){const t=this,{params:r,$wrapperEl:n,activeIndex:i}=t;let o=i;r.loop&&(o-=t.loopedSlides,t.loopDestroy(),t.slides=n.children(`.${r.slideClass}`));let a,s=o;if("object"==typeof e&&"length"in e){for(let r=0;r<e.length;r+=1)a=e[r],t.slides[a]&&t.slides.eq(a).remove(),a<s&&(s-=1);s=Math.max(s,0)}else a=e,t.slides[a]&&t.slides.eq(a).remove(),a<s&&(s-=1),s=Math.max(s,0);r.loop&&t.loopCreate(),r.observer||t.update(),r.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)}function be(){const e=this,t=[];for(let r=0;r<e.slides.length;r+=1)t.push(r);e.removeSlide(t)}function we({swiper:e}){Object.assign(e,{appendSlide:ge.bind(e),prependSlide:me.bind(e),addSlide:ve.bind(e),removeSlide:ye.bind(e),removeAllSlides:be.bind(e)})}function Se(e){const{effect:t,swiper:r,on:n,setTranslate:i,setTransition:o,overwriteParams:a,perspective:s,recreateShadows:l,getEffectParams:c}=e;let u;n("beforeInit",(()=>{if(r.params.effect!==t)return;r.classNames.push(`${r.params.containerModifierClass}${t}`),s&&s()&&r.classNames.push(`${r.params.containerModifierClass}3d`);const e=a?a():{};Object.assign(r.params,e),Object.assign(r.originalParams,e)})),n("setTranslate",(()=>{r.params.effect===t&&i()})),n("setTransition",((e,n)=>{r.params.effect===t&&o(n)})),n("transitionEnd",(()=>{if(r.params.effect===t&&l){if(!c||!c().slideShadows)return;r.slides.each((e=>{r.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),l()}})),n("virtualUpdate",(()=>{r.params.effect===t&&(r.slides.length||(u=!0),requestAnimationFrame((()=>{u&&r.slides&&r.slides.length&&(i(),u=!1)})))}))}function Ce(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function Ae({swiper:e,duration:t,transformEl:r,allSlides:n}){const{slides:i,activeIndex:o,$wrapperEl:a}=e;if(e.params.virtualTranslate&&0!==t){let t,s=!1;t=n?r?i.find(r):i:r?i.eq(o).find(r):i.eq(o),t.transitionEnd((()=>{if(s)return;if(!e||e.destroyed)return;s=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;e<t.length;e+=1)a.trigger(t[e])}))}}function xe({swiper:e,extendParams:t,on:r}){t({fadeEffect:{crossFade:!1,transformEl:null}}),Se({effect:"fade",swiper:e,on:r,setTranslate:()=>{const{slides:t}=e,r=e.params.fadeEffect;for(let n=0;n<t.length;n+=1){const t=e.slides.eq(n);let i=-t[0].swiperSlideOffset;e.params.virtualTranslate||(i-=e.translate);let o=0;e.isHorizontal()||(o=i,i=0);const a=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);Ce(r,t).css({opacity:a}).transform(`translate3d(${i}px, ${o}px, 0px)`)}},setTransition:t=>{const{transformEl:r}=e.params.fadeEffect;(r?e.slides.find(r):e.slides).transition(t),Ae({swiper:e,duration:t,transformEl:r,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function ke({swiper:e,extendParams:t,on:r}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const n=(e,t,r)=>{let n=r?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),i=r?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===n.length&&(n=m(`<div class="swiper-slide-shadow-${r?"left":"top"}"></div>`),e.append(n)),0===i.length&&(i=m(`<div class="swiper-slide-shadow-${r?"right":"bottom"}"></div>`),e.append(i)),n.length&&(n[0].style.opacity=Math.max(-t,0)),i.length&&(i[0].style.opacity=Math.max(t,0))};Se({effect:"cube",swiper:e,on:r,setTranslate:()=>{const{$el:t,$wrapperEl:r,slides:i,width:o,height:a,rtlTranslate:s,size:l,browser:c}=e,u=e.params.cubeEffect,d=e.isHorizontal(),p=e.virtual&&e.params.virtual.enabled;let f,h=0;u.shadow&&(d?(f=r.find(".swiper-cube-shadow"),0===f.length&&(f=m('<div class="swiper-cube-shadow"></div>'),r.append(f)),f.css({height:`${o}px`})):(f=t.find(".swiper-cube-shadow"),0===f.length&&(f=m('<div class="swiper-cube-shadow"></div>'),t.append(f))));for(let e=0;e<i.length;e+=1){const t=i.eq(e);let r=e;p&&(r=parseInt(t.attr("data-swiper-slide-index"),10));let o=90*r,a=Math.floor(o/360);s&&(o=-o,a=Math.floor(-o/360));const c=Math.max(Math.min(t[0].progress,1),-1);let f=0,g=0,m=0;r%4==0?(f=4*-a*l,m=0):(r-1)%4==0?(f=0,m=4*-a*l):(r-2)%4==0?(f=l+4*a*l,m=l):(r-3)%4==0&&(f=-l,m=3*l+4*l*a),s&&(f=-f),d||(g=f,f=0);const v=`rotateX(${d?0:-o}deg) rotateY(${d?o:0}deg) translate3d(${f}px, ${g}px, ${m}px)`;c<=1&&c>-1&&(h=90*r+90*c,s&&(h=90*-r-90*c)),t.transform(v),u.slideShadows&&n(t,c,d)}if(r.css({"-webkit-transform-origin":`50% 50% -${l/2}px`,"transform-origin":`50% 50% -${l/2}px`}),u.shadow)if(d)f.transform(`translate3d(0px, ${o/2+u.shadowOffset}px, ${-o/2}px) rotateX(90deg) rotateZ(0deg) scale(${u.shadowScale})`);else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),r=u.shadowScale,n=u.shadowScale/t,i=u.shadowOffset;f.transform(`scale3d(${r}, 1, ${n}) translate3d(0px, ${a/2+i}px, ${-a/2/n}px) rotateX(-90deg)`)}const g=c.isSafari||c.isWebView?-l/2:0;r.transform(`translate3d(0px,0,${g}px) rotateX(${e.isHorizontal()?0:h}deg) rotateY(${e.isHorizontal()?-h:0}deg)`),r[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{$el:r,slides:n}=e;n.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&r.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const r=Math.max(Math.min(e.progress,1),-1);n(m(e),r,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Ee(e,t,r){const n="swiper-slide-shadow"+(r?`-${r}`:""),i=e.transformEl?t.find(e.transformEl):t;let o=i.children(`.${n}`);return o.length||(o=m(`<div class="swiper-slide-shadow${r?`-${r}`:""}"></div>`),i.append(o)),o}function _e({swiper:e,extendParams:t,on:r}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const n=(t,r,n)=>{let i=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),o=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===i.length&&(i=Ee(n,t,e.isHorizontal()?"left":"top")),0===o.length&&(o=Ee(n,t,e.isHorizontal()?"right":"bottom")),i.length&&(i[0].style.opacity=Math.max(-r,0)),o.length&&(o[0].style.opacity=Math.max(r,0))};Se({effect:"flip",swiper:e,on:r,setTranslate:()=>{const{slides:t,rtlTranslate:r}=e,i=e.params.flipEffect;for(let o=0;o<t.length;o+=1){const a=t.eq(o);let s=a[0].progress;e.params.flipEffect.limitRotation&&(s=Math.max(Math.min(a[0].progress,1),-1));const l=a[0].swiperSlideOffset;let c=-180*s,u=0,d=e.params.cssMode?-l-e.translate:-l,p=0;e.isHorizontal()?r&&(c=-c):(p=d,d=0,u=-c,c=0),a[0].style.zIndex=-Math.abs(Math.round(s))+t.length,i.slideShadows&&n(a,s,i);const f=`translate3d(${d}px, ${p}px, 0px) rotateX(${u}deg) rotateY(${c}deg)`;Ce(i,a).transform(f)}},setTransition:t=>{const{transformEl:r}=e.params.flipEffect;(r?e.slides.find(r):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),Ae({swiper:e,duration:t,transformEl:r})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((r=>{const i=m(r);let o=i[0].progress;e.params.flipEffect.limitRotation&&(o=Math.max(Math.min(r.progress,1),-1)),n(i,o,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Ie({swiper:e,extendParams:t,on:r}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),Se({effect:"coverflow",swiper:e,on:r,setTranslate:()=>{const{width:t,height:r,slides:n,slidesSizesGrid:i}=e,o=e.params.coverflowEffect,a=e.isHorizontal(),s=e.translate,l=a?t/2-s:r/2-s,c=a?o.rotate:-o.rotate,u=o.depth;for(let e=0,t=n.length;e<t;e+=1){const t=n.eq(e),r=i[e],s=(l-t[0].swiperSlideOffset-r/2)/r,d="function"==typeof o.modifier?o.modifier(s):s*o.modifier;let p=a?c*d:0,f=a?0:c*d,h=-u*Math.abs(d),g=o.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(o.stretch)/100*r);let m=a?0:g*d,v=a?g*d:0,y=1-(1-o.scale)*Math.abs(d);Math.abs(v)<.001&&(v=0),Math.abs(m)<.001&&(m=0),Math.abs(h)<.001&&(h=0),Math.abs(p)<.001&&(p=0),Math.abs(f)<.001&&(f=0),Math.abs(y)<.001&&(y=0);const b=`translate3d(${v}px,${m}px,${h}px)  rotateX(${f}deg) rotateY(${p}deg) scale(${y})`;if(Ce(o,t).transform(b),t[0].style.zIndex=1-Math.abs(Math.round(d)),o.slideShadows){let e=a?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),r=a?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=Ee(o,t,a?"left":"top")),0===r.length&&(r=Ee(o,t,a?"right":"bottom")),e.length&&(e[0].style.opacity=d>0?d:0),r.length&&(r[0].style.opacity=-d>0?-d:0)}}},setTransition:t=>{const{transformEl:r}=e.params.coverflowEffect;(r?e.slides.find(r):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function Pe({swiper:e,extendParams:t,on:r}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const n=e=>"string"==typeof e?e:`${e}px`;Se({effect:"creative",swiper:e,on:r,setTranslate:()=>{const{slides:t,$wrapperEl:r,slidesSizesGrid:i}=e,o=e.params.creativeEffect,{progressMultiplier:a}=o,s=e.params.centeredSlides;if(s){const t=i[0]/2-e.params.slidesOffsetBefore||0;r.transform(`translateX(calc(50% - ${t}px))`)}for(let r=0;r<t.length;r+=1){const i=t.eq(r),l=i[0].progress,c=Math.min(Math.max(i[0].progress,-o.limitProgress),o.limitProgress);let u=c;s||(u=Math.min(Math.max(i[0].originalProgress,-o.limitProgress),o.limitProgress));const d=i[0].swiperSlideOffset,p=[e.params.cssMode?-d-e.translate:-d,0,0],f=[0,0,0];let h=!1;e.isHorizontal()||(p[1]=p[0],p[0]=0);let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(g=o.next,h=!0):c>0&&(g=o.prev,h=!0),p.forEach(((e,t)=>{p[t]=`calc(${e}px + (${n(g.translate[t])} * ${Math.abs(c*a)}))`})),f.forEach(((e,t)=>{f[t]=g.rotate[t]*Math.abs(c*a)})),i[0].style.zIndex=-Math.abs(Math.round(l))+t.length;const m=p.join(", "),v=`rotateX(${f[0]}deg) rotateY(${f[1]}deg) rotateZ(${f[2]}deg)`,y=u<0?`scale(${1+(1-g.scale)*u*a})`:`scale(${1-(1-g.scale)*u*a})`,b=u<0?1+(1-g.opacity)*u*a:1-(1-g.opacity)*u*a,w=`translate3d(${m}) ${v} ${y}`;if(h&&g.shadow||!h){let e=i.children(".swiper-slide-shadow");if(0===e.length&&g.shadow&&(e=Ee(o,i)),e.length){const t=o.shadowPerProgress?c*(1/o.limitProgress):c;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const S=Ce(o,i);S.transform(w).css({opacity:b}),g.origin&&S.css("transform-origin",g.origin)}},setTransition:t=>{const{transformEl:r}=e.params.creativeEffect;(r?e.slides.find(r):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),Ae({swiper:e,duration:t,transformEl:r,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function Te({swiper:e,extendParams:t,on:r}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Se({effect:"cards",swiper:e,on:r,setTranslate:()=>{const{slides:t,activeIndex:r}=e,n=e.params.cardsEffect,{startTranslate:i,isTouched:o}=e.touchEventsData,a=e.translate;for(let s=0;s<t.length;s+=1){const l=t.eq(s),c=l[0].progress,u=Math.min(Math.max(c,-4),4);let d=l[0].swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&e.$wrapperEl.transform(`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(d-=t[0].swiperSlideOffset);let p=e.params.cssMode?-d-e.translate:-d,f=0;const h=-100*Math.abs(u);let g=1,m=-n.perSlideRotate*u,v=n.perSlideOffset-.75*Math.abs(u);const y=e.virtual&&e.params.virtual.enabled?e.virtual.from+s:s,b=(y===r||y===r-1)&&u>0&&u<1&&(o||e.params.cssMode)&&a<i,w=(y===r||y===r+1)&&u<0&&u>-1&&(o||e.params.cssMode)&&a>i;if(b||w){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;m+=-28*u*e,g+=-.5*e,v+=96*e,f=-25*e*Math.abs(u)+"%"}if(p=u<0?`calc(${p}px + (${v*Math.abs(u)}%))`:u>0?`calc(${p}px + (-${v*Math.abs(u)}%))`:`${p}px`,!e.isHorizontal()){const e=f;f=p,p=e}const S=u<0?""+(1+(1-g)*u):""+(1-(1-g)*u),C=`\n        translate3d(${p}, ${f}, ${h}px)\n        rotateZ(${n.rotate?m:0}deg)\n        scale(${S})\n      `;if(n.slideShadows){let e=l.find(".swiper-slide-shadow");0===e.length&&(e=Ee(n,l)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}l[0].style.zIndex=-Math.abs(Math.round(c))+t.length,Ce(n,l).transform(C)}},setTransition:t=>{const{transformEl:r}=e.params.cardsEffect;(r?e.slides.find(r):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),Ae({swiper:e,duration:t,transformEl:r})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},4981:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var n=r(5516),i=r.n(n),o=r(1364),a=r.n(o),s=r(3615),l=r.n(s),c=new URL(r(8366),r.b),u=new URL(r(2074),r.b),d=new URL(r(8465),r.b),p=new URL(r(4790),r.b),f=a()(i()),h=l()(c),g=l()(u),m=l()(d),v=l()(p);f.push([e.id,`.ac-image.ac-selectable {\n    cursor: pointer;\n}\n\na.ac-anchor {\n    text-decoration: underline;\n}\n\na.ac-anchor:link {\n    color: #005a9e;\n}\n\na.ac-anchor:visited {\n    color: #005a9e;\n}\n\na.ac-anchor:link:active {\n    color: #005a9e;\n}\n\na.ac-anchor:visited:active {\n    color: #005a9e;\n}\n\n.ac-container:not(.ac-adaptiveCard) {\n    outline: none;\n}\n\n.ac-adaptiveCard {\n    outline-color: #0767b7;\n}\n\n.ac-container.ac-selectable,\n.ac-columnSet.ac-selectable {\n    padding: 0px;\n    outline: none;\n    border: none;\n}\n\n.ac-container.ac-selectable:hover,\n.ac-columnSet.ac-selectable:hover,\n.ac-container.ac-selectable:focus,\n.ac-columnSet.ac-selectable:focus,\na.ac-anchor:focus {\n    background-color: rgba(0, 0, 0, 0.1);\n    outline: none;\n    border: none;\n}\n\n.ac-container.ac-selectable:active,\n.ac-columnSet.ac-selectable:active {\n    background-color: rgba(0, 0, 0, 0.15);\n    outline: none;\n    border: none;\n}\n\n.ac-pushButton {\n    /*default active*/\n    vertical-align: middle;\n    cursor: default;\n    overflow: hidden;\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    letter-spacing: -0.15px;\n    font-weight: 500;\n    padding: 6px 8px 6px 8px;\n    -webkit-user-select: none;\n    -moz-user-select: none;\n    -ms-user-select: none;\n    user-select: none;\n    background-color: #ffffff;\n    color: #0078d4;\n    border-radius: 4px;\n    outline: none;\n    border: 1px solid #0078d4;\n    margin: 2px; /* needed for box-shadow */\n}\n\n.ac-pushButton.primary:enabled,\n.ac-pushButton.style-positive:enabled {\n    /*primary, positive active*/\n    background-color: #0078d7;\n    color: #ffffff;\n    border: 1px solid #0078d7;\n}\n\n.ac-pushButton.primary:hover:enabled,\n.ac-pushButton.style-positive:hover:enabled {\n    /*primary, positive hover*/\n    background-color: #106ebe;\n    color: #ffffff;\n    border: 1px solid #106ebe;\n}\n\n.ac-pushButton.primary:active:enabled,\n.ac-pushButton.style-positive:active:enabled {\n    /*primary, positive press*/\n    background-color: #005a9e;\n    color: #ffffff;\n    border: 1px solid #005a9e;\n}\n\n.ac-pushButton.primary:focus:enabled,\n.ac-pushButton.style-positive:focus:enabled {\n    /*primary, positive focus*/\n    background-color: #005a9e;\n    color: #ffffff;\n    border: 1px solid #005a9e;\n    box-shadow: 0 0 0 2px #e3eff9;\n}\n\n.ac-pushButton.primary:disabled,\n.ac-pushButton.style-positive:disabled,\n.ac-pushButton.style-destructive:disabled {\n    /*primary, positive, destructive disabled*/\n    background-color: #d2d0ce;\n    color: #ffffff;\n    border: 1px solid #d2d0ce;\n}\n\n.ac-pushButton.style-destructive:enabled {\n    /*destructive active*/\n    background-color: #e50000;\n    color: #ffffff;\n    border: 1px solid #e50000;\n}\n\n.ac-pushButton.style-destructive:hover:enabled {\n    /*destructive hover*/\n    background-color: #bf0000;\n    color: #ffffff;\n    border: 1px solid #bf0000;\n}\n\n.ac-pushButton.style-destructive:active:enabled {\n    /*destructive press*/\n    background-color: #ac0202;\n    color: #ffffff;\n    border: 1px solid #ac0202;\n}\n\n.ac-pushButton.style-destructive:focus:enabled {\n    /*destructive focus*/\n    background-color: #e50000;\n    color: #ffffff;\n    border: 1px solid #bf0000;\n    box-shadow: 0 0 0 2px #f3bebe;\n}\n\n.ac-pushButton:hover:enabled {\n    /*default hover*/\n    background-color: #eef6fc;\n    color: #3b3a39;\n    border: 1px solid #0078d4;\n}\n\n.ac-pushButton:active:enabled {\n    /*default press*/\n    background-color: #deecf9;\n    color: #3b3a39;\n    border: 1px solid #0078d4;\n}\n\n.ac-pushButton:focus:enabled {\n    /*default focus*/\n    border: 1px solid #0078d4;\n    background-color: #c7e0f4;\n    box-shadow: 0 0 0 2px #e3eff9;\n    color: #3b3a39;\n}\n\n.ac-pushButton:disabled {\n    /*default disabled*/\n    background-color: #ffffff;\n    color: #979593;\n    border: 1px solid #edebe9;\n}\n\n.ac-input {\n    /*rest single line*/\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    color: #212121;\n    background-color: inherit;\n    border: 1px solid #605e5c;\n    border-radius: 4px;\n    padding: 4px 4px 4px 8px;\n}\n\n.ac-toggleInput {\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    color: #212121;\n    background-color: inherit;\n    padding: 4px 4px 4px 8px;\n    border: none;\n}\n\n.ac-dateInput,\n.ac-timeInput {\n    padding-bottom: 4px;\n    padding-top: 4px;\n    padding-right: 4px;\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    letter-spacing: -0.15px;\n}\n\n.ac-input.ac-textInput,\n.ac-input.ac-numberInput {\n    resize: none;\n    background-color: #ffffff;\n}\n\n.ac-numberInputError {\n    border: 1px solid #c8191f;\n    box-shadow: 0 0 0 2px #fbd6d7;\n}\n\n.ac-input.ac-textInput:focus,\n.ac-input.ac-textInput.ac-multiline:focus,\n.ac-input.ac-numberInput:focus,\n.ac-input.ac-textInput:hover,\n.ac-input.ac-textInput.ac-multiline:hover,\n.ac-input.ac-numberInput:hover {\n    border: 1px solid #0078d4;\n}\n\n.ac-fact-title {\n    font-weight: 600;\n}\n\n.ac-fact-value {\n    font-weight: 400;\n}\n\n.ac-multiline {\n    min-height: 72px;\n    box-sizing: border-box;\n}\n\n.ac-input.ac-textInput:focus::placeholder,\n.ac-input.ac-textInput.ac-multiline:focus::placeholder,\n.ac-input.ac-numberInput:focus::placeholder {\n    color: #797775;\n}\n\n.ac-input.ac-textInput::placeholder,\n.ac-input.ac-textInput.ac-multiline::placeholder,\n.ac-input.ac-numberInput::placeholder {\n    color: #797775;\n}\n\n.ac-input,\n.ac-multichoiceInput {\n    outline: none;\n}\n\n.ac-multichoiceInput:focus,\n.ac-multichoiceInput:hover {\n    border: 1px solid #0078d4;\n}\n\n.ac-multiInput,\n.ac-singleInput {\n    border: none;\n}\n\n.ac-choiceSetInput-expanded {\n    border: none;\n}\n\n.ac-choiceSetInput-compact {\n    background-color: #ffffff;\n}\n\n.ac-input.ac-dropdown {\n    padding-bottom: 4px;\n    padding-top: 4px;\n    padding-left: 8px;\n    padding-right: 8px;\n    background-color: #ffffff;\n    appearance: auto;\n}\n\n.ac-input.ac-dropdown:focus,\n.ac-input.ac-dropdown:hover {\n    border: 1px solid #0767b3;\n    box-shadow: 0 0 0 2px #e3eff9;\n    appearance: auto;\n}\n\ninput[type='radio'] {\n    -webkit-appearance: none;\n    height: 16px;\n    width: 16px;\n    background-size: 16px;\n    background-image: url(${h});\n    outline: none;\n}\n\ninput[type='radio']:checked {\n    background-image: url(${g});\n}\n\ninput[type='checkbox'] {\n    -webkit-appearance: none;\n    height: 16px;\n    width: 16px;\n    background-size: 16px;\n    background-image: url(${m});\n    outline: none;\n    background-color: #ffffff;\n}\n\ninput[type='checkbox']:checked {\n    background-image: url(${v});\n}\n\n.ac-spinner {\n    display: inline-block;\n    width: 16px;\n    height: 16px;\n    border: 2px solid;\n    border-radius: 50%;\n    border-top-color: transparent;\n    animation: spin 1s linear infinite;\n    -webkit-animation: spin 1s linear infinite;\n}\n\n.ac-pushButton .ac-spinner {\n    color: #0078d7;\n}\n\n.ac-pushButton.primary:enabled .ac-spinner {\n    color: #ffffff;\n}\n\n@keyframes spin {\n    to {\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n@-webkit-keyframes spin {\n    to {\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n\n.ac-overlay-spinner {\n    display: inline-block;\n    border-top-color: transparent !important;\n    -webkit-animation: spin 1s linear infinite;\n    animation: spin 1s linear infinite;\n    border: 2px solid #0078d7;\n    border-radius: 50%;\n    width: 18px;\n    height: 18px;\n    left: 50%;\n    position: relative;\n    margin-top: 8px;\n    margin-bottom: 16px;\n}\n\n.input-placeholder,\n::placeholder {\n    color: #777777;\n}\n\ninput[type='number']::-webkit-outer-spin-button,\ninput[type='number']::-webkit-inner-spin-button {\n    -webkit-appearance: none;\n    margin: 0;\n}\n\n.ac-input.ac-numberInput.error,\n.ac-input.ac-numberInput.error:focus {\n    border: 1px solid rgb(200, 25, 31);\n    box-shadow: 0 0 0 2px rgb(251, 214, 215);\n}\n\n.ac-requiredPlaceHolder {\n    font-size: 12px;\n    line-height: 20px;\n    font-family: 'Segoe UI';\n    color: #212121;\n    background-color: inherit;\n}\n\n/* ACV2 specific styles */\n\n/* Invisible overlay to disable user interaction in the card */\n.aaf-invisible-overlay {\n    position: absolute;\n    left: 0;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    background-color: transparent;\n    z-index: 1;\n}\n\n/* Overlay for all elements except buttons */\n.aaf-per-action-progress-overlay {\n    position: absolute;\n    left: 0;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    background-color: rgba(255, 255, 255, 0.4);\n    display: flex;\n    justify-content: center;\n    align-items: center;\n}\n\n/* Overlay for auto-refresh action execution*/\n.aaf-per-action-progress-overlay.refresh {\n    align-items: start;\n    margin-top: 8px;\n    position: static;\n    height: 22px;\n}\n\n@keyframes aaf-spinner-rotate {\n    from {\n        transform: rotate(0);\n    }\n    to {\n        transform: rotate(360deg);\n    }\n}\n\n/* Spinner for all elements except buttons */\n.aaf-spinner {\n    width: 18px;\n    height: 18px;\n    border-radius: 50%;\n    border-width: 2px;\n    border-style: solid;\n    border-color: #0078d4 #0078d4 #0078d4 transparent;\n    animation-name: aaf-spinner-rotate;\n    animation: spin 1s linear infinite;\n}\n\n/* Overlay for default button */\n.ac-pushButton .aaf-per-action-progress-overlay {\n    background-color: #ffffff;\n}\n\n/* Spinner for default button */\n.ac-pushButton .aaf-spinner {\n    border-color: #0078d4 #0078d4 #0078d4 transparent;\n}\n\n/* Overlay for positive button */\n.ac-pushButton.style-positive .aaf-per-action-progress-overlay {\n    background-color: #0078d4;\n}\n\n/* Spinner for positive button */\n.ac-pushButton.style-positive .aaf-spinner {\n    border-color: transparent #ffffff #ffffff #ffffff;\n}\n\n/* Overlay for destructive button */\n.ac-pushButton.style-destructive .aaf-per-action-progress-overlay {\n    background-color: #e50000;\n}\n\n/* Spinner for destructive button */\n.ac-pushButton.style-destructive .aaf-spinner {\n    border-color: transparent #ffffff #ffffff #ffffff;\n}\n\n.ac-hidden {\n    display: none !important;\n}\n\n.ac-inlineActionButton {\n    overflow: hidden;\n    text-overflow: ellipsis;\n    text-align: center;\n    vertical-align: middle;\n    cursor: pointer;\n    font-family: 'Segoe UI', sans-serif;\n    font-size: 14px;\n    -webkit-user-select: none;\n    -moz-user-select: none;\n    -ms-user-select: none;\n    user-select: none;\n    border: none;\n    background-color: transparent;\n    height: 31px;\n}\n\n.ac-inlineActionButton.textOnly {\n    padding: 0 8px;\n}\n\n.ac-inlineActionButton.iconOnly {\n    padding: 0;\n}\n\n.ac-inlineActionButton:hover {\n    background-color: #eeeeee;\n}\n\n.ac-inlineActionButton:active {\n    background-color: #cccccc;\n}\n\n.ac-media-poster {\n}\n\n.ac-media-poster.empty {\n    height: 200px;\n    background-color: #f2f2f2;\n}\n\n.ac-media-playButton {\n    width: 56px;\n    height: 56px;\n    border: 1px solid #eeeeee;\n    border-radius: 28px;\n    box-shadow: 0px 0px 10px #eeeeee;\n    background-color: rgba(255, 255, 255, 0.9);\n    color: black;\n    cursor: pointer;\n}\n\n.ac-media-playButton-arrow {\n    color: black;\n    width: auto !important;\n    height: auto !important;\n}\n\n.ac-media-playButton:hover {\n    background-color: white;\n}\n\n/* Fix for markdown list is breaking in TextBlock*/\n.ac-textBlock > ul,\n.ac-textBlock > ol,\n.ac-textBlock > li {\n    width: auto !important;\n}\n`,"",{version:3,sources:["webpack://./src/util/AdaptiveCardStylesLightMode.scss"],names:[],mappings:"AAAA;IACI,eAAe;AACnB;;AAEA;IACI,0BAA0B;AAC9B;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,sBAAsB;AAC1B;;AAEA;;IAEI,YAAY;IACZ,aAAa;IACb,YAAY;AAChB;;AAEA;;;;;IAKI,oCAAoC;IACpC,aAAa;IACb,YAAY;AAChB;;AAEA;;IAEI,qCAAqC;IACrC,aAAa;IACb,YAAY;AAChB;;AAEA;IACI,iBAAiB;IACjB,sBAAsB;IACtB,eAAe;IACf,gBAAgB;IAChB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,uBAAuB;IACvB,gBAAgB;IAChB,wBAAwB;IACxB,yBAAyB;IACzB,sBAAsB;IACtB,qBAAqB;IACrB,iBAAiB;IACjB,yBAAyB;IACzB,cAAc;IACd,kBAAkB;IAClB,aAAa;IACb,yBAAyB;IACzB,WAAW,EAAE,0BAA0B;AAC3C;;AAEA;;IAEI,2BAA2B;IAC3B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;;;IAGI,0CAA0C;IAC1C,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,qBAAqB;IACrB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,yBAAyB;IACzB,6BAA6B;IAC7B,cAAc;AAClB;;AAEA;IACI,mBAAmB;IACnB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,mBAAmB;IACnB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,yBAAyB;IACzB,yBAAyB;IACzB,kBAAkB;IAClB,wBAAwB;AAC5B;;AAEA;IACI,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,yBAAyB;IACzB,wBAAwB;IACxB,YAAY;AAChB;;AAEA;;IAEI,mBAAmB;IACnB,gBAAgB;IAChB,kBAAkB;IAClB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,uBAAuB;AAC3B;;AAEA;;IAEI,YAAY;IACZ,yBAAyB;AAC7B;;AAEA;IACI,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;;;;;;IAMI,yBAAyB;AAC7B;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,gBAAgB;IAChB,sBAAsB;AAC1B;;AAEA;;;IAGI,cAAc;AAClB;;AAEA;;;IAGI,cAAc;AAClB;;AAEA;;IAEI,aAAa;AACjB;;AAEA;;IAEI,yBAAyB;AAC7B;;AAEA;;IAEI,YAAY;AAChB;;AAEA;IACI,YAAY;AAChB;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;IACI,mBAAmB;IACnB,gBAAgB;IAChB,iBAAiB;IACjB,kBAAkB;IAClB,yBAAyB;IACzB,gBAAgB;AACpB;;AAEA;;IAEI,yBAAyB;IACzB,6BAA6B;IAC7B,gBAAgB;AACpB;;AAEA;IACI,wBAAwB;IACxB,YAAY;IACZ,WAAW;IACX,qBAAqB;IACrB,yDAAoD;IACpD,aAAa;AACjB;;AAEA;IACI,yDAAmD;AACvD;;AAEA;IACI,wBAAwB;IACxB,YAAY;IACZ,WAAW;IACX,qBAAqB;IACrB,yDAA8C;IAC9C,aAAa;IACb,yBAAyB;AAC7B;;AAEA;IACI,yDAAsD;AAC1D;;AAEA;IACI,qBAAqB;IACrB,WAAW;IACX,YAAY;IACZ,iBAAiB;IACjB,kBAAkB;IAClB,6BAA6B;IAC7B,kCAAkC;IAClC,0CAA0C;AAC9C;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI;QACI,iCAAiC;QACjC,yBAAyB;IAC7B;AACJ;AACA;IACI;QACI,iCAAiC;QACjC,yBAAyB;IAC7B;AACJ;;AAEA;IACI,qBAAqB;IACrB,wCAAwC;IACxC,0CAA0C;IAC1C,kCAAkC;IAClC,yBAAyB;IACzB,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,SAAS;IACT,kBAAkB;IAClB,eAAe;IACf,mBAAmB;AACvB;;AAEA;;IAEI,cAAc;AAClB;;AAEA;;IAEI,wBAAwB;IACxB,SAAS;AACb;;AAEA;;IAEI,kCAAkC;IAClC,wCAAwC;AAC5C;;AAEA;IACI,eAAe;IACf,iBAAiB;IACjB,uBAAuB;IACvB,cAAc;IACd,yBAAyB;AAC7B;;AAEA,yBAAyB;;AAEzB,8DAA8D;AAC9D;IACI,kBAAkB;IAClB,OAAO;IACP,MAAM;IACN,WAAW;IACX,YAAY;IACZ,6BAA6B;IAC7B,UAAU;AACd;;AAEA,4CAA4C;AAC5C;IACI,kBAAkB;IAClB,OAAO;IACP,MAAM;IACN,WAAW;IACX,YAAY;IACZ,0CAA0C;IAC1C,aAAa;IACb,uBAAuB;IACvB,mBAAmB;AACvB;;AAEA,6CAA6C;AAC7C;IACI,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,YAAY;AAChB;;AAEA;IACI;QACI,oBAAoB;IACxB;IACA;QACI,yBAAyB;IAC7B;AACJ;;AAEA,4CAA4C;AAC5C;IACI,WAAW;IACX,YAAY;IACZ,kBAAkB;IAClB,iBAAiB;IACjB,mBAAmB;IACnB,iDAAiD;IACjD,kCAAkC;IAClC,kCAAkC;AACtC;;AAEA,+BAA+B;AAC/B;IACI,yBAAyB;AAC7B;;AAEA,+BAA+B;AAC/B;IACI,iDAAiD;AACrD;;AAEA,gCAAgC;AAChC;IACI,yBAAyB;AAC7B;;AAEA,gCAAgC;AAChC;IACI,iDAAiD;AACrD;;AAEA,mCAAmC;AACnC;IACI,yBAAyB;AAC7B;;AAEA,mCAAmC;AACnC;IACI,iDAAiD;AACrD;;AAEA;IACI,wBAAwB;AAC5B;;AAEA;IACI,gBAAgB;IAChB,uBAAuB;IACvB,kBAAkB;IAClB,sBAAsB;IACtB,eAAe;IACf,mCAAmC;IACnC,eAAe;IACf,yBAAyB;IACzB,sBAAsB;IACtB,qBAAqB;IACrB,iBAAiB;IACjB,YAAY;IACZ,6BAA6B;IAC7B,YAAY;AAChB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,UAAU;AACd;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;AACA;;AAEA;IACI,aAAa;IACb,yBAAyB;AAC7B;;AAEA;IACI,WAAW;IACX,YAAY;IACZ,yBAAyB;IACzB,mBAAmB;IACnB,gCAAgC;IAChC,0CAA0C;IAC1C,YAAY;IACZ,eAAe;AACnB;;AAEA;IACI,YAAY;IACZ,sBAAsB;IACtB,uBAAuB;AAC3B;;AAEA;IACI,uBAAuB;AAC3B;;AAEA,kDAAkD;AAClD;;;IAGI,sBAAsB;AAC1B",sourcesContent:[".ac-image.ac-selectable {\r\n    cursor: pointer;\r\n}\r\n\r\na.ac-anchor {\r\n    text-decoration: underline;\r\n}\r\n\r\na.ac-anchor:link {\r\n    color: #005a9e;\r\n}\r\n\r\na.ac-anchor:visited {\r\n    color: #005a9e;\r\n}\r\n\r\na.ac-anchor:link:active {\r\n    color: #005a9e;\r\n}\r\n\r\na.ac-anchor:visited:active {\r\n    color: #005a9e;\r\n}\r\n\r\n.ac-container:not(.ac-adaptiveCard) {\r\n    outline: none;\r\n}\r\n\r\n.ac-adaptiveCard {\r\n    outline-color: #0767b7;\r\n}\r\n\r\n.ac-container.ac-selectable,\r\n.ac-columnSet.ac-selectable {\r\n    padding: 0px;\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-container.ac-selectable:hover,\r\n.ac-columnSet.ac-selectable:hover,\r\n.ac-container.ac-selectable:focus,\r\n.ac-columnSet.ac-selectable:focus,\r\na.ac-anchor:focus {\r\n    background-color: rgba(0, 0, 0, 0.1);\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-container.ac-selectable:active,\r\n.ac-columnSet.ac-selectable:active {\r\n    background-color: rgba(0, 0, 0, 0.15);\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-pushButton {\r\n    /*default active*/\r\n    vertical-align: middle;\r\n    cursor: default;\r\n    overflow: hidden;\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    letter-spacing: -0.15px;\r\n    font-weight: 500;\r\n    padding: 6px 8px 6px 8px;\r\n    -webkit-user-select: none;\r\n    -moz-user-select: none;\r\n    -ms-user-select: none;\r\n    user-select: none;\r\n    background-color: #ffffff;\r\n    color: #0078d4;\r\n    border-radius: 4px;\r\n    outline: none;\r\n    border: 1px solid #0078d4;\r\n    margin: 2px; /* needed for box-shadow */\r\n}\r\n\r\n.ac-pushButton.primary:enabled,\r\n.ac-pushButton.style-positive:enabled {\r\n    /*primary, positive active*/\r\n    background-color: #0078d7;\r\n    color: #ffffff;\r\n    border: 1px solid #0078d7;\r\n}\r\n\r\n.ac-pushButton.primary:hover:enabled,\r\n.ac-pushButton.style-positive:hover:enabled {\r\n    /*primary, positive hover*/\r\n    background-color: #106ebe;\r\n    color: #ffffff;\r\n    border: 1px solid #106ebe;\r\n}\r\n\r\n.ac-pushButton.primary:active:enabled,\r\n.ac-pushButton.style-positive:active:enabled {\r\n    /*primary, positive press*/\r\n    background-color: #005a9e;\r\n    color: #ffffff;\r\n    border: 1px solid #005a9e;\r\n}\r\n\r\n.ac-pushButton.primary:focus:enabled,\r\n.ac-pushButton.style-positive:focus:enabled {\r\n    /*primary, positive focus*/\r\n    background-color: #005a9e;\r\n    color: #ffffff;\r\n    border: 1px solid #005a9e;\r\n    box-shadow: 0 0 0 2px #e3eff9;\r\n}\r\n\r\n.ac-pushButton.primary:disabled,\r\n.ac-pushButton.style-positive:disabled,\r\n.ac-pushButton.style-destructive:disabled {\r\n    /*primary, positive, destructive disabled*/\r\n    background-color: #d2d0ce;\r\n    color: #ffffff;\r\n    border: 1px solid #d2d0ce;\r\n}\r\n\r\n.ac-pushButton.style-destructive:enabled {\r\n    /*destructive active*/\r\n    background-color: #e50000;\r\n    color: #ffffff;\r\n    border: 1px solid #e50000;\r\n}\r\n\r\n.ac-pushButton.style-destructive:hover:enabled {\r\n    /*destructive hover*/\r\n    background-color: #bf0000;\r\n    color: #ffffff;\r\n    border: 1px solid #bf0000;\r\n}\r\n\r\n.ac-pushButton.style-destructive:active:enabled {\r\n    /*destructive press*/\r\n    background-color: #ac0202;\r\n    color: #ffffff;\r\n    border: 1px solid #ac0202;\r\n}\r\n\r\n.ac-pushButton.style-destructive:focus:enabled {\r\n    /*destructive focus*/\r\n    background-color: #e50000;\r\n    color: #ffffff;\r\n    border: 1px solid #bf0000;\r\n    box-shadow: 0 0 0 2px #f3bebe;\r\n}\r\n\r\n.ac-pushButton:hover:enabled {\r\n    /*default hover*/\r\n    background-color: #eef6fc;\r\n    color: #3b3a39;\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-pushButton:active:enabled {\r\n    /*default press*/\r\n    background-color: #deecf9;\r\n    color: #3b3a39;\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-pushButton:focus:enabled {\r\n    /*default focus*/\r\n    border: 1px solid #0078d4;\r\n    background-color: #c7e0f4;\r\n    box-shadow: 0 0 0 2px #e3eff9;\r\n    color: #3b3a39;\r\n}\r\n\r\n.ac-pushButton:disabled {\r\n    /*default disabled*/\r\n    background-color: #ffffff;\r\n    color: #979593;\r\n    border: 1px solid #edebe9;\r\n}\r\n\r\n.ac-input {\r\n    /*rest single line*/\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    color: #212121;\r\n    background-color: inherit;\r\n    border: 1px solid #605e5c;\r\n    border-radius: 4px;\r\n    padding: 4px 4px 4px 8px;\r\n}\r\n\r\n.ac-toggleInput {\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    color: #212121;\r\n    background-color: inherit;\r\n    padding: 4px 4px 4px 8px;\r\n    border: none;\r\n}\r\n\r\n.ac-dateInput,\r\n.ac-timeInput {\r\n    padding-bottom: 4px;\r\n    padding-top: 4px;\r\n    padding-right: 4px;\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    letter-spacing: -0.15px;\r\n}\r\n\r\n.ac-input.ac-textInput,\r\n.ac-input.ac-numberInput {\r\n    resize: none;\r\n    background-color: #ffffff;\r\n}\r\n\r\n.ac-numberInputError {\r\n    border: 1px solid #c8191f;\r\n    box-shadow: 0 0 0 2px #fbd6d7;\r\n}\r\n\r\n.ac-input.ac-textInput:focus,\r\n.ac-input.ac-textInput.ac-multiline:focus,\r\n.ac-input.ac-numberInput:focus,\r\n.ac-input.ac-textInput:hover,\r\n.ac-input.ac-textInput.ac-multiline:hover,\r\n.ac-input.ac-numberInput:hover {\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-fact-title {\r\n    font-weight: 600;\r\n}\r\n\r\n.ac-fact-value {\r\n    font-weight: 400;\r\n}\r\n\r\n.ac-multiline {\r\n    min-height: 72px;\r\n    box-sizing: border-box;\r\n}\r\n\r\n.ac-input.ac-textInput:focus::placeholder,\r\n.ac-input.ac-textInput.ac-multiline:focus::placeholder,\r\n.ac-input.ac-numberInput:focus::placeholder {\r\n    color: #797775;\r\n}\r\n\r\n.ac-input.ac-textInput::placeholder,\r\n.ac-input.ac-textInput.ac-multiline::placeholder,\r\n.ac-input.ac-numberInput::placeholder {\r\n    color: #797775;\r\n}\r\n\r\n.ac-input,\r\n.ac-multichoiceInput {\r\n    outline: none;\r\n}\r\n\r\n.ac-multichoiceInput:focus,\r\n.ac-multichoiceInput:hover {\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-multiInput,\r\n.ac-singleInput {\r\n    border: none;\r\n}\r\n\r\n.ac-choiceSetInput-expanded {\r\n    border: none;\r\n}\r\n\r\n.ac-choiceSetInput-compact {\r\n    background-color: #ffffff;\r\n}\r\n\r\n.ac-input.ac-dropdown {\r\n    padding-bottom: 4px;\r\n    padding-top: 4px;\r\n    padding-left: 8px;\r\n    padding-right: 8px;\r\n    background-color: #ffffff;\r\n    appearance: auto;\r\n}\r\n\r\n.ac-input.ac-dropdown:focus,\r\n.ac-input.ac-dropdown:hover {\r\n    border: 1px solid #0767b3;\r\n    box-shadow: 0 0 0 2px #e3eff9;\r\n    appearance: auto;\r\n}\r\n\r\ninput[type='radio'] {\r\n    -webkit-appearance: none;\r\n    height: 16px;\r\n    width: 16px;\r\n    background-size: 16px;\r\n    background-image: url('./images/radioButtonOff.png');\r\n    outline: none;\r\n}\r\n\r\ninput[type='radio']:checked {\r\n    background-image: url('./images/radioButtonOn.png');\r\n}\r\n\r\ninput[type='checkbox'] {\r\n    -webkit-appearance: none;\r\n    height: 16px;\r\n    width: 16px;\r\n    background-size: 16px;\r\n    background-image: url('./images/checkbox.png');\r\n    outline: none;\r\n    background-color: #ffffff;\r\n}\r\n\r\ninput[type='checkbox']:checked {\r\n    background-image: url('./images/checkboxSelected.png');\r\n}\r\n\r\n.ac-spinner {\r\n    display: inline-block;\r\n    width: 16px;\r\n    height: 16px;\r\n    border: 2px solid;\r\n    border-radius: 50%;\r\n    border-top-color: transparent;\r\n    animation: spin 1s linear infinite;\r\n    -webkit-animation: spin 1s linear infinite;\r\n}\r\n\r\n.ac-pushButton .ac-spinner {\r\n    color: #0078d7;\r\n}\r\n\r\n.ac-pushButton.primary:enabled .ac-spinner {\r\n    color: #ffffff;\r\n}\r\n\r\n@keyframes spin {\r\n    to {\r\n        -webkit-transform: rotate(360deg);\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n@-webkit-keyframes spin {\r\n    to {\r\n        -webkit-transform: rotate(360deg);\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n\r\n.ac-overlay-spinner {\r\n    display: inline-block;\r\n    border-top-color: transparent !important;\r\n    -webkit-animation: spin 1s linear infinite;\r\n    animation: spin 1s linear infinite;\r\n    border: 2px solid #0078d7;\r\n    border-radius: 50%;\r\n    width: 18px;\r\n    height: 18px;\r\n    left: 50%;\r\n    position: relative;\r\n    margin-top: 8px;\r\n    margin-bottom: 16px;\r\n}\r\n\r\n.input-placeholder,\r\n::placeholder {\r\n    color: #777777;\r\n}\r\n\r\ninput[type='number']::-webkit-outer-spin-button,\r\ninput[type='number']::-webkit-inner-spin-button {\r\n    -webkit-appearance: none;\r\n    margin: 0;\r\n}\r\n\r\n.ac-input.ac-numberInput.error,\r\n.ac-input.ac-numberInput.error:focus {\r\n    border: 1px solid rgb(200, 25, 31);\r\n    box-shadow: 0 0 0 2px rgb(251, 214, 215);\r\n}\r\n\r\n.ac-requiredPlaceHolder {\r\n    font-size: 12px;\r\n    line-height: 20px;\r\n    font-family: 'Segoe UI';\r\n    color: #212121;\r\n    background-color: inherit;\r\n}\r\n\r\n/* ACV2 specific styles */\r\n\r\n/* Invisible overlay to disable user interaction in the card */\r\n.aaf-invisible-overlay {\r\n    position: absolute;\r\n    left: 0;\r\n    top: 0;\r\n    width: 100%;\r\n    height: 100%;\r\n    background-color: transparent;\r\n    z-index: 1;\r\n}\r\n\r\n/* Overlay for all elements except buttons */\r\n.aaf-per-action-progress-overlay {\r\n    position: absolute;\r\n    left: 0;\r\n    top: 0;\r\n    width: 100%;\r\n    height: 100%;\r\n    background-color: rgba(255, 255, 255, 0.4);\r\n    display: flex;\r\n    justify-content: center;\r\n    align-items: center;\r\n}\r\n\r\n/* Overlay for auto-refresh action execution*/\r\n.aaf-per-action-progress-overlay.refresh {\r\n    align-items: start;\r\n    margin-top: 8px;\r\n    position: static;\r\n    height: 22px;\r\n}\r\n\r\n@keyframes aaf-spinner-rotate {\r\n    from {\r\n        transform: rotate(0);\r\n    }\r\n    to {\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n\r\n/* Spinner for all elements except buttons */\r\n.aaf-spinner {\r\n    width: 18px;\r\n    height: 18px;\r\n    border-radius: 50%;\r\n    border-width: 2px;\r\n    border-style: solid;\r\n    border-color: #0078d4 #0078d4 #0078d4 transparent;\r\n    animation-name: aaf-spinner-rotate;\r\n    animation: spin 1s linear infinite;\r\n}\r\n\r\n/* Overlay for default button */\r\n.ac-pushButton .aaf-per-action-progress-overlay {\r\n    background-color: #ffffff;\r\n}\r\n\r\n/* Spinner for default button */\r\n.ac-pushButton .aaf-spinner {\r\n    border-color: #0078d4 #0078d4 #0078d4 transparent;\r\n}\r\n\r\n/* Overlay for positive button */\r\n.ac-pushButton.style-positive .aaf-per-action-progress-overlay {\r\n    background-color: #0078d4;\r\n}\r\n\r\n/* Spinner for positive button */\r\n.ac-pushButton.style-positive .aaf-spinner {\r\n    border-color: transparent #ffffff #ffffff #ffffff;\r\n}\r\n\r\n/* Overlay for destructive button */\r\n.ac-pushButton.style-destructive .aaf-per-action-progress-overlay {\r\n    background-color: #e50000;\r\n}\r\n\r\n/* Spinner for destructive button */\r\n.ac-pushButton.style-destructive .aaf-spinner {\r\n    border-color: transparent #ffffff #ffffff #ffffff;\r\n}\r\n\r\n.ac-hidden {\r\n    display: none !important;\r\n}\r\n\r\n.ac-inlineActionButton {\r\n    overflow: hidden;\r\n    text-overflow: ellipsis;\r\n    text-align: center;\r\n    vertical-align: middle;\r\n    cursor: pointer;\r\n    font-family: 'Segoe UI', sans-serif;\r\n    font-size: 14px;\r\n    -webkit-user-select: none;\r\n    -moz-user-select: none;\r\n    -ms-user-select: none;\r\n    user-select: none;\r\n    border: none;\r\n    background-color: transparent;\r\n    height: 31px;\r\n}\r\n\r\n.ac-inlineActionButton.textOnly {\r\n    padding: 0 8px;\r\n}\r\n\r\n.ac-inlineActionButton.iconOnly {\r\n    padding: 0;\r\n}\r\n\r\n.ac-inlineActionButton:hover {\r\n    background-color: #eeeeee;\r\n}\r\n\r\n.ac-inlineActionButton:active {\r\n    background-color: #cccccc;\r\n}\r\n\r\n.ac-media-poster {\r\n}\r\n\r\n.ac-media-poster.empty {\r\n    height: 200px;\r\n    background-color: #f2f2f2;\r\n}\r\n\r\n.ac-media-playButton {\r\n    width: 56px;\r\n    height: 56px;\r\n    border: 1px solid #eeeeee;\r\n    border-radius: 28px;\r\n    box-shadow: 0px 0px 10px #eeeeee;\r\n    background-color: rgba(255, 255, 255, 0.9);\r\n    color: black;\r\n    cursor: pointer;\r\n}\r\n\r\n.ac-media-playButton-arrow {\r\n    color: black;\r\n    width: auto !important;\r\n    height: auto !important;\r\n}\r\n\r\n.ac-media-playButton:hover {\r\n    background-color: white;\r\n}\r\n\r\n/* Fix for markdown list is breaking in TextBlock*/\r\n.ac-textBlock > ul,\r\n.ac-textBlock > ol,\r\n.ac-textBlock > li {\r\n    width: auto !important;\r\n}\r\n"],sourceRoot:""}]);const y=f},5041:(e,t,r)=>{"use strict";r.d(t,{Fb:()=>o,kh:()=>a,tL:()=>i});var n=r(240);const i="api.appInitialization.sdkLoaded",o={[n.tz.initialize]:"api.appInitialization.initialize",[n.tz.appInitialization.appLoaded]:"api.appInitialization.appLoaded",[n.tz.appInitialization.success]:"api.appInitialization.success",[n.tz.appInitialization.failure]:"api.appInitialization.failure",[n.tz.appInitialization.expectedFailure]:"api.appInitialization.expectedFailure",[n.tz.appEntity.selectAppEntity]:"api.appEntity.selectAppEntity",[n.tz.appInstallDialog.openAppInstallDialog]:"api.appInstallDialog.openAppInstallDialog",[n.tz.authentication.authenticate]:"api.authentication.authenticate",[n.tz.authentication.getAuthToken]:"api.getAuthToken",[n.tz.authentication.getUser]:"api.getUser",[n.tz.authentication.notifyFailure]:"api.authentication.notifyFailure",[n.tz.authentication.notifySuccess]:"api.authentication.notifySuccess",[n.tz.barCode.scanBarCode]:"api.barCode.scanBarCode",[n.tz.calendar.composeMeeting]:"api.calendar.composeMeeting",[n.tz.calendar.openCalendarItem]:"api.calendar.openCalendarItem",[n.tz.call.startCall]:"api.call.startCall",[n.tz.chat.openChat]:"api.chat.openChat",[n.tz.clipboard.readFromClipboard]:"api.clipboard.readFromClipboard",[n.tz.clipboard.writeToClipboard]:"api.clipboard.writeToClipboard",[n.tz.conversations.closeConversation]:"api.conversations.closeConversation",[n.tz.conversations.getChatMembers]:"api.conversations.getChatMembers",[n.tz.conversations.openConversation]:"api.conversations.openConversation",[n.tz.copilot.eligibility.getEligibilityInfo]:"api.copilot.eligibility.getEligibilityInfo",[n.tz.copilot.customTelemetry.sendCustomTelemetryData]:"api.copilot.customTelemetry.sendCustomTelemetryData",[n.tz.copilot.view.closeSidePanel]:"api.copilot.view.closeSidePanel",[n.tz.dialogs.open]:"api.dialogs.open",[n.tz.dialogs.submit]:"api.dialogs.submit",[n.tz.dialogs.update.resize]:"api.dialogs.update.resize",[n.tz.externalAppAuthentication.authenticateAndResendRequest]:"api.externalAppAuthentication.authenticateAndResendRequest",[n.tz.externalAppAuthentication.authenticateWithOauth2]:"api.externalAppAuthentication.authenticateWithOauth",[n.tz.externalAppAuthentication.authenticateWithPowerPlatformConnectorPlugins]:"api.externalAppAuthentication.authenticateWithPowerPlatformConnectorPlugins",[n.tz.externalAppAuthentication.authenticateWithSSO]:"api.externalAppAuthentication.authenticateWithSSO",[n.tz.externalAppAuthentication.authenticateWithSSOAndResendRequest]:"api.externalAppAuthentication.authenticateWithSSOAndResendRequest",[n.tz.externalAppAuthenticationForCEA.authenticateAndResendRequest]:"api.externalAppAuthenticationForCEA.authenticateAndResendRequest",[n.tz.externalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest]:"api.externalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest",[n.tz.externalAppAuthenticationForCEA.authenticateWithOauth]:"api.externalAppAuthenticationForCEA.authenticateWithOauth",[n.tz.externalAppAuthenticationForCEA.authenticateWithSSO]:"api.externalAppAuthenticationForCEA.authenticateWithSSO",[n.tz.externalAppCardActions.processActionOpenUrl]:"api.externalAppCardActions.processActionOpenUrl",[n.tz.externalAppCardActions.processActionSubmit]:"api.externalAppCardActions.processActionSubmit",[n.tz.externalAppCardActionsForCEA.processActionOpenUrl]:"api.externalAppCardActionsForCEA.processActionOpenUrl",[n.tz.externalAppCardActionsForCEA.processActionSubmit]:"api.externalAppCardActionsForCEA.processActionSubmit",[n.tz.externalAppCardActionsForDA.processActionOpenUrlDialog]:"api.externalAppCardActionsForDA.processActionOpenUrlDialog",[n.tz.externalAppCommands.processActionCommand]:"api.externalAppCommands.processActionCommand",[n.tz.files.addCloudStorageFolder]:"api.files.addCloudStorageFolder",[n.tz.files.copyMoveFiles]:"api.files.copyMoveFiles",[n.tz.files.deleteCloudStorageFolder]:"api.files.deleteCloudStorageFolder",[n.tz.files.getCloudStorageFolderContents]:"api.files.getCloudStorageFolderContents",[n.tz.files.getCloudStorageFolders]:"api.files.getCloudStorageFolders",[n.tz.files.getExternalProviders]:"api.files.getExternalProviders",[n.tz.files.openFilePreview]:"api.files.openFilePreview",[n.tz.getContext]:"api.getContext",[n.tz.hostEntity.tab.addAndConfigure]:"api.hostEntity.tab.addAndConfigure",[n.tz.hostEntity.tab.reconfigure]:"api.hostEntity.tab.reconfigure",[n.tz.hostEntity.tab.rename]:"api.hostEntity.tab.rename",[n.tz.hostEntity.tab.remove]:"api.hostEntity.tab.remove",[n.tz.hostEntity.tab.getAll]:"api.hostEntity.tab.getAll",[n.tz.interactive.getClientInfo]:"api.interactive.getClientInfo",[n.tz.interactive.getClientRoles]:"api.interactive.getClientRoles",[n.tz.interactive.getFluidContainerId]:"api.interactive.getFluidContainerId",[n.tz.interactive.getFluidTenantInfo]:"api.interactive.getFluidTenantInfo",[n.tz.interactive.getFluidToken]:"api.interactive.getFluidToken",[n.tz.interactive.getNtpTime]:"api.interactive.getNtpTime",[n.tz.interactive.registerClientId]:"api.interactive.registerClientId",[n.tz.interactive.setFluidContainerId]:"api.interactive.setFluidContainerId",[n.tz.links.openLink]:"api.links.openLink",[n.tz.location.getCurrentLocation]:"api.location.getCurrentLocation",[n.tz.location.map.showLocation]:"api.location.map.showLocation",[n.tz.mail.composeMail]:"api.mail.composeMail",[n.tz.mail.openMailItem]:"api.mail.openMailItem",[n.tz.marketplace.addOrUpdateCartItems]:"api.marketplace.addOrUpdateCartItems",[n.tz.marketplace.getCart]:"api.marketplace.getCart",[n.tz.marketplace.removeCartItems]:"api.marketplace.removeCartItems",[n.tz.marketplace.updateCartStatus]:"api.marketplace.updateCartStatus",[n.tz.media.captureImage]:"api.media.captureImage",[n.tz.media.getMedia]:"api.media.getMedia",[n.tz.media.selectMedia]:"api.media.selectMedia",[n.tz.media.viewImages]:"api.media.viewImages",[n.tz.meeting.appShareButton.setOptions]:"api.meeting.appShareButton.setOptions",[n.tz.meeting.getAppContentStageSharingCapabilities]:"api.meeting.getAppContentStageSharingCapabilities",[n.tz.meeting.getAppContentStageSharingState]:"api.meeting.getAppContentStageSharingState",[n.tz.meeting.getAuthenticationTokenForAnonymousUser]:"api.meeting.getAuthenticationTokenForAnonymousUser",[n.tz.meeting.getIncomingClientAudioState]:"api.meeting.getIncomingClientAudioState",[n.tz.meeting.getLiveStreamState]:"api.meeting.getLiveStreamState",[n.tz.meeting.getMeetingDetails]:"api.meeting.getMeetingDetails",[n.tz.meeting.joinMeeting]:"api.meeting.joinMeeting",[n.tz.meeting.requestAppAudioHandling]:"api.meeting.requestAppAudioHandling",[n.tz.meeting.requestStartLiveStreaming]:"api.meeting.requestStartLiveStreaming",[n.tz.meeting.requestStopLiveStreaming]:"api.meeting.requestStopLiveStreaming",[n.tz.meeting.shareAppContentToStage]:"api.meeting.shareAppContentToStage",[n.tz.meeting.stopSharingAppContentToStage]:"api.meeting.stopSharingAppContentToStage",[n.tz.meeting.toggleIncomingClientAudio]:"api.meeting.toggleIncomingClientAudio",[n.tz.meeting.updateMicState]:"api.meeting.updateMicState",[n.tz.meetingRoom.getPairedMeetingRoomInfo]:"api.meetingRoom.getPairedMeetingRoomInfo",[n.tz.meetingRoom.sendCommandToPairedMeetingRoom]:"api.meetingRoom.sendCommandToPairedMeetingRoom",[n.tz.monetization.openPurchaseExperience]:"api.monetization.openPurchaseExperience",[n.tz.nestedAppAuth.execute]:"api.nestedAppAuth.execute",[n.tz.nestedAppAuth.manageNAATrustedOrigins]:"api.nestedAppAuth.manageNAATrustedOrigins",[n.tz.notifications.showNotification]:"api.notifications.showNotification",[n.tz.pages.backStack.navigateBack]:"api.pages.backStack.navigateBack",[n.tz.pages.config.remove.failure]:"api.pages.config.remove.failure",[n.tz.pages.config.remove.success]:"api.pages.config.remove.success",[n.tz.pages.config.save.failure]:"api.pages.config.save.failure",[n.tz.pages.config.save.success]:"api.pages.config.save.success",[n.tz.pages.config.setConfig]:"api.pages.config.setConfig",[n.tz.pages.config.setValidityState]:"api.pages.config.setValidityState",[n.tz.pages.currentApp.navigateTo]:"api.pages.currentApp.navigateTo",[n.tz.pages.currentApp.navigateToDefaultPage]:"api.pages.currentApp.navigateToDefaultPage",[n.tz.pages.fullTrust.enterFullscreen]:"api.pages.fullTrust.enterFullscreen",[n.tz.pages.fullTrust.exitFullscreen]:"api.pages.fullTrust.exitFullscreen",[n.tz.pages.getConfig]:"api.pages.getConfig",[n.tz.pages.navigateCrossDomain]:"api.pages.navigateCrossDomain",[n.tz.pages.navigateToApp]:"api.pages.navigateToApp",[n.tz.pages.returnFocus]:"api.pages.returnFocus",[n.tz.pages.setCurrentFrame]:"api.pages.setCurrentFrame",[n.tz.pages.shareDeepLink]:"api.pages.shareDeepLink",[n.tz.pages.tabs.getMruTabInstances]:"api.pages.tabs.getMruTabInstances",[n.tz.pages.tabs.getTabInstances]:"api.pages.tabs.getTabInstances",[n.tz.pages.tabs.navigateToTab]:"api.pages.tabs.navigateToTab",[n.tz.people.selectPeople]:"api.people.selectPeople",[n.tz.permissions.requestUserConsentForPermission]:"api.permissions.requestUserConsentForPermission",[n.tz.permissions.storageService.getPermissionStatus]:"api.permissions.storageService.getPermissionStatus",[n.tz.profile.showProfile]:"api.profile.showProfile",[n.tz.registerHandler]:"api.registerHandler",[n.tz.remoteCamera.getCapableParticipants]:"api.remoteCamera.getCapableParticipants",[n.tz.remoteCamera.requestControl]:"api.remoteCamera.requestControl",[n.tz.remoteCamera.sendControlCommand]:"api.remoteCamera.sendControlCommand",[n.tz.remoteCamera.terminateSession]:"api.remoteCamera.terminateSession",[n.tz.search.closeSearch]:"api.search.closeSearch",[n.tz.search.unregister]:"api.search.unregister",[n.tz.shortcutRelay.getHostShortcuts]:"api.shortcutRelay.getHostShortcuts",[n.tz.shortcutRelay.forwardShortcutEvent]:"api.shortcutRelay.forwardShortcutEvent",[n.tz.stageView.open]:"api.stageView.open",[n.tz.stageView.self.close]:"api.stageView.self.close",[n.tz.store.openFullStore]:"api.store.openFullStore",[n.tz.store.openAppDetail]:"api.store.openAppDetail",[n.tz.store.openInContextStore]:"api.store.openInContextStore",[n.tz.store.openSpecificStore]:"api.store.openSpecificStore",[n.tz.teams.fullTrust.getConfigSetting]:"api.teams.fullTrust.getConfigSetting",[n.tz.teams.fullTrust.joinedTeams.getUserJoinedTeams]:"api.teams.fullTrust.joinedTeams.getUserJoinedTeams",[n.tz.teams.getTeamChannels]:"api.teams.getTeamChannels",[n.tz.teams.refreshSiteUrl]:"api.teams.refreshSiteUrl",[n.tz.webStorage.isWebStorageClearedOnUserLogOut]:"api.webStorage.isWebStorageClearedOnUserLogOut"},a=new Map([[n.tz.initialize,"initialize"],[n.tz.appInitialization.appLoaded,"appLoaded"],[n.tz.appInitialization.success,"success"],[n.tz.appInitialization.failure,"failure"],[n.tz.appInitialization.expectedFailure,"expectedFailure"]])},5042:(e,t,r)=>{"use strict";function n(e,t){for(const r in e){const n=parseInt(r,10);if(n>=0){const i=e[r];if(i&&"string"==typeof i&&i.toLowerCase()===t.toLowerCase())return n}}}function i(e){const t=[];for(const r in e)if(parseInt(r,10)>=0){const n=e[r];n&&"string"==typeof n&&t.push(n)}return t}r.d(t,{FM:()=>a,aL:()=>i,l0:()=>n,pm:()=>s});const o=new Map;function a(e,t){o.set(e,t)}function s(e){return o.get(e)}},5043:function(e,t){"use strict";var r,n,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.LoginRequestResponse=t.ErrorResponse=t.SuccessResponse=t.ActivityResponse=t.ActivityRequestError=t.ActivityRequestTrigger=void 0,(n=t.ActivityRequestTrigger||(t.ActivityRequestTrigger={})).Automatic="automatic",n.Manual="manual";t.ActivityRequestError=function(e,t){this.code=e,this.message=t};var o=function(e){this.request=e};t.ActivityResponse=o;var a=function(e){function t(t,r){var n=e.call(this,t)||this;return n.request=t,n.rawContent=r,n}return i(t,e),t}(o);t.SuccessResponse=a;var s=function(e){function t(t,r){var n=e.call(this,t)||this;return n.request=t,n.error=r,n}return i(t,e),t}(o);t.ErrorResponse=s;var l=function(e){function t(t,r){var n=e.call(this,t)||this;n.request=t,n._auth=r;for(var i=0,o=n._auth.buttons;i<o.length;i++){var a=o[i];if("signin"===a.type&&void 0!==a.value)try{new URL(a.value),n.signinButton=a;break}catch(e){}}return n}return i(t,e),Object.defineProperty(t.prototype,"tokenExchangeResource",{get:function(){return this._auth.tokenExchangeResource},enumerable:!1,configurable:!0}),t}(o);t.LoginRequestResponse=l},5058:(e,t,r)=>{"use strict";function n(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}r.d(t,{S:()=>n})},5067:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t){return function(r){return e(t(r))}}},5075:(e,t,r)=>{"use strict";r.d(t,{e:()=>o});var n=r(2583),i=r(4686);class o extends i._Z{get verb(){return this.getValue(o.verbProperty)}set verb(e){this.setValue(o.verbProperty,e)}getJsonTypeName(){return o.JsonTypeName}}o.JsonTypeName="Action.Execute",o.verbProperty=new n.XB(n.uq.v1_4,"verb")},5097:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(9710),i=r(2077);class o extends i.j{constructor(e){super(e),(0,n._R)(e)}toJSON(){return{appIdAsString:this.toString()}}}},5168:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(8377).A.Uint8Array},5170:(e,t,r)=>{"use strict";r.d(t,{m:()=>E});var n,i=r(8207),o=r(9126),a=r(4617),s=r(5454),l=r(5239),c=r(9577),u=r(8374),d=r(7938),p=r(2129),f=r(1279),h=r(9973),g=r(5561),m="sendAttempt",v="&"+f.fL+"=true",y=((n={})[1]=f.vG,n[100]=f.vG,n[200]="sent",n[8004]=f.N4,n[8003]=f.N4,n),b={},w={};function S(e,t,r){b[e]=t,!1!==r&&(w[t]=e)}function C(e){try{return e.responseText}catch(e){}return f.m5}function A(e,t){var r=!1;if(e&&t){var n=(0,l.cG)(e);if(n&&n.length>0)for(var i=t.toLowerCase(),o=0;o<n.length;o++){var a=n[o];if(a&&(0,l.mQ)(t,a)&&a.toLowerCase()===i){r=!0;break}}}return r}function x(e,t,r,n){t&&r&&r.length>0&&(n&&b[t]?(e.hdrs[b[t]]=r,e.useHdrs=!0):e.url+="&"+t+"="+r)}function k(e,t){return t&&((0,l.Et)(t)?e=[t].concat(e):(0,l.cy)(t)&&(e=t.concat(e))),e}S(f._s,f._s,!1),S(f.rv,f.rv),S(f.OF,"Client-Id"),S(f.Bd,f.Bd),S(f.uY,f.uY),S(f.YH,f.YH),S(f.z5,f.z5);var E=function(){function e(t,r,n,b,S){this._responseHandlers=[];var E,_,I,P,T,B,D,N,R,O,z="?cors=true&"+f.l6.toLowerCase()+"="+f.Xh,M=new a.A,F=!1,L=new o.A,j=!1,V=0,H=!0,q=[],U={},$=[],W=null,G=!1,K=!1,X=!1;(0,i.A)(e,this,(function(e){var i=!0;function o(e,t){for(var r=0,n=null,i=0;null==n&&i<e.length;)1===(r=e[i])?(0,u.PV)()?n=a:(0,u.xk)()&&(n=J):2===r&&(0,u.R7)(t)&&(!t||t&&!N)?n=Y:j&&3===r&&(0,u.Uf)()&&(n=Q),i++;return n?{_transport:r,_isSync:t,sendPOST:n}:null}function a(e,t,r){var n=new XDomainRequest;n.open(f.p2,e.urlString),e.timeout&&(n.timeout=e.timeout),n.onload=function(){var e=C(n);Z(t,200,{},e),ue(e)},n.onerror=function(){Z(t,400,{})},n.ontimeout=function(){Z(t,500,{})},n.onprogress=function(){},r?n.send(e.data):S.set((function(){n.send(e.data)}),0)}function Y(e,t,r){var n,o=e.urlString,a=!1,s=!1,c=((n={body:e.data,method:f.p2})[f.H6]=!0,n);r&&(c.keepalive=!0,2===e._sendReason&&(a=!0,O&&(o+=v))),i&&(c.credentials="include"),e.headers&&(0,l.cG)(e.headers).length>0&&(c.headers=e.headers),fetch(o,c).then((function(e){var r={},n=f.m5,i=e.headers;i&&i.forEach((function(e,t){r[t]=e})),e.body&&e.text().then((function(e){n=e})),s||(s=!0,Z(t,e.status,r,n),ue(n))})).catch((function(e){s||(s=!0,Z(t,0,{}))})),a&&!s&&(s=!0,Z(t,200,{})),!s&&e.timeout>0&&S.set((function(){s||(s=!0,Z(t,500,{}))}),e.timeout)}function J(e,t,r){var n=e.urlString;function o(e,t,r){if(!e[r]&&t&&t.getResponseHeader){var n=t.getResponseHeader(r);n&&(e[r]=(0,l.EH)(n))}return e}function a(e,r){Z(t,e.status,function(e){var t={};return e.getAllResponseHeaders?t=function(e){var t={};if((0,l.Kg)(e)){var r=(0,l.EH)(e).split(/[\r\n]+/);(0,l.Iu)(r,(function(e){if(e){var r=e.indexOf(": ");if(-1!==r){var n=(0,l.EH)(e.substring(0,r)).toLowerCase(),i=(0,l.EH)(e.substring(r+1));t[n]=i}else t[(0,l.EH)(e)]=1}}))}return t}(e.getAllResponseHeaders()):(t=o(t,e,f.Vb),t=o(t,e,f.Gf),t=o(t,e,f.AD)),t}(e),r)}r&&e.disableXhrSync&&(r=!1);var s=(0,c.H$)(f.p2,n,i,!0,r,e.timeout);(0,l.z)(e.headers,(function(e,t){s.setRequestHeader(e,t)})),s.onload=function(){var e=C(s);a(s,e),ue(e)},s.onerror=function(){a(s)},s.ontimeout=function(){a(s)},s.send(e.data)}function Z(e,t,r,n){try{e(t,r,n)}catch(e){(0,p.ZP)(_,2,518,(0,u.mm)(e))}}function Q(e,t,r){var n=200,i=e._thePayload,o=e.urlString+(O?v:f.m5);try{var a=(0,u.w3)();if(!a.sendBeacon(o,e.data))if(i){var s=[];(0,l.Iu)(i.batches,(function(e){if(s&&e&&e.count()>0){for(var t=e.events(),r=0;r<t.length;r++)if(!a.sendBeacon(o,W.getEventBlob(t[r]))){s.push(e.split(r));break}}else s.push(e.split(0))})),de(s,8003,i.sendType,!0)}else n=0}catch(e){(0,p.OG)(_,"Failed to send telemetry using sendBeacon API. Ex:"+(0,u.mm)(e)),n=0}finally{Z(t,n,{},f.m5)}}function ee(e){return 2===e||3===e}function te(e){return K&&ee(e)&&(e=2),e}function re(){return!F&&V<r}function ne(){var e=$;return $=[],e}function ie(e,t,r){var n=!1;return e&&e.length>0&&!F&&I[t]&&W&&(n=0!==t||re()&&(r>0||L.allowRequestSending())),n}function oe(e){var t={};return e&&(0,l.Iu)(e,(function(e,r){t[r]={iKey:e.iKey(),evts:e.events()}})),t}function ae(e,r,n,i,o){if(e&&0!==e.length)if(F)de(e,1,i);else{i=te(i);try{var a=e,s=0!==i;(0,d.r2)(P,(function(){return"HttpManager:_sendBatches"}),(function(a){a&&(e=e.slice(0));for(var l=[],u=null,d=(0,c.WB)(),p=I[i]||(s?I[1]:I[0]),f=p&&p._transport,h=R&&(K||ee(i)||3===f||p._isSync&&2===f);ie(e,i,r);){var g=e.shift();g&&g.count()>0&&(M.isTenantKilled(g.iKey())?l.push(g):(u=u||W.createPayload(r,n,s,h,o,i),W.appendPayload(u,g,t)?null!==u.overflow&&(e=[u.overflow].concat(e),u.overflow=null,le(u,d,(0,c.WB)(),o),d=(0,c.WB)(),u=null):(le(u,d,(0,c.WB)(),o),d=(0,c.WB)(),e=[g].concat(e),u=null)))}u&&le(u,d,(0,c.WB)(),o),e.length>0&&($=e.concat($)),de(l,8004,i)}),(function(){return{batches:oe(a),retryCount:r,isTeardown:n,isSynchronous:s,sendReason:o,useSendBeacon:ee(i),sendType:i}}),!s)}catch(e){(0,p.ZP)(_,2,48,"Unexpected Exception sending batch: "+(0,u.mm)(e))}}}function se(e,t,r){e[t]=e[t]||{},e[t][E.identifier]=r}function le(t,r,i,o){if(t&&t.payloadBlob&&t.payloadBlob.length>0){var a=!!e.sendHook,g=I[t.sendType];!ee(t.sendType)&&t.isBeacon&&2===t.sendReason&&(g=I[2]||I[3]||g);var v=X;(t.isBeacon||3===g._transport)&&(v=!1);var y=function(e,t){var r={url:z,hdrs:{},useHdrs:!1};t?(r.hdrs=(0,c.X$)(r.hdrs,U),r.useHdrs=(0,l.cG)(r.hdrs).length>0):(0,l.z)(U,(function(e,t){w[e]?x(r,w[e],t,!1):(r.hdrs[e]=t,r.useHdrs=!0)})),x(r,f.OF,"NO_AUTH",t),x(r,f.rv,c.xE,t);var n=f.m5;(0,l.Iu)(e.apiKeys,(function(e){n.length>0&&(n+=","),n+=e})),x(r,f.Bd,n,t),x(r,f.YH,(0,l.x3)().toString(),t);var i=function(e){for(var t=0;t<e.batches.length;t++){var r=e.batches[t].Msfpc();if(r)return encodeURIComponent(r)}return f.m5}(e);if((0,c.yD)(i)&&(r.url+="&ext.intweb.msfpc="+i),L.shouldAddClockSkewHeaders()&&x(r,f.uY,L.getClockSkewHeaderValue(),t),P.getWParam){var o=P.getWParam();o>=0&&(r.url+="&w="+o)}for(var a=0;a<q.length;a++)r.url+="&"+q[a].name+"="+q[a].value;return r}(t,v);v=v||y.useHdrs;var b=(0,c.WB)();(0,d.r2)(P,(function(){return"HttpManager:_doPayloadSend"}),(function(){for(var w=0;w<t.batches.length;w++)for(var S=t.batches[w].events(),C=0;C<S.length;C++){var x=S[C];if(G){var k=x.timings=x.timings||{};se(k,"sendEventStart",b),se(k,"serializationStart",r),se(k,"serializationCompleted",i)}x[m]>0?x[m]++:x[m]=1}de(t.batches,1e3+(o||0),t.sendType,!0);var I={data:t.payloadBlob,urlString:y.url,headers:y.hdrs,_thePayload:t,_sendReason:o,timeout:B,disableXhrSync:D,disableFetchKeepAlive:N};v&&(A(I.headers,f.Zf)||(I.headers[f.Zf]=f.LB),A(I.headers,f.l6)||(I.headers[f.l6]=f.Xh));var T=null;g&&(T=function(r){L.firstRequestSent();var i=function(r,i){!function(t,r,i,o){var a=9e3,u=null,d=!1,p=!1;try{var g=!0;if(typeof t!==s.bA){if(r){L.setClockSkew(r[f.Vb]);var m=r[f.Gf]||r["kill-duration-seconds"];(0,l.Iu)(M.setKillSwitchTenants(r[f.Mr],m),(function(e){(0,l.Iu)(i.batches,(function(t){if(t.iKey()===e){u=u||[];var r=t.split(0);i.numEvents-=r.count(),u.push(r)}}))}))}if(200==t||204==t)return void(a=200);(!(0,h.t)(t)||i.numEvents<=0)&&(g=!1),a=9e3+t%1e3}if(g){a=100;var v=i.retryCnt;0===i.sendType&&(v<n?(d=!0,ce((function(){0===i.sendType&&V--,ae(i.batches,v+1,i.isTeardown,K?2:i.sendType,5)}),K,(0,h.L)(v))):(p=!0,K&&(a=8001)))}}finally{d||(L.setClockSkew(),function(t,r,n,i){try{i&&E._backOffTransmission(),200===r&&(i||t.isSync||E._clearBackOff(),function(e){if(G){var t=(0,c.WB)();(0,l.Iu)(e,(function(e){e&&e.count()>0&&function(e,t){G&&(0,l.Iu)(e,(function(e){se(e.timings=e.timings||{},"sendEventCompleted",t)}))}(e.events(),t)}))}}(t.batches)),de(t.batches,r,t.sendType,!0)}finally{0===t.sendType&&(V--,5!==n&&e.sendQueuedRequests(t.sendType,n))}}(i,a,o,p)),de(u,8004,i.sendType)}}(r,i,t,o)},a=t.isTeardown||t.isSync;try{g.sendPOST(r,i,a),e.sendListener&&e.sendListener(I,r,a,t.isBeacon)}catch(e){(0,p.OG)(_,"Unexpected exception sending payload. Ex:"+(0,u.mm)(e)),Z(i,0,{})}}),(0,d.r2)(P,(function(){return"HttpManager:_doPayloadSend.sender"}),(function(){if(T)if(0===t.sendType&&V++,a&&!t.isBeacon&&3!==g._transport){var r={data:I.data,urlString:I.urlString,headers:(0,c.X$)({},I.headers),timeout:I.timeout,disableXhrSync:I.disableXhrSync,disableFetchKeepAlive:I.disableFetchKeepAlive},n=!1;(0,d.r2)(P,(function(){return"HttpManager:_doPayloadSend.sendHook"}),(function(){try{e.sendHook(r,(function(e){n=!0,H||e._thePayload||(e._thePayload=e._thePayload||I._thePayload,e._sendReason=e._sendReason||I._sendReason),T(e)}),t.isSync||t.isTeardown)}catch(e){n||T(I)}}))}else T(I)}))}),(function(){return{thePayload:t,serializationStart:r,serializationCompleted:i,sendReason:o}}),t.isSync)}t.sizeExceed&&t.sizeExceed.length>0&&de(t.sizeExceed,8003,t.sendType),t.failedEvts&&t.failedEvts.length>0&&de(t.failedEvts,8002,t.sendType)}function ce(e,t,r){t?e():S.set(e,r)}function ue(t){var r=e._responseHandlers;try{for(var n=0;n<r.length;n++)try{r[n](t)}catch(e){(0,p.ZP)(_,1,519,"Response handler failed: "+e)}if(t){var i=JSON.parse(t);(0,c.yD)(i.webResult)&&(0,c.yD)(i.webResult[f._G])&&T.set("MSFPC",i.webResult[f._G],31536e3)}}catch(e){}}function de(e,t,r,n){if(e&&e.length>0&&b){var i=b[(a=t,s=y[a],(0,c.yD)(s)||(s=f.L7,a>=9e3&&a<=9999?s=f.l$:a>=8e3&&a<=8999?s=f.N4:a>=1e3&&a<=1999&&(s=f.BC)),s)];if(i){var o=0!==r;(0,d.r2)(P,(function(){return"HttpManager:_sendBatchesNotification"}),(function(){ce((function(){try{i.call(b,e,t,o,r)}catch(e){(0,p.ZP)(_,1,74,"send request notification failed: "+e)}}),n||o,0)}),(function(){return{batches:oe(e),reason:t,isSync:o,sendSync:n,sendType:r}}),!o)}}var a,s}e.initialize=function(e,t,r,n,a){var s;a||(a={}),z=e+z,X=!!(0,l.b0)(a.avoidOptions)||!a.avoidOptions,P=t,T=t.getCookieMgr(),G=!P.config.disableEventTimings;var c=!!P.config.enableCompoundKey;_=(E=r).diagLog();var d=a.valueSanitizer,f=a.stringifyObjects;(0,l.b0)(a.enableCompoundKey)||(c=!!a.enableCompoundKey),B=a.xhrTimeout,D=!!a.disableXhrSync,N=!!a.disableFetchKeepAlive,O=!1!==a.addNoResponse,j=!(0,u.lV)(),W=new g.h(P,d,f,c),(0,l.hX)(a.useSendBeacon)||(j=!!a.useSendBeacon);var h=n,m=a.alwaysUseXhrOverride?n:null,v=a.alwaysUseXhrOverride?n:null,y=[3,2];if(!n){H=!1;var b=(0,u.g$)();b&&b.protocol&&"file:"===b.protocol.toLowerCase()&&(i=!1);var w=[];(0,u.lV)()?(w=[2,1],y=[2,1,3]):w=[1,2,3],(n=o(w=k(w,a.transports),!1))||(0,p.OG)(_,"No available transport to send events"),h=o(w,!0)}m||(m=o(y=k(y,a.unloadTransports),!0)),R=!H&&(j&&(0,u.Uf)()||!N&&(0,u.R7)(!0)),(s={})[0]=n,s[1]=h||o([1,2,3],!0),s[2]=m||h||o([1],!0),s[3]=v||o([2,3],!0)||h||o([1],!0),I=s},e._getDbgPlgTargets=function(){return[I[0],M,W,I]},e.addQueryStringParameter=function(e,t){for(var r=0;r<q.length;r++)if(q[r].name===e)return void(q[r].value=t);q.push({name:e,value:t})},e.addHeader=function(e,t){U[e]=t},e.canSendRequest=function(){return re()&&L.allowRequestSending()},e.sendQueuedRequests=function(e,t){(0,l.b0)(e)&&(e=0),K&&(e=te(e),t=2),ie($,e,0)&&ae(ne(),0,!1,e,t||0)},e.isCompletelyIdle=function(){return!F&&0===V&&0===$.length},e.setUnloading=function(e){K=e},e.addBatch=function(e){if(e&&e.count()>0){if(M.isTenantKilled(e.iKey()))return!1;$.push(e)}return!0},e.teardown=function(){$.length>0&&ae(ne(),0,!0,2,2)},e.pause=function(){F=!0},e.resume=function(){F=!1,e.sendQueuedRequests(0,4)},e.sendSynchronousBatch=function(e,t,r){e&&e.count()>0&&((0,l.hX)(t)&&(t=1),K&&(t=te(t),r=2),ae([e],0,!1,t,r||0))}}))}return e.__ieDyn=1,e}()},5188:(e,t,r)=>{"use strict";r.d(t,{$4:()=>j,$5:()=>h,$o:()=>N,AP:()=>w,Di:()=>y,EX:()=>S,Ek:()=>G,GA:()=>c,H7:()=>C,HC:()=>P,Ic:()=>A,Ik:()=>x,JR:()=>k,Ju:()=>a,OL:()=>W,O_:()=>Z,P5:()=>te,QM:()=>K,RF:()=>o,RS:()=>i,Re:()=>z,Rr:()=>ne,Ru:()=>ee,Sj:()=>O,TP:()=>v,Uw:()=>d,W7:()=>q,YH:()=>D,Yo:()=>X,Zu:()=>J,a$:()=>U,by:()=>b,e4:()=>B,e_:()=>Q,fA:()=>f,kt:()=>L,lJ:()=>Y,lK:()=>R,mE:()=>n,oI:()=>p,pM:()=>E,ps:()=>g,re:()=>V,sY:()=>F,sl:()=>u,sx:()=>$,tI:()=>_,tX:()=>M,tZ:()=>l,tn:()=>I,uR:()=>T,vR:()=>m,wi:()=>re,y5:()=>s,y9:()=>H});var n="initialize",i="name",o="getNotifyMgr",a="identifier",s="push",l="isInitialized",c="config",u="instrumentationKey",d="logger",p="length",f="time",h="processNext",g="getProcessTelContext",m="addNotificationListener",v="removeNotificationListener",y="stopPollingInternalLogs",b="onComplete",w="getPlugin",S="flush",C="_extensions",A="splice",x="teardown",k="messageId",E="message",_="isAsync",I="_doTeardown",P="update",T="getNext",B="diagLog",D="setNextPlugin",N="createNew",R="cookieCfg",O="indexOf",z="substring",M="userAgent",F="split",L="setEnabled",j="substr",V="nodeType",H="apply",q="replace",U="enableDebugExceptions",$="logInternalMessage",W="toLowerCase",G="call",K="type",X="handler",Y="listeners",J="isChildEvt",Z="getCtx",Q="setCtx",ee="complete",te="traceId",re="spanId",ne="traceFlags"},5239:(e,t,r)=>{"use strict";r.d(t,{$8:()=>me,$P:()=>$,CP:()=>we,Cv:()=>H,EH:()=>ne,Ed:()=>N,Et:()=>X,Gh:()=>z,Gv:()=>F,Iu:()=>Q,Ju:()=>U,KT:()=>re,KY:()=>pe,Kg:()=>K,Lm:()=>Y,N6:()=>ce,RF:()=>ve,SA:()=>he,Tn:()=>L,W$:()=>te,_u:()=>Z,b0:()=>R,bJ:()=>G,c2:()=>fe,cG:()=>ae,cH:()=>j,cy:()=>W,hW:()=>be,hX:()=>O,lL:()=>de,mQ:()=>M,o$:()=>ye,ol:()=>le,r:()=>se,rD:()=>ee,tG:()=>q,x3:()=>ue,z:()=>V,zz:()=>ge});var n=r(5454),i=r(90),o=r(5188),a=r(9666),s="toISOString",l="endsWith",c="startsWith",u="indexOf",d="map",p="reduce",f="trim",h="toString",g="__proto__",m="constructor",v=n.KU,y=n.s6.freeze,b=(n.s6.seal,n.s6.keys),w=String[n.vR],S=w[f],C=w[l],A=w[c],x=Date[n.vR][s],k=Array.isArray,E=n.Wy[h],_=n.J$[h],I=_[o.Ek](n.s6),P=/-([a-z])/g,T=/([^\w\d_$])/g,B=/^(\d+[\w\d_$])/,D=Object.getPrototypeOf;function N(e,t){return typeof e===t}function R(e){return void 0===e||typeof e===n.bA}function O(e){return null===e||R(e)}function z(e){return!O(e)}function M(e,t){return!(!e||!n.J$[o.Ek](e,t))}function F(e){return!(!e||typeof e!==n._1)}function L(e){return!(!e||typeof e!==n.hW)}function j(e){var t=e;return t&&K(t)&&(t=(t=(t=t[o.W7](P,(function(e,t){return t.toUpperCase()})))[o.W7](T,"_"))[o.W7](B,(function(e,t){return"_"+t}))),t}function V(e,t){if(e)for(var r in e)n.J$[o.Ek](e,r)&&t[o.Ek](e,r,e[r])}function H(e,t){var r=!1;return e&&t&&!(r=e===t)&&(r=C?e[l](t):function(e,t){var r=!1,n=t?t[o.oI]:0,i=e?e[o.oI]:0;if(n&&i&&i>=n&&!(r=e===t)){for(var a=i-1,s=n-1;s>=0;s--){if(e[a]!=t[s])return!1;a--}r=!0}return r}(e,t)),r}function q(e,t){var r=!1;return e&&t&&!(r=e===t)&&(r=A?e[c](t):function(e,t){var r=!1,n=t?t[o.oI]:0;if(e&&n&&e[o.oI]>=n&&!(r=e===t)){for(var i=0;i<n;i++)if(e[i]!==t[i])return!1;r=!0}return r}(e,t)),r}function U(e,t){return!(!e||!t)&&-1!==e[o.Sj](t)}function $(e){return!(!e||"[object Date]"!==E[o.Ek](e))}var W=k||function(e){return!(!e||"[object Array]"!==E[o.Ek](e))};function G(e){return!(!e||"[object Error]"!==E[o.Ek](e))}function K(e){return"string"==typeof e}function X(e){return"number"==typeof e}function Y(e){return"boolean"==typeof e}function J(e){var t=!1;if(e&&"object"==typeof e){var r=D?D(e):function(e){if(e){if(D)return D(e);var t=e[g]||e[n.vR]||e[m];if(t)return t}return null}(e);r?(r[m]&&n.J$[o.Ek](r,m)&&(r=r[m]),t=typeof r===n.hW&&_[o.Ek](r)===I):t=!0}return t}function Z(e){if(e)return x?e[s]():function(e){if(e&&e.getUTCFullYear){var t=function(e){var t=String(e);return 1===t[o.oI]&&(t="0"+t),t};return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}(e)}function Q(e,t,r){var n=e[o.oI];try{for(var i=0;i<n&&(!(i in e)||-1!==t[o.Ek](r||e,e[i],i,e));i++);}catch(e){}}function ee(e,t,r){if(e){if(e[u])return e[u](t,r);var n=e[o.oI],i=r||0;try{for(var a=Math.max(i>=0?i:n-Math.abs(i),0);a<n;a++)if(a in e&&e[a]===t)return a}catch(e){}}return-1}function te(e,t,r){var n;if(e){if(e[d])return e[d](t,r);var i=e[o.oI],a=r||e;n=new Array(i);try{for(var s=0;s<i;s++)s in e&&(n[s]=t[o.Ek](a,e[s],e))}catch(e){}}return n}function re(e,t,r){var n;if(e){if(e[p])return e[p](t,r);var i=e[o.oI],a=0;if(arguments[o.oI]>=3)n=arguments[2];else{for(;a<i&&!(a in e);)a++;n=e[a++]}for(;a<i;)a in e&&(n=t(n,e[a],a,e)),a++}return n}function ne(e){return e&&(e=S&&e[f]?e[f]():e[o.W7]?e[o.W7](/^\s+|(?=\s)\s+$/g,a.m5):e),e}var ie=!{toString:null}.propertyIsEnumerable("toString"),oe=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function ae(e){var t=typeof e;if(t===n.hW||t===n._1&&null!==e||(0,i.zk)("objKeys called on non-object"),!ie&&b)return b(e);var r=[];for(var a in e)e&&n.J$[o.Ek](e,a)&&r[o.y5](a);if(ie)for(var s=oe[o.oI],l=0;l<s;l++)e&&n.J$[o.Ek](e,oe[l])&&r[o.y5](oe[l]);return r}function se(e,t,r,n){if(v)try{var i={enumerable:!0,configurable:!0};return r&&(i.get=r),n&&(i.set=n),v(e,t,i),!0}catch(e){}return!1}function le(e){return y&&V(e,(function(e,t){(W(t)||F(t))&&y(t)})),ce(e)}var ce=y||function(e){return e};function ue(){var e=Date;return e.now?e.now():(new e).getTime()}function de(e){return G(e)?e[o.RS]:a.m5}function pe(e,t,r,n,i){var o=r;return e&&((o=e[t])===r||i&&!i(o)||n&&!n(r)||(o=r,e[t]=o)),o}function fe(e,t,r){var n;return e?!(n=e[t])&&O(n)&&(n=R(r)?{}:r,e[t]=n):n=R(r)?{}:r,n}function he(e,t){return O(e)?t:e}function ge(e){return!!e}function me(e){throw new Error(e)}function ve(e,t,r,n,i){e&&t&&r&&(!1!==i||R(e[t]))&&(e[t]=function(e,t){var r=null,n=null;return L(e)?r=e:n=e,function(){var e=arguments;if(r&&(n=r()),n)return n[t][o.y9](n,e)}}(r,n))}function ye(e,t,r,n){return e&&t&&F(e)&&W(r)&&Q(r,(function(r){K(r)&&ve(e,r,t,r,n)})),e}function be(e){return e&&n.zi&&(e=(0,n.s6)((0,n.zi)({},e))),e}function we(e,t,r,i,a,s){var l=arguments,c=l[0]||{},u=l[o.oI],d=!1,p=1;for(u>0&&Y(c)&&(d=c,c=l[p]||{},p++),F(c)||(c={});p<u;p++){var f=l[p],h=W(f),g=F(f);for(var m in f)if(h&&m in f||g&&n.J$[o.Ek](f,m)){var v=f[m],y=void 0;if(d&&v&&((y=W(v))||J(v))){var b=c[m];y?W(b)||(b=[]):J(b)||(b={}),v=we(d,b,v)}void 0!==v&&(c[m]=v)}}return c}},5260:(e,t,r)=>{"use strict";r.d(t,{g4$:()=>l,nbA:()=>a,qGP:()=>s,rLf:()=>i,sCR:()=>o});var n=r(8807);const i=(0,n.U)("ChevronDown16Regular","16",["M3.15 5.65c.2-.2.5-.2.7 0L8 9.79l4.15-4.14a.5.5 0 0 1 .7.7l-4.5 4.5a.5.5 0 0 1-.7 0l-4.5-4.5a.5.5 0 0 1 0-.7Z"]),o=(0,n.U)("ChevronLeft16Filled","16",["M10.26 3.2c.3.28.32.76.04 1.06L6.77 8l3.53 3.74a.75.75 0 1 1-1.1 1.02l-4-4.25a.75.75 0 0 1 0-1.02l4-4.25a.75.75 0 0 1 1.06-.04Z"]),a=(0,n.U)("ChevronLeft24Regular","24",["M15.53 4.22c.3.3.3.77 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25c.3-.3.77-.3 1.06 0Z"]),s=(0,n.U)("ChevronRight24Regular","24",["M8.47 4.22c-.3.3-.3.77 0 1.06L15.19 12l-6.72 6.72a.75.75 0 1 0 1.06 1.06l7.25-7.25c.3-.3.3-.77 0-1.06L9.53 4.22a.75.75 0 0 0-1.06 0Z"]),l=(0,n.U)("ChevronUp16Regular","16",["M3.15 10.35c.2.2.5.2.7 0L8 6.21l4.15 4.14a.5.5 0 0 0 .7-.7l-4.5-4.5a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 0 0 0 .7Z"])},5273:(e,t,r)=>{"use strict";r.d(t,{h:()=>l,m:()=>c});var n=r(4802),i=r(4502),o=r(4131);const a=i.TQ.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${r}Background1`]:n.yd[t].shade40,[`colorPalette${r}Background2`]:n.yd[t].shade30,[`colorPalette${r}Background3`]:n.yd[t].primary,[`colorPalette${r}Foreground1`]:n.yd[t].tint30,[`colorPalette${r}Foreground2`]:n.yd[t].tint40,[`colorPalette${r}Foreground3`]:n.yd[t].tint20,[`colorPalette${r}BorderActive`]:n.yd[t].tint30,[`colorPalette${r}Border1`]:n.yd[t].primary,[`colorPalette${r}Border2`]:n.yd[t].tint20};return Object.assign(e,i)}),{});a.colorPaletteRedForeground3=n.yd.red.tint30,a.colorPaletteRedBorder2=n.yd.red.tint30,a.colorPaletteGreenForeground3=n.yd.green.tint40,a.colorPaletteGreenBorder2=n.yd.green.tint40,a.colorPaletteDarkOrangeForeground3=n.yd.darkOrange.tint30,a.colorPaletteDarkOrangeBorder2=n.yd.darkOrange.tint30,a.colorPaletteRedForegroundInverted=n.yd.red.primary,a.colorPaletteGreenForegroundInverted=n.yd.green.primary,a.colorPaletteYellowForegroundInverted=n.yd.yellow.shade30;const s=i.dt.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${r}Background2`]:n.cc[t].shade30,[`colorPalette${r}Foreground2`]:n.cc[t].tint40,[`colorPalette${r}BorderActive`]:n.cc[t].tint30};return Object.assign(e,i)}),{});s.colorPaletteDarkRedBackground2=n.cc.darkRed.shade20,s.colorPalettePlumBackground2=n.cc.plum.shade20;const l={...a,...s},c=Object.entries(o.s).reduce(((e,[t,r])=>{const i=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${i}Background1`]:n.Ul[r].shade40,[`colorStatus${i}Background2`]:n.Ul[r].shade30,[`colorStatus${i}Background3`]:n.Ul[r].primary,[`colorStatus${i}Foreground1`]:n.Ul[r].tint30,[`colorStatus${i}Foreground2`]:n.Ul[r].tint40,[`colorStatus${i}Foreground3`]:n.Ul[r].tint20,[`colorStatus${i}BorderActive`]:n.Ul[r].tint30,[`colorStatus${i}ForegroundInverted`]:n.Ul[r].shade10,[`colorStatus${i}Border1`]:n.Ul[r].primary,[`colorStatus${i}Border2`]:n.Ul[r].tint20};return Object.assign(e,o)}),{});c.colorStatusDangerBackground3Hover=n.Ul[o.s.danger].shade10,c.colorStatusDangerBackground3Pressed=n.Ul[o.s.danger].shade20,c.colorStatusDangerForeground3=n.Ul[o.s.danger].tint40,c.colorStatusDangerBorder2=n.Ul[o.s.danger].tint30,c.colorStatusSuccessForeground3=n.Ul[o.s.success].tint40,c.colorStatusSuccessBorder2=n.Ul[o.s.success].tint40,c.colorStatusWarningForegroundInverted=n.Ul[o.s.warning].shade20},5277:(e,t,r)=>{"use strict";r.d(t,{L:()=>l});var n=r(587),i=r(2517),o=r(3278),a=r(7841);class s{constructor(){}handleEvent(e){var t;const r=e.args[0],s=e.args[1],l=e.orchestratorCommandParams.telemetryWrapper;e.orchestratorCommandParams.appSdkHost.setAppInitInfo({state:i.Jz.Loaded,appSdkVersion:l.telemetryService.getAppSdkVersion()});const c="Expected."+r;return l.isShowLoadingIndicatorEnabled&&((0,o.e5)(o.Ct.End,o.Z1.ExpectedFailureMessageProcessTime),l.failAppInitializationScenario(c,s),null===(t=e.orchestratorCommandParams.timerWrapper.timer)||void 0===t||t.clearTimer(e.sdkEventMessage)),l.failExtendedAppInitializationScenario(c,s),(0,n.X)().msg_notifyExpectedFailure_processingSucceess(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId),a.f1}}function l(){return new s}},5314:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=()=>{const e={};return function(t,r){void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}}},5356:(e,t,r)=>{"use strict";r.d(t,{x:()=>n});var n=(0,r(64).Hj)({Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5})},5373:(e,t)=>{"use strict";if("function"==typeof Symbol&&Symbol.for){var r=Symbol.for;r("react.element"),r("react.portal"),r("react.fragment"),r("react.strict_mode"),r("react.profiler"),r("react.provider"),r("react.context"),r("react.forward_ref"),r("react.suspense"),r("react.suspense_list"),r("react.memo"),r("react.lazy"),r("react.block"),r("react.server.block"),r("react.fundamental"),r("react.debug_trace_mode"),r("react.legacy_hidden")}},5396:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundImage=t.ContainerBase=t.StylableCardElementContainer=t.ContainerStyleProperty=t.ActionSet=t.ShowCardAction=t.HttpAction=t.HttpHeader=t.ToggleVisibilityAction=t.OpenUrlAction=t.DataQuery=t.ExecuteAction=t.UniversalAction=t.SubmitAction=t.SubmitActionBase=t.Action=t.TimeInput=t.TimeProperty=t.DateInput=t.NumberInput=t.FilteredChoiceSet=t.ChoiceSetInput=t.ChoiceSetInputDataQuery=t.Choice=t.ToggleInput=t.TextInput=t.Input=t.Media=t.YouTubePlayer=t.DailymotionPlayer=t.VimeoPlayer=t.IFrameMediaMediaPlayer=t.CustomMediaPlayer=t.HTML5MediaPlayer=t.MediaPlayer=t.MediaSource=t.CaptionSource=t.ContentSource=t.ImageSet=t.CardElementContainer=t.Image=t.FactSet=t.Fact=t.RichTextBlock=t.TextRun=t.TextBlock=t.BaseTextBlock=t.ActionProperty=t.CardElement=t.renderSeparation=void 0,t.SerializationContext=t.AdaptiveCard=t.Authentication=t.TokenExchangeResource=t.AuthCardButton=t.RefreshDefinition=t.RefreshActionProperty=t.ContainerWithActions=t.ColumnSet=t.Column=t.Container=void 0;var l=r(1050),c=r(3771),u=r(345),d=r(7791),p=r(681),f=r(7222),h=r(5804),g=r(1217),m=r(2378),v=r(4864);function y(e){var t,r,n="undefined"==typeof window?"":null!==(r=null===(t=window.trustedTypes)||void 0===t?void 0:t.emptyHTML)&&void 0!==r?r:"";e.innerHTML=n}function b(e,t,r){if(t.spacing>0||t.lineThickness&&t.lineThickness>0){var n=document.createElement("div");n.className=e.makeCssClassName("ac-"+(r===l.Orientation.Horizontal?"horizontal":"vertical")+"-separator"),n.setAttribute("aria-hidden","true");var i=t.lineColor?u.stringToCssColor(t.lineColor):"";return r===l.Orientation.Horizontal?t.lineThickness?(n.style.paddingTop=t.spacing/2+"px",n.style.marginBottom=t.spacing/2+"px",n.style.borderBottom=t.lineThickness+"px solid "+i):n.style.height=t.spacing+"px":t.lineThickness?(n.style.paddingLeft=t.spacing/2+"px",n.style.marginRight=t.spacing/2+"px",n.style.borderRight=t.lineThickness+"px solid "+i):n.style.width=t.spacing+"px",n.style.overflow="hidden",n.style.flex="0 0 auto",n}}t.renderSeparation=b;var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._truncatedDueToOverflow=!1,t}return i(t,e),Object.defineProperty(t.prototype,"lang",{get:function(){return this.getValue(t.langProperty)||(this.parent?this.parent.lang:void 0)},set:function(e){this.setValue(t.langProperty,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.getValue(t.isVisibleProperty)},set:function(e){c.GlobalSettings.useAdvancedCardBottomTruncation&&!e&&this.undoOverflowTruncation(),this.isVisible!==e&&(this.setValue(t.isVisibleProperty,e),this.updateRenderedElementVisibility(),this._renderedElement&&Ie(this)),this._renderedElement&&this._renderedElement.setAttribute("aria-expanded",e.toString())},enumerable:!1,configurable:!0}),t.prototype.internalRenderSeparator=function(){var e=b(this.hostConfig,{spacing:this.hostConfig.getEffectiveSpacing(this.spacing),lineThickness:this.separator?this.hostConfig.separator.lineThickness:void 0,lineColor:this.separator?this.hostConfig.separator.lineColor:void 0},this.separatorOrientation);if(c.GlobalSettings.alwaysBleedSeparators&&e&&this.separatorOrientation===l.Orientation.Horizontal){var t=this.getParentContainer();if(t&&t.getEffectivePadding()){var r=this.hostConfig.paddingDefinitionToSpacingDefinition(t.getEffectivePadding());e.style.marginLeft="-"+r.left+"px",e.style.marginRight="-"+r.right+"px"}}return e},t.prototype.updateRenderedElementVisibility=function(){var e=this.isDesignMode()||this.isVisible?this._defaultRenderedElementDisplayMode:"none";this._renderedElement&&(e?this._renderedElement.style.display=e:this._renderedElement.style.removeProperty("display")),this._separatorElement&&(this.parent&&this.parent.isFirstElement(this)?this._separatorElement.style.display="none":e?this._separatorElement.style.display=e:this._separatorElement.style.removeProperty("display"))},t.prototype.hideElementDueToOverflow=function(){this._renderedElement&&this.isVisible&&(this._renderedElement.style.visibility="hidden",this.isVisible=!1,Ie(this,!1))},t.prototype.showElementHiddenDueToOverflow=function(){this._renderedElement&&!this.isVisible&&(this._renderedElement.style.removeProperty("visibility"),this.isVisible=!0,Ie(this,!1))},t.prototype.handleOverflow=function(e){if(this.isVisible||this.isHiddenDueToOverflow()){var t=this.truncateOverflow(e);this._truncatedDueToOverflow=t||this._truncatedDueToOverflow,t?t&&!this.isVisible&&this.showElementHiddenDueToOverflow():this.hideElementDueToOverflow()}},t.prototype.resetOverflow=function(){var e=!1;return this._truncatedDueToOverflow&&(this.undoOverflowTruncation(),this._truncatedDueToOverflow=!1,e=!0),this.isHiddenDueToOverflow()&&this.showElementHiddenDueToOverflow(),e},t.prototype.getDefaultSerializationContext=function(){return new Fe},t.prototype.createPlaceholderElement=function(){var e=this.getEffectiveStyleDefinition(),t=u.stringToCssColor(e.foregroundColors.default.subtle),r=document.createElement("div");return r.style.border="1px dashed "+t,r.style.padding="4px",r.style.minHeight="32px",r.style.fontSize="10px",t&&(r.style.color=t),r.innerText=m.Strings.defaults.emptyElementText(this.getJsonTypeName()),r},t.prototype.adjustRenderedElementSize=function(e){"auto"===this.height?e.style.flex="0 0 auto":e.style.flex="1 1 auto"},t.prototype.updateInputsVisualState=function(e){var t=this.getAllInputs(),r=e?U.MouseEnterOnCard:U.MouseLeaveOnCard;t.forEach((function(e){return e.updateVisualState(r)}))},t.prototype.isDisplayed=function(){return void 0!==this._renderedElement&&this.isVisible&&this._renderedElement.offsetHeight>0},t.prototype.overrideInternalRender=function(){return this.internalRender()},t.prototype.applyPadding=function(){if(this.separatorElement&&this.separatorOrientation===l.Orientation.Horizontal)if(c.GlobalSettings.alwaysBleedSeparators&&!this.isBleeding()){var e=new c.PaddingDefinition;this.getImmediateSurroundingPadding(e);var t=this.hostConfig.paddingDefinitionToSpacingDefinition(e);this.separatorElement.style.marginLeft="-"+t.left+"px",this.separatorElement.style.marginRight="-"+t.right+"px"}else this.separatorElement.style.marginRight="0",this.separatorElement.style.marginLeft="0"},t.prototype.truncateOverflow=function(e){return!1},t.prototype.undoOverflowTruncation=function(){},t.prototype.getDefaultPadding=function(){return new c.PaddingDefinition},t.prototype.getHasBackground=function(e){return void 0===e&&(e=!1),!1},t.prototype.getHasBorder=function(){return!1},t.prototype.getPadding=function(){return this._padding},t.prototype.setPadding=function(e){this._padding=e},t.prototype.shouldSerialize=function(e){return void 0!==e.elementRegistry.findByName(this.getJsonTypeName())},Object.defineProperty(t.prototype,"useDefaultSizing",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"separatorOrientation",{get:function(){return l.Orientation.Horizontal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultStyle",{get:function(){return l.ContainerStyle.Default},enumerable:!1,configurable:!0}),t.prototype.parse=function(t,r){e.prototype.parse.call(this,t,r||new Fe)},t.prototype.asString=function(){return""},t.prototype.isBleeding=function(){return!1},t.prototype.getEffectiveStyle=function(){return this.parent?this.parent.getEffectiveStyle():this.defaultStyle},t.prototype.getEffectiveStyleDefinition=function(){return this.hostConfig.containerStyles.getStyleByName(this.getEffectiveStyle())},t.prototype.getEffectiveTextStyleDefinition=function(){return this.parent?this.parent.getEffectiveTextStyleDefinition():this.hostConfig.textStyles.default},t.prototype.getForbiddenActionTypes=function(){return[]},t.prototype.getImmediateSurroundingPadding=function(e,t,r,n,i){if(void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===n&&(n=!0),void 0===i&&(i=!0),this.parent){var o=t&&this.parent.isTopElement(this),a=r&&this.parent.isRightMostElement(this),s=n&&this.parent.isBottomElement(this),c=i&&this.parent.isLeftMostElement(this),u=this.parent.getEffectivePadding();u&&(o&&u.top!==l.Spacing.None&&(e.top=u.top,o=!1),a&&u.right!==l.Spacing.None&&(e.right=u.right,a=!1),s&&u.bottom!==l.Spacing.None&&(e.bottom=u.bottom,s=!1),c&&u.left!==l.Spacing.None&&(e.left=u.left,c=!1)),(o||a||s||c)&&this.parent.getImmediateSurroundingPadding(e,o,a,s,c)}},t.prototype.getActionCount=function(){return 0},t.prototype.getActionAt=function(e){throw new Error(m.Strings.errors.indexOutOfRange(e))},t.prototype.indexOfAction=function(e){for(var t=0;t<this.getActionCount();t++)if(this.getActionAt(t)===e)return t;return-1},t.prototype.remove=function(){return!!(this.parent&&this.parent instanceof B)&&this.parent.removeItem(this)},t.prototype.render=function(){return this._renderedElement=this.overrideInternalRender(),this._separatorElement=this.internalRenderSeparator(),this._renderedElement?(this.id&&(this._renderedElement.id=this.id),this.customCssSelector&&this._renderedElement.classList.add(this.customCssSelector),this._renderedElement.style.boxSizing="border-box",this._defaultRenderedElementDisplayMode=this._renderedElement.style.display?this._renderedElement.style.display:void 0,this.adjustRenderedElementSize(this._renderedElement),this.updateLayout(!1)):this.isDesignMode()&&(this._renderedElement=this.createPlaceholderElement()),this._renderedElement},t.prototype.updateLayout=function(e){void 0===e&&(e=!0),this.updateRenderedElementVisibility(),this.applyPadding()},t.prototype.updateActionsEnabledState=function(){for(var e=0,t=this.getRootElement().getAllActions();e<t.length;e++)t[e].updateEnabledState()},t.prototype.indexOf=function(e){return-1},t.prototype.isDesignMode=function(){var e=this.getRootElement();return e instanceof ze&&e.designMode},t.prototype.isFirstElement=function(e){return!0},t.prototype.isLastElement=function(e){return!0},t.prototype.isAtTheVeryLeft=function(){return!this.parent||this.parent.isLeftMostElement(this)&&this.parent.isAtTheVeryLeft()},t.prototype.isAtTheVeryRight=function(){return!this.parent||this.parent.isRightMostElement(this)&&this.parent.isAtTheVeryRight()},t.prototype.isAtTheVeryTop=function(){return!this.parent||this.parent.isFirstElement(this)&&this.parent.isAtTheVeryTop()},t.prototype.isAtTheVeryBottom=function(){return!this.parent||this.parent.isLastElement(this)&&this.parent.isAtTheVeryBottom()},t.prototype.isBleedingAtTop=function(){return!1},t.prototype.isBleedingAtBottom=function(){return!1},t.prototype.isLeftMostElement=function(e){return!0},t.prototype.isRightMostElement=function(e){return!0},t.prototype.isTopElement=function(e){return this.isFirstElement(e)},t.prototype.isBottomElement=function(e){return this.isLastElement(e)},t.prototype.isHiddenDueToOverflow=function(){return void 0!==this._renderedElement&&"hidden"===this._renderedElement.style.visibility},t.prototype.getRootElement=function(){return this.getRootObject()},t.prototype.getParentContainer=function(){for(var e=this.parent;e;){if(e instanceof Ce)return e;e=e.parent}},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),[]},t.prototype.getAllActions=function(){for(var e=[],t=0;t<this.getActionCount();t++){var r=this.getActionAt(t);r&&e.push(r)}return e},t.prototype.getResourceInformation=function(){return[]},t.prototype.getElementById=function(e){return this.id===e?this:void 0},t.prototype.getActionById=function(e){},t.prototype.getElementByIdFromAction=function(e){for(var t=void 0,r=0;r<this.getActionCount();r++){var n=this.getActionAt(r);if(n instanceof he&&(t=n.card.getElementById(e)))break}return t},t.prototype.getEffectivePadding=function(){return this.getPadding()||this.getDefaultPadding()},t.prototype.getEffectiveHorizontalAlignment=function(){return void 0!==this.horizontalAlignment?this.horizontalAlignment:this.parent?this.parent.getEffectiveHorizontalAlignment():l.HorizontalAlignment.Left},Object.defineProperty(t.prototype,"hostConfig",{get:function(){return this._hostConfig?this._hostConfig:this.parent?this.parent.hostConfig:d.defaultHostConfig},set:function(e){this._hostConfig=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.parent?this.parent.indexOf(this):0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInteractive",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInline",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasVisibleSeparator",{get:function(){return!(!this.parent||!this.separatorElement)&&!this.parent.isFirstElement(this)&&(this.isVisible||this.isDesignMode())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"separatorElement",{get:function(){return this._separatorElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),t.langProperty=new h.StringProperty(h.Versions.v1_1,"lang",!0,/^[a-z]{2,3}$/gi),t.isVisibleProperty=new h.BoolProperty(h.Versions.v1_2,"isVisible",!0),t.separatorProperty=new h.BoolProperty(h.Versions.v1_0,"separator",!1),t.heightProperty=new h.ValueSetProperty(h.Versions.v1_1,"height",[{value:"auto"},{value:"stretch"}],"auto"),t.horizontalAlignmentProperty=new h.EnumProperty(h.Versions.v1_0,"horizontalAlignment",l.HorizontalAlignment),t.spacingProperty=new h.EnumProperty(h.Versions.v1_0,"spacing",l.Spacing,l.Spacing.Default),o([(0,h.property)(t.horizontalAlignmentProperty)],t.prototype,"horizontalAlignment",void 0),o([(0,h.property)(t.spacingProperty)],t.prototype,"spacing",void 0),o([(0,h.property)(t.separatorProperty)],t.prototype,"separator",void 0),o([(0,h.property)(t.heightProperty)],t.prototype,"height",void 0),o([(0,h.property)(t.langProperty)],t.prototype,"lang",null),o([(0,h.property)(t.isVisibleProperty)],t.prototype,"isVisible",null),t}(f.CardObject);t.CardElement=w;var S=function(e){function t(t,r,n){void 0===n&&(n=[]);var i=e.call(this,t,r,void 0)||this;return i.targetVersion=t,i.name=r,i.forbiddenActionTypes=n,i}return i(t,e),t.prototype.parse=function(e,t,r){var n=e;return r.parseAction(n,t[this.name],this.forbiddenActionTypes,n.isDesignMode())},t.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,r?r.toJSON(n):void 0,void 0,!0)},t}(h.PropertyDefinition);t.ActionProperty=S;var C=function(e){function t(t){var r=e.call(this)||this;return r.ariaHidden=!1,t&&(r.text=t),r}return i(t,e),t.prototype.populateSchema=function(r){e.prototype.populateSchema.call(this,r),r.remove(t.selectActionProperty)},Object.defineProperty(t.prototype,"text",{get:function(){return this.getValue(t.textProperty)},set:function(e){this.setText(e)},enumerable:!1,configurable:!0}),t.prototype.getFontSize=function(e){switch(this.effectiveSize){case l.TextSize.Small:return e.fontSizes.small;case l.TextSize.Medium:return e.fontSizes.medium;case l.TextSize.Large:return e.fontSizes.large;case l.TextSize.ExtraLarge:return e.fontSizes.extraLarge;default:return e.fontSizes.default}},t.prototype.getColorDefinition=function(e,t){switch(t){case l.TextColor.Accent:return e.accent;case l.TextColor.Dark:return e.dark;case l.TextColor.Light:return e.light;case l.TextColor.Good:return e.good;case l.TextColor.Warning:return e.warning;case l.TextColor.Attention:return e.attention;default:return e.default}},t.prototype.setText=function(e){this.setValue(t.textProperty,e)},t.prototype.init=function(e){this.size=e.size,this.weight=e.weight,this.color=e.color,this.isSubtle=e.isSubtle},t.prototype.asString=function(){return this.text},t.prototype.applyStylesTo=function(e){var t,r=this.hostConfig.getFontTypeDefinition(this.effectiveFontType);switch(r.fontFamily&&(e.style.fontFamily=r.fontFamily),this.effectiveSize){case l.TextSize.Small:t=r.fontSizes.small;break;case l.TextSize.Medium:t=r.fontSizes.medium;break;case l.TextSize.Large:t=r.fontSizes.large;break;case l.TextSize.ExtraLarge:t=r.fontSizes.extraLarge;break;default:t=r.fontSizes.default}e.style.fontSize=t+"px";var n,i=this.getColorDefinition(this.getEffectiveStyleDefinition().foregroundColors,this.effectiveColor),o=u.stringToCssColor(this.effectiveIsSubtle?i.subtle:i.default);switch(o&&(e.style.color=o),this.effectiveWeight){case l.TextWeight.Lighter:n=r.fontWeights.lighter;break;case l.TextWeight.Bolder:n=r.fontWeights.bolder;break;default:n=r.fontWeights.default}e.style.fontWeight=n.toString(),this.ariaHidden&&e.setAttribute("aria-hidden","true")},t.prototype.getAllActions=function(){var t=e.prototype.getAllActions.call(this);return this.selectAction&&t.push(this.selectAction),t},Object.defineProperty(t.prototype,"effectiveColor",{get:function(){return void 0!==this.color?this.color:this.getEffectiveTextStyleDefinition().color},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"effectiveFontType",{get:function(){return void 0!==this.fontType?this.fontType:this.getEffectiveTextStyleDefinition().fontType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"effectiveIsSubtle",{get:function(){return void 0!==this.isSubtle?this.isSubtle:this.getEffectiveTextStyleDefinition().isSubtle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"effectiveSize",{get:function(){return void 0!==this.size?this.size:this.getEffectiveTextStyleDefinition().size},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"effectiveWeight",{get:function(){return void 0!==this.weight?this.weight:this.getEffectiveTextStyleDefinition().weight},enumerable:!1,configurable:!0}),t.textProperty=new h.StringProperty(h.Versions.v1_0,"text",!0),t.sizeProperty=new h.EnumProperty(h.Versions.v1_0,"size",l.TextSize),t.weightProperty=new h.EnumProperty(h.Versions.v1_0,"weight",l.TextWeight),t.colorProperty=new h.EnumProperty(h.Versions.v1_0,"color",l.TextColor),t.isSubtleProperty=new h.BoolProperty(h.Versions.v1_0,"isSubtle"),t.fontTypeProperty=new h.EnumProperty(h.Versions.v1_2,"fontType",l.FontType),t.selectActionProperty=new S(h.Versions.v1_1,"selectAction",["Action.ShowCard"]),o([(0,h.property)(t.sizeProperty)],t.prototype,"size",void 0),o([(0,h.property)(t.weightProperty)],t.prototype,"weight",void 0),o([(0,h.property)(t.colorProperty)],t.prototype,"color",void 0),o([(0,h.property)(t.fontTypeProperty)],t.prototype,"fontType",void 0),o([(0,h.property)(t.isSubtleProperty)],t.prototype,"isSubtle",void 0),o([(0,h.property)(t.textProperty)],t.prototype,"text",null),o([(0,h.property)(t.selectActionProperty)],t.prototype,"selectAction",void 0),t}(w);t.BaseTextBlock=C;var A=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wrap=!1,t._treatAsPlainText=!0,t.useMarkdown=!0,t}var r,n;return i(t,e),t.prototype.restoreOriginalContent=function(){var e,r;if(void 0!==this.renderedElement){this.maxLines&&this.maxLines>0&&(this.renderedElement.style.maxHeight=this._computedLineHeight*this.maxLines+"px");var n=null!==(r=null===(e=t._ttRoundtripPolicy)||void 0===e?void 0:e.createHTML(this._originalInnerHtml))&&void 0!==r?r:this._originalInnerHtml;this.renderedElement.innerHTML=n}},t.prototype.truncateIfSupported=function(e){if(void 0!==this.renderedElement){var t=this.renderedElement.children,r=!t.length;if(r||1===t.length&&"p"===t[0].tagName.toLowerCase()&&!t[0].children.length){var n=r?this.renderedElement:t[0];return u.truncateText(n,e,this._computedLineHeight),!0}}return!1},t.prototype.setText=function(t){e.prototype.setText.call(this,t),this._processedText=void 0},t.prototype.internalRender=function(){var e,r,n=this;if(this._processedText=void 0,this.text){var i=this.preProcessPropertyValue(C.textProperty),o=this.hostConfig,a=void 0;if(this.forElementId){var s=document.createElement("label");s.htmlFor=this.forElementId,a=s}else a=document.createElement("div");if(a.classList.add(o.makeCssClassName("ac-textBlock")),a.style.overflow="hidden",this.applyStylesTo(a),"heading"===this.style){a.setAttribute("role","heading");var l=this.hostConfig.textBlock.headingLevel;void 0!==l&&l>0&&a.setAttribute("aria-level",l.toString())}if(this.selectAction&&o.supportsInteractivity&&(a.onclick=function(e){n.selectAction&&n.selectAction.isEffectivelyEnabled()&&(e.preventDefault(),e.cancelBubble=!0,n.selectAction.execute())},this.selectAction.setupElementForAccessibility(a),this.selectAction.isEffectivelyEnabled()&&a.classList.add(o.makeCssClassName("ac-selectable"))),!this._processedText){this._treatAsPlainText=!0;var d=p.formatText(this.lang,i);if(this.useMarkdown&&d){c.GlobalSettings.allowMarkForTextHighlighting&&(d=d.replace(/<mark>/g,"===").replace(/<\/mark>/g,"/==/"));var f=ze.applyMarkdown(d);if(f.didProcess&&f.outputHtml){if(this._processedText=f.outputHtml,this._treatAsPlainText=!1,c.GlobalSettings.allowMarkForTextHighlighting&&this._processedText){var h="",g=this.getEffectiveStyleDefinition();g.highlightBackgroundColor&&(h+="background-color: "+g.highlightBackgroundColor+";"),g.highlightForegroundColor&&(h+="color: "+g.highlightForegroundColor+";"),h&&(h='style="'+h+'"'),this._processedText=this._processedText.replace(/===/g,"<mark "+h+">").replace(/\/==\//g,"</mark>")}}else this._processedText=d,this._treatAsPlainText=!0}else this._processedText=d,this._treatAsPlainText=!0}if(this._processedText||(this._processedText=""),this._treatAsPlainText)a.innerText=this._processedText;else{var m=null!==(r=null===(e=t._ttMarkdownPolicy)||void 0===e?void 0:e.createHTML(this._processedText))&&void 0!==r?r:this._processedText;a.innerHTML=m}if(a.firstElementChild instanceof HTMLElement){var v=a.firstElementChild;v.style.marginTop="0px",v.style.width="100%",this.wrap||(v.style.overflow="hidden",v.style.textOverflow="ellipsis")}a.lastElementChild instanceof HTMLElement&&(a.lastElementChild.style.marginBottom="0px");for(var y=a.getElementsByTagName("a"),b=function(e){e.classList.add(o.makeCssClassName("ac-anchor")),e.target="_blank",e.onclick=function(t){Ee(n,e,t)&&(t.preventDefault(),t.cancelBubble=!0)},e.oncontextmenu=function(t){return!Ee(n,e,t)||(t.preventDefault(),t.cancelBubble=!0,!1)}},w=0,S=Array.from(y);w<S.length;w++)b(S[w]);return this.wrap?(a.style.wordWrap="break-word",this.maxLines&&this.maxLines>0&&(a.style.overflow="hidden",u.isInternetExplorer()||!c.GlobalSettings.useWebkitLineClamp?a.style.maxHeight=this._computedLineHeight*this.maxLines+"px":(a.style.removeProperty("line-height"),a.style.display="-webkit-box",a.style.webkitBoxOrient="vertical",a.style.webkitLineClamp=this.maxLines.toString()))):(a.style.whiteSpace="nowrap",a.style.textOverflow="ellipsis"),(c.GlobalSettings.useAdvancedTextBlockTruncation||c.GlobalSettings.useAdvancedCardBottomTruncation)&&(this._originalInnerHtml=a.innerHTML),a}},t.prototype.truncateOverflow=function(e){return e>=this._computedLineHeight&&this.truncateIfSupported(e)},t.prototype.undoOverflowTruncation=function(){if(this.restoreOriginalContent(),c.GlobalSettings.useAdvancedTextBlockTruncation&&this.maxLines){var e=this._computedLineHeight*this.maxLines;this.truncateIfSupported(e)}},t.prototype.applyStylesTo=function(t){switch(e.prototype.applyStylesTo.call(this,t),this.getEffectiveHorizontalAlignment()){case l.HorizontalAlignment.Center:t.style.textAlign="center";break;case l.HorizontalAlignment.Right:t.style.textAlign="end";break;default:t.style.textAlign="start"}var r=this.hostConfig.lineHeights;if(r)switch(this.effectiveSize){case l.TextSize.Small:this._computedLineHeight=r.small;break;case l.TextSize.Medium:this._computedLineHeight=r.medium;break;case l.TextSize.Large:this._computedLineHeight=r.large;break;case l.TextSize.ExtraLarge:this._computedLineHeight=r.extraLarge;break;default:this._computedLineHeight=r.default}else this._computedLineHeight=1.33*this.getFontSize(this.hostConfig.getFontTypeDefinition(this.effectiveFontType));t.style.lineHeight=this._computedLineHeight+"px"},t.prototype.getJsonTypeName=function(){return"TextBlock"},t.prototype.getEffectiveTextStyleDefinition=function(){return this.style?this.hostConfig.textStyles.getStyleByName(this.style):e.prototype.getEffectiveTextStyleDefinition.call(this)},t.prototype.updateLayout=function(t){void 0===t&&(t=!1),e.prototype.updateLayout.call(this,t),c.GlobalSettings.useAdvancedTextBlockTruncation&&this.maxLines&&this.isDisplayed()&&(this.restoreOriginalContent(),this.truncateIfSupported(this._computedLineHeight*this.maxLines))},t.wrapProperty=new h.BoolProperty(h.Versions.v1_0,"wrap",!1),t.maxLinesProperty=new h.NumProperty(h.Versions.v1_0,"maxLines"),t.styleProperty=new h.ValueSetProperty(h.Versions.v1_5,"style",[{value:"default"},{value:"columnHeader"},{value:"heading"}]),t._ttMarkdownPolicy="undefined"==typeof window||null===(r=window.trustedTypes)||void 0===r?void 0:r.createPolicy("adaptivecards#markdownPassthroughPolicy",{createHTML:function(e){return e}}),t._ttRoundtripPolicy="undefined"==typeof window||null===(n=window.trustedTypes)||void 0===n?void 0:n.createPolicy("adaptivecards#restoreContentsPolicy",{createHTML:function(e){return e}}),o([(0,h.property)(t.wrapProperty)],t.prototype,"wrap",void 0),o([(0,h.property)(t.maxLinesProperty)],t.prototype,"maxLines",void 0),o([(0,h.property)(t.styleProperty)],t.prototype,"style",void 0),t}(C);t.TextBlock=A;var x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.italic=!1,t.strikethrough=!1,t.highlight=!1,t.underline=!1,t}return i(t,e),t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.add(C.selectActionProperty)},t.prototype.internalRender=function(){var e=this;if(this.text){var t=this.preProcessPropertyValue(C.textProperty),r=this.hostConfig,n=p.formatText(this.lang,t);n||(n="");var i=document.createElement("span");if(i.classList.add(r.makeCssClassName("ac-textRun")),this.applyStylesTo(i),this.selectAction&&r.supportsInteractivity){var o=document.createElement("a");o.classList.add(r.makeCssClassName("ac-anchor"));var a=this.selectAction.getHref();o.href=a||"",o.target="_blank",o.onclick=function(t){e.selectAction&&e.selectAction.isEffectivelyEnabled()&&(t.preventDefault(),t.cancelBubble=!0,e.selectAction.execute())},this.selectAction.setupElementForAccessibility(o),o.innerText=n,i.appendChild(o)}else i.innerText=n;return i}},t.prototype.applyStylesTo=function(t){if(e.prototype.applyStylesTo.call(this,t),this.italic&&(t.style.fontStyle="italic"),this.strikethrough&&(t.style.textDecoration="line-through"),this.highlight){var r=this.getColorDefinition(this.getEffectiveStyleDefinition().foregroundColors,this.effectiveColor),n=u.stringToCssColor(this.effectiveIsSubtle?r.highlightColors.subtle:r.highlightColors.default);n&&(t.style.backgroundColor=n)}this.underline&&(t.style.textDecoration="underline")},t.prototype.getJsonTypeName=function(){return"TextRun"},Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInline",{get:function(){return!0},enumerable:!1,configurable:!0}),t.italicProperty=new h.BoolProperty(h.Versions.v1_2,"italic",!1),t.strikethroughProperty=new h.BoolProperty(h.Versions.v1_2,"strikethrough",!1),t.highlightProperty=new h.BoolProperty(h.Versions.v1_2,"highlight",!1),t.underlineProperty=new h.BoolProperty(h.Versions.v1_3,"underline",!1),o([(0,h.property)(t.italicProperty)],t.prototype,"italic",void 0),o([(0,h.property)(t.strikethroughProperty)],t.prototype,"strikethrough",void 0),o([(0,h.property)(t.highlightProperty)],t.prototype,"highlight",void 0),o([(0,h.property)(t.underlineProperty)],t.prototype,"underline",void 0),t}(C);t.TextRun=x;var k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._inlines=[],t}return i(t,e),t.prototype.internalAddInline=function(e,t){if(void 0===t&&(t=!1),!e.isInline)throw new Error(m.Strings.errors.elementCannotBeUsedAsInline());if(void 0!==e.parent&&!t&&e.parent!==this)throw new Error(m.Strings.errors.inlineAlreadyParented());e.setParent(this),this._inlines.push(e)},t.prototype.internalParse=function(t,r){if(e.prototype.internalParse.call(this,t,r),this._inlines=[],Array.isArray(t.inlines))for(var n=0,i=t.inlines;n<i.length;n++){var o=i[n],a=void 0;if("string"==typeof o){var s=new x;s.text=o,a=s}else a=r.parseElement(this,o,[],!1);a&&this.internalAddInline(a,!0)}},t.prototype.internalToJSON=function(t,r){if(e.prototype.internalToJSON.call(this,t,r),this._inlines.length>0){for(var n=[],i=0,o=this._inlines;i<o.length;i++){var a=o[i];n.push(a.toJSON(r))}r.serializeValue(t,"inlines",n)}},t.prototype.internalRender=function(){if(this._inlines.length>0){var e=void 0;if(this.forElementId){var t=document.createElement("label");t.htmlFor=this.forElementId,e=t}else e=document.createElement("div");switch(e.className=this.hostConfig.makeCssClassName("ac-richTextBlock"),this.getEffectiveHorizontalAlignment()){case l.HorizontalAlignment.Center:e.style.textAlign="center";break;case l.HorizontalAlignment.Right:e.style.textAlign="end";break;default:e.style.textAlign="start"}for(var r=0,n=0,i=this._inlines;n<i.length;n++){var o=i[n].render();o&&(e.appendChild(o),r++)}if(r>0)return e}},t.prototype.asString=function(){for(var e="",t=0,r=this._inlines;t<r.length;t++)e+=r[t].asString();return e},t.prototype.getJsonTypeName=function(){return"RichTextBlock"},t.prototype.getInlineCount=function(){return this._inlines.length},t.prototype.getInlineAt=function(e){if(e>=0&&e<this._inlines.length)return this._inlines[e];throw new Error(m.Strings.errors.indexOutOfRange(e))},t.prototype.addInline=function(e){"string"==typeof e?this.internalAddInline(new x(e)):this.internalAddInline(e)},t.prototype.removeInline=function(e){var t=this._inlines.indexOf(e);return t>=0&&(this._inlines[t].setParent(void 0),this._inlines.splice(t,1),!0)},t}(w);t.RichTextBlock=k;var E=function(e){function t(t,r){var n=e.call(this)||this;return n.name=t,n.value=r,n}return i(t,e),t.prototype.getSchemaKey=function(){return"Fact"},t.titleProperty=new h.StringProperty(h.Versions.v1_0,"title"),t.valueProperty=new h.StringProperty(h.Versions.v1_0,"value"),o([(0,h.property)(t.titleProperty)],t.prototype,"name",void 0),o([(0,h.property)(t.valueProperty)],t.prototype,"value",void 0),t}(h.SerializableObject);t.Fact=E;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"useDefaultSizing",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.internalRender=function(){var e=void 0,t=this.hostConfig;if(this.facts.length>0){(e=document.createElement("table")).style.borderWidth="0px",e.style.borderSpacing="0px",e.style.borderStyle="none",e.style.borderCollapse="collapse",e.style.display="block",e.style.overflow="hidden",e.classList.add(t.makeCssClassName("ac-factset")),e.setAttribute("role","presentation");for(var r=0;r<this.facts.length;r++){var n=document.createElement("tr");r>0&&(n.style.marginTop=t.factSet.spacing+"px");var i=document.createElement("td");i.style.padding="0",i.classList.add(t.makeCssClassName("ac-fact-title")),t.factSet.title.maxWidth&&(i.style.maxWidth=t.factSet.title.maxWidth+"px"),i.style.verticalAlign="top";var o=new A;o.setParent(this),o.text=!this.facts[r].name&&this.isDesignMode()?"Title":this.facts[r].name,o.size=t.factSet.title.size,o.color=t.factSet.title.color,o.isSubtle=t.factSet.title.isSubtle,o.weight=t.factSet.title.weight,o.wrap=t.factSet.title.wrap,o.spacing=l.Spacing.None,u.appendChild(i,o.render()),u.appendChild(n,i),(i=document.createElement("td")).style.width="10px",u.appendChild(n,i),(i=document.createElement("td")).style.padding="0",i.style.verticalAlign="top",i.classList.add(t.makeCssClassName("ac-fact-value")),(o=new A).setParent(this),o.text=this.facts[r].value,o.size=t.factSet.value.size,o.color=t.factSet.value.color,o.isSubtle=t.factSet.value.isSubtle,o.weight=t.factSet.value.weight,o.wrap=t.factSet.value.wrap,o.spacing=l.Spacing.None,u.appendChild(i,o.render()),u.appendChild(n,i),u.appendChild(e,n)}}return e},t.prototype.getJsonTypeName=function(){return"FactSet"},t.factsProperty=new h.SerializableObjectCollectionProperty(h.Versions.v1_0,"facts",E),o([(0,h.property)(t.factsProperty)],t.prototype,"facts",void 0),t}(w);t.FactSet=_;var I=function(e){function t(t,r,n,i){var o=e.call(this,t,r)||this;return o.targetVersion=t,o.name=r,o.internalName=n,o.fallbackProperty=i,o}return i(t,e),t.prototype.getInternalName=function(){return this.internalName},t.prototype.parse=function(e,t,r){var n=void 0,i=t[this.name];if(void 0===i)return this.defaultValue;var o=!1;if("string"==typeof i){try{var a=c.SizeAndUnit.parse(i,!0);a.unit===l.SizeUnit.Pixel&&(n=a.physicalSize,o=!0)}catch(e){}!o&&this.fallbackProperty&&(o=this.fallbackProperty.isValidValue(i,r))}return o||r.logParseEvent(e,l.ValidationEvent.InvalidPropertyValue,m.Strings.errors.invalidPropertyValue(i,this.name)),n},t.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,"number"!=typeof r||isNaN(r)?void 0:r+"px")},t}(h.PropertyDefinition),P=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.size=l.Size.Auto,t.style=l.ImageStyle.Default,t}return i(t,e),t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.remove(w.heightProperty)},t.prototype.applySize=function(e){if(this.pixelWidth||this.pixelHeight)this.pixelWidth&&(e.style.width=this.pixelWidth+"px"),this.pixelHeight&&(e.style.height=this.pixelHeight+"px");else if(this.maxHeight){switch(this.size){case l.Size.Small:e.style.height=this.hostConfig.imageSizes.small+"px";break;case l.Size.Large:e.style.height=this.hostConfig.imageSizes.large+"px";break;default:e.style.height=this.hostConfig.imageSizes.medium+"px"}e.style.maxHeight=this.maxHeight+"px"}else{switch(this.size){case l.Size.Stretch:e.style.width="100%";break;case l.Size.Auto:e.style.maxWidth="100%";break;case l.Size.Small:e.style.width=this.hostConfig.imageSizes.small+"px";break;case l.Size.Large:e.style.width=this.hostConfig.imageSizes.large+"px";break;case l.Size.Medium:e.style.width=this.hostConfig.imageSizes.medium+"px"}e.style.maxHeight="100%"}},Object.defineProperty(t.prototype,"useDefaultSizing",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.internalRender=function(){var e=this,r=void 0;if(this.url){(r=document.createElement("div")).style.display="flex",r.style.alignItems="flex-start";var n=this.hostConfig;switch(this.getEffectiveHorizontalAlignment()){case l.HorizontalAlignment.Center:r.style.justifyContent="center";break;case l.HorizontalAlignment.Right:r.style.justifyContent="flex-end";break;default:r.style.justifyContent="flex-start"}var i=document.createElement("img");this.renderedImageElement=i,i.onload=function(t){ke(e)},i.onerror=function(t){if(e.renderedElement){var r=e.getRootElement();if(y(e.renderedElement),r&&r.designMode){var n=document.createElement("div");n.style.display="flex",n.style.alignItems="center",n.style.justifyContent="center",n.style.backgroundColor="#EEEEEE",n.style.color="black",n.innerText=":-(",n.style.padding="10px",e.applySize(n),e.renderedElement.appendChild(n)}}ke(e)},i.style.minWidth="0",i.classList.add(n.makeCssClassName("ac-image")),this.selectAction&&n.supportsInteractivity&&(i.onkeypress=function(t){e.selectAction&&e.selectAction.isEffectivelyEnabled()&&("Enter"===t.code||"Space"===t.code)&&(t.preventDefault(),t.cancelBubble=!0,e.selectAction.execute())},i.onclick=function(t){e.selectAction&&e.selectAction.isEffectivelyEnabled()&&(t.preventDefault(),t.cancelBubble=!0,e.selectAction.execute())},this.selectAction.setupElementForAccessibility(i),this.selectAction.isEffectivelyEnabled()&&i.classList.add(n.makeCssClassName("ac-selectable"))),this.applySize(i),this.style===l.ImageStyle.Person&&(i.style.borderRadius="50%",i.style.backgroundPosition="50% 50%",i.style.backgroundRepeat="no-repeat");var o=u.stringToCssColor(this.backgroundColor);o&&(i.style.backgroundColor=o),this.setImageSource(i);var a=this.preProcessPropertyValue(t.altTextProperty);a&&(i.alt=a),r.appendChild(i)}return r},t.prototype.getJsonTypeName=function(){return"Image"},t.prototype.getAllActions=function(){var t=e.prototype.getAllActions.call(this);return this.selectAction&&t.push(this.selectAction),t},t.prototype.getActionById=function(t){var r=e.prototype.getActionById.call(this,t);return!r&&this.selectAction&&(r=this.selectAction.getActionById(t)),r},t.prototype.getResourceInformation=function(){return this.url?[{url:this.url,mimeType:"image"}]:[]},t.prototype.setImageSource=function(e){var r=new T(this.forceLoad,this.url);r.configureImage(this),e.src=this.preProcessPropertyValue(t.urlProperty),r.resetImage(this)},t.urlProperty=new h.StringProperty(h.Versions.v1_0,"url"),t.altTextProperty=new h.StringProperty(h.Versions.v1_0,"altText"),t.backgroundColorProperty=new h.StringProperty(h.Versions.v1_1,"backgroundColor"),t.styleProperty=new h.EnumProperty(h.Versions.v1_0,"style",l.ImageStyle,l.ImageStyle.Default),t.sizeProperty=new h.EnumProperty(h.Versions.v1_0,"size",l.Size,l.Size.Auto),t.pixelWidthProperty=new I(h.Versions.v1_1,"width","pixelWidth"),t.pixelHeightProperty=new I(h.Versions.v1_1,"height","pixelHeight",w.heightProperty),t.selectActionProperty=new S(h.Versions.v1_1,"selectAction",["Action.ShowCard"]),t.shouldForceLoadProperty=new h.BoolProperty(h.Versions.v1_6,"forceLoad",!1),o([(0,h.property)(t.urlProperty)],t.prototype,"url",void 0),o([(0,h.property)(t.altTextProperty)],t.prototype,"altText",void 0),o([(0,h.property)(t.backgroundColorProperty)],t.prototype,"backgroundColor",void 0),o([(0,h.property)(t.sizeProperty)],t.prototype,"size",void 0),o([(0,h.property)(t.styleProperty)],t.prototype,"style",void 0),o([(0,h.property)(t.pixelWidthProperty)],t.prototype,"pixelWidth",void 0),o([(0,h.property)(t.pixelHeightProperty)],t.prototype,"pixelHeight",void 0),o([(0,h.property)(t.selectActionProperty)],t.prototype,"selectAction",void 0),o([(0,h.property)(t.shouldForceLoadProperty)],t.prototype,"forceLoad",void 0),t}(w);t.Image=P;var T=function(){function e(e,t){this.doForceLoad=e,this.url=t,t&&t.length&&e&&(this.uniqueHash="?"+Date.now(),this.urlWithForceLoadOption=t+this.uniqueHash)}return e.prototype.configureImage=function(e){this.urlWithForceLoadOption&&this.urlWithForceLoadOption.length&&(e.url=this.urlWithForceLoadOption)},e.prototype.resetImage=function(e){e.url=this.url},e}(),B=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allowVerticalOverflow=!1,t}return i(t,e),t.prototype.populateSchema=function(r){e.prototype.populateSchema.call(this,r),this.isSelectable||r.remove(t.selectActionProperty)},t.prototype.isElementAllowed=function(e){return this.hostConfig.supportsInteractivity||!e.isInteractive},t.prototype.applyPadding=function(){if(e.prototype.applyPadding.call(this),this.renderedElement){var t=new c.SpacingDefinition;this.getEffectivePadding()&&(t=this.hostConfig.paddingDefinitionToSpacingDefinition(this.getEffectivePadding())),this.renderedElement.style.paddingTop=t.top+"px",this.renderedElement.style.paddingRight=t.right+"px",this.renderedElement.style.paddingBottom=t.bottom+"px",this.renderedElement.style.paddingLeft=t.left+"px",this.renderedElement.style.marginRight="0",this.renderedElement.style.marginLeft="0"}},Object.defineProperty(t.prototype,"isSelectable",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.forbiddenChildElements=function(){return[]},t.prototype.releaseDOMResources=function(){e.prototype.releaseDOMResources.call(this);for(var t=0;t<this.getItemCount();t++)this.getItemAt(t).releaseDOMResources()},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t);for(var r=0;r<this.getItemCount();r++){var n=this.getItemAt(r);!this.hostConfig.supportsInteractivity&&n.isInteractive&&t.addFailure(this,l.ValidationEvent.InteractivityNotAllowed,m.Strings.errors.interactivityNotAllowed()),this.isElementAllowed(n)||t.addFailure(this,l.ValidationEvent.InteractivityNotAllowed,m.Strings.errors.elementTypeNotAllowed(n.getJsonTypeName())),n.internalValidateProperties(t)}this._selectAction&&this._selectAction.internalValidateProperties(t)},t.prototype.render=function(){var t=this,r=e.prototype.render.call(this);if(r){var n=this.hostConfig;this.allowVerticalOverflow&&(r.style.overflowX="hidden",r.style.overflowY="auto"),r&&this.isSelectable&&this._selectAction&&n.supportsInteractivity&&(r.onclick=function(e){t._selectAction&&t._selectAction.isEffectivelyEnabled()&&(e.preventDefault(),e.cancelBubble=!0,t._selectAction.execute())},r.onkeypress=function(e){t._selectAction&&t._selectAction.isEffectivelyEnabled()&&("Enter"===e.code||"Space"===e.code)&&(e.preventDefault(),e.cancelBubble=!0,t._selectAction.execute())},this._selectAction.setupElementForAccessibility(r),this._selectAction.isEffectivelyEnabled()&&r.classList.add(n.makeCssClassName("ac-selectable")))}return r},t.prototype.updateLayout=function(t){if(void 0===t&&(t=!0),e.prototype.updateLayout.call(this,t),t)for(var r=0;r<this.getItemCount();r++)this.getItemAt(r).updateLayout()},t.prototype.getAllInputs=function(e){void 0===e&&(e=!0);for(var t=[],r=0;r<this.getItemCount();r++)t.push.apply(t,this.getItemAt(r).getAllInputs(e));return t},t.prototype.getAllActions=function(){for(var t=e.prototype.getAllActions.call(this),r=0;r<this.getItemCount();r++)t.push.apply(t,this.getItemAt(r).getAllActions());return this._selectAction&&t.push(this._selectAction),t},t.prototype.getResourceInformation=function(){for(var e=[],t=0;t<this.getItemCount();t++)e.push.apply(e,this.getItemAt(t).getResourceInformation());return e},t.prototype.getElementById=function(t){var r=e.prototype.getElementById.call(this,t);if(!r)for(var n=0;n<this.getItemCount()&&!(r=this.getItemAt(n).getElementById(t));n++);return r},t.prototype.findDOMNodeOwner=function(t){for(var r,n=void 0,i=0;i<this.getItemCount();i++)if(n=this.getItemAt(i).findDOMNodeOwner(t))return n;for(i=0;i<this.getActionCount();i++)if(n=null===(r=this.getActionAt(i))||void 0===r?void 0:r.findDOMNodeOwner(t))return n;return e.prototype.findDOMNodeOwner.call(this,t)},t.selectActionProperty=new S(h.Versions.v1_1,"selectAction",["Action.ShowCard"]),o([(0,h.property)(t.selectActionProperty)],t.prototype,"_selectAction",void 0),t}(w);t.CardElementContainer=B;var D=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._images=[],t.imageSize=l.ImageSize.Medium,t.presentationStyle=l.ImageSetPresentationStyle.Default,t.pixelOffset=0,t}return i(t,e),t.prototype.internalRender=function(){var e=void 0;if(this._images.length>0){(e=document.createElement("div")).style.display="flex",e.style.flexWrap="wrap";for(var t=0,r=this._images;t<r.length;t++){var n=r[t];switch(this.imageSize){case l.ImageSize.Small:n.size=l.Size.Small;break;case l.ImageSize.Large:n.size=l.Size.Large;break;default:n.size=l.Size.Medium}n.maxHeight=this.hostConfig.imageSet.maxImageHeight;var i=n.render();i&&(i.style.display="inline-flex",i.style.margin="0px",this.presentationStyle==l.ImageSetPresentationStyle.Default&&(i.style.marginRight="10px"),u.appendChild(e,i))}this.presentationStyle==l.ImageSetPresentationStyle.Stacked&&this.applyStackedPresentationStyle()}return e},t.prototype.applyStackedPresentationStyle=function(){if(this._images[0].renderedImageElement){var e=N.parseNumericPixelDimension(this._images[0].renderedImageElement.style.height),t=this.getEffectiveBackgroundColor();e&&new N(this.pixelOffset,e,t).configureImagesArrayAsStackedLayout(this._images)}},t.prototype.getEffectiveBackgroundColor=function(){var e=this.getParentContainer(),t=null==e?void 0:e.getEffectiveStyle(),r=this.hostConfig.containerStyles.getStyleByName(t,this.hostConfig.containerStyles.getStyleByName(this.defaultStyle));return u.stringToCssColor(r.backgroundColor)},t.prototype.getItemCount=function(){return this._images.length},t.prototype.getItemAt=function(e){return this._images[e]},t.prototype.getFirstVisibleRenderedItem=function(){return this._images&&this._images.length>0?this._images[0]:void 0},t.prototype.getLastVisibleRenderedItem=function(){return this._images&&this._images.length>0?this._images[this._images.length-1]:void 0},t.prototype.removeItem=function(e){if(e instanceof P){var t=this._images.indexOf(e);if(t>=0)return this._images.splice(t,1),e.setParent(void 0),this.updateLayout(),!0}return!1},t.prototype.getJsonTypeName=function(){return"ImageSet"},t.prototype.addImage=function(e){if(e.parent)throw new Error("This image already belongs to another ImageSet");this._images.push(e),e.setParent(this)},t.prototype.indexOf=function(e){return e instanceof P?this._images.indexOf(e):-1},t.imagesProperty=new h.SerializableObjectCollectionProperty(h.Versions.v1_0,"images",P,(function(e,t){t.setParent(e)})),t.imageSizeProperty=new h.EnumProperty(h.Versions.v1_0,"imageSize",l.ImageSize,l.ImageSize.Medium),t.imagePresentationStyle=new h.EnumProperty(h.Versions.v1_6,"style",l.ImageSetPresentationStyle,l.ImageSetPresentationStyle.Default),t.pixelOffset=new h.NumProperty(h.Versions.v1_6,"offset",0,void 0),o([(0,h.property)(t.imagesProperty)],t.prototype,"_images",void 0),o([(0,h.property)(t.imageSizeProperty)],t.prototype,"imageSize",void 0),o([(0,h.property)(t.imagePresentationStyle)],t.prototype,"presentationStyle",void 0),o([(0,h.property)(t.pixelOffset)],t.prototype,"pixelOffset",void 0),t}(B);t.ImageSet=D;var N=function(){function e(e,t,r){this.sign45=.7071,this.maxImageCounts=2,this.offset=0,this.normalizationConstant=0,this.border=5,this.dimension=0,this.dimension=t,this.normalizationConstant=2*(t*this.sign45-.5*t),this.offset=this.sign45*(Math.max(e,-t)-this.normalizationConstant),this.style=r||""}return e.prototype.moveImageRight=function(e){e.style.marginLeft=this.offset+"px"},e.prototype.moveImageUp=function(e){e.style.marginBottom=this.offset+this.dimension+"px"},e.prototype.moveImageDown=function(e){e.style.marginTop=this.offset+this.dimension+"px"},e.prototype.makeImageRound=function(e){e.style.borderRadius="50%",e.style.backgroundPosition="50% 50%",e.style.backgroundRepeat="no-repeat"},e.prototype.applyBorder=function(e){e.style.height=this.dimension+2*this.border+"px",e.style.border=this.border+"px solid "+this.style},e.prototype.configureImageForBottomLeft=function(e){this.moveImageDown(e),this.makeImageRound(e),this.applyBorder(e),e.style.zIndex="2"},e.prototype.configureImageForTopRight=function(e){this.moveImageUp(e),this.moveImageRight(e),this.makeImageRound(e),e.style.zIndex="1"},e.prototype.configureImagesArrayAsStackedLayout=function(e){1==e.length?e[0].renderedImageElement&&this.makeImageRound(e[0].renderedImageElement):e.length<=this.maxImageCounts&&e[0].renderedImageElement&&e[1].renderedImageElement&&(this.configureImageForBottomLeft(e[0].renderedImageElement),this.configureImageForTopRight(e[1].renderedImageElement))},e.parseNumericPixelDimension=function(e){if("px"==(null==e?void 0:e.substring(e.length-2)))return parseInt(e.substring(0,e.length-2))},e}(),R=function(e){function t(t,r){var n=e.call(this)||this;return n.url=t,n.mimeType=r,n}return i(t,e),t.prototype.isValid=function(){return!(!this.mimeType||!this.url)},t.mimeTypeProperty=new h.StringProperty(h.Versions.v1_1,"mimeType"),t.urlProperty=new h.StringProperty(h.Versions.v1_1,"url"),o([(0,h.property)(t.mimeTypeProperty)],t.prototype,"mimeType",void 0),o([(0,h.property)(t.urlProperty)],t.prototype,"url",void 0),t}(h.SerializableObject);t.ContentSource=R;var O=function(e){function t(t,r,n){var i=e.call(this,t,r)||this;return i.label=n,i}return i(t,e),t.prototype.getSchemaKey=function(){return"CaptionSource"},t.prototype.render=function(){var e=void 0;return this.isValid()&&((e=document.createElement("track")).src=this.url,e.kind="captions",e.label=this.label),e},t.labelProperty=new h.StringProperty(h.Versions.v1_6,"label"),o([(0,h.property)(t.labelProperty)],t.prototype,"label",void 0),t}(R);t.CaptionSource=O;var z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"MediaSource"},t.prototype.render=function(){var e=void 0;return this.isValid()&&((e=document.createElement("source")).src=this.url,e.type=this.mimeType),e},t}(R);t.MediaSource=z;var M=function(){function e(){}return e.prototype.play=function(){},Object.defineProperty(e.prototype,"posterUrl",{get:function(){return this._posterUrl},set:function(e){this._posterUrl=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedMediaType",{get:function(){},enumerable:!1,configurable:!0}),e}();t.MediaPlayer=M;var F=function(e){function t(t){var r=e.call(this)||this;return r.owner=t,r._selectedSources=[],r._captionSources=[],r.processSources(),r}return i(t,e),t.prototype.processSources=function(){var e;this._selectedSources=[],this._captionSources=[],this._selectedMediaType=void 0;for(var r=0,n=this.owner.sources;r<n.length;r++){var i=n[r],o=i.mimeType?i.mimeType.split("/"):[];if(2===o.length){if(!this._selectedMediaType){var a=t.supportedMediaTypes.indexOf(o[0]);a>=0&&(this._selectedMediaType=t.supportedMediaTypes[a])}o[0]===this._selectedMediaType&&this._selectedSources.push(i)}}(e=this._captionSources).push.apply(e,this.owner.captionSources)},t.prototype.canPlay=function(){return this._selectedSources.length>0},t.prototype.fetchVideoDetails=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2]}))}))},t.prototype.render=function(){"video"===this._selectedMediaType?this._mediaElement=document.createElement("video"):this._mediaElement=document.createElement("audio"),this._mediaElement.setAttribute("aria-label",this.owner.altText?this.owner.altText:m.Strings.defaults.mediaPlayerAriaLabel()),this._mediaElement.setAttribute("webkit-playsinline",""),this._mediaElement.setAttribute("playsinline",""),this._mediaElement.setAttribute("crossorigin",""),this._mediaElement.autoplay=!0,this._mediaElement.controls=!0,u.isMobileOS()&&(this._mediaElement.muted=!0),this._mediaElement.preload="none",this._mediaElement.style.width="100%";for(var e=0,t=this.owner.sources;e<t.length;e++){var r=t[e].render();u.appendChild(this._mediaElement,r)}for(var n=0,i=this.owner.captionSources;n<i.length;n++){var o=i[n];if("vtt"==o.mimeType){var a=o.render();u.appendChild(this._mediaElement,a)}}return this._mediaElement},t.prototype.play=function(){this._mediaElement&&this._mediaElement.play()},Object.defineProperty(t.prototype,"selectedMediaType",{get:function(){return this._selectedMediaType},enumerable:!1,configurable:!0}),t.supportedMediaTypes=["audio","video"],t}(M);t.HTML5MediaPlayer=F;var L=function(e){function t(t){return e.call(this)||this}return i(t,e),t}(M);t.CustomMediaPlayer=L;var j=function(e){function t(t,r){var n=e.call(this,t)||this;return n.iFrameTitle=r,t.length>=2&&(n._videoId=t[1]),n}return i(t,e),t.prototype.canPlay=function(){return void 0!==this._videoId},t.prototype.render=function(){var e=document.createElement("div");e.style.position="relative",e.style.width="100%",e.style.height="0",e.style.paddingBottom="56.25%";var t=document.createElement("iframe");return t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.width="100%",t.style.height="100%",t.src=this.getEmbedVideoUrl(),t.frameBorder="0",this.iFrameTitle&&(t.title=this.iFrameTitle),t.allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",t.allowFullscreen=!0,e.appendChild(t),e},Object.defineProperty(t.prototype,"videoId",{get:function(){return this._videoId},enumerable:!1,configurable:!0}),t}(L);t.IFrameMediaMediaPlayer=j;var V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.fetchVideoDetails=function(){return a(this,void 0,void 0,(function(){var e,t,r;return s(this,(function(n){switch(n.label){case 0:return e="https://vimeo.com/api/oembed.json?url=".concat(this.getEmbedVideoUrl()),[4,fetch(e)];case 1:return(t=n.sent()).ok?[4,t.json()]:[3,3];case 2:r=n.sent(),this.posterUrl=r.thumbnail_url,n.label=3;case 3:return[2]}}))}))},t.prototype.getEmbedVideoUrl=function(){return"https://player.vimeo.com/video/".concat(this.videoId,"?autoplay=1")},t}(j);t.VimeoPlayer=V;var H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.fetchVideoDetails=function(){return a(this,void 0,void 0,(function(){var e,t,r;return s(this,(function(n){switch(n.label){case 0:return e="https://api.dailymotion.com/video/".concat(this.videoId,"?fields=thumbnail_720_url"),[4,fetch(e)];case 1:return(t=n.sent()).ok?[4,t.json()]:[3,3];case 2:r=n.sent(),this.posterUrl=r.thumbnail_720_url,n.label=3;case 3:return[2]}}))}))},t.prototype.getEmbedVideoUrl=function(){return"https://www.dailymotion.com/embed/video/".concat(this.videoId,"?autoplay=1")},t}(j);t.DailymotionPlayer=H;var q=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.iFrameTitle=r,t.length>=3&&void 0!==t[2]&&(n._startTimeIndex=parseInt(t[2])),n}return i(t,e),t.prototype.fetchVideoDetails=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return this.posterUrl=this.videoId?"https://img.youtube.com/vi/".concat(this.videoId,"/maxresdefault.jpg"):void 0,[2]}))}))},t.prototype.getEmbedVideoUrl=function(){var e="https://www.youtube.com/embed/".concat(this.videoId,"?autoplay=1");return void 0!==this._startTimeIndex&&(e+="&start=".concat(this._startTimeIndex)),e},t}(j);t.YouTubePlayer=q;var U,$=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sources=[],t.captionSources=[],t}return i(t,e),t.prototype.createMediaPlayer=function(){for(var e=0,r=t.customMediaPlayers;e<r.length;e++)for(var n=r[e],i=0,o=this.sources;i<o.length;i++){var a=o[i];if(a.url)for(var s=0,l=n.urlPatterns;s<l.length;s++){var c=l[s].exec(a.url);if(null!==c)return n.createMediaPlayer(c)}}return new F(this)},t.prototype.handlePlayButtonInvoke=function(e){if(this.hostConfig.media.allowInlinePlayback){if(e.preventDefault(),e.cancelBubble=!0,this.renderedElement){var r=this._mediaPlayer.render();y(this.renderedElement),this.renderedElement.appendChild(r),this._mediaPlayer.play(),r.focus()}}else t.onPlay&&(e.preventDefault(),e.cancelBubble=!0,t.onPlay(this))},t.prototype.displayPoster=function(){return a(this,void 0,void 0,(function(){var e,t,r,n,i,o,a=this;return s(this,(function(s){return this.renderedElement&&((e=document.createElement("div")).className=this.hostConfig.makeCssClassName("ac-media-poster"),e.setAttribute("role","contentinfo"),e.setAttribute("aria-label",this.altText?this.altText:m.Strings.defaults.mediaPlayerAriaLabel()),e.style.position="relative",e.style.display="flex",(t=this.poster?this.poster:this._mediaPlayer.posterUrl)||(t=this.hostConfig.media.defaultPoster),t?((r=document.createElement("img")).style.width="100%",r.style.height="100%",r.setAttribute("role","presentation"),r.onerror=function(t){r.parentNode&&r.parentNode.removeChild(r),e.classList.add("empty"),e.style.minHeight="150px"},r.src=t,e.appendChild(r)):(e.classList.add("empty"),e.style.minHeight="150px"),this.hostConfig.supportsInteractivity&&this._mediaPlayer.canPlay()&&((n=document.createElement("div")).tabIndex=0,n.setAttribute("role","button"),n.setAttribute("aria-label",m.Strings.defaults.mediaPlayerPlayMedia()),n.className=this.hostConfig.makeCssClassName("ac-media-playButton"),n.style.display="flex",n.style.alignItems="center",n.style.justifyContent="center",n.onclick=function(e){a.handlePlayButtonInvoke(e)},n.onkeypress=function(e){"Enter"!==e.code&&"Space"!==e.code||a.handlePlayButtonInvoke(e)},(i=document.createElement("div")).className=this.hostConfig.makeCssClassName("ac-media-playButton-arrow"),i.style.width="12px",i.style.height="15px",i.style.borderTopWidth="7.5px",i.style.borderBottomWidth="7.5px",i.style.borderLeftWidth="12px",i.style.borderRightWidth="0",i.style.borderStyle="solid",i.style.borderTopColor="transparent",i.style.borderRightColor="transparent",i.style.borderBottomColor="transparent",i.style.transform="translate(1.2px,0px)",n.appendChild(i),(o=document.createElement("div")).style.position="absolute",o.style.left="0",o.style.top="0",o.style.width="100%",o.style.height="100%",o.style.display="flex",o.style.justifyContent="center",o.style.alignItems="center",o.appendChild(n),e.appendChild(o)),y(this.renderedElement),this.renderedElement.appendChild(e)),[2]}))}))},t.prototype.internalRender=function(){var e=document.createElement("div");return e.className=this.hostConfig.makeCssClassName("ac-media"),e},t.prototype.render=function(){var t=this,r=e.prototype.render.call(this);return r&&(this._mediaPlayer=this.createMediaPlayer(),this._mediaPlayer.fetchVideoDetails().then((function(){return t.displayPoster()}))),r},t.prototype.releaseDOMResources=function(){e.prototype.releaseDOMResources.call(this),this.displayPoster()},t.prototype.getJsonTypeName=function(){return"Media"},t.prototype.getResourceInformation=function(){var e=[];if(this._mediaPlayer){var t=this.poster?this.poster:this.hostConfig.media.defaultPoster;t&&e.push({url:t,mimeType:"image"})}for(var r=0,n=this.sources;r<n.length;r++){var i=n[r];i.isValid()&&e.push({url:i.url,mimeType:i.mimeType})}for(var o=0,a=this.captionSources;o<a.length;o++){var s=a[o];s.isValid()&&e.push({url:s.url,mimeType:s.mimeType})}return e},Object.defineProperty(t.prototype,"selectedMediaType",{get:function(){return this._mediaPlayer.selectedMediaType},enumerable:!1,configurable:!0}),t.customMediaPlayers=[{urlPatterns:[/^(?:https?:\/\/)?(?:www.)?youtube.com\/watch\?(?=.*v=([\w\d-_]+))(?=(?:.*t=(\d+))?).*/gi,/^(?:https?:\/\/)?youtu.be\/([\w\d-_]+)(?:\?t=(\d+))?/gi],createMediaPlayer:function(e){return new q(e,m.Strings.defaults.youTubeVideoPlayer())}},{urlPatterns:[/^(?:https?:\/\/)?vimeo.com\/([\w\d-_]+).*/gi],createMediaPlayer:function(e){return new V(e,m.Strings.defaults.vimeoVideoPlayer())}},{urlPatterns:[/^(?:https?:\/\/)?(?:www.)?dailymotion.com\/video\/([\w\d-_]+).*/gi],createMediaPlayer:function(e){return new H(e,m.Strings.defaults.dailymotionVideoPlayer())}}],t.sourcesProperty=new h.SerializableObjectCollectionProperty(h.Versions.v1_1,"sources",z),t.captionSourcesProperty=new h.SerializableObjectCollectionProperty(h.Versions.v1_6,"captionSources",O),t.posterProperty=new h.StringProperty(h.Versions.v1_1,"poster"),t.altTextProperty=new h.StringProperty(h.Versions.v1_1,"altText"),o([(0,h.property)(t.sourcesProperty)],t.prototype,"sources",void 0),o([(0,h.property)(t.captionSourcesProperty)],t.prototype,"captionSources",void 0),o([(0,h.property)(t.posterProperty)],t.prototype,"poster",void 0),o([(0,h.property)(t.altTextProperty)],t.prototype,"altText",void 0),t}(w);t.Media=$,function(e){e[e.InitialRender=0]="InitialRender",e[e.MouseEnterOnCard=1]="MouseEnterOnCard",e[e.MouseLeaveOnCard=2]="MouseLeaveOnCard",e[e.FocusLeave=3]="FocusLeave"}(U||(U={}));var W=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputStyle=l.InputStyle.Default,t}return i(t,e),t.prototype.getAllLabelIds=function(){var e=[];return this.labelledBy&&e.push(this.labelledBy),this._renderedLabelElement&&e.push(this._renderedLabelElement.id),this._renderedErrorMessageElement&&e.push(this._renderedErrorMessageElement.id),e},t.prototype.updateInputControlAriaLabelledBy=function(){if(this._renderedInputControlElement){var e=this.getAllLabelIds();e.length>0?this._renderedInputControlElement.setAttribute("aria-labelledby",e.join(" ")):this._renderedInputControlElement.removeAttribute("aria-labelledby")}},Object.defineProperty(t.prototype,"isNullable",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedInputControlElement",{get:function(){return this._renderedInputControlElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputControlContainerElement",{get:function(){return this._inputControlContainerElement},enumerable:!1,configurable:!0}),t.prototype.overrideInternalRender=function(){var e=this,t=this.hostConfig;this._outerContainerElement=document.createElement("div"),this._outerContainerElement.style.display="flex",this.labelPosition===l.InputLabelPosition.Inline?this._outerContainerElement.style.flexDirection="row":this._outerContainerElement.style.flexDirection="column";var r=u.generateUniqueId();if(this.label){var n=new k;n.setParent(this),n.forElementId=r;var i=new x(this.label);if(n.addInline(i),this.isRequired){i.init(t.inputs.label.requiredInputs);var o=new x(t.inputs.label.requiredInputs.suffix);o.color=t.inputs.label.requiredInputs.suffixColor,o.ariaHidden=!0,n.addInline(o)}else i.init(t.inputs.label.optionalInputs);this._renderedLabelElement=n.render(),this._renderedLabelElement&&(this._renderedLabelElement.id=u.generateUniqueId(),this.labelPosition===l.InputLabelPosition.Inline?this._renderedLabelElement.style.alignSelf="center":this._renderedLabelElement.style.marginBottom=t.getEffectiveSpacing(t.inputs.label.inputSpacing)+"px",this._outerContainerElement.appendChild(this._renderedLabelElement))}if(this._inputControlContainerElement=document.createElement("div"),this._inputControlContainerElement.className=t.makeCssClassName("ac-input-container"),this._inputControlContainerElement.style.display="flex","stretch"===this.height&&(this._inputControlContainerElement.style.alignItems="stretch",this._inputControlContainerElement.style.flex="1 1 auto"),this._renderedInputControlElement=this.internalRender(),this._renderedInputControlElement){if(this._renderedInputControlElement.id=r,this._renderedInputControlElement.style.minWidth="0px",this.isNullable&&this.isRequired&&(this._renderedInputControlElement.setAttribute("aria-required","true"),this._renderedInputControlElement.classList.add(t.makeCssClassName("ac-input-required"))),this._inputControlContainerElement.appendChild(this._renderedInputControlElement),this._outerContainerElement.appendChild(this._inputControlContainerElement),this._renderedLabelElement&&this.labelPosition===l.InputLabelPosition.Inline)if(this.labelWidth){if(this.labelWidth.unit==l.SizeUnit.Weight){var a=this.labelWidth.physicalSize;this._renderedLabelElement.style.width=a.toString()+"%",this._inputControlContainerElement.style.width=(100-a).toString()+"%"}else if(this.labelWidth.unit==l.SizeUnit.Pixel){var s=this.labelWidth.physicalSize;this._renderedLabelElement.style.width=s.toString()+"px"}}else{var c=t.inputs.label.width;this._renderedLabelElement.style.width=c.toString()+"%",this._inputControlContainerElement.style.width=100-c+"%"}return this.updateVisualState(U.InitialRender),this._renderedInputControlElement&&(this._renderedInputControlElement.onblur=function(t){e.updateVisualState(U.FocusLeave)}),this.updateInputControlAriaLabelledBy(),this._outerContainerElement}this.resetDirtyState()},t.prototype.valueChanged=function(){var e,t,r;this.getRootElement().updateActionsEnabledState(),this.isValid()&&this.resetValidationFailureCue(),this.onValueChanged&&this.onValueChanged(this),(r=(t=(e=this).getRootElement())&&t.onInputValueChanged?t.onInputValueChanged:ze.onInputValueChanged)&&r(e)},t.prototype.resetValidationFailureCue=function(){this.renderedInputControlElement&&(this.renderedInputControlElement.classList.remove(this.hostConfig.makeCssClassName("ac-input-validation-failed")),this.updateInputControlAriaLabelledBy(),this._renderedErrorMessageElement&&(this._outerContainerElement.removeChild(this._renderedErrorMessageElement),this._renderedErrorMessageElement=void 0))},t.prototype.showValidationErrorMessage=function(){if(this.renderedElement&&this.errorMessage&&c.GlobalSettings.displayInputValidationErrors){var e=new A;e.setParent(this),e.text=this.errorMessage,e.wrap=!0,e.init(this.hostConfig.inputs.errorMessage),this._renderedErrorMessageElement=e.render(),this._renderedErrorMessageElement&&(this._renderedErrorMessageElement.id=u.generateUniqueId(),this._outerContainerElement.appendChild(this._renderedErrorMessageElement),this.updateInputControlAriaLabelledBy())}},Object.defineProperty(t.prototype,"allowRevealOnHoverStyle",{get:function(){return this.hostConfig.inputs&&this.hostConfig.inputs.allowRevealOnHoverStyle},enumerable:!1,configurable:!0}),t.prototype.shouldHideInputAdornersForRevealOnHover=function(e,t){var r=e===document.activeElement,n=this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onhover"),i=e.classList.contains(n);return t===U.InitialRender||t===U.FocusLeave&&!i||t===U.MouseLeaveOnCard&&!r},t.prototype.updateVisualState=function(e){this.allowRevealOnHoverStyle&&this._renderedInputControlElement&&this.inputStyle===l.InputStyle.RevealOnHover&&(e===U.InitialRender?this._renderedInputControlElement.classList.add(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onrender")):e===U.MouseEnterOnCard?this._renderedInputControlElement.classList.add(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onhover")):e===U.MouseLeaveOnCard&&this._renderedInputControlElement.classList.remove(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onhover")))},t.prototype.focus=function(){this._renderedInputControlElement&&this._renderedInputControlElement.focus()},t.prototype.isValid=function(){return!0},t.prototype.isDirty=function(){return this.value!==this._oldValue},t.prototype.resetDirtyState=function(){this._oldValue=this.value},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.id||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,m.Strings.errors.inputsMustHaveUniqueId()),this.isRequired&&(this.label||t.addFailure(this,l.ValidationEvent.RequiredInputsShouldHaveLabel,"Required inputs should have a label"),this.errorMessage||t.addFailure(this,l.ValidationEvent.RequiredInputsShouldHaveErrorMessage,"Required inputs should have an error message"))},t.prototype.validateValue=function(){this.resetValidationFailureCue();var e=this.isRequired?this.isSet()&&this.isValid():this.isValid();return!e&&this.renderedInputControlElement&&(this.renderedInputControlElement.classList.add(this.hostConfig.makeCssClassName("ac-input-validation-failed")),this.showValidationErrorMessage()),e},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),[this]},t.prototype.render=function(){var t=e.prototype.render.call(this);return this.resetDirtyState(),t},Object.defineProperty(t.prototype,"isInteractive",{get:function(){return!0},enumerable:!1,configurable:!0}),t.labelProperty=new h.StringProperty(h.Versions.v1_3,"label",!0),t.isRequiredProperty=new h.BoolProperty(h.Versions.v1_3,"isRequired",!1),t.errorMessageProperty=new h.StringProperty(h.Versions.v1_3,"errorMessage",!0),t.inputStyleProperty=new h.EnumProperty(h.Versions.v1_6,"inputStyle",l.InputStyle,l.InputStyle.Default,[{value:l.InputStyle.RevealOnHover},{value:l.InputStyle.Default}]),t.labelWidthProperty=new h.CustomProperty(h.Versions.v1_6,"labelWidth",(function(e,t,r,n){var i=t.defaultValue,o=r[t.name],a=!1;if("number"!=typeof o||isNaN(o))if("string"==typeof o)try{i=c.SizeAndUnit.parse(o)}catch(e){a=!0}else a=!0;else((i=new c.SizeAndUnit(o,l.SizeUnit.Weight)).physicalSize<0||i.physicalSize>100)&&(a=!0);return a&&(n.logParseEvent(e,l.ValidationEvent.InvalidPropertyValue,m.Strings.errors.invalidInputLabelWidth()),i=void 0),i}),(function(e,t,r,n,i){n instanceof c.SizeAndUnit&&(n.unit===l.SizeUnit.Pixel?i.serializeValue(r,"labelWidth",n.physicalSize+"px"):i.serializeNumber(r,"labelWidth",n.physicalSize))}),void 0),t.labelPositionProperty=new h.EnumProperty(h.Versions.v1_6,"labelPosition",l.InputLabelPosition,l.InputLabelPosition.Above,[{value:l.InputLabelPosition.Inline},{value:l.InputLabelPosition.Above}]),o([(0,h.property)(t.labelProperty)],t.prototype,"label",void 0),o([(0,h.property)(t.isRequiredProperty)],t.prototype,"isRequired",void 0),o([(0,h.property)(t.errorMessageProperty)],t.prototype,"errorMessage",void 0),o([(0,h.property)(t.inputStyleProperty)],t.prototype,"inputStyle",void 0),o([(0,h.property)(t.labelWidthProperty)],t.prototype,"labelWidth",void 0),o([(0,h.property)(t.labelPositionProperty)],t.prototype,"labelPosition",void 0),t}(w);t.Input=W;var G=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiline=!1,t.style=l.InputTextStyle.Text,t}return i(t,e),t.prototype.setupInput=function(e){var t=this;e.style.flex="1 1 auto",e.tabIndex=this.isDesignMode()?-1:0,this.placeholder&&(e.placeholder=this.placeholder,e.setAttribute("aria-label",this.placeholder)),this.defaultValue&&(e.value=this.defaultValue),this.maxLength&&this.maxLength>0&&(e.maxLength=this.maxLength),e.oninput=function(){t.valueChanged()},e.onkeypress=function(e){e.ctrlKey&&"Enter"===e.code&&t.inlineAction&&t.inlineAction.isEffectivelyEnabled()&&t.inlineAction.execute()}},t.prototype.internalRender=function(){var e;return this.isMultiline&&this.style!==l.InputTextStyle.Password?((e=document.createElement("textarea")).className=this.hostConfig.makeCssClassName("ac-input","ac-textInput","ac-multiline"),"stretch"===this.height&&(e.style.height="initial")):((e=document.createElement("input")).className=this.hostConfig.makeCssClassName("ac-input","ac-textInput"),e.type=l.InputTextStyle[this.style].toLowerCase()),this.setupInput(e),e},t.prototype.overrideInternalRender=function(){var t=this,r=e.prototype.overrideInternalRender.call(this);if(this.inlineAction){var n=document.createElement("button");if(n.className=this.hostConfig.makeCssClassName(this.inlineAction.isEffectivelyEnabled()?"ac-inlineActionButton":"ac-inlineActionButton-disabled"),n.onclick=function(e){t.inlineAction&&t.inlineAction.isEffectivelyEnabled()&&(e.preventDefault(),e.cancelBubble=!0,t.inlineAction.execute())},this.inlineAction.iconUrl){n.classList.add("iconOnly");var i=document.createElement("img");i.style.height="100%",i.setAttribute("role","presentation"),i.style.display="none",i.onload=function(){i.style.removeProperty("display")},i.onerror=function(){n.removeChild(i),n.classList.remove("iconOnly"),n.classList.add("textOnly"),n.textContent=t.inlineAction&&t.inlineAction.title?t.inlineAction.title:m.Strings.defaults.inlineActionTitle()},i.src=this.inlineAction.iconUrl,n.appendChild(i),n.title=this.inlineAction.title?this.inlineAction.title:m.Strings.defaults.inlineActionTitle()}else n.classList.add("textOnly"),n.textContent=this.inlineAction.title?this.inlineAction.title:m.Strings.defaults.inlineActionTitle();this.inlineAction.setupElementForAccessibility(n,!0),n.style.marginLeft="8px",this.inputControlContainerElement.appendChild(n)}return r},t.prototype.updateVisualState=function(t){this.allowRevealOnHoverStyle&&(this.inlineAction||this.isMultiline||e.prototype.updateVisualState.call(this,t))},t.prototype.getJsonTypeName=function(){return"Input.Text"},t.prototype.getAllActions=function(){var t=e.prototype.getAllActions.call(this);return this.inlineAction&&t.push(this.inlineAction),t},t.prototype.getActionById=function(t){var r=e.prototype.getActionById.call(this,t);return!r&&this.inlineAction&&(r=this.inlineAction.getActionById(t)),r},t.prototype.isSet=function(){return!!this.value},t.prototype.isValid=function(){return!this.value||!this.regex||new RegExp(this.regex,"g").test(this.value)},Object.defineProperty(t.prototype,"value",{get:function(){return this.renderedInputControlElement?(this.isMultiline,this.renderedInputControlElement.value):void 0},enumerable:!1,configurable:!0}),t.valueProperty=new h.StringProperty(h.Versions.v1_0,"value"),t.maxLengthProperty=new h.NumProperty(h.Versions.v1_0,"maxLength"),t.isMultilineProperty=new h.BoolProperty(h.Versions.v1_0,"isMultiline",!1),t.placeholderProperty=new h.StringProperty(h.Versions.v1_0,"placeholder"),t.styleProperty=new h.EnumProperty(h.Versions.v1_0,"style",l.InputTextStyle,l.InputTextStyle.Text,[{value:l.InputTextStyle.Text},{value:l.InputTextStyle.Tel},{value:l.InputTextStyle.Url},{value:l.InputTextStyle.Email},{value:l.InputTextStyle.Password,targetVersion:h.Versions.v1_5}]),t.inlineActionProperty=new S(h.Versions.v1_0,"inlineAction",["Action.ShowCard"]),t.regexProperty=new h.StringProperty(h.Versions.v1_3,"regex",!0),o([(0,h.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,h.property)(t.maxLengthProperty)],t.prototype,"maxLength",void 0),o([(0,h.property)(t.isMultilineProperty)],t.prototype,"isMultiline",void 0),o([(0,h.property)(t.placeholderProperty)],t.prototype,"placeholder",void 0),o([(0,h.property)(t.styleProperty)],t.prototype,"style",void 0),o([(0,h.property)(t.inlineActionProperty)],t.prototype,"inlineAction",void 0),o([(0,h.property)(t.regexProperty)],t.prototype,"regex",void 0),t}(W);t.TextInput=G;var K=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.valueOn="true",t.valueOff="false",t.wrap=!1,t}return i(t,e),t.prototype.updateInputControlAriaLabelledBy=function(){if(this._checkboxInputElement){var e=this.getAllLabelIds().join(" ");this._checkboxInputLabelElement&&this._checkboxInputLabelElement.id&&(e+=" "+this._checkboxInputLabelElement.id),e?this._checkboxInputElement.setAttribute("aria-labelledby",e):this._checkboxInputElement.removeAttribute("aria-labelledby")}},t.prototype.internalRender=function(){var e=this,t=document.createElement("div");if(t.className=this.hostConfig.makeCssClassName("ac-input","ac-toggleInput"),t.style.width="100%",t.style.display="flex",t.style.alignItems="center",this._checkboxInputElement=document.createElement("input"),this._checkboxInputElement.id=u.generateUniqueId(),this._checkboxInputElement.type="checkbox",this._checkboxInputElement.style.display="inline-block",this._checkboxInputElement.style.verticalAlign="middle",this._checkboxInputElement.style.margin="0",this._checkboxInputElement.style.flex="0 0 auto",this.title&&this._checkboxInputElement.setAttribute("aria-label",this.title),this.isRequired&&this._checkboxInputElement.setAttribute("aria-required","true"),this._checkboxInputElement.tabIndex=this.isDesignMode()?-1:0,this.defaultValue===this.valueOn&&(this._checkboxInputElement.checked=!0),this._oldCheckboxValue=this._checkboxInputElement.checked,this._checkboxInputElement.onchange=function(){e.valueChanged()},u.appendChild(t,this._checkboxInputElement),this.title||this.isDesignMode()){var r=new A;if(r.setParent(this),r.forElementId=this._checkboxInputElement.id,r.hostConfig=this.hostConfig,r.text=this.title?this.title:this.getJsonTypeName(),r.useMarkdown=c.GlobalSettings.useMarkdownInRadioButtonAndCheckbox,r.wrap=this.wrap,this._checkboxInputLabelElement=r.render(),this._checkboxInputLabelElement){this._checkboxInputLabelElement.id=u.generateUniqueId(),this._checkboxInputLabelElement.style.display="inline-block",this._checkboxInputLabelElement.style.flex="1 1 auto",this._checkboxInputLabelElement.style.marginLeft="6px",this._checkboxInputLabelElement.style.verticalAlign="middle";var n=document.createElement("div");n.style.width="6px",u.appendChild(t,n),u.appendChild(t,this._checkboxInputLabelElement)}}return t},Object.defineProperty(t.prototype,"isNullable",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.updateVisualState=function(e){},t.prototype.getJsonTypeName=function(){return"Input.Toggle"},t.prototype.focus=function(){this._checkboxInputElement&&this._checkboxInputElement.focus()},t.prototype.isSet=function(){return this.isRequired?this.value===this.valueOn:!!this.value},t.prototype.isDirty=function(){return!!this._checkboxInputElement&&this._checkboxInputElement.checked!==this._oldCheckboxValue},Object.defineProperty(t.prototype,"value",{get:function(){return this._checkboxInputElement?this._checkboxInputElement.checked?this.valueOn:this.valueOff:void 0},enumerable:!1,configurable:!0}),t.valueProperty=new h.StringProperty(h.Versions.v1_0,"value"),t.titleProperty=new h.StringProperty(h.Versions.v1_0,"title"),t.valueOnProperty=new h.StringProperty(h.Versions.v1_0,"valueOn",!0,void 0,"true",(function(e){return"true"})),t.valueOffProperty=new h.StringProperty(h.Versions.v1_0,"valueOff",!0,void 0,"false",(function(e){return"false"})),t.wrapProperty=new h.BoolProperty(h.Versions.v1_2,"wrap",!1),o([(0,h.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,h.property)(t.titleProperty)],t.prototype,"title",void 0),o([(0,h.property)(t.valueOnProperty)],t.prototype,"valueOn",void 0),o([(0,h.property)(t.valueOffProperty)],t.prototype,"valueOff",void 0),o([(0,h.property)(t.wrapProperty)],t.prototype,"wrap",void 0),t}(W);t.ToggleInput=K;var X=function(e){function t(t,r){var n=e.call(this)||this;return n.title=t,n.value=r,n}return i(t,e),t.prototype.getSchemaKey=function(){return"Choice"},t.titleProperty=new h.StringProperty(h.Versions.v1_0,"title"),t.valueProperty=new h.StringProperty(h.Versions.v1_0,"value"),o([(0,h.property)(t.titleProperty)],t.prototype,"title",void 0),o([(0,h.property)(t.valueProperty)],t.prototype,"value",void 0),t}(h.SerializableObject);t.Choice=X;var Y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"choices.data"},t.typeProperty=new h.StringProperty(h.Versions.v1_6,"type",!0,new RegExp("^Data.Query$")),t.datasetProperty=new h.StringProperty(h.Versions.v1_6,"dataset"),t.countProperty=new h.NumProperty(h.Versions.v1_6,"count"),t.skipProperty=new h.NumProperty(h.Versions.v1_6,"skip"),o([(0,h.property)(t.typeProperty)],t.prototype,"type",void 0),o([(0,h.property)(t.datasetProperty)],t.prototype,"dataset",void 0),o([(0,h.property)(t.countProperty)],t.prototype,"count",void 0),o([(0,h.property)(t.skipProperty)],t.prototype,"skip",void 0),t}(h.SerializableObject);t.ChoiceSetInputDataQuery=Y;var J=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiSelect=!1,t.wrap=!1,t.choices=[],t}return i(t,e),Object.defineProperty(t.prototype,"isCompact",{get:function(){return!this.style||"compact"===this.style},set:function(e){this.style=e?void 0:"expanded"},enumerable:!1,configurable:!0}),t.getUniqueCategoryName=function(){var e="__ac-category"+t._uniqueCategoryCounter;return t._uniqueCategoryCounter++,e},t.prototype.isDynamicTypeahead=function(){return!!this.choicesData&&!!this.choicesData.dataset&&"Data.Query"===this.choicesData.type},t.prototype.getFilterForDynamicSearch=function(){var e,t;return null===(t=null===(e=this._filteredChoiceSet)||void 0===e?void 0:e.textInput)||void 0===t?void 0:t.value},t.prototype.renderChoices=function(e){var t;null===(t=this._filteredChoiceSet)||void 0===t||t.processResponse(e)},t.prototype.showLoadingIndicator=function(){var e;null===(e=this._filteredChoiceSet)||void 0===e||e.showLoadingIndicator()},t.prototype.removeLoadingIndicator=function(){var e;null===(e=this._filteredChoiceSet)||void 0===e||e.removeLoadingIndicator()},t.prototype.showErrorIndicator=function(e){var t;null===(t=this._filteredChoiceSet)||void 0===t||t.showErrorIndicator(e)},t.prototype.createPlaceholderOptionWhenValueDoesNotExist=function(){if(!this.value){var e=document.createElement("option");return e.selected=!0,e.disabled=!0,e.hidden=!0,e.value="",this.placeholder&&(e.text=this.placeholder),e}},t.prototype.internalApplyAriaCurrent=function(){if(this._selectElement){var e=this._selectElement.options;if(e)for(var t=0,r=Array.from(e);t<r.length;t++){var n=r[t];n.selected?n.setAttribute("aria-current","true"):n.removeAttribute("aria-current")}}},t.prototype.renderCompoundInput=function(e,t,r){var n=this,i=document.createElement("div");i.className=this.hostConfig.makeCssClassName("ac-input",e),i.style.width="100%",i.tabIndex=this.isDesignMode()?-1:0,this._toggleInputs=[],this._labels=[];for(var o=0,a=this.choices;o<a.length;o++){var s=a[o],l=document.createElement("input");l.id=u.generateUniqueId(),l.type=t,l.style.margin="0",l.style.display="inline-block",l.style.verticalAlign="middle",l.style.flex="0 0 auto",l.name=this.id?this.id:this._uniqueCategoryName,this.isRequired&&l.setAttribute("aria-required","true"),l.tabIndex=this.isDesignMode()?-1:0,s.value&&(l.value=s.value),s.title&&l.setAttribute("aria-label",s.title),r&&s.value&&r.indexOf(s.value)>=0&&(l.checked=!0),l.onchange=function(){n.valueChanged()},this._toggleInputs.push(l);var d=document.createElement("div");d.style.display="flex",d.style.alignItems="center",u.appendChild(d,l);var p=new A;p.setParent(this),p.forElementId=l.id,p.hostConfig=this.hostConfig,p.text=s.title?s.title:"Choice "+this._toggleInputs.length,p.useMarkdown=c.GlobalSettings.useMarkdownInRadioButtonAndCheckbox,p.wrap=this.wrap;var f=p.render();if(this._labels.push(f),f){f.id=u.generateUniqueId(),f.style.display="inline-block",f.style.flex="1 1 auto",f.style.marginLeft="6px",f.style.verticalAlign="middle";var h=document.createElement("div");h.style.width="6px",u.appendChild(d,h),u.appendChild(d,f)}u.appendChild(i,d)}return i},t.prototype.updateInputControlAriaLabelledBy=function(){if((this.isMultiSelect||"expanded"===this.style)&&this._toggleInputs&&this._labels)for(var t=this.getAllLabelIds(),r=0;r<this._toggleInputs.length;r++){var n=t.join(" "),i=this._labels[r];i&&i.id&&(n+=" "+i.id),n?this._toggleInputs[r].setAttribute("aria-labelledby",n):this._toggleInputs[r].removeAttribute("aria-labelledby")}else e.prototype.updateInputControlAriaLabelledBy.call(this)},t.prototype.internalRender=function(){var e=this;if(this._uniqueCategoryName=t.getUniqueCategoryName(),this.isDynamicTypeahead()){var r=new Z(t._uniqueCategoryCounter,this.choices,this.hostConfig);if(r.render(),r.textInput){this._textInput=r.textInput,this.defaultValue&&(this._textInput.value=this.defaultValue),this.placeholder&&!this._textInput.value&&(this._textInput.placeholder=this.placeholder,this._textInput.setAttribute("aria-label",this.placeholder)),this._textInput.tabIndex=this.isDesignMode()?-1:0;var n=u.debounce((function(){r.processStaticChoices(),e.valueChanged(),e._textInput&&(e.value?(e._textInput.removeAttribute("placeholder"),e._textInput.removeAttribute("aria-label")):e.placeholder&&(e._textInput.placeholder=e.placeholder,e._textInput.setAttribute("aria-label",e.placeholder)))}),this.hostConfig.inputs.debounceTimeInMilliSeconds);this._textInput.onclick=n,this._textInput.oninput=n}return r.parent=this,this._filteredChoiceSet=r,r.renderedElement}if(this.isMultiSelect)return this.renderCompoundInput("ac-choiceSetInput-multiSelect","checkbox",this.defaultValue?this.defaultValue.split(this.hostConfig.choiceSetInputValueSeparator):void 0);if("expanded"===this.style)return this.renderCompoundInput("ac-choiceSetInput-expanded","radio",this.defaultValue?[this.defaultValue]:void 0);if("filtered"===this.style){var i=document.createElement("div");i.style.width="100%",this._textInput=document.createElement("input"),this._textInput.className=this.hostConfig.makeCssClassName("ac-input","ac-multichoiceInput","ac-choiceSetInput-filtered"),this._textInput.type="text",this._textInput.style.width="100%",this._textInput.oninput=function(){e.valueChanged(),e._textInput&&(e.value?(e._textInput.removeAttribute("placeholder"),e._textInput.removeAttribute("aria-label")):e.placeholder&&(e._textInput.placeholder=e.placeholder,e._textInput.setAttribute("aria-label",e.placeholder)))},this.defaultValue&&(this._textInput.value=this.defaultValue),this.placeholder&&!this._textInput.value&&(this._textInput.placeholder=this.placeholder,this._textInput.setAttribute("aria-label",this.placeholder)),this._textInput.tabIndex=this.isDesignMode()?-1:0;var o=document.createElement("datalist");o.id=u.generateUniqueId();for(var a=0,s=this.choices;a<s.length;a++){var l=s[a],c=document.createElement("option");l.title&&(c.value=l.title,c.setAttribute("aria-label",l.title)),c.tabIndex=this.isDesignMode()?-1:0,o.appendChild(c)}return this._textInput.setAttribute("list",o.id),i.append(this._textInput,o),i}this._selectElement=document.createElement("select"),this._selectElement.className=this.hostConfig.makeCssClassName("ac-input","ac-multichoiceInput","ac-choiceSetInput-compact"),this._selectElement.style.width="100%",this._selectElement.tabIndex=this.isDesignMode()?-1:0;var d=this.createPlaceholderOptionWhenValueDoesNotExist();u.appendChild(this._selectElement,d);for(var p=0,f=this.choices;p<f.length;p++)l=f[p],(c=document.createElement("option")).value=l.value,l.title&&(c.text=l.title,c.setAttribute("aria-label",l.title)),c.tabIndex=this.isDesignMode()?-1:0,l.value===this.defaultValue&&(c.selected=!0),u.appendChild(this._selectElement,c);return this._selectElement.onchange=function(){e.internalApplyAriaCurrent(),e.valueChanged()},this.internalApplyAriaCurrent(),this._selectElement},t.prototype.updateVisualState=function(t){this.allowRevealOnHoverStyle&&!this.isMultiSelect&&this.isCompact&&(e.prototype.updateVisualState.call(this,t),this._selectElement&&this.inputStyle===l.InputStyle.RevealOnHover&&(this.shouldHideInputAdornersForRevealOnHover(this._selectElement,t)?(this._selectElement.style.appearance="none",this._selectElement.classList.remove(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus"))):(this._selectElement.style.appearance="auto",this._selectElement.classList.add(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus")))))},t.prototype.getJsonTypeName=function(){return"Input.ChoiceSet"},t.prototype.focus=function(){this._toggleInputs&&(this.isMultiSelect||"expanded"===this.style)?this._toggleInputs.length>0&&this._toggleInputs[0].focus():this._textInput?this._textInput.focus():e.prototype.focus.call(this)},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),0===this.choices.length&&t.addFailure(this,l.ValidationEvent.CollectionCantBeEmpty,m.Strings.errors.choiceSetMustHaveAtLeastOneChoice());for(var r=0,n=this.choices;r<n.length;r++){var i=n[r];i.title&&i.value||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,m.Strings.errors.choiceSetChoicesMustHaveTitleAndValue())}},t.prototype.isSet=function(){return!!this.value},t.prototype.isValid=function(){if(this._textInput){if(""===this.value||this.value===this.placeholder)return!0;for(var t=0,r=this.choices;t<r.length;t++){var n=r[t];if(this.value===n.value)return!0}if(this.dynamicChoices)for(var i=0,o=this.dynamicChoices;i<o.length;i++)if(n=o[i],this.value===n)return!0;return!1}return e.prototype.isValid.call(this)},Object.defineProperty(t.prototype,"value",{get:function(){if(this.isMultiSelect){if(!this._toggleInputs||0===this._toggleInputs.length)return;for(var e="",t=0,r=this._toggleInputs;t<r.length;t++)(l=r[t]).checked&&(""!==e&&(e+=this.hostConfig.choiceSetInputValueSeparator),e+=l.value);return e||void 0}if(this._selectElement)return this._selectElement.selectedIndex>0?this._selectElement.value:void 0;if(this._textInput){for(var n=0,i=this.choices;n<i.length;n++){var o=i[n];if(o.title&&this._textInput.value===o.title)return o.value}return this._textInput.value}if(this._toggleInputs&&this._toggleInputs.length>0)for(var a=0,s=this._toggleInputs;a<s.length;a++){var l;if((l=s[a]).checked)return l.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dynamicChoices",{get:function(){var e;return null===(e=this._filteredChoiceSet)||void 0===e?void 0:e.dynamicChoices},enumerable:!1,configurable:!0}),t.valueProperty=new h.StringProperty(h.Versions.v1_0,"value"),t.choicesProperty=new h.SerializableObjectCollectionProperty(h.Versions.v1_0,"choices",X),t.choicesDataProperty=new h.SerializableObjectProperty(h.Versions.v1_6,"choices.data",Y),t.styleProperty=new h.ValueSetProperty(h.Versions.v1_0,"style",[{value:"compact"},{value:"expanded"},{value:"filtered",targetVersion:h.Versions.v1_5}],"compact"),t.isMultiSelectProperty=new h.BoolProperty(h.Versions.v1_0,"isMultiSelect",!1),t.placeholderProperty=new h.StringProperty(h.Versions.v1_0,"placeholder"),t.wrapProperty=new h.BoolProperty(h.Versions.v1_2,"wrap",!1),t._uniqueCategoryCounter=0,o([(0,h.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,h.property)(t.styleProperty)],t.prototype,"style",void 0),o([(0,h.property)(t.isMultiSelectProperty)],t.prototype,"isMultiSelect",void 0),o([(0,h.property)(t.placeholderProperty)],t.prototype,"placeholder",void 0),o([(0,h.property)(t.wrapProperty)],t.prototype,"wrap",void 0),o([(0,h.property)(t.choicesProperty)],t.prototype,"choices",void 0),o([(0,h.property)(t.choicesDataProperty)],t.prototype,"choicesData",void 0),t}(W);t.ChoiceSetInput=J;var Z=function(){function e(e,t,r){this._choiceSetId=e,this._choices=t,this._dynamicChoices=[],this._visibleChoiceCount=0,this._hostConfig=r}return e.prototype.render=function(){var e=this,t=document.createElement("div");t.style.position="relative",t.style.width="100%",this._textInput=document.createElement("input"),this._textInput.className=this.hostConfig.makeCssClassName("ac-input","ac-multichoiceInput","ac-choiceSetInput-filtered"),this._textInput.type="text",this._textInput.style.width="100%",this._textInput.onkeydown=function(t){"ArrowDown"===t.key&&e.focusChoice(0)},this._dropdown=document.createElement("div"),this._dropdown.style.display="none",this._dropdown.className=this.hostConfig.makeCssClassName("ac-input","ac-multichoiceInput","ac-choiceSetInput-filtered-dropdown"),t.append(this._textInput,this._dropdown),document.onclick=function(t){if(e._dropdown){for(var r=e._dropdown.firstChild;r&&t.target!==r;)r=r.nextSibling;(r||t.target!==e._textInput)&&(e._dropdown.style.display="none")}},this._renderedElement=t},e.prototype.createChoice=function(e,t,r){var n=this,i=document.createElement("span");return i.className=this.hostConfig.makeCssClassName("ac-input","ac-choiceSetInput-choice"),i.id="ac-choiceSetInput-".concat(this._choiceSetId,"-choice-").concat(r),i.innerHTML=e.replace(t,"<b>".concat(t,"</b>")),i.tabIndex=-1,i.addEventListener("focusin",(function(){i.classList.add("focused")})),i.addEventListener("focusout",(function(){i.classList.remove("focused")})),i.onclick=function(){n._textInput&&(n._textInput.value=i.innerText),n._dropdown&&(n._dropdown.style.display="none")},i.onkeydown=function(e){"ArrowDown"===e.key?n.focusChoice(r+1):"ArrowUp"===e.key?n.focusChoice(r-1):"Enter"===e.key&&i.click()},i.onmouseover=function(){n.focusChoice(r)},i},e.prototype.focusChoice=function(e){var t=document.getElementById("ac-choiceSetInput-".concat(this._choiceSetId,"-choice-").concat(e));if(t)t.focus();else if(this._textInput){this._textInput.focus();var r=this._textInput.value.length;this._textInput.setSelectionRange(r,r)}},e.prototype.filterChoices=function(e){var t,r,n=null===(t=this._textInput)||void 0===t?void 0:t.value.toLowerCase();if(n)for(var i=0,o=e?this._dynamicChoices:this._choices;i<o.length;i++){var a=o[i];if(a.title){var s=a.title.toLowerCase().indexOf(n);if(-1!==s){var l=a.title.substring(s,s+n.length),c=this.createChoice(a.title,l,this._visibleChoiceCount++);null===(r=this._dropdown)||void 0===r||r.appendChild(c)}}}},e.prototype.getStatusIndicator=function(e){if(e){if(!this._errorIndicator){var t=document.createElement("div");t.className=this.hostConfig.makeCssClassName("ac-input","ac-choiceSetInput-statusIndicator","ac-choiceSetInput-errorIndicator"),this._errorIndicator=t}return this._errorIndicator.innerText=e,this._errorIndicator}if(!this._loadingIndicator){var r=document.createElement("div");r.className=this.hostConfig.makeCssClassName("ac-input","ac-choiceSetInput-statusIndicator"),this._loadingIndicator=r}return this._loadingIndicator.innerText=0===this._visibleChoiceCount?"Loading...":"Loading more...",this._loadingIndicator},e.prototype.resetDropdown=function(){this._dynamicChoices=[],this._dropdown&&(u.clearElementChildren(this._dropdown),this._visibleChoiceCount=0)},e.prototype.showDropdown=function(){var e;(null===(e=this._dropdown)||void 0===e?void 0:e.hasChildNodes)&&(this._dropdown.style.display="block")},e.prototype.processStaticChoices=function(){this.resetDropdown(),this.filterChoices(),this.showDropdown()},e.prototype.processResponse=function(e){this._dynamicChoices=e,this.filterChoices(!0),0===this._visibleChoiceCount&&this.showErrorIndicator("No results found.")},e.prototype.showLoadingIndicator=function(){var e,t=this.getStatusIndicator();null===(e=this._dropdown)||void 0===e||e.appendChild(t),this.showDropdown()},e.prototype.removeLoadingIndicator=function(){var e,t;this._loadingIndicator&&(null===(e=this._dropdown)||void 0===e?void 0:e.contains(this._loadingIndicator))&&(null===(t=this._dropdown)||void 0===t||t.removeChild(this._loadingIndicator))},e.prototype.showErrorIndicator=function(e){var t;this.removeLoadingIndicator();var r=this.getStatusIndicator(e);null===(t=this._dropdown)||void 0===t||t.appendChild(r)},Object.defineProperty(e.prototype,"dynamicChoices",{get:function(){var e;return null===(e=this._dynamicChoices)||void 0===e?void 0:e.map((function(e){return e.title}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostConfig",{get:function(){return this._hostConfig?this._hostConfig:this.parent?this.parent.hostConfig:d.defaultHostConfig},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(e){this._parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"renderedElement",{get:function(){return this._renderedElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textInput",{get:function(){return this._textInput},enumerable:!1,configurable:!0}),e}();t.FilteredChoiceSet=Z;var Q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.internalRender=function(){var e=this;return this._numberInputElement=document.createElement("input"),this._numberInputElement.setAttribute("type","number"),void 0!==this.min&&this._numberInputElement.setAttribute("min",this.min.toString()),void 0!==this.max&&this._numberInputElement.setAttribute("max",this.max.toString()),this._numberInputElement.className=this.hostConfig.makeCssClassName("ac-input","ac-numberInput"),this._numberInputElement.style.width="100%",this._numberInputElement.tabIndex=this.isDesignMode()?-1:0,void 0!==this.defaultValue&&(this._numberInputElement.valueAsNumber=this.defaultValue),this.placeholder&&(this._numberInputElement.placeholder=this.placeholder,this._numberInputElement.setAttribute("aria-label",this.placeholder)),this._numberInputElement.oninput=function(){e.valueChanged()},this._numberInputElement},t.prototype.getJsonTypeName=function(){return"Input.Number"},t.prototype.isSet=function(){return void 0!==this.value&&!isNaN(this.value)},t.prototype.isValid=function(){if(void 0===this.value)return!this.isRequired;var e=!0;return void 0!==this.min&&(e=e&&this.value>=this.min),void 0!==this.max&&(e=e&&this.value<=this.max),e},Object.defineProperty(t.prototype,"value",{get:function(){return this._numberInputElement?this._numberInputElement.valueAsNumber:void 0},set:function(e){e&&this._numberInputElement&&(this._numberInputElement.value=e.toString())},enumerable:!1,configurable:!0}),t.valueProperty=new h.NumProperty(h.Versions.v1_0,"value"),t.placeholderProperty=new h.StringProperty(h.Versions.v1_0,"placeholder"),t.minProperty=new h.NumProperty(h.Versions.v1_0,"min"),t.maxProperty=new h.NumProperty(h.Versions.v1_0,"max"),o([(0,h.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,h.property)(t.minProperty)],t.prototype,"min",void 0),o([(0,h.property)(t.maxProperty)],t.prototype,"max",void 0),o([(0,h.property)(t.placeholderProperty)],t.prototype,"placeholder",void 0),t}(W);t.NumberInput=Q;var ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.internalRender=function(){var e=this;return this._dateInputElement=document.createElement("input"),this._dateInputElement.setAttribute("type","date"),this.min&&this._dateInputElement.setAttribute("min",this.min),this.max&&this._dateInputElement.setAttribute("max",this.max),this.placeholder&&(this._dateInputElement.placeholder=this.placeholder,this._dateInputElement.setAttribute("aria-label",this.placeholder)),this._dateInputElement.tabIndex=this.isDesignMode()?-1:0,this._dateInputElement.className=this.hostConfig.makeCssClassName("ac-input","ac-dateInput"),this._dateInputElement.style.width="100%",this._dateInputElement.oninput=function(){e.valueChanged()},this.defaultValue&&(this._dateInputElement.value=this.defaultValue),this._dateInputElement},t.prototype.updateVisualState=function(t){if(this.allowRevealOnHoverStyle&&(e.prototype.updateVisualState.call(this,t),this._dateInputElement&&this.inputStyle===l.InputStyle.RevealOnHover)){var r=this.shouldHideInputAdornersForRevealOnHover(this._dateInputElement,t);r?this._dateInputElement.classList.remove(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus")):this._dateInputElement.classList.add(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus")),Pe(this._dateInputElement,r)}},t.prototype.getJsonTypeName=function(){return"Input.Date"},t.prototype.isSet=function(){return!!this.value},t.prototype.isValid=function(){if(!this.value)return!this.isRequired;var e=new Date(this.value),t=!0;if(this.min){var r=new Date(this.min);t=t&&e>=r}if(this.max){var n=new Date(this.max);t=t&&e<=n}return t},Object.defineProperty(t.prototype,"value",{get:function(){return this._dateInputElement?this._dateInputElement.value:void 0},enumerable:!1,configurable:!0}),t.valueProperty=new h.StringProperty(h.Versions.v1_0,"value"),t.placeholderProperty=new h.StringProperty(h.Versions.v1_0,"placeholder"),t.minProperty=new h.StringProperty(h.Versions.v1_0,"min"),t.maxProperty=new h.StringProperty(h.Versions.v1_0,"max"),o([(0,h.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,h.property)(t.minProperty)],t.prototype,"min",void 0),o([(0,h.property)(t.maxProperty)],t.prototype,"max",void 0),o([(0,h.property)(t.placeholderProperty)],t.prototype,"placeholder",void 0),t}(W);t.DateInput=ee;var te=function(e){function t(t,r){var n=e.call(this,t,r,(function(e,t,r,n){var i=r[t.name];if("string"==typeof i&&i&&/^[0-9]{2}:[0-9]{2}$/.test(i))return i}),(function(e,t,r,n,i){i.serializeValue(r,t.name,n)}))||this;return n.targetVersion=t,n.name=r,n}return i(t,e),t}(h.CustomProperty);t.TimeProperty=te;var re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.convertTimeStringToDate=function(e){return new Date("1973-09-04T"+e+":00Z")},t.prototype.internalRender=function(){var e=this;return this._timeInputElement=document.createElement("input"),this._timeInputElement.setAttribute("type","time"),this.min&&this._timeInputElement.setAttribute("min",this.min),this.max&&this._timeInputElement.setAttribute("max",this.max),this._timeInputElement.className=this.hostConfig.makeCssClassName("ac-input","ac-timeInput"),this._timeInputElement.style.width="100%",this._timeInputElement.oninput=function(){e.valueChanged()},this.placeholder&&(this._timeInputElement.placeholder=this.placeholder,this._timeInputElement.setAttribute("aria-label",this.placeholder)),this._timeInputElement.tabIndex=this.isDesignMode()?-1:0,this.defaultValue&&(this._timeInputElement.value=this.defaultValue),this._timeInputElement},t.prototype.updateVisualState=function(t){if(this.allowRevealOnHoverStyle&&(e.prototype.updateVisualState.call(this,t),this._timeInputElement&&this.inputStyle===l.InputStyle.RevealOnHover)){var r=this.shouldHideInputAdornersForRevealOnHover(this._timeInputElement,t);r?this._timeInputElement.classList.remove(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus")):this._timeInputElement.classList.add(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus")),Pe(this._timeInputElement,r)}},t.prototype.getJsonTypeName=function(){return"Input.Time"},t.prototype.isSet=function(){return!!this.value},t.prototype.isValid=function(){if(!this.value)return!this.isRequired;var e=t.convertTimeStringToDate(this.value),r=!0;if(this.min){var n=t.convertTimeStringToDate(this.min);r=r&&e>=n}if(this.max){var i=t.convertTimeStringToDate(this.max);r=r&&e<=i}return r},Object.defineProperty(t.prototype,"value",{get:function(){return this._timeInputElement?this._timeInputElement.value:void 0},enumerable:!1,configurable:!0}),t.valueProperty=new te(h.Versions.v1_0,"value"),t.placeholderProperty=new h.StringProperty(h.Versions.v1_0,"placeholder"),t.minProperty=new te(h.Versions.v1_0,"min"),t.maxProperty=new te(h.Versions.v1_0,"max"),o([(0,h.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,h.property)(t.minProperty)],t.prototype,"min",void 0),o([(0,h.property)(t.maxProperty)],t.prototype,"max",void 0),o([(0,h.property)(t.placeholderProperty)],t.prototype,"placeholder",void 0),t}(W);t.TimeInput=re;var ne=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.style=l.ActionStyle.Default,t.mode=l.ActionMode.Primary,t._state=0,t._isFocusable=!0,t}return i(t,e),t.prototype.renderButtonContent=function(){if(this.renderedElement){var e=this.hostConfig,t=document.createElement("div");if(t.style.overflow="hidden",t.style.textOverflow="ellipsis",e.actions.iconPlacement===l.ActionIconPlacement.AboveTitle||e.actions.allowTitleToWrap||(t.style.whiteSpace="nowrap"),this.title&&(t.innerText=this.title),this.iconUrl){var r=document.createElement("img");r.src=this.iconUrl,r.style.width=e.actions.iconSize+"px",r.style.height=e.actions.iconSize+"px",r.style.flex="0 0 auto",e.actions.iconPlacement===l.ActionIconPlacement.AboveTitle?(this.renderedElement.classList.add("iconAbove"),this.renderedElement.style.flexDirection="column",this.title&&(r.style.marginBottom="6px")):(this.renderedElement.classList.add("iconLeft"),r.style.maxHeight="100%",this.title&&(r.style.marginRight="6px")),this.renderedElement.appendChild(r),this.renderedElement.appendChild(t)}else this.renderedElement.classList.add("noIcon"),this.renderedElement.appendChild(t)}},t.prototype.getParentContainer=function(){return this.parent instanceof Ce?this.parent:this.parent?this.parent.getParentContainer():void 0},t.prototype.isDesignMode=function(){var e=this.getRootObject();return e instanceof w&&e.isDesignMode()},t.prototype.updateCssClasses=function(){var e,t;if(this.parent&&this.renderedElement){var r=this.parent.hostConfig;this.renderedElement.className=r.makeCssClassName(this.isEffectivelyEnabled()?"ac-pushButton":"ac-pushButton-disabled");var n=this.getParentContainer();if(n){var i=n.getEffectiveStyle();i&&this.renderedElement.classList.add("style-"+i)}switch(this.renderedElement.tabIndex=!this.isDesignMode()&&this.isFocusable?0:-1,this._state){case 0:break;case 1:this.renderedElement.classList.add(r.makeCssClassName("expanded"));break;case 2:this.renderedElement.classList.add(r.makeCssClassName("subdued"))}this.style&&this.isEffectivelyEnabled()&&(this.style===l.ActionStyle.Positive?(e=this.renderedElement.classList).add.apply(e,r.makeCssClassNames("primary","style-positive")):(t=this.renderedElement.classList).add.apply(t,r.makeCssClassNames("style-"+this.style.toLowerCase())))}},t.prototype.getDefaultSerializationContext=function(){return new Fe},t.prototype.internalGetReferencedInputs=function(){return{}},t.prototype.internalPrepareForExecution=function(e){},t.prototype.internalValidateInputs=function(e){var t=[];if(e)for(var r=0,n=Object.keys(e);r<n.length;r++){var i=e[n[r]];i.validateValue()||t.push(i)}return t},t.prototype.shouldSerialize=function(e){return void 0!==e.actionRegistry.findByName(this.getJsonTypeName())},t.prototype.raiseExecuteActionEvent=function(){var e,t,r;this.onExecute&&this.onExecute(this),r=(t=(e=this).parent?e.parent.getRootElement():void 0)&&t.onExecuteAction?t.onExecuteAction:ze.onExecuteAction,e.prepareForExecution()&&r&&r(e)},t.prototype.internalAfterExecute=function(){var e=this.getRootObject();e instanceof w&&e.updateActionsEnabledState()},t.prototype.getHref=function(){return""},t.prototype.getAriaRole=function(){var e=this.getAriaRoleFromEnum();return null!=e?e:"button"},t.prototype.getAriaRoleFromEnum=function(){switch(this.role){case l.ActionRole.Button:return"button";case l.ActionRole.Link:return"link";case l.ActionRole.Menu:return"menu";case l.ActionRole.MenuItem:return"menuitem";case l.ActionRole.Tab:return"tab";default:return}},t.prototype.setupElementForAccessibility=function(e,t){void 0===t&&(t=!1),e.tabIndex=this.isEffectivelyEnabled()&&!this.isDesignMode()?0:-1,e.setAttribute("role",this.getAriaRole()),e instanceof HTMLButtonElement&&(e.disabled=!this.isEffectivelyEnabled()),this.isEffectivelyEnabled()?(e.removeAttribute("aria-disabled"),e.classList.add(this.hostConfig.makeCssClassName("ac-selectable"))):e.setAttribute("aria-disabled","true"),this.title?(e.setAttribute("aria-label",this.title),e.title=this.title):(e.removeAttribute("aria-label"),e.removeAttribute("title")),this.tooltip&&(t&&!this.title&&e.setAttribute("aria-label",this.tooltip),e.title=this.tooltip)},t.prototype.parse=function(t,r){return e.prototype.parse.call(this,t,r||new Fe)},t.prototype.render=function(){var e=this,t=document.createElement("button");t.type="button",t.style.display="flex",t.style.alignItems="center",t.style.justifyContent="center",t.onclick=function(t){e.isEffectivelyEnabled()&&(t.preventDefault(),t.cancelBubble=!0,e.execute())},this._renderedElement=t,this.renderButtonContent(),this.updateCssClasses(),this.setupElementForAccessibility(t)},t.prototype.execute=function(){this._actionCollection&&this._actionCollection.actionExecuted(this),this.raiseExecuteActionEvent(),this.internalAfterExecute()},t.prototype.prepareForExecution=function(){var e=this.getReferencedInputs(),t=this.internalValidateInputs(e);return t.length>0?(t[0].focus(),!1):(this.internalPrepareForExecution(e),!0)},t.prototype.remove=function(){return!!this._actionCollection&&this._actionCollection.removeAction(this)},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),[]},t.prototype.getAllActions=function(){return[this]},t.prototype.getResourceInformation=function(){return this.iconUrl?[{url:this.iconUrl,mimeType:"image"}]:[]},t.prototype.getActionById=function(e){return this.id===e?this:void 0},t.prototype.getReferencedInputs=function(){return this.internalGetReferencedInputs()},t.prototype.validateInputs=function(){return this.internalValidateInputs(this.getReferencedInputs())},t.prototype.updateEnabledState=function(){},t.prototype.isEffectivelyEnabled=function(){return this.isEnabled},Object.defineProperty(t.prototype,"isPrimary",{get:function(){return this.style===l.ActionStyle.Positive},set:function(e){e?this.style=l.ActionStyle.Positive:this.style===l.ActionStyle.Positive&&(this.style=l.ActionStyle.Default)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hostConfig",{get:function(){return this.parent?this.parent.hostConfig:d.defaultHostConfig},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},set:function(e){this._state!==e&&(this._state=e,this.updateCssClasses())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFocusable",{get:function(){return this._isFocusable},set:function(e){this._isFocusable!==e&&(this._isFocusable=e,this.updateCssClasses())},enumerable:!1,configurable:!0}),t.titleProperty=new h.StringProperty(h.Versions.v1_0,"title"),t.iconUrlProperty=new h.StringProperty(h.Versions.v1_1,"iconUrl"),t.styleProperty=new h.ValueSetProperty(h.Versions.v1_2,"style",[{value:l.ActionStyle.Default},{value:l.ActionStyle.Positive},{value:l.ActionStyle.Destructive}],l.ActionStyle.Default),t.modeProperty=new h.ValueSetProperty(h.Versions.v1_5,"mode",[{value:l.ActionMode.Primary},{value:l.ActionMode.Secondary}],l.ActionMode.Primary),t.tooltipProperty=new h.StringProperty(h.Versions.v1_5,"tooltip"),t.isEnabledProperty=new h.BoolProperty(h.Versions.v1_5,"isEnabled",!0),t.roleProperty=new h.EnumProperty(h.Versions.v1_6,"role",l.ActionRole),o([(0,h.property)(t.titleProperty)],t.prototype,"title",void 0),o([(0,h.property)(t.iconUrlProperty)],t.prototype,"iconUrl",void 0),o([(0,h.property)(t.styleProperty)],t.prototype,"style",void 0),o([(0,h.property)(t.modeProperty)],t.prototype,"mode",void 0),o([(0,h.property)(t.tooltipProperty)],t.prototype,"tooltip",void 0),o([(0,h.property)(t.isEnabledProperty)],t.prototype,"isEnabled",void 0),o([(0,h.property)(t.roleProperty)],t.prototype,"role",void 0),t}(f.CardObject);t.Action=ne;var ie=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.disabledUnlessAssociatedInputsChange=!1,t._isPrepared=!1,t._areReferencedInputsDirty=!1,t}return i(t,e),t.prototype.internalGetReferencedInputs=function(){var e={};if("none"!==this.associatedInputs){for(var t=this.parent,r=[];t;)r.push.apply(r,t.getAllInputs(!1)),t=t.parent;for(var n=0,i=r;n<i.length;n++){var o=i[n];o.id&&(e[o.id]=o)}}return e},t.prototype.internalPrepareForExecution=function(e){if(this._originalData?this._processedData=JSON.parse(JSON.stringify(this._originalData)):this._processedData={},this._processedData&&e)for(var t=0,r=Object.keys(e);t<r.length;t++){var n=e[r[t]];n.id&&n.isSet()&&(this._processedData[n.id]="string"==typeof n.value?n.value:n.value.toString())}this._isPrepared=!0},t.prototype.internalAfterExecute=function(){c.GlobalSettings.resetInputsDirtyStateAfterActionExecution&&this.resetReferencedInputsDirtyState()},t.prototype.resetReferencedInputsDirtyState=function(){var e=this.getReferencedInputs();if(this._areReferencedInputsDirty=!1,e)for(var t=0,r=Object.keys(e);t<r.length;t++)e[r[t]].resetDirtyState()},t.prototype.updateEnabledState=function(){this._areReferencedInputsDirty=!1;var e=this.getReferencedInputs();if(e)for(var t=0,r=Object.keys(e);t<r.length;t++)if(e[r[t]].isDirty()){this._areReferencedInputsDirty=!0;break}this.updateCssClasses(),this._renderedElement&&this.setupElementForAccessibility(this._renderedElement)},t.prototype.isEffectivelyEnabled=function(){var t=e.prototype.isEffectivelyEnabled.call(this);return this.disabledUnlessAssociatedInputsChange?t&&this._areReferencedInputsDirty:t},Object.defineProperty(t.prototype,"data",{get:function(){return this._isPrepared?this._processedData:this._originalData},set:function(e){this._originalData=e,this._isPrepared=!1},enumerable:!1,configurable:!0}),t.dataProperty=new h.PropertyDefinition(h.Versions.v1_0,"data"),t.associatedInputsProperty=new h.CustomProperty(h.Versions.v1_3,"associatedInputs",(function(e,t,r,n){var i=r[t.name];if(void 0!==i&&"string"==typeof i)return"none"===i.toLowerCase()?"none":"auto"}),(function(e,t,r,n,i){i.serializeValue(r,t.name,n)})),t.disabledUnlessAssociatedInputsChangeProperty=new h.BoolProperty(h.Versions.v1_6,"disabledUnlessAssociatedInputsChange",!1),o([(0,h.property)(t.dataProperty)],t.prototype,"_originalData",void 0),o([(0,h.property)(t.associatedInputsProperty)],t.prototype,"associatedInputs",void 0),o([(0,h.property)(t.disabledUnlessAssociatedInputsChangeProperty)],t.prototype,"disabledUnlessAssociatedInputsChange",void 0),t}(ne);t.SubmitActionBase=ie;var oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.JsonTypeName="Action.Submit",t}(ie);t.SubmitAction=oe;var ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(ie);t.UniversalAction=ae;var se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.JsonTypeName="Action.Execute",t.verbProperty=new h.StringProperty(h.Versions.v1_4,"verb"),o([(0,h.property)(t.verbProperty)],t.prototype,"verb",void 0),t}(ae);t.ExecuteAction=se;var le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getJsonTypeName=function(){return t.JsonTypeName},Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),t.JsonTypeName="Data.Query",t.datasetProperty=new h.StringProperty(h.Versions.v1_6,"dataset"),t.filterProperty=new h.StringProperty(h.Versions.v1_6,"filter"),t.countProperty=new h.NumProperty(h.Versions.v1_6,"count"),t.skipProperty=new h.NumProperty(h.Versions.v1_6,"skip"),o([(0,h.property)(t.datasetProperty)],t.prototype,"dataset",void 0),o([(0,h.property)(t.filterProperty)],t.prototype,"filter",void 0),o([(0,h.property)(t.countProperty)],t.prototype,"count",void 0),o([(0,h.property)(t.skipProperty)],t.prototype,"skip",void 0),t}(ae);t.DataQuery=le;var ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.getAriaRole=function(){var e=this.getAriaRoleFromEnum();return null!=e?e:"link"},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.url||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,m.Strings.errors.propertyMustBeSet("url"))},t.prototype.getHref=function(){return this.url},t.urlProperty=new h.StringProperty(h.Versions.v1_0,"url"),t.JsonTypeName="Action.OpenUrl",o([(0,h.property)(t.urlProperty)],t.prototype,"url",void 0),t}(ne);t.OpenUrlAction=ce;var ue=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.targetElements={},t}return i(t,e),t.prototype.updateAriaControlsAttribute=function(){if(this.targetElements){var e=Object.keys(this.targetElements);this._renderedElement&&(e.length>0?this._renderedElement.setAttribute("aria-controls",e.join(" ")):this._renderedElement.removeAttribute("aria-controls"))}},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.targetElements||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,m.Strings.errors.propertyMustBeSet("targetElements"))},t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.render=function(){e.prototype.render.call(this),this.updateAriaControlsAttribute()},t.prototype.execute=function(){if(e.prototype.execute.call(this),this.parent)for(var t=0,r=Object.keys(this.targetElements);t<r.length;t++){var n=r[t],i=this.parent.getRootElement().getElementById(n);i&&("boolean"==typeof this.targetElements[n]?i.isVisible=this.targetElements[n]:i.isVisible=!i.isVisible)}},t.prototype.addTargetElement=function(e,t){void 0===t&&(t=void 0),this.targetElements[e]=t,this.updateAriaControlsAttribute()},t.prototype.removeTargetElement=function(e){delete this.targetElements[e],this.updateAriaControlsAttribute()},t.targetElementsProperty=new h.CustomProperty(h.Versions.v1_2,"targetElements",(function(e,t,r,n){var i={};if(Array.isArray(r[t.name]))for(var o=0,a=r[t.name];o<a.length;o++){var s=a[o];if("string"==typeof s)i[s]=void 0;else if("object"==typeof s){var l=s.elementId;"string"==typeof l&&(i[l]=u.parseBool(s.isVisible))}}return i}),(function(e,t,r,n,i){for(var o=[],a=0,s=Object.keys(n);a<s.length;a++){var l=s[a];"boolean"==typeof n[l]?o.push({elementId:l,isVisible:n[l]}):o.push(l)}i.serializeArray(r,t.name,o)}),{},(function(e){return{}})),t.JsonTypeName="Action.ToggleVisibility",o([(0,h.property)(t.targetElementsProperty)],t.prototype,"targetElements",void 0),t}(ne);t.ToggleVisibilityAction=ue;var de=function(e){function t(t,r){var n=e.call(this,t,r,void 0,(function(){return new c.StringWithSubstitutions}))||this;return n.targetVersion=t,n.name=r,n}return i(t,e),t.prototype.parse=function(e,t,r){var n=new c.StringWithSubstitutions;return n.set(u.parseString(t[this.name])),n},t.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,r.getOriginal())},t}(h.PropertyDefinition),pe=function(e){function t(t,r){void 0===t&&(t=""),void 0===r&&(r="");var n=e.call(this)||this;return n.name=t,n.value=r,n}return i(t,e),t.prototype.getSchemaKey=function(){return"HttpHeader"},t.prototype.getReferencedInputs=function(e,t){this._value.getReferencedInputs(e,t)},t.prototype.prepareForExecution=function(e){this._value.substituteInputValues(e,c.ContentTypes.applicationXWwwFormUrlencoded)},Object.defineProperty(t.prototype,"value",{get:function(){return this._value.get()},set:function(e){this._value.set(e)},enumerable:!1,configurable:!0}),t.nameProperty=new h.StringProperty(h.Versions.v1_0,"name"),t.valueProperty=new de(h.Versions.v1_0,"value"),o([(0,h.property)(t.nameProperty)],t.prototype,"name",void 0),o([(0,h.property)(t.valueProperty)],t.prototype,"_value",void 0),t}(h.SerializableObject);t.HttpHeader=pe;var fe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._ignoreInputValidation=!1,t}return i(t,e),t.prototype.internalGetReferencedInputs=function(){var e=this.parent?this.parent.getRootElement().getAllInputs():[],t={};this._url.getReferencedInputs(e,t);for(var r=0,n=this.headers;r<n.length;r++)n[r].getReferencedInputs(e,t);return this._body.getReferencedInputs(e,t),t},t.prototype.internalPrepareForExecution=function(e){if(e){this._url.substituteInputValues(e,c.ContentTypes.applicationXWwwFormUrlencoded);for(var t=c.ContentTypes.applicationJson,r=0,n=this.headers;r<n.length;r++){var i=n[r];i.prepareForExecution(e),i.name&&"content-type"===i.name.toLowerCase()&&(t=i.value)}this._body.substituteInputValues(e,t)}},t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.internalValidateProperties=function(t){if(e.prototype.internalValidateProperties.call(this,t),this.url||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,m.Strings.errors.propertyMustBeSet("url")),this.headers.length>0)for(var r=0,n=this.headers;r<n.length;r++)n[r].name||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,m.Strings.errors.actionHttpHeadersMustHaveNameAndValue())},Object.defineProperty(t.prototype,"ignoreInputValidation",{get:function(){return this._ignoreInputValidation},set:function(e){this._ignoreInputValidation=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this._url.get()},set:function(e){this._url.set(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"body",{get:function(){return this._body.get()},set:function(e){this._body.set(e)},enumerable:!1,configurable:!0}),t.urlProperty=new de(h.Versions.v1_0,"url"),t.bodyProperty=new de(h.Versions.v1_0,"body"),t.methodProperty=new h.StringProperty(h.Versions.v1_0,"method"),t.headersProperty=new h.SerializableObjectCollectionProperty(h.Versions.v1_0,"headers",pe),t.ignoreInputValidationProperty=new h.BoolProperty(h.Versions.v1_3,"ignoreInputValidation",!1),t.JsonTypeName="Action.Http",o([(0,h.property)(t.urlProperty)],t.prototype,"_url",void 0),o([(0,h.property)(t.bodyProperty)],t.prototype,"_body",void 0),o([(0,h.property)(t.methodProperty)],t.prototype,"method",void 0),o([(0,h.property)(t.headersProperty)],t.prototype,"headers",void 0),o([(0,h.property)(t.ignoreInputValidationProperty)],t.prototype,"_ignoreInputValidation",void 0),t}(ne);t.HttpAction=fe;var he=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.card=new Me,t}return i(t,e),t.prototype.updateCssClasses=function(){if(e.prototype.updateCssClasses.call(this),this.renderedElement){var t=this.parent?this.parent.hostConfig:d.defaultHostConfig;this.renderedElement.classList.add(t.makeCssClassName("expandable")),this.renderedElement.setAttribute("aria-expanded",(1===this.state).toString())}},t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r);var n=t.card;n?this.card.parse(n,r):r.logParseEvent(this,l.ValidationEvent.PropertyCantBeNull,m.Strings.errors.showCardMustHaveCard())},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r),this.card&&r.serializeValue(t,"card",this.card.toJSON(r))},t.prototype.raiseExecuteActionEvent=function(){this.hostConfig.actions.showCard.actionMode===l.ShowCardActionMode.Popup&&e.prototype.raiseExecuteActionEvent.call(this)},t.prototype.releaseDOMResources=function(){e.prototype.releaseDOMResources.call(this),this.card.releaseDOMResources()},t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.card.internalValidateProperties(t)},t.prototype.setParent=function(t){e.prototype.setParent.call(this,t),this.card.setParent(t)},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),this.card.getAllInputs(e)},t.prototype.getAllActions=function(){var t=e.prototype.getAllActions.call(this);return t.push.apply(t,this.card.getAllActions()),t},t.prototype.getResourceInformation=function(){var t=e.prototype.getResourceInformation.call(this);return t.push.apply(t,this.card.getResourceInformation()),t},t.prototype.getActionById=function(t){var r=e.prototype.getActionById.call(this,t);return r||(r=this.card.getActionById(t)),r},t.JsonTypeName="Action.ShowCard",t}(ne);t.ShowCardAction=he;var ge=function(e){function t(t){var r=e.call(this)||this;return r._actions=t,r.title=m.Strings.defaults.overflowButtonText(),r.tooltip=m.Strings.defaults.overflowButtonTooltip(),r}return i(t,e),t.prototype.getActions=function(){return this._actions},t.prototype.getAllActions=function(){var t=e.prototype.getAllActions.call(this);return t.push.apply(t,this._actions),t},t.prototype.getJsonTypeName=function(){return he.JsonTypeName},t.prototype.execute=function(){var e,t,r,n,i,o=this;if(t=this,r=this.renderedElement,(void 0===(i=(n=t.parent?t.parent.getRootElement():void 0)&&n.onDisplayOverflowActionMenu?n.onDisplayOverflowActionMenu:ze.onDisplayOverflowActionMenu)||!i(t.getActions(),r))&&this.renderedElement){var a=new v.PopupMenu;a.hostConfig=this.hostConfig;for(var s=function(t){var r=new v.MenuItem(t.toString(),null!==(e=l._actions[t].title)&&void 0!==e?e:"");r.isEnabled=l._actions[t].isEnabled,r.onClick=function(){var e=o._actions[t];a.closePopup(!1),e.isEnabled&&e.execute()},a.items.add(r)},l=this,c=0;c<this._actions.length;c++)s(c);a.onClose=function(){var e;null===(e=o.renderedElement)||void 0===e||e.setAttribute("aria-expanded","false")},this.renderedElement.setAttribute("aria-expanded","true"),a.popup(this.renderedElement)}},t.prototype.setupElementForAccessibility=function(t,r){void 0===r&&(r=!1),e.prototype.setupElementForAccessibility.call(this,t,r),t.setAttribute("aria-label",m.Strings.defaults.overflowButtonTooltip()),t.setAttribute("aria-expanded","false")},t.JsonTypeName="Action.Overflow",t}(ne),me=function(){function e(e){this._items=[],this._renderedActions=[],this._owner=e}return e.prototype.isActionAllowed=function(e){var t=this._owner.getForbiddenActionTypes();if(t)for(var r=0,n=t;r<n.length;r++){var i=n[r];if(e.constructor===i)return!1}return!0},e.prototype.refreshContainer=function(){if(y(this._actionCardContainer),this._actionCard){this._actionCardContainer.style.marginTop=this.renderedActionCount>0?this._owner.hostConfig.actions.showCard.inlineTopMargin+"px":"0px";var e=this._owner.getEffectivePadding();this._owner.getImmediateSurroundingPadding(e);var t=this._owner.hostConfig.paddingDefinitionToSpacingDefinition(e);this._actionCard&&(this._actionCard.style.paddingLeft=t.left+"px",this._actionCard.style.paddingRight=t.right+"px",this._actionCard.style.marginLeft="-"+t.left+"px",this._actionCard.style.marginRight="-"+t.right+"px",0===t.bottom||this._owner.isDesignMode()||(this._actionCard.style.paddingBottom=t.bottom+"px",this._actionCard.style.marginBottom="-"+t.bottom+"px"),u.appendChild(this._actionCardContainer,this._actionCard))}else this._actionCardContainer.style.marginTop="0px"},e.prototype.layoutChanged=function(){this._owner.getRootElement().updateLayout()},e.prototype.showActionCard=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),e.card.suppressStyle=t;var n=e.card.renderedElement&&!this._owner.isDesignMode()?e.card.renderedElement:e.card.render();this._actionCard=n,this._expandedAction=e,this.refreshContainer(),r&&(this.layoutChanged(),_e(e,!0))},e.prototype.collapseExpandedAction=function(){for(var e=0,t=this._renderedActions;e<t.length;e++)t[e].state=0;var r=this._expandedAction;this._expandedAction=void 0,this._actionCard=void 0,this.refreshContainer(),r&&(this.layoutChanged(),_e(r,!1))},e.prototype.expandShowCardAction=function(e,t){for(var r=this,n=!1,i=0,o=this._renderedActions;i<o.length;i++){var a=o[i];this._owner.hostConfig.actions.actionsOrientation==l.Orientation.Horizontal&&n&&(a.isFocusable=!1),a!==e?a.state=2:(a.state=1,n=!0,a.renderedElement&&(a.renderedElement.onblur=function(e){for(var t=0,n=r._renderedActions;t<n.length;t++)n[t].isFocusable=!0}))}this.showActionCard(e,!(this._owner.isAtTheVeryLeft()&&this._owner.isAtTheVeryRight()),t)},e.prototype.releaseDOMResources=function(){for(var e=0,t=this._renderedActions;e<t.length;e++)t[e].releaseDOMResources()},e.prototype.actionExecuted=function(e){e instanceof he?e===this._expandedAction?this.collapseExpandedAction():this._owner.hostConfig.actions.showCard.actionMode===l.ShowCardActionMode.Inline&&this.expandShowCardAction(e,!0):this.collapseExpandedAction()},e.prototype.parse=function(e,t){if(this.clear(),Array.isArray(e))for(var r=0,n=e;r<n.length;r++){var i=n[r],o=[];this._owner instanceof Te&&(o=this._owner.getForbiddenActionNames());var a=t.parseAction(this._owner,i,o,!this._owner.isDesignMode());a&&this.addAction(a)}},e.prototype.toJSON=function(e,t,r){r.serializeArray(e,t,this._items)},e.prototype.getActionAt=function(e){return this._items[e]},e.prototype.getActionCount=function(){return this._items.length},e.prototype.getActionById=function(e){for(var t=void 0,r=0,n=this._items;r<n.length&&!(t=n[r].getActionById(e));r++);return t},e.prototype.validateProperties=function(e){this._owner.hostConfig.actions.maxActions&&this._items.length>this._owner.hostConfig.actions.maxActions&&e.addFailure(this._owner,l.ValidationEvent.TooManyActions,m.Strings.errors.tooManyActions(this._owner.hostConfig.actions.maxActions)),this._items.length>0&&!this._owner.hostConfig.supportsInteractivity&&e.addFailure(this._owner,l.ValidationEvent.InteractivityNotAllowed,m.Strings.errors.interactivityNotAllowed());for(var t=0,r=this._items;t<r.length;t++){var n=r[t];this.isActionAllowed(n)||e.addFailure(this._owner,l.ValidationEvent.ActionTypeNotAllowed,m.Strings.errors.actionTypeNotAllowed(n.getJsonTypeName())),n.internalValidateProperties(e)}},e.prototype.render=function(e){var t=this._owner.hostConfig;if(t.supportsInteractivity){var r=document.createElement("div"),n=t.actions.maxActions?Math.min(t.actions.maxActions,this._items.length):this._items.length;if(this._actionCardContainer=document.createElement("div"),this._renderedActions=[],t.actions.preExpandSingleShowCardAction&&1===n&&this._items[0]instanceof he&&this.isActionAllowed(this._items[0]))this.showActionCard(this._items[0],!0),this._renderedActions.push(this._items[0]);else{var i=document.createElement("div");if(i.className=t.makeCssClassName("ac-actionSet"),i.style.display="flex",e===l.Orientation.Horizontal)if(i.style.flexDirection="row",this._owner.horizontalAlignment&&t.actions.actionAlignment!==l.ActionAlignment.Stretch)switch(this._owner.horizontalAlignment){case l.HorizontalAlignment.Center:i.style.justifyContent="center";break;case l.HorizontalAlignment.Right:i.style.justifyContent="flex-end";break;default:i.style.justifyContent="flex-start"}else switch(t.actions.actionAlignment){case l.ActionAlignment.Center:i.style.justifyContent="center";break;case l.ActionAlignment.Right:i.style.justifyContent="flex-end";break;default:i.style.justifyContent="flex-start"}else if(i.style.flexDirection="column",this._owner.horizontalAlignment&&t.actions.actionAlignment!==l.ActionAlignment.Stretch)switch(this._owner.horizontalAlignment){case l.HorizontalAlignment.Center:i.style.alignItems="center";break;case l.HorizontalAlignment.Right:i.style.alignItems="flex-end";break;default:i.style.alignItems="flex-start"}else switch(t.actions.actionAlignment){case l.ActionAlignment.Center:i.style.alignItems="center";break;case l.ActionAlignment.Right:i.style.alignItems="flex-end";break;case l.ActionAlignment.Stretch:i.style.alignItems="stretch";break;default:i.style.alignItems="flex-start"}var o=this._items.filter(this.isActionAllowed.bind(this)),a=[],s=[];if(this._owner.isDesignMode())a=o;else{o.forEach((function(e){return e.mode===l.ActionMode.Secondary?s.push(e):a.push(e)}));var d=a.splice(t.actions.maxActions);c.GlobalSettings.allowMoreThanMaxActionsInOverflowMenu&&s.push.apply(s,d);var p=!0;if(s.length>0){this._overflowAction||(this._overflowAction=new ge(s),this._overflowAction.setParent(this._owner),this._overflowAction._actionCollection=this);var f=this._owner instanceof ze&&!this._owner.parent;p=!function(e,t){var r=e.parent?e.parent.getRootElement():void 0,n=r&&r.onRenderOverflowActions?r.onRenderOverflowActions:ze.onRenderOverflowActions;return void 0!==n&&n(e.getActions(),t)}(this._overflowAction,f)}this._overflowAction&&p&&a.push(this._overflowAction)}for(var h=0;h<a.length;h++){var g=a[h];if(g.render(),g.renderedElement&&(t.actions.actionsOrientation===l.Orientation.Horizontal&&t.actions.actionAlignment===l.ActionAlignment.Stretch?g.renderedElement.style.flex="0 1 100%":g.renderedElement.style.flex="0 1 auto",i.appendChild(g.renderedElement),this._renderedActions.push(g),h<a.length-1&&t.actions.buttonSpacing>0)){var m=document.createElement("div");e===l.Orientation.Horizontal?(m.style.flex="0 0 auto",m.style.width=t.actions.buttonSpacing+"px"):m.style.height=t.actions.buttonSpacing+"px",u.appendChild(i,m)}}var v=document.createElement("div");v.style.overflow="hidden",v.appendChild(i),u.appendChild(r,v)}u.appendChild(r,this._actionCardContainer);for(var y=0,b=this._renderedActions;y<b.length;y++){var w=b[y];if(1===w.state){this.expandShowCardAction(w,!1);break}}return this._renderedActions.length>0?r:void 0}},e.prototype.addAction=function(e){if(!e)throw new Error("The action parameter cannot be null.");if(e.parent&&e.parent!==this._owner||!(this._items.indexOf(e)<0))throw new Error(m.Strings.errors.actionAlreadyParented());this._items.push(e),e.parent||e.setParent(this._owner),e._actionCollection=this},e.prototype.removeAction=function(e){this.expandedAction&&this._expandedAction===e&&this.collapseExpandedAction();var t=this._items.indexOf(e);if(t>=0){this._items.splice(t,1),e.setParent(void 0),e._actionCollection=void 0;for(var r=0;r<this._renderedActions.length;r++)if(this._renderedActions[r]===e){this._renderedActions.splice(r,1);break}return!0}return!1},e.prototype.clear=function(){this._items=[],this._renderedActions=[],this._expandedAction=void 0},e.prototype.getAllInputs=function(e){void 0===e&&(e=!0);var t=[];if(e)for(var r=0,n=this._items;r<n.length;r++){var i=n[r];t.push.apply(t,i.getAllInputs())}return t},e.prototype.getResourceInformation=function(){for(var e=[],t=0,r=this._items;t<r.length;t++){var n=r[t];e.push.apply(e,n.getResourceInformation())}return e},Object.defineProperty(e.prototype,"renderedActionCount",{get:function(){return this._renderedActions.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"expandedAction",{get:function(){return this._expandedAction},enumerable:!1,configurable:!0}),e}(),ve=function(e){function t(){var t=e.call(this)||this;return t._actionCollection=new me(t),t}return i(t,e),t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this._actionCollection.parse(t.actions,r)},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r),this._actionCollection.toJSON(t,"actions",r)},t.prototype.internalRender=function(){return this._actionCollection.render(void 0!==this.orientation?this.orientation:this.hostConfig.actions.actionsOrientation)},t.prototype.releaseDOMResources=function(){e.prototype.releaseDOMResources.call(this),this._actionCollection.releaseDOMResources()},t.prototype.isBleedingAtBottom=function(){return 0===this._actionCollection.renderedActionCount?e.prototype.isBleedingAtBottom.call(this):1===this._actionCollection.getActionCount()?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction},t.prototype.getJsonTypeName=function(){return"ActionSet"},t.prototype.getActionCount=function(){return this._actionCollection.getActionCount()},t.prototype.getActionAt=function(t){return t>=0&&t<this.getActionCount()?this._actionCollection.getActionAt(t):e.prototype.getActionAt.call(this,t)},t.prototype.getActionById=function(t){return this._actionCollection.getActionById(t)||e.prototype.getActionById.call(this,t)},t.prototype.getAllActions=function(){for(var t=e.prototype.getAllActions.call(this),r=0;r<this.getActionCount();r++){var n=this.getActionAt(r);n&&t.push(n)}return t},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this._actionCollection.validateProperties(t)},t.prototype.addAction=function(e){this._actionCollection.addAction(e)},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),e?this._actionCollection.getAllInputs():[]},t.prototype.getResourceInformation=function(){return this._actionCollection.getResourceInformation()},t.prototype.findDOMNodeOwner=function(t){for(var r=void 0,n=0;n<this.getActionCount();n++){var i=this.getActionAt(n);if(i&&(r=i.findDOMNodeOwner(t)))return r}return e.prototype.findDOMNodeOwner.call(this,t)},t.prototype.getElementById=function(t){var r=e.prototype.getElementById.call(this,t);return r||(r=this.getElementByIdFromAction(t)),r},Object.defineProperty(t.prototype,"isInteractive",{get:function(){return!0},enumerable:!1,configurable:!0}),t.orientationProperty=new h.EnumProperty(h.Versions.v1_1,"orientation",l.Orientation),o([(0,h.property)(t.orientationProperty)],t.prototype,"orientation",void 0),t}(w);t.ActionSet=ve;var ye=function(e){function t(t,r,n,i){var o=e.call(this,t,r,[{value:l.ContainerStyle.Default},{value:l.ContainerStyle.Emphasis},{targetVersion:h.Versions.v1_2,value:l.ContainerStyle.Accent},{targetVersion:h.Versions.v1_2,value:l.ContainerStyle.Good},{targetVersion:h.Versions.v1_2,value:l.ContainerStyle.Attention},{targetVersion:h.Versions.v1_2,value:l.ContainerStyle.Warning}],n,i)||this;return o.targetVersion=t,o.name=r,o.defaultValue=n,o.onGetInitialValue=i,o}return i(t,e),t}(h.ValueSetProperty);t.ContainerStyleProperty=ye;var be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"style",{get:function(){if(this.allowCustomStyle){var e=this.getValue(t.styleProperty);if(e&&this.hostConfig.containerStyles.getStyleByName(e))return e}},set:function(e){this.setValue(t.styleProperty,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowCustomStyle",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasExplicitStyle",{get:function(){return void 0!==this.getValue(t.styleProperty)},enumerable:!1,configurable:!0}),t.prototype.applyBorder=function(){},t.prototype.applyBackground=function(){if(this.renderedElement){var e=this.hostConfig.containerStyles.getStyleByName(this.style,this.hostConfig.containerStyles.getStyleByName(this.defaultStyle));if(e.backgroundColor){var t=u.stringToCssColor(e.backgroundColor);t&&(this.renderedElement.style.backgroundColor=t)}}},t.prototype.applyPadding=function(){if(e.prototype.applyPadding.call(this),this.renderedElement){var t=new c.SpacingDefinition;if(this.getEffectivePadding()&&(t=this.hostConfig.paddingDefinitionToSpacingDefinition(this.getEffectivePadding())),this.renderedElement.style.paddingTop=t.top+"px",this.renderedElement.style.paddingRight=t.right+"px",this.renderedElement.style.paddingBottom=t.bottom+"px",this.renderedElement.style.paddingLeft=t.left+"px",this.isBleeding()){var r=new c.PaddingDefinition;this.getImmediateSurroundingPadding(r);var n=this.hostConfig.paddingDefinitionToSpacingDefinition(r);this.renderedElement.style.marginRight="-"+n.right+"px",this.renderedElement.style.marginLeft="-"+n.left+"px",this.isDesignMode()||(this.renderedElement.style.marginTop="-"+n.top+"px",this.renderedElement.style.marginBottom="-"+n.bottom+"px"),this.separatorElement&&this.separatorOrientation===l.Orientation.Horizontal&&(this.separatorElement.style.marginLeft="-"+n.left+"px",this.separatorElement.style.marginRight="-"+n.right+"px")}else this.renderedElement.style.marginRight="0",this.renderedElement.style.marginLeft="0",this.renderedElement.style.marginTop="0",this.renderedElement.style.marginBottom="0",this.separatorElement&&this.separatorOrientation===l.Orientation.Horizontal&&(this.separatorElement.style.marginRight="0",this.separatorElement.style.marginLeft="0")}},t.prototype.getHasBackground=function(e){void 0===e&&(e=!1);for(var r=this.parent;r;){var n;if(n=!e&&r instanceof Ce&&r.backgroundImage.isValid(),r instanceof t&&this.hasExplicitStyle&&(r.getEffectiveStyle()!==this.getEffectiveStyle()||n))return!0;r=r.parent}return!1},t.prototype.getDefaultPadding=function(){return this.getHasBackground()||this.getHasBorder()?new c.PaddingDefinition(l.Spacing.Padding,l.Spacing.Padding,l.Spacing.Padding,l.Spacing.Padding):e.prototype.getDefaultPadding.call(this)},t.prototype.internalValidateProperties=function(r){e.prototype.internalValidateProperties.call(this,r);var n=this.getValue(t.styleProperty);void 0!==n&&(this.hostConfig.containerStyles.getStyleByName(n)||r.addFailure(this,l.ValidationEvent.InvalidPropertyValue,m.Strings.errors.invalidPropertyValue(n,"style")))},t.prototype.render=function(){var t=e.prototype.render.call(this);return t&&this.getHasBackground()&&this.applyBackground(),this.applyBorder(),t},t.prototype.getEffectiveStyle=function(){return this.style||e.prototype.getEffectiveStyle.call(this)},t.styleProperty=new ye(h.Versions.v1_0,"style"),o([(0,h.property)(t.styleProperty)],t.prototype,"style",null),t}(B);t.StylableCardElementContainer=be;var we=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._bleed=!1,t}return i(t,e),t.prototype.adjustRenderedElementSize=function(t){e.prototype.adjustRenderedElementSize.call(this,t),this.minPixelHeight&&(t.style.minHeight=this.minPixelHeight+"px")},t.prototype.getHasExpandedAction=function(){return!1},t.prototype.getBleed=function(){return this._bleed},t.prototype.setBleed=function(e){this._bleed=e},Object.defineProperty(t.prototype,"renderedActionCount",{get:function(){return 0},enumerable:!1,configurable:!0}),t.prototype.isBleeding=function(){return(this.getHasBackground()||this.hostConfig.alwaysAllowBleed)&&this.getBleed()},t.bleedProperty=new h.BoolProperty(h.Versions.v1_2,"bleed",!1),t.minHeightProperty=new h.PixelSizeProperty(h.Versions.v1_2,"minHeight"),o([(0,h.property)(t.bleedProperty)],t.prototype,"_bleed",void 0),o([(0,h.property)(t.minHeightProperty)],t.prototype,"minPixelHeight",void 0),t}(be);t.ContainerBase=we;var Se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"BackgroundImage"},t.prototype.internalParse=function(t,r){if("string"!=typeof t)return e.prototype.internalParse.call(this,t,r);this.resetDefaultValues(),this.url=t},t.prototype.apply=function(e){if(this.url&&e.renderedElement){switch(e.renderedElement.style.backgroundImage="url('"+e.preProcessPropertyValue(t.urlProperty,this.url)+"')",this.fillMode){case l.FillMode.Repeat:e.renderedElement.style.backgroundRepeat="repeat";break;case l.FillMode.RepeatHorizontally:e.renderedElement.style.backgroundRepeat="repeat-x";break;case l.FillMode.RepeatVertically:e.renderedElement.style.backgroundRepeat="repeat-y";break;case l.FillMode.Cover:default:e.renderedElement.style.backgroundRepeat="no-repeat",e.renderedElement.style.backgroundSize="cover"}switch(this.horizontalAlignment){case l.HorizontalAlignment.Left:break;case l.HorizontalAlignment.Center:e.renderedElement.style.backgroundPositionX="center";break;case l.HorizontalAlignment.Right:e.renderedElement.style.backgroundPositionX="right"}switch(this.verticalAlignment){case l.VerticalAlignment.Top:break;case l.VerticalAlignment.Center:e.renderedElement.style.backgroundPositionY="center";break;case l.VerticalAlignment.Bottom:e.renderedElement.style.backgroundPositionY="bottom"}}},t.prototype.isValid=function(){return!!this.url},t.urlProperty=new h.StringProperty(h.Versions.v1_0,"url"),t.fillModeProperty=new h.EnumProperty(h.Versions.v1_2,"fillMode",l.FillMode,l.FillMode.Cover),t.horizontalAlignmentProperty=new h.EnumProperty(h.Versions.v1_2,"horizontalAlignment",l.HorizontalAlignment,l.HorizontalAlignment.Left),t.verticalAlignmentProperty=new h.EnumProperty(h.Versions.v1_2,"verticalAlignment",l.VerticalAlignment,l.VerticalAlignment.Top),o([(0,h.property)(t.urlProperty)],t.prototype,"url",void 0),o([(0,h.property)(t.fillModeProperty)],t.prototype,"fillMode",void 0),o([(0,h.property)(t.horizontalAlignmentProperty)],t.prototype,"horizontalAlignment",void 0),o([(0,h.property)(t.verticalAlignmentProperty)],t.prototype,"verticalAlignment",void 0),t}(h.SerializableObject);t.BackgroundImage=Se;var Ce=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._items=[],t._renderedItems=[],t}return i(t,e),Object.defineProperty(t.prototype,"backgroundImage",{get:function(){return this.getValue(t.backgroundImageProperty)},enumerable:!1,configurable:!0}),t.prototype.insertItemAt=function(e,t,r){if(e.parent&&!r)throw new Error(m.Strings.errors.elementAlreadyParented());if(!e.isStandalone)throw new Error(m.Strings.errors.elementTypeNotStandalone(e.getJsonTypeName()));t<0||t>=this._items.length?this._items.push(e):this._items.splice(t,0,e),e.setParent(this)},t.prototype.getItemsCollectionPropertyName=function(){return"items"},t.prototype.applyBackground=function(){this.backgroundImage.isValid()&&this.renderedElement&&this.backgroundImage.apply(this),e.prototype.applyBackground.call(this)},t.prototype.applyRTL=function(e){void 0!==this.rtl&&(e.dir=this.rtl?"rtl":"ltr")},t.prototype.internalRender=function(){this._renderedItems=[];var e=this.hostConfig,t=document.createElement("div");switch(this.applyRTL(t),t.classList.add(e.makeCssClassName("ac-container")),t.style.display="flex",t.style.flexDirection="column",c.GlobalSettings.useAdvancedCardBottomTruncation&&(t.style.minHeight="-webkit-min-content"),this.getEffectiveVerticalContentAlignment()){case l.VerticalAlignment.Center:t.style.justifyContent="center";break;case l.VerticalAlignment.Bottom:t.style.justifyContent="flex-end";break;default:t.style.justifyContent="flex-start"}if(this._items.length>0)for(var r=0,n=this._items;r<n.length;r++){var i=n[r],o=this.isElementAllowed(i)?i.render():void 0;o&&(this._renderedItems.length>0&&i.separatorElement&&(i.separatorElement.style.flex="0 0 auto",u.appendChild(t,i.separatorElement)),u.appendChild(t,o),this._renderedItems.push(i))}else if(this.isDesignMode()){var a=this.createPlaceholderElement();a.style.width="100%",a.style.height="100%",t.appendChild(a)}return t},t.prototype.truncateOverflow=function(e){if(this.renderedElement){for(var t=this.renderedElement.offsetTop+e+1,r=function(e){var n=e.renderedElement;if(n)switch(u.getFitStatus(n,t)){case l.ContainerFitStatus.FullyInContainer:e.resetOverflow()&&r(e);break;case l.ContainerFitStatus.Overflowing:var i=t-n.offsetTop;e.handleOverflow(i);break;case l.ContainerFitStatus.FullyOutOfContainer:e.handleOverflow(0)}},n=0,i=this._items;n<i.length;n++){var o=i[n];r(o)}return!0}return!1},t.prototype.undoOverflowTruncation=function(){for(var e=0,t=this._items;e<t.length;e++)t[e].resetOverflow()},t.prototype.getHasBackground=function(t){return void 0===t&&(t=!1),!t&&this.backgroundImage.isValid()||e.prototype.getHasBackground.call(this,t)},t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this.clear(),this.setShouldFallback(!1);var n=t[this.getItemsCollectionPropertyName()];if(Array.isArray(n))for(var i=0,o=n;i<o.length;i++){var a=o[i],s=r.parseElement(this,a,this.forbiddenChildElements(),!this.isDesignMode());s&&this.insertItemAt(s,-1,!0)}},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r);var n=this.getItemsCollectionPropertyName();r.serializeArray(t,n,this._items)},Object.defineProperty(t.prototype,"isSelectable",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getEffectivePadding=function(){return c.GlobalSettings.removePaddingFromContainersWithBackgroundImage&&!this.getHasBackground(!0)?new c.PaddingDefinition:e.prototype.getEffectivePadding.call(this)},t.prototype.getEffectiveVerticalContentAlignment=function(){if(void 0!==this.verticalContentAlignment)return this.verticalContentAlignment;var e=this.getParentContainer();return e?e.getEffectiveVerticalContentAlignment():l.VerticalAlignment.Top},t.prototype.getItemCount=function(){return this._items.length},t.prototype.getItemAt=function(e){return this._items[e]},t.prototype.getFirstVisibleRenderedItem=function(){if(this.renderedElement&&this._renderedItems&&this._renderedItems.length>0)for(var e=0,t=this._renderedItems;e<t.length;e++){var r=t[e];if(r.isVisible)return r}},t.prototype.getLastVisibleRenderedItem=function(){if(this.renderedElement&&this._renderedItems&&this._renderedItems.length>0)for(var e=this._renderedItems.length-1;e>=0;e--)if(this._renderedItems[e].isVisible)return this._renderedItems[e]},t.prototype.getJsonTypeName=function(){return"Container"},t.prototype.isFirstElement=function(e){for(var t=this.isDesignMode(),r=0,n=this._items;r<n.length;r++){var i=n[r];if(i.isVisible||t)return i===e}return!1},t.prototype.isLastElement=function(e){for(var t=this.isDesignMode(),r=this._items.length-1;r>=0;r--)if(this._items[r].isVisible||t)return this._items[r]===e;return!1},t.prototype.isRtl=function(){if(void 0!==this.rtl)return this.rtl;var e=this.getParentContainer();return!!e&&e.isRtl()},t.prototype.isBleedingAtTop=function(){var e=this.getFirstVisibleRenderedItem();return this.isBleeding()||!!e&&e.isBleedingAtTop()},t.prototype.isBleedingAtBottom=function(){var e=this.getLastVisibleRenderedItem();return this.isBleeding()||!!e&&e.isBleedingAtBottom()&&e.getEffectiveStyle()===this.getEffectiveStyle()},t.prototype.indexOf=function(e){return this._items.indexOf(e)},t.prototype.addItem=function(e){this.insertItemAt(e,-1,!1)},t.prototype.insertItemBefore=function(e,t){this.insertItemAt(e,this._items.indexOf(t),!1)},t.prototype.insertItemAfter=function(e,t){this.insertItemAt(e,this._items.indexOf(t)+1,!1)},t.prototype.removeItem=function(e){var t=this._items.indexOf(e);return t>=0&&(this._items.splice(t,1),e.setParent(void 0),this.updateLayout(),!0)},t.prototype.clear=function(){this._items=[],this._renderedItems=[]},t.prototype.getResourceInformation=function(){var t=e.prototype.getResourceInformation.call(this);return this.backgroundImage.isValid()&&t.push({url:this.backgroundImage.url,mimeType:"image"}),t},t.prototype.getActionById=function(t){var r=e.prototype.getActionById.call(this,t);if(!r&&(this.selectAction&&(r=this.selectAction.getActionById(t)),!r))for(var n=0,i=this._items;n<i.length&&!(r=i[n].getActionById(t));n++);return r},Object.defineProperty(t.prototype,"padding",{get:function(){return this.getPadding()},set:function(e){this.setPadding(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectAction",{get:function(){return this._selectAction},set:function(e){this._selectAction=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bleed",{get:function(){return this.getBleed()},set:function(e){this.setBleed(e)},enumerable:!1,configurable:!0}),t.backgroundImageProperty=new h.SerializableObjectProperty(h.Versions.v1_0,"backgroundImage",Se),t.verticalContentAlignmentProperty=new h.EnumProperty(h.Versions.v1_1,"verticalContentAlignment",l.VerticalAlignment),t.rtlProperty=new h.BoolProperty(h.Versions.v1_0,"rtl"),o([(0,h.property)(t.backgroundImageProperty)],t.prototype,"backgroundImage",null),o([(0,h.property)(t.verticalContentAlignmentProperty)],t.prototype,"verticalContentAlignment",void 0),o([(0,h.property)(t.rtlProperty)],t.prototype,"rtl",void 0),t}(we);t.Container=Ce;var Ae=function(e){function t(t){void 0===t&&(t="stretch");var r=e.call(this)||this;return r.width="stretch",r._computedWeight=0,r.width=t,r}return i(t,e),t.prototype.adjustRenderedElementSize=function(e){this.isDesignMode()?(e.style.minWidth="20px",e.style.minHeight=(this.minPixelHeight?Math.max(this.minPixelHeight,20):20)+"px"):(e.style.minWidth="0",this.minPixelHeight&&(e.style.minHeight=this.minPixelHeight+"px")),"auto"===this.width?e.style.flex="0 1 auto":"stretch"===this.width?e.style.flex="1 1 50px":this.width instanceof c.SizeAndUnit&&(this.width.unit===l.SizeUnit.Pixel?(e.style.flex="0 0 auto",e.style.width=this.width.physicalSize+"px"):e.style.flex="1 1 "+(this._computedWeight>0?this._computedWeight:this.width.physicalSize)+"%")},t.prototype.shouldSerialize=function(e){return!0},Object.defineProperty(t.prototype,"separatorOrientation",{get:function(){return l.Orientation.Vertical},enumerable:!1,configurable:!0}),t.prototype.getJsonTypeName=function(){return"Column"},Object.defineProperty(t.prototype,"hasVisibleSeparator",{get:function(){return!!(this.parent&&this.parent instanceof xe)&&void 0!==this.separatorElement&&!this.parent.isLeftMostElement(this)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),t.widthProperty=new h.CustomProperty(h.Versions.v1_0,"width",(function(e,t,r,n){var i=t.defaultValue,o=r[t.name],a=!1;if("number"!=typeof o||isNaN(o))if("auto"===o||"stretch"===o)i=o;else if("string"==typeof o)try{(i=c.SizeAndUnit.parse(o)).unit===l.SizeUnit.Pixel&&t.targetVersion.compareTo(n.targetVersion)>0&&(a=!0)}catch(e){a=!0}else a=!0;else i=new c.SizeAndUnit(o,l.SizeUnit.Weight);return a&&(n.logParseEvent(e,l.ValidationEvent.InvalidPropertyValue,m.Strings.errors.invalidColumnWidth(o)),i="auto"),i}),(function(e,t,r,n,i){n instanceof c.SizeAndUnit?n.unit===l.SizeUnit.Pixel?i.serializeValue(r,"width",n.physicalSize+"px"):i.serializeNumber(r,"width",n.physicalSize):i.serializeValue(r,"width",n)}),"stretch"),o([(0,h.property)(t.widthProperty)],t.prototype,"width",void 0),t}(Ce);t.Column=Ae;var xe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._columns=[],t}return i(t,e),t.prototype.createColumnInstance=function(e,t){return t.parseCardObject(this,e,[],!this.isDesignMode(),(function(e){return e&&"Column"!==e?void 0:new Ae}),(function(e,r){t.logParseEvent(void 0,l.ValidationEvent.ElementTypeNotAllowed,m.Strings.errors.elementTypeNotAllowed(e))}))},t.prototype.internalRender=function(){if(this._renderedColumns=[],this._columns.length>0){var e=this.hostConfig,t=document.createElement("div");switch(t.className=e.makeCssClassName("ac-columnSet"),t.style.display="flex",c.GlobalSettings.useAdvancedCardBottomTruncation&&(t.style.minHeight="-webkit-min-content"),this.getEffectiveHorizontalAlignment()){case l.HorizontalAlignment.Center:t.style.justifyContent="center";break;case l.HorizontalAlignment.Right:t.style.justifyContent="flex-end";break;default:t.style.justifyContent="flex-start"}for(var r=0,n=0,i=this._columns;n<i.length;n++)(s=i[n]).width instanceof c.SizeAndUnit&&s.width.unit===l.SizeUnit.Weight&&(r+=s.width.physicalSize);for(var o=0,a=this._columns;o<a.length;o++){var s;if((s=a[o]).width instanceof c.SizeAndUnit&&s.width.unit===l.SizeUnit.Weight&&r>0){var d=100/r*s.width.physicalSize;s._computedWeight=d}var p=s.render();p&&(this._renderedColumns.length>0&&s.separatorElement&&(s.separatorElement.style.flex="0 0 auto",u.appendChild(t,s.separatorElement)),u.appendChild(t,p),this._renderedColumns.push(s))}return this._renderedColumns.length>0?t:void 0}},t.prototype.truncateOverflow=function(e){for(var t=0,r=this._columns;t<r.length;t++)r[t].handleOverflow(e);return!0},t.prototype.undoOverflowTruncation=function(){for(var e=0,t=this._columns;e<t.length;e++)t[e].resetOverflow()},Object.defineProperty(t.prototype,"isSelectable",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this._columns=[],this._renderedColumns=[];var n=t.columns;if(Array.isArray(n))for(var i=0,o=n;i<o.length;i++){var a=o[i],s=this.createColumnInstance(a,r);s&&this._columns.push(s)}},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r),r.serializeArray(t,"columns",this._columns)},t.prototype.isFirstElement=function(e){for(var t=0,r=this._columns;t<r.length;t++){var n=r[t];if(n.isVisible)return n===e}return!1},t.prototype.isBleedingAtTop=function(){if(this.isBleeding())return!0;if(this._renderedColumns&&this._renderedColumns.length>0)for(var e=0,t=this._columns;e<t.length;e++)if(t[e].isBleedingAtTop())return!0;return!1},t.prototype.isBleedingAtBottom=function(){if(this.isBleeding())return!0;if(this._renderedColumns&&this._renderedColumns.length>0)for(var e=0,t=this._columns;e<t.length;e++)if(t[e].isBleedingAtBottom())return!0;return!1},t.prototype.getItemCount=function(){return this._columns.length},t.prototype.getFirstVisibleRenderedItem=function(){return this.renderedElement&&this._renderedColumns&&this._renderedColumns.length>0?this._renderedColumns[0]:void 0},t.prototype.getLastVisibleRenderedItem=function(){return this.renderedElement&&this._renderedColumns&&this._renderedColumns.length>0?this._renderedColumns[this._renderedColumns.length-1]:void 0},t.prototype.getColumnAt=function(e){return this._columns[e]},t.prototype.getItemAt=function(e){return this.getColumnAt(e)},t.prototype.getJsonTypeName=function(){return"ColumnSet"},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t);for(var r=0,n=0,i=0,o=this._columns;i<o.length;i++){var a=o[i];"number"==typeof a.width?r++:"stretch"===a.width&&n++}r>0&&n>0&&t.addFailure(this,l.ValidationEvent.Hint,m.Strings.hints.dontUseWeightedAndStrecthedColumnsInSameSet())},t.prototype.addColumn=function(e){if(e.parent)throw new Error(m.Strings.errors.columnAlreadyBelongsToAnotherSet());this._columns.push(e),e.setParent(this)},t.prototype.removeItem=function(e){if(e instanceof Ae){var t=this._columns.indexOf(e);if(t>=0)return this._columns.splice(t,1),e.setParent(void 0),this.updateLayout(),!0}return!1},t.prototype.indexOf=function(e){return e instanceof Ae?this._columns.indexOf(e):-1},t.prototype.isLeftMostElement=function(e){return 0===this._columns.indexOf(e)},t.prototype.isRightMostElement=function(e){return this._columns.indexOf(e)===this._columns.length-1},t.prototype.isTopElement=function(e){return this._columns.indexOf(e)>=0},t.prototype.isBottomElement=function(e){return this._columns.indexOf(e)>=0},t.prototype.getActionById=function(e){for(var t=void 0,r=0,n=this._columns;r<n.length&&!(t=n[r].getActionById(e));r++);return t},Object.defineProperty(t.prototype,"bleed",{get:function(){return this.getBleed()},set:function(e){this.setBleed(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"padding",{get:function(){return this.getPadding()},set:function(e){this.setPadding(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectAction",{get:function(){return this._selectAction},set:function(e){this._selectAction=e},enumerable:!1,configurable:!0}),t}(we);function ke(e){var t=e.getRootElement(),r=t&&t.onImageLoaded?t.onImageLoaded:ze.onImageLoaded;r&&r(e)}function Ee(e,t,r){var n=e.getRootElement(),i=n&&n.onAnchorClicked?n.onAnchorClicked:ze.onAnchorClicked;return void 0!==i&&i(e,t,r)}function _e(e,t){var r=e.parent?e.parent.getRootElement():void 0,n=r&&r.onInlineCardExpanded?r.onInlineCardExpanded:ze.onInlineCardExpanded;n&&n(e,t)}function Ie(e,t){void 0===t&&(t=!0);var r=e.getRootElement();t&&r.updateLayout();var n=r,i=n&&n.onElementVisibilityChanged?n.onElementVisibilityChanged:ze.onElementVisibilityChanged;void 0!==i&&i(e)}function Pe(e,t){t?(e.readOnly=!0,e.required=!0):(e.readOnly=!1,e.required=!1)}t.ColumnSet=xe;var Te=function(e){function t(){var t=e.call(this)||this;return t._actionCollection=new me(t),t}return i(t,e),t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this.parseActions(t,r)},t.prototype.parseActions=function(e,t){this._actionCollection.parse(e.actions,t)},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r),this._actionCollection.toJSON(t,"actions",r)},t.prototype.internalRender=function(){var t=e.prototype.internalRender.call(this);if(t){var r=this._actionCollection.render(this.hostConfig.actions.actionsOrientation);return r&&(u.appendChild(t,b(this.hostConfig,{spacing:this.hostConfig.getEffectiveSpacing(this.hostConfig.actions.spacing)},l.Orientation.Horizontal)),u.appendChild(t,r)),this.renderIfEmpty||t.children.length>0?t:void 0}},t.prototype.getHasExpandedAction=function(){return 0!==this.renderedActionCount&&(1===this.renderedActionCount?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction)},Object.defineProperty(t.prototype,"renderedActionCount",{get:function(){return this._actionCollection.renderedActionCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderIfEmpty",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.releaseDOMResources=function(){e.prototype.releaseDOMResources.call(this),this._actionCollection.releaseDOMResources()},t.prototype.getActionCount=function(){return this._actionCollection.getActionCount()},t.prototype.getActionAt=function(t){return t>=0&&t<this.getActionCount()?this._actionCollection.getActionAt(t):e.prototype.getActionAt.call(this,t)},t.prototype.getActionById=function(t){return this._actionCollection.getActionById(t)||e.prototype.getActionById.call(this,t)},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this._actionCollection&&this._actionCollection.validateProperties(t)},t.prototype.isLastElement=function(t){return e.prototype.isLastElement.call(this,t)&&0===this._actionCollection.getActionCount()},t.prototype.addAction=function(e){this._actionCollection.addAction(e)},t.prototype.clear=function(){e.prototype.clear.call(this),this._actionCollection.clear()},t.prototype.getAllInputs=function(t){void 0===t&&(t=!0);var r=e.prototype.getAllInputs.call(this,t);return t&&r.push.apply(r,this._actionCollection.getAllInputs(t)),r},t.prototype.getResourceInformation=function(){var t=e.prototype.getResourceInformation.call(this);return t.push.apply(t,this._actionCollection.getResourceInformation()),t},t.prototype.isBleedingAtBottom=function(){return 0===this._actionCollection.renderedActionCount?e.prototype.isBleedingAtBottom.call(this):1===this._actionCollection.getActionCount()?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction},t.prototype.getForbiddenActionNames=function(){return[]},t.prototype.getElementById=function(t){var r=e.prototype.getElementById.call(this,t);return r||(r=this.getElementByIdFromAction(t)),r},Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),t}(Ce);t.ContainerWithActions=Te;var Be=function(e){function t(t,r){var n=e.call(this,t,r,void 0)||this;return n.targetVersion=t,n.name=r,n}return i(t,e),t.prototype.parse=function(e,t,r){var n=r.parseAction(e.parent,t[this.name],[],!1);if(void 0!==n){if(n instanceof se)return n;r.logParseEvent(e,l.ValidationEvent.ActionTypeNotAllowed,m.Strings.errors.actionTypeNotAllowed(n.getJsonTypeName()))}r.logParseEvent(e,l.ValidationEvent.PropertyCantBeNull,m.Strings.errors.propertyMustBeSet("action"))},t.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,r?r.toJSON(n):void 0,void 0,!0)},t}(h.PropertyDefinition);t.RefreshActionProperty=Be;var De=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"action",{get:function(){return this.getValue(t.actionProperty)},set:function(e){this.setValue(t.actionProperty,e),e&&e.setParent(this.parent)},enumerable:!1,configurable:!0}),t.prototype.getSchemaKey=function(){return"RefreshDefinition"},t.actionProperty=new Be(h.Versions.v1_4,"action"),t.userIdsProperty=new h.StringArrayProperty(h.Versions.v1_4,"userIds"),o([(0,h.property)(t.actionProperty)],t.prototype,"action",null),o([(0,h.property)(t.userIdsProperty)],t.prototype,"userIds",void 0),t}(h.SerializableObject);t.RefreshDefinition=De;var Ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"AuthCardButton"},t.typeProperty=new h.StringProperty(h.Versions.v1_4,"type"),t.titleProperty=new h.StringProperty(h.Versions.v1_4,"title"),t.imageProperty=new h.StringProperty(h.Versions.v1_4,"image"),t.valueProperty=new h.StringProperty(h.Versions.v1_4,"value"),o([(0,h.property)(t.typeProperty)],t.prototype,"type",void 0),o([(0,h.property)(t.titleProperty)],t.prototype,"title",void 0),o([(0,h.property)(t.imageProperty)],t.prototype,"image",void 0),o([(0,h.property)(t.valueProperty)],t.prototype,"value",void 0),t}(h.SerializableObject);t.AuthCardButton=Ne;var Re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"TokenExchangeResource"},t.idProperty=new h.StringProperty(h.Versions.v1_4,"id"),t.uriProperty=new h.StringProperty(h.Versions.v1_4,"uri"),t.providerIdProperty=new h.StringProperty(h.Versions.v1_4,"providerId"),o([(0,h.property)(t.idProperty)],t.prototype,"id",void 0),o([(0,h.property)(t.uriProperty)],t.prototype,"uri",void 0),o([(0,h.property)(t.providerIdProperty)],t.prototype,"providerId",void 0),t}(h.SerializableObject);t.TokenExchangeResource=Re;var Oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"Authentication"},t.textProperty=new h.StringProperty(h.Versions.v1_4,"text"),t.connectionNameProperty=new h.StringProperty(h.Versions.v1_4,"connectionName"),t.buttonsProperty=new h.SerializableObjectCollectionProperty(h.Versions.v1_4,"buttons",Ne),t.tokenExchangeResourceProperty=new h.SerializableObjectProperty(h.Versions.v1_4,"tokenExchangeResource",Re,!0),o([(0,h.property)(t.textProperty)],t.prototype,"text",void 0),o([(0,h.property)(t.connectionNameProperty)],t.prototype,"connectionName",void 0),o([(0,h.property)(t.buttonsProperty)],t.prototype,"buttons",void 0),o([(0,h.property)(t.tokenExchangeResourceProperty)],t.prototype,"tokenExchangeResource",void 0),t}(h.SerializableObject);t.Authentication=Oe;var ze=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.designMode=!1,t}return i(t,e),Object.defineProperty(t.prototype,"refresh",{get:function(){return this.getValue(t.refreshProperty)},set:function(e){this.setValue(t.refreshProperty,e),e&&(e.parent=this)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"processMarkdown",{get:function(){throw new Error(m.Strings.errors.processMarkdownEventRemoved())},set:function(e){throw new Error(m.Strings.errors.processMarkdownEventRemoved())},enumerable:!1,configurable:!0}),t.applyMarkdown=function(e){var r={didProcess:!1};if(t.onProcessMarkdown)t.onProcessMarkdown(e,r);else if(window.markdownit){var n=window.markdownit;r.outputHtml=n().render(e),r.didProcess=!0}else t._haveWarnedAboutNoMarkdownProcessing||(console.warn(m.Strings.errors.markdownProcessingNotEnabled),t._haveWarnedAboutNoMarkdownProcessing=!0);return r},t.prototype.isVersionSupported=function(){return!!this.bypassVersionCheck||!(!this.version||!this.version.isValid||this.maxVersion.major<this.version.major||this.maxVersion.major===this.version.major&&this.maxVersion.minor<this.version.minor)},t.prototype.getDefaultSerializationContext=function(){return new Fe(this.version)},t.prototype.getItemsCollectionPropertyName=function(){return"body"},t.prototype.internalParse=function(r,n){this._fallbackCard=void 0;var i=n.parseElement(void 0,r.fallback,this.forbiddenChildElements(),!this.isDesignMode());i&&(this._fallbackCard=new t,this._fallbackCard.addItem(i)),e.prototype.internalParse.call(this,r,n)},t.prototype.internalToJSON=function(r,n){this.setValue(t.versionProperty,n.targetVersion),e.prototype.internalToJSON.call(this,r,n)},t.prototype.internalRender=function(){var t=e.prototype.internalRender.call(this);return c.GlobalSettings.useAdvancedCardBottomTruncation&&t&&t.style.removeProperty("minHeight"),t},t.prototype.getHasBackground=function(e){return void 0===e&&(e=!1),!0},t.prototype.getDefaultPadding=function(){return new c.PaddingDefinition(l.Spacing.Padding,l.Spacing.Padding,l.Spacing.Padding,l.Spacing.Padding)},t.prototype.shouldSerialize=function(e){return!0},Object.defineProperty(t.prototype,"renderIfEmpty",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bypassVersionCheck",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowCustomStyle",{get:function(){return this.hostConfig.adaptiveCard&&this.hostConfig.adaptiveCard.allowCustomStyle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasBackground",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getJsonTypeName=function(){return"AdaptiveCard"},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),"AdaptiveCard"!==this.getValue(w.typeNameProperty)&&t.addFailure(this,l.ValidationEvent.MissingCardType,m.Strings.errors.invalidCardType()),this.bypassVersionCheck||this.version?this.isVersionSupported()||t.addFailure(this,l.ValidationEvent.UnsupportedCardVersion,m.Strings.errors.unsupportedCardVersion(this.version.toString(),this.maxVersion.toString())):t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,m.Strings.errors.propertyMustBeSet("version"))},t.prototype.render=function(t){var r,n=this;return this.shouldFallback()&&this._fallbackCard?(this._fallbackCard.hostConfig=this.hostConfig,r=this._fallbackCard.render()):(r=e.prototype.render.call(this))&&(r.classList.add(this.hostConfig.makeCssClassName("ac-adaptiveCard")),c.GlobalSettings.setTabIndexAtCardRoot&&(r.tabIndex=0),this.speak&&r.setAttribute("aria-label",this.speak),r.onmouseenter=function(e){n.updateInputsVisualState(!0)},r.onmouseleave=function(e){n.updateInputsVisualState(!1)},this.getRootElement().updateActionsEnabledState()),t&&(u.appendChild(t,r),this.updateLayout()),r},t.prototype.updateLayout=function(t){if(void 0===t&&(t=!0),e.prototype.updateLayout.call(this,t),c.GlobalSettings.useAdvancedCardBottomTruncation&&this.isDisplayed()){var r=this.hostConfig.getEffectiveSpacing(l.Spacing.Default);this.handleOverflow(this.renderedElement.offsetHeight-r)}},t.prototype.shouldFallback=function(){return e.prototype.shouldFallback.call(this)||!this.isVersionSupported()},Object.defineProperty(t.prototype,"hasVisibleSeparator",{get:function(){return!1},enumerable:!1,configurable:!0}),t.schemaUrl="http://adaptivecards.io/schemas/adaptive-card.json",t.$schemaProperty=new h.CustomProperty(h.Versions.v1_0,"$schema",(function(e,r,n,i){return t.schemaUrl}),(function(e,r,n,i,o){o.serializeValue(n,r.name,t.schemaUrl)})),t.versionProperty=new h.CustomProperty(h.Versions.v1_0,"version",(function(e,t,r,n){var i=h.Version.parse(r[t.name],n);return void 0===i&&(i=h.Versions.latest,n.logParseEvent(e,l.ValidationEvent.InvalidPropertyValue,m.Strings.errors.invalidCardVersion(i.toString()))),i}),(function(e,t,r,n,i){void 0!==n&&i.serializeValue(r,t.name,n.toString())}),h.Versions.v1_0),t.fallbackTextProperty=new h.StringProperty(h.Versions.v1_0,"fallbackText"),t.speakProperty=new h.StringProperty(h.Versions.v1_0,"speak"),t.refreshProperty=new h.SerializableObjectProperty(h.Versions.v1_4,"refresh",De,!0),t.authenticationProperty=new h.SerializableObjectProperty(h.Versions.v1_4,"authentication",Oe,!0),t._haveWarnedAboutNoMarkdownProcessing=!1,o([(0,h.property)(t.versionProperty)],t.prototype,"version",void 0),o([(0,h.property)(t.fallbackTextProperty)],t.prototype,"fallbackText",void 0),o([(0,h.property)(t.speakProperty)],t.prototype,"speak",void 0),o([(0,h.property)(t.refreshProperty)],t.prototype,"refresh",null),o([(0,h.property)(t.authenticationProperty)],t.prototype,"authentication",void 0),t}(Te);t.AdaptiveCard=ze;var Me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.suppressStyle=!1,t}return i(t,e),t.prototype.getSchemaKey=function(){return"InlineAdaptiveCard"},t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.remove(ze.$schemaProperty,ze.versionProperty)},t.prototype.getDefaultPadding=function(){return new c.PaddingDefinition(this.suppressStyle?l.Spacing.None:l.Spacing.Padding,l.Spacing.Padding,this.suppressStyle?l.Spacing.None:l.Spacing.Padding,l.Spacing.Padding)},Object.defineProperty(t.prototype,"bypassVersionCheck",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultStyle",{get:function(){return this.suppressStyle?l.ContainerStyle.Default:this.hostConfig.actions.showCard.style?this.hostConfig.actions.showCard.style:l.ContainerStyle.Emphasis},enumerable:!1,configurable:!0}),t.prototype.render=function(t){var r=e.prototype.render.call(this,t);return r&&(r.setAttribute("aria-live","polite"),r.removeAttribute("tabindex")),r},t}(ze),Fe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._forbiddenTypes=new Set,t}return i(t,e),t.prototype.internalParseCardObject=function(e,t,r,n,i,o){var a=this,s=void 0;if(t&&"object"==typeof t){var d=new Set;this._forbiddenTypes.forEach((function(e){d.add(e)})),r.forEach((function(e){a._forbiddenTypes.add(e)}));var p=u.parseString(t.type);if(p&&this._forbiddenTypes.has(p))o(p,l.TypeErrorType.ForbiddenType);else{var f=!1;if((s=i(p))?(s.setParent(e),s.parse(t,this),f=c.GlobalSettings.enableFallback&&n&&s.shouldFallback()):(f=c.GlobalSettings.enableFallback&&n,o(p,l.TypeErrorType.UnknownType)),f){var h=t.fallback;!h&&e&&e.setShouldFallback(!0),"string"==typeof h&&"drop"===h.toLowerCase()?s=void 0:"object"==typeof h&&(s=this.internalParseCardObject(e,h,r,!0,i,o))}}this._forbiddenTypes=d}return s},t.prototype.cardObjectParsed=function(e,t){e instanceof ne&&this.onParseAction?this.onParseAction(e,t,this):e instanceof w&&this.onParseElement&&this.onParseElement(e,t,this)},t.prototype.shouldSerialize=function(e){return e instanceof ne?void 0!==this.actionRegistry.findByName(e.getJsonTypeName()):!(e instanceof w)||void 0!==this.elementRegistry.findByName(e.getJsonTypeName())},t.prototype.parseCardObject=function(e,t,r,n,i,o){var a=new Set(r),s=this.internalParseCardObject(e,t,a,n,i,o);return void 0!==s&&this.cardObjectParsed(s,t),s},t.prototype.parseElement=function(e,t,r,n){var i=this;return this.parseCardObject(e,t,r,n,(function(e){return i.elementRegistry.createInstance(e,i.targetVersion)}),(function(e,t){t===l.TypeErrorType.UnknownType?i.logParseEvent(void 0,l.ValidationEvent.UnknownElementType,m.Strings.errors.unknownElementType(e)):i.logParseEvent(void 0,l.ValidationEvent.ElementTypeNotAllowed,m.Strings.errors.elementTypeNotAllowed(e))}))},t.prototype.parseAction=function(e,t,r,n){var i=this;return this.parseCardObject(e,t,r,n,(function(e){return i.actionRegistry.createInstance(e,i.targetVersion)}),(function(e,t){t===l.TypeErrorType.UnknownType?i.logParseEvent(void 0,l.ValidationEvent.UnknownActionType,m.Strings.errors.unknownActionType(e)):i.logParseEvent(void 0,l.ValidationEvent.ActionTypeNotAllowed,m.Strings.errors.actionTypeNotAllowed(e))}))},Object.defineProperty(t.prototype,"elementRegistry",{get:function(){var e;return null!==(e=this._elementRegistry)&&void 0!==e?e:g.GlobalRegistry.elements},enumerable:!1,configurable:!0}),t.prototype.setElementRegistry=function(e){this._elementRegistry=e},Object.defineProperty(t.prototype,"actionRegistry",{get:function(){var e;return null!==(e=this._actionRegistry)&&void 0!==e?e:g.GlobalRegistry.actions},enumerable:!1,configurable:!0}),t.prototype.setActionRegistry=function(e){this._actionRegistry=e},t}(h.BaseSerializationContext);t.SerializationContext=Fe,g.GlobalRegistry.defaultElements.register("Container",Ce),g.GlobalRegistry.defaultElements.register("TextBlock",A),g.GlobalRegistry.defaultElements.register("RichTextBlock",k,h.Versions.v1_2),g.GlobalRegistry.defaultElements.register("TextRun",x,h.Versions.v1_2),g.GlobalRegistry.defaultElements.register("Image",P),g.GlobalRegistry.defaultElements.register("ImageSet",D),g.GlobalRegistry.defaultElements.register("Media",$,h.Versions.v1_1),g.GlobalRegistry.defaultElements.register("FactSet",_),g.GlobalRegistry.defaultElements.register("ColumnSet",xe),g.GlobalRegistry.defaultElements.register("ActionSet",ve,h.Versions.v1_2),g.GlobalRegistry.defaultElements.register("Input.Text",G),g.GlobalRegistry.defaultElements.register("Input.Date",ee),g.GlobalRegistry.defaultElements.register("Input.Time",re),g.GlobalRegistry.defaultElements.register("Input.Number",Q),g.GlobalRegistry.defaultElements.register("Input.ChoiceSet",J),g.GlobalRegistry.defaultElements.register("Input.Toggle",K),g.GlobalRegistry.defaultActions.register(ce.JsonTypeName,ce),g.GlobalRegistry.defaultActions.register(oe.JsonTypeName,oe),g.GlobalRegistry.defaultActions.register(he.JsonTypeName,he),g.GlobalRegistry.defaultActions.register(ue.JsonTypeName,ue,h.Versions.v1_2),g.GlobalRegistry.defaultActions.register(se.JsonTypeName,se,h.Versions.v1_4)},5403:(e,t,r)=>{"use strict";r.d(t,{Fr:()=>o,U1:()=>i,oZ:()=>n});const n={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"},i={10:"#2b2b40",20:"#2f2f4a",30:"#333357",40:"#383966",50:"#3d3e78",60:"#444791",70:"#4f52b2",80:"#5b5fc7",90:"#7579eb",100:"#7f85f5",110:"#9299f7",120:"#aab1fa",130:"#b6bcfa",140:"#c5cbfa",150:"#dce0fa",160:"#e8ebfa"},o={10:"#29274f",20:"#2f2a5e",30:"#352e70",40:"#3b3185",50:"#44359e",60:"#4d3aba",70:"#5a40db",80:"#654cf5",90:"#7769fa",100:"#887dff",110:"#9791ff",120:"#aba8ff",130:"#bab8ff",140:"#c8c7ff",150:"#dcdbff",160:"#e8e8ff"}},5454:(e,t,r)=>{"use strict";r.d(t,{J$:()=>f,KU:()=>p,OR:()=>d,QV:()=>s,Wy:()=>c,_1:()=>i,bA:()=>o,hW:()=>n,s6:()=>l,vR:()=>a,zi:()=>u});var n="function",i="object",o="undefined",a="prototype",s="hasOwnProperty",l=Object,c=l[a],u=l.assign,d=l.create,p=l.defineProperty,f=c[s]},5484:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});const n={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"}},5501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e)}},5516:e=>{"use strict";e.exports=function(e){var t=e[1],r=e[3];if(!r)return t;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),o="/*# ".concat(i," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},5549:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=Function.prototype.toString;const i=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},5561:(e,t,r)=>{"use strict";r.d(t,{h:()=>h});var n=r(8207),i=r(5239),o=r(9577),a=r(7938),s=r(2413),l=r(1279),c=2e6,u=Math.min(c,65e3),d="metadata",p="f",f=/\./,h=function(){function e(t,r,d,p){var h="data",m="baseData",v=!!p,y=!0,b=r,w={};(0,n.A)(e,this,(function(e){function r(e,t,n,a,s,l,c){(0,i.z)(e,(function(e,u){var p=null;if(u||(0,o.yD)(u)){var h=n,g=e,m=s,y=t;if(v&&!a&&f.test(e)){var S=e.split("."),C=S.length;if(C>1){m&&(m=m.slice());for(var A=0;A<C-1;A++){var x=S[A];y=y[x]=y[x]||{},h+="."+x,m&&m.push(x)}g=S[C-1]}}var k=a&&function(e){var t=w[e];return void 0===t&&(e.length>=7&&(t=(0,i.tG)(e,"ext.metadata")||(0,i.tG)(e,"ext.web")),w[e]=t),t}(h);if(p=!k&&b&&b.handleField(h,g)?b.value(h,g,u,d):(0,o.TC)(g,u,d)){var E=p.value;if(y[g]=E,l&&l(m,g,p),c&&"object"==typeof E&&!(0,i.cy)(E)){var _=m;_&&(_=_.slice()).push(g),r(u,E,h+"."+g,a,_,l,c)}}}}))}e.createPayload=function(e,t,r,n,i,o){return{apiKeys:[],payloadBlob:l.m5,overflow:null,sizeExceed:[],failedEvts:[],batches:[],numEvents:0,retryCnt:e,isTeardown:t,isSync:r,isBeacon:n,sendType:o,sendReason:i}},e.appendPayload=function(r,n,o){var l=r&&n&&!r.overflow;return l&&(0,a.r2)(t,(function(){return"Serializer:appendPayload"}),(function(){for(var t=n.events(),a=r.payloadBlob,l=r.numEvents,d=!1,p=[],f=[],h=r.isBeacon,g=h?65e3:3984588,m=h?u:c,v=0,y=0;v<t.length;){var b=t[v];if(b){if(l>=o){r.overflow=n.split(v);break}var w=e.getEventBlob(b);if(w&&w.length<=m){var S=w.length;if(a.length+S>g){r.overflow=n.split(v);break}a&&(a+="\n"),a+=w,++y>20&&(a.substr(0,1),y=0),d=!0,l++}else w?p.push(b):f.push(b),t.splice(v,1),v--}v++}if(p&&p.length>0&&r.sizeExceed.push(s.n.create(n.iKey(),p)),f&&f.length>0&&r.failedEvts.push(s.n.create(n.iKey(),f)),d){r.batches.push(n),r.payloadBlob=a,r.numEvents=l;var C=n.iKey();-1===(0,i.rD)(r.apiKeys,C)&&r.apiKeys.push(C)}}),(function(){return{payload:r,theBatch:{iKey:n.iKey(),evts:n.events()},max:o}})),l},e.getEventBlob=function(e){try{return(0,a.r2)(t,(function(){return"Serializer.getEventBlob"}),(function(){var t={};t.name=e.name,t.time=e.time,t.ver=e.ver,t.iKey="o:"+(0,o.EO)(e.iKey);var n={},a=e.ext;a&&(t.ext=n,(0,i.z)(a,(function(e,t){r(t,n[e]={},"ext."+e,!0,null,null,!0)})));var s=t[h]={};s.baseType=e.baseType;var l=s[m]={};return r(e.baseData,l,m,!1,[m],(function(e,t,r){g(n,e,t,r)}),y),r(e.data,s,h,!1,[],(function(e,t,r){g(n,e,t,r)}),y),JSON.stringify(t)}),(function(){return{item:e}}))}catch(e){return null}}}))}return e.__ieDyn=1,e}();function g(e,t,r,n){if(n&&e){var a=(0,o.Go)(n.value,n.kind,n.propertyType);if(a>-1){var s=e[d];s||(s=e[d]={f:{}});var l=s[p];if(l||(l=s[p]={}),t)for(var c=0;c<t.length;c++){var u=t[c];l[u]||(l[u]={f:{}});var f=l[u][p];f||(f=l[u][p]={}),l=f}l=l[r]={},(0,i.cy)(n.value)?l.a={t:a}:l.t=a}}}},5564:(e,t,r)=>{"use strict";r.d(t,{vV:()=>a,wC:()=>o});var n,i=(n=[],{fireEvent:function(e){n.forEach((function(t){return t(e)}))},addListener:function(e){e&&n.push(e)}});function o(e,t,r){i.fireEvent({level:e,category:t,message:r})}function a(e,t,r){o(0,e,(function(){var e=r instanceof Error?r.message:"";return"".concat(t,": ").concat(e)}))}},5605:(e,t,r)=>{"use strict";r.d(t,{hq:()=>M,Ht:()=>N});var n=r(5075),i=r(2583),o=r(3390),a=r(2637),s=r(8208),l=r(2290),c=r(7714);class u extends i.bU{}class d{static createInstance(e){const t=d._entries.get(e);return t?new t:void 0}static registerEntityType(e){d._entries.set(e.jsonTypeName,e)}static unregisterEntityType(e){const t="string"==typeof e?e:e.jsonTypeName;d._entries.delete(t)}static getDescriptors(){const e=[];for(const t of d._entries.values())e.push(new i.E$(new t));return e}}d._entries=new Map;class p extends i.jB{get id(){return this.getValue(p.idProperty)}set id(e){this.setValue(p.idProperty,e)}get name(){return this.getValue(p.nameProperty)}set name(e){this.setValue(p.nameProperty,e)}get mentionType(){return this.getValue(p.mentionTypeProperty)}set mentionType(e){this.setValue(p.mentionTypeProperty,e)}getSchemaKey(){return"MentionedEntity"}}p.idProperty=new i.XB(i.uq.v1_0,"id"),p.nameProperty=new i.XB(i.uq.v1_0,"name").setContentType("text"),p.mentionTypeProperty=new i.fX(i.uq.v1_0,"mentionType",c.h4,c.h4.Person);class f extends u{get text(){return this.getValue(f.textProperty)}set text(e){this.setValue(f.textProperty,e)}get mentioned(){return this.getValue(f.mentionedProperty)}set mentioned(e){this.setValue(f.mentionedProperty,e)}getJsonTypeName(){return f.jsonTypeName}}f.jsonTypeName="mention",f.textProperty=new i.XB(i.uq.v1_0,"text"),f.mentionedProperty=new i.kR(i.uq.v1_0,"mentioned",(e=>new p));class h extends i.m2{constructor(e,t){super(e,t,(e=>{if(e){const t=e.type;if("string"==typeof t)return t?d.createInstance(t):void 0}})),this.targetVersion=e,this.name=t}getDescriptor(e){return{valueTypes:[{type:"object",validValues:d.getDescriptors().sort(((e,t)=>e.name.localeCompare(t.name)))}],propertyType:"array"}}}class g extends i.jB{get width(){return this.getValue(g.widthProperty)}set width(e){this.setValue(g.widthProperty,e)}get entities(){return this.getValue(g.entitiesProperty)}getSchemaKey(){return"TeamsCardProperties"}afterParse(){this._mappedEntities=void 0}propertyChanged(e,t,r){e===g.entitiesProperty&&(this._mappedEntities=void 0)}getEntitiesOfType(e){if(this._mappedEntities||(this._mappedEntities=new Map),this._mappedEntities.has(e))return this._mappedEntities.get(e);const t=this.entities.filter((t=>t instanceof e));return this._mappedEntities.set(e,t),t}}g.widthProperty=new i.XY(i.uq.v1_0,"width",[{value:"full"}]).setTypeName("TeamsCardWidth"),g.entitiesProperty=new h(i.uq.v1_0,"entities"),d.registerEntityType(f);class m extends i.BG{getDescriptor(e){return{valueTypes:[{type:"string"}],defaultValue:this.defaultValue,propertyType:"dictionary",contentType:this.contentType}}}class v extends i.jB{getSchemaKey(){return"StringResource"}get defaultValue(){return this.getValue(v.defaultValue)}set defaultValue(e){this.setValue(v.defaultValue,e)}get localizedValues(){return this.getValue(v.localizedValues)}set localizedValues(e){this.setValue(v.localizedValues,e)}getLocalizedValue(e){var t;let r;if(e){const t=/^[a-z]{2}(-[a-z]{2})?$/i.test(e)?e.toLowerCase():void 0;if(this.localizedValues&&t&&(r=Object.keys(this.localizedValues).find((e=>e.toLowerCase()===t)),void 0===r)){const e=t.substring(0,2);for(const t in this.localizedValues)t.substring(0,2).toLowerCase()===e&&(void 0===r||t.localeCompare(r,void 0,{sensitivity:"base"})<0)&&(r=t)}}return r?null===(t=this.localizedValues)||void 0===t?void 0:t[r]:this.defaultValue}}v.defaultValue=new i.XB(i.uq.v1_5,"defaultValue").setShouldApplyResources(!1),v.localizedValues=new m(i.uq.v1_5,"localizedValues");class y extends i.BG{parse(e,t,r){const n=t[this.name],i={};for(const e in n){const t=new v;t.parse(n[e],r),i[e]=t}return i}getDescriptor(e){return{valueTypes:[{type:"object",validValues:[new i.E$(new v)]}],defaultValue:this.defaultValue,propertyType:"dictionary",contentType:this.contentType}}}class b extends i.jB{getSchemaKey(){return"Resources"}get strings(){return this.getValue(b.stringsProperty)}set strings(e){this.setValue(b.stringsProperty,e)}}b.stringsProperty=new y(i.uq.v1_5,"strings");var w,S=r(7035),C=r(5042);!function(e){e[e.msWord=0]="msWord",e[e.msExcel=1]="msExcel",e[e.msPowerPoint=2]="msPowerPoint",e[e.msOneNote=3]="msOneNote",e[e.msSharePoint=4]="msSharePoint",e[e.msVisio=5]="msVisio",e[e.msLoop=6]="msLoop",e[e.msWhiteboard=7]="msWhiteboard",e[e.code=8]="code",e[e.sketch=9]="sketch",e[e.adobeIllustrator=10]="adobeIllustrator",e[e.adobePhotoshop=11]="adobePhotoshop",e[e.adobeInDesign=12]="adobeInDesign",e[e.adobeFlash=13]="adobeFlash",e[e.image=14]="image",e[e.gif=15]="gif",e[e.video=16]="video",e[e.sound=17]="sound",e[e.zip=18]="zip",e[e.text=19]="text",e[e.pdf=20]="pdf"}(w||(w={})),(0,C.FM)(w,"FileIconType");class A extends i.bU{get title(){return this.getValue(A.titleProperty)}set title(e){this.setValue(A.titleProperty,e)}get icon(){return this.getValue(A.iconProperty)}set icon(e){this.setValue(A.iconProperty,e)}get url(){return this.getValue(A.urlProperty)}set url(e){this.setValue(A.urlProperty,e)}get keywords(){return this.getValue(A.keywordsProperty)}set keywords(e){this.setValue(A.keywordsProperty,e)}}A.titleProperty=new i.XB(i.uq.v1_5,"title").setContentType("text"),A.iconProperty=new i.fX(i.uq.v1_5,"icon",w),A.urlProperty=new i.XB(i.uq.v1_5,"url").setContentType("link"),A.keywordsProperty=new i.g7(i.uq.v1_5,"keywords");class x{static createInstance(e){const t=x._entries.get(e);return t?new t:void 0}static registerReferenceType(e){x._entries.set(e.jsonTypeName,e)}static unregisterReferenceType(e){const t="string"==typeof e?e:e.jsonTypeName;x._entries.delete(t)}static getDescriptors(){const e=[];for(const t of x._entries.values())e.push(new i.E$(new t));return e}}x._entries=new Map;class k extends i.m2{constructor(e,t){super(e,t,(e=>{if(e){const t=e.type;if("string"==typeof t)return t?x.createInstance(t):void 0}})),this.targetVersion=e,this.name=t}getDescriptor(e){return{valueTypes:[{type:"object",validValues:x.getDescriptors().sort(((e,t)=>e.name.localeCompare(t.name)))}],propertyType:"array"}}}var E=r(2770),_=r(7810);class I extends E.mc{internalParse(e,t){super.internalParse(e,t),this.parseActions(e,t)}parseActions(e,t){this._actionCollection.parse(e.actions,t)}internalToJSON(e,t){super.internalToJSON(e,t),this._actionCollection.toJSON(e,"actions",t)}internalRenderActions(e=!1){const t=this._actionCollection.render(this.hostConfig.actions.actionsOrientation);return t?_.createElement(_.Fragment,null,e&&(0,s.JM)(this.hostConfig,{spacing:this.hostConfig.getEffectiveSpacing(this.hostConfig.actions.spacing)},o.t4.Horizontal,{padding:{},margin:{}}),t):null}getHasExpandedAction(){return 0!==this.renderedActionCount&&(1===this.renderedActionCount?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction)}populateSchema(e){super.populateSchema(e),e.remove(E.mc.maxHeightProperty)}get renderedActionCount(){return this._actionCollection.renderedActionCount}constructor(){super(),this._actionCollection=new S.L(this),this._actionCollection.onShouldDisplayBuiltInOverflowActionButton=e=>this.shouldDisplayBuiltInOverflowActionButton(e),this._actionCollection.onShouldDisplayBuiltInOverflowActionMenu=e=>this.shouldDisplayBuiltInOverflowActionMenu(e),this._actionCollection.onDisplayOverflowActionMenu=(e,t)=>{this.displayOverflowActionMenu(e,t)}}releaseDOMResources(){super.releaseDOMResources(),this._actionCollection.releaseDOMResources()}getActionCount(){return this._actionCollection.getActionCount()}getActionAt(e){return e>=0&&e<this.getActionCount()?this._actionCollection.getActionAt(e):super.getActionAt(e)}getActionById(e){return this._actionCollection.getActionById(e)||super.getActionById(e)}internalValidateProperties(e){super.internalValidateProperties(e),this._actionCollection&&this._actionCollection.validateProperties(e)}isLastElement(e){return super.isLastElement(e)&&0===this._actionCollection.getActionCount()||e.parent===this&&e.isExpandableInlineElement}addAction(e){this._actionCollection.addAction(e)}clear(){super.clear(),this._actionCollection.clear()}getAllInputs(e=!0){const t=super.getAllInputs(e);return e&&t.push(...this._actionCollection.getAllInputs(e)),t}getResourceInformation(){const e=super.getResourceInformation();return e.push(...this._actionCollection.getResourceInformation()),e}isBleedingAtBottom(){return 0===this._actionCollection.renderedActionCount?super.isBleedingAtBottom():1===this._actionCollection.getActionCount()?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction}getElementById(e){let t=super.getElementById(e);return t||(t=this._actionCollection.getElementById(e)),t}isResponsive(){let e=super.isResponsive();return e||(e=this._actionCollection.hasResponsiveElements()),e}getAdditionalValidSchemaProperties(){return[...super.getAdditionalValidSchemaProperties(),"actions"]}get isStandalone(){return!1}}class P extends i.BG{parse(e,t,r){const i=r.parseAction(e.parent,t[this.name],[],!1);if(void 0!==i){if(i instanceof n.e)return i;r.logParseEvent(e,o.iV.ActionTypeNotAllowed,a.D.errors.actionTypeNotAllowed(i.getJsonTypeName()))}r.logParseEvent(e,o.iV.PropertyCantBeNull,a.D.errors.propertyMustBeSet("action"))}toJSON(e,t,r,n){n.serializeValue(t,this.name,r?r.toJSON(n):void 0,void 0,!0)}getDescriptor(e){return{valueTypes:[{type:"object",validValues:[new i.E$(new n.e)]}]}}constructor(e,t){super(e,t,void 0),this.targetVersion=e,this.name=t}}class T extends i.jB{get action(){return this.getValue(T.actionProperty)}set action(e){this.setValue(T.actionProperty,e),e&&e.setParent(this.parent)}get userIds(){return this.getValue(T.userIdsProperty)}set userIds(e){this.setValue(T.userIdsProperty,e)}getSchemaKey(){return"RefreshDefinition"}}T.actionProperty=new P(i.uq.v1_4,"action"),T.userIdsProperty=new i.g7(i.uq.v1_4,"userIds");class B extends i.jB{getSchemaKey(){return"AuthCardButton"}get type(){return this.getValue(B.typeProperty)}set type(e){this.setValue(B.typeProperty,e)}get title(){return this.getValue(B.titleProperty)}set title(e){this.setValue(B.titleProperty,e)}get image(){return this.getValue(B.imageProperty)}set image(e){this.setValue(B.imageProperty,e)}get value(){return this.getValue(B.valueProperty)}set value(e){this.setValue(B.valueProperty,e)}}B.typeProperty=new i.XB(i.uq.v1_4,"type"),B.titleProperty=new i.XB(i.uq.v1_4,"title").setContentType("text"),B.imageProperty=new i.XB(i.uq.v1_4,"image"),B.valueProperty=new i.XB(i.uq.v1_4,"value");class D extends i.jB{getSchemaKey(){return"TokenExchangeResource"}get id(){return this.getValue(D.idProperty)}set id(e){this.setValue(D.idProperty,e)}get uri(){return this.getValue(D.uriProperty)}set uri(e){this.setValue(D.uriProperty,e)}get providerId(){return this.getValue(D.providerIdProperty)}set providerId(e){this.setValue(D.providerIdProperty,e)}}D.idProperty=new i.XB(i.uq.v1_4,"id"),D.uriProperty=new i.XB(i.uq.v1_4,"uri"),D.providerIdProperty=new i.XB(i.uq.v1_4,"providerId");class N extends i.jB{getSchemaKey(){return"Authentication"}get text(){return this.getValue(N.textProperty)}set text(e){this.setValue(N.textProperty,e)}get connectionName(){return this.getValue(N.connectionNameProperty)}set connectionName(e){this.setValue(N.connectionNameProperty,e)}get buttons(){return this.getValue(N.buttonsProperty)}set buttons(e){this.setValue(N.buttonsProperty,e)}get tokenExchangeResource(){return this.getValue(N.tokenExchangeResourceProperty)}set tokenExchangeResource(e){this.setValue(N.tokenExchangeResourceProperty,e)}}N.textProperty=new i.XB(i.uq.v1_4,"text").setContentType("text"),N.connectionNameProperty=new i.XB(i.uq.v1_4,"connectionName"),N.buttonsProperty=new i.m2(i.uq.v1_4,"buttons",(e=>new B)),N.tokenExchangeResourceProperty=new i.kR(i.uq.v1_4,"tokenExchangeResource",(e=>new D),!0);class R extends i.BG{parse(e,t,r){let n=i.Rx.parse(t[this.name],r);return void 0===n&&(n=i.uq.latest,r.logParseEvent(e,o.iV.InvalidPropertyValue,a.D.errors.invalidCardVersion(n.toString()))),n}toJSON(e,t,r,n){void 0!==r&&n.serializeValue(t,this.name,r.toString())}constructor(e,t){super(e,t,i.uq.v1_0),this.targetVersion=e,this.name=t}getDescriptor(e){return{valueTypes:[{type:"string",validValues:i.uq.getAllDeclaredVersions().map((e=>e.toString()))}],defaultValue:this.defaultValue.toString(),suggestedSchemaTypeName:"Version"}}}class O extends i.Zn{getDescriptor(e){return{valueTypes:[{type:"string"}]}}}class z extends i.jB{getSchemaKey(){return"CardMetadata"}}z.webUrlProperty=new i.XB(i.uq.v1_4,"webUrl").setContentType("link");class M extends I{constructor(){super(...arguments),this._inputIdToLabelElementMap=new Map,this._inputIdToInputElementMap=new Map,this.isFocusable=!0}populateSchema(e){super.populateSchema(e),e.remove(E.XP.bleedProperty),e.remove(E.XP.showBorderProperty),e.remove(E.XP.roundedCornersProperty),e.remove(s.hA.heightProperty),e.remove(s.hA.horizontalAlignmentProperty),e.remove(s.hA.separatorProperty),e.remove(s.hA.spacingProperty),e.remove(s.hA.targetWidthProperty),e.remove(s.hA.targetWidthProperty),e.remove(s.hA.isVisibleProperty),e.remove(s.hA.isVisibleDynamicProperty)}get version(){return this.getValue(M.versionProperty)}set version(e){this.setValue(M.versionProperty,e)}get fallbackText(){return this.getValue(M.fallbackTextProperty)}set fallbackText(e){this.setValue(M.fallbackTextProperty,e)}get speak(){return this.getValue(M.speakProperty)}set speak(e){this.setValue(M.speakProperty,e)}get refresh(){return this.getValue(M.refreshProperty)}set refresh(e){this.setValue(M.refreshProperty,e),e&&(e.parent=this)}get authentication(){return this.getValue(M.authenticationProperty)}set authentication(e){this.setValue(M.authenticationProperty,e)}get msTeams(){return this.getValue(M.msTeamsProperty)}set msTeams(e){this.setValue(M.msTeamsProperty,e)}get resources(){return this.getValue(M.resourcesProperty)}set resources(e){this.setValue(M.resourcesProperty,e)}get references(){return this.getValue(M.referencesProperty)}set references(e){this.setValue(M.referencesProperty,e)}isVersionSupported(){return!!this.bypassVersionCheck||!(!this.version||!this.version.isValid||this.maxVersion.major<this.version.major||this.maxVersion.major===this.version.major&&this.maxVersion.minor<this.version.minor)}getRootCard(){if(!this.parent)return this;const e=this.getRootObject();return e instanceof M?e:this}shouldDisplayBuiltInOverflowActionButton(e){var t;const r=null!==(t=this.getRootCard().onShouldDisplayBuiltInOverflowActionButton)&&void 0!==t?t:M.onShouldDisplayBuiltInOverflowActionButton;return void 0===r||r(e.getActions(),e.isAtRootLevel)}shouldDisplayBuiltInOverflowActionMenu(e){var t;const r=null!==(t=this.getRootCard().onShouldDisplayBuiltInOverflowActionMenu)&&void 0!==t?t:M.onShouldDisplayBuiltInOverflowActionMenu;return void 0===r||r(e.isAtRootLevel)}displayOverflowActionMenu(e,t){var r;const n=null!==(r=this.getRootCard().onDisplayOverflowActionMenu)&&void 0!==r?r:M.onDisplayOverflowActionMenu;void 0!==n&&n(e.getActions(),t)}actionExecuted(e){var t;const r=null!==(t=this.getRootCard().onExecuteAction)&&void 0!==t?t:M.onExecuteAction;r&&r(e)}elementVisibilityChanged(e){var t;const r=null!==(t=this.getRootCard().onElementVisibilityChanged)&&void 0!==t?t:M.onElementVisibilityChanged;r&&r(e)}internalRender(e){return this.shouldFallback()&&this._fallbackCard?(this._fallbackCard.hostConfig=this.hostConfig,this._fallbackCard.render()):super.internalRender()}customizeProps(e){super.customizeProps(e),(0,l.iQ)(e,this.hostConfig.makeCssClassName("ac-adaptiveCard")),this.isFocusable&&(e.tabIndex=0),this.speak&&(e["aria-label"]=this.speak)}getDefaultSerializationContext(){return new s.Au(this.version)}getItemsCollectionPropertyName(){return"body"}internalParse(e,t){this._fallbackCard=void 0;const r=t.parseElement(void 0,e.fallback,this.forbiddenChildElements(),!this.isDesignMode());r&&(this._fallbackCard=new M,this._fallbackCard.addItem(r)),super.internalParse(e,t)}internalToJSON(e,t){this.setValue(M.versionProperty,t.targetVersion),super.internalToJSON(e,t)}getHasBackground(e=!1){return!0}getHasBorder(){return!1}getHasRoundedCorners(){return!1}getDefaultPadding(){return new c.pT(o.Kz.Padding,o.Kz.Padding,o.Kz.Padding,o.Kz.Padding)}shouldSerialize(e){return!0}mounted(){super.mounted(),this.parent||this.processApplicableProperties()}get renderIfEmpty(){return!0}get bypassVersionCheck(){return!1}get allowCustomStyle(){return this.hostConfig.adaptiveCard&&this.hostConfig.adaptiveCard.allowCustomStyle}get hasBackground(){return!0}get isResizeTracked(){return this.enableAutomaticReflow&&this.isResponsive()}processMarkdown(e){var t,r;if(this.parent)return this.parent.processMarkdown(e);if(this.markdownProcessor){const r=Object.assign(Object.assign({},e),{mentions:null===(t=this.msTeams)||void 0===t?void 0:t.getEntitiesOfType(f),references:this.references});return{didProcess:!0,output:this.markdownProcessor.processMarkdown(r)}}const n={didProcess:!1},i=null!==(r=this.onProcessMarkdown)&&void 0!==r?r:M.onProcessMarkdown;return i&&i(e.text,e.properties,n),n}getJsonTypeName(){return"AdaptiveCard"}getAdditionalPropertyDescriptors(e){return[...super.getAdditionalPropertyDescriptors(e),S.L.getActionsPropertyDescriptor(e,this.getJsonTypeName())]}getResourceStrings(){var e;return this.parent?this.parent.getResourceStrings():null===(e=this.resources)||void 0===e?void 0:e.strings}internalValidateProperties(e){super.internalValidateProperties(e),"AdaptiveCard"!==this.getValue(s.hA.typeNameProperty)&&e.addFailure(this,o.iV.MissingCardType,a.D.errors.invalidCardType()),this.bypassVersionCheck||this.version?this.isVersionSupported()||e.addFailure(this,o.iV.UnsupportedCardVersion,a.D.errors.unsupportedCardVersion(this.version.toString(),this.maxVersion.toString())):e.addFailure(this,o.iV.PropertyCantBeNull,a.D.errors.propertyMustBeSet("version")),this.speak||e.addFailure(this,o.iV.PropertyShouldBeSet,a.D.errors.speakPropertyShouldBeSet())}shouldFallback(){return super.shouldFallback()||!this.isVersionSupported()}renderImage(e,t){var r;if(this.parent)return this.parent.renderImage(e,t);const n=null!==(r=this.onRenderImage)&&void 0!==r?r:M.onRenderImage;return n?n(e,t):super.renderImage(e,t)}renderAnchor(e,t){var r;if(this.parent)return this.parent.renderAnchor(e,t);const n=null!==(r=this.onRenderAnchor)&&void 0!==r?r:M.onRenderAnchor;return n?n(e,t):super.renderAnchor(e,t)}formatDate(e){var t;if(this.parent)return this.parent.formatDate(e);const r=null!==(t=this.onFormatDate)&&void 0!==t?t:M.onFormatDate;return r?r(e):super.formatDate(e)}processImageUrlAsync(e){var t;if(this.parent)return this.parent.processImageUrlAsync(e);const r=null!==(t=this.onProcessImageUrlAsync)&&void 0!==t?t:M.onProcessImageUrlAsync;return r?r(e):super.processImageUrlAsync(e)}processImageUrl(e){var t;if(this.parent)return this.parent.processImageUrl(e);const r=null!==(t=this.onProcessImageUrl)&&void 0!==t?t:M.onProcessImageUrl;return r?r(e):super.processImageUrl(e)}dataQuery(e){var t;if(this.parent)return this.parent.dataQuery(e);const r=null!==(t=this.onDataQuery)&&void 0!==t?t:M.onDataQuery;return r?r(e):super.dataQuery(e)}setLabelElementForInputId(e,t){this.parent?super.setLabelElementForInputId(e,t):this._inputIdToLabelElementMap.set(e,t)}getLabelElementForInputId(e){return this.parent?super.getLabelElementForInputId(e):this._inputIdToLabelElementMap.get(e)}removeLabelElementForInputId(e){this.parent?super.removeLabelElementForInputId(e):this._inputIdToLabelElementMap.delete(e)}inputHasExternalLabel(e){return this.parent?super.inputHasExternalLabel(e):this._inputIdToLabelElementMap.has(e)}registerInput(e){this.parent?super.registerInput(e):e.id&&this._inputIdToInputElementMap.set(e.id,e)}getInput(e){return this.parent?super.getInput(e):this._inputIdToInputElementMap.get(e)}unregisterInput(e){this.parent?super.unregisterInput(e):this._inputIdToInputElementMap.delete(e)}get isInSubCard(){return!!this.parent}get hasVisibleSeparator(){return!1}}M.schemaUrl="https://adaptivecards.io/schemas/adaptive-card.json",M.$schemaProperty=new O(i.uq.v1_0,"$schema",((e,t,r,n)=>M.schemaUrl),((e,t,r,n,i)=>{i.serializeValue(r,t.name,M.schemaUrl)})),M.versionProperty=new R(i.uq.v1_0,"version"),M.fallbackTextProperty=new i.XB(i.uq.v1_0,"fallbackText").setContentType("text"),M.speakProperty=new i.XB(i.uq.v1_0,"speak").setContentType("text"),M.refreshProperty=new i.kR(i.uq.v1_4,"refresh",(e=>new T),!0),M.authenticationProperty=new i.kR(i.uq.v1_4,"authentication",(e=>new N),!0),M.msTeamsProperty=new i.kR(i.uq.v1_0,"msTeams",(e=>new g)).setAlternateDefinition(new i.kR(i.uq.v1_0,"msteams",(e=>new g))),M.metadataProperty=new i.kR(i.uq.v1_4,"metadata",(e=>new z)),M.resourcesProperty=new i.kR(i.uq.v1_5,"resources",(e=>new b)).setHighPriority(!0).setPreserveAdditionalProperties(!0),M.referencesProperty=new k(i.uq.v1_5,"references")},5677:(e,t,r)=>{"use strict";
/** @license React v17.0.2
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=r(5946),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;i=d("react.element"),o=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),a=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function m(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||h}function v(){}function y(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||h}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=m.prototype;var b=y.prototype=new v;b.constructor=y,n(b,m.prototype),b.isPureReactComponent=!0;var w={current:null},S=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function A(e,t,r){var n,o={},a=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,n)&&!C.hasOwnProperty(n)&&(o[n]=t[n]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(n in l=e.defaultProps)void 0===o[n]&&(o[n]=l[n]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var k=/\/+/g;function E(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function _(e,t,r,n,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case i:case o:l=!0}}if(l)return a=a(l=e),e=""===n?"."+E(l,0):n,Array.isArray(a)?(r="",null!=e&&(r=e.replace(k,"$&/")+"/"),_(a,t,r,"",(function(e){return e}))):null!=a&&(x(a)&&(a=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,r+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+e)),t.push(a)),1;if(l=0,n=""===n?".":n+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=n+E(s=e[c],c);l+=_(s,t,r,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=_(s=s.value,t,r,u=n+E(s,c++),a);else if("object"===s)throw t=""+e,Error(f(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function I(e,t,r){if(null==e)return e;var n=[],i=0;return _(e,n,"","",(function(e){return t.call(r,e,i++)})),n}function P(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var T={current:null};function B(){var e=T.current;if(null===e)throw Error(f(321));return e}var D={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:I,forEach:function(e,t,r){I(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return I(e,(function(){t++})),t},toArray:function(e){return I(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error(f(143));return e}},t.Component=m,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=function(e,t,r){if(null==e)throw Error(f(267,e));var o=n({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)S.call(t,u)&&!C.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=A,t.createFactory=function(e){var t=A.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return B().useCallback(e,t)},t.useContext=function(e,t){return B().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return B().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return B().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return B().useLayoutEffect(e,t)},t.useMemo=function(e,t){return B().useMemo(e,t)},t.useReducer=function(e,t,r){return B().useReducer(e,t,r)},t.useRef=function(e){return B().useRef(e)},t.useState=function(e){return B().useState(e)},t.version="17.0.2"},5705:e=>{"use strict";e.exports=function(e,t,r,n,i,o,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,i,o,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},5724:e=>{function t(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((r=>{const n=e[r],i=typeof n;"object"!==i&&"function"!==i||Object.isFrozen(n)||t(n)})),e}class r{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function i(e,...t){const r=Object.create(null);for(const t in e)r[t]=e[t];return t.forEach((function(e){for(const t in e)r[t]=e[t]})),r}const o=e=>!!e.scope;class a{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=n(e)}openNode(e){if(!o(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const r=e.split(".");return[`${t}${r.shift()}`,...r.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){o(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const s=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class l{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=s({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{l._collapse(e)})))}}class c extends l{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const r=e.root;t&&(r.scope=`language:${t}`),this.add(r)}toHTML(){return new a(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function u(e){return e?"string"==typeof e?e:e.source:null}function d(e){return h("(?=",e,")")}function p(e){return h("(?:",e,")*")}function f(e){return h("(?:",e,")?")}function h(...e){return e.map((e=>u(e))).join("")}function g(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>u(e))).join("|")+")"}function m(e){return new RegExp(e.toString()+"|").exec("").length-1}const v=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function y(e,{joinWith:t}){let r=0;return e.map((e=>{r+=1;const t=r;let n=u(e),i="";for(;n.length>0;){const e=v.exec(n);if(!e){i+=n;break}i+=n.substring(0,e.index),n=n.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&r++)}return i})).map((e=>`(${e})`)).join(t)}const b="[a-zA-Z]\\w*",w="[a-zA-Z_]\\w*",S="\\b\\d+(\\.\\d+)?",C="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",A="\\b(0b[01]+)",x={begin:"\\\\[\\s\\S]",relevance:0},k={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[x]},E={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[x]},_=function(e,t,r={}){const n=i({scope:"comment",begin:e,end:t,contains:[]},r);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=g("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:h(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},I=_("//","$"),P=_("/\\*","\\*/"),T=_("#","$"),B={scope:"number",begin:S,relevance:0},D={scope:"number",begin:C,relevance:0},N={scope:"number",begin:A,relevance:0},R={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[x,{begin:/\[/,end:/\]/,relevance:0,contains:[x]}]},O={scope:"title",begin:b,relevance:0},z={scope:"title",begin:w,relevance:0},M={begin:"\\.\\s*"+w,relevance:0};var F=Object.freeze({__proto__:null,APOS_STRING_MODE:k,BACKSLASH_ESCAPE:x,BINARY_NUMBER_MODE:N,BINARY_NUMBER_RE:A,COMMENT:_,C_BLOCK_COMMENT_MODE:P,C_LINE_COMMENT_MODE:I,C_NUMBER_MODE:D,C_NUMBER_RE:C,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:T,IDENT_RE:b,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:M,NUMBER_MODE:B,NUMBER_RE:S,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:E,REGEXP_MODE:R,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=h(t,/.*\b/,e.binary,/\b.*/)),i({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:O,UNDERSCORE_IDENT_RE:w,UNDERSCORE_TITLE_MODE:z});function L(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function j(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function V(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=L,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function H(e,t){Array.isArray(e.illegal)&&(e.illegal=g(...e.illegal))}function q(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function U(e,t){void 0===e.relevance&&(e.relevance=1)}const $=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=r.keywords,e.begin=h(r.beforeMatch,d(r.begin)),e.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},e.relevance=0,delete r.beforeMatch},W=["of","and","for","in","not","or","if","then","parent","list","value"];function G(e,t,r="keyword"){const n=Object.create(null);return"string"==typeof e?i(r,e.split(" ")):Array.isArray(e)?i(r,e):Object.keys(e).forEach((function(r){Object.assign(n,G(e[r],t,r))})),n;function i(e,r){t&&(r=r.map((e=>e.toLowerCase()))),r.forEach((function(t){const r=t.split("|");n[r[0]]=[e,K(r[0],r[1])]}))}}function K(e,t){return t?Number(t):function(e){return W.includes(e.toLowerCase())}(e)?0:1}const X={},Y=e=>{console.error(e)},J=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Z=(e,t)=>{X[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),X[`${e}/${t}`]=!0)},Q=new Error;function ee(e,t,{key:r}){let n=0;const i=e[r],o={},a={};for(let e=1;e<=t.length;e++)a[e+n]=i[e],o[e+n]=!0,n+=m(t[e-1]);e[r]=a,e[r]._emit=o,e[r]._multi=!0}function te(e){!function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Y("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Q;if("object"!=typeof e.beginScope||null===e.beginScope)throw Y("beginScope must be object"),Q;ee(e,e.begin,{key:"beginScope"}),e.begin=y(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Y("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Q;if("object"!=typeof e.endScope||null===e.endScope)throw Y("endScope must be object"),Q;ee(e,e.end,{key:"endScope"}),e.end=y(e.end,{joinWith:""})}}(e)}function re(e){function t(t,r){return new RegExp(u(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(r?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=m(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(y(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const r=t.findIndex(((e,t)=>t>0&&void 0!==e)),n=this.matchIndexes[r];return t.splice(0,r),Object.assign(t,n)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new r;return this.rules.slice(e).forEach((([e,r])=>t.addRule(e,r))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let r=t.exec(e);if(this.resumingScanAtSamePosition())if(r&&r.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,r=t.exec(e)}return r&&(this.regexIndex+=r.position+1,this.regexIndex===this.count&&this.considerAll()),r}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return e.classNameAliases=i(e.classNameAliases||{}),function r(o,a){const s=o;if(o.isCompiled)return s;[j,q,te,$].forEach((e=>e(o,a))),e.compilerExtensions.forEach((e=>e(o,a))),o.__beforeBegin=null,[V,H,U].forEach((e=>e(o,a))),o.isCompiled=!0;let l=null;return"object"==typeof o.keywords&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),l=o.keywords.$pattern,delete o.keywords.$pattern),l=l||/\w+/,o.keywords&&(o.keywords=G(o.keywords,e.case_insensitive)),s.keywordPatternRe=t(l,!0),a&&(o.begin||(o.begin=/\B|\b/),s.beginRe=t(s.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),o.end&&(s.endRe=t(s.end)),s.terminatorEnd=u(s.end)||"",o.endsWithParent&&a.terminatorEnd&&(s.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),o.illegal&&(s.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map((function(e){return function(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return i(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:ne(e)?i(e,{starts:e.starts?i(e.starts):null}):Object.isFrozen(e)?i(e):e}("self"===e?o:e)}))),o.contains.forEach((function(e){r(e,s)})),o.starts&&r(o.starts,a),s.matcher=function(e){const t=new n;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(s),s}(e)}function ne(e){return!!e&&(e.endsWithParent||ne(e.starts))}class ie extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const oe=n,ae=i,se=Symbol("nomatch"),le=function(e){const n=Object.create(null),i=Object.create(null),o=[];let a=!0;const s="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let u={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:c};function m(e){return u.noHighlightRe.test(e)}function v(e,t,r){let n="",i="";"object"==typeof t?(n=e,r=t.ignoreIllegals,i=t.language):(Z("10.7.0","highlight(lang, code, ...args) has been deprecated."),Z("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),i=e,n=t),void 0===r&&(r=!0);const o={code:n,language:i};E("before:highlight",o);const a=o.result?o.result:y(o.language,o.code,r);return a.code=o.code,E("after:highlight",a),a}function y(e,t,i,o){const l=Object.create(null);function c(){if(!E.keywords)return void I.addText(P);let e=0;E.keywordPatternRe.lastIndex=0;let t=E.keywordPatternRe.exec(P),r="";for(;t;){r+=P.substring(e,t.index);const i=C.case_insensitive?t[0].toLowerCase():t[0],o=(n=i,E.keywords[n]);if(o){const[e,n]=o;if(I.addText(r),r="",l[i]=(l[i]||0)+1,l[i]<=7&&(T+=n),e.startsWith("_"))r+=t[0];else{const r=C.classNameAliases[e]||e;p(t[0],r)}}else r+=t[0];e=E.keywordPatternRe.lastIndex,t=E.keywordPatternRe.exec(P)}var n;r+=P.substring(e),I.addText(r)}function d(){null!=E.subLanguage?function(){if(""===P)return;let e=null;if("string"==typeof E.subLanguage){if(!n[E.subLanguage])return void I.addText(P);e=y(E.subLanguage,P,!0,_[E.subLanguage]),_[E.subLanguage]=e._top}else e=b(P,E.subLanguage.length?E.subLanguage:null);E.relevance>0&&(T+=e.relevance),I.__addSublanguage(e._emitter,e.language)}():c(),P=""}function p(e,t){""!==e&&(I.startScope(t),I.addText(e),I.endScope())}function f(e,t){let r=1;const n=t.length-1;for(;r<=n;){if(!e._emit[r]){r++;continue}const n=C.classNameAliases[e[r]]||e[r],i=t[r];n?p(i,n):(P=i,c(),P=""),r++}}function h(e,t){return e.scope&&"string"==typeof e.scope&&I.openNode(C.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(p(P,C.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),P=""):e.beginScope._multi&&(f(e.beginScope,t),P="")),E=Object.create(e,{parent:{value:E}}),E}function g(e,t,n){let i=function(e,t){const r=e&&e.exec(t);return r&&0===r.index}(e.endRe,n);if(i){if(e["on:end"]){const n=new r(e);e["on:end"](t,n),n.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return g(e.parent,t,n)}function m(e){return 0===E.matcher.regexIndex?(P+=e[0],1):(N=!0,0)}function v(e){const r=e[0],n=t.substring(e.index),i=g(E,e,n);if(!i)return se;const o=E;E.endScope&&E.endScope._wrap?(d(),p(r,E.endScope._wrap)):E.endScope&&E.endScope._multi?(d(),f(E.endScope,e)):o.skip?P+=r:(o.returnEnd||o.excludeEnd||(P+=r),d(),o.excludeEnd&&(P=r));do{E.scope&&I.closeNode(),E.skip||E.subLanguage||(T+=E.relevance),E=E.parent}while(E!==i.parent);return i.starts&&h(i.starts,e),o.returnEnd?0:r.length}let w={};function S(n,o){const s=o&&o[0];if(P+=n,null==s)return d(),0;if("begin"===w.type&&"end"===o.type&&w.index===o.index&&""===s){if(P+=t.slice(o.index,o.index+1),!a){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=w.rule,t}return 1}if(w=o,"begin"===o.type)return function(e){const t=e[0],n=e.rule,i=new r(n),o=[n.__beforeBegin,n["on:begin"]];for(const r of o)if(r&&(r(e,i),i.isMatchIgnored))return m(t);return n.skip?P+=t:(n.excludeBegin&&(P+=t),d(),n.returnBegin||n.excludeBegin||(P=t)),h(n,e),n.returnBegin?0:t.length}(o);if("illegal"===o.type&&!i){const e=new Error('Illegal lexeme "'+s+'" for mode "'+(E.scope||"<unnamed>")+'"');throw e.mode=E,e}if("end"===o.type){const e=v(o);if(e!==se)return e}if("illegal"===o.type&&""===s)return P+="\n",1;if(D>1e5&&D>3*o.index)throw new Error("potential infinite loop, way more iterations than matches");return P+=s,s.length}const C=A(e);if(!C)throw Y(s.replace("{}",e)),new Error('Unknown language: "'+e+'"');const x=re(C);let k="",E=o||x;const _={},I=new u.__emitter(u);!function(){const e=[];for(let t=E;t!==C;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>I.openNode(e)))}();let P="",T=0,B=0,D=0,N=!1;try{if(C.__emitTokens)C.__emitTokens(t,I);else{for(E.matcher.considerAll();;){D++,N?N=!1:E.matcher.considerAll(),E.matcher.lastIndex=B;const e=E.matcher.exec(t);if(!e)break;const r=S(t.substring(B,e.index),e);B=e.index+r}S(t.substring(B))}return I.finalize(),k=I.toHTML(),{language:e,value:k,relevance:T,illegal:!1,_emitter:I,_top:E}}catch(r){if(r.message&&r.message.includes("Illegal"))return{language:e,value:oe(t),illegal:!0,relevance:0,_illegalBy:{message:r.message,index:B,context:t.slice(B-100,B+100),mode:r.mode,resultSoFar:k},_emitter:I};if(a)return{language:e,value:oe(t),illegal:!1,relevance:0,errorRaised:r,_emitter:I,_top:E};throw r}}function b(e,t){t=t||u.languages||Object.keys(n);const r=function(e){const t={value:oe(e),illegal:!1,relevance:0,_top:l,_emitter:new u.__emitter(u)};return t._emitter.addText(e),t}(e),i=t.filter(A).filter(k).map((t=>y(t,e,!1)));i.unshift(r);const o=i.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(A(e.language).supersetOf===t.language)return 1;if(A(t.language).supersetOf===e.language)return-1}return 0})),[a,s]=o,c=a;return c.secondBest=s,c}function w(e){let t=null;const r=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const r=u.languageDetectRe.exec(t);if(r){const t=A(r[1]);return t||(J(s.replace("{}",r[1])),J("Falling back to no-highlight mode for this block.",e)),t?r[1]:"no-highlight"}return t.split(/\s+/).find((e=>m(e)||A(e)))}(e);if(m(r))return;if(E("before:highlightElement",{el:e,language:r}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(u.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),u.throwUnescapedHTML))throw new ie("One of your code blocks includes unescaped HTML.",e.innerHTML);t=e;const n=t.textContent,o=r?v(n,{language:r,ignoreIllegals:!0}):b(n);e.innerHTML=o.value,e.dataset.highlighted="yes",function(e,t,r){const n=t&&i[t]||r;e.classList.add("hljs"),e.classList.add(`language-${n}`)}(e,r,o.language),e.result={language:o.language,re:o.relevance,relevance:o.relevance},o.secondBest&&(e.secondBest={language:o.secondBest.language,relevance:o.secondBest.relevance}),E("after:highlightElement",{el:e,result:o,text:n})}let S=!1;function C(){if("loading"===document.readyState)return S||window.addEventListener("DOMContentLoaded",(function(){C()}),!1),void(S=!0);document.querySelectorAll(u.cssSelector).forEach(w)}function A(e){return e=(e||"").toLowerCase(),n[e]||n[i[e]]}function x(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{i[e.toLowerCase()]=t}))}function k(e){const t=A(e);return t&&!t.disableAutodetect}function E(e,t){const r=e;o.forEach((function(e){e[r]&&e[r](t)}))}Object.assign(e,{highlight:v,highlightAuto:b,highlightAll:C,highlightElement:w,highlightBlock:function(e){return Z("10.7.0","highlightBlock will be removed entirely in v12.0"),Z("10.7.0","Please use highlightElement now."),w(e)},configure:function(e){u=ae(u,e)},initHighlighting:()=>{C(),Z("10.6.0","initHighlighting() deprecated.  Use highlightAll() now.")},initHighlightingOnLoad:function(){C(),Z("10.6.0","initHighlightingOnLoad() deprecated.  Use highlightAll() now.")},registerLanguage:function(t,r){let i=null;try{i=r(e)}catch(e){if(Y("Language definition for '{}' could not be registered.".replace("{}",t)),!a)throw e;Y(e),i=l}i.name||(i.name=t),n[t]=i,i.rawDefinition=r.bind(null,e),i.aliases&&x(i.aliases,{languageName:t})},unregisterLanguage:function(e){delete n[e];for(const t of Object.keys(i))i[t]===e&&delete i[t]},listLanguages:function(){return Object.keys(n)},getLanguage:A,registerAliases:x,autoDetection:k,inherit:ae,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),o.push(e)},removePlugin:function(e){const t=o.indexOf(e);-1!==t&&o.splice(t,1)}}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString="11.11.1",e.regex={concat:h,lookahead:d,either:g,optional:f,anyNumberOfTimes:p};for(const e in F)"object"==typeof F[e]&&t(F[e]);return Object.assign(e,F),e},ce=le({});ce.newInstance=()=>le({}),e.exports=ce,ce.HighlightJS=ce,ce.default=ce},5744:(e,t,r)=>{"use strict";const n=r(2306);e.exports=(e,t)=>new n(e,t).minor},5774:(e,t,r)=>{"use strict";r.d(t,{y:()=>s});var n=r(5314),i=r(1297),o=r(9620),a=r(4414);function s(e,t,r){const s=function(e,t,r,i=n.A){const o=i();return function(n){const{dir:i,renderer:a}=n,s="ltr"===i?e:t||e;return o(a,Array.isArray(r)?{r}:r),s}}(e,t,r,i.A);return function(){const e=(0,a.m)(),t=(0,o.J)();return s({dir:e,renderer:t})}}},5797:(e,t,r)=>{"use strict";var n;r.d(t,{N:()=>o});var i=function(){function e(e){this.value=e,this.nextChild=0}return e.prototype.getNext=function(){return new e("".concat(this.value,".").concat(++this.nextChild))},e}();function o(){if(!n){for(var e=[],t=0;t<22;t++)e.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Math.floor(64*Math.random())));n=new i(e.join(""))}return n}},5804:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.SerializableObject=t.property=t.SerializableObjectSchema=t.CustomProperty=t.SerializableObjectCollectionProperty=t.SerializableObjectProperty=t.EnumProperty=t.ValueSetProperty=t.StringArrayProperty=t.PixelSizeProperty=t.NumProperty=t.BoolProperty=t.StringProperty=t.PropertyDefinition=t.BaseSerializationContext=t.isVersionLessOrEqual=t.Versions=t.Version=void 0;var o=r(3771),a=r(345),s=r(1050),l=r(2378),c=function(){function e(e,t,r){void 0===e&&(e=1),void 0===t&&(t=1),this._isValid=!0,this._major=e,this._minor=t,this._label=r}return e.parse=function(t,r){if(t){var n=new e;n._versionString=t;var i=/(\d+).(\d+)/gi.exec(t);return null!=i&&3===i.length?(n._major=parseInt(i[1]),n._minor=parseInt(i[2])):n._isValid=!1,n._isValid||r.logParseEvent(void 0,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidVersionString(n._versionString)),n}},e.prototype.toString=function(){return this._isValid?this._major+"."+this._minor:this._versionString},e.prototype.toJSON=function(){return this.toString()},e.prototype.compareTo=function(e){if(!this.isValid||!e.isValid)throw new Error("Cannot compare invalid version.");return this.major>e.major?1:this.major<e.major?-1:this.minor>e.minor?1:this.minor<e.minor?-1:0},Object.defineProperty(e.prototype,"label",{get:function(){return this._label?this._label:this.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"major",{get:function(){return this._major},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minor",{get:function(){return this._minor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isValid",{get:function(){return this._isValid},enumerable:!1,configurable:!0}),e}();t.Version=c;var u=function(){function e(){}return e.getAllDeclaredVersions=function(){var t=e,r=[];for(var n in t)if(n.match(/^v[0-9_]*$/))try{var i=t[n];i instanceof c&&r.push(i)}catch(e){}return r.sort((function(e,t){return e.compareTo(t)}))},e.v1_0=new c(1,0),e.v1_1=new c(1,1),e.v1_2=new c(1,2),e.v1_3=new c(1,3),e.v1_4=new c(1,4),e.v1_5=new c(1,5),e.v1_6=new c(1,6,"1.6 Preview"),e.latest=e.v1_5,e}();t.Versions=u,t.isVersionLessOrEqual=function(e,t){return!(e instanceof c)||!(t instanceof c)||t.compareTo(e)>=0};var d=function(){function e(e){void 0===e&&(e=u.latest),this._validationEvents=[],this.targetVersion=e}return e.prototype.isTemplateString=function(e){return"string"==typeof e&&e.startsWith("${")},e.prototype.tryDeleteValue=function(e,t){o.GlobalSettings.enableFullJsonRoundTrip||delete e[t]},e.prototype.tryDeleteDefaultValue=function(e,t){o.GlobalSettings.enableFullJsonRoundTrip&&this.isTemplateString(e[t])||delete e[t]},e.prototype.serializeValue=function(e,t,r,n,i){void 0===n&&(n=void 0),void 0===i&&(i=!1),null==r?o.GlobalSettings.enableFullJsonRoundTrip&&!i||delete e[t]:r===n?o.GlobalSettings.enableFullJsonRoundTrip&&!i&&this.isTemplateString(e[t])||delete e[t]:e[t]=r},e.prototype.serializeString=function(e,t,r,n){null==r?this.tryDeleteValue(e,t):r===n?this.tryDeleteDefaultValue(e,t):e[t]=r},e.prototype.serializeBool=function(e,t,r,n){null==r?this.tryDeleteValue(e,t):r===n?this.tryDeleteDefaultValue(e,t):e[t]=r},e.prototype.serializeNumber=function(e,t,r,n){null==r||isNaN(r)?this.tryDeleteValue(e,t):r===n?this.tryDeleteDefaultValue(e,t):e[t]=r},e.prototype.serializeEnum=function(e,t,r,n,i){void 0===i&&(i=void 0),null==n?this.tryDeleteValue(t,r):n===i?this.tryDeleteDefaultValue(t,r):t[r]=e[n]},e.prototype.serializeArray=function(e,t,r){var n=[];if(r)for(var i=0,o=r;i<o.length;i++){var a,s=o[i];void 0!==(a=s instanceof k?s.toJSON(this):s.toJSON?s.toJSON():s)&&n.push(a)}0===n.length?e.hasOwnProperty(t)&&Array.isArray(e[t])&&delete e[t]:this.serializeValue(e,t,n)},e.prototype.clearEvents=function(){this._validationEvents=[]},e.prototype.logEvent=function(e,t,r,n){this._validationEvents.push({source:e,phase:t,event:r,message:n})},e.prototype.logParseEvent=function(e,t,r){this.logEvent(e,s.ValidationPhase.Parse,t,r)},e.prototype.getEventAt=function(e){return this._validationEvents[e]},Object.defineProperty(e.prototype,"eventCount",{get:function(){return this._validationEvents.length},enumerable:!1,configurable:!0}),e}();t.BaseSerializationContext=d;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(d),f=function(){function e(t,r,n,i){this.targetVersion=t,this.name=r,this.defaultValue=n,this.onGetInitialValue=i,this.isSerializationEnabled=!0,this.sequentialNumber=e._sequentialNumber,e._sequentialNumber++}return e.prototype.getInternalName=function(){return this.name},e.prototype.parse=function(e,t,r){return t[this.name]},e.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,r,this.defaultValue)},e._sequentialNumber=0,e}();t.PropertyDefinition=f;var h=function(e){function t(t,r,n,i,o,a){void 0===n&&(n=!0);var s=e.call(this,t,r,o,a)||this;return s.targetVersion=t,s.name=r,s.treatEmptyAsUndefined=n,s.regEx=i,s.defaultValue=o,s.onGetInitialValue=a,s}return i(t,e),t.prototype.parse=function(e,t,r){var n=a.parseString(t[this.name],this.defaultValue);if(void 0===n||""===n&&this.treatEmptyAsUndefined||void 0===this.regEx||this.regEx.exec(n))return n;r.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidPropertyValue(n,this.name))},t.prototype.toJSON=function(e,t,r,n){n.serializeString(t,this.name,""===r&&this.treatEmptyAsUndefined?void 0:r,this.defaultValue)},t}(f);t.StringProperty=h;var g=function(e){function t(t,r,n,i){var o=e.call(this,t,r,n,i)||this;return o.targetVersion=t,o.name=r,o.defaultValue=n,o.onGetInitialValue=i,o}return i(t,e),t.prototype.parse=function(e,t,r){return a.parseBool(t[this.name],this.defaultValue)},t.prototype.toJSON=function(e,t,r,n){n.serializeBool(t,this.name,r,this.defaultValue)},t}(f);t.BoolProperty=g;var m=function(e){function t(t,r,n,i){var o=e.call(this,t,r,n,i)||this;return o.targetVersion=t,o.name=r,o.defaultValue=n,o.onGetInitialValue=i,o}return i(t,e),t.prototype.parse=function(e,t,r){return a.parseNumber(t[this.name],this.defaultValue)},t.prototype.toJSON=function(e,t,r,n){n.serializeNumber(t,this.name,r,this.defaultValue)},t}(f);t.NumProperty=m;var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.parse=function(e,t,r){var n=void 0,i=t[this.name];if("string"==typeof i){var a=!1;try{var c=o.SizeAndUnit.parse(i,!0);c.unit===s.SizeUnit.Pixel&&(n=c.physicalSize,a=!0)}catch(e){}a||r.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidPropertyValue(t[this.name],this.name))}return n},t.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,"number"!=typeof r||isNaN(r)?void 0:r+"px")},t}(f);t.PixelSizeProperty=v;var y=function(e){function t(t,r,n,i){var o=e.call(this,t,r,n,i)||this;return o.targetVersion=t,o.name=r,o.defaultValue=n,o.onGetInitialValue=i,o}return i(t,e),t.prototype.parse=function(e,t,r){var n=t[this.name];if(void 0===n||!Array.isArray(n))return this.defaultValue;for(var i=[],o=0,a=n;o<a.length;o++){var l=a[o];"string"==typeof l?i.push(l):r.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,'Invalid array value "'.concat(JSON.stringify(l),'" of type "').concat(typeof l,'" ignored for "').concat(this.name,'".'))}return i},t.prototype.toJSON=function(e,t,r,n){n.serializeArray(t,this.name,r)},t}(f);t.StringArrayProperty=y;var b=function(e){function t(t,r,n,i,o){var a=e.call(this,t,r,i,o)||this;return a.targetVersion=t,a.name=r,a.values=n,a.defaultValue=i,a.onGetInitialValue=o,a}return i(t,e),t.prototype.isValidValue=function(e,t){for(var r=0,n=this.values;r<n.length;r++){var i=n[r];if(e.toLowerCase()===i.value.toLowerCase())return(i.targetVersion?i.targetVersion:this.targetVersion).compareTo(t.targetVersion)<=0}return!1},t.prototype.parse=function(e,t,r){var n=t[this.name];if(void 0===n)return this.defaultValue;if("string"==typeof n)for(var i=0,o=this.values;i<o.length;i++){var a=o[i];if(n.toLowerCase()===a.value.toLowerCase()){var c=a.targetVersion?a.targetVersion:this.targetVersion;return c.compareTo(r.targetVersion)<=0?a.value:(r.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.propertyValueNotSupported(n,this.name,c.toString(),r.targetVersion.toString())),this.defaultValue)}}return r.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidPropertyValue(n,this.name)),this.defaultValue},t.prototype.toJSON=function(e,t,r,n){var i=!1;if(void 0!==r){i=!0;for(var o=0,a=this.values;o<a.length;o++){var c=a[o];if(c.value===r){var u=c.targetVersion?c.targetVersion:this.targetVersion;if(u.compareTo(n.targetVersion)<=0){i=!1;break}n.logEvent(e,s.ValidationPhase.ToJSON,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.propertyValueNotSupported(r,this.name,u.toString(),n.targetVersion.toString()))}}}i||n.serializeValue(t,this.name,r,this.defaultValue,!0)},t}(f);t.ValueSetProperty=b;var w=function(e){function t(t,r,n,i,o,a){var s=e.call(this,t,r,i,a)||this;if(s.targetVersion=t,s.name=r,s.enumType=n,s.defaultValue=i,s.onGetInitialValue=a,s._values=[],o)s._values=o;else for(var l in n){var c=parseInt(l,10);c>=0&&s._values.push({value:c})}return s}return i(t,e),t.prototype.parse=function(e,t,r){var n=t[this.name];if("string"!=typeof n)return this.defaultValue;var i=a.getEnumValueByName(this.enumType,n);if(void 0!==i)for(var o=0,c=this.values;o<c.length;o++){var u=c[o];if(u.value===i){var d=u.targetVersion?u.targetVersion:this.targetVersion;return d.compareTo(r.targetVersion)<=0?i:(r.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.propertyValueNotSupported(n,this.name,d.toString(),r.targetVersion.toString())),this.defaultValue)}}return r.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidPropertyValue(n,this.name)),this.defaultValue},t.prototype.toJSON=function(e,t,r,n){var i=!1;if(void 0!==r){i=!0;for(var o=0,a=this.values;o<a.length;o++){var c=a[o];if(c.value===r){if((c.targetVersion?c.targetVersion:this.targetVersion).compareTo(n.targetVersion)<=0){i=!1;break}n.logEvent(e,s.ValidationPhase.ToJSON,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidPropertyValue(r,this.name))}}}i||n.serializeEnum(this.enumType,t,this.name,r,this.defaultValue)},Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!1,configurable:!0}),t}(f);t.EnumProperty=w;var S=function(e){function t(t,r,n,i,o){void 0===i&&(i=!1);var a=e.call(this,t,r,o,(function(e){return a.nullable?void 0:new a.objectType}))||this;return a.targetVersion=t,a.name=r,a.objectType=n,a.nullable=i,a}return i(t,e),t.prototype.parse=function(e,t,r){var n=t[this.name];if(void 0===n)return this.onGetInitialValue?this.onGetInitialValue(e):this.defaultValue;var i=new this.objectType;return i.parse(n,r),i},t.prototype.toJSON=function(e,t,r,n){var i=void 0;void 0===r||r.hasAllDefaultValues()||(i=r.toJSON(n)),"object"==typeof i&&0===Object.keys(i).length&&(i=void 0),n.serializeValue(t,this.name,i,this.defaultValue,!0)},t}(f);t.SerializableObjectProperty=S;var C=function(e){function t(t,r,n,i){var o=e.call(this,t,r,void 0,(function(e){return[]}))||this;return o.targetVersion=t,o.name=r,o.objectType=n,o.onItemAdded=i,o}return i(t,e),t.prototype.parse=function(e,t,r){var n=[],i=t[this.name];if(Array.isArray(i))for(var o=0,a=i;o<a.length;o++){var s=a[o],l=new this.objectType;l.parse(s,r),n.push(l),this.onItemAdded&&this.onItemAdded(e,l)}return n.length>0?n:this.onGetInitialValue?this.onGetInitialValue(e):void 0},t.prototype.toJSON=function(e,t,r,n){n.serializeArray(t,this.name,r)},t}(f);t.SerializableObjectCollectionProperty=C;var A=function(e){function t(t,r,n,i,o,a){var s=e.call(this,t,r,o,a)||this;if(s.targetVersion=t,s.name=r,s.onParse=n,s.onToJSON=i,s.defaultValue=o,s.onGetInitialValue=a,!s.onParse)throw new Error("CustomPropertyDefinition instances must have an onParse handler.");if(!s.onToJSON)throw new Error("CustomPropertyDefinition instances must have an onToJSON handler.");return s}return i(t,e),t.prototype.parse=function(e,t,r){return this.onParse(e,this,t,r)},t.prototype.toJSON=function(e,t,r,n){this.onToJSON(e,this,t,r,n)},t}(f);t.CustomProperty=A;var x=function(){function e(){this._properties=[]}return e.prototype.indexOf=function(e){for(var t=0;t<this._properties.length;t++)if(this._properties[t]===e)return t;return-1},e.prototype.add=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];-1===this.indexOf(i)&&this._properties.push(i)}},e.prototype.remove=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++)for(var i=n[r];;){var o=this.indexOf(i);if(!(o>=0))break;this._properties.splice(o,1)}},e.prototype.getItemAt=function(e){return this._properties[e]},e.prototype.getCount=function(){return this._properties.length},e}();t.SerializableObjectSchema=x,t.property=function(e){return function(t,r){var n=Object.getOwnPropertyDescriptor(t,r)||{};n.get||n.set||(n.get=function(){return this.getValue(e)},n.set=function(t){this.setValue(e,t)},Object.defineProperty(t,r,n))}};var k=function(){function e(){this._propertyBag={},this._rawProperties={},this.maxVersion=e.defaultMaxVersion;for(var t=this.getSchema(),r=0;r<t.getCount();r++){var n=t.getItemAt(r);n.onGetInitialValue&&this.setValue(n,n.onGetInitialValue(this))}}return e.prototype.getDefaultSerializationContext=function(){return new p},e.prototype.populateSchema=function(t){var r=this.constructor,n=[];for(var i in r)try{var o=r[i];o instanceof f&&n.push(o)}catch(e){}if(n.length>0){var a=n.sort((function(e,t){return e.sequentialNumber>t.sequentialNumber?1:e.sequentialNumber<t.sequentialNumber?-1:0}));t.add.apply(t,a)}e.onRegisterCustomProperties&&e.onRegisterCustomProperties(this,t)},e.prototype.getValue=function(e){return this._propertyBag.hasOwnProperty(e.getInternalName())?this._propertyBag[e.getInternalName()]:e.defaultValue},e.prototype.setValue=function(e,t){null==t?delete this._propertyBag[e.getInternalName()]:this._propertyBag[e.getInternalName()]=t},e.prototype.internalParse=function(e,t){if(this._propertyBag={},this._rawProperties=o.GlobalSettings.enableFullJsonRoundTrip&&e||{},e)for(var r=this.getSchema(),n=0;n<r.getCount();n++){var i=r.getItemAt(n);if(i.isSerializationEnabled){var a=i.onGetInitialValue?i.onGetInitialValue(this):void 0;e.hasOwnProperty(i.name)&&(i.targetVersion.compareTo(t.targetVersion)<=0?a=i.parse(this,e,t):t.logParseEvent(this,s.ValidationEvent.UnsupportedProperty,l.Strings.errors.propertyNotSupported(i.name,i.targetVersion.toString(),t.targetVersion.toString()))),this.setValue(i,a)}}else this.resetDefaultValues()},e.prototype.internalToJSON=function(e,t){for(var r=this.getSchema(),n=[],i=0;i<r.getCount();i++){var o=r.getItemAt(i);o.isSerializationEnabled&&o.targetVersion.compareTo(t.targetVersion)<=0&&-1===n.indexOf(o.name)&&(o.toJSON(this,e,this.getValue(o),t),n.push(o.name))}},e.prototype.shouldSerialize=function(e){return!0},e.prototype.parse=function(e,t){this.internalParse(e,t||new p)},e.prototype.toJSON=function(e){var t;if(e&&e instanceof d?t=e:(t=this.getDefaultSerializationContext()).toJSONOriginalParam=e,this.shouldSerialize(t)){var r;return r=o.GlobalSettings.enableFullJsonRoundTrip&&this._rawProperties&&"object"==typeof this._rawProperties?this._rawProperties:{},this.internalToJSON(r,t),r}},e.prototype.hasDefaultValue=function(e){return this.getValue(e)===e.defaultValue},e.prototype.hasAllDefaultValues=function(){for(var e=this.getSchema(),t=0;t<e.getCount();t++){var r=e.getItemAt(t);if(!this.hasDefaultValue(r))return!1}return!0},e.prototype.resetDefaultValues=function(){for(var e=this.getSchema(),t=0;t<e.getCount();t++){var r=e.getItemAt(t);this.setValue(r,r.defaultValue)}},e.prototype.setCustomProperty=function(e,t){"string"==typeof t&&!t||null==t?delete this._rawProperties[e]:this._rawProperties[e]=t},e.prototype.getCustomProperty=function(e){return this._rawProperties[e]},e.prototype.getSchema=function(){var t=e._schemaCache[this.getSchemaKey()];return t||(t=new x,this.populateSchema(t),e._schemaCache[this.getSchemaKey()]=t),t},e.defaultMaxVersion=u.latest,e._schemaCache={},e}();t.SerializableObject=k},5810:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,p=1;function f(e){var t=e.match(r);t&&(d+=t.length);var n=e.lastIndexOf("\n");p=~n?e.length-n:p+e.length}function h(){var e={line:d,column:p};return function(t){return t.position=new g(e),b(),t}}function g(e){this.start=e,this.end={line:d,column:p},this.source=l.source}g.prototype.content=e;var m=[];function v(t){var r=new Error(l.source+":"+d+":"+p+": "+t);if(r.reason=t,r.filename=l.source,r.line=d,r.column=p,r.source=e,!l.silent)throw r;m.push(r)}function y(t){var r=t.exec(e);if(r){var n=r[0];return f(n),e=e.slice(n.length),r}}function b(){y(n)}function w(e){var t;for(e=e||[];t=S();)!1!==t&&e.push(t);return e}function S(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;c!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,c===e.charAt(r-1))return v("End of comment missing");var n=e.slice(2,r-2);return p+=2,f(n),e=e.slice(r),p+=2,t({type:"comment",comment:n})}}function C(){var e=h(),r=y(i);if(r){if(S(),!y(o))return v("property missing ':'");var n=y(a),l=e({type:"declaration",property:u(r[0].replace(t,c)),value:n?u(n[0].replace(t,c)):c});return y(s),l}}return b(),function(){var e,t=[];for(w(t);e=C();)!1!==e&&(t.push(e),w(t));return t}()}},5826:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(7348);const i=function(e,t){for(var r=e.length;r--;)if((0,n.A)(e[r][0],t))return r;return-1};var o=Array.prototype.splice;function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(e){var t=this.__data__,r=i(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))},a.prototype.get=function(e){var t=this.__data__,r=i(t,e);return r<0?void 0:t[r][1]},a.prototype.has=function(e){return i(this.__data__,e)>-1},a.prototype.set=function(e,t){var r=this.__data__,n=i(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};const s=a},5829:(e,t,r)=>{"use strict";r.d(t,{a:()=>o});var n=r(1635),i=r(7810);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.useCallback((function(t){r.current=t;for(var n=0,i=e;n<i.length;n++){var o=i[n];"function"==typeof o?o(t):o&&(o.current=t)}}),(0,n.__spreadArray)([],e,!0));return r}},5846:(e,t,r)=>{"use strict";r.d(t,{J5:()=>d,J9:()=>u});var n=r(3811),i=!1,o=0,a={empty:!0},s={},l="undefined"==typeof WeakMap?null:WeakMap;function c(){o++}function u(e,t,r){if(void 0===t&&(t=100),void 0===r&&(r=!1),!l)return e;if(!i){var u=n.nr.getInstance();u&&u.onReset&&n.nr.getInstance().onReset(c),i=!0}var d,f=0,h=o;return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var l,c=d;(void 0===d||h!==o||t>0&&f>t)&&(d=p(),f=0,h=o),c=d;for(var u=0;u<n.length;u++){var g=(l=n[u])?"object"==typeof l||"function"==typeof l?l:(s[l]||(s[l]={val:l}),s[l]):a;c.map.has(g)||c.map.set(g,p()),c=c.map.get(g)}return c.hasOwnProperty("value")||(c.value=e.apply(void 0,n),f++),!r||null!==c.value&&void 0!==c.value||(c.value=e.apply(void 0,n)),c.value}}function d(e){if(!l)return e;var t=new l;return function(r){if(!r||"function"!=typeof r&&"object"!=typeof r)return e(r);if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}}function p(){return{map:l?new l:null}}},5851:(e,t,r)=>{"use strict";r.r(t),r.d(t,{areEqualNumbers:()=>He,backfillUndefined:()=>we,cacheLatest:()=>Fe,countStringOccurrences:()=>Se,createArrayAndFillWith:()=>je,deepMapKeysToCamelCase:()=>xe,defaultToEmptyArray:()=>De,endsWith:()=>mt,filterOutNull:()=>ke.filterOutNull,find:()=>Ee,flattenJoin:()=>Pe,getLocalISOTimeWithOffset:()=>Ce,getTimeUntil:()=>$e,hasOwnProperty:()=>Me,identity:()=>Ve,isDefined:()=>We.O,isEmpty:()=>Ye,isEqualish:()=>Qe,isSafeInteger:()=>et.A,isString:()=>pt,keys:()=>Te,lowerFirst:()=>ht,makeObject:()=>tt,matchAll:()=>rt,memoizeFunction:()=>ye,memoizeFunctionProperties:()=>it,memoizeSelector:()=>st,merge:()=>lt,neverGuard:()=>qe,neverGuardDefault:()=>Ue,omitEmpty:()=>Ne,omitNull:()=>Re,poll:()=>ct,range:()=>ut,safeJoinStrings:()=>vt,sortObjectBy:()=>dt,startsWith:()=>gt,throwError:()=>yt.throwError,undefinedToNull:()=>Le,uniq:()=>wt,uniqBy:()=>bt,updateWith:()=>ze,upperFirst:()=>ft,withRetry:()=>St});var n,i,o,a=r(1635),s=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},l="undefined"!=typeof console?console:void 0,c={trace:(null!==(n=null==l?void 0:l.trace)&&void 0!==n?n:s).bind(l),warn:(null!==(i=null==l?void 0:l.warn)&&void 0!==i?i:s).bind(l),table:(null!==(o=null==l?void 0:l.table)&&void 0!==o?o:s).bind(l)},u=r(6160),d=r(8412);function p(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new d.A;++t<r;)this.add(e[t])}p.prototype.add=p.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},p.prototype.has=function(e){return this.__data__.has(e)};const f=p,h=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1},g=function(e,t,r,n,i,o){var a=1&r,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,g=2&r?new f:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var m=e[d],v=t[d];if(n)var y=a?n(v,m,d,t,e,o):n(m,v,d,e,t,o);if(void 0!==y){if(y)continue;p=!1;break}if(g){if(!h(t,(function(e,t){if(a=t,!g.has(a)&&(m===e||i(m,e,r,n,o)))return g.push(t);var a}))){p=!1;break}}else if(m!==v&&!i(m,v,r,n,o)){p=!1;break}}return o.delete(e),o.delete(t),p};var m=r(7181),v=r(5168),y=r(7348);const b=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r},w=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r};var S=m.A?m.A.prototype:void 0,C=S?S.valueOf:void 0;var A=r(2020),x=r(8285);var k=Object.prototype.propertyIsEnumerable,E=Object.getOwnPropertySymbols;const _=E?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}(E(e),(function(t){return k.call(e,t)})))}:function(){return[]};var I=r(4479),P=r(4603);const T=(0,r(5067).A)(Object.keys,Object);var B=Object.prototype.hasOwnProperty;const D=function(e){if(!(0,P.A)(e))return T(e);var t=[];for(var r in Object(e))B.call(e,r)&&"constructor"!=r&&t.push(r);return t};var N=r(7242);const R=function(e){return(0,N.A)(e)?(0,I.A)(e):D(e)},O=function(e){return function(e,t,r){var n=t(e);return(0,x.A)(e)?n:(0,A.A)(n,r(e))}(e,R,_)};var z=Object.prototype.hasOwnProperty;var M=r(1671),F=r(8377);const L=(0,M.A)(F.A,"DataView");var j=r(6787);const V=(0,M.A)(F.A,"Promise"),H=(0,M.A)(F.A,"Set"),q=(0,M.A)(F.A,"WeakMap");var U=r(2977),$=r(5549),W="[object Map]",G="[object Promise]",K="[object Set]",X="[object WeakMap]",Y="[object DataView]",J=(0,$.A)(L),Z=(0,$.A)(j.A),Q=(0,$.A)(V),ee=(0,$.A)(H),te=(0,$.A)(q),re=U.A;(L&&re(new L(new ArrayBuffer(1)))!=Y||j.A&&re(new j.A)!=W||V&&re(V.resolve())!=G||H&&re(new H)!=K||q&&re(new q)!=X)&&(re=function(e){var t=(0,U.A)(e),r="[object Object]"==t?e.constructor:void 0,n=r?(0,$.A)(r):"";if(n)switch(n){case J:return Y;case Z:return W;case Q:return G;case ee:return K;case te:return X}return t});const ne=re;var ie=r(6118),oe=r(5935),ae="[object Arguments]",se="[object Array]",le="[object Object]",ce=Object.prototype.hasOwnProperty;const ue=function(e,t,r,n,i,o){var a=(0,x.A)(e),s=(0,x.A)(t),l=a?se:ne(e),c=s?se:ne(t),d=(l=l==ae?le:l)==le,p=(c=c==ae?le:c)==le,f=l==c;if(f&&(0,ie.A)(e)){if(!(0,ie.A)(t))return!1;a=!0,d=!1}if(f&&!d)return o||(o=new u.A),a||(0,oe.A)(e)?g(e,t,r,n,i,o):function(e,t,r,n,i,o,a){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new v.A(e),new v.A(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,y.A)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=b;case"[object Set]":var l=1&n;if(s||(s=w),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;n|=2,a.set(e,t);var u=g(s(e),s(t),n,i,o,a);return a.delete(e),u;case"[object Symbol]":if(C)return C.call(e)==C.call(t)}return!1}(e,t,l,r,n,i,o);if(!(1&r)){var h=d&&ce.call(e,"__wrapped__"),m=p&&ce.call(t,"__wrapped__");if(h||m){var S=h?e.value():e,A=m?t.value():t;return o||(o=new u.A),i(S,A,r,n,o)}}return!!f&&(o||(o=new u.A),function(e,t,r,n,i,o){var a=1&r,s=O(e),l=s.length;if(l!=O(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:z.call(t,u)))return!1}var d=o.get(e),p=o.get(t);if(d&&p)return d==t&&p==e;var f=!0;o.set(e,t),o.set(t,e);for(var h=a;++c<l;){var g=e[u=s[c]],m=t[u];if(n)var v=a?n(m,g,u,t,e,o):n(g,m,u,e,t,o);if(!(void 0===v?g===m||i(g,m,r,n,o):v)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(f=!1)}return o.delete(e),o.delete(t),f}(e,t,r,n,i,o))};var de=r(8214);const pe=function e(t,r,n,i,o){return t===r||(null==t||null==r||!(0,de.A)(t)&&!(0,de.A)(r)?t!=t&&r!=r:ue(t,r,n,i,e,o))},fe=function(e,t){return pe(e,t)};var he="undefined"!=typeof __WHY_DID_YOU_RECOMPUTE__&&__WHY_DID_YOU_RECOMPUTE__||"undefined"!=typeof globalThis&&globalThis.__WHY_DID_YOU_RECOMPUTE__,ge={empty:!0},me={},ve="undefined"==typeof WeakMap?null:WeakMap,ye=function(e,t){if(void 0===t&&(t=100),!ve)return e;var r=be(),n=0,i=0,o=he?new Map:void 0,s=he?new Error("Memoized function defined").stack:"";return function(){for(var l,u,d,p,f=[],h=0;h<arguments.length;h++)f[h]=arguments[h];var g=r;(0!==i||t>0&&n>t)&&(r=be(),n=0,i=0,null==o||o.clear()),g=r;for(var m=function(e){var t,r=(t=f[e])?"object"==typeof t||"function"==typeof t?t:(me[t]||(me[t]={val:t}),me[t]):ge;if(!(null===(l=g.map)||void 0===l?void 0:l.has(r))&&(null===(u=g.map)||void 0===u||u.set(r,be()),he&&o)){var n=null!==(d=o.get(g))&&void 0!==d?d:[],i=n.filter((function(e){return e!==r&&fe(e,r)}))[0];if(i){c.warn("Why-did-you-recompute: Identical (deep-comparison) past arguments to memoizeFunction found with differing instance equality: ");var h=new Error("Indentical argument passed").stack,m=function(e,t){c.table(e),Object.keys(e).forEach((function(r){var n=e[r],i=t[r];n!==i&&fe(n,i)&&(c.warn("Duplication present in child prop '".concat(r,"'")),m(n,i))}))};m(i,r),c.warn(h),c.warn(s)}o.set(g,(0,a.__spreadArray)((0,a.__spreadArray)([],(0,a.__read)(n),!1),[r],!1))}g=null===(p=g.map)||void 0===p?void 0:p.get(r)},v=0;v<f.length;v++)m(v);return g.hasOwnProperty("value")||(g.value=e.apply(void 0,(0,a.__spreadArray)([],(0,a.__read)(f),!1)),n++),g.value}};function be(){return{map:ve?new ve:null}}function we(e,t){return void 0===e?t:e}function Se(e){return e.reduce((function(e,t){var r;return(0,a.__assign)((0,a.__assign)({},e),((r={})[t]=(e[t]||0)+1,r))}),{})}function Ce(e){var t=e.getTimezoneOffset(),r=6e4*t,n=new Date(e.valueOf()-r).toISOString().slice(0,-1),i=function(e){var t=parseInt(Math.abs(e).toString(),0).toString();return t.length>1?t:"0".concat(t)},o="".concat(t>0?"-":"+").concat(i(t/60),":").concat(i(t%60));return"".concat(n).concat(0===t?"Z":o)}var Ae=r(2636),xe=function(e){return Array.isArray(e)?e.map((function(e){return xe(e)})):null!=e&&e.constructor===Object?Object.keys(e).reduce((function(t,r){var n;return(0,a.__assign)((0,a.__assign)({},t),((n={})[(0,Ae.A)(r)]=xe(e[r]),n))}),{}):e},ke=r(1418);function Ee(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n))return n}}var _e=r(4560);const Ie=function(e){return null!=e&&e.length?(0,_e.A)(e,1):[]};function Pe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ie((0,ke.filterOutNull)(e)).join(",")}function Te(e){return"string"==typeof e?Object.keys(e.split("")):"number"==typeof e||"boolean"==typeof e?[]:Object.keys(e)}var Be=[];function De(e){return e||Be}function Ne(e){return Oe(e,(function(e){return null!=e&&""!==e&&(!(e instanceof Array)||e.length>0)}))}function Re(e){return Oe(e,(function(e){return null!==e}))}function Oe(e,t){if(null==e)return e;for(var r={},n=0,i=Te(e);n<i.length;n++){var o=i[n];t(e[o])&&(r[o]=e[o])}return r}function ze(e,t){return Object.assign({},e,t)}function Me(e,t){return e.hasOwnProperty(t)}function Fe(e){var t=void 0;return function(r){if(t&&r===t.arg)return t.result;var n=e(r);return t={arg:r,result:n},n}}function Le(e){return void 0===e?null:e}function je(e,t){var r=[];if(e>0&&e<Number.MAX_VALUE)for(var n=0;n<e;n+=1)r.push(t(n));return r}function Ve(e){return e}function He(e,t,r){return void 0===r&&(r=1e-5),Math.abs(e-t)<r}function qe(e){return e}function Ue(e,t){return t}function $e(e){var t=(e||new Date).getTime()-(new Date).getTime();return t<=0?{days:0,hours:0,minutes:0}:{days:Math.floor(t/864e5),hours:Math.floor(t%864e5/36e5),minutes:Math.floor(t%36e5/6e4)}}var We=r(8384),Ge=r(2078),Ke=Object.prototype.hasOwnProperty;const Xe=function(e){if(null==e)return!0;if((0,N.A)(e)&&((0,x.A)(e)||"string"==typeof e||"function"==typeof e.splice||(0,ie.A)(e)||(0,oe.A)(e)||(0,Ge.A)(e)))return!e.length;var t=ne(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,P.A)(e))return!D(e).length;for(var r in e)if(Ke.call(e,r))return!1;return!0};function Ye(e){return Xe(e)}function Je(e){switch(typeof e){case"number":case"string":case"boolean":case"bigint":case"symbol":case"undefined":return!0;default:return!1}}function Ze(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=""),null===e?null:Object.entries(e).reduce((function(e,n){var i=n[0],o=n[1],a=r?"".concat(r,".").concat(i):i;return Array.isArray(o)?t?o.forEach((function(r,n){var i="".concat(a,".").concat(n);Je(r)||null===r?e[i]=r:Object.assign(e,Ze(r,t,i))})):e[a]=o.map((function(e){return Je(e)?e:Ze(e,t)})):Je(o)||null==o?e[a]=o:Object.assign(e,Ze(o,t,a)),e}),{})}function Qe(e,t){var r=function(e){var t=Ze(e,!0);return null===t?null:Ne(t)},n=r(e),i=r(t);return fe(n,i)}var et=r(8893);function tt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n={};return t.forEach((function(t){return n[t]=e(t)})),n}function rt(e,t){var r=[];if(!t.global)throw new Error("regular expression must have the global flag set");var n=null;do{(n=t.exec(e))&&r.push(n)}while(n&&n[0]);return r}var nt=Object.keys;function it(e){var t,r,n={};try{for(var i=(0,a.__values)(nt(e)),o=i.next();!o.done;o=i.next()){var s=o.value,l=e[s];if("function"==typeof l){var c=l;n[s]=ye(c.bind(n))}else n[s]=l}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}var ot=Object.keys,at=function(e,t){if(!e||!t||e===t)return e===t;var r=ot(e);return r.length===ot(t).length&&r.every((function(r){return t.hasOwnProperty(r)&&e[r]===t[r]}))},st=function(e,t){var r,n,i=(r=t,n=[],function(e){var t=void 0;if(n.forEach((function(r){var n=(0,a.__read)(r,2),i=n[0],o=n[1];return at(i,e)&&(t=o)})),t)return t;var i=r(e);return n.unshift([e,i]),n=n.slice(0,25),i}),o=void 0;return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=i(e.apply(void 0,(0,a.__spreadArray)([],(0,a.__read)(t),!1)));if(void 0!==o&&o!==n)if(Array.isArray(n)&&Array.isArray(o)){var s=o;if(n.length===s.length&&n.every((function(e,t){return e===s[t]})))return o}else if("object"==typeof n&&"object"==typeof o&&at(o,n))return o;return o=n,n}};function lt(e,t,r){if(0===t.length)return e;if(0===e.length)return t;for(var n=0,i=0,o=[];n<e.length&&i<t.length;)1===r(e[n],t[i])?o.push(t[i++]):o.push(e[n++]);return n===e.length&&o.push.apply(o,t.slice(i)),i===t.length&&o.push.apply(o,e.slice(n)),o}function ct(e){return new Promise((function(t,r){!function e(n,i){void 0===i&&(i=0);var o=n.condition,s=n.maxAttempts,l=n.baseIntervalInMs,c=n.additionalIntervalPerAttemptInMs;if(o())return t();if(!(++i<s))return r("".concat(s," attempts exhausted"));var u=(0,a.__assign)((0,a.__assign)({},n),{baseIntervalInMs:l+(c||0)});setTimeout((function(){return e(u,i)}),l)}(e)}))}function ut(e,t,r){return(0,a.__spreadArray)([],Array(e),!0).map((function(e,n){return(t||0)+n*(r||1)}))}function dt(e,t){var r=Te(e).sort((function(e,r){return t(e.toString()).localeCompare(t(r.toString()))})),n={};return r.forEach((function(t){n[t]=e[t]})),n}function pt(e){return"string"==typeof e}function ft(e){return e.length?e[0].toUpperCase()+e.slice(1):e}function ht(e){return e.length?e[0].toLowerCase()+e.slice(1):e}function gt(e,t){return e.slice(0,t.length)===t}function mt(e,t){return e.slice(0-t.length)===t}function vt(e,t){return e.join(t)}var yt=r(2519);function bt(e,t){var r=e.map(t);return e.filter((function(e,n){return r.indexOf(t(e))===n}))}function wt(e){return bt(e,(function(e){return e}))}function St(e,t,r,n){var i=this;return void 0===r&&(r=1),void 0===n&&(n=500),function(){return(0,a.__awaiter)(i,void 0,void 0,(function(){var i,o,s;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:i=function(e){return new Promise((function(t){return setTimeout(t,e)}))},o=r,a.label=1;case 1:a.label=2;case 2:return a.trys.push([2,4,,8]),[4,e()];case 3:return[2,a.sent()];case 4:return s=a.sent(),--o>=0?(t&&t(o+1,s),[4,i(n)]):[3,6];case 5:return a.sent(),[3,7];case 6:throw s;case 7:return[3,8];case 8:return[3,1];case 9:return[2]}}))}))}}},5854:(e,t,r)=>{"use strict";r.d(t,{m:()=>y});var n=r(1635),i=r(587),o=r(240),a=r(2517),s=r(1128),l=r(8976),c=r(5097),u=r(7012),d=r(9802),p=r(6457),f=r(3278),h=r(3210),g=r(7841),m=r(4874);class v{constructor(){}constructHubConfig(e,t,r,n,i){return(0,h.D)(t,this.isTeamsCoreSupported(e.name,n,t),n.getAppDefinition(),this.getUpdatedHostVersionsInfo(n,t,i),r)}getUpdatedHostVersionsInfo(e,t,r){var n,i,o;const a=null!==(i=null===(n=e.getAppDefinition())||void 0===n?void 0:n.appEligibilityInformation)&&void 0!==i?i:null==r?void 0:r.appEligibilityInformation;return!(0,u.EV)(e.getAppDefinition())&&a?(null===(o=t.logger)||void 0===o||o.log(s.$.Warn,"AppEligibilityInformation from host","App is not allowed to access copilot eligibility, so `hostVersionInfo.appEligibilityInformation` is removed before sending the object to teams-js."),Object.assign(Object.assign({},r),{appEligibilityInformation:void 0})):Object.assign(Object.assign({},r),{appEligibilityInformation:a})}isTeamsCoreSupported(e,t,r){return!!this.isTeamsHub(e)||this.isLifeCycleImplemented(r)&&(0,u.wr)(t.getAppDefinition())}isTeamsHub(e){return e===l.UH.teams||e===l.UH.teamsModern}isLifeCycleImplemented(e){return!!e.lifecycleService}verifyIfOriginBlocked(e,t,r){var n,i;const o=null==t?void 0:t.isOriginBlocked(new c.l(null!==(i=null===(n=e.getAppDefinition())||void 0===n?void 0:n.id)&&void 0!==i?i:""),r||[]);return t&&!(null==o?void 0:o.isOriginValid)?o:null}handleEvent(e){var t,r,l,c,u,v;return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=e.args[0],y=void 0!==e.args[1]?e.args[1]:1,b=void 0!==e.args[2]?e.args[2]:void 0,w=e.orchestratorCommandParams.appSdkHost,S=e.orchestratorCommandParams.telemetryWrapper;S.markTelemetryForAppInitializationPhases("BeginLoadToInitialized",n,e.sdkEventMessage);const C=this.verifyIfOriginBlocked(w,e.orchestratorCommandParams.originsToBlock,b);if(C)return S.isShowLoadingIndicatorEnabled&&((0,f.e5)(f.Ct.End,f.Z1.FailureMessageProcessTime),S.failAppInitializationScenario(o.Af.Validation_InvalidDomains,null==C?void 0:C.message)),S.failExtendedAppInitializationScenario(o.Af.Validation_InvalidDomains,null==C?void 0:C.message),w.setAppInitInfo({state:a.Jz.Failed,reason:o.Af.Validation_InvalidDomains,appSdkVersion:null===(t=S.telemetryService)||void 0===t?void 0:t.getAppSdkVersion()}),null===(r=e.orchestratorCommandParams.timerWrapper.timer)||void 0===r||r.clearTimer(e.sdkEventMessage),(0,g.PR)(null==C?void 0:C.message);w.setInitialized(!0);const A=w.getHubInfo(),x=this.constructHubConfig(A,e.orchestratorCommandParams.hubServices,e.orchestratorCommandParams.isNAAChannelRecommended,w,e.orchestratorCommandParams.hostVersionsInfo);let k;(null===(l=x.hostVersionsInfo)||void 0===l?void 0:l.appEligibilityInformation)&&(null===(c=x.supports.copilot)||void 0===c?void 0:c.eligibility)&&(null===(u=e.orchestratorCommandParams.hubServices.logger)||void 0===u||u.log(s.$.Warn,"AppEligibilityInformation from host","Host has provided appEligibilityInformation AND ICopilotEligibilityService. Only one of these should be provided.")),k=y<x.apiVersion?(0,h.f)(x,y):x;const E=[w.getFrameContext(),w.getHubInfo().clientType,"2.0.0",JSON.stringify(k)];return(0,f.e5)(f.Ct.End,f.Z1.InitializeMessageProcessTime),null===(v=e.orchestratorCommandParams.timerWrapper.timer)||void 0===v||v.clearTimer(e.sdkEventMessage),S.isLoadingScreenApp()?(0,m._)().handleEvent(e):(w.setAppInitInfo({state:a.Jz.Loaded,appSdkVersion:n}),S.stopAppInitializationScenario(),(0,d.eZ)().createAndSendSignalsToSubstrate&&(0,p.p)(w,e.orchestratorCommandParams.hubServices,S.telemetryService)),(0,i.X)().msg_initialize_processedSuccessfully(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId,S.isShowLoadingIndicatorEnabled),(0,g.PR)(E)}))}}function y(){return new v}},5872:(e,t,r)=>{"use strict";r.d(t,{F:()=>k});var n=r(9813),i=r(8207),o=r(90),a=r(5188),s=r(7399),l=r(9428),c=r(810),u=r(9865),d=r(2129),p=r(5239),f=r(9666),h=r(7938),g=r(7059),m=r(9454),v=r(3080),y=r(7518),b="Plugins must provide initialize method",w="_notificationManager",S="SDK is still unloading...",C={loggingLevelConsole:1};function A(e,t){return new h.NS(t)}function x(e,t){var r=!1;return(0,p.Iu)(t,(function(t){if(t===e)return r=!0,-1})),r}var k=function(){function e(){var t,r,k,E,_,I,P,T,B,D,N,R,O,z,M,F,L,j,V,H,q=0,U=!1;(0,i.A)(e,this,(function(e){function i(r){if(!q&&!U&&(r||e[a.Uw]&&e[a.Uw].queue[a.oI]>0)){var n=(0,p.SA)(t.diagnosticLogInterval);n&&n>0||(n=1e4),q=setInterval((function(){clearInterval(q),q=0,J()}),n)}return q}function $(){r=!1,t=(0,p.CP)(!0,{},C),e[a.GA]=t,e[a.Uw]=new d.wq(t),e[a.H7]=[],M=new v.l,k=[],E=null,_=null,I=null,P=null,T=null,D=null,B=[],N=null,R=null,O=null,z=!1,F=null,L=(0,c.Z)("AIBaseCore",!0),j=(0,y.P)(),H=null}function W(){var r=(0,g.i8)(X(),t,e);return r[a.by](i),r}function G(r){var n=function(e,t,r){var n,i=[],o={};return(0,p.Iu)(r,(function(r){((0,p.hX)(r)||(0,p.hX)(r[a.mE]))&&(0,p.$8)(b);var n=r[f.Vo],s=r[a.Ju];r&&n&&((0,p.hX)(o[n])?o[n]=s:(0,d.OG)(e,"Two extensions have same priority #"+n+" - "+o[n]+", "+s)),(!n||n<t)&&i[a.y5](r)})),(n={all:r})[f.eT]=i,n}(e[a.Uw],s.ic,B);D=n[f.eT],T=null;var o=n.all;if(O=(0,p.N6)((0,s.KA)(R,o,e)),N){var l=(0,p.rD)(o,N);-1!==l&&o[a.Ic](l,1),-1!==(l=(0,p.rD)(D,N))&&D[a.Ic](l,1),N._setQueue(O)}else N=(0,s.dp)(O,e);o[a.y5](N),D[a.y5](N),e[a.H7]=(0,m.Xc)(o),N[a.mE](t,e,o);var c=W();(0,m.pI)(c,o),e[a.H7]=(0,p.N6)((0,m.Xc)(D||[])).slice(),r&&function(t){var r=(0,g.nU)(X(),e);r[a.by](i),e._updateHook&&!0===e._updateHook(r,t)||r[a.$5](t)}(r)}function K(t){var r,n=null,i=null;return(0,p.Iu)(e[a.H7],(function(e){if(e[a.Ju]===t&&e!==N&&e!==M)return i=e,-1})),!i&&N&&(i=N.getChannel(t)),i&&((r={plugin:i})[a.kt]=function(e){(0,m.Cr)(i)[f.Hr]=!e},r.isEnabled=function(){var e=(0,m.Cr)(i);return!e[a.Ik]&&!e[f.Hr]},r.remove=function(e,t){var r;void 0===e&&(e=!0);var n=[i],o=((r={reason:1})[a.tI]=e,r);Y(n,o,(function(e){e&&G({reason:32,removed:n}),t&&t(e)}))},n=r),n}function X(){if(!T){var r=(D||[]).slice();-1===(0,p.rD)(r,M)&&r[a.y5](M),T=(0,g.PV)((0,m.Xc)(r),t,e)}return T}function Y(r,n,o){if(r&&r[a.oI]>0){var s=(0,g.PV)(r,t,e),l=(0,g.tS)(s,e);l[a.by]((function(){var e=!1,t=[];(0,p.Iu)(B,(function(n,i){x(n,r)?e=!0:t[a.y5](n)})),B=t;var n=[];R&&((0,p.Iu)(R,(function(t,i){var o=[];(0,p.Iu)(t,(function(t){x(t,r)?e=!0:o[a.y5](t)})),n[a.y5](o)})),R=n),o&&o(e),i()})),l[a.$5](n)}else o(!1)}function J(){if(e[a.Uw]&&e[a.Uw].queue){var r=e[a.Uw].queue.slice(0);e[a.Uw].queue[a.oI]=0,(0,p.Iu)(r,(function(r){var n,i=((n={})[a.RS]=F||"InternalMessageId: "+r[a.JR],n.iKey=(0,p.SA)(t[a.sl]),n.time=(0,p._u)(new Date),n.baseType=d.WD.dataType,n.baseData={message:r[a.pM]},n);e.track(i)}))}}function Z(e,t,r,n){return N?N[a.EX](e,t,r||6,n):(t&&t(!1),!0)}function Q(t){var r=e[a.Uw];r?((0,d.ZP)(r,2,73,t),i()):(0,p.$8)(t)}$(),e[a.tZ]=function(){return r},e[a.mE]=function(i,o,s,l){var c,d;z&&(0,p.$8)(S),e[a.tZ]()&&(0,p.$8)("Core should not be initialized more than once"),t=i||{},e[a.GA]=t,(0,p.hX)(i[a.sl])&&(0,p.$8)("Please provide instrumentation key"),E=l,e[w]=l,!0===(d=(0,p.SA)(t.disableDbgExt))&&V&&(E[a.TP](V),V=null),E&&!V&&!0!==d&&(V=(0,u.M)(t),E[a.vR](V)),!(c=(0,p.SA)(t.enablePerfMgr))&&I&&(I=null),c&&(0,p.c2)(t,f.Yd,A),(0,p.c2)(t,f.Bw,{}).NotificationManager=E,s&&(e[a.Uw]=s);var h=(0,p.c2)(t,f.jy,[]);(B=[])[a.y5].apply(B,(0,n.vz)((0,n.vz)([],o,!1),h,!1)),R=(0,p.c2)(t,f.LZ,[]),G(null),O&&0!==O[a.oI]||(0,p.$8)("No "+f.LZ+" available"),r=!0,e.releaseQueue()},e.getTransmissionControls=function(){var e=[];return O&&(0,p.Iu)(O,(function(t){e[a.y5](t.queue)})),(0,p.N6)(e)},e.track=function(r){r.iKey=r.iKey||t[a.sl],r[a.fA]=r[a.fA]||(0,p._u)(new Date),r.ver=r.ver||"4.0",!z&&e[a.tZ]()?W()[a.$5](r):k[a.y5](r)},e[a.ps]=W,e[a.RF]=function(){var t;return E||(E=(0,o.AQ)(((t={})[a.vR]=function(e){},t[a.TP]=function(e){},t[f.fc]=function(e){},t[f.Yp]=function(e,t){},t[f.dI]=function(e,t){},t)),e[w]=E),E},e[a.vR]=function(e){E&&E[a.vR](e)},e[a.TP]=function(e){E&&E[a.TP](e)},e.getCookieMgr=function(){return P||(P=(0,l.xN)(t,e[a.Uw])),P},e.setCookieMgr=function(e){P=e},e[f.kI]=function(){if(!_&&!I&&(0,p.SA)(t.enablePerfMgr)){var r=(0,p.SA)(t[f.Yd]);(0,p.Tn)(r)&&(I=r(e,e[a.RF]()))}return _||I||(0,h.Z4)()},e.setPerfMgr=function(e){_=e},e.eventCnt=function(){return k[a.oI]},e.releaseQueue=function(){if(r&&k[a.oI]>0){var e=k;k=[],(0,p.Iu)(e,(function(e){W()[a.$5](e)}))}},e.pollInternalLogs=function(e){return F=e||null,U=!1,q&&(clearInterval(q),q=null),i(!0)},e[a.Di]=function(){U=!0,q&&(clearInterval(q),q=0,J())},(0,p.o$)(e,(function(){return M}),["addTelemetryInitializer"]),e.unload=function(t,n,i){var o;void 0===t&&(t=!0),r||(0,p.$8)("SDK is not initialized"),z&&(0,p.$8)(S);var s=((o={reason:50})[a.tI]=t,o.flushComplete=!1,o),l=(0,g.tS)(X(),e);function c(t){s.flushComplete=t,z=!0,j.run(l,s),e[a.Di](),l[a.$5](s)}l[a.by]((function(){$(),n&&n(s)}),e),J(),Z(t,c,6,i)||c(!1)},e[a.AP]=K,e.addPlugin=function(e,t,r,n){if(!e)return n&&n(!1),void Q(b);var i=K(e[a.Ju]);if(i&&!t)return n&&n(!1),void Q("Plugin ["+e[a.Ju]+"] is already loaded!");var o={reason:16};function s(t){B[a.y5](e),o.added=[e],G(o),n&&n(!0)}if(i){var l=[i.plugin];Y(l,{reason:2,isAsync:!!r},(function(e){e?(o.removed=l,o.reason|=32,s()):n&&n(!1)}))}else s()},e.evtNamespace=function(){return L},e[a.EX]=Z,e.getTraceCtx=function(e){return H||(H=(0,m.u7)()),H},e.setTraceCtx=function(e){H=e||null},(0,p.RF)(e,"addUnloadCb",(function(){return j}),"add")}))}return e.__ieDyn=1,e}()},5915:(e,t,r)=>{"use strict";r.d(t,{z:()=>s});var n=r(1635),i=r(7012),o=r(7841);class a{constructor(){}handleEvent(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const t=e.orchestratorCommandParams.appSdkHost,r=e.orchestratorCommandParams.appDefinition,n=(0,i.ut)(yield t.getAppContext(),r);return(0,o.PR)(n)}))}}function s(){return new a}},5923:(e,t,r)=>{"use strict";const n=r(2306);e.exports=(e,t,r)=>{const i=new n(e,r),o=new n(t,r);return i.compare(o)||i.compareBuild(o)}},5935:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(2977),i=r(7554),o=r(8214),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=r(7476),l="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=l&&"object"==typeof module&&module&&!module.nodeType&&module,u=c&&c.exports===l&&s.A.process,d=function(){try{return c&&c.require&&c.require("util").types||u&&u.binding&&u.binding("util")}catch(e){}}(),p=d&&d.isTypedArray;const f=p?(h=p,function(e){return h(e)}):function(e){return(0,o.A)(e)&&(0,i.A)(e.length)&&!!a[(0,n.A)(e)]};var h},5943:(e,t,r)=>{"use strict";r.d(t,{n:()=>a});var n=r(717),i=r(3811),o=r(8378);function a(e){var t=i.nr.getInstance(),r=(0,o.bz)((0,n.Iy)(),e);if(!t.classNameFromKey(r)){var a=t.getClassName();t.insertRule("@font-face{".concat(r,"}"),!0),t.cacheClassName(a,r,[],["font-face",r])}}},5946:e=>{"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))r.call(o,c)&&(s[c]=o[c]);if(t){a=t(o);for(var u=0;u<a.length;u++)n.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s}},5969:(e,t,r)=>{"use strict";const n=r(3682);e.exports=(e,t)=>n(e,t,!0)},6036:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(6186),i=r.n(n),o=r(2155),a=r.n(o),s=r(7433),l=r.n(s),c=r(8626),u=r.n(c),d=r(8990),p=r.n(d),f=r(9827),h=r.n(f),g=r(4701),m={};m.styleTagTransform=h(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.A,m);const v=g.A&&g.A.locals?g.A.locals:void 0},6064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4674),i=r(547);t.default=function(e,t,r){var o=(e=e?1==e.nodeType?e:e.parentNode:null)&&1==e.nodeType?e:null;if(o&&r)if(o.closest)o=o.closest(r);else for(;o&&o!=t&&!(0,i.default)(o,r);)o=o.parentElement;return!t||(0,n.default)(t,o)?o:null}},6067:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},6094:(e,t,r)=>{"use strict";r.d(t,{Il:()=>i,KJ:()=>a,Q7:()=>n,ay:()=>l,rh:()=>s,xr:()=>o});var n,i,o,a,s,l,c=r(3986);!function(e){e.getFields=function(e,t){var r=[];return r.push((0,c.Ug)("".concat(e,".Code"),t.code)),void 0!==t.type&&r.push((0,c.m9)("".concat(e,".Type"),t.type)),void 0!==t.tag&&r.push((0,c.Ug)("".concat(e,".Tag"),t.tag)),void 0!==t.isExpected&&r.push((0,c.LK)("".concat(e,".IsExpected"),t.isExpected)),r.push((0,c.m9)("zC.Activity.Result","Office.System.Result")),r}}(n||(n={})),function(e){e.contractName="Office.System.Activity",e.getFields=function(t){var r="Activity",i=[];return void 0!==t.cV&&i.push((0,c.m9)("".concat(r,".CV"),t.cV)),i.push((0,c.Ug)("".concat(r,".Duration"),t.duration)),i.push((0,c.Ug)("".concat(r,".Count"),t.count)),i.push((0,c.Ug)("".concat(r,".AggMode"),t.aggMode)),void 0!==t.success&&i.push((0,c.LK)("".concat(r,".Success"),t.success)),void 0!==t.result&&i.push.apply(i,n.getFields("".concat(r,".Result"),t.result)),i.push((0,c.m9)("zC.Activity",e.contractName)),i}}(i||(i={})),function(e){e.getFields=function(e,t){var r=[];return void 0!==t.id&&r.push((0,c.m9)("".concat(e,".Id"),t.id)),void 0!==t.version&&r.push((0,c.m9)("".concat(e,".Version"),t.version)),void 0!==t.sessionId&&r.push((0,c.m9)("".concat(e,".SessionId"),t.sessionId)),r}}(o||(o={})),function(e){e.getFields=function(e,t){var r=[];return void 0!==t.alias&&r.push((0,c.m9)("".concat(e,".Alias"),t.alias)),void 0!==t.primaryIdentityHash&&r.push((0,c.m9)("".concat(e,".PrimaryIdentityHash"),t.primaryIdentityHash)),void 0!==t.primaryIdentitySpace&&r.push((0,c.m9)("".concat(e,".PrimaryIdentitySpace"),t.primaryIdentitySpace)),void 0!==t.tenantId&&r.push((0,c.m9)("".concat(e,".TenantId"),t.tenantId)),void 0!==t.tenantGroup&&r.push((0,c.m9)("".concat(e,".TenantGroup"),t.tenantGroup)),void 0!==t.isAnonymous&&r.push((0,c.LK)("".concat(e,".IsAnonymous"),t.isAnonymous)),r}}(a||(a={})),function(e){e.getFields=function(e,t){var r=[];return void 0!==t.name&&r.push((0,c.m9)("".concat(e,".Name"),t.name)),void 0!==t.state&&r.push((0,c.m9)("".concat(e,".State"),t.state)),r}}(s||(s={})),function(e){e.getFields=function(e,t){var r=[];return void 0!==t.id&&r.push((0,c.Ug)("".concat(e,".Id"),t.id)),void 0!==t.name&&r.push((0,c.m9)("".concat(e,".Name"),t.name)),void 0!==t.commandSurface&&r.push((0,c.m9)("".concat(e,".CommandSurface"),t.commandSurface)),void 0!==t.parentName&&r.push((0,c.m9)("".concat(e,".ParentName"),t.parentName)),void 0!==t.triggerMethod&&r.push((0,c.m9)("".concat(e,".TriggerMethod"),t.triggerMethod)),void 0!==t.timeOffsetMs&&r.push((0,c.Ug)("".concat(e,".TimeOffsetMs"),t.timeOffsetMs)),r}}(l||(l={}))},6098:(e,t,r)=>{"use strict";r.d(t,{i:()=>a});var n=r(717),i=r(3811),o=r(8378);function a(e){var t=i.nr.getInstance(),r=[];for(var a in e)e.hasOwnProperty(a)&&r.push(a,"{",(0,o.bz)((0,n.Iy)(),e[a]),"}");var s=r.join(""),l=t.classNameFromKey(s);if(l)return l;var c=t.getClassName();return t.insertRule("@keyframes ".concat(c,"{").concat(s,"}"),!0),t.cacheClassName(c,s,[],["keyframes",s]),c}},6118:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(8377);var i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===i?n.A.Buffer:void 0;const s=(a?a.isBuffer:void 0)||function(){return!1}},6140:(e,t,r)=>{"use strict";function n(e){}r.d(t,{C:()=>n}),r(7810)},6160:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5826);var i=r(6787),o=r(8412);function a(e){var t=this.__data__=new n.A(e);this.size=t.size}a.prototype.clear=function(){this.__data__=new n.A,this.size=0},a.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},a.prototype.get=function(e){return this.__data__.get(e)},a.prototype.has=function(e){return this.__data__.has(e)},a.prototype.set=function(e,t){var r=this.__data__;if(r instanceof n.A){var a=r.__data__;if(!i.A||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new o.A(a)}return r.set(e,t),this.size=r.size,this};const s=a},6172:(e,t,r)=>{"use strict";r.d(t,{A:()=>x});var n=r(9813),i=r(8207),o=r(5356),a=r(7471),s=r(9577),l=r(5239),c=r(2771),u=r(8374),d=r(7938),p=r(2129),f=r(810),h=r(2307),g=r(2413),m=r(5170),v=r(1279),y=r(9973),b=r(6987),w="eventsDiscarded",S="overrideInstrumentationKey",C="maxEventRetryAttempts",A="maxUnloadEventRetryAttempts";const x=function(e){function t(){var r,n=e.call(this)||this;n.identifier="PostChannel",n.priority=1011,n.version="3.2.18";var a,x,k,E,_,I,P,T=!1,B=[],D=null,N=!1,R=0,O=500,z=0,M=1e4,F={},L=h.z3,j=null,V=null,H=0,q=0,U={},$=-1,W=!0,G=!1,K=6,X=2;return(0,i.A)(t,n,(function(e,t){function n(e){"beforeunload"!==(e||(0,u.zk)().event).type&&(G=!0,x.setUnloading(G)),ne(2,2)}function i(e){G=!1,x.setUnloading(G)}function Y(e,t){if(e.sendAttempt||(e.sendAttempt=0),e.latency||(e.latency=1),e.ext&&e.ext[v.VH]&&delete e.ext[v.VH],e.ext&&e.ext[v.Kp]&&e.ext[v.Kp].id&&delete e.ext[v.Kp].id,W&&(s.u9,e.ext=(0,l.hW)(e.ext),e.baseData&&(e.baseData=(0,l.hW)(e.baseData)),e.data&&(e.data=(0,l.hW)(e.data))),e.sync)if(H||N)e.latency=3,e.sync=!1;else if(x)return W&&(e=(0,l.hW)(e)),void x.sendSynchronousBatch(g.n.create(e.iKey,[e]),!0===e.sync?1:e.sync,3);var r=e.latency,n=z,i=M;4===r&&(n=R,i=O);var a=!1;if(n<i)a=!ae(e,t);else{var c=1,u=20;4===r&&(c=4,u=1),a=!0,function(e,t,r,n){for(;r<=t;){var i=ie(e,t,!0);if(i&&i.count()>0){var a=i.split(0,n),s=a.count();if(s>0)return 4===r?R-=s:z-=s,ge(w,[a],o.x.QueueFull),!0}r++}return se(),!1}(e.iKey,e.latency,c,u)&&(a=!ae(e,t))}a&&he(w,[e],o.x.QueueFull)}function J(e,t,r){var n=le(e,t,r);return x.sendQueuedRequests(t,r),n}function Z(){return z>0}function Q(){if($>=0&&le($,0,_)&&x.sendQueuedRequests(0,_),R>0&&!V&&!N){var e=F[L][2];e>=0&&(V=te((function(){V=null,J(4,0,1),Q()}),e))}var t=F[L][1];!j&&!D&&t>=0&&!N&&(Z()?j=te((function(){j=null,J(0===q?3:1,0,1),q++,q%=2,Q()}),t):q=0)}function ee(){r=null,T=!1,B=[],D=null,N=!1,R=0,O=500,z=0,M=1e4,F={},L=h.z3,j=null,V=null,H=0,q=0,a=null,U={},k=void 0,E=0,$=-1,_=null,W=!0,G=!1,K=6,X=2,I=null,P=(0,b.D_)(),x=new m.m(500,2,1,{requeue:pe,send:me,sent:ve,drop:ye,rspFail:be,oth:we},P),de(),U[4]={batches:[],iKeyMap:{}},U[3]={batches:[],iKeyMap:{}},U[2]={batches:[],iKeyMap:{}},U[1]={batches:[],iKeyMap:{}},Se()}function te(e,t){0===t&&H&&(t=1);var r=1e3;return H&&(r=(0,y.L)(H-1)),P.set(e,t*r)}function re(){return null!==j&&(P.clear(j),j=null,q=0,!0)}function ne(e,t){re(),D&&(P.clear(D),D=null),N||J(1,e,t)}function ie(e,t,r){var n=U[t];n||(n=U[t=1]);var i=n.iKeyMap[e];return!i&&r&&(i=g.n.create(e),n.batches.push(i),n.iKeyMap[e]=i),i}function oe(t,r){x.canSendRequest()&&!H&&(k>0&&z>k&&(r=!0),r&&null==D&&e.flush(t,null,20))}function ae(e,t){W&&(e=(0,l.hW)(e));var r=e.latency,n=ie(e.iKey,r,!0);return!!n.addEvent(e)&&(4!==r?(z++,t&&0===e.sendAttempt&&oe(!e.sync,E>0&&n.count()>=E)):R++,!0)}function se(){for(var e=0,t=0,r=function(r){var n=U[r];n&&n.batches&&(0,l.Iu)(n.batches,(function(n){4===r?e+=n.count():t+=n.count()}))},n=1;n<=4;n++)r(n);z=t,R=e}function le(t,r,n){var i=!1,a=0===r;return!a||x.canSendRequest()?(0,d.r2)(e.core,(function(){return"PostChannel._queueBatches"}),(function(){for(var e=[],r=4;r>=t;){var n=U[r];n&&n.batches&&n.batches.length>0&&((0,l.Iu)(n.batches,(function(t){x.addBatch(t)?i=i||t&&t.count()>0:e=e.concat(t.events()),4===r?R-=t.count():z-=t.count()})),n.batches=[],n.iKeyMap={}),r--}e.length>0&&he(w,e,o.x.KillSwitch),i&&$>=t&&($=-1,_=0)}),(function(){return{latency:t,sendType:r,sendReason:n}}),!a):($=$>=0?Math.min($,t):t,_=Math.max(_,n)),i}function ce(e,t){J(1,0,t),se(),ue((function(){e&&e(),B.length>0?D=te((function(){D=null,ce(B.shift(),t)}),0):(D=null,Q())}))}function ue(e){x.isCompletelyIdle()?e():D=te((function(){D=null,ue(e)}),.25)}function de(){(F={})[h.z3]=[2,1,0],F[h.RI]=[6,3,0],F[h.ev]=[18,9,0]}function pe(t,r){var n=[],i=K;G&&(i=X),(0,l.Iu)(t,(function(t){t&&t.count()>0&&(0,l.Iu)(t.events(),(function(t){t&&(t.sync&&(t.latency=4,t.sync=!1),t.sendAttempt<i?((0,s.u9)(t,e.identifier),Y(t,!1)):n.push(t))}))})),n.length>0&&he(w,n,o.x.NonRetryableStatus),G&&ne(2,2)}function fe(t,r){var n=e._notificationManager||{},i=n[t];if(i)try{i.apply(n,r)}catch(r){(0,p.ZP)(e.diagLog(),1,74,t+" notification failed: "+r)}}function he(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];t&&t.length>0&&fe(e,[t].concat(r))}function ge(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];t&&t.length>0&&(0,l.Iu)(t,(function(t){t&&t.count()>0&&fe(e,[t.events()].concat(r))}))}function me(e,t,r){e&&e.length>0&&fe("eventsSendRequest",[t>=1e3&&t<=1999?t-1e3:0,!0!==r])}function ve(e,t){ge("eventsSent",e,t),Q()}function ye(e,t){ge(w,e,t>=8e3&&t<=8999?t-8e3:o.x.Unknown)}function be(e){ge(w,e,o.x.NonRetryableStatus),Q()}function we(e,t){ge(w,e,o.x.Unknown),Q()}function Se(){E=r&&r.disableAutoBatchFlushLimit?0:Math.max(1500,M/6)}ee(),e._getDbgPlgTargets=function(){return[x]},e.initialize=function(o,u,p){(0,d.r2)(u,(function(){return"PostChannel:initialize"}),(function(){var d=u;t.initialize(o,u,p);try{u.addUnloadCb,I=(0,c.Hm)((0,f.Z)(e.identifier),u.evtNamespace&&u.evtNamespace());var h=e._getTelCtx();o.extensionConfig[e.identifier]=o.extensionConfig[e.identifier]||{},r=h.getExtCfg(e.identifier),P=(0,b.D_)(r.setTimeoutOverride,r.clearTimeoutOverride),W=!r.disableOptimizeObj&&(0,s.F2)(),function(e){var t=e.getWParam;e.getWParam=function(){var e=0;return r.ignoreMc1Ms0CookieProcessing&&(e|=2),e|t()}}(d),r.eventsLimitInMem>0&&(M=r.eventsLimitInMem),r.immediateEventLimit>0&&(O=r.immediateEventLimit),r.autoFlushEventsLimit>0&&(k=r.autoFlushEventsLimit),(0,l.Et)(r[C])&&(K=r[C]),(0,l.Et)(r[A])&&(X=r[A]),Se(),r.httpXHROverride&&r.httpXHROverride.sendPOST&&(a=r.httpXHROverride),(0,s.yD)(o.anonCookieName)&&x.addQueryStringParameter("anoncknm",o.anonCookieName),x.sendHook=r.payloadPreprocessor,x.sendListener=r.payloadListener;var g=r.overrideEndpointUrl?r.overrideEndpointUrl:o.endpointUrl;e._notificationManager=u.getNotifyMgr(),x.initialize(g,e.core,e,a,r);var m=o.disablePageUnloadEvents||[];(0,c.ee)(n,m,I),(0,c.Fc)(n,m,I),(0,c.oS)(i,o.disablePageShowEvents,I)}catch(t){throw e.setInitialized(!1),t}}),(function(){return{coreConfig:o,core:u,extensions:p}}))},e.processTelemetry=function(t,n){(0,s.u9)(t,e.identifier);var i=(n=e._getTelCtx(n)).getExtCfg(e.identifier),o=!!r.disableTelemetry;i&&(o=o||!!i.disableTelemetry);var a=t;o||T||(r[S]&&(a.iKey=r[S]),i&&i[S]&&(a.iKey=i[S]),Y(a,!0),G?ne(2,2):Q()),e.processNext(a,n)},e._doTeardown=function(e,t){ne(2,2),T=!0,x.teardown(),(0,c.Ds)(null,I),(0,c.sq)(null,I),(0,c.vF)(null,I),ee()},e.setEventQueueLimits=function(e,t){M=e>0?e:1e4,k=t>0?t:0,Se();var r=z>e;if(!r&&E>0)for(var n=1;!r&&n<=3;n++){var i=U[n];i&&i.batches&&(0,l.Iu)(i.batches,(function(e){e&&e.count()>=E&&(r=!0)}))}oe(!0,r)},e.pause=function(){re(),N=!0,x.pause()},e.resume=function(){N=!1,x.resume(),Q()},e.addResponseHandler=function(e){x._responseHandlers.push(e)},e._loadTransmitProfiles=function(e){re(),de(),L=h.z3,Q(),(0,l.z)(e,(function(e,t){var r=t.length;if(r>=2){var n=r>2?t[2]:0;if(t.splice(0,r-2),t[1]<0&&(t[0]=-1),t[1]>0&&t[0]>0){var i=t[0]/t[1];t[0]=Math.ceil(i)*t[1]}n>=0&&t[1]>=0&&n>t[1]&&(n=t[1]),t.push(n),F[e]=t}}))},e.flush=function(e,t,r){if(void 0===e&&(e=!0),!N)if(r=r||1,e)null==D?(re(),le(1,0,r),D=te((function(){D=null,ce(t,r)}),0)):B.push(t);else{var n=re();J(1,1,r),null!=t&&t(),n&&Q()}},e.setMsaAuthTicket=function(e){x.addHeader(v._s,e)},e.hasEvents=Z,e._setTransmitProfile=function(e){L!==e&&void 0!==F[e]&&(re(),L=e,Q())},e._backOffTransmission=function(){H<4&&(H++,re(),Q())},e._clearBackOff=function(){H&&(H=0,re(),Q())},(0,l.r)(e,"_setTimeoutOverride",(function(){return P.set}),(function(e){P=(0,b.D_)(e,P.clear)})),(0,l.r)(e,"_clearTimeoutOverride",(function(){return P.clear}),(function(e){P=(0,b.D_)(P.set,e)}))})),n}return(0,n.qU)(t,e),t.__ieDyn=1,t}(a.s)},6186:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=r(d),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var h=i(f,n);n.byIndex=s,t.splice(s,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function i(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,i){var o=n(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=r(o[a]);t[s].references--}for(var l=n(e,i),c=0;c<o.length;c++){var u=r(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},6193:(e,t,r)=>{"use strict";r.d(t,{M:()=>c});var n=r(1635),i=r(9675),o=r(9953),a=r(4150),s=r(2081),l=r(5797),c=function(e){function t(t,r,n){var i=e.call(this,t,r,n)||this;return i.baseCv=(0,l.N)(),i}return(0,n.__extends)(t,e),t.prototype.createActivity=function(e){return(0,o.E)({sendTelemetryEvent:this.sendTelemetryEvent.bind(this),telemetryEvent:e,parentCv:this.baseCv})},t.prototype.sendActivity=function(e,t,r,n){return this.sendTelemetryEvent({eventName:e,eventContract:{name:s.Il.contractName,dataFields:s.Il.getFields(t)},dataFields:r,eventFlags:n})},t.prototype.sendError=function(e){var t=a.$.getFields(e.error);return null!=e.dataFields&&t.push.apply(t,e.dataFields),this.sendTelemetryEvent({eventName:e.eventName,dataFields:t,eventFlags:e.eventFlags})},t.prototype.createCustomerContentActivity=function(e){return(0,o.E)({sendTelemetryEvent:this.sendCustomerContent.bind(this),telemetryEvent:e,parentCv:this.baseCv})},t}(i.GV)},6227:(e,t,r)=>{"use strict";r.d(t,{T:()=>o});var n=r(1635),i=r(1873);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!(0,i.db)(e[0]))return e[0];for(var r={},a={},s=0,l=e;s<l.length;s++){var c=l[s];if(c&&!(0,i.db)(c))for(var u in c)if(c.hasOwnProperty(u)){if("subComponentStyles"===u&&void 0!==c.subComponentStyles){var d=c.subComponentStyles;for(var p in d)d.hasOwnProperty(p)&&(a.hasOwnProperty(p)?a[p].push(d[p]):a[p]=[d[p]]);continue}var f=r[u],h=c[u];r[u]=void 0===f?h:(0,n.__spreadArray)((0,n.__spreadArray)([],Array.isArray(f)?f:[f],!0),Array.isArray(h)?h:[h],!0)}}if(Object.keys(a).length>0){r.subComponentStyles={};var g=r.subComponentStyles,m=function(e){if(a.hasOwnProperty(e)){var t=a[e];g[e]=function(e){return o.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var p in a)m(p)}return r}},6231:(e,t,r)=>{"use strict";const n=r(2306);e.exports=(e,t)=>new n(e,t).patch},6286:e=>{"use strict";const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},6305:(e,t,r)=>{"use strict";r.d(t,{G:()=>i,S:()=>o});var n=r(669);function i(e){var t=null;try{var r=(0,n.z)();t=r?r.sessionStorage.getItem(e):null}catch(e){}return t}function o(e,t){var r;try{null===(r=(0,n.z)())||void 0===r||r.sessionStorage.setItem(e,t)}catch(e){}}},6307:(e,t,r)=>{"use strict";function n(e,t,r=""){return{[`shadow2${r}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${r}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${r}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${r}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${r}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${r}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}r.d(t,{t:()=>n})},6314:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(2081),i=r(5564),o=r(9675),a=r(9357),s=r(3452),l=function(e,t){var r=this;this.eventsProcessed=0,this.eventsSent=0,this.eventsDiscarded=0;var l=[],c=!1,u=!0,d={name:"DiagnosticLevel",processEvent:function(e){var t=e.eventFlags.diagnosticLevel;return c||10===t||110===t||120===t}},p={},f=(0,s.aq)();this.init=function(e){return(0,a.h5)(p,!1)},this.begin=function(){return u=u&&(0,a.h5)(p,!0)},this.getOneDSTelemetryEvent=function(e){return h(e,{eventType:1})},this.getOneDSCustomerContent=function(e){var t=e.telemetryProperties.customerContentVersion;if(t&&Math.floor(t)<=2&&1===e.telemetryProperties.customerContentType)return h(e,{eventType:2})};var h=function(e,t){if(u){var n=(0,o.EY)(e);if((0,a.nv)(n,l)){var s=(0,a.lg)(n).toISOString(),c={"Event.Name":n.eventName,"Event.Source":"OTelJS","Event.Time":{value:s,propertyType:9}};for(var d in r.eventsProcessed++,c["Event.Sequence"]={value:r.eventsProcessed,propertyType:4},c["Event.Id"]=f+"."+r.eventsProcessed,p)c[d]=p[d];if(!(0,a.OI)(c,n.dataFields,!0,t.eventType))return void(0,i.wC)(0,1,(function(){return"Dropping Event: "+n.eventName}));var h="custom";n.eventContract&&(n.eventContract.name&&(c["Event.Contract"]=n.eventContract.name,h+="."+n.eventContract.name.toLowerCase().replace(/\./g,"_")),(0,a.OI)(c,n.eventContract.dataFields,!1,t.eventType));var g=function(e,t){return 2===t?a.su:e.telemetryProperties&&(1!==t||e.telemetryProperties.ariaTenantToken)?1===t?e.telemetryProperties.ariaTenantToken:void 0:void(0,i.wC)(0,1,(function(){return"Missing Aria Token"}))}(n,t.eventType);if(!g)return;return{iKey:g,name:n.eventName,data:c,time:s,baseType:h,ext:{sdk:{seq:r.eventsProcessed}}}}}};this.addPreprocessor=function(e){l.push(e)},this.getOneDSPersistentDataFields=function(){return p},this.getPreprocessors=function(){return l};var g=function(e){(0,a.OI)(p,e,!1,1)};this.addPersistentDataFields=g,this.setOptionalEventsEnabled=function(e){c=e},this.setFullEventsEnabled=this.setOptionalEventsEnabled,t.enableOptionalEvents&&(c=!0),g(e);var m=t.coreFields;if(m){g(n.qw.getFields(m.app)),g(n.KJ.getFields(m.user)),g(n.Nn.getFields(m.session));var v=m.release;v&&g(n.Kz.getFields(v))}this.addPreprocessor(d)}},6338:(e,t,r)=>{"use strict";var n=r(1635),i=r(3695),o=r(9173),a=r(5501),s=r(2600),l=r(4417),c=r(3510),u=r(9328),d=r(4285),p=r(3656),f=r(4564),h=r(2296),g=r(9018),m=function(){function e(e){e=e||{},this.elementCallbacks=(0,f.cloneObject)(e.elementCallbacks),this.styleCallbacks=(0,g.getStyleCallbacks)(e.cssStyleCallbacks),this.attributeCallbacks=(0,f.cloneObject)(e.attributeCallbacks),this.tagReplacements=(0,g.getTagReplacement)(e.additionalTagReplacements),this.allowedAttributes=(0,g.getAllowedAttributes)(e.additionalAllowedAttributes),this.allowedCssClassesRegex=(0,g.getAllowedCssClassesRegex)(e.additionalAllowedCssClasses),this.defaultStyleValues=(0,g.getDefaultStyleValues)(e.additionalDefaultStyleValues),this.additionalPredefinedCssForElement=e.additionalPredefinedCssForElement||null,this.additionalGlobalStyleNodes=e.additionalGlobalStyleNodes||[],this.preserveHtmlComments=e.preserveHtmlComments||!1,this.unknownTagReplacement=e.unknownTagReplacement||null}return e.convertInlineCss=function(t,r){return new e({additionalGlobalStyleNodes:r}).exec(t,!0)},e.sanitizeHtml=function(t,r){var n=new e(r=r||{}),i=(0,u.default)(r.currentElementOrStyle,"HTMLElement")?(0,o.default)(r.currentElementOrStyle):r.currentElementOrStyle;return n.exec(t,r.convertCssOnly,i)},e.prototype.exec=function(e,t,r){var n=(new DOMParser).parseFromString(e||"","text/html");return n&&n.body&&n.body.firstChild&&(this.convertGlobalCssToInlineCss(n),t||this.sanitize(n.body,r)),n&&n.body&&n.body.innerHTML||""},e.prototype.splitSelectors=function(e){return e.split(/(?![^(]*\)),/).map((function(e){return e.trim()}))},e.prototype.sanitize=function(e,t){if(!e)return"";t=(0,f.cloneObject)(t,(0,o.default)(null)),this.processNode(e,t,{})},e.prototype.convertGlobalCssToInlineCss=function(e){var t,r,i=(0,p.default)(e.querySelectorAll("style")),o=this.additionalGlobalStyleNodes.reverse().map((function(e){return e.sheet})).concat(i.map((function(e){return e.sheet})).reverse()).filter((function(e){return e}));try{for(var a=(0,n.__values)(o),s=a.next();!s.done;s=a.next())for(var l=s.value,c=function(t){var r,i,o=l.cssRules[t],a=o&&o.style?o.style.cssText:null;if(o.type!=CSSRule.STYLE_RULE||!a||!o.selectorText)return"continue";try{for(var s=(r=void 0,(0,n.__values)(u.splitSelectors(o.selectorText))),c=s.next();!c.done;c=s.next()){var d=c.value;d&&d.trim()&&(0,p.default)(e.querySelectorAll(d)).forEach((function(e){return e.setAttribute("style",a+(e.getAttribute("style")||""))}))}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}},u=this,d=l.cssRules.length-1;d>=0;d--)c(d)}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}i.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))},e.prototype.processNode=function(e,t,r){var n,o=e.nodeType,a=1==o,s=3==o,l=11==o,u=8==o,d=!1;if(a){var p=(0,c.default)(e),h=this.elementCallbacks[p],g=this.tagReplacements[p.toLowerCase()];void 0===g&&(g=this.unknownTagReplacement),h?d=h(e,r):p.indexOf(":")>0||p==g||"*"==g?d=!0:g&&/^[a-zA-Z][\w\-]*$/.test(g)&&(e=(0,i.default)(e,g),d=!0)}else if(s){var m=t["white-space"];d="pre"==m||"pre-line"==m||"pre-wrap"==m||!/^[\r\n]*$/g.test(e.nodeValue||"")}else d=!!l||!!u&&this.preserveHtmlComments;if(d)if(!s||"pre"!=t["white-space"]&&"pre-wrap"!=t["white-space"]){if(a||l){var v=(0,f.cloneObject)(t),y=e;a&&(this.processAttributes(y,r),this.preprocessCss(y,v),this.processCss(y,v,r));for(var b=y.firstChild,w=void 0;b;b=w)w=b.nextSibling,this.processNode(b,v,r)}}else e.nodeValue=(e.nodeValue||"").replace(/^ /gm," ").replace(/ {2}/g,"  ");else null===(n=e.parentNode)||void 0===n||n.removeChild(e)},e.prototype.preprocessCss=function(e,t){var r=(0,s.default)(e,this.additionalPredefinedCssForElement);r&&(0,a.default)(r).forEach((function(e){t[e]=r[e]}))},e.prototype.processCss=function(e,t,r){var n=this,i=(0,l.default)(e);(0,a.default)(i).forEach((function(o){var a=i[o],s=n.styleCallbacks[o],l=null!=t[o],c=!0;c&&s&&(c=s(a,e,t,r)),c&&(0,h.isCssVariable)(a)&&(c=!!(a=(0,h.processCssVariable)(a))),(c=c&&"inherit"!=a&&a.indexOf("expression")<0&&"-"!=o.substr(0,1)&&n.defaultStyleValues[o]!=a&&(l&&a!=t[o]||!l&&"initial"!=a&&"normal"!=a))&&l&&(t[o]=a),c?i[o]=a:delete i[o]})),(0,d.default)(e,i)},e.prototype.processAttributes=function(e,t){for(var r=e.attributes.length-1;r>=0;r--){var n=e.attributes[r],i=n.name.toLowerCase().trim(),o=n.value,a=this.attributeCallbacks[i],s=a?a(o,e,t):this.allowedAttributes.indexOf(i)>=0||0==i.indexOf("data-")?o:null;"class"==i&&this.allowedCssClassesRegex&&(s=this.processCssClass(o,s)),null==s||s.match(/s\n*c\n*r\n*i\n*p\n*t\n*:/i)?e.removeAttribute(i):n.value=s}},e.prototype.processCssClass=function(e,t){var r=this,n=e?e.split(" "):[],i=t?t.split(" "):[];return n.forEach((function(e){var t;(null===(t=r.allowedCssClassesRegex)||void 0===t?void 0:t.test(e))&&i.indexOf(e)<0&&i.push(e)})),(null==i?void 0:i.length)>0?i.join(" "):null},e}();t.A=m},6345:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.AdaptiveApplet=void 0;var o=r(1050),a=r(345),s=r(3771),l=r(5043),c=r(2378),u=r(5396),d=r(5804);function p(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];if(s.GlobalSettings.applets.logEnabled)if(s.GlobalSettings.applets.onLogEvent)s.GlobalSettings.applets.onLogEvent(e,t,r);else switch(e){case o.LogLevel.Warning:console.warn(t,r);break;case o.LogLevel.Error:console.error(t,r);break;default:console.log(t,r)}}var f=function(){function e(e,t,r){this.action=e,this.trigger=t,this.consecutiveActions=r,this.attemptNumber=0}return e.prototype.retryAsync=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){return this.onSend&&this.onSend(this),[2]}))}))},e}(),h=function(){function e(){this._allowAutomaticCardUpdate=!1,this.renderedElement=document.createElement("div"),this.renderedElement.className="aaf-cardHost",this.renderedElement.style.position="relative",this.renderedElement.style.display="flex",this.renderedElement.style.flexDirection="column",this._cardHostElement=document.createElement("div"),this._refreshButtonHostElement=document.createElement("div"),this._refreshButtonHostElement.className="aaf-refreshButtonHost",this._refreshButtonHostElement.style.display="none",this.renderedElement.appendChild(this._cardHostElement),this.renderedElement.appendChild(this._refreshButtonHostElement)}return e.prototype.displayCard=function(e){if(!e.renderedElement)throw new Error("displayCard: undefined card.");a.clearElementChildren(this._cardHostElement),this._refreshButtonHostElement.style.display="none",this._cardHostElement.appendChild(e.renderedElement)},e.prototype.showManualRefreshButton=function(e){var t=this;if(!this.onShowManualRefreshButton||this.onShowManualRefreshButton(this)){this._refreshButtonHostElement.style.display="none";var r=void 0;if(this.onRenderManualRefreshButton)r=this.onRenderManualRefreshButton(this);else{var n=c.Strings.runtime.refreshThisCard();if(s.GlobalSettings.applets.refresh.mode===o.RefreshMode.Automatic){var i=c.Strings.runtime.automaticRefreshPaused();" "!==i[i.length-1]&&(i+=" "),n=c.Strings.runtime.clckToRestartAutomaticRefresh()}var p={type:"AdaptiveCard",version:"1.2",body:[{type:"RichTextBlock",horizontalAlignment:"right",inlines:[{type:"TextRun",text:n,selectAction:{type:"Action.Submit",id:"refreshCard"}}]}]},f=new u.AdaptiveCard;f.parse(p,new u.SerializationContext(d.Versions.v1_2)),f.onExecuteAction=function(r){"refreshCard"===r.id&&(a.clearElementChildren(t._refreshButtonHostElement),t.internalExecuteAction(e,l.ActivityRequestTrigger.Automatic,0))},r=f.render()}r&&(a.clearElementChildren(this._refreshButtonHostElement),this._refreshButtonHostElement.appendChild(r),this._refreshButtonHostElement.style.removeProperty("display"))}},e.prototype.createActivityRequest=function(e,t,r){var n=this;if(this.card){var i=new f(e,t,r);return i.onSend=function(e){e.attemptNumber++,n.internalSendActivityRequestAsync(i)},this.onPrepareActivityRequest&&!this.onPrepareActivityRequest(this,i,e)?void 0:i}throw new Error("createActivityRequest: no card has been set.")},e.prototype.createMagicCodeInputCard=function(t){var r={type:"AdaptiveCard",version:"1.0",body:[{type:"TextBlock",color:"attention",text:1===t?void 0:"That didn't work... let's try again.",wrap:!0,horizontalAlignment:"center"},{type:"TextBlock",text:'Please login in the popup. You will obtain a magic code. Paste that code below and select "Submit"',wrap:!0,horizontalAlignment:"center"},{type:"Input.Text",id:"magicCode",placeholder:"Enter magic code"},{type:"ActionSet",horizontalAlignment:"center",actions:[{type:"Action.Submit",id:e._submitMagicCodeActionId,title:"Submit"},{type:"Action.Submit",id:e._cancelMagicCodeAuthActionId,title:"Cancel"}]}]},n=new u.AdaptiveCard;return n.parse(r),n},e.prototype.cancelAutomaticRefresh=function(){this._allowAutomaticCardUpdate&&p(o.LogLevel.Warning,"Automatic card refresh has been cancelled as a result of the user interacting with the card."),this._allowAutomaticCardUpdate=!1},e.prototype.createSerializationContext=function(){return this.onCreateSerializationContext?this.onCreateSerializationContext(this):new u.SerializationContext},e.prototype.internalSetCard=function(e,t){var r=this;if("object"==typeof e&&"AdaptiveCard"===e.type&&(this._cardPayload=e),this._cardPayload)try{var n=new u.AdaptiveCard;this.hostConfig&&(n.hostConfig=this.hostConfig);var i=this.createSerializationContext();if(n.parse(this._cardPayload,i),(!this.onCardChanging||this.onCardChanging(this,this._cardPayload))&&(this._card=n,this._card.authentication&&this._card.authentication.tokenExchangeResource&&this.onPrefetchSSOToken&&this.onPrefetchSSOToken(this,this._card.authentication.tokenExchangeResource),this._card.onExecuteAction=function(e){r.cancelAutomaticRefresh(),r.internalExecuteAction(e,l.ActivityRequestTrigger.Manual,0)},this._card.onInputValueChanged=function(e){var t,n,i;if(r.cancelAutomaticRefresh(),e instanceof u.ChoiceSetInput&&e.isDynamicTypeahead()){var o=e.getFilterForDynamicSearch();if(o){var a=new u.DataQuery;a.filter=o,a.dataset=(null===(t=e.choicesData)||void 0===t?void 0:t.dataset)||"",a.count=null===(n=e.choicesData)||void 0===n?void 0:n.count,a.skip=null===(i=e.choicesData)||void 0===i?void 0:i.skip,r._choiceSet=e,r.internalExecuteAction(a,l.ActivityRequestTrigger.Manual,0)}}},this._card.render(),this._card.renderedElement&&(this.displayCard(this._card),this.onCardChanged&&this.onCardChanged(this),this._card.refresh)))if(s.GlobalSettings.applets.refresh.mode===o.RefreshMode.Automatic&&t<s.GlobalSettings.applets.refresh.maximumConsecutiveAutomaticRefreshes)if(s.GlobalSettings.applets.refresh.timeBetweenAutomaticRefreshes<=0)p(o.LogLevel.Info,"Triggering automatic card refresh number "+(t+1)),this.internalExecuteAction(this._card.refresh.action,l.ActivityRequestTrigger.Automatic,t+1);else{p(o.LogLevel.Info,"Scheduling automatic card refresh number "+(t+1)+" in "+s.GlobalSettings.applets.refresh.timeBetweenAutomaticRefreshes+"ms");var a=this._card.refresh.action;this._allowAutomaticCardUpdate=!0,window.setTimeout((function(){r._allowAutomaticCardUpdate&&r.internalExecuteAction(a,l.ActivityRequestTrigger.Automatic,t+1)}),s.GlobalSettings.applets.refresh.timeBetweenAutomaticRefreshes)}else s.GlobalSettings.applets.refresh.mode!==o.RefreshMode.Disabled&&(p(o.LogLevel.Warning,t>0?"Stopping automatic refreshes after "+t+" consecutive refreshes.":"The card has a refresh section, but automatic refreshes are disabled."),(s.GlobalSettings.applets.refresh.allowManualRefreshesAfterAutomaticRefreshes||s.GlobalSettings.applets.refresh.mode===o.RefreshMode.Manual)&&(p(o.LogLevel.Info,"Showing manual refresh button."),this.showManualRefreshButton(this._card.refresh.action)))}catch(e){p(o.LogLevel.Error,"setCard: "+e)}},e.prototype.internalExecuteAction=function(e,t,r){if(e instanceof u.UniversalAction){if(!this.channelAdapter)throw new Error("internalExecuteAction: No channel adapter set.");var n=this.createActivityRequest(e,t,r);n&&n.retryAsync()}this.onAction&&this.onAction(this,e)},e.prototype.createProgressOverlay=function(e){if(!this._progressOverlay)if(this.onCreateProgressOverlay)this._progressOverlay=this.onCreateProgressOverlay(this,e);else{this._progressOverlay=document.createElement("div"),this._progressOverlay.className="aaf-progress-overlay";var t=document.createElement("div");t.className="aaf-spinner",t.style.width="28px",t.style.height="28px",this._progressOverlay.appendChild(t)}return this._progressOverlay},e.prototype.removeProgressOverlay=function(e){this.onRemoveProgressOverlay&&this.onRemoveProgressOverlay(this,e),void 0!==this._progressOverlay&&(this.renderedElement.removeChild(this._progressOverlay),this._progressOverlay=void 0)},e.prototype.activityRequestSucceeded=function(e,t){this.onActivityRequestSucceeded&&this.onActivityRequestSucceeded(this,e,t)},e.prototype.activityRequestFailed=function(e){return this.onActivityRequestFailed?this.onActivityRequestFailed(this,e):s.GlobalSettings.applets.defaultTimeBetweenRetryAttempts},e.prototype.showAuthCodeInputDialog=function(t){var r=this;if(!this.onShowAuthCodeInputDialog||this.onShowAuthCodeInputDialog(this,t)){var n=this.createMagicCodeInputCard(t.attemptNumber);n.render(),n.onExecuteAction=function(n){if(r.card&&n instanceof u.SubmitAction)switch(n.id){case e._submitMagicCodeActionId:var i=void 0;n.data&&"string"==typeof n.data.magicCode&&(i=n.data.magicCode),i?(r.displayCard(r.card),t.authCode=i,t.retryAsync()):alert("Please enter the magic code you received.");break;case e._cancelMagicCodeAuthActionId:p(o.LogLevel.Warning,"Authentication cancelled by user."),r.displayCard(r.card);break;default:p(o.LogLevel.Error,"Unexpected action taken from magic code input card (id = "+n.id+")"),alert(c.Strings.magicCodeInputCard.somethingWentWrong())}},this.displayCard(n)}},e.prototype.internalSendActivityRequestAsync=function(e){return n(this,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:if(!this.channelAdapter)throw new Error("internalSendActivityRequestAsync: channelAdapter is not set.");return(t=e.action)instanceof u.ExecuteAction?[4,this.internalSendExecuteRequestAsync(e)]:[3,2];case 1:case 3:return r.sent(),[3,5];case 2:return t instanceof u.DataQuery?[4,this.internalSendDataQueryRequestAsync(e)]:[3,4];case 4:throw new Error("internalSendActivityRequestAsync: Unhandled Action Type");case 5:return[2]}}))}))},e.prototype.internalSendExecuteRequestAsync=function(e){return n(this,void 0,void 0,(function(){var t,r,n,a;return i(this,(function(u){switch(u.label){case 0:if(!this.channelAdapter)throw new Error("internalSendExecuteRequestAsync: channelAdapter is not set.");void 0!==(t=this.createProgressOverlay(e))&&this.renderedElement.appendChild(t),r=!1,n=function(){var t,n,u,d,f,h,g;return i(this,(function(i){switch(i.label){case 0:t=void 0,1===e.attemptNumber?p(o.LogLevel.Info,"Sending activity request to channel (attempt "+e.attemptNumber+")"):p(o.LogLevel.Info,"Re-sending activity request to channel (attempt "+e.attemptNumber+")"),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,a.channelAdapter.sendRequestAsync(e)];case 2:return t=i.sent(),[3,4];case 3:return n=i.sent(),p(o.LogLevel.Error,"Activity request failed: "+n),a.removeProgressOverlay(e),r=!0,[3,4];case 4:if(!t)return[3,10];if(!(t instanceof l.SuccessResponse))return[3,5];if(a.removeProgressOverlay(e),void 0===t.rawContent)throw new Error("internalSendActivityRequestAsync: Action.Execute result is undefined");u=t.rawContent;try{u=JSON.parse(t.rawContent)}catch(e){}if("string"==typeof u)p(o.LogLevel.Info,"The activity request returned a string after "+e.attemptNumber+" attempt(s)."),a.activityRequestSucceeded(t,u);else{if("object"!=typeof u||"AdaptiveCard"!==u.type)throw new Error("internalSendActivityRequestAsync: Action.Execute result is of unsupported type ("+typeof t.rawContent+")");p(o.LogLevel.Info,"The activity request returned an Adaptive Card after "+e.attemptNumber+" attempt(s)."),a.internalSetCard(u,e.consecutiveActions),a.activityRequestSucceeded(t,a.card)}return r=!0,[3,10];case 5:return t instanceof l.ErrorResponse?(d=a.activityRequestFailed(t))>=0&&e.attemptNumber<s.GlobalSettings.applets.maximumRetryAttempts?(p(o.LogLevel.Warning,"Activity request failed: ".concat(t.error.message,". Retrying in ").concat(d,"ms")),e.attemptNumber++,[4,new Promise((function(e,t){window.setTimeout((function(){e()}),d)}))]):[3,7]:[3,9];case 6:return i.sent(),[3,8];case 7:p(o.LogLevel.Error,"Activity request failed: ".concat(t.error.message,". Giving up after ").concat(e.attemptNumber," attempt(s)")),a.removeProgressOverlay(e),r=!0,i.label=8;case 8:return[3,10];case 9:if(t instanceof l.LoginRequestResponse){if(p(o.LogLevel.Info,"The activity request returned a LoginRequestResponse after "+e.attemptNumber+" attempt(s)."),e.attemptNumber<=s.GlobalSettings.applets.maximumRetryAttempts){if(f=!0,t.tokenExchangeResource&&a.onSSOTokenNeeded&&(f=!a.onSSOTokenNeeded(a,e,t.tokenExchangeResource)),f){if(a.removeProgressOverlay(e),void 0===t.signinButton)throw new Error("internalSendActivityRequestAsync: the login request doesn't contain a valid signin URL.");p(o.LogLevel.Info,"Login required at "+t.signinButton.value),a.onShowSigninPrompt?a.onShowSigninPrompt(a,e,t.signinButton):(a.showAuthCodeInputDialog(e),h=window.screenX+(window.outerWidth-s.GlobalSettings.applets.authPromptWidth)/2,g=window.screenY+(window.outerHeight-s.GlobalSettings.applets.authPromptHeight)/2,window.open(t.signinButton.value,t.signinButton.title?t.signinButton.title:"Sign in","width=".concat(s.GlobalSettings.applets.authPromptWidth,",height=").concat(s.GlobalSettings.applets.authPromptHeight,",left=").concat(h,",top=").concat(g)))}}else p(o.LogLevel.Error,"Authentication failed. Giving up after "+e.attemptNumber+" attempt(s)"),alert(c.Strings.magicCodeInputCard.authenticationFailed());return[2,"break"]}throw new Error("Unhandled response type: "+JSON.stringify(t));case 10:return[2]}}))},a=this,u.label=1;case 1:return r?[3,3]:[5,n()];case 2:return"break"===u.sent()?[3,3]:[3,1];case 3:return[2]}}))}))},e.prototype.internalSendDataQueryRequestAsync=function(e){return n(this,void 0,void 0,(function(){var t,r,n,a;return i(this,(function(i){switch(i.label){case 0:if(!this.channelAdapter)throw new Error("internalSendDataQueryRequestAsync: channel adapter not set");if(!this._choiceSet)return[3,5];this._choiceSet.showLoadingIndicator(),t=void 0,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.channelAdapter.sendRequestAsync(e)];case 2:return t=i.sent(),[3,4];case 3:return r=i.sent(),p(o.LogLevel.Error,"Activity request failed: "+r),this._choiceSet.showErrorIndicator("Unable to load"),[3,4];case 4:if(this._choiceSet.removeLoadingIndicator(),t)if(t instanceof l.SuccessResponse){if(n=t.rawContent){a=n;try{a=JSON.parse(a)}catch(e){throw new Error("Cannot parse response object: "+n)}if("object"!=typeof a)throw new Error("internalSendDataQueryRequestAsync: Data.Query result is of unsupported type ("+typeof n+")");this._choiceSet.renderChoices(a),this.activityRequestSucceeded(t,a)}}else{if(!(t instanceof l.ErrorResponse))throw this._choiceSet.showErrorIndicator("Unable to load"),new Error("Unhandled response type: "+JSON.stringify(t));this._choiceSet.showErrorIndicator("Error loading results."),p(o.LogLevel.Error,"Activity request failed: ".concat(t.error.message,".")),this.activityRequestFailed(t)}i.label=5;case 5:return[2]}}))}))},e.prototype.refreshCard=function(){this._card&&this._card.refresh&&this.internalExecuteAction(this._card.refresh.action,l.ActivityRequestTrigger.Manual,0)},e.prototype.setCard=function(e){this.internalSetCard(e,0)},Object.defineProperty(e.prototype,"card",{get:function(){return this._card},enumerable:!1,configurable:!0}),e._submitMagicCodeActionId="submitMagicCode",e._cancelMagicCodeAuthActionId="cancelMagicCodeAuth",e}();t.AdaptiveApplet=h},6365:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelAdapter=void 0;t.ChannelAdapter=function(){}},6416:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pseudoLocalize=void 0;var r={a:"ȧ",A:"Ȧ",b:"ƀ",B:"Ɓ",c:"ƈ",C:"Ƈ",d:"ḓ",D:"Ḓ",e:"ḗ",E:"Ḗ",f:"ƒ",F:"Ƒ",g:"ɠ",G:"Ɠ",h:"ħ",H:"Ħ",i:"ī",I:"Ī",j:"ĵ",J:"Ĵ",k:"ķ",K:"Ķ",l:"ŀ",L:"Ŀ",m:"ḿ",M:"Ḿ",n:"ƞ",N:"Ƞ",o:"ǿ",O:"Ǿ",p:"ƥ",P:"Ƥ",q:"ɋ",Q:"Ɋ",r:"ř",R:"Ř",s:"ş",S:"Ş",t:"ŧ",T:"Ŧ",v:"ṽ",V:"Ṽ",u:"ŭ",U:"Ŭ",w:"ẇ",W:"Ẇ",x:"ẋ",X:"Ẋ",y:"ẏ",Y:"Ẏ",z:"ẑ",Z:"Ẑ"};t.pseudoLocalize=function(e){return e.split("").reduce((function(e,t){var n=r[t]||t,i=n+(function(e){return"aeiou".indexOf(e.toLowerCase())>=0}(t)?n:"");return e+i}),"")}},6457:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(1635),i=r(1128),o=r(4132),a=r(8976);function s(e,t,r){return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{const r=yield e.getAppContext();if(r.page.frameContext!=a.E2.authentication){const n=new o.nZ(e,t,r),a=n.createSignal({signalType:o.NQ.ApplicationEngaged,startTime:e.getUserClickTime(),endTime:Date.now()}),s=yield n.sendSignal(a);e.getLogger().log(i.$.Debug,"sendAppEngageSignal","Successfully posted the signal",s)}}catch(t){let n=t;if("status"in t){n=t.status+"";const e=null==r?void 0:r.createScenario("sigsSendSignalFailure");null==e||e.fail(n)}e.getLogger().log(i.$.Error,"sendAppEngageSignal","Error occurred while sending substrate signal",n)}}))}},6511:(e,t,r)=>{"use strict";r.d(t,{k:()=>o});var n=r(4256),i=r(6796);class o{constructor(e){this.uuid=(0,n.A)(),this.uuid=e||(0,n.A)(),(0,i.A)(this.uuid)}toString(){return this.uuid}static validate(e){return(0,i.A)(e)}}},6516:(e,t,r)=>{"use strict";const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:o}=r(504),a=r(6286),s=(t=e.exports={}).re=[],l=t.safeRe=[],c=t.src=[],u=t.safeSrc=[],d=t.t={};let p=0;const f="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",o],[f,i]],g=(e,t,r)=>{const n=(e=>{for(const[t,r]of h)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),i=p++;a(e,i,t),d[e]=i,c[i]=t,u[i]=n,s[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),g("MAINVERSION",`(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${c[d.NONNUMERICIDENTIFIER]}|${c[d.NUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${c[d.NONNUMERICIDENTIFIER]}|${c[d.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASE",`(?:-(${c[d.PRERELEASEIDENTIFIER]}(?:\\.${c[d.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${c[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[d.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${f}+`),g("BUILD",`(?:\\+(${c[d.BUILDIDENTIFIER]}(?:\\.${c[d.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${c[d.MAINVERSION]}${c[d.PRERELEASE]}?${c[d.BUILD]}?`),g("FULL",`^${c[d.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${c[d.MAINVERSIONLOOSE]}${c[d.PRERELEASELOOSE]}?${c[d.BUILD]}?`),g("LOOSE",`^${c[d.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${c[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${c[d.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:${c[d.PRERELEASE]})?${c[d.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:${c[d.PRERELEASELOOSE]})?${c[d.BUILD]}?)?)?`),g("XRANGE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAINLOOSE]}$`),g("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),g("COERCE",`${c[d.COERCEPLAIN]}(?:$|[^\\d])`),g("COERCEFULL",c[d.COERCEPLAIN]+`(?:${c[d.PRERELEASE]})?`+`(?:${c[d.BUILD]})?(?:$|[^\\d])`),g("COERCERTL",c[d.COERCE],!0),g("COERCERTLFULL",c[d.COERCEFULL],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${c[d.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",g("TILDE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${c[d.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",g("CARET",`^${c[d.LONECARET]}${c[d.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${c[d.LONECARET]}${c[d.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${c[d.GTLT]}\\s*(${c[d.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]}|${c[d.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${c[d.XRANGEPLAIN]})\\s+-\\s+(${c[d.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${c[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[d.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},6555:(e,t,r)=>{"use strict";var n,i;r.d(t,{Nh:()=>o,cZ:()=>n,nq:()=>i,x:()=>a}),function(e){e.DeepLinkDialog="DeepLinkDialog",e.DeepLinkOther="DeepLinkOther",e.DeepLinkStageView="DeepLinkStageView",e.GenericUrl="GenericUrl"}(n||(n={})),function(e){e.INTERNAL_ERROR="INTERNAL_ERROR",e.INVALID_LINK="INVALID_LINK",e.NOT_SUPPORTED="NOT_SUPPORTED"}(i||(i={}));const o="Deep links are only supported in Message Extensions",a="Action.Submit is only supported in Message Extensions"},6560:(e,t,r)=>{"use strict";r.d(t,{n:()=>g});var n=r(1635),i=r(240),o=r(5041),a=r(6596),s=r(9561),l=r(9802),c=r(3278),u=r(8720),d=r(9369),p=r(1956),f=r(7841);class h{constructor(e,t,r,n,o){var a,s,c,u;this.stopAppInitializationScenario=()=>{var e;null===(e=this.appInitializationScenario)||void 0===e||e.stop()},this.stopExtendedAppInitializationScenario=()=>{var e;null===(e=this.extendedAppInitializationScenario)||void 0===e||e.stop()},this.failAppInitializationScenario=(e,t)=>{var r;null===(r=this.appInitializationScenario)||void 0===r||r.fail(e,t)},this.failExtendedAppInitializationScenario=(e,t)=>{var r;null===(r=this.extendedAppInitializationScenario)||void 0===r||r.fail(e,t)},this.appSdkHost=e,this.hubServices=t,this._telemetryService=r,this.appDefinition=n,this._isShowLoadingIndicatorEnabled=n.showLoadingIndicator||!1,this._usingCachedApp=o,this.appSdkHost.startAppInitializationScenario(),this.appInitializationScenario=e.getAppInitializationScenario(),null===(a=this.appInitializationScenario)||void 0===a||a.markPhase("ClickToBeginLoad"),this.logTelemetryForAppSdkLoaded(),this.forceAppToBeLoadingScreenApp=null!==(s=(0,l.eZ)().resetTimerWhenInitCalledAndWaitForNotifySuccess)&&void 0!==s&&s,null===(c=this.appInitializationScenario)||void 0===c||c.addOrUpdateActivityDataField("resetTimerFlag",this.forceAppToBeLoadingScreenApp),this.recordCachingServiceState();const d=this.appDefinition.id,p=null===(u=this.telemetryService)||void 0===u?void 0:u.enableExtendedInitializationTracking,f=d&&i.pm.has(d);(p||f)&&(this.extendedAppInitializationScenario=this.createExtendedAppInitTelemetry(d))}logTelemetryForAppSdkLoaded(){var e,t,r;if((0,s.Dz)(null===(e=this.appDefinition)||void 0===e?void 0:e.id)){const e=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario(o.tL);null===(r=e.addOrUpdateActivityDataField)||void 0===r||r.call(e,a.u7.WEB_CONTENT_SDK_ID,this.appSdkHost.getWebContentSdkId()),e.stop()}}recordCachingServiceState(){var e,t;null===(e=this.appInitializationScenario)||void 0===e||e.addOrUpdateActivityDataField("isLifecycleServiceProvided",!!this.hubServices.lifecycleService),null===(t=this.appInitializationScenario)||void 0===t||t.addOrUpdateActivityDataField("isCacheManagementServiceProvided",!!this.hubServices.cacheManagementService)}createExtendedAppInitTelemetry(e){var t;const r=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario("appInitializationExtended",e);return null==r||r.markPhase("ClickToBeginLoad"),null==r||r.addOrUpdateActivityDataField("resetTimerFlag",this.forceAppToBeLoadingScreenApp),r}updateTelemetryDataFieldAppSdkVersion(e,t){t.forEach((t=>{null==t||t.addOrUpdateActivityDataField(a.u7.APPSDK_VERSION_FIELD_NAME,e)}))}updateTelemetryDataFieldAppSdkApiVersionTag(e,t,r){const n=e.data.apiVersionTag;r.forEach((e=>{null==e||e.addOrUpdateActivityDataField(a.u7.APPSDK_API_VERSION_TAG_FIELD_NAME,a.u7.getApiVersionTagForTelemetry(n,t))}))}updateTelemetryDataFieldUsingCachedApp(e){e.forEach((e=>{var t;null==e||e.addOrUpdateActivityDataField(a.u7.CACHEDAPP_IND_FIELD_NAME,null!==(t=this._usingCachedApp)&&void 0!==t&&t)}))}updateAppInitializationScenarioFields(e,t){this.updateTelemetryDataFieldAppSdkVersion(e,[this.appInitializationScenario,this.extendedAppInitializationScenario]),this.updateTelemetryDataFieldAppSdkApiVersionTag(t,e,[this.appInitializationScenario,this.extendedAppInitializationScenario]),this.updateTelemetryDataFieldUsingCachedApp([this.appInitializationScenario,this.extendedAppInitializationScenario])}addOrUpdateActivityDataFieldForAppInitStateTransition(e){var t,r;null===(t=this.appInitializationScenario)||void 0===t||t.addOrUpdateActivityDataFieldForAppInitStateTransition(e),null===(r=this.extendedAppInitializationScenario)||void 0===r||r.addOrUpdateActivityDataFieldForAppInitStateTransition(e)}markTelemetryForAppInitializationPhases(e,t,r){var n,i;null===(n=this.appInitializationScenario)||void 0===n||n.markPhase(e),null===(i=this.extendedAppInitializationScenario)||void 0===i||i.markPhase(e),this.telemetryService.setAppSdkVersion(t),this.updateAppInitializationScenarioFields(t,r)}trackMessageDelayForAppInitAPIs(e,t){var r,n,i,a;if(o.kh.has(e)&&t){const s=(0,c.wF)(e,t),l=o.kh.get(e);if(!l)return void console.warn(`${l} is undefined in applicationInitializationAPIs`);(0,c.e5)(c.Ct.Start,`${l}MessageProcessTime_ms`),null===(n=null===(r=this.appInitializationScenario)||void 0===r?void 0:r.trackMessageDelay)||void 0===n||n.call(r,l,t,s),null===(a=null===(i=this.extendedAppInitializationScenario)||void 0===i?void 0:i.trackMessageDelay)||void 0===a||a.call(i,l,t,s)}}isLoadingScreenApp(){return this.forceAppToBeLoadingScreenApp||this._isShowLoadingIndicatorEnabled}get isShowLoadingIndicatorEnabled(){return this._isShowLoadingIndicatorEnabled}get telemetryService(){return this._telemetryService}get usingCachedApp(){return this._usingCachedApp}}function g(e,t,r,n,i,o,a){return(0,l.eZ)().useNewAppInitializationExperience?new v(e,t,r,n,i,o,a):new u.XA(e,t,r,n,i,o,a)}class m{}class v extends p.R{constructor(e,t,r,n,i,o,a){super(e,r),this.appSdkHost=e,this.hubServices=t,this.telemetryService=r,this.hostVersionsInfo=n,this.usingCachedApp=i,this.isNAAChannelRecommended=o,this.originsToBlock=a,this.telemetryWrapper=new h(e,t,r,e.getAppDefinition(),i),this.timerWrapper=new m,this.telemetryWrapper.addOrUpdateActivityDataFieldForAppInitStateTransition("App initialization progress begins, teamsJsInstanceId: undefined, AppInitState: uninitialized\n"),this.startAppInitializationFlow()}initHandlers(){this.registerHandler(i.tz.initialize,this.onInitializeCalled,{errorCallback:this.onInitializeCalledError}),this.registerHandler(i.tz.getContext,this.getContext,{errorCallback:this.onGetContextError}),this.registerHandler(i.tz.readyToUnload,this.readyToUnload,{errorCallback:this.onReadyToUnloadError}),this.registerHandler(i.tz.appInitialization.appLoaded,this.onNotifyAppLoadedCalled,{errorCallback:this.onNotifyAppLoadedCalledError}),this.registerHandler(i.tz.appInitialization.success,this.onNotifySuccessCalled,{errorCallback:this.onNotifySuccessCalledError}),this.registerHandler(i.tz.appInitialization.failure,this.onNotifyFailureCalled,{errorCallback:this.onNotifyFailureCalledError}),this.registerHandler(i.tz.appInitialization.expectedFailure,this.onNotifyExpectedFailureCalled,{errorCallback:this.onNotifyExpectedFailureCalledError})}buildOrchestratorCommand(e,t){return{sdkEventMessage:e,orchestratorCommandParams:{appSdkHost:this.appSdkHost,appDefinition:this.appSdkHost.getAppDefinition(),hubServices:this.hubServices,telemetryWrapper:this.telemetryWrapper,timerWrapper:this.timerWrapper,hostVersionsInfo:this.hostVersionsInfo,usingCachedApp:this.usingCachedApp,isNAAChannelRecommended:this.isNAAChannelRecommended,originsToBlock:this.originsToBlock},args:t}}processCommand(e){return(0,d.j)().processCommand(e)}startAppInitializationFlow(){const e=this.buildOrchestratorCommand(new MessageEvent("message"),[]);(0,d.j)().processTimer(e)}onInitializeCalled(e,t,r,n){const i=[t,r,n],o=this.buildOrchestratorCommand(e,i);return this.processCommand(o)}onInitializeCalledError(e,t){return null==t||t.fail((0,f.oE)(e)),(0,f.PR)({})}getContext(e){const t=this.buildOrchestratorCommand(e,[]);return this.processCommand(t)}onGetContextError(e,t){return null==t||t.fail((0,f.oE)(e)),(0,f.PR)({})}readyToUnload(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const t=this.buildOrchestratorCommand(e,[]);return this.processCommand(t)}))}onReadyToUnloadError(e,t){return null==t||t.fail((0,f.oE)(e)),(0,f.PR)({})}onNotifyAppLoadedCalled(e,t){const r=[t],n=this.buildOrchestratorCommand(e,r);return this.processCommand(n)}onNotifyAppLoadedCalledError(e,t){return null==t||t.fail((0,f.oE)(e)),(0,f.PR)({})}onNotifySuccessCalled(e,t){const r=[t],n=this.buildOrchestratorCommand(e,r);return this.processCommand(n)}onNotifySuccessCalledError(e,t){return null==t||t.fail((0,f.oE)(e)),(0,f.PR)({})}onNotifyFailureCalled(e,t,r){const n=[t,r],i=this.buildOrchestratorCommand(e,n);return this.processCommand(i)}onNotifyFailureCalledError(e,t){return null==t||t.fail((0,f.oE)(e)),(0,f.PR)({})}onNotifyExpectedFailureCalled(e,t,r){const n=[t,r],i=this.buildOrchestratorCommand(e,n);return this.processCommand(i)}onNotifyExpectedFailureCalledError(e,t){return null==t||t.fail((0,f.oE)(e)),(0,f.PR)({})}trackMessageDelayForAppInitAPIs(e,t){this.telemetryWrapper.trackMessageDelayForAppInitAPIs(e,t)}}},6580:(e,t,r)=>{"use strict";r.d(t,{BEt:()=>p,Crl:()=>u,NGN:()=>s,Tox:()=>f,_jO:()=>i,gcm:()=>o,nUb:()=>l,oAB:()=>c,xeZ:()=>d,yuG:()=>a});var n=r(8807);const i=(0,n.U)("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]),o=(0,n.U)("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]),a=(0,n.U)("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),s=(0,n.U)("ChevronLeftFilled","1em",["M12.27 15.8a.75.75 0 0 1-1.06-.03l-5-5.25a.75.75 0 0 1 0-1.04l5-5.25a.75.75 0 1 1 1.08 1.04L7.8 10l4.5 4.73c.29.3.28.78-.02 1.06Z"]),l=(0,n.U)("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),c=(0,n.U)("ChevronRightFilled","1em",["M7.73 4.2a.75.75 0 0 1 1.06.03l5 5.25c.28.3.28.75 0 1.04l-5 5.25a.75.75 0 1 1-1.08-1.04L12.2 10l-4.5-4.73a.75.75 0 0 1 .02-1.06Z"]),u=(0,n.U)("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]),d=(0,n.U)("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),p=(0,n.U)("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),f=(0,n.U)("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"])},6596:(e,t,r)=>{"use strict";r.d(t,{u7:()=>_,y3:()=>B});var n=r(8029),i=r(2081),o=r(3986),a=r(9675),s=r(6193),l=r(4869),c=r(8221),u=r(4337),d=r(9315),p=r(240),f=r(2517),h=r(1128),g=r(5041),m=r(8976),v=r(4627),y=r(7012),b=r(9561),w=r(9802),S=r(1044),C=r(4036),A=r(778),x=r(9544),k=r(3278),E=r(8229);class _{constructor(e,t,r){var l,d;this.hubInfo=e,this.customTelemetryService=r,this.letterRegex=/[a-zA-Z]/,this.consumerTid="9188040d-6c67-4c5b-b112-36a304b66dad",this.telemetrySource="AppHostSdk",this.namespace="Office.AppHostingSdk",this.eventFieldPrefix="AppHost",this.ariaTenantToken="7ada8d16f9234e2093f080920f21dd7d-41cee27e-93c2-4a6b-a7aa-2001e852d387-7123",this.nexusTenantToken=a.di,this.anonymousDataFields=[...n.A.Office.System.User.getFields("User",{isAnonymous:!0})];const f=[(0,o.m9)(`${this.eventFieldPrefix}.HostName`,this.hubInfo.name),(0,o.m9)(`${this.eventFieldPrefix}.HostVersion`,this.hubInfo.version),(0,o.m9)(`${this.eventFieldPrefix}.HostSdkVersion`,p.eO),(0,o.m9)(`${this.eventFieldPrefix}.HostSessionId`,this.hubInfo.sessionId),(0,o.m9)(`${this.eventFieldPrefix}.TelemetrySource`,this.telemetrySource),(0,o.m9)(`${this.eventFieldPrefix}.Platform`,t.app.host.clientType===m.WK.web?"Web":"Desktop"),(0,o.m9)(`${this.eventFieldPrefix}.HostRingId`,null!==(l=null==t?void 0:t.app.host.ringId)&&void 0!==l?l:"")];this.telemetryLogger=new s.M,this.telemetryLogger.setTenantToken(this.namespace,this.ariaTenantToken,this.nexusTenantToken);const h=T(t.user.dataResidency);if(h){this.oneDsSink=new u.r(f,{endpointUrl:h});const e=new c.d("HubSDKServiceEventThrottler",this.oneDsSink);e.setNamedEventThrottle(`${this.namespace}.${this.sanitizeScenarioName("api.getContext")}`,6),e.setNamedEventThrottle(`${this.namespace}.${this.sanitizeScenarioName("api.registerHandler")}`,5),e.setNamedEventThrottle(`${this.namespace}.${this.sanitizeScenarioName("api.getAuthToken")}`,4),this.oneDsSink.addPreprocessor(e),this.telemetryLogger.telemetrySinks=[this.oneDsSink]}const g=i.qw.getFields({name:"OfficeAppHostingSdk"});null===(d=this.oneDsSink)||void 0===d||d.addPersistentDataFields(g),this.setAppContext(t),this.isTest=(0,v.v)(),this.enableExtendedInitializationTracking=(null==r?void 0:r.enableExtendedInitializationTracking)||!1}createScenario(e,t,r,n,i="monotonic",o){var a,s;const l=r?{type:i,value:r}:(0,E.qV)();t=null!=t?t:null===(a=this.appDefinition)||void 0===a?void 0:a.id;const c=this.isTest?void 0:this.telemetryLogger.createActivity(this.createTelemetryEvent(e,l.value,t,n)),u=this.shouldCustomTelemetryScenarioReceiveAppInitTelemetry(e)?null===(s=this.customTelemetryService)||void 0===s?void 0:s.createScenario(e,t,l.value,n,l.type):void 0,d=this.shouldLogToAria(e,t);return"appInitialization"==e||"appInitializationExtended"==e?(this.addAppInitializationDataFields(),new P(this,d,l,u,c,(0,S.m)(this.appDefinition),e)):(this.addHubSdkTelemetryScenarioDataFields(l.value,null!=o&&o),new I(this,d,l,u,c))}shouldCustomTelemetryScenarioReceiveAppInitTelemetry(e){var t,r;return e!==g.tL&&(!b.Up.has(e)||!(0,b.Dz)(null===(t=this.appDefinition)||void 0===t?void 0:t.id)||null!==(r=(0,w.eZ)().shouldCustomTelemetryScenarioReceiveAppInitTelemetry)&&void 0!==r&&r)}addAppInitializationDataFields(){var e,t,r,n,i,a,s,l,c,u,d,p,f,h,g,m,v,b,S;const C=(0,o.m9)(`${this.eventFieldPrefix}.ActionId`,null!==(r=null===(t=null===(e=this.appContext)||void 0===e?void 0:e.actionInfo)||void 0===t?void 0:t.actionId)&&void 0!==r?r:""),k=(0,o.m9)("ManifestVersion",null!==(i=null===(n=this.appDefinition)||void 0===n?void 0:n.manifestVersion)&&void 0!==i?i:""),E=(0,o.LK)("ShowLoadingIndicator",null!==(s=null===(a=this.appDefinition)||void 0===a?void 0:a.showLoadingIndicator)&&void 0!==s&&s),I=(0,o.LK)(_.CACHEDAPP_IND_FIELD_NAME,null!==(l=this.usingCachedApp)&&void 0!==l&&l),P=(0,o.LK)(_.BACKGROUND_LOAD_IND_FIELD_NAME,null!==(d=null===(u=null===(c=this.appContext)||void 0===c?void 0:c.page)||void 0===u?void 0:u.isBackgroundLoad)&&void 0!==d&&d),T=(0,A.U2)(this.appContext)&&this.appDefinition?(0,x.A)((0,y.ut)(this.appContext,this.appDefinition)):void 0,B=(0,o.m9)("InteractionContext",T||""),D=(0,o.Ug)("UserClickTime",null!==(f=null===(p=this.appContext)||void 0===p?void 0:p.app.userClickTime)&&void 0!==f?f:0),N=(0,o.Ug)("UserClickTimeV2",null!==(g=null===(h=this.appContext)||void 0===h?void 0:h.app.userClickTimeV2)&&void 0!==g?g:0),R=(0,o.m9)("RenderingSurface",null!==(b=null===(v=null===(m=this.appContext)||void 0===m?void 0:m.page)||void 0===v?void 0:v.renderingSurface)&&void 0!==b?b:""),O=(0,o.m9)("FeatureFlags",JSON.stringify((0,w.eZ)()));null===(S=this.oneDsSink)||void 0===S||S.addPersistentDataFields([C,k,E,I,P,B,D,N,O,R])}addHubSdkTelemetryScenarioDataFields(e,t){var r;const n=(0,o.Ug)("AppSdkRequestCreationTimeStamp",e),i=(0,o.LK)("IsProxiedFromChild",t);null===(r=this.oneDsSink)||void 0===r||r.addPersistentDataFields([n,i])}static getApiVersionTagForTelemetry(e,t){if(null!=t){if(null==e&&(0,d.satisfies)(t,_.TEAMS_JS_LIBRARY_V1))return"v1";if(null==e&&(0,d.satisfies)(t,`>${_.TEAMS_JS_LIBRARY_V2_LOWEST_VERSION}`)&&(0,d.satisfies)(_.TEAMS_JS_LIBRARY_VERSION_WITH_APIVERSIONTAG,`>${t}`))return"unknown";if(e&&(0,d.satisfies)(t,`>=${_.TEAMS_JS_LIBRARY_VERSION_WITH_APIVERSIONTAG}`))return e}return null==e?"undefined_tag":e}setAppSdkVersion(e){this.appSdkVersion=e}getAppSdkVersion(){return this.appSdkVersion}setAppContext(e){var t,r,n,a,s,l,c;const u=this.appContext;if(this.appContext=e,this.oneDsSink){if((0,A.U2)(e)&&(!(0,A.U2)(u)||e.user.id!==u.user.id)){const o=!e.user.id;let l;if(o)l=this.anonymousDataFields;else{const c=(null===(r=null===(t=this.appContext.user)||void 0===t?void 0:t.tenant)||void 0===r?void 0:r.id)!==this.consumerTid;l=i.KJ.getFields({primaryIdentityHash:null===(n=e.user)||void 0===n?void 0:n.id,primaryIdentitySpace:c?"UserObjectId":"MSAPuid",tenantId:null===(s=null===(a=this.appContext.user)||void 0===a?void 0:a.tenant)||void 0===s?void 0:s.id,tenantGroup:c?"Commercial":"Consumer",isAnonymous:o})}this.oneDsSink.addPersistentDataFields(l)}if(this.appContext.app.sessionId!==(null==u?void 0:u.app.sessionId)){const e=i.Nn.getFields({id:null!==(l=this.appContext.app.sessionId)&&void 0!==l?l:""});this.oneDsSink.addPersistentDataFields(e)}if(this.appContext.app.locale!==(null==u?void 0:u.app.locale)){const e=(0,o.m9)("Culture.UiLanguage",null!==(c=this.appContext.app.locale)&&void 0!==c?c:"");this.oneDsSink.addPersistentDataFields([e])}}}setAppDefinition(e){this.appDefinition=e}isSessionIdSet(){var e;return!!(null===(e=this.appContext)||void 0===e?void 0:e.app.sessionId)}setUsingCachedApp(e){this.usingCachedApp=e}createTelemetryEvent(e,t,r,n){var i,a,s,l,c,u,d,p,f;const h=[(0,o.m9)("HostedAppId",null!=r?r:""),(0,o.m9)("HostedAppEntityId",null!==(s=null===(a=null===(i=this.appContext)||void 0===i?void 0:i.page)||void 0===a?void 0:a.id)&&void 0!==s?s:""),(0,o.m9)(_.APPSDK_VERSION_FIELD_NAME,null!==(l=this.appSdkVersion)&&void 0!==l?l:""),(0,o.m9)(_.APPSDK_API_VERSION_TAG_FIELD_NAME,_.getApiVersionTagForTelemetry(n,this.appSdkVersion)),(0,o.m9)("HostedAppFrameContext",null!==(d=null===(u=null===(c=this.appContext)||void 0===c?void 0:c.page)||void 0===u?void 0:u.frameContext)&&void 0!==d?d:""),(0,o.m9)("HostedAppSessionId",null!==(f=null===(p=this.appContext)||void 0===p?void 0:p.app.sessionId)&&void 0!==f?f:"")];return{eventName:`${this.namespace}.${this.sanitizeScenarioName(e)}`,eventFlags:{dataCategories:2,diagnosticLevel:110},dataFields:h,timestamp:t}}sanitizeScenarioName(e){let t="",r=!0;for(let n=0;n<e.length;n++){const i=e.charAt(n);"."===i&&0!==n&&"."!==t.charAt(t.length-1)?(t+=i,r=!0):this.letterRegex.test(i)?r?(r=!1,t+=i.toUpperCase()):t+=i:r=!0}return t}isAppStoreAppId(e){return!(0,w.eZ)().disableExtendedTelemetryForMetaOSStoreApps&&!!e&&p.pm.has(e)}shouldLogToAria(e,t){return!e.startsWith("eventDispatch")&&("appInitializationExtended"!==e||this.isAppStoreAppId(t))}}_.TEAMS_JS_LIBRARY_V1="1.x",_.TEAMS_JS_LIBRARY_V2_LOWEST_VERSION="2.0.0-beta.0",_.TEAMS_JS_LIBRARY_VERSION_WITH_APIVERSIONTAG="2.21.0",_.APPSDK_VERSION_FIELD_NAME="HostedAppSdkVersion",_.APPSDK_API_VERSION_TAG_FIELD_NAME="HostedAppSdkApiVersionTag",_.APPSDK_APP_INIT_STATE_TRANSITION_FIELD_NAME="HostedAppSdkAppInitStateTransition",_.CACHEDAPP_IND_FIELD_NAME="UsingCachedApp",_.APP_TERMINATE_REASON="HostedAppTerminateReason",_.BACKGROUND_LOAD_IND_FIELD_NAME="IsBackgroundLoad",_.WEB_CONTENT_SDK_ID="WebContentSdkId",_.COMM_BRIDGE_ID="CommunicationBridgeId",_.COMM_BRIDGE_LISTENERS_ADDED="CommunicationBridgeListenersAdded",_.IFRAME_SRC="IFrameInfoSrc",_.IFRAME_ORIGIN="IFrameOrigin",_.APP_DEFINITION="AppDefinition",_.USER_CLICK_TIME="UserClickTime",_.USER_CLICK_TIME_V2="UserClickTimeV2",_.APP_STATE_UPDATED="AppStateUpdated",_.IFRAME_ID_SUFFIX="IFrameIdSuffix";class I{constructor(e,t,r,n,i,o){this.logger=e,this.shouldLogToAria=t,this.initialTimestamp=r,this.customScenario=n,this.activity=i,this.name=o,this.lastMark=(0,w.eZ)().useGlobalMonotonicTimersForTelemetry?r:(0,E.TE)(r)}addOrUpdateActivityDataField(e,t){var r,n,i,a,s,l,c;const u=null===(r=this.activity)||void 0===r?void 0:r.dataFields.find((t=>t.name==e));u?u.value=t:"string"==typeof t?null===(i=null===(n=this.activity)||void 0===n?void 0:n.dataFields)||void 0===i||i.push((0,o.m9)(e,t)):"boolean"==typeof t?null===(s=null===(a=this.activity)||void 0===a?void 0:a.dataFields)||void 0===s||s.push((0,o.LK)(e,t)):"number"==typeof t&&(null===(c=null===(l=this.activity)||void 0===l?void 0:l.dataFields)||void 0===c||c.push((0,o.Ug)(e,t)))}addOrUpdateActivityDataFieldForAppInitStateTransition(e){var t,r,n;const i=_.APPSDK_APP_INIT_STATE_TRANSITION_FIELD_NAME,a=null===(t=this.activity)||void 0===t?void 0:t.dataFields.find((e=>e.name==i));a?a.value=`${a.value}${e}`:null===(n=null===(r=this.activity)||void 0===r?void 0:r.dataFields)||void 0===n||n.push((0,o.m9)(i,e))}oldMarkPhase(e,t){var r,n,i;const a=(0,E.P7)(),s=a-this.lastMark.value;t||(this.lastMark.value=a),null===(n=null===(r=this.activity)||void 0===r?void 0:r.dataFields)||void 0===n||n.push((0,o.Ug)(`Activity.Phase.${e}`,s)),null===(i=this.customScenario)||void 0===i||i.markPhase(e)}markPhase(e,t=!1){var r,n,i;if(!(0,w.eZ)().useGlobalMonotonicTimersForTelemetry)return this.oldMarkPhase(e,t);const a=(0,E.qV)(this.lastMark.type);if(this.lastMark.type!==a.type)return void(0,C.i)().log(h.$.Warn,"telemetry","The last mark was set to be a monotonic timer without checking for support for the performance API.");const s=(0,E.Hg)(a.value-this.lastMark.value);t||(this.lastMark=a),null===(n=null===(r=this.activity)||void 0===r?void 0:r.dataFields)||void 0===n||n.push((0,o.Ug)(`Activity.Phase.${e}`,s)),null===(i=this.customScenario)||void 0===i||i.markPhase(e)}trackMessageDelay(e,t,r){var n,i;null===(i=null===(n=this.customScenario)||void 0===n?void 0:n.trackMessageDelay)||void 0===i||i.call(n,e,t,r)}stop(){var e,t;void 0===(null===(e=this.activity)||void 0===e?void 0:e.success)&&(this.endActivity(!0),null===(t=this.customScenario)||void 0===t||t.stop())}fail(e){var t,r,n,i;void 0===(null===(t=this.activity)||void 0===t?void 0:t.success)&&(null===(n=null===(r=this.activity)||void 0===r?void 0:r.dataFields)||void 0===n||n.push((0,o.m9)("ErrorMessage",(0,A.VQ)(e))),this.endActivity(!1),null===(i=this.customScenario)||void 0===i||i.fail(e))}endActivity(e){var t,r;if("appInitialization"==this.name){const e=JSON.stringify((0,k.Xz)());null===(r=null===(t=this.activity)||void 0===t?void 0:t.dataFields)||void 0===r||r.push((0,o.m9)("AppLoadingBreakdown",null!=e?e:""))}this.shouldLogToAria&&this.activity&&this.logger.isSessionIdSet()&&(this.activity.success=e,this.activity.endNow())}addDetails(e){var t,r;null===(r=null===(t=this.customScenario)||void 0===t?void 0:t.addDetails)||void 0===r||r.call(t,e)}getCustomScenario(){return this.customScenario}}class P extends I{constructor(e,t,r,n,i,o,a){super(e,t,r,n,i,a),this.logger=e,this.shouldLogToAria=t,this.initialTimestamp=r,this.customScenario=n,this.activity=i,this.isFirstParty=o,this.name=a}fail(e,t){var r,n,i;null===(n=null===(r=this.activity)||void 0===r?void 0:r.dataFields)||void 0===n||n.push((0,o.m9)("ErrorMessage",(0,A.VQ)(e))),this.endActivity(!1),null===(i=this.customScenario)||void 0===i||i.fail(this.isFirstParty&&t?e.concat(":",t):e)}markWarnMessage(e){var t,r;null===(r=null===(t=this.activity)||void 0===t?void 0:t.dataFields)||void 0===r||r.push((0,o.m9)("WarnMessage",(0,A.VQ)(e)))}}const T=e=>{switch(e){case f.jI.EUDB:return l.d.EUDB;case f.jI.DOD:return l.d.USGOV_DOD;case f.jI.DOJ:return l.d.USGOV_DOJ;case f.jI.Public:return l.d.PUBLIC;default:return}};function B(e){var t;return null===(t=null==e?void 0:e.getCustomScenario)||void 0===t?void 0:t.call(e)}},6633:e=>{"use strict";const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},6652:(e,t,r)=>{"use strict";const n=r(9433);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},6656:(e,t,r)=>{"use strict";r.d(t,{B:()=>d});var n=r(1635),i=r(1128),o=r(8976),a=r(8800),s=r(7012),l=r(9802),c=r(8229),u=r(7841);class d{constructor(e){this.appSdkHost=e,this.messageHandlers=[],this.TAG="BaseMessageProcessor",this.ValidCustomApiHubs=[o.UH.edge,o.UH.orange,o.UH.outlook,o.UH.outlookWin32,o.UH.teams,o.UH.teamsModern,o.UH.office]}process(e){var t;return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{if(e.isDeeplyNestedRequest)throw new Error("Access denied: Request from a nested iframe is not allowed");const{result:t,message:r}=yield this.callMessageHandlerHelper(e);if(t)return"appResponse"===t.kind&&this.processHandlerResultHelper(r,t,e),Promise.resolve(!0);if(this.canUseCustomProcessing()){const t=yield this.tryCustomProcessing(r);if(t.processed){const n=yield(0,u.PR)(t.data);return"appResponse"===n.kind&&this.processHandlerResultHelper(r,n,e),Promise.resolve(!0)}}throw Error("Unhandled message")}catch(r){this.appSdkHost.getLogger().log(i.$.Error,this.TAG,`Error in processing request: ${null===(t=e.data)||void 0===t?void 0:t.func}`,r)}return Promise.resolve(!1)}))}canUseCustomProcessing(){const e=this.appSdkHost.getAppDefinition(),t=this.appSdkHost.getHubInfo().name,r=null==e?void 0:e.isMicrosoftOwned,n=(0,s.Ym)(null==e?void 0:e.id),i=this.ValidCustomApiHubs.includes(t);return t===o.UH.outlookWin32||t===o.UH.outlook?n&&i:t===o.UH.office?!!(0,l.eZ)().enableHarmonyCustomMessagingForOpalApp&&i&&(0,s.AI)(null==e?void 0:e.id):!!r&&i}processForDeeplyNestedRequest(e){var t;return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{if(!e.isDeeplyNestedRequest)throw new Error("Access denied: Request from a main/top iframe is not allowed");if(!u.ez.has(e.data.func))throw new Error(`Access denied: message func "${e.data.func}" is not allowed for requests from a nested iframe.`);const{result:t,message:r}=yield this.callMessageHandlerHelper(e);if(t)return"appResponse"===t.kind&&this.processHandlerResultHelper(r,t,e,!0),Promise.resolve(!0);throw Error("Unhandled message")}catch(r){this.appSdkHost.getLogger().log(i.$.Error,this.TAG,`Error in processing deeply nested request: ${null===(t=e.data)||void 0===t?void 0:t.func}`,r)}return Promise.resolve(!1)}))}callMessageHandlerHelper(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const t=(0,s.dE)(e.origin,this.appSdkHost.getLogger(),this.appSdkHost.getAppDefinition(),this.appSdkHost.getContext());e.isTrustedOrigin=t,this.appSdkHost.getLogger().log(i.$.Info,this.TAG,`Function name: ${e.data.func}, Args: ${e.data.args}, Version_APIName: ${e.data.apiVersionTag}, Teams-JS Library Instance Id: ${e.data.teamsJsInstanceId}`);const r=e.data,n=(0,o.Yj)(r);let l=n.args;const u=n.apiVersionTag;return l=n.args&&Array.isArray(n.args)?n.args.map((e=>(0,a.A)(e))):[],l.unshift(e),{result:yield this.callMessageHandler(u,n.func,l,(0,c.Bp)(n.monotonicTimestamp,n.timestamp),n.isProxiedFromChild),message:n}}))}callMessageHandler(e,t,r,n,i){for(const o of this.messageHandlers)if(o.canHandleMessage(t))return o.handleMessage(e,t,r,n,i);return Promise.resolve(void 0)}tryCustomProcessing(e){return Promise.resolve({processed:!1,data:void 0})}processHandlerResultHelper(e,t,r,n=!1){let i=[];if(void 0!==t.data&&(i=Array.isArray(t.data)?t.data:[t.data]),n){const t={source:r.source,origin:r.origin,func:e.func};this.appSdkHost.postDeeplyNestedResponseToApp(e,t,i)}else this.appSdkHost.postResponseToApp(e,i)}cleanup(){this.messageHandlers.forEach((e=>e.cleanup()))}}},6733:(e,t,r)=>{"use strict";r.d(t,{$:()=>n});var n,i=r(3986);!function(e){e.getFields=function(e,t){var r=[];return r.push((0,i.m9)("".concat(e,".ErrorGroup"),t.errorGroup)),r.push((0,i.Ug)("".concat(e,".Tag"),t.tag)),void 0!==t.code&&r.push((0,i.Ug)("".concat(e,".Code"),t.code)),void 0!==t.id&&r.push((0,i.Ug)("".concat(e,".Id"),t.id)),void 0!==t.count&&r.push((0,i.Ug)("".concat(e,".Count"),t.count)),r}}(n||(n={}))},6750:(e,t,r)=>{"use strict";r.d(t,{X:()=>a});var n=r(6596),i=r(6511),o=r(8229);class a{constructor(e,t,r,o,a,s){this.hostWindow=e,this.context=t,this.authenticationService=r,this.logger=o,this.customTelemetryService=a,this.onAppInitStateChanged=s,this.initialized=!1,this.webContentSdkId=(new i.k).toString(),this.initializeAuthenticationContext=e=>{var t;this.context=e,this.contextPromise=null===(t=this.authenticationService)||void 0===t?void 0:t.getUser().then((e=>{var t,r,n,i,o,a,s,l,c;const u=Object.assign(Object.assign({},null===(t=this.context)||void 0===t?void 0:t.user),{id:(null===(r=null==e?void 0:e.profile)||void 0===r?void 0:r.oid)||"",displayName:(null===(n=null==e?void 0:e.profile)||void 0===n?void 0:n.displayName)||"",loginHint:(null===(i=null==e?void 0:e.profile)||void 0===i?void 0:i.loginHint)||"",userPrincipalName:(null===(o=null==e?void 0:e.profile)||void 0===o?void 0:o.upn)||"",tenant:{id:(null===(a=null==e?void 0:e.profile)||void 0===a?void 0:a.tid)||"",sku:null===(c=null===(l=null===(s=this.context)||void 0===s?void 0:s.user)||void 0===l?void 0:l.tenant)||void 0===c?void 0:c.sku}}),d=Object.assign(Object.assign({},this.context.app),{userClickTime:this.getUserClickTime()}),p=Object.assign(Object.assign({},this.context),{app:d,user:u});return this.telemetryService.setAppContext(p),p}))},this.getContext=()=>this.context,this.getAppContext=()=>this.contextPromise?this.contextPromise.then((e=>e)).catch((()=>this.context)):Promise.resolve(this.context),this.getAppDefinition=()=>this.appDefinition,this.checkIfCachedAndRequestAllowed=e=>!0,this.setAppInitInfo=e=>{this.onAppInitStateChanged&&this.onAppInitStateChanged(e)},this.getLogger=()=>this.logger,this.telemetryService=new n.u7(this.getHubInfo(),t,this.customTelemetryService),this.context.app.userClickTime&&(this.userClickTime=this.context.app.userClickTime),this.context.app.userClickTimeV2&&(this.userClickTimeV2=this.context.app.userClickTimeV2)}getTelemetryService(){return this.telemetryService}getWebContentSdkId(){return this.webContentSdkId}isInitialized(){return this.initialized}setInitialized(e){this.initialized=e}getHubInfo(){return{name:this.context.app.host.name,version:this.context.app.host.version,clientType:this.context.app.host.clientType,sessionId:this.context.app.host.sessionId}}createTelemetryScenarioForAppTermination(e,t){var r,i;const o=this.telemetryService.createScenario("appTermination",e.id);null===(r=o.addOrUpdateActivityDataField)||void 0===r||r.call(o,n.u7.APP_TERMINATE_REASON,t),null===(i=o.addOrUpdateActivityDataField)||void 0===i||i.call(o,n.u7.WEB_CONTENT_SDK_ID,this.webContentSdkId),o.stop()}createTelemetryScenarioForUnloadSdk(e){var t,r,i;const o=this.telemetryService.createScenario("sdkUnload",null===(t=this.appDefinition)||void 0===t?void 0:t.id);null===(r=o.addOrUpdateActivityDataField)||void 0===r||r.call(o,n.u7.WEB_CONTENT_SDK_ID,this.webContentSdkId),null===(i=o.addOrUpdateActivityDataField)||void 0===i||i.call(o,n.u7.COMM_BRIDGE_ID,(null==e?void 0:e.toString())||"unknown"),o.stop()}createTelemetryScenarioForWebContentSdkCreated(e,t){var r,i,o;const a=this.telemetryService.createScenario("webContentSdkCreated");null===(r=a.addOrUpdateActivityDataField)||void 0===r||r.call(a,n.u7.WEB_CONTENT_SDK_ID,this.webContentSdkId),null===(i=a.addOrUpdateActivityDataField)||void 0===i||i.call(a,n.u7.COMM_BRIDGE_ID,(null==t?void 0:t.toString())||"unknown"),null===(o=a.addOrUpdateActivityDataField)||void 0===o||o.call(a,n.u7.COMM_BRIDGE_LISTENERS_ADDED,e),a.stop()}createTelemetryScenarioForSetFrameAndLoadOrigin(e,t,r,i,o,a){var s,l,c,u,d,p,f,h;const g=null===(s=this.telemetryService)||void 0===s?void 0:s.createScenario("setFrameAndLoadOrigin");null===(l=g.addOrUpdateActivityDataField)||void 0===l||l.call(g,n.u7.WEB_CONTENT_SDK_ID,this.webContentSdkId),null===(c=g.addOrUpdateActivityDataField)||void 0===c||c.call(g,n.u7.COMM_BRIDGE_ID,(null==a?void 0:a.toString())||"unknown"),null===(u=g.addOrUpdateActivityDataField)||void 0===u||u.call(g,n.u7.COMM_BRIDGE_LISTENERS_ADDED,e),null===(d=g.addOrUpdateActivityDataField)||void 0===d||d.call(g,n.u7.APP_DEFINITION,JSON.stringify(t)),null===(p=g.addOrUpdateActivityDataField)||void 0===p||p.call(g,n.u7.CACHEDAPP_IND_FIELD_NAME,!!i),null===(f=g.addOrUpdateActivityDataField)||void 0===f||f.call(g,n.u7.USER_CLICK_TIME,r),o&&(null===(h=g.addOrUpdateActivityDataField)||void 0===h||h.call(g,n.u7.USER_CLICK_TIME_V2,o)),g.stop()}getHostWindow(){return this.hostWindow}getFrameContext(){return this.context.page.frameContext}getRenderingSurface(){return this.context.page.renderingSurface}getUserClickTime(){return this.userClickTime}setUserClickTime(e){this.userClickTime=e}getUserClickTimeV2(){return this.userClickTimeV2}setUserClickTimeV2(e){this.userClickTimeV2=e}startAppInitializationScenario(){var e,t,r;const i=(0,o.Bp)(this.getUserClickTimeV2(),this.getUserClickTime());this.appInitializationScenario=null===(e=this.telemetryService)||void 0===e?void 0:e.createScenario("appInitialization",void 0,i.value,void 0,i.type),null===(r=(t=this.appInitializationScenario).addOrUpdateActivityDataField)||void 0===r||r.call(t,n.u7.WEB_CONTENT_SDK_ID,this.webContentSdkId)}getAppInitializationScenario(){return this.appInitializationScenario}}},6787:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(1671),i=r(8377);const o=(0,n.A)(i.A,"Map")},6796:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(6067);const i=function(e){return"string"==typeof e&&n.A.test(e)}},6809:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},6827:(e,t,r)=>{"use strict";r.d(t,{j:()=>o}),r(7810);var n=r(2624);const i=(0,r(3421).X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".figsok6{font-weight:var(--fontWeightRegular);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),o=(0,n.q)({useStyles:i,className:"fui-Body2",displayName:"Body2"})},6971:(e,t,r)=>{"use strict";r.d(t,{K:()=>a,Y:()=>s});var n=r(7810);const i=n.createContext(void 0),o={targetDocument:"object"==typeof document?document:void 0,dir:"ltr"},a=i.Provider;function s(){var e;return null!==(e=n.useContext(i))&&void 0!==e?e:o}},6987:(e,t,r)=>{"use strict";function n(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout(e,t,r)}function i(e){clearTimeout(e)}function o(e,t){return{set:e||n,clear:t||i}}r.d(t,{D_:()=>o})},6997:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(9813),i=r(8207),o=r(9377),a=r(5239),s=r(8374),l=r(7938),c=r(2129),u=r(8622),d=r(9577);const p=function(e){function t(){var r=e.call(this)||this;return r.pluginVersionStringArr=[],(0,i.A)(t,r,(function(e,t){e.logger&&e.logger.queue||(e.logger=new c.wq({loggingLevelConsole:1})),e.initialize=function(r,n,i,o){(0,l.r2)(e,(function(){return"AppInsightsCore.initialize"}),(function(){var l=e.pluginVersionStringArr;if(r){r.endpointUrl||(r.endpointUrl=u.S);var d=r.propertyStorageOverride;!d||d.getProperty&&d.setProperty||(0,a.$8)("Invalid property storage override passed."),r.channels&&(0,a.Iu)(r.channels,(function(e){e&&(0,a.Iu)(e,(function(e){if(e.identifier&&e.version){var t=e.identifier+"="+e.version;l.push(t)}}))}))}e.getWParam=function(){return"undefined"!=typeof document||r.enableWParam?0:-1},n&&(0,a.Iu)(n,(function(e){if(e&&e.identifier&&e.version){var t=e.identifier+"="+e.version;l.push(t)}})),e.pluginVersionString=l.join(";"),e.pluginVersionStringArr=l;try{t.initialize(r,n,i,o),e.pollInternalLogs("InternalLog")}catch(t){var p=e.logger,f=(0,s.mm)(t);-1!==f.indexOf("channels")&&(f+="\n - Channels must be provided through config.channels only!"),(0,c.ZP)(p,1,514,"SDK Initialization Failed - no telemetry will be sent: "+f)}}),(function(){return{config:r,extensions:n,logger:i,notificationManager:o}}))},e.track=function(r){(0,l.r2)(e,(function(){return"AppInsightsCore.track"}),(function(){var n=r;if(n){n.timings=n.timings||{},n.timings.trackStart=(0,d.WB)(),(0,d.Hh)(n.latency)||(n.latency=1);var i=n.ext=n.ext||{};i.sdk=i.sdk||{},i.sdk.ver=d.xE;var o=n.baseData=n.baseData||{};o[u._0]=o[u._0]||{};var a=o[u._0];a[u.hj]=a[u.hj]||e.pluginVersionString||u.m5}t.track(n)}),(function(){return{item:r}}),!r.sync)}})),r}return(0,n.qU)(t,e),t.__ieDyn=1,t}(o._)},7e3:(e,t,r)=>{"use strict";r.d(t,{B:()=>i});var n=r(2583);class i extends n.jB{constructor(){super(...arguments),this._capabilities={}}getSchemaKey(){return"HostCapabilities"}internalParse(e,t){if(super.internalParse(e,t),e)for(const r in e){const i=e[r];if("string"==typeof i)if("*"===i)this.addCapability(r,"*");else{const e=n.Rx.parse(i,t);(null==e?void 0:e.isValid)&&this.addCapability(r,e)}}}internalToJSON(e,t){super.internalToJSON(e,t);for(const t in this._capabilities)e[t]=this._capabilities[t]}addCapability(e,t){this._capabilities[e]=t}removeCapability(e){delete this._capabilities[e]}clear(){this._capabilities={}}hasCapability(e,t){return!!this._capabilities.hasOwnProperty(e)&&("*"===t||"*"===this._capabilities[e]||t.compareTo(this._capabilities[e])<=0)}areAllMet(e){for(const t in this._capabilities)if(!e.hasCapability(t,this._capabilities[t]))return!1;return!0}getCodeGenOptions(){const e=super.getCodeGenOptions();return Object.assign(Object.assign({},e),{treatAsDictionary:!0,dictionaryValueType:"string"})}}},7012:(e,t,r)=>{"use strict";r.d(t,{AI:()=>v,EV:()=>w,F6:()=>O,I:()=>g,NJ:()=>h,Po:()=>E,T3:()=>D,Xl:()=>M,Ym:()=>m,ZJ:()=>A,cZ:()=>k,dA:()=>f,dE:()=>p,fc:()=>R,g:()=>_,hq:()=>y,tZ:()=>x,u6:()=>S,ut:()=>H,wr:()=>b});var n=r(6796),i=r(240),o=r(2517),a=r(1128),s=r(8976),l=r(4420),c=r(9802);const u=e=>e&&new URL(e).host,d=/([\[\]\^\$\|\(\)\\\.\+\*\?\{\}\=\!\<\>\-])/gi,p=(e,t,r,n)=>{try{return void 0!==r&&O(new URL(e),g(r,n),t)}catch(e){return t.log(a.$.Error,"isValidOriginForApp","Invalid origin",null),!1}},f=(e,t,r,n)=>{const o=H(r,n),s=F(e,r,o);if(void 0!==n&&O(new URL(s),g(n,r),t))return s;throw t.log(a.$.Error,"tryFormatAndGetValidUrl",i.Si,null),i.Si},h=e=>{const t=[];for(const r of e)r.match(i.GE)||t.push(r);return t},g=(e,t)=>{var r,n,i;const o=new l.a;return e.validDomains&&e.validDomains.forEach((e=>o.add(B(e,t)))),null===(r=e.pages.configurable)||void 0===r||r.forEach((e=>o.add(u(T(e.configurationUrl,t))))),null===(n=e.pages.static)||void 0===n||n.forEach((e=>{e.contentUrl&&o.add(u(T(e.contentUrl,t)))})),(null===(i=null==e?void 0:e.connector)||void 0===i?void 0:i.configurationUrl)&&o.add(u(e.connector.configurationUrl)),Array.from(o.values())},m=e=>!!e&&i.a$.has(e.toLowerCase());function v(e){return!!e&&i.DM.has(e.toLowerCase())}const y=e=>!!e&&i.pm.has(e.toLowerCase()),b=e=>m(null==e?void 0:e.id),w=e=>{return m(null==e?void 0:e.id)||!!(t=null==e?void 0:e.id)&&i.KV.has(t.toLowerCase());var t},S=(e,t,r,n,o,a=!1,l=!1,u)=>{var d,p,f,h;const g=l&&n?C(n):void 0;if((r.name===s.UH.teams||r.name===s.UH.teamsModern)&&t&&t.length>0&&(!n||n.isFullTrust||(m=n.id)&&-1!==i.tp.indexOf(m.toLowerCase()))){if(n){const r=(0,c.eZ)().restrictedFullTrustOverrides;if(r){let i;if(r.forEach((e=>{e.appId===n.id&&(i=e)})),i)return P(e,t,o,i,l?g:void 0,u)}}return l&&g&&I(t[0],g),Promise.resolve(t)}var m;if(null===(d=null==n?void 0:n.webApplicationInfo)||void 0===d?void 0:d.resource){let r;return r=1===(null==t?void 0:t.length)&&("api://{teamSiteDomain}"===t[0]&&"https://{teamSiteDomain}"===(null===(p=null==n?void 0:n.webApplicationInfo)||void 0===p?void 0:p.resource)||"api://{mySiteDomain}"===t[0]&&"https://{mySiteDomain}"===(null===(f=null==n?void 0:n.webApplicationInfo)||void 0===f?void 0:f.resource))?T(t[0],o):D(n,o),r&&(N(r,e)||a)?(l&&g&&I(r,g),Promise.resolve([r])):(r&&(null===(h=null==u?void 0:u.addDetails)||void 0===h||h.call(u,{invalidResource:r,isRestrictedFullTrustValidation:!1})),Promise.reject("App resource defined in manifest and iframe origin do not match"))}return Promise.reject("App webApplicationInfo or resource not defined in manifest")},C=e=>E(e)||_(e),A=e=>!!(null==e?void 0:e.composeExtension),x=e=>{var t;return"BotBased"===(null===(t=e.composeExtension)||void 0===t?void 0:t.type)},k=e=>{var t;return null===(t=null==e?void 0:e.copilotAgents)||void 0===t?void 0:t.customEngineAgents.length},E=e=>{if(x(e)){const t=e.composeExtension.botId;if(!t)throw"botID cannot be undefined in BotBased composeExtension";return t}},_=e=>{if(k(e)){const t=e.copilotAgents.customEngineAgents.filter((e=>"bot"===e.type));if(!t.length)throw"The type bot is missing from the customEngineAgents";if(t.length>1)throw"There cannot be multiple bot types in the customEngineAgents";const r=t[0].id;if(!r)throw"bot id cannot be undefined in CEA";return r.toString()}},I=(e,t)=>{let r;if((0,c.eZ)().useUrlClassForValidDomains)r=(e.startsWith("https://")||e.startsWith("api://"))&&(0,n.A)(t)&&e.includes(`/botid-${t}`);else{const n="^((https|api):/(/.+)?/botid-{botId})".replace("{botId}",t);r=new RegExp(n,"i").test(e)}if(!r)throw"Resource is not valid"},P=(e,t,r,n,i,o)=>{var a;let s=!0;return n?t.forEach((t=>{var i;if(s){const o=T(t,r);let a=!1;null===(i=n.resources)||void 0===i||i.forEach((n=>{if(!a&&n){const i=T(n.resource,r);if(o===i)if(n.requireOriginMatch){try{const r=new URL(e),n=new URL(t);r.hostname===n.hostname&&(a=!0)}catch(e){}e===i&&(a=!0)}else a=!0}})),a||(s=!1)}})):s=!1,s?(i&&I(t[0],i),Promise.resolve(t)):(t.length>=1&&(null===(a=null==o?void 0:o.addDetails)||void 0===a||a.call(o,{invalidResource:t[0],isRestrictedFullTrustValidation:!0})),Promise.reject("App resource defined in manifest and iframe origin do not match"))},T=(e,t)=>{var r,n,i,o,a,s,l,c,u,d,p,f;if(!t)return e;const h=void 0!==t.page?t:void 0,g={teamSiteDomain:(null===(r=null==h?void 0:h.sharePointSite)||void 0===r?void 0:r.teamSiteDomain)||"",teamSitePath:(null===(n=null==h?void 0:h.sharePointSite)||void 0===n?void 0:n.teamSitePath)||"",teamSiteUrl:(null===(i=null==h?void 0:h.sharePointSite)||void 0===i?void 0:i.teamSiteUrl)||"",mySiteDomain:(null===(o=null==h?void 0:h.sharePointSite)||void 0===o?void 0:o.mySiteDomain)||"",mySitePath:(null===(a=null==h?void 0:h.sharePointSite)||void 0===a?void 0:a.mySitePath)||"",channelRelativeUrl:(null===(s=null==h?void 0:h.channel)||void 0===s?void 0:s.relativeUrl)||"",sharePointSite:{teamSiteDomain:(null===(l=null==h?void 0:h.sharePointSite)||void 0===l?void 0:l.teamSiteDomain)||"",teamSitePath:(null===(c=null==h?void 0:h.sharePointSite)||void 0===c?void 0:c.teamSitePath)||"",teamSiteUrl:(null===(u=null==h?void 0:h.sharePointSite)||void 0===u?void 0:u.teamSiteUrl)||"",mySiteDomain:(null===(d=null==h?void 0:h.sharePointSite)||void 0===d?void 0:d.mySiteDomain)||"",mySitePath:(null===(p=null==h?void 0:h.sharePointSite)||void 0===p?void 0:p.mySitePath)||""},channel:{relativeUrl:(null===(f=null==h?void 0:h.channel)||void 0===f?void 0:f.relativeUrl)||""}};return L(e,g)},B=(e,t)=>{var r,n,i,o;if(!t)return e;const a={teamSiteDomain:(null===(r=t.sharePointSite)||void 0===r?void 0:r.teamSiteDomain)||"",mySiteDomain:(null===(n=t.sharePointSite)||void 0===n?void 0:n.mySiteDomain)||"",sharePointSite:{teamSiteDomain:(null===(i=t.sharePointSite)||void 0===i?void 0:i.teamSiteDomain)||"",mySiteDomain:(null===(o=t.sharePointSite)||void 0===o?void 0:o.mySiteDomain)||""}};return L(e,a)},D=(e,t)=>{var r,n;return(null===(r=e.webApplicationInfo)||void 0===r?void 0:r.resource)&&T(null===(n=e.webApplicationInfo)||void 0===n?void 0:n.resource,t)},N=(e,t)=>{if(!e.startsWith("https:")&&!e.startsWith("api:"))return!1;if(!(e=e.replace("api://","https://"))||!t)return!1;if(e===t)return!0;if((0,c.eZ)().useStrictValidDomainRuleDetection)try{const r=new URL(t),n=new URL(e);return!(r.origin!==n.origin||!r.origin||!n.origin)}catch(e){return!1}else{if(!(0,c.eZ)().useUrlClassForValidDomains){const n=(0,c.eZ)().escapeRegExSpecialCharactersInValidDomains?(r=t)&&new URL(r).host.replace(d,"\\$1"):u(t),o=i.pi.validResourcePattern.replace(i.pi.resourceDomainParameter,n);return new RegExp(o,"i").test(e)}try{const r=new URL(t),n=new URL(e);return!(r.hostname!==n.hostname||!r.origin||!n.origin)}catch(e){return!1}}var r},R=e=>{try{const t=new URL(e);return"https:"===t.protocol||"api:"===t.protocol}catch(e){return!1}},O=(e,t,r)=>{const n=M(e),i=new l.a;let o=[...t];const s=h([...t]);s.length>0&&(r.log(a.$.Debug,"isUrlInDomainList",`Invalid domain detected with ${s}}`),(0,c.eZ)().wildcardValidDomainRuleDetection&&(o=o.filter((e=>!s.includes(e)))));for(const e of o){if(!i.add(e))continue;const t=z(e),r=new RegExp(`^https://${t}((/|\\?).*)?$`,"i");if(n.match(r))return!0}return!1},z=e=>{if(!0===(0,c.eZ)().wildcardValidDomainRuleDetection&&h([e]).length>0)throw new Error("The wildcardValidDomainRuleDetection flag is enabled and an improper wildcard domain segment was detected: "+e);return e.replaceAll(".","[.]").replaceAll("*","[^/^.]+")},M=e=>e.href,F=(e,t,r)=>{let n=L(e,V(t));return n=L(n,r),n},L=(e,t,r=[])=>{const n=e.indexOf("?");let i="",o="";return n>0?(i=e.substring(0,n),o=e.substring(n)):i=e,i&&(i=j(i,t,r,(e=>encodeURI(e)))),o&&(o=j(o,t,r,(e=>encodeURIComponent(e)))),i+o},j=(e,t,r=[],n)=>{if(void 0!==t)if("object"==typeof t)for(const i in t)e=j(e,t[i],r.concat(i),n);else if((0,c.eZ)().useUrlClassForValidDomains)e=e.replaceAll(`{${r.join(".")}}`,n(t));else{const i=r.join("."),o=new RegExp(`{${i.replace(".","\\.")}}`,"g");e=e.replace(o,n(t))}return e},V=e=>{var t,r,n,i,a;return{actionInfo:{actionId:(null===(t=e.actionInfo)||void 0===t?void 0:t.actionId)||"",actionObjects:(null===(r=e.actionInfo)||void 0===r?void 0:r.actionObjects)||[]},user:Object.assign(Object.assign({id:"",licenseType:""},e.user),{tenant:Object.assign({id:"",sku:""},null===(n=e.user)||void 0===n?void 0:n.tenant)}),app:Object.assign({iconPositionVertical:0,parentMessageId:"",userFileOpenPreference:o.QY.Inline,userClickTime:0,userClickTimeV2:0},e.app),page:Object.assign({isFullScreen:!1,subPageId:"",isMultiWindow:!1,sourceOrigin:""},e.page),meeting:{id:(null===(i=e.meeting)||void 0===i?void 0:i.id)||""},chat:{id:(null===(a=e.chat)||void 0===a?void 0:a.id)||""},channel:e.channel,sharePointSite:e.sharePointSite,sharepoint:e.sharepoint,team:e.team}};function H(e,t){var r,n,i,a;return{actionInfo:e.actionInfo,locale:e.app.locale,appSessionId:e.app.sessionId||"",appLaunchId:e.app.launchId||"",appId:null!==(r=null==t?void 0:t.id)&&void 0!==r?r:"",theme:e.app.theme,appIconPosition:e.app.iconPositionVertical||0,osLocaleInfo:e.app.osLocaleInfo,messageId:e.app.messageId,parentMessageId:e.app.parentMessageId||"",userClickTime:e.app.userClickTime||0,userClickTimeV2:e.app.userClickTimeV2||0,userFileOpenPreference:e.app.userFileOpenPreference||o.QY.Inline,manifestVersion:(null==t?void 0:t.manifestVersion)||"",hostName:e.app.host.name,hostClientType:e.app.host.clientType,sessionId:e.app.host.sessionId||"",ringId:e.app.host.ringId,entityId:e.page.id||"",frameContext:e.page.frameContext,renderingSurface:null===(n=e.page)||void 0===n?void 0:n.renderingSurface,subEntityId:e.page.subPageId||"",isFullScreen:e.page.isFullScreen||!1,isMultiWindow:e.page.isMultiWindow||!1,isBackgroundLoad:e.page.isBackgroundLoad,sourceOrigin:e.page.sourceOrigin||"",userObjectId:void 0!==e.user?e.user.id:void 0,isCallingAllowed:void 0!==e.user?e.user.isCallingAllowed:void 0,isPSTNCallingAllowed:void 0!==e.user?e.user.isPSTNCallingAllowed:void 0,userLicenseType:void 0!==e.user?e.user.licenseType:"",loginHint:void 0!==e.user?e.user.loginHint:void 0,userPrincipalName:void 0!==e.user?e.user.userPrincipalName:void 0,upn:void 0!==e.user?e.user.userPrincipalName:void 0,userDisplayName:void 0!==e.user?e.user.displayName:void 0,tid:void 0!==e.user&&void 0!==e.user.tenant?e.user.tenant.id:void 0,tenantSKU:(null===(a=null===(i=null==e?void 0:e.user)||void 0===i?void 0:i.tenant)||void 0===a?void 0:a.sku)||"",channelId:void 0!==e.channel?e.channel.id:void 0,channelName:void 0!==e.channel?e.channel.displayName:void 0,channelRelativeUrl:void 0!==e.channel?e.channel.relativeUrl:void 0,channelType:void 0!==e.channel?e.channel.membershipType:void 0,defaultOneNoteSectionId:void 0!==e.channel?e.channel.defaultOneNoteSectionId:void 0,hostTeamGroupId:void 0!==e.channel?e.channel.ownerGroupId:void 0,hostTeamTenantId:void 0!==e.channel?e.channel.ownerTenantId:void 0,chatId:void 0!==e.chat?e.chat.id:"",meetingId:void 0!==e.meeting?e.meeting.id:"",sharepoint:e.sharepoint,teamId:void 0!==e.team?e.team.internalId:void 0,teamName:void 0!==e.team?e.team.displayName:void 0,teamType:void 0!==e.team?e.team.type:void 0,groupId:void 0!==e.team?e.team.groupId:void 0,teamTemplateId:void 0!==e.team?e.team.templateId:void 0,isTeamArchived:void 0!==e.team?e.team.isArchived:void 0,userTeamRole:void 0!==e.team?e.team.userRole:void 0,teamSiteId:void 0!==e.sharePointSite?e.sharePointSite.teamSiteId:void 0,teamSiteUrl:void 0!==e.sharePointSite?e.sharePointSite.teamSiteUrl:void 0,teamSiteDomain:void 0!==e.sharePointSite?e.sharePointSite.teamSiteDomain:void 0,teamSitePath:void 0!==e.sharePointSite?e.sharePointSite.teamSitePath:void 0,mySiteDomain:void 0!==e.sharePointSite?e.sharePointSite.mySiteDomain:void 0,mySitePath:void 0!==e.sharePointSite?e.sharePointSite.mySitePath:void 0,dialogParameters:e.dialogParameters}}},7035:(e,t,r)=>{"use strict";r.d(t,{L:()=>d});var n=r(7810),i=r(8208),o=r(2637);class a extends i.rc{shouldDisplayBuiltInOverflowActionMenu(){return!this.onShouldDisplayBuiltInOverflowActionMenu||this.onShouldDisplayBuiltInOverflowActionMenu(this)}displayOverflowActionMenu(e){this.onDisplayOverflowActionMenu&&this.onDisplayOverflowActionMenu(this,e)}getButtonMenuItems(){if(this.shouldDisplayBuiltInOverflowActionMenu()){const e=[];return this._actions.forEach(((t,r)=>{"click"===t.applicationMode&&e.push(t.asMenuItem(r.toString()))})),e.length>0?e:void 0}}constructor(e){super(),this._actions=e,this.title=this.localizeString(o.D.overflowButtonText),this.tooltip=this.localizeString(o.D.overflowButtonTooltip)}getActions(){return this._actions}getAllActions(){const e=super.getAllActions();return e.push(...this._actions),e}getJsonTypeName(){return"Internal_Action.Overflow"}execute(){this.shouldDisplayBuiltInOverflowActionMenu()||this.displayOverflowActionMenu(this.domElement)}setupElementForAccessibility(e,t=!1){super.setupElementForAccessibility(e,t),e["aria-label"]=this.localizeString(o.D.overflowButtonTooltip)}}a.JsonTypeName="Action.Overflow";var s=r(3390),l=r(2583),c=r(7714),u=r(2290);class d{static getActionsPropertyDescriptor(e,t,r=!1){return{name:"actions",valueTypes:[{type:"object",validValues:e.actionRegistry.getDescriptors(e).sort(((e,t)=>e.name.localeCompare(t.name)))}],propertyType:"array",declaringClassName:t,schemaVersion:l.uq.v1_0,suggestedSchemaTypeName:c.x5,isHero:r}}renderInlineAdaptiveCard(e,t){return t?n.createElement(i.XG,{cardObject:e}):n.createElement("div",{style:{marginTop:`${this._owner.hostConfig.actions.showCard.inlineTopMargin}px`},key:e.getKey("inline-content")},n.createElement(i.XG,{cardObject:e}))}updateLayout(){this._owner.getRootObject().updateLayout()}collapseExpandedAction(){for(const e of this._renderedActions){if(e instanceof a)for(const t of e.getActions())t.state=s.kj.Normal;e.state=s.kj.Normal}const e=this._expandedAction;this._expandedAction=void 0,e&&(e.collapse(),this.updateLayout())}shouldDisplayBuiltInOverflowActionButton(e){return!this.onShouldDisplayBuiltInOverflowActionButton||this.onShouldDisplayBuiltInOverflowActionButton(e)}shouldDisplayBuiltInOverflowActionMenu(e){return!this.onShouldDisplayBuiltInOverflowActionMenu||this.onShouldDisplayBuiltInOverflowActionMenu(e)}displayOverflowActionMenu(e,t){this.onDisplayOverflowActionMenu&&this.onDisplayOverflowActionMenu(e,t)}constructor(e){this._items=[],this._renderedActions=[],this._owner=e}releaseDOMResources(){for(const e of this._renderedActions)e.releaseDOMResources()}actionExecuted(e){if(e.dismissesPopover&&this._owner.closePopover(),e.isExpandable){if(e===this._expandedAction)this.collapseExpandedAction();else if(this._owner.hostConfig.actions.showCard.actionMode===s.l1.Inline){for(const t of this._renderedActions)if(t instanceof a)for(const r of t.getActions())r.state=r!==e?s.kj.Subdued:s.kj.Expanded;else t.state=t!==e?s.kj.Subdued:s.kj.Expanded;this._expandedAction=e,e.expand(!(this._owner.isAtTheVeryLeft()&&this._owner.isAtTheVeryRight()),!0)}}else this.collapseExpandedAction();this.updateLayout()}parse(e,t){if(this.clear(),Array.isArray(e))for(const r of e){const e=t.parseAction(this._owner,r,[],!0);e&&this.addAction(e)}}toJSON(e,t,r){r.serializeArray(e,t,this._items)}getActionAt(e){return this._items[e]}getActionCount(){return this._items.length}getActionById(e){let t;for(const r of this._items)if(t=r.getActionById(e),t)break;return t}getElementById(e){let t;for(const r of this._items)if(t=r.getElementById(e),t)break;return t}validateProperties(e){this._owner.hostConfig.actions.maxActions&&this._items.length>this._owner.hostConfig.actions.maxActions&&e.addFailure(this._owner,s.iV.TooManyActions,o.D.errors.tooManyActions(this._owner.hostConfig.actions.maxActions)),this._items.length>0&&!this._owner.hostConfig.supportsInteractivity&&e.addFailure(this._owner,s.iV.InteractivityNotAllowed,o.D.errors.interactivityNotAllowed());for(const t of this._items)t.internalValidateProperties(e)}render(e){const t=this._owner.hostConfig;if(!t.supportsInteractivity)return null;const r=this._items.filter((e=>e.isVisible||this._owner.isDesignMode())),o=t.actions.maxActions?Math.min(t.actions.maxActions,r.length):r.length;this._renderedActions=[];const l=[],d=1===o?r[0].getInlineContent():void 0;if(t.actions.preExpandSingleShowCardAction&&d)this._renderedActions.push(r[0]),l.push(this.renderInlineAdaptiveCard(d,!0));else{const o=(0,u.xg)();if(o.className=t.makeCssClassName("ac-actionSet"),o.style.display="flex",o.style.gap=t.actions.buttonSpacing,e===s.t4.Horizontal)if(o.style.flexDirection="row",t.actions.allowButtonsToWrap&&(o.style.flexWrap="wrap"),this._owner.horizontalAlignment&&t.actions.actionAlignment!==s.i.Stretch)switch(this._owner.horizontalAlignment){case s.OD.Center:o.style.justifyContent="center";break;case s.OD.Right:o.style.justifyContent="flex-end";break;default:o.style.justifyContent="flex-start"}else switch(t.actions.actionAlignment){case s.i.Center:o.style.justifyContent="center";break;case s.i.Right:o.style.justifyContent="flex-end";break;default:o.style.justifyContent="flex-start"}else if(o.style.flexDirection="column",this._owner.horizontalAlignment&&t.actions.actionAlignment!==s.i.Stretch)switch(this._owner.horizontalAlignment){case s.OD.Center:o.style.alignItems="center";break;case s.OD.Right:o.style.alignItems="flex-end";break;default:o.style.alignItems="flex-start"}else switch(t.actions.actionAlignment){case s.i.Center:o.style.alignItems="center";break;case s.i.Right:o.style.alignItems="flex-end";break;case s.i.Stretch:o.style.alignItems="stretch";break;default:o.style.alignItems="flex-start"}const d=[],p=[];if(this._owner.isDesignMode())d.push(...r);else{r.forEach((e=>{e.mode===s.yG.Primary||"wrap"===e.applicationMode||e.menuActions&&e.menuActions.length>0?d.push(e):p.push(e)}));const e=d.splice(t.actions.maxActions);c.h$.allowMoreThanMaxActionsInOverflowMenu&&p.push(...e);let n=!0;p.length>0&&(this._overflowAction||(this._overflowAction=new a(p),this._overflowAction.onShouldDisplayBuiltInOverflowActionMenu=e=>this.shouldDisplayBuiltInOverflowActionMenu(e),this._overflowAction.onDisplayOverflowActionMenu=(e,t)=>{this.displayOverflowActionMenu(e,t)},this._overflowAction.setParent(this._owner)),n=this.shouldDisplayBuiltInOverflowActionButton(this._overflowAction)),this._overflowAction&&n&&d.push(this._overflowAction)}const f=d.map(((e,t)=>{const r=n.createElement(i.XG,{key:e.getKey(t),cardObject:e});if(r)return this._renderedActions.push(e),r})).filter((e=>void 0!==e));f.length>0&&l.push(n.createElement("div",{style:{overflow:"hidden"},key:"buttonStripContainer"},n.createElement("div",o,f)))}for(const e of this._renderedActions){if(e instanceof a){const t=e.getActions().find((e=>e.state===s.kj.Expanded)),r=null==t?void 0:t.getInlineContent();r&&l.push(this.renderInlineAdaptiveCard(r,!1));break}if(e.state===s.kj.Expanded){const t=e.getInlineContent();t&&l.push(this.renderInlineAdaptiveCard(t,!1));break}}return l.length>0?n.createElement(n.Fragment,null,l):null}addAction(e){if(!e)throw new Error("The action parameter cannot be null.");if(e.parent&&e.parent!==this._owner||!(this._items.indexOf(e)<0))throw new Error(o.D.errors.actionAlreadyParented());this._items.push(e),e._owner=this,e.parent||e.setParent(this._owner)}removeAction(e){this.expandedAction&&this._expandedAction===e&&this.collapseExpandedAction();const t=this._items.indexOf(e);if(t>=0){this._items.splice(t,1),e.setParent(void 0);for(let t=0;t<this._renderedActions.length;t++)if(this._renderedActions[t]===e){this._renderedActions.splice(t,1);break}return!0}return!1}clear(){this._items=[],this._renderedActions=[],this._expandedAction=void 0}getAllInputs(e=!0){const t=[];if(e)for(const e of this._items)t.push(...e.getAllInputs());return t}getResourceInformation(){const e=[];for(const t of this._items)e.push(...t.getResourceInformation());return e}hasResponsiveElements(){for(const e of this._items)if(e.hasResponsiveElements())return!0;return!1}get renderedActionCount(){return this._renderedActions.length}get expandedAction(){return this._expandedAction}}},7037:(e,t,r)=>{"use strict";r.d(t,{Si:()=>y,VN:()=>g,Z1:()=>h,k5:()=>v,yc:()=>m});var n=r(5188),i=r(8374),o=r(5239),a=r(9666),s=4294967296,l=4294967295,c=!1,u=123456789,d=987654321;function p(e){e<0&&(e>>>=0),u=123456789+e&l,d=987654321-e&l,c=!0}function f(){try{var e=2147483647&(0,o.x3)();p((Math.random()*s^e)+e)}catch(e){}}function h(e){return e>0?Math.floor(g()/l*(e+1))>>>0:0}function g(e){var t=0,r=(0,i.MY)()||(0,i.iN)();return r&&r.getRandomValues&&(t=r.getRandomValues(new Uint32Array(1))[0]&l),0===t&&(0,i.lT)()&&(c||f(),t=v()&l),0===t&&(t=Math.floor(s*Math.random()|0)),e||(t>>>=0),t}function m(e){e?p(e):f()}function v(e){var t=((d=36969*(65535&d)+(d>>16)&l)<<16)+(65535&(u=18e3*(65535&u)+(u>>16)&l))>>>0&l;return e||(t>>>=0),t}function y(e){void 0===e&&(e=22);for(var t=g()>>>0,r=0,i=a.m5;i[n.oI]<e;)r++,i+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&t),t>>>=6,5===r&&(t=(g()<<2&4294967295|3&t)>>>0,r=0);return i}},7042:e=>{e.exports="data:image/svg+xml,%3csvg width='160' height='160' viewBox='0 0 160 160' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M130.45 70.9998L96.1196 105.53C95.183 106.476 94.8221 107.851 95.1727 109.135C95.5232 110.42 96.532 111.42 97.8196 111.76L144.91 124.21C146.197 124.548 147.567 124.176 148.505 123.231C149.443 122.287 149.807 120.915 149.46 119.63L136.7 72.6298C136.346 71.3456 135.334 70.3476 134.045 70.0114C132.756 69.6753 131.386 70.052 130.45 70.9998Z' fill='url(%23paint0_linear)'/%3e %3cpath d='M30.6596 31.7804L10.3496 76.0504C9.79449 77.2603 9.9262 78.6743 10.6952 79.7608C11.4642 80.8474 12.754 81.4417 14.0796 81.3204L62.5796 76.7704C63.9068 76.6476 65.0675 75.8259 65.6245 74.615C66.1814 73.4041 66.05 71.9881 65.2796 70.9004L37.0896 31.1704C36.3172 30.0853 35.0247 29.4944 33.6986 29.6202C32.3726 29.746 31.2142 30.5694 30.6596 31.7804Z' fill='url(%23paint1_linear)'/%3e %3cpath d='M69.511 38.0003L10.591 125.32C8.98078 127.709 8.76634 130.776 10.0283 133.365C11.2903 135.955 13.8372 137.676 16.711 137.88L121.781 145.25C124.654 145.447 127.414 144.099 129.024 141.712C130.634 139.324 130.85 136.26 129.591 133.67L83.441 39.0003C82.1844 36.4072 79.639 34.6822 76.7649 34.4758C73.8907 34.2695 71.1251 35.6132 69.511 38.0003Z' fill='%230086F0'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M78.665 64.3512C78.8195 62.1474 77.1582 60.2357 74.9545 60.0812C72.7508 59.9268 70.8391 61.588 70.6846 63.7917L67.8174 104.691C67.6629 106.895 69.3242 108.807 71.5279 108.961C73.7316 109.116 75.6434 107.455 75.7978 105.251L78.665 64.3512ZM75.3594 118.5C75.3594 116.015 73.3447 114 70.8594 114C68.3741 114 66.3594 116.015 66.3594 118.5C66.3594 120.985 68.3741 123 70.8594 123C73.3447 123 75.3594 120.985 75.3594 118.5Z' fill='black'/%3e %3cpath d='M28.1699 73.3203C30.6552 73.3203 32.6699 71.3056 32.6699 68.8203C32.6699 66.335 30.6552 64.3203 28.1699 64.3203C25.6846 64.3203 23.6699 66.335 23.6699 68.8203C23.6699 71.3056 25.6846 73.3203 28.1699 73.3203Z' fill='%2328C2D1'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M146.274 58.5565L146.252 58.5499C144.138 57.9111 141.905 59.1075 141.267 61.2223L132.56 90.0441C131.921 92.1588 133.118 94.3911 135.232 95.0299L135.453 95.091C137.507 95.5996 139.621 94.4127 140.24 92.3641L148.947 63.5423C149.585 61.4275 148.389 59.1953 146.274 58.5565ZM136.811 103.68C136.811 101.194 134.796 99.1798 132.311 99.1798C129.825 99.1798 127.811 101.194 127.811 103.68C127.811 106.165 129.825 108.18 132.311 108.18C134.796 108.18 136.811 106.165 136.811 103.68Z' fill='%23B3AFAB'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M28.3278 54.6914L20.1544 25.8263C19.5525 23.7007 17.3415 22.4655 15.2159 23.0674C13.0904 23.6693 11.8552 25.8803 12.457 28.0059L20.6305 56.871C21.2324 58.9965 23.4434 60.2317 25.569 59.6299C27.6945 59.028 28.9297 56.817 28.3278 54.6914ZM32.67 68.8204C32.67 66.3351 30.6553 64.3204 28.17 64.3204C25.6847 64.3204 23.67 66.3351 23.67 68.8204C23.67 71.3057 25.6847 73.3204 28.17 73.3204C30.6553 73.3204 32.67 71.3057 32.67 68.8204Z' fill='%23B3AFAB'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M78.0705 17.8367C77.802 16.5992 76.6235 15.7592 75.3503 15.9303C74.7088 16.0171 74.1285 16.3562 73.738 16.8725C73.3476 17.3887 73.1792 18.0395 73.2703 18.6803L74.1603 25.1003L74.1881 25.2585C74.4501 26.5075 75.6381 27.3571 76.9203 27.1803C77.5625 27.0911 78.1429 26.7499 78.5331 26.232C78.9234 25.7142 79.0915 25.0623 79.0003 24.4203L78.1003 18.0003L78.0705 17.8367ZM86.3703 27.2803L89.4803 22.0703C90.1402 20.9628 91.5399 20.5675 92.674 21.1401L92.8203 21.2203L93.0903 21.4003C93.9942 22.13 94.2585 23.3853 93.7474 24.4105L93.6603 24.5703L90.5403 29.7903C89.8483 30.9423 88.355 31.3179 87.2003 30.6303C87.0913 30.5648 86.9878 30.4908 86.8908 30.4089L86.7503 30.2803L86.6209 30.1449C85.9634 29.4012 85.8274 28.3279 86.2788 27.4437L86.3703 27.2803ZM97.0003 35.1303L102.16 32.5303C102.739 32.2308 103.414 32.1803 104.03 32.3903C104.297 32.4778 104.547 32.6097 104.77 32.7803C105.054 33.0022 105.283 33.2861 105.44 33.6103C106.017 34.7617 105.598 36.1523 104.506 36.8001L104.36 36.8803L99.2003 39.4803C98.6239 39.7799 97.9507 39.833 97.3345 39.6276C96.7799 39.4427 96.3141 39.0626 96.0213 38.5617L95.9303 38.3903H95.9203C95.3443 37.2417 95.7642 35.8541 96.8543 35.21L97.0003 35.1303Z' fill='%2333312D'/%3e %3cdefs%3e %3clinearGradient id='paint0_linear' x1='96.9876' y1='125.262' x2='134.066' y2='117.517' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23605D5A'/%3e %3cstop offset='1' stop-color='%23797673'/%3e %3c/linearGradient%3e %3clinearGradient id='paint1_linear' x1='70.8909' y1='65.4114' x2='44.482' y2='46.915' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23605D5A'/%3e %3cstop offset='0.999947' stop-color='%23797673'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e"},7045:(e,t,r)=>{"use strict";
/** @license React v17.0.2
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=r(7810),i=r(5946),o=r(2328);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(a(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f=Object.prototype.hasOwnProperty,h={},g={};function m(e,t,r,n,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,r,n){var i=v.hasOwnProperty(t)?v[t]:null;(null!==i?0===i.type:!n&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,i,n)&&(r=null),n||null===i?function(e){return!!f.call(g,e)||!f.call(h,e)&&(p.test(e)?g[e]=!0:(h[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=null===r?3!==i.type&&"":r:(t=i.attributeName,n=i.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var S=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,C=60103,A=60106,x=60107,k=60108,E=60114,_=60109,I=60110,P=60112,T=60113,B=60120,D=60115,N=60116,R=60121,O=60128,z=60129,M=60130,F=60131;if("function"==typeof Symbol&&Symbol.for){var L=Symbol.for;C=L("react.element"),A=L("react.portal"),x=L("react.fragment"),k=L("react.strict_mode"),E=L("react.profiler"),_=L("react.provider"),I=L("react.context"),P=L("react.forward_ref"),T=L("react.suspense"),B=L("react.suspense_list"),D=L("react.memo"),N=L("react.lazy"),R=L("react.block"),L("react.scope"),O=L("react.opaque.id"),z=L("react.debug_trace_mode"),M=L("react.offscreen"),F=L("react.legacy_hidden")}var j,V="function"==typeof Symbol&&Symbol.iterator;function H(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=V&&e[V]||e["@@iterator"])?e:null}function q(e){if(void 0===j)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var U=!1;function $(e,t){if(!e||U)return"";U=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(e){if(e&&n&&"string"==typeof e.stack){for(var i=e.stack.split("\n"),o=n.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{U=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?q(e):""}function W(e){switch(e.tag){case 5:return q(e.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return $(e.type,!1);case 11:return $(e.type.render,!1);case 22:return $(e.type._render,!1);case 1:return $(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case A:return"Portal";case E:return"Profiler";case k:return"StrictMode";case T:return"Suspense";case B:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case I:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case D:return G(e.type);case R:return G(e._render);case N:t=e._payload,e=e._init;try{return G(e(t))}catch(e){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function X(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=X(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function J(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=X(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var r=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function ee(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=K(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function re(e,t){te(e,t);var r=K(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?ie(e,t.type,r):t.hasOwnProperty("defaultValue")&&ie(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ne(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ie(e,t,r){"number"===t&&Z(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function oe(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+K(r),t=null,i=0;i<e.length;i++){if(e[i].value===r)return e[i].selected=!0,void(n&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(a(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(a(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:K(r)}}function ce(e,t){var r=K(t.value),n=K(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function fe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var he,ge,me=(ge=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((he=he||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function ve(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},be=["Webkit","ms","Moz","O"];function we(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function Se(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=we(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}Object.keys(ye).forEach((function(e){be.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var Ce=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ae(e,t){if(t){if(Ce[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function xe(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ee=null,_e=null,Ie=null;function Pe(e){if(e=ri(e)){if("function"!=typeof Ee)throw Error(a(280));var t=e.stateNode;t&&(t=ii(t),Ee(e.stateNode,e.type,t))}}function Te(e){_e?Ie?Ie.push(e):Ie=[e]:_e=e}function Be(){if(_e){var e=_e,t=Ie;if(Ie=_e=null,Pe(e),t)for(e=0;e<t.length;e++)Pe(t[e])}}function De(e,t){return e(t)}function Ne(e,t,r,n,i){return e(t,r,n,i)}function Re(){}var Oe=De,ze=!1,Me=!1;function Fe(){null===_e&&null===Ie||(Re(),Be())}function Le(e,t){var r=e.stateNode;if(null===r)return null;var n=ii(r);if(null===n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(a(231,t,typeof r));return r}var je=!1;if(d)try{var Ve={};Object.defineProperty(Ve,"passive",{get:function(){je=!0}}),window.addEventListener("test",Ve,Ve),window.removeEventListener("test",Ve,Ve)}catch(ge){je=!1}function He(e,t,r,n,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(e){this.onError(e)}}var qe=!1,Ue=null,$e=!1,We=null,Ge={onError:function(e){qe=!0,Ue=e}};function Ke(e,t,r,n,i,o,a,s,l){qe=!1,Ue=null,He.apply(Ge,arguments)}function Xe(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(1026&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function Ye(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Je(e){if(Xe(e)!==e)throw Error(a(188))}function Ze(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Xe(e)))throw Error(a(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(n=i.return)){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return Je(i),e;if(o===n)return Je(i),t;o=o.sibling}throw Error(a(188))}if(r.return!==n.return)r=i,n=o;else{for(var s=!1,l=i.child;l;){if(l===r){s=!0,r=i,n=o;break}if(l===n){s=!0,n=i,r=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===r){s=!0,r=o,n=i;break}if(l===n){s=!0,n=o,r=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Qe(e,t){for(var r=e.alternate;null!==t;){if(t===e||t===r)return!0;t=t.return}return!1}var et,tt,rt,nt,it=!1,ot=[],at=null,st=null,lt=null,ct=new Map,ut=new Map,dt=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ft(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|r,nativeEvent:i,targetContainers:[n]}}function ht(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ut.delete(t.pointerId)}}function gt(e,t,r,n,i,o){return null===e||e.nativeEvent!==o?(e=ft(t,r,n,i,o),null!==t&&null!==(t=ri(t))&&tt(t),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function mt(e){var t=ti(e.target);if(null!==t){var r=Xe(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=Ye(r)))return e.blockedOn=t,void nt(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){rt(r)}))}))}else if(3===t&&r.stateNode.hydrate)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=ri(r))&&tt(t),e.blockedOn=r,!1;t.shift()}return!0}function yt(e,t,r){vt(e)&&r.delete(t)}function bt(){for(it=!1;0<ot.length;){var e=ot[0];if(null!==e.blockedOn){null!==(e=ri(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var r=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r){e.blockedOn=r;break}t.shift()}null===e.blockedOn&&ot.shift()}null!==at&&vt(at)&&(at=null),null!==st&&vt(st)&&(st=null),null!==lt&&vt(lt)&&(lt=null),ct.forEach(yt),ut.forEach(yt)}function wt(e,t){e.blockedOn===t&&(e.blockedOn=null,it||(it=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,bt)))}function St(e){function t(t){return wt(t,e)}if(0<ot.length){wt(ot[0],e);for(var r=1;r<ot.length;r++){var n=ot[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==at&&wt(at,e),null!==st&&wt(st,e),null!==lt&&wt(lt,e),ct.forEach(t),ut.forEach(t),r=0;r<dt.length;r++)(n=dt[r]).blockedOn===e&&(n.blockedOn=null);for(;0<dt.length&&null===(r=dt[0]).blockedOn;)mt(r),null===r.blockedOn&&dt.shift()}function Ct(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var At={animationend:Ct("Animation","AnimationEnd"),animationiteration:Ct("Animation","AnimationIteration"),animationstart:Ct("Animation","AnimationStart"),transitionend:Ct("Transition","TransitionEnd")},xt={},kt={};function Et(e){if(xt[e])return xt[e];if(!At[e])return e;var t,r=At[e];for(t in r)if(r.hasOwnProperty(t)&&t in kt)return xt[e]=r[t];return e}d&&(kt=document.createElement("div").style,"AnimationEvent"in window||(delete At.animationend.animation,delete At.animationiteration.animation,delete At.animationstart.animation),"TransitionEvent"in window||delete At.transitionend.transition);var _t=Et("animationend"),It=Et("animationiteration"),Pt=Et("animationstart"),Tt=Et("transitionend"),Bt=new Map,Dt=new Map,Nt=["abort","abort",_t,"animationEnd",It,"animationIteration",Pt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Tt,"transitionEnd","waiting","waiting"];function Rt(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Dt.set(n,t),Bt.set(n,i),c(i,[n])}}(0,o.unstable_now)();var Ot=8;function zt(e){if(1&e)return Ot=15,1;if(2&e)return Ot=14,2;if(4&e)return Ot=13,4;var t=24&e;return 0!==t?(Ot=12,t):32&e?(Ot=11,32):0!=(t=192&e)?(Ot=10,t):256&e?(Ot=9,256):0!=(t=3584&e)?(Ot=8,t):4096&e?(Ot=7,4096):0!=(t=4186112&e)?(Ot=6,t):0!=(t=62914560&e)?(Ot=5,t):67108864&e?(Ot=4,67108864):134217728&e?(Ot=3,134217728):0!=(t=805306368&e)?(Ot=2,t):1073741824&e?(Ot=1,1073741824):(Ot=8,e)}function Mt(e,t){var r=e.pendingLanes;if(0===r)return Ot=0;var n=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==o)n=o,i=Ot=15;else if(0!=(o=134217727&r)){var l=o&~a;0!==l?(n=zt(l),i=Ot):0!=(s&=o)&&(n=zt(s),i=Ot)}else 0!=(o=r&~a)?(n=zt(o),i=Ot):0!==s&&(n=zt(s),i=Ot);if(0===n)return 0;if(n=r&((0>(n=31-qt(n))?0:1<<n)<<1)-1,0!==t&&t!==n&&!(t&a)){if(zt(t),i<=Ot)return t;Ot=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)i=1<<(r=31-qt(t)),n|=e[r],t&=~i;return n}function Ft(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Lt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=jt(24&~t))?Lt(10,t):e;case 10:return 0===(e=jt(192&~t))?Lt(8,t):e;case 8:return 0===(e=jt(3584&~t))&&0===(e=jt(4186112&~t))&&(e=512),e;case 2:return 0===(t=jt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function jt(e){return e&-e}function Vt(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Ht(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,(e=e.eventTimes)[t=31-qt(t)]=r}var qt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ut(e)/$t|0)|0},Ut=Math.log,$t=Math.LN2,Wt=o.unstable_UserBlockingPriority,Gt=o.unstable_runWithPriority,Kt=!0;function Xt(e,t,r,n){ze||Re();var i=Jt,o=ze;ze=!0;try{Ne(i,e,t,r,n)}finally{(ze=o)||Fe()}}function Yt(e,t,r,n){Gt(Wt,Jt.bind(null,e,t,r,n))}function Jt(e,t,r,n){var i;if(Kt)if((i=!(4&t))&&0<ot.length&&-1<pt.indexOf(e))e=ft(null,e,t,r,n),ot.push(e);else{var o=Zt(e,t,r,n);if(null===o)i&&ht(e,n);else{if(i){if(-1<pt.indexOf(e))return e=ft(o,e,t,r,n),void ot.push(e);if(function(e,t,r,n,i){switch(t){case"focusin":return at=gt(at,e,t,r,n,i),!0;case"dragenter":return st=gt(st,e,t,r,n,i),!0;case"mouseover":return lt=gt(lt,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return ct.set(o,gt(ct.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,ut.set(o,gt(ut.get(o)||null,e,t,r,n,i)),!0}return!1}(o,e,t,r,n))return;ht(e,n)}Rn(e,t,n,null,r)}}}function Zt(e,t,r,n){var i=ke(n);if(null!==(i=ti(i))){var o=Xe(i);if(null===o)i=null;else{var a=o.tag;if(13===a){if(null!==(i=Ye(o)))return i;i=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Rn(e,t,n,i,r),null}var Qt=null,er=null,tr=null;function rr(){if(tr)return tr;var e,t,r=er,n=r.length,i="value"in Qt?Qt.value:Qt.textContent,o=i.length;for(e=0;e<n&&r[e]===i[e];e++);var a=n-e;for(t=1;t<=a&&r[n-t]===i[o-t];t++);return tr=i.slice(e,1<t?1-t:void 0)}function nr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function ir(){return!0}function or(){return!1}function ar(e){function t(t,r,n,i,o){for(var a in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?ir:or,this.isPropagationStopped=or,this}return i(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ir)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ir)},persist:function(){},isPersistent:ir}),t}var sr,lr,cr,ur={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dr=ar(ur),pr=i({},ur,{view:0,detail:0}),fr=ar(pr),hr=i({},pr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Er,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cr&&(cr&&"mousemove"===e.type?(sr=e.screenX-cr.screenX,lr=e.screenY-cr.screenY):lr=sr=0,cr=e),sr)},movementY:function(e){return"movementY"in e?e.movementY:lr}}),gr=ar(hr),mr=ar(i({},hr,{dataTransfer:0})),vr=ar(i({},pr,{relatedTarget:0})),yr=ar(i({},ur,{animationName:0,elapsedTime:0,pseudoElement:0})),br=i({},ur,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wr=ar(br),Sr=ar(i({},ur,{data:0})),Cr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ar={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xr[e])&&!!t[e]}function Er(){return kr}var _r=i({},pr,{key:function(e){if(e.key){var t=Cr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=nr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Ar[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Er,charCode:function(e){return"keypress"===e.type?nr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?nr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Ir=ar(_r),Pr=ar(i({},hr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tr=ar(i({},pr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Er})),Br=ar(i({},ur,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dr=i({},hr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nr=ar(Dr),Rr=[9,13,27,32],Or=d&&"CompositionEvent"in window,zr=null;d&&"documentMode"in document&&(zr=document.documentMode);var Mr=d&&"TextEvent"in window&&!zr,Fr=d&&(!Or||zr&&8<zr&&11>=zr),Lr=String.fromCharCode(32),jr=!1;function Vr(e,t){switch(e){case"keyup":return-1!==Rr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var qr=!1,Ur={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ur[e.type]:"textarea"===t}function Wr(e,t,r,n){Te(n),0<(t=zn(t,"onChange")).length&&(r=new dr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Gr=null,Kr=null;function Xr(e){In(e,0)}function Yr(e){if(J(ni(e)))return e}function Jr(e,t){if("change"===e)return t}var Zr=!1;if(d){var Qr;if(d){var en="oninput"in document;if(!en){var tn=document.createElement("div");tn.setAttribute("oninput","return;"),en="function"==typeof tn.oninput}Qr=en}else Qr=!1;Zr=Qr&&(!document.documentMode||9<document.documentMode)}function rn(){Gr&&(Gr.detachEvent("onpropertychange",nn),Kr=Gr=null)}function nn(e){if("value"===e.propertyName&&Yr(Kr)){var t=[];if(Wr(t,Kr,e,ke(e)),e=Xr,ze)e(t);else{ze=!0;try{De(e,t)}finally{ze=!1,Fe()}}}}function on(e,t,r){"focusin"===e?(rn(),Kr=r,(Gr=t).attachEvent("onpropertychange",nn)):"focusout"===e&&rn()}function an(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yr(Kr)}function sn(e,t){if("click"===e)return Yr(t)}function ln(e,t){if("input"===e||"change"===e)return Yr(t)}var cn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},un=Object.prototype.hasOwnProperty;function dn(e,t){if(cn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!un.call(t,r[n])||!cn(e[r[n]],t[r[n]]))return!1;return!0}function pn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fn(e,t){var r,n=pn(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=pn(n)}}function hn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function gn(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=Z((e=t.contentWindow).document)}return t}function mn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vn=d&&"documentMode"in document&&11>=document.documentMode,yn=null,bn=null,wn=null,Sn=!1;function Cn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;Sn||null==yn||yn!==Z(n)||(n="selectionStart"in(n=yn)&&mn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},wn&&dn(wn,n)||(wn=n,0<(n=zn(bn,"onSelect")).length&&(t=new dr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=yn)))}Rt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Rt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Rt(Nt,2);for(var An="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),xn=0;xn<An.length;xn++)Dt.set(An[xn],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),En=new Set("cancel close invalid load scroll toggle".split(" ").concat(kn));function _n(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,i,o,s,l,c){if(Ke.apply(this,arguments),qe){if(!qe)throw Error(a(198));var u=Ue;qe=!1,Ue=null,$e||($e=!0,We=u)}}(n,t,void 0,e),e.currentTarget=null}function In(e,t){t=!!(4&t);for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;_n(i,s,c),o=l}else for(a=0;a<n.length;a++){if(l=(s=n[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;_n(i,s,c),o=l}}}if($e)throw e=We,$e=!1,We=null,e}function Pn(e,t){var r=oi(t),n=e+"__bubble";r.has(n)||(Nn(t,e,2,!1),r.add(n))}var Tn="_reactListening"+Math.random().toString(36).slice(2);function Bn(e){e[Tn]||(e[Tn]=!0,s.forEach((function(t){En.has(t)||Dn(t,!1,e,null),Dn(t,!0,e,null)})))}function Dn(e,t,r,n){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=r;if("selectionchange"===e&&9!==r.nodeType&&(o=r.ownerDocument),null!==n&&!t&&En.has(e)){if("scroll"!==e)return;i|=2,o=n}var a=oi(o),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(i|=4),Nn(o,e,i,t),a.add(s))}function Nn(e,t,r,n){var i=Dt.get(t);switch(void 0===i?2:i){case 0:i=Xt;break;case 1:i=Yt;break;default:i=Jt}r=i.bind(null,t,r,e),i=void 0,!je||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),n?void 0!==i?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):void 0!==i?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function Rn(e,t,r,n,i){var o=n;if(!(1&t||2&t||null===n))e:for(;;){if(null===n)return;var a=n.tag;if(3===a||4===a){var s=n.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=n.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=ti(s)))return;if(5===(l=a.tag)||6===l){n=o=a;continue e}s=s.parentNode}}n=n.return}!function(e,t,r){if(Me)return e();Me=!0;try{return Oe(e,t,r)}finally{Me=!1,Fe()}}((function(){var n=o,i=ke(r),a=[];e:{var s=Bt.get(e);if(void 0!==s){var l=dr,c=e;switch(e){case"keypress":if(0===nr(r))break e;case"keydown":case"keyup":l=Ir;break;case"focusin":c="focus",l=vr;break;case"focusout":c="blur",l=vr;break;case"beforeblur":case"afterblur":l=vr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=gr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Tr;break;case _t:case It:case Pt:l=yr;break;case Tt:l=Br;break;case"scroll":l=fr;break;case"wheel":l=Nr;break;case"copy":case"cut":case"paste":l=wr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Pr}var u=!!(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var f,h=n;null!==h;){var g=(f=h).stateNode;if(5===f.tag&&null!==g&&(f=g,null!==p&&null!=(g=Le(h,p))&&u.push(On(h,g,f))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,r,i),a.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||16&t||!(c=r.relatedTarget||r.fromElement)||!ti(c)&&!c[Qn])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=n,null!==(c=(c=r.relatedTarget||r.toElement)?ti(c):null)&&(c!==(d=Xe(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=n),l!==c)){if(u=gr,g="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Pr,g="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==l?s:ni(l),f=null==c?s:ni(c),(s=new u(g,h+"leave",l,r,i)).target=d,s.relatedTarget=f,g=null,ti(i)===n&&((u=new u(p,h+"enter",c,r,i)).target=f,u.relatedTarget=d,g=u),d=g,l&&c)e:{for(p=c,h=0,f=u=l;f;f=Mn(f))h++;for(f=0,g=p;g;g=Mn(g))f++;for(;0<h-f;)u=Mn(u),h--;for(;0<f-h;)p=Mn(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=Mn(u),p=Mn(p)}u=null}else u=null;null!==l&&Fn(a,s,l,u,!1),null!==c&&null!==d&&Fn(a,d,c,u,!0)}if("select"===(l=(s=n?ni(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Jr;else if($r(s))if(Zr)m=ln;else{m=an;var v=on}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=sn);switch(m&&(m=m(e,n))?Wr(a,m,r,i):(v&&v(e,s,n),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ie(s,"number",s.value)),v=n?ni(n):window,e){case"focusin":($r(v)||"true"===v.contentEditable)&&(yn=v,bn=n,wn=null);break;case"focusout":wn=bn=yn=null;break;case"mousedown":Sn=!0;break;case"contextmenu":case"mouseup":case"dragend":Sn=!1,Cn(a,r,i);break;case"selectionchange":if(vn)break;case"keydown":case"keyup":Cn(a,r,i)}var y;if(Or)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else qr?Vr(e,r)&&(b="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(b="onCompositionStart");b&&(Fr&&"ko"!==r.locale&&(qr||"onCompositionStart"!==b?"onCompositionEnd"===b&&qr&&(y=rr()):(er="value"in(Qt=i)?Qt.value:Qt.textContent,qr=!0)),0<(v=zn(n,b)).length&&(b=new Sr(b,e,null,r,i),a.push({event:b,listeners:v}),(y||null!==(y=Hr(r)))&&(b.data=y))),(y=Mr?function(e,t){switch(e){case"compositionend":return Hr(t);case"keypress":return 32!==t.which?null:(jr=!0,Lr);case"textInput":return(e=t.data)===Lr&&jr?null:e;default:return null}}(e,r):function(e,t){if(qr)return"compositionend"===e||!Or&&Vr(e,t)?(e=rr(),tr=er=Qt=null,qr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fr&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=zn(n,"onBeforeInput")).length&&(i=new Sr("onBeforeInput","beforeinput",null,r,i),a.push({event:i,listeners:n}),i.data=y)}In(a,t)}))}function On(e,t,r){return{instance:e,listener:t,currentTarget:r}}function zn(e,t){for(var r=t+"Capture",n=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Le(e,r))&&n.unshift(On(e,o,i)),null!=(o=Le(e,t))&&n.push(On(e,o,i))),e=e.return}return n}function Mn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Fn(e,t,r,n,i){for(var o=t._reactName,a=[];null!==r&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=Le(r,o))&&a.unshift(On(r,l,s)):i||null!=(l=Le(r,o))&&a.push(On(r,l,s))),r=r.return}0!==a.length&&e.push({event:t,listeners:a})}function Ln(){}var jn=null,Vn=null;function Hn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function qn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Un="function"==typeof setTimeout?setTimeout:void 0,$n="function"==typeof clearTimeout?clearTimeout:void 0;function Wn(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Gn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Kn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var Xn=0,Yn=Math.random().toString(36).slice(2),Jn="__reactFiber$"+Yn,Zn="__reactProps$"+Yn,Qn="__reactContainer$"+Yn,ei="__reactEvents$"+Yn;function ti(e){var t=e[Jn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Qn]||r[Jn]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=Kn(e);null!==e;){if(r=e[Jn])return r;e=Kn(e)}return t}r=(e=r).parentNode}return null}function ri(e){return!(e=e[Jn]||e[Qn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ni(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function ii(e){return e[Zn]||null}function oi(e){var t=e[ei];return void 0===t&&(t=e[ei]=new Set),t}var ai=[],si=-1;function li(e){return{current:e}}function ci(e){0>si||(e.current=ai[si],ai[si]=null,si--)}function ui(e,t){si++,ai[si]=e.current,e.current=t}var di={},pi=li(di),fi=li(!1),hi=di;function gi(e,t){var r=e.type.contextTypes;if(!r)return di;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in r)o[i]=t[i];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function mi(e){return null!=e.childContextTypes}function vi(){ci(fi),ci(pi)}function yi(e,t,r){if(pi.current!==di)throw Error(a(168));ui(pi,t),ui(fi,r)}function bi(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in e))throw Error(a(108,G(t)||"Unknown",o));return i({},r,n)}function wi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||di,hi=pi.current,ui(pi,e),ui(fi,fi.current),!0}function Si(e,t,r){var n=e.stateNode;if(!n)throw Error(a(169));r?(e=bi(e,t,hi),n.__reactInternalMemoizedMergedChildContext=e,ci(fi),ci(pi),ui(pi,e)):ci(fi),ui(fi,r)}var Ci=null,Ai=null,xi=o.unstable_runWithPriority,ki=o.unstable_scheduleCallback,Ei=o.unstable_cancelCallback,_i=o.unstable_shouldYield,Ii=o.unstable_requestPaint,Pi=o.unstable_now,Ti=o.unstable_getCurrentPriorityLevel,Bi=o.unstable_ImmediatePriority,Di=o.unstable_UserBlockingPriority,Ni=o.unstable_NormalPriority,Ri=o.unstable_LowPriority,Oi=o.unstable_IdlePriority,zi={},Mi=void 0!==Ii?Ii:function(){},Fi=null,Li=null,ji=!1,Vi=Pi(),Hi=1e4>Vi?Pi:function(){return Pi()-Vi};function qi(){switch(Ti()){case Bi:return 99;case Di:return 98;case Ni:return 97;case Ri:return 96;case Oi:return 95;default:throw Error(a(332))}}function Ui(e){switch(e){case 99:return Bi;case 98:return Di;case 97:return Ni;case 96:return Ri;case 95:return Oi;default:throw Error(a(332))}}function $i(e,t){return e=Ui(e),xi(e,t)}function Wi(e,t,r){return e=Ui(e),ki(e,t,r)}function Gi(){if(null!==Li){var e=Li;Li=null,Ei(e)}Ki()}function Ki(){if(!ji&&null!==Fi){ji=!0;var e=0;try{var t=Fi;$i(99,(function(){for(;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}})),Fi=null}catch(t){throw null!==Fi&&(Fi=Fi.slice(e+1)),ki(Bi,Gi),t}finally{ji=!1}}}var Xi=S.ReactCurrentBatchConfig;function Yi(e,t){if(e&&e.defaultProps){for(var r in t=i({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}var Ji=li(null),Zi=null,Qi=null,eo=null;function to(){eo=Qi=Zi=null}function ro(e){var t=Ji.current;ci(Ji),e.type._context._currentValue=t}function no(e,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)===t){if(null===r||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,null!==r&&(r.childLanes|=t);e=e.return}}function io(e,t){Zi=e,eo=Qi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(za=!0),e.firstContext=null)}function oo(e,t){if(eo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(eo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Qi){if(null===Zi)throw Error(a(308));Qi=t,Zi.dependencies={lanes:0,firstContext:t,responders:null}}else Qi=Qi.next=t;return e._currentValue}var ao=!1;function so(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function co(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function uo(e,t){if(null!==(e=e.updateQueue)){var r=(e=e.shared).pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function po(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var i=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===o?i=o=a:o=o.next=a,r=r.next}while(null!==r);null===o?i=o=t:o=o.next=t}else i=o=t;return r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function fo(e,t,r,n){var o=e.updateQueue;ao=!1;var a=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?a=u:s.next=u,s=c;var d=e.alternate;if(null!==d){var p=(d=d.updateQueue).lastBaseUpdate;p!==s&&(null===p?d.firstBaseUpdate=u:p.next=u,d.lastBaseUpdate=c)}}if(null!==a){for(p=o.baseState,s=0,d=u=c=null;;){l=a.lane;var f=a.eventTime;if((n&l)===l){null!==d&&(d=d.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,g=a;switch(l=t,f=r,g.tag){case 1:if("function"==typeof(h=g.payload)){p=h.call(f,p,l);break e}p=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(l="function"==typeof(h=g.payload)?h.call(f,p,l):h))break e;p=i({},p,l);break e;case 2:ao=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else f={eventTime:f,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===d?(u=d=f,c=p):d=d.next=f,s|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===d&&(c=p),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=d,Ls|=s,e.lanes=s,e.memoizedState=p}}function ho(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(null!==i){if(n.callback=null,n=r,"function"!=typeof i)throw Error(a(191,i));i.call(n)}}}var go=(new n.Component).refs;function mo(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:i({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var vo={isMounted:function(e){return!!(e=e._reactInternals)&&Xe(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=ul(),i=dl(e),o=co(n,i);o.payload=t,null!=r&&(o.callback=r),uo(e,o),pl(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=ul(),i=dl(e),o=co(n,i);o.tag=1,o.payload=t,null!=r&&(o.callback=r),uo(e,o),pl(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ul(),n=dl(e),i=co(r,n);i.tag=2,null!=t&&(i.callback=t),uo(e,i),pl(e,n,r)}};function yo(e,t,r,n,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&dn(r,n)&&dn(i,o))}function bo(e,t,r){var n=!1,i=di,o=t.contextType;return"object"==typeof o&&null!==o?o=oo(o):(i=mi(t)?hi:pi.current,o=(n=null!=(n=t.contextTypes))?gi(e,i):di),t=new t(r,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vo,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function wo(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&vo.enqueueReplaceState(t,t.state,null)}function So(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=go,so(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=oo(o):(o=mi(t)?hi:pi.current,i.context=gi(e,o)),fo(e,r,i,n),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(mo(e,t,o,r),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&vo.enqueueReplaceState(i,i.state,null),fo(e,r,i,n),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4)}var Co=Array.isArray;function Ao(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=n.refs;t===go&&(t=n.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!r._owner)throw Error(a(290,e))}return e}function xo(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function ko(e){function t(t,r){if(e){var n=t.lastEffect;null!==n?(n.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r,r.nextEffect=null,r.flags=8}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ul(e,t)).index=0,e.sibling=null,e}function o(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags=2,r):n:(t.flags=2,r):r}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Kl(r,e.mode,n)).return=e,t):((t=i(t,r)).return=e,t)}function c(e,t,r,n){return null!==t&&t.elementType===r.type?((n=i(t,r.props)).ref=Ao(e,t,r),n.return=e,n):((n=$l(r.type,r.key,r.props,null,e.mode,n)).ref=Ao(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Xl(r,e.mode,n)).return=e,t):((t=i(t,r.children||[])).return=e,t)}function d(e,t,r,n,o){return null===t||7!==t.tag?((t=Wl(r,e.mode,n,o)).return=e,t):((t=i(t,r)).return=e,t)}function p(e,t,r){if("string"==typeof t||"number"==typeof t)return(t=Kl(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case C:return(r=$l(t.type,t.key,t.props,null,e.mode,r)).ref=Ao(e,null,t),r.return=e,r;case A:return(t=Xl(t,e.mode,r)).return=e,t}if(Co(t)||H(t))return(t=Wl(t,e.mode,r,null)).return=e,t;xo(e,t)}return null}function f(e,t,r,n){var i=null!==t?t.key:null;if("string"==typeof r||"number"==typeof r)return null!==i?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case C:return r.key===i?r.type===x?d(e,t,r.props.children,n,i):c(e,t,r,n):null;case A:return r.key===i?u(e,t,r,n):null}if(Co(r)||H(r))return null!==i?null:d(e,t,r,n,null);xo(e,r)}return null}function h(e,t,r,n,i){if("string"==typeof n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,i);if("object"==typeof n&&null!==n){switch(n.$$typeof){case C:return e=e.get(null===n.key?r:n.key)||null,n.type===x?d(t,e,n.props.children,i,n.key):c(t,e,n,i);case A:return u(t,e=e.get(null===n.key?r:n.key)||null,n,i)}if(Co(n)||H(n))return d(t,e=e.get(r)||null,n,i,null);xo(t,n)}return null}function g(i,a,s,l){for(var c=null,u=null,d=a,g=a=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var v=f(i,d,s[g],l);if(null===v){null===d&&(d=m);break}e&&d&&null===v.alternate&&t(i,d),a=o(v,a,g),null===u?c=v:u.sibling=v,u=v,d=m}if(g===s.length)return r(i,d),c;if(null===d){for(;g<s.length;g++)null!==(d=p(i,s[g],l))&&(a=o(d,a,g),null===u?c=d:u.sibling=d,u=d);return c}for(d=n(i,d);g<s.length;g++)null!==(m=h(d,i,g,s[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),a=o(m,a,g),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(i,e)})),c}function m(i,s,l,c){var u=H(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,g=s,m=s=0,v=null,y=l.next();null!==g&&!y.done;m++,y=l.next()){g.index>m?(v=g,g=null):v=g.sibling;var b=f(i,g,y.value,c);if(null===b){null===g&&(g=v);break}e&&g&&null===b.alternate&&t(i,g),s=o(b,s,m),null===d?u=b:d.sibling=b,d=b,g=v}if(y.done)return r(i,g),u;if(null===g){for(;!y.done;m++,y=l.next())null!==(y=p(i,y.value,c))&&(s=o(y,s,m),null===d?u=y:d.sibling=y,d=y);return u}for(g=n(i,g);!y.done;m++,y=l.next())null!==(y=h(g,i,m,y.value,c))&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),s=o(y,s,m),null===d?u=y:d.sibling=y,d=y);return e&&g.forEach((function(e){return t(i,e)})),u}return function(e,n,o,l){var c="object"==typeof o&&null!==o&&o.type===x&&null===o.key;c&&(o=o.props.children);var u="object"==typeof o&&null!==o;if(u)switch(o.$$typeof){case C:e:{for(u=o.key,c=n;null!==c;){if(c.key===u){if(7===c.tag){if(o.type===x){r(e,c.sibling),(n=i(c,o.props.children)).return=e,e=n;break e}}else if(c.elementType===o.type){r(e,c.sibling),(n=i(c,o.props)).ref=Ao(e,c,o),n.return=e,e=n;break e}r(e,c);break}t(e,c),c=c.sibling}o.type===x?((n=Wl(o.props.children,e.mode,l,o.key)).return=e,e=n):((l=$l(o.type,o.key,o.props,null,e.mode,l)).ref=Ao(e,n,o),l.return=e,e=l)}return s(e);case A:e:{for(c=o.key;null!==n;){if(n.key===c){if(4===n.tag&&n.stateNode.containerInfo===o.containerInfo&&n.stateNode.implementation===o.implementation){r(e,n.sibling),(n=i(n,o.children||[])).return=e,e=n;break e}r(e,n);break}t(e,n),n=n.sibling}(n=Xl(o,e.mode,l)).return=e,e=n}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==n&&6===n.tag?(r(e,n.sibling),(n=i(n,o)).return=e,e=n):(r(e,n),(n=Kl(o,e.mode,l)).return=e,e=n),s(e);if(Co(o))return g(e,n,o,l);if(H(o))return m(e,n,o,l);if(u&&xo(e,o),void 0===o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,G(e.type)||"Component"))}return r(e,n)}}var Eo=ko(!0),_o=ko(!1),Io={},Po=li(Io),To=li(Io),Bo=li(Io);function Do(e){if(e===Io)throw Error(a(174));return e}function No(e,t){switch(ui(Bo,t),ui(To,e),ui(Po,Io),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fe(null,"");break;default:t=fe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ci(Po),ui(Po,t)}function Ro(){ci(Po),ci(To),ci(Bo)}function Oo(e){Do(Bo.current);var t=Do(Po.current),r=fe(t,e.type);t!==r&&(ui(To,e),ui(Po,r))}function zo(e){To.current===e&&(ci(Po),ci(To))}var Mo=li(0);function Fo(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(64&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Lo=null,jo=null,Vo=!1;function Ho(e,t){var r=Hl(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function qo(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Uo(e){if(Vo){var t=jo;if(t){var r=t;if(!qo(e,t)){if(!(t=Gn(r.nextSibling))||!qo(e,t))return e.flags=-1025&e.flags|2,Vo=!1,void(Lo=e);Ho(Lo,r)}Lo=e,jo=Gn(t.firstChild)}else e.flags=-1025&e.flags|2,Vo=!1,Lo=e}}function $o(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Lo=e}function Wo(e){if(e!==Lo)return!1;if(!Vo)return $o(e),Vo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!qn(t,e.memoizedProps))for(t=jo;t;)Ho(e,t),t=Gn(t.nextSibling);if($o(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){jo=Gn(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}jo=null}}else jo=Lo?Gn(e.stateNode.nextSibling):null;return!0}function Go(){jo=Lo=null,Vo=!1}var Ko=[];function Xo(){for(var e=0;e<Ko.length;e++)Ko[e]._workInProgressVersionPrimary=null;Ko.length=0}var Yo=S.ReactCurrentDispatcher,Jo=S.ReactCurrentBatchConfig,Zo=0,Qo=null,ea=null,ta=null,ra=!1,na=!1;function ia(){throw Error(a(321))}function oa(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!cn(e[r],t[r]))return!1;return!0}function aa(e,t,r,n,i,o){if(Zo=o,Qo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Yo.current=null===e||null===e.memoizedState?Da:Na,e=r(n,i),na){o=0;do{if(na=!1,!(25>o))throw Error(a(301));o+=1,ta=ea=null,t.updateQueue=null,Yo.current=Ra,e=r(n,i)}while(na)}if(Yo.current=Ba,t=null!==ea&&null!==ea.next,Zo=0,ta=ea=Qo=null,ra=!1,t)throw Error(a(300));return e}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ta?Qo.memoizedState=ta=e:ta=ta.next=e,ta}function la(){if(null===ea){var e=Qo.alternate;e=null!==e?e.memoizedState:null}else e=ea.next;var t=null===ta?Qo.memoizedState:ta.next;if(null!==t)ta=t,ea=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ea=e).memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},null===ta?Qo.memoizedState=ta=e:ta=ta.next=e}return ta}function ca(e,t){return"function"==typeof t?t(e):t}function ua(e){var t=la(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=ea,i=n.baseQueue,o=r.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}n.baseQueue=i=o,r.pending=null}if(null!==i){i=i.next,n=n.baseState;var l=s=o=null,c=i;do{var u=c.lane;if((Zo&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),n=c.eagerReducer===e?c.eagerState:e(n,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,o=n):l=l.next=d,Qo.lanes|=u,Ls|=u}c=c.next}while(null!==c&&c!==i);null===l?o=n:l.next=s,cn(n,t.memoizedState)||(za=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function da(e){var t=la(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,o=t.memoizedState;if(null!==i){r.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);cn(o,t.memoizedState)||(za=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function pa(e,t,r){var n=t._getVersion;n=n(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===n:(e=e.mutableReadLanes,(e=(Zo&e)===e)&&(t._workInProgressVersionPrimary=n,Ko.push(t))),e)return r(t._source);throw Ko.push(t),Error(a(350))}function fa(e,t,r,n){var i=Bs;if(null===i)throw Error(a(349));var o=t._getVersion,s=o(t._source),l=Yo.current,c=l.useState((function(){return pa(i,t,r)})),u=c[1],d=c[0];c=ta;var p=e.memoizedState,f=p.refs,h=f.getSnapshot,g=p.source;p=p.subscribe;var m=Qo;return e.memoizedState={refs:f,source:t,subscribe:n},l.useEffect((function(){f.getSnapshot=r,f.setSnapshot=u;var e=o(t._source);if(!cn(s,e)){e=r(t._source),cn(d,e)||(u(e),e=dl(m),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var n=i.entanglements,a=e;0<a;){var l=31-qt(a),c=1<<l;n[l]|=e,a&=~c}}}),[r,t,n]),l.useEffect((function(){return n(t._source,(function(){var e=f.getSnapshot,r=f.setSnapshot;try{r(e(t._source));var n=dl(m);i.mutableReadLanes|=n&i.pendingLanes}catch(e){r((function(){throw e}))}}))}),[t,n]),cn(h,r)&&cn(g,t)&&cn(p,n)||((e={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:d}).dispatch=u=Ta.bind(null,Qo,e),c.queue=e,c.baseQueue=null,d=pa(i,t,r),c.memoizedState=c.baseState=d),d}function ha(e,t,r){return fa(la(),e,t,r)}function ga(e){var t=sa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:e}).dispatch=Ta.bind(null,Qo,e),[t.memoizedState,e]}function ma(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=Qo.updateQueue)?(t={lastEffect:null},Qo.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function va(e){return e={current:e},sa().memoizedState=e}function ya(){return la().memoizedState}function ba(e,t,r,n){var i=sa();Qo.flags|=e,i.memoizedState=ma(1|t,r,void 0,void 0===n?null:n)}function wa(e,t,r,n){var i=la();n=void 0===n?null:n;var o=void 0;if(null!==ea){var a=ea.memoizedState;if(o=a.destroy,null!==n&&oa(n,a.deps))return void ma(t,r,o,n)}Qo.flags|=e,i.memoizedState=ma(1|t,r,o,n)}function Sa(e,t){return ba(516,4,e,t)}function Ca(e,t){return wa(516,4,e,t)}function Aa(e,t){return wa(4,2,e,t)}function xa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ka(e,t,r){return r=null!=r?r.concat([e]):null,wa(4,2,xa.bind(null,t,e),r)}function Ea(){}function _a(e,t){var r=la();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&oa(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Ia(e,t){var r=la();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&oa(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Pa(e,t){var r=qi();$i(98>r?98:r,(function(){e(!0)})),$i(97<r?97:r,(function(){var r=Jo.transition;Jo.transition=1;try{e(!1),t()}finally{Jo.transition=r}}))}function Ta(e,t,r){var n=ul(),i=dl(e),o={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===Qo||null!==a&&a===Qo)na=ra=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,r);if(o.eagerReducer=a,o.eagerState=l,cn(l,s))return}catch(e){}pl(e,i,n)}}var Ba={readContext:oo,useCallback:ia,useContext:ia,useEffect:ia,useImperativeHandle:ia,useLayoutEffect:ia,useMemo:ia,useReducer:ia,useRef:ia,useState:ia,useDebugValue:ia,useDeferredValue:ia,useTransition:ia,useMutableSource:ia,useOpaqueIdentifier:ia,unstable_isNewReconciler:!1},Da={readContext:oo,useCallback:function(e,t){return sa().memoizedState=[e,void 0===t?null:t],e},useContext:oo,useEffect:Sa,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,ba(4,2,xa.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ba(4,2,e,t)},useMemo:function(e,t){var r=sa();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=sa();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e=(e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ta.bind(null,Qo,e),[n.memoizedState,e]},useRef:va,useState:ga,useDebugValue:Ea,useDeferredValue:function(e){var t=ga(e),r=t[0],n=t[1];return Sa((function(){var t=Jo.transition;Jo.transition=1;try{n(e)}finally{Jo.transition=t}}),[e]),r},useTransition:function(){var e=ga(!1),t=e[0];return va(e=Pa.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,r){var n=sa();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},fa(n,e,t,r)},useOpaqueIdentifier:function(){if(Vo){var e=!1,t=function(e){return{$$typeof:O,toString:e,valueOf:e}}((function(){throw e||(e=!0,r("r:"+(Xn++).toString(36))),Error(a(355))})),r=ga(t)[1];return!(2&Qo.mode)&&(Qo.flags|=516,ma(5,(function(){r("r:"+(Xn++).toString(36))}),void 0,null)),t}return ga(t="r:"+(Xn++).toString(36)),t},unstable_isNewReconciler:!1},Na={readContext:oo,useCallback:_a,useContext:oo,useEffect:Ca,useImperativeHandle:ka,useLayoutEffect:Aa,useMemo:Ia,useReducer:ua,useRef:ya,useState:function(){return ua(ca)},useDebugValue:Ea,useDeferredValue:function(e){var t=ua(ca),r=t[0],n=t[1];return Ca((function(){var t=Jo.transition;Jo.transition=1;try{n(e)}finally{Jo.transition=t}}),[e]),r},useTransition:function(){var e=ua(ca)[0];return[ya().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return ua(ca)[0]},unstable_isNewReconciler:!1},Ra={readContext:oo,useCallback:_a,useContext:oo,useEffect:Ca,useImperativeHandle:ka,useLayoutEffect:Aa,useMemo:Ia,useReducer:da,useRef:ya,useState:function(){return da(ca)},useDebugValue:Ea,useDeferredValue:function(e){var t=da(ca),r=t[0],n=t[1];return Ca((function(){var t=Jo.transition;Jo.transition=1;try{n(e)}finally{Jo.transition=t}}),[e]),r},useTransition:function(){var e=da(ca)[0];return[ya().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return da(ca)[0]},unstable_isNewReconciler:!1},Oa=S.ReactCurrentOwner,za=!1;function Ma(e,t,r,n){t.child=null===e?_o(t,null,r,n):Eo(t,e.child,r,n)}function Fa(e,t,r,n,i){r=r.render;var o=t.ref;return io(t,i),n=aa(e,t,r,n,o,i),null===e||za?(t.flags|=1,Ma(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,ns(e,t,i))}function La(e,t,r,n,i,o){if(null===e){var a=r.type;return"function"!=typeof a||ql(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=$l(r.type,null,n,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ja(e,t,a,n,i,o))}return a=e.child,i&o||(i=a.memoizedProps,!(r=null!==(r=r.compare)?r:dn)(i,n)||e.ref!==t.ref)?(t.flags|=1,(e=Ul(a,n)).ref=t.ref,e.return=t,t.child=e):ns(e,t,o)}function ja(e,t,r,n,i,o){if(null!==e&&dn(e.memoizedProps,n)&&e.ref===t.ref){if(za=!1,!(o&i))return t.lanes=e.lanes,ns(e,t,o);16384&e.flags&&(za=!0)}return qa(e,t,r,n,o)}function Va(e,t,r){var n=t.pendingProps,i=n.children,o=null!==e?e.memoizedState:null;if("hidden"===n.mode||"unstable-defer-without-hiding"===n.mode)if(4&t.mode){if(!(1073741824&r))return e=null!==o?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},wl(0,e),null;t.memoizedState={baseLanes:0},wl(0,null!==o?o.baseLanes:r)}else t.memoizedState={baseLanes:0},wl(0,r);else null!==o?(n=o.baseLanes|r,t.memoizedState=null):n=r,wl(0,n);return Ma(e,t,i,r),t.child}function Ha(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=128)}function qa(e,t,r,n,i){var o=mi(r)?hi:pi.current;return o=gi(t,o),io(t,i),r=aa(e,t,r,n,o,i),null===e||za?(t.flags|=1,Ma(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,ns(e,t,i))}function Ua(e,t,r,n,i){if(mi(r)){var o=!0;wi(t)}else o=!1;if(io(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),bo(t,r,n),So(t,r,n,i),n=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=r.contextType;c="object"==typeof c&&null!==c?oo(c):gi(t,c=mi(r)?hi:pi.current);var u=r.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==n||l!==c)&&wo(t,a,n,c),ao=!1;var p=t.memoizedState;a.state=p,fo(t,n,a,i),l=t.memoizedState,s!==n||p!==l||fi.current||ao?("function"==typeof u&&(mo(t,r,u,n),l=t.memoizedState),(s=ao||yo(t,r,s,n,p,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=c,n=s):("function"==typeof a.componentDidMount&&(t.flags|=4),n=!1)}else{a=t.stateNode,lo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Yi(t.type,s),a.props=c,d=t.pendingProps,p=a.context,l="object"==typeof(l=r.contextType)&&null!==l?oo(l):gi(t,l=mi(r)?hi:pi.current);var f=r.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==l)&&wo(t,a,n,l),ao=!1,p=t.memoizedState,a.state=p,fo(t,n,a,i);var h=t.memoizedState;s!==d||p!==h||fi.current||ao?("function"==typeof f&&(mo(t,r,f,n),h=t.memoizedState),(c=ao||yo(t,r,c,n,p,h,l))?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(n,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=h),a.props=n,a.state=h,a.context=l,n=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),n=!1)}return $a(e,t,r,n,o,i)}function $a(e,t,r,n,i,o){Ha(e,t);var a=!!(64&t.flags);if(!n&&!a)return i&&Si(t,r,!1),ns(e,t,o);n=t.stateNode,Oa.current=t;var s=a&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&a?(t.child=Eo(t,e.child,null,o),t.child=Eo(t,null,s,o)):Ma(e,t,s,o),t.memoizedState=n.state,i&&Si(t,r,!0),t.child}function Wa(e){var t=e.stateNode;t.pendingContext?yi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&yi(0,t.context,!1),No(e,t.containerInfo)}var Ga,Ka,Xa,Ya,Ja={dehydrated:null,retryLane:0};function Za(e,t,r){var n,i=t.pendingProps,o=Mo.current,a=!1;return(n=!!(64&t.flags))||(n=(null===e||null!==e.memoizedState)&&!!(2&o)),n?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),ui(Mo,1&o),null===e?(void 0!==i.fallback&&Uo(t),e=i.children,o=i.fallback,a?(e=Qa(t,e,o,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Ja,e):"number"==typeof i.unstable_expectedLoadTime?(e=Qa(t,e,o,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Ja,t.lanes=33554432,e):((r=Gl({mode:"visible",children:e},t.mode,r,null)).return=t,t.child=r)):(e.memoizedState,a?(i=function(e,t,r,n,i){var o=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:r};return 2&o||t.child===a?r=Ul(a,s):((r=t.child).childLanes=0,r.pendingProps=s,null!==(a=r.lastEffect)?(t.firstEffect=r.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null),null!==e?n=Ul(e,n):(n=Wl(n,o,i,null)).flags|=2,n.return=t,r.return=t,r.sibling=n,t.child=r,n}(e,t,i.children,i.fallback,r),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?{baseLanes:r}:{baseLanes:o.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=Ja,i):(r=function(e,t,r,n){var i=e.child;return e=i.sibling,r=Ul(i,{mode:"visible",children:r}),!(2&t.mode)&&(r.lanes=n),r.return=t,r.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}(e,t,i.children,r),t.memoizedState=null,r))}function Qa(e,t,r,n){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},2&i||null===o?o=Gl(t,i,0,null):(o.childLanes=0,o.pendingProps=t),r=Wl(r,i,n,null),o.return=e,r.return=e,o.sibling=r,e.child=o,r}function es(e,t){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),no(e.return,t)}function ts(e,t,r,n,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i,a.lastEffect=o)}function rs(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(Ma(e,t,n.children,r),2&(n=Mo.current))n=1&n|2,t.flags|=64;else{if(null!==e&&64&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&es(e,r);else if(19===e.tag)es(e,r);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(ui(Mo,n),2&t.mode)switch(i){case"forwards":for(r=t.child,i=null;null!==r;)null!==(e=r.alternate)&&null===Fo(e)&&(i=r),r=r.sibling;null===(r=i)?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),ts(t,!1,i,r,o,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Fo(e)){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}ts(t,!0,r,null,o,t.lastEffect);break;case"together":ts(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function ns(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Ls|=t.lanes,r&t.childLanes){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(r=Ul(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Ul(e,e.pendingProps)).return=t;r.sibling=null}return t.child}return null}function is(e,t){if(!Vo)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function os(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return mi(t.type)&&vi(),null;case 3:return Ro(),ci(fi),ci(pi),Xo(),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(Wo(t)?t.flags|=4:n.hydrate||(t.flags|=256)),Ka(t),null;case 5:zo(t);var o=Do(Bo.current);if(r=t.type,null!==e&&null!=t.stateNode)Xa(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(null===t.stateNode)throw Error(a(166));return null}if(e=Do(Po.current),Wo(t)){n=t.stateNode,r=t.type;var s=t.memoizedProps;switch(n[Jn]=t,n[Zn]=s,r){case"dialog":Pn("cancel",n),Pn("close",n);break;case"iframe":case"object":case"embed":Pn("load",n);break;case"video":case"audio":for(e=0;e<kn.length;e++)Pn(kn[e],n);break;case"source":Pn("error",n);break;case"img":case"image":case"link":Pn("error",n),Pn("load",n);break;case"details":Pn("toggle",n);break;case"input":ee(n,s),Pn("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!s.multiple},Pn("invalid",n);break;case"textarea":le(n,s),Pn("invalid",n)}for(var c in Ae(r,s),e=null,s)s.hasOwnProperty(c)&&(o=s[c],"children"===c?"string"==typeof o?n.textContent!==o&&(e=["children",o]):"number"==typeof o&&n.textContent!==""+o&&(e=["children",""+o]):l.hasOwnProperty(c)&&null!=o&&"onScroll"===c&&Pn("scroll",n));switch(r){case"input":Y(n),ne(n,s,!0);break;case"textarea":Y(n),ue(n);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(n.onclick=Ln)}n=e,t.updateQueue=n,null!==n&&(t.flags|=4)}else{switch(c=9===o.nodeType?o:o.ownerDocument,e===de&&(e=pe(r)),e===de?"script"===r?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=c.createElement(r,{is:n.is}):(e=c.createElement(r),"select"===r&&(c=e,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):e=c.createElementNS(e,r),e[Jn]=t,e[Zn]=n,Ga(e,t,!1,!1),t.stateNode=e,c=xe(r,n),r){case"dialog":Pn("cancel",e),Pn("close",e),o=n;break;case"iframe":case"object":case"embed":Pn("load",e),o=n;break;case"video":case"audio":for(o=0;o<kn.length;o++)Pn(kn[o],e);o=n;break;case"source":Pn("error",e),o=n;break;case"img":case"image":case"link":Pn("error",e),Pn("load",e),o=n;break;case"details":Pn("toggle",e),o=n;break;case"input":ee(e,n),o=Q(e,n),Pn("invalid",e);break;case"option":o=oe(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=i({},n,{value:void 0}),Pn("invalid",e);break;case"textarea":le(e,n),o=se(e,n),Pn("invalid",e);break;default:o=n}Ae(r,o);var u=o;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?Se(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&me(e,d):"children"===s?"string"==typeof d?("textarea"!==r||""!==d)&&ve(e,d):"number"==typeof d&&ve(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&Pn("scroll",e):null!=d&&w(e,s,d,c))}switch(r){case"input":Y(e),ne(e,n,!1);break;case"textarea":Y(e),ue(e);break;case"option":null!=n.value&&e.setAttribute("value",""+K(n.value));break;case"select":e.multiple=!!n.multiple,null!=(s=n.value)?ae(e,!!n.multiple,s,!1):null!=n.defaultValue&&ae(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Ln)}Hn(r,n)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ya(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(a(166));r=Do(Bo.current),Do(Po.current),Wo(t)?(n=t.stateNode,r=t.memoizedProps,n[Jn]=t,n.nodeValue!==r&&(t.flags|=4)):((n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[Jn]=t,t.stateNode=n)}return null;case 13:return ci(Mo),n=t.memoizedState,64&t.flags?(t.lanes=r,t):(n=null!==n,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Wo(t):r=null!==e.memoizedState,n&&!r&&2&t.mode&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||1&Mo.current?0===zs&&(zs=3):(0!==zs&&3!==zs||(zs=4),null===Bs||!(134217727&Ls)&&!(134217727&js)||ml(Bs,Ns))),(n||r)&&(t.flags|=4),null);case 4:return Ro(),Ka(t),null===e&&Bn(t.stateNode.containerInfo),null;case 10:return ro(t),null;case 19:if(ci(Mo),null===(n=t.memoizedState))return null;if(s=!!(64&t.flags),null===(c=n.rendering))if(s)is(n,!1);else{if(0!==zs||null!==e&&64&e.flags)for(e=t.child;null!==e;){if(null!==(c=Fo(e))){for(t.flags|=64,is(n,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===n.lastEffect&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;null!==r;)e=n,(s=r).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return ui(Mo,1&Mo.current|2),t.child}e=e.sibling}null!==n.tail&&Hi()>Us&&(t.flags|=64,s=!0,is(n,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Fo(c))){if(t.flags|=64,s=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),is(n,!0),null===n.tail&&"hidden"===n.tailMode&&!c.alternate&&!Vo)return null!==(t=t.lastEffect=n.lastEffect)&&(t.nextEffect=null),null}else 2*Hi()-n.renderingStartTime>Us&&1073741824!==r&&(t.flags|=64,s=!0,is(n,!1),t.lanes=33554432);n.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=n.last)?r.sibling=c:t.child=c,n.last=c)}return null!==n.tail?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Hi(),r.sibling=null,t=Mo.current,ui(Mo,s?1&t|2:1&t),r):null;case 23:case 24:return Sl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==n.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function as(e){switch(e.tag){case 1:mi(e.type)&&vi();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ro(),ci(fi),ci(pi),Xo(),64&(t=e.flags))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return zo(e),null;case 13:return ci(Mo),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ci(Mo),null;case 4:return Ro(),null;case 10:return ro(e),null;case 23:case 24:return Sl(),null;default:return null}}function ss(e,t){try{var r="",n=t;do{r+=W(n),n=n.return}while(n);var i=r}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function ls(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ga=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ka=function(){},Xa=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Do(Po.current);var a,s=null;switch(r){case"input":o=Q(e,o),n=Q(e,n),s=[];break;case"option":o=oe(e,o),n=oe(e,n),s=[];break;case"select":o=i({},o,{value:void 0}),n=i({},n,{value:void 0}),s=[];break;case"textarea":o=se(e,o),n=se(e,n),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof n.onClick&&(e.onclick=Ln)}for(d in Ae(r,n),r=null,o)if(!n.hasOwnProperty(d)&&o.hasOwnProperty(d)&&null!=o[d])if("style"===d){var c=o[d];for(a in c)c.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in n){var u=n[d];if(c=null!=o?o[d]:void 0,n.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(r||(r={}),r[a]=u[a])}else r||(s||(s=[]),s.push(d,r)),r=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Pn("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===O?u.toString():(s=s||[]).push(d,u))}r&&(s=s||[]).push("style",r);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},Ya=function(e,t,r,n){r!==n&&(t.flags|=4)};var cs="function"==typeof WeakMap?WeakMap:Map;function us(e,t,r){(r=co(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Ks||(Ks=!0,Xs=n),ls(0,t)},r}function ds(e,t,r){(r=co(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var i=t.value;r.payload=function(){return ls(0,t),n(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(r.callback=function(){"function"!=typeof n&&(null===Ys?Ys=new Set([this]):Ys.add(this),ls(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}var ps="function"==typeof WeakSet?WeakSet:Set;function fs(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Fl(e,t)}else t.current=null}function hs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var r=e.memoizedProps,n=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?r:Yi(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Wn(t.stateNode.containerInfo))}throw Error(a(163))}function gs(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=r.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(!(3&~e.tag)){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=r.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;n=i.next,4&(i=i.tag)&&1&i&&(Ol(r,e),Rl(r,e)),e=n}while(e!==t)}return;case 1:return e=r.stateNode,4&r.flags&&(null===t?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:Yi(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=r.updateQueue)&&ho(r,t,e));case 3:if(null!==(t=r.updateQueue)){if(e=null,null!==r.child)switch(r.child.tag){case 5:case 1:e=r.child.stateNode}ho(r,t,e)}return;case 5:return e=r.stateNode,void(null===t&&4&r.flags&&Hn(r.type,r.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&St(r)))))}throw Error(a(163))}function ms(e,t){for(var r=e;;){if(5===r.tag){var n=r.stateNode;if(t)"function"==typeof(n=n.style).setProperty?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=null!=i&&i.hasOwnProperty("display")?i.display:null,n.style.display=we("display",i)}}else if(6===r.tag)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((23!==r.tag&&24!==r.tag||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function vs(e,t){if(Ai&&"function"==typeof Ai.onCommitFiberUnmount)try{Ai.onCommitFiberUnmount(Ci,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e=e.next;do{var n=r,i=n.destroy;if(n=n.tag,void 0!==i)if(4&n)Ol(t,r);else{n=t;try{i()}catch(e){Fl(n,e)}}r=r.next}while(r!==e)}break;case 1:if(fs(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Fl(t,e)}break;case 5:fs(t);break;case 4:As(e,t)}}function ys(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function bs(e){return 5===e.tag||3===e.tag||4===e.tag}function ws(e){e:{for(var t=e.return;null!==t;){if(bs(t))break e;t=t.return}throw Error(a(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:case 4:t=t.containerInfo,n=!0;break;default:throw Error(a(161))}16&r.flags&&(ve(t,""),r.flags&=-17);e:t:for(r=e;;){for(;null===r.sibling;){if(null===r.return||bs(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.flags)continue t;if(null===r.child||4===r.tag)continue t;r.child.return=r,r=r.child}if(!(2&r.flags)){r=r.stateNode;break e}}n?Ss(e,r,t):Cs(e,r,t)}function Ss(e,t,r){var n=e.tag,i=5===n||6===n;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=Ln));else if(4!==n&&null!==(e=e.child))for(Ss(e,t,r),e=e.sibling;null!==e;)Ss(e,t,r),e=e.sibling}function Cs(e,t,r){var n=e.tag,i=5===n||6===n;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(Cs(e,t,r),e=e.sibling;null!==e;)Cs(e,t,r),e=e.sibling}function As(e,t){for(var r,n,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(a(160));switch(r=o.stateNode,o.tag){case 5:n=!1;break e;case 3:case 4:r=r.containerInfo,n=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var s=e,l=i,c=l;;)if(vs(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}n?(s=r,l=i.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,n=!0,i.child.return=i,i=i.child;continue}}else if(vs(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function xs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var n=r=r.next;do{!(3&~n.tag)&&(e=n.destroy,n.destroy=void 0,void 0!==e&&e()),n=n.next}while(n!==r)}return;case 1:case 12:case 17:return;case 5:if(null!=(r=t.stateNode)){n=t.memoizedProps;var i=null!==e?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(r[Zn]=n,"input"===e&&"radio"===n.type&&null!=n.name&&te(r,n),xe(e,i),t=xe(e,n),i=0;i<o.length;i+=2){var s=o[i],l=o[i+1];"style"===s?Se(r,l):"dangerouslySetInnerHTML"===s?me(r,l):"children"===s?ve(r,l):w(r,s,l,t)}switch(e){case"input":re(r,n);break;case"textarea":ce(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,null!=(o=n.value)?ae(r,!!n.multiple,o,!1):e!==!!n.multiple&&(null!=n.defaultValue?ae(r,!!n.multiple,n.defaultValue,!0):ae(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((r=t.stateNode).hydrate&&(r.hydrate=!1,St(r.containerInfo)));case 13:return null!==t.memoizedState&&(qs=Hi(),ms(t.child,!0)),void ks(t);case 19:return void ks(t);case 23:case 24:return void ms(t,null!==t.memoizedState)}throw Error(a(163))}function ks(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new ps),t.forEach((function(t){var n=jl.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function Es(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var _s=Math.ceil,Is=S.ReactCurrentDispatcher,Ps=S.ReactCurrentOwner,Ts=0,Bs=null,Ds=null,Ns=0,Rs=0,Os=li(0),zs=0,Ms=null,Fs=0,Ls=0,js=0,Vs=0,Hs=null,qs=0,Us=1/0;function $s(){Us=Hi()+500}var Ws,Gs=null,Ks=!1,Xs=null,Ys=null,Js=!1,Zs=null,Qs=90,el=[],tl=[],rl=null,nl=0,il=null,ol=-1,al=0,sl=0,ll=null,cl=!1;function ul(){return 48&Ts?Hi():-1!==ol?ol:ol=Hi()}function dl(e){if(!(2&(e=e.mode)))return 1;if(!(4&e))return 99===qi()?1:2;if(0===al&&(al=Fs),0!==Xi.transition){0!==sl&&(sl=null!==Hs?Hs.pendingLanes:0),e=al;var t=4186112&~sl;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=qi(),e=Lt(4&Ts&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),al)}function pl(e,t,r){if(50<nl)throw nl=0,il=null,Error(a(185));if(null===(e=fl(e,t)))return null;Ht(e,t,r),e===Bs&&(js|=t,4===zs&&ml(e,Ns));var n=qi();1===t?8&Ts&&!(48&Ts)?vl(e):(hl(e,r),0===Ts&&($s(),Gi())):(!(4&Ts)||98!==n&&99!==n||(null===rl?rl=new Set([e]):rl.add(e)),hl(e,r)),Hs=e}function fl(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}function hl(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-qt(s),c=1<<l,u=o[l];if(-1===u){if(!(c&n)||c&i){u=t,zt(c);var d=Ot;o[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(n=Mt(e,e===Bs?Ns:0),t=Ot,0===n)null!==r&&(r!==zi&&Ei(r),e.callbackNode=null,e.callbackPriority=0);else{if(null!==r){if(e.callbackPriority===t)return;r!==zi&&Ei(r)}15===t?(r=vl.bind(null,e),null===Fi?(Fi=[r],Li=ki(Bi,Ki)):Fi.push(r),r=zi):14===t?r=Wi(99,vl.bind(null,e)):(r=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),r=Wi(r,gl.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function gl(e){if(ol=-1,sl=al=0,48&Ts)throw Error(a(327));var t=e.callbackNode;if(Nl()&&e.callbackNode!==t)return null;var r=Mt(e,e===Bs?Ns:0);if(0===r)return null;var n=r,i=Ts;Ts|=16;var o=xl();for(Bs===e&&Ns===n||($s(),Cl(e,n));;)try{_l();break}catch(t){Al(e,t)}if(to(),Is.current=o,Ts=i,null!==Ds?n=0:(Bs=null,Ns=0,n=zs),Fs&js)Cl(e,0);else if(0!==n){if(2===n&&(Ts|=64,e.hydrate&&(e.hydrate=!1,Wn(e.containerInfo)),0!==(r=Ft(e))&&(n=kl(e,r))),1===n)throw t=Ms,Cl(e,0),ml(e,r),hl(e,Hi()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(a(345));case 2:case 5:Tl(e);break;case 3:if(ml(e,r),(62914560&r)===r&&10<(n=qs+500-Hi())){if(0!==Mt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){ul(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Un(Tl.bind(null,e),n);break}Tl(e);break;case 4:if(ml(e,r),(4186112&r)===r)break;for(n=e.eventTimes,i=-1;0<r;){var s=31-qt(r);o=1<<s,(s=n[s])>i&&(i=s),r&=~o}if(r=i,10<(r=(120>(r=Hi()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_s(r/1960))-r)){e.timeoutHandle=Un(Tl.bind(null,e),r);break}Tl(e);break;default:throw Error(a(329))}}return hl(e,Hi()),e.callbackNode===t?gl.bind(null,e):null}function ml(e,t){for(t&=~Vs,t&=~js,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-qt(t),n=1<<r;e[r]=-1,t&=~n}}function vl(e){if(48&Ts)throw Error(a(327));if(Nl(),e===Bs&&e.expiredLanes&Ns){var t=Ns,r=kl(e,t);Fs&js&&(r=kl(e,t=Mt(e,t)))}else r=kl(e,t=Mt(e,0));if(0!==e.tag&&2===r&&(Ts|=64,e.hydrate&&(e.hydrate=!1,Wn(e.containerInfo)),0!==(t=Ft(e))&&(r=kl(e,t))),1===r)throw r=Ms,Cl(e,0),ml(e,t),hl(e,Hi()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Tl(e),hl(e,Hi()),null}function yl(e,t){var r=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=r)&&($s(),Gi())}}function bl(e,t){var r=Ts;Ts&=-2,Ts|=8;try{return e(t)}finally{0===(Ts=r)&&($s(),Gi())}}function wl(e,t){ui(Os,Rs),Rs|=t,Fs|=t}function Sl(){Rs=Os.current,ci(Os)}function Cl(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,$n(r)),null!==Ds)for(r=Ds.return;null!==r;){var n=r;switch(n.tag){case 1:null!=(n=n.type.childContextTypes)&&vi();break;case 3:Ro(),ci(fi),ci(pi),Xo();break;case 5:zo(n);break;case 4:Ro();break;case 13:case 19:ci(Mo);break;case 10:ro(n);break;case 23:case 24:Sl()}r=r.return}Bs=e,Ds=Ul(e.current,null),Ns=Rs=Fs=t,zs=0,Ms=null,Vs=js=Ls=0}function Al(e,t){for(;;){var r=Ds;try{if(to(),Yo.current=Ba,ra){for(var n=Qo.memoizedState;null!==n;){var i=n.queue;null!==i&&(i.pending=null),n=n.next}ra=!1}if(Zo=0,ta=ea=Qo=null,na=!1,Ps.current=null,null===r||null===r.return){zs=1,Ms=t,Ds=null;break}e:{var o=e,a=r.return,s=r,l=t;if(t=Ns,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(!(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=!!(1&Mo.current),p=a;do{var f;if(f=13===p.tag){var h=p.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var g=p.memoizedProps;f=void 0!==g.fallback&&(!0!==g.unstable_avoidThisFallback||!d)}}if(f){var m=p.updateQueue;if(null===m){var v=new Set;v.add(c),p.updateQueue=v}else m.add(c);if(!(2&p.mode)){if(p.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var y=co(-1,1);y.tag=2,uo(s,y)}s.lanes|=1;break e}l=void 0,s=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new cs,l=new Set,b.set(c,l)):void 0===(l=b.get(c))&&(l=new Set,b.set(c,l)),!l.has(s)){l.add(s);var w=Ll.bind(null,o,c,s);c.then(w,w)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);l=Error((G(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==zs&&(zs=2),l=ss(l,s),p=a;do{switch(p.tag){case 3:o=l,p.flags|=4096,t&=-t,p.lanes|=t,po(p,us(0,o,t));break e;case 1:o=l;var S=p.type,C=p.stateNode;if(!(64&p.flags||"function"!=typeof S.getDerivedStateFromError&&(null===C||"function"!=typeof C.componentDidCatch||null!==Ys&&Ys.has(C)))){p.flags|=4096,t&=-t,p.lanes|=t,po(p,ds(p,o,t));break e}}p=p.return}while(null!==p)}Pl(r)}catch(e){t=e,Ds===r&&null!==r&&(Ds=r=r.return);continue}break}}function xl(){var e=Is.current;return Is.current=Ba,null===e?Ba:e}function kl(e,t){var r=Ts;Ts|=16;var n=xl();for(Bs===e&&Ns===t||Cl(e,t);;)try{El();break}catch(t){Al(e,t)}if(to(),Ts=r,Is.current=n,null!==Ds)throw Error(a(261));return Bs=null,Ns=0,zs}function El(){for(;null!==Ds;)Il(Ds)}function _l(){for(;null!==Ds&&!_i();)Il(Ds)}function Il(e){var t=Ws(e.alternate,e,Rs);e.memoizedProps=e.pendingProps,null===t?Pl(e):Ds=t,Ps.current=null}function Pl(e){var t=e;do{var r=t.alternate;if(e=t.return,2048&t.flags){if(null!==(r=as(t)))return r.flags&=2047,void(Ds=r);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(null!==(r=os(r,t,Rs)))return void(Ds=r);if(24!==(r=t).tag&&23!==r.tag||null===r.memoizedState||1073741824&Rs||!(4&r.mode)){for(var n=0,i=r.child;null!==i;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}null!==e&&!(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(null!==(t=t.sibling))return void(Ds=t);Ds=t=e}while(null!==t);0===zs&&(zs=5)}function Tl(e){var t=qi();return $i(99,Bl.bind(null,e,t)),null}function Bl(e,t){do{Nl()}while(null!==Zs);if(48&Ts)throw Error(a(327));var r=e.finishedWork;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(a(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<o;){var c=31-qt(o),u=1<<c;i[c]=0,s[c]=-1,l[c]=-1,o&=~u}if(null!==rl&&!(24&n)&&rl.has(e)&&rl.delete(e),e===Bs&&(Ds=Bs=null,Ns=0),1<r.flags?null!==r.lastEffect?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,null!==n){if(i=Ts,Ts|=32,Ps.current=null,jn=Kt,mn(s=gn())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,o=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var d=0,p=-1,f=-1,h=0,g=0,m=s,v=null;t:for(;;){for(var y;m!==l||0!==o&&3!==m.nodeType||(p=d+o),m!==c||0!==u&&3!==m.nodeType||(f=d+u),3===m.nodeType&&(d+=m.nodeValue.length),null!==(y=m.firstChild);)v=m,m=y;for(;;){if(m===s)break t;if(v===l&&++h===o&&(p=d),v===c&&++g===u&&(f=d),null!==(y=m.nextSibling))break;v=(m=v).parentNode}m=y}l=-1===p||-1===f?null:{start:p,end:f}}else l=null;l=l||{start:0,end:0}}else l=null;Vn={focusedElem:s,selectionRange:l},Kt=!1,ll=null,cl=!1,Gs=n;do{try{Dl()}catch(e){if(null===Gs)throw Error(a(330));Fl(Gs,e),Gs=Gs.nextEffect}}while(null!==Gs);ll=null,Gs=n;do{try{for(s=e;null!==Gs;){var b=Gs.flags;if(16&b&&ve(Gs.stateNode,""),128&b){var w=Gs.alternate;if(null!==w){var S=w.ref;null!==S&&("function"==typeof S?S(null):S.current=null)}}switch(1038&b){case 2:ws(Gs),Gs.flags&=-3;break;case 6:ws(Gs),Gs.flags&=-3,xs(Gs.alternate,Gs);break;case 1024:Gs.flags&=-1025;break;case 1028:Gs.flags&=-1025,xs(Gs.alternate,Gs);break;case 4:xs(Gs.alternate,Gs);break;case 8:As(s,l=Gs);var C=l.alternate;ys(l),null!==C&&ys(C)}Gs=Gs.nextEffect}}catch(e){if(null===Gs)throw Error(a(330));Fl(Gs,e),Gs=Gs.nextEffect}}while(null!==Gs);if(S=Vn,w=gn(),b=S.focusedElem,s=S.selectionRange,w!==b&&b&&b.ownerDocument&&hn(b.ownerDocument.documentElement,b)){null!==s&&mn(b)&&(w=s.start,void 0===(S=s.end)&&(S=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(S,b.value.length)):(S=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(S=S.getSelection(),l=b.textContent.length,C=Math.min(s.start,l),s=void 0===s.end?C:Math.min(s.end,l),!S.extend&&C>s&&(l=s,s=C,C=l),l=fn(b,C),o=fn(b,s),l&&o&&(1!==S.rangeCount||S.anchorNode!==l.node||S.anchorOffset!==l.offset||S.focusNode!==o.node||S.focusOffset!==o.offset)&&((w=w.createRange()).setStart(l.node,l.offset),S.removeAllRanges(),C>s?(S.addRange(w),S.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),S.addRange(w))))),w=[];for(S=b;S=S.parentNode;)1===S.nodeType&&w.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(S=w[b]).element.scrollLeft=S.left,S.element.scrollTop=S.top}Kt=!!jn,Vn=jn=null,e.current=r,Gs=n;do{try{for(b=e;null!==Gs;){var A=Gs.flags;if(36&A&&gs(b,Gs.alternate,Gs),128&A){w=void 0;var x=Gs.ref;if(null!==x){var k=Gs.stateNode;Gs.tag,w=k,"function"==typeof x?x(w):x.current=w}}Gs=Gs.nextEffect}}catch(e){if(null===Gs)throw Error(a(330));Fl(Gs,e),Gs=Gs.nextEffect}}while(null!==Gs);Gs=null,Mi(),Ts=i}else e.current=r;if(Js)Js=!1,Zs=e,Qs=t;else for(Gs=n;null!==Gs;)t=Gs.nextEffect,Gs.nextEffect=null,8&Gs.flags&&((A=Gs).sibling=null,A.stateNode=null),Gs=t;if(0===(n=e.pendingLanes)&&(Ys=null),1===n?e===il?nl++:(nl=0,il=e):nl=0,r=r.stateNode,Ai&&"function"==typeof Ai.onCommitFiberRoot)try{Ai.onCommitFiberRoot(Ci,r,void 0,!(64&~r.current.flags))}catch(e){}if(hl(e,Hi()),Ks)throw Ks=!1,e=Xs,Xs=null,e;return 8&Ts||Gi(),null}function Dl(){for(;null!==Gs;){var e=Gs.alternate;cl||null===ll||(8&Gs.flags?Qe(Gs,ll)&&(cl=!0):13===Gs.tag&&Es(e,Gs)&&Qe(Gs,ll)&&(cl=!0));var t=Gs.flags;256&t&&hs(e,Gs),!(512&t)||Js||(Js=!0,Wi(97,(function(){return Nl(),null}))),Gs=Gs.nextEffect}}function Nl(){if(90!==Qs){var e=97<Qs?97:Qs;return Qs=90,$i(e,zl)}return!1}function Rl(e,t){el.push(t,e),Js||(Js=!0,Wi(97,(function(){return Nl(),null})))}function Ol(e,t){tl.push(t,e),Js||(Js=!0,Wi(97,(function(){return Nl(),null})))}function zl(){if(null===Zs)return!1;var e=Zs;if(Zs=null,48&Ts)throw Error(a(331));var t=Ts;Ts|=32;var r=tl;tl=[];for(var n=0;n<r.length;n+=2){var i=r[n],o=r[n+1],s=i.destroy;if(i.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===o)throw Error(a(330));Fl(o,e)}}for(r=el,el=[],n=0;n<r.length;n+=2){i=r[n],o=r[n+1];try{var l=i.create;i.destroy=l()}catch(e){if(null===o)throw Error(a(330));Fl(o,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Ts=t,Gi(),!0}function Ml(e,t,r){uo(e,t=us(0,t=ss(r,t),1)),t=ul(),null!==(e=fl(e,1))&&(Ht(e,1,t),hl(e,t))}function Fl(e,t){if(3===e.tag)Ml(e,e,t);else for(var r=e.return;null!==r;){if(3===r.tag){Ml(r,e,t);break}if(1===r.tag){var n=r.stateNode;if("function"==typeof r.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Ys||!Ys.has(n))){var i=ds(r,e=ss(t,e),1);if(uo(r,i),i=ul(),null!==(r=fl(r,1)))Ht(r,1,i),hl(r,i);else if("function"==typeof n.componentDidCatch&&(null===Ys||!Ys.has(n)))try{n.componentDidCatch(t,e)}catch(e){}break}}r=r.return}}function Ll(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=ul(),e.pingedLanes|=e.suspendedLanes&r,Bs===e&&(Ns&r)===r&&(4===zs||3===zs&&(62914560&Ns)===Ns&&500>Hi()-qs?Cl(e,0):Vs|=r),hl(e,t)}function jl(e,t){var r=e.stateNode;null!==r&&r.delete(t),0==(t=0)&&(2&(t=e.mode)?4&t?(0===al&&(al=Fs),0===(t=jt(62914560&~al))&&(t=4194304)):t=99===qi()?1:2:t=1),r=ul(),null!==(e=fl(e,t))&&(Ht(e,t,r),hl(e,r))}function Vl(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Hl(e,t,r,n){return new Vl(e,t,r,n)}function ql(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ul(e,t){var r=e.alternate;return null===r?((r=Hl(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function $l(e,t,r,n,i,o){var s=2;if(n=e,"function"==typeof e)ql(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return Wl(r.children,i,o,t);case z:s=8,i|=16;break;case k:s=8,i|=1;break;case E:return(e=Hl(12,r,t,8|i)).elementType=E,e.type=E,e.lanes=o,e;case T:return(e=Hl(13,r,t,i)).type=T,e.elementType=T,e.lanes=o,e;case B:return(e=Hl(19,r,t,i)).elementType=B,e.lanes=o,e;case M:return Gl(r,i,o,t);case F:return(e=Hl(24,r,t,i)).elementType=F,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case I:s=9;break e;case P:s=11;break e;case D:s=14;break e;case N:s=16,n=null;break e;case R:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Hl(s,r,t,i)).elementType=e,t.type=n,t.lanes=o,t}function Wl(e,t,r,n){return(e=Hl(7,e,n,t)).lanes=r,e}function Gl(e,t,r,n){return(e=Hl(23,e,n,t)).elementType=M,e.lanes=r,e}function Kl(e,t,r){return(e=Hl(6,e,null,t)).lanes=r,e}function Xl(e,t,r){return(t=Hl(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yl(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.mutableSourceEagerHydrationData=null}function Jl(e,t,r,n){var i=t.current,o=ul(),s=dl(i);e:if(r){t:{if(Xe(r=r._reactInternals)!==r||1!==r.tag)throw Error(a(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(mi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===r.tag){var c=r.type;if(mi(c)){r=bi(r,c,l);break e}}r=l}else r=di;return null===t.context?t.context=r:t.pendingContext=r,(t=co(o,s)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),uo(i,t),pl(i,s,o),s}function Zl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ql(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function ec(e,t){Ql(e,t),(e=e.alternate)&&Ql(e,t)}function tc(e,t,r){var n=null!=r&&null!=r.hydrationOptions&&r.hydrationOptions.mutableSources||null;if(r=new Yl(e,t,null!=r&&!0===r.hydrate),t=Hl(3,null,null,2===t?7:1===t?3:0),r.current=t,t.stateNode=r,so(t),e[Qn]=r.current,Bn(8===e.nodeType?e.parentNode:e),n)for(e=0;e<n.length;e++){var i=(t=n[e])._getVersion;i=i(t._source),null==r.mutableSourceEagerHydrationData?r.mutableSourceEagerHydrationData=[t,i]:r.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=r}function rc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function nc(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=Zl(a);s.call(e)}}Jl(t,a,e,i)}else{if(o=r._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new tc(e,0,t?{hydrate:!0}:void 0)}(r,n),a=o._internalRoot,"function"==typeof i){var l=i;i=function(){var e=Zl(a);l.call(e)}}bl((function(){Jl(t,a,e,i)}))}return Zl(a)}function ic(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!rc(t))throw Error(a(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:A,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)}Ws=function(e,t,r){var n=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||fi.current)za=!0;else{if(!(r&n)){switch(za=!1,t.tag){case 3:Wa(t),Go();break;case 5:Oo(t);break;case 1:mi(t.type)&&wi(t);break;case 4:No(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;ui(Ji,i._currentValue),i._currentValue=n;break;case 13:if(null!==t.memoizedState)return r&t.child.childLanes?Za(e,t,r):(ui(Mo,1&Mo.current),null!==(t=ns(e,t,r))?t.sibling:null);ui(Mo,1&Mo.current);break;case 19:if(n=!!(r&t.childLanes),64&e.flags){if(n)return rs(e,t,r);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ui(Mo,Mo.current),n)break;return null;case 23:case 24:return t.lanes=0,Va(e,t,r)}return ns(e,t,r)}za=!!(16384&e.flags)}else za=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=gi(t,pi.current),io(t,r),i=aa(null,t,n,e,i,r),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,mi(n)){var o=!0;wi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,so(t);var s=n.getDerivedStateFromProps;"function"==typeof s&&mo(t,n,s,e),i.updater=vo,t.stateNode=i,i._reactInternals=t,So(t,n,e,r),t=$a(null,t,n,!0,o,r)}else t.tag=0,Ma(null,t,i,r),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return ql(e)?1:0;if(null!=e){if((e=e.$$typeof)===P)return 11;if(e===D)return 14}return 2}(i),e=Yi(i,e),o){case 0:t=qa(null,t,i,e,r);break e;case 1:t=Ua(null,t,i,e,r);break e;case 11:t=Fa(null,t,i,e,r);break e;case 14:t=La(null,t,i,Yi(i.type,e),n,r);break e}throw Error(a(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,qa(e,t,n,i=t.elementType===n?i:Yi(n,i),r);case 1:return n=t.type,i=t.pendingProps,Ua(e,t,n,i=t.elementType===n?i:Yi(n,i),r);case 3:if(Wa(t),n=t.updateQueue,null===e||null===n)throw Error(a(282));if(n=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,lo(e,t),fo(t,n,null,r),(n=t.memoizedState.element)===i)Go(),t=ns(e,t,r);else{if((o=(i=t.stateNode).hydrate)&&(jo=Gn(t.stateNode.containerInfo.firstChild),Lo=t,o=Vo=!0),o){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(o=e[i])._workInProgressVersionPrimary=e[i+1],Ko.push(o);for(r=_o(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|1024,r=r.sibling}else Ma(e,t,n,r),Go();t=t.child}return t;case 5:return Oo(t),null===e&&Uo(t),n=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,qn(n,i)?s=null:null!==o&&qn(n,o)&&(t.flags|=16),Ha(e,t),Ma(e,t,s,r),t.child;case 6:return null===e&&Uo(t),null;case 13:return Za(e,t,r);case 4:return No(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=Eo(t,null,n,r):Ma(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,Fa(e,t,n,i=t.elementType===n?i:Yi(n,i),r);case 7:return Ma(e,t,t.pendingProps,r),t.child;case 8:case 12:return Ma(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var l=t.type._context;if(ui(Ji,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0==(o=cn(l,o)?0:0|("function"==typeof n._calculateChangedBits?n._calculateChangedBits(l,o):1073741823))){if(s.children===i.children&&!fi.current){t=ns(e,t,r);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===n&&u.observedBits&o){1===l.tag&&((u=co(-1,r&-r)).tag=2,uo(l,u)),l.lanes|=r,null!==(u=l.alternate)&&(u.lanes|=r),no(l.return,r),c.lanes|=r;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Ma(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=(o=t.pendingProps).children,io(t,r),n=n(i=oo(i,o.unstable_observedBits)),t.flags|=1,Ma(e,t,n,r),t.child;case 14:return o=Yi(i=t.type,t.pendingProps),La(e,t,i,o=Yi(i.type,o),n,r);case 15:return ja(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Yi(n,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,mi(n)?(e=!0,wi(t)):e=!1,io(t,r),bo(t,n,i),So(t,n,i,r),$a(null,t,n,!0,e,r);case 19:return rs(e,t,r);case 23:case 24:return Va(e,t,r)}throw Error(a(156,t.tag))},tc.prototype.render=function(e){Jl(e,this._internalRoot,null,null)},tc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Jl(null,e,null,(function(){t[Qn]=null}))},et=function(e){13===e.tag&&(pl(e,4,ul()),ec(e,4))},tt=function(e){13===e.tag&&(pl(e,67108864,ul()),ec(e,67108864))},rt=function(e){if(13===e.tag){var t=ul(),r=dl(e);pl(e,r,t),ec(e,r)}},nt=function(e,t){return t()},Ee=function(e,t,r){switch(t){case"input":if(re(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=ii(n);if(!i)throw Error(a(90));J(n),re(n,i)}}}break;case"textarea":ce(e,r);break;case"select":null!=(t=r.value)&&ae(e,!!r.multiple,t,!1)}},De=yl,Ne=function(e,t,r,n,i){var o=Ts;Ts|=4;try{return $i(98,e.bind(null,t,r,n,i))}finally{0===(Ts=o)&&($s(),Gi())}},Re=function(){!(49&Ts)&&(function(){if(null!==rl){var e=rl;rl=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,hl(e,Hi())}))}Gi()}(),Nl())},Oe=function(e,t){var r=Ts;Ts|=2;try{return e(t)}finally{0===(Ts=r)&&($s(),Gi())}};var oc={Events:[ri,ni,ii,Te,Be,Nl,{current:!1}]},ac={findFiberByHostInstance:ti,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:ac.bundleType,version:ac.version,rendererPackageName:ac.rendererPackageName,rendererConfig:ac.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:S.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ze(e))?null:e.stateNode},findFiberByHostInstance:ac.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lc.isDisabled&&lc.supportsFiber)try{Ci=lc.inject(sc),Ai=lc}catch(ge){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oc,t.createPortal=ic,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=Ze(t))?null:e.stateNode},t.flushSync=function(e,t){var r=Ts;if(48&r)return e(t);Ts|=1;try{if(e)return $i(99,e.bind(null,t))}finally{Ts=r,Gi()}},t.hydrate=function(e,t,r){if(!rc(t))throw Error(a(200));return nc(null,e,t,!0,r)},t.render=function(e,t,r){if(!rc(t))throw Error(a(200));return nc(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!rc(e))throw Error(a(40));return!!e._reactRootContainer&&(bl((function(){nc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Qn]=null}))})),!0)},t.unstable_batchedUpdates=yl,t.unstable_createPortal=function(e,t){return ic(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!rc(r))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return nc(e,t,r,!1,n)},t.version="17.0.2"},7059:(e,t,r)=>{"use strict";r.d(t,{PV:()=>y,i8:()=>g,nU:()=>v,tS:()=>m});var n=r(5188),i=r(2129),o=r(8374),a=r(5239),s=r(9666),l=r(7938),c=r(9454),u="TelemetryPluginChain",d="_hasRun",p="_getTelCtx",f=0;function h(e,t,r,l){var c=null,u=[];null!==l&&(c=l?function(e,t,r){for(;e;){if(e[n.AP]()===r)return e;e=e[n.uR]()}return y([r],t[n.GA]||{},t)}(e,r,l):e);var d={_next:function(){var e=c;if(c=e?e[n.uR]():null,!e){var t=u;t&&t[n.oI]>0&&((0,a.Iu)(t,(function(e){try{e.func[n.Ek](e.self,e.args)}catch(e){(0,i.ZP)(r[n.Uw],2,73,"Unexpected Exception during onComplete - "+(0,o.mm)(e))}})),u=[])}return e},ctx:{core:function(){return r},diagLog:function(){return(0,i.y0)(r,t)},getCfg:function(){return t},getExtCfg:p,getConfig:function(e,r,n){void 0===n&&(n=!1);var i,o=p(e,null);return o&&!(0,a.hX)(o[r])?i=o[r]:t&&!(0,a.hX)(t[r])&&(i=t[r]),(0,a.hX)(i)?n:i},hasNext:function(){return!!c},getNext:function(){return c},setNext:function(e){c=e},iterate:function(e){for(var t;t=d._next();){var r=t[n.AP]();r&&e(r)}},onComplete:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];e&&u[n.y5]({func:e,self:(0,a.b0)(t)?d.ctx:t,args:r})}}};function p(e,r,n){var i;if(void 0===r&&(r={}),void 0===n&&(n=0),t){var o=t[s.Bw];o&&e&&(i=o[e])}if(i){if((0,a.Gv)(r)&&0!==n){var l=(0,a.CP)(!0,r,i);t&&2===n&&(0,a.z)(r,(function(e){if((0,a.hX)(l[e])){var r=t[e];(0,a.hX)(r)||(l[e]=r)}})),i=l}}else i=r;return i}return d}function g(e,t,r,i){var o=h(e,t,r,i),l=o.ctx;return l[n.$5]=function(e){var t=o._next();return t&&t[s.qT](e,l),!t},l[n.$o]=function(e,i){return void 0===e&&(e=null),(0,a.cy)(e)&&(e=y(e,t,r,i)),g(e||l[n.uR](),t,r,i)},l}function m(e,t,r){var i=t[n.GA]||{},o=h(e,i,t,r),s=o.ctx;return s[n.$5]=function(e){var t=o._next();return t&&t.unload(s,e),!t},s[n.$o]=function(e,r){return void 0===e&&(e=null),(0,a.cy)(e)&&(e=y(e,i,t,r)),m(e||s[n.uR](),t,r)},s}function v(e,t,r){var i=t[n.GA]||{},o=h(e,i,t,r).ctx;return o[n.$5]=function(e){return o.iterate((function(t){(0,a.Tn)(t[n.HC])&&t[n.HC](o,e)}))},o[n.$o]=function(e,r){return void 0===e&&(e=null),(0,a.cy)(e)&&(e=y(e,i,t,r)),v(e||o[n.uR](),t,r)},o}function y(e,t,r,h){var m=null,v=!h;if((0,a.cy)(e)&&e[n.oI]>0){var b=null;(0,a.Iu)(e,(function(e){if(v||h!==e||(v=!0),v&&e&&(0,a.Tn)(e[s.qT])){var y=function(e,t,r){var h,m=null,v=(0,a.Tn)(e[s.qT]),y=(0,a.Tn)(e[n.YH]),b={getPlugin:function(){return e},getNext:function(){return m},processTelemetry:function(i,o){w(o=o||function(){var n;return e&&(0,a.Tn)(e[p])&&(n=e[p]()),n||(n=g(b,t,r)),n}(),(function(t){if(!e||!v)return!1;var r=(0,c.Cr)(e);return!r[n.Ik]&&!r[s.Hr]&&(y&&e[n.YH](m),e[s.qT](i,t),!0)}),"processTelemetry",(function(){return{item:i}}),!i.sync)||o[n.$5](i)},unload:function(t,r){w(t,(function(){var i=!1;if(e){var o=(0,c.Cr)(e),a=e[s.eT]||o[s.eT];!e||a&&a!==t.core()||o[n.Ik]||(o[s.eT]=null,o[n.Ik]=!0,o[n.tZ]=!1,e[n.Ik]&&!0===e[n.Ik](t,r)&&(i=!0))}return i}),"unload",(function(){}),r[n.tI])||t[n.$5](r)},update:function(t,r){w(t,(function(){var i=!1;if(e){var o=(0,c.Cr)(e),a=e[s.eT]||o[s.eT];!e||a&&a!==t.core()||o[n.Ik]||e[n.HC]&&!0===e[n.HC](t,r)&&(i=!0)}return i}),"update",(function(){}),!1)||t[n.$5](r)},_id:h=e?e[n.Ju]+"-"+e[s.Vo]+"-"+f++:"Unknown-0-"+f++,_setNext:function(e){m=e}};function w(t,r,a,c,p){var f=!1,g=e?e[n.Ju]:u,v=t[d];return v||(v=t[d]={}),t.setNext(m),e&&(0,l.r2)(t[s.eT](),(function(){return g+":"+a}),(function(){v[h]=!0;try{var e=m?m._id:s.m5;e&&(v[e]=!1),f=r(t)}catch(e){var l=!m||v[m._id];l&&(f=!0),m&&l||(0,i.ZP)(t[n.e4](),1,73,"Plugin ["+g+"] failed during "+a+" - "+(0,o.mm)(e)+", run flags: "+(0,o.mm)(v))}}),c,p),f}return(0,a.N6)(b)}(e,t,r);m||(m=y),b&&b._setNext(y),b=y}}))}return h&&!m?y([h],t,r):m}},7080:(e,t,r)=>{"use strict";r.d(t,{SW:()=>Ri});var n=r(1635),i=r(7810),o=r(1454),a=r(1128),s=r(7841),l=r(6596),c=r(6511),u=r(7012);class d{constructor(e){this.logger=e,this.id=new c.k,this.MAX_DEPTH_OF_CHILD_IFRAME=6,this.getOrigin=()=>this.origin,this.getFrame=()=>this.frame}setOrigin(e){this.origin=e}onSdkInitialized(e){this.hostEventListener&&this.dispose(),this.hostEventListener=new o.J(e),this.hostEventListener.addListener("message",this.onMessageReceived.bind(this))}onSetFrameAndLoadOrigin(e,t,r,n,i){this.frame=e,this.setOrigin(t),this.appDefinition=r,this.appContext=n,this.handleMessageCallbackIframe=i}postMessage(e,t){const r=this.getOrigin();r&&e.contentWindow?e.contentWindow.postMessage(t,r):this.logger.log(a.$.Error,"IframeCommunicationBridge","Error sending message to iframe")}postMessageWithTransferables(e,t,r){const n=this.getOrigin();n&&e.contentWindow?e.contentWindow.postMessage(t,n,r):this.logger.log(a.$.Error,"IframeCommunicationBridge","Error sending message to iframe with transferables")}postMessageToNestedIframe(e,t){const{func:r="null",source:n,origin:i}=null!=t?t:{};s.ez.has(r)&&(n&&i&&!n.closed?n.postMessage(e,i):this.logger.log(a.$.Error,"IframeCommunicationBridge","Error sending message to nested iframe"))}isEmbeddedRequest(e,t=0){var r;return e===(null===(r=this.frame)||void 0===r?void 0:r.contentWindow)||!(t>this.MAX_DEPTH_OF_CHILD_IFRAME||!(null==e?void 0:e.parent))&&this.isEmbeddedRequest(e.parent,t+1)}onMessageReceived(e){var t;if(!this.frame||this.frame.contentWindow!==e.source)return void(this.handleMessageCallbackIframe&&(null===(t=e.data)||void 0===t?void 0:t.func)&&s.ez.has(e.data.func)&&this.isEmbeddedRequest(e.source)&&this.handleMessageCallbackIframe((0,s.mW)(e,!0)));const r=e.origin;r&&r!==this.getOrigin()&&(0,u.dE)(r,this.logger,this.appDefinition,this.appContext)&&this.setOrigin(r),this.getOrigin()===r&&this.handleMessageCallbackIframe&&this.handleMessageCallbackIframe((0,s.mW)(e,!1))}dispose(){var e;null===(e=this.hostEventListener)||void 0===e||e.removeAllListeners(),this.hostEventListener=void 0}}function p(e,t,r){var n;if(!e)return;const i=e.createScenario("commBridgeDisposed",r);null===(n=null==i?void 0:i.addOrUpdateActivityDataField)||void 0===n||n.call(i,l.u7.COMM_BRIDGE_ID,(null==t?void 0:t.toString())||"unknown"),null==i||i.stop()}const f=(e=!0)=>({border:0,flex:e?1:void 0,display:e?"flex":"none"}),h="allow-forms allow-popups allow-popups-to-escape-sandbox allow-pointer-lock allow-scripts allow-same-origin allow-modals allow-downloads allow-top-navigation-to-custom-protocols allow-storage-access-by-user-activation",g=({sdkHost:e,contentUrl:t,frameContext:r,appDefinition:o,title:a,isLoading:s,userClickTime:l,userClickTimeV2:c,allowList:u})=>{const d=i.useRef(null);return i.useEffect((()=>((0,n.__awaiter)(void 0,void 0,void 0,(function*(){yield e.setFrameAndLoadOrigin(d.current,t,o,l,void 0,c)})),()=>{e.unloadApp(o,"host_cleanup")})),[o,t,r,d,e,l,c]),i.createElement("iframe",{key:`iframe-${t}`,id:`iframe:${o.id}`,"data-tid":"app-host-iframe",ref:d,style:s?Object.assign({},{display:"none"}):Object.assign({},f()),sandbox:h,title:a,allow:u})},m=(e,t,r,n,o=window)=>{const a=(0,i.useCallback)((()=>{if(e&&n.current&&r.current){const e=r.current.style;if(t)return void(e.display="none");const i=n.current.getBoundingClientRect(),a=o.scrollX||o.pageXOffset,s=o.scrollY||o.pageYOffset;e.position="absolute",e.left=`${i.left+a}px`,e.top=`${i.top+s}px`,e.width=`${n.current.offsetWidth}px`,e.height=`${n.current.offsetHeight}px`,e.display="flex"}}),[t,r,n,r.current,e,o]);(0,i.useEffect)((()=>{if(!e)return;a();const t=function(e){let t=null;return function(...r){t||(t=setTimeout((()=>((r,n)=>{t=null,e.apply(r,n)})(this,r)),100))}}(a);return o.addEventListener("resize",t),()=>{o.removeEventListener("resize",t)}}),[a,e,o])};var v=r(2517),y=r(9802);const b=(e,t,r,n)=>({appId:e,frameContext:t,renderingSurface:r,userId:n});function w(e,t,r){const n=`cacheable-iframe:${e}`,i=[];if(void 0!==t&&i.push(`renderingSurface:${t}`),r){const e=Object.entries(r).filter((([e,t])=>null!=t)).map((([e,t])=>`${e}:${String(t)}`));i.push(...e)}return i.length>0?`${n}-${i.join("-")}`:n}function S(e){if((0,y.eZ)().useRelativeRenderingForCaching&&e){const t=document.getElementById(e);if(t)return t}return document.body}function C(e,t){t?e.setAttribute("style","border:0; display:flex; flex:1;"):e.setAttribute("style","border:0;")}const A=({sdkHost:e,contentUrl:t,frameContext:r,renderingSurface:o,appDefinition:a,title:s,isLoading:l,userClickTime:c,userClickTimeV2:u,allowList:d,cacheManagementService:p,communicationBridge:g,iframeIdSuffix:A,setIsUnLoading:x,cacheableIframeParentId:k})=>{const E=i.useRef(!1),_=i.useRef(null),I=i.useRef(null),P=i.useRef(!1),[T,B]=i.useState(!1),D=((e,t,r,o,a,s,l,c,u,d,p,f,g,m)=>(0,y.eZ)().enableSuffixAppendForIframeId?i.useCallback((()=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){e.current=document.createElement("iframe"),g(!0),e.current.setAttribute("id",w(t.id,l,f)),e.current.setAttribute("data-tid","app-host-iframe"),e.current.setAttribute("title",null!=r?r:""),e.current.setAttribute("sandbox",h),e.current.setAttribute("key",`iframe-${a}`);const n=S(m);C(e.current,!(n===document.body)),n.appendChild(e.current);const i={appId:t.id,contentUrl:a,displayName:r,frameContext:s,renderingSurface:l,userId:null==f?void 0:f.userId};p.addAppToCache(i,d,e.current),yield o.setFrameAndLoadOrigin(e.current,a.toString(),t,c,!1,u)}))),[e,g,t,r,a,s,l,p.addAppToCache,d,o,c,u,m]):i.useCallback((()=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){e.current=document.createElement("iframe"),g(!0),e.current.setAttribute("id",w(t.id,l)),e.current.setAttribute("data-tid","app-host-iframe"),e.current.setAttribute("title",null!=r?r:""),e.current.setAttribute("sandbox",h),e.current.setAttribute("key",`iframe-${a}`);const n=S(m);C(e.current,!(n===document.body)),n.appendChild(e.current);const i={appId:t.id,contentUrl:a,displayName:r,frameContext:s,renderingSurface:l};p.addAppToCache(i,d,e.current),yield o.setFrameAndLoadOrigin(e.current,a.toString(),t,c,!1,u)}))),[e,g,t,r,a,s,l,p.addAppToCache,d,o,c,u,m]))(_,a,s,e,t,r,o,c,u,g,p,A,B,k),N=i.useCallback((e=>{const t=p.getCachedApp(e);return t&&t.currentAppState.state!==v.Jz.Cached?(x(!0),t.unloadingTimeoutDeferred||(t.unloadingTimeoutDeferred=function(){const e={};return e.promise=new Promise(((t,r)=>{e.resolve=t,e.reject=r})),e}()),t.unloadingTimeoutDeferred.promise):Promise.resolve(!0)}),[p,x]);i.useEffect((()=>{E.current=!1}),[a,t]),i.useEffect((()=>()=>{_.current&&(_.current.style.display="none")}),[a,t,_]),(0,y.eZ)().enableSuffixAppendForIframeId?i.useEffect((()=>(P.current=!0,(0,n.__awaiter)(void 0,void 0,void 0,(function*(){if(E.current)return;E.current=!0;const i=b(a.id,r,o,null==A?void 0:A.userId),s=p.getCachedApp(i),l=r=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){if(!r)return;x(!1);const n=p.getCachedApp(i);n?e.setFrameAndLoadOrigin(n.frameInfo,t,a,c,!0,u):D()}));if(s&&p.isAppRegisteredForCaching(s)){if(_.current=s.frameInfo,B(!0),!P.current)return;const e=yield N(i);yield l(e)}else{const e=yield N(i);yield l(e)}})),()=>{e.unloadApp(a,"host_cleanup"),P.current=!1,E.current=!1,_.current=null,B(!1)})),[p,a,e,t,c,u,P,N,x,D,r,o]):i.useEffect((()=>(P.current=!0,(0,n.__awaiter)(void 0,void 0,void 0,(function*(){if(E.current)return;E.current=!0;const i=b(a.id,r,o,void 0),s=p.getCachedApp(i),l=r=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){if(!r)return;x(!1);const n=p.getCachedApp(i);n?e.setFrameAndLoadOrigin(n.frameInfo,t,a,c,!0,u):D()}));if(s&&p.isAppRegisteredForCaching(s)){if(_.current=s.frameInfo,B(!0),!P.current)return;const e=yield N(i);yield l(e)}else{const e=yield N(i);yield l(e)}})),()=>{e.unloadApp(a,"host_cleanup"),P.current=!1,E.current=!1,_.current=null,B(!1)})),[p,a,e,t,c,u,P,N,x,D,r,o]),i.useEffect((()=>{_.current&&d&&_.current.setAttribute("allow",d)}),[a,d,_,T]),i.useEffect((()=>{(0,y.eZ)().useRelativeRenderingForCaching&&_.current&&(_.current.style.display=l?"none":"flex")}),[l]);const R=S(k)===document.body;return m(R,l,_,I),i.createElement((()=>i.createElement("div",{ref:I,style:f(R),id:"cachable-div-container"})),null)},x=({isolationProvider:e,hostProps:t,errorUI:r,appHostSdk:n})=>{const o=i.useRef(null);return i.useEffect((()=>()=>{n.unloadApp(t.appDefinition,"component_unmount")}),[n,t.appDefinition,t.contentUrl]),i.createElement("div",{id:"isolation-provider-container",ref:o,style:{flex:1,display:"flex",flexDirection:"column"}},r(),e.renderHost(t))};var k=r(240),E=r(6560),_=r(1956);const I={dependentHubServiceSelector:e=>e.appEntityService,messageHandlerFactory:(e,t,r)=>new P(e,r,t)};class P extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.appEntityService=r}initHandlers(){this.registerHandler(k.tz.appEntity.selectAppEntity,((e,t,r,i)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.appEntityService.selectAppEntity(t,r,i);return(0,s.PR)([null,e])}))),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.appEntity.selectAppEntity,e,t),isRestrictedToFullTrustApps:!0})}}var T=r(778);const B={dependentHubServiceSelector:e=>e.appInstallDialogService,messageHandlerFactory:(e,t,r)=>new D(e,r,t)};class D extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.appInstallDialogService=r}initHandlers(){this.registerHandler(k.tz.appInstallDialog.openAppInstallDialog,((e,t)=>(0,s.QY)(this.appInstallDialogService.openAppInstallDialog,t)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.appInstallDialog.openAppInstallDialog,e,t)})}}class N{constructor(e){this.appInstallDialogService=e}tryGetDataFromLink(e){if(!this.appInstallDialogService)return null;if(e.origin!=T.sB)return null;const t=e.pathname.match(N.APP_INSTALL_DIALOG_URL_REGEX);return t?{appId:t[1]}:null}executeData(e){return this.appInstallDialogService.openAppInstallDialog(e)}}N.APP_INSTALL_DIALOG_URL_REGEX=/^\/l\/app\/([^\/]+)\/?$/;var R=r(4256),O=r(8070),z=r(8725),M=r(8976),F=r(8229),L=r(9797);const j={dependentHubServiceSelector:e=>e.authenticationService,messageHandlerFactory:(e,t,r)=>new V(e,t,r)};class V extends L.B{constructor(e,t,r,n){super(e,r,t),this.appSdkHost=e,this.authenticationService=t,this.telemetryService=r,this.TAG="AuthenticationMessageHandler",this.hostedWebContentAuthSdkServiceFactory=null!=n?n:(e,t,r,n,i,o,a,s)=>new z.I(e,t,r,n,i,o,a,s)}initHandlers(){super.initHandlers(),this.registerHandler(k.tz.authentication.authenticate,this.handleAuthenticate,{callbackFixedArgsLength:5,errorCallback:this.onAuthenticateError}),this.authenticationService.addEventListener("onExternalAuthDeeplink",(e=>O.nc.completeAuth(e.data.authId,e.data.result)))}handleAuthenticate(e,t,r,i,o,l){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(null==l||l.addOrUpdateActivityDataField(k._P.isExternal,o&&o?"true":"false"),this.appDefinition){const c=(0,M.Yj)(e.data),u=(0,s.sC)(c),d={getUser:()=>this.authenticationService.getUser(),acquireToken:(e,t,r,n)=>this.authenticationService.acquireToken(e,t,r,n),notifySuccess:e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){null==l||l.stop(),this.appSdkHost.postResponseToApp(c,[!0,e]),this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`notifySuccess func: ${u}`)})),notifyFailure:e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){null==l||l.fail(e),this.appSdkHost.postResponseToApp(c,[!1,e]),this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`notifyFailure func: ${u}`)})),externalAuthRedirectUrl:this.authenticationService.externalAuthRedirectUrl,addEventListener:()=>{},clearListeners:()=>{},externalAuthService:this.authenticationService.externalAuthService},p=Object.assign(Object.assign({},this.appSdkHost.getContext()),{app:Object.assign(Object.assign({},this.appSdkHost.getContext().app),{sessionId:(0,R.A)(),userClickTime:Date.now(),userClickTimeV2:(0,F.So)()}),page:Object.assign(Object.assign({},this.appSdkHost.getContext().page),{frameContext:M.E2.authentication})});this.hostedWebContentAuthSdkServiceFactory(this.appSdkHost.getHostWindow(),{url:t,width:r,height:i},this.appDefinition,d,p,this.appSdkHost.getLogger(),void 0,o)}return s.f1}))}onAuthenticateError(e,t){return null==t||t.fail(`Authenticate failed ${(0,s.oE)(e)}`),(0,s.PR)([!1,e])}}var H=r(7675);const q={dependentHubServiceSelector:e=>e.barCodeService&&e.devicePermissionService?{barCodeService:e.barCodeService,permissionsService:e.devicePermissionService}:void 0,messageHandlerFactory:(e,t,r)=>new U(e,r,t.permissionsService,t.barCodeService)};class U extends _.R{constructor(e,t,r,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.permissionsService=r,this.barCodeService=n}initHandlers(){this.registerHandler(k.tz.barCode.scanBarCode,((e,t)=>this.checkPermissionsAndCallScanBarCode(t)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.barCode.scanBarCode,e,t)})}checkPermissionsAndCallScanBarCode(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield(0,s.og)(this.permissionsService,H.m.Media),(0,s.N8)(e,this.barCodeService.scanBarCode)}))}}var $=r(6656);const W={dependentHubServiceSelector:e=>e.calendarService,messageHandlerFactory:(e,t,r)=>new G(e,r,t)};class G extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.calendarService=r}initHandlers(){this.registerHandler(k.tz.calendar.openCalendarItem,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.calendarService.openCalendarItem(t),(0,s.PR)([!0])}))),{errorCallback:(e,t)=>(0,s.M5)(k.tz.calendar.openCalendarItem,e,t)}),this.registerHandler(k.tz.calendar.composeMeeting,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.calendarService.composeMeeting(t),(0,s.PR)([!0])}))),{errorCallback:(e,t)=>(0,s.M5)(k.tz.calendar.composeMeeting,e,t)})}validateDependencies(){if(!this.calendarService)throw"No calendarService provided"}}class K{constructor(e){this.calendarService=e}tryGetDataFromLink(e){var t;return this.calendarService?e.origin!=T.sB||"/l/meeting/new"!=e.pathname?null:{attendees:null===(t=e.searchParams.get("attendees"))||void 0===t?void 0:t.split(","),startTime:e.searchParams.get("startTime")||void 0,endTime:e.searchParams.get("endTime")||void 0,subject:e.searchParams.get("subject")||void 0,content:e.searchParams.get("content")||void 0}:null}executeData(e){return this.calendarService.composeMeeting(e)}}var X;!function(e){e.Unknown="unknown",e.Audio="audio",e.Video="video",e.VideoBasedScreenSharing="videoBasedScreenSharing",e.Data="data"}(X||(X={}));const Y={dependentHubServiceSelector:e=>e.callService,messageHandlerFactory:(e,t,r)=>new J(e,r,t)};class J extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.callService=r}initHandlers(){this.registerHandler(k.tz.call.startCall,((e,t)=>(0,s.JA)(this.callService.startCall,t)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.call.startCall,e,t)})}}class Z{constructor(e){this.callService=e}tryGetDataFromLink(e){var t;if(!this.callService)return null;if(e.origin!=T.sB||"/l/call/0/0"!=e.pathname)return null;const r=null===(t=e.searchParams.get("users"))||void 0===t?void 0:t.split(","),n="true"==e.searchParams.get("withVideo"),i=e.searchParams.get("source")||void 0;return r?{targets:r,requestedModalities:n?[X.Audio,X.Video]:[X.Audio],source:i}:null}executeData(e){return this.callService.startCall(e).then((()=>{}))}}const Q={dependentHubServiceSelector:e=>e.chatService,messageHandlerFactory:(e,t,r)=>new ee(e,r,t)};class ee extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.chatService=r}initHandlers(){this.registerHandler(k.tz.chat.openChat,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.chatService.openChat(t),(0,s.PR)(!0)}))),{errorCallback:(e,t)=>(0,s.M5)(k.tz.chat.openChat,e,t)})}}class te{constructor(e){this.chatService=e}tryGetDataFromLink(e){var t;if(!this.chatService)return null;if(e.origin!=T.sB||"/l/chat/0/0"!=e.pathname)return null;const r=null===(t=e.searchParams.get("users"))||void 0===t?void 0:t.split(",");return r?{members:r,topic:e.searchParams.get("topicName")||void 0,message:e.searchParams.get("message")||void 0}:null}executeData(e){return this.chatService.openChat(e)}}var re=r(2313);const ne={messageHandlerFactory:(e,t)=>new ie(e,t)};class ie extends _.R{constructor(e,t){super(e,t),this.appSdkHost=e,this.telemetryService=t}initHandlers(){this.registerHandler(k.tz.clipboard.writeToClipboard,this.writeDataToClipboard,{errorCallback:(e,t)=>(0,s.eZ)(k.tz.clipboard.writeToClipboard,e,t)}),this.registerHandler(k.tz.clipboard.readFromClipboard,this.readDataFromClipboard,{errorCallback:(e,t)=>(0,s.eZ)(k.tz.clipboard.readFromClipboard,e,t)})}validateDependencies(){if(!navigator||!navigator.clipboard)throw"Current browser does not support clipboard API."}acquireTemporaryFocus(){this.initiallyFocusedElement=document.activeElement,this.tempTextArea=document.createElement("textarea"),this.tempTextArea.readOnly=!0,this.tempTextArea.tabIndex=-1,this.tempTextArea.style.opacity="0",this.tempTextArea.style.position="fixed",this.tempTextArea.style.right="-9999px",this.tempTextArea.style.bottom="-9999px",document.body.appendChild(this.tempTextArea),this.tempTextArea.focus()}releaseTemporaryFocus(){this.initiallyFocusedElement&&this.initiallyFocusedElement.focus&&this.initiallyFocusedElement.focus(),this.tempTextArea&&document.body.removeChild(this.tempTextArea)}writeDataToClipboard(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(!t.content||!t.mimeType)throw(0,s.jC)(v.O4.INVALID_ARGUMENTS,"Clipboard content or mime type cannot be empty.");if(!Object.values(M.j5).includes(t.mimeType))throw(0,s.jC)(v.O4.INVALID_ARGUMENTS,`Mime type ${t.mimeType} is not supported. Supported mime types are ${Object.values(M.j5)}`);try{let e=yield this.base64ToBlob(t.mimeType,t.content);this.acquireTemporaryFocus(),t.mimeType.startsWith("image/")&&(e=yield this.convertImageBlobToPngBlob(e)),yield navigator.clipboard.write([new ClipboardItem({[e.type]:e})])}catch(e){throw(0,s.jC)(v.O4.INTERNAL_ERROR,`Failed to copy to clipboard. ${e}`)}finally{this.releaseTemporaryFocus()}return(0,s.PR)([null])}))}readDataFromClipboard(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{let e;if(this.acquireTemporaryFocus(),"denied"===(yield navigator.permissions.query({name:"clipboard-read"})).state)throw(0,s.jC)(v.O4.PERMISSION_DENIED,"Not allowed to read clipboard.");const t=yield navigator.clipboard.read();if(e=yield t[0].getType(t[0].types[0]),(yield this.appSdkHost.getAppContext()).app.host.clientType===M.WK.desktop){const t={content:yield this.getBase64StringFromBlob(e),mimeType:e.type};return(0,s.PR)([null,JSON.stringify(t)])}return(0,s.PR)([null,e])}catch(e){throw(0,s.hl)(e)?e:(0,s.jC)(v.O4.INTERNAL_ERROR,e)}finally{this.releaseTemporaryFocus()}}))}getBase64StringFromBlob(e){return new Promise(((t,r)=>{0===e.size&&r(new Error("Blob cannot be empty."));const n=new FileReader;n.onloadend=()=>{n.result?t(n.result.toString().split(",")[1]):r(new Error("Failed to read the blob"))},n.onerror=()=>{r(n.error)},n.readAsDataURL(e)}))}createImageElement(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return new Promise(((t,r)=>{const n=document.createElement("img");n.crossOrigin="anonymous",n.src=e,n.onload=e=>{const r=e.target;r.focus(),t(r)},n.onabort=r,n.onerror=r}))}))}getBlobFromImageElement(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return new Promise(((t,r)=>{const n=document.createElement("canvas"),i=n.getContext("2d");if(i){const{width:o,height:a}=e;n.width=o,n.height=a,i.drawImage(e,0,0,o,a),n.toBlob((e=>{e?t(e):r("Cannot get blob from image element")}),"image/png",1)}}))}))}convertImageBlobToPngBlob(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const t=URL.createObjectURL(e),r=yield this.createImageElement(t);return yield this.getBlobFromImageElement(r)}))}base64ToBlob(e,t){return new Promise(((r,n)=>{if(e||n("MimeType cannot be null or empty."),t||n("Base64 string cannot be null or empty."),e.startsWith("image/")){const n=atob(t),i=new Uint8Array(n.length);for(let e=0;e<n.length;e++)i[e]=n.charCodeAt(e);r(new Blob([i],{type:e}))}else{const n=re.hp.from(t,"base64").toString();r(new Blob([n],{type:e}))}}))}}const oe={dependentHubServiceSelector:e=>e.conversationsService,messageHandlerFactory:(e,t,r)=>new ae(e,r,t)};class ae extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.conversationsService=r}initHandlers(){this.registerHandler(k.tz.conversations.openConversation,((e,t)=>(this.conversationsService.clearListeners(),this.conversationsService.addEventListener("startConversation",(e=>this.appSdkHost.sendRequestMessage("startConversation",e.data?[e.data.subEntityId,e.data.conversationId,e.data.channelId,e.data.entityId]:[]))),this.conversationsService.addEventListener("closeConversation",(e=>this.appSdkHost.sendRequestMessage("closeConversation",e.data?[e.data.subEntityId,e.data.conversationId,e.data.channelId,e.data.entityId]:[]))),(0,s.JA)(this.conversationsService.openConversation,t))),{errorCallback:(e,t)=>(0,s.M5)(k.tz.links.openLink,e,t)}),this.registerHandler(k.tz.conversations.closeConversation,(e=>(this.conversationsService.clearListeners(),(0,s.QY)(this.conversationsService.closeConversation))),{}),this.registerHandler(k.tz.conversations.getChatMembers,(e=>(0,s.JA)(this.conversationsService.getChatMembers)),{isRestrictedToFullTrustApps:!0})}}class se extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.copilotEligibilityService=r}initHandlers(){this.registerHandler(k.tz.copilot.eligibility.getEligibilityInfo,this.getEligibility,{errorCallback:(e,t)=>(0,s.eZ)(k.tz.copilot.eligibility.getEligibilityInfo,e,t)})}canHandleMessage(e){return super.canHandleMessage(e)&&(0,u.EV)(this.appDefinition)}validateDependencies(e){if(!this.copilotEligibilityService)throw new Error("No copilotEligibilityService provided")}getEligibility(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.copilotEligibilityService.getEligibilityInformation(t);return(0,s.PR)(e)}))}}var le=r(151);class ce extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.copilotSidePanelService=r}initHandlers(){this.registerHandler(k.tz.copilot.sidePanel.getContent,this.getContent,{errorCallback:(e,t)=>(0,s.hV)(k.tz.copilot.sidePanel.getContent,e,t)}),this.registerHandler(k.tz.copilot.sidePanel.preCheckUserConsent,this.preCheckUserConsent,{errorCallback:(e,t)=>(0,s.hV)(k.tz.copilot.sidePanel.preCheckUserConsent,e,t)})}canHandleMessage(e){return super.canHandleMessage(e)&&(0,u.wr)(this.appDefinition)}validateDependencies(e){if(!this.copilotSidePanelService)throw ue}getContent(e,t){var r,i;return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(t){if(!function(e){if(!e||"object"!=typeof e)return!1;const{localEndpointInfo:t}=e;return"string"==typeof t}(t))throw new le.kv(le.H_.InvalidRequest,"Invalid request for copilot side panel content. Expected a consent request.");const e={localEndpointInfo:null==t?void 0:t.localEndpointInfo},n=yield null===(r=this.copilotSidePanelService)||void 0===r?void 0:r.getContent(e);return(0,s.PR)(n)}const e=yield null===(i=this.copilotSidePanelService)||void 0===i?void 0:i.getContent();return(0,s.PR)(e)}))}preCheckUserConsent(e){var t;return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=yield null===(t=this.copilotSidePanelService)||void 0===t?void 0:t.preCheckUserConsent();return(0,s.PR)(e)}))}}const ue=new le.kv(le.H_.NotSupportedOnPlatform,"Copilot side panel service is not supported on this platform."),de=(new le.kv(le.H_.InvalidRequest,"Invalid request for copilot side panel content. Expected a consent request."),"isMicrosoftOwned");class pe{constructor(e){this.appSdkHost=e,this.telemetryScenario=void 0,this.linkedServiceStore=void 0,this.requiredPermissions=[]}withTelemetryScenario(e){return this.telemetryScenario=e,this}withServices(e){return void 0===e||(this.linkedServiceStore=Object.assign(Object.assign({},this.linkedServiceStore),e)),this}get linkedServices(){if(void 0===this.linkedServiceStore)throw new Error("No linked services. Please call withServices() before using the app function.");return this.linkedServiceStore}isAppAuthorizedToExecute(){return 0===this.requiredPermissions.length||this.requiredPermissions.some((e=>function(e,t){switch(e){case de:return!!(null==t?void 0:t.isMicrosoftOwned);case"isFullTrust":return!!(null==t?void 0:t.isFullTrust);case"isLOBApp":return!!(null==t?void 0:t.isLOB);default:throw new Error(`Unknown permission: ${e}`)}}(e,this.appSdkHost.getAppDefinition())))}}class fe extends pe{parsePropsFromApp(e){return{type:"success",value:e}}}var he=r(5041);class ge{constructor(e,t){this.appSdkHost=e,this.telemetryService=t,this.appFunctions=new Map,this.legacyMessageHandler=void 0,this.linkedServices=void 0,this.initializeAppFunctions()}registerAppFunction(e,t,r){var n;const i=null!==(n=null==r?void 0:r.scenarioName)&&void 0!==n?n:he.Fb[e];this.appFunctions.set(e,{createAppFunction:t,scenarioName:i})}handleMessage(e,t,r,i,o){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if((0,y.eZ)().disableNewMessageHandlingExperience&&this.legacyMessageHandler)return this.legacyMessageHandler.handleMessage(e,t,r,i,o);if(!this.canHandleMessage(t))return Promise.reject(`Handler cannot handle message: ${t}`);if(t!==k.tz.initialize&&!this.appSdkHost.isInitialized())return Promise.reject("SDK context is not initialized");const[n,...l]=r,c=this.appFunctions.get(t),u=this.createScenario(c.scenarioName,t,e,i,o),d=this.createAppFunction(c,u);try{if(!d.isAppAuthorizedToExecute())throw(0,s.jC)(v.O4.INTERNAL_ERROR,k.u);const e=d.parsePropsFromApp(l);if("failed"===e.type)throw(0,s.jC)(v.O4.INTERNAL_ERROR,e.error);const r=yield d.implementation(e.value);return u&&this.shouldTelemetryScenarioBeStopped(t,u)&&u.stop(),(0,s.PR)(function(e){return null!=(t=e)&&void 0!==t.serialize&&"function"==typeof t.serialize?e.serialize():e;var t}(r))}catch(e){const t=(0,s.oE)(e);if(this.appSdkHost.getLogger().log(a.$.Error,"handleMessage","Error in handling message",t),d.handleErrors){const r=(0,s.PR)(d.handleErrors(e));return null==u||u.fail(t),r}return null==u||u.fail(t),Promise.reject(e)}}))}createAppFunction(e,t){let r=new e.createAppFunction(this.appSdkHost).withServices(this.linkedServices);return t&&(r=r.withTelemetryScenario(t)),r}canHandleMessage(e){return(0,y.eZ)().disableNewMessageHandlingExperience&&this.legacyMessageHandler?this.legacyMessageHandler.canHandleMessage(e):this.appFunctions.has(e)}shouldTelemetryScenarioBeCreated(e,t){return!0}shouldTelemetryScenarioBeStopped(e,t){return!0}createScenario(e,t,r,n,i){var o;const a=null===(o=this.appSdkHost.getAppDefinition())||void 0===o?void 0:o.id;if(!this.shouldTelemetryScenarioBeCreated(t,a))return;const s=this.telemetryService.createScenario(e,a,null==n?void 0:n.value,r,null==n?void 0:n.type,i);return n&&s.markPhase("MessageDelay"),s}initHandlers(){}cleanup(){}}class me extends fe{implementation(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.linkedServices.copilotViewService.closeSidePanel(),{}}))}handleErrors(e){return(0,s.Sw)(e)}}var ve=r(6796);class ye extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.copilotCustomTelemetryService=r}initHandlers(){this.registerHandler(k.tz.copilot.customTelemetry.sendCustomTelemetryData,this.sendCustomTelemetryData,{errorCallback:(e,t)=>(0,s.eZ)(k.tz.copilot.customTelemetry.sendCustomTelemetryData,e,t)})}canHandleMessage(e){return super.canHandleMessage(e)&&(0,u.wr)(this.appDefinition)}validateDependencies(e){if(!this.copilotCustomTelemetryService)throw new Error("No copilotCustomTelemetryService provided")}sendCustomTelemetryData(e,t,r){var i;return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(!t||!1===(0,ve.A)(t))throw(0,s.jC)(v.O4.INVALID_ARGUMENTS,"UUID is not valid.");const e=new c.k(t);return yield null===(i=this.copilotCustomTelemetryService)||void 0===i?void 0:i.recordAppLoadingTelemetry(e,r),(0,s.PR)()}))}}var be=r(2524);const we="User cancelled/closed the task module.";class Se extends _.R{constructor(e,t,r,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.dialogService=r,this.hostVersionsInfo=n}initHandlers(){if(this.appSdkHost.getFrameContext()===M.E2.task&&!this.dialogService)throw new Error("DialogService needs to be provided for FrameContexts.task");this.registerHandler(k.tz.dialogs.submit,((e,t,r)=>(0,s.QY)(this.dialogService.urlService.submit,t,r))),this.appSdkHost.getFrameContext()===M.E2.task&&this.dialogService.urlService.parentCommunicationService.addEventListener("onMessageForChild",(e=>{var t;const r=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario("eventDispatch.onMessageForChild",void 0,void 0,"unknown");null==r||r.stop(),Array.isArray(e.data)||(e.data=[e.data]),this.appSdkHost.sendRequestMessage("messageForChild",e.data?e.data:[])})),this.registerHandler(k.tz.dialogs.open,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){if(t.card&&t.url)return(0,s.PR)(["Values for both card and url were specified. One or the other, but not both, are allowed."]);let e;if(t.card)return e=Object.assign(Object.assign({},t),{card:t.card,type:be.g.Card}),"completionBotId"in e?this.callDialogWithBotAndAdaptiveCard(e):this.callDialogWithCardService(e);if(t.url){const r=yield this.appSdkHost.getAppContext(),n=this.appSdkHost.getLogger();try{if(!(0,u.dA)(t.url,n,r,this.appDefinition))throw k.sh}catch(e){return n.log(a.$.Error,"DialogsMessageHandler",k.sh,null),(0,s.PR)([k.sh])}return e=Object.assign(Object.assign({},t),{url:t.url,type:be.g.Url}),"completionBotId"in e?this.callDialogWithUrlAndBotService(e):this.callDialogWithJustUrlService(e)}return(0,s.PR)(["You must specify a value for either card or url."])})))),this.registerHandler("messageForParent",((e,t)=>(0,s.QY)(this.dialogService.urlService.parentCommunicationService.messageForParent,t))),this.registerHandler("messageForChild",((e,t)=>(0,s.QY)(this.dialogService.urlService.parentCommunicationService.messageForChild,t)))}validateDependencies(){if(!this.dialogService)throw"No dialogService provided";if(this.dialogService.cardService&&(!this.hostVersionsInfo||!this.hostVersionsInfo.adaptiveCardSchemaVersion||(0,T.Hk)(this.hostVersionsInfo.adaptiveCardSchemaVersion)))throw`dialogService.cardService requires that the host specifies an adaptive card version of at least ${(0,T.Zn)()}`}callDialogWithBotAndAdaptiveCard(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{if(this.dialogService.cardService.cardBotService){const t=yield this.dialogService.cardService.cardBotService.open(e);return(0,s.PR)([null,t])}return(0,s.PR)(["Bot Adaptive Card based Dialogs are not supported"])}catch(e){return(0,s.PR)([we])}}))}callDialogWithCardService(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{if(this.dialogService.cardService){const t=yield this.dialogService.cardService.open(e);return(0,s.PR)([null,t])}return(0,s.PR)(["Adaptive Card based Dialogs are not supported"])}catch(e){return(0,s.PR)([we])}}))}callDialogWithUrlAndBotService(e){return this.dialogService.urlService.urlBotService?this.addRemoveEventListenerAndCreateSDKResponse(this.dialogService.urlService.urlBotService.open,e):(0,s.PR)(["Dialogs with completionBotId are not supported"])}callDialogWithJustUrlService(e){return this.addRemoveEventListenerAndCreateSDKResponse(this.dialogService.urlService.open,e)}addRemoveEventListenerAndCreateSDKResponse(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{this.dialogService.urlService.parentCommunicationService.clearListeners(),this.dialogService.urlService.parentCommunicationService.addEventListener("onMessageForParent",(e=>{var t;const r=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario("eventDispatch.onMessageForParent",void 0,void 0,"unknown");null==r||r.stop(),Array.isArray(e.data)||(e.data=[e.data]),this.appSdkHost.sendRequestMessage("messageForParent",e.data?e.data:[])}));const r=yield e(t);return(0,s.PR)([null,r])}catch(e){return(0,s.PR)([we])}finally{this.dialogService.urlService.parentCommunicationService.clearListeners()}}))}}class Ce extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.dialogUpdateService=r}initHandlers(){this.registerHandler(k.tz.dialogs.update.resize,((e,t)=>(0,s.QY)(this.dialogUpdateService.resize,t)))}validateDependencies(){if(!this.dialogUpdateService)throw"No dialogUpdateService provided"}}var Ae=r(8173),xe=r(9710);function ke(e,t=0){return!(t>1e3)&&(void 0===e||"boolean"==typeof e||"number"==typeof e||"bigint"==typeof e||"string"==typeof e||null===e||(Array.isArray(e)?e.every((e=>ke(e,t+1))):!("object"!=typeof e||"[object Object]"!==Object.prototype.toString.call(e)||Object.getPrototypeOf(e)!==Object.prototype&&null!==Object.getPrototypeOf(e))&&Object.keys(e).every((r=>ke(e[r],t+1)))))}var Ee=r(6555),_e=r(9202),Ie=r(9632);function Pe(e){return!!(function(e){return(null==e?void 0:e.errorCode)in v.he}(e)||function(e){return(null==e?void 0:e.errorCode)in Ee.nq}(e)||function(e){return(null==e?void 0:e.errorCode)in v.O4}(e)||function(e){return(null==e?void 0:e.errorCode)in Ae.m_}(e)||function(e){return e instanceof Ie.F}(e)||e instanceof _e.H)}class Te{constructor(e,t){this.telemetryService=e,this.logger=t}createTelemetryScenario(e){return this.telemetryService.createScenario(e)}executeCapabilityFunction(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const r=this.createTelemetryScenario(he.Fb[e.sdkMessageName]);try{const n=yield e.execute(t,r);return r.stop(),n}catch(t){this.logger.log(a.$.Error,`Error executing ${e.sdkMessageName}`,t),e.errorHandler&&(t=yield e.errorHandler(t,r));const n=Pe(t)?(0,s.oE)(t):s.UR.message;return r.fail(`${e.sdkMessageName} Api failed ${n}`),Promise.reject(t)}}))}}class Be extends Te{constructor(e,t,r,i,o,l,c,d){super(o,l),this.appSdkHost=e,this.authenticationService=t,this.externalAppInfoService=r,this.externalAppChannelService=i,this.telemetryService=o,this.logger=l,this.ssoTokenGetter=c,this.TAG="ExternalAppAuthenticationBaseExecutor",this.externalAppAuthenticationOAuthExecutorHelper=(e,t,r,i)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=r.appId.toString();this.updateTelemetryScenario(i,r,n),this.validateAuthHandlerInput(n,"conversationId"in r?r.conversationId:void 0,"originalRequestInfo"in r?r.originalRequestInfo:void 0);const o=yield this.fetchAndValidateAppDefinition(e,n),a=yield this.createAppSdkContext();return this.executeOAuthFlow(t,r,i,o,a)})),this.externalAppAuthenticationSSOExecutorHelper=(e,t,r,i)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=t.appId.toString();i.addOrUpdateActivityDataField(k._P.requestedForAppID,n),this.validateAuthHandlerInput(n,"conversationId"in t?t.conversationId:void 0,"originalRequestInfo"in t?t.originalRequestInfo:void 0);const o=yield this.getSSOToken(e,n,r,origin,t.claims,t.silent);if(i.markPhase("InvokeToExternalAppAuthTokenAcquired"),e===k.kv.CEA){const e=t.authId,r=t.connectionName;if(e&&r)return{type:Ae.cG.SSOBotToken,token:o,authId:e,connectionName:r}}return{type:Ae.cG.SSOToken,token:o}})),this.getSSOToken=(e,t,r,i,o,l)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=yield this.getAppDefinition(t);this.validateAppDefinition(n,e,r);const c=yield this.appSdkHost.getContext(),d=yield(0,u.u6)(i,void 0,this.appSdkHost.getHubInfo(),n,c,!0,r);if(!d||0===d.length)throw(0,s.f3)("Validated resources must contain at least one item.");const p=yield this.ssoTokenGetter(d[0],o,l);return this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`AcquireToken returned successfully, authToken is ${null!==p?"not ":""} null`),p})),this.getAppDefinition=e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var t,r;if(!(yield null===(t=this.externalAppInfoService)||void 0===t?void 0:t.isAppAllowed(e)))throw(0,s.f3)(`App with ID: ${e} has been blocked`);const n=yield null===(r=this.externalAppInfoService)||void 0===r?void 0:r.getAppDefinition(e);if(!n)throw(0,s.f3)(`Unable to retrieve AppDefinition for ${e}`);return n})),this.validateAppDefinition=(e,t,r)=>{"ME"===t?this.validateAppDefinitionForME(e,r):"CEA"===t&&this.validateAppDefinitionForCEA(e)},this.validateAppDefinitionForCEA=e=>{if(!(0,u.cZ)(e))throw(0,s.f3)("customEngineAgents field is not defined in external AppDefinition");try{(0,u.g)(e)}catch(e){throw(0,s.f3)(e)}},this.validateAppDefinitionForME=(e,t)=>{if(!(0,u.ZJ)(e))throw(0,s.f3)("composeExtension field is not defined in external AppDefinition");if(t){if(!(0,u.tZ)(e))throw(0,s.f3)("AppDefinition composeExtension.type field must be bot-based");try{(0,u.Po)(e)}catch(e){throw console.log("the thrown error is ",e),(0,s.f3)(e)}}},this.validateAuthHandlerInput=(e,t,r)=>{(0,xe.zW)(e,(0,s.f3)("App ID is not valid.")),t&&(0,xe.zW)(t,(0,s.f3)("Conversation ID is not valid.")),(null==r?void 0:r.requestType)===Ae.FH.QueryMessageExtensionRequest?this.validateQueryMessageExtensionRequest(r):(null==r?void 0:r.requestType)===Ae.FH.ActionExecuteInvokeRequest&&this.validateActionExecuteInvokeRequest(r)},this.validateInvokeResponse=e=>{e.responseType===Ae.ci.QueryMessageExtensionResponse&&(this.validateSuggestedActionsForResultOrMessage(e),this.validateQueryMessageExtensionCard(e),this.validateSuggestedActionsForConfigOrAuth(e),this.validateTextForMessageType(e)),e.responseType===Ae.ci.ActionExecuteInvokeResponse&&this.validateValue(e)},this.validateValue=e=>{if(!ke(e.value))throw(0,s.f3)("ActionExecuteInvokeResponse.value should be a primitive or plain object")},this.validateQueryMessageExtensionCard=e=>{const{composeExtension:t}=e,r=null==t?void 0:t.attachments;r&&r.forEach((e=>{var t;if(!ke(e.content))throw(0,s.f3)("QueryMessageExtensionCard.content should be a primitive or plain object");if(!ke(null===(t=e.preview)||void 0===t?void 0:t.content))throw(0,s.f3)("QueryMessageExtensionCard.preview.content should be a primitive or plain object")}))},this.validateSuggestedActionsForResultOrMessage=e=>{const{composeExtension:t}=e;if(("result"===(null==t?void 0:t.type)||"message"===(null==t?void 0:t.type))&&(null==t?void 0:t.suggestedActions))throw(0,s.f3)("ComposeExtensionResponse.SuggestedActions should be undefined when the composeExtension.type is 'result' or 'message'")},this.validateSuggestedActionsForConfigOrAuth=e=>{const{composeExtension:t}=e;if(("config"===(null==t?void 0:t.type)||"auth"===(null==t?void 0:t.type))&&!(null==t?void 0:t.suggestedActions))throw(0,s.f3)("ComposeExtensionResponse.SuggestedActions should be defined when the composeExtension.type is 'config' or 'auth'")},this.validateTextForMessageType=e=>{const{composeExtension:t}=e;if("message"===(null==t?void 0:t.type)&&!(null==t?void 0:t.text))throw(0,s.f3)("ComposeExtensionResponse.text should be defined when the composeExtension.type is 'message'")},this.hostedWebContentAuthSdkServiceFactory=null!=d?d:(e,t,r,n,i,o,a,s)=>new z.I(e,t,r,n,i,o,a,s)}updateTelemetryScenario(e,t,r){e.addOrUpdateActivityDataField(k._P.isExternal,t.isExternal?"true":"false"),e.addOrUpdateActivityDataField(k._P.requestedForAppID,r)}fetchAndValidateAppDefinition(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.getAppDefinition(t);return this.validateAppDefinition(r,e,!0),r}))}createAppSdkContext(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.appSdkHost.getContext();return{app:{locale:e.app.locale,theme:e.app.theme,launchId:(0,R.A)(),sessionId:(0,R.A)(),host:e.app.host,userClickTime:Date.now(),userClickTimeV2:(0,F.So)()},page:{id:(0,R.A)(),frameContext:M.E2.authentication},user:{dataResidency:e.user.dataResidency}}}))}executeOAuthFlow(e,t,r,n,i){return new Promise(((o,a)=>{const s={onSuccess:e=>o(e),onFailure:e=>a(e)},l=this.createWindowAuthenticationService(t,r,e,s);this.startOAuthHostedService(t,n,l,i)}))}createWindowAuthenticationService(e,t,r,i){return{getUser:()=>this.authenticationService.getUser(),acquireToken:(e,t,r)=>this.authenticationService.acquireToken(e,t,r),notifySuccess:o=>(0,n.__awaiter)(this,void 0,void 0,(function*(){yield r(o,e.appId,t,i,"originalRequestInfo"in e?e.originalRequestInfo:void 0,"conversationId"in e?e.conversationId:void 0)})),notifyFailure:e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){i.onFailure(e)})),externalAuthRedirectUrl:this.authenticationService.externalAuthRedirectUrl,externalAuthService:this.authenticationService.externalAuthService,addEventListener:()=>{},clearListeners:()=>{}}}startOAuthHostedService(e,t,r,n){const i="string"==typeof e.url?e.url:e.url.href;this.hostedWebContentAuthSdkServiceFactory(this.appSdkHost.getHostWindow(),{url:i,width:e.width,height:e.height},t,r,n,this.appSdkHost.getLogger(),void 0,e.isExternal)}validateQueryMessageExtensionRequest(e){this.validateQueryMECommandId(e),this.validateQueryMEParametersSize(e),this.validateQueryMEParametersContent(e)}validateQueryMECommandId(e){if(e.commandId.length>64)throw(0,s.f3)("originalRequestInfo.commandId has exceeded the character limit of 64")}validateQueryMEParametersSize(e){if(e.parameters.length>5)throw(0,s.f3)("originalRequestInfo.parameters have exceeded the size limit of 5")}validateQueryMEParametersContent(e){for(const t of e.parameters)this.validateParameterName(t.name),this.validateParameterValue(t.value)}validateParameterName(e){if(e.length>64)throw(0,s.f3)("originalRequestInfo.parameters.Name exceeds the maximum size of 64 characters")}validateParameterValue(e){if(e.length>512)throw(0,s.f3)("originalRequestInfo.parameters.Value exceeds the maximum size of 512 characters")}validateActionExecuteInvokeRequest(e){if(e.type!==Ae.Xg)throw(0,s.f3)(`originalRequestInfo.type can only be ${Ae.Xg}`)}}const De=k.kv.CEA;class Ne extends Be{constructor(e,t,r,i,o,s,l,c){super(e,t,i,o,s,l,r.acquireToken,c),this.appSdkHost=e,this.authenticationService=t,this.botAuthenticationService=r,this.externalAppInfoService=i,this.IExternalAppChannelForCEAService=o,this.telemetryService=s,this.logger=l,this.TAG="ExternalAppAuthenticationForCEAExecutor",this.notifySuccessHelper=(e,t,r,i,o,s)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const n={type:Ae.cG.OAuthCode,secret_code:e};this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,"notifySuccess func"),r.markPhase("InvokeToExternalAppAuthTokenAcquired");try{if(o){const e=yield this.IExternalAppChannelForCEAService.sendAuthResultWithOriginalRequestToBot(t,s,o,n);this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,"IExternalAppChannelForCEAService.sendAuthResultWithOriginalRequestToBot: sent authResult to bot"),this.validateInvokeResponse(e),i.onSuccess(e)}else yield this.IExternalAppChannelForCEAService.sendAuthResultToBot(t,s,n),this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,"IExternalAppChannelForCEAService.sendAuthResultToBot: sent authResult to bot"),i.onSuccess()}catch(e){i.onFailure(e)}})),this.authenticateAndResendRequestExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.externalAppAuthenticationOAuthExecutorHelper(De,this.notifySuccessHelper,e,t)})),sdkMessageName:k.tz.externalAppAuthenticationForCEA.authenticateAndResendRequest},this.authenticateWithOauthExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.externalAppAuthenticationOAuthExecutorHelper(De,this.notifySuccessHelper,e,t)})),sdkMessageName:k.tz.externalAppAuthenticationForCEA.authenticateWithOauth},this.authenticateWithSSOExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.externalAppAuthenticationSSOExecutorHelper(De,e,!0,t);yield this.IExternalAppChannelForCEAService.sendAuthResultToBot(e.appId,e.conversationId,r),this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,"IExternalAppChannelForCEAService.sendAuthResultToBot: sent authResult to bot")})),sdkMessageName:k.tz.externalAppAuthenticationForCEA.authenticateWithSSO},this.authenticateWithSSOAndResendRequestExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.externalAppAuthenticationSSOExecutorHelper(De,e,!0,t),n=yield this.IExternalAppChannelForCEAService.sendAuthResultWithOriginalRequestToBot(e.appId,e.conversationId,e.originalRequestInfo,r);return this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,"IExternalAppChannelForCEAService.sendAuthResultWithOriginalRequestToBot: sent authResult to bot"),this.validateInvokeResponse(n),n})),sdkMessageName:k.tz.externalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest}}authenticateAndResendRequest(e,t,r,n,i,o,a){return this.executeCapabilityFunction(this.authenticateAndResendRequestExecutor,{appId:e,conversationId:t,originalRequestInfo:r,url:n,width:o,height:a,isExternal:i})}authenticateWithSSOInternal(e,t,r,n,i,o,a){return this.executeCapabilityFunction(this.authenticateWithSSOExecutor,{appId:e,conversationId:t,origin:r,authId:n,connectionName:i,claims:o,silent:a})}authenticateWithSSO(e,t,r,n,i,o){var a;return this.authenticateWithSSOInternal(e,t,(null===(a=this.appSdkHost.getHostWindow())||void 0===a?void 0:a.location.href)||"",r,n,i,o)}authenticateWithOauth(e,t,r,n,i,o){return this.executeCapabilityFunction(this.authenticateWithOauthExecutor,{appId:e,conversationId:t,url:r,width:i,height:o,isExternal:n})}authenticateWithSSOAndResendRequestInternal(e,t,r,n,i,o,a,s){return this.executeCapabilityFunction(this.authenticateWithSSOAndResendRequestExecutor,{appId:e,conversationId:t,originalRequestInfo:r,authId:i,connectionName:o,origin:n,claims:a,silent:s})}authenticateWithSSOAndResendRequest(e,t,r,n,i,o,a){var s;return this.authenticateWithSSOAndResendRequestInternal(e,t,r,(null===(s=this.appSdkHost.getHostWindow())||void 0===s?void 0:s.location.href)||"",n,i,o,a)}}var Re=r(5097);const Oe={dependentHubServiceSelector:e=>e.authenticationService&&e.externalAppInfoService&&e.externalAppChannelForCEAService&&e.botAuthenticationService?{authenticationService:e.authenticationService,externalAppInfoService:e.externalAppInfoService,externalAppChannelForCEAService:e.externalAppChannelForCEAService,botAuthenticationService:e.botAuthenticationService}:void 0,messageHandlerFactory:(e,t,r)=>new ze(e,new Ne(e,t.authenticationService,t.botAuthenticationService,t.externalAppInfoService,t.externalAppChannelForCEAService,r,e.getLogger()),r)};class ze extends _.R{constructor(e,t,r){super(e,r),this.appSdkHost=e,this.externalAppAuthenticationForCEAExecutor=t,this.TAG="ExternalAppAuthenticationForCEAMessageHandler",this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(k.tz.externalAppAuthenticationForCEA.authenticateAndResendRequest,this.handleAuthenticateAndResendRequest,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(k.tz.externalAppAuthenticationForCEA.authenticateWithSSO,this.handleCEAAuthenticateWithSSO,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(k.tz.externalAppAuthenticationForCEA.authenticateWithOauth,this.handleCEAAuthenticateWithOauth,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(k.tz.externalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest,this.handleAuthenticateWithSSOAndResendRequest,{errorCallback:e=>this.onAuthenticateError(e)})}canHandleMessage(e){return super.canHandleMessage(e)&&(0,u.wr)(this.appDefinition)}handleAuthenticateAndResendRequest(e,t,r,i,o,a,l,c){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=(0,M.Yj)(e.data);try{const e=yield this.externalAppAuthenticationForCEAExecutor.authenticateAndResendRequest(new Re.l(t),r,i,new URL(o),null!=c&&c,a,l);this.postResponseToAppAndLog("notifySuccess func",n,[e])}catch(e){this.postResponseToAppAndLog("AuthenticateAndResendRequest",n,[(0,s.f3)(e)])}return s.f1}))}handleCEAAuthenticateWithSSO(e,t,r,i,o,a,l){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.externalAppAuthenticationForCEAExecutor.authenticateWithSSOInternal(new Re.l(t),r,e.origin,i,o,a,l),(0,s.PR)()}))}handleCEAAuthenticateWithOauth(e,t,r,i,o,a,l){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.externalAppAuthenticationForCEAExecutor.authenticateWithOauth(new Re.l(t),r,new URL(i),null!=l&&l,o,a),(0,s.PR)()}))}handleAuthenticateWithSSOAndResendRequest(e,t,r,i,o,a,l,c){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=yield this.externalAppAuthenticationForCEAExecutor.authenticateWithSSOAndResendRequestInternal(new Re.l(t),r,i,e.origin,o,a,l,c);return(0,s.PR)([n])}))}postResponseToAppAndLog(e,t,r){return(0,n.__awaiter)(this,void 0,void 0,(function*(){this.appSdkHost.postResponseToApp(t,r);const n=(0,s.sC)(t);this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`${e}: ${n}`)}))}onAuthenticateError(e){const t=(0,s.f3)(e);return(0,s.PR)([t])}}var Me=r(4788);class Fe{constructor(e,t){this.origin=e;const r="https://";if((0,u.NJ)([this.origin.substring(8)]).length>0)throw new Error(`Please make sure the origin: ${this.origin} is valid. For example: "https://*.*.example.com" is valid, but 'https://foo.*.example.com' is not valid.`);const n=this.origin.startsWith(r)?this.origin.replaceAll("*","x"):r+this.origin.replaceAll("*","x");try{const e=new URL(n);if(!this.origin.startsWith(r)){const r=`Please make sure the origin: ${e.hostname} has a valid https protocol.`;console.warn(r),null==t||t.markWarnMessage(`WARN: ${r}`)}}catch(e){throw new Error(`Please make sure the origin: ${this.origin} is a valid URL. Error: ${e}`)}}getOrigin(){return this.origin}}class Le{constructor(e,t){this.blockedOrigins=[...e||[]],this.appInitScenario=t}isOriginBlockedImpl(e,t=[],r=!1){for(const n of t){try{new Fe(n,this.appInitScenario)}catch(e){return{isOriginValid:!1,message:e.message}}for(const t of this.blockedOrigins){if(!r&&e&&n===t[0].getOrigin()&&t[1]&&!Array.from(t[1]).find((t=>t.toString()===e.toString())))return{isOriginValid:!1,message:`Current app is not allowed to load the origin: ${n}.`};if(r&&n===t[0].getOrigin())return{isOriginValid:!1,message:`Current app is not allowed to load the origin: ${n}.`}}}return{isOriginValid:!0}}isOriginBlocked(e,t=[]){return this.isOriginBlockedImpl(e,t,!1)}isOriginBlockedExternal(e=[]){return this.isOriginBlockedImpl("",e,!0)}}function je(e){return e.uuid?e:(0,M.Yj)(e)}class Ve{constructor(e,t,r,n){this.hostWindow=e,this.openWindowInfo=t,this.notificationService=r,this.context=n,this.onExternalAuthenticationComplete=(e,t)=>{e?this.notificationService.notifySuccess(t):this.notificationService.notifyFailure(t)}}isWindowOpen(){return!!this.authWindow&&!this.authWindow.closed}closeWindow(){var e;this.globalWindowEventListener&&this.globalWindowEventListener.removeListener("message"),null===(e=this.authWindow)||void 0===e||e.close()}sendRequestMessage(e,t){if(this.origin){const r={func:e,args:t,monotonicTimestamp:(0,F.So)()};this.postMessage(r)}}launchAuthWindow(){var e,t;try{if(void 0===this.onAuthMessageReceived)throw Error("onAuthMessageReceived is undefined");const e=(0,Ie.v)(this.openWindowInfo);this.context.app.host.clientType===M.WK.desktop&&this.notificationService.externalAuthService?this.authWindow=this.notificationService.externalAuthService.openUrlInEmbeddedBrowser(new URL(this.openWindowInfo.url),e):this.authWindow=this.hostWindow.open(this.openWindowInfo.url,"appAuthWindow",e),this.authWindow?this.setupAuthWindowListener(this.openWindowInfo.url,this.hostWindow):this.notificationService.notifyFailure("Auth window reference undefined",Me.Q.AuthWindowReferenceUndefined)}catch(r){if(null!==this.authWindow)null===(e=this.notificationService)||void 0===e||e.notifyFailure(`openUrlInEmbeddedBrowser threw an error but still returned a non-null window object? Forcing window object to null. Error = ${r}`,Me.Q.Other),this.authWindow=null;else{const e=r instanceof Error?`${r.message}`:"Error launching AuthWindow";null===(t=this.notificationService)||void 0===t||t.notifyFailure(e,Me.Q.Other)}}}postResponseToApp(e,t){this.sendResponseMessage(e,t)}stopAuthWindowMonitor(){this.authWindowMonitor&&(this.hostWindow.clearInterval(this.authWindowMonitor),this.authWindowMonitor=void 0)}launchExternalAuthenticationWorkflow(e){const t=O.nc.startNewExternalAuthSession(e,this.onExternalAuthenticationComplete,this.notificationService.externalAuthRedirectUrl);try{this.notificationService.externalAuthService?this.notificationService.externalAuthService.openUrlInExternalBrowser(t):this.hostWindow.open(t)}catch(e){throw new Ie.F("Failed to open the URL in external browser",Me.Q.Other)}}shouldUseExternalAuthenticationWorkflow(e,t){return e===M.WK.desktop&&!0===t}setupAuthWindowListener(e,t){this.origin=e,this.globalWindowEventListener=new o.J(t),this.globalWindowEventListener.addListener("message",this.onAuthMessageReceived),this.startAuthWindowMonitor()}sendResponseMessage(e,t){var r;if(this.origin){const n=je(e),i={id:n.id,uuidAsString:null===(r=n.uuid)||void 0===r?void 0:r.toString(),args:t,origin:this.origin,monotonicTimestamp:(0,F.So)()};this.postMessage(i)}}startAuthWindowMonitor(){this.stopAuthWindowMonitor(),this.authWindowMonitor=this.hostWindow.setInterval((()=>{this.authWindowInterval()}),2e3)}authWindowInterval(){this.isWindowOpen()?this.sendRequestMessage("ping"):(this.notificationService.notifyFailure("CancelledByUser",Me.Q.CancelledByUser),this.closeWindow(),this.stopAuthWindowMonitor())}postMessage(e){var t;this.origin&&(null===(t=this.authWindow)||void 0===t||t.postMessage(e,this.origin))}isValidOriginBlocked(e){const t=new Le([]),r=e.args&&e.args.length>2&&null!=e.args[2]?[e.args[2]]:[];return t.isOriginBlockedExternal(r)}}class He extends Ve{constructor(e,t,r,i,o,s){super(e,t,r,i),this.hostWindow=e,this.openWindowInfo=t,this.notificationService=r,this.context=i,this.logger=o,this.redirectOrigin=s,this.onAuthMessageReceived=e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var t,r;if(!this.authWindow||this.authWindow!==e.source)return void this.logger.log(a.$.Error,"HostedWebContentExternalOauthService","Auth window is not valid");const n=e.origin;n!==this.origin&&n.toLocaleLowerCase()===this.redirectOrigin.toLocaleLowerCase()&&(this.origin=e.origin);const i=e.data,o=(0,M.Yj)(i);if(this.origin===n&&this.notificationService)if(o.func===k.tz.initialize){const e=this.isValidOriginBlocked(o);if(e.isOriginValid)return this.postResponseToApp(o,[M.E2.authentication,M.WK]);this.notificationService.notifyFailure(e.message,Me.Q.InvalidAuthUrl),this.stopAuthWindowMonitor(),this.closeWindow()}else if("authentication.authenticate.success"===o.func)this.notificationService.notifySuccess((null===(t=o.args)||void 0===t?void 0:t[0])?String(o.args[0]):""),this.stopAuthWindowMonitor(),this.closeWindow();else if("authentication.authenticate.failure"===o.func){const e=(null===(r=o.args)||void 0===r?void 0:r[0])?String(o.args[0]):"Token storage failed";this.notificationService.notifyFailure(e),this.stopAuthWindowMonitor(),this.closeWindow()}}))}}const qe="HostedWebContentPPCAuthService";class Ue extends Ve{constructor(e,t,r,i,o,s,l){super(e,t,r,i),this.hostWindow=e,this.openWindowInfo=t,this.notificationService=r,this.context=i,this.logger=o,this.validDomains=s,this.runInExternalBrowser=l,this.onAuthMessageReceived=e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var t;if(this.authWindow&&this.authWindow===e.source)try{const r=e.origin;r!==this.origin&&(0,u.F6)(new URL(r),this.validDomains,this.logger)&&(this.origin=e.origin);const n=e.data;if(this.origin===r&&this.notificationService)if(n.func===k.tz.initialize){const e=this.isValidOriginBlocked(n);if(e.isOriginValid)return this.postResponseToApp(n,[M.E2.authentication,M.WK]);this.notificationService.notifyFailure(e.message),this.stopAuthWindowMonitor(),this.closeWindow()}else if("authentication.authenticate.success"===n.func)this.notificationService.notifySuccess(""),this.stopAuthWindowMonitor(),this.closeWindow();else if("authentication.authenticate.failure"===n.func){const e=(null===(t=n.args)||void 0===t?void 0:t[0])?String(n.args[0]):"Token storage failed";this.notificationService.notifyFailure(e),this.stopAuthWindowMonitor(),this.closeWindow()}}catch(e){this.logger.log(a.$.Error,qe,"Error in onAuthMessageReceived",e),this.notificationService.notifyFailure(e.message)}else this.logger.log(a.$.Error,qe,"Auth window is not valid")}))}launchAuthWindow(){var e;try{const e=(0,Ie.v)(this.openWindowInfo);this.shouldUseExternalAuthenticationWorkflow(this.context.app.host.clientType,this.runInExternalBrowser)?this.launchExternalAuthenticationWorkflow(this.openWindowInfo.url):(this.authWindow&&!this.authWindow.closed&&this.authWindow.close(),this.context.app.host.clientType===M.WK.desktop&&this.notificationService.externalAuthService?this.authWindow=this.notificationService.externalAuthService.openUrlInEmbeddedBrowser(new URL(this.openWindowInfo.url),e):this.authWindow=this.hostWindow.open(this.openWindowInfo.url,"appAuthWindow",e),this.authWindow?this.setupAuthWindowListener(this.openWindowInfo.url,this.hostWindow):this.notificationService.notifyFailure("Auth window reference undefined"))}catch(t){const r=t instanceof Error?`${t.message}`:"Error launching AuthWindow";null===(e=this.notificationService)||void 0===e||e.notifyFailure(r)}}}var $e;!function(e){e.BizChat="BizChat",e.AppChat="AppChat",e.TeamsMeetingCopilot="TeamsMeetingCopilot",e.OneCopilotMobile="OneCopilotMobile"}($e||($e={}));const We=k.kv.ME;class Ge extends Be{constructor(e,t,r,i,o,l,c,u,d,p){super(e,t,r,i,l,c,t.acquireToken,u),this.appSdkHost=e,this.authenticationService=t,this.externalAppInfoService=r,this.externalAppChannelService=i,this.signInUrlInfoServiceProvider=o,this.telemetryService=l,this.logger=c,this.TAG="ExternalAppAuthenticationExecutor",this.notifySuccessHelper=(e,t,r,i,o)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const n={type:Ae.cG.OAuthCode,secret_code:e};this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,"notifySuccess func"),r.markPhase("InvokeToExternalAppAuthTokenAcquired");try{const e=yield this.externalAppChannelService.sendRequestWithAuth(t,o,n);this.validateInvokeResponse(e),i.onSuccess(e)}catch(e){i.onFailure(e)}})),this.authenticateAndResendRequestExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.externalAppAuthenticationOAuthExecutorHelper(We,this.notifySuccessHelper,e,t)})),sdkMessageName:k.tz.externalAppAuthentication.authenticateAndResendRequest},this.authenticateWithSSOExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){yield this.externalAppAuthenticationSSOExecutorHelper(We,e,!1,t)})),sdkMessageName:k.tz.externalAppAuthentication.authenticateWithSSO},this.authenticateWithSSOAndResendRequestExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.externalAppAuthenticationSSOExecutorHelper(We,e,!0,t),n=yield this.externalAppChannelService.sendRequestWithAuth(e.appId,e.originalRequestInfo,r);return this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,"externalAppChannelService.sendRequestWithAuth: sent authResult to bot"),this.validateInvokeResponse(n),n})),sdkMessageName:k.tz.externalAppAuthentication.authenticateWithSSOAndResendRequest},this.authenticateWithOauth2Executor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var r,i;t.addOrUpdateActivityDataField(k._P.requestedForAppID,e.titleId),t.addOrUpdateActivityDataField(k._P.oauthConfigId,e.oAuthConfigId),e.copilotHost&&t.addOrUpdateActivityDataField(k._P.copilotHost,e.copilotHost),(0,xe.zW)(e.titleId,(0,s.f3)("titleId is not valid."));const o=null===(r=e.oAuthConfigId)||void 0===r?void 0:r.trim();if(!o)throw(0,s.f3)("No oAuthConfigId is provided. Request cannot be completed");const l=new Map;l.set("authConfigId",o),t.markPhase("InvokeToAcquireSignInUrl");const c=yield this.getSignInUrlInfoResponse(e.titleId,l);if(!c)throw(0,s.f3)("No response is provided by the service. Request cannot be completed");const u=null!==(i=c.signInUrl)&&void 0!==i?i:"";let d;try{d=decodeURIComponent(u)}catch(e){throw(0,s.f3)("Invalid sign-in URL. Decoding failed.")}if(!this.isValidOauthUrl(d))throw(0,s.f3)("Invalid signIn URL. Request cannot be completed");const p=this.getUrlParameters(new URL(d),"redirect_uri");if(!p)throw(0,s.f3)("Redirect URI is missing or invalid.");const f=new URL(p).origin;return new Promise(((r,i)=>{var l,c;const u={onSuccess:()=>r(),onFailure:e=>i(e)},p={getUser:()=>Promise.reject(void 0),acquireToken:()=>Promise.reject(void 0),notifySuccess:r=>(0,n.__awaiter)(this,void 0,void 0,(function*(){yield this.activateOauth2TokenAfterSuccessIsReceived(e.titleId,o,r,t,u)})),notifyFailure:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){if(t)this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`Oauth notifyFailure func: ${e}`),i((0,s.f3)(t+" : "+e));else{const t="Internal error occurred while acquiring or storing token";this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`Oauth notifyFailure func: ${null!=e?e:t}`),i(null!=e?e:t)}})),externalAuthRedirectUrl:void 0,addEventListener:()=>{},clearListeners:()=>{},externalAuthService:this.authenticationService.externalAuthService},h={app:{locale:this.appSdkHost.getContext().app.locale,theme:this.appSdkHost.getContext().app.theme,launchId:(0,R.A)(),sessionId:(0,R.A)(),host:this.appSdkHost.getContext().app.host,userClickTime:Date.now(),userClickTimeV2:(0,F.So)()},page:{id:(0,R.A)(),frameContext:M.E2.authentication},user:{dataResidency:this.appSdkHost.getContext().user.dataResidency}},g=this.hostedWebContentExternalOauthServiceFactory(this.appSdkHost.getHostWindow(),{url:d,width:null===(l=e.windowParameters)||void 0===l?void 0:l.width,height:null===(c=e.windowParameters)||void 0===c?void 0:c.height},p,h,this.appSdkHost.getLogger(),f);t.markPhase("AcquireSignInToOpenAuthWindow"),g.launchAuthWindow()}))})),sdkMessageName:k.tz.externalAppAuthentication.authenticateWithOauth2},this.authenticateWithPPCExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var r,i;t.addOrUpdateActivityDataField(k._P.requestedForAppID,e.titleId),(0,xe.zW)(e.titleId,(0,s.f3)("titleId is not valid."));const o=yield this.getSignInUrlInfoResponse(e.titleId);if(!o)throw(0,s.f3)("No response is provided by the service. Request cannot be completed");const l=null!==(i=null!==(r=e.signInUrl)&&void 0!==r?r:o.signInUrl)&&void 0!==i?i:"",c=null==o?void 0:o.validDomains;if(void 0===c||0===c.length)throw(0,s.f3)("No valid domains are provided by the service. Request cannot be completed");const u=c.map((e=>e.toLocaleLowerCase())),d=decodeURIComponent(l);if(!this.isValidPPCUrl(d,u))throw(0,s.f3)("Invalid authentication url. Request cannot be completed");return new Promise(((t,r)=>{const i={getUser:()=>Promise.reject(void 0),acquireToken:()=>Promise.reject(void 0),notifySuccess:()=>(0,n.__awaiter)(this,void 0,void 0,(function*(){this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,"notifySuccess func"),t()})),notifyFailure:e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const t="Internal error occurred while acquiring or storing token";this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`Oauth notifyFailure func: ${null!=e?e:t}`),r(null!=e?e:t)})),externalAuthRedirectUrl:this.authenticationService.externalAuthRedirectUrl,externalAuthService:this.authenticationService.externalAuthService,addEventListener:()=>{},clearListeners:()=>{}},o={app:{locale:this.appSdkHost.getContext().app.locale,theme:this.appSdkHost.getContext().app.theme,launchId:(0,R.A)(),sessionId:(0,R.A)(),host:this.appSdkHost.getContext().app.host,userClickTime:Date.now(),userClickTimeV2:(0,F.So)()},page:{id:(0,R.A)(),frameContext:M.E2.authentication},user:{dataResidency:this.appSdkHost.getContext().user.dataResidency}};this.hostedWebContentPPCAuthServiceFactory(this.appSdkHost.getHostWindow(),{url:d,width:e.width,height:e.height},i,o,this.appSdkHost.getLogger(),u,e.isExternal).launchAuthWindow()}))})),sdkMessageName:k.tz.externalAppAuthentication.authenticateWithPowerPlatformConnectorPlugins},this.getSignInUrlInfoResponse=(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.oauth2Service||(yield this.constructOauth2Service()),this.oauth2Service?yield this.oauth2Service.getSignInUrlInfo(e,t):{}})),this.callActivateOauth2Token=(e,t,r)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){if(this.oauth2Service||(yield this.constructOauth2Service()),!this.oauth2Service)throw(0,s.f3)("No service is provided to activate Oauth2 token");yield this.oauth2Service.activateOauth2Token(e,t,r)})),this.activateOauth2TokenAfterSuccessIsReceived=(e,t,r,i,o)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,"activateOauth2TokenAfterSuccessIsReceived func"),i.markPhase("OpenAuthWindowToActivateToken");try{if(!r)throw(0,s.f3)("No auth code is provided. Activate Oauth Token failed.");yield this.callActivateOauth2Token(e,t,r),this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,"activateOauth2TokenAfterSuccessIsReceived func success"),i.markPhase("ActivateTokenToReportSuccess"),o.onSuccess()}catch(e){this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,"activateOauth2TokenAfterSuccessIsReceived func failed"),o.onFailure(null!=e?e:(0,s.f3)("Token activation failed"))}})),this.hostedWebContentExternalOauthServiceFactory=null!=d?d:(e,t,r,n,i,o)=>new He(e,t,r,n,i,o),this.hostedWebContentPPCAuthServiceFactory=null!=p?p:(e,t,r,n,i,o,a)=>new Ue(e,t,r,n,i,o,a)}authenticateAndResendRequest(e,t,r,n,i,o){const a="string"==typeof r?r:r.href;return this.executeCapabilityFunction(this.authenticateAndResendRequestExecutor,{appId:e,originalRequestInfo:t,url:a,width:i,height:o,isExternal:n})}authenticateWithSSOInternal(e,t,r,n){return this.executeCapabilityFunction(this.authenticateWithSSOExecutor,{appId:e,origin:t,claims:r,silent:n})}authenticateWithSSO(e,t,r){var n;return this.authenticateWithSSOInternal(e,(null===(n=this.appSdkHost.getHostWindow())||void 0===n?void 0:n.location.href)||"",t,r)}authenticateWithSSOAndResendRequestInternal(e,t,r,n,i){return this.executeCapabilityFunction(this.authenticateWithSSOAndResendRequestExecutor,{appId:e,originalRequestInfo:t,origin:r,claims:n,silent:i})}authenticateWithSSOAndResendRequest(e,t,r,n){var i;return this.authenticateWithSSOAndResendRequestInternal(e,t,(null===(i=this.appSdkHost.getHostWindow())||void 0===i?void 0:i.location.href)||"",r,n)}authenticateWithOauth2(e,t,r,i,o){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n={titleId:e,oAuthConfigId:t,windowParameters:{width:r,height:i,isExternal:o},copilotHost:$e.AppChat};return this.authenticateWithAgent(n)}))}authenticateWithAgent(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.executeCapabilityFunction(this.authenticateWithOauth2Executor,e)}))}authenticateWithPPC(e,t,r,i,o){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.executeCapabilityFunction(this.authenticateWithPPCExecutor,{titleId:e,signInUrl:t,width:r,height:i,isExternal:o})}))}constructOauth2Service(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(!this.signInUrlInfoServiceProvider)throw(0,s.f3)("No service is provided to retrieve signInUrl");this.isExternalAppOauth2Service(this.signInUrlInfoServiceProvider)?this.oauth2Service=this.signInUrlInfoServiceProvider:this.oauth2Service=yield _e.g.build(this.signInUrlInfoServiceProvider)}))}isValidOauthUrl(e){if(!e)throw(0,s.f3)("OAuth URL is undefined or empty.");let t;try{t=new URL(e)}catch(e){throw(0,s.f3)("Invalid OAuth URL format.")}const r=this.getUrlParameters(t,"redirect_uri");if(!r)throw(0,s.f3)("Invalid signIn URL. Redirect URI is missing in the OAuth URL.");if("https:"!==new URL(r).protocol)throw(0,s.f3)("Invalid signIn URL. Redirect URI must use HTTPS protocol.");if(!this.getUrlParameters(t,"client_id"))throw(0,s.f3)("Invalid signIn URL. Client ID is missing in the OAuth URL.");if(!this.getUrlParameters(t,"response_type"))throw(0,s.f3)("Invalid signIn URL. Response type is missing in the OAuth URL.");if("https:"!==t.protocol)throw(0,s.f3)("Invalid signIn URL. OAuth URL must use HTTPS protocol.");return!0}isValidPPCUrl(e,t){if(!e||!t)return!1;try{const r=new URL(e);return(0,u.F6)(r,t,this.logger)}catch(e){return!1}}getUrlParameters(e,t){return new URLSearchParams(e.search).get(t)}isExternalAppOauth2Service(e){return void 0!==e.getSignInUrlInfo}}const Ke={dependentHubServiceSelector:e=>{var t;return e.authenticationService&&e.externalAppInfoService&&e.externalAppChannelService?{authenticationService:e.authenticationService,externalAppInfoService:e.externalAppInfoService,externalAppChannelService:e.externalAppChannelService,oauth2ServiceProvider:null!==(t=e.externalAppOauth2Service)&&void 0!==t?t:e.mos3TokenGenerationService}:void 0},messageHandlerFactory:(e,t,r)=>new Xe(e,new Ge(e,t.authenticationService,t.externalAppInfoService,t.externalAppChannelService,t.oauth2ServiceProvider,r,e.getLogger()),r)};class Xe extends _.R{constructor(e,t,r){super(e,r),this.appSdkHost=e,this.externalAppAuthExecutor=t,this.TAG="ExternalAppAuthenticationMessageHandler",this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(k.tz.externalAppAuthentication.authenticateAndResendRequest,this.handleAuthenticateAndResendRequest,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(k.tz.externalAppAuthentication.authenticateWithSSO,this.handleAuthenticateWithSSO,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(k.tz.externalAppAuthentication.authenticateWithSSOAndResendRequest,this.handleAuthenticateWithSSOAndResendRequest,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(k.tz.externalAppAuthentication.authenticateWithOauth2,this.handleAuthenticateWithOauth2,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(k.tz.externalAppAuthentication.authenticateWithPowerPlatformConnectorPlugins,this.authenticateWithPowerPlatformConnectorPlugins,{errorCallback:e=>this.onAuthenticateError(e)})}canHandleMessage(e){return super.canHandleMessage(e)&&(0,u.wr)(this.appDefinition)}handleAuthenticateAndResendRequest(e,t,r,i,o,a,l){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=(0,M.Yj)(e.data);return this.externalAppAuthExecutor.authenticateAndResendRequest(t,r,i,null!=l&&l,o,a).then((e=>this.postResponseToAppAndLog("notifySuccess func",n,[!0,e])),(e=>this.postResponseToAppAndLog("AuthenticateAndResendRequest",n,[!1,(0,s.f3)(e)]))),s.f1}))}handleAuthenticateWithSSO(e,t,r,i){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.externalAppAuthExecutor.authenticateWithSSOInternal(t,e.origin,r,i),(0,s.PR)([!0])}))}handleAuthenticateWithSSOAndResendRequest(e,t,r,i,o){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=yield this.externalAppAuthExecutor.authenticateWithSSOAndResendRequestInternal(t,r,e.origin,i,o);return(0,s.PR)([!0,n])}))}authenticateWithPowerPlatformConnectorPlugins(e,t,r,i,o,l){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=(0,M.Yj)(e.data),c=(0,s.sC)(n);return this.externalAppAuthExecutor.authenticateWithPPC(t,r,i,o,l).then((()=>{this.appSdkHost.postResponseToApp(n,[!0,"success"]),this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`notifySuccess func: ${c}`)}),(e=>{this.appSdkHost.postResponseToApp(n,[!1,(0,s.f3)(e)]),this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`ppc notifyFailure func: ${c} : ${e}`)})),s.f1}))}handleAuthenticateWithOauth2(e,t,r,i,o,l){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=(0,M.Yj)(e.data),l=(0,s.sC)(n),c={titleId:t,oAuthConfigId:r,windowParameters:{width:i,height:o},copilotHost:$e.BizChat};return this.externalAppAuthExecutor.authenticateWithAgent(c).then((()=>{this.appSdkHost.postResponseToApp(n,[!0,"success"]),this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`notifySuccess func: ${l}`)}),(e=>{const t=Pe(e)?e:(0,s.f3)(e);this.appSdkHost.postResponseToApp(n,[!1,t]),this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`Oauth notifyFailure func: ${l} : ${e}`)})),s.f1}))}postResponseToAppAndLog(e,t,r){return(0,n.__awaiter)(this,void 0,void 0,(function*(){this.appSdkHost.postResponseToApp(t,r);const n=(0,s.sC)(t);this.appSdkHost.getLogger().log(a.$.Debug,this.TAG,`${e}: ${n}`)}))}onAuthenticateError(e){const t=(0,s.f3)(e);return(0,s.PR)([!1,t])}}class Ye extends Te{constructor(e,t,r){super(t,r),this.externalAppInfoService=e,this.telemetryService=t,this.logger=r,this.getValidatedUrl=e=>{try{return new URL(e)}catch(e){throw{errorCode:v.he.INTERNAL_ERROR,message:"Invalid URL"}}},this.isDeepLinkUrl=e=>e.hostname.toLowerCase()===T.aw.hostname&&e.pathname.toLowerCase().startsWith(T.aw.pathname)}doesAppContainME(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return!!(yield this.getAppDefinition(e)).composeExtension}))}getAppDefinition(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.externalAppInfoService.getAppDefinition(e);if(!t)throw{errorCode:v.he.INTERNAL_ERROR,message:`Unable to retrieve AppDefinition for ${e}`};return t}))}updateTelemetryScenarioWithAppId(e,t){e.addOrUpdateActivityDataField("RequestedForAppID",t)}validateAppId(e){(0,xe.zW)(e.toString(),{errorCode:Ee.nq.INTERNAL_ERROR,message:"App ID is not valid."})}}function Je(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(!(yield t.isAppAllowed(e)))throw{errorCode:v.he.INTERNAL_ERROR,message:k.u}}))}function Ze(e){if(!e||"object"!=typeof e)return!1;const{url:t,title:r}=e;try{new URL(t)}catch(e){return!1}return"string"==typeof r}class Qe extends Ye{constructor(e,t,r,i){super(t,r,i),this.externalAppCardActionsForCEAService=e,this.externalAppInfoService=t,this.telemetryService=r,this.logger=i,this.actionOpenUrlExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){this.updateTelemetryScenarioWithAppId(t,e.appId.toString()),this.validateAppId(e.appId),yield Je(e.appId.toString(),this.externalAppInfoService);const r=yield this.externalAppCardActionsForCEAService.handleActionOpenUrl(e.appId,e.conversationId,e.url);return t.addOrUpdateActivityDataField("ActionOpenUrlType",r),r})),sdkMessageName:k.tz.externalAppCardActionsForCEA.processActionOpenUrl},this.actionSubmitExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){this.updateTelemetryScenarioWithAppId(t,e.appId.toString()),this.validateAppId(e.appId),yield Je(e.appId.toString(),this.externalAppInfoService),yield this.externalAppCardActionsForCEAService.handleActionSubmit(e.appId,e.conversationId,e.actionSubmitPayload)})),sdkMessageName:k.tz.externalAppCardActionsForCEA.processActionSubmit}}actionOpenUrl(e,t,r){return this.executeCapabilityFunction(this.actionOpenUrlExecutor,{appId:e,conversationId:t,url:r})}actionSubmit(e,t,r){return this.executeCapabilityFunction(this.actionSubmitExecutor,{appId:e,conversationId:t,actionSubmitPayload:r})}}const et={dependentHubServiceSelector:e=>e.externalAppCardActionsForCEAService&&e.externalAppInfoService?{externalAppCardActionsForCEAService:e.externalAppCardActionsForCEAService,externalAppInfoService:e.externalAppInfoService}:void 0,messageHandlerFactory:(e,t,r)=>new tt(e,new Qe(t.externalAppCardActionsForCEAService,t.externalAppInfoService,r,e.getLogger()),r)};class tt extends _.R{constructor(e,t,r){super(e,r),this.appSdkHost=e,this.externalAppCardActionsForCEAExecutor=t,this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(k.tz.externalAppCardActionsForCEA.processActionOpenUrl,this.handleActionOpenUrl,{errorCallback:e=>(0,s.IB)(k.tz.externalAppCardActionsForCEA.processActionOpenUrl,e,Object.values(Ee.nq),{errorCode:Ee.nq.INTERNAL_ERROR,message:s.vh},(e=>(0,s.PR)([e,null])))}),this.registerHandler(k.tz.externalAppCardActionsForCEA.processActionSubmit,this.handleActionSubmit,{errorCallback:e=>(0,s.IB)(k.tz.externalAppCardActionsForCEA.processActionSubmit,e,Object.values(v.he),s.kA,(e=>(0,s.PR)(e)))})}canHandleMessage(e){return super.canHandleMessage(e)&&(0,u.wr)(this.appDefinition)}handleActionOpenUrl(e,t,r,i){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.externalAppCardActionsForCEAExecutor.actionOpenUrl(new Re.l(t),r,new URL(i));return(0,s.PR)([null,e])}))}handleActionSubmit(e,t,r,i){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.externalAppCardActionsForCEAExecutor.actionSubmit(new Re.l(t),r,i),(0,s.PR)(void 0)}))}}class rt extends Te{constructor(e,t,r,i){super(r,i),this.externalAppCardActionsForDAService=e,this.externalAppInfoService=t,this.telemetryService=r,this.logger=i,this.actionOpenUrlDialogExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var r;const n=e.appId.toString(),i=null!==(r=e.traceId.toString())&&void 0!==r?r:"";if(t.addOrUpdateActivityDataField("RequestedForAppID",n),(0,xe.zW)(n,{errorCode:Ee.nq.INTERNAL_ERROR,message:"App ID is not valid."}),!Ze(e.actionOpenUrlDialogInfo))throw(0,s.f3)(it.InvalidActionOpenUrlDialogInfo);if(!c.k.validate(i))throw(0,s.f3)(it.InvalidTraceId);yield Je(n,this.externalAppInfoService),yield this.externalAppCardActionsForDAService.handleActionOpenUrlDialog(e.appId,e.actionOpenUrlDialogInfo,e.traceId)})),sdkMessageName:k.tz.externalAppCardActionsForDA.processActionOpenUrlDialog}}actionOpenUrlDialog(e,t,r){return this.executeCapabilityFunction(this.actionOpenUrlDialogExecutor,{appId:e,actionOpenUrlDialogInfo:t,traceId:r})}}const nt={dependentHubServiceSelector:e=>e.externalAppCardActionsForDAService&&e.externalAppInfoService?{externalAppCardActionsForDAService:e.externalAppCardActionsForDAService,externalAppInfoService:e.externalAppInfoService}:void 0,messageHandlerFactory:(e,t,r)=>new ot(e,new rt(t.externalAppCardActionsForDAService,t.externalAppInfoService,r,e.getLogger()),r)};var it;!function(e){e.InvalidActionOpenUrlDialogInfo="Invalid actionOpenUrlDialogInfo",e.InvalidTraceId="Invalid traceId",e.InvalidAppId="App ID is not valid."}(it||(it={}));class ot extends _.R{constructor(e,t,r){super(e,r),this.appSdkHost=e,this.externalAppCardActionsForDAExecutor=t,this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(k.tz.externalAppCardActionsForDA.processActionOpenUrlDialog,this.handleActionOpenUrlDialog,{errorCallback:e=>(0,s.IB)(k.tz.externalAppCardActionsForDA.processActionOpenUrlDialog,e,Object.values(v.he),s.kA,(e=>(0,s.PR)(e)))})}canHandleMessage(e){return super.canHandleMessage(e)&&(0,u.wr)(this.appDefinition)}handleActionOpenUrlDialog(e,t,r,i){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=new Re.l(t);if(!c.k.validate(i))throw(0,s.f3)(it.InvalidTraceId);const n=new c.k(i);if(!Ze(r))throw(0,s.f3)(it.InvalidActionOpenUrlDialogInfo);const o={url:new URL(r.url),title:r.title,size:r.size};return yield this.externalAppCardActionsForDAExecutor.actionOpenUrlDialog(e,o,n),(0,s.PR)(void 0)}))}}class at extends Ye{constructor(e,t,r,i){super(t,r,i),this.externalAppCardActionsService=e,this.externalAppInfoService=t,this.telemetryService=r,this.logger=i,this.actionOpenUrlExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var r;if(t.addOrUpdateActivityDataField("RequestedForAppID",e.appId),"string"==typeof e.url&&(e.url=this.getValidatedUrl(e.url)),(0,xe.zW)(e.appId,{errorCode:Ee.nq.INTERNAL_ERROR,message:"App ID is not valid."}),yield Je(e.appId,this.externalAppInfoService),this.isDeepLinkUrl(e.url)&&("plugins"===(null===(r=e.fromElement)||void 0===r?void 0:r.name)||!(yield this.doesAppContainME(e.appId))))throw{errorCode:v.he.INTERNAL_ERROR,message:Ee.Nh};const n=yield this.externalAppCardActionsService.handleActionOpenUrl(e.appId,e.url.href,e.fromElement);return t.addOrUpdateActivityDataField("ActionOpenUrlType",n),n})),sdkMessageName:k.tz.externalAppCardActions.processActionOpenUrl},this.actionSubmitExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){if(t.addOrUpdateActivityDataField("RequestedForAppID",e.appId),(0,xe.zW)(e.appId,{errorCode:v.he.INTERNAL_ERROR,message:"App ID is not valid."}),yield Je(e.appId,this.externalAppInfoService),!(yield this.doesAppContainME(e.appId)))throw{errorCode:v.he.INTERNAL_ERROR,message:Ee.x};yield this.externalAppCardActionsService.handleActionSubmit(e.appId,e.actionSubmitPayload)})),sdkMessageName:k.tz.externalAppCardActions.processActionSubmit}}actionOpenUrl(e,t,r){return this.executeCapabilityFunction(this.actionOpenUrlExecutor,{appId:e,url:t,fromElement:r})}actionSubmit(e,t){return this.executeCapabilityFunction(this.actionSubmitExecutor,{appId:e,actionSubmitPayload:t})}}const st={dependentHubServiceSelector:e=>e.externalAppCardActionsService&&e.externalAppInfoService?{externalAppCardActionsService:e.externalAppCardActionsService,externalAppInfoService:e.externalAppInfoService}:void 0,messageHandlerFactory:(e,t,r)=>new lt(e,new at(t.externalAppCardActionsService,t.externalAppInfoService,r,e.getLogger()),r)};class lt extends _.R{constructor(e,t,r){super(e,r),this.appSdkHost=e,this.externalAppCardActionsExecutor=t,this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(k.tz.externalAppCardActions.processActionOpenUrl,this.handleActionOpenUrl,{errorCallback:e=>(0,s.IB)(k.tz.externalAppCardActions.processActionOpenUrl,e,Object.values(Ee.nq),{errorCode:Ee.nq.INTERNAL_ERROR,message:s.vh},(e=>(0,s.PR)([e,null])))}),this.registerHandler(k.tz.externalAppCardActions.processActionSubmit,this.handleActionSubmit,{errorCallback:e=>(0,s.IB)(k.tz.externalAppCardActions.processActionSubmit,e,Object.values(v.he),s.kA,(e=>(0,s.PR)([!1,e])))})}canHandleMessage(e){return super.canHandleMessage(e)&&(0,u.wr)(this.appDefinition)}handleActionOpenUrl(e,t,r,i){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.externalAppCardActionsExecutor.actionOpenUrl(t,r,i);return(0,s.PR)([null,e])}))}handleActionSubmit(e,t,r){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.externalAppCardActionsExecutor.actionSubmit(t,r),(0,s.PR)([!0,null])}))}}class ct extends Te{constructor(e,t,r,i){super(r,i),this.externalAppCommandsService=e,this.externalAppInfoService=t,this.telemetryService=r,this.logger=i,this.actionCommandExecutor={execute:(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){t.addOrUpdateActivityDataField("RequestedForAppID",e.appId),(0,xe.zW)(e.appId,{errorCode:v.he.INTERNAL_ERROR,message:"App ID is not valid."}),yield Je(e.appId,this.externalAppInfoService);const r=yield this.getAppDefinition(e.appId);if(!r.composeExtension)throw{errorCode:v.he.INTERNAL_ERROR,message:"Action Command is only supported in Message Extensions"};return this.validateActionCommandParameters(r,e.commandId,e.extractedParameters),yield this.externalAppCommandsService.handleActionCommand(e.appId,e.commandId,e.extractedParameters)})),sdkMessageName:k.tz.externalAppCommands.processActionCommand}}validateActionCommandParameters(e,t,r){var n,i;const o=null===(i=null===(n=e.composeExtension)||void 0===n?void 0:n.commands)||void 0===i?void 0:i.find((e=>e.id===t));if(!o)throw{errorCode:v.he.INTERNAL_ERROR,message:"commandId does not exist in app manifest"};{const e=o.parameterNames||[];if(!Object.keys(r).every((t=>e.includes(t))))throw{errorCode:v.he.INTERNAL_ERROR,message:"One or more parameters in extractedParameters do not exist in app manifest"}}}getAppDefinition(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.externalAppInfoService.getAppDefinition(e);if(!t)throw{errorCode:v.he.INTERNAL_ERROR,message:`Unable to retrieve AppDefinition for ${e}`};return t}))}actionCommand(e,t,r){return this.executeCapabilityFunction(this.actionCommandExecutor,{appId:e,commandId:t,extractedParameters:r})}}const ut={dependentHubServiceSelector:e=>e.externalAppCommandsService&&e.externalAppInfoService?{externalAppCommandsService:e.externalAppCommandsService,externalAppInfoService:e.externalAppInfoService}:void 0,messageHandlerFactory:(e,t,r)=>new dt(e,new ct(t.externalAppCommandsService,t.externalAppInfoService,r,e.getLogger()),r)};class dt extends _.R{constructor(e,t,r){super(e,r),this.appSdkHost=e,this.externalAppCommandsExecutor=t,this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(k.tz.externalAppCommands.processActionCommand,this.handleActionCommand,{errorCallback:e=>(0,s.IB)(k.tz.externalAppCommands.processActionCommand,e,Object.values(v.he),s.kA,(e=>(0,s.PR)([e,null])))})}canHandleMessage(e){return super.canHandleMessage(e)&&(0,u.wr)(this.appDefinition)}handleActionCommand(e,t,r,i){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.externalAppCommandsExecutor.actionCommand(t,r,i);return(0,s.PR)([null,e])}))}}const pt={dependentHubServiceSelector:e=>e.filesService,messageHandlerFactory:(e,t,r)=>new ft(e,r,t)};class ft extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.filesService=r}initHandlers(){this.registerHandler(k.tz.files.openFilePreview,((e,...t)=>{const r={entityId:t[0],title:t[1],description:t[2],type:t[3],objectUrl:t[4],downloadUrl:t[5],webPreviewUrl:t[6],webEditUrl:t[7],baseUrl:t[8],editFile:t[9],subEntityId:t[10],viewerAction:t[11],fileOpenPreference:t[12]};return r.type&&r.objectUrl?(0,s.QY)(this.filesService.openFilePreview,r):Promise.reject("Invalid File Preview Parameters")}),{isRestrictedToFullTrustOrLobApps:!0}),this.registerHandler(k.tz.files.getCloudStorageFolders,((e,t)=>(0,s.N8)(t,this.filesService.getCloudStorageFolders)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.files.getCloudStorageFolders,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(k.tz.files.addCloudStorageFolder,((e,t)=>(0,s.N8)(t,this.filesService.addCloudStorageFolder,(e=>[e.isFolderAdded,e.folders]),!0)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.files.addCloudStorageFolder,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(k.tz.files.deleteCloudStorageFolder,((e,t,r)=>(0,s.N8)({channelId:t,folderToDelete:r},this.filesService.deleteCloudStorageFolder)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.files.deleteCloudStorageFolder,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(k.tz.files.copyMoveFiles,((e,t,r,n,i,o)=>(0,s.N8)({selectedFiles:t,providerCode:r,destinationFolder:n,destinationProviderCode:i,isMove:o},this.filesService.copyMoveFiles)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.files.copyMoveFiles,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(k.tz.files.getExternalProviders,((e,t=!1)=>(0,s.N8)(t,this.filesService.getExternalProviders)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.files.getExternalProviders,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(k.tz.files.getCloudStorageFolderContents,((e,t,r)=>(0,s.N8)({folder:t,providerCode:r},this.filesService.getCloudStorageFolderContents)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.files.getCloudStorageFolderContents,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(k.tz.files.openCloudStorageFile,((e,t,r,n)=>(0,s.N8)({file:t,providerCode:r,fileOpenPreference:n},this.filesService.openCloudStorageFile)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.files.openCloudStorageFile,e,t),isRestrictedToFullTrustApps:!0})}}const ht={errorCode:v.O4.INTERNAL_ERROR,message:"Internal error"};class gt extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.hostEntityTabService=r}initHandlers(){this.registerHandler(k.tz.hostEntity.tab.addAndConfigure,((e,t,r)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var e;const n=yield null===(e=this.hostEntityTabService)||void 0===e?void 0:e.addAndConfigure(t,r);return(0,s.PR)([n])}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:e=>(0,s.IB)(k.tz.hostEntity.tab.addAndConfigure,e,[ht.errorCode],ht,(e=>(0,s.PR)([e])))}),this.registerHandler(k.tz.hostEntity.tab.reconfigure,((e,t,r)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var e;const n=yield null===(e=this.hostEntityTabService)||void 0===e?void 0:e.reconfigure(t,r);return(0,s.PR)([n])}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:(e,t)=>(0,s.IB)(k.tz.hostEntity.tab.reconfigure,e,[ht.errorCode],ht,(e=>(0,s.PR)([e])),t)}),this.registerHandler(k.tz.hostEntity.tab.rename,((e,t,r)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var e;const n=yield null===(e=this.hostEntityTabService)||void 0===e?void 0:e.rename(t,r);return(0,s.PR)([n])}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:e=>(0,s.IB)(k.tz.hostEntity.tab.rename,e,[ht.errorCode],ht,(e=>(0,s.PR)([e])))}),this.registerHandler(k.tz.hostEntity.tab.remove,((e,t,r)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var e;const n=yield null===(e=this.hostEntityTabService)||void 0===e?void 0:e.remove(t,r);return(0,s.PR)([n])}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:e=>(0,s.IB)(k.tz.hostEntity.tab.remove,e,[ht.errorCode],ht,(e=>(0,s.PR)([e])))}),this.registerHandler(k.tz.hostEntity.tab.getAll,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var e;const r=yield null===(e=this.hostEntityTabService)||void 0===e?void 0:e.getAll(t);return(0,s.PR)([r])}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:e=>(0,s.IB)(k.tz.hostEntity.tab.getAll,e,[ht.errorCode],ht,(e=>(0,s.PR)([e])))})}}const mt={dependentHubServiceSelector:e=>e.interactiveService,messageHandlerFactory:(e,t,r)=>new vt(e,r,t)};class vt extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.interactiveService=r}initHandlers(){this.registerHandler(k.tz.interactive.getFluidTenantInfo,(()=>(0,s.N8)(this.getParamsWithOrigin({}),this.interactiveService.getFluidTenantInfo)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.interactive.getFluidTenantInfo,e,t)}),this.registerHandler(k.tz.interactive.getFluidToken,((e,t)=>(0,s.N8)(this.getParamsWithOrigin({containerId:t}),this.interactiveService.getFluidToken)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.interactive.getFluidToken,e,t)}),this.registerHandler(k.tz.interactive.getFluidContainerId,(()=>(0,s.N8)(this.getParamsWithOrigin({}),this.interactiveService.getFluidContainerId)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.interactive.getFluidContainerId,e,t)}),this.registerHandler(k.tz.interactive.setFluidContainerId,((e,t)=>(0,s.N8)(this.getParamsWithOrigin({containerId:t}),this.interactiveService.setFluidContainerId)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.interactive.setFluidContainerId,e,t)}),this.registerHandler(k.tz.interactive.getNtpTime,(()=>(0,s.N8)(this.getParamsWithOrigin({}),this.interactiveService.getNtpTime)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.interactive.getNtpTime,e,t)}),this.registerHandler(k.tz.interactive.registerClientId,((e,t)=>(0,s.N8)(this.getParamsWithOrigin({clientId:t}),this.interactiveService.registerClientId)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.interactive.registerClientId,e,t)}),this.registerHandler(k.tz.interactive.getClientRoles,((e,t)=>(0,s.N8)(this.getParamsWithOrigin({clientId:t}),this.interactiveService.getClientRoles)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.interactive.getClientRoles,e,t)}),this.registerHandler(k.tz.interactive.getClientInfo,((e,t)=>(0,s.N8)(this.getParamsWithOrigin({clientId:t}),this.interactiveService.getClientInfo)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.interactive.getClientInfo,e,t)})}getParamsWithOrigin(e){const t=this.appSdkHost.getOrigin();if(!t)throw"Origin not set of AppSdkHost";return Object.assign(Object.assign({},e),{origin:t})}}class yt{constructor(e){this.linkHandlers=e}tryGetDataFromLink(e){for(const t of this.linkHandlers){const r=t.tryGetDataFromLink(e);if(null!=r)return[t,r]}return null}executeData([e,t]){return e.executeData(t)}}class bt extends _.R{constructor(e,t,r,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.linkService=r,this.linkHandler=n}initHandlers(){this.registerHandler(k.tz.links.openLink,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.executeLink(t),(0,s.PR)(!0)}))),{errorCallback:(e,t)=>(0,s.M5)(k.tz.links.openLink,e,t)})}executeLink(e){try{const t=new URL(e);if(this.appSdkHost.getHubInfo().name!==M.UH.teams&&this.appSdkHost.getHubInfo().name!==M.UH.teamsModern&&this.linkHandler){const e=this.linkHandler.tryGetDataFromLink(t);if(null!=e)return this.linkHandler.executeData(e)}}catch(e){this.appSdkHost.getLogger().log(a.$.Error,"LinkMessageHandler","There is an error parsing the URL",e)}return this.linkService.openLink(e)}validateDependencies(){if(!this.linkService)throw"No linkService provided"}}class wt{constructor(e){this.pageService=e}tryGetDataFromLink(e){if(!this.pageService)return null;if("https:"!==e.protocol)return null;if(e.origin!=T.sB)return null;if(!e.pathname.startsWith("/l/entity/"))return null;const t=e.pathname.substring(10).split("/");if(2!==t.length)return null;const r=t[0],n=t[1],i=e.searchParams.get("webUrl")||void 0,o=e.searchParams.get("context");let a,s,l;if(o)try{const e=JSON.parse(o);e&&"object"==typeof e&&(a=e.subEntityId,s=e.channelId,l=e.chatId)}catch(e){}return{appId:r,pageId:n,webUrl:i,subPageId:a,channelId:s,chatId:l}}executeData(e){return this.pageService.navigateToApp(e)}}const St="location.map is not supported on this host.";class Ct{constructor(e){this.result=e}serialize(){return[null,this.result]}}class At extends fe{implementation([e]){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(yield(0,s.og)(this.linkedServices.devicePermissionService,H.m.GeoLocation),!e.allowChooseLocation&&!e.showMap)return new Ct(yield this.linkedServices.locationService.getCurrentLocation());if(!this.linkedServices.locationService.mapService)throw(0,s.jC)(v.O4.INTERNAL_ERROR,St);return!e.allowChooseLocation&&e.showMap?new Ct(yield this.linkedServices.locationService.mapService.getCurrentLocationOnMap()):new Ct(yield this.linkedServices.locationService.mapService.chooseLocation())}))}handleErrors(e){return(0,s.Sw)(e)}}class xt extends fe{implementation([e]){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(!this.linkedServices.locationService.mapService)throw(0,s.jC)(v.O4.INTERNAL_ERROR,St);const t=yield(0,s.J5)(this.linkedServices.locationService.mapService.showLocation,e);if((0,s.hl)(t))throw t;return new Ct(t)}))}handleErrors(e){return(0,s.Sw)(e)}}const kt={dependentHubServiceSelector:e=>e.logService,messageHandlerFactory:(e,t,r)=>new Et(e,r,t)};class Et extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.logService=r}initHandlers(){this.registerHandler(k.tz.logs.handleAppLog,((e,t)=>(0,s.QY)(this.logService.handleAppLog,t)))}}class _t extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.handoffService=r}initHandlers(){this.registerHandler(k.tz.mail.handoff.composeMail,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var e;return yield null===(e=this.handoffService)||void 0===e?void 0:e.composeMailWithHandoff(t),(0,s.PR)()}))),{errorCallback:(e,t)=>(0,s.M5)(k.tz.mail.handoff.composeMail,e,t)})}validateDependencies(){if(!this.handoffService)throw"No handoffService provided"}}const It={dependentHubServiceSelector:e=>e.mailService,messageHandlerFactory:(e,t,r)=>new Pt(e,r,t)};class Pt extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.mailService=r}initHandlers(){this.registerHandler(k.tz.mail.openMailItem,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.mailService.openMailItem(t),(0,s.PR)([!0])}))),{errorCallback:(e,t)=>(0,s.M5)(k.tz.mail.openMailItem,e,t)}),this.registerHandler(k.tz.mail.composeMail,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.mailService.composeMail(t),(0,s.PR)([!0])}))),{errorCallback:(e,t)=>(0,s.M5)(k.tz.mail.composeMail,e,t)})}}var Tt,Bt,Dt,Nt;!function(e){e.TACAdminUser="TACAdminUser",e.TeamsAdminUser="TeamsAdminUser",e.TeamsEndUser="TeamsEndUser"}(Tt||(Tt={})),function(e){e.Open="Open",e.Processing="Processing",e.Processed="Processed",e.Closed="Closed",e.Error="Error"}(Bt||(Bt={})),function(e){e.GetCart="GetCart",e.AddOrUpdateCartItems="AddOrUpdateCartItems",e.RemoveCartItems="RemoveCartItems",e.UpdateCartStatus="UpdateCartStatus"}(Dt||(Dt={})),function(e){e[e.V1=1]="V1"}(Nt||(Nt={}));const Rt={dependentHubServiceSelector:e=>e.marketplaceService,messageHandlerFactory:(e,t,r)=>new Ot(e,r,t)};class Ot extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.marketplaceService=r}initHandlers(){this.registerHandler(k.tz.marketplace.getCart,((e,t)=>this.dispatchMarketplaceHandlers(t,Dt.GetCart)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.marketplace.getCart,e,t)}),this.registerHandler(k.tz.marketplace.addOrUpdateCartItems,((e,t)=>this.dispatchMarketplaceHandlers(t,Dt.AddOrUpdateCartItems)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.marketplace.addOrUpdateCartItems,e,t)}),this.registerHandler(k.tz.marketplace.removeCartItems,((e,t)=>this.dispatchMarketplaceHandlers(t,Dt.RemoveCartItems)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.marketplace.removeCartItems,e,t)}),this.registerHandler(k.tz.marketplace.updateCartStatus,((e,t)=>this.dispatchMarketplaceHandlers(t,Dt.UpdateCartStatus)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.marketplace.updateCartStatus,e,t)})}dispatchMarketplaceHandlers(e,t){var r;let n;const i=t===Dt.GetCart?null==e?void 0:e.majorVersion:null===(r=null==e?void 0:e.cartVersion)||void 0===r?void 0:r.majorVersion;if(i!==Nt.V1)return Promise.reject({errorCode:v.O4.NOT_SUPPORTED_ON_PLATFORM,message:`Cart version ${i} is not supported`});switch(n=this.marketplaceService,t){case Dt.GetCart:return(0,s.N8)(e,n.getCart);case Dt.AddOrUpdateCartItems:return(0,s.N8)(e,n.addOrUpdateCartItems);case Dt.RemoveCartItems:return(0,s.N8)(e,n.removeCartItems);case Dt.UpdateCartStatus:return(0,s.N8)(e,n.updateCartStatus);default:return Promise.reject({errorCode:v.O4.NOT_SUPPORTED_ON_PLATFORM,message:`Marketplace method ${t} is not supported`})}}}const zt={dependentHubServiceSelector:e=>e.mediaService,messageHandlerFactory:(e,t,r)=>new Mt(e,r,t)};class Mt extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.mediaService=r}initHandlers(){this.registerHandler(k.tz.media.selectMedia,((e,t)=>(0,s.N8)(t,this.mediaService.selectMedia)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.media.selectMedia,e,t)}),this.registerHandler(k.tz.media.captureImage,(e=>(0,s.N8)(Ft,this.mediaService.selectMedia)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.media.selectMedia,e,t)}),this.registerHandler(k.tz.media.getMedia,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.mediaService.getMedia(t,(t=>this.postMediaResult((0,M.Yj)(e.data),t))),s.f1}))),{errorCallback:this.onGetMediaError}),this.registerHandler(k.tz.media.viewImages,((e,t)=>(0,s.JA)(this.mediaService.viewImages,t)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.media.viewImages,e,t)})}onGetMediaError(e,t){null==t||t.fail(`GetMedia failed ${(0,s.oE)(e)}`);const r={error:s.UR};return(0,s.PR)(r)}postMediaResult(e,t){return t.mediaChunk?(t.mediaChunk.chunkSequence>0?this.appSdkHost.postResponseToApp(e,[t],!0):this.appSdkHost.postResponseToApp(e,[t],!1),Promise.resolve()):Promise.reject("empty media chunk")}}const Ft={mediaType:1,maxMediaCount:1,imageProps:{sources:[1,2],startMode:1,ink:!0,cameraSwitcher:!0,textSticker:!0,enableFilter:!1}},Lt={dependentHubServiceSelector:e=>e.meetingService,messageHandlerFactory:(e,t,r)=>new jt(e,r,t)};class jt extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.meetingService=r}initHandlers(){this.registerHandler(k.tz.meeting.getIncomingClientAudioState,(()=>(0,s.N8)(null,this.meetingService.getIncomingClientAudioState)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.getIncomingClientAudioState,e,t)}),this.registerHandler(k.tz.meeting.toggleIncomingClientAudio,(()=>(0,s.N8)(null,this.meetingService.toggleIncomingClientAudio)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.toggleIncomingClientAudio,e,t)}),this.registerHandler(k.tz.meeting.getMeetingDetails,((e,t)=>(0,s.N8)(t,this.meetingService.getMeetingDetails)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.getMeetingDetails,e,t)}),this.registerHandler(k.tz.meeting.getAuthenticationTokenForAnonymousUser,(()=>(0,s.N8)(null,this.meetingService.getAuthenticationTokenForAnonymousUser)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.getAuthenticationTokenForAnonymousUser,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(k.tz.meeting.getLiveStreamState,(()=>(0,s.N8)(null,this.meetingService.getLiveStreamState)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.getLiveStreamState,e,t)}),this.registerHandler(k.tz.meeting.requestStartLiveStreaming,((e,...t)=>(0,s.JA)(this.meetingService.requestStartLiveStreaming,...t)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.requestStartLiveStreaming,e,t)}),this.registerHandler(k.tz.meeting.requestStopLiveStreaming,(()=>(0,s.N8)(null,this.meetingService.requestStopLiveStreaming)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.requestStopLiveStreaming,e,t)}),this.registerHandler(k.tz.meeting.shareAppContentToStage,((e,...t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.meetingService.shareAppContentToStage(...t);return(0,s.hl)(e)?Promise.reject(e):(0,s.PR)([null,e])}))),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.shareAppContentToStage,e,t)}),this.registerHandler(k.tz.meeting.appShareButton.setOptions,((e,t)=>(0,s.N8)(t,this.meetingService.appShareButton.setOptions)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.appShareButton.setOptions,e,t)}),this.registerHandler(k.tz.meeting.getAppContentStageSharingCapabilities,(()=>(0,s.N8)(null,this.meetingService.getAppContentStageSharingCapabilities)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.getAppContentStageSharingCapabilities,e,t)}),this.registerHandler(k.tz.meeting.stopSharingAppContentToStage,(()=>(0,s.N8)(null,this.meetingService.stopSharingAppContentToStage)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.stopSharingAppContentToStage,e,t)}),this.registerHandler(k.tz.meeting.getAppContentStageSharingState,(()=>(0,s.N8)(null,this.meetingService.getAppContentStageSharingState)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.getAppContentStageSharingState,e,t)}),this.registerHandler(k.tz.meeting.requestAppAudioHandling,((e,t)=>(0,s.N8)(t,this.meetingService.requestAppAudioHandling)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.requestAppAudioHandling,e,t)}),this.registerHandler(k.tz.meeting.updateMicState,((e,...t)=>(0,s.JA)(this.meetingService.updateMicState,...t)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.updateMicState,e,t)}),this.registerHandler(k.tz.meeting.joinMeeting,((e,t)=>(0,s.N8)(Object.assign(Object.assign({},t),{joinWebUrl:new URL(t.joinWebUrl)}),this.meetingService.joinMeeting)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meeting.joinMeeting,e,t)})}}const Vt={dependentHubServiceSelector:e=>e.meetingRoomService,messageHandlerFactory:(e,t,r)=>new Ht(e,r,t)};class Ht extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.meetingRoomService=r}initHandlers(){this.registerHandler(k.tz.meetingRoom.getPairedMeetingRoomInfo,(()=>(0,s.N8)(null,this.meetingRoomService.getPairedMeetingRoomInfo)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meetingRoom.getPairedMeetingRoomInfo,e,t)}),this.registerHandler(k.tz.meetingRoom.sendCommandToPairedMeetingRoom,((e,t)=>(0,s.N8)(t,this.meetingRoomService.sendCommandToPairedMeetingRoom)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.meetingRoom.sendCommandToPairedMeetingRoom,e,t)})}}class qt extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.messageChannelsService=r}initHandlers(){this.registerHandler(k.tz.messageChannels.dataLayer.getDataLayerPort,(e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.messageChannelsService.dataLayer.getDataLayerPort();return this.appSdkHost.postResponseToApp((0,M.Yj)(e.data),void 0,void 0,[t]),s.f1}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:(e,t)=>(0,s.eZ)(k.tz.messageChannels.dataLayer.getDataLayerPort,e,t)})}validateDependencies(){var e;if(!(null===(e=this.messageChannelsService)||void 0===e?void 0:e.dataLayer))throw"No data layer service for message channels provided"}}class Ut extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.messageChannelsService=r}initHandlers(){this.registerHandler(k.tz.messageChannels.telemetry.getTelemetryPort,(e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.messageChannelsService.telemetry.getTelemetryPort();return this.appSdkHost.postResponseToApp((0,M.Yj)(e.data),void 0,void 0,[t]),s.f1}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:(e,t)=>(0,s.eZ)(k.tz.messageChannels.telemetry.getTelemetryPort,e,t)})}validateDependencies(){var e;if(!(null===(e=this.messageChannelsService)||void 0===e?void 0:e.telemetry))throw"No telemetry service provided for message channels"}}const $t={dependentHubServiceSelector:e=>e.monetizationService,messageHandlerFactory:(e,t,r)=>new Wt(e,r,t)};class Wt extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.monetizationService=r}initHandlers(){this.registerHandler(k.tz.monetization.openPurchaseExperience,((e,t)=>(0,s.JA)(this.monetizationService.openPurchaseExperience,t)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.monetization.openPurchaseExperience,e,t)})}}const Gt=new Set,Kt={dependentHubServiceSelector:e=>e.nestedAppAuthService,messageHandlerFactory:(e,t,r)=>new Xt(e,r,t)};class Xt extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.nestedAppAuthService=r,this.RESPONSE_STATUS_KEY="ResponseStatus",this.ERROR_CODE_KEY="ErrorCode",this.SUB_ERROR_KEY="SubError",this.MSAL_TIMESTAMP_KEY="MsalTimestamp",this.CORRELATION_ID_KEY="CorrelationId",this.IS_DEEPLY_NESTED_REQUEST_KEY="IsDeeplyNestedRequest",this.REQUEST_METHOD_NAME="MethodName"}initHandlers(){this.registerHandler(k.tz.nestedAppAuth.execute,((e,t)=>{const r=e;this.isValidRequest(r);const i=new URL(r.origin),o=r.isTrustedOrigin||this.isOriginRequestedToBeTrusted(r.origin);return this.logRequestTelemetry(r,t),(0,s.N8)({payload:r.data.data,origin:i},(e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){t.markPhase("MessagePreprocessing",!0);const r=yield this.nestedAppAuthService.execute(e.payload,e.origin,o,(0,l.y3)(t));return t.markPhase("HubProcessing",!0),this.logResponseTelemetry(r,t),r}))))}),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.nestedAppAuth.execute,e,t)}),this.registerHandler(k.tz.nestedAppAuth.manageNAATrustedOrigins,((e,t)=>{this.validateManageTrustOriginRequest();const{action:r,appOrigins:n}=t,i=r.trim().toUpperCase();if(!Object.values(Yt).includes(i))throw(0,s.jC)(v.O4.INTERNAL_ERROR,"Unknown action type");if(!Array.isArray(n)||0===n.length)throw(0,s.jC)(v.O4.INTERNAL_ERROR,"appOrigins must be a non-empty array");let o;switch(i){case Yt.ADD:{let e=0;n.forEach((t=>{const r=this.normalizeOrigin(t);r&&(Gt.add(r),e+=1)})),o={status:e===n.length?Jt.SUCCESS:Jt.LIMITED};break}case Yt.DELETE:{const e=[];n.forEach((t=>{this.normalizeOrigin(t)&&Gt.has(t)&&(Gt.delete(t),e.push(t))})),o={status:e.length===n.length?Jt.SUCCESS:Jt.LIMITED,deleted:e};break}}return(0,s.PR)(o)}),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:(e,t)=>(0,s.eZ)(k.tz.nestedAppAuth.manageNAATrustedOrigins,e,t)})}logRequestTelemetry(e,t){var r;if(e.data&&"object"==typeof e.data&&"string"==typeof(null===(r=e.data)||void 0===r?void 0:r.data)){try{const r=JSON.parse(e.data.data),{sendTime:n,method:i,tokenParams:o}=r||{};t.addOrUpdateActivityDataField(this.MSAL_TIMESTAMP_KEY,n),t.addOrUpdateActivityDataField(this.REQUEST_METHOD_NAME,i);const a=null==o?void 0:o.correlationId;(0,ve.A)(a)&&t.addOrUpdateActivityDataField(this.CORRELATION_ID_KEY,a)}catch(e){const t="Unable to log NAA payload properties in telemetry due to unknown type";this.appSdkHost.getLogger().log(a.$.Warn,t,e)}t.addOrUpdateActivityDataField(this.IS_DEEPLY_NESTED_REQUEST_KEY,e.isDeeplyNestedRequest)}}logResponseTelemetry(e,t){try{const{success:r,error:n}=JSON.parse(e);if(!r){if(n){const{status:e,code:r,description:i}=n;t.addOrUpdateActivityDataField(this.RESPONSE_STATUS_KEY,e),t.addOrUpdateActivityDataField(this.ERROR_CODE_KEY,r),t.addDetails({errorDescription:i,errorCode:r})}t.fail(`Nested app auth request failed: ${(null==n?void 0:n.status)||"unknown status"}`)}}catch(e){}}isValidRequest(e){if(e.isDeeplyNestedRequest&&!this.nestedAppAuthService.isDeeplyNestedAuthSupported())throw(0,s.jC)(v.O4.NOT_SUPPORTED_ON_PLATFORM,"Deeply nested request is not supported");return!0}validateManageTrustOriginRequest(){var e,t;if(!this.nestedAppAuthService.isDeeplyNestedAuthSupported()||!(null===(t=(e=this.nestedAppAuthService).canParentManageNAATrustedOrigins)||void 0===t?void 0:t.call(e)))throw(0,s.jC)(v.O4.NOT_SUPPORTED_ON_PLATFORM,"Manage trusted origin api is not supported")}isOriginRequestedToBeTrusted(e){const t=this.normalizeOrigin(e);return!!t&&Gt.has(t)}normalizeOrigin(e){try{return new URL(e).origin.toLowerCase()}catch(e){return""}}}var Yt,Jt;!function(e){e.ADD="ADD",e.DELETE="DELETE"}(Yt||(Yt={})),function(e){e.SUCCESS="success",e.LIMITED="limited"}(Jt||(Jt={}));const Zt={dependentHubServiceSelector:e=>e.notificationService,messageHandlerFactory:(e,t,r)=>new Qt(e,r,t)};class Qt extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.notificationService=r}initHandlers(){this.registerHandler(k.tz.notifications.showNotification,((e,t)=>(0,s.QY)(this.notificationService.showNotification,t)),{isRestrictedToFullTrustApps:!0})}}const er={dependentHubServiceSelector:e=>e.otherAppStateChangeService,messageHandlerFactory:(e,t,r)=>new tr(e,r,t)};class tr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.otherAppStateChangeService=r}initHandlers(){this.registerHandler(k.tz.otherAppStateChange.unregisterInstall,(e=>(this.otherAppStateChangeService.clearListeners(),Promise.resolve(s.f1))),{}),this.registerHandler(k.tz.otherAppStateChange.notifyInstallCompleted,((e,t)=>(this.otherAppStateChangeService.notifyInstallCompleted(new Re.l(t)),Promise.resolve(s.f1))),{})}canHandleMessage(e){var t;if(!super.canHandleMessage(e))return!1;switch(e){case k.tz.otherAppStateChange.unregisterInstall:return(0,u.wr)(this.appDefinition);case k.tz.otherAppStateChange.notifyInstallCompleted:return(0,u.hq)(null===(t=this.appDefinition)||void 0===t?void 0:t.id);default:return!1}}}class rr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.configService=r}initHandlers(){if(this.appSdkHost.getFrameContext()===M.E2.settings&&!this.configService)throw new Error("Config Service needs to be implemented when in settings frame context");this.registerHandler(k.tz.pages.config.setConfig,((e,t)=>(0,s.JA)(this.configService.setConfig,t)),{errorCallback:(e,t)=>(0,s.M5)(k.tz.pages.config.setConfig,e,t)}),this.registerHandler(k.tz.pages.config.setValidityState,((e,t)=>(0,s.QY)(this.configService.setValidityState,t))),this.registerHandler(k.tz.pages.config.save.success,(e=>(0,s.QY)(this.configService.onSaveSuccess))),this.registerHandler(k.tz.pages.config.save.failure,((e,t)=>(0,s.QY)(this.configService.onSaveFailure,t))),this.registerHandler(k.tz.pages.config.remove.success,(e=>(0,s.QY)(this.configService.onRemoveSuccess))),this.registerHandler(k.tz.pages.config.remove.failure,((e,t)=>(0,s.QY)(this.configService.onRemoveFailure,t)))}validateDependencies(){if(!this.configService)throw"No configService provided"}}const nr={dependentHubServiceSelector:e=>e.pageService,messageHandlerFactory:(e,t,r)=>new ir(e,r,t)};class ir extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.pageService=r,this.getConfig=()=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=this.pageService&&this.pageService.getConfig?yield this.pageService.getConfig():this.getDefaultConfig();return(0,s.PR)(e)}))}initHandlers(){this.registerHandler(k.tz.pages.getConfig,this.getConfig),this.registerHandler(k.tz.pages.returnFocus,((e,t,r)=>(0,s.QY)(this.pageService.returnFocus,t,r))),this.registerHandler(k.tz.pages.setCurrentFrame,this.handleSetCurrentFrame),this.registerHandler(k.tz.pages.navigateCrossDomain,this.handleLoadCrossDomainUrl,{errorCallback:(e,t)=>(0,s.M5)(k.tz.pages.navigateCrossDomain,e,t)}),this.registerHandler(k.tz.pages.navigateToApp,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.pageService.navigateToApp(t),(0,s.PR)(!0)}))),{errorCallback:(e,t)=>(0,s.M5)(k.tz.pages.navigateToApp,e,t)}),this.registerHandler(k.tz.pages.shareDeepLink,((e,t,r,n)=>(0,s.QY)(this.pageService.shareDeepLink,{subEntityId:t,subEntityLabel:r,subEntityWebUrl:n}))),this.registerHandler(k.tz.pages.currentApp.navigateTo,this.buildParamsAndCallNavigateToApp,{errorCallback:(e,t)=>(0,s.eZ)(k.tz.pages.currentApp.navigateTo,e,t)}),this.registerHandler(k.tz.pages.currentApp.navigateToDefaultPage,this.buildParamsAndCallNavigateToApp,{errorCallback:(e,t)=>(0,s.eZ)(k.tz.pages.currentApp.navigateToDefaultPage,e,t)})}getDefaultConfig(){const e=this.appSdkHost.getOrigin();if(!e)throw new Error("Origin not set of AppSdkHost");const t=this.appSdkHost.getContext(),r=this.appSdkHost.getAppDefinition(),n=r&&(0,T.L9)(r,t.page.id);return{contentUrl:e,entityId:t.page.id,suggestedDisplayName:n}}handleSetCurrentFrame(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.appSdkHost.getAppContext(),r=this.appSdkHost.getLogger();try{(0,u.dA)(t.contentUrl,r,e,this.appDefinition)&&(0,u.dA)(t.websiteUrl,r,e,this.appDefinition)&&this.pageService.setCurrentFrame(t)}catch(e){r.log(a.$.Error,"handleSetCurrentFrame",k.Si,null)}return s.f1}))}handleLoadCrossDomainUrl(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=this.appSdkHost.getLogger();try{if((0,u.dA)(t,e,yield this.appSdkHost.getAppContext(),this.appDefinition))return yield this.appSdkHost.load(t,yield this.appSdkHost.getAppContext()),(0,s.PR)(!0)}catch(t){e.log(a.$.Error,"handleLoadCrossDomainUrl",k.Si,null)}throw k.Si}))}buildParamsAndCallNavigateToApp(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){let e;const r=this.appSdkHost.getAppDefinition();if(!(null==r?void 0:r.id))throw(0,s.jC)(v.O4.INTERNAL_ERROR,"An error ocurred while locating application ID");let n;e=t?{appId:null==r?void 0:r.id,pageId:t.pageId,subPageId:t.subPageId}:{appId:null==r?void 0:r.id,pageId:(null==r?void 0:r.pages.static[0].entityId)?r.pages.static[0].entityId:""};try{n=(0,s.N8)(e,this.pageService.navigateToApp)}catch(e){throw(0,s.jC)(v.O4.INTERNAL_ERROR,e)}return n}))}}class or extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.pageTabsService=r}initHandlers(){this.registerHandler(k.tz.pages.tabs.navigateToTab,((e,t)=>(0,s.JA)(this.pageTabsService.navigateToTab,t)),{errorCallback:(e,t)=>(0,s.M5)(k.tz.pages.tabs.navigateToTab,e,t)}),this.registerHandler(k.tz.pages.tabs.getTabInstances,((e,t)=>(0,s.JA)(this.pageTabsService.getTabInstances,t)),{errorCallback:(e,t)=>this.onGetTabsError(k.tz.pages.tabs.getTabInstances,e,t)}),this.registerHandler(k.tz.pages.tabs.getMruTabInstances,((e,t)=>(0,s.JA)(this.pageTabsService.getMruTabInstances,t)),{errorCallback:(e,t)=>this.onGetTabsError(k.tz.pages.tabs.getMruTabInstances,e,t)})}validateDependencies(){if(!this.pageTabsService)throw"No pageTabsService provided"}onGetTabsError(e,t,r){return null==r||r.fail(`${e} failed ${(0,s.oE)(t)}`),(0,s.PR)({teamTabs:[]})}}class ar extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.backStackService=r}initHandlers(){this.registerHandler(k.tz.pages.backStack.navigateBack,(e=>(0,s.JA)(this.backStackService.navigateBack)),{errorCallback:(e,t)=>(0,s.M5)(k.tz.pages.backStack.navigateBack,e,t)})}validateDependencies(){if(!this.backStackService)throw"No backStackService provided"}}class sr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.fullTrustService=r}initHandlers(){this.registerHandler(k.tz.pages.fullTrust.enterFullscreen,(e=>(0,s.QY)(this.fullTrustService.enterFullscreen)),{isRestrictedToFullTrustApps:!0}),this.registerHandler(k.tz.pages.fullTrust.exitFullscreen,(e=>(0,s.QY)(this.fullTrustService.exitFullscreen)),{isRestrictedToFullTrustApps:!0})}validateDependencies(){if(!this.fullTrustService)throw"No fullTrustService provided"}}const lr={dependentHubServiceSelector:e=>e.peopleService,messageHandlerFactory:(e,t,r)=>new cr(e,r,t)};class cr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.peopleService=r}initHandlers(){this.registerHandler(k.tz.people.selectPeople,((e,t)=>(0,s.N8)(t,this.peopleService.selectPeople)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.people.selectPeople,e,t)})}}const ur={dependentHubServiceSelector:e=>e.devicePermissionService,messageHandlerFactory:(e,t,r)=>new dr(e,r,t)};class dr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.permissionsService=r}initHandlers(){this.registerHandler(k.tz.permissions.requestUserConsentForPermission,((e,t)=>this.handleRequestUserConsentAndStorePermissions(t)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.permissions.requestUserConsentForPermission,e,t)}),this.registerHandler(k.tz.permissions.storageService.getPermissionStatus,((e,t)=>(0,s.N8)(t,this.permissionsService.storageService.getPermissionStatus,(e=>e==H.W.Consented))),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.permissions.storageService.getPermissionStatus,e,t)})}handleRequestUserConsentAndStorePermissions(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){this.verifyPermissionsInManifest(e);const t=yield this.checkPermissionsInStorage(e);if(t!==H.W.NeverAsked)return(0,s.PR)([null,t==H.W.Consented]);const r=yield this.requestUserConsent(e);return yield this.storePermissions(r),(0,s.PR)([null,r.status==H.W.Consented])}))}verifyPermissionsInManifest(e){if(!this.appDefinition.devicePermissions.some((t=>t.toLowerCase()===e.toString().toLowerCase())))throw(0,s.jC)(v.O4.INTERNAL_ERROR,"permission does not exist in the app manifest")}checkPermissionsInStorage(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.permissionsService.storageService.getPermissionStatus(e)}))}requestUserConsent(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){let t;try{t=yield this.permissionsService.requestUserConsentForPermission(e)}catch(e){throw(0,s.jC)(v.O4.INTERNAL_ERROR,"An error occurred while requesting the user consent for permissions")}return t}))}storePermissions(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){yield this.permissionsService.storageService.storePermissionConsent(e)}))}}const pr={dependentHubServiceSelector:e=>e.profileService,messageHandlerFactory:(e,t,r)=>new fr(e,r,t)};class fr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.profileService=r}initHandlers(){this.registerHandler(k.tz.profile.showProfile,((e,t)=>{const r=this.appSdkHost.getFrame(),{x:n,y:i}=r?r.getBoundingClientRect():{x:0,y:0},o=DOMRect.fromRect({x:t.targetRectangle.x+n,y:t.targetRectangle.y+i,width:t.targetRectangle.width,height:t.targetRectangle.height}),a={modality:t.modality,persona:t.persona,targetElementBoundingRect:o,triggerType:t.triggerType};return(0,s.N8)(a,this.profileService.showProfile)}),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.profile.showProfile,e,t)})}}var hr=r(1044);class gr extends _.R{constructor(e,t,r,n,i,o,s,l,c,d,p,f,h,g,m){if(super(e,t),this.appSdkHost=e,this.telemetryService=t,this.pageService=i,this.logService=o,this.mediaStreamService=s,this.meetingService=l,this.meetingRoomService=c,this.remoteCameraService=d,this.searchService=p,this.otherAppStateChangeService=f,this.bootstrapRegistrationState=h,this.copilotSidePanelService=g,this.shortcutRelayService=m,this.registeredHandlers=new Map,this.userSettings=[],this.cacheabilityDataService=r,this.registerHandlerImpl("themeChange",(t=>e.onThemeChanged=e=>t({data:e})),"eventDispatch.themeChange"),this.registerHandlerImpl("userSettingsChange",(t=>e.onUserSettingsChanged=(e,r)=>this.userSettings.includes(e)&&t({data:[e,r]})),"eventDispatch.userSettingsChange",!0),g&&(g.clearListeners(),this.registerHandlerImpl("copilot.sidePanel.userActionContentSelect",(e=>g.addEventListener("userActionContentSelect",e)),"eventDispatch.copilot.sidePanel.userActionContentSelect")),o&&(o.clearListeners(),this.registerHandlerImpl("log.request",(e=>o.addEventListener("log.request",e)),"eventDispatch.log.request",!1,(0,hr.C)({isRestrictedToFullTrustApps:!0}))),l&&(l.clearListeners(),this.registerHandlerImpl("meeting.liveStreamChanged",(e=>l.addEventListener("liveStreamChanged",e)),"eventDispatch.meeting.liveStreamChanged"),this.registerHandlerImpl("meeting.raiseHandStateChanged",(e=>l.addEventListener("raiseHandStateChanged",e)),"eventDispatch.meeting.raiseHandStateChanged"),this.registerHandlerImpl("meeting.speakingStateChanged",(e=>l.addEventListener("speakingStateChanged",e)),"eventDispatch.meeting.speakingStateChanged"),this.registerHandlerImpl("meeting.meetingReactionReceived",(e=>l.addEventListener("meetingReactionReceived",e)),"eventDispatch.meeting.meetingReactionReceived"),this.registerHandlerImpl("meeting.micStateChanged",(e=>l.addEventListener("micStateChanged",e)),"eventDispatch.meeting.micStateChanged"),this.registerHandlerImpl("meeting.audioDeviceSelectionChanged",(e=>l.addEventListener("audioDeviceSelectionChanged",e)),"eventDispatch.meeting.audioDeviceSelectionChanged")),c&&(c.clearListeners(),this.registerHandlerImpl("meetingRoom.meetingRoomCapabilitiesUpdate",(e=>c.addEventListener("meetingRoomCapabilitiesUpdate",e)),"eventDispatch.meetingRoomCapabilitiesUpdate"),this.registerHandlerImpl("meetingRoom.meetingRoomStatesUpdate",(e=>c.addEventListener("meetingRoomStatesUpdate",e)),"eventDispatch.meetingRoomStatesUpdate")),p&&(p.clearListeners(),this.registerHandlerImpl("search.queryChange",(e=>p.addEventListener("queryChange",e)),"eventDispatch.search.queryChange"),this.registerHandlerImpl("search.queryClose",(e=>p.addEventListener("queryClose",e)),"eventDispatch.search.queryClose"),this.registerHandlerImpl("search.queryExecute",(e=>p.addEventListener("queryExecute",e)),"eventDispatch.search.queryExecute")),i){if(i.clearListeners(),this.registerHandlerImpl("fullScreenChange",(e=>i.addEventListener("fullScreenChange",e)),"eventDispatch.fullScreenChange"),this.registerHandlerImpl("focusEnter",(e=>i.addEventListener("focusEnter",(t=>{const r=t;r.data="boolean"!=typeof t.data?t.data:[t.data],e(r)}))),"eventDispatch.focusEnter",!0),i.appButtonService){const e=i.appButtonService;e.clearListeners(),this.registerHandlerImpl("appButtonClick",(t=>e.addEventListener("click",t)),"eventDispatch.appButtonClick"),this.registerHandlerImpl("appButtonHoverEnter",(t=>e.addEventListener("hoverEnter",t)),"eventDispatch.appButtonHoverEnter"),this.registerHandlerImpl("appButtonHoverLeave",(t=>e.addEventListener("hoverLeave",t)),"eventDispatch.appButtonHoverLeave")}if(i.configService){const e=i.configService;e.clearListeners(),this.registerHandlerImpl("changeSettings",(t=>e.addEventListener("changeSettings",t)),"eventDispatch.changeSettings"),e.addEventListener("settings.save",(e=>{this.logEventDispatchScenario("eventDispatch.settings.save"),this.appSdkHost.sendRequestMessage("settings.save",e.data?[e.data]:[])})),e.addEventListener("settings.remove",(e=>{this.logEventDispatchScenario("eventDispatch.settings.remove"),this.appSdkHost.sendRequestMessage("settings.remove",e.data?[e.data]:[])}))}if(i.backStackService){const e=i.backStackService;e.clearListeners(),this.registerHandlerImpl("backButton",(t=>e.addEventListener("backButton",t)),"eventDispatch.backButtonPress",!1,{eventRaiseType:"backButtonPress"})}}d&&(d.clearListeners(),this.registerHandlerImpl("remoteCamera.capableParticipantsChange",(e=>d.addEventListener("capableParticipantsChange",e)),"eventDispatch.remoteCamera.capableParticipantsChange"),this.registerHandlerImpl("remoteCamera.handlerError",(e=>d.addEventListener("handlerError",e)),"eventDispatch.remoteCamera.handlerError"),this.registerHandlerImpl("remoteCamera.deviceStateChange",(e=>d.addEventListener("deviceStateChange",e)),"eventDispatch.remoteCamera.deviceStateChange"),this.registerHandlerImpl("remoteCamera.sessionStatusChange",(e=>d.addEventListener("sessionStatusChange",e)),"eventDispatch.remoteCamera.sessionStatusChange")),s&&this.registerHandlerImpl("video.mediaStream.audioInferenceDiscardStatusChange",(e=>s.addEventListener("audioInferenceDiscardStatusChange",e)),"eventDispatch.video.mediaStream.audioInferenceDiscardStatusChange"),m&&(m.clearListeners(),this.registerHandlerImpl("shortcutRelay.hostShortcutChanged",(e=>{m.addEventListener("hostShortcutChanged",e)}),"eventDispatch.shortcutRelay.hostShortcutChanged")),f&&(0,u.wr)(this.appSdkHost.getAppDefinition())&&this.registerHandlerImpl("otherApp.install",(e=>f.addEventListener("install",e)),"eventDispatch.otherApp.install"),this.registerHandlerImpl("load",(e=>{}),"eventDispatch.load"),this.registerHandlerImpl("beforeUnload",(e=>{}),"eventDispatch.beforeUnload"),this.registeredHandlers.set("currentFreeMemoryInMb",(()=>{null==r||r.addEventListener("currentFreeMemoryInMb",(e=>{var t;this.logEventDispatchScenario("eventDispatch.currentFreeMemoryInMb"),null===(t=null==n?void 0:n.auditAndRemoveCachedApps)||void 0===t||t.call(n,{currentFreeMemoryInMb:e.data,currentMemoryUsageInMb:void 0})}))})),this.registeredHandlers.set("hostMemoryConsumptionInMb",(()=>{null==r||r.addEventListener("hostMemoryConsumptionInMb",(e=>{var t;this.logEventDispatchScenario("eventDispatch.hostMemoryConsumptionInMb"),null===(t=null==n?void 0:n.auditAndRemoveCachedApps)||void 0===t||t.call(n,{currentMemoryUsageInMb:e.data,currentFreeMemoryInMb:void 0})}))})),this.registeredHandlers.set("removeAppFromCache",(()=>{null==r||r.addEventListener("removeAppFromCache",(()=>{var e;this.logEventDispatchScenario("eventDispatch.removeAppFromCache");try{const e=this.appSdkHost.getCacheablePageInfo();null==n||n.removeAppFromCache(e,k.Wt.HostExplicitRemoval)}catch(t){this.appSdkHost.getLogger().log(a.$.Error,"RegisterHandlerMessageHandler",t),console.error("failed to remove app from cache",null===(e=this.appDefinition)||void 0===e?void 0:e.id)}}))}))}initHandlers(){var e,t,r;this.registerHandler(k.tz.registerHandler,((e,t,r)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return r&&(this.userSettings=r),this.isValidRegistrationType(t)&&(this.registeredHandlers.get(t)(),this.appSdkHost.saveCacheableRegistrationState(t,this.userSettings)),s.f1})))),this.cacheabilityDataService&&(null===(e=this.registeredHandlers.get("currentFreeMemoryInMb"))||void 0===e||e(),null===(t=this.registeredHandlers.get("hostMemoryConsumptionInMb"))||void 0===t||t(),null===(r=this.registeredHandlers.get("removeAppFromCache"))||void 0===r||r()),this.bootstrapRegistrationState&&this.runRegisteredHandlers(this.bootstrapRegistrationState)}isValidRegistrationType(e){return this.registeredHandlers.has(e)}runRegisteredHandlers(e){var t,r;let n;try{for(n in e)this.registeredHandlers.has(n)&&((0,T.x7)(n)&&(null===(t=e.userSettingsChange)||void 0===t?void 0:t.userSettingTypes)&&(this.userSettings=e.userSettingsChange.userSettingTypes),null===(r=this.registeredHandlers.get(n))||void 0===r||r())}catch(e){this.appSdkHost.getLogger().log(a.$.Error,"RegisterHandlerMessageHandler","failed to run registered handlers")}}registerHandlerImpl(e,t,r,n=!1,i){if(this.registeredHandlers.has(e))throw new Error("handler already registered");this.registeredHandlers.set(e,(()=>{var o,a,l;if((null==i?void 0:i.isRestrictedToFullTrustApps)&&!(null===(o=this.appSdkHost.getAppDefinition())||void 0===o?void 0:o.isFullTrust))throw(0,s.jC)(v.O4.INTERNAL_ERROR,k.u);if((null==i?void 0:i.isRestrictedToMicrosoftOwnedOrFullTrustApps)&&!(null===(a=this.appSdkHost.getAppDefinition())||void 0===a?void 0:a.isFullTrust)&&!(null===(l=this.appSdkHost.getAppDefinition())||void 0===l?void 0:l.isMicrosoftOwned))throw(0,s.jC)(v.O4.INTERNAL_ERROR,k.u);t((t=>{var o;this.logEventDispatchScenario(r),n||null==t.data||(t.data=[t.data]),this.appSdkHost.sendRequestMessage(null!==(o=null==i?void 0:i.eventRaiseType)&&void 0!==o?o:e,t.data?t.data:[])}))}))}logEventDispatchScenario(e){var t;const r=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario(e,void 0,void 0,"unknown");null==r||r.stop()}cleanup(){var e,t,r,n,i,o,a,s,l,c,u,d,p,f,h,g,m,v,y,b,w,S,C,A,x,k,E,_,I,P;this.userSettings=[],null===(e=this.cacheabilityDataService)||void 0===e||e.clearListeners(),null===(r=null===(t=this.pageService)||void 0===t?void 0:t.clearListeners)||void 0===r||r.call(t),null===(i=null===(n=this.logService)||void 0===n?void 0:n.clearListeners)||void 0===i||i.call(n),null===(a=null===(o=this.mediaStreamService)||void 0===o?void 0:o.clearListeners)||void 0===a||a.call(o),null===(l=null===(s=this.meetingService)||void 0===s?void 0:s.clearListeners)||void 0===l||l.call(s),null===(u=null===(c=this.meetingRoomService)||void 0===c?void 0:c.clearListeners)||void 0===u||u.call(c),null===(p=null===(d=this.remoteCameraService)||void 0===d?void 0:d.clearListeners)||void 0===p||p.call(d),null===(h=null===(f=this.searchService)||void 0===f?void 0:f.clearListeners)||void 0===h||h.call(f),null===(m=null===(g=this.otherAppStateChangeService)||void 0===g?void 0:g.clearListeners)||void 0===m||m.call(g),null===(y=null===(v=this.copilotSidePanelService)||void 0===v?void 0:v.clearListeners)||void 0===y||y.call(v),(null===(b=this.pageService)||void 0===b?void 0:b.appButtonService)&&(null===(S=(w=this.pageService.appButtonService).clearListeners)||void 0===S||S.call(w)),(null===(C=this.pageService)||void 0===C?void 0:C.configService)&&(null===(x=(A=this.pageService.configService).clearListeners)||void 0===x||x.call(A)),(null===(k=this.pageService)||void 0===k?void 0:k.backStackService)&&(null===(_=(E=this.pageService.backStackService).clearListeners)||void 0===_||_.call(E)),null===(P=null===(I=this.shortcutRelayService)||void 0===I?void 0:I.clearListeners)||void 0===P||P.call(I),this.registeredHandlers.clear()}}const mr={dependentHubServiceSelector:e=>e.remoteCameraService,messageHandlerFactory:(e,t,r)=>new vr(e,r,t)};class vr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.remoteCameraService=r}initHandlers(){this.registerHandler(k.tz.remoteCamera.getCapableParticipants,(()=>(0,s.N8)(null,this.remoteCameraService.getCapableParticipants)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.remoteCamera.getCapableParticipants,e,t)}),this.registerHandler(k.tz.remoteCamera.requestControl,((e,t)=>(0,s.N8)(t,this.remoteCameraService.requestControl)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.remoteCamera.requestControl,e,t)}),this.registerHandler(k.tz.remoteCamera.sendControlCommand,((e,t)=>(0,s.JA)(this.remoteCameraService.sendControlCommand,t)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.remoteCamera.sendControlCommand,e,t)}),this.registerHandler(k.tz.remoteCamera.terminateSession,(()=>(0,s.JA)(this.remoteCameraService.terminateSession)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.remoteCamera.terminateSession,e,t)})}}const yr={dependentHubServiceSelector:e=>e.searchService,messageHandlerFactory:(e,t,r)=>new br(e,r,t)};class br extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.searchService=r}initHandlers(){this.registerHandler(k.tz.search.unregister,(e=>(this.searchService.clearListeners(),Promise.resolve(s.f1))),{}),this.registerHandler(k.tz.search.closeSearch,(e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.searchService.closeSearch(),(0,s.PR)([!0])}))),{errorCallback:(e,t)=>(0,s.M5)(k.tz.search.closeSearch,e,t)})}}const wr={dependentHubServiceSelector:e=>e.sharingService,messageHandlerFactory:(e,t,r)=>new Sr(e,r,t)};class Sr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.sharingService=r}initHandlers(){this.registerHandler(k.tz.sharing.shareWebContent,((e,t)=>(0,s.JA)(this.sharingService.shareWebContent,t)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.sharing.shareWebContent,e,t)}),this.registerHandler(k.tz.sharing.history.getContent,(()=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.sharingService.historyService.getContent();return(0,s.PR)([null,e])}))),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.sharing.history.getContent,e,t)})}}class Cr{constructor(e){this.result=e}serialize(){return this.result}}class Ar extends fe{implementation(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return new Cr(yield this.linkedServices.shortcutRelayService.getHostShortcuts())}))}handleErrors(e){return(0,s.Sw)(e)}}class xr extends fe{implementation([e]){return(0,n.__awaiter)(this,void 0,void 0,(function*(){this.linkedServices.shortcutRelayService.forwardShortcutEvent(e)}))}handleErrors(e){return(0,s.Sw)(e)}}var kr;!function(e){e.modal="modal",e.popout="popout",e.popoutWithChat="popoutWithChat"}(kr||(kr={}));const Er={dependentHubServiceSelector:e=>e.stageViewService,messageHandlerFactory:(e,t,r)=>new _r(e,r,t)};class _r extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.stageViewService=r}initHandlers(){this.registerHandler(k.tz.stageView.open,((e,t)=>(0,s.N8)(t,this.stageViewService.open)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.stageView.open,e,t)})}}class Ir{constructor(e,t){this.stageViewService=e,this.logger=t}tryGetDataFromLink(e){var t;if(!this.stageViewService)return null;if(e.origin!=T.sB)return null;const r=e.pathname.match(Ir.STAGE_VIEW_URL_REGEX);if(!r)return null;const n=r[1],i=e.searchParams.get("context");if(!i)return null;let o;try{o=JSON.parse(i)}catch(e){return null===(t=this.logger)||void 0===t||t.log(a.$.Error,"StageViewLegacyLinkHandler","There is an error parsing the URL",e),null}const s=o.contentUrl;if(!s)return null;const l=o.title||void 0;return{appId:n,contentUrl:s,threadId:o.threadId||void 0,title:l,websiteUrl:o.websiteUrl||void 0,entityId:o.entityId||void 0,openMode:o.openMode in kr?o.openMode:void 0,messageId:o.messageId||void 0}}executeData(e){return this.stageViewService.open(e)}}Ir.STAGE_VIEW_URL_REGEX=/^\/l\/stage\/([^\/]+)\/?0$/;class Pr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.stageViewSelfService=r}initHandlers(){this.registerHandler(k.tz.stageView.self.close,(e=>(0,s.N8)(null,this.stageViewSelfService.close)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.stageView.self.close,e,t)})}}const Tr=(0,s.jC)(v.O4.INTERNAL_ERROR,"Invalid store dialog size"),Br={dependentHubServiceSelector:e=>e.storeService,messageHandlerFactory:(e,t,r)=>new Rr(e,r,t)},Dr=e=>"string"==typeof e,Nr=e=>Array.isArray(e)&&e.every(Dr);class Rr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.storeService=r}initHandlers(){this.registerHandler(k.tz.store.openAppDetail,this.handleAppDetailDialog,{isRestrictedToMicrosoftOwnedOrFullTrustApps:!0,errorCallback:(e,t)=>(0,s.eZ)(k.tz.store.openAppDetail,e,t)}),this.registerHandler(k.tz.store.openFullStore,this.handleFullStore,{isRestrictedToMicrosoftOwnedOrFullTrustApps:!0,errorCallback:(e,t)=>(0,s.eZ)(k.tz.store.openFullStore,e,t)}),this.registerHandler(k.tz.store.openInContextStore,this.handleInContextStoreDialog,{isRestrictedToMicrosoftOwnedOrFullTrustApps:!0,errorCallback:(e,t)=>(0,s.eZ)(k.tz.store.openInContextStore,e,t)}),this.registerHandler(k.tz.store.openSpecificStore,this.handleSpecificStoreDialog,{isRestrictedToMicrosoftOwnedOrFullTrustApps:!0,errorCallback:(e,t)=>(0,s.eZ)(k.tz.store.openSpecificStore,e,t)})}handleAppDetailDialog(e,t,r){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(!r)throw(0,s.jC)(v.O4.INVALID_ARGUMENTS,"appId is required for AppDetail dialog");const e=t?this.parseAndValidateDialogSize(t):void 0;return yield this.storeService.openAppDetail({appId:new Re.l(r),size:e}),(0,s.PR)()}))}handleFullStore(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=t?this.parseAndValidateDialogSize(t):void 0;return yield this.storeService.openFullStore({size:e}),(0,s.PR)()}))}handleInContextStoreDialog(e,t,r,i,o,a){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(void 0!==r&&!Dr(r))throw(0,s.jC)(v.O4.INVALID_ARGUMENTS,"invalid appCapability.");if(void 0!==i&&!Nr(i))throw(0,s.jC)(v.O4.INVALID_ARGUMENTS,"invalid appMetaCapabilities.");if(void 0!==o&&!Dr(o))throw(0,s.jC)(v.O4.INVALID_ARGUMENTS,"invalid installationScope.");if(void 0!==a&&!Nr(a))throw(0,s.jC)(v.O4.INVALID_ARGUMENTS,"invalid filteredOutAppIds.");const e=t?this.parseAndValidateDialogSize(t):void 0,n={appCapability:r,appMetaCapabilities:i,installationScope:o,filteredOutAppIds:null==a?void 0:a.map((e=>new Re.l(e))),size:e};return yield this.storeService.openInContextStore(n),(0,s.PR)()}))}handleSpecificStoreDialog(e,t,r){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(!r)throw(0,s.jC)(v.O4.INVALID_ARGUMENTS,"collectionId is required for SpecificStore dialog");const e=t?this.parseAndValidateDialogSize(t):void 0;return yield this.storeService.openSpecificStore({collectionId:r,size:e}),(0,s.PR)()}))}parseAndValidateDialogSize(e){const t=JSON.parse(e),{width:r,height:n}=t||{};if("number"==typeof r&&r<0)throw Tr;if("number"==typeof n&&n<0)throw Tr;return{width:r,height:n}}}class Or extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.joinedTeamsService=r}initHandlers(){this.registerHandler(k.tz.teams.fullTrust.joinedTeams.getUserJoinedTeams,((e,t)=>(0,s.JA)(this.joinedTeamsService.getUserJoinedTeams,t)),{isRestrictedToFullTrustApps:!0})}validateDependencies(){if(!this.joinedTeamsService)throw"No joinedTeamsService provided"}}class zr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.fullTrustService=r}initHandlers(){this.registerHandler(k.tz.teams.fullTrust.getConfigSetting,((e,t)=>(0,s.JA)(this.fullTrustService.getConfigSetting,t)),{isRestrictedToFullTrustApps:!0})}validateDependencies(){if(!this.fullTrustService)throw"No fullTrustService provided"}}const Mr={dependentHubServiceSelector:e=>e.teamsService,messageHandlerFactory:(e,t,r)=>new Fr(e,r,t)};class Fr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.teamsService=r}initHandlers(){this.registerHandler(k.tz.teams.getTeamChannels,((e,t)=>(0,s.N8)(t,this.teamsService.getTeamChannels)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.teams.getTeamChannels,e,t),isRestrictedToFullTrustApps:!1}),this.registerHandler(k.tz.teams.refreshSiteUrl,((e,t)=>(0,s.N8)(t,this.teamsService.refreshSiteUrl)),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.teams.refreshSiteUrl,e,t),isRestrictedToFullTrustApps:!1})}}const Lr={dependentHubServiceSelector:e=>e.thirdPartyCloudStorageService,messageHandlerFactory:(e,t,r)=>new jr(e,r,t)};class jr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.thirdPartyCloudStorageService=r}initHandlers(){this.registerHandler(k.tz.thirdPartyCloudStorageService.getDragAndDropFiles,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this.thirdPartyCloudStorageService.getDragAndDropFiles(t,(t=>this.callGetDragAndDropFiles((0,M.Yj)(e.data),t))),s.f1}))),{errorCallback:(e,t)=>(0,s.eZ)(k.tz.thirdPartyCloudStorageService.getDragAndDropFiles,e,t)})}callGetDragAndDropFiles(e,t){return t.fileChunk?(t.fileChunk.chunkSequence>0?this.appSdkHost.postResponseToApp(e,[t],!0):this.appSdkHost.postResponseToApp(e,[t],!1),Promise.resolve()):Promise.reject("Received an empty file chunk from the host")}}class Vr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.mediaStreamService=r}initHandlers(){this.registerHandler(k.tz.video.mediaStream.registerForVideoFrame,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.mediaStreamService.addEventListener("setFrameProcessTimeLimit",(e=>{this.appSdkHost.sendRequestMessage(k.tz.video.setFrameProcessTimeLimit,[e.data])})),(yield this.mediaStreamService.registerForVideoFrame(t))&&this.mediaStreamService.addEventListener("mediaStreamChangedEvent",(e=>{const{streamId:t,metadataInTexture:r}=e.data;t&&this.appSdkHost.sendRequestMessage(k.tz.video.startVideoExtensibilityVideoStream,[{streamId:t,metadataInTexture:r}])})),s.f1}))))}validateDependencies(){if(!this.mediaStreamService)throw new Error("No mediaStreamService provided")}}var Hr,qr,Ur;!function(e){e.EffectChanged="EffectChanged",e.EffectDisabled="EffectDisabled"}(Hr||(Hr={})),function(e){e.Fatal="fatal",e.Warn="warn"}(qr||(qr={})),function(e){e.NV12="NV12"}(Ur||(Ur={}));const $r={dependentHubServiceSelector:e=>e.videoExtensibilityService,messageHandlerFactory:(e,t,r)=>new Wr(e,r,t)};class Wr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.videoExtensibilityService=r}initHandlers(){this.registerHandler(k.tz.video.registerForVideoEffect,(e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.videoExtensibilityService.addEventListener("videoEffectToApply",(e=>{const t=[e.data.effectId];e.data.effectParameter&&t.push(e.data.effectParameter),this.appSdkHost.sendRequestMessage(k.tz.video.effectParameterChange,t)})),this.videoExtensibilityService.registerForVideoEffect(),s.f1})))),this.registerHandler(k.tz.video.videoEffectChanged,((e,t,r,i)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.videoExtensibilityService.videoEffectPickedInVideoApp(t,r,i),s.f1})))),this.registerHandler(k.tz.video.videoEffectReadiness,((e,t,r,i,o)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.videoExtensibilityService.setVideoEffectAppliedResult(t,r,i,o),s.f1})))),this.registerHandler(k.tz.video.personalizedEffectsChanged,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.videoExtensibilityService.personalizedEffectsChanged(t),s.f1})))),this.registerHandler(k.tz.video.notifyError,((e,t,r)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.videoExtensibilityService.notifyError(t,r||qr.Warn),s.f1})))),this.registerHandler(k.tz.video.performance.firstFrameProcessed,((e,t,r,i)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid firstFrameProcessed timestamp");return this.videoExtensibilityService.firstFrameProcessed(parseInt(t),r,i),s.f1})))),this.registerHandler(k.tz.video.performance.frameProcessingSlow,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.videoExtensibilityService.frameProcessingSlow(t),s.f1})))),this.registerHandler(k.tz.video.performance.performanceDataGenerated,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.videoExtensibilityService.performanceDataGenerated(t),s.f1})))),this.registerHandler(k.tz.video.performance.textureStreamAcquired,((e,t,r)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.videoExtensibilityService.textureStreamAcquired(t,r),s.f1}))))}validateDependencies(){if(!this.videoExtensibilityService.mediaStreamService&&!this.videoExtensibilityService.sharedFrameService)throw new Error("Either mediaStreamService or sharedFrameService should be provided")}}class Gr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.sharedFrameService=r}initHandlers(){this.registerHandler(k.tz.video.sharedFrame.registerForVideoFrame,((e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.sharedFrameService.addEventListener("setFrameProcessTimeLimit",(e=>{this.appSdkHost.sendRequestMessage(k.tz.video.setFrameProcessTimeLimit,[e.data])})),(yield this.sharedFrameService.registerForVideoFrame(t))&&this.sharedFrameService.addEventListener("ipcChangedEvent",(e=>{const{frameProcessedEventName:t,frameReadyEventName:r,sharedMemoryName:n}=e.data;this.appSdkHost.sendRequestMessage(k.tz.video.videoExtensibilityIpcChangedEvent,[{frameProcessedEventName:t,frameReadyEventName:r,sharedMemoryName:n}])})),s.f1}))))}validateDependencies(){if(!this.sharedFrameService)throw new Error("No sharedFrameService provided")}}const Kr={dependentHubServiceSelector:e=>e.webStorageService,messageHandlerFactory:(e,t,r)=>new Xr(e,r,t)};class Xr extends _.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.webStorageService=r}initHandlers(){this.registerHandler(k.tz.webStorage.isWebStorageClearedOnUserLogOut,(()=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return(0,s.PR)(yield this.webStorageService.isWebStorageClearedOnUserLogOut())}))),{errorCallback:(e,t)=>(0,s.M5)(k.tz.webStorage.isWebStorageClearedOnUserLogOut,e,t)})}}const Yr=[I,B,j,q,W,Y,Q,ne,oe,Ke,Oe,st,et,nt,ut,pt,mt,kt,It,Rt,zt,Lt,Vt,$t,Kt,Zt,er,nr,lr,ur,pr,mr,yr,wr,Er,Br,Mr,Lr,$r,Kr],Jr=[class extends ge{withServices(e){var t;return!!(null===(t=e.copilotService)||void 0===t?void 0:t.viewService)&&(this.linkedServices={copilotViewService:e.copilotService.viewService},!0)}canHandleMessage(e){return super.canHandleMessage(e)&&(0,u.wr)(this.appSdkHost.getAppDefinition())}initializeAppFunctions(){this.registerAppFunction(k.tz.copilot.view.closeSidePanel,me)}},class extends ge{withServices(e){return!(!e.locationService||!e.devicePermissionService||(this.linkedServices={locationService:e.locationService,devicePermissionService:e.devicePermissionService},0))}initializeAppFunctions(){this.registerAppFunction(k.tz.location.getCurrentLocation,At),this.registerAppFunction(k.tz.location.map.showLocation,xt)}},class extends ge{withServices(e){return!!e.shortcutRelayService&&(this.linkedServices={shortcutRelayService:e.shortcutRelayService},!0)}initializeAppFunctions(){this.registerAppFunction(k.tz.shortcutRelay.getHostShortcuts,Ar),this.registerAppFunction(k.tz.shortcutRelay.forwardShortcutEvent,xr)}}];class Zr extends $.B{constructor(e,t,r,n,i,o,a,s){var l,c,u,d,p,f,h,g,m,v,y,b,w,S,C,A,x,k,_;super(e),this.appSdkHost=e,this.hubServices=t,this.telemetryService=r,this.messageHandlers=[];const I=new yt([new N(t.appInstallDialogService),new wt(t.pageService),new K(t.calendarService),new Z(t.callService),new te(t.chatService),new Ir(t.stageViewService,e.getLogger())]);for(const n of Yr)if(void 0!==n.dependentHubServiceSelector){const i=n.dependentHubServiceSelector(t);void 0!==i&&this.messageHandlers.push(n.messageHandlerFactory(e,i,r))}else this.messageHandlers.push(n.messageHandlerFactory(e,r));for(const n of Jr){const i=new n(e,r);i.withServices(t)&&this.messageHandlers.push(i)}this.messageHandlers.push(new bt(e,r,t.linkService,I)),this.messageHandlers.push((0,E.n)(e,t,r,i,o,a,s)),this.messageHandlers.push(new gr(e,r,null===(l=t.lifecycleService)||void 0===l?void 0:l.cacheabilityDataService,t.cacheManagementService,t.pageService,t.logService,null===(c=t.videoExtensibilityService)||void 0===c?void 0:c.mediaStreamService,t.meetingService,t.meetingRoomService,t.remoteCameraService,t.searchService,t.otherAppStateChangeService,n,null===(u=t.copilotService)||void 0===u?void 0:u.sidePanelService,t.shortcutRelayService)),this.messageHandlers.push(new ye(e,r,null===(d=t.copilotService)||void 0===d?void 0:d.customTelemetryService)),this.messageHandlers.push(new se(e,r,null===(p=t.copilotService)||void 0===p?void 0:p.eligibilityService)),this.messageHandlers.push(new ce(e,r,null===(f=t.copilotService)||void 0===f?void 0:f.sidePanelService)),this.messageHandlers.push(new gt(e,r,null===(h=t.hostEntityService)||void 0===h?void 0:h.tabService)),this.messageHandlers.push(new Pr(e,r,null===(g=t.stageViewService)||void 0===g?void 0:g.selfService)),this.messageHandlers.push(new or(e,r,null===(m=t.pageService)||void 0===m?void 0:m.tabsService)),this.messageHandlers.push(new rr(e,r,null===(v=t.pageService)||void 0===v?void 0:v.configService)),this.messageHandlers.push(new sr(e,r,null===(y=t.pageService)||void 0===y?void 0:y.fullTrustService)),this.messageHandlers.push(new ar(e,r,null===(b=t.pageService)||void 0===b?void 0:b.backStackService)),this.messageHandlers.push(new zr(e,r,null===(w=t.teamsService)||void 0===w?void 0:w.fullTrustService)),this.messageHandlers.push(new Or(e,r,null===(C=null===(S=t.teamsService)||void 0===S?void 0:S.fullTrustService)||void 0===C?void 0:C.joinedTeamsService)),this.messageHandlers.push(new Se(e,r,t.dialogService,i)),this.messageHandlers.push(new Ce(e,r,null===(A=t.dialogService)||void 0===A?void 0:A.updateService)),this.messageHandlers.push(new _t(e,r,null===(x=t.mailService)||void 0===x?void 0:x.handoffService)),this.messageHandlers.push(new qt(e,r,t.messageChannelsService)),this.messageHandlers.push(new Ut(e,r,t.messageChannelsService)),this.messageHandlers.push(new Vr(e,r,null===(k=t.videoExtensibilityService)||void 0===k?void 0:k.mediaStreamService)),this.messageHandlers.push(new Gr(e,r,null===(_=t.videoExtensibilityService)||void 0===_?void 0:_.sharedFrameService)),this.messageHandlers.forEach((e=>e.initHandlers()))}tryCustomProcessing(e){return this.hubServices.customMessageService?this.hubServices.customMessageService.tryProcessMessage(e,this.appSdkHost.postMessageToFrame.bind(this.appSdkHost)):super.tryCustomProcessing(e)}}var Qr=r(3278),en=r(6750);class tn extends en.X{constructor(e,t,r,i,o,l,c,d,f=!1,h){var g;super(e,r,i.authenticationService,i.logger,i.telemetryService,o),this.hostWindow=e,this.communicationBridge=t,this.context=r,this.hubServices=i,this.onAppInitStateChanged=o,this.hostVersionsInfo=l,this.isNAAChannelRecommended=c,this.hostInsecureOrigins=d,this.isCachedLaunch=f,this.iframeIdSuffix=h,this.isMetaOSMounted=!1,this.getIsCachedLaunch=()=>this.isCachedLaunch,this.getAppDefinition=()=>this.appDefinition,this.getOrigin=()=>this.communicationBridge.getOrigin(),this.getDisplayName=()=>{var e,t;return(null===(e=this.context.page.config)||void 0===e?void 0:e.instanceId)?null===(t=this.context.page.config)||void 0===t?void 0:t.displayName:this.appDefinition&&(0,T.L9)(this.appDefinition,this.context.page.id)},this.prefetchAuthToken=(e,t)=>(0,n.__awaiter)(this,void 0,void 0,(function*(){var r;const n=null===(r=this.telemetryService)||void 0===r?void 0:r.createScenario("preFetchAuthToken",null==t?void 0:t.id,void 0,"no_value");if(this.hubServices.authenticationService)try{const r=(0,u.T3)(t,e);if(r&&(0,u.fc)(r))return yield this.hubServices.authenticationService.acquireToken(r,void 0,!0),null==n||n.stop(),!0}catch(e){const t="Unable to prefetch token via authentication service: "+(0,s.oE)(e);this.getLogger().log(a.$.Error,"prefetchAuthToken",t,e),null==n||n.fail(t)}else{const e="Cancelled since authenticationService is not available";this.getLogger().log(a.$.Error,"prefetchAuthToken",e),null==n||n.fail(e)}return!1})),this.urlToLoad=e=>e,this.setAppInitInfo=e=>{this.checkIfCacheableAndInvoke((t=>{var r;null===(r=this.hubServices.cacheManagementService)||void 0===r||r.setAppState(t,e)})),this.onAppInitStateChanged&&this.onAppInitStateChanged(e)},this.loadCacheableRegistrationState=()=>{if(!this.hubServices.cacheManagementService)return;const e=this.getCacheablePageInfo();return e&&this.hubServices.cacheManagementService.loadBootstrapRegistrationState(e)},this.saveCacheableRegistrationState=(e,t)=>{this.checkIfCacheableAndInvoke((r=>{var n;null===(n=this.hubServices.cacheManagementService)||void 0===n||n.saveBootstrapRegistrationState(r,(0,T.YF)(e,t))}))},this.checkIfCachedAndRequestAllowed=e=>{if(!this.hubServices.cacheManagementService||!this.hubServices.cacheManagementService.isCachedAndAllowRequest)return!0;const t=this.getCacheablePageInfo();return!t||this.hubServices.cacheManagementService.isCachedAndAllowRequest(t,e)},this.unloadCachedApp=e=>{const t=this.hubServices.cacheManagementService;(null==t?void 0:t.shouldTriggerUnload(e))?(null==t||t.setAppState(e,{state:v.Jz.Unloading}),this.sendRequestMessage("beforeUnload")):null==t||t.setAppState(e,{state:v.Jz.Unloaded})},this.disposeBridge=()=>{var e,t;!(0,y.eZ)().disableDebuggingTelemetryToAria&&p(this.telemetryService,this.communicationBridge.id,null===(e=this.appDefinition)||void 0===e?void 0:e.id),this.getLogger().log(a.$.Debug,"disposeBridge",`Disposing communication bridge. AppDefId: ${null===(t=this.appDefinition)||void 0===t?void 0:t.id}, CommunicationBridgeId: ${this.communicationBridge.id}`),this.communicationBridge.dispose()},this.checkIfCacheableAndInvoke=(e,t)=>{if(this.hubServices.cacheManagementService){const r=this.getCacheablePageInfo();r?e(r):null==t||t()}else null==t||t()},this.getCacheablePageInfo=()=>{var e,t,r;return this.appDefinition?(0,y.eZ)().enableSuffixAppendForIframeId?{appId:this.appDefinition.id,entityId:this.context.page.id,displayName:this.getDisplayName(),instanceId:null===(e=this.context.page.config)||void 0===e?void 0:e.instanceId,contentUrl:this.getOrigin(),frameContext:this.getFrameContext(),renderingSurface:this.getRenderingSurface(),userId:null===(t=this.iframeIdSuffix)||void 0===t?void 0:t.userId}:{appId:this.appDefinition.id,entityId:this.context.page.id,displayName:this.getDisplayName(),instanceId:null===(r=this.context.page.config)||void 0===r?void 0:r.instanceId,contentUrl:this.getOrigin(),frameContext:this.getFrameContext(),renderingSurface:this.getRenderingSurface()}:void 0},this.loadSDK(),this.initializeAuthenticationContext(r),!(0,y.eZ)().disableDebuggingTelemetryToAria&&this.createTelemetryScenarioForWebContentSdkCreated(!!t.onSdkInitialized,this.communicationBridge.id),null===(g=this.getLogger())||void 0===g||g.log(a.$.Info,"WebContentSdkService created",`WebContentSdkService:  isSdkInitialized: ${!!t.onSdkInitialized}, CommunicationBridgeId: ${this.communicationBridge.id}`)}setFrameAndLoadOrigin(e,t,r,i,o,s){var l,c;return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{let n,u=!1;(0,y.eZ)().recreateCommBridgeListenersBeforeLoadingApp&&(null===(c=(l=this.communicationBridge).onSdkInitialized)||void 0===c||c.call(l,this.hostWindow),u=!0),(0,Qr.e5)(Qr.Ct.Start,Qr.Z1.IframeSetAndLoadOrigin),this.getLogger().log(a.$.Info,"setFrameAndLoadOrigin called",`CommBridgeListenersAdded: ${u}, AppDefinition: ${JSON.stringify(r)}, UserClickTime: ${i}, UsingCachedApp: ${o}, UserClickTimeV2: ${s}, CommunicationBridgeId: ${this.communicationBridge.id}`),!(0,y.eZ)().disableDebuggingTelemetryToAria&&this.createTelemetryScenarioForSetFrameAndLoadOrigin(u,r,i,o,s,this.communicationBridge.id),this.isCachedLaunch=null!=o?o:this.isCachedLaunch,this.appDefinition=r,this.setAppInitInfo({state:v.Jz.Loading}),this.setInitialized(this.isCachedLaunch),this.telemetryService.setAppDefinition(r),this.telemetryService.setUsingCachedApp(this.isCachedLaunch),this.frame=e,this.setUserClickTime(i),s&&this.setUserClickTimeV2(s),this.messageProcessor&&this.messageProcessor.cleanup(),this.isCachedLaunch&&(n=this.loadCacheableRegistrationState(),this.communicationBridge.onSdkInitialized&&this.communicationBridge.onSdkInitialized(this.hostWindow));const d=yield this.getAppContext();this.prefetchAuthToken(d,r);const p=new Le(this.hostInsecureOrigins,this.getAppInitializationScenario());this.messageProcessor=new Zr(this,this.hubServices,this.telemetryService,n,this.hostVersionsInfo,this.isCachedLaunch,this.isNAAChannelRecommended,p),this.load(t,d,this.isCachedLaunch)}catch(e){this.getLogger().log(a.$.Debug,"setFrameAndLoadOrigin",`Error occurred while loading origin: ${t}`),this.getLogger().log(a.$.Error,"setFrameAndLoadOrigin","An error occurred while loading URL",e),this.handleAppLoadFailure(e)}(0,Qr.e5)(Qr.Ct.End,Qr.Z1.IframeSetAndLoadOrigin),(0,Qr.e5)(Qr.Ct.End,Qr.Z1.OverallAppLoadTimeBeforeInitialize)}))}handleAppLoadFailure(e){var t,r;let n,i;e===k.jp?(n=k.Af.Validation_InvalidDomains,i=k.jp):(n=k.Af.Validation,i=k.Si),null===(t=this.getAppInitializationScenario())||void 0===t||t.fail(n,i),this.setAppInitInfo({state:v.Jz.Failed,reason:n}),null===(r=this.messageProcessor)||void 0===r||r.cleanup()}sendRequestMessage(e,t){if(this.getOrigin()&&this.frame){const r={func:e,args:t,monotonicTimestamp:(0,F.So)()};this.communicationBridge.postMessage(this.frame,r)}}sendResponseMessage(e,t,r,n,i,o){if(this.getOrigin()){const a={id:t,uuidAsString:null==r?void 0:r.toString(),args:n,isPartialResponse:i,origin:this.getOrigin(),monotonicTimestamp:(0,F.So)()};o?this.communicationBridge.postMessageWithTransferables(e,a,o):this.communicationBridge.postMessage(e,a)}}sendResponseMessageToNestedIframe(e,t,r,n,i){const o={id:e,uuidAsString:null==r?void 0:r.toString(),args:n,isPartialResponse:i,origin:t.origin,monotonicTimestamp:(0,F.So)()};this.communicationBridge.postMessageToNestedIframe(o,t)}setOrigin(e,t){this.communicationBridge.setOrigin(e,t)}postResponseToApp(e,t,r,n){if(this.frame){const i=je(e);this.sendResponseMessage(this.frame,i.id,i.uuid,t,r,n)}}postDeeplyNestedResponseToApp(e,t,r,n){const i=je(e);this.sendResponseMessageToNestedIframe(i.id,t,i.uuid,r,n)}postMessageToFrame(e){this.frame&&this.communicationBridge.postMessage(this.frame,e)}handleMessage(e){if(!this.messageProcessor)throw new Error("Unable to handle message. Undefined message processor");e.isDeeplyNestedRequest?this.messageProcessor.processForDeeplyNestedRequest(e):this.messageProcessor.process(e)}load(e,t,r=!1){if(!this.isMetaOSMounted)return;let n;this.frame&&this.appDefinition&&this.communicationBridge.onSetFrameAndLoadOrigin(this.frame,e,this.appDefinition,t,this.handleMessage.bind(this),r);try{n=(0,u.dA)(e,this.getLogger(),t,this.getAppDefinition())}catch(e){this.handleInvalidUrlError(t)}if(n&&this.frame)if(this.getLogger().log(a.$.Debug,"load",`origin: ${n}`),this.setOrigin(n,r),this.setAppInitInfo({state:v.Jz.WaitingForAppLoad}),r)this.sendRequestMessage("load",[{entityId:t.page.id,contentUrl:n}]);else{const e=new URL(n);this.frame.src=(0,u.Xl)(this.urlToLoad(e))}else this.handleInvalidUrlError(t)}handleInvalidUrlError(e){throw(0,y.eZ)().wildcardValidDomainRuleDetection&&this.getAppDefinition()&&(0,u.NJ)((0,u.I)(this.getAppDefinition(),e)).length>0?k.jp:k.Si}unloadApp(e,t="unknown"){var r;if(null===(r=this.messageProcessor)||void 0===r||r.cleanup(),this.hubServices.cacheManagementService){const e=this.getCacheablePageInfo();e&&this.unloadCachedApp(e)}else super.createTelemetryScenarioForAppTermination(e,t)}loadSDK(){this.isMetaOSMounted||(this.communicationBridge.onSdkInitialized&&this.communicationBridge.onSdkInitialized(this.hostWindow),this.isMetaOSMounted=!0)}unloadSDK(){var e;null===(e=this.messageProcessor)||void 0===e||e.cleanup(),this.isMetaOSMounted=!1,this.onAppInitStateChanged=void 0,this.hubServices.cacheManagementService||this.disposeBridge(),super.createTelemetryScenarioForUnloadSdk(this.communicationBridge.id)}getFrame(){return this.frame}}class rn{constructor(e,t,r,n){this.pageInfo=e,this.communicationBridge=t,this.frameInfo=r,this.bootstrapRegistrationState=n,this.currentAppState={state:v.Jz.Loading},this.unloadingTimeoutId=0,this.unloadingTimeoutDeferred=null}loadBootstrapRegistrationState(){return this.bootstrapRegistrationState}saveBootstrapRegistrationState(e){this.bootstrapRegistrationState=Object.assign(Object.assign({},this.bootstrapRegistrationState),e)}isCached(){return this.currentAppState.state===v.Jz.Cached}}class nn{constructor(e){this.constraintsService=e,this.removeLeastRecentlyUsedAppIf=(e,t,r)=>{if(t){const t=e.shift();if(t&&t.currentAppState.state===v.Jz.Cached)return{app:t,reason:r}}}}determineAppsToRemoveBasedOnConstraints(e,t,r){const n=e.filter((e=>this.hasAppExceededMaxLifetime(e.pageInfo)));if(n.length>0){const e=n.shift();return e?[{app:e,reason:k.Wt.AppExpiration}]:[]}const i=this.removeLeastRecentlyUsedAppIf(e,void 0!==t&&!this.isFreeMemoryAboveMinimum(t),k.Wt.FreeMemoryUnderMinimum)||this.removeLeastRecentlyUsedAppIf(e,void 0!==r&&!this.isMemoryUsageWithinLimit(r),k.Wt.HostMemoryLimitExceeded)||this.removeLeastRecentlyUsedAppIf(e,!!this.constraintsService.maxAppsAllowedInCache&&e.length>this.constraintsService.maxAppsAllowedInCache,k.Wt.NumAppsExceeded);return i?[i]:[]}isMemoryUsageWithinLimit(e){return e<this.constraintsService.maxHostMemoryAllowedInMb}isFreeMemoryAboveMinimum(e){return e>this.constraintsService.minFreeDeviceMemoryInMbToCache}hasAppExceededMaxLifetime(e){const t=60*this.constraintsService.appExpirationInMinutes*1e3;return Date.now()-(e.lastAccessedTimestampInMs||0)>t}}class on{constructor(){this.cacheKeyFields=(0,y.eZ)().enableSuffixAppendForIframeId?["appId","renderingSurface","frameContext","userId"]:["appId","renderingSurface","frameContext"],this.isCached=e=>e.isCached(),this.cachedApps=[]}isAppRegisteredForCaching(e){return!!this.cacheMonitoringService&&!!e.loadBootstrapRegistrationState().load&&!!e.loadBootstrapRegistrationState().beforeUnload}getCachedCommunicationBridge(e){const t=this.getCachedApp(e);return t&&this.isAppRegisteredForCaching(t)?t.communicationBridge:void 0}setTelemetryAndLogger(e,t){this.telemetryService=e,this.logger=t}setCachingConstraintsService(e){e&&(this.cacheMonitoringService=new nn(e))}runAppTerminateTelemetryScenario(e,t,r,n,i="monotonic"){var o;const a=null===(o=this.telemetryService)||void 0===o?void 0:o.createScenario("appTermination",e,t,void 0,i);a.addOrUpdateActivityDataField(l.u7.CACHEDAPP_IND_FIELD_NAME,n||!0),a.addOrUpdateActivityDataField(l.u7.APP_TERMINATE_REASON,r),a.stop()}auditAndRemoveCachedApps({currentFreeMemoryInMb:e,currentMemoryUsageInMb:t}){this.cacheMonitoringService&&this.cacheMonitoringService.determineAppsToRemoveBasedOnConstraints(this.getCachedApps(),e,t).forEach((e=>{const t=e.app.pageInfo;this.removeAppFromCache(t,e.reason)}))}addAppToCache(e,t,r){const n=new rn(e,t,r,{});return this.cachedApps.push(n),n}removeAppFromCache(e,t){const r=this.getCachedApp(e);if(r){this.cachedApps.splice(this.cachedApps.indexOf(r),1);const n=(0,F.qV)("monotonic");this.runAppTerminateTelemetryScenario(e.appId,n.value,t,!0,n.type),this.disposeCachedApps([r])}}getCachedApps(){return this.cachedApps.filter(this.isCached)}getCachedApp(e){if(!e.frameContext||e.frameContext===M.E2.content)return this.cachedApps.find((t=>this.cacheKeyFields.every((r=>t.pageInfo[r]===e[r]))))}shouldDisplayLoadingUI(e,t,r){if(!t&&!r)return!1;const n=e.state;return n===v.Jz.Loading||n===v.Jz.WaitingForAppLoad}disposeCachedApps(e){var t,r,n;for(const i of e)null===(t=i.communicationBridge)||void 0===t||t.dispose(),p(this.telemetryService,null===(r=i.communicationBridge)||void 0===r?void 0:r.id,i.pageInfo.appId),null===(n=i.frameInfo)||void 0===n||n.remove(),i.unloadingTimeoutDeferred&&(i.unloadingTimeoutDeferred.reject(new Error("Unloading timeout")),i.unloadingTimeoutDeferred=null)}logTelemetryForAppStateChange(e,t){var r,n;const i=null===(r=this.telemetryService)||void 0===r?void 0:r.createScenario("appStateUpdated",e);null===(n=null==i?void 0:i.addOrUpdateActivityDataField)||void 0===n||n.call(i,l.u7.APP_STATE_UPDATED,t),null==i||i.stop()}handleUnloading(e,t){e.unloadingTimeoutId||(this.startAppSuspendScenario(t.appId),e.unloadingTimeoutId=window.setTimeout((()=>{this.failAppSuspendScenario(k.Wt.AppUnloadTimeout),this.removeAppFromCache(t,k.Wt.AppUnloadTimeout)}),15e3))}setAppState(e,t){var r,n;const i=this.getCachedApp(e);if(i&&!(t.state===v.Jz.Loaded&&i.currentAppState.state!==v.Jz.WaitingForAppLoad||t.state===v.Jz.Unloaded&&(o=i.currentAppState.state)!==v.Jz.Unloading&&o!==v.Jz.Loaded&&o!==v.Jz.Loading&&o!==v.Jz.WaitingForAppLoad&&o!==v.Jz.Failed)){var o;switch(t.state){case v.Jz.Unloaded:i.unloadingTimeoutId&&window.clearTimeout(i.unloadingTimeoutId),i.unloadingTimeoutId=0,this.stopAppSuspendScenario(),(null==i?void 0:i.unloadingTimeoutDeferred)&&(i.unloadingTimeoutDeferred.resolve(!0),i.unloadingTimeoutDeferred=null),i.communicationBridge.dispose(),p(this.telemetryService,null===(r=i.communicationBridge)||void 0===r?void 0:r.id,i.pageInfo.appId),this.isAppRegisteredForCaching(i)?(i.currentAppState.state=v.Jz.Cached,i.pageInfo.lastAccessedTimestampInMs=Date.now()):this.removeAppFromCache(e,k.Wt.AppDidNotRegisterForCaching),this.auditAndRemoveCachedApps({currentFreeMemoryInMb:void 0,currentMemoryUsageInMb:void 0});break;case v.Jz.Unloading:i.currentAppState=t,this.handleUnloading(i,e);break;case v.Jz.Failed:i.currentAppState.state===v.Jz.Cached||(i.currentAppState=t),this.removeAppFromCache(e,t.reason);break;case v.Jz.Loaded:i.currentAppState=t,this.updateAppRecency(e);break;default:i.currentAppState=t}null===(n=this.logger)||void 0===n||n.log(a.$.Info,"AppStateChange",`Logging telemetry for app state change. AppId: ${i.pageInfo.appId}, NewState: ${t.state}`),!(0,y.eZ)().disableDebuggingTelemetryToAria&&this.logTelemetryForAppStateChange(i.pageInfo.appId,t.state)}}updateAppRecency(e){const t=this.cachedApps.findIndex((t=>t.pageInfo.appId===e.appId));if(-1!==t){const[e]=this.cachedApps.splice(t,1);this.cachedApps.push(e)}}isAppLoading(e){return e.currentAppState.state===v.Jz.Loading}shouldTriggerUnload(e){var t;const r=this.getCachedApp(e);return!!r&&(!this.isAppLoading(r)&&!!(null===(t=r.loadBootstrapRegistrationState())||void 0===t?void 0:t.beforeUnload))}loadBootstrapRegistrationState(e){const t=this.getCachedApp(e);return t?t.loadBootstrapRegistrationState():void 0}saveBootstrapRegistrationState(e,t){var r;null===(r=this.getCachedApp(e))||void 0===r||r.saveBootstrapRegistrationState(t)}startAppSuspendScenario(e){var t;this.appSuspendOrTerminateScenario=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario("appSuspend",e)}stopAppSuspendScenario(){var e;null===(e=this.appSuspendOrTerminateScenario)||void 0===e||e.stop(),this.appSuspendOrTerminateScenario=void 0}failAppSuspendScenario(e){var t;null===(t=this.appSuspendOrTerminateScenario)||void 0===t||t.fail(e),this.appSuspendOrTerminateScenario=void 0}}class an{constructor(e){this.getStorageKey=(e,t)=>`metaos_hub_error_${t.appId}_${t.tid}_${t.uid}_${e}`,this.initializeIdentityContext(e)}initializeIdentityContext(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){this.identityContext=yield this.createIdentityContext(e)}))}getValue(e){if(!this.identityContext)return null;const t=this.getStorageKey(e,this.identityContext);return localStorage.getItem(t)}setValue(e,t){if(!this.identityContext)return;const r=this.getStorageKey(e,this.identityContext);localStorage.setItem(r,t)}createIdentityContext(e){var t,r,i;return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=yield e.getAppContext(),o=e.getAppDefinition(),a=(null===(t=null==n?void 0:n.user)||void 0===t?void 0:t.id)||"",s=(null===(i=null===(r=null==n?void 0:n.user)||void 0===r?void 0:r.tenant)||void 0===i?void 0:i.id)||"";return{appId:(null==o?void 0:o.id)||"",tid:s,uid:a}}))}}const sn={media:["camera","microphone"],geolocation:["geolocation"],midi:["midi"],displayCapture:["display-capture"]};var ln=r(9272),cn=r(1735),un=r(7947),dn=r(1410),pn=r(1422),fn=r(6140);function hn(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function gn(){return gn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gn.apply(null,arguments)}function mn(e,t){return mn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mn(e,t)}function vn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,mn(e,t)}const yn=i.createContext(null);function bn(e,t){var r=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),r}function wn(e,t,r){return null!=r[t]?r[t]:e.props[t]}function Sn(e,t,r){var n=bn(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(i[l])for(n=0;n<i[l].length;n++){var c=i[l][n];s[i[l][n]]=r(c)}s[l]=r(l)}for(n=0;n<o.length;n++)s[o[n]]=r(o[n]);return s}(t,n);return Object.keys(o).forEach((function(a){var s=o[a];if((0,i.isValidElement)(s)){var l=a in t,c=a in n,u=t[a],d=(0,i.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,i.isValidElement)(u)&&(o[a]=(0,i.cloneElement)(s,{onExited:r.bind(null,s),in:u.props.in,exit:wn(s,"exit",e),enter:wn(s,"enter",e)})):o[a]=(0,i.cloneElement)(s,{in:!1}):o[a]=(0,i.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:wn(s,"exit",e),enter:wn(s,"enter",e)})}})),o}var Cn=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},An=function(e){function t(t,r){var n,i=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}vn(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,a=t.handleExited;return{children:t.firstRender?(r=e,n=a,bn(r.children,(function(e){return(0,i.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:wn(e,"appear",r),enter:wn(e,"enter",r),exit:wn(e,"exit",r)})}))):Sn(e,o,a),firstRender:!1}},r.handleExited=function(e,t){var r=bn(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=gn({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=hn(e,["component","childFactory"]),o=this.state.contextValue,a=Cn(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?i.createElement(yn.Provider,{value:o},a):i.createElement(yn.Provider,{value:o},i.createElement(t,n,a))},t}(i.Component);An.propTypes={},An.defaultProps={component:"div",childFactory:function(e){return e}};const xn=An;var kn=r(2483);var En="unmounted",_n="exited",In="entering",Pn="entered",Tn="exiting",Bn=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var i,o=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?o?(i=_n,n.appearStatus=In):i=Pn:i=t.unmountOnExit||t.mountOnEnter?En:_n,n.state={status:i},n.nextCallback=null,n}vn(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===En?{status:_n}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==In&&r!==Pn&&(t=In):r!==In&&r!==Pn||(t=Tn)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===In){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:kn.findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===_n&&this.setState({status:En})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,i=this.props.nodeRef?[n]:[kn.findDOMNode(this),n],o=i[0],a=i[1],s=this.getTimeouts(),l=n?s.appear:s.enter;e||r?(this.props.onEnter(o,a),this.safeSetState({status:In},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Pn},(function(){t.props.onEntered(o,a)}))}))}))):this.safeSetState({status:Pn},(function(){t.props.onEntered(o)}))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:kn.findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:Tn},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:_n},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:_n},(function(){e.props.onExited(n)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:kn.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===En)return null;var t=this.props,r=t.children,n=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,hn(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(yn.Provider,{value:null},"function"==typeof r?r(e,n):i.cloneElement(i.Children.only(r),n))},t}(i.Component);function Dn(){}Bn.contextType=yn,Bn.propTypes={},Bn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Dn,onEntering:Dn,onEntered:Dn,onExit:Dn,onExiting:Dn,onExited:Dn},Bn.UNMOUNTED=En,Bn.EXITED=_n,Bn.ENTERING=In,Bn.ENTERED=Pn,Bn.EXITING=Tn;const Nn=Bn,Rn=i.createContext(void 0),On={className:"",nodeRef:i.createRef()},zn=Rn.Provider,Mn=({children:e,enterClassName:t,exitClassName:r,animate:n,...o})=>{const a=i.useRef(null);return i.createElement(Nn,{timeout:250,nodeRef:a,...o},(o=>i.createElement(Fn,{animate:n,enterClassName:t,exitClassName:r,nodeRef:a,state:o},e)))},Fn=({children:e,state:t,enterClassName:r,exitClassName:n,animate:o,nodeRef:a})=>{const s=((e,t,r,n)=>{switch(e){case"entering":case"entered":return"both"===n?t:"";case"exiting":case"exited":return r;default:return""}})(t,r,n,o),l=i.useMemo((()=>({className:s,nodeRef:a})),[s,a]);return i.createElement(zn,{value:l},e)};var Ln=r(3421),jn=r(1419);const Vn=(0,Ln.X)({base:{Bf5fcs:"f4cll0y",vin17d:"fy8si0b"},enter:{Bv12yb3:"f1dg9w1v"},exit:{Bv12yb3:"fu80iee"}},{d:[".f4cll0y{animation-fill-mode:forwards;}",".fy8si0b{animation-duration:var(--durationNormal);}",".f1dg9w1v{animation-name:fngeioi;}",".fu80iee{animation-name:fk0lfw7;}"],k:["@keyframes fngeioi{from{opacity:0;transform:translateY(-100%);}to{opacity:1;transform:translateY(0);}}","@keyframes fk0lfw7{from{opacity:1;}to{opacity:0;}}"]}),Hn=i.forwardRef(((e,t)=>{const r=((e,t)=>{var r;const n=i.Children.map(null!==(r=e.children)&&void 0!==r?r:[],(e=>i.isValidElement(e)&&e.type!==i.Fragment?e:null)).filter(Boolean);var o;return{components:{root:"div"},root:un.Gk((0,dn.g)("div",{ref:t,...e}),{elementType:"div"}),children:n,animate:null!==(o=e.animate)&&void 0!==o?o:"exit-only",enterStyles:"",exitStyles:""}})(e,t);return(e=>{const t=Vn();e.root.className=(0,jn.z)("fui-MessageBarGroup",e.root.className),e.enterStyles=(0,jn.z)(t.base,t.enter),e.exitStyles=(0,jn.z)(t.base,t.exit)})(r),(0,cn.$e)("useMessageBarGroupStyles_unstable")(r),(e=>((0,fn.C)(e),(0,pn.Y)(e.root,{children:(0,pn.Y)(xn,{component:null,children:e.children.map((t=>(0,pn.Y)(Mn,{animate:e.animate,enterClassName:e.enterStyles,exitClassName:e.exitStyles,children:t},t.key)))})})))(r)}));Hn.displayName="MessageBarGroup";var qn=r(1009),Un=r(9098);const $n=i.createContext(void 0);$n.Provider;const Wn=(0,r(8807).U)("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]);var Gn=r(7784),Kn=r(6580);function Xn(e){switch(e){case"info":return i.createElement(Wn,null);case"warning":return i.createElement(Gn.BFW,null);case"error":return i.createElement(Kn.Tox,null);case"success":return i.createElement(Kn.gcm,null);default:return null}}var Yn=r(6971),Jn=r(3625);const Zn=i.createContext(void 0),Qn={titleId:"",layout:"singleline",actionsRef:i.createRef(),bodyRef:i.createRef()},ei=Zn.Provider,ti=()=>{var e;return null!==(e=i.useContext(Zn))&&void 0!==e?e:Qn};var ri=r(5774);const ni=(0,ri.y)("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),ii=(0,ri.y)("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),oi=(0,ri.y)("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),ai=(0,Ln.X)({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),si=(0,Ln.X)({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),li=(0,Ln.X)({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),ci=i.forwardRef(((e,t)=>{const r=((e,t)=>{const{layout:r="auto",intent:n="info",politeness:o,shape:a="rounded"}=e,s=(null!=o?o:"info"===n)?"polite":"assertive",l="auto"===r,{ref:c,reflowing:u}=function(e=!1){const{targetDocument:t}=(0,Yn.Y)(),r=i.useReducer((()=>({})),{})[1],n=i.useRef(!1),o=i.useRef(null),a=i.useRef(-1),s=i.useCallback((e=>{var t,i;const o=e[0];var s;const l=null!==(s=null==o||null===(i=o.borderBoxSize)||void 0===i||null===(t=i[0])||void 0===t?void 0:t.inlineSize)&&void 0!==s?s:null==o?void 0:o.target.getBoundingClientRect().width;if(void 0===l||!o)return;const{target:c}=o;if(!(0,Jn.s)(c))return;let u;n.current?a.current<l&&(u=!1):l<c.scrollWidth&&(u=!0),a.current=l,void 0!==u&&n.current!==u&&(n.current=u,r())}),[r]),l=i.useCallback((r=>{var n;if(!e||!r||!(null==t?void 0:t.defaultView))return;null===(n=o.current)||void 0===n||n.disconnect();const i=new t.defaultView.ResizeObserver(s);o.current=i,i.observe(r,{box:"border-box"})}),[t,s,e]);return i.useEffect((()=>()=>{var e;null===(e=o.current)||void 0===e||e.disconnect()}),[]),{ref:l,reflowing:n.current}}(l),d=l?u?"multiline":"singleline":r,{className:p,nodeRef:f}=null!==(h=i.useContext(Rn))&&void 0!==h?h:On;var h;const g=i.useRef(null),m=i.useRef(null),{announce:v}=function(){var e;return null!==(e=i.useContext($n))&&void 0!==e?e:{announce:()=>{}}}(),y=(0,qn.Bi)();return i.useEffect((()=>{var e,t;const r=[null===(e=m.current)||void 0===e?void 0:e.textContent,null===(t=g.current)||void 0===t?void 0:t.textContent].filter(Boolean).join(",");v(r,{polite:"polite"===s,alert:"assertive"===s})}),[m,g,v,s]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:un.Gk((0,dn.g)("div",{ref:(0,Un.a)(t,c,f),role:"group","aria-labelledby":y,...e}),{elementType:"div"}),icon:un.lq(e.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:Xn(n)}}),bottomReflowSpacer:un.lq(e.bottomReflowSpacer,{renderByDefault:"multiline"===d,elementType:"div"}),layout:d,intent:n,transitionClassName:p,actionsRef:g,bodyRef:m,titleId:y,shape:a}})(e,t);return(e=>{const t=ni(),r=ii(),n=si(),i=li(),o=oi(),a=ai();e.root.className=(0,jn.z)("fui-MessageBar",t,"multiline"===e.layout&&a.rootMultiline,"square"===e.shape&&a.square,i[e.intent],e.transitionClassName,e.root.className),e.icon&&(e.icon.className=(0,jn.z)("fui-MessageBar__icon",r,n[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=(0,jn.z)("fui-MessageBar__bottomReflowSpacer",o))})(r),(0,cn.$e)("useMessageBarStyles_unstable")(r),((e,t)=>((0,fn.C)(e),(0,pn.Y)(ei,{value:t.messageBar,children:(0,pn.FD)(e.root,{children:[e.icon&&(0,pn.Y)(e.icon,{}),e.root.children,e.bottomReflowSpacer&&(0,pn.Y)(e.bottomReflowSpacer,{})]})})))(r,function(e){const{layout:t,actionsRef:r,bodyRef:n,titleId:o}=e;return{messageBar:i.useMemo((()=>({layout:t,actionsRef:r,bodyRef:n,titleId:o})),[t,r,n,o])}}(r))}));ci.displayName="MessageBar";const ui=i.createContext(void 0).Provider,di=(0,ri.y)("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),pi=i.forwardRef(((e,t)=>{const r=((e,t)=>{const{bodyRef:r}=ti();return{components:{root:"div"},root:un.Gk((0,dn.g)("div",{ref:(0,Un.a)(t,r),...e}),{elementType:"div"})}})(e,t),n={link:i.useMemo((()=>({inline:!0})),[])};return(e=>{const t=di();e.root.className=(0,jn.z)("fui-MessageBarBody",t,e.root.className)})(r),(0,cn.$e)("useMessageBarBodyStyles_unstable")(r),((e,t)=>((0,fn.C)(e),(0,pn.Y)(ui,{value:t.link,children:(0,pn.Y)(e.root,{})})))(r,n)}));pi.displayName="MessageBarBody";const fi=(0,ri.y)("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),hi=i.forwardRef(((e,t)=>{const r=((e,t)=>{const{titleId:r}=ti();return{components:{root:"span"},root:un.Gk((0,dn.g)("span",{ref:t,id:r,...e}),{elementType:"span"})}})(e,t);return(e=>{const t=fi();e.root.className=(0,jn.z)("fui-MessageBarTitle",t,e.root.className)})(r),(0,cn.$e)("useMessageBarTitleStyles_unstable")(r),(e=>((0,fn.C)(e),(0,pn.Y)(e.root,{})))(r)}));hi.displayName="MessageBarTitle";var gi=r(1750);const mi=(0,ri.y)("r1t4x98y","r15utzv5",[".r1t4x98y{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-right:var(--spacingHorizontalM);}",".r15utzv5{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-left:var(--spacingHorizontalM);}"]),vi=(0,ri.y)("rgzw8nq","r13ur29z",[".rgzw8nq{grid-area:actions;padding-right:var(--spacingHorizontalM);}",".r13ur29z{grid-area:actions;padding-left:var(--spacingHorizontalM);}"]),yi=(0,Ln.X)({root:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"],z189sj:["f1p3vkop","f8cewkv"]},noActions:{mc9l5x:"fjseox"}},{d:[".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",".f1p3vkop{padding-right:var(--spacingVerticalM);}",".f8cewkv{padding-left:var(--spacingVerticalM);}",".fjseox{display:none;}"]}),bi=i.forwardRef(((e,t)=>{const r=((e,t)=>{const{layout:r="singleline",actionsRef:n}=ti();return{components:{root:"div",containerAction:"div"},containerAction:un.lq(e.containerAction,{renderByDefault:!1,elementType:"div"}),root:un.Gk((0,dn.g)("div",{ref:(0,Un.a)(t,n),...e}),{elementType:"div"}),layout:r,hasActions:!!e.children}})(e,t);return(e=>{const t=mi(),r=vi(),n=yi();e.root.className=(0,jn.z)("fui-MessageBarActions",t,"multiline"===e.layout&&n.root,!e.hasActions&&n.noActions,e.root.className),e.containerAction&&(e.containerAction.className=(0,jn.z)("fui-MessageBarActions__containerAction",r,e.containerAction.className))})(r),(0,cn.$e)("useMessageBarActionsStyles_unstable")(r),((e,t)=>((0,fn.C)(e),(0,pn.FD)(gi.J,{value:t.button,children:["multiline"===e.layout&&e.containerAction&&(0,pn.Y)(e.containerAction,{},"containerAction"),(0,pn.Y)(e.root,{}),"multiline"!==e.layout&&e.containerAction&&(0,pn.Y)(e.containerAction,{},"containerAction")]})))(r,{button:i.useMemo((()=>({size:"small"})),[])})}));bi.displayName="MessageBarActions";var wi=r(7843),Si=r(9408);const Ci=(0,ln.n)({messageBarGroup:{position:"sticky",top:0,left:0,right:0,zIndex:1e3}}),Ai=()=>{const e=Ci(),t=function(){const[e,t]=i.useState(!1),r=()=>{t(!0)};if(i.useEffect((()=>(Si.p.addListener("authWindowBlocked",r),()=>{Si.p.removeListener("authWindowBlocked",r)})),[]),e)return{title:"Popup Blocked",message:"It looks like your browser has blocked the authentication window. To proceed, please unblock popups in your browser settings.",type:"error",onDismiss:()=>{t(!1)}}}(),r=[];return t&&r.push(t),i.createElement(Hn,{className:e.messageBarGroup},r.map(((e,t)=>i.createElement(ci,{key:t,intent:e.type,politeness:"polite",shape:"square"},i.createElement(pi,null,i.createElement(hi,null,e.title),e.message),i.createElement(bi,{containerAction:i.createElement(wi.$,{onClick:()=>e.onDismiss(),"aria-label":"dismiss",appearance:"transparent",icon:i.createElement(Kn.BEt,null)})})))))},xi=({reason:e,hubUiService:t,webStorageApiService:r})=>{const n=t.getErrorUiData(e);console.log("failed reason:",e);const[o,a]=i.useState((()=>{try{return"true"!==r.getValue(e)}catch(e){return!0}}));return o?i.createElement(ci,{id:"hubBubbleErrorUI",intent:"warning",layout:"auto"},i.createElement(pi,null,i.createElement(hi,null,n.localizedErrorStrings.bubbleHeading),n.localizedErrorStrings.bubbleSubtitle),i.createElement(bi,{containerAction:i.createElement(wi.$,{"aria-label":"dismiss",appearance:"transparent",icon:i.createElement(Kn.BEt,null),onClick:()=>{try{r.setValue(e,"true")}catch(e){console.warn("Failed to persist error banner dismiss state:",e)}a(!1)}})},n.openDesktopApp&&i.createElement(wi.$,{"aria-label":n.localizedErrorStrings.openInDesktopAltText,onClick:()=>{var e;return null===(e=n.openDesktopApp)||void 0===e?void 0:e.call(n)}},n.localizedErrorStrings.openInDesktopButtonTitle),n.openBrowser&&i.createElement(wi.$,{"aria-label":n.localizedErrorStrings.openInWebBrowserAltText,onClick:()=>{var e;return null===(e=n.openBrowser)||void 0===e?void 0:e.call(n)}},n.localizedErrorStrings.openInWebBrowserButtonTitle),n.openLegacyUrl&&i.createElement(wi.$,{"aria-label":n.localizedErrorStrings.openInLegacyBrowserAltText,onClick:()=>{var e;return null===(e=n.openLegacyUrl)||void 0===e?void 0:e.call(n)}},n.localizedErrorStrings.openInLegacyBrowserButtonTitle))):null};var ki=r(2309),Ei=r(7388),_i=r(795),Ii=r(6827),Pi=r(3040);const Ti=({reason:e,hubUiService:t})=>{var r,n,o,a,s;const l=Bi(),c=t.getErrorUiData(e);return i.createElement(ki.q,{id:"hubErrorUi",className:l.root},i.createElement("div",{className:l.imageContainer,"aria-label":null===(r=c.errorImage)||void 0===r?void 0:r.altText},"string"==typeof(null===(n=c.errorImage)||void 0===n?void 0:n.image)?i.createElement(Ei._,{src:null===(o=c.errorImage)||void 0===o?void 0:o.image,alt:null===(a=c.errorImage)||void 0===a?void 0:a.altText}):null===(s=c.errorImage)||void 0===s?void 0:s.image),i.createElement(_i.K,null,c.localizedErrorStrings.errorHeading),i.createElement(Ii.j,null,c.localizedErrorStrings.errorSubtitle),i.createElement("div",{className:l.buttonContainer},c.openDesktopApp&&i.createElement(wi.$,{"aria-label":c.localizedErrorStrings.openInDesktopAltText||c.localizedErrorStrings.openInDesktopButtonTitle,appearance:"primary",onClick:()=>{var e;return null===(e=c.openDesktopApp)||void 0===e?void 0:e.call(c)}},c.localizedErrorStrings.openInDesktopButtonTitle||c.localizedErrorStrings.openInDesktopAltText),c.openBrowser&&i.createElement(wi.$,{"aria-label":c.localizedErrorStrings.openInWebBrowserAltText||c.localizedErrorStrings.openInWebBrowserButtonTitle,onClick:()=>{var e;return null===(e=c.openBrowser)||void 0===e?void 0:e.call(c)}},c.localizedErrorStrings.openInWebBrowserButtonTitle),c.openLegacyUrl&&i.createElement(wi.$,{"aria-label":c.localizedErrorStrings.openInLegacyBrowserAltText||c.localizedErrorStrings.openInLegacyBrowserButtonTitle,onClick:()=>{var e;return null===(e=c.openLegacyUrl)||void 0===e?void 0:e.call(c)}},c.localizedErrorStrings.openInLegacyBrowserButtonTitle),c.retry&&i.createElement(wi.$,{appearance:"transparent",icon:i.createElement(Pi.CDe,null),"aria-label":c.localizedErrorStrings.retryButtonAltText||c.localizedErrorStrings.retryButtonTitle,onClick:c.retry},c.localizedErrorStrings.retryButtonTitle)))},Bi=(0,ln.n)({root:{display:"flex",height:"100%",width:"100%",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",rowGap:"1em"},buttonContainer:{marginTop:"2em",display:"flex",rowGap:".5em",flexDirection:"column",alignItems:"center","> button":{width:"100%"}},imageContainer:{width:"auto",maxHeight:"33%"}});let Di;const Ni=Date.now(),Ri=e=>{var t,r,n;(0,Qr.e5)(Qr.Ct.Start,Qr.Z1.OverallAppLoadTimeBeforeInitialize),(0,Qr.e5)(Qr.Ct.Start,Qr.Z1.MetaOsAppContainerInitiation),e.featureFlags&&(0,y.Eh)(e.featureFlags);const o=e.context.page.frameContext;if(e.context.dialogParameters&&"task"!==o)throw new Error('dialogParameters should be provided only in "task" frameContext');let s=e.hubServices;e.hubServices.lifecycleService&&(null!=Di||(Di=new on)),i.useEffect((()=>{var e,t;null==Di||Di.setCachingConstraintsService(null===(t=null===(e=s.lifecycleService)||void 0===e?void 0:e.cacheabilityDataService)||void 0===t?void 0:t.constraints)}),[s.lifecycleService]),s.lifecycleService&&(s=Object.assign(Object.assign({},e.hubServices),{cacheManagementService:e.hubServices.cacheManagementService||Di}));const[l,c]=i.useState(!1),u=i.useMemo((()=>{var t,r,n;const i=(0,y.eZ)().enableSuffixAppendForIframeId?{appId:e.appDefinition.id,frameContext:o,renderingSurface:e.context.page.renderingSurface,userId:null===(t=e.iframeIdSuffix)||void 0===t?void 0:t.userId}:{appId:e.appDefinition.id,frameContext:o,renderingSurface:e.context.page.renderingSurface};return null!==(n=null===(r=e.isolationProvider)||void 0===r?void 0:r.communicationBridge)&&void 0!==n?n:Oi(i,e.hubServices.logger)}),[null===(t=e.isolationProvider)||void 0===t?void 0:t.communicationBridge,e.contentUrl,e.appDefinition.id,e.hubServices.logger,e.hubServices.lifecycleService]),d=i.useCallback((()=>Mi(e.hubServices.devicePermissionService)),[e.hubServices.devicePermissionService]),p=function(e){const[t,r]=i.useState(void 0);return i.useEffect((()=>{let t=!1;return(0,Qr.e5)(Qr.Ct.Start,Qr.Z1.GetPermissions),e().then((e=>{(0,Qr.e5)(Qr.Ct.End,Qr.Z1.GetPermissions);const n=e.map((e=>sn[e.permission])).flat().concat(["autoplay; clipboard-write"]).join("; ");t||r(n)})),()=>{t=!0}}),[e]),t}(d);if(e.hostVersionsInfo&&e.hostVersionsInfo.adaptiveCardSchemaVersion&&(0,T.Hk)(e.hostVersionsInfo.adaptiveCardSchemaVersion))throw new Error(`dialogService.cardService requires that the host specifies an adaptive card version of at least ${(0,T.Zn)()}`);if((s.locationService||s.barCodeService)&&!s.devicePermissionService)throw new Error("devicePermissionService needs to be provided if any of following services is provided: locationService, barCodeService");const{appHostSdk:f,appInitInfo:h}=((e,t,r,n,o,a,s,l,c,u)=>{const[d,p]=i.useState({state:v.Jz.Unknown});i.useEffect((()=>{d.state===v.Jz.Failed&&p({state:v.Jz.Unknown})}),[n]);const f=(0,y.eZ)().enableSuffixAppendForIframeId?i.useMemo((()=>new tn(e,o,t,r,p,a,s,l,c,u)),[e,t.page.frameContext,p,t.app.host.clientType,r.cacheManagementService,o,s,l]):i.useMemo((()=>new tn(e,o,t,r,p,a,s,l,c)),[e,t.page.frameContext,p,t.app.host.clientType,r.cacheManagementService,o,s,l]);return i.useEffect((()=>(f.loadSDK(),function(){f.unloadSDK()})),[f]),i.useEffect((()=>{f.initializeAuthenticationContext(t)}),[f,t]),{appHostSdk:f,appInitInfo:d}})(e.hostWindow,e.context,s,e.appDefinition,u,e.hostVersionsInfo,e.isNAAChannelRecommended,e.hostInsecureOrigins,e.isCachedLaunch,e.iframeIdSuffix),m=i.useMemo((()=>{var e;return(null===(e=s.webStorageService)||void 0===e?void 0:e.webStorageApiService)||new an(f)}),[f,null===(r=s.webStorageService)||void 0===r?void 0:r.webStorageApiService]);null==Di||Di.setTelemetryAndLogger(f.getTelemetryService(),f.getLogger());const b=e.context.app.theme;i.useEffect((()=>{b&&(f.onThemeChanged&&f.onThemeChanged(b),f.onUserSettingsChanged&&f.onUserSettingsChanged(M.hn.theme,b))}),[f,b]);const w=e.context.app.userFileOpenPreference;i.useEffect((()=>{w&&f.onUserSettingsChanged&&f.onUserSettingsChanged(M.hn.fileOpenPreference,w)}),[f,w]);const[S,C]=i.useState((0,T.Xs)(h,e.appDefinition.showLoadingIndicator));i.useEffect((()=>{(()=>{if((0,T.Xs)(h,e.appDefinition.showLoadingIndicator))try{const e=m.getValue(h.reason||k.Af.Ocdi);C(!e)}catch(e){C(!0)}else C(!1)})()}),[h,e.appDefinition,m]),i.useEffect((()=>{S&&h.state===v.Jz.Loaded&&e.hubServices.logger.log(a.$.Warn,"Error Bubble Reason",k.f)}),[h.state,e.hubServices.logger,S]);const E=zi(e.appDefinition.showLoadingIndicator,s,h,f.getIsCachedLaunch(),f.getCacheablePageInfo()),_=i.useCallback((()=>S?i.createElement(xi,{reason:h.reason||k.Af.Ocdi,hubUiService:s.hubUiService,webStorageApiService:m}):null),[S,h,s.hubUiService,m]),I=i.useCallback((()=>{var t;if(!((e,t,r,n)=>!!t||void 0!==e&&!(r&&!n))(p,e.isolationProvider,s.lifecycleService,s.cacheManagementService))return null;const r=Object.assign(Object.assign({},e),{sdkHost:f,isLoading:E,frameContext:o,renderingSurface:e.context.page.renderingSurface,userClickTime:null!==(t=e.context.app.userClickTime)&&void 0!==t?t:Ni,userClickTimeV2:e.context.app.userClickTimeV2,communicationBridge:u,getRequiredPermissions:d,allowList:p});if(e.isolationProvider)return i.createElement(x,{isolationProvider:e.isolationProvider,hostProps:r,errorUI:_,appHostSdk:f});{const t=!!((0,y.eZ)().useRelativeRenderingForCaching&&s.cacheManagementService&&s.lifecycleService&&o===M.E2.content&&e.cacheableIframeParentId&&document.getElementById(e.cacheableIframeParentId));return i.createElement("div",{id:"default-app-host-container",style:{flex:t?void 0:1,width:"100%",display:"flex",flexDirection:"column"}},_(),s.cacheManagementService&&s.lifecycleService&&o===M.E2.content?i.createElement(A,Object.assign({cacheManagementService:s.cacheManagementService},r,{allowList:p,setIsUnLoading:c})):i.createElement(g,Object.assign({},r)))}}),[p,f,u,o,d,s.cacheManagementService,s.lifecycleService,E,e,_]),P=i.useMemo((()=>I()),[I]);if((0,T.OL)(h,e.appDefinition.showLoadingIndicator)){const t=f.getTelemetryService().createScenario("errorScreenLoad"),r=h.reason;return t.fail(r),e.hubServices.logger.log(a.$.Error,"Show HubError UI",r),i.createElement(Ti,{reason:r,hubUiService:e.hubServices.hubUiService})}return(0,Qr.e5)(Qr.Ct.End,Qr.Z1.MetaOsAppContainerInitiation),(null===(n=e.featureFlags)||void 0===n?void 0:n.enableNotificationsUI)?i.createElement(i.Fragment,null,(E||l)&&s.hubUiService.getLoadingUi(),i.createElement("div",{style:{flex:1,width:"100%",display:"flex",flexDirection:"column"}},i.createElement(Ai,null),P)):i.createElement(i.Fragment,null,(E||l)&&s.hubUiService.getLoadingUi(),P)},Oi=(e,t)=>{var r;return null!==(r=null==Di?void 0:Di.getCachedCommunicationBridge(e))&&void 0!==r?r:new d(t)},zi=(e,t,r,n,i)=>t.cacheManagementService?t.cacheManagementService.shouldDisplayLoadingUI(r,e,n,i):!(!e||r.state!==v.Jz.Loading&&r.state!==v.Jz.WaitingForAppLoad),Mi=e=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){let t;return t=e?yield e.storageService.getPermissions():[],t.filter((e=>e.status==H.W.Consented))}))},7181:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(8377).A.Symbol},7184:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setLocalizationErrorHandler=function(e,t){return i.__assign(i.__assign({},t),{errorHandler:e})},t.handleLocalizationError=function(e,t){t.errorHandler(e)},t.addStringMap=function(e,t,r){if(r.currentLocale===e||void 0===r.currentLocale){var n=u(t);return i.__assign(i.__assign({},r),{currentLocale:void 0===r.currentLocale?e:r.currentLocale,strings:i.__assign(i.__assign({},r.strings),n),stringMapInitialized:!0})}return c(l(e,t),r)},t.addStringMapLoader=c,t.getCurrentLocale=function(e){return n?n.then((function(e){return e.currentLocale})):Promise.resolve(e.currentLocale)},t.setCurrentLocale=function(e,t){var r=function(e,t){return i.__awaiter(this,void 0,void 0,(function(){var r,n,o=this;return i.__generator(this,(function(a){switch(a.label){case 0:return r=function(r){return i.__awaiter(o,void 0,void 0,(function(){var n,o;return i.__generator(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,r(e)];case 1:return[2,i.sent()];case 2:return n=i.sent(),o=n.message||"unknown error",t.errorHandler("Async string map loader failed: ".concat(o)),[2,{}];case 3:return[2]}}))}))},n=t.loaders.map(r),[4,Promise.all(n)];case 1:return[2,a.sent().map(u).reduce((function(e,t){return i.__assign(i.__assign({},e),t)}),{})]}}))}))}(e,t).then((function(r){return i.__assign(i.__assign({},t),{strings:r,currentLocale:e,stringMapInitialized:!0})}));return n=n?n.then((function(){return r})):r},t.clearStringMapLoaders=function(e){return i.__awaiter(this,void 0,void 0,(function(){return i.__generator(this,(function(t){switch(t.label){case 0:return n?[4,n]:[3,2];case 1:t.sent(),t.label=2;case 2:return n=void 0,[2,i.__assign(i.__assign({},e),{loaders:[],strings:{},currentLocale:void 0})]}}))}))},t.flattenStringMap=u,t.stringExists=function(e,t){return"string"==typeof t.strings[e]},t.lookUpString=function(e,t){var r,n=null!==(r=t.strings[e])&&void 0!==r?r:t.strings[(0,s.hashLocalizationKey)(e)];if(!n||"string"!=typeof n){var i=(0,a.isDev)()||(0,a.isTest)()?e:"";return function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(t.strings)?!t.suppressEmptyStringMapErrors&&t.errorHandler("The current string map is empty. The string is probably resolved too early, at import time. Key: ".concat(e)):t.errorHandler("Key ".concat(e," does not exist in string map"),{stringsLoaded:!!t.stringMapInitialized}),i}return n};var n,i=r(1635),o=r(5851),a=r(8911),s=r(8293),l=(0,o.memoizeFunction)((function(e,t){var r=u(t);return function(t){return Promise.resolve(e===t?r:{})}}));function c(e,t){return-1===t.loaders.indexOf(e)?i.__assign(i.__assign({},t),{loaders:t.loaders.concat(e)}):t}function u(e){var t={};return e&&function e(r,n){for(var i=0,a=(0,o.keys)(n);i<a.length;i++){var s=a[i];if("string"==typeof s){var l=n[s];"string"==typeof l?t[r+s]=l:"object"==typeof l&&e(r+s+".",l)}}}("",e),t}},7222:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.CardObject=t.ValidationResults=void 0;var a=r(1050),s=r(2378),l=r(3771),c=r(1391),u=r(5804),d=function(){function e(){this.allIds={},this.validationEvents=[]}return e.prototype.addFailure=function(e,t,r){this.validationEvents.push({phase:a.ValidationPhase.Validation,source:e,event:t,message:r})},e}();t.ValidationResults=d;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._shouldFallback=!1,t}return i(t,e),t.prototype.getSchemaKey=function(){return this.getJsonTypeName()},Object.defineProperty(t.prototype,"requires",{get:function(){return this.getValue(t.requiresProperty)},enumerable:!1,configurable:!0}),t.prototype.contains=function(e){return!!this._renderedElement&&this._renderedElement.contains(e)},t.prototype.preProcessPropertyValue=function(e,t){var r=void 0===t?this.getValue(e):t;if(l.GlobalSettings.allowPreProcessingPropertyValues){for(var n=this;n&&!n.onPreProcessPropertyValue;)n=n.parent;if(n&&n.onPreProcessPropertyValue)return n.onPreProcessPropertyValue(this,e,r)}return r},t.prototype.setParent=function(e){this._parent=e},t.prototype.setShouldFallback=function(e){this._shouldFallback=e},t.prototype.shouldFallback=function(){return this._shouldFallback||!this.requires.areAllMet(this.hostConfig.hostCapabilities)},t.prototype.getRootObject=function(){for(var e=this;e.parent;)e=e.parent;return e},t.prototype.internalValidateProperties=function(e){this.id&&(e.allIds.hasOwnProperty(this.id)?(1===e.allIds[this.id]&&e.addFailure(this,a.ValidationEvent.DuplicateId,s.Strings.errors.duplicateId(this.id)),e.allIds[this.id]+=1):e.allIds[this.id]=1)},t.prototype.validateProperties=function(){var e=new d;return this.internalValidateProperties(e),e},t.prototype.findDOMNodeOwner=function(e){return this.contains(e)?this:void 0},t.prototype.releaseDOMResources=function(){},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedElement",{get:function(){return this._renderedElement},enumerable:!1,configurable:!0}),t.typeNameProperty=new u.StringProperty(u.Versions.v1_0,"type",void 0,void 0,void 0,(function(e){return e.getJsonTypeName()})),t.idProperty=new u.StringProperty(u.Versions.v1_0,"id"),t.requiresProperty=new u.SerializableObjectProperty(u.Versions.v1_2,"requires",c.HostCapabilities,!1,new c.HostCapabilities),o([(0,u.property)(t.idProperty)],t.prototype,"id",void 0),o([(0,u.property)(t.requiresProperty)],t.prototype,"requires",null),t}(u.SerializableObject);t.CardObject=p},7242:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(9790),i=r(7554);const o=function(e){return null!=e&&(0,i.A)(e.length)&&!(0,n.A)(e)}},7348:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t){return e===t||e!=e&&t!=t}},7385:(e,t,r)=>{"use strict";r.d(t,{j:()=>l});var n=r(587),i=r(2517),o=r(3278),a=r(7841);class s{constructor(){}handleEvent(e){var t;const r=e.args[0],s=e.args[1],l=e.orchestratorCommandParams.telemetryWrapper;return l.isShowLoadingIndicatorEnabled&&((0,o.e5)(o.Ct.End,o.Z1.FailureMessageProcessTime),l.failAppInitializationScenario(r,s),null===(t=e.orchestratorCommandParams.timerWrapper.timer)||void 0===t||t.clearTimer(e.sdkEventMessage)),l.failExtendedAppInitializationScenario(r,s),e.orchestratorCommandParams.appSdkHost.setAppInitInfo({state:i.Jz.Failed,reason:r,appSdkVersion:l.telemetryService.getAppSdkVersion()}),(0,n.X)().msg_notifyFailure_processedSuccessfully(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId),a.f1}}function l(){return new s}},7388:(e,t,r)=>{"use strict";r.d(t,{_:()=>p});var n=r(7810),i=r(1422),o=r(6140),a=r(7947),s=r(1410),l=r(3421),c=r(1419);const u=(0,l.X)({base:{g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw",B7ck84d:"f1ewtqcl",mc9l5x:"f14t3ns0"},bordered:{icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"]},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{},shadow:{E5pizo:"f1whvlc6"},center:{st4lth:"f1plgu50",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},contain:{st4lth:"f1kle4es",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},default:{},cover:{st4lth:"f1ps3kmd",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},none:{st4lth:"f1plgu50",Ermj5k:["f13uwng7","fjmyj0p"],Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},block:{a9b677:"fly5x3f"}},{d:[".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14t3ns0{display:inline-block;}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1whvlc6{box-shadow:var(--shadow4);}",".f1plgu50{object-fit:none;}",".f14xojzb{object-position:center;}",".f1l02sjl{height:100%;}",".fly5x3f{width:100%;}",".f1kle4es{object-fit:contain;}",".f1ps3kmd{object-fit:cover;}",".f13uwng7{object-position:left top;}",".fjmyj0p{object-position:right top;}"]});var d=r(1735);const p=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{bordered:r=!1,fit:n="default",block:i=!1,shape:o="square",shadow:l=!1}=e;return{bordered:r,fit:n,block:i,shape:o,shadow:l,components:{root:"img"},root:a.Gk((0,s.g)("img",{ref:t,...e}),{elementType:"img"})}})(e,t);return(e=>{const t=u();e.root.className=(0,c.z)("fui-Image",t.base,e.block&&t.block,e.bordered&&t.bordered,e.shadow&&t.shadow,t[e.fit],t[e.shape],e.root.className)})(r),(0,d.$e)("useImageStyles_unstable")(r),(e=>((0,o.C)(e),(0,i.Y)(e.root,{})))(r)}));p.displayName="Image"},7399:(e,t,r)=>{"use strict";r.d(t,{KA:()=>p,dp:()=>d,ic:()=>l});var n=r(5188),i=r(5239),o=r(9666),a=r(7059),s=r(9454),l=500,c="Channel has invalid priority - ";function u(e,t,r){t&&(0,i.cy)(t)&&t[n.oI]>0&&(t=t.sort((function(e,t){return e[o.Vo]-t[o.Vo]})),(0,i.Iu)(t,(function(e){e[o.Vo]<l&&(0,i.$8)(c+e[n.Ju])})),e[n.y5]({queue:(0,i.N6)(t),chain:(0,a.PV)(t,r[n.GA],r)}))}function d(e,t){function r(){return(0,a.i8)(null,t[n.GA],t,null)}function o(e,t,r,o){var a=e?e[n.oI]+1:1;function s(){0==--a&&(o&&o(),o=null)}a>0&&(0,i.Iu)(e,(function(e){if(e&&e.queue[n.oI]>0){var i=e.chain,o=t[n.$o](i);o[n.by](s),r(o)}else a--})),s()}var c=!1,u={identifier:"ChannelControllerPlugin",priority:l,initialize:function(t,r,o,l){c=!0,(0,i.Iu)(e,(function(e){e&&e.queue[n.oI]>0&&(0,s.pI)((0,a.i8)(e.chain,t,r),o)}))},isInitialized:function(){return c},processTelemetry:function(t,i){o(e,i||r(),(function(e){e[n.$5](t)}),(function(){i[n.$5](t)}))},update:function(t,r){var i=r||{reason:0};return o(e,t,(function(e){e[n.$5](i)}),(function(){t[n.$5](i)})),!0},pause:function(){o(e,r(),(function(e){e.iterate((function(e){e.pause&&e.pause()}))}),null)},resume:function(){o(e,r(),(function(e){e.iterate((function(e){e.resume&&e.resume()}))}),null)},teardown:function(t,r){var i=r||{reason:0,isAsync:!1};return o(e,t,(function(e){e[n.$5](i)}),(function(){t[n.$5](i),c=!1})),!0},getChannel:function(t){var r=null;return e&&e[n.oI]>0&&(0,i.Iu)(e,(function(e){if(e&&e.queue[n.oI]>0&&((0,i.Iu)(e.queue,(function(e){if(e[n.Ju]===t)return r=e,-1})),r))return-1})),r},flush:function(t,i,a,s){var l=1,c=!1,u=null;function d(){l--,c&&0===l&&(u&&(clearTimeout(u),u=null),i&&i(c),i=null)}return s=s||5e3,o(e,r(),(function(e){e.iterate((function(e){if(e[n.EX]){l++;var r=!1;e[n.EX](t,(function(){r=!0,d()}),a)||r||(t&&null==u?u=setTimeout((function(){u=null,d()}),s):d())}}))}),(function(){c=!0,d()})),!0},_setQueue:function(t){e=t}};return u}function p(e,t,r){var a=[];if(e&&(0,i.Iu)(e,(function(e){return u(a,e,r)})),t){var s=[];(0,i.Iu)(t,(function(e){e[o.Vo]>l&&s[n.y5](e)})),u(a,s,r)}return a}},7403:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5516),i=r.n(n),o=r(1364),a=r.n(o)()(i());a.push([e.id,'/* .rootContainer sits directly under #outlookAppHostRoot */\n.EQodOR8gbsjEUgjdH8xL {\n  flex: 1;\n  display: flex;\n  flex-direction: column;\n}\n\n/* .contentContainer holds the hosted content (app, card, etc) */\n.EHsj9c0rTf_ceHJS4FSa {\n  flex: 1;\n  display: flex;\n  flex-direction: column;\n  overflow: auto;\n  background-color: #ffffff;\n}\n\n.okO83cEKRprGBrYpzuax .EHsj9c0rTf_ceHJS4FSa {\n  background-color: #262626;\n}\n\n.EHsj9c0rTf_ceHJS4FSa > iframe {\n  display: block;\n}\n\n.u9lRHoEv99LjRvV847Mv {\n  width: 100%;\n  height: 100%;\n}\n\n.okO83cEKRprGBrYpzuax .u9lRHoEv99LjRvV847Mv {\n  background-color: #262626;\n  color: #ffffff;\n}\n\n.xo7bKL4KAE8fJjiPAEKZ {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  transform: translate(-50%, -50%);\n  text-align: center;\n}\n\n.voNsM7pLewtpBui5c3Mq {\n  font-family: "Segoe UI";\n  font-size: 14px;\n  text-align: center;\n}\n\n.A2ufXB4cMwlnDNgb3ix9 {\n  font-family: "Segoe UI";\n  font-size: 14px;\n  text-align: center;\n}\n\n.hHb8eAkGsSkJ0tMqvpe2 {\n  display: none;\n}\n\n.MKos7NIHJB12B8G7n3TL {\n  flex: none;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  padding: 10px 16px;\n  -webkit-user-select: none;\n  user-select: none;\n  border-bottom: 1px solid #d1d1d1;\n}\n\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL {\n  background-color: #262626;\n  color: #ffffff;\n  border-bottom-color: #3b3a39;\n}\n\n.MKos7NIHJB12B8G7n3TL .ZGbh_TIhG4P1r3gQee2S {\n  flex: none;\n  width: 28px;\n  height: 28px;\n  margin-inline-end: 12px;\n  background: white;\n  border: 0.5px solid #d2d0ce;\n  border-radius: 4px;\n}\n\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL .ZGbh_TIhG4P1r3gQee2S {\n  border: 0.5px solid #1f1f1f;\n}\n\n@media screen and (-ms-high-contrast: black-on-white) {\n  /*\n   * On HC themes, we render the outline app icon in the header. The outline icon is white, however,\n   * so on black-on-white themes, it becomes invisible. Fix this here by setting the background color\n   * of the image back to black in this case.\n   */\n   .MKos7NIHJB12B8G7n3TL .ZGbh_TIhG4P1r3gQee2S {\n    background: windowText;\n  }\n}\n\n.MKos7NIHJB12B8G7n3TL .HNOwEmMqirddQ_eQDqxE {\n  flex: none;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n}\n\n.MKos7NIHJB12B8G7n3TL .ROssaA7D9F1VkqZ3EOBR {\n  font-family: "Segoe UI";\n  color: #242424;\n  white-space: nowrap;\n}\n\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL .ROssaA7D9F1VkqZ3EOBR {\n  color: #ffffff;\n}\n\n.MKos7NIHJB12B8G7n3TL .sxoDwIprdRf3HwiF1mfR {\n  font-size: 14px;\n  font-weight: bolder;\n  height: 20px;\n}\n\n.MKos7NIHJB12B8G7n3TL .rdAepbxUQfWxcwZqtWhd {\n  font-size: 12px;\n  height: 16px;\n}\n\n.MKos7NIHJB12B8G7n3TL .SbtmHhpL4ECZKsUmQnaB {\n  flex: none;\n  display: flex;\n  justify-content: flex-start;\n}\n\n.MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u {\n  flex: none;\n  height: 28px;\n  width: 28px;\n  color: #666666;\n}\n\n.MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u:not(:first-child) {\n  margin-inline-start: 10px;\n}\n\n.MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u:focus,\n.MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u:hover {\n  color: #242424;\n  background-color: #ff2800;\n}\n\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u {\n  color: #808080;\n}\n\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u:focus,\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u:hover {\n  color: #ffffff;\n  background-color: #ff2800;\n}\n\n.c0QPtAd3xPf_gtbPDKSt {\n  flex: 1 1 0;\n  overflow-x: hidden;\n}\n\n.k2PaKo30siP5S6NVSAJb {\n  -webkit-user-select: none;\n  user-select: none;\n}\n\n.k2PaKo30siP5S6NVSAJb.okO83cEKRprGBrYpzuax {\n  background-color: #262626;\n  color: #ffffff;\n}\n\n.LTi1eVUPxzMrcZlY053Q {\n  padding: 20px;\n  font-family: "Segoe UI";\n  font-size: 14px;\n  text-align: center;\n}\n\n.tPswn4bVRwD3MnGDFJFV {\n  padding: 20px;\n  font-family: "Segoe UI";\n  font-size: 14px;\n  text-align: center;\n  color: #ff2800;\n}',"",{version:3,sources:["webpack://./src/styles.module.css"],names:[],mappings:"AAAA,2DAA2D;AAC3D;EACE,OAAO;EACP,aAAa;EACb,sBAAsB;AACxB;;AAEA,gEAAgE;AAChE;EACE,OAAO;EACP,aAAa;EACb,sBAAsB;EACtB,cAAc;EACd,yBAAyB;AAC3B;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,WAAW;EACX,YAAY;AACd;;AAEA;EACE,yBAAyB;EACzB,cAAc;AAChB;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,SAAS;EACT,gCAAgC;EAChC,kBAAkB;AACpB;;AAEA;EACE,uBAAuB;EACvB,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,uBAAuB;EACvB,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,UAAU;EACV,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,kBAAkB;EAClB,yBAAyB;EACzB,iBAAiB;EACjB,gCAAgC;AAClC;;AAEA;EACE,yBAAyB;EACzB,cAAc;EACd,4BAA4B;AAC9B;;AAEA;EACE,UAAU;EACV,WAAW;EACX,YAAY;EACZ,uBAAuB;EACvB,iBAAiB;EACjB,2BAA2B;EAC3B,kBAAkB;AACpB;;AAEA;EACE,2BAA2B;AAC7B;;AAEA;EACE;;;;IAIE;GACD;IACC,sBAAsB;EACxB;AACF;;AAEA;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,uBAAuB;AACzB;;AAEA;EACE,uBAAuB;EACvB,cAAc;EACd,mBAAmB;AACrB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,eAAe;EACf,mBAAmB;EACnB,YAAY;AACd;;AAEA;EACE,eAAe;EACf,YAAY;AACd;;AAEA;EACE,UAAU;EACV,aAAa;EACb,2BAA2B;AAC7B;;AAEA;EACE,UAAU;EACV,YAAY;EACZ,WAAW;EACX,cAAc;AAChB;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;;EAEE,cAAc;EACd,yBAAyB;AAC3B;;AAEA;EACE,cAAc;AAChB;;AAEA;;EAEE,cAAc;EACd,yBAAyB;AAC3B;;AAEA;EACE,WAAW;EACX,kBAAkB;AACpB;;AAEA;EACE,yBAAyB;EACzB,iBAAiB;AACnB;;AAEA;EACE,yBAAyB;EACzB,cAAc;AAChB;;AAEA;EACE,aAAa;EACb,uBAAuB;EACvB,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,uBAAuB;EACvB,eAAe;EACf,kBAAkB;EAClB,cAAc;AAChB",sourcesContent:['/* .rootContainer sits directly under #outlookAppHostRoot */\r\n.rootContainer {\r\n  flex: 1;\r\n  display: flex;\r\n  flex-direction: column;\r\n}\r\n\r\n/* .contentContainer holds the hosted content (app, card, etc) */\r\n.contentContainer {\r\n  flex: 1;\r\n  display: flex;\r\n  flex-direction: column;\r\n  overflow: auto;\r\n  background-color: #ffffff;\r\n}\r\n\r\n.darkMode .contentContainer {\r\n  background-color: #262626;\r\n}\r\n\r\n.contentContainer > iframe {\r\n  display: block;\r\n}\r\n\r\n.imageContainer {\r\n  width: 100%;\r\n  height: 100%;\r\n}\r\n\r\n.darkMode .imageContainer {\r\n  background-color: #262626;\r\n  color: #ffffff;\r\n}\r\n\r\n.centerImage {\r\n  position: absolute;\r\n  top: 50%;\r\n  left: 50%;\r\n  transform: translate(-50%, -50%);\r\n  text-align: center;\r\n}\r\n\r\n.textLabel {\r\n  font-family: "Segoe UI";\r\n  font-size: 14px;\r\n  text-align: center;\r\n}\r\n\r\n.buttonText {\r\n  font-family: "Segoe UI";\r\n  font-size: 14px;\r\n  text-align: center;\r\n}\r\n\r\n.dialogLabel {\r\n  display: none;\r\n}\r\n\r\n.dialogHeader {\r\n  flex: none;\r\n  display: flex;\r\n  flex-direction: row;\r\n  align-items: center;\r\n  padding: 10px 16px;\r\n  -webkit-user-select: none;\r\n  user-select: none;\r\n  border-bottom: 1px solid #d1d1d1;\r\n}\r\n\r\n.darkMode .dialogHeader {\r\n  background-color: #262626;\r\n  color: #ffffff;\r\n  border-bottom-color: #3b3a39;\r\n}\r\n\r\n.dialogHeader .dialogHeaderImage {\r\n  flex: none;\r\n  width: 28px;\r\n  height: 28px;\r\n  margin-inline-end: 12px;\r\n  background: white;\r\n  border: 0.5px solid #d2d0ce;\r\n  border-radius: 4px;\r\n}\r\n\r\n.darkMode .dialogHeader .dialogHeaderImage {\r\n  border: 0.5px solid #1f1f1f;\r\n}\r\n\r\n@media screen and (-ms-high-contrast: black-on-white) {\r\n  /*\r\n   * On HC themes, we render the outline app icon in the header. The outline icon is white, however,\r\n   * so on black-on-white themes, it becomes invisible. Fix this here by setting the background color\r\n   * of the image back to black in this case.\r\n   */\r\n   .dialogHeader .dialogHeaderImage {\r\n    background: windowText;\r\n  }\r\n}\r\n\r\n.dialogHeader .dialogHeaderInfo {\r\n  flex: none;\r\n  display: flex;\r\n  flex-direction: column;\r\n  justify-content: center;\r\n}\r\n\r\n.dialogHeader .dialogHeaderText {\r\n  font-family: "Segoe UI";\r\n  color: #242424;\r\n  white-space: nowrap;\r\n}\r\n\r\n.darkMode .dialogHeader .dialogHeaderText {\r\n  color: #ffffff;\r\n}\r\n\r\n.dialogHeader .dialogHeaderAppName {\r\n  font-size: 14px;\r\n  font-weight: bolder;\r\n  height: 20px;\r\n}\r\n\r\n.dialogHeader .dialogHeaderTitle {\r\n  font-size: 12px;\r\n  height: 16px;\r\n}\r\n\r\n.dialogHeader .dialogHeaderRight {\r\n  flex: none;\r\n  display: flex;\r\n  justify-content: flex-start;\r\n}\r\n\r\n.dialogHeader .dialogChromeButton {\r\n  flex: none;\r\n  height: 28px;\r\n  width: 28px;\r\n  color: #666666;\r\n}\r\n\r\n.dialogHeader .dialogChromeButton:not(:first-child) {\r\n  margin-inline-start: 10px;\r\n}\r\n\r\n.dialogHeader .dialogChromeButton:focus,\r\n.dialogHeader .dialogChromeButton:hover {\r\n  color: #242424;\r\n  background-color: #ff2800;\r\n}\r\n\r\n.darkMode .dialogHeader .dialogChromeButton {\r\n  color: #808080;\r\n}\r\n\r\n.darkMode .dialogHeader .dialogChromeButton:focus,\r\n.darkMode .dialogHeader .dialogChromeButton:hover {\r\n  color: #ffffff;\r\n  background-color: #ff2800;\r\n}\r\n\r\n.popOutTabButtons {\r\n  flex: 1 1 0;\r\n  overflow-x: hidden;\r\n}\r\n\r\n.configPageButtonContainer {\r\n  -webkit-user-select: none;\r\n  user-select: none;\r\n}\r\n\r\n.configPageButtonContainer.darkMode {\r\n  background-color: #262626;\r\n  color: #ffffff;\r\n}\r\n\r\n.dialogMessage {\r\n  padding: 20px;\r\n  font-family: "Segoe UI";\r\n  font-size: 14px;\r\n  text-align: center;\r\n}\r\n\r\n.dialogError {\r\n  padding: 20px;\r\n  font-family: "Segoe UI";\r\n  font-size: 14px;\r\n  text-align: center;\r\n  color: #ff2800;\r\n}'],sourceRoot:""}]),a.locals={rootContainer:"EQodOR8gbsjEUgjdH8xL",contentContainer:"EHsj9c0rTf_ceHJS4FSa",darkMode:"okO83cEKRprGBrYpzuax",imageContainer:"u9lRHoEv99LjRvV847Mv",centerImage:"xo7bKL4KAE8fJjiPAEKZ",textLabel:"voNsM7pLewtpBui5c3Mq",buttonText:"A2ufXB4cMwlnDNgb3ix9",dialogLabel:"hHb8eAkGsSkJ0tMqvpe2",dialogHeader:"MKos7NIHJB12B8G7n3TL",dialogHeaderImage:"ZGbh_TIhG4P1r3gQee2S",dialogHeaderInfo:"HNOwEmMqirddQ_eQDqxE",dialogHeaderText:"ROssaA7D9F1VkqZ3EOBR",dialogHeaderAppName:"sxoDwIprdRf3HwiF1mfR",dialogHeaderTitle:"rdAepbxUQfWxcwZqtWhd",dialogHeaderRight:"SbtmHhpL4ECZKsUmQnaB",dialogChromeButton:"QC8Cq8j9rmB2SxOOoC9u",popOutTabButtons:"c0QPtAd3xPf_gtbPDKSt",configPageButtonContainer:"k2PaKo30siP5S6NVSAJb",dialogMessage:"LTi1eVUPxzMrcZlY053Q",dialogError:"tPswn4bVRwD3MnGDFJFV"};const s=a},7424:(e,t,r)=>{"use strict";r.d(t,{F:()=>o});var n=r(4348),i=r(821);function o(e,t){const{disabled:r,disabledFocusable:o=!1,"aria-disabled":a,onClick:s,onKeyDown:l,onKeyUp:c,...u}=null!=t?t:{},d="string"==typeof a?"true"===a:a,p=r||o||d,f=(0,i.D)((e=>{p?(e.preventDefault(),e.stopPropagation()):null==s||s(e)})),h=(0,i.D)((e=>{if(null==l||l(e),e.isDefaultPrevented())return;const t=e.key;if(p&&(t===n.xyI||t===n.$xS))return e.preventDefault(),void e.stopPropagation();t!==n.$xS?t===n.xyI&&(e.preventDefault(),e.currentTarget.click()):e.preventDefault()})),g=(0,i.D)((e=>{if(null==c||c(e),e.isDefaultPrevented())return;const t=e.key;if(p&&(t===n.xyI||t===n.$xS))return e.preventDefault(),void e.stopPropagation();t===n.$xS&&(e.preventDefault(),e.currentTarget.click())}));if("button"===e||void 0===e)return{...u,disabled:r&&!o,"aria-disabled":!!o||d,onClick:o?void 0:f,onKeyUp:o?void 0:c,onKeyDown:o?void 0:l};{const t=!!u.href;let n=t?void 0:"button";!n&&p&&(n="link");const i={role:n,tabIndex:o||!t&&!r?0:void 0,...u,onClick:f,onKeyUp:g,onKeyDown:h,"aria-disabled":p};return"a"===e&&p&&(i.href=void 0),i}}r(7810)},7433:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},7454:(e,t,r)=>{"use strict";var n,i,o;r.d(t,{Aw:()=>i,N_:()=>n,P6:()=>o}),function(e){e[e.center=0]="center",e[e.contain=1]="contain",e[e.cover=2]="cover",e[e.none=3]="none",e[e.centerCover=4]="centerCover",e[e.centerContain=5]="centerContain"}(n||(n={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(i||(i={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(o||(o={}))},7457:(e,t,r)=>{"use strict";const n=r(9433);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},7471:(e,t,r)=>{"use strict";r.d(t,{s:()=>u});var n=r(8207),i=r(5188),o=r(5239),a=r(9666),s=r(7059),l=r(7518),c="getPlugin",u=function(){function e(){var t,r,u,d,p,f=this;function h(e){void 0===e&&(e=null);var t=e;if(!t){var n=r||(0,s.i8)(null,{},f[a.eT]);t=u&&u[c]?n[i.$o](null,u[c]):n[i.$o](null,u)}return t}function g(e,t,n){e&&(0,o.KY)(e,a.Bw,[],null,o.hX),!n&&t&&(n=t[i.ps]()[i.uR]());var l=u;u&&u[c]&&(l=u[c]()),f[a.eT]=t,r=(0,s.i8)(n,e,t,l)}function m(){t=!1,f[a.eT]=null,r=null,u=null,p=[],d=(0,l.P)()}m(),(0,n.A)(e,f,(function(e){e[i.mE]=function(e,r,n,i){g(e,r,i),t=!0},e[i.Ik]=function(t,r){var n,l=e[a.eT];if(l&&(!t||l===t[a.eT]())){var f,h=!1,g=t||(0,s.tS)(null,l,u&&u[c]?u[c]():u),v=r||((n={reason:0})[i.tI]=!1,n);return e[i.tn]&&!0===e[i.tn](g,v,y)?f=!0:y(),f}function y(){if(!h){h=!0,d.run(g,r);var e=p;p=[],(0,o.Iu)(e,(function(e){e.rm()})),!0===f&&g[i.$5](v),m()}}},e[i.HC]=function(t,r){var n=e[a.eT];if(n&&(!t||n===t[a.eT]())){var o,l=!1,d=t||(0,s.nU)(null,n,u&&u[c]?u[c]():u),p=r||{reason:0};return e._doUpdate&&!0===e._doUpdate(d,p,f)?o=!0:f(),o}function f(){l||(l=!0,g(d.getCfg(),d.core(),d[i.uR]()))}},e._addHook=function(e){e&&((0,o.cy)(e)?p=p.concat(e):p[i.y5](e))},(0,o.RF)(e,"_addUnloadCb",(function(){return d}),"add")})),f[i.e4]=function(e){return h(e)[i.e4]()},f[i.tZ]=function(){return t},f.setInitialized=function(e){t=e},f[i.YH]=function(e){u=e},f[i.$5]=function(e,t){t?t[i.$5](e):u&&(0,o.Tn)(u[a.qT])&&u[a.qT](e,null)},f._getTelCtx=h}return e.__ieDyn=1,e}()},7475:(e,t,r)=>{"use strict";r.d(t,{Oy:()=>o,RY:()=>a,SQ:()=>p,bd:()=>f,kG:()=>l});var n="undefined"!=typeof WeakRef,i=class{constructor(e){n&&"object"==typeof e?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,t;let r;return this._weakRef?(r=null==(e=this._weakRef)?void 0:e.deref(),r||delete this._weakRef):(r=this._instance,(null==(t=null==r?void 0:r.isDisposed)?void 0:t.call(r))&&delete this._instance),r}},o="keyborg:focusin",a="keyborg:focusout",s=!1;function l(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}var c=0,u=class{constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=e=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;const t=e.detail;t.relatedTarget&&(t.isFocusedProgrammatically||void 0===t.isFocusedProgrammatically||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=e=>{0===e.buttons||0===e.clientX&&0===e.clientY&&0===e.screenX&&0===e.screenY||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const e=this._win;e&&(this._isMouseOrTouchUsedTimer&&e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=e.setTimeout((()=>{delete this._isMouseOrTouchUsedTimer}),1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=e=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(e)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(e)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++c,this._win=e;const r=e.document;if(t){const e=t.triggerKeys,r=t.dismissKeys;(null==e?void 0:e.length)&&(this._triggerKeys=new Set(e)),(null==r?void 0:r.length)&&(this._dismissKeys=new Set(r))}r.addEventListener(o,this._onFocusIn,!0),r.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),r.addEventListener("touchstart",this._onMouseOrTouch,!0),r.addEventListener("touchend",this._onMouseOrTouch,!0),r.addEventListener("touchcancel",this._onMouseOrTouch,!0),function(e){const t=e;s||(s=function(e){const t=e.HTMLElement,r=t.prototype.focus;let n=!1;return t.prototype.focus=function(){n=!0},e.document.createElement("button").focus(),t.prototype.focus=r,n}(t));const r=t.HTMLElement.prototype.focus;if(r.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=p;const n=new Set,l=e=>{const t=e.target;if(!t)return;const r=new CustomEvent(a,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:e}});t.dispatchEvent(r)},c=e=>{const t=e.target;if(!t)return;let r=e.composedPath()[0];const i=new Set;for(;r;)r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(i.add(r),r=r.host):r=r.parentNode;for(const e of n){const t=e.deref();t&&i.has(t)||(n.delete(e),t&&(t.removeEventListener("focusin",c,!0),t.removeEventListener("focusout",l,!0)))}u(t,e.relatedTarget||void 0)},u=(e,t,r)=>{var a;const u=e.shadowRoot;if(u){for(const e of n)if(e.deref()===u)return;return u.addEventListener("focusin",c,!0),u.addEventListener("focusout",l,!0),void n.add(new i(u))}const p={relatedTarget:t,originalEvent:r},f=new CustomEvent(o,{cancelable:!0,bubbles:!0,composed:!0,detail:p});f.details=p,(s||d.lastFocusedProgrammatically)&&(p.isFocusedProgrammatically=e===(null==(a=d.lastFocusedProgrammatically)?void 0:a.deref()),d.lastFocusedProgrammatically=void 0),e.dispatchEvent(f)},d=t.__keyborgData={focusInHandler:c,focusOutHandler:l,shadowTargets:n};function p(){const e=t.__keyborgData;return e&&(e.lastFocusedProgrammatically=new i(this)),r.apply(this,arguments)}t.document.addEventListener("focusin",t.__keyborgData.focusInHandler,!0),t.document.addEventListener("focusout",t.__keyborgData.focusOutHandler,!0);let f=t.document.activeElement;for(;f&&f.shadowRoot;)u(f),f=f.shadowRoot.activeElement;p.__keyborgNativeFocus=r}(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),function(e){const t=e,r=t.HTMLElement.prototype,n=r.focus.__keyborgNativeFocus,i=t.__keyborgData;if(i){t.document.removeEventListener("focusin",i.focusInHandler,!0),t.document.removeEventListener("focusout",i.focusOutHandler,!0);for(const e of i.shadowTargets){const t=e.deref();t&&(t.removeEventListener("focusin",i.focusInHandler,!0),t.removeEventListener("focusout",i.focusOutHandler,!0))}i.shadowTargets.clear(),delete t.__keyborgData}n&&(r.focus=n)}(e);const t=e.document;t.removeEventListener(o,this._onFocusIn,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("touchstart",this._onMouseOrTouch,!0),t.removeEventListener("touchend",this._onMouseOrTouch,!0),t.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,t;const r=null==(t=null==(e=this._win)?void 0:e.__keyborg)?void 0:t.refs;if(r)for(const e of Object.keys(r))d.update(r[e],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var t;if("Tab"===e.key)return!0;const r=null==(t=this._win)?void 0:t.document.activeElement,n=!this._triggerKeys||this._triggerKeys.has(e.keyCode),i=r&&("INPUT"===r.tagName||"TEXTAREA"===r.tagName||r.isContentEditable);return n&&!i}_shouldDismissKeyboardNavigation(e){var t;return null==(t=this._dismissKeys)?void 0:t.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=e.document.activeElement;this._dismissTimer=e.setTimeout((()=>{this._dismissTimer=void 0;const r=e.document.activeElement;t&&r&&t===r&&(this.isNavigatingWithKeyboard=!1)}),500)}}},d=class e{constructor(e,t){this._cb=[],this._id="k"+ ++c,this._win=e;const r=e.__keyborg;r?(this._core=r.core,r.refs[this._id]=this):(this._core=new u(e,t),e.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,r){return new e(t,r)}static dispose(e){e.dispose()}static update(e,t){e._cb.forEach((e=>e(t)))}dispose(){var e;const t=null==(e=this._win)?void 0:e.__keyborg;(null==t?void 0:t.refs[this._id])&&(delete t.refs[this._id],0===Object.keys(t.refs).length&&(t.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var e;return!!(null==(e=this._core)?void 0:e.isNavigatingWithKeyboard)}subscribe(e){this._cb.push(e)}unsubscribe(e){const t=this._cb.indexOf(e);t>=0&&this._cb.splice(t,1)}setVal(e){this._core&&(this._core.isNavigatingWithKeyboard=e)}};function p(e,t){return d.create(e,t)}function f(e){d.dispose(e)}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */,7476:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n="object"==typeof global&&global&&global.Object===Object&&global},7478:(e,t,r)=>{"use strict";r.d(t,{Of:()=>I,kK:()=>v,r4:()=>P,eC:()=>_});var n=r(1635);const i=["long","short","compact"];function o(e){if(null==e)throw new Error('parseFloat: "input" parameter is null or undefined');if("number"==typeof e)return e;if("string"==typeof e)return parseFloat(e);throw new Error(`parseFloat: "input" parameter is not a number or a string (received "${typeof e}")`)}const a=new Map([["substr",function(e,t,r){if("string"!=typeof e)throw new Error(`substr: "input" parameter is not a string (${e})`);if("number"!=typeof t)throw new Error(`substr: "start" parameter is not a number (${t})`);if(void 0!==r&&"number"!=typeof r)throw new Error(`substr: "end" parameter is not undefined or a number (${r})`);return e.substring(t,r)}],["JSON.parse",function(e){return JSON.parse(e)}],["toString",function(e){return String(e)}],["parseInt",function(e,t){if("number"==typeof typeof e)return e;if("string"!=typeof e)throw new Error(`parseInt: "input" parameter is not a number or a string (${e})`);if(void 0!==t&&"number"!=typeof t)throw new Error(`parseInt: "radix" is not undefined or a number (${t})`);return parseInt(e,t)}],["parseFloat",o],["if",function(e,t,r){if("boolean"==typeof e)return e?t:r;throw new Error(`if: "condition" parameter is not a boolean (${e})`)}],["toUpper",function(e){if("string"==typeof e)return e.toUpperCase();throw new Error(`toUpper: "input" parameter is not a string (${e})`)}],["toLower",function(e){if("string"==typeof e)return e.toLowerCase();throw new Error(`toLower: "input" parameter is not a string (${e})`)}],["Date.format",function(e,t){let r;if("string"==typeof e)r=Date.parse(e);else{if("number"!=typeof e)throw new Error(`Date.format: "input" parameter is invalid (${e})`);r=e}const n=new Date(r);let o="compact";"string"==typeof t&&(o=t.toLowerCase(),i.includes(o)||(o="compact"));const a="compact"===o?n.toLocaleDateString():n.toLocaleDateString(void 0,{day:"numeric",weekday:o,month:o,year:"numeric"});if("Invalid Date"===a)throw new Error(`Date.format: "input" parameter is invalid (${e})`);return a}],["Time.format",function(e){let t;if("string"==typeof e)t=Date.parse(e);else{if("number"!=typeof e)throw new Error(`Time.format: "input" parameter is invalid (${e})`);t=e}const r=new Date(t).toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"});if("Invalid Date"===r)throw new Error(`Time.format: "input" parameter is invalid (${e})`);return r}],["round",function(e){if("number"==typeof e)return Math.round(e);throw new Error(`round: "input" parameter is not a number (${e})`)}],["ceil",function(e){if("number"==typeof e)return Math.ceil(e);throw new Error(`ceil: "input" parameter is not a number (${e})`)}],["floor",function(e){if("number"==typeof e)return Math.floor(e);throw new Error(`floor: "input" parameter is not a number (${e})`)}],["length",function(e){if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new Error(`length: "input" parameter is not a string or an array (${e})`)}]]);var s=r(4801);class l{constructor(e,t){this.declaration=e,this.params=t}execute(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=!this._executionPromise;e&&(this._executionPromise=this.declaration.call(this.params));const t=yield this._executionPromise;return e&&(this._timeStamp=Date.now()),t}))}isOutdated(){return void 0===this.declaration.cacheResultFor||!!this._timeStamp&&Date.now()-this._timeStamp>this.declaration.cacheResultFor}}class c{scheduleSweep(){this._sweepInterval<=0||this._sweepTimeoutId||(this._sweepTimeoutId=setTimeout((()=>{try{this.sweep()}catch(e){console.warn("FunctionCallCache sweep failed:",e)}}),this._sweepInterval))}cancelSweep(){this._sweepTimeoutId&&(clearTimeout(this._sweepTimeoutId),this._sweepTimeoutId=void 0)}constructor(e){var t;this._callCache=new Map,this._sweepInterval=e&&null!==(t=e.sweepInterval)&&void 0!==t?t:-1}sweep(){const e=[];for(const[t,r]of this._callCache.entries()){const n=[];for(const e of r)e.isOutdated()&&n.push(e);for(const e of n)r.delete(e);0===r.size&&e.push(t)}for(const t of e)this._callCache.delete(t)}clear(){this.cancelSweep(),this._callCache.clear()}callFunction(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(void 0===e.cacheResultFor||e.cacheResultFor<=0)return yield e.call(t);let r,n=this._callCache.get(e.name);if(n){for(const e of n)if((0,s.ck)(e.params,t)){r=e;break}r&&r.isOutdated()&&(n.delete(r),r=void 0),r||(r=new l(e,t),n.add(r))}else r=new l(e,t),n=new Set([r]),this._callCache.set(e.name,n);this.scheduleSweep();try{return yield r.execute()}catch(t){throw n.delete(r),0===n.size&&this._callCache.delete(e.name),t}}))}}class u{constructor(e){this.name=e}withCacheResultFor(e){return this.cacheResultFor=e,this}}class d extends u{constructor(e,t){super(e),this.callback=t}call(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.callback(...null!=e?e:[])}))}}const p=["string","number","boolean","identifier"],f=[["/","*"],["-","+"],["==","!=","<","<=",">",">=","&&","||","in"]];class h{static parse(e){const t=[];let r=0;for(;r<e.length;){const n=e.substring(r);let i=!1;for(const e of h.rules){const o=e.regEx.exec(n);if(o){if(o.length>2)throw new Error("A tokenizer rule matched more than one group.");void 0!==e.tokenType&&t.push({type:e.tokenType,value:o[1===o.length?0:1],originalPosition:r}),r+=o[0].length,i=!0;break}}if(!i)throw new Error(`Unexpected character "${n[0]}" at position ${r}.`)}return t}}function g(e){if("object"==typeof e&&!Array.isArray(e))throw new Error(`Invalid value type "${typeof e}"`);return e}h.rules=[{tokenType:void 0,regEx:/^\s/},{tokenType:"${",regEx:/^\$\{/},{tokenType:"?#",regEx:/^\?#/},{tokenType:"}",regEx:/^}/},{tokenType:"[",regEx:/^\[/},{tokenType:"]",regEx:/^\]/},{tokenType:"(",regEx:/^\(/},{tokenType:")",regEx:/^\)/},{tokenType:"boolean",regEx:/^true|^false/},{tokenType:".",regEx:/^\./},{tokenType:",",regEx:/^,/},{tokenType:"+",regEx:/^\+/},{tokenType:"-",regEx:/^-/},{tokenType:"*",regEx:/^\*/},{tokenType:"/",regEx:/^\//},{tokenType:"==",regEx:/^==/},{tokenType:"!=",regEx:/^!=/},{tokenType:"<=",regEx:/^<=/},{tokenType:"<",regEx:/^</},{tokenType:">=",regEx:/^>=/},{tokenType:">",regEx:/^>/},{tokenType:"&&",regEx:/^&&/},{tokenType:"||",regEx:/^\|\|/},{tokenType:"in",regEx:/^in/},{tokenType:"string",regEx:/^"([^"]*)"/},{tokenType:"string",regEx:/^'([^']*)'/},{tokenType:"number",regEx:/^\d*\.?\d+/},{tokenType:"identifier",regEx:/^[$_a-zA-Z][\w\d]*/i}];const m=["/","*","-","+","==","!=","<","<=",">",">=","&&","||","in"];class v{constructor(e){let t;if(this._stateStack=[],this._functions=new Map,this.groupId=null==e?void 0:e.groupId,this.$root=null==e?void 0:e.$root,this.$index=0,(null==e?void 0:e.groupId)&&(t=v._functionCallCacheMap.get(e.groupId),t||(t=new c,v._functionCallCacheMap.set(e.groupId,t))),this._functionCallCache=null!=t?t:new c,null==e?void 0:e.functions)for(const t of e.functions)this._functions.set(t.name,t)}clone(){return new v({$root:this.$root,groupId:this.groupId,functions:Array.from(this._functions.values())})}executeFunction(e,...t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const r=this.getFunction(e);if(void 0!==r){const e=yield Promise.all(t.map((e=>e.evaluate(this))));return yield this._functionCallCache.callFunction(r,e)}throw new Error(`Unknown function "${e}"`)}))}registerFunctions(...e){for(const t of e)this._functions.has(t.name)||this._functions.set(t.name,t)}getFunction(e){const t=this._functions.get(e);if(t)return t;const r=a.get(e);return r?new d(e,r):void 0}saveState(){this._stateStack.push({$data:this.$data,$index:this.$index})}restoreLastState(){const e=this._stateStack.pop();if(void 0===e)throw new Error("There is no evaluation context state to restore.");this.$data=e.$data,this.$index=e.$index}get currentDataContext(){return void 0!==this.$data?this.$data:this.$root}}v._functionCallCacheMap=new Map;class y{}class b extends y{constructor(e){super(),this.operator=e}evaluate(e,t,r){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(Array.isArray(t)||Array.isArray(r))switch(this.operator){case"in":if(!Array.isArray(t)&&Array.isArray(r))return r.includes(t);break;case"+":if(Array.isArray(t)&&Array.isArray(r))return[...t,...r];if(Array.isArray(t))return[...t,r];if(Array.isArray(r))return[t,...r]}const e=void 0!==t&&void 0!==r;switch(this.operator){case"/":return t/r;case"*":return t*r;case"-":return t-r;case"+":return t+r;case"==":return t===r;case"!=":return t!==r;case"<":return!!e&&t<r;case"<=":return!!e&&t<=r;case">":return!!e&&t>r;case">=":return!!e&&t>=r;case"&&":return t&&r;case"||":return t||r}throw new Error(`Incompatible operand types ${t} (${typeof t}) and ${r} (${typeof r}) for operator "${this.operator}"`)}))}}class w extends y{constructor(){super(...arguments),this.nodes=[],this.allowNull=!0}evaluate(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(1===this.nodes.length)return yield this.nodes[0].evaluate(e);const t=this.nodes.slice();for(const r of f){let n=0;for(;n<t.length;){const i=t[n];if(i instanceof b&&r.includes(i.operator)){const[r,o]=yield Promise.all([t[n-1].evaluate(e),t[n+1].evaluate(e)]),a=yield i.evaluate(e,g(r),g(o));t.splice(n-1,3,new x(a)),n--}n++}}return yield t[0].evaluate(e)}))}}class S extends y{evaluate(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.identifier}))}}class C extends y{evaluate(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return void 0!==this.index?yield this.index.evaluate(e):void 0}))}}class A extends y{constructor(e){super(),this.functionName=e,this.parameters=[]}evaluate(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield e.executeFunction(this.functionName,...this.parameters)}))}}class x extends y{constructor(e){super(),this.value=e}evaluate(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.value}))}}class k extends y{constructor(){super(...arguments),this.items=[]}evaluate(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield Promise.all(this.items.map((t=>t.evaluate(e))))}))}}class E extends y{constructor(){super(...arguments),this.parts=[]}evaluate(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){let t,r=0;for(;r<this.parts.length;){const n=this.parts[r];if(n instanceof S&&0===r)switch(n.identifier){case"$root":t=e.$root;break;case"$data":t=e.currentDataContext;break;case"$index":t=e.$index;break;case"$var":t=e.$var;break;default:(0,s._5)(e.currentDataContext)&&n.identifier&&(t=e.currentDataContext[n.identifier])}else{const i=yield n.evaluate(e);if(0===r)t=i;else{if(!(0,s._5)(t)||!(0,s.Px)(i))throw new Error("Invalid path node.");t=t[i]}}r++}return t}))}}class _{static isReservedField(e){return _._reservedFields.has(e)}unexpectedToken(){throw new Error(`Unexpected token "${this.current.value}" at position ${this.current.originalPosition}.`)}unexpectedEoe(){throw new Error("Unexpected end of expression.")}moveNext(){this._index++}parseToken(...e){this.eoe&&this.unexpectedEoe();const t=this.current;return e.includes(this.current.type)||this.unexpectedToken(),this.moveNext(),t}parseOptionalToken(...e){if(!this.eoe)return!!e.includes(this.current.type)&&(this.moveNext(),!0);this.unexpectedEoe()}parseFunctionCall(e){const t=new A(e);if(this.parseToken("("),")"!==this.current.type){const e=this.parseExpression();let r=!1;if(e){t.parameters.push(e);do{if(r=this.parseOptionalToken(","),r){const e=this.parseExpression();t.parameters.push(e)}}while(r)}}return this.parseToken(")"),t}parseIdentifier(){const e=new S;return e.identifier=this.current.value,this.moveNext(),e}parseIndexer(){const e=new C;return this.parseToken("["),e.index=this.parseExpression(),this.parseToken("]"),e}parsePath(){const e=new E;let t=["identifier","("],r=!1;for(;!this.eoe;){if(!t.includes(this.current.type)){if(e.parts.length>0&&r)return e;throw new Error("Invalid path.")}switch(r=!1,this.current.type){case"(":if(0===e.parts.length)this.moveNext(),e.parts.push(this.parseExpression()),this.parseToken(")");else{let t="";for(const r of e.parts)r instanceof S||this.unexpectedToken(),""!==t&&(t+="."),t+=r.identifier;e.parts=[],e.parts.push(this.parseFunctionCall(t))}t=[".","["],r=!0;break;case"[":e.parts.push(this.parseIndexer()),t=[".","(","["],r=!0;break;case"identifier":e.parts.push(this.parseIdentifier()),t=[".","(","["],r=!0;break;case".":this.moveNext(),t=["identifier"];break;default:t=[]}}if(e.parts.length>0&&r)return e;throw new Error("Invalid path.")}parseArray(){const e=new k;this.parseToken("[");const t=this.parseExpression();let r=!1;if(t){e.items.push(t);do{if(r=this.parseOptionalToken(","),r){const t=this.parseExpression();e.items.push(t)}}while(r)}return this.parseToken("]"),e}parseExpression(){const e=new w;let t=[...p,"(","[","+","-"],r=!1;for(;!this.eoe;){if(!t.includes(this.current.type)){if(0===e.nodes.length&&this.unexpectedToken(),r)return e;this.unexpectedToken()}switch(r=!1,this.current.type){case"(":case"identifier":e.nodes.push(this.parsePath()),t=m,r=!0;break;case"[":e.nodes.push(this.parseArray()),t=["+"],r=!0;break;case"string":case"number":case"boolean":"string"===this.current.type?e.nodes.push(new x(this.current.value)):"number"===this.current.type?e.nodes.push(new x(o(this.current.value))):e.nodes.push(new x("true"===this.current.value)),this.moveNext(),t=m,r=!0;break;case"-":0===e.nodes.length?(e.nodes.push(new x(-1)),e.nodes.push(new b("*")),t=["identifier","number","("]):(e.nodes.push(new b(this.current.type)),t=[...p,"("]),this.moveNext();break;case"+":0===e.nodes.length?t=[...p,"("]:(e.nodes.push(new b(this.current.type)),t=[...p,"(","["]),this.moveNext();break;case"*":case"/":case"==":case"!=":case"<":case"<=":case">":case">=":case"&&":case"||":e.nodes.push(new b(this.current.type)),this.moveNext(),t=[...p,"("];break;case"in":e.nodes.push(new b(this.current.type)),this.moveNext(),t=["["];break;default:t=[]}}if(r&&e.nodes.length>0)return e;this.unexpectedEoe()}constructor(e){this._index=0,this._tokens=h.parse(e)}get eoe(){return this._index>=this._tokens.length}get current(){return this._tokens[this._index]}parse(){const e=this.parseExpression();if(this.eoe)return e;this.unexpectedToken()}parseBinding(){this.parseToken("${");const e=!this.parseOptionalToken("?#"),t=this.parseExpression();if(this.parseToken("}"),this.eoe)return{expression:t,allowNull:e};this.unexpectedToken()}}_._reservedFields=new Set(["$data","$root","$var","$index"]);class I{constructor(e){this.expressionString=e;const t=new _(e).parseBinding();this.allowNull=t.allowNull,this._expression=t.expression}evaluate(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield this._expression.evaluate(null!=e?e:new v)}))}}class P{constructor(e,t){if(this.expressionString=e,this._options={allowAssignment:!1},this._options.allowAssignment=void 0!==(null==t?void 0:t.allowAssignment)?t.allowAssignment:this._options.allowAssignment,this._options.allowAssignment){const t=/^\s*([A-Za-z_][A-Za-z0-9_]*)\s*:=\s*/.exec(e);t&&t.length>1&&(this._assignResultTo=t[1],e=e.substring(t[0].length).trim())}const r=new _(e);this._rootNode=r.parse()}evaluate(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const t=null!=e?e:new v,r=yield this._rootNode.evaluate(t);return this._assignResultTo&&(void 0===t.$var&&(t.$var={}),t.$var[this._assignResultTo]=r),r}))}}},7518:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(5188),i=r(2129),o=r(8374),a=r(5239);function s(){var e=[];return{add:function(t){t&&e[n.y5](t)},run:function(t,r){(0,a.Iu)(e,(function(e){try{e(t,r)}catch(e){(0,i.ZP)(t[n.e4](),2,73,"Unexpected error calling unload handler - "+(0,o.mm)(e))}})),e=[]}}}},7533:(e,t,r)=>{"use strict";r.d(t,{J:()=>a,n:()=>s});var n=r(7810);const i=n.createContext(void 0),o={},a=i.Provider;function s(){var e;return null!==(e=n.useContext(i))&&void 0!==e?e:o}},7536:(e,t,r)=>{"use strict";const n=r(9433);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},7554:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7599:(e,t,r)=>{"use strict";r.d(t,{B:()=>f});var n=r(3421),i=r(5774),o=r(1419);const a=(0,i.y)("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),s=(0,i.y)("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),l=(0,n.X)({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),c=(0,n.X)({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fuigjrg .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4dhi0o:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),u=(0,n.X)({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f12k37oa[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fdnykm2[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),d=(0,n.X)({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),p=(0,n.X)({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),f=e=>{const t=a(),r=s(),n=l(),i=c(),f=u(),h=d(),g=p(),{appearance:m,disabled:v,disabledFocusable:y,icon:b,iconOnly:w,iconPosition:S,shape:C,size:A}=e;return e.root.className=(0,o.z)("fui-Button",t,m&&n[m],n[A],b&&"small"===A&&n.smallWithIcon,b&&"large"===A&&n.largeWithIcon,n[C],(v||y)&&i.base,(v||y)&&i.highContrast,m&&(v||y)&&i[m],"primary"===m&&f.primary,f[A],f[C],w&&h[A],e.root.className),e.icon&&(e.icon.className=(0,o.z)("fui-Button__icon",r,!!e.root.children&&g[S],g[A],e.icon.className)),e}},7608:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(7810),i=r(3907),o=r(4087);function a(e,t){var r,a=(r=n.useState(0)[1],function(){return r((function(e){return++e}))}),s=n.useContext(o.z).customizations,l=s.inCustomizerContext;return n.useEffect((function(){return l||i.X.observe(a),function(){l||i.X.unobserve(a)}}),[l]),i.X.getSettings(e,t,s)}},7625:(e,t,r)=>{"use strict";const n=r(2827),i=r(3961),o=r(330),a=r(1859),s=r(9245),l=r(3870);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,c);case"!=":return i(e,r,c);case">":return o(e,r,c);case">=":return a(e,r,c);case"<":return s(e,r,c);case"<=":return l(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},7675:(e,t,r)=>{"use strict";var n,i;r.d(t,{W:()=>i,m:()=>n}),function(e){e.DisplayCapture="displayCapture",e.GeoLocation="geolocation",e.Media="media",e.Midi="midi",e.Notifications="notifications",e.OpenExternal="openExternal"}(n||(n={})),function(e){e.Consented="consented",e.Revoked="revoked",e.NeverAsked="neverAsked"}(i||(i={}))},7714:(e,t,r)=>{"use strict";r.d(t,{$i:()=>a,IO:()=>l,RA:()=>h,VE:()=>g,bK:()=>u,gH:()=>d,h$:()=>o,h4:()=>f,kk:()=>p,pT:()=>s,te:()=>m,x5:()=>v,zg:()=>c});var n=r(5042),i=r(3390);class o{}o.useMarkdownInRadioButtonAndCheckbox=!0,o.alwaysBleedSeparators=!1,o.enableFullJsonRoundTrip=!1,o.displayInputValidationErrors=!0,o.allowPreProcessingPropertyValues=!1,o.enableFallback=!0,o.useWebkitLineClamp=!0,o.allowMoreThanMaxActionsInOverflowMenu=!0,o.removePaddingFromContainersWithBackgroundImage=!1,o.resetInputsDirtyStateAfterActionExecution=!1,o.defaultUnlocalizableStringFallback="Undefined",o.useBorderColorForSeparator=!1,o.failRenderingWhenUnknownPropertiesAreFound=!1,o.failRenderingWhenInvalidPropertyValuesAreFound=!1,o.fluentIconCdnBasePath="https://res-1.cdn.office.net/assets/fluentui-react-icons/2.0.226/",o.enableIconSupportForActionButtons=!1,o.allowSimultaneousVideoPlayback=!1,o.enablePropagateIdToDOM=!1,o.enableResourceStringApplication=!0;class a{constructor(e=0,t=0,r=0,n=0){this.left=0,this.top=0,this.right=0,this.bottom=0,this.top=e,this.right=t,this.bottom=r,this.left=n}}class s{constructor(e=i.Kz.None,t=i.Kz.None,r=i.Kz.None,n=i.Kz.None){this.top=i.Kz.None,this.right=i.Kz.None,this.bottom=i.Kz.None,this.left=i.Kz.None,this.top=e,this.right=t,this.bottom=r,this.left=n}}const l={regEx:/^\d+px$/,displayText:"<number>px"};class c{static parse(e,t=!1){const r=new c(0,i.Y2.Weight);if("number"==typeof e)return r.physicalSize=e,r;if("string"==typeof e){const n=/^([0-9]+)(px|\*)?$/g.exec(e),o=t?3:2;if(n&&n.length>=o)return r.physicalSize=parseInt(n[1],10),3===n.length&&"px"===n[2]&&(r.unit=i.Y2.Pixel),r}throw new Error(`Invalid size: ${e}`)}constructor(e,t){this.physicalSize=e,this.unit=t}}function u(e,t){return e===t?0:e<t?-1:1}class d{static parse(e){var t,r;const o=(0,n.aL)(i.jh).join("|"),a=(0,n.aL)(i.RK).join("|"),s=new RegExp(`^(?:(${o}):)?(${a})$`,"i").exec(e);if(s&&s.length>=3){const e=new d,o=null===(t=s[1])||void 0===t?void 0:t.toLowerCase();if(void 0!==o){const t=(0,n.l0)(i.jh,o);if(void 0===t)return;e.condition=t}const a=null===(r=s[2])||void 0===r?void 0:r.toLowerCase();if(void 0!==a){const t=(0,n.l0)(i.RK,a);if(void 0===t)return;return e.width=t,e}}}constructor(e=i.RK.Wide,t){this.width=e,this.condition=t}matches(e){return void 0===this.condition?this.width===e:this.condition===i.jh.AtLeast?this.width<=e:e<=this.width}toString(){return void 0!==this.condition?`${i.jh[this.condition]}:${i.RK[this.width]}`:i.RK[this.width]}}
/**
 * Fast UUID generator, RFC4122 version 4 compliant.
 * @author Jeff Ward (jcward.com).
 * @license MIT license
 * @link http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/21963136#21963136
 **/class p{static generate(){const e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,r=4294967295*Math.random()|0,n=4294967295*Math.random()|0;return p.lut[255&e]+p.lut[e>>8&255]+p.lut[e>>16&255]+p.lut[e>>24&255]+"-"+p.lut[255&t]+p.lut[t>>8&255]+"-"+p.lut[t>>16&15|64]+p.lut[t>>24&255]+"-"+p.lut[63&r|128]+p.lut[r>>8&255]+"-"+p.lut[r>>16&255]+p.lut[r>>24&255]+p.lut[255&n]+p.lut[n>>8&255]+p.lut[n>>16&255]+p.lut[n>>24&255]}static initialize(){for(let e=0;e<256;e++)p.lut[e]=(e<16?"0":"")+e.toString(16)}}var f;p.lut=[],p.initialize(),function(e){e[e.Person=0]="Person",e[e.Tag=1]="Tag"}(f||(f={})),(0,n.FM)(f,"MentionType");const h="CardElement",g=`${h}Array`,m="Action",v=`${m}Array`},7784:(e,t,r)=>{"use strict";r.d(t,{BFW:()=>o,kz4:()=>i});var n=r(8807);const i=(0,n.U)("VideoRegular","1em",["M5 4a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h5a3 3 0 0 0 3-3v-.32l3.04 2.1c.83.57 1.96-.03 1.96-1.03v-7.5c0-1-1.13-1.6-1.96-1.03L13 7.32V7a3 3 0 0 0-3-3H5Zm8 4.54 3.6-2.5c.17-.1.4.01.4.21v7.5c0 .2-.23.32-.4.2L13 11.46V8.54ZM3 7c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Z"]),o=(0,n.U)("WarningFilled","1em",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"])},7790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveString=p,t.resolveStringWithPlaceholders=h,t.lookupStringInStringProvider=function(e){return function(t){return function(r){return r?h(t,void 0,e)(r):p(t,void 0,e)}}},t.declareString=function(e,t){var r=function(r){return void 0===r&&(r=(0,i.getDefaultStringProvider)()),p(e,t,r)};return r.toString=r,r.key=e,r},t.declareStringWithPlaceholders=function(e,t){var r=function(r,n){return void 0===n&&(n=(0,i.getDefaultStringProvider)()),h(e,t,n)(r)};return r.toString=function(r){if(void 0===r&&(r=(0,i.getDefaultStringProvider)()),(0,o.isDevLocalization)()&&t){var n=(0,s.getStringDescriptionWithPlaceholders)(e,t).stringToBeLocalized;return(0,o.doPseudoLocalization)()?m(n):n}return!(0,c.stringExists)(e,r)&&t?(0,s.getStringDescriptionWithPlaceholders)(e,t).stringToBeLocalized:(0,c.lookUpString)(e,r)},r.key=e,r},t.pseudoLocalizePluralWithPlaceholders=function(e,t){var r={},i={};(0,n.keys)(t).forEach((function(e,n){var o="".concat(g,"_").concat(n);r[e]=o,i[o]=t[e]}));var o=e(r);return(0,n.keys)(o).forEach((function(e){var t=(0,l.pseudoLocalize)(S(o[e]));o[e]=(0,n.keys)(i).reduce((function(e,t){return e.replace(new RegExp(A(t),"g"),i[t])}),C(t))})),o};var n=r(5851),i=r(4044),o=r(8911),a=r(2784),s=r(4699),l=r(6416),c=r(7184),u=/\\{\\d+\\}/g,d=(0,n.memoizeFunction)((function(e){return new RegExp("\\{".concat(e,"\\}"),"g")}));function p(e,t,r){try{return(0,o.isDevLocalization)()&&t?(0,o.doPseudoLocalization)()?m(t.text):t.text:!(0,c.stringExists)(e,r)&&t?t.text:(0,c.lookUpString)(e,r)}catch(e){return(0,c.handleLocalizationError)(e,r),""}}var f=function(e,t){return function(r){try{return e(r)}catch(e){return(0,c.handleLocalizationError)(e,t),""}}};function h(e,t,r,i){try{return(0,o.isDevLocalization)()&&t&&t.text&&!(null==i?void 0:i.alreadyPseudoLocalized)?f((function(e){return(0,o.doPseudoLocalization)()?function(e,t){var r={},i={};(0,n.keys)(t).forEach((function(e,n){var o="".concat(g,"_").concat(n);r[e]=o,i[o]=t[e]}));var o=m(S(e.text(r)));return(0,n.keys)(i).reduce((function(e,t){return e.replace(new RegExp(A(t),"g"),i[t])}),C(o))}(t,e):t.text(e)}),r):!(0,c.stringExists)(e,r)&&t&&t.text?f(t.text,r):f((function(t){return(0,n.keys)(t).sort().reduce((function(e,r,n){var i=t[r],o=("string"==typeof i&&i||i&&i.toString&&i.toString()||"").replace(u,"");return(e||"").replace(d(n),o)}),(0,c.lookUpString)(e,r))}),r)}catch(e){return(0,c.handleLocalizationError)(e,r),function(){return""}}}var g="0.7059175321136157";function m(e){if(function(e){return(0,n.startsWith)(e,v)&&(0,n.endsWith)(e,y)}(e))return function(e){for(var t=v,r=v.length;r<e.length;){var n=(0,a.findICUPatternPart)(e,r);if(!n)break;var i=n[0],o=n[1],s=n[2];t+=i+m(o)+s,r+=i.length+o.length+s.length}return t+e.slice(r)}(e);var t={},r={};(e.match(/({.+?})/g)||[]).forEach((function(e,n){var i="".concat(g,"_").concat(n);t[e]=i,r[i]=e}));var i=Object.keys(t).reduce((function(e,r){return e.replace(r,t[r])}),S(e)),o=(0,l.pseudoLocalize)(i);return Object.keys(r).reduce((function(e,t){return e.replace(t,r[t])}),C(o))}var v="{count, plural,",y="}",b="->INF::",w="".concat(g,"_-1");function S(e){return e.replace(new RegExp(b,"g"),w)}function C(e){return e.replace(new RegExp(w,"g"),b)}function A(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}},7791:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHostConfig=t.HostConfig=t.CarouselConfig=t.FontTypeSet=t.FontTypeDefinition=t.ContainerStyleSet=t.ContainerStyleDefinition=t.ColorSetDefinition=t.ActionsConfig=t.ShowCardActionConfig=t.FactSetConfig=t.FactTitleDefinition=t.FactTextDefinition=t.InputConfig=t.InputLabelConfig=t.RequiredInputLabelTextDefinition=t.TextBlockConfig=t.TextStyleSet=t.TextStyleDefinition=t.BaseTextDefinition=t.TableConfig=t.MediaConfig=t.ImageSetConfig=t.AdaptiveCardConfig=t.TextColorDefinition=t.ColorDefinition=void 0;var o=r(1050),a=r(345),s=r(3771),l=r(1391);function c(e,t,r){if("string"==typeof t){var n=a.parseEnum(e,t,r);return void 0!==n?n:r}return"number"==typeof t?t:r}var u=function(){function e(e,t){this.default="#000000",this.subtle="#666666",e&&(this.default=e),t&&(this.subtle=t)}return e.prototype.parse=function(e){e&&(this.default=e.default||this.default,this.subtle=e.subtle||this.subtle)},e}();t.ColorDefinition=u;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.highlightColors=new u("#22000000","#11000000"),t}return i(t,e),t.prototype.parse=function(t){e.prototype.parse.call(this,t),t&&this.highlightColors.parse(t.highlightColors)},t}(u);t.TextColorDefinition=d;var p=function(e){this.allowCustomStyle=!1,e&&(this.allowCustomStyle=e.allowCustomStyle||this.allowCustomStyle)};t.AdaptiveCardConfig=p;var f=function(){function e(e){this.imageSize=o.Size.Medium,this.maxImageHeight=100,e&&(this.imageSize=null!=e.imageSize?e.imageSize:this.imageSize,this.maxImageHeight=a.parseNumber(e.maxImageHeight,100))}return e.prototype.toJSON=function(){return{imageSize:o.Size[this.imageSize],maxImageHeight:this.maxImageHeight}},e}();t.ImageSetConfig=f;var h=function(){function e(e){this.allowInlinePlayback=!0,e&&(this.defaultPoster=e.defaultPoster,this.allowInlinePlayback=e.allowInlinePlayback||this.allowInlinePlayback)}return e.prototype.toJSON=function(){return{defaultPoster:this.defaultPoster,allowInlinePlayback:this.allowInlinePlayback}},e}();t.MediaConfig=h;var g=function(){function e(e){this.cellSpacing=8,e&&(this.cellSpacing=e.cellSpacing&&"number"==typeof e.cellSpacing?e.cellSpacing:this.cellSpacing)}return e.prototype.toJSON=function(){return{cellSpacing:this.cellSpacing}},e}();t.TableConfig=g;var m=function(){function e(e){this.size=o.TextSize.Default,this.color=o.TextColor.Default,this.isSubtle=!1,this.weight=o.TextWeight.Default,this.parse(e)}return e.prototype.parse=function(e){e&&(this.size=c(o.TextSize,e.size,this.size),this.color=c(o.TextColor,e.color,this.color),this.isSubtle=void 0!==e.isSubtle&&"boolean"==typeof e.isSubtle?e.isSubtle:this.isSubtle,this.weight=c(o.TextWeight,e.weight,this.getDefaultWeight()))},e.prototype.getDefaultWeight=function(){return o.TextWeight.Default},e.prototype.toJSON=function(){return{size:o.TextSize[this.size],color:o.TextColor[this.color],isSubtle:this.isSubtle,weight:o.TextWeight[this.weight]}},e}();t.BaseTextDefinition=m;var v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.fontType=o.FontType.Default,t}return i(t,e),t.prototype.parse=function(t){e.prototype.parse.call(this,t),t&&(this.fontType=c(o.FontType,t.fontType,this.fontType))},t}(m);t.TextStyleDefinition=v;var y=function(){function e(e){this.default=new v,this.heading=new v({size:"Large",weight:"Bolder"}),this.columnHeader=new v({weight:"Bolder"}),e&&(this.heading.parse(e.heading),this.columnHeader.parse(e.columnHeader))}return e.prototype.getStyleByName=function(e){switch(e.toLowerCase()){case"heading":return this.heading;case"columnHeader":return this.columnHeader;default:return this.default}},e}();t.TextStyleSet=y;var b=function(e){e&&(this.headingLevel=a.parseNumber(e.headingLevel))};t.TextBlockConfig=b;var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.suffix=" *",t.suffixColor=o.TextColor.Attention,t}return i(t,e),t.prototype.parse=function(t){e.prototype.parse.call(this,t),t&&(this.suffix=t.suffix||this.suffix,this.suffixColor=c(o.TextColor,t.suffixColor,this.suffixColor))},t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.suffix=this.suffix,t.suffixColor=o.TextColor[this.suffixColor],t},t}(m);t.RequiredInputLabelTextDefinition=w;var S=function(e){this.inputSpacing=o.Spacing.Small,this.width=30,this.requiredInputs=new w,this.optionalInputs=new m,e&&(this.inputSpacing=c(o.Spacing,e.inputSpacing,this.inputSpacing),this.requiredInputs=new w(e.requiredInputs),this.optionalInputs=new m(e.optionalInputs),this.width=null!=e.width?e.width:this.width)};t.InputLabelConfig=S;var C=function(e){this.label=new S,this.errorMessage=new m({color:o.TextColor.Attention}),this.debounceTimeInMilliSeconds=0,this.allowRevealOnHoverStyle=!1,e&&(this.label=new S(e.label),this.errorMessage=new m(e.errorMessage),this.allowRevealOnHoverStyle=e.allowRevealOnHoverStyle||this.allowRevealOnHoverStyle,this.debounceTimeInMilliSeconds=e.debounceTimeInMilliSeconds)};t.InputConfig=C;var A=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wrap=!0,t}return i(t,e),t.prototype.parse=function(t){e.prototype.parse.call(this,t),t&&(this.wrap=null!=t.wrap?t.wrap:this.wrap)},t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.wrap=this.wrap,t},t}(m);t.FactTextDefinition=A;var x=function(e){function t(t){var r=e.call(this,t)||this;return r.maxWidth=150,r.weight=o.TextWeight.Bolder,t&&(r.maxWidth=null!=t.maxWidth?t.maxWidth:r.maxWidth,r.weight=c(o.TextWeight,t.weight,o.TextWeight.Bolder)),r}return i(t,e),t.prototype.getDefaultWeight=function(){return o.TextWeight.Bolder},t}(A);t.FactTitleDefinition=x;var k=function(e){this.title=new x,this.value=new A,this.spacing=10,e&&(this.title=new x(e.title),this.value=new A(e.value),this.spacing=e.spacing&&null!=e.spacing?e.spacing&&e.spacing:this.spacing)};t.FactSetConfig=k;var E=function(){function e(e){this.actionMode=o.ShowCardActionMode.Inline,this.inlineTopMargin=16,this.style=o.ContainerStyle.Emphasis,e&&(this.actionMode=c(o.ShowCardActionMode,e.actionMode,o.ShowCardActionMode.Inline),this.inlineTopMargin=null!=e.inlineTopMargin?e.inlineTopMargin:this.inlineTopMargin,this.style=e.style&&"string"==typeof e.style?e.style:o.ContainerStyle.Emphasis)}return e.prototype.toJSON=function(){return{actionMode:o.ShowCardActionMode[this.actionMode],inlineTopMargin:this.inlineTopMargin,style:this.style}},e}();t.ShowCardActionConfig=E;var _=function(){function e(e){if(this.maxActions=5,this.spacing=o.Spacing.Default,this.buttonSpacing=20,this.showCard=new E,this.preExpandSingleShowCardAction=!1,this.actionsOrientation=o.Orientation.Horizontal,this.actionAlignment=o.ActionAlignment.Left,this.iconPlacement=o.ActionIconPlacement.LeftOfTitle,this.allowTitleToWrap=!1,this.iconSize=16,e){this.maxActions=null!=e.maxActions?e.maxActions:this.maxActions,this.spacing=c(o.Spacing,e.spacing&&e.spacing,o.Spacing.Default),this.buttonSpacing=null!=e.buttonSpacing?e.buttonSpacing:this.buttonSpacing,this.showCard=new E(e.showCard),this.preExpandSingleShowCardAction=a.parseBool(e.preExpandSingleShowCardAction,!1),this.actionsOrientation=c(o.Orientation,e.actionsOrientation,o.Orientation.Horizontal),this.actionAlignment=c(o.ActionAlignment,e.actionAlignment,o.ActionAlignment.Left),this.iconPlacement=c(o.ActionIconPlacement,e.iconPlacement,o.ActionIconPlacement.LeftOfTitle),this.allowTitleToWrap=null!=e.allowTitleToWrap?e.allowTitleToWrap:this.allowTitleToWrap;try{var t=s.SizeAndUnit.parse(e.iconSize);t.unit===o.SizeUnit.Pixel&&(this.iconSize=t.physicalSize)}catch(e){}}}return e.prototype.toJSON=function(){return{maxActions:this.maxActions,spacing:o.Spacing[this.spacing],buttonSpacing:this.buttonSpacing,showCard:this.showCard,preExpandSingleShowCardAction:this.preExpandSingleShowCardAction,actionsOrientation:o.Orientation[this.actionsOrientation],actionAlignment:o.ActionAlignment[this.actionAlignment]}},e}();t.ActionsConfig=_;var I=function(){function e(e){this.default=new d,this.dark=new d,this.light=new d,this.accent=new d,this.good=new d,this.warning=new d,this.attention=new d,this.parse(e)}return e.prototype.parseSingleColor=function(e,t){e&&this[t].parse(e[t])},e.prototype.parse=function(e){e&&(this.parseSingleColor(e,"default"),this.parseSingleColor(e,"dark"),this.parseSingleColor(e,"light"),this.parseSingleColor(e,"accent"),this.parseSingleColor(e,"good"),this.parseSingleColor(e,"warning"),this.parseSingleColor(e,"attention"))},e}();t.ColorSetDefinition=I;var P=function(){function e(e){this.foregroundColors=new I({default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#E69500",subtle:"#DDE69500"},attention:{default:"#CC3300",subtle:"#DDCC3300"}}),this.parse(e)}return e.prototype.parse=function(e){e&&(this.backgroundColor=e.backgroundColor,this.foregroundColors.parse(e.foregroundColors),this.highlightBackgroundColor=e.highlightBackgroundColor,this.highlightForegroundColor=e.highlightForegroundColor,this.borderColor=e.borderColor)},Object.defineProperty(e.prototype,"isBuiltIn",{get:function(){return!1},enumerable:!1,configurable:!0}),e}();t.ContainerStyleDefinition=P;var T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"isBuiltIn",{get:function(){return!0},enumerable:!1,configurable:!0}),t}(P),B=function(){function e(e){if(this._allStyles={},this._allStyles[o.ContainerStyle.Default]=new T,this._allStyles[o.ContainerStyle.Emphasis]=new T,this._allStyles[o.ContainerStyle.Accent]=new T,this._allStyles[o.ContainerStyle.Good]=new T,this._allStyles[o.ContainerStyle.Attention]=new T,this._allStyles[o.ContainerStyle.Warning]=new T,e){this._allStyles[o.ContainerStyle.Default].parse(e[o.ContainerStyle.Default]),this._allStyles[o.ContainerStyle.Emphasis].parse(e[o.ContainerStyle.Emphasis]),this._allStyles[o.ContainerStyle.Accent].parse(e[o.ContainerStyle.Accent]),this._allStyles[o.ContainerStyle.Good].parse(e[o.ContainerStyle.Good]),this._allStyles[o.ContainerStyle.Attention].parse(e[o.ContainerStyle.Attention]),this._allStyles[o.ContainerStyle.Warning].parse(e[o.ContainerStyle.Warning]);var t=e.customStyles;if(t&&Array.isArray(t))for(var r=0,n=t;r<n.length;r++){var i=n[r];if(i){var a=i.name;a&&"string"==typeof a&&(this._allStyles.hasOwnProperty(a)?this._allStyles[a].parse(i.style):this._allStyles[a]=new P(i.style))}}}}return e.prototype.toJSON=function(){var e=this,t=[];Object.keys(this._allStyles).forEach((function(r){e._allStyles[r].isBuiltIn||t.push({name:r,style:e._allStyles[r]})}));var r={default:this.default,emphasis:this.emphasis};return t.length>0&&(r.customStyles=t),r},e.prototype.getStyleByName=function(e,t){return e&&this._allStyles.hasOwnProperty(e)?this._allStyles[e]:t||this._allStyles[o.ContainerStyle.Default]},Object.defineProperty(e.prototype,"default",{get:function(){return this._allStyles[o.ContainerStyle.Default]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"emphasis",{get:function(){return this._allStyles[o.ContainerStyle.Emphasis]},enumerable:!1,configurable:!0}),e}();t.ContainerStyleSet=B;var D=function(){function e(e){this.fontFamily="Segoe UI,Segoe,Segoe WP,Helvetica Neue,Helvetica,sans-serif",this.fontSizes={small:12,default:14,medium:17,large:21,extraLarge:26},this.fontWeights={lighter:200,default:400,bolder:600},e&&(this.fontFamily=e)}return e.prototype.parse=function(e){this.fontFamily=e.fontFamily||this.fontFamily,this.fontSizes={small:e.fontSizes&&e.fontSizes.small||this.fontSizes.small,default:e.fontSizes&&e.fontSizes.default||this.fontSizes.default,medium:e.fontSizes&&e.fontSizes.medium||this.fontSizes.medium,large:e.fontSizes&&e.fontSizes.large||this.fontSizes.large,extraLarge:e.fontSizes&&e.fontSizes.extraLarge||this.fontSizes.extraLarge},this.fontWeights={lighter:e.fontWeights&&e.fontWeights.lighter||this.fontWeights.lighter,default:e.fontWeights&&e.fontWeights.default||this.fontWeights.default,bolder:e.fontWeights&&e.fontWeights.bolder||this.fontWeights.bolder}},e.monospace=new e("'Courier New', Courier, monospace"),e}();t.FontTypeDefinition=D;var N=function(){function e(e){this.default=new D,this.monospace=new D("'Courier New', Courier, monospace"),e&&(this.default.parse(e.default),this.monospace.parse(e.monospace))}return e.prototype.getStyleDefinition=function(e){switch(e){case o.FontType.Monospace:return this.monospace;case o.FontType.Default:default:return this.default}},e}();t.FontTypeSet=N;var R=function(){function e(e){this.maxCarouselPages=10,this.minAutoplayDelay=5e3,e&&(this.maxCarouselPages=null!=e.maxCarouselPages?e.maxCarouselPages:this.maxCarouselPages,this.minAutoplayDelay=null!=e.minAutoplayDelay?e.minAutoplayDelay:this.minAutoplayDelay)}return e.prototype.toJSON=function(){return{maxCarouselPages:this.maxCarouselPages,minAutoplayDelay:this.minAutoplayDelay}},e}();t.CarouselConfig=R;var O=function(){function e(e){this.hostCapabilities=new l.HostCapabilities,this.choiceSetInputValueSeparator=",",this.supportsInteractivity=!0,this.spacing={small:3,default:8,medium:20,large:30,extraLarge:40,padding:15},this.separator={lineThickness:1,lineColor:"#EEEEEE"},this.imageSizes={small:40,medium:80,large:160},this.containerStyles=new B,this.inputs=new C,this.actions=new _,this.adaptiveCard=new p,this.imageSet=new f,this.media=new h,this.factSet=new k,this.table=new g,this.textStyles=new y,this.textBlock=new b,this.carousel=new R,this.alwaysAllowBleed=!1,e&&(("string"==typeof e||e instanceof String)&&(e=JSON.parse(e)),this.choiceSetInputValueSeparator=e&&"string"==typeof e.choiceSetInputValueSeparator?e.choiceSetInputValueSeparator:this.choiceSetInputValueSeparator,this.supportsInteractivity=e&&"boolean"==typeof e.supportsInteractivity?e.supportsInteractivity:this.supportsInteractivity,this._legacyFontType=new D,this._legacyFontType.parse(e),e.fontTypes&&(this.fontTypes=new N(e.fontTypes)),e.lineHeights&&(this.lineHeights={small:e.lineHeights.small,default:e.lineHeights.default,medium:e.lineHeights.medium,large:e.lineHeights.large,extraLarge:e.lineHeights.extraLarge}),this.imageSizes={small:e.imageSizes&&e.imageSizes.small||this.imageSizes.small,medium:e.imageSizes&&e.imageSizes.medium||this.imageSizes.medium,large:e.imageSizes&&e.imageSizes.large||this.imageSizes.large},this.containerStyles=new B(e.containerStyles),this.spacing={small:e.spacing&&e.spacing.small||this.spacing.small,default:e.spacing&&e.spacing.default||this.spacing.default,medium:e.spacing&&e.spacing.medium||this.spacing.medium,large:e.spacing&&e.spacing.large||this.spacing.large,extraLarge:e.spacing&&e.spacing.extraLarge||this.spacing.extraLarge,padding:e.spacing&&e.spacing.padding||this.spacing.padding},this.separator={lineThickness:e.separator&&e.separator.lineThickness||this.separator.lineThickness,lineColor:e.separator&&e.separator.lineColor||this.separator.lineColor},this.inputs=new C(e.inputs||this.inputs),this.actions=new _(e.actions||this.actions),this.adaptiveCard=new p(e.adaptiveCard||this.adaptiveCard),this.imageSet=new f(e.imageSet),this.factSet=new k(e.factSet),this.textStyles=new y(e.textStyles),this.textBlock=new b(e.textBlock),this.carousel=new R(e.carousel))}return e.prototype.getFontTypeDefinition=function(e){return this.fontTypes?this.fontTypes.getStyleDefinition(e):e===o.FontType.Monospace?D.monospace:this._legacyFontType},e.prototype.getEffectiveSpacing=function(e){switch(e){case o.Spacing.Small:return this.spacing.small;case o.Spacing.Default:return this.spacing.default;case o.Spacing.Medium:return this.spacing.medium;case o.Spacing.Large:return this.spacing.large;case o.Spacing.ExtraLarge:return this.spacing.extraLarge;case o.Spacing.Padding:return this.spacing.padding;default:return 0}},e.prototype.paddingDefinitionToSpacingDefinition=function(e){return new s.SpacingDefinition(this.getEffectiveSpacing(e.top),this.getEffectiveSpacing(e.right),this.getEffectiveSpacing(e.bottom),this.getEffectiveSpacing(e.left))},e.prototype.makeCssClassNames=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=0,i=e;n<i.length;n++){var o=i[n];r.push((this.cssClassNamePrefix?this.cssClassNamePrefix+"-":"")+o)}return r},e.prototype.makeCssClassName=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.makeCssClassNames.apply(this,e).join(" ")||""},Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this._legacyFontType.fontFamily},set:function(e){this._legacyFontType.fontFamily=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fontSizes",{get:function(){return this._legacyFontType.fontSizes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fontWeights",{get:function(){return this._legacyFontType.fontWeights},enumerable:!1,configurable:!0}),e}();t.HostConfig=O,t.defaultHostConfig=new O({supportsInteractivity:!0,spacing:{small:10,default:20,medium:30,large:40,extraLarge:50,padding:20},separator:{lineThickness:1,lineColor:"#EEEEEE"},fontTypes:{default:{fontFamily:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif",fontSizes:{small:12,default:14,medium:17,large:21,extraLarge:26},fontWeights:{lighter:200,default:400,bolder:600}},monospace:{fontFamily:"'Courier New', Courier, monospace",fontSizes:{small:12,default:14,medium:17,large:21,extraLarge:26},fontWeights:{lighter:200,default:400,bolder:600}}},imageSizes:{small:40,medium:80,large:160},containerStyles:{default:{backgroundColor:"#FFFFFF",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},emphasis:{backgroundColor:"#08000000",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},accent:{backgroundColor:"#C7DEF9",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},good:{backgroundColor:"#CCFFCC",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},attention:{backgroundColor:"#FFC5B2",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},warning:{backgroundColor:"#FFE2B2",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}}},inputs:{label:{requiredInputs:{weight:o.TextWeight.Bolder,suffix:" *",suffixColor:o.TextColor.Attention},optionalInputs:{weight:o.TextWeight.Bolder}},errorMessage:{color:o.TextColor.Attention,weight:o.TextWeight.Bolder},debounceTimeInMilliSeconds:250},actions:{maxActions:5,spacing:o.Spacing.Default,buttonSpacing:10,showCard:{actionMode:o.ShowCardActionMode.Inline,inlineTopMargin:16},actionsOrientation:o.Orientation.Horizontal,actionAlignment:o.ActionAlignment.Left},adaptiveCard:{allowCustomStyle:!1},imageSet:{imageSize:o.Size.Medium,maxImageHeight:100},factSet:{title:{color:o.TextColor.Default,size:o.TextSize.Default,isSubtle:!1,weight:o.TextWeight.Bolder,wrap:!0,maxWidth:150},value:{color:o.TextColor.Default,size:o.TextSize.Default,isSubtle:!1,weight:o.TextWeight.Default,wrap:!0},spacing:10},carousel:{maxCarouselPages:10,minAutoplayDuration:5e3},textBlock:{headingLevel:2}})},7810:(e,t,r)=>{"use strict";e.exports=r(5677)},7841:(e,t,r)=>{"use strict";r.d(t,{IB:()=>g,J5:()=>_,JA:()=>I,M5:()=>y,N8:()=>C,PR:()=>E,QY:()=>T,Sw:()=>A,UR:()=>f,eZ:()=>m,ez:()=>p,f1:()=>P,f3:()=>w,hV:()=>v,hl:()=>x,jC:()=>b,kA:()=>h,mW:()=>N,oE:()=>D,og:()=>B,sC:()=>R,vh:()=>d});var n=r(1635),i=r(240),o=r(2517),a=r(151),s=r(1128),l=r(7675),c=r(9202),u=r(4036);const d="An internal error occurred",p=new Set([i.tz.nestedAppAuth.execute]),f={errorCode:o.O4.INTERNAL_ERROR,message:d},h={errorCode:o.he.INTERNAL_ERROR,message:d};function g(e,t,r,n,i,o){const a=function(e,t,r){const n=(null==e?void 0:e.errorCode)&&Object.values(t).includes(null==e?void 0:e.errorCode)?e.errorCode:r.errorCode,i=function(e){return x(e)?e.message:"string"==typeof e?e:e instanceof c.H?e.message:f.message}(e);return{errorCode:n,message:i||r.message}}(t,r,n);return null==o||o.fail(`${e} Api failed ${a.message}`),i(a)}const m=(e,t,r)=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){return null==r||r.fail(`${e} Api failed ${D(t)}`),x(t)?E(t):E(f)})),v=(e,t,r)=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){return null==r||r.fail(`${e} Api failed ${D(t)}`),k(t)||x(t)?E(t):E(f)})),y=(e,t,r)=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){return null==r||r.fail(`${e} Api failed ${D(t)}`),E([!1,t])})),b=(e,t)=>({errorCode:e,message:t}),w=e=>({errorCode:o.he.INTERNAL_ERROR,message:S(e)});function S(e){return x(e)?e.message||d:"string"==typeof e?e:e instanceof c.H?e.message:JSON.stringify(e)}const C=(e,t,r,i=!1)=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){const n=yield t(e);if(x(n))return Promise.reject(n);{const e=r?r(n):n;return i&&Array.isArray(e)?E([null,...e]):E([null,e])}}));function A(e){return x(e)?e:f}const x=e=>void 0!==(null==e?void 0:e.errorCode),k=e=>!(void 0===(null==e?void 0:e.errorCode)||!Object.values(a.H_).includes(e.errorCode)),E=e=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){return null!=e?{kind:"appResponse",data:e}:{kind:"appResponse"}}));function _(e,...t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{return t?yield e(...t):yield e()}catch(e){throw(0,u.i)().log(s.$.Error,"HostError",`Received error from host function: ${e.message||JSON.stringify(e)}`),e}}))}const I=(e,...t)=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){const r=yield e(...t);return E(r)})),P={kind:"logResponse"},T=(e,...t)=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){return yield e(...t),P})),B=(e,t)=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){let r;if(!e)throw b(o.O4.INTERNAL_ERROR,"PermissionService is not provided");try{r=yield e.storageService.getPermissionStatus(t)}catch(e){throw JSON.stringify(e)}if(r==l.W.NeverAsked)throw b(o.O4.INTERNAL_ERROR,"The app must specify "+t+" permission in its manifest and must be granted by the user. (the user has not been asked to grant permission).");if(r==l.W.Revoked)throw b(o.O4.PERMISSION_DENIED,"user has explicitly not consented for device permission");if(r!==l.W.Consented)throw b(o.O4.INTERNAL_ERROR,`Unrecognized device permission state: ${r}`)})),D=e=>{const t="An unknown error occurred that could not be converted into a string description.";return x(e)||e instanceof Error?e.message||t:"string"==typeof e?e:"object"==typeof e&&JSON.stringify(e)||t};function N(e,t){var r;return{data:e.data,isDeeplyNestedRequest:t,origin:e.origin,source:null!==(r=e.source)&&void 0!==r?r:void 0}}const R=e=>{var t;return e.uuid?e.uuid.toString():null===(t=e.id)||void 0===t?void 0:t.toString()}},7843:(e,t,r)=>{"use strict";r.d(t,{$:()=>c});var n=r(7810),i=r(1422),o=r(6140),a=r(1053),s=r(7599),l=r(1735);const c=n.forwardRef(((e,t)=>{const r=(0,a.P)(e,t);return(0,s.B)(r),(0,l.$e)("useButtonStyles_unstable")(r),(e=>{(0,o.C)(e);const{iconOnly:t,iconPosition:r}=e;return(0,i.FD)(e.root,{children:["after"!==r&&e.icon&&(0,i.Y)(e.icon,{}),!t&&e.root.children,"after"===r&&e.icon&&(0,i.Y)(e.icon,{})]})})(r)}));c.displayName="Button"},7847:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(7810),i=(0,r(5058).S)()?n.useLayoutEffect:n.useEffect},7859:e=>{e.exports="data:image/svg+xml,%3csvg width='160' height='160' viewBox='0 0 160 160' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M131.319 98.9017C131.319 132.646 103.964 160.001 70.2201 160.001C36.4761 160.001 9.12109 132.646 9.12109 98.9017C9.12109 65.1577 36.4761 37.8027 70.2201 37.8027C103.964 37.8027 131.319 65.1577 131.319 98.9017Z' fill='%23605D5A'/%3e %3cpath d='M70.2195 37.8027C103.964 37.8027 131.319 65.1567 131.319 98.9017C131.319 106.322 129.994 113.431 127.571 120.01C119.332 128.044 108.837 133.775 97.1227 136.152C97.3155 136.943 97.4183 137.771 97.4183 138.623C97.4183 144.346 92.7783 148.984 87.0573 148.984C81.3353 148.984 76.6963 144.346 76.6963 138.623C76.6963 138.015 76.7487 137.419 76.8492 136.84C55.7368 134.052 38.0239 120.483 29.4225 101.845C23.9138 101.606 19.5195 97.0642 19.5195 91.4951C19.5195 87.8798 21.3714 84.6973 24.1783 82.8439C23.9479 80.6853 23.8295 78.4928 23.8295 76.2727C23.8295 68.8527 25.1545 61.7417 27.5765 55.1627C38.5875 44.4267 53.6265 37.8027 70.2195 37.8027Z' fill='%23797673'/%3e %3cpath d='M65.372 66.1313C65.372 72.6073 60.122 77.8583 53.645 77.8583C47.169 77.8583 41.918 72.6073 41.918 66.1313C41.918 59.6543 47.169 54.4033 53.645 54.4033C60.122 54.4033 65.372 59.6543 65.372 66.1313Z' fill='%23605D5A'/%3e %3cpath d='M82.7698 106.014C82.7698 111.736 78.1308 116.374 72.4098 116.374C66.6868 116.374 62.0488 111.736 62.0488 106.014C62.0488 100.291 66.6868 95.6533 72.4098 95.6533C78.1308 95.6533 82.7698 100.291 82.7698 106.014Z' fill='%23605D5A'/%3e %3cpath d='M117.936 114.968C117.936 117.958 115.512 120.382 112.522 120.382C109.533 120.382 107.109 117.958 107.109 114.968C107.109 111.979 109.533 109.555 112.522 109.555C115.512 109.555 117.936 111.979 117.936 114.968Z' fill='%23605D5A'/%3e %3cpath d='M93.113 138.623C93.113 141.969 90.401 144.68 87.056 144.68C83.712 144.68 81 141.969 81 138.623C81 135.278 83.712 132.566 87.056 132.566C90.401 132.566 93.113 135.278 93.113 138.623Z' fill='%23605D5A'/%3e %3cpath d='M35.9372 91.4955C35.9372 94.8405 33.2262 97.5525 29.8802 97.5525C26.5362 97.5525 23.8242 94.8405 23.8242 91.4955C23.8242 88.1505 26.5362 85.4385 29.8802 85.4385C33.2262 85.4385 35.9372 88.1505 35.9372 91.4955Z' fill='%23605D5A'/%3e %3cpath d='M80.9734 0C79.8464 1.892 78.4434 4.477 78.4434 8.93C78.4434 13.65 80.0224 16.281 81.1744 18.202C82.1244 19.787 82.6984 20.744 82.6984 23.12C82.6984 25.492 82.1254 26.449 81.1744 28.032C80.0224 29.953 78.4434 32.583 78.4434 37.3C78.4434 42.016 80.0224 44.648 81.1744 46.568C82.1254 48.153 82.6984 49.109 82.6984 51.483C82.6984 53.857 82.1254 54.812 81.1744 56.396C80.0224 58.316 78.4434 60.945 78.4434 65.663C78.4434 70.38 81.9014 71.58 81.9014 71.58L86.9044 65.663C86.9044 63.29 87.4784 62.334 88.4284 60.75C89.5814 58.83 91.1604 56.201 91.1604 51.483C91.1604 46.766 89.5814 44.135 88.4284 42.215C87.4784 40.63 86.9044 39.673 86.9044 37.3C86.9044 34.927 87.4784 33.969 88.4284 32.387C89.5814 30.467 91.1604 27.837 91.1604 23.12C91.1604 18.401 89.5814 15.77 88.4294 13.85C87.4784 12.264 86.9044 11.306 86.9044 8.93C86.9044 6.555 87.4784 5.598 88.4294 4.013C89.0584 2.965 89.8054 1.692 90.3624 0H80.9734Z' fill='url(%23paint0_linear)'/%3e %3cpath d='M119.043 71.2471C125.557 77.7611 148.673 65.1521 148.673 65.1521L135.434 51.9141C135.434 51.9141 112.528 64.7321 119.043 71.2471Z' fill='%23006DEF'/%3e %3cpath d='M94.6811 46.8849C88.1671 40.3709 100.776 17.2549 100.776 17.2549L114.014 30.4939C114.014 30.4939 101.196 53.3999 94.6811 46.8849Z' fill='%23006DEF'/%3e %3cpath d='M80.5631 86.0717C84.6764 90.5717 105.067 86.6134 127.034 69.6872C134.098 64.2442 144.416 49.2458 144.416 49.2458L116.817 23.502C116.817 23.502 101.406 35.099 95.7208 42.4841C79.9574 62.9614 76.5679 81.7009 80.5631 86.0717Z' fill='url(%23paint1_linear)'/%3e %3cpath d='M118.266 19.6472L146.265 47.6462C147.585 48.9672 147.585 51.1082 146.265 52.4292C144.945 53.7502 142.803 53.7502 141.483 52.4292L113.483 24.4292C112.162 23.1092 112.162 20.9672 113.483 19.6472C114.804 18.3272 116.945 18.3272 118.266 19.6472Z' fill='%23006DEF'/%3e %3cpath d='M103.959 47.7806C108.146 43.5926 114.938 43.5926 119.125 47.7806C123.313 51.9676 123.313 58.7586 119.125 62.9466C114.938 67.1346 108.146 67.1346 103.959 62.9466C99.7714 58.7586 99.7714 51.9676 103.959 47.7806Z' fill='%23006DEF'/%3e %3cpath d='M106.18 50.001C109.142 47.04 113.943 47.04 116.905 50.001C119.866 52.963 119.866 57.764 116.905 60.726C113.943 63.687 109.142 63.687 106.18 60.726C103.219 57.764 103.219 52.963 106.18 50.001Z' fill='%23004597'/%3e %3cpath d='M77.5935 66.043C81.5785 69.324 85.0465 68.242 87.5615 70.456C90.0795 72.672 88.7135 74.224 91.2305 76.439C93.7505 78.657 95.1155 77.106 97.6355 79.323C100.153 81.54 98.7885 83.092 101.307 85.31L95.0835 100.696L68.3965 75.491L77.5935 66.043Z' fill='%23797673'/%3e %3cpath d='M111.308 93.9519C111.308 98.5029 107.619 102.192 103.068 102.192C98.5171 102.192 94.8281 98.5029 94.8281 93.9519C94.8281 89.4009 98.5171 85.7119 103.068 85.7119C107.619 85.7119 111.308 89.4009 111.308 93.9519Z' fill='%23605D5A'/%3e %3cpath d='M129.296 15.3401C129.261 15.9071 129.417 16.4781 129.736 16.9481C130.192 17.6091 130.905 18.0251 131.71 18.0761C133.128 18.1631 134.356 17.0811 134.445 15.6621L134.877 8.81113C134.918 8.12013 134.682 7.47513 134.265 6.98413C133.826 6.46913 133.189 6.12413 132.461 6.07813C131.043 5.99113 129.817 7.07513 129.728 8.49313L129.296 15.3401Z' fill='%2333312D'/%3e %3cpath d='M141.479 20.1852C140.668 21.0702 140.575 22.3812 141.249 23.3732H141.25C141.371 23.5512 141.51 23.7112 141.645 23.8312C142.695 24.7872 144.329 24.7122 145.288 23.6642L149.626 18.9142C150.094 18.4022 150.333 17.7382 150.297 17.0432C150.269 16.4692 150.056 15.9362 149.697 15.5132C149.624 15.4272 149.544 15.3462 149.46 15.2712C148.41 14.3152 146.776 14.3882 145.817 15.4372L141.479 20.1852Z' fill='%2333312D'/%3e %3cpath d='M149.037 33.7201C149.111 33.9981 149.23 34.2601 149.391 34.4981C150.016 35.4211 151.14 35.8311 152.205 35.5401L158.098 33.9351C158.764 33.7541 159.318 33.3241 159.66 32.7231C160.001 32.1241 160.089 31.4291 159.908 30.7741C159.808 30.4001 159.628 30.0611 159.384 29.7751C159.193 29.5511 158.964 29.3591 158.701 29.2081C158.102 28.8651 157.406 28.7771 156.741 28.9581L150.847 30.5631C150.182 30.7451 149.626 31.1771 149.285 31.7771C148.943 32.3761 148.857 33.0721 149.037 33.7201Z' fill='%2333312D'/%3e %3cdefs%3e %3clinearGradient id='paint0_linear' x1='78.9276' y1='-8.35692' x2='78.9276' y2='57.7715' gradientUnits='userSpaceOnUse'%3e %3cstop stop-opacity='0.01'/%3e %3cstop offset='1' stop-color='%23C8C6C4'/%3e %3c/linearGradient%3e %3clinearGradient id='paint1_linear' x1='96.7103' y1='98.9231' x2='121.53' y2='67.6909' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23006DEF'/%3e %3cstop offset='1' stop-color='%230286EF'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e"},7938:(e,t,r)=>{"use strict";r.d(t,{NS:()=>p,Z4:()=>g,r2:()=>h});var n=r(8207),i=r(5188),o=r(5239),a=r(9666),s="ctx",l="ParentContextKey",c="ChildrenContextKey",u=null,d=function(){function e(t,r,n){var a,u=this,d=!1;u.start=(0,o.x3)(),u[i.RS]=t,u[i.tI]=n,u[i.Zu]=function(){return!1},(0,o.Tn)(r)&&(d=(0,o.r)(u,"payload",(function(){return!a&&(0,o.Tn)(r)&&(a=r(),r=null),a}))),u[i.O_]=function(t){return t?t===e[l]||t===e[c]?u[t]:(u[s]||{})[t]:null},u[i.e_]=function(t,r){t&&(t===e[l]?(u[t]||(u[i.Zu]=function(){return!0}),u[t]=r):t===e[c]?u[t]=r:(u[s]=u[s]||{})[t]=r)},u[i.Ru]=function(){var t=0,n=u[i.O_](e[c]);if((0,o.cy)(n))for(var a=0;a<n[i.oI];a++){var s=n[a];s&&(t+=s[i.fA])}u[i.fA]=(0,o.x3)()-u.start,u.exTime=u[i.fA]-t,u[i.Ru]=function(){},!d&&(0,o.Tn)(r)&&(u.payload=r())}}return e.ParentContextKey="parent",e.ChildrenContextKey="childEvts",e}(),p=function(){function e(t){this.ctx={},(0,n.A)(e,this,(function(e){e.create=function(e,t,r){return new d(e,t,r)},e.fire=function(e){e&&(e[i.Ru](),t&&(0,o.Tn)(t[a.l0])&&t[a.l0](e))},e[i.e_]=function(t,r){t&&((e[s]=e[s]||{})[t]=r)},e[i.O_]=function(t){return(e[s]||{})[t]}}))}return e.__ieDyn=1,e}(),f="CoreUtils.doPerf";function h(e,t,r,n,o){if(e){var s=e;if(s[a.kI]&&(s=s[a.kI]()),s){var u=void 0,p=s[i.O_](f);try{if(u=s.create(t(),n,o)){if(p&&u[i.e_]&&(u[i.e_](d[l],p),p[i.O_]&&p[i.e_])){var h=p[i.O_](d[c]);h||(h=[],p[i.e_](d[c],h)),h[i.y5](u)}return s[i.e_](f,u),r(u)}}catch(e){u&&u[i.e_]&&u[i.e_]("exception",e)}finally{u&&s.fire(u),s[i.e_](f,p)}}}return r()}function g(){return u}},7944:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.declarePluralString=function(e,t){var r=t&&{text:(0,n.createICUString)(t.strings),comment:t.comment},a=function(t){return void 0===t&&(t=(0,o.getDefaultStringProvider)()),(0,i.resolveString)(e,r,t)};return a.toString=a,a.key=e,a},t.declarePluralStringWithPlaceholders=function(e,t){var r=t&&c(t),n=function(t,n){return void 0===n&&(n=(0,o.getDefaultStringProvider)()),(0,i.resolveStringWithPlaceholders)(e,r,n,{alreadyPseudoLocalized:!0})(t)};return n.toString=function(t){return void 0===t&&(t=(0,o.getDefaultStringProvider)()),(0,a.isDevLocalization)()&&r||!(0,l.stringExists)(e,t)&&r?(0,s.getStringDescriptionWithPlaceholders)(e,r).stringToBeLocalized:(0,l.lookUpString)(e,t)},n.key=e,n},t.mapStringsToStandardFormat=function(e){var t=e.comment,r=e.strings;return{text:(0,n.createICUString)(r),comment:t}},t.mapStringsWithPlaceholdersToStandardFormat=c;var n=r(1625),i=r(7790),o=r(4044),a=r(8911),s=r(4699),l=r(7184);function c(e){var t=e.comment,r=e.placeholders,o=e.strings,s={comment:t,placeholders:r,text:function(e){return(0,n.createICUString)((0,a.doPseudoLocalization)()?(0,i.pseudoLocalizePluralWithPlaceholders)(o,e):o(e))}};return s}},7947:(e,t,r)=>{"use strict";r.d(t,{Gk:()=>o,lq:()=>a});var n=r(7810),i=r(8038);function o(e,t){const{defaultProps:r,elementType:o}=t,a=function(e){return"string"==typeof e||"number"==typeof e||s(e)||n.isValidElement(e)?{children:e}:e}(e),l={...r,...a,[i.on]:o,[i.b9]:null==a?void 0:a.className};return a&&"function"==typeof a.children&&(l[i.Y9]=a.children,l.children=null==r?void 0:r.children),l}function a(e,t){if(null!==e&&(void 0!==e||t.renderByDefault))return o(e,t)}const s=e=>"object"==typeof e&&null!==e&&Symbol.iterator in e},7980:(e,t,r)=>{"use strict";r.d(t,{V:()=>n});const n={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"}},7982:(e,t,r)=>{"use strict";r.d(t,{F:()=>a,U:()=>s});var n=r(7810);const i=n.createContext(void 0),o={},a=i.Provider,s=()=>{const e=n.useContext(i);return null!=e?e:o}},8029:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var n,i=r(6094),o=r(6733),a=i.Il,s=i.Q7,l=o.$,c=i.rh,u=i.xr,d=i.ay,p=i.KJ;!function(e){var t,r;t=e.Office||(e.Office={}),(r=t.System||(t.System={})).Activity=a,r.Result=s,r.Error=l,r.Funnel=c,r.Host=u,r.User=p,r.UserAction=d}(n||(n={}))},8038:(e,t,r)=>{"use strict";r.d(t,{Y9:()=>n,b9:()=>o,on:()=>i});const n=Symbol.for("fui.slotRenderFunction"),i=Symbol.for("fui.slotElementType"),o=Symbol.for("fui.slotClassNameProp")},8068:(e,t,r)=>{"use strict";r.d(t,{GR:()=>n,NM:()=>o,aI:()=>a,lm:()=>i});const n={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},i={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},o={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},a={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"}},8070:(e,t,r)=>{"use strict";r.d(t,{a9:()=>c,nc:()=>u,qR:()=>l,qm:()=>s});var n=r(4256),i=r(240),o=r(4691);const a="{authId}",s="authId",l="result",c="{result}",u=(()=>{const e={};return{startNewExternalAuthSession:(t,r,i)=>{const l=(e=>{const t=new URL(e).searchParams.get(s);return t&&t!==a?t:(0,n.A)()})(t);return t=t.replace("{oauthRedirectMethod}","deeplink").replace(a,l).replace("{hostRedirectUrl}",i?(0,o.y)(i,l):""),e[l]={handler:r,url:t,timeoutId:window.setTimeout((()=>{r(!1,"OAuth session timeout"),delete e[l]}),12e4)},new URL(t)},completeAuth:(t,r)=>{if("string"==typeof t&&"string"==typeof r){const n=e[t];if(n){window.clearTimeout(n.timeoutId);const o=RegExp(i.lY);r.length>i.OZ?n.handler(!1,i.Di):o.test(r)?n.handler(!0,r):n.handler(!1,i.r),delete e[t]}}}}})()},8086:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2977),i=r(8214);const o=function(e){return"symbol"==typeof e||(0,i.A)(e)&&"[object Symbol]"==(0,n.A)(e)}},8088:(e,t,r)=>{"use strict";r.d(t,{k:()=>o});var n=r(2435);const i=18e4;class o{constructor(e,t,r){this.telemetryService=e,this.tag=t,this.name=r,this.start=Date.now(),this.isLoggingDone=!1,this.scenario=n.oc.Default,this.timeoutId=setTimeout((()=>{this.log({type:n.FY.LogMetric,tag:this.tag,name:this.name,success:n.YE.Timeout,duration:i,diagnosticsData:`Ended with Timeout , Scenario: ${this.scenario}`}),this.isLoggingDone=!0}),i)}setScenario(e){this.scenario=e}logMetricEnd(e,t){if(clearTimeout(this.timeoutId),!this.isLoggingDone){this.isLoggingDone=!0;const r=Date.now()-this.start;this.log(Object.assign(Object.assign({},e),{type:n.FY.LogMetric,tag:this.tag,name:this.name,success:n.YE.Successful,duration:r,correlationVector:t}))}}logMetricEndWithError(e,t){if(clearTimeout(this.timeoutId),!this.isLoggingDone){this.isLoggingDone=!0;const r=Date.now()-this.start;this.log(Object.assign(Object.assign({},e),{type:n.FY.LogMetric,tag:this.tag,name:this.name,success:n.YE.Failure,duration:r,correlationVector:t}))}}log(e){var t;null===(t=this.telemetryService)||void 0===t||t.LogMetric(e)}}},8120:(e,t,r)=>{"use strict";r.d(t,{B:()=>o,b:()=>i});var n=r(1635);function i(e,t,r,i,a){return void 0===a&&(a=!1),function(e,t){var r="";return!0===t&&(r=" /* @deprecated */"),e.listTextColor=e.listText+r,e.menuItemBackgroundChecked+=r,e.warningHighlight+=r,e.warningText=e.messageText+r,e.successText+=r,e}(o(e,t,(0,n.__assign)({primaryButtonBorder:"transparent",errorText:i?"#F1707B":"#a4262c",messageText:i?"#F3F2F1":"#323130",messageLink:i?"#6CB8F6":"#005A9E",messageLinkHovered:i?"#82C7FF":"#004578",infoIcon:i?"#C8C6C4":"#605e5c",errorIcon:i?"#F1707B":"#A80000",blockingIcon:i?"#442726":"#FDE7E9",warningIcon:i?"#C8C6C4":"#797775",severeWarningIcon:i?"#FCE100":"#D83B01",successIcon:i?"#92C353":"#107C10",infoBackground:i?"#323130":"#f3f2f1",errorBackground:i?"#442726":"#FDE7E9",blockingBackground:i?"#442726":"#FDE7E9",warningBackground:i?"#433519":"#FFF4CE",severeWarningBackground:i?"#4F2A0F":"#FED9CC",successBackground:i?"#393D1B":"#DFF6DD",warningHighlight:i?"#fff100":"#ffb900",successText:i?"#92c353":"#107C10"},r),i),a)}function o(e,t,r,i,o){void 0===o&&(o=!1);var a={},s=e||{},l=s.white,c=s.black,u=s.themePrimary,d=s.themeDark,p=s.themeDarker,f=s.themeDarkAlt,h=s.themeLighter,g=s.neutralLight,m=s.neutralLighter,v=s.neutralDark,y=s.neutralQuaternary,b=s.neutralQuaternaryAlt,w=s.neutralPrimary,S=s.neutralSecondary,C=s.neutralSecondaryAlt,A=s.neutralTertiary,x=s.neutralTertiaryAlt,k=s.neutralLighterAlt,E=s.accent;return l&&(a.bodyBackground=l,a.bodyFrameBackground=l,a.accentButtonText=l,a.buttonBackground=l,a.primaryButtonText=l,a.primaryButtonTextHovered=l,a.primaryButtonTextPressed=l,a.inputBackground=l,a.inputForegroundChecked=l,a.listBackground=l,a.menuBackground=l,a.cardStandoutBackground=l),c&&(a.bodyTextChecked=c,a.buttonTextCheckedHovered=c),u&&(a.link=u,a.primaryButtonBackground=u,a.inputBackgroundChecked=u,a.inputIcon=u,a.inputFocusBorderAlt=u,a.menuIcon=u,a.menuHeader=u,a.accentButtonBackground=u),d&&(a.primaryButtonBackgroundPressed=d,a.inputBackgroundCheckedHovered=d,a.inputIconHovered=d),p&&(a.linkHovered=p),f&&(a.primaryButtonBackgroundHovered=f),h&&(a.inputPlaceholderBackgroundChecked=h),g&&(a.bodyBackgroundChecked=g,a.bodyFrameDivider=g,a.bodyDivider=g,a.variantBorder=g,a.buttonBackgroundCheckedHovered=g,a.buttonBackgroundPressed=g,a.listItemBackgroundChecked=g,a.listHeaderBackgroundPressed=g,a.menuItemBackgroundPressed=g,a.menuItemBackgroundChecked=g),m&&(a.bodyBackgroundHovered=m,a.buttonBackgroundHovered=m,a.buttonBackgroundDisabled=m,a.buttonBorderDisabled=m,a.primaryButtonBackgroundDisabled=m,a.disabledBackground=m,a.listItemBackgroundHovered=m,a.listHeaderBackgroundHovered=m,a.menuItemBackgroundHovered=m),y&&(a.primaryButtonTextDisabled=y,a.disabledSubtext=y),b&&(a.listItemBackgroundCheckedHovered=b),A&&(a.disabledBodyText=A,a.variantBorderHovered=(null==r?void 0:r.variantBorderHovered)||A,a.buttonTextDisabled=A,a.inputIconDisabled=A,a.disabledText=A),w&&(a.bodyText=w,a.actionLink=w,a.buttonText=w,a.inputBorderHovered=w,a.inputText=w,a.listText=w,a.menuItemText=w),k&&(a.bodyStandoutBackground=k,a.defaultStateBackground=k),v&&(a.actionLinkHovered=v,a.buttonTextHovered=v,a.buttonTextChecked=v,a.buttonTextPressed=v,a.inputTextHovered=v,a.menuItemTextHovered=v),S&&(a.bodySubtext=S,a.focusBorder=S,a.inputBorder=S,a.smallInputBorder=S,a.inputPlaceholderText=S),C&&(a.buttonBorder=C),x&&(a.disabledBodySubtext=x,a.disabledBorder=x,a.buttonBackgroundChecked=x,a.menuDivider=x),E&&(a.accentButtonBackground=E),(null==t?void 0:t.elevation4)&&(a.cardShadow=t.elevation4),!i&&(null==t?void 0:t.elevation8)?a.cardShadowHovered=t.elevation8:a.variantBorderHovered&&(a.cardShadowHovered="0 0 1px "+a.variantBorderHovered),(0,n.__assign)((0,n.__assign)({},a),r)}},8157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(e){for(;!r&&e.firstChild;)e.removeChild(e.firstChild);for(;null==t?void 0:t.firstChild;)e.appendChild(t.firstChild)}}},8173:(e,t,r)=>{"use strict";var n,i,o,a;r.d(t,{FH:()=>n,Xg:()=>s,cG:()=>o,ci:()=>i,m_:()=>a}),function(e){e.ActionExecuteInvokeRequest="ActionExecuteInvokeRequest",e.QueryMessageExtensionRequest="QueryMessageExtensionRequest"}(n||(n={})),function(e){e.ActionExecuteInvokeResponse="ActionExecuteInvokeResponse",e.QueryMessageExtensionResponse="QueryMessageExtensionResponse"}(i||(i={})),function(e){e.SSOBotToken="ssoBotToken",e.SSOToken="ssoToken",e.OAuthCode="oauthCode"}(o||(o={})),function(e){e.INTERNAL_ERROR="INTERNAL_ERROR"}(a||(a={}));const s="Action.Execute"},8207:(e,t,r)=>{"use strict";
/*!
 * Microsoft Dynamic Proto Utility, 1.1.11
 * Copyright (c) Microsoft and contributors. All rights reserved.
 */
var n;r.d(t,{A:()=>L});var i,o="undefined",a="constructor",s="prototype",l="function",c="_dynInstFuncs",u="_isDynProxy",d="_dynClass",p="_dynCls$",f="_dynInstChk",h=f,g="_dfOpts",m="_unknown_",v="__proto__",y="_dyn"+v,b="__dynProto$Gbl",w="_dynInstProto",S="useBaseInst",C="setInstFuncs",A=Object,x=A.getPrototypeOf,k=A.getOwnPropertyNames,E=(typeof globalThis!==o&&(i=globalThis),i||typeof self===o||(i=self),i||typeof window===o||(i=window),i||typeof r.g===o||(i=r.g),i||{}),_=E[b]||(E[b]={o:(n={},n[C]=!0,n[S]=!0,n),n:1e3});function I(e,t){return e&&A[s].hasOwnProperty.call(e,t)}function P(e){return e&&(e===A[s]||e===Array[s])}function T(e){return P(e)||e===Function[s]}function B(e){var t;if(e){if(x)return x(e);var r=e[v]||e[s]||(e[a]?e[a][s]:null);t=e[y]||r,I(e,y)||(delete e[w],t=e[y]=e[w]||e[y],e[w]=r)}return t}function D(e,t){var r=[];if(k)r=k(e);else for(var n in e)"string"==typeof n&&I(e,n)&&r.push(n);if(r&&r.length>0)for(var i=0;i<r.length;i++)t(r[i])}function N(e,t,r){return t!==a&&typeof e[t]===l&&(r||I(e,t))&&t!==v&&t!==s}function R(e){throw new TypeError("DynamicProto: "+e)}function O(){return Object.create?(e=Object.create)?e(null):{}:{};var e}function z(e,t){for(var r=e.length-1;r>=0;r--)if(e[r]===t)return!0;return!1}function M(e,t,r,n,i){if(!P(e)){var o=r[c]=r[c]||O();if(!P(o)){var a=o[t]=o[t]||O();!1!==o[h]&&(o[h]=!!i),P(a)||D(r,(function(t){N(r,t,!1)&&r[t]!==n[t]&&(a[t]=r[t],delete r[t],(!I(e,t)||e[t]&&!e[t][u])&&(e[t]=function(e,t){var r=function(){var n=function(e,t,r,n){var i=null;if(e&&I(r,d)){var o=e[c]||O();if((i=(o[r[d]]||O())[t])||R("Missing ["+t+"] "+l),!i[f]&&!1!==o[h]){for(var a=!I(e,t),s=B(e),u=[];a&&s&&!T(s)&&!z(u,s);){var p=s[t];if(p){a=p===n;break}u.push(s),s=B(s)}try{a&&(e[t]=i),i[f]=1}catch(e){o[h]=!1}}}return i}(this,t,e,r)||function(e,t,r){var n=t[e];return n===r&&(n=B(t)[e]),typeof n!==l&&R("["+e+"] is not a "+l),n}(t,e,r);return n.apply(this,arguments)};return r[u]=1,r}(e,t)))}))}}}function F(e,t){return I(e,s)?e.name||t||m:((e||{})[a]||{}).name||t||m}function L(e,t,r,n){I(e,s)||R("theClass is an invalid class definition.");var i=e[s];(function(e,t){if(x){for(var r=[],n=B(t);n&&!T(n)&&!z(r,n);){if(n===e)return!0;r.push(n),n=B(n)}return!1}return!0})(i,t)||R("["+F(e)+"] not in hierarchy of ["+F(t)+"]");var o=null;I(i,d)?o=i[d]:(o=p+F(e,"_")+"$"+_.n,_.n++,i[d]=o);var a=L[g],l=!!a[S];l&&n&&void 0!==n[S]&&(l=!!n[S]);var f=function(e){var t=O();return D(e,(function(r){!t[r]&&N(e,r,!1)&&(t[r]=e[r])})),t}(t),m=function(e,t,r,n){function i(e,t,r){var i=t[r];if(i[u]&&n){var o=e[c]||{};!1!==o[h]&&(i=(o[t[d]]||{})[r]||i)}return function(){return i.apply(e,arguments)}}var o=O();D(r,(function(e){o[e]=i(t,r,e)}));for(var a=B(e),s=[];a&&!T(a)&&!z(s,a);)D(a,(function(e){!o[e]&&N(a,e,!x)&&(o[e]=i(t,a,e))})),s.push(a),a=B(a);return o}(i,t,f,l);r(t,m);var v=!!x&&!!a[C];v&&n&&(v=!!n[C]),M(i,o,t,f,!1!==v)}L[g]=_.o},8208:(e,t,r)=>{"use strict";r.d(t,{rc:()=>E,On:()=>P,XC:()=>A,hA:()=>C,lX:()=>I,XG:()=>b,v7:()=>T,Au:()=>_,n7:()=>S,x$:()=>g,Gh:()=>k,JM:()=>w});var n=r(7810),i=r(1455),o=r(5042),a=r(3390),s=r(8885),l=r(7e3),c=r(1136),u=r(2583),d=r(7714),p=r(2637),f=r(2290);class h{constructor(e){this.customValidators=e,this.allIds={},this.validationEvents=[]}addFailure(e,t,r){this.validationEvents.push({phase:a.Fg.Validation,source:e,event:t,message:r})}}class g extends u.jB{get theme(){return this.getValue(g.themeProperty)}set theme(e){this.setValue(g.themeProperty,e)}get url(){return this.getValue(g.urlProperty)}set url(e){this.setValue(g.urlProperty,e)}getSchemaKey(){return"ThemedUrl"}constructor(e=a.V6.Light,t){super(),this.theme=e,this.url=t}}g.themeProperty=new u.fX(u.uq.v1_5,"theme",a.V6,a.V6.Light),g.urlProperty=new u.XB(u.uq.v1_5,"url").setContentType("imageUrl");class m extends u.kR{constructor(e,t){super(e,t,(e=>new l.B),!1,new l.B),this.targetVersion=e,this.name=t,this.allowAdditionalProperties=!0,this.preserveAdditionalProperties=!0}}class v extends u.bU{constructor(){super(...arguments),this._shouldFallback=!1,this._openPopoverCount=0,this.isPopoverContent=!1}get id(){return this.getValue(v.idProperty)}set id(e){this.setValue(v.idProperty,e)}get requires(){return this.getValue(v.requiresProperty)}get internalId(){}actionExecuted(e){}getDefaultSerializationContext(){return new _}mediaPlaybackStarted(e){this.onMediaPlaybackStarted?this.onMediaPlaybackStarted(e):this.parent&&this.parent.mediaPlaybackStarted(e)}closePopover(){var e;this.onClosePopover&&this.onClosePopover(),null===(e=this.parent)||void 0===e||e.closePopover()}getAdditionalValidSchemaProperties(){return[...super.getAdditionalValidSchemaProperties(),"fallback"]}getSerializationContext(){return this._serializationContext?this._serializationContext:this.parent?this.parent.getSerializationContext():this.getDefaultSerializationContext()}setSerializationContext(e){this._serializationContext=e}localizeString(e,t){let r;return this.onLocalizeString?r=this.onLocalizeString(e.key,t):this.parent&&(r=this.parent.localizeString(e,t)),void 0===r?(0,f.zl)(e.defaultValue,t):r}getAllInputs(e=!0){return[]}getResourceStrings(){var e;return null===(e=this.parent)||void 0===e?void 0:e.getResourceStrings()}getValue(e){let t=super.getValue(e);if(d.h$.enableResourceStringApplication&&!this.isDesignMode()&&e.shouldApplyResources){const r=this.getResourceStrings();r&&(t=e.applyResourceStrings(t,r,this.hostConfig.hostLocale))}return t}preProcessPropertyValue(e,t){const r=void 0===t?this.getValue(e):t;if(d.h$.allowPreProcessingPropertyValues){let t=this;for(;t&&!t.onPreProcessPropertyValue;)t=t.parent;if(t&&t.onPreProcessPropertyValue)return t.onPreProcessPropertyValue(this,e,r)}return r}setParent(e){this._parent=e}setShouldFallback(e){this._shouldFallback=e}shouldFallback(){return this._shouldFallback||!this.requires.areAllMet(this.hostConfig.hostCapabilities)}getRootObject(){let e=this;for(;e.parent;)e=e.parent;return e}hasAsParent(e){let t=this.parent;for(;t;){if(t===e)return!0;t=t.parent}return!1}internalValidateProperties(e){var t;const r=null===(t=e.customValidators)||void 0===t?void 0:t[this.getJsonTypeName()];r&&r(this,e),this.id&&(e.allIds.hasOwnProperty(this.id)?(1===e.allIds[this.id]&&e.addFailure(this,a.iV.DuplicateId,p.D.errors.duplicateId(this.id)),e.allIds[this.id]+=1):e.allIds[this.id]=1)}isAtTheVeryLeft(){return!1}isAtTheVeryRight(){return!1}isAtTheVeryTop(){return!1}isAtTheVeryBottom(){return!1}isDesignMode(){return this.hostConfig.designMode}validateProperties(e){const t=new h(e);return this.internalValidateProperties(t),t}releaseDOMResources(){}updateActionsEnabledState(){}updateLayout(e=!1){}renderAnchor(e,t){return this.parent?this.parent.renderAnchor(e,t):((e,t)=>n.createElement("a",t,null!=e?e:t.href))(e,t)}renderImage(e,t){return this.parent?this.parent.renderImage(e,t):((e,t)=>n.createElement("img",Object.assign({},t)))(0,t)}formatDate(e){return this.parent?this.parent.formatDate(e):e.toLocaleDateString(void 0,{dateStyle:"long"})}processImageUrlAsync(e){return!!this.parent&&this.parent.processImageUrlAsync(e)}processImageUrl(e){return this.parent?this.parent.processImageUrl(e):e}dataQuery(e){return!!this.parent&&this.parent.dataQuery(e)}popoverOpened(){this._openPopoverCount++,this.parent&&this.parent.popoverOpened()}popoverClosed(){this._openPopoverCount>0&&(this._openPopoverCount--,0===this._openPopoverCount&&this.getRootObject().updateLayout()),this.parent&&this.parent.popoverClosed()}isInPopover(){return!!this.isPopoverContent||!!this.parent&&this.parent.isInPopover()}setLabelElementForInputId(e,t){var r;null===(r=this.parent)||void 0===r||r.setLabelElementForInputId(e,t)}getLabelElementForInputId(e){var t;return null===(t=this.parent)||void 0===t?void 0:t.getLabelElementForInputId(e)}removeLabelElementForInputId(e){var t;null===(t=this.parent)||void 0===t||t.removeLabelElementForInputId(e)}registerInput(e){var t;null===(t=this.parent)||void 0===t||t.registerInput(e)}getInput(e){var t;return null===(t=this.parent)||void 0===t?void 0:t.getInput(e)}unregisterInput(e){var t;null===(t=this.parent)||void 0===t||t.unregisterInput(e)}inputHasExternalLabel(e){return!!this.parent&&this.parent.inputHasExternalLabel(e)}getSize(){}get groupId(){return this._groupId?this._groupId:this.parent?this.parent.groupId:void 0}set groupId(e){this._groupId=e}get isInSubCard(){return!!this.parent&&this.parent.isInSubCard}get horizontalAlignment(){}get parent(){return this._parent}get expressionEvaluationContext(){return this._expressionEvaluationContext?this._expressionEvaluationContext:this.parent?this.parent.expressionEvaluationContext:void 0}set expressionEvaluationContext(e){this._expressionEvaluationContext=e}}v.idProperty=new u.XB(u.uq.v1_0,"id"),v.requiresProperty=new m(u.uq.v1_2,"requires");class y extends v{constructor(){super(...arguments),this._hasBeenRendered=!1,this._disableAutomaticReRenderCount=0,this.Render=e=>n.createElement(b,{cardObject:this,args:e.args})}invalidate(){var e;null===(e=this.onInvalidate)||void 0===e||e.call(this,this)}propertyChanged(e,t,r){super.propertyChanged(e,t,r),0===this._disableAutomaticReRenderCount&&this.invalidate()}mounted(){this._hasBeenRendered=!0,this.onMounted&&this.onMounted(this)}unmounted(){}renderedElementChanged(e,t){this.onRenderedElementChanged&&this.onRenderedElementChanged(e,t)}updateLayout(e=!1){super.updateLayout(e),this.invalidate()}disableAutomaticReRender(){this._disableAutomaticReRenderCount++}enableAutomaticReRender(){this._disableAutomaticReRenderCount>0&&this._disableAutomaticReRenderCount--}get hasBeenRendered(){return this._hasBeenRendered}get renderedElement(){}}const b=e=>{const[,t]=n.useState(0),r=n.useCallback((()=>{t((e=>e+1))}),[]);return n.useEffect((()=>(e.cardObject.onInvalidate=r,e.cardObject.mounted(),()=>{e.cardObject.onInvalidate=void 0,e.cardObject.unmounted()})),[e.cardObject,r]),e.cardObject.render(e.args)};function w(e,t,r,i,o){if(t.spacing>0||void 0!==t.lineThickness&&t.lineThickness>0){const s=(0,f.xg)();s.className=e.makeCssClassName(`ac-${r===a.t4.Horizontal?"horizontal":"vertical"}-separator`),s["aria-hidden"]=!0,s.style.overflow="hidden",s.style.flex="0 0 auto";const l=t.lineColor?(0,f.zS)(t.lineColor):"";return r===a.t4.Horizontal?(t.lineThickness?(s.style.paddingTop=t.spacing/2+"px",s.style.marginBottom=t.spacing/2+"px",s.style.borderBottom=`${t.lineThickness}px solid ${l}`):s.style.height=`${t.spacing}px`,s.style.marginLeft=i.margin.left,s.style.marginRight=i.margin.right):t.lineThickness?(s.style.paddingLeft=t.spacing/2+"px",s.style.marginRight=t.spacing/2+"px",s.style.borderRight=`${t.lineThickness}px solid ${l}`):s.style.width=`${t.spacing}px`,n.createElement("div",Object.assign({},s,{ref:o}))}return null}class S extends u.BG{parse(e,t,r){const n=t[this.name];return"string"==typeof n?d.gH.parse(n):this.defaultValue}toJSON(e,t,r,n){n.serializeValue(t,this.name,r?r.toString():void 0,void 0,!0)}getDescriptor(e){const t=(0,o.aL)(a.RK),r=[...t];return t.forEach((e=>{r.push(`atLeast:${e}`,`atMost:${e}`)})),{valueTypes:[{type:"string",validValues:r}],defaultValue:void 0!==this.defaultValue?a.RK[this.defaultValue]:void 0,suggestedSchemaTypeName:"TargetWidth"}}}class C extends y{get isSortKey(){return this.getValue(C.isSortKey)}set isSortKey(e){this.setValue(C.isSortKey,e)}get horizontalAlignment(){return this.getValue(C.horizontalAlignmentProperty)}set horizontalAlignment(e){this.setValue(C.horizontalAlignmentProperty,e)}get spacing(){return this.getValue(C.spacingProperty)}set spacing(e){this.setValue(C.spacingProperty,e)}get separator(){return this.getValue(C.separatorProperty)}set separator(e){this.setValue(C.separatorProperty,e)}get height(){return this.getValue(C.heightProperty)}set height(e){this.setValue(C.heightProperty,e)}get lang(){return this.getValue(C.langProperty)||(this.parent?this.parent.lang:void 0)}set lang(e){this.setValue(C.langProperty,e)}get isVisible(){return this.getValue(C.isVisibleProperty)}set isVisible(e){this.setValue(C.isVisibleProperty,e)}get isVisibleDynamic(){return this.getValue(C.isVisibleDynamicProperty)}set isVisibleDynamic(e){this.setValue(C.isVisibleDynamicProperty,e)}get targetWidth(){return this.getValue(C.targetWidthProperty)}set targetWidth(e){this.setValue(C.targetWidthProperty,e)}createPlaceholderElement(e){const t=this.getEffectiveStyleDefinition(),r=(0,f.zS)(t.foregroundColors.default.subtle),i=null!=e?e:this.localizeString(p.D.emptyElementText,{elementType:this.getJsonTypeName()});return n.createElement("div",{style:{border:"1px dashed "+r,padding:"4px",minHeight:"32px",fontSize:"10px",color:r}},i)}providesDesignModeElement(){return!1}getSeparatorColor(e){if(!this.separator)return;const t=null!=e?e:this.getEffectiveStyleDefinition(),r=d.h$.useBorderColorForSeparator?t.borderColor:void 0;return null!=r?r:this.hostConfig.separator.lineColor}getAttachableProperties(e){return[...super.getAttachableProperties(e),...e.getAttachableElementProperties()]}render(e){var t;let r=this.isVisible||this.isDesignMode()?this.internalRender(e):null;d.h$.enablePropagateIdToDOM&&r&&this.id&&(r=n.cloneElement(r,{"data-ac-id":this.id}));let i=null;const o=!this.parent||this.parent.allowSpaceBetweenElements;if(r&&this.hasVisibleSeparator&&o){const e={padding:{},margin:{}};this.getSeparatorSpacings(e),i=w(this.hostConfig,{spacing:this.hostConfig.getEffectiveSpacing(this.spacing),lineThickness:this.separator?this.hostConfig.separator.lineThickness:void 0,lineColor:this.getSeparatorColor()},this.separatorOrientation,e,this.isDesignMode()?e=>this._renderedSeparatorElement=null!=e?e:void 0:void 0)}if(this.isDesignMode()&&this.isStandalone&&!this.providesDesignModeElement()){const e={className:"designer-wrapper",style:{display:"flex",flexDirection:"column"}};return this.adjustSize(e.style),(null===(t=null==r?void 0:r.props)||void 0===t?void 0:t.style)&&this.adjustSize(r.props.style),n.createElement(n.Fragment,null,i,n.createElement("div",Object.assign({},e,{ref:e=>this.renderedElement=null!=e?e:void 0}),r))}(null==r?void 0:r.props.style)&&this.adjustSize(r.props.style);const a=this.getMainAction();return r&&a&&(r=a.applyTo(r)),n.createElement(n.Fragment,null,i,r)}elementVisibilityChanged(e){this.getRootElement().elementVisibilityChanged(e)}adjustSize(e){"auto"===this.height?e.flex="0 0 auto":e.flex="1 1 auto"}getSpacings(e){}getSeparatorSpacings(e){if(this.separatorOrientation===a.t4.Horizontal)if(d.h$.alwaysBleedSeparators&&!this.isBleeding()){const t=new d.pT;this.getImmediateSurroundingPadding(t);const r=this.hostConfig.paddingDefinitionToSpacingDefinition(t);e.margin.left=-r.left,e.margin.right=-r.right}else e.margin.right=0,e.margin.left=0}getDefaultPadding(){return new d.pT}getHasBackground(e=!1){return!1}getHasBorder(){return!1}getPadding(){return this._padding}setPadding(e){this._padding=e}shouldSerialize(e){return void 0!==e.elementRegistry.findByName(this.getJsonTypeName())}getMainAction(){}get useDefaultSizing(){return!0}get separatorOrientation(){return a.t4.Horizontal}get defaultStyle(){return a.xO.Default}processMarkdown(e){return this.parent?this.parent.processMarkdown(e):{didProcess:!1}}setValue(e,t){if(e!==C.isVisibleProperty||this.isParsing)super.setValue(e,t);else if(this.isVisible!==t){this.disableAutomaticReRender();try{super.setValue(C.isVisibleProperty,t)}finally{this.enableAutomaticReRender()}0===this._openPopoverCount&&this.getRootElement().updateLayout(),this.elementVisibilityChanged(this)}}asString(){return""}getSortKey(){}isBleeding(){return!1}getCodeGenOptions(){return{baseClassName:d.RA}}getEffectiveStyle(){return this.parent?this.parent.getEffectiveStyle():this.defaultStyle}getEffectiveStyleDefinition(){return this.hostConfig.containerStyles.getStyleByName(this.getEffectiveStyle())}getEffectiveTextStyleDefinition(){return this.parent?this.parent.getEffectiveTextStyleDefinition():this.hostConfig.textStyles.default}getImmediateSurroundingPadding(e,t=!0,r=!0,n=!0,i=!0){if(this.parent){let o=t&&this.parent.isTopElement(this),s=r&&this.parent.isRightMostElement(this),l=n&&this.parent.isBottomElement(this),c=i&&this.parent.isLeftMostElement(this);const u=this.parent.getEffectivePadding();u&&(o&&u.top!==a.Kz.None&&(e.top=u.top,o=!1),s&&u.right!==a.Kz.None&&(e.right=u.right,s=!1),l&&u.bottom!==a.Kz.None&&(e.bottom=u.bottom,l=!1),c&&u.left!==a.Kz.None&&(e.left=u.left,c=!1)),(o||s||l||c)&&this.parent.getImmediateSurroundingPadding(e,o,s,l,c)}}getActionCount(){return 0}getActionAt(e){throw new Error(p.D.errors.indexOutOfRange(e))}processApplicableProperties(){super.processApplicableProperties();for(let e=0;e<this.getActionCount();e++){const t=this.getActionAt(e);t&&t.processApplicableProperties()}}indexOfAction(e){for(let t=0;t<this.getActionCount();t++)if(this.getActionAt(t)===e)return t;return-1}updateActionsEnabledState(){const e=this.getRootElement().getAllActions();for(const t of e)t.updateEnabledState()}indexOf(e){return-1}isFirstElement(e){return!0}isLastElement(e){return!0}isAtTheVeryLeft(){return!this.parent||this.parent.isLeftMostElement(this)&&this.parent.isAtTheVeryLeft()}isAtTheVeryRight(){return!this.parent||this.parent.isRightMostElement(this)&&this.parent.isAtTheVeryRight()}isAtTheVeryTop(){return!this.parent||this.parent.isFirstElement(this)&&this.parent.isAtTheVeryTop()}isAtTheVeryBottom(){return!this.parent||this.parent.isLastElement(this)&&this.parent.isAtTheVeryBottom()}isBleedingAtTop(){return!1}isBleedingAtBottom(){return!1}isLeftMostElement(e){return!0}isRightMostElement(e){return!0}isResponsive(){var e,t;return null!==(t=null===(e=this.getMainAction())||void 0===e?void 0:e.hasResponsiveElements())&&void 0!==t&&t||void 0!==this.targetWidth}isTopElement(e){return this.isFirstElement(e)}isBottomElement(e){return this.isLastElement(e)}getRootElement(){return this.getRootObject()}getAllActions(){const e=[];for(let t=0;t<this.getActionCount();t++){const r=this.getActionAt(t);r&&e.push(r)}return e}getResourceInformation(){return[]}getElementById(e){return this.id===e?this:void 0}getActionById(e){}getEffectivePadding(){return this.getPadding()||this.getDefaultPadding()}getEffectiveHorizontalAlignment(){return void 0!==this.horizontalAlignment?this.horizontalAlignment:this.parent?this.parent.getEffectiveHorizontalAlignment():a.OD.Left}focusFirstFocusableElement(){const e=this.getAllInputs(!0);for(const t of e)if(t.focus())return!0;const t=this.getAllActions();for(const e of t)return!!e.focus();return!1}shouldRender(e){return this.isDesignMode()||this._openPopoverCount>0||this.isVisible&&this.shouldRenderForTargetWidth(e)}shouldRenderForTargetWidth(e){const t=null!=e?e:this.hostWidth;return void 0===this.targetWidth||this.targetWidth.matches(t)}removeItem(e){return!1}remove(){return!!this.parent&&this.parent.removeItem(this)}getAdditionalPropertyDescriptors(e){const t=e.elementRegistry.getDescriptors(e,[],[],!0);return[...super.getAdditionalPropertyDescriptors(e),{name:"fallback",valueTypes:[{type:"object",validValues:t},{type:"string",validValues:["drop"]}],declaringClassName:d.RA,schemaVersion:u.uq.v1_2,suggestedSchemaTypeName:"FallbackElement"}]}get allowSpaceBetweenElements(){return!0}get allowChildContainersToBleed(){return!0}get hostWidth(){return void 0!==this._hostWidth?this._hostWidth:this.parent?this.parent.hostWidth:a.RK.Wide}set hostWidth(e){this._hostWidth=e}get hostConfig(){return this._hostConfig?this._hostConfig:this.parent?this.parent.hostConfig:c._f}set hostConfig(e){this._hostConfig=e}get theme(){return this._theme?this._theme:this.parent?this.parent.theme:a.V6.Light}set theme(e){this._theme=e}get index(){return this.parent?this.parent.indexOf(this):0}get isEnabled(){const e=this.getValue(C.isEnabledProperty);return void 0!==e?e:!this.parent||this.parent.isEnabled}set isEnabled(e){this.setValue(C.isEnabledProperty,e)}get isInteractive(){return!1}get isStandalone(){return!0}get isInline(){return!1}get isExpandableInlineElement(){return!1}get hasVisibleSeparator(){return!this.isInline&&!!this.parent&&!this.parent.isFirstElement(this)&&this.shouldRender()}get parent(){return this._parent}get renderedElement(){return this._renderedElement}set renderedElement(e){const t=this._renderedElement;this._renderedElement=e,this.renderedElementChanged(t,this._renderedElement)}get renderedSeparatorElement(){return this._renderedSeparatorElement}}C.langProperty=new u.XB(u.uq.v1_1,"lang",/^[a-z]{2,3}$/gi),C.isVisibleProperty=new u.gV(u.uq.v1_2,"isVisible",!0),C.isVisibleDynamicProperty=new u.tD(u.uq.v1_5,"isVisible.dynamic",C.isVisibleProperty),C.separatorProperty=new u.gV(u.uq.v1_0,"separator",!1),C.heightProperty=new u.XY(u.uq.v1_1,"height",[{value:"auto"},{value:"stretch"}],"auto").setTypeName("ElementHeight"),C.horizontalAlignmentProperty=new u.fX(u.uq.v1_0,"horizontalAlignment",a.OD),C.spacingProperty=new u.fX(u.uq.v1_0,"spacing",a.Kz,a.Kz.Default),C.targetWidthProperty=new S(u.uq.v1_0,"targetWidth"),C.isEnabledProperty=new u.gV(u.uq.v1_0,"isEnabled").setEnableSerialization(!1),C.isSortKey=new u.gV(u.uq.v1_5,"isSortKey",!1);class A extends u.BG{parse(e,t,r){const n=t[this.name];if(void 0!==n&&"string"==typeof n)return"none"===n.toLowerCase()?"none":"auto"}toJSON(e,t,r,n){n.serializeValue(t,this.name,r)}getDescriptor(e){return{valueTypes:[{type:"string",validValues:["auto","none"]}],suggestedSchemaTypeName:"AssociatedInputs"}}constructor(e,t){super(e,t,void 0),this.targetVersion=e,this.name=t}}function x(e,t){return void 0!==e?e:t}function k(e){const t={};let r=e.parent;const n=[];for(;r;)n.push(...r.getAllInputs(!1)),r=r.parent;for(const e of n)e.id&&(t[e.id]=e);return t}class E extends y{constructor(){super(...arguments),this._isFocusable=!0,this.state=a.kj.Normal}get themedIconUrls(){return this.getValue(E.themedIconUrlsProperty)}set themedIconUrls(e){this.setValue(E.themedIconUrlsProperty,e)}get menuActions(){return this.getValue(E.menuActionsProperty)}set menuActions(e){this.setValue(E.menuActionsProperty,e)}get title(){return this.getValue(E.titleProperty)}set title(e){this.setValue(E.titleProperty,e)}get titleCondition(){return this.getValue(E.titleDynamicProperty)}set titleCondition(e){this.setValue(E.titleDynamicProperty,e)}get iconUrl(){return this.getValue(E.iconUrlProperty)}set iconUrl(e){this.setValue(E.iconUrlProperty,e)}get style(){return this.getValue(E.styleProperty)}set style(e){this.setValue(E.styleProperty,e)}get mode(){return this.getValue(E.modeProperty)}set mode(e){this.setValue(E.modeProperty,e)}get tooltip(){return this.getValue(E.tooltipProperty)}set tooltip(e){this.setValue(E.tooltipProperty,e)}get tooltipCondition(){return this.getValue(E.tooltipDynamicProperty)}set tooltipCondition(e){this.setValue(E.tooltipDynamicProperty,e)}get isEnabled(){return this.getValue(E.isEnabledProperty)}set isEnabled(e){this.setValue(E.isEnabledProperty,e)}get isVisible(){return this.getValue(E.isVisibleProperty)}set isVisible(e){this.setValue(E.isVisibleProperty,e)}get isEnabledCondition(){return this.getValue(E.isEnabledDynamicProperty)}set isEnabledCondition(e){this.setValue(E.isEnabledDynamicProperty,e)}renderTitle(e=!1){var t;const r=this._actionButton&&null!==(t=this._actionButton.renderTitle(this.title))&&void 0!==t?t:void 0;if(r)return r;if(this.title){const t=this.hostConfig,r=(0,f.xg)();return r.style.overflow="hidden",r.style.textOverflow="ellipsis",t.actions.iconPlacement===a.dC.AboveTitle||t.actions.allowTitleToWrap||e||(r.style.whiteSpace="nowrap"),n.createElement(n.Fragment,{key:"title"},n.createElement("div",r,this.title))}return null}getEffectiveIconUrl(){if(this.themedIconUrls)for(const e of this.themedIconUrls)if(e.url&&this.theme===e.theme)return e.url;return this.iconUrl}renderIcon(){let e=null;const t=this.getEffectiveIconUrl();if(t){const r=/^icon:([\w\d_-]+)(?:,(regular|filled)){0,1}$/i,i=t.match(r);if(i){if(d.h$.enableIconSupportForActionButtons){const t=void 0!==i[2]&&"filled"===i[2].toLowerCase()?a.pO.Filled:a.pO.Regular;e=n.createElement(s.FW,{name:i[1],iconSize:a.lK.xSmall,iconStyle:t,showPlaceholder:!1,allowFallback:!1})}}else{const r=this.hostConfig,n={style:{}};n.src=t,n.style.width=`${r.actions.iconSize}px`,n.style.height=`${r.actions.iconSize}px`,n.style.flex="0 0 auto",r.actions.iconPlacement!==a.dC.AboveTitle&&(n.style.maxHeight="100%"),e=this.renderImage({allowExpand:!1,isSelectable:!1},n)}}return n.createElement(n.Fragment,{key:"icon"},e)}renderButtonContent(e,t=!0,r=!1){const i=this.hostConfig,o=(0,f.xg)();let s;switch(o.className="ac-pushButton-content",o.style.display="flex",o.style.gap="6px",o.style.alignItems="center",t&&(o.style.justifyContent="center"),o.style.minWidth="0",this.iconUrl?e?((0,f.iQ)(o,"iconOnly"),s=[this.renderIcon()]):(i.actions.iconPlacement===a.dC.AboveTitle?((0,f.iQ)(o,"iconAbove"),o.style.flexDirection="column"):(0,f.iQ)(o,"iconLeft"),s=[this.renderIcon(),this.renderTitle(r)]):((0,f.iQ)(o,"noIcon"),s=[this.renderTitle(r)]),i.actions.actionsOrientation===a.t4.Horizontal&&i.actions.actionAlignment===a.i.Stretch?o.style.flex="0 1 100%":o.style.flex="0 1 auto",this.state){case a.kj.Normal:break;case a.kj.Expanded:(0,f.iQ)(o,i.makeCssClassName("expanded"));break;case a.kj.Subdued:(0,f.iQ)(o,i.makeCssClassName("subdued"))}return this.style&&this.isEffectivelyEnabled()&&(this.style===a.s9.Positive?(0,f.iQ)(o,...i.makeCssClassNames("primary","style-positive")):(0,f.iQ)(o,...i.makeCssClassNames(`style-${this.style.toLowerCase()}`))),this.isExpandable&&((0,f.iQ)(o,this.hostConfig.makeCssClassName("expandable")),o["aria-expanded"]=this.state===a.kj.Expanded),n.createElement("div",Object.assign({},o),s)}propertyChanged(e,t,r){var n;super.propertyChanged(e,t,r),e===E.isVisibleProperty&&(null===(n=this.parent)||void 0===n||n.invalidate())}getButtonMenuItems(){return!this.isInPopover()&&this.menuActions&&this.menuActions.length>0?this.menuActions.map(((e,t)=>e.asMenuItem(t.toString()))):void 0}getAriaControlsAttribute(){}internalGetReferencedInputs(){return{}}internalPrepareForExecution(e){}internalValidateInputs(e){const t=[];if(e)for(const r of Object.keys(e)){const n=e[r];n.validateValue()||t.push(n)}return t}shouldSerialize(e){return void 0!==e.actionRegistry.findByName(this.getJsonTypeName())}getEffectiveTooltip(){return this.tooltip||this.hostConfig.actions.defaultActionTooltip}internalExecute(){this._owner&&this._owner.actionExecuted(this),this.prepareForExecution()&&(this.onExecute&&this.onExecute(this),this.getRootObject().actionExecuted(this)),this.internalAfterExecute()}internalAfterExecute(){this.getRootObject().updateActionsEnabledState()}render(e){const t={};t.isSplitButton=this.menuActions&&this.menuActions.length>0&&!this.isInPopover(),this.setupElementForAccessibility(t);const r=!!e&&e.isInline,n={forcePrimary:!1,renderedContent:this.renderButtonContent(r),isInline:r,onClick:"click"===this.applicationMode?e=>{this.isEffectivelyEnabled()&&(e.preventDefault(),e.stopPropagation(),this.execute())}:void 0};!this._actionButton&&T.actionButtonRenderer&&(this._actionButton=new T.actionButtonRenderer(this,this.getButtonMenuItems()),this._actionButton.onDomElementChanged=(e,t)=>{this.renderedElementChanged(e,t)});let i=this._actionButton?this._actionButton.render(t,n):null;return"wrap"===this.applicationMode&&i&&(i=this.wrapElement(i)),i}get domElement(){var e,t;return null!==(t=null===(e=this._actionButton)||void 0===e?void 0:e.domElement)&&void 0!==t?t:void 0}getHref(){return""}getCodeGenOptions(){return{baseClassName:d.te}}getAriaRole(){return"button"}wrapElement(e){return e}applyTo(e,t){if(this.isEffectivelyEnabled()&&this.hostConfig.supportsInteractivity){const r={handleKeyboard:x(null==t?void 0:t.handleKeyboard,!0),promoteTooltipToLabel:x(null==t?void 0:t.promoteTooltipToLabel,!1),updateClassName:x(null==t?void 0:t.updateClassName,!0)},i=Object.assign({},e.props);return this.setupElementForAccessibility(i,r.promoteTooltipToLabel,r.updateClassName),"click"===this.applicationMode?(r.handleKeyboard&&(i.onKeyPress=e=>{"Enter"!==e.code&&"Space"!==e.code||(e.preventDefault(),e.stopPropagation(),this.execute())}),i.onClick=e=>{e.preventDefault(),e.stopPropagation(),this.execute()},n.cloneElement(e,i)):this.wrapElement(n.cloneElement(e,i))}return e}setupElementForAccessibility(e,t=!1,r=!0){e.tabIndex=this.isEffectivelyEnabled()?0:-1,e.role=this.getAriaRole(),this.isEffectivelyEnabled()?r&&(0,f.iQ)(e,this.hostConfig.makeCssClassName("ac-selectable")):(e.disabled=!0,e["aria-disabled"]=!0),e["aria-label"]=this.title,e["aria-controls"]=this.getAriaControlsAttribute(),e.title=this.title;const n=this.getEffectiveTooltip();n&&(e[t?this.title?"aria-describedby":"aria-label":"aria-describedby"]=n,e.title=n)}parse(e,t){return super.parse(e,t||new _)}execute(e){null!=e&&null!=e&&e>0?(this._executeTimer&&clearTimeout(this._executeTimer),this._executeTimer=setTimeout((()=>this.internalExecute()),e)):this.internalExecute()}focus(){var e;return!(!this._isFocusable||!(null===(e=this._actionButton)||void 0===e?void 0:e.domElement)||(this._actionButton.domElement.focus(),0))}expand(e=!1,t=!1){}collapse(){}prepareForExecution(){const e=this.getReferencedInputs(),t=this.internalValidateInputs(e);return t.length>0?(t[0].focus(),!1):(this.internalPrepareForExecution(e),!0)}asMenuItem(e){return{key:e,text:this.title,tooltip:this.getEffectiveTooltip(),disabled:!this.isEffectivelyEnabled(),iconUrl:this.iconUrl,renderedContent:this.renderButtonContent(!1,!1,!0),onClick:()=>{this.execute()}}}getAdditionalPropertyDescriptors(e){const t=e.actionRegistry.getDescriptors(e);return[...super.getAdditionalPropertyDescriptors(e),{name:"fallback",valueTypes:[{type:"object",validValues:t},{type:"string",validValues:["drop"]}],declaringClassName:"Action",schemaVersion:u.uq.v1_2,suggestedSchemaTypeName:"FallbackAction"}]}getAllInputs(e=!0){const t=[];if(this.menuActions)for(const e of this.menuActions)t.push(...e.getAllInputs());return t}getAllActions(){const e=[this];if(this.menuActions)for(const t of this.menuActions)e.push(...t.getAllActions());return e}getResourceInformation(){return this.iconUrl?[{url:this.iconUrl,mimeType:"image"}]:[]}getActionById(e){return this.id===e?this:void 0}getElementById(e){}getReferencedInputs(){return this.internalGetReferencedInputs()}getInlineContent(){}hasResponsiveElements(){return!1}internalValidateProperties(e){super.internalValidateProperties(e),this.menuActions&&this.menuActions.length>0&&this.isInPopover()&&e.addFailure(this,a.iV.Other,p.D.errors.menuActionsNotAllowedInPopovers())}validateInputs(){return this.internalValidateInputs(this.getReferencedInputs())}updateEnabledState(){}isEffectivelyEnabled(){return this.isEnabled&&(!this.parent||this.parent.isEnabled)}shouldRaiseOnExecuteEvent(){return!0}remove(){return!!this._owner&&this._owner.removeAction(this)}get dismissesPopover(){return!0}get applicationMode(){return"click"}get isPrimary(){return this.style===a.s9.Positive}set isPrimary(e){e?this.style=a.s9.Positive:this.style===a.s9.Positive&&(this.style=a.s9.Default)}get hostConfig(){return this.parent?this.parent.hostConfig:c._f}get theme(){return this.parent?this.parent.theme:a.V6.Light}get isFocusable(){return this._isFocusable}set isFocusable(e){this._isFocusable!==e&&(this._isFocusable=e,this.updateLayout())}get isExpandable(){return!1}get isExpanded(){return this.state===a.kj.Expanded}get isAtRootLevel(){var e;return!(null===(e=this.parent)||void 0===e?void 0:e.parent)}get isSupportedInPopover(){return!0}get renderedElement(){var e,t;return null!==(t=null===(e=this._actionButton)||void 0===e?void 0:e.domElement)&&void 0!==t?t:void 0}}E.titleProperty=new u.XB(u.uq.v1_0,"title").setContentType("text"),E.titleDynamicProperty=new u.tD(u.uq.v1_5,"title.dynamic",E.titleProperty).setContentType("text"),E.iconUrlProperty=new u.XB(u.uq.v1_1,"iconUrl").setContentType("imageUrl"),E.styleProperty=new u.XY(u.uq.v1_2,"style",[{value:a.s9.Default},{value:a.s9.Positive},{value:a.s9.Destructive}],a.s9.Default).setTypeName("ActionStyle"),E.modeProperty=new u.XY(u.uq.v1_5,"mode",[{value:a.yG.Primary},{value:a.yG.Secondary}],a.yG.Primary).setTypeName("ActionMode"),E.tooltipProperty=new u.XB(u.uq.v1_5,"tooltip").setContentType("text"),E.tooltipDynamicProperty=new u.tD(u.uq.v1_5,"tooltip.dynamic",E.tooltipProperty).setContentType("text"),E.isEnabledProperty=new u.gV(u.uq.v1_5,"isEnabled",!0),E.isEnabledDynamicProperty=new u.tD(u.uq.v1_5,"isEnabled.dynamic",E.isEnabledProperty),E.isVisibleProperty=new u.gV(u.uq.v1_5,"isVisible",!0),E.isVisibleDynamicProperty=new u.tD(u.uq.v1_5,"isVisible.dynamic",E.isVisibleProperty),E.menuActionsProperty=new i.n(u.uq.v1_5,"menuActions",["Action.ShowCard","Action.Popover"]).setTypeName("MenuActionArray"),E.themedIconUrlsProperty=new u.m2(u.uq.v1_5,"themedIconUrls",(e=>new g));class _ extends u.js{constructor(){super(...arguments),this._forbiddenTypes=new Set,this.allowExtensionElementInGeneratedSchema=!1}internalParseCardObject(e,t,r,n,i,o){let s;if(t&&"object"==typeof t){const l=new Set;this._forbiddenTypes.forEach((e=>{l.add(e)})),r.forEach((e=>{this._forbiddenTypes.add(e)}));const c=(0,f.$l)(t.type);if(c)if(this._forbiddenTypes.has(c))o(c,a.lS.ForbiddenType);else{let l=!1;const u=i(c);if("drop"===u)return;if(s=u,s?(s.setParent(e),s.parse(t,this),l=d.h$.enableFallback&&n&&s.shouldFallback()):(l=d.h$.enableFallback&&n,o(c,a.lS.UnknownType)),l){const n=t.fallback;void 0===n&&e&&e.setShouldFallback(!0),s="string"==typeof n&&"drop"===n.toLowerCase()?void 0:"object"==typeof n?this.internalParseCardObject(e,n,r,!0,i,o):void 0}}this._forbiddenTypes=l}return s}cardObjectParsed(e,t){e instanceof E&&this.onParseAction?this.onParseAction(e,t,this):e instanceof C&&this.onParseElement&&this.onParseElement(e,t,this)}shouldSerialize(e){return e instanceof E?void 0!==this.actionRegistry.findByName(e.getJsonTypeName()):!(e instanceof C)||void 0!==this.elementRegistry.findByName(e.getJsonTypeName())}parseCardObject(e,t,r,n,i,o){const a=new Set(r),s=this.internalParseCardObject(e,t,a,n,i,o);return void 0!==s&&this.cardObjectParsed(s,t),s}parseElement(e,t,r,n,i){return this.parseCardObject(e,t,r,n,(e=>{const r=e===_.componentTypeName&&"name"in t&&"string"==typeof t.name?`${e}.${t.name}`:e,n=this.elementRegistry.createInstance({context:this,typeName:r,payload:t,targetVersion:this.targetVersion});return n&&i&&(n.isPopoverContent=!!i.isPopoverContent),n}),((e,t)=>{t===a.lS.UnknownType?this.logParseEvent(void 0,a.iV.UnknownElementType,p.D.errors.unknownElementType(e)):this.logParseEvent(void 0,a.iV.ElementTypeNotAllowed,p.D.errors.elementTypeNotAllowed(e))}))}parseAction(e,t,r,n){return this.parseCardObject(e,t,r,n,(r=>{const n=this.actionRegistry.createInstance({context:this,typeName:r,payload:t,targetVersion:this.targetVersion});if(n)return!n.isSupportedInPopover&&e.isInPopover()?"drop":n}),((e,t)=>{t===a.lS.UnknownType?this.logParseEvent(void 0,a.iV.UnknownActionType,p.D.errors.unknownActionType(e)):this.logParseEvent(void 0,a.iV.ActionTypeNotAllowed,p.D.errors.actionTypeNotAllowed(e))}))}get elementRegistry(){var e;return null!==(e=this._elementRegistry)&&void 0!==e?e:T.elements}setElementRegistry(e){this._elementRegistry=e}get actionRegistry(){var e;return null!==(e=this._actionRegistry)&&void 0!==e?e:T.actions}setActionRegistry(e){this._actionRegistry=e}getAttachableElementProperties(){return this.elementRegistry.getAttachableProperties()}getAttachableElementProperty(e){return this.elementRegistry.getAttachableProperty(e)}getMetadata(e){var t;return null!==(t=this.elementRegistry.getMetadata(e))&&void 0!==t?t:this.actionRegistry.getMetadata(e)}getElementDescriptors(e=[],t=[],r=!1,n=!1){return[...this.elementRegistry.getDescriptors(this,e,t,r,n)]}}_.componentTypeName="Component";class I{constructor(){this._items={},this._attachableProperties=new Map}findByName(e){return this._items.hasOwnProperty(e)?this._items[e]:void 0}clear(){this._items={}}copyTo(e){const t=Object.keys(this._items);for(const r of t){const t=this._items[r];e.register(t.typeName,t.createInstance,t.schemaVersion,t.metadata)}for(const[,t]of this._attachableProperties)e.registerAttachableProperty(t)}register(e,t,r=u.uq.v1_0,n){let i=this.findByName(e);void 0!==i?i.createInstance=t:i={typeName:e,createInstance:t,schemaVersion:r,metadata:n},this._items[e]=i}unregister(e){delete this._items[e]}registerAttachableProperty(e){e.origin={declaringClass:u.jB,isInherited:!1,schemaVersion:u.uq.v1_5},this._attachableProperties.set(e.name,e)}unregisterAttachableProperty(e){this._attachableProperties.delete(e)}getMetadata(e){const t=this.findByName(e);return t?t.metadata:void 0}getAttachableProperty(e){return this._attachableProperties.get(e)}getAttachableProperties(){return Array.from(this._attachableProperties.values())}createInstance(e){const t=this.findByName(e.typeName);return t&&t.schemaVersion.compareTo(e.targetVersion)<=0?t.createInstance(e):void 0}getItemCount(){return Object.keys(this._items).length}getItemAt(e){return Object.keys(this._items).map((e=>this._items[e]))[e]}getDescriptors(e,t=[],r=[],n=!1,i=!1){const o=[];for(let i=0;i<this.getItemCount();i++){const a=this.getItemAt(i);if(r.includes(a.typeName)||!t.includes(a.typeName)){const t=a.createInstance({context:e,typeName:a.typeName,targetVersion:e.targetVersion}),r=!(t instanceof C)||t.isStandalone;n&&!r||o.push(new u.E$(t))}}if(i){const e=new u.FZ("ExtensionObject",[{name:"type",valueTypes:[{type:"string",validValues:[{regEx:/^[Xx]-[\w\d]+$/,displayText:"X-"}]}]}]);e.preserveAdditionalProperties=!0,o.push(e)}return o}}class P{constructor(e,t){this.action=e,this.menuItems=t}renderTitle(e){return null}}class T{static populateWithDefaultElements(e){e.clear(),T.defaultElements.copyTo(e)}static populateWithDefaultActions(e){e.clear(),T.defaultActions.copyTo(e)}static get elements(){return T._elements||(T._elements=new I,T.populateWithDefaultElements(T._elements)),T._elements}static get actions(){return T._actions||(T._actions=new I,T.populateWithDefaultActions(T._actions)),T._actions}static reset(){T._elements=void 0,T._actions=void 0}}T.defaultElements=new I,T.defaultActions=new I},8214:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){return null!=e&&"object"==typeof e}},8221:(e,t,r)=>{"use strict";r.d(t,{d:()=>l});var n=r(3986),i=r(5564),o=r(9357),a="Office.Telemetry.OTelJS.EventThrottled";function s(e){return"number"==typeof e}var l=function(){function e(e,t){this._sinkName=e,this._telemetrySink=t,this.name="EventThrottler",this._totalEventsInLastInterval=0,this._singleEventInLastInterval={},this._eventThrottleReported={},this._lastIntervalStart=Date.now(),this._maxNamedEventsPerSecond={}}return e.prototype.setSingleEventThrottle=function(e){this._maxSingleEventPerSecond=e},e.prototype.setTotalEventThrottle=function(e){this._maxTotalEventsPerSecond=e},e.prototype.setNamedEventThrottle=function(e,t){this._maxNamedEventsPerSecond[e]=t},e.prototype.processEvent=function(e){var t=e.eventName;if(t===a)return!0;var r=!0;return Date.now()-this._lastIntervalStart>1e3&&(this._lastIntervalStart=Date.now(),this._totalEventsInLastInterval=0,this._singleEventInLastInterval={}),this._singleEventInLastInterval[t]=this._singleEventInLastInterval[t]+1||1,t in this._maxNamedEventsPerSecond?r=this.applyThrottle(this._singleEventInLastInterval[t],this._maxNamedEventsPerSecond[t],"MaxNamedEventsPerSecond",t):s(this._maxSingleEventPerSecond)&&(r=this.applyThrottle(this._singleEventInLastInterval[t],this._maxSingleEventPerSecond,"MaxSingleEventsPerSecond",t)),s(this._maxTotalEventsPerSecond)&&(this._totalEventsInLastInterval++,r&&(r=this.applyThrottle(this._totalEventsInLastInterval,this._maxTotalEventsPerSecond,"MaxTotalEventsPerSecond",t))),r},e.prototype.applyThrottle=function(e,t,r,s){return!(e>t&&(e===t+1&&this._telemetrySink&&!this._eventThrottleReported[s]&&(this._eventThrottleReported[s]=!0,this._telemetrySink.sendTelemetryEvent({eventName:a,telemetryProperties:{ariaTenantToken:o.z2,nexusTenantToken:1723},eventFlags:{diagnosticLevel:110},dataFields:[(0,n.m9)("SinkName",this._sinkName||""),(0,n.m9)("ThrottledEvent.Name",s),(0,n.Ug)(r,t)]})),(0,i.wC)(2,1,(function(){return"1DS Sink Event Throttle: Exceeded ".concat(t," ").concat(r,": ").concat(s)})),1))},e}()},8229:(e,t,r)=>{"use strict";r.d(t,{Bp:()=>c,Hg:()=>l,P7:()=>d,So:()=>s,TE:()=>u,qV:()=>o});var n=r(9802);const i=performance&&"object"==typeof performance&&["now","timeOrigin"].map((e=>e in performance)).every((e=>e));function o(e="monotonic"){return(0,n.eZ)().useGlobalMonotonicTimersForTelemetry&&a(e)||a("date")}function a(e){switch(e){case"date":return{type:"date",value:Date.now()};case"monotonic":if(!i)return;return{type:"monotonic",value:performance.now()+performance.timeOrigin};default:throw new Error(`Unsupported timestamp type: ${e}`)}}function s(){var e;return null===(e=a("monotonic"))||void 0===e?void 0:e.value}function l(e){return Math.floor(1e3*e)}function c(e,t){return i&&e&&(0,n.eZ)().useGlobalMonotonicTimersForTelemetry?{type:"monotonic",value:e}:t?{type:"date",value:t}:void 0}function u(e){return{type:e.type,value:d()-1e3*(Date.now()-e.value)}}function d(){return i?1e3*Math.floor(performance.now()):1e3*Date.now()}},8264:(e,t,r)=>{"use strict";var n,i,o,a;r.d(t,{cd:()=>o,yl:()=>n}),function(e){e.Success="Success",e.Failure="Failure",e.Error="Error",e.Unknown="Unknown"}(n||(n={})),function(e){e.TaskModule="TaskModule",e.StageView="StageView"}(i||(i={})),function(e){e.InvalidOrigin="InvalidOrigin",e.AppDefNotFound="AppDefNotFound",e.AppIdMissing="AppIdMissing"}(o||(o={})),function(e){e[e.Error=0]="Error",e[e.Info=1]="Info",e[e.Success=2]="Success",e[e.Warning=3]="Warning"}(a||(a={}))},8285:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=Array.isArray},8293:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hashLocalizationKey=function(e){if(0===e.length)return"0";if("#"===e[0])return e;for(var t=0,r=0;r<e.length;++r)t=(t<<5)-t+e.charCodeAt(r)|0;return"#"+t.toString(36)}},8301:(e,t,r)=>{"use strict";const n=r(9789);e.exports=(e,t,r)=>n(e,t,">",r)},8331:(e,t,r)=>{"use strict";r.d(t,{h:()=>i});var n=r(1873);function i(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var i=[],o=[],a=e;return function e(t){for(var r=0,s=t;r<s.length;r++){var l=s[r];if(l&&!(0,n.db)(l))if("string"==typeof l)if(l.indexOf(" ")>=0)e(l.split(" "));else{var c=a.argsFromClassName(l);c?e(c):-1===i.indexOf(l)&&i.push(l)}else Array.isArray(l)?e(l):"object"==typeof l&&o.push(l)}}(t),{classes:i,objects:o}}},8366:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABFhJREFUWAnNmUtIVFEYx//njm/H1AolS4y0gmoTUUQtImhvSRFE1C7CatMTIcoiiOixKhftijZRGK7aFBE9iELaRFBpFJWWmFaOj9GZOX3/c8eZO+PNx+SdmQ90nHvnnO8359xzzvf/q5BqnPxQi3CkHtBroFEFpaukK/4wuqBVF5S8QrXDZ7Xh3NJO+9bMfqsZfby5owKjoYPQeptArXK2LchRWFCSYy51D4QwEtLO28KJN1DqHvJyrqK5rifx5r/fTQ+wucePkf4jUJGjAub3SauNNYWoX1GCLXVFWFSai7lFvoQsfUNhfP09hgcdQ2h7O4Bnn4cRJrNCANq6hILyy2iuCCQ0cnkzNWDT+wYg3CJglXPyLZzYNBf71pVhfrE9Wi59ul7qHQzh+stfuPC4D3+CEYL+AHyNOL+s1bVB9OK/AbVWaHp/Sp6x03k+rRrXl+Pk5vmYV5w4UpN17nbv52AY5x71ouVFP0bDSsZUnRHIszL9Sc+E3dod8MqXQvQM3hC4HZV+H1p3L8SGmiK3fClfe/55CA23vuFHICx9qDuoKN6Lw9XDyR1ayRdkAahxuNUL8vHqwOJZh2NOfmH2zRwcCJOTuZNi4nwFd52WBgfY8Mn+mhk/a0n9T/q2tMCH3atLcf9dAN8DoZV42Kfx9OpjZ6NEYi4IHblb6bcUv111Wa7zs579/eXXGNZe+yTTHdFQ1nbnwolPMbcSWa1cEHzm0gXHb81czMncZscwLPZ4xAG5z8lWwtU62wtiOkPPnMxNBrPnRhvZU8wTIjjWOSfP8n88VvvfW8l0gNw+wy1oycVO/BmNBJCfW8sTxx7BYOgQTwhuwv+7z7klnu415iYDWcyRKg2jU6y38vjiCZHpIANZzHlvAFmVyMHPs3Wmx5cXX4YMZCEThM2ySyaYg9+LhKn0ySLEhJRzMsVSz0mwKsmWiLPoNZYMpSky07nvTTUQMRZhs1gJs9gsL5x46k3VkVf3yUImsnEVV41Xwl4lTKXfKJMAavc6LJVOZ72NsHGKu6khsi0Mk7BxBLsocPqHWThmR1DPGNElbDKClIYAS55sCYotE8Imi0R0qwTVV7ZEnEW1W0ZUCxmlYbZEjEUEv2UUv4hq6lZKw0wHGchihL64EXY1I4qfopq6NdNBBlvgiwshYQPSjhDFT1HNojFTwdxkIIuxSGKA9ErEjqDip6jOVDC3cR1ojUT9G3sESUSvROwIKn6K6nQHczI3GQxLFCAOaIwcXyPtCCr+dO6LzMWcthUifo3DVIoDktgYOeoM7Yj6m18xOComj8fBHMwVtUDo0ySYSbaqc0IY0+jdbSlkd9BdaNuzyDONzJEj3OvuoBCIP3N++c5kEylxBAlKl4lGjjRgQyp+L55J9sm+Y3DM6eJwTRzB8dHMavttHJKvDgOzVAzM41ljYDohp7CAqSGSJQPLNz5j3lvACaC0SMSFgN5qdKvjXmZNdAdI7M80/RviL5eWC7SyM/fYAAAAAElFTkSuQmCC"},8374:(e,t,r)=>{"use strict";r.d(t,{EH:()=>_,FJ:()=>O,MY:()=>F,PV:()=>$,R7:()=>U,U5:()=>R,Uf:()=>q,YE:()=>T,Z:()=>z,g$:()=>N,hm:()=>M,iN:()=>L,lT:()=>V,lV:()=>j,mm:()=>H,w3:()=>D,xk:()=>W,zk:()=>P});var n=r(5454),i=r(90),o=r(5188),a=r(5239),s=r(9666),l="window",c="document",u="navigator",d="location",p="console",f="performance",h="JSON",g="crypto",m="msCrypto",v="ReactNative",y="msie",b="trident/",w="XMLHttpRequest",S=null,C=null,A=!1,x=null,k=null;function E(e,t){var r=!1;if(e){try{if(!(r=t in e)){var i=e[n.vR];i&&(r=t in i)}}catch(e){}if(!r)try{var o=new e;r=!(0,a.b0)(o[t])}catch(e){}}return r}function _(e){var t=(0,i.mS)();return t&&t[e]?t[e]:e===l&&I()?window:null}function I(){return Boolean(typeof window===n._1&&window)}function P(){return I()?window:_(l)}function T(){return Boolean(typeof document===n._1&&document)?document:_(c)}function B(){return Boolean(typeof navigator===n._1&&navigator)}function D(){return B()?navigator:_(u)}function N(e){if(e&&A){var t=_("__mockLocation");if(t)return t}return typeof location===n._1&&location?location:_(d)}function R(){return typeof console!==n.bA?console:_(p)}function O(){return _(f)}function z(){return Boolean(typeof JSON===n._1&&JSON||null!==_(h))}function M(){return z()?JSON||_(h):null}function F(){return _(g)}function L(){return _(m)}function j(){var e=D();return!(!e||!e.product)&&e.product===v}function V(){var e=D();if(e&&(e[o.tX]!==C||null===S)){var t=((C=e[o.tX])||s.m5)[o.OL]();S=(0,a.Ju)(t,y)||(0,a.Ju)(t,b)}return S}function H(e){var t=Object[n.vR].toString[o.Ek](e),r=s.m5;return"[object Error]"===t?r="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e[o.RS]+"'":z()&&(r=M().stringify(e)),t+r}function q(){return null===k&&(k=B()&&Boolean(D().sendBeacon)),k}function U(e){var t=!1;try{t=!!_("fetch");var r=_("Request");t&&e&&r&&(t=E(r,"keepalive"))}catch(e){}return t}function $(){return null===x&&(x=typeof XDomainRequest!==n.bA)&&W()&&(x=x&&!E(_(w),"withCredentials")),x}function W(){var e=!1;try{e=!!_(w)}catch(e){}return e}},8377:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7476),i="object"==typeof self&&self&&self.Object===Object&&self;const o=n.A||i||Function("return this")()},8378:(e,t,r)=>{"use strict";r.d(t,{Ae:()=>_,bz:()=>k,kG:()=>I,GJ:()=>E});var n,i=r(1635),o=r(3811),a={},s={"user-select":1};function l(e,t){var r=function(){var e;if(!n){var t="undefined"!=typeof document?document:void 0,r="undefined"!=typeof navigator?navigator:void 0,i=null===(e=null==r?void 0:r.userAgent)||void 0===e?void 0:e.toLowerCase();n=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(i&&i.indexOf("firefox")>-1),isOpera:!!(i&&i.indexOf("opera")>-1),isMs:!(!r||!/rv:11.0/i.test(r.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return n}(),i=e[t];if(s[i]){var o=e[t+1];s[i]&&(r.isWebkit&&e.push("-webkit-"+i,o),r.isMoz&&e.push("-moz-"+i,o),r.isMs&&e.push("-ms-"+i,o),r.isOpera&&e.push("-o-"+i,o))}}var c,u=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function d(e,t){var r=e[t],n=e[t+1];if("number"==typeof n){var i=u.indexOf(r)>-1,o=r.indexOf("--")>-1,a=i||o?"":"px";e[t+1]="".concat(n).concat(a)}}var p="left",f="right",h="@noflip",g=((c={})[p]=f,c[f]=p,c),m={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function v(e,t,r){if(e.rtl){var n=t[r];if(!n)return;var i=t[r+1];if("string"==typeof i&&i.indexOf(h)>=0)t[r+1]=i.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(p)>=0)t[r]=n.replace(p,f);else if(n.indexOf(f)>=0)t[r]=n.replace(f,p);else if(String(i).indexOf(p)>=0)t[r+1]=i.replace(p,f);else if(String(i).indexOf(f)>=0)t[r+1]=i.replace(f,p);else if(g[n])t[r]=g[n];else if(m[i])t[r+1]=m[i];else switch(n){case"margin":case"padding":t[r+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(i);break;case"box-shadow":t[r+1]=function(e){var t=e.split(" "),r=parseInt(t[0],10);return t[0]=t[0].replace(String(r),String(-1*r)),t.join(" ")}(i)}}}var y="displayName",b=/\:global\((.+?)\)/g;function w(e,t){return e.indexOf(":global(")>=0?e.replace(b,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function S(e,t,r,n,i){void 0===t&&(t={__order:[]}),0===r.indexOf("@")?C([n],t,r=r+"{"+e,i):r.indexOf(",")>-1?function(e){if(!b.test(e))return e;for(var t=[],r=/\:global\((.+?)\)/g,n=null;n=r.exec(e);)n[1].indexOf(",")>-1&&t.push([n.index,n.index+n[0].length,n[1].split(",").map((function(e){return":global(".concat(e.trim(),")")})).join(", ")]);return t.reverse().reduce((function(e,t){var r=t[0],n=t[1],i=t[2];return e.slice(0,r)+i+e.slice(n)}),e)}(r).split(",").map((function(e){return e.trim()})).forEach((function(r){return C([n],t,w(r,e),i)})):C([n],t,w(r,e),i)}function C(e,t,r,n){void 0===t&&(t={__order:[]}),void 0===r&&(r="&");var i,o=t[r];o||(o={},t[r]=o,t.__order.push(r));for(var a=0,s=e;a<s.length;a++){var l=s[a];if("string"==typeof l){var c=n.argsFromClassName(l);c&&C(c,t,r,n)}else if(Array.isArray(l))C(l,t,r,n);else for(var u in l)if(l.hasOwnProperty(u)){var d=l[u];if("selectors"===u){var p=l.selectors;for(var f in p)p.hasOwnProperty(f)&&S(r,t,f,p[f],n)}else"object"==typeof d||(i=u).indexOf(":global(")>=0||0===i.indexOf(":")?null!=d&&S(r,t,u,d,n):void 0!==d&&("margin"===u||"padding"===u?A(o,u,d):o[u]=d)}}return t}function A(e,t,r){var n="string"==typeof r?function(e){for(var t=[],r=0,n=0,i=0;i<e.length;i++)switch(e[i]){case"(":n++;break;case")":n&&n--;break;case"\t":case" ":n||(i>r&&t.push(e.substring(r,i)),r=i+1)}return r<e.length&&t.push(e.substring(r)),t}(r):[r];0===n.length&&n.push(r),"!important"===n[n.length-1]&&(n=n.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=n[0],e[t+"Right"]=n[1]||n[0],e[t+"Bottom"]=n[2]||n[0],e[t+"Left"]=n[3]||n[1]||n[0]}function x(e,t){return t<=0?"":1===t?e:e+x(e,t-1)}function k(e,t){if(!t)return"";var r,n,i,o=[];for(var s in t)t.hasOwnProperty(s)&&s!==y&&void 0!==t[s]&&o.push(s,t[s]);for(var c=0;c<o.length;c+=2)i=void 0,"-"!==(i=(r=o)[n=c]).charAt(0)&&(r[n]=a[i]=a[i]||i.replace(/([A-Z])/g,"-$1").toLowerCase()),d(o,c),v(e,o,c),l(o,c);for(c=1;c<o.length;c+=4)o.splice(c,1,":",o[c],";");return o.join("")}function E(e){for(var t,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=null!==(t=e.stylesheet)&&void 0!==t?t:o.nr.getInstance(e.shadowConfig),a=C(r,void 0,void 0,i),s=function(e,t){for(var r=[e.rtl?"rtl":"ltr"],n=!1,i=0,o=t.__order;i<o.length;i++){var a=o[i];r.push(a);var s=t[a];for(var l in s)s.hasOwnProperty(l)&&void 0!==s[l]&&(n=!0,r.push(l,s[l]))}return n?r.join(""):void 0}(e,a);if(s){var l={className:i.classNameFromKey(s),key:s,args:r};if(!l.className){l.className=i.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(a));for(var c=[],u=0,d=a.__order;u<d.length;u++){var p=d[u];c.push(p,k(e,a[p]))}l.rulesToInsert=c}return l}}function _(e,t,r,n){void 0===t&&(t=1);var i=null!=n?n:o.nr.getInstance(r),a=e.className,s=e.key,l=e.args,c=e.rulesToInsert;if(c){for(var u=0;u<c.length;u+=2){var d=c[u+1];if(d){var p=c[u];p=p.replace(/&/g,x(".".concat(e.className),t));var f="".concat(p,"{").concat(d,"}").concat(0===p.indexOf("@")?"}":"");i.insertRule(f)}}i.cacheClassName(a,s,l,c)}}function I(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=E.apply(void 0,(0,i.__spreadArray)([e],t,!1));return n?(_(n,e.specificityMultiplier,e.shadowConfig,e.stylesheet),n.className):""}},8384:(e,t,r)=>{"use strict";function n(e){return null!=e}r.d(t,{O:()=>n})},8409:(e,t,r)=>{"use strict";r.d(t,{Nv:()=>o,Pv:()=>a});var n=r(7810);const i=n.createContext(void 0),o=i.Provider;function a(){var e;return null!==(e=n.useContext(i))&&void 0!==e?e:{}}},8412:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});const n=(0,r(1671).A)(Object,"create");var i=Object.prototype.hasOwnProperty;var o=Object.prototype.hasOwnProperty;function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=function(){this.__data__=n?n(null):{},this.size=0},a.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},a.prototype.get=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0},a.prototype.has=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)},a.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this};const s=a;var l=r(5826),c=r(6787);const u=function(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map};function d(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new s,map:new(c.A||l.A),string:new s}},d.prototype.delete=function(e){var t=u(this,e).delete(e);return this.size-=t?1:0,t},d.prototype.get=function(e){return u(this,e).get(e)},d.prototype.has=function(e){return u(this,e).has(e)},d.prototype.set=function(e,t){var r=u(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};const p=d},8465:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAOVJREFUWAntmLENwlAMRO9HCLECC5Bh2IE1iChQRAF7MAOwCgoLsEKElHxim0h0pjIpzgUFLu7pfTc5YGKTlKfOc7TNASlvkLEMZUx4IqczFuUedXrNNFxgkLcDTPyogCG7bSS7MiAzA6RijVN5C6XaPdbou4u+zgBUaPj4TNEwEn5cXb8ZDEj/mcYPgbx3oCEa8gx4e94QDXkGvD1viIY8A96eN0RDngFvzxuiIc+At+cN0ZBnwNvbDUklIiMf/tEzZn4YrP2QfkbqGGkhqnssUt9ZnjIABiRlkfQz/y6sYlX8lvYG5l47/xbUu7kAAAAASUVORK5CYII="},8496:e=>{e.exports="data:image/svg+xml,%3csvg width='160' height='160' viewBox='0 0 160 160' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M131.319 98.9017C131.319 132.646 103.964 160.001 70.2201 160.001C36.4761 160.001 9.12109 132.646 9.12109 98.9017C9.12109 65.1577 36.4761 37.8027 70.2201 37.8027C103.964 37.8027 131.319 65.1577 131.319 98.9017Z' fill='%23FFD590'/%3e %3cpath d='M70.2195 37.8027C103.964 37.8027 131.319 65.1567 131.319 98.9017C131.319 106.322 129.994 113.431 127.571 120.01C119.332 128.044 108.837 133.775 97.1227 136.152C97.3155 136.943 97.4183 137.771 97.4183 138.623C97.4183 144.346 92.7783 148.984 87.0573 148.984C81.3353 148.984 76.6963 144.346 76.6963 138.623C76.6963 138.015 76.7487 137.419 76.8492 136.84C55.7367 134.052 38.0233 120.483 29.4221 101.844C23.9127 101.605 19.5195 97.0635 19.5195 91.4951C19.5195 87.8794 21.3719 84.6965 24.1793 82.8432C23.9479 80.6852 23.8295 78.4928 23.8295 76.2727C23.8295 68.8527 25.1545 61.7417 27.5765 55.1627C38.5875 44.4267 53.6265 37.8027 70.2195 37.8027Z' fill='%23FFE5B9'/%3e %3cpath d='M65.372 66.1313C65.372 72.6073 60.122 77.8583 53.645 77.8583C47.169 77.8583 41.918 72.6073 41.918 66.1313C41.918 59.6543 47.169 54.4033 53.645 54.4033C60.122 54.4033 65.372 59.6543 65.372 66.1313Z' fill='%23FFD590'/%3e %3cpath d='M82.7698 106.014C82.7698 111.736 78.1308 116.374 72.4098 116.374C66.6868 116.374 62.0488 111.736 62.0488 106.014C62.0488 100.291 66.6868 95.6533 72.4098 95.6533C78.1308 95.6533 82.7698 100.291 82.7698 106.014Z' fill='%23FFD590'/%3e %3cpath d='M117.936 114.968C117.936 117.958 115.512 120.382 112.522 120.382C109.533 120.382 107.109 117.958 107.109 114.968C107.109 111.979 109.533 109.555 112.522 109.555C115.512 109.555 117.936 111.979 117.936 114.968Z' fill='%23FFD590'/%3e %3cpath d='M93.113 138.623C93.113 141.969 90.401 144.68 87.056 144.68C83.712 144.68 81 141.969 81 138.623C81 135.278 83.712 132.566 87.056 132.566C90.401 132.566 93.113 135.278 93.113 138.623Z' fill='%23FFD590'/%3e %3cpath d='M35.9372 91.4955C35.9372 94.8405 33.2262 97.5525 29.8802 97.5525C26.5362 97.5525 23.8242 94.8405 23.8242 91.4955C23.8242 88.1505 26.5362 85.4385 29.8802 85.4385C33.2262 85.4385 35.9372 88.1505 35.9372 91.4955Z' fill='%23FFD590'/%3e %3cpath d='M80.9734 0C79.8464 1.892 78.4434 4.477 78.4434 8.93C78.4434 13.65 80.0224 16.281 81.1744 18.202C82.1244 19.787 82.6984 20.744 82.6984 23.12C82.6984 25.492 82.1254 26.449 81.1744 28.032C80.0224 29.953 78.4434 32.583 78.4434 37.3C78.4434 42.016 80.0224 44.648 81.1744 46.568C82.1254 48.153 82.6984 49.109 82.6984 51.483C82.6984 53.857 82.1254 54.812 81.1744 56.396C80.0224 58.316 78.4434 60.945 78.4434 65.663C78.4434 70.38 81.9014 71.58 81.9014 71.58L86.9044 65.663C86.9044 63.29 87.4784 62.334 88.4284 60.75C89.5814 58.83 91.1604 56.201 91.1604 51.483C91.1604 46.766 89.5814 44.135 88.4284 42.215C87.4784 40.63 86.9044 39.673 86.9044 37.3C86.9044 34.927 87.4784 33.969 88.4284 32.387C89.5814 30.467 91.1604 27.837 91.1604 23.12C91.1604 18.401 89.5814 15.77 88.4294 13.85C87.4784 12.264 86.9044 11.306 86.9044 8.93C86.9044 6.555 87.4784 5.598 88.4294 4.013C89.0584 2.965 89.8054 1.692 90.3624 0H80.9734Z' fill='url(%23paint0_linear)'/%3e %3cpath d='M119.043 71.2471C125.557 77.7611 148.673 65.1521 148.673 65.1521L135.434 51.9141C135.434 51.9141 112.528 64.7321 119.043 71.2471Z' fill='%233E8EED'/%3e %3cpath d='M94.6811 46.8849C88.1671 40.3709 100.776 17.2549 100.776 17.2549L114.014 30.4939C114.014 30.4939 101.196 53.3999 94.6811 46.8849Z' fill='%233E8EED'/%3e %3cpath d='M80.5631 86.0717C84.6764 90.5717 105.067 86.6134 127.034 69.6872C134.098 64.2442 144.416 49.2458 144.416 49.2458L116.817 23.502C116.817 23.502 101.406 35.099 95.7208 42.4841C79.9574 62.9614 76.5679 81.7009 80.5631 86.0717Z' fill='url(%23paint1_linear)'/%3e %3cpath d='M118.266 19.6472L146.265 47.6462C147.585 48.9672 147.585 51.1082 146.265 52.4292C144.945 53.7502 142.803 53.7502 141.483 52.4292L113.483 24.4292C112.162 23.1092 112.162 20.9672 113.483 19.6472C114.804 18.3272 116.945 18.3272 118.266 19.6472Z' fill='%233E8EED'/%3e %3cpath d='M103.959 47.7806C108.146 43.5926 114.938 43.5926 119.125 47.7806C123.313 51.9676 123.313 58.7586 119.125 62.9466C114.938 67.1346 108.146 67.1346 103.959 62.9466C99.7714 58.7586 99.7714 51.9676 103.959 47.7806Z' fill='%233E8EED'/%3e %3cpath d='M106.18 50.001C109.142 47.04 113.943 47.04 116.905 50.001C119.866 52.963 119.866 57.764 116.905 60.726C113.943 63.687 109.142 63.687 106.18 60.726C103.219 57.764 103.219 52.963 106.18 50.001Z' fill='%23B3D6FF'/%3e %3cpath d='M77.5935 66.043C81.5785 69.324 85.0465 68.242 87.5615 70.456C90.0795 72.672 88.7135 74.224 91.2305 76.439C93.7505 78.657 95.1155 77.106 97.6355 79.323C100.153 81.54 98.7885 83.092 101.307 85.31L95.0835 100.696L68.3965 75.491L77.5935 66.043Z' fill='%23FFE5B9'/%3e %3cpath d='M111.308 93.9519C111.308 98.5029 107.619 102.192 103.068 102.192C98.5171 102.192 94.8281 98.5029 94.8281 93.9519C94.8281 89.4009 98.5171 85.7119 103.068 85.7119C107.619 85.7119 111.308 89.4009 111.308 93.9519Z' fill='%23FFD590'/%3e %3cpath d='M129.296 15.3401C129.261 15.9071 129.417 16.4781 129.736 16.9481C130.192 17.6091 130.905 18.0251 131.71 18.0761C133.128 18.1631 134.356 17.0811 134.445 15.6621L134.877 8.81113C134.918 8.12013 134.682 7.47513 134.265 6.98413C133.826 6.46913 133.189 6.12413 132.461 6.07813C131.043 5.99113 129.817 7.07513 129.728 8.49313L129.296 15.3401Z' fill='%23E1DFDD'/%3e %3cpath d='M141.479 20.1852C140.668 21.0702 140.575 22.3812 141.249 23.3732H141.25C141.371 23.5512 141.51 23.7112 141.645 23.8312C142.695 24.7872 144.329 24.7122 145.288 23.6642L149.626 18.9142C150.094 18.4022 150.333 17.7382 150.297 17.0432C150.269 16.4692 150.056 15.9362 149.697 15.5132C149.624 15.4272 149.544 15.3462 149.46 15.2712C148.41 14.3152 146.776 14.3882 145.817 15.4372L141.479 20.1852Z' fill='%23E1DFDD'/%3e %3cpath d='M149.037 33.7201C149.111 33.9981 149.23 34.2601 149.391 34.4981C150.016 35.4211 151.14 35.8311 152.205 35.5401L158.098 33.9351C158.764 33.7541 159.318 33.3241 159.66 32.7231C160.001 32.1241 160.089 31.4291 159.908 30.7741C159.808 30.4001 159.628 30.0611 159.384 29.7751C159.193 29.5511 158.964 29.3591 158.701 29.2081C158.102 28.8651 157.406 28.7771 156.741 28.9581L150.847 30.5631C150.182 30.7451 149.626 31.1771 149.285 31.7771C148.943 32.3761 148.857 33.0721 149.037 33.7201Z' fill='%23E1DFDD'/%3e %3cdefs%3e %3clinearGradient id='paint0_linear' x1='77.612' y1='0' x2='77.612' y2='80.9394' gradientUnits='userSpaceOnUse'%3e %3cstop stop-opacity='0.01'/%3e %3cstop offset='0.572879' stop-color='%23353433' stop-opacity='0.297834'/%3e %3cstop offset='1' stop-color='%23B3AFAB'/%3e %3c/linearGradient%3e %3clinearGradient id='paint1_linear' x1='107.104' y1='110.957' x2='156.038' y2='58.8696' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%233E8EED'/%3e %3cstop offset='1' stop-color='%2372ACF1'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e"},8529:(e,t,r)=>{"use strict";r(5373)},8565:(e,t,r)=>{"use strict";r.d(t,{$f:()=>o,xD:()=>i,xW:()=>n});var n=(0,r(8627).l8)({root:{display:"inline-block",textDecoration:"inherit"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),i="ms-Icon",o=function(e){var t=e.className,r=e.iconClassName,i=e.isPlaceholder,o=e.isImage,a=e.styles;return{root:[i&&n.placeholder,n.root,o&&n.image,r,t,a&&a.root,a&&a.imageContainer]}}},8622:(e,t,r)=>{"use strict";r.d(t,{S:()=>i,_0:()=>a,hj:()=>o,m5:()=>n});var n="",i="https://browser.events.data.microsoft.com/OneCollector/1.0/",o="version",a="properties"},8626:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},8627:(e,t,r)=>{"use strict";r.d(t,{lw:()=>K,pD:()=>je,BO:()=>xe.BO,up:()=>Q,fF:()=>xe.fF,mm:()=>ee,nA:()=>ne,TW:()=>Me.T,pB:()=>Fe.p,QN:()=>ae,gm:()=>oe,Km:()=>Z,Qg:()=>re,sW:()=>Ne,L6:()=>te,O4:()=>Ae,dX:()=>X,i7:()=>i.i,l8:()=>Le.l,Zq:()=>n.Z,aH:()=>De,K1:()=>Be});var n=r(1565),i=r(6098),o="cubic-bezier(.1,.9,.2,1)",a="cubic-bezier(.1,.25,.75,.9)",s="0.167s",l="0.267s",c="0.367s",u="0.467s",d=(0,i.i)({from:{opacity:0},to:{opacity:1}}),p=(0,i.i)({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),f=U(-10),h=U(-20),g=U(-40),m=U(-400),v=U(10),y=U(20),b=U(40),w=U(400),S=$(10),C=$(20),A=$(-10),x=$(-20),k=W(10),E=W(20),_=W(40),I=W(400),P=W(-10),T=W(-20),B=W(-40),D=W(-400),N=G(-10),R=G(-20),O=G(10),z=G(20),M=(0,i.i)({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),F=(0,i.i)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),L=(0,i.i)({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),j=(0,i.i)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),V=(0,i.i)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),H=(0,i.i)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}});function q(e,t,r){return{animationName:e,animationDuration:t,animationTimingFunction:r,animationFillMode:"both"}}function U(e){return(0,i.i)({from:{transform:"translate3d(".concat(e,"px,0,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function $(e){return(0,i.i)({from:{transform:"translate3d(0,".concat(e,"px,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function W(e){return(0,i.i)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(".concat(e,"px,0,0)")}})}function G(e){return(0,i.i)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,".concat(e,"px,0)")}})}var K=function(e){var t={},r=function(r){var i;e.hasOwnProperty(r)&&Object.defineProperty(t,r,{get:function(){return void 0===i&&(i=(0,n.Z)(e[r]).toString()),i},enumerable:!0,configurable:!0})};for(var i in e)r(i);return t}({slideRightIn10:q("".concat(d,",").concat(f),c,o),slideRightIn20:q("".concat(d,",").concat(h),c,o),slideRightIn40:q("".concat(d,",").concat(g),c,o),slideRightIn400:q("".concat(d,",").concat(m),c,o),slideLeftIn10:q("".concat(d,",").concat(v),c,o),slideLeftIn20:q("".concat(d,",").concat(y),c,o),slideLeftIn40:q("".concat(d,",").concat(b),c,o),slideLeftIn400:q("".concat(d,",").concat(w),c,o),slideUpIn10:q("".concat(d,",").concat(S),c,o),slideUpIn20:q("".concat(d,",").concat(C),c,o),slideDownIn10:q("".concat(d,",").concat(A),c,o),slideDownIn20:q("".concat(d,",").concat(x),c,o),slideRightOut10:q("".concat(p,",").concat(k),c,o),slideRightOut20:q("".concat(p,",").concat(E),c,o),slideRightOut40:q("".concat(p,",").concat(_),c,o),slideRightOut400:q("".concat(p,",").concat(I),c,o),slideLeftOut10:q("".concat(p,",").concat(P),c,o),slideLeftOut20:q("".concat(p,",").concat(T),c,o),slideLeftOut40:q("".concat(p,",").concat(B),c,o),slideLeftOut400:q("".concat(p,",").concat(D),c,o),slideUpOut10:q("".concat(p,",").concat(N),c,o),slideUpOut20:q("".concat(p,",").concat(R),c,o),slideDownOut10:q("".concat(p,",").concat(O),c,o),slideDownOut20:q("".concat(p,",").concat(z),c,o),scaleUpIn100:q("".concat(d,",").concat(M),c,o),scaleDownIn100:q("".concat(d,",").concat(L),c,o),scaleUpOut103:q("".concat(p,",").concat(j),s,a),scaleDownOut98:q("".concat(p,",").concat(F),s,a),fadeIn100:q(d,s,a),fadeIn200:q(d,l,a),fadeIn400:q(d,c,a),fadeIn500:q(d,u,a),fadeOut100:q(p,s,a),fadeOut200:q(p,l,a),fadeOut400:q(p,c,a),fadeOut500:q(p,u,a),rotate90deg:q(V,"0.1s",a),rotateN90deg:q(H,"0.1s",a)}),X={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"},Y=r(3811),J=(0,r(5846).J9)((function(e,t){var r=Y.nr.getInstance();return t?Object.keys(e).reduce((function(t,n){return t[n]=r.getClassName(e[n]),t}),{}):e}));function Z(e,t,r){return J(e,void 0!==r?r:t.disableGlobalClassNames)}var Q="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",ee=639;function te(e,t){var r="number"==typeof e?" and (min-width: ".concat(e,"px)"):"",n="number"==typeof t?" and (max-width: ".concat(t,"px)"):"";return"@media only screen".concat(r).concat(n)}function re(){return{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}}var ne,ie=r(3312);function oe(e,t,r,n,i,o,a,s){return function(e,t){var r,n;void 0===t&&(t={});var i=t.borderRadius,o=t.inset,a=void 0===o?0:o,s=t.width,l=void 0===s?1:s,c=t.position,u=void 0===c?"relative":c,d=t.highContrastStyle,p=t.borderColor,f=void 0===p?e.palette.white:p,h=t.outlineColor,g=void 0===h?e.palette.neutralSecondary:h,m=t.isFocusedOnly,v=void 0===m||m,y=t.pointerEvents;return{outline:"transparent",position:u,selectors:(r={"::-moz-focus-inner":{border:"0"}},r[".".concat(ie.Y2," &").concat(v?":focus":"",":after, :host(.").concat(ie.Y2,") &").concat(v?":focus":"",":after")]={content:'""',position:"absolute",pointerEvents:y,left:a+1,top:a+1,bottom:a+1,right:a+1,border:"".concat(l,"px solid ").concat(f),outline:"".concat(l,"px solid ").concat(g),zIndex:ne.FocusStyle,borderRadius:i,selectors:(n={},n[Q]=d,n)},r)}}(e,"number"!=typeof t&&t?t:{inset:t,position:r,highContrastStyle:n,borderColor:i,outlineColor:o,isFocusedOnly:a,borderRadius:s})}function ae(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(ne||(ne={}));var se,le=r(1635),ce=r(669),ue=r(3907),de=function(){return de=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},de.apply(this,arguments)},pe="undefined"==typeof window?r.g:window,fe=pe&&pe.CSPSettings&&pe.CSPSettings.nonce,he=((se=pe.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(se=de(de({},se),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),se.registeredThemableStyles||(se=de(de({},se),{registeredThemableStyles:[]})),pe.__themeState__=se,se);function ge(e){he.theme=e,function(){if(he.theme){for(var e=[],t=0,r=he.registeredThemableStyles;t<r.length;t++){var n=r[t];e.push(n.themableStyle)}e.length>0&&(void 0===(o=1)&&(o=3),3!==o&&2!==o||(me(he.registeredStyles),he.registeredStyles=[]),3!==o&&1!==o||(me(he.registeredThemableStyles),he.registeredThemableStyles=[]),i=[].concat.apply([],e),he.loadStyles?he.loadStyles(ve(i).styleString,i):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],r=document.createElement("style"),n=ve(e),i=n.styleString,o=n.themable;r.setAttribute("data-load-themed-styles","true"),fe&&r.setAttribute("nonce",fe),r.appendChild(document.createTextNode(i)),he.perf.count++,t.appendChild(r);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:r},document.dispatchEvent(a);var s={styleElement:r,themableStyle:e};o?he.registeredThemableStyles.push(s):he.registeredStyles.push(s)}}(i))}var i,o}()}function me(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function ve(e){var t=he.theme,r=!1;return{styleString:(e||[]).map((function(e){var n=e.theme;if(n){r=!0;var i=t?t[n]:void 0,o=e.defaultValue||"inherit";return t&&!i&&console&&!(n in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'.concat(n,'". Falling back to "').concat(o,'".')),i||o}return e.rawString})).join(""),themable:r}}var ye=r(1063),be=(0,ye.a)({}),we=[],Se="theme";function Ce(){var e,t,r,n=(0,ce.z)();(null===(t=null==n?void 0:n.FabricConfig)||void 0===t?void 0:t.legacyTheme)?function(e,t){var r;void 0===t&&(t=!1),be=(0,ye.a)(e,t),ge((0,le.__assign)((0,le.__assign)((0,le.__assign)((0,le.__assign)({},be.palette),be.semanticColors),be.effects),function(e){for(var t={},r=0,n=Object.keys(e.fonts);r<n.length;r++)for(var i=n[r],o=e.fonts[i],a=0,s=Object.keys(o);a<s.length;a++){var l=s[a],c=i+l.charAt(0).toUpperCase()+l.slice(1),u=o[l];"fontSize"===l&&"number"==typeof u&&(u+="px"),t[c]=u}return t}(be))),ue.X.applySettings(((r={})[Se]=be,r)),we.forEach((function(e){try{e(be)}catch(e){}}))}(n.FabricConfig.legacyTheme):ue.X.getSettings([Se]).theme||((null===(r=null==n?void 0:n.FabricConfig)||void 0===r?void 0:r.theme)&&(be=(0,ye.a)(n.FabricConfig.theme)),ue.X.applySettings(((e={})[Se]=be,e)))}function Ae(e){return void 0===e&&(e=!1),!0===e&&(be=(0,ye.a)({},e)),be}Ce();var xe=r(1786),ke=r(9950);function Ee(e){console&&console.warn&&console.warn(e)}var _e=r(5943),Ie=ke.h.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),Pe=Y.nr.getInstance();Pe&&Pe.onReset&&Pe.onReset((function(){for(var e in Ie)Ie.hasOwnProperty(e)&&Ie[e].subset&&(Ie[e].subset.className=void 0)}));var Te=function(e){return e.toLowerCase()};function Be(e,t){var r=(0,le.__assign)((0,le.__assign)({},e),{isRegistered:!1,className:void 0}),n=e.icons;for(var i in t=t?(0,le.__assign)((0,le.__assign)({},Ie.__options),t):Ie.__options,n)if(n.hasOwnProperty(i)){var o=n[i],a=Te(i);Ie[a]?ze(i):Ie[a]={code:o,subset:r}}}function De(e,t){Ie.__remapped[Te(e)]=Te(t)}function Ne(e){var t=void 0,r=Ie.__options;if(e=e?Te(e):"",e=Ie.__remapped[e]||e)if(t=Ie[e]){var i=t.subset;i&&i.fontFace&&(i.isRegistered||((0,_e.n)(i.fontFace),i.isRegistered=!0),i.className||(i.className=(0,n.Z)(i.style,{fontFamily:i.fontFace.fontFamily,fontWeight:i.fontFace.fontWeight||"normal",fontStyle:i.fontFace.fontStyle||"normal"})))}else!r.disableWarnings&&r.warnOnMissingIcons&&Ee('The icon "'.concat(e,'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.'));return t}var Re=[],Oe=void 0;function ze(e){Ie.__options.disableWarnings||(Re.push(e),void 0===Oe&&(Oe=setTimeout((function(){Ee("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+Re.slice(0,10).join(", ")+(Re.length>10?" (+ ".concat(Re.length-10," more)"):"")),Oe=void 0,Re=[]}),2e3)))}var Me=r(6227),Fe=r(1917),Le=r(3311),je="https://res.cdn.office.net/files/fabric-cdn-prod_20250411.001";(0,r(9755).v)("@fluentui/style-utilities","8.12.2"),Ce()},8633:(e,t,r)=>{"use strict";r.d(t,{F:()=>s});var n=r(587),i=r(2517),o=r(7841);class a{constructor(){}handleEvent(e){return e.orchestratorCommandParams.appSdkHost.setAppInitInfo({state:i.Jz.Unloaded}),(0,n.X)().msg_readyToUnload_processedSuccessfully(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId),o.f1}}function s(){return new a}},8686:e=>{"use strict";e.exports={rE:"8.10.0"}},8696:(e,t,r)=>{"use strict";var n,i;r.d(t,{x:()=>n,z:()=>i}),function(e){e.Automatic="automatic",e.Manual="manual"}(n||(n={})),function(e){e.Error="error",e.HeroCard="application/vnd.microsoft.card.hero",e.ThumbnailCard="application/vnd.microsoft.card.thumbnail",e.ConnectorCard="application/vnd.microsoft.teams.card.o365connector",e.AdaptiveCard="application/vnd.microsoft.card.adaptive",e.SignInCard="signincard",e.AppInstallCard="appinstallcard"}(i||(i={}))},8702:(e,t,r)=>{"use strict";r.d(t,{BF:()=>a,G3:()=>i,H0:()=>o});var n=r(5605);class i{constructor(e,t){this.content=e,this.type=t}}class o{constructor(e,t){this.code=e,this.message=t,this.type="Error"}}class a{constructor(e,t){this._rawContent=e,this.type=t;try{const e=JSON.parse(this._rawContent);this._auth=new n.Ht,this._auth.parse(e);for(const e of this._auth.buttons)if("signin"===e.type&&e.value){new URL(e.value),this.signInButton=e;break}}catch(e){}}get tokenExchangeResource(){var e;return null===(e=this._auth)||void 0===e?void 0:e.tokenExchangeResource}}},8720:(e,t,r)=>{"use strict";r.d(t,{XA:()=>A});var n=r(1635),i=r(240),o=r(2517),a=r(1128),s=r(5041),l=r(8976),c=r(6596),u=r(7012),d=r(6457),p=r(9561),f=r(5097),h=r(9802),g=r(778),m=r(3278),v=r(1956),y=r(3210),b=r(7841);const w="App failed to call initialize(). Immediate or Loading Screen apps are required to call app.initialize().",S="App failed to call notifySuccess(). Loading screen apps are required to call app.notifySuccess() when the app is loaded.";var C;!function(e){e[e.initialAppInitializationTimerExpiration=1]="initialAppInitializationTimerExpiration",e[e.extendedAppInitializationTimerExpiration=2]="extendedAppInitializationTimerExpiration"}(C||(C={}));class A extends v.R{constructor(e,t,r,n,s,l,c){var u,d,p,f,m,v,y;super(e,r),this.appSdkHost=e,this.hubServices=t,this.telemetryService=r,this.hostVersionsInfo=n,this.usingCachedApp=s,this.isNAAChannelRecommended=l,this.originsToBlock=c,this.initializationStatusReported=!1,this.appInitializationScenarioAlreadyStopped=!1,this.getOCDIWarning=()=>{var e;const t=null===(e=this.telemetryService)||void 0===e?void 0:e.getAppSdkVersion();return(0,g.AU)(window.location.href)&&t&&(0,g.Di)(t,i.DX)?i.f:""},this.startTimerToWaitForInitializeCallFromApp=()=>this.usingCachedApp?window.setTimeout((()=>{var e,t,r;this.failAppInitializationScenario("Cached app load timed out"),null===(e=this.extendedAppInitializationScenario)||void 0===e||e.fail("Cached app load timed out"),this.appSdkHost.setAppInitInfo({state:o.Jz.Failed,reason:i.Af.CachedAppLoadTimedOut,appSdkVersion:null===(t=this.telemetryService)||void 0===t?void 0:t.getAppSdkVersion()}),null===(r=this.hubServices.logger)||void 0===r||r.log(a.$.Error,"Error Screen Reason",S+this.getOCDIWarning())}),this.timeToWaitForStateTransitionsInMs):this.isLoadingScreenApp()?window.setTimeout((()=>{this.onInitializeCallTimedOutForLoadingScreenApp()}),this.timeToWaitForStateTransitionsInMs):window.setTimeout((()=>{this.onInitializeCallTimedOutForImmediateApp()}),this.timeToWaitForStateTransitionsInMs),this.stopAppInitializationScenario=()=>{var e;this.stopInitializeStateTransitionTimer(),null===(e=this.appInitializationScenario)||void 0===e||e.stop(),this.appInitializationScenarioAlreadyStopped=!0},this.failAppInitializationScenario=(e,t)=>{var r;this.stopInitializeStateTransitionTimer(),null===(r=this.appInitializationScenario)||void 0===r||r.fail(e,t)},this.stopInitializeStateTransitionTimer=()=>{window.clearTimeout(this.initStateTransitionTimerId)},this.recordInitializationDoubleStopAttempt=e=>{const t=this.telemetryService.createScenario("initializationDoubleStopAttempt");t.addOrUpdateActivityDataField("doubleInitEndAttemptCodeLocation",e),t.stop()},this.appSdkHost.startAppInitializationScenario(),this.appInitializationScenario=null===(u=this.appSdkHost)||void 0===u?void 0:u.getAppInitializationScenario(),null===(d=this.appInitializationScenario)||void 0===d||d.markPhase("ClickToBeginLoad"),this.logTelemetryForAppSdkLoaded(),this.isShowLoadingIndicatorEnabled=(null===(p=e.getAppDefinition())||void 0===p?void 0:p.showLoadingIndicator)||!1,this.forceAppToBeLoadingScreenApp=null!==(f=(0,h.eZ)().resetTimerWhenInitCalledAndWaitForNotifySuccess)&&void 0!==f&&f,null===(m=this.appInitializationScenario)||void 0===m||m.addOrUpdateActivityDataField("resetTimerFlag",this.forceAppToBeLoadingScreenApp),this.recordCachingServiceState();const b=null===(v=this.appSdkHost.getAppDefinition())||void 0===v?void 0:v.id,w=null===(y=this.telemetryService)||void 0===y?void 0:y.enableExtendedInitializationTracking,C=b&&i.pm.has(b);(w||C)&&(this.extendedAppInitializationScenario=this.createExtendedAppInitTelemetry(b)),this.timeToWaitForStateTransitionsInMs=this.isLoadingScreenApp()?this.getTimeoutValueForLoadingScreenAppInMills():this.getTimeoutValueForImmediateAppInMills(),this.initStateTransitionTimerId=this.startTimerToWaitForInitializeCallFromApp()}recordCachingServiceState(){var e,t;null===(e=this.appInitializationScenario)||void 0===e||e.addOrUpdateActivityDataField("isLifecycleServiceProvided",!!this.hubServices.lifecycleService),null===(t=this.appInitializationScenario)||void 0===t||t.addOrUpdateActivityDataField("isCacheManagementServiceProvided",!!this.hubServices.cacheManagementService)}createExtendedAppInitTelemetry(e){var t;const r=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario("appInitializationExtended",e);return null==r||r.markPhase("ClickToBeginLoad"),null==r||r.addOrUpdateActivityDataField("resetTimerFlag",this.forceAppToBeLoadingScreenApp),r}initHandlers(){this.registerHandler(i.tz.initialize,this.onInitializeCalled),this.registerHandler(i.tz.getContext,this.getContext,{errorCallback:this.onGetContextError}),this.registerHandler(i.tz.readyToUnload,this.readyToUnload),this.registerHandler(i.tz.appInitialization.appLoaded,this.onNotifyAppLoadedCalled),this.registerHandler(i.tz.appInitialization.success,this.onNotifySuccessCalled),this.registerHandler(i.tz.appInitialization.failure,this.onNotifyFailureCalled),this.registerHandler(i.tz.appInitialization.expectedFailure,this.onNotifyExpectedFailureCalled)}getTimeoutValueForImmediateAppInMills(){var e;const t=function(){const e=(0,h.eZ)().overrideForEachInitStateChangeTimeoutsInMs;return null!=e?e:3e4}();return null!=(0,h.eZ)().overrideForEachInitStateChangeTimeoutsInMs&&(null===(e=this.hubServices.logger)||void 0===e||e.log(a.$.Info,"Feature Flag overrideForEachInitStateChangeTimeoutsInMs",`Using timeout for immediate app: ${t} milliseconds`)),t}getTimeoutValueForLoadingScreenAppInMills(){var e,t;const r=function(){const e=(0,h.eZ)().extendedAppLoadTimeoutInMillis,t=(0,h.eZ)().overrideForEachInitStateChangeTimeoutsInMs;return null!=t?t:null!=e?e:45e3}();return null!=(0,h.eZ)().overrideForEachInitStateChangeTimeoutsInMs&&(null===(e=this.hubServices.logger)||void 0===e||e.log(a.$.Info,"Feature Flag overrideForEachInitStateChangeTimeoutsInMs",`Using timeout for loading screen app: ${r} milliseconds`)),null!=(0,h.eZ)().extendedAppLoadTimeoutInMillis&&(null===(t=this.hubServices.logger)||void 0===t||t.log(a.$.Info,"Feature Flag extendedAppLoadTimeoutInMillis",`Using timeout for loading screen app: ${r} milliseconds`)),r}isLoadingScreenApp(){return this.forceAppToBeLoadingScreenApp||this.isShowLoadingIndicatorEnabled}updateTelemetryDataFieldAppSdkVersion(e,t){t.forEach((t=>{null==t||t.addOrUpdateActivityDataField(c.u7.APPSDK_VERSION_FIELD_NAME,e)}))}updateTelemetryDataFieldAppSdkApiVersionTag(e,t,r){const n=e.data.apiVersionTag;r.forEach((e=>{null==e||e.addOrUpdateActivityDataField(c.u7.APPSDK_API_VERSION_TAG_FIELD_NAME,c.u7.getApiVersionTagForTelemetry(n,t))}))}updateTelemetryDataFieldUsingCachedApp(e){e.forEach((e=>{var t;null==e||e.addOrUpdateActivityDataField(c.u7.CACHEDAPP_IND_FIELD_NAME,null!==(t=this.usingCachedApp)&&void 0!==t&&t)}))}updateAppInitializationScenarioFields(e,t){this.updateTelemetryDataFieldAppSdkVersion(e,[this.appInitializationScenario,this.extendedAppInitializationScenario]),this.updateTelemetryDataFieldAppSdkApiVersionTag(t,e,[this.appInitializationScenario,this.extendedAppInitializationScenario]),this.updateTelemetryDataFieldUsingCachedApp([this.appInitializationScenario,this.extendedAppInitializationScenario])}markTelemetryForAppInitializationPhases(e,t,r){var n,i;null===(n=this.appInitializationScenario)||void 0===n||n.markPhase(e),null===(i=this.extendedAppInitializationScenario)||void 0===i||i.markPhase(e),this.telemetryService.setAppSdkVersion(t),this.updateAppInitializationScenarioFields(t,r)}trackMessageDelayForAppInitAPIs(e,t){var r,n,i,o;if(s.kh.has(e)&&t){const a=(0,m.wF)(e,t),l=s.kh.get(e);if(!l)return void console.warn(`${l} is undefined in applicationInitializationAPIs`);(0,m.e5)(m.Ct.Start,`${l}MessageProcessTime_ms`),null===(n=null===(r=this.appInitializationScenario)||void 0===r?void 0:r.trackMessageDelay)||void 0===n||n.call(r,l,t,a),null===(o=null===(i=this.extendedAppInitializationScenario)||void 0===i?void 0:i.trackMessageDelay)||void 0===o||o.call(i,l,t,a)}}onInitializeCalled(e,t,r,n){var s,l,c,u,p,g;this.markTelemetryForAppInitializationPhases("BeginLoadToInitialized",t,e);const v=null===(s=this.originsToBlock)||void 0===s?void 0:s.isOriginBlocked(new f.l(null!==(c=null===(l=this.appDefinition)||void 0===l?void 0:l.id)&&void 0!==c?c:""),n||[]);if(this.originsToBlock&&!(null==v?void 0:v.isOriginValid))return this.onNotifyFailureCalled(new MessageEvent(""),i.Af.Validation_InvalidDomains,null==v?void 0:v.message),(0,b.PR)(null==v?void 0:v.message);r||(r=1),this.appSdkHost.setInitialized(!0);const w=this.appSdkHost.getHubInfo(),A=this.constructHubConfig(w);let x;(null===(u=A.hostVersionsInfo)||void 0===u?void 0:u.appEligibilityInformation)&&(null===(p=A.supports.copilot)||void 0===p?void 0:p.eligibility)&&(null===(g=this.hubServices.logger)||void 0===g||g.log(a.$.Warn,"AppEligibilityInformation from host","Host has provided appEligibilityInformation AND ICopilotEligibilityService. Only one of these should be provided.")),x=r<A.apiVersion?(0,y.f)(A,r):A;const k=[this.appSdkHost.getFrameContext(),this.appSdkHost.getHubInfo().clientType,"2.0.0",JSON.stringify(x)];return(0,m.e5)(m.Ct.End,m.Z1.InitializeMessageProcessTime),this.isLoadingScreenApp()?(this.stopInitializeStateTransitionTimer(),this.initStateTransitionTimerId=window.setTimeout((()=>{var e,r;this.appInitializationScenarioAlreadyStopped?(this.recordInitializationDoubleStopAttempt(C.extendedAppInitializationTimerExpiration),this.appSdkHost.setAppInitInfo({state:o.Jz.Loaded,appSdkVersion:t})):(this.failAppInitializationScenario(S),null===(e=this.extendedAppInitializationScenario)||void 0===e||e.fail(S),this.appSdkHost.setAppInitInfo({state:o.Jz.Failed,reason:i.Af.AppInitTimeout,appSdkVersion:t})),null===(r=this.hubServices.logger)||void 0===r||r.log(a.$.Error,"Error Screen Reason",S+this.getOCDIWarning())}),this.timeToWaitForStateTransitionsInMs)):(this.appSdkHost.setAppInitInfo({state:o.Jz.Loaded,appSdkVersion:t}),this.stopAppInitializationScenario(),(0,h.eZ)().createAndSendSignalsToSubstrate&&(0,d.p)(this.appSdkHost,this.hubServices,this.telemetryService)),(0,b.PR)(k)}getUpdatedHostVersionsInfo(){var e,t,r,n;const i=null!==(t=null===(e=this.appDefinition)||void 0===e?void 0:e.appEligibilityInformation)&&void 0!==t?t:null===(r=this.hostVersionsInfo)||void 0===r?void 0:r.appEligibilityInformation;return!(0,u.EV)(this.appDefinition)&&i?(null===(n=this.hubServices.logger)||void 0===n||n.log(a.$.Warn,"AppEligibilityInformation from host","App is not allowed to access copilot eligibility, so `hostVersionInfo.appEligibilityInformation` is removed before sending the object to teams-js."),Object.assign(Object.assign({},this.hostVersionsInfo),{appEligibilityInformation:void 0})):Object.assign(Object.assign({},this.hostVersionsInfo),{appEligibilityInformation:i})}getContext(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=(0,u.ut)(yield this.appSdkHost.getAppContext(),this.appDefinition);return(0,b.PR)(e)}))}onGetContextError(e,t){return null==t||t.fail((0,b.oE)(e)),(0,b.PR)({})}onNotifyAppLoadedCalled(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.telemetryService.setAppSdkVersion(t),this.markTelemetryForAppInitializationPhases("InitializedToAppLoadedInvoked",t,e),this.appSdkHost.setAppInitInfo({state:o.Jz.Loaded,appSdkVersion:t}),(0,m.e5)(m.Ct.End,m.Z1.AppLoadedMessageProcessTime),b.f1}))}onNotifySuccessCalled(e,t){var r;return(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.markInitializationStatusAsReported()?(this.telemetryService.setAppSdkVersion(t),this.appSdkHost.setAppInitInfo({state:o.Jz.Loaded,appSdkVersion:t}),(this.isLoadingScreenApp()||this.usingCachedApp)&&((0,h.eZ)().createAndSendSignalsToSubstrate&&(0,d.p)(this.appSdkHost,this.hubServices,this.telemetryService),this.telemetryService.setAppSdkVersion(t),this.updateAppInitializationScenarioFields(t,e),(0,m.e5)(m.Ct.End,m.Z1.SuccessMessageProcessTime),this.stopAppInitializationScenario()),null===(r=this.extendedAppInitializationScenario)||void 0===r||r.stop(),(0,b.PR)([null])):(0,b.PR)([null])}))}onNotifyFailureCalled(e,t,r){var i,a;return(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.markInitializationStatusAsReported()?(this.isShowLoadingIndicatorEnabled&&((0,m.e5)(m.Ct.End,m.Z1.FailureMessageProcessTime),this.failAppInitializationScenario(t,r)),this.appSdkHost.setAppInitInfo({state:o.Jz.Failed,reason:t,appSdkVersion:null===(i=this.telemetryService)||void 0===i?void 0:i.getAppSdkVersion()}),null===(a=this.extendedAppInitializationScenario)||void 0===a||a.fail(t,r),b.f1):b.f1}))}onNotifyExpectedFailureCalled(e,t,r){var i,a;return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(!this.markInitializationStatusAsReported())return b.f1;this.appSdkHost.setAppInitInfo({state:o.Jz.Loaded,appSdkVersion:null===(i=this.telemetryService)||void 0===i?void 0:i.getAppSdkVersion()});const e="Expected."+t;return this.isShowLoadingIndicatorEnabled&&((0,m.e5)(m.Ct.End,m.Z1.ExpectedFailureMessageProcessTime),this.failAppInitializationScenario(e,r)),null===(a=this.extendedAppInitializationScenario)||void 0===a||a.fail(e,r),b.f1}))}markInitializationStatusAsReported(){return this.initializationStatusReported?(this.cleanup(),!1):(this.initializationStatusReported=!0,!0)}readyToUnload(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return this.appSdkHost.setAppInitInfo({state:o.Jz.Unloaded}),b.f1}))}cleanup(){this.stopInitializeStateTransitionTimer()}isTeamsCoreSupported(e){return!!this.isTeamsHub(e)||this.isLifeCycleImplemented()&&(0,u.wr)(this.appDefinition)}constructHubConfig(e){return(0,y.D)(this.hubServices,this.isTeamsCoreSupported(e.name),this.appSdkHost.getAppDefinition(),this.getUpdatedHostVersionsInfo(),this.isNAAChannelRecommended)}onInitializeCallTimedOutForImmediateApp(){var e,t,r;this.failAppInitializationScenario("SDK initialization timed out"),null===(e=this.extendedAppInitializationScenario)||void 0===e||e.fail("SDK initialization timed out"),this.appSdkHost.setAppInitInfo({state:o.Jz.Failed,reason:i.Af.AppInitTimeout,appSdkVersion:null===(t=this.telemetryService)||void 0===t?void 0:t.getAppSdkVersion()}),null===(r=this.hubServices.logger)||void 0===r||r.log(a.$.Error,"Error Bubble Reason",w+this.getOCDIWarning())}onInitializeCallTimedOutForLoadingScreenApp(){var e,t,r,n;this.appInitializationScenarioAlreadyStopped?(this.recordInitializationDoubleStopAttempt(C.initialAppInitializationTimerExpiration),this.appSdkHost.setAppInitInfo({state:o.Jz.Loaded,appSdkVersion:null===(e=this.telemetryService)||void 0===e?void 0:e.getAppSdkVersion()})):(this.failAppInitializationScenario(w),null===(t=this.extendedAppInitializationScenario)||void 0===t||t.fail(w),this.appSdkHost.setAppInitInfo({state:o.Jz.Failed,reason:i.Af.AppInitTimeout,appSdkVersion:null===(r=this.telemetryService)||void 0===r?void 0:r.getAppSdkVersion()})),null===(n=this.hubServices.logger)||void 0===n||n.log(a.$.Error,"Error Screen Reason",w+this.getOCDIWarning())}isTeamsHub(e){return e===l.UH.teams||e===l.UH.teamsModern}isLifeCycleImplemented(){return!!this.hubServices.lifecycleService}logTelemetryForAppSdkLoaded(){var e,t,r;if((0,p.Dz)(null===(e=this.appDefinition)||void 0===e?void 0:e.id)){const e=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario(s.tL);null===(r=e.addOrUpdateActivityDataField)||void 0===r||r.call(e,c.u7.WEB_CONTENT_SDK_ID,this.appSdkHost.getWebContentSdkId()),e.stop()}}}},8721:(e,t,r)=>{"use strict";var n;r.d(t,{A:()=>o});var i=new Uint8Array(16);function o(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)}},8724:e=>{"use strict";var t={};function r(e){var r;return t[e]?e:(r=e.toLowerCase().replace("_","-"),t[r]?r:(r=r.split("-")[0],t[r]?r:null))}function n(e,n){var i=r(e);if(!i)return-1;if(!t[i].cFn)return 0;var o=String(n),a=o.indexOf(".")<0?"":o.split(".")[1],s=a.length,l=+n,c=+o.split(".")[0],u=0===a.length?0:+a.replace(/0+$/,"");return t[i].cFn(l,c,s,+a,u)}function i(e,n){var i=r(e);if(!i)return-1;if(!t[i].oFn)return 0;var o=String(n),a=o.indexOf(".")<0?"":o.split(".")[1],s=a.length,l=+n,c=+o.split(".")[0],u=0===a.length?0:+a.replace(/0+$/,"");return t[i].oFn(l,c,s,+a,u)}e.exports=function(e,i){var o=r(e);return o?t[o].c[n(o,i)]:null},e.exports.indexOf=n,e.exports.forms=function(e){var n=r(e);return t[n]?t[n].c:null},e.exports.ordinal=function(e,n){var o=r(e);return t[o]?t[o].o[i(o,n)]:null},e.exports.ordinal.indexOf=i,e.exports.ordinal.forms=function(e){var n=r(e);return t[n]?t[n].o:null};var o=["zero","one","two","few","many","other"];function a(e){return o[e]}function s(e,r){var n;for(r.c=r.c?r.c.map(a):["other"],r.o=r.o?r.o.map(a):["other"],n=0;n<e.length;n++)t[e[n]]=r}function l(e,t,r){return e<=r&&r<=t&&r%1==0}function c(e,t){return e.indexOf(t)>=0}s(["af","an","asa","bem","bez","bg","brx","ce","cgg","chr","ckb","dv","ee","el","eo","es","eu","fo","fur","gsw","ha","haw","jgo","jmc","kaj","kcg","kkj","kl","ks","ksb","ku","ky","lb","lg","mas","mgo","ml","mn","nah","nb","nd","nn","nnh","no","nr","ny","nyn","om","os","pap","ps","rm","rof","rwk","saq","sd","sdh","seh","sn","so","ss","ssy","st","syr","ta","te","teo","tig","tn","tr","ts","ug","uz","ve","vo","vun","wae","xh","xog"],{c:[1,5],cFn:function(e){return 1===e?0:1}}),s(["ak","bho","guw","ln","mg","nso","pa","ti","wa"],{c:[1,5],cFn:function(e){return l(0,1,e)?0:1}}),s(["am","fa","kn","zu"],{c:[1,5],cFn:function(e,t){return 0===t||1===e?0:1}}),s(["ar","ars"],{c:[0,1,2,3,4,5],cFn:function(e){var t=e%100;return 0===e?0:1===e?1:2===e?2:l(3,10,t)?3:l(11,99,t)?4:5}}),s(["as","bn"],{c:[1,5],cFn:function(e,t){return 0===t||1===e?0:1},o:[1,2,3,4,5],oFn:function(e){return c([1,5,7,8,9,10],e)?0:c([2,3],e)?1:4===e?2:6===e?3:4}}),s(["ast","de","et","fi","fy","gl","ia","io","ji","nl","pt-pt","sw","ur","yi"],{c:[1,5],cFn:function(e,t,r){return 1===t&&0===r?0:1}}),s(["az"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,3,4,5],oFn:function(e,t){var r=t%10,n=t%100,i=t%1e3;return c([1,2,5,7,8],r)||c([20,50,70,80],n)?0:c([3,4],r)||c([100,200,300,400,500,600,700,800,900],i)?1:0===t||6===r||c([40,60,90],n)?2:3}}),s(["be"],{c:[1,3,4,5],cFn:function(e){var t=e%10,r=e%100;return 1===t&&11!==r?0:l(2,4,t)&&!l(12,14,r)?1:0===t||l(5,9,t)||l(11,14,r)?2:3},o:[3,5],oFn:function(e){var t=e%100;return c([2,3],e%10)&&!c([12,13],t)?0:1}}),s(["bm","bo","dz","id","ig","ii","in","ja","jbo","jv","jw","kde","kea","km","ko","lkt","my","nqo","osa","root","sah","ses","sg","su","th","to","wo","yo","yue","zh"],{}),s(["br"],{c:[1,2,3,4,5],cFn:function(e){var t=e%10,r=e%100,n=e%1e6;return 1!==t||c([11,71,91],r)?2!==t||c([12,72,92],r)?!l(3,4,t)&&9!==t||l(10,19,r)||l(70,79,r)||l(90,99,r)?0!==e&&0===n?3:4:2:1:0}}),s(["bs","hr","sh","sr"],{c:[1,3,5],cFn:function(e,t,r,n){var i=t%10,o=t%100,a=n%10,s=n%100;return 0===r&&1===i&&11!==o||1===a&&11!==s?0:0===r&&l(2,4,i)&&!l(12,14,o)||l(2,4,a)&&!l(12,14,s)?1:2}}),s(["ca"],{c:[1,5],cFn:function(e,t,r){return 1===t&&0===r?0:1},o:[1,2,3,5],oFn:function(e){return c([1,3],e)?0:2===e?1:4===e?2:3}}),s(["ceb"],{c:[1,5],cFn:function(e,t,r,n){var i=t%10,o=n%10;return 0===r&&c([1,2,3],t)||0===r&&!c([4,6,9],i)||0!==r&&!c([4,6,9],o)?0:1}}),s(["cs","sk"],{c:[1,3,4,5],cFn:function(e,t,r){return 1===t&&0===r?0:l(2,4,t)&&0===r?1:0!==r?2:3}}),s(["cy"],{c:[0,1,2,3,4,5],cFn:function(e){return 0===e?0:1===e?1:2===e?2:3===e?3:6===e?4:5},o:[0,1,2,3,4,5],oFn:function(e){return c([0,7,8,9],e)?0:1===e?1:2===e?2:c([3,4],e)?3:c([5,6],e)?4:5}}),s(["da"],{c:[1,5],cFn:function(e,t,r,n,i){return 1===e||0!==i&&c([0,1],t)?0:1}}),s(["dsb","hsb"],{c:[1,2,3,5],cFn:function(e,t,r,n){var i=t%100,o=n%100;return 0===r&&1===i||1===o?0:0===r&&2===i||2===o?1:0===r&&l(3,4,i)||l(3,4,o)?2:3}}),s(["en"],{c:[1,5],cFn:function(e,t,r){return 1===t&&0===r?0:1},o:[1,2,3,5],oFn:function(e){var t=e%10,r=e%100;return 1===t&&11!==r?0:2===t&&12!==r?1:3===t&&13!==r?2:3}}),s(["ff","kab"],{c:[1,5],cFn:function(e,t){return c([0,1],t)?0:1}}),s(["fil","tl"],{c:[1,5],cFn:function(e,t,r,n){var i=t%10,o=n%10;return 0===r&&c([1,2,3],t)||0===r&&!c([4,6,9],i)||0!==r&&!c([4,6,9],o)?0:1},o:[1,5],oFn:function(e){return 1===e?0:1}}),s(["fr","hy"],{c:[1,5],cFn:function(e,t){return c([0,1],t)?0:1},o:[1,5],oFn:function(e){return 1===e?0:1}}),s(["ga"],{c:[1,2,3,4,5],cFn:function(e){return 1===e?0:2===e?1:l(3,6,e)?2:l(7,10,e)?3:4},o:[1,5],oFn:function(e){return 1===e?0:1}}),s(["gd"],{c:[1,2,3,5],cFn:function(e){return c([1,11],e)?0:c([2,12],e)?1:l(3,10,e)||l(13,19,e)?2:3},o:[1,2,3,5],oFn:function(e){return c([1,11],e)?0:c([2,12],e)?1:c([3,13],e)?2:3}}),s(["gu","hi"],{c:[1,5],cFn:function(e,t){return 0===t||1===e?0:1},o:[1,2,3,4,5],oFn:function(e){return 1===e?0:c([2,3],e)?1:4===e?2:6===e?3:4}}),s(["gv"],{c:[1,2,3,4,5],cFn:function(e,t,r){var n=t%10;return 0===r&&1===n?0:0===r&&2===n?1:0===r&&c([0,20,40,60,80],t%100)?2:0!==r?3:4}}),s(["he","iw"],{c:[1,2,4,5],cFn:function(e,t,r){var n=e%10;return 1===t&&0===r?0:2===t&&0===r?1:0!==r||l(0,10,e)||0!==n?3:2}}),s(["hu"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,5],oFn:function(e){return c([1,5],e)?0:1}}),s(["is"],{c:[1,5],cFn:function(e,t,r,n,i){return 0===i&&1==t%10&&11!=t%100||0!==i?0:1}}),s(["it","sc","scn"],{c:[1,5],cFn:function(e,t,r){return 1===t&&0===r?0:1},o:[4,5],oFn:function(e){return c([11,8,80,800],e)?0:1}}),s(["iu","naq","se","sma","smi","smj","smn","sms"],{c:[1,2,5],cFn:function(e){return 1===e?0:2===e?1:2}}),s(["ka"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,4,5],oFn:function(e,t){var r=t%100;return 1===t?0:0===t||l(2,20,r)||40===r||60===r||80===r?1:2}}),s(["kk"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[4,5],oFn:function(e){var t=e%10;return 6===t||9===t||0===t&&0!==e?0:1}}),s(["ksh"],{c:[0,1,5],cFn:function(e){return 0===e?0:1===e?1:2}}),s(["kw"],{c:[0,1,2,3,4,5],cFn:function(e){var t=e%100,r=e%1e3,n=e%1e5,i=e%1e6;return 0===e?0:1===e?1:c([2,22,42,62,82],t)||0===r&&(l(1e3,2e4,n)||4e4===n||6e4===n||8e4===n)||0!==e&&1e5===i?2:c([3,23,43,63,83],t)?3:1!==e&&c([1,21,41,61,81],t)?4:5},o:[1,4,5],oFn:function(e){var t=e%100;return l(1,4,e)||l(1,4,t)||l(21,24,t)||l(41,44,t)||l(61,64,t)||l(81,84,t)?0:5===e||5===t?1:2}}),s(["lag"],{c:[0,1,5],cFn:function(e,t){return 0===e?0:c([0,1],t)&&0!==e?1:2}}),s(["lo","ms","vi"],{o:[1,5],oFn:function(e){return 1===e?0:1}}),s(["lt"],{c:[1,3,4,5],cFn:function(e,t,r,n){var i=e%10,o=e%100;return 1!==i||l(11,19,o)?l(2,9,i)&&!l(11,19,o)?1:0!==n?2:3:0}}),s(["lv","prg"],{c:[0,1,5],cFn:function(e,t,r,n){var i=e%10,o=e%100,a=n%100,s=n%10;return 0===i||l(11,19,o)||2===r&&l(11,19,a)?0:1===i&&11!==o||2===r&&1===s&&11!==a||2!==r&&1===s?1:2}}),s(["mk"],{c:[1,5],cFn:function(e,t,r,n){return 0===r&&1==t%10&&11!=t%100||1==n%10&&11!=n%100?0:1},o:[1,2,4,5],oFn:function(e,t){var r=t%10,n=t%100;return 1===r&&11!==n?0:2===r&&12!==n?1:c([7,8],r)&&!c([17,18],n)?2:3}}),s(["mo","ro"],{c:[1,3,5],cFn:function(e,t,r){return 1===t&&0===r?0:0!==r||0===e||l(2,19,e%100)?1:2},o:[1,5],oFn:function(e){return 1===e?0:1}}),s(["mr"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,2,3,5],oFn:function(e){return 1===e?0:c([2,3],e)?1:4===e?2:3}}),s(["mt"],{c:[1,3,4,5],cFn:function(e){var t=e%100;return 1===e?0:0===e||l(2,10,t)?1:l(11,19,t)?2:3}}),s(["ne"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,5],oFn:function(e){return l(1,4,e)?0:1}}),s(["or"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,2,3,4,5],oFn:function(e){return 1===e||5===e||l(7,9,e)?0:c([2,3],e)?1:4===e?2:6===e?3:4}}),s(["pl"],{c:[1,3,4,5],cFn:function(e,t,r){var n=t%10,i=t%100;return 1===t&&0===r?0:0===r&&l(2,4,n)&&!l(12,14,i)?1:0===r&&1!==t&&l(0,1,n)||0===r&&l(5,9,n)||0===r&&l(12,14,i)?2:3}}),s(["pt"],{c:[1,5],cFn:function(e,t){return l(0,1,t)?0:1}}),s(["ru"],{c:[1,3,4,5],cFn:function(e,t,r){var n=t%10,i=t%100;return 0===r&&1===n&&11!==i?0:0===r&&l(2,4,n)&&!l(12,14,i)?1:0===r&&0===n||0===r&&l(5,9,n)||0===r&&l(11,14,i)?2:3}}),s(["shi"],{c:[1,3,5],cFn:function(e,t){return 0===t||1===e?0:l(2,10,e)?1:2}}),s(["si"],{c:[1,5],cFn:function(e,t,r,n){return c([0,1],e)||0===t&&1===n?0:1}}),s(["sl"],{c:[1,2,3,5],cFn:function(e,t,r){var n=t%100;return 0===r&&1===n?0:0===r&&2===n?1:0===r&&l(3,4,n)||0!==r?2:3}}),s(["sq"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,4,5],oFn:function(e){return 1===e?0:4==e%10&&14!=e%100?1:2}}),s(["sv"],{c:[1,5],cFn:function(e,t,r){return 1===t&&0===r?0:1},o:[1,5],oFn:function(e){var t=e%100;return c([1,2],e%10)&&!c([11,12],t)?0:1}}),s(["tk"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[3,5],oFn:function(e){return c([6,9],e%10)||10===e?0:1}}),s(["tzm"],{c:[1,5],cFn:function(e){return l(0,1,e)||l(11,99,e)?0:1}}),s(["uk"],{c:[1,3,4,5],cFn:function(e,t,r){var n=t%10,i=t%100;return 0===r&&1===n&&11!==i?0:0===r&&l(2,4,n)&&!l(12,14,i)?1:0===r&&0===n||0===r&&l(5,9,n)||0===r&&l(11,14,i)?2:3},o:[3,5],oFn:function(e){return 3==e%10&&13!=e%100?0:1}})},8725:(e,t,r)=>{"use strict";r.d(t,{I:()=>b});var n=r(1635),i=r(9408),o=r(240),a=r(1454),s=r(8070),l=r(4788),c=r(1128),u=r(881),d=r(7841),p=r(8976),f=r(7012),h=r(9632),g=r(9802),m=r(8229),v=r(6750);const y="HostedWebContentAuthSdkService";class b extends v.X{constructor(e,t,r,i,a,s,f,m){super(e,a,i,s,f,void 0),this.hostWindow=e,this.openWindowInfo=t,this.appDefinition=r,this.authenticationService=i,this.context=a,this.logger=s,this.onExternalAuthenticationComplete=(e,t)=>{e?this.authenticationService.notifySuccess(t):(t!==o.Di&&t!==o.r||this.logger.log(c.$.Error,y,t),this.authenticationService.notifyFailure(t))},this.onAuthMessageReceived=e=>(0,n.__awaiter)(this,void 0,void 0,(function*(){if(!this.authWindow||this.authWindow!==e.source)return;const t=e.origin;t!==this.origin&&this.checkUrlIsValid(t)&&(this.origin=e.origin),this.origin===t&&this.messageProcessor&&(yield this.messageProcessor.process((0,d.mW)(e,!1)))})),this.setupAuthMessageHandlers=()=>{this.authenticationService&&(this.messageProcessor=new u.l(this,this.authenticationService,this.telemetryService))};try{this.passContextForUrlValidation=(0,g.eZ)().authExtensionContextForUrlValidation,this.context.app.host.clientType!==p.WK.desktop||this.authenticationService.externalAuthService||this.logger.log(c.$.Warn,y,o.Px),this.context.page.frameContext!==p.E2.authentication&&this.notifyAsFailureAndThrowError("Invalid frame context for scenario",l.Q.InvalidFrameContext),this.appDefinition||this.notifyAsFailureAndThrowError("App definition not available",l.Q.AppDefinitionUnavailable),this.telemetryService.setAppDefinition(this.appDefinition),this.checkUrlIsValid(t.url)||this.notifyAsFailureAndThrowError("Auth url is not valid",l.Q.InvalidAuthUrl),this.shouldUseExternalAuthenticationWorkflow(a.app.host.clientType,m)?this.launchExternalAuthenticationWorkflow(t.url):this.launchEmbeddedAuthenticationWorkflow(a,t)}catch(e){let t,r="",n=!1;if(e instanceof h.F?(r=e.message,t=e.failureReason,n=!1):e instanceof Error?(r=e.message,t=l.Q.Other,n=!1):(r="Unknown error",t=l.Q.Other,n=!0),this.authenticationService&&this.authenticationService.notifyFailure(r,t),s.log(c.$.Error,y,`Error in constructor: ${r}, failure reason: ${t}`),n)throw e}}launchEmbeddedAuthenticationWorkflow(e,t){const r=(0,h.v)(t);if(e.app.host.clientType===p.WK.desktop&&this.authenticationService.externalAuthService)try{this.authWindow=this.authenticationService.externalAuthService.openUrlInEmbeddedBrowser(new URL(t.url),r)}catch(e){null!==this.authWindow&&(this.logger.log(c.$.Error,y,`openUrlInEmbeddedBrowser threw an error but still returned a non-null window object? Forcing window object to null. Error = ${e}`),this.authWindow=null)}else this.authWindow=this.hostWindow.open(t.url,"appAuthWindow",r);if(!this.authWindow)throw e.app.host.clientType===p.WK.web&&i.p.dispatch("authWindowBlocked"),new h.F("URL was unable to be opened in embedded browser",l.Q.BlockedByBrowser);this.setupEmbeddedAuthWindow(t.url,e,this.hostWindow)}launchExternalAuthenticationWorkflow(e){const t=s.nc.startNewExternalAuthSession(e,this.onExternalAuthenticationComplete,this.authenticationService.externalAuthRedirectUrl);try{this.authenticationService.externalAuthService?this.authenticationService.externalAuthService.openUrlInExternalBrowser(t):this.hostWindow.open(t)}catch(e){throw new h.F("Failed to open the URL in external browser",l.Q.Other)}}shouldUseExternalAuthenticationWorkflow(e,t){return e===p.WK.desktop&&!0===t}notifyAsFailureAndThrowError(e,t){throw this.authenticationService&&this.authenticationService.notifyFailure(e,t),new h.F(`Failure message: ${e}, failure reason: ${t}`)}setupEmbeddedAuthWindow(e,t,r){var n;this.origin=e,this.setUserClickTime(null!==(n=t.app.userClickTime)&&void 0!==n?n:Date.now()),t.app.userClickTimeV2&&this.setUserClickTimeV2(t.app.userClickTimeV2),this.setupAuthMessageHandlers(),this.globalWindowEventListener=new a.J(r),this.globalWindowEventListener.addListener("message",this.onAuthMessageReceived),this.startAuthWindowMonitor(),this.initializeAuthenticationContext(t)}checkUrlIsValid(e){return this.passContextForUrlValidation?(0,f.dE)(e,this.logger,this.appDefinition,this.context):(0,f.dE)(e,this.logger,this.appDefinition)}getHostWindow(){return this.authWindow||null}postResponseToApp(e,t){this.sendResponseMessage(e,t)}postDeeplyNestedResponseToApp(){throw new Error("Auth window does not support nested request communication")}isWindowOpen(){return!!this.authWindow&&!this.authWindow.closed}closeWindow(){this.unloadApp(this.appDefinition)}sendResponseMessage(e,t){var r;if(this.origin){const n={id:e.id,uuidAsString:null===(r=e.uuid)||void 0===r?void 0:r.toString(),args:t,origin:this.origin,monotonicTimestamp:(0,m.So)()};this.postMessage(n)}}sendRequestMessage(e,t){if(this.origin){const r={func:e,args:t,monotonicTimestamp:(0,m.So)()};this.postMessage(r)}}startAuthWindowMonitor(){this.stopAuthWindowMonitor(),this.authWindowMonitor=this.hostWindow.setInterval((()=>{this.authWindowInterval()}),100)}authWindowInterval(){this.isWindowOpen()?this.sendRequestMessage("ping"):(this.HandleError("CancelledByUser",l.Q.CancelledByUser),this.closeWindow(),this.stopAuthWindowMonitor())}stopAuthWindowMonitor(){this.authWindowMonitor&&(this.hostWindow.clearInterval(this.authWindowMonitor),this.authWindowMonitor=void 0)}unloadApp(e){var t;this.unloadSDK(),null===(t=this.authWindow)||void 0===t||t.close()}unloadSDK(){this.globalWindowEventListener&&this.globalWindowEventListener.removeListener("message")}postMessage(e){var t;this.origin&&(null===(t=this.authWindow)||void 0===t||t.postMessage(e,this.origin))}HandleError(e,t){this.authenticationService&&this.authenticationService.notifyFailure(e,t)}}},8760:(e,t,r)=>{"use strict";r.d(t,{jI:()=>l});var n,i=r(1968),o=r(6305),a=r(717),s="isRTL";function l(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===n){var t=(0,o.G)(s);null!==t&&function(e,t){void 0===t&&(t=!1);var r=(0,i.Y)();r&&r.documentElement.setAttribute("dir",e?"rtl":"ltr"),t&&(0,o.S)(s,e?"1":"0"),n=e,(0,a.DU)(n)}(n="1"===t);var r=(0,i.Y)();void 0===n&&r&&(n="rtl"===(r.body&&r.body.getAttribute("dir")||r.documentElement.getAttribute("dir")),(0,a.DU)(n))}return!!n}},8775:(e,t,r)=>{"use strict";r.d(t,{n:()=>o});var n=r(1422),i=r(6140);const o=e=>((0,i.C)(e),(0,n.Y)(e.root,{}))},8800:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=e=>"function"==typeof structuredClone?structuredClone(e):i(e),i=e=>{if(null==e||null===typeof e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e)return e;if(Array.isArray(e))return e.map((e=>i(e)));if(e instanceof Date)return new Date(e.getTime());if(e instanceof ArrayBuffer)return"function"==typeof structuredClone?structuredClone(e):e.slice(0);if("object"==typeof e){const t={};for(const r of Object.getOwnPropertyNames(e)){const n=e[r];t[r]=i(n)}return t}throw Error("Provided type '"+typeof e+"' ("+Object.prototype.toString.call(e)+") can't be cloned using deepCopy.")}},8807:(e,t,r)=>{"use strict";r.d(t,{U:()=>c});var n=r(7810),i=r(1419),o=r(7982),a=r(3421);const s=(0,a.X)({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"]}),l=(0,a.X)({root:{ycbfsm:"fg4l7m0"}},{t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),c=(e,t,r,a)=>{const c="1em"===t?"20":t,u=n.forwardRef(((e,u)=>{const d=l(),p=((e,t)=>{const{title:r,primaryFill:n="currentColor",...a}=e,l={...a,title:void 0,fill:n},c=s(),u=(0,o.U)();return l.className=(0,i.z)(c.root,(null==t?void 0:t.flipInRtl)&&"rtl"===(null==u?void 0:u.textDirection)&&c.rtl,l.className),r&&(l["aria-label"]=r),l["aria-label"]||l["aria-labelledby"]?l.role="img":l["aria-hidden"]=!0,l})(e,{flipInRtl:null==a?void 0:a.flipInRtl}),f={...p,className:(0,i.z)(p.className,d.root),ref:u,width:t,height:t,viewBox:`0 0 ${c} ${c}`,xmlns:"http://www.w3.org/2000/svg"};return"string"==typeof r?n.createElement("svg",{...f,dangerouslySetInnerHTML:{__html:r}}):n.createElement("svg",f,...r.map((e=>n.createElement("path",{d:e,fill:f.fill}))))}));return u.displayName=e,u}},8812:(e,t,r)=>{"use strict";const n=r(2306),i=r(9433);e.exports=(e,t,r)=>{let o=null,a=null,s=null;try{s=new i(t,r)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==a.compare(e)||(o=e,a=new n(o,r)))})),o}},8853:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(7810),i=r(1873),o=function(){return!1},a=function(){},s=n.createContext({stylesheets:new Map,useAdoptedStylesheetEx:o,useAdoptedStylesheet:o,useShadowConfig:function(){return i.ou},useMergeStylesShadowRootContext:a,useHasMergeStylesShadowRootContext:o,useMergeStylesRootStylesheets:function(){return new Map},useWindow:a,useStyled:a}),l=function(){var e=n.useContext(s);return{useAdoptedStylesheet:e.useAdoptedStylesheet,useAdoptedStylesheetEx:e.useAdoptedStylesheetEx,useShadowConfig:e.useShadowConfig,useMergeStylesShadowRootContext:e.useMergeStylesShadowRootContext,useHasMergeStylesShadowRootContext:e.useHasMergeStylesShadowRootContext,useMergeStylesRootStylesheets:e.useMergeStylesRootStylesheets,useWindow:e.useWindow,useStyled:e.useStyled}}},8872:e=>{
/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},8885:(e,t,r)=>{"use strict";r.d(t,{FW:()=>g,Zo:()=>d,bi:()=>u});var n=r(1635),i=r(8807),o=r(7810),a=r(8208),s=r(3390),l=r(7714);const c=["12","16","20","24","28","32","40","48"],u=/^([\w\d_-]+)(?:,(regular|filled)){0,1}$/i;function d(e){const t=e.match(u);if(t)return{name:t[1],style:void 0!==t[2]&&"filled"===t[2].toLowerCase()?s.pO.Filled:s.pO.Regular}}const p={[s.lK.xxSmall]:16,[s.lK.xSmall]:20,[s.lK.Small]:24,[s.lK.Standard]:32,[s.lK.Medium]:48,[s.lK.Large]:56,[s.lK.xLarge]:72,[s.lK.xxLarge]:96};function f(e,t){const r=[];for(const e in t)r.push({rawSize:parseInt(e),icon:t[e]});const n=r.sort(((e,t)=>e.rawSize-t.rawSize));for(let t=0;t<n.length;t++)if(e<=n[t].rawSize)return(t>0?e-n[t-1].rawSize:1/0)<n[t].rawSize-e?n[t-1].icon:n[t].icon;return n[n.length-1].icon}function h(e){const t=`${e}px`;return o.createElement("div",{style:{width:t,height:t}})}const g=e=>{const[t,r]=o.useState("notLoaded");let n=p[s.lK.Standard],i=s.lK.Standard;if("number"==typeof e.iconSize)n=p[e.iconSize],i=e.iconSize;else if("string"==typeof e.iconSize)try{const t=l.zg.parse(e.iconSize,!0);t.unit===s.Y2.Pixel&&(n=t.physicalSize,i=function(e){for(const t in s.lK){const r=parseInt(t);if("number"==typeof r&&p[r]>=e)return r}return s.lK.xxLarge}(n))}catch(e){}switch(o.useEffect((()=>{r(b.getIconOrState(e.name,i,e.iconStyle)),"notLoaded"===t&&b.getIcon(e.name,i,e.iconStyle,e.rawIconSet).then((e=>{r(null!=e?e:"unavailable")}))}),[t,e.name,i,e.iconStyle,e.rawIconSet]),t){case"notLoaded":return void 0===e.showPlaceholder||e.showPlaceholder?h(n):null;case"unavailable":return void 0===e.allowFallback||e.allowFallback?a.v7.imagePlaceholderRenderer?a.v7.imagePlaceholderRenderer({width:n+"px",height:n+"px"}):n?h(n):null:null;default:return o.createElement(t,{style:Object.assign({color:e.iconColor,width:`${n}px`,height:`${n}px`,flex:"0 0 auto"},e.isInline&&{verticalAlign:"text-bottom"})})}};function m(e){return"object"==typeof e&&c.every((t=>function(e){return null==e||Array.isArray(e)&&e.every((e=>"string"==typeof e))}(e[t])))}function v(e){return"object"==typeof e&&m(e.regular)&&m(e.filled)}function y(e,t,r){const n={};for(const[o,a]of Object.entries(t))n[o]=(0,i.U)(e,o,a,{flipInRtl:r});return n}class b{static getIconFromSet(e,t,r){const n=r===s.pO.Regular?[e.regular,e.filled]:[e.filled,e.regular];for(const e of n)if(Object.keys(e).length>0)return f(p[t],e)}static getIcon(e,t,r,i){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(this._invalidIconNames.has(e))return;let n=this._loadedIcons.get(e);if(!n){let t;if(i&&v(i))t=i;else try{const r=yield fetch(function(e){return`${l.h$.fluentIconCdnBasePath}${e}/${e}.json`}(e));if(r.ok){const e=yield r.json();v(e)&&(t=e)}}catch(e){}t&&(n={regular:y(e,t.regular,t.flipInRtl),filled:y(e,t.filled,t.flipInRtl),flipInRtl:t.flipInRtl},this._loadedIcons.set(e,n))}if(n)return b.getIconFromSet(n,t,r);this._invalidIconNames.add(e)}))}static getIconOrState(e,t,r){var n;if(this._invalidIconNames.has(e))return"unavailable";const i=this._loadedIcons.get(e);return i?null!==(n=b.getIconFromSet(i,t,r))&&void 0!==n?n:"unavailable":"notLoaded"}}b._loadedIcons=new Map,b._invalidIconNames=new Set},8893:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=/\s/;var i=/^\s+/;const o=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}(e)+1).replace(i,""):e};var a=r(6809),s=r(8086),l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,d=parseInt;var p=1/0;const f=function(e){return e?(e=function(e){if("number"==typeof e)return e;if((0,s.A)(e))return NaN;if((0,a.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,a.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var r=c.test(e);return r||u.test(e)?d(e.slice(2),r?2:8):l.test(e)?NaN:+e}(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0},h=function(e){return"number"==typeof e&&e==function(e){var t=f(e),r=t%1;return t==t?r?t-r:t:0}(e)};const g=function(e){return h(e)&&e>=-9007199254740991&&e<=9007199254740991}},8911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDev=i,t.skipLocalization=o,t.isDevLocalization=function(){return i()||o()},t.isTest=function(){return Boolean("undefined"!=typeof process&&process.env&&!1)},t.togglePseudoLocalization=function(){r=!r},t.disablePseudoLocalization=function(){r=!0},t.enablePseudoLocalization=function(){r=!1},t.enableDevModeForLocalization=function(){n=!1},t.disableDevModeForLocalization=function(){n=!0},t.doPseudoLocalization=function(){return!("undefined"==typeof __DEV__||!__DEV__||n)&&!("undefined"!=typeof __DISABLE_PSEUDO_LOC__&&__DISABLE_PSEUDO_LOC__||r)};var r=!1,n=!1;function i(){return"undefined"!=typeof __DEV__&&__DEV__&&!n}function o(){return"undefined"!=typeof __SKIP_LOC__&&__SKIP_LOC__}},8925:(e,t,r)=>{"use strict";r.d(t,{j:()=>n});const n=(0,r(2601).Ex)("m365-ext-dialog-modal.m365chat.closeButton")},8950:(e,t,r)=>{"use strict";const n=r(2306);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},8976:(e,t,r)=>{"use strict";r.d(t,{BD:()=>o,E2:()=>l,UH:()=>n,WK:()=>s,Yj:()=>f,hn:()=>a,j5:()=>u,jA:()=>c});var n,i,o,a,s,l,c,u,d=r(1635),p=r(6511);!function(e){e.bing="Bing",e.cmc="CMC",e.cmcMobile="CMCMobile",e.edge="Edge",e.edgeSidebar="EdgeSidebar",e.office="Office",e.orange="Orange",e.outlook="Outlook",e.outlookWin32="OutlookWin32",e.teams="Teams",e.teamsModern="TeamsModern",e.windowsCopilot="WindowsCopilot"}(n||(n={})),function(e){e.windows="windows",e.macOs="macos"}(i||(i={})),function(e){e.default="default",e.dark="dark",e.highContrast="contrast"}(o||(o={})),function(e){e.fileOpenPreference="fileOpenPreference",e.theme="theme"}(a||(a={})),function(e){e.web="web",e.desktop="desktop"}(s||(s={})),function(e){e.settings="settings",e.content="content",e.authentication="authentication",e.remove="remove",e.task="task",e.sidePanel="sidePanel",e.meetingStage="meetingStage"}(l||(l={})),function(e){e.copilotSidePanel="copilotSidePanel",e.copilotMainPane="copilotMainPane",e.copilotFullScreen="copilotFullScreen"}(c||(c={})),function(e){e.TextPlain="text/plain",e.TextHtml="text/html",e.ImagePNG="image/png",e.ImageJPEG="image/jpeg"}(u||(u={}));const f=e=>{const{uuidAsString:t}=e,r=(0,d.__rest)(e,["uuidAsString"]);return Object.assign(Object.assign({},r),{uuid:new p.k(t)})}},8990:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStyleCallbacks=t.getDefaultStyleValues=t.getAllowedCssClassesRegex=t.getAllowedAttributes=t.getTagReplacement=void 0;var n=r(1635),i=r(5501),o=r(4564),a={a:"*",abbr:"*",address:"*",area:"*",article:"*",aside:"*",b:"*",bdi:"*",bdo:"*",blockquote:"*",body:"*",br:"*",button:"*",canvas:"*",caption:"*",center:"*",cite:"*",code:"*",col:"*",colgroup:"*",data:"*",datalist:"*",dd:"*",del:"*",details:"*",dfn:"*",dialog:"*",dir:"*",div:"*",dl:"*",dt:"*",em:"*",fieldset:"*",figcaption:"*",figure:"*",font:"*",footer:"*",h1:"*",h2:"*",h3:"*",h4:"*",h5:"*",h6:"*",head:"*",header:"*",hgroup:"*",hr:"*",html:"*",i:"*",img:"*",input:"*",ins:"*",kbd:"*",label:"*",legend:"*",li:"*",main:"*",map:"*",mark:"*",menu:"*",menuitem:"*",meter:"*",nav:"*",ol:"*",optgroup:"*",option:"*",output:"*",p:"*",picture:"*",pre:"*",progress:"*",q:"*",rp:"*",rt:"*",ruby:"*",s:"*",samp:"*",section:"*",select:"*",small:"*",span:"*",strike:"*",strong:"*",sub:"*",summary:"*",sup:"*",table:"*",tbody:"*",td:"*",textarea:"*",tfoot:"*",th:"*",thead:"*",time:"*",tr:"*",tt:"*",u:"*",ul:"*",var:"*",wbr:"*",xmp:"*",form:"SPAN",applet:null,audio:null,base:null,basefont:null,embed:null,frame:null,frameset:null,iframe:null,link:null,meta:null,noscript:null,object:null,param:null,script:null,slot:null,source:null,style:null,template:null,title:null,track:null,video:null},s="accept,align,alt,checked,cite,color,cols,colspan,contextmenu,coords,datetime,default,dir,dirname,disabled,download,face,headers,height,hidden,high,href,hreflang,ismap,kind,label,lang,list,low,max,maxlength,media,min,multiple,open,optimum,pattern,placeholder,readonly,rel,required,reversed,rows,rowspan,scope,selected,shape,size,sizes,span,spellcheck,src,srclang,srcset,start,step,style,tabindex,target,title,translate,type,usemap,valign,value,width,wrap,bgColor".split(","),l={"background-color":"transparent","border-bottom-color":"rgb(0, 0, 0)","border-bottom-style":"none","border-bottom-width":"0px","border-image-outset":"0","border-image-repeat":"stretch","border-image-slice":"100%","border-image-source":"none","border-image-width":"1","border-left-color":"rgb(0, 0, 0)","border-left-style":"none","border-left-width":"0px","border-right-color":"rgb(0, 0, 0)","border-right-style":"none","border-right-width":"0px","border-top-color":"rgb(0, 0, 0)","border-top-style":"none","border-top-width":"0px","outline-color":"transparent","outline-style":"none","outline-width":"0px",overflow:"visible","-webkit-text-stroke-width":"0px","word-wrap":"break-word","margin-left":"0px","margin-right":"0px",padding:"0px","padding-top":"0px","padding-left":"0px","padding-right":"0px","padding-bottom":"0px",border:"0px","border-top":"0px","border-left":"0px","border-right":"0px","border-bottom":"0px","vertical-align":"baseline",float:"none"},c=[];function u(){return null}function d(e,t){var r=t.tagName;return!("LI"==r||"DIV"==r)}t.getTagReplacement=function(e){var t=(0,n.__assign)({},a),r=e||{};return(0,i.default)(r).forEach((function(e){e&&(t[e.toLowerCase()]=r[e])})),t},t.getAllowedAttributes=function(e){return(t=s.concat(e||[]),t.filter((function(e,t,r){return r.indexOf(e)==t}))).map((function(e){return e.toLocaleLowerCase()}));var t},t.getAllowedCssClassesRegex=function(e){var t=c.concat(e||[]);return t.length>0?new RegExp(t.join("|")):null},t.getDefaultStyleValues=function(e){var t=(0,o.cloneObject)(l);return e&&Object.keys(e).forEach((function(r){var n=e[r];null!=n?t[r]=n:delete t[r]})),t},t.getStyleCallbacks=function(e){var t=(0,o.cloneObject)(e);return t.position=t.position||u,t.width=t.width||d,t}},9029:(e,t)=>{
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,c=l>>1,u=-7,d=r?i-1:0,p=r?-1:1,f=e[t+d];for(d+=p,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=p,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=n;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),o-=c}return(f?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,h=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+f]=255&s,f+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[r+f]=255&a,f+=h,a/=256,c-=8);e[r+f-h]|=128*g}},9085:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAAH7+Yj7AAAAAXNSR0IArs4c6QAABXZJREFUWAm9WUlsHEUU/dXTUQCN3T4kznK1WSS44bDdEAe4BARhkcghBzgBEiiBEFtksSNmwhKSSIAUiUhEIkiETSiIG1cWiZwwS1gOXIIdQJoeDwQUzzT/dfWfqq7unmmPRy5pXFW/fr16tf3/u0wkqRaeoVpzN6oqltUakbQh9wgaTvJY+Xwsay50m3K7d1up1liSiqJ62KEo0j0grVR2eCnB8duI2u0PeSBOrT+IIHjmq7jqkVKHqLqxK6CZMWWwXOy4D/9Bp+lgtg9N0cbM641mXMX4+EkCFyuVRjQcX1p6ANOzQHSRJ4KCUUTt5cYEtdVnRNFFmh67EyJJWhEriVnnpQRRL2SREjom+877nT4AKdCTd+tqPZzzUw125cTtRE9/qSVRtF8PjerMmFE7cYdRSqQGsdbQyptvZKUvTCdLscXlalyHcl5aV9mkl6fXhNCRl0hzTNYqC6YWoQS5RnQ16uFBPr2HXLFTb1EQbKEnFah3kwHstYtd9YKCovf5aDyMVg1YjlEBmiXmaav4AC7TL5a4XBEHIWJrktxb6eQnp1nqRKeZ+Y43eUM3GJldKgASFT44fDWIrhMB7TqrbyxO3PQFopFNugmnLuKL4jDq9ksKeg2Lzk3rT74tk0TjN/QFSvDmNeAbUZXCsGsG3VHL1XEWg83m2KBXvXGWInqoHICldVVwDe1WlyFJA1o6bP8P86K9YIus8jytq9xFz41csmRxsRgQzXA5qrOdWU+xYb7I+TfkRwdo79ivLpDUs4B6PX9nBW0JRNPNE8ufEacEK70xSkW0b7TC7Lv+0jAcdEPAaDqAg4tBtVmCsxhkd2V6R5ptKWrAPM8jGmVybakOQhXhAR+PARJu0dvWkU3sp+rpf4rGkSs5w0bKNiI+TRr3U9TZlReBQW9ZzWUBT97jQph6LzBoKZrKAl5ml3b8VgMipb//0pbHnaa0x3m0JQsY2zs+nsduMaoAe3GC3Z+zZkZDSuezgGgCKDznsW1EXbCf0xsgEHYeeeewy9+y7CZb3i0jvrr0IzMDGId5/RI7KT82Q1fai7m6fcy90yf2z562aWxtV5vg9DnpNWTTvSo8mLIkgjCbAjM+SIqjhmBWuhrzJZJauMCmP/GdIizIOYSn50c+sluzgGh9ZWmcrrQ/51L+7it1mG3gARtIyvmA0urmGGi58xSHIPdzU/5gbh9Tn2cj/DH53ut5zs2opUv9CcaRf4djnZLLmsbvUeOTWvGecLfA7ZBP8LXoavovPL0qL+OO1KuOg7c+2CWxh61qTrVI4Zj/Df9ZM3IYF+4WY2JsJ5kVjMOPJlvPYW+lM2LfKm99MDopdkET1LcMwVS1b/+1UWixiZ7AZdJbrE3A2pCDE8Y3BD4H5BM2O+lqYpbYJ8cvIp2jWZ0hS0Ds1HaixR/058Tjn/Z3n+Tt8ZPYechsLDiXWP8gwXTmuN7nGzRlJDklbMNvXyezPlfOzwMGgcZbWLHvdd+VEBMazA0PJhfYM5hPRmm0czz6YDAEI+PXEz3GREfGbQ1TdomV2krTPVVS6ic+g3h3ix5NNRRVbKIbryXC4PLNC2Kn7iVa+G7lq100Hql3B3sWsIlu4G9of/2QiSWMOfDXdpBfqnib9xdOpKgBF+DMTt26853y57MIz5YnEY7xJCv99rTBhl22PpYNQQyCyKXT+YBXMy0fNoEiPHwTe96DdoSTJQJyR8L31jRYAGFENPuCR+TDXeaQJSgtMdEmolw8HRbrif4guX5FmOVnijmXmMCVGxiRTrO5h4k+yx1X67NbTOZVGh09KhGLkMnLyxHM64ln82XvPrahN5OKtvIebeUJcM4JT054M4yQ878y/M4nvZ6e8uBF9j/Fr+s/h6QsDAAAAABJRU5ErkJggg=="},9093:(e,t,r)=>{"use strict";r.r(t),r.d(t,{isSupportedLocale:()=>i,supportedLocales:()=>n,toSupportedLocale:()=>o});var n=["af","am","ar","as-in","az-latn-az","be-by","bg","bn-in","bn-bd","bs-latn-ba","ca","ca-es-valencia","cs","cy","da","de","el","en-gb","en-us","es","es-mx","et","eu","fa","fi","fil","fr","fr-ca","ga-ie","gd-gb","gl","gu","ha-latn-ng","he","hi","hr","hu","hy","id","is","it","ja","ka","kk","km-kh","kn","ko","kok","ky","lb-lu","lo-la","lt","lv","mi-nz","mk","ml","mn-mn","mr","ms","mt-mt","ne-np","nl","nn-no","no","or","pa-in","pl","prs","pt","pt-pt","quz-pe","ro","ru","sd-arab-pk","si-lk","sk","sl","sq","sr","sr-cyrl","sr-cyrl-ba","sv","sw","ta","te","th","tk-tm","tr","tt","ug-cn","uk","ur","uz","vi","zh-hans","zh-hant","zu-za"];function i(e){return n.indexOf(e)>=0}function o(e,t){if(e){var r=e.toLowerCase().replace("_","-"),o=a(r);if(o)return o;if(i(r))return r;var s=r.split("-");if(s.length>2){var l=s.slice(0,s.length-1).join("-");if(i(l))return l;var c=a(l);if(c)return c}if(s.length>1){var u=s[0];if(i(u))return u}var d=r.substr(0,2);if(i(d))return d;var p=a(d);if(p)return p;for(var f=0,h=n;f<h.length;f++){var g=h[f];if(0===g.indexOf(d))return g}}if(t)return t;throw new Error("".concat(e," cannot be mapped to a supported locale"))}function a(e){if(0===e.indexOf("es-")&&"es-es"!==e)return"es-mx";if(0===e.indexOf("en-")&&"en-us"!==e)return"en-gb";if(0===e.indexOf("ja-"))return"ja";switch(e){case"zh-hk":case"zh-mo":case"zh-rhk":case"zh-rtw":case"zh-tw":return"zh-hant";case"zh-rcn":case"zh-sg":return"zh-hans";case"ga":return"ga-ie";case"in":return"id";case"iw":return"he";case"nb":return"no";default:return}}},9098:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var n=r(7810);function i(...e){const t=n.useCallback((r=>{t.current=r;for(const t of e)"function"==typeof t?t(r):t&&(t.current=r)}),[...e]);return t}},9117:(e,t,r)=>{"use strict";r.d(t,{Cq:()=>m,Cs:()=>k,Fo:()=>c,G1:()=>I,Gp:()=>x,JM:()=>_,P4:()=>d,QQ:()=>h,Qf:()=>A,Sg:()=>l,Sh:()=>g,al:()=>y,cr:()=>w,g0:()=>b,k3:()=>S,lA:()=>C,p3:()=>u,q6:()=>s,t0:()=>p,tK:()=>v,uw:()=>f,vt:()=>a,xM:()=>E});var n=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r={},n=0,i=e;n<i.length;n++)for(var o=i[n],a=0,s=Array.isArray(o)?o:Object.keys(o);a<s.length;a++)r[s[a]]=1;return r},i=n(["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),o=n(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),a=n(o,i),s=n(a,["form"]),l=n(a,["height","loop","muted","preload","src","width"]),c=n(l,["poster"]),u=n(a,["start"]),d=n(a,["value"]),p=n(a,["download","href","hrefLang","media","rel","target","type"]),f=n(a,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),h=n(f,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),g=n(f,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),m=n(f,["form","multiple","required"]),v=n(a,["selected","value"]),y=n(a,["cellPadding","cellSpacing"]),b=a,w=n(a,["rowSpan","scope"]),S=n(a,["colSpan","headers","rowSpan","scope"]),C=n(a,["span"]),A=n(a,["span"]),x=n(a,["acceptCharset","action","encType","encType","method","noValidate","target"]),k=n(a,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),E=n(a,["alt","crossOrigin","height","src","srcSet","useMap","width"]),_=a;function I(e,t,r){for(var n=Array.isArray(t),i={},o=0,a=Object.keys(e);o<a.length;o++){var s=a[o];!(!n&&t[s]||n&&t.indexOf(s)>=0||0===s.indexOf("data-")||0===s.indexOf("aria-"))||r&&-1!==(null==r?void 0:r.indexOf(s))||(i[s]=e[s])}return i}},9126:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8207);const i=function(){function e(){var t=!0,r=!0,i=!0,o="use-collector-delta",a=!1;(0,n.A)(e,this,(function(e){e.allowRequestSending=function(){return t},e.firstRequestSent=function(){i&&(i=!1,a||(t=!1))},e.shouldAddClockSkewHeaders=function(){return r},e.getClockSkewHeaderValue=function(){return o},e.setClockSkew=function(e){a||(e?(o=e,r=!0,a=!0):r=!1,t=!0)}}))}return e.__ieDyn=1,e}()},9173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="border-spacing,caption-side,color,cursor,direction,empty-cells,font-family,font-size,font-style,font-variant,font-weight,font,letter-spacing,line-height,list-style-image,list-style-position,list-style-type,list-style,orphans,quotes,text-align,text-indent,text-transform,visibility,white-space,widows,word-spacing".split(",");t.default=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView,n=t&&e&&t.getComputedStyle(e),i={};return r.forEach((function(e){return i[e]=n&&n.getPropertyValue(e)||""})),i}},9202:(e,t,r)=>{"use strict";r.d(t,{H:()=>o,g:()=>a});var n=r(1635),i=r(778);class o extends Error{constructor(e){super(e),this.name="MosServiceError"}}class a{constructor(e){this.endpointUrl=e}static build(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{a.mos3TokenGenerationService=e;const r=yield a.acquireToken(!0),n=yield a.getEndpointUrl(r);return a.jestDelay=t,new a(n)}catch(e){const t=e instanceof Error?e.message:String(e);throw new o(`Failed to build MOS3Service: ${t}`)}}))}getSignInUrlInfo(e,t){var r;return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{const n=yield a.acquireToken(!0);let o=null!==(r=this.endpointUrl)&&void 0!==r?r:a.DEFAULT_ENDPOINT;o=`${o}/catalog/v1/users/titles/${e}/signInInfo`;const s=(0,i.Tq)(o,t);return yield this.getRequestWithRetry(n,s,a.retryCount)}catch(e){const t=e instanceof Error?e.message:String(e);throw new o(`Failed to get sign in URL info: ${t}`)}}))}activateOauth2Token(e,t,r){var i;return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{const n=yield a.acquireToken(!0);let o=null!==(i=this.endpointUrl)&&void 0!==i?i:a.DEFAULT_ENDPOINT;o=`${o}/catalog/v1/users/titles/${e}/signInCode`;const s={authConfigId:t,authCode:r};yield this.postRequestWithRetry(n,o,s,a.retryCount)}catch(e){const t=e instanceof Error?e.message:String(e);throw new o(`Failed to activate Oauth2 token: ${t}`)}}))}static requestMOS3ForEndpointURL(e,t){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const r=yield fetch(t,{headers:{Authorization:"Bearer "+e}});if(r.ok)return r.json();throw new Error(`Request to acquire the MOS endpoint URL failed with status code: ${r.status} (${r.statusText})`)}))}getRequestWithRetry(e,t,r){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(r<0)throw new Error("Maximum retry attempts reached. Last error: Request failed with status code: 401");const n=yield fetch(t,{headers:{Authorization:"Bearer "+e}});if(n.ok)return n.json();if(401===n.status){const e=yield this.handle401Error(n);return this.getRequestWithRetry(e,t,r-1)}throw new Error(`Request failed with status code: ${n.status}`)}))}postRequestWithRetry(e,t,r,i){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(i<0)throw new Error("Maximum retry attempts reached. Last error: Request failed with status code: 401");const n=yield fetch(t,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer "+e},body:JSON.stringify(r)});if(n.ok)return n;if(401===n.status){const e=yield this.handle401Error(n);return this.postRequestWithRetry(e,t,r,i-1)}throw new Error(`Request failed with status code: ${n.status}`)}))}handle401Error(e){var t,r;return(0,n.__awaiter)(this,void 0,void 0,(function*(){let n,o=!0;const s=null!==(r=null===(t=e.headers)||void 0===t?void 0:t.get("www-authenticate"))&&void 0!==r?r:void 0;return s&&(n=(0,i.xy)(s),o=!1),yield a.acquireToken(o,n?[n]:void 0,s)}))}}a.DEFAULT_ENDPOINT="https://titles.prod.mos.microsoft.com",a.retryCount=3,a.getEndpointUrl=e=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){const t=a.acquireResourceString(),r=(t.endsWith("/")?t.slice(0,-1):t)+"/config/v1/environment",n=yield a.requestMOS3ForEndpointURL(e,r);if((0,i.pd)(n.titlesServiceUrl))return n.titlesServiceUrl;throw new Error(`Invalid endpoint URL received: ${n.titlesServiceUrl}`)})),a.acquireResourceString=()=>{let e=a.DEFAULT_ENDPOINT;if(a.mos3TokenGenerationService&&"function"==typeof a.mos3TokenGenerationService.getMOS3ResourceString){const t=a.mos3TokenGenerationService.getMOS3ResourceString();e=(t?t.trim():"")||a.DEFAULT_ENDPOINT}if(!(0,i.pd)(e))throw new Error(`Invalid token resource string: ${e}. It should be a valid https URI.`);return e},a.acquireToken=(e,t,r)=>(0,n.__awaiter)(void 0,void 0,void 0,(function*(){const n=a.acquireResourceString(),i=yield a.mos3TokenGenerationService.acquireToken(n,t,r,e);if(!i)throw new Error("Token generation service returned null or undefined.");if(!i.token)throw new Error("Token generation service returned an object without a token.");return i.token}))},9245:(e,t,r)=>{"use strict";const n=r(3682);e.exports=(e,t,r)=>n(e,t,r)<0},9272:(e,t,r)=>{"use strict";r.d(t,{n:()=>at});var n=r(5314),i=r(9935);function o(e){return e.reduce((function(e,t){var r=t[0],n=t[1];return e[r]=n,e[n]=r,e}),{})}function a(e){return"number"==typeof e}function s(e,t){return-1!==e.indexOf(t)}function l(e,t,r,n){return t+(i=r,0===parseFloat(i)?i:"-"===i[0]?i.slice(1):"-"+i)+n;var i}function c(e){return e.replace(/ +/g," ").split(" ").map((function(e){return e.trim()})).filter(Boolean).reduce((function(e,t){var r=e.list,n=e.state,i=(t.match(/\(/g)||[]).length,o=(t.match(/\)/g)||[]).length;return n.parensDepth>0?r[r.length-1]=r[r.length-1]+" "+t:r.push(t),n.parensDepth+=i-o,{list:r,state:n}}),{list:[],state:{parensDepth:0}}).list}function u(e){var t=c(e);if(t.length<=3||t.length>4)return e;var r=t[0],n=t[1],i=t[2];return[r,t[3],i,n].join(" ")}var d={padding:function(e){var t=e.value;return a(t)?t:u(t)},textShadow:function(e){return function(e){for(var t=[],r=0,n=0,i=!1;n<e.length;)i||","!==e[n]?"("===e[n]?(i=!0,n++):")"===e[n]?(i=!1,n++):n++:(t.push(e.substring(r,n).trim()),r=++n);return r!=n&&t.push(e.substring(r,n+1)),t}(e.value).map((function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,(function(e,t,r,n){return"0"===n?e:t+(""===r?"-":"")+n}))})).join(",")},borderColor:function(e){return u(e.value)},borderRadius:function(e){var t=e.value;if(a(t))return t;if(s(t,"/")){var r=t.split("/"),n=r[0],i=r[1];return d.borderRadius({value:n.trim()})+" / "+d.borderRadius({value:i.trim()})}var o=c(t);switch(o.length){case 2:return o.reverse().join(" ");case 4:var l=o[0],u=o[1],p=o[2];return[u,l,o[3],p].join(" ");default:return t}},background:function(e){var t=e.value,r=e.valuesToConvert,n=e.isRtl,i=e.bgImgDirectionRegex,o=e.bgPosDirectionRegex;if(a(t))return t;var s=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(s,d.backgroundPosition({value:s,valuesToConvert:r,isRtl:n,bgPosDirectionRegex:o})),d.backgroundImage({value:t,valuesToConvert:r,bgImgDirectionRegex:i})},backgroundImage:function(e){var t=e.value,r=e.valuesToConvert,n=e.bgImgDirectionRegex;return s(t,"url(")||s(t,"linear-gradient(")?t.replace(n,(function(e,t,n){return e.replace(n,r[n])})):t},backgroundPosition:function(e){var t=e.value,r=e.valuesToConvert,n=e.isRtl,i=e.bgPosDirectionRegex;return t.replace(n?/^((-|\d|\.)+%)/:null,(function(e,t){return function(e){var t=e.indexOf(".");if(-1===t)e=100-parseFloat(e)+"%";else{var r=e.length-t-2;e=(e=100-parseFloat(e)).toFixed(r)+"%"}return e}(t)})).replace(i,(function(e){return r[e]}))},backgroundPositionX:function(e){var t=e.value,r=e.valuesToConvert,n=e.isRtl,i=e.bgPosDirectionRegex;return a(t)?t:d.backgroundPosition({value:t,valuesToConvert:r,isRtl:n,bgPosDirectionRegex:i})},transition:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){var t=e.split(" ");return t[0]=r[t[0]]||t[0],t.join(" ")})).join(", ")},transitionProperty:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){return r[e]||e})).join(", ")},transform:function(e){var t=e.value,r="[^\\u0020-\\u007e]",n="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",i="((?:-?(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|-?(?:[_a-z]|"+r+"|"+n+")(?:[_a-z0-9-]|"+r+"|"+n+")*)?)|(?:inherit|auto))",o=new RegExp("(translateX\\s*\\(\\s*)"+i+"(\\s*\\))","gi"),a=new RegExp("(translate\\s*\\(\\s*)"+i+"((?:\\s*,\\s*"+i+"){0,1}\\s*\\))","gi"),s=new RegExp("(translate3d\\s*\\(\\s*)"+i+"((?:\\s*,\\s*"+i+"){0,2}\\s*\\))","gi"),c=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+i+"(\\s*\\))","gi");return t.replace(o,l).replace(a,l).replace(s,l).replace(c,l)}};d.objectPosition=d.backgroundPosition,d.margin=d.padding,d.borderWidth=d.padding,d.boxShadow=d.textShadow,d.webkitBoxShadow=d.boxShadow,d.mozBoxShadow=d.boxShadow,d.WebkitBoxShadow=d.boxShadow,d.MozBoxShadow=d.boxShadow,d.borderStyle=d.borderColor,d.webkitTransform=d.transform,d.mozTransform=d.transform,d.WebkitTransform=d.transform,d.MozTransform=d.transform,d.transformOrigin=d.backgroundPosition,d.webkitTransformOrigin=d.transformOrigin,d.mozTransformOrigin=d.transformOrigin,d.WebkitTransformOrigin=d.transformOrigin,d.MozTransformOrigin=d.transformOrigin,d.webkitTransition=d.transition,d.mozTransition=d.transition,d.WebkitTransition=d.transition,d.MozTransition=d.transition,d.webkitTransitionProperty=d.transitionProperty,d.mozTransitionProperty=d.transitionProperty,d.WebkitTransitionProperty=d.transitionProperty,d.MozTransitionProperty=d.transitionProperty,d["text-shadow"]=d.textShadow,d["border-color"]=d.borderColor,d["border-radius"]=d.borderRadius,d["background-image"]=d.backgroundImage,d["background-position"]=d.backgroundPosition,d["background-position-x"]=d.backgroundPositionX,d["object-position"]=d.objectPosition,d["border-width"]=d.padding,d["box-shadow"]=d.textShadow,d["-webkit-box-shadow"]=d.textShadow,d["-moz-box-shadow"]=d.textShadow,d["border-style"]=d.borderColor,d["-webkit-transform"]=d.transform,d["-moz-transform"]=d.transform,d["transform-origin"]=d.transformOrigin,d["-webkit-transform-origin"]=d.transformOrigin,d["-moz-transform-origin"]=d.transformOrigin,d["-webkit-transition"]=d.transition,d["-moz-transition"]=d.transition,d["transition-property"]=d.transitionProperty,d["-webkit-transition-property"]=d.transitionProperty,d["-moz-transition-property"]=d.transitionProperty;var p=o([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),f=["content"],h=o([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),g=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),m=new RegExp("(left)|(right)");function v(e){return Object.keys(e).reduce((function(t,r){var n=e[r];if("string"==typeof n&&(n=n.trim()),s(f,r))return t[r]=n,t;var i=y(r,n),o=i.key,a=i.value;return t[o]=a,t}),Array.isArray(e)?[]:{})}function y(e,t){var r,n=/\/\*\s?@noflip\s?\*\//.test(t),i=n?e:p[r=e]||r,o=n?t:function(e,t){if(!function(e){return!("boolean"==typeof e||function(e){return null==e}(e))}(t))return t;if((r=t)&&"object"==typeof r)return v(t);var r,n,i=a(t),o=function(e){return"function"==typeof e}(t),s=i||o?t:t.replace(/ !important.*?$/,""),l=!i&&s.length!==t.length,c=d[e];return n=c?c({value:s,valuesToConvert:h,propertiesToConvert:p,isRtl:!0,bgImgDirectionRegex:g,bgPosDirectionRegex:m}):h[s]||s,l?n+" !important":n}(i,t);return{key:i,value:o}}var b=r(3920);const w=/[A-Z]/g,S=/^ms-/,C={};function A(e){return"-"+e.toLowerCase()}function x(e){if(Object.prototype.hasOwnProperty.call(C,e))return C[e];if("--"===e.substr(0,2))return e;const t=e.replace(w,A);return C[e]=S.test(t)?"-"+t:t}function k(e){return"&"===e.charAt(0)?e.slice(1):e}var E="-moz-",_="-webkit-",I="comm",P="rule",T="decl",B="@import",D="@namespace",N="@keyframes",R="@layer",O=Math.abs,z=String.fromCharCode,M=Object.assign;function F(e){return e.trim()}function L(e,t){return(e=t.exec(e))?e[0]:e}function j(e,t,r){return e.replace(t,r)}function V(e,t,r){return e.indexOf(t,r)}function H(e,t){return 0|e.charCodeAt(t)}function q(e,t,r){return e.slice(t,r)}function U(e){return e.length}function $(e){return e.length}function W(e,t){return t.push(e),e}function G(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function K(e,t,r,n){switch(e.type){case R:if(e.children.length)break;case B:case D:case T:return e.return=e.return||e.value;case I:return"";case N:return e.return=e.value+"{"+G(e.children,n)+"}";case P:if(!U(e.value=e.props.join(",")))return""}return U(r=G(e.children,n))?e.return=e.value+"{"+r+"}":""}var X=1,Y=1,J=0,Z=0,Q=0,ee="";function te(e,t,r,n,i,o,a,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:X,column:Y,length:a,return:"",siblings:s}}function re(e,t){return M(te("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ne(){return Q=Z>0?H(ee,--Z):0,Y--,10===Q&&(Y=1,X--),Q}function ie(){return Q=Z<J?H(ee,Z++):0,Y++,10===Q&&(Y=1,X++),Q}function oe(){return H(ee,Z)}function ae(){return Z}function se(e,t){return q(ee,e,t)}function le(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ce(e){return X=Y=1,J=U(ee=e),Z=0,[]}function ue(e){return ee="",e}function de(e){return F(se(Z-1,he(91===e?e+2:40===e?e+1:e)))}function pe(e){for(;(Q=oe())&&Q<33;)ie();return le(e)>2||le(Q)>3?"":" "}function fe(e,t){for(;--t&&ie()&&!(Q<48||Q>102||Q>57&&Q<65||Q>70&&Q<97););return se(e,ae()+(t<6&&32==oe()&&32==ie()))}function he(e){for(;ie();)switch(Q){case e:return Z;case 34:case 39:34!==e&&39!==e&&he(Q);break;case 40:41===e&&he(e);break;case 92:ie()}return Z}function ge(e,t){for(;ie()&&e+Q!==57&&(e+Q!==84||47!==oe()););return"/*"+se(t,Z-1)+"*"+z(47===e?e:ie())}function me(e){for(;!le(oe());)ie();return se(e,Z)}function ve(e){return ue(ye("",null,null,null,[""],e=ce(e),0,[0],e))}function ye(e,t,r,n,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,h=0,g=1,m=1,v=1,y=0,b="",w=i,S=o,C=n,A=b;m;)switch(h=y,y=ie()){case 40:if(108!=h&&58==H(A,d-1)){-1!=V(A+=j(de(y),"&","&\f"),"&\f",O(c?s[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:A+=de(y);break;case 9:case 10:case 13:case 32:A+=pe(h);break;case 92:A+=fe(ae()-1,7);continue;case 47:switch(oe()){case 42:case 47:W(we(ge(ie(),ae()),t,r,l),l),5!=le(h||1)&&5!=le(oe()||1)||!U(A)||" "===q(A,-1,void 0)||(A+=" ");break;default:A+="/"}break;case 123*g:s[c++]=U(A)*v;case 125*g:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+u:-1==v&&(A=j(A,/\f/g,"")),f>0&&(U(A)-d||0===g&&47===h)&&W(f>32?Se(A+";",n,r,d-1,l):Se(j(A," ","")+";",n,r,d-2,l),l);break;case 59:A+=";";default:if(W(C=be(A,t,r,c,u,i,s,b,w=[],S=[],d,o),o),123===y)if(0===u)ye(A,t,C,C,w,o,d,s,S);else{switch(p){case 99:if(110===H(A,3))break;case 108:if(97===H(A,2))break;default:u=0;case 100:case 109:case 115:}u?ye(e,C,C,n&&W(be(e,C,C,0,0,i,s,b,i,w=[],d,S),S),i,S,d,s,n?w:S):ye(A,C,C,C,[""],S,0,s,S)}}c=u=f=0,g=v=1,b=A="",d=a;break;case 58:d=1+U(A),f=h;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==ne())continue;switch(A+=z(y),y*g){case 38:v=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(U(A)-1)*v,v=1;break;case 64:45===oe()&&(A+=de(ie())),p=oe(),u=d=U(b=A+=me(ae())),y++;break;case 45:45===h&&2==U(A)&&(g=0)}}return o}function be(e,t,r,n,i,o,a,s,l,c,u,d){for(var p=i-1,f=0===i?o:[""],h=$(f),g=0,m=0,v=0;g<n;++g)for(var y=0,b=q(e,p+1,p=O(m=a[g])),w=e;y<h;++y)(w=F(m>0?f[y]+" "+b:j(b,/&\f/g,f[y])))&&(l[v++]=w);return te(e,t,r,0===i?P:s,l,c,u,d)}function we(e,t,r,n){return te(e,t,r,I,z(Q),q(e,2,-2),0,n)}function Se(e,t,r,n,i){return te(e,t,r,T,q(e,0,n),q(e,n+1,-1),n,i)}function Ce(e){var t=$(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function Ae(e){return function(t){t.root||(t=t.return)&&e(t)}}const xe=e=>{if(e.type===P){if("string"==typeof e.props)return;e.props=e.props.map((e=>-1===e.indexOf(":global(")?e:function(e){return ue(function(e){for(;ie();)switch(le(Q)){case 0:W(me(Z-1),e);break;case 2:W(de(Q),e);break;default:W(z(Q),e)}return e}(ce(e)))}(e).reduce(((e,t,r,n)=>{if(""===t)return e;if(":"===t&&"global"===n[r+1]){const t=n[r+2].slice(1,-1)+" ";return e.unshift(t),n[r+1]="",n[r+2]="",e}return e.push(t),e}),[]).join("")))}};function ke(e,t,r){switch(function(e,t){return 45^H(e,0)?(((t<<2^H(e,0))<<2^H(e,1))<<2^H(e,2))<<2^H(e,3):0}(e,t)){case 5103:return _+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return _+e+e;case 4215:if(102===H(e,9))return _+e+e;if(116===H(e,t+1))return _+e+e;break;case 4789:return E+e+e;case 5349:case 4246:case 6968:return _+e+E+e+e;case 6187:if(!L(e,/grab/))return j(j(j(e,/(zoom-|grab)/,_+"$1"),/(image-set)/,_+"$1"),e,"")+e;case 5495:case 3959:return j(e,/(image-set\([^]*)/,_+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return j(e,/(.+)-inline(.+)/,_+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(U(e)-1-t>6)switch(H(e,t+1)){case 102:if(108===H(e,t+3))return j(e,/(.+:)(.+)-([^]+)/,"$1"+_+"$2-$3$1"+E+(108==H(e,t+3)?"$3":"$2-$3"))+e;case 115:return~V(e,"stretch")?ke(j(e,"stretch","fill-available"),t)+e:e}}return e}function Ee(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case T:return void(e.return=ke(e.value,e.length));case P:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(L(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return G([re(e,{props:[j(t,/:(read-\w+)/,":"+E+"$1")]})],n);case"::placeholder":return G([re(e,{props:[j(t,/:(plac\w+)/,":"+_+"input-$1")]}),re(e,{props:[j(t,/:(plac\w+)/,":"+E+"$1")]})],n)}return""}))}}const _e=e=>{(function(e){switch(e.type){case"@container":case"@media":case"@supports":case R:return!0}return!1})(e)&&Array.isArray(e.children)&&e.children.sort(((e,t)=>e.props[0]>t.props[0]?1:-1))};const Ie=/,( *[^ &])/g;function Pe(e,t,r){let n=t;return r.length>0&&(n=r.reduceRight(((e,t)=>{return`${r=t,"&"+k(r.replace(Ie,",&$1"))} { ${e} }`;var r}),t)),`${e}{${n}}`}function Te(e,t){const{className:r,selectors:n,property:i,rtlClassName:o,rtlProperty:a,rtlValue:s,value:l}=e,{container:c,layer:u,media:d,supports:p}=t;let f=Pe(`.${r}`,Array.isArray(l)?`${l.map((e=>`${x(i)}: ${e}`)).join(";")};`:`${x(i)}: ${l};`,n);return a&&o&&(f+=Pe(`.${o}`,Array.isArray(s)?`${s.map((e=>`${x(a)}: ${e}`)).join(";")};`:`${x(a)}: ${s};`,n)),d&&(f=`@media ${d} { ${f} }`),u&&(f=`@layer ${u} { ${f} }`),p&&(f=`@supports ${p} { ${f} }`),c&&(f=`@container ${c} { ${f} }`),function(e){const t=[];return G(ve(e),Ce([xe,_e,Ee,K,Ae((e=>t.push(e)))])),t}(f)}function Be(e){let t="";for(const r in e){const n=e[r];if("string"!=typeof n&&"number"!=typeof n){if(Array.isArray(n))for(const e of n)t+=x(r)+":"+e+";"}else t+=x(r)+":"+n+";"}return t}function De(e){let t="";for(const r in e)t+=`${r}{${Be(e[r])}}`;return t}function Ne(e,t){const r=[];return G(ve(`@keyframes ${e} {${t}}`),Ce([K,Ee,Ae((e=>r.push(e)))])),r}const Re={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function Oe(e,t){return 0===e.length?t:`${e} and ${t}`}function ze(e){return"@media"===e.substr(0,6)}function Me(e){return"@layer"===e.substr(0,6)}const Fe=/^(:|\[|>|&)/;function Le(e){return Fe.test(e)}function je(e){return"@supports"===e.substr(0,9)}function Ve(e){return"@container"===e.substring(0,10)}const He={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function qe(e,t){if(t.media)return"m";if(t.layer||t.supports)return"t";if(t.container)return"c";if(e.length>0){const t=e[0].trim();if(58===t.charCodeAt(0))return He[t.slice(4,8)]||He[t.slice(3,5)]||"d"}return"d"}function Ue(e,t){return e?t+e:e}function $e(e){return Ue(e.container,"c")+Ue(e.media,"m")+Ue(e.layer,"l")+Ue(e.supports,"s")}function We(e,t,r){const n=e+$e(r)+t,o=(0,i.A)(n),a=o.charCodeAt(0);return a>=48&&a<=57?String.fromCharCode(a+17)+o.slice(1):o}function Ge({property:e,selector:t,salt:r,value:n},o){return b.aN+(0,i.A)(r+t+$e(o)+e+n.trim())}function Ke(e){return e===b.Ut}function Xe(e){return e.replace(/>\s+/g,">")}function Ye(e){return Re[e]}function Je(e){var t;return null!==(t=null==e?void 0:e[0])&&void 0!==t?t:0}function Ze(e,t,r,n){e[t]=n?[r,n]:r}function Qe(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function et(e,t,r,n,i,o){var a;const s=[];0!==o&&s.push(["p",o]),"m"===t&&i&&s.push(["m",i]),null!==(a=e[t])&&void 0!==a||(e[t]=[]),r&&e[t].push(Qe(r,s)),n&&e[t].push(Qe(n,s))}function tt(e,t="",r=[],n={container:"",layer:"",media:"",supports:""},o={},a={},s){for(const c in e){if(b.qw.hasOwnProperty(c)){e[c];continue}const u=e[c];if(null!=u)if(Ke(u))Ze(o,We(Xe(r.join("")),c,n),0,void 0);else if("string"==typeof u||"number"==typeof u){const e=Xe(r.join("")),i=Ye(c);if(i){const e=i[1],s=Object.fromEntries(e.map((e=>[e,b.Ut])));tt(s,t,r,n,o,a)}const l=We(e,c,n),d=Ge({value:u.toString(),salt:t,selector:e,property:c},n),p=s&&{key:c,value:s}||y(c,u),f=p.key!==c||p.value!==u,h=f?Ge({value:p.value.toString(),property:p.key,salt:t,selector:e},n):void 0,g=f?{rtlClassName:h,rtlProperty:p.key,rtlValue:p.value}:void 0,m=qe(r,n),[v,w]=Te(Object.assign({className:d,selectors:r,property:c,value:u},g),n);Ze(o,l,d,h),et(a,m,v,w,n.media,Je(i))}else if("animationName"===c){const e=Array.isArray(u)?u:[u],s=[],l=[];for(const t of e){const e=De(t),r=De(v(t)),o=b.aN+(0,i.A)(e);let c;const u=Ne(o,e);let d=[];e===r?c=o:(c=b.aN+(0,i.A)(r),d=Ne(c,r));for(let e=0;e<u.length;e++)et(a,"k",u[e],d[e],n.media,0);s.push(o),l.push(c)}tt({animationName:s.join(", ")},t,r,n,o,a,l.join(", "))}else if(Array.isArray(u)){if(0===u.length)continue;const e=Xe(r.join("")),i=Ye(c);if(i){const e=i[1],s=Object.fromEntries(e.map((e=>[e,b.Ut])));tt(s,t,r,n,o,a)}const s=We(e,c,n),l=Ge({value:u.map((e=>(null!=e?e:"").toString())).join(";"),salt:t,selector:e,property:c},n),d=u.map((e=>y(c,e)));if(d.some((e=>e.key!==d[0].key)))continue;const p=d[0].key!==c||d.some(((e,t)=>e.value!==u[t])),f=p?Ge({value:d.map((e=>{var t;return(null!==(t=null==e?void 0:e.value)&&void 0!==t?t:"").toString()})).join(";"),salt:t,property:d[0].key,selector:e},n):void 0,h=p?{rtlClassName:f,rtlProperty:d[0].key,rtlValue:d.map((e=>e.value))}:void 0,g=qe(r,n),[m,v]=Te(Object.assign({className:l,selectors:r,property:c,value:u},h),n);Ze(o,s,l,f),et(a,g,m,v,n.media,Je(i))}else if(null!=(l=u)&&"object"==typeof l&&!1===Array.isArray(l))if(Le(c))tt(u,t,r.concat(k(c)),n,o,a);else if(ze(c)){const e=Oe(n.media,c.slice(6).trim());tt(u,t,r,Object.assign({},n,{media:e}),o,a)}else if(Me(c)){const e=(n.layer?`${n.layer}.`:"")+c.slice(6).trim();tt(u,t,r,Object.assign({},n,{layer:e}),o,a)}else if(je(c)){const e=Oe(n.supports,c.slice(9).trim());tt(u,t,r,Object.assign({},n,{supports:e}),o,a)}else if(Ve(c)){const e=c.slice(10).trim();tt(u,t,r,Object.assign({},n,{container:e}),o,a)}}var l;return[o,a]}var rt=r(1688);var nt=r(1297),it=r(9620),ot=r(4414);function at(e){const t=function(e,t=n.A){const r=t();let i=null,o=null,a=null,s=null;return function(t){const{dir:n,renderer:l}=t;null===i&&([i,o]=function(e,t=""){const r={},n={};for(const i in e){const o=e[i],[a,s]=tt(o,t);r[i]=a,Object.keys(s).forEach((e=>{n[e]=(n[e]||[]).concat(s[e])}))}return[r,n]}(e,l.classNameHashSalt));const c="ltr"===n;return c?null===a&&(a=(0,rt.N)(i,n)):null===s&&(s=(0,rt.N)(i,n)),r(l,o),c?a:s}}(e,nt.A);return function(){const e=(0,ot.m)(),r=(0,it.J)();return t({dir:e,renderer:r})}}},9278:(e,t,r)=>{"use strict";var n;function i(e){if(!function(e){try{const t=new URL(e);return[!!t.origin,"https:"===t.protocol].every((e=>e))}catch(e){return!1}}(e))return{type:n.Unhandled,params:{url:new URL(e)}};const t=new URL(e);return t.pathname&&"https://teams.microsoft.com"===t.origin&&/^\/l\//.test(t.pathname)?function(e){var t,r,i,o,a,s;try{if(!e)return;const l=e.pathname.match(/^\/l\/task\/([^/]+)$/);if(2!==(null==l?void 0:l.length)||!l[1])throw new Error("Invalid Teams url format for TaskModule");const c={height:null!==(t=e.searchParams.get("width"))&&void 0!==t?t:void 0,width:null!==(r=e.searchParams.get("height"))&&void 0!==r?r:void 0},u={url:null!==(i=e.searchParams.get("url"))&&void 0!==i?i:void 0,fallbackUrl:null!==(o=e.searchParams.get("fallbackUrl"))&&void 0!==o?o:void 0,card:e.searchParams.get("card")?JSON.stringify(e.searchParams.get("card")):void 0,width:c.width,height:c.height,title:null!==(a=e.searchParams.get("title"))&&void 0!==a?a:void 0,completionBotId:null!==(s=e.searchParams.get("completionBotId"))&&void 0!==s?s:void 0};return{type:n.TaskModule,params:{appId:l[1],taskInfo:u}}}catch(e){return}}(t)||a(t)||s(t)||o(t):{type:n.Unhandled,params:{url:new URL(e)}}}r.d(t,{G:()=>i,p:()=>n}),function(e){e.TaskModule="taskModule",e.StageView="stageView",e.LaunchPage="launchPage",e.Unhandled="unhandled"}(n||(n={}));const o=e=>({type:n.Unhandled,params:{url:e}}),a=e=>{try{const t=e,r=t.pathname.match(/^\/l\/stage\/([^/]+)\/([^/]+)$/);if(3!==(null==r?void 0:r.length)||!r[1])throw new Error("Invalid Teams url format for StageView");const i=t.searchParams.get("context");let o={};const a=decodeURIComponent(null!=i?i:"");return o=JSON.parse(a),{type:n.StageView,params:{appId:r[1],stageInfo:o}}}catch(e){return}},s=e=>{var t,r;try{const i=/^\/l\/entity\/([^/]+)\/([^/]+)$/,o=e,a=o.pathname.match(i);if(3!==(null==a?void 0:a.length))throw new Error("Invalid Teams url format for Tab");const s=a[1];let l;if(o.searchParams.has("context")){const e=o.searchParams.get("context"),t=decodeURIComponent(null!=e?e:"");l=JSON.parse(t)}const c={entityId:a[2],webUrl:null!==(t=o.searchParams.get("webUrl"))&&void 0!==t?t:void 0,label:null!==(r=o.searchParams.get("label"))&&void 0!==r?r:void 0,subEntityId:null==l?void 0:l.subEntityId};return{type:n.LaunchPage,params:{appId:s,tabInfo:c}}}catch(e){return}}},9315:(e,t,r)=>{"use strict";const n=r(6516),i=r(504),o=r(2306),a=r(2329),s=r(8950),l=r(3899),c=r(3212),u=r(2221),d=r(4410),p=r(2492),f=r(5744),h=r(6231),g=r(9503),m=r(3682),v=r(3588),y=r(5969),b=r(5923),w=r(3413),S=r(971),C=r(330),A=r(9245),x=r(2827),k=r(3961),E=r(1859),_=r(3870),I=r(7625),P=r(9332),T=r(9398),B=r(9433),D=r(6652),N=r(7457),R=r(542),O=r(8812),z=r(623),M=r(7536),F=r(9789),L=r(8301),j=r(1716),V=r(2782),H=r(4563),q=r(9730);e.exports={parse:s,valid:l,clean:c,inc:u,diff:d,major:p,minor:f,patch:h,prerelease:g,compare:m,rcompare:v,compareLoose:y,compareBuild:b,sort:w,rsort:S,gt:C,lt:A,eq:x,neq:k,gte:E,lte:_,cmp:I,coerce:P,Comparator:T,Range:B,satisfies:D,toComparators:N,maxSatisfying:R,minSatisfying:O,minVersion:z,validRange:M,outside:F,gtr:L,ltr:j,intersects:V,simplifyRange:H,subset:q,SemVer:o,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},9328:(e,t)=>{"use strict";function r(e){var t=e&&(e.ownerDocument||("[object HTMLDocument]"==Object.prototype.toString.apply(e)?e:null));return t&&(t.defaultView||window)}Object.defineProperty(t,"__esModule",{value:!0}),t.getTargetWindow=void 0,t.getTargetWindow=r,t.default=function(e,t){var n;if("Range"==t)return"[object Range]"==Object.prototype.toString.apply(e)&&!!(null===(n=e)||void 0===n?void 0:n.commonAncestorContainer);var i=r(e),o=i&&i[t],a=window,s=a&&a[t];return s&&e instanceof s||o&&e instanceof o}},9332:(e,t,r)=>{"use strict";const n=r(2306),i=r(8950),{safeRe:o,t:a}=r(6516);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const n=t.includePrerelease?o[a.COERCERTLFULL]:o[a.COERCERTL];let i;for(;(i=n.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),n.lastIndex=i.index+i[1].length+i[2].length;n.lastIndex=-1}else r=e.match(t.includePrerelease?o[a.COERCEFULL]:o[a.COERCE]);if(null===r)return null;const s=r[2],l=r[3]||"0",c=r[4]||"0",u=t.includePrerelease&&r[5]?`-${r[5]}`:"",d=t.includePrerelease&&r[6]?`+${r[6]}`:"";return i(`${s}.${l}.${c}${u}${d}`,t)}},9357:(e,t,r)=>{"use strict";r.d(t,{OI:()=>S,TX:()=>C,h5:()=>B,lg:()=>D,nv:()=>A,q6:()=>w,su:()=>b,z2:()=>y});var n=r(5239),i=r(2081),o=r(5564),a="Data.",s="zC.",l="Release.AudienceGroup",c="App.Name",u="App.Platform",d="App.Version",p="User.PrimaryIdentityHash",f="User.PrimaryIdentitySpace",h="User.TenantId",g="User.IsAnonymous",m="User.IsSignedIn",v="Session.Id",y="f998cc5ba4d448d6a1e8e913ff18be94-dd122e0a-fcf8-4dc5-9dbb-6afac5325183-7405",b="b22a201c3f1d41d28ccc399ba6cc9ca2-1972c77f-1f79-4283-a0f9-b4ddc4646f55-7121",w=void 0;function S(e,t,r,n){var i=!0;if(t)for(var l=function(t){var l=t.classification,c=t.dataType,u=t.name;if(l&&!(4===l||1===l||2===n&&32===l||3===n&&2048===l))return i=!1,"break";if(3===n&&r&&3!==c&&1!==c&&2!==c&&"OTelJS.Version"!==u&&"OTelJS.Sink"!==u)return(0,o.wC)(0,1,(function(){return"DNM: Invalid field type "+u})),i=!1,"break";var d;d=r?u.substr(0,3)===s?s+a+u.substr(3):a+u:u;var p=void 0;switch(c){case 3:p=6;break;case 2:p=4;break;case 4:p=8;break;case 0:return e[d]="string"==typeof t.value?t.value.substr(0,25e3):t.value,"continue";default:return e[d]=t.value,"continue"}var f={value:t.value,propertyType:p};e[d]=f},c=0,u=t;c<u.length&&"break"!==l(u[c]);c++);return i}function C(e,t){try{return e()}catch(e){return(0,o.vV)(1,"1DS Sink",e),t}}function A(e,t){for(var r=function(r){var n=t[r];if(!n.processEvent(e))return(0,o.wC)(2,1,(function(){return"".concat(e.eventName," suppressed by ").concat(n.name)})),{value:!1}},n=0;n<t.length;n++){var i=r(n);if("object"==typeof i)return i.value}return!0}function x(e){(0,o.wC)(0,1,(function(){return"Invalid "+e}))}function k(e){return(0,n.Kg)(e)&&""!==e}function E(e,t){return Object.values(t).includes(e)}function _(e){return E(e,i.OD)}function I(e){return E(e,i.EW)}function P(e){return["MSACID","MSAPUID","OrgIdCID","OrgIdPUID","UserObjectId","Other"].includes(e)}function T(e){return!e||"Other"===e}function B(e,t){var r=!0;function i(t,n){n(e[t])||(x(t),r=!1)}function o(e){return new RegExp("^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",t?"":"i").test(e)}return i(c,k),i(u,t?_:k),i(d,k),i(v,o),t?(i(l,I),i(m,n.Lm),e[m]?(i(p,k),i(f,P),["OrgIdCID","OrgIdPUID","UserObjectId"].includes(e[f])?i(h,o):i(h,n.hX)):(i(f,T),i(h,n.hX))):e[g]||!1===e[m]||(i(p,k),i(f,k),e[h]&&i(h,o)),(0,n.hX)(e[g])||e[m]!==e[g]||(x(g),r=!1),r}function D(e){return e.timestamp?new Date(e.timestamp):new Date}},9369:(e,t,r)=>{"use strict";r.d(t,{j:()=>y});var n=r(1635),i=r(587),o=r(240),a=r(2517),s=r(4874),l=r(5915),c=r(5854),u=r(3473),d=r(5277),p=r(7385),f=r(3508),h=r(8633),g=r(7841);class m{constructor(){}processTimer(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){return(0,s._)().handleEvent(e)}))}processCommand(e){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const t=e.sdkEventMessage.data.func;this.isAllowedToProcess(t,e.sdkEventMessage.data.teamsJsInstanceId);const r=this.selectDelegate(t);if(void 0===r)throw new Error(`No delegate found for functionName: ${t}`);return yield r.handleEvent(e)}))}isAllowedToProcess(e,t){if(void 0!==t)switch(e){case o.tz.initialize:if(!(0,i.X)().isAllowedToProcessInitializeEvent(t))throw(0,g.jC)(a.O4.INTERNAL_ERROR,"Not allowed to process initialize event");break;case o.tz.appInitialization.success:if(!(0,i.X)().isAllowedToProcessNotifySuccessEvent(t))throw(0,g.jC)(a.O4.INTERNAL_ERROR,"Not allowed to process notify success event");break;case o.tz.appInitialization.appLoaded:if(!(0,i.X)().isAllowedToProcessNotifyAppLoadedEvent(t))throw(0,g.jC)(a.O4.INTERNAL_ERROR,"Not allowed to process notify app loaded event");break;case o.tz.appInitialization.failure:if(!(0,i.X)().isAllowedToProcessNotifyFailureEvent(t))throw(0,g.jC)(a.O4.INTERNAL_ERROR,"Not allowed to process notify failure event");break;case o.tz.appInitialization.expectedFailure:if(!(0,i.X)().isAllowedToProcessNotifyExpectedFailureEvent(t))throw(0,g.jC)(a.O4.INTERNAL_ERROR,"Not allowed to process notify expected failure event");break;case o.tz.readyToUnload:if(!(0,i.X)().isAllowedToProcessReadyToUnloadEvent(t))throw(0,g.jC)(a.O4.INTERNAL_ERROR,"Not allowed to process ready to unload event")}}selectDelegate(e){let t;switch(e){case o.tz.initialize:t=(0,c.m)();break;case o.tz.getContext:t=(0,l.z)();break;case o.tz.appInitialization.success:t=(0,f.Y)();break;case o.tz.appInitialization.appLoaded:t=(0,u.X)();break;case o.tz.readyToUnload:t=(0,h.F)();break;case o.tz.appInitialization.failure:t=(0,p.j)();break;case o.tz.appInitialization.expectedFailure:t=(0,d.L)()}return t}}class v{constructor(){}static getInstance(){return v.instance||(v.instance=new m),v.instance}}function y(){return v.getInstance()}},9377:(e,t,r)=>{"use strict";r.d(t,{_:()=>p});var n=r(9813),i=r(8207),o=r(5188),a=r(5872),s=r(2129),l=r(5239),c=r(9666),u=r(4386),d=r(7938),p=function(e){function t(){var r=e.call(this)||this;return(0,i.A)(t,r,(function(e,t){function r(t){var r=e[o.RF]();r&&r[c.Yp]([t],2)}e[o.mE]=function(e,r,n,i){t[o.mE](e,r,n||new s.wq(e),i||new u.h(e))},e.track=function(n){(0,d.r2)(e[c.kI](),(function(){return"AppInsightsCore:track"}),(function(){null===n&&(r(n),(0,l.$8)("Invalid telemetry item")),function(e){(0,l.hX)(e[o.RS])&&(r(e),(0,l.$8)("telemetry name required"))}(n),t.track(n)}),(function(){return{item:n}}),!n.sync)}})),r}return(0,n.qU)(t,e),t.__ieDyn=1,t}(a.F)},9397:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5516),i=r.n(n),o=r(1364),a=r.n(o)()(i());a.push([e.id,"body {\n  margin: 0;\n}\n\n#outlookAppHostRoot {\n  display: flex;\n  flex-direction: column;\n  height: 100vh;\n}","",{version:3,sources:["webpack://./src/styles.css"],names:[],mappings:"AAAA;EACE,SAAS;AACX;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,aAAa;AACf",sourcesContent:["body {\r\n  margin: 0;\r\n}\r\n\r\n#outlookAppHostRoot {\r\n  display: flex;\r\n  flex-direction: column;\r\n  height: 100vh;\r\n}"],sourceRoot:""}]);const s=a},9398:(e,t,r)=>{"use strict";const n=Symbol("SemVer ANY");class i{static get ANY(){return n}constructor(e,t){if(t=o(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new u(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):!((t=o(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=i;const o=r(6633),{safeRe:a,t:s}=r(6516),l=r(7625),c=r(6286),u=r(2306),d=r(9433)},9408:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});const n=new class{constructor(){this.listeners=new Map}addListener(e,t){var r;this.listeners.has(e)||this.listeners.set(e,new Set),null===(r=this.listeners.get(e))||void 0===r||r.add(t)}removeListener(e,t){var r;null===(r=this.listeners.get(e))||void 0===r||r.delete(t)}dispatch(e){const t=this.listeners.get(e);t&&t.forEach((e=>e()))}}},9428:(e,t,r)=>{"use strict";r.d(t,{It:()=>N,d5:()=>C,gi:()=>_,um:()=>k,xN:()=>E});var n=r(5188),i=r(2129),o=r(8374),a=r(5239),s=r(9666),l="toGMTString",c="toUTCString",u="cookie",d="expires",p="enabled",f="isCookieUseDisabled",h="disableCookiesUsage",g="_ckMgr",m=null,v=null,y=null,b=(0,o.YE)(),w={},S={};function C(e,t){var r=E[g]||S[g];return r||(r=E[g]=E(e,t),S[g]=r),r}function A(e){return!e||e.isEnabled()}function x(e,t){return!!(t&&e&&(0,a.cy)(e.ignoreCookies))&&-1!==e.ignoreCookies[n.Sj](t)}function k(e,t){var r;if(e)r=e.getCookieMgr();else if(t){var i=t[n.lK];r=i[g]?i[g]:E(t)}return r||(r=C(t,(e||{})[n.Uw])),r}function E(e,t){var r,i=function(e){var t=e[n.lK]=e[n.lK]||{};if((0,a.KY)(t,"domain",e.cookieDomain,a.Gh,a.hX),(0,a.KY)(t,"path",e.cookiePath||"/",null,a.hX),(0,a.hX)(t[p])){var r=void 0;(0,a.b0)(e[f])||(r=!e[f]),(0,a.b0)(e[h])||(r=!e[h]),t[p]=r}return t}(e||S),u=i.path||"/",m=i.domain,y=!1!==i[p],b=((r={isEnabled:function(){var e=y&&_(t),r=S[g];return e&&r&&b!==r&&(e=A(r)),e}})[n.kt]=function(e){y=!1!==e},r.set=function(e,t,r,p,f){var h=!1;if(A(b)&&!function(e,t){return!!(t&&e&&(0,a.cy)(e.blockedCookies)&&-1!==e.blockedCookies[n.Sj](t))||x(e,t)}(i,e)){var g={},y=(0,a.EH)(t||s.m5),w=y[n.Sj](";");if(-1!==w&&(y=(0,a.EH)(t[n.Re](0,w)),g=I(t[n.Re](w+1))),(0,a.KY)(g,"domain",p||m,a.zz,a.b0),!(0,a.hX)(r)){var S=(0,o.lT)();if((0,a.b0)(g[d])){var C=(0,a.x3)()+1e3*r;if(C>0){var k=new Date;k.setTime(C),(0,a.KY)(g,d,P(k,S?l:c)||P(k,S?l:c)||s.m5,a.zz)}}S||(0,a.KY)(g,"max-age",s.m5+r,null,a.b0)}var E=(0,o.g$)();E&&"https:"===E.protocol&&((0,a.KY)(g,"secure",null,null,a.b0),null===v&&(v=!N(((0,o.w3)()||{})[n.tX])),v&&(0,a.KY)(g,"SameSite","None",null,a.b0)),(0,a.KY)(g,"path",f||u,null,a.b0),(i.setCookie||D)(e,T(y,g)),h=!0}return h},r.get=function(e){var t=s.m5;return A(b)&&!x(i,e)&&(t=(i.getCookie||B)(e)),t},r.del=function(e,t){var r=!1;return A(b)&&(r=b.purge(e,t)),r},r.purge=function(e,r){var n,a=!1;if(_(t)){var l=((n={}).path=r||"/",n[d]="Thu, 01 Jan 1970 00:00:01 GMT",n);(0,o.lT)()||(l["max-age"]="0"),(i.delCookie||D)(e,T(s.m5,l)),a=!0}return a},r);return b[g]=b,b}function _(e){if(null===m){m=!1;try{m=void 0!==(b||{})[u]}catch(t){(0,i.ZP)(e,2,68,"Cannot access document.cookie - "+(0,a.lL)(t),{exception:(0,o.mm)(t)})}}return m}function I(e){var t={};if(e&&e[n.oI]){var r=(0,a.EH)(e)[n.sY](";");(0,a.Iu)(r,(function(e){if(e=(0,a.EH)(e||s.m5)){var r=e[n.Sj]("=");-1===r?t[e]=null:t[(0,a.EH)(e[n.Re](0,r))]=(0,a.EH)(e[n.Re](r+1))}}))}return t}function P(e,t){return(0,a.Tn)(e[t])?e[t]():null}function T(e,t){var r=e||s.m5;return(0,a.z)(t,(function(e,t){r+="; "+e+((0,a.hX)(t)?s.m5:"="+t)})),r}function B(e){var t=s.m5;if(b){var r=b[u]||s.m5;y!==r&&(w=I(r),y=r),t=(0,a.EH)(w[e]||s.m5)}return t}function D(e,t){b&&(b[u]=e+"="+t)}function N(e){return!(!(0,a.Kg)(e)||!(0,a.Ju)(e,"CPU iPhone OS 12")&&!(0,a.Ju)(e,"iPad; CPU OS 12")&&!((0,a.Ju)(e,"Macintosh; Intel Mac OS X 10_14")&&(0,a.Ju)(e,"Version/")&&(0,a.Ju)(e,"Safari"))&&(!(0,a.Ju)(e,"Macintosh; Intel Mac OS X 10_14")||!(0,a.Cv)(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!(0,a.Ju)(e,"Chrome/5")&&!(0,a.Ju)(e,"Chrome/6")&&(!(0,a.Ju)(e,"UnrealEngine")||(0,a.Ju)(e,"Chrome"))&&!(0,a.Ju)(e,"UCBrowser/12")&&!(0,a.Ju)(e,"UCBrowser/11"))}},9433:(e,t,r)=>{"use strict";const n=/\s+/g;class i{constructor(e,t){if(t=a(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(n," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!v(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&y(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&g)|(this.options.loose&&m))+":"+e,r=o.get(t);if(r)return r;const n=this.options.loose,i=n?u[d.HYPHENRANGELOOSE]:u[d.HYPHENRANGE];e=e.replace(i,T(this.options.includePrerelease)),l("hyphen replace",e),e=e.replace(u[d.COMPARATORTRIM],p),l("comparator trim",e),e=e.replace(u[d.TILDETRIM],f),l("tilde trim",e),e=e.replace(u[d.CARETTRIM],h),l("caret trim",e);let a=e.split(" ").map((e=>w(e,this.options))).join(" ").split(/\s+/).map((e=>P(e,this.options)));n&&(a=a.filter((e=>(l("loose invalid filter",e,this.options),!!e.match(u[d.COMPARATORLOOSE]))))),l("range list",a);const c=new Map,y=a.map((e=>new s(e,this.options)));for(const e of y){if(v(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const b=[...c.values()];return o.set(t,b),b}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((r=>b(r,t)&&e.set.some((e=>b(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(B(this.set[t],e,this.options))return!0;return!1}}e.exports=i;const o=new(r(3560)),a=r(6633),s=r(9398),l=r(6286),c=r(2306),{safeRe:u,t:d,comparatorTrimReplace:p,tildeTrimReplace:f,caretTrimReplace:h}=r(6516),{FLAG_INCLUDE_PRERELEASE:g,FLAG_LOOSE:m}=r(504),v=e=>"<0.0.0-0"===e.value,y=e=>""===e.value,b=(e,t)=>{let r=!0;const n=e.slice();let i=n.pop();for(;r&&n.length;)r=n.every((e=>i.intersects(e,t))),i=n.pop();return r},w=(e,t)=>(l("comp",e,t),e=x(e,t),l("caret",e),e=C(e,t),l("tildes",e),e=E(e,t),l("xrange",e),e=I(e,t),l("stars",e),e),S=e=>!e||"x"===e.toLowerCase()||"*"===e,C=(e,t)=>e.trim().split(/\s+/).map((e=>A(e,t))).join(" "),A=(e,t)=>{const r=t.loose?u[d.TILDELOOSE]:u[d.TILDE];return e.replace(r,((t,r,n,i,o)=>{let a;return l("tilde",e,t,r,n,i,o),S(r)?a="":S(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:S(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(l("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,l("tilde return",a),a}))},x=(e,t)=>e.trim().split(/\s+/).map((e=>k(e,t))).join(" "),k=(e,t)=>{l("caret",e,t);const r=t.loose?u[d.CARETLOOSE]:u[d.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,i,o,a)=>{let s;return l("caret",e,t,r,i,o,a),S(r)?s="":S(i)?s=`>=${r}.0.0${n} <${+r+1}.0.0-0`:S(o)?s="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(l("replaceCaret pr",a),s="0"===r?"0"===i?`>=${r}.${i}.${o}-${a} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${a} <${+r+1}.0.0-0`):(l("no pr"),s="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),l("caret return",s),s}))},E=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map((e=>_(e,t))).join(" ")),_=(e,t)=>{e=e.trim();const r=t.loose?u[d.XRANGELOOSE]:u[d.XRANGE];return e.replace(r,((r,n,i,o,a,s)=>{l("xRange",e,r,n,i,o,a,s);const c=S(i),u=c||S(o),d=u||S(a),p=d;return"="===n&&p&&(n=""),s=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(u&&(o=0),a=0,">"===n?(n=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===n&&(n="<",u?i=+i+1:o=+o+1),"<"===n&&(s="-0"),r=`${n+i}.${o}.${a}${s}`):u?r=`>=${i}.0.0${s} <${+i+1}.0.0-0`:d&&(r=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`),l("xRange return",r),r}))},I=(e,t)=>(l("replaceStars",e,t),e.trim().replace(u[d.STAR],"")),P=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?d.GTE0PRE:d.GTE0],"")),T=e=>(t,r,n,i,o,a,s,l,c,u,d,p)=>`${r=S(n)?"":S(i)?`>=${n}.0.0${e?"-0":""}`:S(o)?`>=${n}.${i}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=S(c)?"":S(u)?`<${+c+1}.0.0-0`:S(d)?`<${c}.${+u+1}.0-0`:p?`<=${c}.${u}.${d}-${p}`:e?`<${c}.${u}.${+d+1}-0`:`<=${l}`}`.trim(),B=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(l(e[r].semver),e[r].semver!==s.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},9454:(e,t,r)=>{"use strict";r.d(t,{Cr:()=>c,Xc:()=>d,pI:()=>u,u7:()=>p});var n=r(5188),i=r(810),o=r(5239),a=r(9666),s=r(4202),l=(0,i.T)("plugin");function c(e){return l.get(e,"state",{},!0)}function u(e,t){for(var r,i=[],s=null,l=e[n.uR]();l;){var u=l[n.AP]();u&&(s&&(0,o.Tn)(s[n.YH])&&(0,o.Tn)(u[a.qT])&&s[n.YH](u),((0,o.Tn)(u[n.tZ])?u[n.tZ]():(r=c(u))[n.tZ])||i[n.y5](u),s=u,l=l[n.uR]())}(0,o.Iu)(i,(function(i){var o=e[a.eT]();i[n.mE](e.getCfg(),o,t,e[n.uR]()),r=c(i),i[a.eT]||r[a.eT]||(r[a.eT]=o),r[n.tZ]=!0,delete r[n.Ik]}))}function d(e){return e.sort((function(e,t){var r=0;if(t){var n=(0,o.Tn)(t[a.qT]);(0,o.Tn)(e[a.qT])?r=n?e[a.Vo]-t[a.Vo]:1:n&&(r=-1)}else r=e?1:-1;return r}))}function p(e){var t={};return{getName:function(){return t[n.RS]},setName:function(r){e&&e.setName(r),t[n.RS]=r},getTraceId:function(){return t[n.P5]},setTraceId:function(r){e&&e.setTraceId(r),(0,s.hX)(r)&&(t[n.P5]=r)},getSpanId:function(){return t[n.wi]},setSpanId:function(r){e&&e.setSpanId(r),(0,s.wN)(r)&&(t[n.wi]=r)},getTraceFlags:function(){return t[n.Rr]},setTraceFlags:function(r){e&&e.setTraceFlags(r),t[n.Rr]=r}}}},9503:(e,t,r)=>{"use strict";const n=r(8950);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},9544:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(8976);const i={personal:"Personal",chat:"Chat",channel:"Channel",meeting:"Meeting"};function o(e){if(e.frameContext===n.E2.sidePanel||e.frameContext===n.E2.meetingStage||e.frameContext===n.E2.content)return e.meetingId?i.meeting:e.chatId?i.chat:e.channelId?i.channel:i.personal}},9561:(e,t,r)=>{"use strict";r.d(t,{Dz:()=>a,Up:()=>l,vJ:()=>s});var n=r(240),i=r(5041),o=r(9802);function a(e){return void 0!==e&&n.mP.has(e)&&!(0,o.eZ)().disableDebuggingTelemetryToAria}function s(e,t){return i.kh.has(e)&&!a(t)}const l=new Map([["api.appInitialization.initialize",n.tz.initialize],["api.appInitialization.appLoaded",n.tz.appInitialization.appLoaded],["api.appInitialization.success",n.tz.appInitialization.success],["api.appInitialization.failure",n.tz.appInitialization.failure],["api.appInitialization.expectedFailure",n.tz.appInitialization.expectedFailure]])},9577:(e,t,r)=>{"use strict";r.d(t,{EO:()=>b,F2:()=>_,Go:()=>C,H$:()=>I,Hh:()=>w,TC:()=>S,WB:()=>x,X$:()=>A,u9:()=>k,xE:()=>f,yD:()=>y});var n,i=r(5454),o=r(7037),a=r(3452),s=r(5239),l=r(2771),c=r(8374),u=r(9428),d=r(90),p=r(8622),f="1DS-Web-JS-3.2.18",h="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",g="withCredentials",m="timeout",v=((n={})[0]=0,n[2]=6,n[1]=1,n[3]=7,n[4098]=6,n[4097]=1,n[4099]=7,n);function y(e){return!(e===p.m5||(0,s.hX)(e))}function b(e){if(e){var t=e.indexOf("-");if(t>-1)return e.substring(0,t)}return p.m5}function w(e){return!!(e&&(0,s.Et)(e)&&e>=1&&e<=4)}function S(e,t,r){if(!t&&!y(t)||"string"!=typeof e)return null;var n=typeof t;if("string"===n||"number"===n||"boolean"===n||(0,s.cy)(t))t={value:t};else if("object"!==n||i.J$.call(t,"value")){if((0,s.hX)(t.value)||t.value===p.m5||!(0,s.Kg)(t.value)&&!(0,s.Et)(t.value)&&!(0,s.Lm)(t.value)&&!(0,s.cy)(t.value))return null}else t={value:r?JSON.stringify(t):t};if((0,s.cy)(t.value)&&!(t.value.length>0))return null;if(!(0,s.hX)(t.kind)){if((0,s.cy)(t.value)||!function(e){return 0===e||e>0&&e<=13||32===e}(t.kind))return null;t.value=t.value.toString()}return t}function C(e,t,r){var n=-1;if(!(0,s.b0)(e))if(t>0&&(32===t?n=8192:t<=13&&(n=t<<5)),function(e){return e>=0&&e<=9}(r))-1===n&&(n=0),n|=r;else{var i=v[E(e)]||-1;-1!==n&&-1!==i?n|=i:6===i&&(n=i)}return n}function A(e,t,r,n,o){var a={},l=!1,c=0,u=arguments.length,d=arguments;for("[object Boolean]"===Object[i.vR].toString.call(d[0])&&(l=d[0],c++);c<u;c++)e=d[c],(0,s.z)(e,(function(e,t){l&&t&&(0,s.Gv)(t)?(0,s.cy)(t)?(a[e]=a[e]||[],(0,s.Iu)(t,(function(t,r){t&&(0,s.Gv)(t)?a[e][r]=A(!0,a[e][r],t):a[e][r]=t}))):a[e]=A(!0,a[e],t):a[e]=t}));return a}Boolean((0,c.YE)()),Boolean((0,c.zk)());var x=a.UU;function k(e,t){var r=e;r.timings=r.timings||{},r.timings.processTelemetryStart=r.timings.processTelemetryStart||{},r.timings.processTelemetryStart[t]=x()}function E(e){var t=0;if(null!=e){var r=typeof e;"string"===r?t=1:"number"===r?t=2:"boolean"===r?t=3:r===i._1&&(t=4,(0,s.cy)(e)?(t=4096,e.length>0&&(t|=E(e[0]))):i.J$.call(e,"value")&&(t=8192|E(e.value)))}return t}function _(){return!!(0,c.EH)("chrome")}function I(e,t,r,n,i,o){function a(e,t,r){try{e[t]=r}catch(e){}}void 0===n&&(n=!1),void 0===i&&(i=!1);var s=new XMLHttpRequest;return n&&a(s,h,n),r&&a(s,g,r),s.open(e,t,!i),r&&a(s,g,r),!i&&o&&a(s,m,o),s}i.bA,i._1,i.bA,s.Iu,s.rD,s.W$,s.KT,s.cG,s._u,c.lV,s.Kg,s.Et,s.Lm,s.Tn,s.cy,s.Gv,s.EH,c.Uf,s._u,c.PV,u.gi,u.It,s.r,l.ee,l.So,s.Cv,s.z,s.Ed,s.b0,s.hX,s.mQ,s.Tn,s.Gv,s.$P,s.cy,s.bJ,s.Kg,s.Et,s.Lm,s._u,s.Iu,s.rD,s.W$,s.KT,s.EH,d.AQ,s.cG,s.r,l.So,s.x3,c.lT,a.aq,a.UU,o.Si,o.Z1,o.VN,o.yc,o.k5,a.cL},9587:(e,t,r)=>{"use strict";r.d(t,{D$:()=>c,FL:()=>l});var n=r(1635),i=r(6997),o=r(6172),a=r(5564),s=r(1797);function l(e,t){var r=e.httpXHROverride,i={instrumentationKey:t,endpointUrl:e.endpointUrl,channelConfiguration:{eventsLimitInMem:e.eventsLimitInMem,httpXHROverride:r,autoFlushEventsLimit:e.autoFlushEventsLimit,setTimeoutOverride:e.setTimeoutOverride,clearTimeoutOverride:e.clearTimeoutOverride,ignoreMc1Ms0CookieProcessing:!0,disableOptimizeObj:!0},enableWParam:!r,disableCookiesUsage:!0,extensionConfig:(0,n.__assign)({},e.extensionConfig)};e.stats&&e.stats.networkStats&&i.channelConfiguration&&(i.channelConfiguration.payloadListener=function(t,r){var n,i=r||t;i.data&&(null===(n=e.stats)||void 0===n||n.networkStats(i.data.length))});var o=new u;return o.initialize(i,e.plugins),o.setUploadFrequency(e.uploadFrequency),e.notificationListener&&o.addNotificationListener(e.notificationListener),e.stats&&o.setPerfMgr(new s.N(e.stats)),o}var c=function(e,t){t&&t.addNotificationListener({eventsSent:function(t){(0,a.wC)(2,2,(function(){return"Successfully sent ".concat(t.length," event(s)")})),(0,a.wC)(3,2,(function(){return"Sent event(s) details : ".concat(JSON.stringify(t,null,2))})),e.eventsSent+=t.length},eventsDiscarded:function(t,r){(0,a.wC)(0,2,(function(){return"Discarded ".concat(t.length," event(s) because ").concat(r)})),(0,a.wC)(3,2,(function(){return"Discarded event(s) details : ".concat(JSON.stringify(t,null,2))})),e.eventsDiscarded+=t.length}})},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.__extends)(t,e),t.prototype.initialize=function(t,r){this._postChannel=new o.A;var i=null!=r?r:[];t.channels=[[this._postChannel]],t.extensionConfig=t.extensionConfig||[],t.extensionConfig[this._postChannel.identifier]=(0,n.__assign)((0,n.__assign)({},t.channelConfiguration),t.extensionConfig[this._postChannel.identifier]);try{e.prototype.initialize.call(this,t,i)}catch(e){this.logger.warnToConsole("Failed to initialize SDK."+e)}},t.prototype.setUploadFrequency=function(e){if(this._postChannel&&e){var t=e/1e3,r=t/2,n={};n.OTelCustomTransmissionProfile=[t,r],this._postChannel._loadTransmitProfiles(n),this._postChannel._setTransmitProfile("OTelCustomTransmissionProfile")}},t.prototype.flush=function(e){this._postChannel&&this._postChannel.flush(e)},t.prototype.shutdown=function(){this._postChannel&&this._postChannel.teardown()},t}(i.A)},9591:(e,t,r)=>{"use strict";r.d(t,{S:()=>n});const n={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"}},9620:(e,t,r)=>{"use strict";r.d(t,{J:()=>p});var n=r(3920);const i=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce(((e,t,r)=>(e[t]=r,e)),{});function o(e,t,r,o,a={}){var s,l;const c="m"===e,u=null!==(s=a.m)&&void 0!==s?s:"0",d=null!==(l=a.p)&&void 0!==l?l:0,p=function(e,t,r){return("m"===e?e+t:e)+r}(e,u,d);if(!o.stylesheets[p]){const s=t&&t.createElement("style"),l=function(e,t,r,i){const o=[];if(i[n.ed]=t,i[n.EJ]=String(r),e)for(const t in i)e.setAttribute(t,i[t]);return{elementAttributes:i,insertRule:function(t){return(null==e?void 0:e.sheet)?e.sheet.insertRule(t,e.sheet.cssRules.length):o.push(t)},element:e,bucketName:t,cssRules:()=>(null==e?void 0:e.sheet)?Array.from(e.sheet.cssRules).map((e=>e.cssText)):o}}(s,e,d,Object.assign({},o.styleElementAttributes,c&&{media:u}));o.stylesheets[p]=l,t&&s&&t.head.insertBefore(s,function(e,t,r,o,a={}){var s,l;const c=i[r],u=null!==(s=a.m)&&void 0!==s?s:"",d=null!==(l=a.p)&&void 0!==l?l:0;let p=e=>c-i[e.getAttribute(n.ed)],f=e.head.querySelectorAll(`[${n.ed}]`);if("m"===r){const t=e.head.querySelectorAll(`[${n.ed}="${r}"]`);t.length&&(f=t,p=e=>o.compareMediaQueries(u,e.media))}const h=f.length;let g=h-1;for(;g>=0;){const e=f.item(g);if((function(e,t,r){var i,o;return t+(null!==(i=r.m)&&void 0!==i?i:"")===e.getAttribute(n.ed)+(null!==(o=e.media)&&void 0!==o?o:"")}(m=e,r,a)?d-Number(m.getAttribute("data-priority")):p(m))>0)return e.nextSibling;g--}var m;return h>0?f.item(0):t?t.nextSibling:null}(t,r,e,o,a))}return o.stylesheets[p]}function a(e,t){try{e.insertRule(t)}catch(e){}}let s=0;const l=(e,t)=>e<t?-1:e>t?1:0;function c(e=("undefined"==typeof document?void 0:document),t={}){const{classNameHashSalt:r,unstable_filterCSSRule:n,insertionPoint:i,styleElementAttributes:c,compareMediaQueries:u=l}=t,d={classNameHashSalt:r,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:"d"+s++,insertCSSRules(t){for(const s in t){const l=t[s];for(let t=0,c=l.length;t<c;t++){const[c,u]=(r=l[t],Array.isArray(r)?r:[r]),p=o(s,e,i||null,d,u);d.insertionCache[c]||(d.insertionCache[c]=s,n?n(c)&&a(p,c):a(p,c))}}var r}};return d}var u=r(7810);const d=u.createContext(c());function p(){return u.useContext(d)}},9632:(e,t,r)=>{"use strict";function n(e){let t="";return e.width&&e.height&&(t=`width=${e.width},height=${e.height}`,void 0!==e.left&&void 0!==e.top&&(t=`${t},left=${e.left},top=${e.top}`)),t}r.d(t,{F:()=>i,v:()=>n});class i extends Error{constructor(e,t){super(e),this.failureReason=t,this.message=e,this.name="HubSdkAuthServicesInternalError"}}},9666:(e,t,r)=>{"use strict";r.d(t,{Bw:()=>l,Hr:()=>s,LZ:()=>i,Tj:()=>v,Vo:()=>d,Yd:()=>a,Yp:()=>f,Zi:()=>m,dI:()=>h,eT:()=>o,fc:()=>p,jy:()=>c,kI:()=>y,l0:()=>g,m5:()=>n,qT:()=>u});var n="",i="channels",o="core",a="createPerfMgr",s="disabled",l="extensionConfig",c="extensions",u="processTelemetry",d="priority",p="eventsSent",f="eventsDiscarded",h="eventsSendRequest",g="perfEvent",m="errorToConsole",v="warnToConsole",y="getPerfMgr"},9675:(e,t,r)=>{"use strict";r.d(t,{EY:()=>u,GV:()=>d,di:()=>c});var n=r(1635),i=r(4440),o=r(11),a=r(5564),s=r(930),l=r(3986),c=-1;function u(e){var t={eventName:e.eventName,eventFlags:e.eventFlags||{},telemetryProperties:e.telemetryProperties?(0,n.__assign)({},e.telemetryProperties):{},dataFields:e.dataFields?e.dataFields.slice():[],timestamp:e.timestamp||(new Date).getTime()};return e.eventContract&&(t.eventContract={name:e.eventContract.name,dataFields:e.eventContract.dataFields.slice()}),t}var d=function(){function e(e,t,r){var i,o,a;this.telemetrySinks=[],this.persistentDataFields=[],this.partAFields=[],this.eventQueue=[],this.config=r||{},e&&(this.telemetrySinks=e.telemetrySinks,(i=this.persistentDataFields).push.apply(i,e.persistentDataFields),this.config=(0,n.__assign)((0,n.__assign)({},e.getConfig()),this.config),(o=this.partAFields).push.apply(o,e.partAFields)),t&&(a=this.persistentDataFields).push.apply(a,t)}return e.prototype.addEventContentType=function(e,t){e.push((0,l.Ug)("EventContent.Type",t))},e.prototype.sendTelemetryEvent=function(e){var t=u(e),r=t.telemetryProperties;r.nexusTenantToken=c;var n=r.ariaTenantToken;n||(0,i.CN)(t.eventName,r)||n?this.sendTelemetryEventInternal(t,1):(0,a.wC)(0,0,(function(){return"No tenant token: "+e.eventName}))},e.prototype.sendNonStandardEvent=function(e,t){var r=u(e);this.sendTelemetryEventInternal(r,t)},e.prototype.sendCustomerContent=function(e){var t=u(e),r=t.telemetryProperties,n=r.customerContentVersion;return(!n||n>2)&&(r.customerContentVersion=2),r.ariaTenantToken=void 0,r.nexusTenantToken=void 0,r.dnmToken=void 0,this.addEventContentType(t.dataFields,2),this.sendTelemetryEventInternal(t,2)},e.prototype.sendDirectNumericEvent=function(e){var t=u(e),r=t.telemetryProperties;r.dnmToken||(0,i.CN)(t.eventName,r)||r.dnmToken?(this.addEventContentType(t.dataFields,1),this.sendTelemetryEventInternal(t,3)):(0,a.wC)(0,0,(function(){return"No dnm token: "+t.eventName}))},e.prototype.sendTelemetryEventInternal=function(e,t){if(2===t||!e.telemetryProperties.customerContentVersion&&!e.telemetryProperties.customerContentType){try{if(0===this.telemetrySinks.length)return void(this.config.enableQueue&&this.eventQueue.length<1e3?this.eventQueue.push([e,t]):(0,a.wC)(1,0,(function(){return"No telemetry sinks are attached."})));this.processTelemetryEvent(e,t)}catch(e){return void(0,a.vV)(0,"SendTelemetryEvent",e)}this.telemetrySinks.forEach((function(r){try{3===t||2===t?r.sendNonStandardEvent&&r.sendNonStandardEvent(e,t):r.sendTelemetryEvent(e)}catch(e){}}))}else(0,a.wC)(0,0,(function(){return"Customer content"}))},e.prototype.processTelemetryEvent=function(e,t){var r,n,i;if(e.dataFields&&(null===(i=e.dataFields)||void 0===i||i.unshift((0,l.m9)("OTelJS.Version",s.K)),3!==t&&this.persistentDataFields&&(r=e.dataFields).unshift.apply(r,this.persistentDataFields)),this.partAFields.length>0){var a=e.eventContract||{name:"",dataFields:[]};(n=a.dataFields).push.apply(n,this.partAFields),e.eventContract=a}this.config.disableValidation||(0,o.Q)(e)},e.prototype.addSink=function(e){this.telemetrySinks.push(e),this.flushQueue()},e.prototype.flushQueue=function(){var e=this.eventQueue;if(this.eventQueue=[],this.telemetrySinks.length>0)for(var t=0,r=e;t<r.length;t++){var n=r[t],i=n[0],o=n[1];this.sendTelemetryEventInternal(i,o)}},e.prototype.setTenantToken=function(e,t,r){(0,i.Zi)(e,{ariaTenantToken:t,nexusTenantToken:r})},e.prototype.setDNMToken=function(e,t){(0,i.Zi)(e,{dnmToken:t})},e.prototype.cloneEvent=function(e){return u(e)},e.prototype.getConfig=function(){return this.config},e}()},9688:e=>{e.exports="data:image/svg+xml,%3csvg width='280' height='280' viewBox='0 0 280 280' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0)'%3e %3cpath d='M182.823 243.2H156.532C155.133 243.2 153.996 242.07 153.996 240.68C153.996 239.29 155.133 238.16 156.532 238.16H182.823C184.222 238.16 185.359 239.29 185.359 240.68C185.359 242.07 184.222 243.2 182.823 243.2Z' fill='%23797673'/%3e %3cpath d='M185.379 203.71L146.58 165.15L164.169 147.67L199.767 183.05C201.538 184.81 201.538 187.66 199.767 189.41L185.379 203.71Z' fill='%23858585'/%3e %3cpath d='M190.893 178.42H176.072L182.531 213.63L176.072 232.95H179.382C191.295 232.95 200.944 223.35 200.944 211.52V188.42C200.944 182.89 196.447 178.42 190.893 178.42Z' fill='%23858585'/%3e %3cpath d='M174.784 90.9999H207.293V90.6399C207.293 87.8599 205.029 85.6099 202.232 85.6099H174.784V90.9999Z' fill='%23989898'/%3e %3cpath d='M159.48 51.96H174.774V117.93L105.679 143.51V105.42C105.689 75.9 129.777 51.96 159.48 51.96Z' fill='%23858585'/%3e %3cpath d='M119.232 122.43C83.3219 122.43 54.203 151.37 54.203 187.06V243.15H150.394L174.784 117.93L119.232 122.43Z' fill='url(%23paint0_radial)'/%3e %3cpath d='M191.074 80.33V82.21C191.074 83.55 190.983 84.87 190.802 86.17C190.681 87.05 190.51 87.92 190.309 88.77C188.649 95.8 184.383 101.83 178.567 105.8C178.054 106.15 177.521 106.49 176.987 106.8C175.508 107.68 173.928 108.43 172.288 109.03C170.145 109.82 167.891 110.36 165.537 110.62C164.48 110.74 163.404 110.8 162.317 110.8H160.426C155.193 110.8 150.303 109.42 146.067 106.99C142.757 105.09 139.869 102.56 137.555 99.56C133.852 94.74 131.659 88.73 131.659 82.22V80.34C131.659 75.82 132.705 71.55 134.587 67.74C136.297 64.28 138.702 61.21 141.59 58.71C141.6 58.69 141.63 58.67 141.65 58.65C143.461 57.11 145.464 55.78 147.617 54.72C147.969 54.55 148.311 54.39 148.663 54.23H148.673C149.78 53.73 150.937 53.3 152.114 52.95C154.751 52.17 157.528 51.75 160.415 51.75H162.307C168.344 51.75 173.939 53.59 178.567 56.75C179.654 57.49 180.68 58.3 181.646 59.19C183.87 61.18 185.771 63.53 187.27 66.13C187.311 66.19 187.351 66.26 187.391 66.32C187.653 66.79 187.904 67.27 188.136 67.74C189.071 69.61 189.796 71.6 190.299 73.67C190.4 74.1 190.49 74.53 190.581 74.97C190.681 75.5 190.772 76.04 190.842 76.58C190.993 77.81 191.074 79.07 191.074 80.33Z' fill='%23858585'/%3e %3cpath d='M151.46 67.74H132.514C132.142 67.74 131.84 67.44 131.84 67.07V56.49C131.85 45.73 140.624 37 151.46 37C151.833 37 152.135 37.3 152.135 37.67V67.08C152.124 67.44 151.823 67.74 151.46 67.74Z' fill='%23858585'/%3e %3cpath d='M180.972 67.74H162.035C161.663 67.74 161.361 67.44 161.361 67.07V56.49C161.361 45.73 170.145 37 180.972 37C181.344 37 181.646 37.3 181.646 37.67V67.08C181.646 67.44 181.344 67.74 180.972 67.74Z' fill='%23858585'/%3e %3cpath d='M168.857 117.93V91H149.881C139.396 91 130.904 99.44 130.904 109.86C130.904 120.28 139.396 128.72 149.881 128.72C151.118 128.72 152.125 129.72 152.125 130.95V243.14H153.272L174.784 117.92H168.857V117.93Z' fill='%23989898'/%3e %3cpath d='M165.849 86.16C167.171 86.16 168.244 84.5572 168.244 82.58C168.244 80.6028 167.171 79 165.849 79C164.526 79 163.454 80.6028 163.454 82.58C163.454 84.5572 164.526 86.16 165.849 86.16Z' fill='%2333312D'/%3e %3cpath d='M184.996 86.16C186.319 86.16 187.391 84.5572 187.391 82.58C187.391 80.6028 186.319 79 184.996 79C183.674 79 182.602 80.6028 182.602 82.58C182.602 84.5572 183.674 86.16 184.996 86.16Z' fill='%2333312D'/%3e %3cpath d='M146.46 243.15H129.063L118.84 174.24L137.484 167.46L152.124 174.31L146.46 243.15Z' fill='%23858585'/%3e %3cpath d='M126.779 227.21H147.094C155.968 227.21 163.172 234.36 163.172 243.19H128.882L126.779 227.21Z' fill='%23989898'/%3e %3cpath d='M181.988 117.93H174.774H148.13V91H207.293V92.78C207.293 106.67 195.964 117.93 181.988 117.93Z' fill='url(%23paint1_radial)'/%3e %3cpath d='M166.07 76.3102H160.858C158.564 76.3102 156.703 74.4602 156.703 72.1802V71.6002C156.703 69.3202 158.564 67.4702 160.858 67.4702H166.07C168.364 67.4702 170.226 69.3202 170.226 71.6002V72.1802C170.226 74.4602 168.364 76.3102 166.07 76.3102Z' fill='%23989898'/%3e %3cpath d='M54.2029 187.06C54.2029 187.06 76.3288 159.94 99.7427 177.19C121.667 193.34 107.037 228.34 107.037 228.34C107.037 228.34 120.581 228.34 121.939 243.15C109.744 243.15 34.7937 243.15 34.7937 243.15L54.3035 215.2L54.2029 187.06Z' fill='url(%23paint2_radial)'/%3e %3cpath d='M207.293 93.6999H206.76C202.564 93.6999 199.173 90.3199 199.173 86.1599V85.6299H203.51C205.603 85.6299 207.303 87.3199 207.303 89.3999V93.6999H207.293Z' fill='%2333312D'/%3e %3cpath d='M30.5275 243.15C47.3874 243.15 61.0551 229.567 61.0551 212.81C61.0551 196.054 47.3874 182.47 30.5275 182.47C13.6676 182.47 0 196.054 0 212.81C0 229.567 13.6676 243.15 30.5275 243.15Z' fill='%23989898'/%3e %3cpath d='M34.7937 243.15C49.5253 243.15 61.4676 231.281 61.4676 216.64C61.4676 201.999 49.5253 190.13 34.7937 190.13C20.0622 190.13 8.11987 201.999 8.11987 216.64C8.11987 231.281 20.0622 243.15 34.7937 243.15Z' fill='url(%23paint3_radial)'/%3e %3cpath d='M53.3477 197.8C53.3477 197.8 67.1625 217.04 55.1991 233.5C45.3989 246.99 22.961 246.16 17.7993 232.11C12.3257 217.22 22.5284 208.79 25.4966 206.16C25.4966 206.16 24.1785 212.99 31.423 213.93C36.313 214.56 44.936 206.02 33.2241 194.21L53.3477 197.8Z' fill='%23858585'/%3e %3cpath d='M151.4 128.66L171.745 136.11L174.784 117.93H137.163L151.4 128.66Z' fill='url(%23paint4_radial)'/%3e %3cpath d='M192.985 76.3102H187.773C185.479 76.3102 183.618 74.4602 183.618 72.1802V71.6002C183.618 69.3202 185.479 67.4702 187.773 67.4702H192.985C195.28 67.4702 197.141 69.3202 197.141 71.6002V72.1802C197.141 74.4602 195.28 76.3102 192.985 76.3102Z' fill='%23989898'/%3e %3cpath d='M203.43 243.21H182.823C181.425 243.21 180.288 242.08 180.288 240.69C180.288 239.3 181.425 238.17 182.823 238.17H203.43C210.946 238.17 217.064 232.78 217.064 225.31V225.13C217.064 217.66 210.946 211.58 203.43 211.58C180.207 211.58 161.311 192.8 161.311 169.72V131.12C161.311 117.03 172.852 105.56 187.029 105.56C201.206 105.56 212.747 117.02 212.747 131.12V136.46C212.747 137.85 211.61 138.98 210.211 138.98C208.813 138.98 207.676 137.85 207.676 136.46V131.12C207.676 119.81 198.419 110.61 187.039 110.61C175.659 110.61 166.402 119.81 166.402 131.12V169.72C166.402 190.02 183.014 206.53 203.44 206.53C213.753 206.53 222.145 214.87 222.145 225.12V225.3C222.135 235.56 213.743 243.21 203.43 243.21Z' fill='%2333312D'/%3e %3cpath d='M276.378 181.83H240.155C238.153 181.83 236.533 180.22 236.533 178.23V120.64C236.533 118.65 238.153 117.04 240.155 117.04H276.378C278.38 117.04 280 118.65 280 120.64V178.23C280 180.22 278.38 181.83 276.378 181.83Z' fill='%2333312D'/%3e %3cpath d='M263.449 146.35H253.095C249.1 146.35 245.85 143.13 245.85 139.15V131.95C245.85 127.98 249.09 124.75 253.095 124.75H263.449C267.443 124.75 270.693 127.97 270.693 131.95V139.15C270.683 143.13 267.443 146.35 263.449 146.35Z' fill='%23797673'/%3e %3cpath d='M263.267 141.53H262.573C261.909 141.53 261.366 140.99 261.366 140.33V130.39C261.366 129.73 261.909 129.19 262.573 129.19H263.267C263.931 129.19 264.475 129.73 264.475 130.39V140.33C264.475 140.99 263.942 141.53 263.267 141.53Z' fill='%2333312D'/%3e %3cpath d='M253.96 141.53H253.266C252.602 141.53 252.059 140.99 252.059 140.33V130.39C252.059 129.73 252.602 129.19 253.266 129.19H253.96C254.624 129.19 255.168 129.73 255.168 130.39V140.33C255.168 140.99 254.624 141.53 253.96 141.53Z' fill='%2333312D'/%3e %3cpath d='M263.449 174.12H253.095C249.1 174.12 245.85 170.9 245.85 166.92V159.72C245.85 155.75 249.09 152.52 253.095 152.52H263.449C267.443 152.52 270.693 155.74 270.693 159.72V166.92C270.683 170.9 267.443 174.12 263.449 174.12Z' fill='%23797673'/%3e %3cpath d='M263.267 169.29H262.573C261.909 169.29 261.366 168.75 261.366 168.09V158.15C261.366 157.49 261.909 156.95 262.573 156.95H263.267C263.931 156.95 264.475 157.49 264.475 158.15V168.09C264.475 168.76 263.942 169.29 263.267 169.29Z' fill='%2333312D'/%3e %3cpath d='M253.96 169.29H253.266C252.602 169.29 252.059 168.75 252.059 168.09V158.15C252.059 157.49 252.602 156.95 253.266 156.95H253.96C254.624 156.95 255.168 157.49 255.168 158.15V168.09C255.168 168.76 254.624 169.29 253.96 169.29Z' fill='%2333312D'/%3e %3cpath d='M188.347 108.13C198.912 108.09 204.587 105.69 204.587 105.69L206.549 101.52H160.908C160.918 101.52 166.935 108.21 188.347 108.13Z' fill='%23989898'/%3e %3cpath d='M209.406 132.79L211.167 132.8C218.039 132.85 223.563 138.42 223.513 145.25L223.443 154.58C223.443 155.27 222.869 155.82 222.185 155.82L198.057 155.65C197.362 155.65 196.809 155.08 196.809 154.4L196.88 145.07C196.93 138.23 202.534 132.74 209.406 132.79Z' fill='%2333312D'/%3e %3cpath d='M216.128 168.12H216.359C217.275 168.13 218.019 167.39 218.029 166.48L218.11 155.78L214.558 155.75L214.478 166.45C214.478 167.38 215.212 168.12 216.128 168.12Z' fill='%23989898'/%3e %3cpath d='M203.701 168.04H203.933C204.848 168.05 205.593 167.31 205.603 166.4L205.684 155.7L202.132 155.67L202.051 166.37C202.051 167.29 202.786 168.03 203.701 168.04Z' fill='%23989898'/%3e %3cpath d='M182.531 213.63L176.072 232.95H179.382C191.295 232.95 200.945 225.63 200.945 213.8L182.531 213.63Z' fill='%23989898'/%3e %3c/g%3e %3cdefs%3e %3cradialGradient id='paint0_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(112.136 224.955) scale(61.6559 61.2771)'%3e %3cstop stop-color='%235E5E5E'/%3e %3cstop offset='0.9582' stop-color='%23858585'/%3e %3c/radialGradient%3e %3cradialGradient id='paint1_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(172.832 120.546) scale(20.3563 20.2313)'%3e %3cstop offset='0.00031407' stop-color='%23656565'/%3e %3cstop offset='1' stop-color='%23989898'/%3e %3c/radialGradient%3e %3cradialGradient id='paint2_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(45.9415 220.353) scale(39.9996 39.7539)'%3e %3cstop stop-color='%235E5E5E'/%3e %3cstop offset='0.9582' stop-color='%23858585'/%3e %3c/radialGradient%3e %3cradialGradient id='paint3_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(17.4382 234.503) scale(39.4077 39.1656)'%3e %3cstop stop-color='%235E5E5E'/%3e %3cstop offset='0.8916' stop-color='%23858585'/%3e %3c/radialGradient%3e %3cradialGradient id='paint4_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(173.346 117.265) rotate(-179.5) scale(21.2237 15.358)'%3e %3cstop offset='0.00031407' stop-color='%23656565'/%3e %3cstop offset='1' stop-color='%23989898'/%3e %3c/radialGradient%3e %3cclipPath id='clip0'%3e %3crect width='280' height='280' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e %3c/svg%3e"},9710:(e,t,r)=>{"use strict";r.d(t,{_R:()=>s,tl:()=>a,zW:()=>o});var n=r(2517),i=r(7841);function o(e,t){a(e,t),s(e,t)}function a(e,t){if(function(e){return/<script[^>]*>[\s\S]*?<\/script[^>]*>/gi.test(e)}(e)||!function(e){for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r<32||r>126)return!1}return!0}(e))throw null!=t?t:(0,i.jC)(n.O4.INVALID_ARGUMENTS,"App ID is not valid.")}function s(e,t){if(!function(e){return e.length<256&&e.length>4}(e))throw null!=t?t:(0,i.jC)(n.O4.INVALID_ARGUMENTS,"App ID is not valid.")}},9730:(e,t,r)=>{"use strict";const n=r(9433),i=r(9398),{ANY:o}=i,a=r(6652),s=r(3682),l=[new i(">=0.0.0-0")],c=[new i(">=0.0.0")],u=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?l:c}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=c}const n=new Set;let i,u,f,h,g,m,v;for(const t of e)">"===t.operator||">="===t.operator?i=d(i,t,r):"<"===t.operator||"<="===t.operator?u=p(u,t,r):n.add(t.semver);if(n.size>1)return null;if(i&&u){if(f=s(i.semver,u.semver,r),f>0)return null;if(0===f&&(">="!==i.operator||"<="!==u.operator))return null}for(const e of n){if(i&&!a(e,String(i),r))return null;if(u&&!a(e,String(u),r))return null;for(const n of t)if(!a(e,String(n),r))return!1;return!0}let y=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver,b=!(!i||r.includePrerelease||!i.semver.prerelease.length)&&i.semver;y&&1===y.prerelease.length&&"<"===u.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,i)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if(h=d(i,e,r),h===e&&h!==i)return!1}else if(">="===i.operator&&!a(i.semver,String(e),r))return!1;if(u)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(g=p(u,e,r),g===e&&g!==u)return!1}else if("<="===u.operator&&!a(u.semver,String(e),r))return!1;if(!e.operator&&(u||i)&&0!==f)return!1}return!(i&&m&&!u&&0!==f||u&&v&&!i&&0!==f||b||y)},d=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;e:for(const n of e.set){for(const e of t.set){const t=u(n,e,r);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},9755:(e,t,r)=>{"use strict";r.d(t,{v:()=>o});var n={},i=void 0;try{i=window}catch(e){}function o(e,t){if(void 0!==i){var r=i.__packages__=i.__packages__||{};r[e]&&n[e]||(n[e]=t,(r[e]=r[e]||[]).push(t))}}o("@fluentui/set-version","6.0.0")},9784:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},a=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.CarouselEvent=t.Carousel=t.CarouselPage=void 0;var s=r(5396),l=r(1050),c=r(5804),u=r(1217),d=r(1050),p=r(2378),f=r(4979),h=r(345),g=r(3771),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.remove(s.Container.styleProperty),t.remove(s.Container.bleedProperty),t.remove(s.Container.isVisibleProperty)},t.prototype.internalRender=function(){var t=document.createElement("div");t.className=this.hostConfig.makeCssClassName("swiper-slide"),this.rtl=this.isRtl();var r=e.prototype.internalRender.call(this);return h.appendChild(t,r),t},t.prototype.getForbiddenActionTypes=function(){return[s.ShowCardAction,s.ToggleVisibilityAction]},t.prototype.getForbiddenChildElements=function(){return this.forbiddenChildElements()},t.prototype.forbiddenChildElements=function(){return a([s.ToggleVisibilityAction.JsonTypeName,s.ShowCardAction.JsonTypeName,"Media","ActionSet","Input.Text","Input.Date","Input.Time","Input.Number","Input.ChoiceSet","Input.Toggle","Carousel"],e.prototype.forbiddenChildElements.call(this),!0)},t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this.setShouldFallback(!1)},t.prototype.shouldSerialize=function(e){return!0},t.prototype.getJsonTypeName=function(){return"CarouselPage"},Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasVisibleSeparator",{get:function(){return!1},enumerable:!1,configurable:!0}),t}(s.Container);t.CarouselPage=m;var v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.carouselLoop=!0,t.carouselOrientation=l.Orientation.Horizontal,t._pages=[],t._currentIndex=0,t._previousEventType=l.CarouselInteractionEvent.Pagination,t}return i(t,e),t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.remove(s.Container.styleProperty),t.remove(s.Container.bleedProperty),t.remove(s.Container.isVisibleProperty)},Object.defineProperty(t.prototype,"timer",{get:function(){var e=this.getValue(t.timerProperty);return e&&e<this.hostConfig.carousel.minAutoplayDelay&&(console.warn(p.Strings.errors.tooLittleTimeDelay),e=this.hostConfig.carousel.minAutoplayDelay),e},set:function(e){e&&e<this.hostConfig.carousel.minAutoplayDelay?(console.warn(p.Strings.errors.tooLittleTimeDelay),this.setValue(t.timerProperty,this.hostConfig.carousel.minAutoplayDelay)):this.setValue(t.timerProperty,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"initialPageIndex",{get:function(){return this.getValue(t.initialPageProperty)},set:function(e){this.isValidParsedPageIndex(e)?this.setValue(t.initialPageProperty,e):(console.warn(p.Strings.errors.invalidInitialPageIndex(e)),this.setValue(t.initialPageProperty,0))},enumerable:!1,configurable:!0}),t.prototype.isValidParsedPageIndex=function(e){return!!this._pages&&this.isValidPageIndex(e,this._pages.length)},t.prototype.isValidRenderedPageIndex=function(e){return!!this._renderedPages&&this.isValidPageIndex(e,this._renderedPages.length)},t.prototype.isValidPageIndex=function(e,t){return t>0&&0<=e&&e<t},Object.defineProperty(t.prototype,"previousEventType",{get:function(){return this._previousEventType},set:function(e){this._previousEventType=e},enumerable:!1,configurable:!0}),t.prototype.forbiddenChildElements=function(){return a([s.ToggleVisibilityAction.JsonTypeName,s.ShowCardAction.JsonTypeName,"Media","ActionSet","Input.Text","Input.Date","Input.Time","Input.Number","Input.ChoiceSet","Input.Toggle"],e.prototype.forbiddenChildElements.call(this),!0)},t.prototype.adjustRenderedElementSize=function(t){e.prototype.adjustRenderedElementSize.call(this,t),"stretch"==this.height&&void 0!==this._containerForAdorners&&(this._containerForAdorners.style.height="100%"),this.carouselHeight&&(this._carouselPageContainer.style.height=this.carouselHeight+"px")},t.prototype.getJsonTypeName=function(){return"Carousel"},t.prototype.getItemCount=function(){return this._pages.length},t.prototype.getItemAt=function(e){return this._pages[e]},t.prototype.addPage=function(e){this._pages.push(e),e.setParent(this)},t.prototype.removeItem=function(e){if(e instanceof m){var t=this._pages.indexOf(e);if(t>=0)return this._pages.splice(t,1),e.setParent(void 0),this.updateLayout(),!0}return!1},t.prototype.getFirstVisibleRenderedItem=function(){var e;return this.renderedElement&&(null===(e=this._renderedPages)||void 0===e?void 0:e.length)>0?this._renderedPages[0]:void 0},t.prototype.getLastVisibleRenderedItem=function(){var e;return this.renderedElement&&(null===(e=this._renderedPages)||void 0===e?void 0:e.length)>0?this._renderedPages[this._renderedPages.length-1]:void 0},Object.defineProperty(t.prototype,"currentPageId",{get:function(){var e,t;if(null===(t=null===(e=this._carousel)||void 0===e?void 0:e.slides)||void 0===t?void 0:t.length)return this._carousel.slides[this._carousel.activeIndex].id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentPageIndex",{get:function(){var e;return null===(e=this._carousel)||void 0===e?void 0:e.realIndex},enumerable:!1,configurable:!0}),t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this._pages=[];var n=t.pages;if(Array.isArray(n))for(var i=0,o=n;i<o.length;i++){var a=o[i],s=this.createCarouselPageInstance(a,r);s&&this._pages.push(s)}this.validateParsing(r)},t.prototype.validateParsing=function(e){this.isValidParsedPageIndex(this.initialPageIndex)||e.logParseEvent(this,l.ValidationEvent.InvalidPropertyValue,p.Strings.errors.invalidInitialPageIndex(this.initialPageIndex))},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r),r.serializeArray(t,"pages",this._pages)},t.prototype.internalRender=function(){var e;if(this._renderedPages=[],!(this._pages.length<=0)){this.validateOrientationProperties();var t=document.createElement("div");t.className=this.hostConfig.makeCssClassName("ac-carousel-card-level-container");var r=document.createElement("div");r.className=this.hostConfig.makeCssClassName("swiper","ac-carousel"),this._carouselPageContainer=r;var n=document.createElement("div");n.className=this.hostConfig.makeCssClassName("ac-carousel-container"),this._containerForAdorners=n,t.appendChild(n);var i=document.createElement("div");i.className=this.hostConfig.makeCssClassName("ac-carousel-navigation"),n.appendChild(i);var o=document.createElement("div");switch(o.className=this.hostConfig.makeCssClassName("swiper-wrapper","ac-carousel-card-container"),o.style.display="flex",this.getEffectiveVerticalContentAlignment()){case l.VerticalAlignment.Top:o.style.alignItems="flex-start";break;case l.VerticalAlignment.Bottom:o.style.alignItems="flex-end";break;default:o.style.alignItems="center"}g.GlobalSettings.useAdvancedCardBottomTruncation&&(o.style.minHeight="-webkit-min-content");var a=document.createElement("div");a.className=this.hostConfig.makeCssClassName("swiper-button-prev");var s=document.createElement("div");s.className=this.hostConfig.makeCssClassName("swiper-button-next"),this.carouselOrientation===l.Orientation.Horizontal?this.updateCssForHorizontalCarousel(a,s):this.updateCssForVerticalCarousel(i,a,s);var c=document.createElement("div");c.className=this.hostConfig.makeCssClassName("swiper-pagination","ac-carousel-pagination"),i.appendChild(a),h.addCancelSelectActionEventHandler(a),i.appendChild(c),h.addCancelSelectActionEventHandler(c),i.appendChild(s),h.addCancelSelectActionEventHandler(s),this.isDesignMode()&&(a.style.zIndex="20",s.style.zIndex="20",c.style.zIndex="20");var u=Math.min(this._pages.length,this.hostConfig.carousel.maxCarouselPages);if(this._pages.length>this.hostConfig.carousel.maxCarouselPages&&console.warn(p.Strings.errors.tooManyCarouselPages),this._pages.length>0)for(var d=0;d<u;d++){var f=this._pages[d],m=this.isElementAllowed(f)?f.render():void 0;null==m||m.classList.add("ac-carousel-page"),null===(e=null==m?void 0:m.children[0])||void 0===e||e.classList.add("ac-carousel-page-container"),m&&(h.appendChild(o,m),this._renderedPages.push(f))}return r.appendChild(o),r.tabIndex=this.isDesignMode()?-1:0,n.appendChild(r),this.rtl=this.isRtl(),this.applyRTL(c),this.isDesignMode()||(this.isValidRenderedPageIndex(this.initialPageIndex)?this._currentIndex=this.initialPageIndex:(console.warn(p.Strings.errors.invalidInitialPageIndex(this.initialPageIndex)),this._currentIndex=0)),this.initializeCarouselControl(r,s,a,c,this.rtl),this._renderedPages.length>0?t:void 0}},t.prototype.applyRTL=function(t){e.prototype.applyRTL.call(this,this._carouselPageContainer),this.rtl&&t.classList.add(this.hostConfig.makeCssClassName("ac-carousel-pagination-rtl"))},t.prototype.validateOrientationProperties=function(){this.carouselHeight||(this.carouselOrientation=l.Orientation.Horizontal)},t.prototype.updateCssForHorizontalCarousel=function(e,t){e.classList.add(this.hostConfig.makeCssClassName("ac-carousel-left")),t.classList.add(this.hostConfig.makeCssClassName("ac-carousel-right"))},t.prototype.updateCssForVerticalCarousel=function(e,t,r){this._containerForAdorners.classList.add(this.hostConfig.makeCssClassName("ac-carousel-container-vertical")),e.classList.add(this.hostConfig.makeCssClassName("ac-carousel-navigation-vertical")),t.classList.add(this.hostConfig.makeCssClassName("ac-carousel-up")),r.classList.add(this.hostConfig.makeCssClassName("ac-carousel-down"))},t.prototype.initializeCarouselControl=function(e,t,r,n,i){var o,a,s,c=this,u=void 0!==i&&i?r:t,d=void 0!==i&&i?t:r,h=l.Orientation.Horizontal===this.carouselOrientation?d:r,g=l.Orientation.Horizontal===this.carouselOrientation?u:t,m={loop:!this.isDesignMode()&&this.carouselLoop,modules:[f.Navigation,f.Pagination,f.Scrollbar,f.A11y,f.History,f.Keyboard],pagination:{el:n,clickable:!0},navigation:{prevEl:h,nextEl:g},a11y:{enabled:!0},keyboard:{enabled:!1,onlyInViewport:!0},direction:this.carouselOrientation===l.Orientation.Horizontal?"horizontal":"vertical",resizeObserver:!1,initialSlide:this._currentIndex};this.timer&&!this.isDesignMode()&&(null===(o=m.modules)||void 0===o||o.push(f.Autoplay),m.autoplay={delay:this.timer,pauseOnMouseEnter:!0});var v=new f.Swiper(e,m);e.addEventListener("mouseenter",(function(e){var t;null===(t=v.autoplay)||void 0===t||t.stop()})),e.addEventListener("mouseleave",(function(e){var t;null===(t=v.autoplay)||void 0===t||t.start()})),v.on("navigationNext",(function(e){c.raiseCarouselEvent(l.CarouselInteractionEvent.NavigationNext)})),v.on("navigationPrev",(function(e){c.raiseCarouselEvent(l.CarouselInteractionEvent.NavigationPrevious)})),v.on("slideChangeTransitionEnd",(function(e){c.currentIndex=e.realIndex,c.raiseCarouselEvent(l.CarouselInteractionEvent.Pagination)})),v.on("autoplay",(function(){c.raiseCarouselEvent(l.CarouselInteractionEvent.Autoplay)})),v.on("paginationRender",(function(e,t){e.pagination.bullets.forEach((function(t,r){t.addEventListener("keypress",(function(t){"Enter"==t.key&&(t.preventDefault(),e.slideTo(r+1))}))}))})),v.on("destroy",(function(){c.destroyResizeObserver()})),r.title=null!==(a=r.ariaLabel)&&void 0!==a?a:p.Strings.defaults.carouselNavigationPreviousTooltip(),t.title=null!==(s=t.ariaLabel)&&void 0!==s?s:p.Strings.defaults.carouselNavigationNextTooltip(),this._carousel=v,this.createResizeObserver()},t.prototype.createCarouselPageInstance=function(e,t){return t.parseCardObject(this,e,this.forbiddenChildElements(),!this.isDesignMode(),(function(e){return e&&"CarouselPage"!==e?void 0:new m}),(function(e,r){t.logParseEvent(void 0,d.ValidationEvent.ElementTypeNotAllowed,p.Strings.errors.elementTypeNotAllowed(e))}))},t.prototype.slideTo=function(e){var t;null===(t=this._carousel)||void 0===t||t.slideTo(e)},Object.defineProperty(t.prototype,"carouselPageContainer",{get:function(){return this._carouselPageContainer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(e){this._currentIndex=e},enumerable:!1,configurable:!0}),t.prototype.createCarouselEvent=function(e){var t;return null!=this.currentPageIndex&&(t=this.getItemAt(this.currentPageIndex).id),new y(e,this.id,t,this.currentPageIndex)},t.prototype.raiseCarouselEvent=function(e){var t=this.parent?this.parent.getRootElement():void 0,r=t&&t.onCarouselEvent?t.onCarouselEvent:s.AdaptiveCard.onCarouselEvent;r&&e==l.CarouselInteractionEvent.Pagination&&r(this.createCarouselEvent(this.previousEventType)),this.previousEventType=e},t.prototype.createResizeObserver=function(){var e,t=this;this.checkIfCarouselInValidStateForResizeEvent()&&(this._observer=new ResizeObserver((function(e){var r,n,i,o,a=null===(r=t._carousel)||void 0===r?void 0:r.width,s=null===(n=t._carousel)||void 0===n?void 0:n.height,l=a,c=s;e.forEach((function(e){var r,n=e.contentBoxSize,i=e.contentRect,o=e.target;o&&o!==(null===(r=t._carousel)||void 0===r?void 0:r.el)||(l=i?i.width:(n[0]||n).inlineSize,c=i?i.height:(n[0]||n).blockSize)})),l===a&&c===s||t.checkIfCarouselInValidStateForResizeEvent()&&(null===(i=t._carousel)||void 0===i||i.emit("beforeResize"),null===(o=t._carousel)||void 0===o||o.emit("resize"))})),this._observer.observe(null===(e=this._carousel)||void 0===e?void 0:e.el))},t.prototype.destroyResizeObserver=function(){var e;this._observer&&this._observer.unobserve&&(null===(e=this._carousel)||void 0===e?void 0:e.el)&&(this._observer.unobserve(this._carousel.el),this._observer=null)},t.prototype.checkIfCarouselInValidStateForResizeEvent=function(){return this._carousel&&!this._carousel.destroyed},t.timerProperty=new c.NumProperty(c.Versions.v1_6,"timer",void 0),t.initialPageProperty=new c.NumProperty(c.Versions.v1_6,"initialPage",0),t.loopProperty=new c.BoolProperty(c.Versions.v1_6,"loop",!0),t.orientationProperty=new c.EnumProperty(c.Versions.v1_6,"orientation",l.Orientation,l.Orientation.Horizontal),t.carouselHeightProperty=new c.PixelSizeProperty(c.Versions.v1_6,"heightInPixels"),o([(0,c.property)(t.timerProperty)],t.prototype,"timer",null),o([(0,c.property)(t.initialPageProperty)],t.prototype,"initialPageIndex",null),o([(0,c.property)(t.loopProperty)],t.prototype,"carouselLoop",void 0),o([(0,c.property)(t.orientationProperty)],t.prototype,"carouselOrientation",void 0),o([(0,c.property)(t.carouselHeightProperty)],t.prototype,"carouselHeight",void 0),t}(s.Container);t.Carousel=v;var y=function(e,t,r,n){this.type=e,this.carouselId=t,this.activeCarouselPageId=r,this.activeCarouselPageIndex=n};t.CarouselEvent=y,u.GlobalRegistry.defaultElements.register("Carousel",v,c.Versions.v1_6)},9789:(e,t,r)=>{"use strict";const n=r(2306),i=r(9398),{ANY:o}=i,a=r(9433),s=r(6652),l=r(330),c=r(9245),u=r(3870),d=r(1859);e.exports=(e,t,r,p)=>{let f,h,g,m,v;switch(e=new n(e,p),t=new a(t,p),r){case">":f=l,h=u,g=c,m=">",v=">=";break;case"<":f=c,h=d,g=l,m="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let r=0;r<t.set.length;++r){const n=t.set[r];let a=null,s=null;if(n.forEach((e=>{e.semver===o&&(e=new i(">=0.0.0")),a=a||e,s=s||e,f(e.semver,a.semver,p)?a=e:g(e.semver,s.semver,p)&&(s=e)})),a.operator===m||a.operator===v)return!1;if((!s.operator||s.operator===m)&&h(e,s.semver))return!1;if(s.operator===v&&g(e,s.semver))return!1}return!0}},9790:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2977),i=r(6809);const o=function(e){if(!(0,i.A)(e))return!1;var t=(0,n.A)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},9797:(e,t,r)=>{"use strict";r.d(t,{B:()=>p});var n=r(1635),i=r(240),o=r(1128),a=r(8976),s=r(6596),l=r(7012),c=r(778),u=r(1956),d=r(7841);class p extends u.R{constructor(e,t,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.authenticationService=r,this.TAG="BaseAuthenticationMessageHandler"}initHandlers(){this.registerHandler(i.tz.authentication.getUser,this.handleGetUser,{errorCallback:this.onGetUserError,isRestrictedToMicrosoftOwnedOrFullTrustApps:!0}),this.registerHandler(i.tz.authentication.getAuthToken,this.handleGetAuthToken,{callbackFixedArgsLength:5,errorCallback:this.onGetAuthTokenError})}validateDependencies(){this.appSdkHost.getContext().app.host.clientType!==a.WK.desktop||this.authenticationService.externalAuthService||this.appSdkHost.getLogger().log(o.$.Warn,this.TAG,i.Px)}handleGetUser(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.authenticationService.getUser();if(e){const t=yield this.appSdkHost.getAppContext(),r=Object.assign(Object.assign({},e.profile),{dataResidency:(0,c.jZ)(t.user.dataResidency)});return(0,d.PR)([!0,r])}return Promise.reject("Failed to fetch the user profile")}))}onGetUserError(e,t){return null==t||t.fail(`GetUser failed ${(0,d.oE)(e)}`),(0,d.PR)([!1,e])}handleGetAuthToken(e,t,r,i,o,a){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=yield this.appSdkHost.getAppContext(),c=yield(0,l.u6)(e.origin,t,this.appSdkHost.getHubInfo(),this.appDefinition,n,!1,!1,a),u=yield this.authenticationService.acquireToken(c[0],r,i,o,(0,s.y3)(a));return(0,d.PR)([!0,u.token])}))}onGetAuthTokenError(e,t){return null==t||t.fail(`GetAuthToken failed ${(0,d.oE)(e)}`),(0,d.PR)([!1,e])}}},9802:(e,t,r)=>{"use strict";r.d(t,{Eh:()=>o,eZ:()=>i});let n={wildcardValidDomainRuleDetection:!0,extendedAppLoadTimeoutInMillis:void 0,authExtensionContextForUrlValidation:!0,escapeRegExSpecialCharactersInValidDomains:!0,useUrlClassForValidDomains:!0,useStrictValidDomainRuleDetection:!0,resetTimerWhenInitCalledAndWaitForNotifySuccess:!1,createAndSendSignalsToSubstrate:!0,useGlobalMonotonicTimersForTelemetry:!1,shouldLazilyWriteDefaultDevicePermissions:!0,disableFirstPartyAppsAsMicrosoftOwned:!1,shouldCustomTelemetryScenarioReceiveAppInitTelemetry:!1,disableDebuggingTelemetryToAria:!1,disableExtendedTelemetryForMetaOSStoreApps:!1,useStrictAppIdValidationInStorage:!1,recreateCommBridgeListenersBeforeLoadingApp:!1,overrideForEachInitStateChangeTimeoutsInMs:void 0,useNewAppInitializationExperience:!1,showErrorBanners:!0,disableNewMessageHandlingExperience:!1,enableNotificationsUI:!1,enableDevicePermissionDBV2:!1,enableSuffixAppendForIframeId:!1,enableHarmonyCustomMessagingForOpalApp:!1,useRelativeRenderingForCaching:!1};function i(){return n}function o(e){var t;return t=Object.assign(Object.assign({},n),e),n=t,n}},9813:(e,t,r)=>{"use strict";r.d(t,{qU:()=>a,vz:()=>s});var n=r(5454),i=r(90),o=(((0,i.mS)()||{}).Symbol,((0,i.mS)()||{}).Reflect,function(e,t){return o=n.s6.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t[n.QV](r)&&(e[r]=t[r])},o(e,t)});function a(e,t){function r(){this.constructor=e}typeof t!==n.hW&&null!==t&&(0,i.zk)("Class extends value "+String(t)+" is not a constructor or null"),o(e,t),e[n.vR]=null===t?(0,i.AQ)(t):(r[n.vR]=t[n.vR],new r)}function s(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e}},9827:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},9865:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,M:()=>u});var n,i=r(5188),o=r(8374),a=["eventsSent","eventsDiscarded","eventsSendRequest","perfEvent"],s=null;function l(e,t){return function(){var r=arguments,n=c(t);if(n){var o=n.listener;o&&o[e]&&o[e][i.y9](o,r)}}}function c(e){var t,r=s;return r||!0===e.disableDbgExt||(r=s||((t=(0,o.EH)("Microsoft"))&&(s=t.ApplicationInsights),s)),r?r.ChromeDbgExt:null}function u(e){if(!n){n={};for(var t=0;t<a[i.oI];t++)n[a[t]]=l(a[t],e)}return n}},9935:(e,t,r)=>{"use strict";function n(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}r.d(t,{A:()=>n})},9950:(e,t,r)=>{"use strict";r.d(t,{h:()=>s});var n=r(669),i="__globalSettings__",o="__callbacks__",a=0,s=function(){function e(){}return e.getValue=function(e,t){var r=l();return void 0===r[e]&&(r[e]="function"==typeof t?t():t),r[e]},e.setValue=function(e,t){var r=l(),n=r[o],i=r[e];if(t!==i){r[e]=t;var a={oldValue:i,value:t,key:e};for(var s in n)n.hasOwnProperty(s)&&n[s](a)}return t},e.addChangeListener=function(e){var t=e.__id__,r=c();t||(t=e.__id__=String(a++)),r[t]=e},e.removeChangeListener=function(e){delete c()[e.__id__]},e}();function l(){var e,t=(0,n.z)()||{};return t[i]||(t[i]=((e={})[o]={},e)),t[i]}function c(){return l()[o]}},9953:(e,t,r)=>{"use strict";r.d(t,{E:()=>l,q:()=>s});var n=r(1635),i=r(2081),o=r(5564),a=r(9675),s=function(){return(s="object"==typeof self&&"object"==typeof self.performance&&"function"==typeof self.performance.now?function(){return self.performance.now()}:function(){return Date.now()})()},l=function(e){var t,r=s(),c=(0,a.EY)(e.telemetryEvent);return(0,n.__assign)((0,n.__assign)({cv:e.parentCv.getNext()},c),{createChildActivity:function(t){return l({telemetryEvent:t,sendTelemetryEvent:e.sendTelemetryEvent,parentCv:this.cv})},setResult:function(e,t,r){this.result={code:e,type:t,tag:r}},endNow:function(){var n,a,l=this;if(!t){void 0===this.success&&void 0===this.result&&(0,o.wC)(1,0,(function(){return"Activity does not have success or result set"}));var c=s(),u=Math.floor(1e3*(c-r));t=!0;var d={duration:u,count:1,aggMode:0,cV:this.cv.value,success:this.success,result:this.result},p=null!==(a=null===(n=this.eventContract)||void 0===n?void 0:n.dataFields)&&void 0!==a?a:[];return p.push.apply(p,i.Il.getFields(d)),this.eventContract={name:i.Il.contractName,dataFields:p},e.sendTelemetryEvent(this)}(0,o.wC)(0,0,(function(){return"'".concat(l.eventName,"' already ended")}))}})}},9970:e=>{e.exports="data:image/svg+xml,%3csvg width='160' height='160' viewBox='0 0 160 160' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M130.45 70.9998L96.1196 105.53C95.183 106.476 94.8221 107.851 95.1727 109.135C95.5232 110.42 96.532 111.42 97.8196 111.76L144.91 124.21C146.197 124.548 147.567 124.176 148.505 123.231C149.443 122.287 149.807 120.915 149.46 119.63L136.7 72.6298C136.346 71.3456 135.334 70.3476 134.045 70.0114C132.756 69.6753 131.386 70.052 130.45 70.9998Z' fill='url(%23paint0_linear)'/%3e %3cpath d='M30.6596 31.7804L10.3496 76.0504C9.79449 77.2603 9.9262 78.6743 10.6952 79.7608C11.4642 80.8474 12.754 81.4417 14.0796 81.3204L62.5796 76.7704C63.9068 76.6476 65.0675 75.8259 65.6245 74.615C66.1814 73.4041 66.05 71.9881 65.2796 70.9004L37.0896 31.1704C36.3172 30.0853 35.0247 29.4944 33.6986 29.6202C32.3726 29.746 31.2142 30.5694 30.6596 31.7804Z' fill='url(%23paint1_linear)'/%3e %3cpath d='M69.511 38.0003L10.591 125.32C8.98078 127.709 8.76634 130.776 10.0283 133.365C11.2903 135.955 13.8372 137.676 16.711 137.88L121.781 145.25C124.654 145.447 127.414 144.099 129.024 141.712C130.634 139.324 130.85 136.26 129.591 133.67L83.441 39.0003C82.1844 36.4072 79.639 34.6822 76.7649 34.4758C73.8907 34.2695 71.1251 35.6132 69.511 38.0003Z' fill='%23FFD590'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M78.665 64.3512C78.8195 62.1474 77.1582 60.2357 74.9545 60.0812C72.7508 59.9268 70.8391 61.588 70.6846 63.7917L67.8174 104.691C67.6629 106.895 69.3242 108.807 71.5279 108.961C73.7316 109.116 75.6434 107.455 75.7978 105.251L78.665 64.3512ZM75.3594 118.5C75.3594 116.015 73.3447 114 70.8594 114C68.3741 114 66.3594 116.015 66.3594 118.5C66.3594 120.985 68.3741 123 70.8594 123C73.3447 123 75.3594 120.985 75.3594 118.5Z' fill='white'/%3e %3cpath d='M28.1699 73.3203C30.6552 73.3203 32.6699 71.3056 32.6699 68.8203C32.6699 66.335 30.6552 64.3203 28.1699 64.3203C25.6846 64.3203 23.6699 66.335 23.6699 68.8203C23.6699 71.3056 25.6846 73.3203 28.1699 73.3203Z' fill='%2328C2D1'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M146.274 58.5565L146.252 58.5499C144.138 57.9111 141.905 59.1075 141.267 61.2223L132.56 90.0441C131.921 92.1588 133.118 94.3911 135.232 95.0299L135.453 95.091C137.507 95.5996 139.621 94.4127 140.24 92.3641L148.947 63.5423C149.585 61.4275 148.389 59.1953 146.274 58.5565ZM136.811 103.68C136.811 101.194 134.796 99.1798 132.311 99.1798C129.825 99.1798 127.811 101.194 127.811 103.68C127.811 106.165 129.825 108.18 132.311 108.18C134.796 108.18 136.811 106.165 136.811 103.68Z' fill='%233E8EED'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M28.3278 54.6914L20.1544 25.8263C19.5525 23.7007 17.3415 22.4655 15.2159 23.0674C13.0904 23.6693 11.8552 25.8803 12.457 28.0059L20.6305 56.871C21.2324 58.9965 23.4434 60.2317 25.569 59.6299C27.6945 59.028 28.9297 56.817 28.3278 54.6914ZM32.67 68.8204C32.67 66.3351 30.6553 64.3204 28.17 64.3204C25.6847 64.3204 23.67 66.3351 23.67 68.8204C23.67 71.3057 25.6847 73.3204 28.17 73.3204C30.6553 73.3204 32.67 71.3057 32.67 68.8204Z' fill='%2328C2D1'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M78.0705 17.8367C77.802 16.5992 76.6235 15.7592 75.3503 15.9303C74.7088 16.0171 74.1285 16.3562 73.738 16.8725C73.3476 17.3887 73.1792 18.0395 73.2703 18.6803L74.1603 25.1003L74.1881 25.2585C74.4501 26.5075 75.6381 27.3571 76.9203 27.1803C77.5625 27.0911 78.1429 26.7499 78.5331 26.232C78.9234 25.7142 79.0915 25.0623 79.0003 24.4203L78.1003 18.0003L78.0705 17.8367ZM86.3703 27.2803L89.4803 22.0703C90.1402 20.9628 91.5399 20.5675 92.674 21.1401L92.8203 21.2203L93.0903 21.4003C93.9942 22.13 94.2585 23.3853 93.7474 24.4105L93.6603 24.5703L90.5403 29.7903C89.8483 30.9423 88.355 31.3179 87.2003 30.6303C87.0913 30.5648 86.9878 30.4908 86.8908 30.4089L86.7503 30.2803L86.6209 30.1449C85.9634 29.4012 85.8274 28.3279 86.2788 27.4437L86.3703 27.2803ZM97.0003 35.1303L102.16 32.5303C102.739 32.2308 103.414 32.1803 104.03 32.3903C104.297 32.4778 104.547 32.6097 104.77 32.7803C105.054 33.0022 105.283 33.2861 105.44 33.6103C106.017 34.7617 105.598 36.1523 104.506 36.8001L104.36 36.8803L99.2003 39.4803C98.6239 39.7799 97.9507 39.833 97.3345 39.6276C96.7799 39.4427 96.3141 39.0626 96.0213 38.5617L95.9303 38.3903H95.9203C95.3443 37.2417 95.7642 35.8541 96.8543 35.21L97.0003 35.1303Z' fill='%23E1DFDD'/%3e %3cdefs%3e %3clinearGradient id='paint0_linear' x1='96.9876' y1='125.262' x2='134.066' y2='117.517' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%2372ACF1'/%3e %3cstop offset='1' stop-color='%23A7CBF6'/%3e %3c/linearGradient%3e %3clinearGradient id='paint1_linear' x1='70.8923' y1='65.4093' x2='44.4792' y2='46.91' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%237BDDEF'/%3e %3cstop offset='1' stop-color='%23C3F2F4'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e"},9973:(e,t,r)=>{"use strict";r.d(t,{L:()=>l,t:()=>s});var n=.8,i=1.2,o=3e3,a=6e5;function s(e){return!(e>=300&&e<500&&408!=e&&429!=e||501==e||505==e)}function l(e){var t,r=o*n,s=o*i,l=Math.floor(Math.random()*(s-r))+r;return t=Math.pow(2,e)*l,Math.min(t,a)}},9975:(e,t,r)=>{"use strict";r.d(t,{y:()=>a});var n=r(1635),i=r(1254);class o extends i.U{constructor(e,t){super(),this.tokenService=e,this.userInfo=t}acquireToken(e,t,r){return(0,n.__awaiter)(this,void 0,void 0,(function*(){const n=yield this.tokenService.getToken({resource:e,claims:t,isSilent:r});return{token:null==n?void 0:n.authToken}}))}getUser(){var e;return Promise.resolve({profile:{oid:this.userInfo.id,tid:null===(e=this.userInfo.tenant)||void 0===e?void 0:e.id,upn:this.userInfo.userPrincipalName,displayName:this.userInfo.displayName}})}}class a extends o{constructor(e,t,r,n,i){super(r,n),this.notifySuccess=e,this.notifyFailure=t,this.externalAuthService=i}}}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={id:e,exports:{}};return r[e].call(o.exports,o,o.exports,i),o.exports}i.m=r,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,i.d(o,a),o},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.b=document.baseURI||self.location.href,i.nc=void 0,(()=>{"use strict";var e={};i.r(e),i.d(e,{decode:()=>F,encode:()=>V,format:()=>H,parse:()=>te});var t={};i.r(t),i.d(t,{Any:()=>ie,Cc:()=>oe,Cf:()=>ae,P:()=>re,S:()=>ne,Z:()=>se});var r={};i.r(r),i.d(r,{arrayReplaceAt:()=>Ne,assign:()=>De,escapeHtml:()=>$e,escapeRE:()=>Ge,fromCodePoint:()=>Oe,has:()=>Be,isMdAsciiPunct:()=>Je,isPunctChar:()=>Ye,isSpace:()=>Ke,isString:()=>Pe,isValidEntityCode:()=>Re,isWhiteSpace:()=>Xe,lib:()=>Qe,normalizeReference:()=>Ze,unescapeAll:()=>je,unescapeMd:()=>Le});var n={};i.r(n),i.d(n,{parseLinkDestination:()=>tt,parseLinkLabel:()=>et,parseLinkTitle:()=>rt});var o=i(4922),a=i(7810),s=i.t(a,2),l=i(2483),c=i(8627);function u(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('".concat(e,"fabric-icons-a13498cf.woff') format('woff')")},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}};(0,c.K1)(r,t)}function d(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('".concat(e,"fabric-icons-0-467ee27f.woff') format('woff')")},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}};(0,c.K1)(r,t)}function p(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('".concat(e,"fabric-icons-1-4d521695.woff') format('woff')")},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}};(0,c.K1)(r,t)}function f(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('".concat(e,"fabric-icons-2-63c99abf.woff') format('woff')")},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}};(0,c.K1)(r,t)}function h(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('".concat(e,"fabric-icons-3-089e217a.woff') format('woff')")},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}};(0,c.K1)(r,t)}function g(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('".concat(e,"fabric-icons-4-a656cc0a.woff') format('woff')")},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}};(0,c.K1)(r,t)}function m(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('".concat(e,"fabric-icons-5-f95ba260.woff') format('woff')")},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}};(0,c.K1)(r,t)}function v(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('".concat(e,"fabric-icons-6-ef6fd590.woff') format('woff')")},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}};(0,c.K1)(r,t)}function y(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('".concat(e,"fabric-icons-7-2b97bb99.woff') format('woff')")},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}};(0,c.K1)(r,t)}function b(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('".concat(e,"fabric-icons-8-6fdf1528.woff') format('woff')")},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}};(0,c.K1)(r,t)}function w(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('".concat(e,"fabric-icons-9-c6162b42.woff') format('woff')")},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}};(0,c.K1)(r,t)}function S(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('".concat(e,"fabric-icons-10-c4ded8e4.woff') format('woff')")},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}};(0,c.K1)(r,t)}function C(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('".concat(e,"fabric-icons-11-2a8393d6.woff') format('woff')")},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}};(0,c.K1)(r,t)}function A(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('".concat(e,"fabric-icons-12-7e945a1e.woff') format('woff')")},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}};(0,c.K1)(r,t)}function x(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('".concat(e,"fabric-icons-13-c3989a02.woff') format('woff')")},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}};(0,c.K1)(r,t)}function k(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('".concat(e,"fabric-icons-14-5cf58db8.woff') format('woff')")},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}};(0,c.K1)(r,t)}function E(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('".concat(e,"fabric-icons-15-3807251b.woff') format('woff')")},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}};(0,c.K1)(r,t)}function _(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('".concat(e,"fabric-icons-16-9cf93f3b.woff') format('woff')")},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}};(0,c.K1)(r,t)}function I(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('".concat(e,"fabric-icons-17-0c4ed701.woff') format('woff')")},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}};(0,c.K1)(r,t)}var P=i(669);(0,i(9755).v)("@fluentui/font-icons-mdl2","8.5.62");var T="".concat(c.pD,"/assets/icons/"),B=(0,P.z)(),D=i(8976),N=i(7675),R=i(7080),O=i(221);const z={};function M(e,t){"string"!=typeof t&&(t=M.defaultChars);const r=function(e){let t=z[e];if(t)return t;t=z[e]=[];for(let e=0;e<128;e++){const r=String.fromCharCode(e);t.push(r)}for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let n=0,i=e.length;n<i;n+=3){const o=parseInt(e.slice(n+1,n+3),16);if(o<128)t+=r[o];else{if(192==(224&o)&&n+3<i){const r=parseInt(e.slice(n+4,n+6),16);if(128==(192&r)){const e=o<<6&1984|63&r;t+=e<128?"��":String.fromCharCode(e),n+=3;continue}}if(224==(240&o)&&n+6<i){const r=parseInt(e.slice(n+4,n+6),16),i=parseInt(e.slice(n+7,n+9),16);if(128==(192&r)&&128==(192&i)){const e=o<<12&61440|r<<6&4032|63&i;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),n+=6;continue}}if(240==(248&o)&&n+9<i){const r=parseInt(e.slice(n+4,n+6),16),i=parseInt(e.slice(n+7,n+9),16),a=parseInt(e.slice(n+10,n+12),16);if(128==(192&r)&&128==(192&i)&&128==(192&a)){let e=o<<18&1835008|r<<12&258048|i<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}}return t}))}M.defaultChars=";/?:@&=+$,#",M.componentChars="";const F=M,L={};function j(e,t,r){"string"!=typeof t&&(r=t,t=j.defaultChars),void 0===r&&(r=!0);const n=function(e){let t=L[e];if(t)return t;t=L[e]=[];for(let e=0;e<128;e++){const r=String.fromCharCode(e);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<e.length;r++)t[e.charCodeAt(r)]=e[r];return t}(t);let i="";for(let t=0,o=e.length;t<o;t++){const a=e.charCodeAt(t);if(r&&37===a&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))i+=e.slice(t,t+3),t+=2;else if(a<128)i+=n[a];else if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&t+1<o){const r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD"}else i+=encodeURIComponent(e[t])}return i}j.defaultChars=";/?:@&=+$,-_.!~*'()#",j.componentChars="-_.!~*'()";const V=j;function H(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function q(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const U=/^([a-z0-9.+-]+:)/i,$=/:[0-9]*$/,W=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,G=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),K=["'"].concat(G),X=["%","/","?",";","#"].concat(K),Y=["/","?","#"],J=/^[+a-z0-9A-Z_-]{0,63}$/,Z=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Q={javascript:!0,"javascript:":!0},ee={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};q.prototype.parse=function(e,t){let r,n,i,o=e;if(o=o.trim(),!t&&1===e.split("#").length){const e=W.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=U.exec(o);if(a&&(a=a[0],r=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===o.substr(0,2),!i||a&&Q[a]||(o=o.substr(2),this.slashes=!0)),!Q[a]&&(i||a&&!ee[a])){let e,t,r=-1;for(let e=0;e<Y.length;e++)n=o.indexOf(Y[e]),-1!==n&&(-1===r||n<r)&&(r=n);t=-1===r?o.lastIndexOf("@"):o.lastIndexOf("@",r),-1!==t&&(e=o.slice(0,t),o=o.slice(t+1),this.auth=e),r=-1;for(let e=0;e<X.length;e++)n=o.indexOf(X[e]),-1!==n&&(-1===r||n<r)&&(r=n);-1===r&&(r=o.length),":"===o[r-1]&&r--;const i=o.slice(0,r);o=o.slice(r),this.parseHost(i),this.hostname=this.hostname||"";const a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){const e=this.hostname.split(/\./);for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r&&!r.match(J)){let n="";for(let e=0,t=r.length;e<t;e++)r.charCodeAt(e)>127?n+="x":n+=r[e];if(!n.match(J)){const n=e.slice(0,t),i=e.slice(t+1),a=r.match(Z);a&&(n.push(a[1]),i.unshift(a[2])),i.length&&(o=i.join(".")+o),this.hostname=n.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=o.indexOf("#");-1!==s&&(this.hash=o.substr(s),o=o.slice(0,s));const l=o.indexOf("?");return-1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),ee[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},q.prototype.parseHost=function(e){let t=$.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const te=function(e,t){if(e&&e instanceof q)return e;const r=new q;return r.parse(e,t),r},re=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,ne=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,ie=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=/[\0-\x1F\x7F-\x9F]/,ae=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,se=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,le=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),ce=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var ue;const de=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),pe=null!==(ue=String.fromCodePoint)&&void 0!==ue?ue:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var fe,he,ge,me,ve;function ye(e){return e>=fe.ZERO&&e<=fe.NINE}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(fe||(fe={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(he||(he={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(ge||(ge={})),(ve=me||(me={}))[ve.Legacy=0]="Legacy",ve[ve.Strict=1]="Strict",ve[ve.Attribute=2]="Attribute";class be{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=ge.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=me.Strict}startEntity(e){this.decodeMode=e,this.state=ge.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case ge.EntityStart:return e.charCodeAt(t)===fe.NUM?(this.state=ge.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=ge.NamedEntity,this.stateNamedEntity(e,t));case ge.NumericStart:return this.stateNumericStart(e,t);case ge.NumericDecimal:return this.stateNumericDecimal(e,t);case ge.NumericHex:return this.stateNumericHex(e,t);case ge.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===fe.LOWER_X?(this.state=ge.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=ge.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){const i=r-t;this.result=this.result*Math.pow(n,i)+parseInt(e.substr(t,i),n),this.consumed+=i}}stateNumericHex(e,t){const r=t;for(;t<e.length;){const i=e.charCodeAt(t);if(!(ye(i)||(n=i,n>=fe.UPPER_A&&n<=fe.UPPER_F||n>=fe.LOWER_A&&n<=fe.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}var n;return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(!ye(n))return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2);t+=1}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r;if(this.consumed<=t)return null===(r=this.errors)||void 0===r||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===fe.SEMI)this.consumed+=1;else if(this.decodeMode===me.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=de.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==fe.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:r}=this;let n=r[this.treeIndex],i=(n&he.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const a=e.charCodeAt(t);if(this.treeIndex=Se(r,n,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||this.decodeMode===me.Attribute&&(0===i||((o=a)===fe.EQUALS||function(e){return e>=fe.UPPER_A&&e<=fe.UPPER_Z||e>=fe.LOWER_A&&e<=fe.LOWER_Z||ye(e)}(o)))?0:this.emitNotTerminatedNamedEntity();if(n=r[this.treeIndex],i=(n&he.VALUE_LENGTH)>>14,0!==i){if(a===fe.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==me.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var o;return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:r}=this,n=(r[t]&he.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){const{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~he.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case ge.NamedEntity:return 0===this.result||this.decodeMode===me.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case ge.NumericDecimal:return this.emitNumericEntity(0,2);case ge.NumericHex:return this.emitNumericEntity(0,3);case ge.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ge.EntityStart:return 0}}}function we(e){let t="";const r=new be(e,(e=>t+=pe(e)));return function(e,n){let i=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),r.startEntity(n);const a=r.write(e,o+1);if(a<0){i=o+r.end();break}i=o+a,o=0===a?i+1:i}const a=t+e.slice(i);return t="",a}}function Se(e,t,r,n){const i=(t&he.BRANCH_LENGTH)>>7,o=t&he.JUMP_TABLE;if(0===i)return 0!==o&&n===o?r:-1;if(o){const t=n-o;return t<0||t>=i?-1:e[r+t]-1}let a=r,s=a+i-1;for(;a<=s;){const t=a+s>>>1,r=e[t];if(r<n)a=t+1;else{if(!(r>n))return e[t+i];s=t-1}}return-1}const Ce=we(le);function Ae(e,t=me.Legacy){return Ce(e,t)}function xe(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}we(ce),new Map(xe([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(xe([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(xe([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(xe([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));const ke=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function Ee(e,t){return function(r){let n,i=0,o="";for(;n=e.exec(r);)i!==n.index&&(o+=r.substring(i,n.index)),o+=t.get(n[0].charCodeAt(0)),i=n.index+1;return o+r.substring(i)}}var _e,Ie;function Pe(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}String.prototype.codePointAt,Ee(/[&<>'"]/g,ke),Ee(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Ee(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(_e||(_e={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(Ie||(Ie={}));const Te=Object.prototype.hasOwnProperty;function Be(e,t){return Te.call(e,t)}function De(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e}function Ne(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function Re(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(65535&~e&&65534!=(65535&e))||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Oe(e){if(e>65535){const t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}const ze=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Me=new RegExp(ze.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),Fe=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Le(e){return e.indexOf("\\")<0?e:e.replace(ze,"$1")}function je(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Me,(function(e,t,r){return t||function(e,t){if(35===t.charCodeAt(0)&&Fe.test(t)){const r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Re(r)?Oe(r):e}const r=Ae(e);return r!==e?r:e}(e,r)}))}const Ve=/[&<>"]/,He=/[&<>"]/g,qe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function Ue(e){return qe[e]}function $e(e){return Ve.test(e)?e.replace(He,Ue):e}const We=/[.?*+^$[\]\\(){}|-]/g;function Ge(e){return e.replace(We,"\\$&")}function Ke(e){switch(e){case 9:case 32:return!0}return!1}function Xe(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Ye(e){return re.test(e)||ne.test(e)}function Je(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ze(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Qe={mdurl:e,ucmicro:t};function et(e,t,r){let n,i,o,a;const s=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos<s;){if(o=e.src.charCodeAt(e.pos),93===o&&(n--,0===n)){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)n++;else if(r)return e.pos=l,-1}let c=-1;return i&&(c=e.pos),e.pos=l,c}function tt(e,t,r){let n,i=t;const o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<r;){if(n=e.charCodeAt(i),10===n)return o;if(60===n)return o;if(62===n)return o.pos=i+1,o.str=je(e.slice(t+1,i)),o.ok=!0,o;92===n&&i+1<r?i+=2:i++}return o}let a=0;for(;i<r&&(n=e.charCodeAt(i),32!==n)&&!(n<32||127===n);)if(92===n&&i+1<r){if(32===e.charCodeAt(i+1))break;i+=2}else{if(40===n&&(a++,a>32))return o;if(41===n){if(0===a)break;a--}i++}return t===i||0!==a||(o.str=je(e.slice(t,i)),o.pos=i,o.ok=!0),o}function rt(e,t,r,n){let i,o=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)a.str=n.str,a.marker=n.marker;else{if(o>=r)return a;let n=e.charCodeAt(o);if(34!==n&&39!==n&&40!==n)return a;t++,o++,40===n&&(n=41),a.marker=n}for(;o<r;){if(i=e.charCodeAt(o),i===a.marker)return a.pos=o+1,a.str+=je(e.slice(t,o)),a.ok=!0,a;if(40===i&&41===a.marker)return a;92===i&&o+1<r&&o++,o++}return a.can_continue=!0,a.str+=je(e.slice(t,o)),a}const nt={};function it(){this.rules=De({},nt)}nt.code_inline=function(e,t,r,n,i){const o=e[t];return"<code"+i.renderAttrs(o)+">"+$e(o.content)+"</code>"},nt.code_block=function(e,t,r,n,i){const o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+$e(e[t].content)+"</code></pre>\n"},nt.fence=function(e,t,r,n,i){const o=e[t],a=o.info?je(o.info).trim():"";let s,l="",c="";if(a){const e=a.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(s=r.highlight&&r.highlight(o.content,l,c)||$e(o.content),0===s.indexOf("<pre"))return s+"\n";if(a){const e=o.attrIndex("class"),t=o.attrs?o.attrs.slice():[];e<0?t.push(["class",r.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+r.langPrefix+l);const n={attrs:t};return`<pre><code${i.renderAttrs(n)}>${s}</code></pre>\n`}return`<pre><code${i.renderAttrs(o)}>${s}</code></pre>\n`},nt.image=function(e,t,r,n,i){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,r,n),i.renderToken(e,t,r)},nt.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},nt.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},nt.text=function(e,t){return $e(e[t].content)},nt.html_block=function(e,t){return e[t].content},nt.html_inline=function(e,t){return e[t].content},it.prototype.renderAttrs=function(e){let t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t<r;t++)n+=" "+$e(e.attrs[t][0])+'="'+$e(e.attrs[t][1])+'"';return n},it.prototype.renderToken=function(e,t,r){const n=e[t];let i="";if(n.hidden)return"";n.block&&-1!==n.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===n.nesting?"</":"<")+n.tag,i+=this.renderAttrs(n),0===n.nesting&&r.xhtmlOut&&(i+=" /");let o=!1;if(n.block&&(o=!0,1===n.nesting&&t+1<e.length)){const r=e[t+1];("inline"===r.type||r.hidden||-1===r.nesting&&r.tag===n.tag)&&(o=!1)}return i+=o?">\n":">",i},it.prototype.renderInline=function(e,t,r){let n="";const i=this.rules;for(let o=0,a=e.length;o<a;o++){const a=e[o].type;void 0!==i[a]?n+=i[a](e,o,t,r,this):n+=this.renderToken(e,o,t)}return n},it.prototype.renderInlineAsText=function(e,t,r){let n="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":case"html_inline":case"html_block":n+=e[i].content;break;case"image":n+=this.renderInlineAsText(e[i].children,t,r);break;case"softbreak":case"hardbreak":n+="\n"}return n},it.prototype.render=function(e,t,r){let n="";const i=this.rules;for(let o=0,a=e.length;o<a;o++){const a=e[o].type;"inline"===a?n+=this.renderInline(e[o].children,t,r):void 0!==i[a]?n+=i[a](e,o,t,r,this):n+=this.renderToken(e,o,t,r)}return n};const ot=it;function at(){this.__rules__=[],this.__cache__=null}at.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},at.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))}))}))},at.prototype.at=function(e,t,r){const n=this.__find__(e),i=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=i.alt||[],this.__cache__=null},at.prototype.before=function(e,t,r,n){const i=this.__find__(e),o=n||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},at.prototype.after=function(e,t,r,n){const i=this.__find__(e),o=n||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},at.prototype.push=function(e,t,r){const n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},at.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const r=[];return e.forEach((function(e){const n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)}),this),this.__cache__=null,r},at.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},at.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const r=[];return e.forEach((function(e){const n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)}),this),this.__cache__=null,r},at.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]};const st=at;function lt(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}lt.prototype.attrIndex=function(e){if(!this.attrs)return-1;const t=this.attrs;for(let r=0,n=t.length;r<n;r++)if(t[r][0]===e)return r;return-1},lt.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},lt.prototype.attrSet=function(e,t){const r=this.attrIndex(e),n=[e,t];r<0?this.attrPush(n):this.attrs[r]=n},lt.prototype.attrGet=function(e){const t=this.attrIndex(e);let r=null;return t>=0&&(r=this.attrs[t][1]),r},lt.prototype.attrJoin=function(e,t){const r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};const ct=lt;function ut(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}ut.prototype.Token=ct;const dt=ut,pt=/\r\n?|\n/g,ft=/\0/g;function ht(e){return/^<\/a\s*>/i.test(e)}const gt=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,mt=/\((c|tm|r)\)/i,vt=/\((c|tm|r)\)/gi,yt={c:"©",r:"®",tm:"™"};function bt(e,t){return yt[t.toLowerCase()]}function wt(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];"text"!==n.type||t||(n.content=n.content.replace(vt,bt)),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}function St(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];"text"!==n.type||t||gt.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}const Ct=/['"]/,At=/['"]/g;function xt(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function kt(e,t){let r;const n=[];for(let i=0;i<e.length;i++){const o=e[i],a=e[i].level;for(r=n.length-1;r>=0&&!(n[r].level<=a);r--);if(n.length=r+1,"text"!==o.type)continue;let s=o.content,l=0,c=s.length;e:for(;l<c;){At.lastIndex=l;const u=At.exec(s);if(!u)break;let d=!0,p=!0;l=u.index+1;const f="'"===u[0];let h=32;if(u.index-1>=0)h=s.charCodeAt(u.index-1);else for(r=i-1;r>=0&&"softbreak"!==e[r].type&&"hardbreak"!==e[r].type;r--)if(e[r].content){h=e[r].content.charCodeAt(e[r].content.length-1);break}let g=32;if(l<c)g=s.charCodeAt(l);else for(r=i+1;r<e.length&&"softbreak"!==e[r].type&&"hardbreak"!==e[r].type;r++)if(e[r].content){g=e[r].content.charCodeAt(0);break}const m=Je(h)||Ye(String.fromCharCode(h)),v=Je(g)||Ye(String.fromCharCode(g)),y=Xe(h),b=Xe(g);if(b?d=!1:v&&(y||m||(d=!1)),y?p=!1:m&&(b||v||(p=!1)),34===g&&'"'===u[0]&&h>=48&&h<=57&&(p=d=!1),d&&p&&(d=m,p=v),d||p){if(p)for(r=n.length-1;r>=0;r--){let d=n[r];if(n[r].level<a)break;if(d.single===f&&n[r].level===a){let a,p;d=n[r],f?(a=t.md.options.quotes[2],p=t.md.options.quotes[3]):(a=t.md.options.quotes[0],p=t.md.options.quotes[1]),o.content=xt(o.content,u.index,p),e[d.token].content=xt(e[d.token].content,d.pos,a),l+=p.length-1,d.token===i&&(l+=a.length-1),s=o.content,c=s.length,n.length=r;continue e}}d?n.push({token:i,pos:u.index,single:f,level:a}):p&&f&&(o.content=xt(o.content,u.index,"’"))}else f&&(o.content=xt(o.content,u.index,"’"))}}}const Et=[["normalize",function(e){let t;t=e.src.replace(pt,"\n"),t=t.replace(ft,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){const t=e.tokens;for(let r=0,n=t.length;r<n;r++){const n=t[r];"inline"===n.type&&e.md.inline.parse(n.content,e.md,e.env,n.children)}}],["linkify",function(e){const t=e.tokens;var r;if(e.md.options.linkify)for(let n=0,i=t.length;n<i;n++){if("inline"!==t[n].type||!e.md.linkify.pretest(t[n].content))continue;let i=t[n].children,o=0;for(let a=i.length-1;a>=0;a--){const s=i[a];if("link_close"!==s.type){if("html_inline"===s.type&&(r=s.content,/^<a[>\s]/i.test(r)&&o>0&&o--,ht(s.content)&&o++),!(o>0)&&"text"===s.type&&e.md.linkify.test(s.content)){const r=s.content;let o=e.md.linkify.match(r);const l=[];let c=s.level,u=0;o.length>0&&0===o[0].index&&a>0&&"text_special"===i[a-1].type&&(o=o.slice(1));for(let t=0;t<o.length;t++){const n=o[t].url,i=e.md.normalizeLink(n);if(!e.md.validateLink(i))continue;let a=o[t].text;a=o[t].schema?"mailto:"!==o[t].schema||/^mailto:/i.test(a)?e.md.normalizeLinkText(a):e.md.normalizeLinkText("mailto:"+a).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+a).replace(/^http:\/\//,"");const s=o[t].index;if(s>u){const t=new e.Token("text","",0);t.content=r.slice(u,s),t.level=c,l.push(t)}const d=new e.Token("link_open","a",1);d.attrs=[["href",i]],d.level=c++,d.markup="linkify",d.info="auto",l.push(d);const p=new e.Token("text","",0);p.content=a,p.level=c,l.push(p);const f=new e.Token("link_close","a",-1);f.level=--c,f.markup="linkify",f.info="auto",l.push(f),u=o[t].lastIndex}if(u<r.length){const t=new e.Token("text","",0);t.content=r.slice(u),t.level=c,l.push(t)}t[n].children=i=Ne(i,a,l)}}else for(a--;i[a].level!==s.level&&"link_open"!==i[a].type;)a--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(mt.test(e.tokens[t].content)&&wt(e.tokens[t].children),gt.test(e.tokens[t].content)&&St(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&Ct.test(e.tokens[t].content)&&kt(e.tokens[t].children,e)}],["text_join",function(e){let t,r;const n=e.tokens,i=n.length;for(let e=0;e<i;e++){if("inline"!==n[e].type)continue;const i=n[e].children,o=i.length;for(t=0;t<o;t++)"text_special"===i[t].type&&(i[t].type="text");for(t=r=0;t<o;t++)"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==r&&(i[r]=i[t]),r++);t!==r&&(i.length=r)}}]];function _t(){this.ruler=new st;for(let e=0;e<Et.length;e++)this.ruler.push(Et[e][0],Et[e][1])}_t.prototype.process=function(e){const t=this.ruler.getRules("");for(let r=0,n=t.length;r<n;r++)t[r](e)},_t.prototype.State=dt;const It=_t;function Pt(e,t,r,n){this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const i=this.src;for(let e=0,t=0,r=0,n=0,o=i.length,a=!1;t<o;t++){const s=i.charCodeAt(t);if(!a){if(Ke(s)){r++,9===s?n+=4-n%4:n++;continue}a=!0}10!==s&&t!==o-1||(10!==s&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(r),this.sCount.push(n),this.bsCount.push(0),a=!1,r=0,n=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Pt.prototype.push=function(e,t,r){const n=new ct(e,t,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n},Pt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Pt.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},Pt.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&Ke(this.src.charCodeAt(e));e++);return e},Pt.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!Ke(this.src.charCodeAt(--e)))return e+1;return e},Pt.prototype.skipChars=function(e,t){for(let r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},Pt.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},Pt.prototype.getLines=function(e,t,r,n){if(e>=t)return"";const i=new Array(t-e);for(let o=0,a=e;a<t;a++,o++){let e=0;const s=this.bMarks[a];let l,c=s;for(l=a+1<t||n?this.eMarks[a]+1:this.eMarks[a];c<l&&e<r;){const t=this.src.charCodeAt(c);if(Ke(t))9===t?e+=4-(e+this.bsCount[a])%4:e++;else{if(!(c-s<this.tShift[a]))break;e++}c++}i[o]=e>r?new Array(e-r+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return i.join("")},Pt.prototype.Token=ct;const Tt=Pt;function Bt(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function Dt(e){const t=[],r=e.length;let n=0,i=e.charCodeAt(n),o=!1,a=0,s="";for(;n<r;)124===i&&(o?(s+=e.substring(a,n-1),a=n):(t.push(s+e.substring(a,n)),s="",a=n+1)),o=92===i,n++,i=e.charCodeAt(n);return t.push(s+e.substring(a)),t}function Nt(e,t){const r=e.eMarks[t];let n=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(n++);return 42!==i&&45!==i&&43!==i||n<r&&!Ke(e.src.charCodeAt(n))?-1:n}function Rt(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];let i=r;if(i+1>=n)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=n)return-1;if(o=e.src.charCodeAt(i++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(i-r>=10)return-1}return i<n&&(o=e.src.charCodeAt(i),!Ke(o))?-1:i}const Ot="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",zt="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Mt=new RegExp("^(?:"+Ot+"|"+zt+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),Ft=new RegExp("^(?:"+Ot+"|"+zt+")"),Lt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Ft.source+"\\s*$"),/^$/,!1]],jt=[["table",function(e,t,r,n){if(t+2>r)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent)return!1;if(e.sCount[i]-e.blkIndent>=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;const a=e.src.charCodeAt(o++);if(124!==a&&45!==a&&58!==a)return!1;if(o>=e.eMarks[i])return!1;const s=e.src.charCodeAt(o++);if(124!==s&&45!==s&&58!==s&&!Ke(s))return!1;if(45===a&&Ke(s))return!1;for(;o<e.eMarks[i];){const t=e.src.charCodeAt(o);if(124!==t&&45!==t&&58!==t&&!Ke(t))return!1;o++}let l=Bt(e,t+1),c=l.split("|");const u=[];for(let e=0;e<c.length;e++){const t=c[e].trim();if(!t){if(0===e||e===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?u.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?u.push("left"):u.push("")}if(l=Bt(e,t).trim(),-1===l.indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;c=Dt(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const d=c.length;if(0===d||d!==u.length)return!1;if(n)return!0;const p=e.parentType;e.parentType="table";const f=e.md.block.ruler.getRules("blockquote"),h=[t,0];e.push("table_open","table",1).map=h,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t<c.length;t++){const r=e.push("th_open","th",1);u[t]&&(r.attrs=[["style","text-align:"+u[t]]]);const n=e.push("inline","",0);n.content=c[t].trim(),n.children=[],e.push("th_close","th",-1)}let g;e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let m=0;for(i=t+2;i<r&&!(e.sCount[i]<e.blkIndent);i++){let n=!1;for(let t=0,o=f.length;t<o;t++)if(f[t](e,i,r,!0)){n=!0;break}if(n)break;if(l=Bt(e,i).trim(),!l)break;if(e.sCount[i]-e.blkIndent>=4)break;if(c=Dt(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),m+=d-c.length,m>65536)break;i===t+2&&(e.push("tbody_open","tbody",1).map=g=[t+2,0]),e.push("tr_open","tr",1).map=[i,i+1];for(let t=0;t<d;t++){const r=e.push("td_open","td",1);u[t]&&(r.attrs=[["style","text-align:"+u[t]]]);const n=e.push("inline","",0);n.content=c[t]?c[t].trim():"",n.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return g&&(e.push("tbody_close","tbody",-1),g[1]=i),e.push("table_close","table",-1),h[1]=i,e.parentType=p,e.line=i,!0},["paragraph","reference"]],["code",function(e,t,r){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,i=n;for(;n<r;)if(e.isEmpty(n))n++;else{if(!(e.sCount[n]-e.blkIndent>=4))break;n++,i=n}e.line=i;const o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(i+3>o)return!1;const a=e.src.charCodeAt(i);if(126!==a&&96!==a)return!1;let s=i;i=e.skipChars(i,a);let l=i-s;if(l<3)return!1;const c=e.src.slice(s,i),u=e.src.slice(i,o);if(96===a&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(n)return!0;let d=t,p=!1;for(;!(d++,d>=r||(i=s=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],i<o&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===a&&!(e.sCount[d]-e.blkIndent>=4||(i=e.skipChars(i,a),i-s<l||(i=e.skipSpaces(i),i<o)))){p=!0;break}l=e.sCount[t],e.line=d+(p?1:0);const f=e.push("fence","code",0);return f.info=u,f.content=e.getLines(t+1,d,l,!0),f.markup=c,f.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(i))return!1;if(n)return!0;const s=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let f,h=!1;for(f=t;f<r;f++){const t=e.sCount[f]<e.blkIndent;if(i=e.bMarks[f]+e.tShift[f],o=e.eMarks[f],i>=o)break;if(62===e.src.charCodeAt(i++)&&!t){let t,r,n=e.sCount[f]+1;32===e.src.charCodeAt(i)?(i++,n++,r=!1,t=!0):9===e.src.charCodeAt(i)?(t=!0,(e.bsCount[f]+n)%4==3?(i++,n++,r=!1):r=!0):t=!1;let a=n;for(s.push(e.bMarks[f]),e.bMarks[f]=i;i<o;){const t=e.src.charCodeAt(i);if(!Ke(t))break;9===t?a+=4-(a+e.bsCount[f]+(r?1:0))%4:a++,i++}h=i>=o,l.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(t?1:0),c.push(e.sCount[f]),e.sCount[f]=a-n,u.push(e.tShift[f]),e.tShift[f]=i-e.bMarks[f];continue}if(h)break;let n=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,f,r,!0)){n=!0;break}if(n){e.lineMax=f,0!==e.blkIndent&&(s.push(e.bMarks[f]),l.push(e.bsCount[f]),u.push(e.tShift[f]),c.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}s.push(e.bMarks[f]),l.push(e.bsCount[f]),u.push(e.tShift[f]),c.push(e.sCount[f]),e.sCount[f]=-1}const g=e.blkIndent;e.blkIndent=0;const m=e.push("blockquote_open","blockquote",1);m.markup=">";const v=[t,0];m.map=v,e.md.block.tokenize(e,t,f),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=a,e.parentType=p,v[1]=e.line;for(let r=0;r<u.length;r++)e.bMarks[r+t]=s[r],e.tShift[r+t]=u[r],e.sCount[r+t]=c[r],e.bsCount[r+t]=l[r];return e.blkIndent=g,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,r,n){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(o++);if(42!==a&&45!==a&&95!==a)return!1;let s=1;for(;o<i;){const t=e.src.charCodeAt(o++);if(t!==a&&!Ke(t))return!1;t===a&&s++}if(s<3)return!1;if(n)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(s+1).join(String.fromCharCode(a)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,r,n){let i,o,a,s,l=t,c=!0;if(e.sCount[l]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let u,d,p,f=!1;if(n&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(f=!0),(p=Rt(e,l))>=0){if(u=!0,a=e.bMarks[l]+e.tShift[l],d=Number(e.src.slice(a,p-1)),f&&1!==d)return!1}else{if(!((p=Nt(e,l))>=0))return!1;u=!1}if(f&&e.skipSpaces(p)>=e.eMarks[l])return!1;if(n)return!0;const h=e.src.charCodeAt(p-1),g=e.tokens.length;u?(s=e.push("ordered_list_open","ol",1),1!==d&&(s.attrs=[["start",d]])):s=e.push("bullet_list_open","ul",1);const m=[l,0];s.map=m,s.markup=String.fromCharCode(h);let v=!1;const y=e.md.block.ruler.getRules("list"),b=e.parentType;for(e.parentType="list";l<r;){o=p,i=e.eMarks[l];const t=e.sCount[l]+p-(e.bMarks[l]+e.tShift[l]);let n=t;for(;o<i;){const t=e.src.charCodeAt(o);if(9===t)n+=4-(n+e.bsCount[l])%4;else{if(32!==t)break;n++}o++}const d=o;let f;f=d>=i?1:n-t,f>4&&(f=1);const g=t+f;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(h);const m=[l,0];s.map=m,u&&(s.info=e.src.slice(a,p-1));const b=e.tight,w=e.tShift[l],S=e.sCount[l],C=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=g,e.tight=!0,e.tShift[l]=d-e.bMarks[l],e.sCount[l]=n,d>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,l,r,!0),e.tight&&!v||(c=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[l]=w,e.sCount[l]=S,e.tight=b,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(h),l=e.line,m[1]=l,l>=r)break;if(e.sCount[l]<e.blkIndent)break;if(e.sCount[l]-e.blkIndent>=4)break;let A=!1;for(let t=0,n=y.length;t<n;t++)if(y[t](e,l,r,!0)){A=!0;break}if(A)break;if(u){if(p=Rt(e,l),p<0)break;a=e.bMarks[l]+e.tShift[l]}else if(p=Nt(e,l),p<0)break;if(h!==e.src.charCodeAt(p-1))break}return s=u?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(h),m[1]=l,e.line=l,e.parentType=b,c&&function(e,t){const r=e.level+2;for(let n=t+2,i=e.tokens.length-2;n<i;n++)e.tokens[n].level===r&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(i))return!1;function s(t){const r=e.lineMax;if(t>=r||e.isEmpty(t))return null;let n=!1;if(e.sCount[t]-e.blkIndent>3&&(n=!0),e.sCount[t]<0&&(n=!0),!n){const n=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let o=!1;for(let i=0,a=n.length;i<a;i++)if(n[i](e,t,r,!0)){o=!0;break}if(e.parentType=i,o)return null}const i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(i,o+1)}let l=e.src.slice(i,o+1);o=l.length;let c=-1;for(i=1;i<o;i++){const e=l.charCodeAt(i);if(91===e)return!1;if(93===e){c=i;break}if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(92===e&&(i++,i<o&&10===l.charCodeAt(i))){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}}if(c<0||58!==l.charCodeAt(c+1))return!1;for(i=c+2;i<o;i++){const e=l.charCodeAt(i);if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(!Ke(e))break}const u=e.md.helpers.parseLinkDestination(l,i,o);if(!u.ok)return!1;const d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;const p=i,f=a,h=i;for(;i<o;i++){const e=l.charCodeAt(i);if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(!Ke(e))break}let g,m=e.md.helpers.parseLinkTitle(l,i,o);for(;m.can_continue;){const t=s(a);if(null===t)break;l+=t,i=o,o=l.length,a++,m=e.md.helpers.parseLinkTitle(l,i,o,m)}for(i<o&&h!==i&&m.ok?(g=m.str,i=m.pos):(g="",i=p,a=f);i<o&&Ke(l.charCodeAt(i));)i++;if(i<o&&10!==l.charCodeAt(i)&&g)for(g="",i=p,a=f;i<o&&Ke(l.charCodeAt(i));)i++;if(i<o&&10!==l.charCodeAt(i))return!1;const v=Ze(l.slice(1,c));return!!v&&(n||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[v]&&(e.env.references[v]={title:g,href:d}),e.line=a),!0)}],["html_block",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(i))return!1;let a=e.src.slice(i,o),s=0;for(;s<Lt.length&&!Lt[s][0].test(a);s++);if(s===Lt.length)return!1;if(n)return Lt[s][2];let l=t+1;if(!Lt[s][1].test(a))for(;l<r&&!(e.sCount[l]<e.blkIndent);l++)if(i=e.bMarks[l]+e.tShift[l],o=e.eMarks[l],a=e.src.slice(i,o),Lt[s][1].test(a)){0!==a.length&&l++;break}e.line=l;const c=e.push("html_block","",0);return c.map=[t,l],c.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(i);if(35!==a||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);35===a&&i<o&&s<=6;)s++,a=e.src.charCodeAt(++i);if(s>6||i<o&&!Ke(a))return!1;if(n)return!0;o=e.skipSpacesBack(o,i);const l=e.skipCharsBack(o,35,i);l>i&&Ke(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=e.src.slice(i,o).trim(),u.map=[t,e.line],u.children=[],e.push("heading_close","h"+String(s),-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let o,a=0,s=t+1;for(;s<r&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s];const r=e.eMarks[s];if(t<r&&(o=e.src.charCodeAt(t),(45===o||61===o)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=r))){a=61===o?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,o=n.length;i<o;i++)if(n[i](e,s,r,!0)){t=!0;break}if(t)break}if(!a)return!1;const l=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const c=e.push("heading_open","h"+String(a),1);c.markup=String.fromCharCode(o),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=l,u.map=[t,e.line-1],u.children=[],e.push("heading_close","h"+String(a),-1).markup=String.fromCharCode(o),e.parentType=i,!0}],["paragraph",function(e,t,r){const n=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let o=t+1;for(e.parentType="paragraph";o<r&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]<0)continue;let t=!1;for(let i=0,a=n.length;i<a;i++)if(n[i](e,o,r,!0)){t=!0;break}if(t)break}const a=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];const s=e.push("inline","",0);return s.content=a,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]];function Vt(){this.ruler=new st;for(let e=0;e<jt.length;e++)this.ruler.push(jt[e][0],jt[e][1],{alt:(jt[e][2]||[]).slice()})}Vt.prototype.tokenize=function(e,t,r){const n=this.ruler.getRules(""),i=n.length,o=e.md.options.maxNesting;let a=t,s=!1;for(;a<r&&(e.line=a=e.skipEmptyLines(a),!(a>=r))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=o){e.line=r;break}const t=e.line;let l=!1;for(let o=0;o<i;o++)if(l=n[o](e,a,r,!1),l){if(t>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<r&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},Vt.prototype.parse=function(e,t,r,n){if(!e)return;const i=new this.State(e,t,r,n);this.tokenize(i,i.line,i.lineMax)},Vt.prototype.State=Tt;const Ht=Vt;function qt(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}qt.prototype.pushPending=function(){const e=new ct("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},qt.prototype.push=function(e,t,r){this.pending&&this.pushPending();const n=new ct(e,t,r);let i=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n},qt.prototype.scanDelims=function(e,t){const r=this.posMax,n=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<r&&this.src.charCodeAt(o)===n;)o++;const a=o-e,s=o<r?this.src.charCodeAt(o):32,l=Je(i)||Ye(String.fromCharCode(i)),c=Je(s)||Ye(String.fromCharCode(s)),u=Xe(i),d=Xe(s),p=!d&&(!c||u||l),f=!u&&(!l||d||c);return{can_open:p&&(t||!f||l),can_close:f&&(t||!p||c),length:a}},qt.prototype.Token=ct;const Ut=qt;function $t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}const Wt=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Gt=[];for(let e=0;e<256;e++)Gt.push(0);function Kt(e,t){let r;const n=[],i=t.length;for(let o=0;o<i;o++){const i=t[o];if(126!==i.marker)continue;if(-1===i.end)continue;const a=t[i.end];r=e.tokens[i.token],r.type="s_open",r.tag="s",r.nesting=1,r.markup="~~",r.content="",r=e.tokens[a.token],r.type="s_close",r.tag="s",r.nesting=-1,r.markup="~~",r.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&n.push(a.token-1)}for(;n.length;){const t=n.pop();let i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;i--,t!==i&&(r=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=r)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){Gt[e.charCodeAt(0)]=1}));const Xt={tokenize:function(e,t){const r=e.pos,n=e.src.charCodeAt(r);if(t)return!1;if(126!==n)return!1;const i=e.scanDelims(e.pos,!0);let o=i.length;const a=String.fromCharCode(n);if(o<2)return!1;let s;o%2&&(s=e.push("text","",0),s.content=a,o--);for(let t=0;t<o;t+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,r=e.tokens_meta.length;Kt(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&Kt(e,t[n].delimiters)}};function Yt(e,t){for(let r=t.length-1;r>=0;r--){const n=t[r];if(95!==n.marker&&42!==n.marker)continue;if(-1===n.end)continue;const i=t[n.end],o=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,a=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=o?"strong_open":"em_open",s.tag=o?"strong":"em",s.nesting=1,s.markup=o?a+a:a,s.content="";const l=e.tokens[i.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?a+a:a,l.content="",o&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--)}}const Jt={tokenize:function(e,t){const r=e.pos,n=e.src.charCodeAt(r);if(t)return!1;if(95!==n&&42!==n)return!1;const i=e.scanDelims(e.pos,42===n);for(let t=0;t<i.length;t++)e.push("text","",0).content=String.fromCharCode(n),e.delimiters.push({marker:n,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,r=e.tokens_meta.length;Yt(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&Yt(e,t[n].delimiters)}},Zt=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Qt=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,er=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,tr=/^&([a-z][a-z0-9]{1,31});/i;function rr(e){const t={},r=e.length;if(!r)return;let n=0,i=-2;const o=[];for(let a=0;a<r;a++){const r=e[a];if(o.push(0),e[n].marker===r.marker&&i===r.token-1||(n=a),i=r.token,r.length=r.length||0,!r.close)continue;t.hasOwnProperty(r.marker)||(t[r.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[r.marker][(r.open?3:0)+r.length%3];let l=n-o[n]-1,c=l;for(;l>s;l-=o[l]+1){const t=e[l];if(t.marker===r.marker&&t.open&&t.end<0){let n=!1;if((t.close||r.open)&&(t.length+r.length)%3==0&&(t.length%3==0&&r.length%3==0||(n=!0)),!n){const n=l>0&&!e[l-1].open?o[l-1]+1:0;o[a]=a-l+n,o[l]=n,r.open=!1,t.end=a,t.close=!1,c=-1,i=-2;break}}}-1!==c&&(t[r.marker][(r.open?3:0)+(r.length||0)%3]=c)}}const nr=[["text",function(e,t){let r=e.pos;for(;r<e.posMax&&!$t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}],["linkify",function(e,t){if(!e.md.options.linkify)return!1;if(e.linkLevel>0)return!1;const r=e.pos;if(r+3>e.posMax)return!1;if(58!==e.src.charCodeAt(r))return!1;if(47!==e.src.charCodeAt(r+1))return!1;if(47!==e.src.charCodeAt(r+2))return!1;const n=e.pending.match(Wt);if(!n)return!1;const i=n[1],o=e.md.linkify.matchAtStart(e.src.slice(r-i.length));if(!o)return!1;let a=o.url;if(a.length<=i.length)return!1;a=a.replace(/\*+$/,"");const s=e.md.normalizeLink(a);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const t=e.push("link_open","a",1);t.attrs=[["href",s]],t.markup="linkify",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(a);const r=e.push("link_close","a",-1);r.markup="linkify",r.info="auto"}return e.pos+=a.length-i.length,!0}],["newline",function(e,t){let r=e.pos;if(10!==e.src.charCodeAt(r))return!1;const n=e.pending.length-1,i=e.posMax;if(!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){let t=n-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(r++;r<i&&Ke(e.src.charCodeAt(r));)r++;return e.pos=r,!0}],["escape",function(e,t){let r=e.pos;const n=e.posMax;if(92!==e.src.charCodeAt(r))return!1;if(r++,r>=n)return!1;let i=e.src.charCodeAt(r);if(10===i){for(t||e.push("hardbreak","br",0),r++;r<n&&(i=e.src.charCodeAt(r),Ke(i));)r++;return e.pos=r,!0}let o=e.src[r];if(i>=55296&&i<=56319&&r+1<n){const t=e.src.charCodeAt(r+1);t>=56320&&t<=57343&&(o+=e.src[r+1],r++)}const a="\\"+o;if(!t){const t=e.push("text_special","",0);i<256&&0!==Gt[i]?t.content=o:t.content=a,t.markup=a,t.info="escape"}return e.pos=r+1,!0}],["backticks",function(e,t){let r=e.pos;if(96!==e.src.charCodeAt(r))return!1;const n=r;r++;const i=e.posMax;for(;r<i&&96===e.src.charCodeAt(r);)r++;const o=e.src.slice(n,r),a=o.length;if(e.backticksScanned&&(e.backticks[a]||0)<=n)return t||(e.pending+=o),e.pos+=a,!0;let s,l=r;for(;-1!==(s=e.src.indexOf("`",l));){for(l=s+1;l<i&&96===e.src.charCodeAt(l);)l++;const n=l-s;if(n===a){if(!t){const t=e.push("code_inline","code",0);t.markup=o,t.content=e.src.slice(r,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[n]=s}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=a,!0}],["strikethrough",Xt.tokenize],["emphasis",Jt.tokenize],["link",function(e,t){let r,n,i,o,a="",s="",l=e.pos,c=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const u=e.pos,d=e.posMax,p=e.pos+1,f=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(f<0)return!1;let h=f+1;if(h<d&&40===e.src.charCodeAt(h)){for(c=!1,h++;h<d&&(r=e.src.charCodeAt(h),Ke(r)||10===r);h++);if(h>=d)return!1;if(l=h,i=e.md.helpers.parseLinkDestination(e.src,h,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?h=i.pos:a="",l=h;h<d&&(r=e.src.charCodeAt(h),Ke(r)||10===r);h++);if(i=e.md.helpers.parseLinkTitle(e.src,h,e.posMax),h<d&&l!==h&&i.ok)for(s=i.str,h=i.pos;h<d&&(r=e.src.charCodeAt(h),Ke(r)||10===r);h++);}(h>=d||41!==e.src.charCodeAt(h))&&(c=!0),h++}if(c){if(void 0===e.env.references)return!1;if(h<d&&91===e.src.charCodeAt(h)?(l=h+1,h=e.md.helpers.parseLinkLabel(e,h),h>=0?n=e.src.slice(l,h++):h=f+1):h=f+1,n||(n=e.src.slice(p,f)),o=e.env.references[Ze(n)],!o)return e.pos=u,!1;a=o.href,s=o.title}if(!t){e.pos=p,e.posMax=f;const t=[["href",a]];e.push("link_open","a",1).attrs=t,s&&t.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=h,e.posMax=d,!0}],["image",function(e,t){let r,n,i,o,a,s,l,c,u="";const d=e.pos,p=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const f=e.pos+2,h=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(h<0)return!1;if(o=h+1,o<p&&40===e.src.charCodeAt(o)){for(o++;o<p&&(r=e.src.charCodeAt(o),Ke(r)||10===r);o++);if(o>=p)return!1;for(c=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?o=s.pos:u=""),c=o;o<p&&(r=e.src.charCodeAt(o),Ke(r)||10===r);o++);if(s=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<p&&c!==o&&s.ok)for(l=s.str,o=s.pos;o<p&&(r=e.src.charCodeAt(o),Ke(r)||10===r);o++);else l="";if(o>=p||41!==e.src.charCodeAt(o))return e.pos=d,!1;o++}else{if(void 0===e.env.references)return!1;if(o<p&&91===e.src.charCodeAt(o)?(c=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?i=e.src.slice(c,o++):o=h+1):o=h+1,i||(i=e.src.slice(f,h)),a=e.env.references[Ze(i)],!a)return e.pos=d,!1;u=a.href,l=a.title}if(!t){n=e.src.slice(f,h);const t=[];e.md.inline.parse(n,e.md,e.env,t);const r=e.push("image","img",0),i=[["src",u],["alt",""]];r.attrs=i,r.children=t,r.content=n,l&&i.push(["title",l])}return e.pos=o,e.posMax=p,!0}],["autolink",function(e,t){let r=e.pos;if(60!==e.src.charCodeAt(r))return!1;const n=e.pos,i=e.posMax;for(;;){if(++r>=i)return!1;const t=e.src.charCodeAt(r);if(60===t)return!1;if(62===t)break}const o=e.src.slice(n+1,r);if(Qt.test(o)){const r=e.md.normalizeLink(o);if(!e.md.validateLink(r))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);const n=e.push("link_close","a",-1);n.markup="autolink",n.info="auto"}return e.pos+=o.length+2,!0}if(Zt.test(o)){const r=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(r))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);const n=e.push("link_close","a",-1);n.markup="autolink",n.info="auto"}return e.pos+=o.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const r=e.posMax,n=e.pos;if(60!==e.src.charCodeAt(n)||n+2>=r)return!1;const i=e.src.charCodeAt(n+1);if(33!==i&&63!==i&&47!==i&&!function(e){const t=32|e;return t>=97&&t<=122}(i))return!1;const o=e.src.slice(n).match(Mt);if(!o)return!1;if(!t){const t=e.push("html_inline","",0);t.content=o[0],a=t.content,/^<a[>\s]/i.test(a)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var a;return e.pos+=o[0].length,!0}],["entity",function(e,t){const r=e.pos,n=e.posMax;if(38!==e.src.charCodeAt(r))return!1;if(r+1>=n)return!1;if(35===e.src.charCodeAt(r+1)){const n=e.src.slice(r).match(er);if(n){if(!t){const t="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),r=e.push("text_special","",0);r.content=Re(t)?Oe(t):Oe(65533),r.markup=n[0],r.info="entity"}return e.pos+=n[0].length,!0}}else{const n=e.src.slice(r).match(tr);if(n){const r=Ae(n[0]);if(r!==n[0]){if(!t){const t=e.push("text_special","",0);t.content=r,t.markup=n[0],t.info="entity"}return e.pos+=n[0].length,!0}}}return!1}]],ir=[["balance_pairs",function(e){const t=e.tokens_meta,r=e.tokens_meta.length;rr(e.delimiters);for(let e=0;e<r;e++)t[e]&&t[e].delimiters&&rr(t[e].delimiters)}],["strikethrough",Xt.postProcess],["emphasis",Jt.postProcess],["fragments_join",function(e){let t,r,n=0;const i=e.tokens,o=e.tokens.length;for(t=r=0;t<o;t++)i[t].nesting<0&&n--,i[t].level=n,i[t].nesting>0&&n++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==r&&(i[r]=i[t]),r++);t!==r&&(i.length=r)}]];function or(){this.ruler=new st;for(let e=0;e<nr.length;e++)this.ruler.push(nr[e][0],nr[e][1]);this.ruler2=new st;for(let e=0;e<ir.length;e++)this.ruler2.push(ir[e][0],ir[e][1])}or.prototype.skipToken=function(e){const t=e.pos,r=this.ruler.getRules(""),n=r.length,i=e.md.options.maxNesting,o=e.cache;if(void 0!==o[t])return void(e.pos=o[t]);let a=!1;if(e.level<i){for(let i=0;i<n;i++)if(e.level++,a=r[i](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos},or.prototype.tokenize=function(e){const t=this.ruler.getRules(""),r=t.length,n=e.posMax,i=e.md.options.maxNesting;for(;e.pos<n;){const o=e.pos;let a=!1;if(e.level<i)for(let n=0;n<r;n++)if(a=t[n](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(a){if(e.pos>=n)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},or.prototype.parse=function(e,t,r,n){const i=new this.State(e,t,r,n);this.tokenize(i);const o=this.ruler2.getRules(""),a=o.length;for(let e=0;e<a;e++)o[e](i)},or.prototype.State=Ut;const ar=or;function sr(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function lr(e){return Object.prototype.toString.call(e)}function cr(e){return"[object Function]"===lr(e)}function ur(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const dr={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},pr={"http:":{validate:function(e,t,r){const n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},fr="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function hr(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=ie.source,t.src_Cc=oe.source,t.src_Z=se.source,t.src_P=re.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const i=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){const r=e.__schemas__[t];if(null===r)return;const n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===lr(r))return"[object RegExp]"!==lr(r.validate)?cr(r.validate)?n.validate=r.validate:o(t,r):n.validate=function(e){return function(t,r){const n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(cr(r.normalize)?n.normalize=r.normalize:r.normalize?o(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===lr(e)}(r)?o(t,r):i.push(t)})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(ur).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function gr(e,t){const r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function mr(e,t){const r=new gr(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function vr(e,t){if(!(this instanceof vr))return new vr(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||dr.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=sr({},dr,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=sr({},pr,e),this.__compiled__={},this.__tlds__=fr,this.__tlds_replaced__=!1,this.re={},hr(this)}vr.prototype.add=function(e,t){return this.__schemas__[e]=t,hr(this),this},vr.prototype.set=function(e){return this.__opts__=sr(this.__opts__,e),this},vr.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,r,n,i,o,a,s,l,c;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=r.index+r[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=e.indexOf("@"),c>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,a=n.index+n[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a))),this.__index__>=0},vr.prototype.pretest=function(e){return this.re.pretest.test(e)},vr.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},vr.prototype.match=function(e){const t=[];let r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(mr(this,r)),r=this.__last_index__);let n=r?e.slice(r):e;for(;this.test(n);)t.push(mr(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null},vr.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,mr(this,0)):null},vr.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),hr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,hr(this),this)},vr.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},vr.prototype.onCompile=function(){};const yr=vr,br=2147483647,wr=36,Sr=/^xn--/,Cr=/[^\0-\x7F]/,Ar=/[\x2E\u3002\uFF0E\uFF61]/g,xr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},kr=Math.floor,Er=String.fromCharCode;function _r(e){throw new RangeError(xr[e])}function Ir(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const i=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(Ar,".")).split("."),t).join(".");return n+i}function Pr(e){const t=[];let r=0;const n=e.length;for(;r<n;){const i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){const n=e.charCodeAt(r++);56320==(64512&n)?t.push(((1023&i)<<10)+(1023&n)+65536):(t.push(i),r--)}else t.push(i)}return t}const Tr=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},Br=function(e,t,r){let n=0;for(e=r?kr(e/700):e>>1,e+=kr(e/t);e>455;n+=wr)e=kr(e/35);return kr(n+36*e/(e+38))},Dr=function(e){const t=[],r=e.length;let n=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let r=0;r<a;++r)e.charCodeAt(r)>=128&&_r("not-basic"),t.push(e.charCodeAt(r));for(let l=a>0?a+1:0;l<r;){const a=n;for(let t=1,i=wr;;i+=wr){l>=r&&_r("invalid-input");const a=(s=e.charCodeAt(l++))>=48&&s<58?s-48+26:s>=65&&s<91?s-65:s>=97&&s<123?s-97:wr;a>=wr&&_r("invalid-input"),a>kr((br-n)/t)&&_r("overflow"),n+=a*t;const c=i<=o?1:i>=o+26?26:i-o;if(a<c)break;const u=wr-c;t>kr(br/u)&&_r("overflow"),t*=u}const c=t.length+1;o=Br(n-a,c,0==a),kr(n/c)>br-i&&_r("overflow"),i+=kr(n/c),n%=c,t.splice(n++,0,i)}var s;return String.fromCodePoint(...t)},Nr=function(e){const t=[],r=(e=Pr(e)).length;let n=128,i=0,o=72;for(const r of e)r<128&&t.push(Er(r));const a=t.length;let s=a;for(a&&t.push("-");s<r;){let r=br;for(const t of e)t>=n&&t<r&&(r=t);const l=s+1;r-n>kr((br-i)/l)&&_r("overflow"),i+=(r-n)*l,n=r;for(const r of e)if(r<n&&++i>br&&_r("overflow"),r===n){let e=i;for(let r=wr;;r+=wr){const n=r<=o?1:r>=o+26?26:r-o;if(e<n)break;const i=e-n,a=wr-n;t.push(Er(Tr(n+i%a,0))),e=kr(i/a)}t.push(Er(Tr(e,0))),o=Br(i,l,s===a),i=0,++s}++i,++n}return t.join("")},Rr=function(e){return Ir(e,(function(e){return Cr.test(e)?"xn--"+Nr(e):e}))},Or=function(e){return Ir(e,(function(e){return Sr.test(e)?Dr(e.slice(4).toLowerCase()):e}))},zr={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},Mr=/^(vbscript|javascript|file|data):/,Fr=/^data:image\/(gif|png|jpeg|webp);/;function Lr(e){const t=e.trim().toLowerCase();return!Mr.test(t)||Fr.test(t)}const jr=["http:","https:","mailto:"];function Vr(e){const t=te(e,!0);if(t.hostname&&(!t.protocol||jr.indexOf(t.protocol)>=0))try{t.hostname=Rr(t.hostname)}catch(e){}return V(H(t))}function Hr(e){const t=te(e,!0);if(t.hostname&&(!t.protocol||jr.indexOf(t.protocol)>=0))try{t.hostname=Or(t.hostname)}catch(e){}return F(H(t),F.defaultChars+"%")}function qr(e,t){if(!(this instanceof qr))return new qr(e,t);t||Pe(e)||(t=e||{},e="default"),this.inline=new ar,this.block=new Ht,this.core=new It,this.renderer=new ot,this.linkify=new yr,this.validateLink=Lr,this.normalizeLink=Vr,this.normalizeLinkText=Hr,this.utils=r,this.helpers=De({},n),this.options={},this.configure(e),t&&this.set(t)}qr.prototype.set=function(e){return De(this.options,e),this},qr.prototype.configure=function(e){const t=this;if(Pe(e)){const t=e;if(!(e=zr[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)})),this},qr.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));const n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},qr.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));const n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},qr.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},qr.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},qr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},qr.prototype.parseInline=function(e,t){const r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},qr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const Ur=qr;var $r=i(1635),Wr="DevicePermissionsRequestDialog",Gr="allowPermission",Kr="denyPermission",Xr=i(1831),Yr=i(8807);const Jr=(0,Yr.U)("Location20Regular","20",["M5.05 4.05a7 7 0 1 1 9.9 9.9l-1.13 1.12-2.43 2.37a2 2 0 0 1-2.64.12l-.14-.12-2.04-1.99-1.52-1.5a7 7 0 0 1 0-9.9Zm9.2.7a6 6 0 0 0-8.67 8.32l.17.18.58.57 2.98 2.9.09.08a1 1 0 0 0 1.2 0l.1-.08 2.22-2.17 1.32-1.3.18-.18a6 6 0 0 0-.18-8.31ZM10 6.26a2.75 2.75 0 1 1 0 5.5 2.75 2.75 0 0 1 0-5.5Zm0 1a1.75 1.75 0 1 0 0 3.5 1.75 1.75 0 0 0 0-3.5Z"]),Zr=(0,Yr.U)("Midi20Regular","20",["M12.5 6a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2ZM5.75 7.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM9 6.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM2 4.5c0-.28.22-.5.5-.5h15c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-15a.5.5 0 0 1-.5-.5v-11ZM3 5v4h14V5H3Zm5 5H6v3.5a.5.5 0 0 1-1 0V10H3v5h14v-5h-2v3.5a.5.5 0 0 1-1 0V10h-2v3.5a.5.5 0 0 1-1 0V10H9v3.5a.5.5 0 0 1-1 0V10Z"]);var Qr=i(5705),en=a.createContext(null),tn=({children:e,graphql:t})=>a.createElement(en.Provider,{value:t},e);function rn(e,t,r){const n=(()=>{const e=a.useContext(en);return Qr(null!==e,"Nova GraphQL provider must be initialized prior to consumption!"),e})();return Qr(n.useLazyLoadQuery,"Expected host to provide a useLazyLoadQuery hook"),n.useLazyLoadQuery(e,t,r)}tn.displayName="NovaGraphQLProvider";var nn="unknown",on="mouse",an="keyboard",sn="touch",ln=(Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,(e,t,r)=>new Promise(((n,i)=>{var o=e=>{try{s(r.next(e))}catch(e){i(e)}},a=e=>{try{s(r.throw(e))}catch(e){i(e)}},s=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,a);s((r=r.apply(e,t)).next())}))),cn=a.createContext({}),un=({children:e,eventing:t,unmountEventing:r,reactEventMapper:n})=>{const i=a.useRef(t);i.current!==t&&(i.current=t);const o=a.useRef(r||t);o.current!==r&&(o.current=r||t);const s=a.useRef(n);s.current!==n&&(s.current=n);const l=a.useMemo((()=>({bubble:e=>ln(void 0,null,(function*(){const t=s.current(e);return pn(i,t)})),generateEvent:fn(i)})),[]),c=a.useMemo((()=>({bubble:e=>ln(void 0,null,(function*(){const t=s.current(e);return pn(o,t)})),generateEvent:fn(o)})),[]),u=a.useMemo((()=>({eventing:l,unmountEventing:c,internal:{eventingRef:i,unmountEventingRef:o,mapperRef:s}})),[l,c]);return a.createElement(cn.Provider,{value:u},e)};un.displayName="NovaEventingProvider";var dn=()=>{const{eventing:e}=a.useContext(cn);return Qr(e,"Nova Eventing provider must be initialized prior to consumption of eventing!"),e},pn=(e,t,r)=>ln(void 0,null,(function*(){if(!r)return e.current.bubble(t);let n=t;return n=yield r.current(t),n?e.current.bubble(n):Promise.resolve()})),fn=(e,t)=>r=>ln(void 0,null,(function*(){var n;const i={event:r.event,source:{inputType:"programmatic",timeStamp:null!=(n=r.timeStampOverride)?n:Date.now()}};if(!t)return e.current.bubble(i);let o=i;return o=yield t.current(i),o?e.current.bubble(o):Promise.resolve()})),hn=i(1009),gn=i(7843),mn=i(9272),vn=(0,mn.n)({ariaDescribedBy:{display:"none"}}),yn=function(e){var t=e.appearance,r=void 0===t?"primary":t,n=e.ariaDescribedByText,i=e.buttonLabel,o=e.onClick,s=(0,hn.Bi)(),l=vn();return a.createElement(a.Fragment,null,a.createElement(gn.$,{"aria-describedby":s,onClick:o,appearance:r},i),a.createElement("span",{id:s,className:l.ariaDescribedBy},n))};function bn(e,t){if(!Boolean(e))throw new Error(t)}function wn(e){return wn="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},wn(e)}"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol.iterator,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol.asyncIterator;var Sn="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function Cn(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index<t;)i+=1,o=t+1-(r.index+r[0].length);return{line:i,column:o}}function An(e){return xn(e.source,Cn(e.source,e.start))}function xn(e,t){var r=e.locationOffset.column-1,n=En(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?r:0,l=t.column+s,c="".concat(e.name,":").concat(a,":").concat(l,"\n"),u=n.split(/\r\n|[\n\r]/g),d=u[i];if(d.length>120){for(var p=Math.floor(l/80),f=l%80,h=[],g=0;g<d.length;g+=80)h.push(d.slice(g,g+80));return c+kn([["".concat(a),h[0]]].concat(h.slice(1,p+1).map((function(e){return["",e]})),[[" ",En(f-1)+"^"],["",h[p+1]]]))}return c+kn([["".concat(a-1),u[i-1]],["".concat(a),d],["",En(l-1)+"^"],["".concat(a+1),u[i+1]]])}function kn(e){var t=e.filter((function(e){return e[0],void 0!==e[1]})),r=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,n=e[0],i=e[1];return En(r-(t=n).length)+t+(i?" | "+i:" |")})).join("\n")}function En(e){return Array(e+1).join(" ")}function _n(e){return _n="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},_n(e)}function In(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bn(e,t){return!t||"object"!==_n(t)&&"function"!=typeof t?Dn(e):t}function Dn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nn(e){var t="function"==typeof Map?new Map:void 0;return Nn=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Rn(e,arguments,Mn(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),zn(n,e)},Nn(e)}function Rn(e,t,r){return Rn=On()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&zn(i,r.prototype),i},Rn.apply(null,arguments)}function On(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function zn(e,t){return zn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},zn(e,t)}function Mn(e){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Mn(e)}var Fn=function(e){!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}}),t&&zn(e,t)}(a,e);var t,r,n,i,o=(t=a,r=On(),function(){var e,n=Mn(t);if(r){var i=Mn(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return Bn(this,e)});function a(e,t,r,n,i,s,l){var c,u,d,p;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(p=o.call(this,e)).name="GraphQLError",p.originalError=null!=s?s:void 0,p.nodes=Ln(Array.isArray(t)?t:t?[t]:void 0);for(var f=[],h=0,g=null!==(m=p.nodes)&&void 0!==m?m:[];h<g.length;h++){var m,v=g[h].loc;null!=v&&f.push(v)}f=Ln(f),p.source=null!=r?r:null===(c=f)||void 0===c?void 0:c[0].source,p.positions=null!=n?n:null===(u=f)||void 0===u?void 0:u.map((function(e){return e.start})),p.locations=n&&r?n.map((function(e){return Cn(r,e)})):null===(d=f)||void 0===d?void 0:d.map((function(e){return Cn(e.source,e.start)})),p.path=null!=i?i:void 0;var y,b=null==s?void 0:s.extensions;return null==l&&"object"==wn(y=b)&&null!==y?p.extensions=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?In(Object(r),!0).forEach((function(t){Pn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):In(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},b):p.extensions=null!=l?l:{},Object.defineProperties(Dn(p),{message:{enumerable:!0},locations:{enumerable:null!=p.locations},path:{enumerable:null!=p.path},extensions:{enumerable:null!=p.extensions&&Object.keys(p.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=s&&s.stack?(Object.defineProperty(Dn(p),"stack",{value:s.stack,writable:!0,configurable:!0}),Bn(p)):(Error.captureStackTrace?Error.captureStackTrace(Dn(p),a):Object.defineProperty(Dn(p),"stack",{value:Error().stack,writable:!0,configurable:!0}),p)}return n=a,i=[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var r=0,n=e.nodes;r<n.length;r++){var i=n[r];i.loc&&(t+="\n\n"+An(i.loc))}else if(e.source&&e.locations)for(var o=0,a=e.locations;o<a.length;o++){var s=a[o];t+="\n\n"+xn(e.source,s)}return t}(this)}},{key:"toJSON",value:function(){return function(e){var t;e||bn(0,"Received null or undefined error.");var r=null!==(t=e.message)&&void 0!==t?t:"An unknown error occurred.",n=e.locations,i=e.path,o=e.extensions;return o&&Object.keys(o).length>0?{message:r,locations:n,path:i,extensions:o}:{message:r,locations:n,path:i}}(this)}},{key:Sn,get:function(){return"Object"}}],i&&Tn(n.prototype,i),a}(Nn(Error));function Ln(e){return void 0===e||0===e.length?void 0:e}function jn(e,t,r){return new Fn("Syntax Error: ".concat(r),void 0,e,[t])}var Vn=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});const Hn="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function qn(e){var t=e.prototype.toJSON;"function"==typeof t||function(){if(!Boolean(0))throw new Error("Unexpected invariant triggered.")}(),e.prototype.inspect=t,Hn&&(e.prototype[Hn]=t)}var Un=function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();qn(Un);var $n=function(){function e(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();qn($n);var Wn=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function Gn(e){return Gn="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},Gn(e)}function Kn(e,t){switch(Gn(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var r=[].concat(t,[e]),n=function(e){var t=e[String(Hn)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==n){var i=n.call(e);if(i!==e)return"string"==typeof i?i:Kn(i,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var r=Math.min(10,e.length),n=e.length-r,i=[],o=0;o<r;++o)i.push(Kn(e[o],t));return 1===n?i.push("... 1 more item"):n>1&&i.push("... ".concat(n," more items")),"["+i.join(", ")+"]"}(e,r);return function(e,t){var r=Object.keys(e);return 0===r.length?"{}":t.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(e)+"]":"{ "+r.map((function(r){return r+": "+Kn(e[r],t)})).join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}function Xn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Yn=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||bn(0,"Body must be a string. Received: ".concat(Kn(e,[]),".")),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||bn(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||bn(0,"column in locationOffset is 1-indexed and must be positive.")}var t,r;return t=e,(r=[{key:Sn,get:function(){return"Source"}}])&&Xn(t.prototype,r),e}(),Jn=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function Zn(e){var t=e.split(/\r\n|[\n\r]/g),r=function(e){for(var t,r=!0,n=!0,i=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:r=!1,n=!0,i=0;break;case 9:case 32:++i;break;default:n&&!r&&(null===o||i<o)&&(o=i),n=!1}return null!==(t=o)&&void 0!==t?t:0}(e);if(0!==r)for(var n=1;n<t.length;n++)t[n]=t[n].slice(r);for(var i=0;i<t.length&&Qn(t[i]);)++i;for(var o=t.length;o>i&&Qn(t[o-1]);)--o;return t.slice(i,o).join("\n")}function Qn(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}var ei=function(){function e(e){var t=new $n(Wn.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==Wn.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=ri(this,e)}while(e.kind===Wn.COMMENT);return e},e}();function ti(e){return isNaN(e)?Wn.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function ri(e,t){for(var r=e.source,n=r.body,i=n.length,o=t.end;o<i;){var a=n.charCodeAt(o),s=e.line,l=1+o-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 33:return new $n(Wn.BANG,o,o+1,s,l,t);case 35:return ii(r,o,s,l,t);case 36:return new $n(Wn.DOLLAR,o,o+1,s,l,t);case 38:return new $n(Wn.AMP,o,o+1,s,l,t);case 40:return new $n(Wn.PAREN_L,o,o+1,s,l,t);case 41:return new $n(Wn.PAREN_R,o,o+1,s,l,t);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return new $n(Wn.SPREAD,o,o+3,s,l,t);break;case 58:return new $n(Wn.COLON,o,o+1,s,l,t);case 61:return new $n(Wn.EQUALS,o,o+1,s,l,t);case 64:return new $n(Wn.AT,o,o+1,s,l,t);case 91:return new $n(Wn.BRACKET_L,o,o+1,s,l,t);case 93:return new $n(Wn.BRACKET_R,o,o+1,s,l,t);case 123:return new $n(Wn.BRACE_L,o,o+1,s,l,t);case 124:return new $n(Wn.PIPE,o,o+1,s,l,t);case 125:return new $n(Wn.BRACE_R,o,o+1,s,l,t);case 34:return 34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)?li(r,o,s,l,t,e):si(r,o,s,l,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return oi(r,o,a,s,l,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return ui(r,o,s,l,t)}throw jn(r,o,ni(a))}var c=e.line,u=1+o-e.lineStart;return new $n(Wn.EOF,i,i,c,u,t)}function ni(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(ti(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(ti(e),".")}function ii(e,t,r,n,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new $n(Wn.COMMENT,t,s,r,n,i,a.slice(t+1,s))}function oi(e,t,r,n,i,o){var a=e.body,s=r,l=t,c=!1;if(45===s&&(s=a.charCodeAt(++l)),48===s){if((s=a.charCodeAt(++l))>=48&&s<=57)throw jn(e,l,"Invalid number, unexpected digit after 0: ".concat(ti(s),"."))}else l=ai(e,l,s),s=a.charCodeAt(l);if(46===s&&(c=!0,s=a.charCodeAt(++l),l=ai(e,l,s),s=a.charCodeAt(l)),69!==s&&101!==s||(c=!0,43!==(s=a.charCodeAt(++l))&&45!==s||(s=a.charCodeAt(++l)),l=ai(e,l,s),s=a.charCodeAt(l)),46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw jn(e,l,"Invalid number, expected digit but got: ".concat(ti(s),"."));return new $n(c?Wn.FLOAT:Wn.INT,t,l,n,i,o,a.slice(t,l))}function ai(e,t,r){var n=e.body,i=t,o=r;if(o>=48&&o<=57){do{o=n.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw jn(e,i,"Invalid number, expected digit but got: ".concat(ti(o),"."))}function si(e,t,r,n,i){for(var o,a,s,l,c=e.body,u=t+1,d=u,p=0,f="";u<c.length&&!isNaN(p=c.charCodeAt(u))&&10!==p&&13!==p;){if(34===p)return f+=c.slice(d,u),new $n(Wn.STRING,t,u+1,r,n,i,f);if(p<32&&9!==p)throw jn(e,u,"Invalid character within String: ".concat(ti(p),"."));if(++u,92===p){switch(f+=c.slice(d,u-1),p=c.charCodeAt(u)){case 34:f+='"';break;case 47:f+="/";break;case 92:f+="\\";break;case 98:f+="\b";break;case 102:f+="\f";break;case 110:f+="\n";break;case 114:f+="\r";break;case 116:f+="\t";break;case 117:var h=(o=c.charCodeAt(u+1),a=c.charCodeAt(u+2),s=c.charCodeAt(u+3),l=c.charCodeAt(u+4),ci(o)<<12|ci(a)<<8|ci(s)<<4|ci(l));if(h<0){var g=c.slice(u+1,u+5);throw jn(e,u,"Invalid character escape sequence: \\u".concat(g,"."))}f+=String.fromCharCode(h),u+=4;break;default:throw jn(e,u,"Invalid character escape sequence: \\".concat(String.fromCharCode(p),"."))}d=++u}}throw jn(e,u,"Unterminated string.")}function li(e,t,r,n,i,o){for(var a=e.body,s=t+3,l=s,c=0,u="";s<a.length&&!isNaN(c=a.charCodeAt(s));){if(34===c&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return u+=a.slice(l,s),new $n(Wn.BLOCK_STRING,t,s+3,r,n,i,Zn(u));if(c<32&&9!==c&&10!==c&&13!==c)throw jn(e,s,"Invalid character within String: ".concat(ti(c),"."));10===c?(++s,++o.line,o.lineStart=s):13===c?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===c&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(u+=a.slice(l,s)+'"""',l=s+=4):++s}throw jn(e,s,"Unterminated string.")}function ci(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function ui(e,t,r,n,i){for(var o=e.body,a=o.length,s=t+1,l=0;s!==a&&!isNaN(l=o.charCodeAt(s))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++s;return new $n(Wn.NAME,t,s,r,n,i,o.slice(t,s))}var di,pi=function(){function e(e,t){var r=function(e){return e instanceof Yn}(e)?e:new Yn(e);this._lexer=new ei(r),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(Wn.NAME);return{kind:Vn.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:Vn.DOCUMENT,definitions:this.many(Wn.SOF,this.parseDefinition,Wn.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(Wn.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(Wn.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(Wn.BRACE_L))return{kind:Vn.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,r=this.parseOperationType();return this.peek(Wn.NAME)&&(t=this.parseName()),{kind:Vn.OPERATION_DEFINITION,operation:r,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(Wn.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(Wn.PAREN_L,this.parseVariableDefinition,Wn.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:Vn.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Wn.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Wn.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(Wn.DOLLAR),{kind:Vn.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:Vn.SELECTION_SET,selections:this.many(Wn.BRACE_L,this.parseSelection,Wn.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(Wn.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(Wn.COLON)?(e=n,t=this.parseName()):t=n,{kind:Vn.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Wn.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Wn.PAREN_L,t,Wn.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(Wn.COLON),{kind:Vn.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:Vn.ARGUMENT,name:this.parseName(),value:(this.expectToken(Wn.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(Wn.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(Wn.NAME)?{kind:Vn.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:Vn.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:Vn.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:Vn.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case Wn.BRACKET_L:return this.parseList(e);case Wn.BRACE_L:return this.parseObject(e);case Wn.INT:return this._lexer.advance(),{kind:Vn.INT,value:t.value,loc:this.loc(t)};case Wn.FLOAT:return this._lexer.advance(),{kind:Vn.FLOAT,value:t.value,loc:this.loc(t)};case Wn.STRING:case Wn.BLOCK_STRING:return this.parseStringLiteral();case Wn.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:Vn.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:Vn.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:Vn.NULL,loc:this.loc(t)};default:return{kind:Vn.ENUM,value:t.value,loc:this.loc(t)}}case Wn.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:Vn.STRING,value:e.value,block:e.kind===Wn.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:Vn.LIST,values:this.any(Wn.BRACKET_L,(function(){return t.parseValueLiteral(e)}),Wn.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:Vn.OBJECT,fields:this.any(Wn.BRACE_L,(function(){return t.parseObjectField(e)}),Wn.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(Wn.COLON),{kind:Vn.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(Wn.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(Wn.AT),{kind:Vn.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(Wn.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(Wn.BRACKET_R),e={kind:Vn.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(Wn.BANG)?{kind:Vn.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:Vn.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===Wn.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(Wn.STRING)||this.peek(Wn.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var r=this.parseDirectives(!0),n=this.many(Wn.BRACE_L,this.parseOperationTypeDefinition,Wn.BRACE_R);return{kind:Vn.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(Wn.COLON);var r=this.parseNamedType();return{kind:Vn.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:Vn.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:Vn.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(Wn.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(Wn.AMP)||this.peek(Wn.NAME));return t}return this.delimitedMany(Wn.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(Wn.BRACE_L)&&this._lexer.lookahead().kind===Wn.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(Wn.BRACE_L,this.parseFieldDefinition,Wn.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(Wn.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:Vn.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(Wn.PAREN_L,this.parseInputValueDef,Wn.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(Wn.COLON);var n,i=this.parseTypeReference();this.expectOptionalToken(Wn.EQUALS)&&(n=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:Vn.INPUT_VALUE_DEFINITION,description:t,name:r,type:i,defaultValue:n,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:Vn.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:Vn.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(Wn.EQUALS)?this.delimitedMany(Wn.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:Vn.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(Wn.BRACE_L,this.parseEnumValueDefinition,Wn.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:Vn.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:Vn.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(Wn.BRACE_L,this.parseInputValueDef,Wn.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===Wn.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(Wn.BRACE_L,this.parseOperationTypeDefinition,Wn.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:Vn.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:Vn.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return{kind:Vn.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return{kind:Vn.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:Vn.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:Vn.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:Vn.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Wn.AT);var r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:Vn.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(Wn.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==Jn[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new Un(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw jn(this._lexer.source,t.start,"Expected ".concat(hi(e),", found ").concat(fi(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==Wn.NAME||t.value!==e)throw jn(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(fi(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===Wn.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return jn(this._lexer.source,t.start,"Unexpected ".concat(fi(t),"."))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r},e}();function fi(e){var t=e.value;return hi(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function hi(e){return function(e){return e===Wn.BANG||e===Wn.DOLLAR||e===Wn.AMP||e===Wn.PAREN_L||e===Wn.PAREN_R||e===Wn.SPREAD||e===Wn.COLON||e===Wn.EQUALS||e===Wn.AT||e===Wn.BRACKET_L||e===Wn.BRACKET_R||e===Wn.BRACE_L||e===Wn.PIPE||e===Wn.BRACE_R}(e)?'"'.concat(e,'"'):e}function gi(e,...t){Qr(1===e.map((e=>e.trim())).filter((e=>e.length>0)).length,"Interpolations are only allowed at the end of the template.");const r=(i=e[0],new pi(i,{noLocation:!0}).parseDocument()),n=new Set(r.definitions);var i;return t.forEach((e=>e.definitions.forEach((e=>n.add(e))))),{kind:"Document",definitions:Array.from(n)}}function mi(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return gi.apply(void 0,(0,$r.__spreadArray)([e],(0,$r.__read)(t),!1))}!function(e){e.geolocation="geolocation",e.media="media",e.midi="midi",e.notifications="notifications",e.openExternal="openExternal"}(di||(di={}));var vi,yi,bi,wi,Si,Ci,Ai,xi=mi(vi||(vi=(0,$r.__makeTemplateObject)(["\n  query DevicePermissionsRequestDialogQuery {\n    views {\n      devicePermissionsRequestDialogControl {\n        localizedStrings {\n          title\n          requestPermissionToDevice\n          updateAnyTimeNotice\n          allowButtonLabel\n          denyButtonLabel\n          closeButtonAria\n        }\n      }\n    }\n  }\n"],["\n  query DevicePermissionsRequestDialogQuery {\n    views {\n      devicePermissionsRequestDialogControl {\n        localizedStrings {\n          title\n          requestPermissionToDevice\n          updateAnyTimeNotice\n          allowButtonLabel\n          denyButtonLabel\n          closeButtonAria\n        }\n      }\n    }\n  }\n"]))),ki=mi(yi||(yi=(0,$r.__makeTemplateObject)(["\n  query DevicePermissionsRefreshDialogQuery {\n    views {\n      devicePermissionsRefreshDialogControl {\n        localizedStrings {\n          title\n          closeButtonAria\n          laterButtonLabel\n          refreshButtonAria\n          refreshButtonLabel\n          unsavedChangesLost\n          updateAnyTimeNotice\n        }\n      }\n    }\n  }\n"],["\n  query DevicePermissionsRefreshDialogQuery {\n    views {\n      devicePermissionsRefreshDialogControl {\n        localizedStrings {\n          title\n          closeButtonAria\n          laterButtonLabel\n          refreshButtonAria\n          refreshButtonLabel\n          unsavedChangesLost\n          updateAnyTimeNotice\n        }\n      }\n    }\n  }\n"]))),Ei=mi(bi||(bi=(0,$r.__makeTemplateObject)(["\n  query DevicePermissionsCurrentAppPermissionsDialogWithSaveButtonQuery(\n    $appId: ID!\n    $includeNavigateToInstalledAppsControlText: Boolean!\n  ) {\n    views {\n      devicePermissionsCurrentAppDialogWithSaveButtonControl {\n        localizedStrings {\n          subtitle\n          cancelButtonAria\n          cancelButtonLabel\n          caption\n          saveButtonAria\n          saveButtonLabel\n\n          ... on NavigateToInstalledAppsControlString\n            @include(if: $includeNavigateToInstalledAppsControlText) {\n            navigateToInstalledAppsControlText\n          }\n\n          ... on LocalizedCommonAppPermissionsStrings {\n            closeButtonAria\n            title\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"],["\n  query DevicePermissionsCurrentAppPermissionsDialogWithSaveButtonQuery(\n    $appId: ID!\n    $includeNavigateToInstalledAppsControlText: Boolean!\n  ) {\n    views {\n      devicePermissionsCurrentAppDialogWithSaveButtonControl {\n        localizedStrings {\n          subtitle\n          cancelButtonAria\n          cancelButtonLabel\n          caption\n          saveButtonAria\n          saveButtonLabel\n\n          ... on NavigateToInstalledAppsControlString\n            @include(if: $includeNavigateToInstalledAppsControlText) {\n            navigateToInstalledAppsControlText\n          }\n\n          ... on LocalizedCommonAppPermissionsStrings {\n            closeButtonAria\n            title\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"]))),_i=(mi(wi||(wi=(0,$r.__makeTemplateObject)(["\n  query DevicePermissionsCurrentAppPermissionsDialogQuery(\n    $appId: ID!\n    $includeNavigateToInstalledAppsControlText: Boolean!\n  ) {\n    views {\n      devicePermissionsCurrentAppDialogControl {\n        localizedStrings {\n          subtitle\n          ... on NavigateToInstalledAppsControlString\n            @include(if: $includeNavigateToInstalledAppsControlText) {\n            navigateToInstalledAppsControlText\n          }\n          ... on LocalizedCommonAppPermissionsStrings {\n            closeButtonAria\n            title\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"],["\n  query DevicePermissionsCurrentAppPermissionsDialogQuery(\n    $appId: ID!\n    $includeNavigateToInstalledAppsControlText: Boolean!\n  ) {\n    views {\n      devicePermissionsCurrentAppDialogControl {\n        localizedStrings {\n          subtitle\n          ... on NavigateToInstalledAppsControlString\n            @include(if: $includeNavigateToInstalledAppsControlText) {\n            navigateToInstalledAppsControlText\n          }\n          ... on LocalizedCommonAppPermissionsStrings {\n            closeButtonAria\n            title\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"]))),mi(Si||(Si=(0,$r.__makeTemplateObject)(["\n  query DevicePermissionsHubSettingsAppPermissionsDialogQuery($appId: ID!) {\n    views {\n      devicePermissionsHubSettingsAppDialogControl {\n        localizedStrings {\n          backToSettingsText\n          refreshToApplyPermissions\n          ... on LocalizedCommonAppPermissionsStrings {\n            title\n            closeButtonAria\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"],["\n  query DevicePermissionsHubSettingsAppPermissionsDialogQuery($appId: ID!) {\n    views {\n      devicePermissionsHubSettingsAppDialogControl {\n        localizedStrings {\n          backToSettingsText\n          refreshToApplyPermissions\n          ... on LocalizedCommonAppPermissionsStrings {\n            title\n            closeButtonAria\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"]))),mi(Ci||(Ci=(0,$r.__makeTemplateObject)(["\n  query DevicePermissionsInstalledAppsQuery {\n    views {\n      devicePermissionsInstalledAppsControl {\n        localizedStrings {\n          title\n          description\n          installedAppsEmptyMessage\n        }\n      }\n    }\n    m365Apps {\n      edges {\n        node {\n          id\n          name\n          accessibleName\n          icon {\n            __typename\n            ... on RemoteImage {\n              src\n            }\n          }\n        }\n      }\n    }\n  }\n"],["\n  query DevicePermissionsInstalledAppsQuery {\n    views {\n      devicePermissionsInstalledAppsControl {\n        localizedStrings {\n          title\n          description\n          installedAppsEmptyMessage\n        }\n      }\n    }\n    m365Apps {\n      edges {\n        node {\n          id\n          name\n          accessibleName\n          icon {\n            __typename\n            ... on RemoteImage {\n              src\n            }\n          }\n        }\n      }\n    }\n  }\n"]))),mi(Ai||(Ai=(0,$r.__makeTemplateObject)(["\n  mutation DevicePermissionsConsentMutation(\n    $applicationID: ID!\n    $devicePermissions: [DevicePermissionStateInput!]!\n  ) {\n    changeDevicePermissionConsentStatus(\n      input: {\n        applicationID: $applicationID\n        devicePermissions: $devicePermissions\n      }\n    ) {\n      updatedM365Application {\n        id\n        devicePermissions {\n          devicePermission\n          isConsentGivenOnCurrentDevice\n        }\n      }\n    }\n  }\n"],["\n  mutation DevicePermissionsConsentMutation(\n    $applicationID: ID!\n    $devicePermissions: [DevicePermissionStateInput!]!\n  ) {\n    changeDevicePermissionConsentStatus(\n      input: {\n        applicationID: $applicationID\n        devicePermissions: $devicePermissions\n      }\n    ) {\n      updatedM365Application {\n        id\n        devicePermissions {\n          devicePermission\n          isConsentGivenOnCurrentDevice\n        }\n      }\n    }\n  }\n"]))),i(1419)),Ii=i(5260),Pi=i(4230);var Ti=i(131),Bi=i(5484),Di=(0,mn.n)({headline:{userSelect:"none",color:Bi.L.colorNeutralForeground1,fontWeight:Bi.L.fontWeightSemibold,lineHeight:Bi.L.lineHeightBase500},text:{color:Bi.L.colorNeutralForeground1,lineHeight:Bi.L.lineHeightBase300,userSelect:"none","@media screen and (max-width: 480px)":{lineHeight:Bi.L.lineHeightBase300}}}),Ni=function(e){var t=e.className,r=e.children,n=Di(),i=(0,_i.z)(n.text,t);return a.createElement(Ti.E,{size:300,className:i},r)},Ri=function(e){var t=e.children,r=e.className,n=Di(),i=(0,_i.z)(n.headline,r);return a.createElement(Ti.E,{size:500,className:i},t)},Oi=i(1013),zi=(0,mn.n)({borderRadius:(0,$r.__assign)({},Oi.Pt.borderRadius(Bi.L.borderRadiusXLarge)),dialogBox:(0,$r.__assign)((0,$r.__assign)((0,$r.__assign)((0,$r.__assign)({backgroundColor:Bi.L.colorNeutralBackground1},Oi.Pt.borderColor(Bi.L.colorTransparentStroke)),Oi.Pt.borderStyle("solid")),Oi.Pt.borderWidth("1px")),{display:"flex",flexDirection:"column",flexWrap:"nowrap",height:"auto",maxHeight:"100vh",maxWidth:"600px",opacity:1,paddingBottom:"".concat(24,"px"),position:"fixed",rowGap:"".concat(8,"px"),width:"560px",zIndex:100,flexShrink:1,"> *":{textOverflow:"ellipsis"},"> :not(:first-child)":{marginTop:"0px"},boxSizing:"border-box","@media screen and (max-width: 480px)":{width:"320px"}}),centering:{left:"50%",top:"50%",transform:"translate(-50%, -50%)"},overlay:{backgroundColor:"rgba(0,0,0,0.4)",position:"fixed",top:"0",left:"0",bottom:"0",right:"0",width:"100%",height:"100%",zIndex:50},contentSlot:(0,$r.__assign)((0,$r.__assign)({lineHeight:Bi.L.lineHeightBase300},Oi.Pt.paddingInline("".concat(24,"px"))),{boxSizing:"border-box","@media screen and (max-width: 480px)":{display:"flex",flexDirection:"column",width:"inherit"}}),shadow:{boxShadow:Bi.L.shadow64},header:{alignItems:"center",boxSizing:"border-box",color:Bi.L.colorNeutralForeground1,display:"flex",flexShrink:1,flexWrap:"nowrap",height:"fit-content",justifyContent:"space-between",paddingBottom:"".concat(22,"px"),paddingLeft:0,paddingRight:"".concat(20,"px"),paddingTop:"".concat(24,"px"),width:"100%","> *":{textOverflow:"ellipsis"},"> :not(:first-child)":{marginTop:"0px"}},headerButton:{alignSelf:"start"},headerText:{display:"flex",flexDirection:"column",justifyContent:"flex-start",verticalAlign:"top"},titleText:{paddingLeft:"".concat(24,"px")},backToSettingsStyles:{color:Bi.L.colorNeutralStroke1,fontSize:Bi.L.fontSizeBase300,fontWeight:Bi.L.fontWeightRegular,justifyContent:"flex-start",paddingLeft:"".concat(15,"px"),paddingRight:0,paddingTop:0},closeButton:{alignSelf:"flex-start"},item:{height:"auto",width:"auto",flexShrink:1}}),Mi=function(e){var t=e.backToSettingsText,r=e.id,n=e.onButtonClick,i=e.closeButtonAria,o=e.title,s=zi(),l=(0,_i.z)(s.item,s.headerButton),c=(0,_i.z)(s.item,s.headerText);return a.createElement("div",{id:r,className:s.header},a.createElement("div",{className:c},t&&a.createElement(gn.$,{icon:a.createElement(Ii.sCR,null),onClick:n,className:s.backToSettingsStyles,"aria-label":i,appearance:"transparent"},t),a.createElement(Ri,{className:s.titleText},o)),a.createElement("div",{className:l},a.createElement(gn.$,{"aria-label":i,appearance:"subtle",icon:a.createElement(Pi.iAS,null),onClick:n})))},Fi=function(e){var t,r=zi(),n=(0,hn.Bi)(),i=a.useRef(null),o=function(e){var t=(0,$r.__read)(a.useState([]),2),r=t[0],n=t[1];return a.useEffect((function(){if(e.current){var t=Array.from(e.current.querySelectorAll("a[href], button, input, textarea, select, details,[tabindex]")).filter((function(e){return"-1"!==e.getAttribute("tabindex")&&!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden")})).sort((function(e,t){var r,n,i=null!==(r=Number(e.getAttribute("tabindex")))&&void 0!==r?r:0,o=null!==(n=Number(t.getAttribute("tabindex")))&&void 0!==n?n:0;return i===o?0:0===i?1:0===o||i<o?-1:1}));n(t)}}),[]),r}(i);!function(e,t){a.useEffect((function(){var r=function(r){var n=null==e?void 0:e.current;!function(e){if(!e||!("nodeType"in e))throw new Error("Node expected")}(r.target),n&&!n.contains((null==r?void 0:r.target)||null)&&t(r)};return document.addEventListener("mousedown",r),function(){document.removeEventListener("mousedown",r)}}),[e,t])}(i,e.dialogHeaderProps.closeButtonClick);var s=(0,$r.__read)(a.useState(0),2),l=s[0],c=s[1],u=e.renderDialogContainerStyles,d=void 0===u||u,p=a.useCallback((function(e){var t=o.length;return e.shiftKey?(c(l-1<0?t-1:l-1),o[l].focus(),e.preventDefault()):(c(l+1>=t?0:l+1),o[l].focus(),e.preventDefault())}),[l,o]),f=(0,_i.z)(d&&r.borderRadius,d&&r.shadow,d&&r.centering,r.dialogBox);(0,a.useEffect)((function(){var t=function(t){switch(t.key){case"Escape":e.dialogHeaderProps.closeButtonClick(t);break;case"Tab":p(t)}};return window.addEventListener("keydown",t),function(){return window.removeEventListener("keydown",t)}}),[p,e.dialogHeaderProps]);var h=(0,_i.z)(e.renderDialogContainerStyles&&r.overlay);return a.createElement(a.Fragment,null,d&&a.createElement("div",{className:h}),a.createElement("div",{"aria-labelledby":n,"aria-modal":!0,className:f,role:"dialog",ref:i,style:{gap:null!==(t=e.gap)&&void 0!==t?t:0},tabIndex:-1},a.createElement(Mi,{closeButtonAria:e.dialogHeaderProps.closeButtonAria,id:n,onButtonClick:e.dialogHeaderProps.closeButtonClick,title:e.dialogHeaderProps.title,backToSettingsText:e.dialogHeaderProps.backToSettingsText}),a.createElement("div",{className:r.contentSlot},e.children)))},Li=(0,mn.n)({buttonGroup:{display:"flex",justifyContent:"end",width:"100%",columnGap:"".concat(8,"px"),boxSizing:"border-box","@media screen and (max-width: 480px)":{flexDirection:"column",rowGap:"".concat(8,"px")}},footer:(0,$r.__assign)((0,$r.__assign)({height:"fit-content",boxSizing:"border-box",justifyContent:"space-between",vAlign:"top",width:"100%",display:"flex",paddingTop:"".concat(14,"px")},Oi.Pt.marginInline("".concat(4,"px"))),{"@media screen and (max-width: 480px)":(0,$r.__assign)((0,$r.__assign)({flexDirection:"column"},Oi.Pt.marginInline(0)),{paddingTop:"".concat(18,"px"),rowGap:"".concat(8,"px")})})}),ji=function(e){var t=e.className,r=e.children,n=e.includeButtonGroup,i=void 0===n||n,o=Li();return a.createElement("div",{className:"".concat(o.footer," ").concat(t||"")},i?a.createElement("div",{className:o.buttonGroup},r):r)},Vi=(0,mn.n)({dialogContent:{display:"flex",flexDirection:"column",rowGap:"12px"},PermissionsIcon:{display:"flex",height:"auto",width:"auto"},IconTextWrapper:{display:"flex",width:"auto",height:"auto",alignItems:"start",boxSizing:"border-box",columnGap:"".concat(14,"px"),flexShrink:1,"> *":{textOverflow:"ellipsis"},"> :not(:first-child)":{marginTop:"0px"}}}),Hi=a.forwardRef((function(e,t){var r,n=e.appId,i=e.permissionBeingRequested,o=e.renderDialogContainerStyles,s=void 0===o||o,l=rn(xi,{}),c=(0,a.useMemo)((function(){if(l.error)throw l.error;return(null==l?void 0:l.data)?l.data:null}),[l.data,l.error]),u=(0,a.useCallback)((function(){if(i){var e=void 0;return"media"===i?e=a.createElement(Xr.KNH,null):"midi"===i?e=a.createElement(Zr,null):"geolocation"===i&&(e=a.createElement(Jr,null)),e}}),[i]),d=(r=dn(),{bubbleAllowPermission:a.useCallback((function(e){return(0,$r.__awaiter)(void 0,void 0,void 0,(function(){return(0,$r.__generator)(this,(function(t){return r.bubble({event:(o=function(){if(!c)throw new Error("No permission passed to dialog");return{appId:n,permissionType:i}},{originator:Wr,type:Gr,data:o}),reactEvent:e}),[2];var o}))}))}),[r]),bubbleDenyPermission:a.useCallback((function(e){return(0,$r.__awaiter)(void 0,void 0,void 0,(function(){return(0,$r.__generator)(this,(function(t){return r.bubble({event:(o=function(){if(!c)throw new Error("No permission passed to dialog");return{appId:n,permissionType:i}},{originator:Wr,type:Kr,data:o}),reactEvent:e}),[2];var o}))}))}),[r])}),p=Vi();return a.useMemo((function(){var e,t,r,n,i,o,l,f,h,g,m,v,y,b,w,S,C,A,x=function(e){d.bubbleDenyPermission(e)};return a.createElement(Fi,{dialogHeaderProps:{title:"".concat(null===(r=null===(t=null===(e=null==c?void 0:c.views)||void 0===e?void 0:e.devicePermissionsRequestDialogControl)||void 0===t?void 0:t.localizedStrings)||void 0===r?void 0:r.title),closeButtonClick:x,closeButtonAria:"".concat(null===(o=null===(i=null===(n=null==c?void 0:c.views)||void 0===n?void 0:n.devicePermissionsRequestDialogControl)||void 0===i?void 0:i.localizedStrings)||void 0===o?void 0:o.closeButtonAria)},renderDialogContainerStyles:s},a.createElement("div",{className:p.dialogContent},a.createElement("div",{className:p.IconTextWrapper},a.createElement("div",{className:p.PermissionsIcon},u()),a.createElement(Ni,null,null===(h=null===(f=null===(l=null==c?void 0:c.views)||void 0===l?void 0:l.devicePermissionsRequestDialogControl)||void 0===f?void 0:f.localizedStrings)||void 0===h?void 0:h.requestPermissionToDevice)),a.createElement(Ni,null,null===(v=null===(m=null===(g=null==c?void 0:c.views)||void 0===g?void 0:g.devicePermissionsRequestDialogControl)||void 0===m?void 0:m.localizedStrings)||void 0===v?void 0:v.updateAnyTimeNotice)),a.createElement(ji,null,a.createElement(yn,{ariaDescribedByText:"Approve the app's request to access this device",buttonLabel:"".concat(null===(w=null===(b=null===(y=null==c?void 0:c.views)||void 0===y?void 0:y.devicePermissionsRequestDialogControl)||void 0===b?void 0:b.localizedStrings)||void 0===w?void 0:w.allowButtonLabel),onClick:function(e){d.bubbleAllowPermission(e)}}),a.createElement(yn,{ariaDescribedByText:"Decline the app's request to access this device",buttonLabel:"".concat(null===(A=null===(C=null===(S=null==c?void 0:c.views)||void 0===S?void 0:S.devicePermissionsRequestDialogControl)||void 0===C?void 0:C.localizedStrings)||void 0===A?void 0:A.denyButtonLabel),onClick:x,appearance:"secondary"})))}),[c,d,s,u])})),qi="BrowserRefreshDialogRefreshDialogOriginator",Ui={allowBrowserRefresh:"allowBrowserRefresh",deferBrowserRefresh:"deferBrowserRefresh"},$i=(0,mn.n)({dialogContent:{display:"flex",flexDirection:"column",rowGap:"12px"}}),Wi=function(e){var t,r,n,i,o,s,l,c,u,d,p,f=e.appId,h=e.renderDialogContainerStyles,g=void 0===h||h,m=$i(),v=rn(ki,{}),y=(0,a.useMemo)((function(){if(v.error)throw v.error;return v.data?v.data:null}),[v.data,v.error]),b=(p=dn(),{bubbleAllowBrowserRefresh:(0,a.useCallback)((function(e){return(0,$r.__awaiter)(void 0,void 0,void 0,(function(){return(0,$r.__generator)(this,(function(t){return p.bubble({event:(r=function(){return{appId:f}},{originator:qi,type:Ui.allowBrowserRefresh,data:r}),reactEvent:e}),[2];var r}))}))}),[p]),bubbleDeclineBrowserRefresh:(0,a.useCallback)((function(e){return(0,$r.__awaiter)(void 0,void 0,void 0,(function(){return(0,$r.__generator)(this,(function(t){return p.bubble({event:(r=function(){return{appId:f}},{originator:qi,type:Ui.deferBrowserRefresh,data:r}),reactEvent:e}),[2];var r}))}))}),[p])});return(0,a.useMemo)((function(){var e,t,r,n,i,o,s,l,c,u,d,p,f,h,v,w,S=function(e){return b.bubbleDeclineBrowserRefresh(e)};return a.createElement(Fi,{dialogHeaderProps:{title:"".concat(null===(e=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===e?void 0:e.localizedStrings.title),closeButtonClick:S,closeButtonAria:"".concat(null===(t=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===t?void 0:t.localizedStrings.closeButtonAria)},renderDialogContainerStyles:g},a.createElement("div",{className:m.dialogContent},a.createElement(Ni,null,null===(r=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===r?void 0:r.localizedStrings.unsavedChangesLost),a.createElement(Ni,null,null===(n=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===n?void 0:n.localizedStrings.updateAnyTimeNotice)),a.createElement(ji,null,a.createElement(yn,{buttonLabel:"".concat(null===(s=null===(o=null===(i=null==y?void 0:y.views)||void 0===i?void 0:i.devicePermissionsRefreshDialogControl)||void 0===o?void 0:o.localizedStrings)||void 0===s?void 0:s.refreshButtonLabel),ariaDescribedByText:"".concat(null===(u=null===(c=null===(l=null==y?void 0:y.views)||void 0===l?void 0:l.devicePermissionsRefreshDialogControl)||void 0===c?void 0:c.localizedStrings)||void 0===u?void 0:u.refreshButtonAria),onClick:function(e){return b.bubbleAllowBrowserRefresh(e)}}),a.createElement(yn,{buttonLabel:"".concat(null===(f=null===(p=null===(d=null==y?void 0:y.views)||void 0===d?void 0:d.devicePermissionsRefreshDialogControl)||void 0===p?void 0:p.localizedStrings)||void 0===f?void 0:f.laterButtonLabel),ariaDescribedByText:"".concat(null===(w=null===(v=null===(h=null==y?void 0:y.views)||void 0===h?void 0:h.devicePermissionsRefreshDialogControl)||void 0===v?void 0:v.localizedStrings)||void 0===w?void 0:w.closeButtonAria),onClick:S,appearance:"secondary"})))}),[null===(t=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===t?void 0:t.localizedStrings.closeButtonAria,null===(n=null===(r=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===r?void 0:r.localizedStrings)||void 0===n?void 0:n.laterButtonLabel,null===(o=null===(i=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===i?void 0:i.localizedStrings)||void 0===o?void 0:o.refreshButtonAria,null===(l=null===(s=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===s?void 0:s.localizedStrings)||void 0===l?void 0:l.refreshButtonLabel,null===(c=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===c?void 0:c.localizedStrings.title,null===(u=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===u?void 0:u.localizedStrings.unsavedChangesLost,null===(d=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===d?void 0:d.localizedStrings.updateAnyTimeNotice,b,g,m.dialogContent])},Gi="CurrentAppPermissionsRequestDialog",Ki="cancelPermissionsChange",Xi="savePermissionsChange",Yi=i(7784);const Ji=(0,Yr.U)("MusicNote120Regular","20",["M10.15 2.02a.5.5 0 0 0-.65.48v9.9A3.24 3.24 0 0 0 4 14.75a3.25 3.25 0 1 0 6.5-.25V7.18l5.85 1.8A.5.5 0 0 0 17 8.5V5.98a2.5 2.5 0 0 0-1.76-2.4l-5.1-1.56ZM16 7.82l-5.5-1.69V3.18l4.44 1.36c.63.2 1.06.78 1.06 1.44v1.84ZM5 14.75a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0Z"]),Zi=(0,Yr.U)("Open20Regular","20",["M6 4a2 2 0 0 0-2 2v8c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2v-2.5a.5.5 0 0 1 1 0V14a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2.5a.5.5 0 0 1 0 1H6Zm5-.5c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V4.7l-4.15 4.15a.5.5 0 0 1-.7-.7L15.29 4H11.5a.5.5 0 0 1-.5-.5Z"]);var Qi,eo,to,ro,no=i(3040),io=(0,mn.n)({labelText:(0,$r.__assign)({color:Bi.L.colorNeutralForeground1,fontSize:Bi.L.fontSizeBase300,fontWeight:600},Oi.Pt.padding("5px 0")),toggle:(0,$r.__assign)((0,$r.__assign)((0,$r.__assign)({alignItems:"center",backgroundColor:"transparent",display:"flex",flexWrap:"wrap"},Oi.Pt.border("0")),Oi.Pt.padding("0")),(Qi={":focus":(0,$r.__assign)((0,$r.__assign)({},Oi.Pt.outline(0)),(eo={},eo["& span"]=(0,$r.__assign)({},Oi.Pt.outline("2px","solid",Bi.L.colorNeutralForeground3)),eo)),":focus:not(:focus-visible) span":(0,$r.__assign)({},Oi.Pt.outline(0))},Qi['[aria-checked="true"] span']=(0,$r.__assign)({backgroundColor:Bi.L.colorBrandBackground},Oi.Pt.border("1px","solid",Bi.L.colorTransparentStrokeInteractive)),Qi['[aria-checked="true"] span::before']={backgroundColor:Bi.L.colorNeutralBackground1,transform:"translateX(19px)"},Qi['[aria-checked="false"]:hover span']=(0,$r.__assign)({},Oi.Pt.border("1px","solid",Bi.L.colorNeutralForeground3Hover)),Qi['[aria-checked="false"]:hover span::before']={backgroundColor:Bi.L.colorNeutralForeground3Hover},Qi['[aria-checked="true"]:hover span']={backgroundColor:Bi.L.colorBrandBackgroundHover},Qi[":disabled span"]={opacity:"0.6",filter:"grayscale(40%)",cursor:"not-allowed"},Qi["@media (prefers-reduced-motion: reduce) span"]={transitionDuration:"0ms"},Qi)),toggleDisplay:(0,$r.__assign)((0,$r.__assign)((0,$r.__assign)({alignItems:"center",backgroundColor:Bi.L.colorNeutralBackground1,boxSizing:"border-box",display:"inline-flex",height:"20px",justifyContent:"space-around",position:"relative",transitionDuration:"250ms",width:"40px"},Oi.Pt.border("1px","solid",Bi.L.colorNeutralForeground3)),Oi.Pt.borderRadius("100px")),{"&:before":(0,$r.__assign)((0,$r.__assign)({backgroundColor:Bi.L.colorNeutralForeground3,boxSizing:"border-box",content:"''",height:"14px",left:"3px",position:"absolute",transform:"translateX(0, -50%)",width:"14px",zIndex:"2"},Oi.Pt.borderRadius("50%")),Oi.Pt.transition("transform","250ms"))})}),oo=function(e){var t=e.checked,r=e.disabled,n=void 0!==r&&r,i=e.id,o=e.label,s=e.onClick,l=io();return a.createElement(a.Fragment,null,o&&a.createElement("span",{className:l.labelText,id:i},o),a.createElement("button",{"aria-labelledby":i,className:l.toggle,onClick:s,disabled:n,role:"switch","aria-checked":t},a.createElement("span",{hidden:!0,className:l.toggleDisplay})))},ao=(0,mn.n)({icon:{alignSelf:"flex-start",paddingRight:"".concat(17,"px")},mediaPermission:{height:"20px",width:"20px"},permissionName:{fontWeight:Bi.L.fontWeightMedium},permissionsText:{color:Bi.L.colorNeutralForeground1},permissionList:{boxSizing:"border-box"},permissionRow:{borderBottomColor:Bi.L.colorNeutralStroke2,borderBottomStyle:"solid",borderBottomWidth:"1px",display:"flex",paddingBottom:"20px",paddingTop:"12px",width:"100%"},toggle:{marginLeft:"auto"}}),so=function(e){var t=e.devicePermissions,r=e.permissions,n=e.onClick,i=ao();return a.createElement("div",{className:i.permissionList},null==r?void 0:r.map((function(e,r){return function(e,t,r){var o;switch(e.devicePermission){case di.media:o=a.createElement(Yi.kz4,{className:i.mediaPermission});break;case di.geolocation:o=a.createElement(Jr,null);break;case di.midi:o=a.createElement(Ji,null);break;case di.notifications:o=a.createElement(no.PPx,null);break;case di.openExternal:o=a.createElement(Zi,null)}return a.createElement("div",{key:"".concat(r),className:i.permissionRow},a.createElement("div",{className:i.icon},o),a.createElement("div",{className:i.permissionsText},a.createElement("div",{className:i.permissionName},e.nameOfPermission),a.createElement("div",null,e.description)),a.createElement("div",{className:i.toggle},a.createElement(oo,{id:"".concat(r),checked:t[e.devicePermission],onClick:function(r){return n(r,null==e?void 0:e.devicePermission,!t[e.devicePermission])}})))}(e,t,r)})))},lo=(0,mn.n)({dialogContent:{display:"flex",flexDirection:"column",rowGap:"12px"},navigateToInstalledApps:{color:Bi.L.colorBrandBackground,paddingLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,gridColumnStart:1,gridColumnEnd:1,fontWeight:Bi.L.fontWeightRegular,justifyContent:"flex-start"},footer:{display:"grid",gridTemplateColumns:"1fr auto auto",gridTemplateRows:"auto",rowGap:"8px",columnGap:"8px",width:"100%"},caption:{fontSize:Bi.L.fontSizeBase300,gridRowStart:"1",gridRowEnd:"1",gridColumnStart:"span 3"},leftButton:{gridColumnStart:2,gridColumnEnd:2},rightButton:{gridColumnStart:3,gridColumnEnd:3}}),co=a.forwardRef((function(e,t){var r=e.appId,n=e.includeNavigateToInstalledAppsControlText,i=e.renderDialogContainerStyles,o=void 0===i||i,s=a.useRef(),l=rn(Ei,{appId:r,includeNavigateToInstalledAppsControlText:n}),c=(0,$r.__read)(a.useState(Object.keys(di).reduce((function(e,t){var r;return(0,$r.__assign)((0,$r.__assign)({},e),((r={})[t]=!1,r))}),{})),2),u=c[0],d=c[1];a.useEffect((function(){var e,t,r=((null===(t=null===(e=l.data)||void 0===e?void 0:e.m365PlatformApp.devicePermissions)||void 0===t?void 0:t.map((function(e){return(0,$r.__assign)((0,$r.__assign)({},e),{devicePermission:e.devicePermission})})))||[]).reduce((function(e,t){var r;return(0,$r.__assign)((0,$r.__assign)({},e),((r={})[t.devicePermission]=t.isConsentGivenOnCurrentDevice,r))}),{});s.current=r,d(r)}),[]);var p=a.useCallback((function(e,t){var r,n=(0,$r.__assign)((0,$r.__assign)({},u),((r={})[e]=t,r));d(n)}),[u]),f=a.useMemo((function(){if(l.error)throw l.error;return(null==l?void 0:l.data)?l.data:null}),[l]),h=dn(),g=a.useCallback((function(){return{bubbleCancelPermissionConsentChanges:function(e,t){return(0,$r.__awaiter)(void 0,void 0,void 0,(function(){return(0,$r.__generator)(this,(function(n){return h.bubble({event:(i=function(){if(!f)throw new Error("No permission passed to dialog");return{appId:r,navigateToInstalledAppsPermissionsSettings:t}},{originator:Gi,type:Ki,data:i}),reactEvent:e}),[2];var i}))}))},bubbleSavePermissionConsentChanges:function(e){return(0,$r.__awaiter)(void 0,void 0,void 0,(function(){var t;return(0,$r.__generator)(this,(function(n){return t=function(e){if(!e)return[];var t=[];return Object.keys(e).forEach((function(r){t.push({devicePermission:r,isConsentGivenOnCurrentDevice:e[r]})})),t}(u),h.bubble({event:(i=function(){if(!f)throw new Error("No permission passed to dialog");return{appId:r,permissionTypes:t}},{originator:Gi,type:Xi,data:i}),reactEvent:e}),[2];var i}))}))}}}),[u,r,f,h])(),m=lo();return a.useMemo((function(){var e,t,r,i,s,l,c,d,h,v,y,b,w,S,C,A,x,k,E,_,I,P,T,B,D,N,R,O,z,M,F,L,j,V,H,q=function(e,t){void 0===t&&(t=!1),g.bubbleCancelPermissionConsentChanges(e,t)};return a.createElement(Fi,{dialogHeaderProps:{title:"".concat(null===(r=null===(t=null===(e=null==f?void 0:f.views)||void 0===e?void 0:e.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===t?void 0:t.localizedStrings)||void 0===r?void 0:r.title),closeButtonClick:q,closeButtonAria:"".concat(null===(l=null===(s=null===(i=null==f?void 0:f.views)||void 0===i?void 0:i.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===s?void 0:s.localizedStrings)||void 0===l?void 0:l.closeButtonAria)},renderDialogContainerStyles:o},a.createElement("div",{className:m.dialogContent},(null===(h=null===(d=null===(c=null==f?void 0:f.views)||void 0===c?void 0:c.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===d?void 0:d.localizedStrings)||void 0===h?void 0:h.subtitle)&&a.createElement(Ni,null,null===(b=null===(y=null===(v=null==f?void 0:f.views)||void 0===v?void 0:v.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===y?void 0:y.localizedStrings)||void 0===b?void 0:b.subtitle),a.createElement(Ni,null,a.createElement(so,{permissions:(null===(w=null==f?void 0:f.views.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===w?void 0:w.localizedStrings.permissions)||[],devicePermissions:u,onClick:function(e,t,r){p(t,r)}}))),(null===(A=null===(C=null===(S=null==f?void 0:f.views)||void 0===S?void 0:S.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===C?void 0:C.localizedStrings)||void 0===A?void 0:A.navigateToInstalledAppsControlText)&&a.createElement(ji,{includeButtonGroup:!1},a.createElement("div",{className:m.footer},n&&a.createElement(gn.$,{onClick:function(e){return q(e,!0)},className:m.navigateToInstalledApps,"data-id":"currentAppPermissionsDialogNavigateToInstalledAppsButtons","aria-label":(null===(E=null===(k=null===(x=null==f?void 0:f.views)||void 0===x?void 0:x.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===k?void 0:k.localizedStrings)||void 0===E?void 0:E.navigateToInstalledAppsControlText)||"",appearance:"transparent"},null===(P=null===(I=null===(_=null==f?void 0:f.views)||void 0===_?void 0:_.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===I?void 0:I.localizedStrings)||void 0===P?void 0:P.navigateToInstalledAppsControlText),a.createElement(a.Fragment,null,a.createElement("div",{className:m.caption},null===(B=null===(T=null==f?void 0:f.views)||void 0===T?void 0:T.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===B?void 0:B.localizedStrings.caption),a.createElement("span",{className:m.leftButton},a.createElement(yn,{buttonLabel:"".concat(null===(R=null===(N=null===(D=null==f?void 0:f.views)||void 0===D?void 0:D.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===N?void 0:N.localizedStrings)||void 0===R?void 0:R.saveButtonLabel),ariaDescribedByText:"".concat(null===(M=null===(z=null===(O=null==f?void 0:f.views)||void 0===O?void 0:O.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===z?void 0:z.localizedStrings)||void 0===M?void 0:M.saveButtonAria),onClick:function(e){g.bubbleSavePermissionConsentChanges(e)},"data-id":"CurrentAppPermissionsSaveButton"})),a.createElement("span",{className:m.rightButton},a.createElement(yn,{buttonLabel:"".concat(null===(L=null===(F=null==f?void 0:f.views)||void 0===F?void 0:F.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===L?void 0:L.localizedStrings.cancelButtonLabel),ariaDescribedByText:"".concat(null===(H=null===(V=null===(j=null==f?void 0:f.views)||void 0===j?void 0:j.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===V?void 0:V.localizedStrings)||void 0===H?void 0:H.cancelButtonAria),"data-id":"CurrentAppPermissionsCancelButton",onClick:q,appearance:"secondary"}))))))}),[u,f,n,g,o,m.caption,m.dialogContent,m.footer,m.leftButton,m.navigateToInstalledApps,m.rightButton,p])}));!function(e){e.stage="stage",e.task="task",e.configuration="configuration",e.removal="removal"}(to||(to={})),function(e){e.url="url",e.card="card",e.message="message",e.error="error",e.loader="loader"}(ro||(ro={}));var uo=i(1128);class po{constructor(e){this.logger=e}LogInfo(e){this.log(uo.$.Info,e)}LogError(e){this.log(uo.$.Error,e)}LogException(e){this.log(uo.$.Error,e)}LogWarning(e){this.log(uo.$.Warn,e)}LogVerbose(e){this.log(uo.$.Debug,e)}LogMetric(e){this.log(uo.$.Info,e)}log(e,t){const{tag:r,name:n,type:i,duration:o,message:a}=t,s=(0,$r.__rest)(t,["tag","name","type","duration","message"]),l=`detail: ${r}_${n}_${i},\n      metaData: ${JSON.stringify(s)},\n      latency: ${o},\n      message: ${a},\n    })`;this.logger.log(e,`${t.tag}`,l)}}var fo=i(3936);class ho{constructor(e,t){this.telemetryLogger=e,this.traceId=t}LogInfo(e){this.log(uo.$.Info,e)}LogError(e){this.log(uo.$.Error,e)}LogException(e){this.log(uo.$.Error,e)}LogWarning(e){this.log(uo.$.Warn,e)}LogVerbose(e){this.log(uo.$.Debug,e)}LogMetric(e){this.log(uo.$.Info,e)}log(e,t){var r;const{tag:n,name:i,type:o,duration:a,message:s}=t,l=(0,$r.__rest)(t,["tag","name","type","duration","message"]),c=`detail: ${n}_${i}_${o},\n      metaData: ${JSON.stringify(l)},\n      latency: ${a},\n      message: ${s},\n    })`;null===(r=this.telemetryLogger)||void 0===r||r.log(e,`${t.tag}`,c)}}var go,mo=i(1951),vo=i(8264);!function(e){e.TaskModule="taskModule",e.StageView="stageView",e.LaunchPage="launchPage",e.DeepLinkOther="deepLinkOther",e.Unhandled="unhandled"}(go||(go={}));var yo,bo,wo,So,Co,Ao,xo,ko,Eo,_o,Io,Po,To=i(8696);!function(e){e[e.LogInfo=1]="LogInfo",e[e.LogError=2]="LogError",e[e.LogException=3]="LogException",e[e.LogMetric=4]="LogMetric",e[e.LogWarning=5]="LogWarning",e[e.LogVerbose=6]="LogVerbose"}(yo||(yo={})),function(e){e.Successful="true",e.Failure="false",e.Timeout="timeout"}(bo||(bo={})),function(e){e.AuthSDK="AuthSDK",e.EntityRepresentation="EntityRepresentation",e.PluginManagement="PluginManagement",e.ClientSkill="ClientSkill.Execute",e.SystemMessage="SystemMessage",e.ParsingFilteringEvent="ParsingFilteringEvent",e.MessageTransformation="MessageTransformation",e.CustomAgent="CustomAgent",e.DeclarativeAgent="DeclarativeAgent",e.ActiveTurn="ActiveTurn",e.ActiveSession="ActiveSession",e.AsyncChannelClient="AsyncChannelClient",e.TrouterClient="TrouterClient"}(wo||(wo={}));class Bo{constructor(e,t,r,n,i){this.telemetryService=e,this.tag=t,this.name=r,this.start=Date.now(),this.isLoggingDone=!1,this.eventId=n,this.scenario=i,this.timeoutId=setTimeout((()=>{this.log({eventId:this.eventId,type:yo.LogMetric,tag:this.tag,name:this.name,success:bo.Timeout,duration:6e4,diagnosticsData:`Ended with Timeout , Scenario: ${this.scenario}`}),this.isLoggingDone=!0}),6e4)}setScenario(e){this.scenario=e}logMetricEnd(e,t){if(clearTimeout(this.timeoutId),!this.isLoggingDone){this.isLoggingDone=!0;const r=Date.now()-this.start;this.log(Object.assign(Object.assign({},e),{eventId:this.eventId,type:yo.LogMetric,tag:this.tag,name:this.name,success:bo.Successful,duration:r,correlationVector:t}))}}logMetricEndWithError(e,t){if(clearTimeout(this.timeoutId),!this.isLoggingDone){this.isLoggingDone=!0;const r=Date.now()-this.start;this.log(Object.assign(Object.assign({},e),{eventId:this.eventId,type:yo.LogMetric,tag:this.tag,name:this.name,success:bo.Failure,duration:r,correlationVector:t}))}}log(e){var t;null===(t=this.telemetryService)||void 0===t||t.LogMetric(e)}}!function(e){e[e.None=0]="None",e[e.AppDefinitionIsUndefined=1]="AppDefinitionIsUndefined",e[e.AttributedDataNotFound=2]="AttributedDataNotFound",e[e.UserPrincipalNameIsNotAvailable=3]="UserPrincipalNameIsNotAvailable",e[e.HostLocaleIsUndefined=4]="HostLocaleIsUndefined",e[e.CardContentParseError=5]="CardContentParseError"}(So||(So={})),function(e){e[e.None=0]="None",e[e.MsgExtCardHeader=1]="MsgExtCardHeader",e[e.GetAppDataException=2]="GetAppDataException",e[e.VerifyCardException=3]="VerifyCardException",e[e.CreateMsgExtContext=4]="CreateMsgExtContext",e[e.GetAppDataForAPIPlugins=5]="GetAppDataForAPIPlugins"}(Co||(Co={})),function(e){e[e.None=0]="None",e[e.CardRender=1]="CardRender",e[e.CardActions=2]="CardActions",e[e.BotInvoke=3]="BotInvoke",e[e.GetApp=4]="GetApp",e[e.GetImage=5]="GetImage",e[e.OpenDialog=6]="OpenDialog",e[e.CitationOrEntityControl=7]="CitationOrEntityControl",e[e.ReferenceContainer=8]="ReferenceContainer",e[e.GetUserConfig=9]="GetUserConfig",e[e.FindAcquisition=10]="FindAcquisition",e[e.GetAndCacheAcquisition=11]="GetAndCacheAcquisition",e[e.CardService=12]="CardService",e[e.BrokeredCardService=13]="BrokeredCardService",e[e.APIPluginCardService=14]="APIPluginCardService",e[e.APIPluginHostService=15]="APIPluginHostService",e[e.APIPluginOAuth2Service=16]="APIPluginOAuth2Service",e[e.NativeCEACardService=17]="NativeCEACardService",e[e.NativeCEAAuthenticationService=18]="NativeCEAAuthenticationService",e[e.NativeCEAAuthRuntimeActivity=19]="NativeCEAAuthRuntimeActivity",e[e.CEACardService=20]="CEACardService",e[e.ExtCEACardService=21]="ExtCEACardService",e[e.ExtCEAChannelService=22]="ExtCEAChannelService",e[e.ExtAppCardActionsForDAService=23]="ExtAppCardActionsForDAService"}(Ao||(Ao={})),function(e){e[e.None=0]="None",e[e.GetHeaderOptions=1]="GetHeaderOptions",e[e.MsgExtCardReference=2]="MsgExtCardReference",e[e.MsgExtCard=3]="MsgExtCard",e[e.APIPluginCardReference=4]="APIPluginCardReference",e[e.APIPluginCard=5]="APIPluginCard",e[e.GetAppDataForAPIPlugins=6]="GetAppDataForAPIPlugins"}(xo||(xo={})),function(e){e[e.None=0]="None",e[e.M365CardRenderer=1]="M365CardRenderer",e[e.OpenUrlActivityRequest=2]="OpenUrlActivityRequest",e[e.ActionExecuteActivityRequest=3]="ActionExecuteActivityRequest",e[e.SigninActionActivityRequest=4]="SigninActionActivityRequest",e[e.SubmitActionActivityRequest=5]="SubmitActionActivityRequest",e[e.BotInvokeRequest=6]="BotInvokeRequest",e[e.BotInvokeFetchToken=7]="BotInvokeFetchToken",e[e.GetAppFromMOS3=8]="GetAppFromMOS3",e[e.GetImageProxyUrl=9]="GetImageProxyUrl",e[e.OpenStageView=10]="OpenStageView",e[e.OpenTaskModule=11]="OpenTaskModule",e[e.MsgExtCardPreview=12]="MsgExtCardPreview",e[e.MsgExtCitationOrEntityControl=13]="MsgExtCitationOrEntityControl",e[e.MsgExtCardReferenceContainer=14]="MsgExtCardReferenceContainer",e[e.GetUserConfigFrom3S=15]="GetUserConfigFrom3S",e[e.FindAcquisitionforMOS=16]="FindAcquisitionforMOS",e[e.GetAndCacheAcquisitionFromMOS3=17]="GetAndCacheAcquisitionFromMOS3",e[e.M365CardParser=18]="M365CardParser",e[e.OpenUrl=19]="OpenUrl",e[e.ActionSubmit=20]="ActionSubmit",e[e.ActionExecute=21]="ActionExecute",e[e.CopyCard=22]="CopyCard",e[e.APIPluginCardReferenceContainer=23]="APIPluginCardReferenceContainer",e[e.APIPluginSignInButton=24]="APIPluginSignInButton",e[e.GetAndCacheAcquisitionFromLaunchInfo=25]="GetAndCacheAcquisitionFromLaunchInfo",e[e.GetAppFromHybrid=26]="GetAppFromHybrid",e[e.GetBotId=27]="GetBotId",e[e.CECCardRenderer=28]="CECCardRenderer",e[e.ResponseCardRenderer=29]="ResponseCardRenderer",e[e.OAuthCode=30]="OAuthCode",e[e.SSOBotToken=31]="SSOBotToken",e[e.ActionOpenUrlDialog=32]="ActionOpenUrlDialog"}(ko||(ko={})),function(e){e.Intent="Intent",e.Client="Client",e.AppId="AppId",e.ActionType="ActionType",e.RetryCount="RetryCount",e.RuntimeActivityResponseMethod="RuntimeActivityResponseMethod",e.RequestName="RequestName",e.HttpStatusCode="HttpStatusCode",e.DialogContentType="DialogContentType",e.HasURL="HasURL",e.CitationIndex="citationIndex",e.ActionErrorType="ActionErrorType",e.ModalViewType="ModalViewType",e.IsTaskFetch="IsTaskFetch",e.ActionExecuteResponseType="ActionExecuteResponseType"}(Eo||(Eo={})),function(e){e[e.Unknown=0]="Unknown",e[e.StageView=1]="StageView",e[e.TaskModule=2]="TaskModule",e[e.DeepLinkStageView=3]="DeepLinkStageView",e[e.DeepLinkDialog=4]="DeepLinkDialog",e[e.DeepLinkOther=5]="DeepLinkOther",e[e.IMBack=6]="IMBack",e[e.MessageBack=7]="MessageBack",e[e.Invoke=8]="Invoke"}(_o||(_o={})),function(e){e[e.Execute=0]="Execute",e[e.OnCompletion=1]="OnCompletion"}(Io||(Io={})),function(e){e[e.Others=0]="Others",e[e.BotInvokeError=1]="BotInvokeError"}(Po||(Po={}));var Do=i(6555),No=i(1773);function Ro(e,t){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){var r,n;const i=yield e.getApp({id:t});let o;if(i.appDefinition||i.titleInfo){const e=null!==(r=i.appDefinition)&&void 0!==r?r:(0,No.P)(i.titleInfo);if(Oo(e)&&(o=null===(n=e.composeExtensions)||void 0===n?void 0:n[0].botId,!o))return Promise.reject("Unable to find botId for given app")}return o}))}const Oo=e=>{var t;return!!(null===(t=e.composeExtensions)||void 0===t?void 0:t[0])};function zo(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){var n,i,o;const a=new Bo(r,Ao.ExtCEAChannelService,ko.GetBotId,wo.CustomAgent);try{const r=yield e.getApp({id:t});let s;return(r.appDefinition||r.titleInfo)&&(s=null===(o=null===(i=(null!==(n=r.appDefinition)&&void 0!==n?n:(0,No.P)(r.titleInfo)).copilotExtensions)||void 0===i?void 0:i.customEngineCopilots)||void 0===o?void 0:o[0].botId),s?(a.logMetricEnd({diagnosticsData:`getBotId: Successfully found botId. Appid: ${t.toString()}`}),s):(a.logMetricEndWithError({diagnosticsData:`getBotId: Unable to find botId for given app. AppId: ${t}`}),Promise.reject("Unable to find botId for given app"))}catch(e){return a.logMetricEndWithError({diagnosticsData:`getBotId: Unable to find botId for given app. AppId: ${t}`}),Promise.reject(`Unable to find botId for given app. Error: ${e}`)}}))}class Mo{constructor(e,t,r,n,o){this.appService=e,this.hostService=t,this.channelService=r,this.telemetryService=n,this.sccTelemetryService=o,this.lazyCardService=()=>Promise.resolve().then(i.bind(i,912)),this.getCardService=()=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){if(!this.cardService){const{CardService:e}=yield this.lazyCardService();this.cardService=new e(this.hostService,this.channelService,this.appService,this.telemetryService)}return this.cardService})),this.getCardData=(e,t,r)=>({cardId:(0,mo.DA)(),content:"",contentType:To.z.AdaptiveCard,appId:e.toString(),botId:t,conversationId:r})}handleActionOpenUrl(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const n=new Bo(this.sccTelemetryService,Ao.ExtCEACardService,ko.OpenUrl,wo.CustomAgent);try{const i=yield zo(this.appService,e.toString(),this.sccTelemetryService);if(!i)return n.logMetricEndWithError({diagnosticsData:`ExternalAppCardActionsForCEAService: Error in handleActionOpenUrl. ErrorMessage: botId is missing. AppId: ${e.toString()}`}),Promise.reject("botId is missing");const o=this.getCardData(e,i,t),a=yield this.getCardService();if(!a)return n.logMetricEndWithError({diagnosticsData:`ExternalAppCardActionsForCEAService: Error in handleActionOpenUrl. ErrorMessage: Failed to initialize CardService. AppId: ${e.toString()}, botId: ${i}`}),Promise.reject("Failed to initialize CardService");const s=yield null==a?void 0:a.handleOpenUrl({cardData:o,url:r.toString(),botId:i,conversationId:t});if((null==s?void 0:s.status)!==vo.yl.Success)return n.logMetricEndWithError({diagnosticsData:`ExternalAppCardActionsForCEAService: Error in handleActionOpenUrl. ErrorMessage: ${s}. AppId: ${e.toString()}, botId: ${i}`}),Promise.reject("handleOpenUrl failed");switch(null==s?void 0:s.linkType){case go.LaunchPage:return n.logMetricEnd({diagnosticsData:`ExternalAppCardActionsForCEAService: successfully executed handleActionOpenUrl. Linktype: ${go.LaunchPage} for appId: ${e.toString()}, botId: ${i}`}),Do.cZ.DeepLinkOther;case go.StageView:return n.logMetricEnd({diagnosticsData:`ExternalAppCardActionsForCEAService: successfully executed handleActionOpenUrl. Linktype: ${go.StageView} for appId: ${e.toString()}, botId: ${i}`}),Do.cZ.DeepLinkStageView;case go.TaskModule:return n.logMetricEnd({diagnosticsData:`ExternalAppCardActionsForCEAService: successfully executed handleActionOpenUrl. Linktype: ${go.TaskModule} for appId: ${e.toString()}, botId: ${i}`}),Do.cZ.DeepLinkDialog;default:return n.logMetricEnd({diagnosticsData:`ExternalAppCardActionsForCEAService: successfully executed handleActionOpenUrl. Linktype: ${Do.cZ.GenericUrl} for appId: ${e.toString()}, botId: ${i}`}),Do.cZ.GenericUrl}}catch(t){return n.logMetricEndWithError({diagnosticsData:`ExternalAppCardActionsForCEAService: Error in handleOpenUrl. ErrorMessage: ${t}, Appid: ${e.toString()}`}),Promise.reject(t)}}))}handleActionSubmit(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const n=new Bo(this.sccTelemetryService,Ao.ExtCEACardService,ko.ActionSubmit,wo.CustomAgent);try{const i=yield zo(this.appService,e.toString(),this.sccTelemetryService),o=this.getCardData(e,i,t),a="string"==typeof r.data?JSON.parse(r.data):r.data,s=yield this.getCardService();if(!s)return n.logMetricEndWithError({diagnosticsData:`ExternalAppCardActionsForCEAService: Error in handleActionSubmit. ErrorMessage: Failed to initialize CardService. AppId: ${e.toString()}, botId: ${i}`}),Promise.reject("Failed to initialize CardService");const l=yield null==s?void 0:s.handleActionSubmit({cardData:o,appId:e.toString(),botId:i,id:r.id,data:a,conversationId:t});if((null==l?void 0:l.status)!==vo.yl.Success)return n.logMetricEndWithError({diagnosticsData:`ExternalAppCardActionsForCEAService: Error in handleActionSubmit. ErrorMessage: ${l}. AppId: ${e.toString()}, botId: ${i}`}),Promise.reject("handleActionSubmit failed");n.logMetricEnd({diagnosticsData:`ExternalAppCardActionsForCEAService: successfully executed handleActionSubmit. appId: ${e.toString()}, botId: ${i}`})}catch(t){return n.logMetricEndWithError({diagnosticsData:`ExternalAppCardActionsForCEAService: Error in handleOpenUrl. handleActionSubmit: ${t}, Appid: ${e.toString()}`}),Promise.reject(t)}}))}}class Fo{constructor(e,t){this.hostService=e,this.sccTelemetryService=t}handleActionOpenUrlDialog(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){var n;const i=new Bo(this.sccTelemetryService,Ao.ExtAppCardActionsForDAService,ko.ActionOpenUrlDialog,wo.DeclarativeAgent);try{const o={appId:e.toString(),openUrlDialogInfo:t};if(null==(null===(n=this.hostService)||void 0===n?void 0:n.openUrlDialog))return i.logMetricEndWithError({diagnosticsData:`ExternalAppCardActionsForDAService: openUrlDialog is undefined. TraceId: ${r}`}),Promise.reject("openUrlDialog is undefined");const a=yield this.hostService.openUrlDialog(o);if(a.status!==vo.yl.Success)return i.logMetricEndWithError({diagnosticsData:`ExternalAppCardActionsForDAService: Error in handleActionOpenUrlDialog. ErrorMessage: ${a}. TraceId: ${r}`}),Promise.reject("handleActionOpenUrlDialog failed")}catch(e){return i.logMetricEndWithError({diagnosticsData:`ExternalAppCardActionsForDAService: Error in handleActionOpenUrlDialog. ErrorMessage: ${e}. TraceId: ${r}`}),Promise.reject(e)}}))}}class Lo{constructor(e,t,r,n){this.appService=e,this.hostService=t,this.channelService=r,this.telemetryService=n,this.lazyCardService=()=>Promise.resolve().then(i.bind(i,912)),this.getCardService=()=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){if(!this.cardService){const{CardService:e}=yield this.lazyCardService();this.cardService=new e(this.hostService,this.channelService,this.appService,this.telemetryService)}return this.cardService}))}handleActionOpenUrl(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){try{const n=yield Ro(this.appService,e);let i=!1;"plugins"===(null==r?void 0:r.name)&&(i=!0);const o={appId:e,cardId:(0,mo.DA)(),botId:void 0,titleId:void 0,content:"",contentType:To.z.AdaptiveCard},a=yield this.getCardService(),s=yield a.handleOpenUrl({cardData:o,url:t,botId:n,disableDeepLinkProcessing:i});switch(null==s?void 0:s.linkType){case go.LaunchPage:return Do.cZ.DeepLinkOther;case go.StageView:return Do.cZ.DeepLinkStageView;case go.TaskModule:return Do.cZ.DeepLinkDialog;default:return Do.cZ.GenericUrl}}catch(e){return Promise.reject(e)}}))}handleActionSubmit(e,t){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){var r,n,i;const o=yield Ro(this.appService,e);if(!o)return Promise.reject("Unable to find botId for given app");const a="string"==typeof t.data?JSON.parse(t.data):t.data,s={appId:e,cardId:null!==(n=null===(r=t.card)||void 0===r?void 0:r.id)&&void 0!==n?n:(0,mo.DA)(),botId:o,titleId:void 0,content:"",contentType:To.z.AdaptiveCard},l=yield this.getCardService();return(yield l.handleActionSubmit({cardData:s,appId:e,botId:o,id:t.id,data:a,triggeringActionTitle:null===(i=t.action)||void 0===i?void 0:i.title})).status!==vo.yl.Success?Promise.reject("Error in processing"):void 0}))}}var jo,Vo,Ho,qo,Uo,$o,Wo,Go,Ko=i(1503),Xo=i(2435);!function(e){e[e.None=0]="None",e[e.PartialAuthSuccess=1]="PartialAuthSuccess"}(jo||(jo={})),function(e){e[e.None=0]="None",e[e.AuthButton=1]="AuthButton",e[e.AuthRuntime=2]="AuthRuntime",e[e.AuthConfigRuntimeActivity=3]="AuthConfigRuntimeActivity",e[e.BotInvokeRuntimeActivity=4]="BotInvokeRuntimeActivity",e[e.SilentAuthRuntimeActivity=5]="SilentAuthRuntimeActivity",e[e.GetAppData=6]="GetAppData",e[e.GetAppDataForAPIPlugins=7]="GetAppDataForAPIPlugins",e[e.TimedOutBasedPromise=8]="TimedOutBasedPromise"}(Vo||(Vo={})),function(e){e[e.None=0]="None",e[e.AuthRenderingTime=1]="AuthRenderingTime"}(Ho||(Ho={})),function(e){e[e.None=0]="None",e[e.AuthRenderingTime=1]="AuthRenderingTime",e[e.OAuth=2]="OAuth",e[e.SSO=3]="SSO"}(qo||(qo={})),function(e){e[e.None=0]="None",e[e.AuthButton=1]="AuthButton",e[e.ExecuteActivity=2]="ExecuteActivity",e[e.Execute=3]="Execute",e[e.ExecuteConfigOrAuthRequest=4]="ExecuteConfigOrAuthRequest",e[e.GetAppData=5]="GetAppData",e[e.GetAppDataForAPIPlugins=6]="GetAppDataForAPIPlugins"}(Uo||(Uo={})),function(e){e.AuthScenario="AuthScenario",e.AuthType="AuthType",e.InterstitialAuth="InterstitialAuth"}($o||($o={})),function(e){e[e.Auth=0]="Auth",e[e.Config=1]="Config",e[e.SilentAuth=2]="SilentAuth",e[e.BotInvoke=3]="BotInvoke",e[e.Unknown=4]="Unknown",e[e.APIPluginAuth=6]="APIPluginAuth"}(Wo||(Wo={})),function(e){e[e.PluginFlyout=1]="PluginFlyout",e[e.InChat=2]="InChat",e[e.CardAction=3]="CardAction",e[e.Unknown=4]="Unknown"}(Go||(Go={}));var Yo=i(8173);class Jo{constructor(e,t,r){this.appService=e,this.channelService=t,this.telemetryService=r}sendAuthResultToBot(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const n=new Bo(this.telemetryService,Ao.ExtCEAChannelService,qo.OAuth,wo.CustomAgent);try{const i=yield zo(this.appService,e.toString(),this.telemetryService);if(!i)return n.logMetricEndWithError({diagnosticsData:`ExternalAppChannelForCEAService: Error in sendAuthResultToBot. ErrorMessage: botId is missing. AppId: ${e.toString()}`}),Promise.reject("botId is missing");const o=this.getBotInvokeRequestObject(i,e,t,r);if(!o)return n.logMetricEndWithError({diagnosticsData:`ExternalAppChannelForCEAService: Error in sendAuthResultToBot. ErrorMessage: Failed to create BotInvokeRequest. Appid: ${e.toString()}, botId: ${i}`}),Promise.reject("Failed to create BotInvokeRequest");const a=yield this.channelService.botInvoke(o);return a.type===Ko.t.Error?(n.logMetricEndWithError({diagnosticsData:`ExternalAppChannelForCEAService: Error in sendAuthResultToBot. ErrorMessage: Error in invoking bot - ${a.value.errorMessage} with Error Code - ${a.value.errorCode}. Appid: ${e.toString()}, botId: ${i}`}),Promise.reject(`${Ko.t.Error} : ${a.value}`)):(n.logMetricEnd({diagnosticsData:`ExternalAppChannelForCEAService: sendAuthResultToBot successfully invoked bot. Appid: ${e.toString()}, botId: ${i}`}),Promise.resolve())}catch(t){return n.logMetricEndWithError({diagnosticsData:`ExternalAppChannelForCEAService: Error in sendAuthResultToBot. ErrorMessage: ${t}, Appid: ${e.toString()}`}),Promise.reject(t)}}))}sendAuthResultWithOriginalRequestToBot(e,t,r,n){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const i=new Bo(this.telemetryService,Ao.ExtCEAChannelService,qo.OAuth,wo.CustomAgent);try{const o=yield zo(this.appService,e.toString(),this.telemetryService);if(!o)return i.logMetricEndWithError({diagnosticsData:`ExternalAppChannelForCEAService: Error in sendAuthResultWithOriginalRequestToBot. ErrorMessage: botId is missing. AppId: ${e.toString()}`}),Promise.reject("botId is missing");const a=this.getBotInvokeRequestObject(o,e,t,n,r);if(!a)return i.logMetricEndWithError({diagnosticsData:`ExternalAppChannelForCEAService: Error in sendAuthResultWithOriginalRequestToBot. ErrorMessage: Failed to create BotInvokeRequest. Appid: ${e.toString()}, botId: ${o}`}),Promise.reject("Failed to create BotInvokeRequest");const s=yield this.channelService.botInvoke(a);return s.type===Ko.t.Error?(i.logMetricEndWithError({diagnosticsData:`ExternalAppChannelForCEAService: Error in sendAuthResultWithOriginalRequestToBot. ErrorMessage: Error in invoking bot - ${s.value.errorMessage} with Error Code - ${s.value.errorCode}. Appid: ${e.toString()}, botId: ${o}`}),Promise.reject(`${Ko.t.Error} : ${s.value}`)):(i.logMetricEnd({diagnosticsData:`ExternalAppChannelForCEAService: sendAuthResultWithOriginalRequestToBot successfully invoked bot. Appid: ${e.toString()}, botId: ${o}`}),this.convertBotInvokeResponse(s))}catch(t){return i.logMetricEndWithError({diagnosticsData:`ExternalAppChannelForCEAService: Error in sendAuthResultWithOriginalRequestToBot. ErrorMessage: ${t}, Appid: ${e.toString()}`}),Promise.reject(t)}}))}getBotInvokeRequestObject(e,t,r,n,i){const o={botId:e,appId:t.toString(),requestBody:{conversation:{id:r},name:"",type:"invoke",value:{}}};if(n.type===Yo.cG.OAuthCode){if(!n.secret_code)return void this.telemetryService.LogInfo({eventId:wo.CustomAgent,type:Xo.FY.LogInfo,name:ko.OAuthCode,tag:Ao.ExtCEAChannelService,diagnosticsData:`ExternalAppChannelForCEAService: Error in getBotInvokeRequestObject. ErrorMessage: authResult does not contain OAuthCode Secret. AppId ${t.toString()} and BotId ${e}`});o.requestBody.value.state=n.secret_code,o.requestBody.authCode=n.secret_code,o.requestBody.name="signin/verifyState"}else if(n.type===Yo.cG.SSOBotToken){if(!n.token.token)return void this.telemetryService.LogInfo({eventId:wo.CustomAgent,type:Xo.FY.LogInfo,name:ko.SSOBotToken,tag:Ao.ExtCEAChannelService,diagnosticsData:`ExternalAppChannelForCEAService: Error in getBotInvokeRequestObject. ErrorMessage: authResult does not contain SSOBotToken. AppId ${t.toString()} and BotId ${e}`});o.requestBody.value={id:n.authId,connectionName:n.connectionName,token:n.token.token},o.requestBody.authToken=n.token.token,o.requestBody.name="signin/tokenExchange"}return i&&(o.requestBody.value.action={type:i.requestType,id:i.id,verb:i.verb,data:"string"==typeof(null==i?void 0:i.data)?JSON.parse(null==i?void 0:i.data):null==i?void 0:i.data},o.requestBody.name="adaptiveCard/action"),o}convertBotInvokeResponse(e){const t=e.value;return{responseType:Yo.ci.ActionExecuteInvokeResponse,statusCode:t.statusCode,type:t.type,value:JSON.parse(JSON.stringify(t.value)),signature:t.signature}}}class Zo{constructor(e,t){this.channelService=e,this.appService=t}sendRequestWithAuth(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const n=yield Ro(this.appService,e);if(!n)return Promise.reject("Unable to find botId for given app");const i=this.getBotInvokeRequestObject(n,e,t,r),o=yield this.channelService.botInvoke(i);if(o.type===Ko.t.Error)throw new Error(`ErrorCode: ${o.value.errorCode}, ErrorMessage: ${o.value.errorMessage}`);return this.convertBotInvokeResponse(t.requestType,o)}))}convertBotInvokeCard(e){if(e)return{content:JSON.parse(JSON.stringify(e.content)),contentType:e.contentType,fallbackHtml:e.fallbackHtml,signature:e.signature}}convertBotInvokeResponse(e,t){var r;if(e===Yo.FH.QueryMessageExtensionRequest){const e=null===(r=null==t?void 0:t.value)||void 0===r?void 0:r.composeExtension;return{responseType:Yo.ci.QueryMessageExtensionResponse,composeExtension:{attachmentLayout:null==e?void 0:e.attachmentLayout,type:null==e?void 0:e.type,text:null==e?void 0:e.text,attachments:(null==e?void 0:e.attachments)?e.attachments.map((e=>Object.assign(Object.assign({},this.convertBotInvokeCard(e)),{preview:this.convertBotInvokeCard(e.preview)}))):void 0}}}{const e=t.value;return{responseType:Yo.ci.ActionExecuteInvokeResponse,statusCode:e.statusCode,type:e.type,value:JSON.parse(JSON.stringify(e.value)),signature:e.signature}}}getBotInvokeRequestObject(e,t,r,n){var i;const o=null===(i=null==n?void 0:n.token)||void 0===i?void 0:i.token;if(r.requestType===Yo.FH.QueryMessageExtensionRequest)return{botId:e,appId:t,requestBody:{name:"composeExtension/query",value:{commandId:r.commandId,parameters:r.parameters,queryOpeions:r.queryOptions},authCode:null==n?void 0:n.secret_code,authToken:null!=o?o:void 0}};if(r.requestType===Yo.FH.ActionExecuteInvokeRequest)return{botId:e,appId:t,requestBody:{name:"adaptiveCard/action",type:"invoke",value:{action:{type:r.type,id:r.id,verb:r.verb,data:"string"==typeof r.data?JSON.parse(r.data):r.data}},authCode:n.secret_code,authToken:null!=o?o:void 0}};throw new Error("Invalid request type")}}var Qo=i(2524);const ea=({appName:e,authUrl:t,appId:r,originalRequest:n})=>({card:{content:{type:"AdaptiveCard",version:"1.0",body:[{type:"TextBlock",text:null!=e?e:"",weight:"bolder"},{type:"TextBlock",text:"You'll need to sign in to use this app."}],actions:[{type:"Action.Submit",title:"Sign in.",data:{authentication:{authUrl:t,originalRequest:n}}}]},contentType:To.z.AdaptiveCard,appId:r,cardId:(0,mo.DA)()}});class ta{constructor(e,t,r,n,i){this.commandId=e,this.appService=t,this.channelService=r,this.hostService=n,this.telemetryService=i}getResponseFromDialog(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){return yield this.hostService.launchActionDialog({dialogContent:e,appId:t.id,commandId:this.commandId,telemetryService:this.telemetryService,getAuthAdaptiveCard:ea,dialogParameters:r,frameContext:D.E2.task})}))}getCardBasedDialog(e,t,r,n){return{type:Qo.g.Card,card:e,fallbackUrl:t,height:r,width:n}}getTaskInfoDialog(e){const t=(e.height,e.height),r=(e.width,e.width);if(e.url)return{url:e.url,type:Qo.g.Url,fallbackUrl:e.fallbackUrl,height:t,width:r};if(e.card)return this.getCardBasedDialog(JSON.stringify(e.card),e.fallbackUrl,t,r);throw new Error("Invalid Command")}fetchTaskInfo(e,t,r,n){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){var i,o,a,s,l,c,u,d,p;if(!this.channelService)throw new Error("Bot Service is not available");const f={botId:e,appId:t,requestBody:{name:"composeExtension/fetchTask",value:{commandId:r,commandContext:"compose",context:{theme:"default"},data:{taskParameters:n}}}},h=yield null===(i=this.channelService)||void 0===i?void 0:i.botInvoke(f);if(h.type==Ko.t.Result){const e=h.value;if("auth"===(null===(o=e.composeExtension)||void 0===o?void 0:o.type))return ea({appName:null===(l=null===(s=null===(a=null==e?void 0:e.composeExtension)||void 0===a?void 0:a.suggestedActions)||void 0===s?void 0:s.actions)||void 0===l?void 0:l[0].title,authUrl:null===(d=null===(u=null===(c=null==e?void 0:e.composeExtension)||void 0===c?void 0:c.suggestedActions)||void 0===u?void 0:u.actions)||void 0===d?void 0:d[0].value,appId:t,originalRequest:f});{const t=null===(p=e.task)||void 0===p?void 0:p.value;if(t&&"string"!=typeof t)return t;throw new Error("Invalid Task Info")}}throw new Error("Bot invoke error "+JSON.stringify(h.value))}))}getDialogParams(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){var n,i;const o=null===(n=null==e?void 0:e.commands)||void 0===n?void 0:n[0];if(!o)throw new Error("Command not found");if(o.taskInfo)return this.getTaskInfoDialog(o.taskInfo);if(o.fetchTask){const n=yield this.fetchTaskInfo(null!==(i=e.botId)&&void 0!==i?i:"",null!=t?t:"",o.id,r);return this.getTaskInfoDialog(n)}if(o.parameters){const e=function(e,t){const r=Object.assign({},{type:"AdaptiveCard",body:[],actions:[]});return e.forEach((e=>{var t,n,i,o,a,s,l;switch(e.inputType||(e.inputType="Text"),e.inputType.toLowerCase()){case"text":{const n={id:e.name,placeholder:e.description,value:e.value,type:"Input.Text",isMultiline:!1,maxLength:200,label:e.title};null===(t=r.body)||void 0===t||t.push(n);break}case"textarea":{const t={id:e.name,placeholder:e.description,value:e.value,type:"Input.Text",isMultiline:!0,label:e.title,maxLength:1e3};null===(n=r.body)||void 0===n||n.push(t);break}case"number":{const t={id:e.name,placeholder:e.description,value:e.value,type:"Input.Number",label:e.title};null===(i=r.body)||void 0===i||i.push(t);break}case"date":{const t={id:e.name,placeholder:e.description,value:e.value,type:"Input.Date",label:e.title};null===(o=r.body)||void 0===o||o.push(t);break}case"time":{const t={id:e.name,placeholder:e.description,value:e.value,type:"Input.Time",label:e.title};null===(a=r.body)||void 0===a||a.push(t);break}case"toggle":{const t={id:e.name,title:e.description,value:e.value,type:"Input.Toggle",label:e.title};null===(s=r.body)||void 0===s||s.push(t);break}case"choiceset":{const t={id:e.name,type:"Input.ChoiceSet",isMultiSelect:!1,choices:e.choices,value:e.value,label:e.title};null===(l=r.body)||void 0===l||l.push(t);break}}})),r.actions=[{id:"submitButton",type:"Action.Submit",title:"Submit",data:{id:"submitButton"}}],{content:r,contentType:To.z.AdaptiveCard,appId:t,cardId:(0,mo.DA)()}}(o.parameters.map((e=>{const t=Object.assign({},e);return(null==r?void 0:r[e.name])&&(t.value=r[e.name]),t})),null!=t?t:"");return this.getCardBasedDialog(JSON.stringify(e),void 0,-2,-2)}throw new Error("Invalid Command")}))}processActionCommand(e,t){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){try{if(!this.appService)throw new Error("App Service is not initialized");const r=yield((e,t)=>(0,$r.__awaiter)(void 0,void 0,void 0,(function*(){const r=yield null==t?void 0:t.getApp({id:e});if(!r)throw new Error("App Definition not found");if(r.appDefinition)return r.appDefinition;if(r.titleInfo)return(0,No.P)(r.titleInfo);throw new Error("Invalid App Definition")})))(e,this.appService),n=((e,t)=>{var r;let n;const i=null!==(r=e.inputExtensions)&&void 0!==r?r:e.composeExtensions;if(null==i||i.forEach((e=>{var r;const i=null===(r=e.commands)||void 0===r?void 0:r.find((e=>e.id===t));i&&(n={botId:e.botId,commands:[i]})})),!n)throw new Error("Command not found");return n})(r,this.commandId),i=yield this.getDialogParams(n,e,t);return yield this.getResponseFromDialog(i,r,t)}catch(e){return}}))}}class ra{constructor(e,t,r,n,i){this.appService=e,this.channelService=t,this.telemetryService=r,this.hostService=n,this.isExternalAppCommandServiceEnabled=i}handleActionCommand(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){if(!this.isExternalAppCommandServiceEnabled)throw new Error("Method not implemented.");const n=new ta(t,this.appService,this.channelService,this.hostService,this.telemetryService);return(yield n.processActionCommand(e,r))||{resultType:"text",taskModuleClosedReason:"Done",text:"Failed to process action command"}}))}}var na=i(824);class ia{constructor(e){this.appService=e}getAppDefinition(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){var t,r,n;const i=yield this.getAppExtensibilityAppDefinition(e);if(!i)throw new Error("App manifest not found");return(0,na.z)(Object.assign(Object.assign({},i),{version:null!==(t=i.version)&&void 0!==t?t:"",appId:null!==(r=i.id)&&void 0!==r?r:"",manifestVersion:null!==(n=null==i?void 0:i.manifestVersion)&&void 0!==n?n:""}))}))}isAppAllowed(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.appService.getApp({id:e});return!!this.isAppInstalled(t)}))}getAppExtensibilityAppDefinition(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.appService.getApp({id:e});let r=t.appDefinition;if(null==r?void 0:r.composeExtensions){const e=r.composeExtensions.map((e=>{var t;return{botId:e.botId,type:null!==(t=null==e?void 0:e.type)&&void 0!==t?t:"BotBased",commands:null==e?void 0:e.commands}}));r.composeExtensions=e}return(null==t?void 0:t.titleInfo)&&(r=(0,No.P)(t.titleInfo)),r}))}isAppInstalled(e){return!(!(null==e?void 0:e.appDefinition)||"AdminPreInstalled"!==e.appDefinition.state&&"Installed"!==e.appDefinition.state&&"InstalledAndPermanent"!==e.appDefinition.state)||!(!(null==e?void 0:e.titleInfo)||"acquired"!==e.titleInfo.acquisitionState)}}class oa{constructor(e){this.tokenService=e}acquireToken(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){try{return{token:(yield this.tokenService.getToken({resource:e,claims:t})).authToken}}catch(e){return{token:void 0}}}))}acquireTokenNew(e,t,r){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){try{return{token:(yield this.tokenService.getToken({resource:e,claims:t})).authToken}}catch(e){return{token:void 0}}}))}}var aa=i(9975),sa=i(8088);const la="https://urlp.asm.skype.com/v1/url/content?url=",ca=/.*\.teams\.microsoft\.com\/urlp\/v1\/url\/content\?url=.*/,ua=/.*\.teams\.microsoft\.com\/v1\/objects\/.*\/views\/img_preview/;var da=i(825),pa=i(3779);class fa{constructor(e,t,r,n,i){this.onClose=e,this.onUpdate=t,this.commandId=r,this.telemetryService=n,this.getAuthAdaptiveCard=i}handleAuth(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){var t,r,n,i,o,a;const{authUrl:s,originalRequest:l,appName:c}=e,u=new sa.k(this.telemetryService,Xo.yx.CardService,Xo.xe.ActionSubmit),d={};d[Xo.vP.ModalViewType]=Xo.lp.TaskModule,d[Xo.vP.ActionType]=Xo.X2.Auth;try{if(!this.getAuthAdaptiveCard)return u.logMetricEndWithError({props:d,diagnosticsData:`Error: Auth failed. Auth provider is not available, Appid: ${(0,pa.n)(null===(t=null==l?void 0:l.cardData)||void 0===t?void 0:t.titleId,null===(r=null==l?void 0:l.cardData)||void 0===r?void 0:r.appId)}`},null===(n=l.cardData)||void 0===n?void 0:n.cardId),void this.onClose({taskModuleClosedReason:"Done",resultType:"text",text:"Error: Auth failed. Activity provider is not available"});const e=this.getAuthAdaptiveCard({appName:c,authUrl:s,appId:l.appId,originalRequest:l}),i={type:Qo.g.Card,card:JSON.stringify(e.card)};this.onUpdate(i)}catch(e){return u.logMetricEndWithError({props:d,diagnosticsData:`Error: Auth failed. ErrorMessage: ${(null==e?void 0:e.message)||e}, Appid: ${(0,pa.n)(null===(i=null==l?void 0:l.cardData)||void 0===i?void 0:i.titleId,null===(o=null==l?void 0:l.cardData)||void 0===o?void 0:o.appId)}`},null===(a=l.cardData)||void 0===a?void 0:a.cardId),void this.onClose({taskModuleClosedReason:"Done",resultType:"text",text:"Error: Auth failed"})}}))}getDialogSubmit(e,t,r){return n=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){var i,o,a,s;if(!n)return void this.onClose({taskModuleClosedReason:"CancelledByUser",resultType:"text",text:""});let l;if("object"==typeof n&&r){const e=function(e){const{authentication:t}=e;return t}(n);if(e){const n={appDefinition:t,signInUrl:e.authUrl},o=yield null==r?void 0:r(n);o.code?(l=e.originalRequest,(null===(i=null==l?void 0:l.requestBody)||void 0===i?void 0:i.value)&&(l.requestBody.value.state=o.code)):this.handleResultTypeMessage("Sign in failed")}}const c=new sa.k(this.telemetryService,Xo.yx.CardService,Xo.xe.ActionSubmit),u={};u[Xo.vP.ModalViewType]=Xo.lp.TaskModule,u[Xo.vP.ActionType]=Xo.X2.Submit;const d=null!=l?l:{botId:null!==(a=null===(o=t.webApplicationInfo)||void 0===o?void 0:o.id)&&void 0!==a?a:"",appId:null!==(s=t.id)&&void 0!==s?s:"",requestBody:{name:"composeExtension/submitAction",value:{commandId:this.commandId,commandContext:"compose",context:{theme:"default"},data:n}}};e.botInvoke(d).then((e=>{var t,r,n,i,o,a,s;this.handleTaskSubmitResponse(e,d),c.logMetricEnd({props:u,diagnosticsData:`TypeOfCard: ${null===(t=null==d?void 0:d.cardData)||void 0===t?void 0:t.contentType}, cardId : ${null===(r=null==d?void 0:d.cardData)||void 0===r?void 0:r.cardId}, cardsize: ${null===(i=null===(n=null==d?void 0:d.cardData)||void 0===n?void 0:n.content)||void 0===i?void 0:i.length}, Appid: ${(0,pa.n)(null===(o=null==d?void 0:d.cardData)||void 0===o?void 0:o.titleId,null===(a=null==d?void 0:d.cardData)||void 0===a?void 0:a.appId)}`},null===(s=d.cardData)||void 0===s?void 0:s.cardId)})).catch((e=>{var t,r,n;c.logMetricEndWithError({props:u,diagnosticsData:`Error: Bot invoke failed. Bot response is empty or error, Appid: ${(0,pa.n)(null===(t=null==d?void 0:d.cardData)||void 0===t?void 0:t.titleId,null===(r=null==d?void 0:d.cardData)||void 0===r?void 0:r.appId)}`},null===(n=d.cardData)||void 0===n?void 0:n.cardId),this.onClose({taskModuleClosedReason:"Done",resultType:"text",text:"Something went wrong"})}))}))}handleTaskSubmitResponse(e,t){switch(e.type){case Ko.t.Result:{const r=e.value;r.composeExtension?this.handleComposeResult(r.composeExtension,t):r.task?this.handleTaskResult(r.task):this.handleResultTypeMessage("");break}case Ko.t.Error:this.handleResultTypeMessage("Something went wrong");break;default:this.handleResultTypeMessage("")}}handleResultTypeMessage(e){this.onClose({taskModuleClosedReason:"Done",resultType:"text",text:e})}handleComposeResult(e,t){var r,n,i,o,a;switch(e.type){case"message":return this.handleResultTypeMessage(null!==(r=e.text)&&void 0!==r?r:"");case"result":return void this.onClose({taskModuleClosedReason:"Done",resultType:"card",attachmentLayout:e.attachmentLayout,attachments:e.attachments});case"auth":{const{suggestedActions:r}=e;return this.handleAuth({appName:null!==(i=null===(n=null==r?void 0:r.actions)||void 0===n?void 0:n[0].title)&&void 0!==i?i:"",authUrl:null!==(a=null===(o=null==r?void 0:r.actions)||void 0===o?void 0:o[0].value)&&void 0!==a?a:"",originalRequest:t})}default:return this.handleResultTypeMessage("")}}handleTaskResult(e){switch(e.type){case"message":return this.handleResultTypeMessage(e.value);case"continue":{const t=e.value,r=null!=t.card?"card":"url",n=(t.height,t.height),i=(t.width,t.width);return this.onUpdate({type:r,card:"string"==typeof t.card?t.card:JSON.stringify(t.card),url:t.url,completionBotId:t.completionBotId,fallbackUrl:t.fallbackUrl,height:n,width:i})}default:return this.handleResultTypeMessage("")}}}var ha=i(8725);function ga(e){if(!e&&"string"!=typeof e&&"number"!=typeof e)return-1;if("string"==typeof e){const t=e,r=parseInt(t);if(!isNaN(r))return r;switch(t.toLowerCase()){case"large":return-3;case"medium":return-2;default:return-1}}return e}class ma{constructor(e,t,r,n,i,o,a,s,l){this.getContainer=e,this.userContext=t,this.hostContext=r,this.appService=n,this.tokenService=i,this.openLaunchPage=o,this.channelService=a,this.telemetryService=s,this.enableAMSProxy=l}launchActionDialog(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){return new Promise(((t,r)=>{const n=((e,t,r)=>(n,i,o)=>{if(!o)throw Error("botService is required to open dialog.");const a=t=>{n.close(),e(t=null!=t?t:{taskModuleClosedReason:"CancelledByUser"})};return{submit:new fa(a,n.update,t.commandId,t.telemetryService,t.getAuthAdaptiveCard).getDialogSubmit(o,i,r),close:a,update:n.update}})(t,e,this.handleAuth.bind(this));this.openDialog(e.dialogContent,e.appId,n,e.dialogParameters,e.frameContext,[da.r.Submit])}))}))}getImage(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){return function(e,t,r,n,i){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){var o;const a=new sa.k(undefined,Xo.yx.GetImage,Xo.xe.GetImageProxyUrl),s=yield caches.open("m365-image-cache"),l=e,c=yield s.match(l);if(c){const e=URL.createObjectURL(yield c.blob());return a.logMetricEnd({diagnosticsData:"isCachedImage: true"}),Promise.resolve({url:e,isCachedImage:!0})}if(void 0===n)throw a.logMetricEndWithError({diagnosticsData:'GetImage request failed with error: "User principal name is not defined"'}),new Error("User principal name is not defined");try{const t=new URL(e);if("http:"!==t.protocol&&"https:"!==t.protocol)throw a.logMetricEndWithError({diagnosticsData:'GetImage request failed with error: "URL must use http or https"'}),new Error("URL must use http or https")}catch(e){throw a.logMetricEndWithError({diagnosticsData:`GetImage request failed with error: "URL is not valid": ${e}`}),e}let u,d;if(i)u=e.includes(la)||e.match(ca)||e.match(ua)?e:`${la}${encodeURIComponent(e)}`,d=e.match(ua)?yield r.getToken({resource:"https://ic3.teams.office.com"}):yield r.getToken({resource:"https://urlp-v2.asm.skype.com"});else{const i="Orange"===t||"Office"===t?"https://outlook.office.com/actionsb2netcore":"/actionsb2netcore";u=n?`${i}/${n}/th?u=${encodeURIComponent(e)}`:`${i}/th?u=${encodeURIComponent(e)}`,d=yield r.getToken({resource:"https://outlook.office365.com/connectors"})}const p=null==d?void 0:d.authToken;if(!p)throw a.logMetricEndWithError({diagnosticsData:"GetImage request failed with error: Unable to fetch token for image proxy"}),new Error("Unable to fetch token for image proxy");const f=new Headers;f.set("Authorization",`Bearer ${p}`),f.set("X-RoutingParameter-SessionKey",n),f.set("X-AnchorMailbox",n);const h={method:"GET",headers:f};try{const e=yield fetch(u,h);if(e.ok&&0===(null===(o=e.headers.get("Content-Type"))||void 0===o?void 0:o.indexOf("image"))){yield s.put(l,e.clone());const t=URL.createObjectURL(yield e.blob());return a.logMetricEnd({diagnosticsData:`isCachedImage: false, isAMSProxyEnabled: ${i}`}),Promise.resolve({url:t,isCachedImage:!1})}return a.logMetricEndWithError({diagnosticsData:`FetchImage request failed with status: ${e.status} or content type: ${e.headers.get("Content-Type")}`}),Promise.reject({status:e.status,statusText:e.statusText,message:`FetchImage request failed with status: ${e.status} or content type: ${e.headers.get("Content-Type")}`})}catch(e){throw a.logMetricEndWithError({diagnosticsData:`GetImage request failed with error: ${e}`}),new Error("Failed to get image via proxy. Error: "+String(e))}}))}(e.url,this.hostContext.host.name,this.tokenService,this.userContext.userPrincipalName,this.enableAMSProxy)}))}openUrl(e){return window.open(e.url),Promise.resolve({status:"Success"})}handleAuth(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){return new Promise(((t,r)=>{var n;const i={user:this.userContext,app:this.hostContext,page:{id:(null===(n=e.appDefinition)||void 0===n?void 0:n.id)||"",frameContext:D.E2.authentication}},o=e=>(n,i)=>e?(t({code:n}),Promise.resolve()):(r(n),Promise.resolve()),a=new aa.y(o(!0),o(!1),this.tokenService,this.userContext);(function(e,t,r,n,i){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){return new Promise(((o,a)=>{var s,l;const c=e.ownerDocument.defaultView;if(!c)return void a("Window object is null");const u=(0,na.z)(Object.assign(Object.assign({},t.appDefinition),{version:null!==(s=t.appDefinition.version)&&void 0!==s?s:"",appId:t.appDefinition.id,manifestVersion:null!==(l=t.appDefinition.manifestVersion)&&void 0!==l?l:""})),d={url:t.signInUrl,width:800,height:600,left:c.screen.availWidth/2-400,top:c.screen.availHeight/2-300};new ha.I(c,d,u,r,n,{log:function(e,t,r,n){}},i)?o(void 0):a("Unable to initialize auth extension")}))}))})(this.getContainer(),e,a,i,this.telemetryService).catch((e=>{}))}))}))}handleJITInstall(e){throw new Error("Method not implemented.")}logTelemetry(e){throw new Error("Method not implemented.")}getHostContext(){var e,t;const r={locale:this.hostContext.locale,timeZone:null===(e=this.hostContext.osLocaleInfo)||void 0===e?void 0:e.longDate,timeOffset:null===(t=this.hostContext.osLocaleInfo)||void 0===t?void 0:t.regionalFormat,theme:this.hostContext.theme==D.BD.dark?D.BD.dark:D.BD.default};return Promise.resolve(r)}getDialogFromTaskInfo(e){return e.card?Object.assign({type:Qo.g.Card},e):e.url?Object.assign({type:Qo.g.Url},e):void 0}getDialogFromStageInfo(e){var t,r;const n=null!==(t=e.contentUrl)&&void 0!==t?t:e.websiteUrl;if(n)return{type:Qo.g.Url,width:.9*window.innerWidth,height:.9*window.innerHeight,title:null!==(r=e.name)&&void 0!==r?r:"",url:n}}getDialogFromOpenUrlDialogInfo(e){return{type:Qo.g.Url,width:e.size.width,height:e.size.height,title:e.title,url:e.url.toString()}}getAppDefinition(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.appService.getApp({id:e});let r=null==t?void 0:t.appDefinition;return!r&&(null==t?void 0:t.titleInfo)&&(r=(0,No.P)(t.titleInfo)),r}))}sanitizeTaskInfo(e){!function(e){e.card&&void 0===e.width&&(e.width="medium"),e.card&&void 0===e.height&&(e.height="medium"),e.width=ga(e.width),e.height=ga(e.height),e.card&&"string"!=typeof e.card&&(e.card=JSON.stringify(e.card))}(e)}openTaskModule(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){this.sanitizeTaskInfo(e.taskInfo);const t=this.getDialogFromTaskInfo(e.taskInfo);return t?(yield this.openDialog(t,e.appId,void 0,void 0,e.frameContext,void 0,e.conversationId),Promise.resolve({status:"Success"})):Promise.reject()}))}openStageView(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const t=this.getDialogFromStageInfo(e.stageInfo);return t?(yield this.openDialog(t,e.appId,void 0,void 0,e.frameContext,void 0,e.conversationId),Promise.resolve({status:"Success"})):Promise.reject()}))}openUrlDialog(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){var t;const r=this.getDialogFromOpenUrlDialogInfo(e.openUrlDialogInfo);return r?(yield this.openDialog(r,e.appId,void 0,void 0,null!==(t=e.frameContext)&&void 0!==t?t:D.E2.content,void 0),Promise.resolve({status:vo.yl.Success})):Promise.reject({status:vo.yl.Failure})}))}}var va=i(7012);class ya extends ma{constructor(e,t,r,n,i,o,a,s,l,c){super(e,t,r,n,i,o,a,s,l),this.getContainer=e,this.userContext=t,this.hostContext=r,this.appService=n,this.tokenService=i,this.openLaunchPage=o,this.channelService=a,this.telemetryService=s,this.enableAMSProxy=l,this.defaultAllowListedMSDomains=c}openUrl(e){return new Promise(((t,r)=>{var n;if(null===(n=e.cardData)||void 0===n?void 0:n.appId){const n=e.cardData.appId;this.getAppDefinition(n).then((n=>{var i,o;if(n){const a=(0,na.z)(Object.assign(Object.assign({},n),{version:null!==(i=n.version)&&void 0!==i?i:"",appId:n.id,manifestVersion:null!==(o=n.manifestVersion)&&void 0!==o?o:""})),s={log:function(e,t,r,n){}};this.isDomainByDefaultAllowListed(e.url)||(0,va.dE)(e.url,s,a)?(window.open(e.url),t({status:"Success"})):(setTimeout((()=>{window.open(e.url)}),1e3),r(vo.cd.InvalidOrigin))}else r(vo.cd.AppDefNotFound)})).catch((e=>{r(`Failed to get app definition: ${e}`)}))}else r(vo.cd.AppIdMissing)}))}async openDialog(e,t,r,n,o,a,s){const l=await this.getAppDefinition(t);if(!l)return Promise.reject("App definition not found");if(e){const{openDialogModal:t}=await Promise.resolve().then(i.bind(i,78));t(e,this.getContainer(),this.channelService,l,this.tokenService,this.userContext,this.hostContext,void 0,void 0,void 0,void 0,this,a,void 0,r,n,o,s)}}isDomainByDefaultAllowListed(e){if(!this.defaultAllowListedMSDomains||!e)return!1;const t=new URL(e).href;for(const e of this.defaultAllowListedMSDomains){const r=e.replace(/\./g,"[.]").replace(/\*/g,"[^/^.]+"),n=new RegExp(`^https://${r}((/|\\?).*)?$`,"i");if(t.match(n))return!0}return!1}}function ba(){return window.chrome.webview}class wa{createScenario(e,t,r){return new Sa(e,t,r)}}class Sa{name;appId;startTime;lastMark;phases=[];constructor(e,t,r=Date.now()){this.name=e,this.appId=t,this.startTime=r,this.lastMark=r}markPhase(e){const t=Date.now(),r=t-this.lastMark;this.lastMark=t,this.phases.push({name:e,duration:r})}stop(){const e=Date.now();ba()?.postMessage({stopScenario:{name:this.name,appId:this.appId,result:"success",startTime:this.startTime,endTime:e,durationInMs:e-this.startTime,phases:this.phases}})}fail(e){const t=Date.now();ba()?.postMessage({failScenario:{name:this.name,appId:this.appId,result:"failure",startTime:this.startTime,endTime:t,durationInMs:t-this.startTime,error:e,phases:this.phases}})}}var Ca=i(1254);const Aa=(e,t,r)=>{const n=`https://teams.microsoft.com/l/entity/${e}/${t}`,i=new URLSearchParams;r.subEntityWebUrl&&i.append("webUrl",r.subEntityWebUrl),r.subEntityLabel&&i.append("label",r.subEntityLabel),r.subEntityId&&i.append("context",JSON.stringify({subEntityId:r.subEntityId}));const o=i.toString();return`${n}${o&&`?${o}`}`};var xa=i(6511);const ka=["conversations","about"],Ea=e=>{switch(e){case"botBased":return"BotBased";case"apiBased":return"ApiBased";default:return}},_a=e=>{var t;return(null===(t=e.titleDefinition.elementDefinitions.composeExtensions[0].commands)||void 0===t?void 0:t.map((e=>({id:e.id,parameterNames:e.parameters?e.parameters.map((e=>e.name)):[]}))))||[]};function Ia(e){var t,r;const{copilotAgents:n,copilotExtensions:i}=e;return(null===(t=null==n?void 0:n.customEngineAgents)||void 0===t?void 0:t.length)?n.customEngineAgents.map((e=>({id:new xa.k(e.id),type:e.type}))):(null===(r=null==i?void 0:i.customEngineCopilots)||void 0===r?void 0:r.length)?i.customEngineCopilots.map((e=>({id:new xa.k(e.id),type:e.type}))):[]}function Pa(e){return void 0!==e.titleDefinition}function Ta(e){return Pa(e)?e.appId||e.titleId:e.appId}function Ba(e){return Pa(e)?e.titleDefinition.name:e.name}function Da(e){return function(e){return(Pa(e)?e.titleDefinition.elementDefinitions.staticTabs:e.staticTabs)||[]}(e).filter((e=>e.entityId&&e.contentUrl&&e.scopes.some((e=>"personal"===e.toLowerCase()))))}function Na(e,t){return Da(e).find((e=>e.entityId===t))}function Ra(e){return function(e){return(Pa(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]}(e).length>0}const Oa=["d870f6cd-4aa5-4d42-9626-ab690c041429"];function za(e){return Oa.includes(Ta(e).toLowerCase())}const Ma=["*.azurewebsites.net","*.azureedge.com","*.microsoft.com","*.microsoftonline.com","*.onmicrosoft.com","*.windows.net"];class Fa extends Ca.U{configService;entityId;contentUrl;appDefinition;constructor(){super(),this.configService=new La,this.getConfig=async()=>({suggestedDisplayName:this.appDefinition&&this.entityId&&Na(this.appDefinition,this.entityId)?.name,contentUrl:this.contentUrl||"",removeUrl:void 0,websiteUrl:void 0,entityId:this.entityId})}async returnFocus(e){ba()?.postMessage({returnFocus:e||!1})}async setCurrentFrame(e){}async navigateToApp(e){const t={type:"appEntity",appId:e.appId,entityId:e.pageId,subEntityId:e.subPageId,fallbackUrl:e.webUrl};ba()?.postMessage({executeDeepLink:t})}shareDeepLink=async e=>{this.appDefinition&&this.entityId&&ba()?.postMessage({shareDeepLink:Aa(Ta(this.appDefinition),this.entityId,e)})}}class La extends Ca.U{customEventRegistrations=new Map;removeTimer=null;addCustomEventListener(e,t){const r=this.customEventRegistrations.get(e)||new Set;r.add(t),this.customEventRegistrations.set(e,r)}removeCustomEventListener(e,t){return this.customEventRegistrations.get(e)?.delete(t)||!1}dispatchCustomEvent(e,t){this.customEventRegistrations.get(e)?.forEach((e=>e(t)))}setConfig=async e=>(ba()?.postMessage({submitConfiguration:e}),!0);setValidityState=async e=>{this.dispatchCustomEvent("setValidityState",e)};async onSaveSuccess(){ba()?.postMessage({submitDialog:{result:"ok"}})}async onSaveFailure(e){ba()?.postMessage({submitDialog:{error:e}})}onRemoveSuccess=async()=>{this.clearRemoveTimer(),ba()?.postMessage({removeConfiguration:!0})};async onRemoveFailure(e){this.clearRemoveTimer(),ba()?.postMessage({submitDialog:{error:e}})}startRemoveTimer=()=>{this.clearRemoveTimer(),this.removeTimer=setTimeout((()=>{this.onRemoveSuccess()}),3e4)};clearRemoveTimer=()=>{null!==this.removeTimer&&(clearTimeout(this.removeTimer),this.removeTimer=null)}}function ja(e){if("number"==typeof e)return e;if("string"==typeof e){const t=parseInt(e);if(!isNaN(t))return t;switch(e.toLowerCase()){case"large":return-3;case"medium":return-2;default:return-1}}return-1}const Va="https://outlook.office.com/local/help/contact-support",Ha=e=>{const t=new URL(e);if(!t.pathname)throw Error(`Missing deep link path: ${e}`);if("https://teams.microsoft.com"===t.origin&&/^\/l\//.test(t.pathname))return(e=>{const t=e.pathname.match(/^\/l\/entity\/([^/]+)\/([^/]+)$/);if(3!==t?.length)return null;const r=t[1],n=t[2];if(!r||!n)return null;const i=e.searchParams.get("context"),o=i&&JSON.parse(i),a=o?.subEntityId;return{type:"appEntity",appId:r,entityId:n,subEntityId:a,fallbackUrl:e.searchParams.get("webUrl")}})(t)||(e=>{const t=e.pathname.match(/^\/l\/app\/delete\/([^/]+)$/);if(2!==t?.length)return null;const r=t[1];return r?{type:"deleteApp",appId:r}:null})(t)||(e=>{const t=e.pathname.match(/^\/l\/app\/([^/]+)$/);if(2!==t?.length)return null;const r=t[1];return r?{type:"installApp",appId:r}:null})(t)||(e=>"/l/chat/0/0"!==e.pathname?null:{type:"chat",users:e.searchParams.get("users")?.split(",")||[],topicName:e.searchParams.get("topicName"),message:e.searchParams.get("message")})(t)||(e=>"/l/call/0/0"!==e.pathname?null:{type:"call",users:e.searchParams.get("users")?.split(",")||[],withVideo:"true"===e.searchParams.get("withVideo"),source:e.searchParams.get("source")})(t)||(e=>{const t=e.pathname.match(/^\/l\/task\/([^/]+)$/);if(2!==t?.length)return null;const r=t[1];if(!r)return null;const n=e.searchParams.get("url"),i=e.searchParams.get("card"),o=ja(e.searchParams.get("height")),a=ja(e.searchParams.get("width")),s=e.searchParams.get("title"),l=e.searchParams.get("completionBotId");return n?{type:"dialogUrl",appId:r,url:n,height:o,width:a,title:s,completionBotId:l}:i?{type:"dialogCard",appId:r,card:i,height:o,width:a,title:s,completionBotId:l}:null})(t)||(e=>({type:"unhandled",url:e.href}))(t);if("https://outlook.office.com"===t.origin&&/^\/local\//.test(t.pathname)){const e=(e=>{const t=("https://outlook.office.com/local/file"===e.href?"file":e.href===Va&&"contactSupport")||"https://outlook.office.com/local/help/feedback"===e.href&&"feedback"||null;return t?{type:"ribbon",command:t}:null})(t);if(e)return e}else if("sip:"===t.protocol)return{type:"chat",users:[t.pathname],topicName:null,message:null};throw Error(`Unrecognized deep link format: ${e}`)};class qa{openLink=async e=>{ba()?.postMessage({executeDeepLink:Ha(e)})}}var Ua,$a=i(9802),Wa=i(4036),Ga=i(6796),Ka=i(9710);function Xa(e){if(!0===(0,$a.eZ)().useStrictAppIdValidationInStorage)return(0,Ga.A)(e);try{return(0,Ka.zW)(e),!0}catch(e){return!1}}!function(e){let t,r;!function(e){e[e.RECORD_DOESNT_EXIST=5500]="RECORD_DOESNT_EXIST",e[e.INDEXEDDB_INTERNAL_ERROR=5600]="INDEXEDDB_INTERNAL_ERROR",e[e.INVALID_SEARCH_PARAMETERS=5700]="INVALID_SEARCH_PARAMETERS",e[e.BLOCKED=5800]="BLOCKED"}(t=e.ErrorCode||(e.ErrorCode={})),function(e){e.APPID_AND_USERID_INDEX="appID_and_userID",e.APPID_INDEX="appID",e.USERID_INDEX="userID"}(r=e.indexID||(e.indexID={}));const n="apps",i="appsPermissionsDB";function o(e,o){return new Promise(((a,s)=>{!function(e,t,r,n,i,o){const a=indexedDB.open(e,1);a.onblocked=r,a.onupgradeneeded=i,a.onsuccess=o,a.onerror=t=>{var s;if("VersionError"===(null===(s=a.error)||void 0===s?void 0:s.name)){const t=indexedDB.deleteDatabase(e);return t.onsuccess=()=>{const t=indexedDB.open(e,1);t.onblocked=r,t.onupgradeneeded=i,t.onsuccess=o,t.onerror=n},t.onerror=n,void(t.onblocked=r)}n(t)}}(i,0,(()=>{s({errorCode:t.BLOCKED,message:"Please close all the existing tabs."})}),(e=>{s({errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type})}),(e=>{const t=e.target.result;if(!t.objectStoreNames.contains(n)){const e=t.createObjectStore(n,{keyPath:["appID","userID"],autoIncrement:!1});e.createIndex(r.APPID_AND_USERID_INDEX,["appID","userID"],{unique:!0}),e.createIndex(r.APPID_INDEX,"appID",{unique:!1}),e.createIndex(r.USERID_INDEX,"userID",{unique:!1})}}),(i=>{const l=i.target.result,c=l.transaction(n,"readwrite",{durability:"relaxed"}).objectStore(n),u=c.index(r.APPID_AND_USERID_INDEX).get([e,o]);u.onsuccess=()=>{a([c,u.result])},u.onerror=e=>{s({errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type})},l.close()}))}))}function a(r,n){return new Promise(((i,a)=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){let s;Xa(r)||(s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.invalidAppIdErrorString},a(s)),n||(s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:"UserID should not be null/empty."},a(s));const l=yield o(r,n);try{i(void 0!==l[1])}catch(e){s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},a(s)}}))))}function s(r,n){return new Promise(((i,a)=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){let s;Xa(r)||(s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.invalidAppIdErrorString},a(s)),n||(s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:"UserID should not be null/empty."},a(s));const[l,c]=yield o(r,n),u={appID:r,userID:n,permissions:{displayCapture:N.W.NeverAsked,geolocation:N.W.NeverAsked,media:N.W.NeverAsked,midi:N.W.NeverAsked,notifications:N.W.NeverAsked,openExternal:N.W.NeverAsked}};try{void 0===c&&(l.put(u).onsuccess=()=>{i()})}catch(e){s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},a(s)}}))))}e.invalidAppIdErrorString="AppID is not valid. Must be GUID format",e.doesDevicePermissionStorageExist=function(){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){return"databases"in indexedDB?(yield indexedDB.databases()).some((e=>e.name===i)):"Cannot Tell"}))},e.doesRecordExist=a,e.createRecord=s,e.updatePermission=function(r,n,i,l){return new Promise(((c,u)=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){let d;try{Xa(r)||(d={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.invalidAppIdErrorString},u(d)),n||(d={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:"UserID should not be null/empty."},u(d)),(yield a(r,n))||s(r,n);const[p,f]=yield o(r,n);if(void 0!==f.permissions[i]){f.permissions[i]=l;const e=p.put(f);e.onsuccess=()=>{c(e.result)},e.onerror=e=>{d={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},u(d)}}}catch(e){d={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},u(d)}}))))},e.deleteSingleRecord=function(n,i){return new Promise(((a,s)=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){let l;try{Xa(n)||(l={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.invalidAppIdErrorString},s(l)),i||(l={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:"UserID should not be null/empty."},s(l));const c=yield o(n,i),u=c[0].index(r.APPID_AND_USERID_INDEX).openKeyCursor(IDBKeyRange.only([n,i]));u.onsuccess=()=>{const e=u.result;e?(c[0].delete(e.primaryKey),a()):(l={errorCode:t.RECORD_DOESNT_EXIST,message:"Record doesn't exists."},s(l))},u.onerror=e=>{l={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},s(l)}}catch(e){l={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},s(l)}}))))},e.searchRecord=function(n,i,a){return new Promise(((s,l)=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){let c,u;if(Object.values(r).includes(a))try{Xa(n)||(u={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.invalidAppIdErrorString},l(u)),i||(u={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:"UserID should not be null/empty."},l(u));const d=yield o(n,i);c=a===r.APPID_AND_USERID_INDEX?d[0].index(r.APPID_AND_USERID_INDEX).getAll([n,i]):a===r.APPID_INDEX?d[0].index(r.APPID_INDEX).getAll(n):d[0].index(r.USERID_INDEX).getAll(i),c.onsuccess=()=>{const e=c.result;e?s(e):(u={errorCode:t.RECORD_DOESNT_EXIST,message:"Record doesn't exists."},l(u))},c.onerror=e=>{u={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},l(u)}}catch(e){u={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},l(u)}else u={errorCode:t.INVALID_SEARCH_PARAMETERS,message:`searchByIndex parameter should be one of these ${[r.APPID_AND_USERID_INDEX,r.APPID_INDEX,r.USERID_INDEX]}`},l(u)}))))},e.deleteObjectStore=function(){return new Promise(((e,t)=>{const r=indexedDB.deleteDatabase(i);r.onsuccess=()=>{e()},r.onerror=e=>{t(e)}}))}}(Ua||(Ua={}));const Ya=[{permission:N.m.DisplayCapture,status:N.W.NeverAsked},{permission:N.m.GeoLocation,status:N.W.NeverAsked},{permission:N.m.Media,status:N.W.NeverAsked},{permission:N.m.Midi,status:N.W.NeverAsked},{permission:N.m.Notifications,status:N.W.NeverAsked},{permission:N.m.OpenExternal,status:N.W.NeverAsked}];class Ja{constructor(e,t){this.appID=e,this.userID=t,this.getPermissions=()=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){var e;const t=null===(e=(0,$a.eZ)().shouldLazilyWriteDefaultDevicePermissions)||void 0===e||e;if(t&&!1===(yield Ua.doesDevicePermissionStorageExist()))return(0,Wa.i)().log(uo.$.Info,"DevicePermissionStorageService","Device permission storage does NOT exist; NOT creating it and instead using default values"),Ya;if(!(yield Ua.doesRecordExist(this.appID,this.userID))){if(t)return(0,Wa.i)().log(uo.$.Info,"DevicePermissionStorageService","Device permission storage DOES exist but has no records; NOT creating new record and instead using default values"),Ya;yield Ua.createRecord(this.appID,this.userID)}const r=yield Ua.searchRecord(this.appID,this.userID,Ua.indexID.APPID_AND_USERID_INDEX);return Object.entries(r[0].permissions).map((([e,t])=>({permission:e,status:t})))})),this.getPermissionStatus=e=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){const t=(yield this.getPermissions()).find((t=>t.permission===e));return void 0!==t?t.status:N.W.NeverAsked})),this.storePermissionConsent=e=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){yield Ua.updatePermission(this.appID,this.userID,e.permission,e.status)}))}}var Za;!function(e){e[e.RECORD_DOESNT_EXIST=5500]="RECORD_DOESNT_EXIST",e[e.INDEXEDDB_INTERNAL_ERROR=5600]="INDEXEDDB_INTERNAL_ERROR",e[e.INVALID_SEARCH_PARAMETERS=5700]="INVALID_SEARCH_PARAMETERS",e[e.BLOCKED=5800]="BLOCKED"}(Za||(Za={}));const Qa={[N.m.DisplayCapture]:N.W.NeverAsked,[N.m.GeoLocation]:N.W.NeverAsked,[N.m.Media]:N.W.NeverAsked,[N.m.Midi]:N.W.NeverAsked,[N.m.Notifications]:N.W.NeverAsked,[N.m.OpenExternal]:N.W.NeverAsked},es="apps";function ts(e){return new Promise(((t,r)=>{const n=indexedDB.open("appsPermissionsDB",2);n.onblocked=()=>{r({errorCode:Za.BLOCKED,message:"Please close all the existing tabs."})},n.onupgradeneeded=()=>{const e=n.result;e.objectStoreNames.contains(es)&&e.deleteObjectStore(es),e.createObjectStore(es,{keyPath:["appID","userID"],autoIncrement:!1})},n.onerror=e=>{r({errorCode:Za.INDEXEDDB_INTERNAL_ERROR,message:e.type})},n.onsuccess=()=>{const r=n.result,i=r.transaction(es,e,{durability:"relaxed"}).objectStore(es);t(i),r.close()}}))}function rs(e,t,r=void 0,n=!0){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){if(!Xa(e))throw{errorCode:Za.INVALID_SEARCH_PARAMETERS,message:"App ID is invalid"};if(0===t.length)throw{errorCode:Za.INVALID_SEARCH_PARAMETERS,message:"User ID is invalid"};const i=null!=r?r:yield ts("readonly"),o=function(e,t){return[e,t]}(e,t);return new Promise(((e,t)=>{const r=i.get(o);r.onsuccess=()=>{var t;e(null===(t=r.result)||void 0===t?void 0:t.permissions)},r.onerror=()=>{t({errorCode:Za.INDEXEDDB_INTERNAL_ERROR,message:"Error retrieving permissions"})},n&&i.transaction.commit&&i.transaction.commit()}))}))}function ns(e){return Object.entries(e).map((([e,t])=>({permission:e,status:t})))}const is=ns(Qa);class os{constructor(e,t){this.appID=e,this.userID=t}getPermissions(){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const e=yield(t=this.appID,r=this.userID,rs(t,r));var t,r;return e?ns(e):is}))}getPermissionStatus(e){var t;return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const r=(yield this.getPermissions()).find((t=>t.permission===e));return null!==(t=null==r?void 0:r.status)&&void 0!==t?t:N.W.NeverAsked}))}storePermissionConsent(e){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){yield function(e,t,r,n){return(0,$r.__awaiter)(this,void 0,void 0,(function*(){const i=yield ts("readwrite"),o=yield rs(e,t,i,!1);return new Promise(((a,s)=>{const l=Object.assign(Object.assign({},null!=o?o:Qa),{[r]:n}),c={appID:e,userID:t,permissions:l},u=i.put(c);u.onsuccess=()=>{a()},u.onerror=()=>{s({errorCode:Za.INDEXEDDB_INTERNAL_ERROR,message:"Error storing permissions"})},i.transaction.commit&&i.transaction.commit()}))}))}(this.appID,this.userID,e.permission,e.status)}))}}class as{constructor(e,t){this.getPermissions=()=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){return this._dispatch.getPermissions()})),this.getPermissionStatus=e=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){return this._dispatch.getPermissionStatus(e)})),this.storePermissionConsent=e=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){return this._dispatch.storePermissionConsent(e)})),this._dispatch=(0,$a.eZ)().enableDevicePermissionDBV2?new os(e,t):new Ja(e,t)}}const ss=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i,ls=(e,t,r)=>e.find((e=>e.Name===t))?.Value||r;class cs{appId;userId;defaultPermissionService;constructor(e,t){this.appId=e,this.userId=t,this.defaultPermissionService=new as(this.appId,this.userId)}getPermissions=()=>this.defaultPermissionService.getPermissions();getPermissionStatus=e=>this.defaultPermissionService.getPermissionStatus(e);storePermissionConsent=e=>this.defaultPermissionService.storePermissionConsent(e)}class us{showRequestDialogAndGetUserResponse;fakeAppId="f4b09f31-d690-48e7-bbf8-31c20e0c7561";fakeUserId="northCascadePark";appId;userId;storageService;devicePermissionsForApp;devicePermissionCapabilityItem;appLocalizedResources;constructor(e){this.showRequestDialogAndGetUserResponse=e,this.appId=this.fakeAppId,this.userId=this.fakeUserId,this.devicePermissionsForApp=[],this.devicePermissionCapabilityItem=[],this.appLocalizedResources=[],this.storageService=new cs(this.fakeAppId,this.fakeUserId)}setStorage=e=>{var t;e?.appManifest&&Ra(e.appManifest)&&Ta(e?.appManifest)&&("string"==typeof(t=Ta(e?.appManifest))&&ss.test(t))&&e?.user.profile.oid?(this.appId=Ta(e?.appManifest),this.userId=e?.user.profile.oid):(this.appId=this.fakeAppId,this.userId=this.fakeUserId),this.storageService=new cs(this.appId,this.userId)};showPermissionsMenu=()=>this.appId!==this.fakeAppId;requestUserConsentForPermission=async e=>{const t=await this.showRequestDialogAndGetUserResponse(e),r={permission:e,status:t};await this.storageService.storePermissionConsent(r);const n=this.devicePermissionCapabilityItem.find((t=>t.devicePermission===e));return n&&(n.isConsentGivenOnCurrentDevice=r.status===N.W.Consented),r};getDevicePermissionsForApp=()=>this.devicePermissionsForApp;getDevicePermissionsDialogPermissions=()=>this.devicePermissionCapabilityItem;setLocalizedResources=e=>{this.appLocalizedResources=[...e]};setupDevicePermissions=async e=>{const t=ls(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_DESC","Only when the app is open and in use"),r=ls(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_MEDIA","Media  (camera and microphone)"),n=ls(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_LOCATION","Location"),i=ls(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_MIDI","Midi"),o=ls(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_NOTIFICATIONS","Notifications"),a=ls(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_OPENEXTERNAL","External"),s=[],l=[];if(function(e){return((Pa(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]).some((e=>e.toLowerCase()===N.m.Media.toLowerCase()))}(e)){const e=await this.storageService.getPermissionStatus(N.m.Media)===N.W.Consented,n={description:t,nameOfPermission:r,devicePermission:N.m.Media};s.push(n),l.push({devicePermission:N.m.Media,isConsentGivenOnCurrentDevice:e})}if(function(e){return((Pa(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]).some((e=>e.toLowerCase()===N.m.GeoLocation.toLowerCase()))}(e)){const e=await this.storageService.getPermissionStatus(N.m.GeoLocation)===N.W.Consented,r={description:t,nameOfPermission:n,devicePermission:N.m.GeoLocation};s.push(r),l.push({devicePermission:N.m.GeoLocation,isConsentGivenOnCurrentDevice:e})}if(function(e){return((Pa(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]).some((e=>e.toLowerCase()===N.m.Midi.toLowerCase()))}(e)){const e=await this.storageService.getPermissionStatus(N.m.Midi)===N.W.Consented,r={description:t,nameOfPermission:i,devicePermission:N.m.Midi};s.push(r),l.push({devicePermission:N.m.Midi,isConsentGivenOnCurrentDevice:e})}if(function(e){return((Pa(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]).some((e=>e.toLowerCase()===N.m.Notifications.toLowerCase()))}(e)){const e=await this.storageService.getPermissionStatus(N.m.Notifications)===N.W.Consented,r={description:t,nameOfPermission:o,devicePermission:N.m.Notifications};s.push(r),l.push({devicePermission:N.m.Notifications,isConsentGivenOnCurrentDevice:e})}if(function(e){return((Pa(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]).some((e=>e.toLowerCase()===N.m.OpenExternal.toLowerCase()))}(e)){const e=await this.storageService.getPermissionStatus(N.m.OpenExternal)===N.W.Consented,r={description:t,nameOfPermission:a,devicePermission:N.m.OpenExternal};s.push(r),l.push({devicePermission:N.m.OpenExternal,isConsentGivenOnCurrentDevice:e})}this.devicePermissionsForApp=s,this.devicePermissionCapabilityItem=l}}class ds{getCurrentLocation(){return new Promise(((e,t)=>navigator.geolocation.getCurrentPosition((t=>e({latitude:t.coords.latitude,longitude:t.coords.longitude,accuracy:t.coords.accuracy,timestamp:t.timestamp})),t,{enableHighAccuracy:!1,timeout:3e4,maximumAge:1e3})))}}const ps={Debug:console.debug,Info:console.log,Warn:console.warn,Error:console.error};class fs{log(e,t,r,n){ps[e](`[LoggerService] tag: ${t}, level: ${e}, message: ${r}, exception: `,n||"undefined")}}class hs{showProfile(e){return ba()?.postMessage({showProfile:e}),Promise.resolve()}}class gs extends Ca.U{webview;handlerRef=null;constructor(){super();const e=ba();if(!e)throw new Error("undefined WebView in service");this.webview=e,this.eventHandler=this.eventHandler.bind(this),this.registerEventListener()}registerEventListener(){this.handlerRef||(this.handlerRef=(...e)=>this.eventHandler(...e),this.webview.addEventListener("message",this.handlerRef))}unregisterEventListener(){this.handlerRef&&(this.webview.removeEventListener("message",this.handlerRef),this.handlerRef=null)}onUnmount(){this.unregisterEventListener(),this.reset()}reset(){}}class ms extends gs{eventHandler(e){if(e?.data)if(e.data?.onSearchExecute){const t=e.data.onSearchExecute;this.dispatchEvent("queryExecute",{data:{searchTerm:t.searchTerm}})}else if(e.data?.onSearchClose){const t=e.data.onSearchClose;this.dispatchEvent("queryClose",{data:{searchTerm:t.searchTerm}})}else if(e.data?.onSearchChange){const t=e.data.onSearchChange;this.dispatchEvent("queryChange",{data:{searchTerm:t.searchTerm}})}}addEventListener(e,t){super.addEventListener(e,t),"queryExecute"===e&&this.webview.postMessage({searchSupported:!0})}clearListeners(){super.clearListeners(),this.webview.postMessage({searchSupported:!1})}closeSearch=async()=>{this.webview.postMessage({closeSearch:!0})}}var vs=i(6186),ys=i.n(vs),bs=i(2155),ws=i.n(bs),Ss=i(7433),Cs=i.n(Ss),As=i(8626),xs=i.n(As),ks=i(8990),Es=i.n(ks),_s=i(9827),Is=i.n(_s),Ps=i(7403),Ts={};Ts.styleTagTransform=Is(),Ts.setAttributes=xs(),Ts.insert=Cs().bind(null,"head"),Ts.domAPI=ws(),Ts.insertStyleElement=Es(),ys()(Ps.A,Ts);const Bs=Ps.A&&Ps.A.locals?Ps.A.locals:void 0;var Ds=i(9970),Ns=i.n(Ds),Rs=i(7042),Os=i.n(Rs);const zs=({app:e,title:t,darkMode:r,highContrastMode:n})=>{const i=e&&Ba(e),a=e&&(n?function(e){return Pa(e)?e.titleDefinition.iconSmall.uri:e.smallImageUrl}(e):function(e){return Pa(e)?e.titleDefinition.iconLarge.uri:e.largeImageUrl}(e));return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("img",{src:a||(r?Os():Ns()),alt:i||"App icon",className:Bs.dialogHeaderImage}),(0,o.jsxs)("div",{className:Bs.dialogHeaderInfo,children:[i?(0,o.jsx)("div",{className:`${Bs.dialogHeaderText} ${Bs.dialogHeaderAppName}`,children:i}):null,t?(0,o.jsx)("div",{className:`${Bs.dialogHeaderText} ${Bs.dialogHeaderTitle}`,children:t}):null]})]})};var Ms;function Fs(){return Fs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fs.apply(null,arguments)}const Ls=function(e){return a.createElement("svg",Fs({xmlns:"http://www.w3.org/2000/svg",viewBox:"-6 -6 32 32"},e),Ms||(Ms=a.createElement("path",{d:"m4.089 4.216.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10 4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07z"})))};var js;function Vs(){return Vs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vs.apply(null,arguments)}const Hs=function(e){return a.createElement("svg",Vs({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),js||(js=a.createElement("path",{d:"M10 16v-1h12v1z"})))};var qs;function Us(){return Us=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Us.apply(null,arguments)}const $s=function(e){return a.createElement("svg",Us({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),qs||(qs=a.createElement("path",{d:"M10 10h12v12H10zm11 11V11H11v10z"})))};var Ws;function Gs(){return Gs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gs.apply(null,arguments)}const Ks=function(e){return a.createElement("svg",Gs({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),Ws||(Ws=a.createElement("path",{d:"M11 9v2H9v12h12v-2h2V9zm9 13H10V12h10zm2-2h-1v-9h-9v-1h10z"})))},Xs=(0,a.forwardRef)((function({webview:e,isMaximized:t,onClose:r,onMaximize:n,onMinimize:i},s){const l=(0,a.useRef)(null);return(0,a.useEffect)((()=>{const t=e=>{e?.data?.focusCloseButton&&l.current?.focus()};return e.addEventListener("message",t),()=>{e.removeEventListener("message",t)}}),[e,l]),(0,o.jsxs)("div",{id:"outlookHeaderChromeButtons",className:Bs.dialogHeaderRight,ref:s,children:[i&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{id:"outlookHeaderMinimizeButton",className:Bs.dialogChromeButton,tabIndex:-1,onClick:i,onKeyPress:i,children:(0,o.jsx)(Hs,{fill:"currentColor"})}),(0,o.jsx)("label",{htmlFor:"outlookHeaderMinimizeButton",className:Bs.dialogLabel,children:"Minimize"})]}),n&&!t&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{id:"outlookHeaderMaximizeButton",className:Bs.dialogChromeButton,tabIndex:-1,onClick:n,onKeyPress:n,children:(0,o.jsx)($s,{fill:"currentColor"})}),(0,o.jsx)("label",{htmlFor:"outlookHeaderMaximizeButton",className:Bs.dialogLabel,children:"Maximize"})]}),n&&t&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{id:"outlookHeaderUnmaximizeButton",className:Bs.dialogChromeButton,tabIndex:-1,onClick:n,onKeyPress:n,children:(0,o.jsx)(Ks,{fill:"currentColor"})}),(0,o.jsx)("label",{htmlFor:"outlookHeaderUnmaximizeButton",className:Bs.dialogLabel,children:"Unmaximize"})]}),r&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{id:"outlookHeaderCloseButton",title:"Close",className:Bs.dialogChromeButton,tabIndex:-1,onClick:r,onKeyPress:r,ref:l,children:(0,o.jsx)(Ls,{fill:"currentColor"})}),(0,o.jsx)("label",{htmlFor:"outlookHeaderCloseButton",className:Bs.dialogLabel,children:"Close"})]})]})}));function Ys(e,t){if("number"==typeof e&&e>0){const r=t.current?.getBoundingClientRect().height;"number"==typeof r&&r>0&&(e+=r)}return e}const Js=({app:e,title:t,darkMode:r,highContrastMode:n,webview:i,dialogHeight:s,headerRef:l})=>{const c=(0,a.useRef)(null);return(0,a.useEffect)((()=>{const e=l.current;if(e){const t=new ResizeObserver((()=>{i.postMessage({updateDialogHeader:{dialogHeader:e.getBoundingClientRect(),closeButton:c.current?.getBoundingClientRect()}})}));return t.observe(e),()=>{t.unobserve(e)}}return()=>{}})),(0,a.useEffect)((()=>{const e=e=>{e?.data?.focusCloseButton&&c.current?.focus()};return i.addEventListener("message",e),()=>{i.removeEventListener("message",e)}}),[i,c]),(0,a.useEffect)((()=>{const e=Ys(s,l);e!==s&&i.postMessage({resizeDialog:{height:e}})}),[i,s,l]),(0,o.jsxs)("div",{id:"outlookDialogHeader",ref:l,className:Bs.dialogHeader,children:[(0,o.jsx)(zs,{app:e,title:t,darkMode:r,highContrastMode:n}),(0,o.jsx)("div",{className:Bs.popOutTabButtons}),(0,o.jsx)(Xs,{webview:i,ref:c,onClose:()=>{i.postMessage({submitDialog:{error:"User cancelled/closed the task module.",appIds:e&&[Ta(e)]}})}})]})};let Zs=0;function Qs(){return++Zs}class el extends gs{dialogPromises={};reset(){Object.entries(this.dialogPromises).forEach((([e,t])=>t.reject("cleanUpRoutine"))),this.dialogPromises={}}eventHandler(e){if(e?.data&&e.data?.submitDialog){const{instance:t,error:r,result:n}=e.data.submitDialog;this.dialogPromises[t]&&(r?this.dialogPromises[t].reject(r):this.dialogPromises[t].resolve(n??""),delete this.dialogPromises[t])}}open=async e=>{const t=Date.now(),r=JSON.parse(e.card);if("object"!=typeof r)throw new Error(`Unexpected Adaptive Card definition: "${e.card}"`);const n=Qs(),i=new Promise(((e,t)=>{this.dialogPromises[n]={resolve:e,reject:t}}));return this.webview.postMessage({openDialog:{instance:n,userClickTime:t,dialog:{...e,card:r}}}),i};cardBotService={open:async e=>{const t=Date.now();if(!e.card||!e.completionBotId)throw new Error("Dialog card/completionBotId not provided");const r=JSON.parse(e.card);if("object"!=typeof r)throw new Error(`Unexpected Adaptive Card definition: "${e.card}"`);const n=Qs(),i=new Promise(((e,t)=>{this.dialogPromises[n]={resolve:e,reject:t}}));return this.webview.postMessage({openDialog:{instance:n,userClickTime:t,dialog:{...e,card:r}}}),i}}}class tl extends gs{dialogPromises={};reset(){Object.entries(this.dialogPromises).forEach((([e,t])=>t.reject("cleanUpRoutine"))),this.dialogPromises={}}eventHandler(e){if(e?.data&&e.data?.submitDialog){const{instance:t,error:r,result:n}=e.data.submitDialog;this.dialogPromises[t]&&(r?this.dialogPromises[t].reject(r):this.dialogPromises[t].resolve(n??""),delete this.dialogPromises[t])}}open=async e=>{const t=Date.now(),r=Qs(),n=new Promise(((e,t)=>{this.dialogPromises[r]={resolve:e,reject:t}}));return this.webview.postMessage({openDialog:{instance:r,userClickTime:t,dialog:e}}),n};submit=async(e,t)=>{this.webview.postMessage({submitDialog:{result:e,appIds:t}})};parentCommunicationService=new rl;urlBotService={open:async e=>{const t=Date.now();if(!e.url||!e.completionBotId)throw new Error("Dialog url/completionBotId not provided");const r=Qs(),n=new Promise(((e,t)=>{this.dialogPromises[r]={resolve:e,reject:t}}));return this.webview.postMessage({openDialog:{instance:r,userClickTime:t,dialog:e}}),n}}}class rl extends gs{eventHandler(e){e.data?.messageForParent?this.dispatchEvent("onMessageForParent",{data:e.data?.messageForParent}):e.data?.messageForChild&&this.dispatchEvent("onMessageForChild",{data:e.data?.messageForChild})}messageForParent=e=>(this.webview.postMessage({messageForParent:e}),Promise.resolve());messageForChild=e=>(this.webview.postMessage({messageForChild:e}),Promise.resolve())}class nl{dialogHeader;cardService=new el;urlService=new tl;constructor(e){this.dialogHeader=e}updateService={resize:async e=>{this.dialogHeader&&ba()?.postMessage({resizeDialog:{...e,height:e?.height?Ys(e.height,this.dialogHeader):e.height}})}}}class il extends gs{authRequestIdRipcord;tokenPromises={};tokenRequests=new Map;user=void 0;externalAuthRedirectUrl;externalAuthService;constructor(e,t){super(),this.authRequestIdRipcord=t,e||(this.externalAuthRedirectUrl=new URL("ms-olk-oauth:auth-callback"),this.externalAuthService=new ol)}reset(){this.authRequestIdRipcord?(Object.keys(this.tokenPromises).forEach((e=>{this.tokenPromises[e]?.forEach((e=>e.reject("aborted")))})),this.tokenPromises={}):(this.tokenRequests.forEach((e=>e.reject("aborted"))),this.tokenRequests.clear())}eventHandler(e){if(e?.data?.setToken){const{requestId:t,token:r,error:n}=e.data.setToken;if(this.authRequestIdRipcord){const e=t;e in this.tokenPromises&&(r?this.tokenPromises[e]?.forEach((e=>e.resolve({token:r}))):this.tokenPromises[e]?.forEach((e=>e.reject(n||"unknownAuthError"))),delete this.tokenPromises[e])}else this.tokenRequests.has(t)&&(r?this.tokenRequests.get(t)?.resolve({token:r}):this.tokenRequests.get(t)?.reject(n||"unknownAuthError"),this.tokenRequests.delete(t))}else if(e?.data?.oauthResult&&this.externalAuthRedirectUrl){let t;try{t=new URL(e.data.oauthResult)}catch{return}const r=new URL(this.externalAuthRedirectUrl);t.protocol===r.protocol&&t.pathname===r.pathname&&t.searchParams.has("authId")&&t.searchParams.has("result")&&this.dispatchEvent("onExternalAuthDeeplink",{data:{authId:t.searchParams.get("authId"),result:t.searchParams.get("result")}})}}acquireToken=async(e,t,r)=>{if(this.authRequestIdRipcord){const n=this.tokenPromises[e]||[],i=new Promise(((t,r)=>{n.push({resolve:t,reject:r}),this.tokenPromises[e]=n}));return 1===n.length&&this.webview.postMessage({getToken:{requestId:"",resource:e,claims:t,silent:r}}),i}{const n=crypto.randomUUID(),i=new Promise(((e,t)=>{this.tokenRequests.set(n,{resolve:e,reject:t})}));return this.webview.postMessage({getToken:{requestId:n,resource:e,claims:t,silent:r}}),i}};getUser=async()=>this.user}class ol{openUrlInEmbeddedBrowser(e,t){return window.open(e,"appAuthWindow",t)}openUrlInExternalBrowser(e){ba()?.postMessage({executeDeepLink:{type:"unhandled",url:e.toString()}})}}class al extends gs{meetingDetailsPromises=[];eventHandler(e){if(e?.data&&e.data.setMeetingDetails){const t=e.data.setMeetingDetails;this.meetingDetailsPromises.forEach((e=>e.resolve(t)))}}reset(){this.meetingDetailsPromises.forEach((e=>e.reject("cleanUpRoutine"))),this.meetingDetailsPromises=[]}async getIncomingClientAudioState(){return null}async toggleIncomingClientAudio(){return null}getMeetingDetails=async()=>{const e=new Promise(((e,t)=>{this.meetingDetailsPromises.push({resolve:t=>{e({details:{id:btoa("0#"+t.chatId+"#0"),scheduledStartTime:t.scheduledStartTime,scheduledEndTime:t.scheduledEndTime},conversation:{id:t.chatId},organizer:{}})},reject:t})}));return this.webview.postMessage({getMeetingDetails:!0}),e};async getAuthenticationTokenForAnonymousUser(){return null}async getLiveStreamState(){throw new Error("Method not implemented.")}async requestStartLiveStreaming(e,t){throw new Error("Method not implemented.")}async requestStopLiveStreaming(){throw new Error("Method not implemented.")}async shareAppContentToStage(e){throw new Error("Method not implemented.")}async getAppContentStageSharingCapabilities(){throw new Error("Method not implemented.")}async stopSharingAppContentToStage(){throw new Error("Method not implemented.")}async getAppContentStageSharingState(){throw new Error("Method not implemented.")}async requestAppAudioHandling(e){throw new Error("Method not implemented.")}async updateMicState(e,t){throw new Error("Method not implemented.")}}class sl extends gs{openedItemPromises={};reset(){Object.entries(this.openedItemPromises).forEach((([e,t])=>t.forEach((e=>e.reject("cleanUpRoutine"))))),this.openedItemPromises={}}eventHandler(e){if(!e?.data?.onOpenedItem)return;const t=e.data.onOpenedItem;this.openedItemPromises[t.itemId]&&(t.status?this.openedItemPromises[t.itemId]?.forEach((e=>e.resolve())):this.openedItemPromises[t.itemId]?.forEach((e=>e.reject(t.reason||""))),delete this.openedItemPromises[t.itemId])}openMailItem=async e=>{const t=this.openedItemPromises[e.itemId]||[],r=new Promise(((r,n)=>{t.push({resolve:r,reject:n}),this.openedItemPromises[e.itemId]=t}));return 1===t.length&&this.webview.postMessage({openMailItem:e}),r};async composeMail(e){this.webview.postMessage({composeMail:e})}}const ll={openCalendarItem:async e=>{ba()?.postMessage({openCalendarItem:e})},composeMeeting:async e=>{ba()?.postMessage({composeMeeting:e})}};var cl=i(240),ul=i(8496),dl=i.n(ul),pl=i(7859),fl=i.n(pl),hl=i(592),gl=i.n(hl);const ml=({appLocalizedResources:e})=>(0,o.jsx)("div",{className:Bs.imageContainer,children:(0,o.jsx)("div",{className:Bs.centerImage,children:(0,o.jsx)("p",{id:"hubLoadingUi",children:(0,o.jsx)("img",{src:gl(),alt:ls(e,"IDS_APPHOST_LOADING_IMAGEALTTEXT","Loading")})})})});class vl{darkMode=!1;appLocalizedResources=[];onReload=()=>{};getLoadingUi=()=>(0,o.jsx)(ml,{appLocalizedResources:this.appLocalizedResources});getErrorUiData=e=>{const t=ls(this.appLocalizedResources,"IDS_ERR_CONNECTIVITY","There was a problem reaching this app"),r=function(e,t){switch(e){case cl.Af.AuthFailed:return ls(t,"IDS_ERR_APPHOST_AUTHFAILED","User authentication failed. Please try again.");case cl.Af.Timeout:case cl.Af.AppInitTimeout:case cl.Af.CachedAppLoadTimedOut:return ls(t,"IDS_ERR_APPHOST_TIMEOUT","The request timed out. Please try again.");default:return ls(t,"IDS_ERR_APPHOST_OTHERERROR","An error occurred. Please try again.")}}(e,this.appLocalizedResources);return{localizedErrorStrings:{errorHeading:t,errorSubtitle:r,bubbleHeading:t,bubbleSubtitle:r,retryButtonTitle:ls(this.appLocalizedResources,"IDS_ERR_TRYAGAIN","Retry"),openInDesktopButtonTitle:"",openInWebBrowserButtonTitle:"",openInLegacyBrowserButtonTitle:""},errorImage:{image:this.darkMode?fl():dl(),altText:""},retry:()=>{this.onReload()}}}}class yl extends gs{tokenRequests=new Map;reset(){this.tokenRequests.clear()}eventHandler(e){if(e?.data?.nestedAppAuthResponse){const{requestId:t,response:r}=e.data.nestedAppAuthResponse;t&&this.tokenRequests.has(t)&&(this.tokenRequests.get(t)?.(r),this.tokenRequests.delete(t))}}execute=async(e,t)=>{if("string"==typeof t&&(t=new URL(t)),"https:"!==t.protocol||!t.host)throw new Error("Invalid origin");const r=crypto.randomUUID(),n=new Promise((e=>{this.tokenRequests.set(r,e)}));return this.webview.postMessage({executeNestedAppAuthRequest:{requestId:r,payload:e,origin:t.toString()}}),n};isDeeplyNestedAuthSupported(){return!1}}class bl extends gs{onContextualChatChanged;onUpdatePromptInputData;requestPrefetchContextPromises=new Map;eventHandler(e){if(e.data?.contextualChatChanged){const t=e.data.contextualChatChanged;t.data&&"object"==typeof t.data&&this.onContextualChatChanged?.({func:"contextualChatChanged",args:[t.data]})}else if(e.data?.updatePromptInputData){const t=e.data.updatePromptInputData;if(t.data&&"object"==typeof t.data)try{this.onUpdatePromptInputData?.({func:"updatePromptInputData",args:[t.data]})}catch(e){console.error("Failed to parse prompt input data:",e)}}else if(e.data?.prefetchContextResponse){const t=e.data.prefetchContextResponse,r=t.requestId;r&&this.requestPrefetchContextPromises.has(r)&&(this.requestPrefetchContextPromises.get(r)?.resolve(t),this.requestPrefetchContextPromises.delete(r))}}reset(){this.onContextualChatChanged=void 0,this.onUpdatePromptInputData=void 0,this.requestPrefetchContextPromises.forEach((e=>e.reject("cleanUpRoutine"))),this.requestPrefetchContextPromises.clear()}tryProcessMessage=async(e,t)=>{switch(e.func){case"ChatReady":case"appLoadedFromCache":return this.onChatReady(t);case"preCheckForPageContext":return{processed:!0,data:{status:"success",show_consent_card:!1,user_consent:"accepted"}};case"prefetchContextRequested":return this.onPrefetchContextRequested();default:return{processed:!1,data:void 0}}};onChatReady=e=>(this.onContextualChatChanged=e,this.onUpdatePromptInputData=e,this.webview.postMessage({chatReady:!0}),{processed:!0,data:void 0});onPrefetchContextRequested=()=>{const e=crypto.randomUUID(),t=new Promise(((t,r)=>{this.requestPrefetchContextPromises.set(e,{resolve:e=>{t({processed:!0,data:{id:e.id,text:e.text}})},reject:r})}));return this.webview.postMessage({requestPrefetchContext:{requestId:e}}),t}}class wl{authenticationService;constructor(e){this.authenticationService=e}async getToken(e){const t=await this.authenticationService.acquireToken(e.resource,e.claims,e.isSilent);return t?.token?{authToken:t.token}:Promise.reject(new Error("Token not found"))}}class Sl extends gs{requestGetAppPromises=new Map;async getApp(e){const t=e.id,r=new Promise(((e,r)=>{this.requestGetAppPromises.has(t)&&(this.requestGetAppPromises.get(t)?.reject(`Request for app ${t} already in progress.`),this.requestGetAppPromises.delete(t)),this.requestGetAppPromises.set(t,{resolve:t=>e(t.appDefinition),reject:r})}));return this.webview.postMessage({requestGetApp:{appId:t}}),{appDefinition:this.convertOutlookAppDefinition(await r)}}eventHandler(e){if(e?.data?.getAppResponse){const t=e.data.getAppResponse,r=t.appId;r&&this.requestGetAppPromises.has(r)&&(this.requestGetAppPromises.get(r)?.resolve(t),this.requestGetAppPromises.delete(r))}}convertOutlookAppDefinition(e){const t=JSON.parse(e),r=t.titleDefinition;let n="NotInstalled";switch(t.acquisitionState){case"acquired":n="Installed";break;case"unacquired":default:n="NotInstalled";break;case"blocked":n="Blocked";break;case"needsConsentForUpgrade":n="RequireConsent"}return{id:t.appId,name:r.name,shortDescription:r.shortDescription,smallImageUrl:r.iconSmall.uri,largeImageUrl:r.iconLarge.uri,accentColor:r.accentColor,developerName:r.developerName,isFullScreen:r.isFullScreen,showLoadingIndicator:r.showLoadingIndicator,state:n,composeExtensions:r.elementDefinitions.composeExtensions,webApplicationInfo:r.webApplicationInfo,validDomains:r.validDomains,copilotExtensions:r.copilotExtensions}}}class Cl{cacheabilityDataService=new Al}class Al extends gs{constraints=new xl;eventHandler(e){}}class xl{appExpirationInMinutes=180;maxAppsAllowedInCache=3;minFreeDeviceMemoryInMbToCache=200;maxHostMemoryAllowedInMb=2e3}const kl=({webview:e,appConfig:t,entityId:r,dialogHeader:n,appLocalizedResources:i,darkMode:o,contentUrl:s,appContext:l,showRequestDialogAndGetUserResponse:c})=>{const[u,d]=(0,a.useState)(void 0);if((0,a.useEffect)((()=>{if(!u&&t){const e=!t?.ripcords?.searchService&&!t.popOut&&!t.dialog;d({dialogService:new nl(n),authenticationService:new il(t?.ripcords?.externalAuth,t?.ripcords?.authRequestId),pageService:new Fa,calendarService:ll,meetingService:t?.ripcords?.meetingService?void 0:new al,logger:new fs,devicePermissionService:new us(c),locationService:t?.ripcords?.locationService?void 0:new ds,profileService:t?.ripcords?.profileService?void 0:new hs,searchService:e?new ms:void 0,linkService:new qa,telemetryService:new wa,mailService:new sl,hubUiService:new vl,nestedAppAuthService:t?.ripcords?.nestedAppAuth?new yl:void 0,customMessageService:t?.ripcords?.customMessageService?void 0:new bl,lifecycleService:t?.ripcords?.lifecycleService?new Cl:void 0})}}),[u,t,n,c]),u)if(u.authenticationService.user=t?.user,u.dialogService.dialogHeader=n,u.pageService.entityId=r,u.pageService.contentUrl=s,u.pageService.appDefinition=t?.appManifest,u.hubUiService.darkMode=o,u.hubUiService.appLocalizedResources=i,l&&t&&t.appManifest&&za(t.appManifest)&&!t?.ripcords?.extensibilityGetApp){const e=u.logger,r=u.authenticationService,n=new wl(r),i=new Sl,o=()=>document.createElement("div"),a=new po(e),s=new fo.l(n,l.app,void 0,void 0,a),c=function(e,t,r,n,i){const o=new po(i),a=new fo.l(t,n,void 0,void 0,o,void 0),s=new Lo(e,r,a,o),l=new Zo(a,e),c=new ra(e,a,o,r,void 0),u=new ho(i);return{externalAppCardActionsService:s,externalAppChannelService:l,externalAppInfoService:new ia(e),externalAppCommandsService:c,mos3TokenGenerationService:new oa(t),externalAppChannelForCEAService:new Jo(e,a,u),externalAppCardActionsForCEAService:new Mo(e,r,a,o,u),botAuthenticationService:{acquireToken:(e,r)=>(0,$r.__awaiter)(this,void 0,void 0,(function*(){return t.getSSOToken?t.getSSOToken({resource:e,claims:r}):Promise.reject("No implementation for getSSOToken")}))},externalAppCardActionsForDAService:new Fo(r,u)}}(i,n,new ya(o,{...l.user,id:t.user.profile.oid},l.app,i,n,(()=>{throw new Error("Not implemented")}),s,void 0,void 0,Ma),l.app,e);c.externalAppCardActionsService&&(u.externalAppCardActionsService=c.externalAppCardActionsService),c.externalAppChannelService&&(u.externalAppChannelService=c.externalAppChannelService),c.externalAppInfoService&&(u.externalAppInfoService=c.externalAppInfoService),c.externalAppCommandsService&&(u.externalAppCommandsService=c.externalAppCommandsService),c.mos3TokenGenerationService&&(u.mos3TokenGenerationService=c.mos3TokenGenerationService),c.externalAppChannelForCEAService&&(u.externalAppChannelForCEAService=c.externalAppChannelForCEAService),c.externalAppCardActionsForCEAService&&(u.externalAppCardActionsForCEAService=c.externalAppCardActionsForCEAService),c.botAuthenticationService&&(u.botAuthenticationService=c.botAuthenticationService),c.externalAppCardActionsForDAService&&(u.externalAppCardActionsForDAService=c.externalAppCardActionsForDAService)}else u.externalAppCardActionsService=void 0,u.externalAppChannelService=void 0,u.externalAppInfoService=void 0,u.externalAppCommandsService=void 0,u.mos3TokenGenerationService=void 0,u.externalAppChannelForCEAService=void 0,u.externalAppCardActionsForCEAService=void 0,u.botAuthenticationService=void 0,u.externalAppCardActionsForDAService=void 0;(0,a.useEffect)((()=>()=>{u&&(u.authenticationService.onUnmount(),u.dialogService.cardService.onUnmount(),u.dialogService.urlService.parentCommunicationService.onUnmount(),u.dialogService.urlService.onUnmount(),u.meetingService?.onUnmount(),u.searchService?.onUnmount(),u.mailService?.onUnmount(),u.nestedAppAuthService?.onUnmount(),u.customMessageService?.onUnmount())}),[u]);const p=(0,a.useCallback)((()=>{u&&(u.authenticationService?.reset(),u.dialogService?.cardService.reset(),u.dialogService?.urlService.parentCommunicationService.reset(),u.dialogService?.urlService.reset(),u.meetingService?.reset(),u.searchService?.reset(),u.mailService?.reset(),u.nestedAppAuthService?.reset(),u.customMessageService?.reset()),e.postMessage({getWorkOffline:!0}),e.postMessage({reload:!0})}),[e,u]);return u&&(u.hubUiService.onReload=p),(0,a.useMemo)((()=>({hubServices:u,onReload:p})),[u,p])},El={choiceSetInputValueSeparator:",",supportsInteractivity:!0,fontFamily:"Segoe UI",spacing:{small:8,default:16,medium:16,large:24,extraLarge:32,padding:16},separator:{lineThickness:1,lineColor:"#E1E1E1"},fontSizes:{small:12,default:14,medium:16,large:18,extraLarge:20},fontWeights:{lighter:300,default:400,bolder:500},imageSizes:{small:40,medium:160,large:320},containerStyles:{default:{foregroundColors:{default:{default:"#000000",subtle:"#000000"},dark:{default:"#000000",subtle:"#000000"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#FFFFFF"},emphasis:{foregroundColors:{default:{default:"#000000",subtle:"#000000"},dark:{default:"#000000",subtle:"#000000"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#F8F8F8"},accent:{foregroundColors:{default:{default:"#000000",subtle:"#605E5C"},dark:{default:"#000000",subtle:"#605E5C"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#EBF6FF"},good:{foregroundColors:{default:{default:"#000000",subtle:"#605E5C"},dark:{default:"#000000",subtle:"#605E5C"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#F1FFF1"},warning:{foregroundColors:{default:{default:"#000000",subtle:"#605E5C"},dark:{default:"#000000",subtle:"#605E5C"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#FFF8E4"},attention:{foregroundColors:{default:{default:"#000000",subtle:"#605E5C"},dark:{default:"#000000",subtle:"#605E5C"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#FFF2F3"}},actions:{actionAlignment:"Right",maxActions:5,spacing:"",buttonSpacing:8,showCard:{actionMode:"Inline",style:"default"},actionsOrientation:"Horizontal"},adaptiveCard:{allowCustomStyle:!0},imageSet:{imageSize:"Medium",maxImageHeight:102},factSet:{title:{size:"Default",color:"Default",isSubtle:!0,weight:"Lighter",wrap:!0},value:{size:"Default",color:"Default",isSubtle:!1,weight:"Default",wrap:!0},spacing:8}},_l={choiceSetInputValueSeparator:",",supportsInteractivity:!0,fontFamily:"Segoe UI",spacing:{small:8,default:16,medium:16,large:24,extraLarge:32,padding:16},separator:{lineThickness:1,lineColor:"#EEEEEE"},fontSizes:{small:12,default:14,medium:16,large:18,extraLarge:20},fontWeights:{lighter:300,default:400,bolder:500},imageSizes:{small:40,medium:160,large:320},containerStyles:{default:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#262626"},emphasis:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#404040"},accent:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#025498"},good:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#076107"},warning:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#704B1B"},attention:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#8B2323"}},actions:{actionAlignment:"Right",maxActions:5,spacing:"",buttonSpacing:8,showCard:{actionMode:"Inline",style:"default"},actionsOrientation:"Horizontal"},adaptiveCard:{allowCustomStyle:!0},imageSet:{imageSize:"Medium",maxImageHeight:102},factSet:{title:{size:"Default",color:"Default",isSubtle:!0,weight:"Lighter",wrap:!0},value:{size:"Default",color:"Default",isSubtle:!1,weight:"Default",wrap:!0},spacing:8}};var Il={dblclick:on,keydown:an,keyup:an,keypress:an,mousedown:on,mouseenter:on,mouseleave:on,mousemove:on,mouseover:on,mouseout:on,mouseup:on,touchcancel:sn,touchend:sn,touchmove:sn,touchstart:sn,wheel:on},Pl={"":an,mouse:on,pen:"pen",touch:sn},Tl=e=>{const{event:t,reactEvent:r}=e,n="click"===r.type?(e=>{const t=Pl[e];return null!=t?t:nn})(r.nativeEvent.pointerType):Il[r.type];let i;const o=r.nativeEvent;return i=(null==o?void 0:o.view)&&r.timeStamp?o.view.performance.timeOrigin+r.timeStamp:Date.now(),{event:t,source:{inputType:null!=n?n:nn,timeStamp:i}}},Bl="HubSettingsAppPermissionsRequestDialog",Dl="InstalledAppsControl";const Nl={[qi]:(e,t)=>{const r=e.event&&e.event;if(r.type===Ui.allowBrowserRefresh)t.refreshDialogRefreshEvent?.();else{if(r.type!==Ui.deferBrowserRefresh)throw new Error("Oops, something went wrong :(");t.refreshDialogDeferEvent?.()}},[Gi]:(e,t)=>{const r=e.event&&e.event;if(r.type===Xi&&r.data){const e=r.data();t.currentAppPermissionsDialogSaveEvent?.(e.permissionTypes)}else{if(r.type!==Ki)throw new Error("Oops, something went wrong :(");t.currentAppPermissionsDialogCancelEvent?.()}},[Wr]:(e,t)=>{const r=e.event&&e.event;if(r.type===Gr)t.requestDialogAllowEvent?.();else{if(r.type!==Kr)throw new Error("Oops, something went wrong :(");t.requestDialogDenyEvent?.()}},[Bl]:(e,t)=>{if("closeHubSettingsAppPermissionsDialog"!==(e.event&&e.event).type)throw new Error("Oops, something went wrong :(");t.hubSettingsPermissionsDialogCloseEvent?.()},[Dl]:(e,t)=>{if("permissionsInfo"!==(e.event&&e.event).type)throw new Error("Oops, something went wrong :(");{const r=e.event.data&&e.event.data().appId||"";t.permissionsForInstalledApp?.(r)}}},Rl=e=>{const t=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_TITLE","Set <appName> permissions").replace("<appName>",e.appName),r=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_SUBTITLE","Make sure your browser permissions are set to allow the same access you've allowed here."),n=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_CAPTION","Saving your changes will prompt your the browser to refresh. Any unsaved changes in this app will be lost."),i=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_SAVEBUTTONLABEL","Save"),a=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_SAVEBUTTONARIA","Refresh to allow permission changes to take effect"),s=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_CANCELBUTTONLABEL","Cancel"),l=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_CANCELBUTTONARIA","Cancel refresh and close dialog"),c=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_CLOSEBUTTONARIA","Close Dialog"),u=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_INSTALLAPPSTEXT","Set other app permissions"),d=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_ALLOW","Allow"),p=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_DENY","Deny"),f=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_REQUEST","<appName> would like to access your device").replace("<appName>",e.appName),h=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_UPDATE","You can update <appName> app permissions at any time.").replace("<appName>",e.appName),g=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_REFRESHTITLE","Refresh to apply updates"),m=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_REFRESHBUTTONARIA","Click button to refresh and have permissions take effect"),v=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_REFRESHBUTTONLABEL","Refresh"),y=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_LATERBUTTONLABEL","Refresh Later"),b=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_UNSAVEDLABEL","Any unsaved changes in this app will be lost when you refresh."),w=ls(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_REFRESHCLOSEARIA","Close Dialog but changes will not take effect until you refresh"),S=(e=>({async bubble(t){const r=t.event.originator;if(Nl[r])return Nl[r](t,e);throw new Error(`No such ${r} event exist`)}}))({currentAppPermissionsDialogSaveEvent:t=>{(async(e,t)=>Promise.all(t.map((t=>!0===t.isConsentGivenOnCurrentDevice?e.storePermissionConsent({permission:t.devicePermission,status:N.W.Consented}):e.storePermissionConsent({permission:t.devicePermission,status:N.W.Revoked})))))(e.devicePermissionService.storageService,t).catch((()=>{})).then((()=>{e.onRefreshDevicePermissions(),e.setShowCurrentAppPermissionsDialog(!1)}))},currentAppPermissionsDialogCancelEvent:()=>{e.setShowCurrentAppPermissionsDialog(!1)},refreshDialogDeferEvent:()=>{e.setShowRefreshDialog(!1)},refreshDialogRefreshEvent:()=>{e.setShowRefreshDialog(!1),e.onReload()},requestDialogDenyEvent:()=>{e.hideRequestDialog(N.W.Revoked)},requestDialogAllowEvent:()=>{e.hideRequestDialog(N.W.Consented),e.setShowRefreshDialog(!0)}}),C={useLazyLoadQuery:(o,S,C)=>{let A={data:void 0};return o.definitions.forEach((o=>{if("OperationDefinition"===o.kind&&o.name)switch(o.name.value){case"DevicePermissionsCurrentAppPermissionsDialogQuery":A={data:{views:{devicePermissionsCurrentAppDialogControl:{localizedStrings:{title:t,subtitle:r,permissions:e.devicePermissionsForApp,navigateToInstalledAppsControlText:u,closeButtonAria:c}}},m365PlatformApp:{devicePermissions:e.devicePermissionsDialogPermissions}}};break;case"DevicePermissionsCurrentAppPermissionsDialogWithSaveButtonQuery":A={data:{views:{devicePermissionsCurrentAppDialogWithSaveButtonControl:{localizedStrings:{title:t,subtitle:r,permissions:e.devicePermissionsForApp,caption:n,navigateToInstalledAppsControlText:u,saveButtonLabel:i,saveButtonAria:a,cancelButtonLabel:s,cancelButtonAria:l,closeButtonAria:c}}},m365PlatformApp:{devicePermissions:e.devicePermissionsDialogPermissions}}};break;case"DevicePermissionsRequestDialogQuery":A={data:{views:{devicePermissionsRequestDialogControl:{localizedStrings:{title:t,requestPermissionToDevice:f,updateAnyTimeNotice:h,allowButtonLabel:d,denyButtonLabel:p,closeButtonAria:c}}}}};break;case"DevicePermissionsRefreshDialogQuery":A={data:{views:{devicePermissionsRefreshDialogControl:{localizedStrings:{title:g,refreshButtonAria:m,refreshButtonLabel:v,laterButtonLabel:y,unsavedChangesLost:b,updateAnyTimeNotice:h,closeButtonAria:w}}}}}}})),A},useMutation:e=>{const t=[t=>{const r={data:void 0};return"Document"===e.kind&&e.definitions.forEach((e=>{if("OperationDefinition"===e.kind&&e.name)switch(e.name.value){case"DevicePermissionsConsentMutation":{const e=t.variables.devicePermissions;r.data=e;break}}})),new Promise((e=>{e(r)}))},!1];return t}};return(0,o.jsx)(un,{eventing:S,reactEventMapper:Tl,children:(0,o.jsx)(tn,{graphql:C,children:e.children})})};var Ol=i(3521),zl=a.createContext({window:"object"==typeof window?window:void 0}),Ml=function(){return a.useContext(zl).window},Fl=function(){var e;return null===(e=a.useContext(zl).window)||void 0===e?void 0:e.document},Ll=i(7608),jl=i(1063),Vl=a.createContext(void 0),Hl=function(){var e=a.useContext(Vl),t=(0,Ll.m)(["theme"]).theme;return e||t||(0,jl.a)({})},ql=i(3811),Ul="__currentId__",$l=(0,P.z)()||{};void 0===$l[Ul]&&($l[Ul]=0);var Wl=!1;function Gl(e){if(!Wl){var t=ql.nr.getInstance();t&&t.onReset&&t.onReset(Kl),Wl=!0}return(void 0===e?"id__":e)+$l[Ul]++}function Kl(e){void 0===e&&(e=0),$l[Ul]=e}var Xl,Yl,Jl,Zl,Ql=i(3311),ec=(i(5943),i(6098),0),tc=function(){return ec},rc=function(e,t){return(0,Ql.L)(Array.isArray(e)?e:[e],t)},nc=(Xl=function(e){var t=e.semanticColors,r=e.fonts;return{body:[{color:t.bodyText,background:t.bodyBackground,fontFamily:r.medium.fontFamily,fontWeight:r.medium.fontWeight,fontSize:r.medium.fontSize,MozOsxFontSmoothing:r.medium.MozOsxFontSmoothing,WebkitFontSmoothing:r.medium.WebkitFontSmoothing}]}},Yl=new Map,Jl=new Set,Zl=function(e){var t=e.currentTarget,r=t.__id__;Yl.delete(r),t.removeEventListener("unload",Zl),Jl.delete(r)},function(e){void 0===e&&(e={});var t,r=e.theme,n=Ml();n&&(n.__id__=n.__id__||Gl(),t=n.__id__,Jl.has(t)||(Jl.add(t),n.addEventListener("unload",Zl)));var i=Hl();r=r||i;var o=tc(),s=[t,o,r],l=function(e,t){var r,n,i,o=t[0],a=t[1],s=t[2];return null===(i=null===(n=null===(r=e.get(o))||void 0===r?void 0:r.get(a))||void 0===n?void 0:n.get(s))||void 0===i?void 0:i.classMap}(Yl,s);if(a.useEffect((function(){return function(e,t){var r,n,i=t[0],o=t[1],a=t[2],s=null===(n=null===(r=e.get(i))||void 0===r?void 0:r.get(o))||void 0===n?void 0:n.get(a);s&&s.refCount++}(Yl,[t,o,r]),function(){return function(e,t){var r,n,i,o,a,s,l,c,u=t[0],d=t[1],p=t[2],f=null===(n=null===(r=e.get(u))||void 0===r?void 0:r.get(d))||void 0===n?void 0:n.get(p);f&&(f.refCount--,0===f.refCount&&(null===(o=null===(i=e.get(u))||void 0===i?void 0:i.get(d))||void 0===o||o.delete(p),0===(null===(s=null===(a=e.get(u))||void 0===a?void 0:a.get(d))||void 0===s?void 0:s.size)&&(null===(l=e.get(u))||void 0===l||l.delete(d),0===(null===(c=e.get(u))||void 0===c?void 0:c.size)&&e.delete(u))))}(Yl,[t,o,r])}}),[t,o,r]),!l){var c=function(e){return"function"==typeof e}(Xl)?Xl(r):Xl;l=rc(c,{targetWindow:n,rtl:!!r.rtl}),function(e,t,r){var n,i,o=t[0],a=t[1],s=t[2],l=null!==(n=e.get(o))&&void 0!==n?n:new Map;e.set(o,l);var c=null!==(i=l.get(a))&&void 0!==i?i:new Map;l.set(a,c),c.set(s,{classMap:r,refCount:0})}(Yl,s,l)}return l});var ic=i(9117),oc={label:ic.q6,audio:ic.Sg,video:ic.Fo,ol:ic.p3,li:ic.P4,a:ic.t0,button:ic.uw,input:ic.QQ,textarea:ic.Sh,select:ic.Cq,option:ic.tK,table:ic.al,tr:ic.g0,th:ic.cr,td:ic.k3,colGroup:ic.lA,col:ic.Qf,form:ic.Gp,iframe:ic.Cs,img:ic.xM};function ac(e,t){if(!e||!t)return!e&&!t;for(var r in e)if(e.hasOwnProperty(r)&&(!t.hasOwnProperty(r)||t[r]!==e[r]))return!1;for(var r in t)if(t.hasOwnProperty(r)&&!e.hasOwnProperty(r))return!1;return!0}function sc(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return lc.apply(this,[null,e].concat(t))}function lc(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];t=t||{};for(var i=0,o=r;i<o.length;i++){var a=o[i];if(a)for(var s in a)!a.hasOwnProperty(s)||e&&!e(s)||(t[s]=a[s])}return t}var cc,uc=i(4087),dc=13,pc=40,fc=((cc={})[38]=1,cc[40]=1,cc[37]=1,cc[39]=1,cc[36]=1,cc[35]=1,cc[9]=1,cc[33]=1,cc[34]=1,cc);function hc(e){return!!fc[e]}var gc=i(3312),mc=new WeakMap,vc=new WeakMap;function yc(e,t){var r,n=mc.get(e);return r=n?n+t:1,mc.set(e,r),r}function bc(e){var t=vc.get(e);return t||(t={onMouseDown:function(t){return Cc(t,e.registeredProviders)},onPointerDown:function(t){return Ac(t,e.registeredProviders)},onKeyDown:function(t){return xc(t,e.registeredProviders)},onKeyUp:function(t){return kc(t,e.registeredProviders)}},vc.set(e,t),t)}var wc=a.createContext(void 0),Sc=function(e){var t,r;return t=e.rootRef,r=a.useContext(wc),a.useEffect((function(){var e,n,i,o,a=(0,P.z)(null==t?void 0:t.current);if(a&&!0!==(null===(e=a.FabricConfig)||void 0===e?void 0:e.disableFocusRects)){var s,l,c,u,d=a;if((null===(n=null==r?void 0:r.providerRef)||void 0===n?void 0:n.current)&&(null===(o=null===(i=null==r?void 0:r.providerRef)||void 0===i?void 0:i.current)||void 0===o?void 0:o.addEventListener)){d=r.providerRef.current;var p=bc(r);s=p.onMouseDown,l=p.onPointerDown,c=p.onKeyDown,u=p.onKeyUp}else s=Cc,l=Ac,c=xc,u=kc;var f=yc(d,1);return f<=1&&(d.addEventListener("mousedown",s,!0),d.addEventListener("pointerdown",l,!0),d.addEventListener("keydown",c,!0),d.addEventListener("keyup",u,!0)),function(){var e;a&&!0!==(null===(e=a.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(f=yc(d,-1))&&(d.removeEventListener("mousedown",s,!0),d.removeEventListener("pointerdown",l,!0),d.removeEventListener("keydown",c,!0),d.removeEventListener("keyup",u,!0))}}}),[r,t]),null};function Cc(e,t){(0,gc.Fy)(!1,e.target,t)}function Ac(e,t){"mouse"!==e.pointerType&&(0,gc.Fy)(!1,e.target,t)}function xc(e,t){hc(e.which)&&(0,gc.Fy)(!0,e.target,t)}function kc(e,t){hc(e.which)&&(0,gc.Fy)(!0,e.target,t)}var Ec=function(e){var t=e.providerRef,r=e.layerRoot,n=a.useState([])[0],i=a.useContext(wc),o=void 0!==i&&!r,s=a.useMemo((function(){return o?void 0:{providerRef:t,registeredProviders:n,registerProvider:function(e){n.push(e),null==i||i.registerProvider(e)},unregisterProvider:function(e){null==i||i.unregisterProvider(e);var t=n.indexOf(e);t>=0&&n.splice(t,1)}}}),[t,n,i,o]);return a.useEffect((function(){if(s)return s.registerProvider(s.providerRef),function(){return s.unregisterProvider(s.providerRef)}}),[s]),s?a.createElement(wc.Provider,{value:s},e.children):a.createElement(a.Fragment,null,e.children)},_c=function(e){var t,r,n,i=e.customizerContext,o=e.ref,s=e.theme,l=e.as||"div",c="string"==typeof e.as?(r=e,n=(t=e.as)&&oc[t]||ic.vt,(0,ic.G1)(r,n,undefined)):e.as===a.Fragment?{children:e.children}:function(e,t){var r={};for(var n in e)-1===t.indexOf(n)&&e.hasOwnProperty(n)&&(r[n]=e[n]);return r}(e,["as"]);return a.createElement(Vl.Provider,{value:s},a.createElement(uc.z.Provider,{value:i},a.createElement(Ec,{providerRef:o},a.createElement(l,(0,$r.__assign)({},c)))))},Ic=i(3138),Pc=new Map;function Tc(e,t){for(var r=(0,$r.__assign)({},t),n=0,i=Object.keys(e);n<i.length;n++){var o=i[n];void 0===r[o]&&(r[o]=e[o])}return r}var Bc=i(5829),Dc=a.forwardRef((function(e,t){var r=function(e,t){var r,n,i,o,s=Tc(t,e);return n=(r=s).theme,i=Hl(),o=r.theme=a.useMemo((function(){var e=(0,Ic.z)(i,n);return e.id=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=0,i=e;n<i.length;n++){var o=i[n];if(o){var a=o.id||Pc.get(o);a||(a=Gl(""),Pc.set(o,a)),r.push(a)}}return r.join("-")}(i,n),e}),[i,n]),r.customizerContext=a.useMemo((function(){return{customizations:{inCustomizerContext:!0,settings:{theme:o},scopedSettings:o.components||{}}}}),[o]),r.theme.rtl!==i.rtl&&(r.dir=r.theme.rtl?"rtl":"ltr"),{state:s,render:_c}}(e,{ref:(0,Bc.a)(t,a.useRef(null)),as:"div",applyTo:"element"}),n=r.render,i=r.state;return function(e){var t=nc(e),r=e.className,n=e.applyTo;!function(e,t){var r,n="body"===e.applyTo,i=null===(r=Fl())||void 0===r?void 0:r.body;a.useEffect((function(){if(n&&i){for(var e=0,r=t;e<r.length;e++){var o=r[e];o&&i.classList.add(o)}return function(){if(n&&i)for(var e=0,r=t;e<r.length;e++){var o=r[e];o&&i.classList.remove(o)}}}}),[n,i,t])}(e,[t.root,t.body]),e.className=(0,Ol.A)(r,t.root,"element"===n&&t.body)}(i),n(i)}));Dc.displayName="ThemeProvider";var Nc=i(2309),Rc=i(2632),Oc=i(4677);const zc={palette:{themePrimary:"#0078d4",themeLighterAlt:"#070707",themeLighter:"#1d1c1c",themeLight:"#363534",themeTertiary:"#6b6968",themeSecondary:"#9d9b98",themeDarkAlt:"#bab8b5",themeDark:"#c5c3c0",themeDarker:"#d4d2d1",neutralLighterAlt:"#303030",neutralLighter:"#383838",neutralLight:"#464646",neutralQuaternaryAlt:"#4e4e4e",neutralQuaternary:"#555555",neutralTertiaryAlt:"#727272",neutralTertiary:"#c8c8c8",neutralSecondary:"#d0d0d0",neutralSecondaryAlt:"#d0d0d0",neutralPrimaryAlt:"#dadada",neutralPrimary:"#ffffff",neutralDark:"#f4f4f4",black:"#f8f8f8",white:"#262626"}},Mc=({children:e,...t})=>{const{darkMode:r}=t,n=t.darkMode?`${Bs.rootContainer} ${Bs.darkMode}`:Bs.rootContainer;return(0,o.jsx)(Dc,{theme:r?zc:void 0,className:Bs.rootContainer,children:(0,o.jsxs)(Nc.q,{theme:r?Rc.C:Oc.o,className:n,children:[(0,o.jsx)(Js,{...t}),(0,o.jsx)("div",{className:Bs.contentContainer,children:e})]})})};var Fc=function(e){var t={refs:[]};return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.resolver&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t.refs,e)||(t.resolver=function(e){return function(t){for(var r=0,n=e.refs;r<n.length;r++){var i=n[r];"function"==typeof i?i(t):i&&(i.current=t)}}}(t)),t.refs=e,t.resolver}},Lc=i(5846);function jc(e,t){var r,n;if(void 0===t&&(t=!0),!e)return null;var i=t&&function(e){var t,r;return e&&(r=e)&&r._virtual&&(t=e._virtual.parent),t}(e);return i||("function"!=typeof e.assignedElements&&(null===(r=e.assignedSlot)||void 0===r?void 0:r.parentNode)?e.assignedSlot:11===(null===(n=e.parentNode)||void 0===n?void 0:n.nodeType)?e.parentNode.host:e.parentNode)}function Vc(e,t,r){return null!=r||(r=document),!e||e===r.body||e instanceof Document?null:t(e)?e:Vc(jc(e),t)}var Hc="data-portal-element";function qc(e,t,r){var n,i=Vc(e,(function(e){var r;return t===e||!!(null===(r=e.hasAttribute)||void 0===r?void 0:r.call(e,Hc))}),r);return null!==i&&!!(null===(n=i.hasAttribute)||void 0===n?void 0:n.call(i,Hc))}function Uc(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.length<2?t[0]:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];t.forEach((function(t){return t&&t.apply(e,r)}))}}function $c(e){!function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=Uc(e,e[r],t[r]))}(e,{componentDidMount:Wc,componentDidUpdate:Gc,componentWillUnmount:Kc})}function Wc(){Xc(this.props.componentRef,this)}function Gc(e){e.componentRef!==this.props.componentRef&&(Xc(e.componentRef,null),Xc(this.props.componentRef,this))}function Kc(){Xc(this.props.componentRef,null)}function Xc(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var Yc=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var r=this,n=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),n=setTimeout((function(){try{r._timeoutIds&&delete r._timeoutIds[n],e.apply(r._parent)}catch(e){r._logError(e)}}),t),this._timeoutIds[n]=!0),n},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var r=this,n=0,i=(0,P.z)(t);return this._isDisposed||(this._immediateIds||(this._immediateIds={}),n=i.setTimeout((function(){try{r._immediateIds&&delete r._immediateIds[n],e.apply(r._parent)}catch(e){r._logError(e)}}),0),this._immediateIds[n]=!0),n},e.prototype.clearImmediate=function(e,t){var r=(0,P.z)(t);this._immediateIds&&this._immediateIds[e]&&(r.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var r=this,n=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),n=setInterval((function(){try{e.apply(r._parent)}catch(e){r._logError(e)}}),t),this._intervalIds[n]=!0),n},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,r){var n=this;if(this._isDisposed)return this._noop;var i,o,a=t||0,s=!0,l=!0,c=0,u=null;r&&"boolean"==typeof r.leading&&(s=r.leading),r&&"boolean"==typeof r.trailing&&(l=r.trailing);var d=function(t){var r=Date.now(),p=r-c,f=s?a-p:a;return p>=a&&(!t||s)?(c=r,u&&(n.clearTimeout(u),u=null),i=e.apply(n._parent,o)):null===u&&l&&(u=n.setTimeout(d,f)),i};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o=e,d(!0)}},e.prototype.debounce=function(e,t,r){var n=this;if(this._isDisposed){var i=function(){};return i.cancel=function(){},i.flush=function(){return null},i.pending=function(){return!1},i}var o,a,s=t||0,l=!1,c=!0,u=null,d=0,p=Date.now(),f=null;r&&"boolean"==typeof r.leading&&(l=r.leading),r&&"boolean"==typeof r.trailing&&(c=r.trailing),r&&"number"==typeof r.maxWait&&!isNaN(r.maxWait)&&(u=r.maxWait);var h=function(e){f&&(n.clearTimeout(f),f=null),p=e},g=function(t){h(t),o=e.apply(n._parent,a)},m=function(e){var t=Date.now(),r=!1;e&&(l&&t-d>=s&&(r=!0),d=t);var i=t-d,a=s-i,h=t-p,v=!1;return null!==u&&(h>=u&&f?v=!0:a=Math.min(a,u-h)),i>=s||v||r?g(t):null!==f&&e||!c||(f=n.setTimeout(m,a)),o},v=function(){return!!f},y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,m(!0)};return y.cancel=function(){v()&&h(Date.now())},y.flush=function(){return v()&&g(Date.now()),o},y.pending=v,y},e.prototype.requestAnimationFrame=function(e,t){var r=this,n=0,i=(0,P.z)(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var o=function(){try{r._animationFrameIds&&delete r._animationFrameIds[n],e.apply(r._parent)}catch(e){r._logError(e)}};n=i.requestAnimationFrame?i.requestAnimationFrame(o):i.setTimeout(o,0),this._animationFrameIds[n]=!0}return n},e.prototype.cancelAnimationFrame=function(e,t){var r=(0,P.z)(t);this._animationFrameIds&&this._animationFrameIds[e]&&(r.cancelAnimationFrame?r.cancelAnimationFrame(e):r.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}(),Jc=i(1968),Zc=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,r,n,i,o){var a,s=null!=o?o:(0,Jc.Y)();if(e._isElement(t)){if(void 0!==s&&s.createEvent){var l=s.createEvent("HTMLEvents");l.initEvent(r,i||!1,!0),sc(l,n),a=t.dispatchEvent(l)}else if(void 0!==s&&s.createEventObject){var c=s.createEventObject(n);t.fireEvent("on"+r,c)}}else for(;t&&!1!==a;){var u=t.__events__,d=u?u[r]:null;if(d)for(var p in d)if(d.hasOwnProperty(p))for(var f=d[p],h=0;!1!==a&&h<f.length;h++){var g=f[h];g.objectCallback&&(a=g.objectCallback.call(g.parent,n))}t=i?t.parent:null}return a},e.isObserved=function(e,t){var r=e&&e.__events__;return!!r&&!!r[t]},e.isDeclared=function(e,t){var r=e&&e.__declaredEvents;return!!r&&!!r[t]},e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,r){for(var n in t)t.hasOwnProperty(n)&&this.on(e,n,t[n],r)},e.prototype.on=function(t,r,n,i){var o=this;if(r.indexOf(",")>-1)for(var a=r.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],n,i);else{var l=this._parent,c={target:t,eventName:r,parent:l,callback:n,options:i};if((a=t.__events__=t.__events__||{})[r]=a[r]||{count:0},a[r][this._id]=a[r][this._id]||[],a[r][this._id].push(c),a[r].count++,e._isElement(t)){var u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!o._isDisposed){var r;try{if(!1===(r=n.apply(l,e))&&e[0]){var i=e[0];i.preventDefault&&i.preventDefault(),i.stopPropagation&&i.stopPropagation(),i.cancelBubble=!0}}catch(i){}return r}};c.elementCallback=u,t.addEventListener?t.addEventListener(r,u,i):t.attachEvent&&t.attachEvent("on"+r,u)}else c.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!o._isDisposed)return n.apply(l,e)};this._eventRecords.push(c)}},e.prototype.off=function(e,t,r,n){for(var i=0;i<this._eventRecords.length;i++){var o=this._eventRecords[i];if(!(e&&e!==o.target||t&&t!==o.eventName||r&&r!==o.callback||"boolean"==typeof n&&n!==o.options)){var a=o.target.__events__,s=a[o.eventName],l=s?s[this._id]:null;l&&(1!==l.length&&r?(s.count--,l.splice(l.indexOf(o),1)):(s.count-=l.length,delete a[o.eventName][this._id]),s.count||delete a[o.eventName]),o.elementCallback&&(o.target.removeEventListener?o.target.removeEventListener(o.eventName,o.elementCallback,o.options):o.target.detachEvent&&o.target.detachEvent("on"+o.eventName,o.elementCallback)),this._eventRecords.splice(i--,1)}}},e.prototype.raise=function(t,r,n){return e.raise(this._parent,t,r,n)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var r=0;r<e.length;r++)t[e[r]]=!0},e._uniqueId=0,e}();function Qc(e,t,r){var n=e[r],i=t[r];(n||i)&&(e[r]=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return i&&(e=i.apply(this,t)),n!==i&&(e=n.apply(this,t)),e})}function eu(){return null}function tu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.filter((function(e){return e})).join(" ").trim();return""===r?void 0:r}!function(e){function t(r,n){var i=e.call(this,r,n)||this;return function(e,t,r){for(var n=0,i=r.length;n<i;n++)Qc(e,t,r[n])}(i,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),i}(0,$r.__extends)(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var r=this.__disposables[e];r.dispose&&r.dispose()}this.__disposables=null}},Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new Yc(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new Zc(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(r){return t[e]=r}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},t.prototype._warnDeprecations=function(e){this.className,this.props},t.prototype._warnMutuallyExclusive=function(e){this.className,this.props},t.prototype._warnConditionallyRequiredProps=function(e,t,r){this.className,this.props},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))}}(a.Component);var ru,nu=i(1119);!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(ru||(ru={}));var iu=i(702),ou=i(7454),au=i(1612),su=i(8565),lu=(0,Lc.J9)((function(e){var t=(0,c.sW)(e)||{subset:{},code:void 0},r=t.code,n=t.subset;return r?{children:r,iconClassName:n.className,fontFamily:n.fontFace&&n.fontFace.fontFamily,mergeImageProps:n.mergeImageProps}:null}),void 0,!0),cu=function(e){var t=e.iconName,r=e.className,n=e.style,i=void 0===n?{}:n,o=lu(t)||{},s=o.iconClassName,l=o.children,c=o.fontFamily,u=o.mergeImageProps,d=(0,ic.G1)(e,ic.vt),p=e["aria-label"]||e.title,f=e["aria-label"]||e["aria-labelledby"]||e.title?{role:u?void 0:"img"}:{"aria-hidden":!0},h=l;return u&&"object"==typeof l&&"object"==typeof l.props&&p&&(h=a.cloneElement(l,{alt:p})),a.createElement("i",(0,$r.__assign)({"data-icon-name":t},f,d,u?{title:void 0,"aria-label":void 0}:{},{className:(0,Ol.A)(su.xD,su.xW.root,s,!t&&su.xW.placeholder,r),style:(0,$r.__assign)({fontFamily:c},i)}),h)},uu=((0,Lc.J9)((function(e,t,r){return cu({iconName:e,className:t,"aria-label":r})})),(0,au.Z)({cacheSize:100})),du=function(e){function t(t){var r=e.call(this,t)||this;return r._onImageLoadingStateChange=function(e){r.props.imageProps&&r.props.imageProps.onLoadingStateChange&&r.props.imageProps.onLoadingStateChange(e),e===ou.P6.error&&r.setState({imageLoadError:!0})},r.state={imageLoadError:!1},r}return(0,$r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,r=e.className,n=e.styles,i=e.iconName,o=e.imageErrorAs,s=e.theme,l="string"==typeof i&&0===i.length,c=!!this.props.imageProps||this.props.iconType===ru.image||this.props.iconType===ru.Image,u=lu(i)||{},d=u.iconClassName,p=u.children,f=u.mergeImageProps,h=uu(n,{theme:s,className:r,iconClassName:d,isImage:c,isPlaceholder:l}),g=c?"span":"i",m=(0,ic.G1)(this.props,ic.vt,["aria-label"]),v=this.state.imageLoadError,y=(0,$r.__assign)((0,$r.__assign)({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),b=v&&o||iu._,w=this.props["aria-label"]||this.props.ariaLabel,S=y.alt||w||this.props.title,C=S||this.props["aria-labelledby"]||y["aria-label"]||y["aria-labelledby"]?{role:c||f?void 0:"img","aria-label":c||f?void 0:S}:{"aria-hidden":!0},A=p;return f&&p&&"object"==typeof p&&S&&(A=a.cloneElement(p,{alt:S})),a.createElement(g,(0,$r.__assign)({"data-icon-name":i},C,m,f?{title:void 0,"aria-label":void 0}:{},{className:h.root}),c?a.createElement(b,(0,$r.__assign)({},y)):t||A)},t}(a.Component),pu=(0,nu.I)(du,su.$f,void 0,{scope:"Icon"},!0);pu.displayName="Icon";var fu,hu=i(1038),gu=(0,Lc.J5)((function(e){return(0,Lc.J5)((function(t){var r=(0,Lc.J5)((function(e){return function(r){return t(r,e)}}));return function(n,i){return e(n,i?r(i):t)}}))}));!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(fu||(fu={}));var mu;function vu(e,t,r){void 0===r&&(r=!0);var n=!1;if(e&&t)if(r)if(e===t)n=!0;else for(n=!1;t;){var i=jc(t);if(i===e){n=!0;break}t=i}else e.contains&&(n=e.contains(t));return n}function yu(e,t,r){var n=wu(e,e,!0,!1,!1,!0,void 0,void 0,t,r);return!!n&&(function(e){if(e){var t=(0,P.z)(e);t&&(void 0!==Iu&&t.cancelAnimationFrame(Iu),Iu=t.requestAnimationFrame((function(){e&&e.focus(),Iu=void 0})))}}(n),!0)}function bu(e,t,r,n,i,o,a,s,l){var c;if(!t||!a&&t===e)return null;var u=Su(t);if(i&&u&&(o||!xu(t)&&!ku(t))){var d=bu(e,t.lastElementChild||l&&(null===(c=t.shadowRoot)||void 0===c?void 0:c.lastElementChild),!0,!0,!0,o,a,s,l);if(d){if(s&&Au(d,!0,l)||!s)return d;var p=bu(e,d.previousElementSibling,!0,!0,!0,o,a,s,l);if(p)return p;for(var f=d.parentElement;f&&f!==t;){var h=bu(e,f.previousElementSibling,!0,!0,!0,o,a,s,l);if(h)return h;f=f.parentElement}}}return r&&u&&Au(t,s,l)?t:bu(e,t.previousElementSibling,!0,!0,!0,o,a,s,l)||(n?null:bu(e,t.parentElement,!0,!1,!1,o,a,s,l))}function wu(e,t,r,n,i,o,a,s,l,c){var u;if(!t||t===e&&i&&!a)return null;var d=(l?Cu:Su)(t);if(r&&d&&Au(t,s,c))return t;if(!i&&d&&(o||!xu(t)&&!ku(t))){var p=wu(e,t.firstElementChild||c&&(null===(u=t.shadowRoot)||void 0===u?void 0:u.firstElementChild),!0,!0,!1,o,a,s,l,c);if(p)return p}return t===e?null:wu(e,t.nextElementSibling,!0,!0,!1,o,a,s,l,c)||(n?null:wu(e,t.parentElement,!1,!1,!0,o,a,s,l,c))}function Su(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function Cu(e,t){var r=null!=t?t:(0,P.z)();return!!e&&Su(e)&&!e.hidden&&"hidden"!==r.getComputedStyle(e).visibility}function Au(e,t,r){if(void 0===r&&(r=!0),!e||e.disabled)return!1;var n=0,i=null;e&&e.getAttribute&&(i=e.getAttribute("tabIndex"))&&(n=parseInt(i,10));var o=e.getAttribute?e.getAttribute("data-is-focusable"):null,a=null!==i&&n>=0,s=!(!r||!e.shadowRoot||!e.shadowRoot.delegatesFocus),l=!!e&&"false"!==o&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===o||a||s);return t?-1!==n&&l:l}function xu(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function ku(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function Eu(e,t,r){return"true"!==function(e,t,r){var n=Vc(e,(function(e){return e.hasAttribute(t)}),r);return n&&n.getAttribute(t)}(e,t,null!=r?r:(0,Jc.Y)())}!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(mu||(mu={}));var _u,Iu=void 0,Pu=i(8760),Tu=i(1565),Bu=((0,Tu.Z)({overflow:"hidden !important"}),"data-is-scrollable");var Du,Nu=a.createContext(void 0),Ru="data-is-focusable",Ou="data-focuszone-id",zu="tabindex",Mu="data-no-vertical-wrap",Fu="data-no-horizontal-wrap",Lu=999999999,ju=-999999999;function Vu(e,t){var r;"function"==typeof MouseEvent?r=new MouseEvent("click",{ctrlKey:null==t?void 0:t.ctrlKey,metaKey:null==t?void 0:t.metaKey,shiftKey:null==t?void 0:t.shiftKey,altKey:null==t?void 0:t.altKey,bubbles:null==t?void 0:t.bubbles,cancelable:null==t?void 0:t.cancelable}):(r=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(r)}var Hu,qu={},Uu=new Set,$u=["text","number","password","email","tel","url","search","textarea"],Wu=!1,Gu=function(e){function t(r){var n,i,o,s,l=e.call(this,r)||this;l._root=a.createRef(),l._mergedRef=Fc(),l._onFocus=function(e){if(!l._portalContainsElement(e.target)){var t,r=l.props,n=r.onActiveElementChanged,i=r.doNotAllowFocusEventToPropagate,o=r.stopFocusPropagation,a=r.onFocusNotification,s=r.onFocus,c=r.shouldFocusInnerElementWhenReceivedFocus,u=r.defaultTabbableElement,d=l._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var p=e.target;p&&p!==l._root.current;){if(Au(p,void 0,l._inShadowRoot)&&l._isImmediateDescendantOfZone(p)){t=p;break}p=jc(p,Wu)}if(c&&e.target===l._root.current){var f=u&&"function"==typeof u&&l._root.current&&u(l._root.current);f&&Au(f,void 0,l._inShadowRoot)?(t=f,f.focus()):(l.focus(!0),l._activeElement&&(t=null))}var h=!l._activeElement;t&&t!==l._activeElement&&((d||h)&&l._setFocusAlignment(t,!0,!0),l._activeElement=t,h&&l._updateTabIndexes()),n&&n(l._activeElement,e),(o||i)&&e.stopPropagation(),s?s(e):a&&a()}},l._onBlur=function(){l._setParkedFocus(!1)},l._onMouseDown=function(e){if(!l._portalContainsElement(e.target)&&!l.props.disabled){for(var t=e.target,r=[];t&&t!==l._root.current;)r.push(t),t=jc(t,Wu);for(;r.length&&((t=r.pop())&&Au(t,void 0,l._inShadowRoot)&&l._setActiveElement(t,!0),!xu(t)););}},l._onKeyDown=function(e,t){if(!l._portalContainsElement(e.target)){var r=l.props,n=r.direction,i=r.disabled,o=r.isInnerZoneKeystroke,a=r.pagingSupportDisabled,s=r.shouldEnterInnerZone;if(!(i||(l.props.onKeyDown&&l.props.onKeyDown(e),e.isDefaultPrevented()||l._getDocument().activeElement===l._root.current&&l._isInnerZone))){if((s&&s(e)||o&&o(e))&&l._isImmediateDescendantOfZone(e.target)){var c=l._getFirstInnerZone();if(c){if(!c.focus(!0))return}else{if(!ku(e.target))return;if(!l.focusElement(wu(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case 32:if(l._shouldRaiseClicksOnSpace&&l._tryInvokeClickForFocusable(e.target,e))break;return;case 37:if(n!==mu.vertical&&(l._preventDefaultWhenHandled(e),l._moveFocusLeft(t)))break;return;case 39:if(n!==mu.vertical&&(l._preventDefaultWhenHandled(e),l._moveFocusRight(t)))break;return;case 38:if(n!==mu.horizontal&&(l._preventDefaultWhenHandled(e),l._moveFocusUp()))break;return;case pc:if(n!==mu.horizontal&&(l._preventDefaultWhenHandled(e),l._moveFocusDown()))break;return;case 34:if(!a&&l._moveFocusPaging(!0))break;return;case 33:if(!a&&l._moveFocusPaging(!1))break;return;case 9:if(l.props.allowTabKey||1===l.props.handleTabKey||2===l.props.handleTabKey&&l._isElementInput(e.target)){var u=!1;if(l._processingTabKey=!0,u=n!==mu.vertical&&l._shouldWrapFocus(l._activeElement,Fu)?((0,Pu.jI)(t)?!e.shiftKey:e.shiftKey)?l._moveFocusLeft(t):l._moveFocusRight(t):e.shiftKey?l._moveFocusUp():l._moveFocusDown(),l._processingTabKey=!1,u)break;l.props.shouldResetActiveElementWhenTabFromZone&&(l._activeElement=null)}return;case 36:if(l._isContentEditableElement(e.target)||l._isElementInput(e.target)&&!l._shouldInputLoseFocus(e.target,!1))return!1;var d=l._root.current&&l._root.current.firstChild;if(l._root.current&&d&&l.focusElement(wu(l._root.current,d,!0)))break;return;case 35:if(l._isContentEditableElement(e.target)||l._isElementInput(e.target)&&!l._shouldInputLoseFocus(e.target,!0))return!1;var p=l._root.current&&l._root.current.lastChild;if(l._root.current&&l.focusElement(bu(l._root.current,p,!0,!0,!0)))break;return;case dc:if(l._shouldRaiseClicksOnEnter&&l._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},l._getHorizontalDistanceFromCenter=function(e,t,r){var n=l._focusAlignment.left||l._focusAlignment.x||0,i=Math.floor(r.top),o=Math.floor(t.bottom),a=Math.floor(r.bottom),s=Math.floor(t.top);return e&&i>o||!e&&a<s?n>=r.left&&n<=r.left+r.width?0:Math.abs(r.left+r.width/2-n):l._shouldWrapFocus(l._activeElement,Mu)?Lu:ju},$c(l),l._id=Gl("FocusZone"),l._focusAlignment={left:0,top:0},l._processingTabKey=!1;var c=null===(i=null!==(n=r.shouldRaiseClicks)&&void 0!==n?n:t.defaultProps.shouldRaiseClicks)||void 0===i||i;return l._shouldRaiseClicksOnEnter=null!==(o=r.shouldRaiseClicksOnEnter)&&void 0!==o?o:c,l._shouldRaiseClicksOnSpace=null!==(s=r.shouldRaiseClicksOnSpace)&&void 0!==s?s:c,l}return(0,$r.__extends)(t,e),t.getOuterZones=function(){return Uu.size},t._onKeyDownCapture=function(e){9===e.which&&Uu.forEach((function(e){return e._updateTabIndexes()}))},t.prototype.componentDidMount=function(){var e,r=this._root.current;if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),qu[this._id]=this,r){for(var n=jc(r,Wu);n&&n!==this._getDocument().body&&1===n.nodeType;){if(xu(n)){this._isInnerZone=!0;break}n=jc(n,Wu)}this._isInnerZone||(Uu.add(this),this._root.current&&this._root.current.addEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},t.prototype.componentDidUpdate=function(){var e,t=this._root.current,r=this._getDocument();if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),(this._activeElement&&!vu(this._root.current,this._activeElement,Wu)||this._defaultFocusElement&&!vu(this._root.current,this._defaultFocusElement,Wu))&&(this._activeElement=null,this._defaultFocusElement=null,this._updateTabIndexes()),!this.props.preventFocusRestoration&&r&&this._lastIndexPath&&(r.activeElement===r.body||null===r.activeElement||r.activeElement===t)){var n=function(e,t){for(var r=e,n=0,i=t;n<i.length;n++){var o=i[n],a=r.children[Math.min(o,r.children.length-1)];if(!a)break;r=a}return Au(r)&&Su(r)?r:wu(e,r,!0)||bu(e,r)}(t,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete qu[this._id],this._isInnerZone||(Uu.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this,t=this.props,r=t.as,n=t.elementType,i=t.rootProps,o=t.ariaDescribedBy,s=t.ariaLabelledBy,l=t.className,u=(0,ic.G1)(this.props,ic.vt),d=r||n||"div";this._evaluateFocusBeforeRender();var p=(0,c.O4)();return a.createElement(d,(0,$r.__assign)({"aria-labelledby":s,"aria-describedby":o},u,i,{className:(0,Ol.A)((Du||(Du=(0,Tu.Z)({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),Du),l),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return e._onKeyDown(t,p)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},t.prototype.focus=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute(Ru)&&this._isInnerZone){var r=this._getOwnerZone(this._root.current);if(r!==this._root.current){var n=qu[r.getAttribute(Ou)];return!!n&&n.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&vu(this._root.current,this._activeElement)&&Au(this._activeElement,void 0,this._inShadowRoot)&&(!t||Cu(this._activeElement)))return this._activeElement.focus(),!0;var i=this._root.current.firstChild;return this.focusElement(wu(this._root.current,i,!0,void 0,void 0,void 0,void 0,void 0,t))}return!1},t.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(bu(this._root.current,e,!0,!0,!0))}return!1},t.prototype.focusElement=function(e,t){var r=this.props,n=r.onBeforeFocus,i=r.shouldReceiveFocus;return!(i&&!i(e)||n&&!n(e)||!e||(this._setActiveElement(e,t),this._activeElement&&this._activeElement.focus(),0))},t.prototype.setFocusAlignment=function(e){this._focusAlignment=e},Object.defineProperty(t.prototype,"defaultFocusElement",{get:function(){return this._defaultFocusElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeElement",{get:function(){return this._activeElement},enumerable:!1,configurable:!0}),t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var r=t.activeElement;if(r!==e){var n=vu(e,r,!1);this._lastIndexPath=n?function(e,t){for(var r=[];t&&e&&t!==e;){var n=jc(t,!0);if(null===n)return[];r.unshift(Array.prototype.indexOf.call(n.children,t)),t=n}return r}(e,r):void 0}}},t.prototype._setParkedFocus=function(e){var t=this._root.current;t&&this._isParked!==e&&(this._isParked=e,e?(this.props.allowFocusRoot||(this._parkedTabIndex=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")),t.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(t.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):t.removeAttribute("tabindex")))},t.prototype._setActiveElement=function(e,t){var r=this._activeElement;this._activeElement=e,r&&(xu(r)&&this._updateTabIndexes(r),r.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},t.prototype._tryInvokeClickForFocusable=function(e,t){var r=e;if(r===this._root.current)return!1;do{if("BUTTON"===r.tagName||"A"===r.tagName||"INPUT"===r.tagName||"TEXTAREA"===r.tagName||"SUMMARY"===r.tagName)return!1;if(this._isImmediateDescendantOfZone(r)&&"true"===r.getAttribute(Ru)&&"true"!==r.getAttribute("data-disable-click-on-enter"))return Vu(r,t),!0;r=jc(r,Wu)}while(r!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(xu(e))return qu[e.getAttribute(Ou)];for(var t=e.firstElementChild;t;){if(xu(t))return qu[t.getAttribute(Ou)];var r=this._getFirstInnerZone(t);if(r)return r;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,r,n){void 0===n&&(n=!0);var i=this._activeElement,o=-1,a=void 0,s=!1,l=this.props.direction===mu.bidirectional;if(!i||!this._root.current)return!1;if(this._isElementInput(i)&&!this._shouldInputLoseFocus(i,e))return!1;var c=l?i.getBoundingClientRect():null;do{if(i=e?wu(this._root.current,i):bu(this._root.current,i),!l){a=i;break}if(i){var u=t(c,i.getBoundingClientRect());if(-1===u&&-1===o){a=i;break}if(u>-1&&(-1===o||u<o)&&(o=u,a=i),o>=0&&u<0)break}}while(i);if(a&&a!==this._activeElement)s=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&n)return e?this.focusElement(wu(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(bu(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return s},t.prototype._moveFocusDown=function(){var e=this,t=-1,r=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,(function(n,i){var o=-1,a=Math.floor(i.top),s=Math.floor(n.bottom);return a<s?e._shouldWrapFocus(e._activeElement,Mu)?Lu:ju:((-1===t&&a>=s||a===t)&&(t=a,o=r>=i.left&&r<=i.left+i.width?0:Math.abs(i.left+i.width/2-r)),o)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,r=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,(function(n,i){var o=-1,a=Math.floor(i.bottom),s=Math.floor(i.top),l=Math.floor(n.top);return a>l?e._shouldWrapFocus(e._activeElement,Mu)?Lu:ju:((-1===t&&a<=l||s===t)&&(t=s,o=r>=i.left&&r<=i.left+i.width?0:Math.abs(i.left+i.width/2-r)),o)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(e){var t=this,r=this._shouldWrapFocus(this._activeElement,Fu);return!!this._moveFocus((0,Pu.jI)(e),(function(n,i){var o=-1;return((0,Pu.jI)(e)?parseFloat(i.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)):parseFloat(i.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)))&&i.right<=n.right&&t.props.direction!==mu.vertical?o=n.right-i.right:r||(o=ju),o}),void 0,r)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,r=this._shouldWrapFocus(this._activeElement,Fu);return!!this._moveFocus(!(0,Pu.jI)(e),(function(n,i){var o=-1;return((0,Pu.jI)(e)?parseFloat(i.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)):parseFloat(i.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)))&&i.left>=n.left&&t.props.direction!==mu.vertical?o=i.left-n.left:r||(o=ju),o}),void 0,r)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var r=this._activeElement;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var n=function(e){for(var t=e,r=(0,Jc.Y)(e);t&&t!==r.body;){if("true"===t.getAttribute(Bu))return t;t=t.parentElement}for(t=e;t&&t!==r.body;){if("false"!==t.getAttribute(Bu)){var n=getComputedStyle(t),i=n?n.getPropertyValue("overflow-y"):"";if(i&&("scroll"===i||"auto"===i))return t}t=t.parentElement}return t&&t!==r.body||(t=(0,P.z)(e)),t}(r);if(!n)return!1;var i=-1,o=void 0,a=-1,s=-1,l=n.clientHeight,c=r.getBoundingClientRect();do{if(r=e?wu(this._root.current,r):bu(this._root.current,r)){var u=r.getBoundingClientRect(),d=Math.floor(u.top),p=Math.floor(c.bottom),f=Math.floor(u.bottom),h=Math.floor(c.top),g=this._getHorizontalDistanceFromCenter(e,c,u);if(e&&d>p+l||!e&&f<h-l)break;g>-1&&(e&&d>a?(a=d,i=g,o=r):!e&&f<s?(s=f,i=g,o=r):(-1===i||g<=i)&&(i=g,o=r))}}while(r);var m=!1;if(o&&o!==this._activeElement)m=!0,this.focusElement(o),this._setFocusAlignment(o,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(wu(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(bu(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return m},t.prototype._setFocusAlignment=function(e,t,r){if(this.props.direction===mu.bidirectional&&(!this._focusAlignment||t||r)){var n=e.getBoundingClientRect(),i=n.left+n.width/2,o=n.top+n.height/2;this._focusAlignment||(this._focusAlignment={left:i,top:o}),t&&(this._focusAlignment.left=i),r&&(this._focusAlignment.top=o)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=jc(e,Wu);t&&t!==this._root.current&&t!==this._getDocument().body;){if(xu(t))return t;t=jc(t,Wu)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!vu(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!Au(this._activeElement,void 0,this._inShadowRoot)&&(this._activeElement=null);for(var t=e&&e.children,r=0;t&&r<t.length;r++){var n=t[r];xu(n)?"true"===n.getAttribute(Ru)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute(zu)&&n.setAttribute(zu,"-1"):(this._defaultFocusElement=n,"0"!==n.getAttribute(zu)&&n.setAttribute(zu,"0"))):(n.getAttribute&&"false"===n.getAttribute(Ru)&&n.setAttribute(zu,"-1"),Au(n,void 0,this._inShadowRoot)?this.props.disabled?n.setAttribute(zu,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute(zu)&&n.setAttribute(zu,"-1"):(this._defaultFocusElement=n,"0"!==n.getAttribute(zu)&&n.setAttribute(zu,"0")):"svg"===n.tagName&&"false"!==n.getAttribute("focusable")&&n.setAttribute("focusable","false")),this._updateTabIndexes(n)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&$u.indexOf(e.type.toLowerCase())>-1){var r=e.selectionStart,n=r!==e.selectionEnd,i=e.value,o=e.readOnly;if(n||r>0&&!t&&!o||r!==i.length&&t&&!o||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||Eu(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&qc(e,this._root.current)},t.prototype._getDocument=function(){return(0,Jc.Y)(this._root.current)},t.contextType=Nu,t.defaultProps={isCircularNavigation:!1,direction:mu.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},t}(a.Component);function Ku(e){var t;if(void 0===Hu||e){var r=(0,P.z)(),n=null===(t=null==r?void 0:r.navigator)||void 0===t?void 0:t.userAgent;Hu=!!n&&-1!==n.indexOf("Macintosh")}return!!Hu}var Xu,Yu,Ju=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)},Zu=(0,Lc.J5)((function(e){var t=e;return(0,Lc.J5)((function(r){if(e===r)throw new Error("Attempted to compose a component with itself.");var n=r,i=(0,Lc.J5)((function(e){return function(t){return a.createElement(n,(0,$r.__assign)({},t,{defaultRender:e}))}}));return function(e){var r=e.defaultRender;return a.createElement(t,(0,$r.__assign)({},e,{defaultRender:r?i(r):n}))}}))}));function Qu(e,t){return Zu(e)(t)}function ed(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function td(e){return!(!e.subMenuProps&&!e.items)}function rd(e){return!(!e.isDisabled&&!e.disabled)}function nd(e){return null!==ed(e)?"menuitemcheckbox":"menuitem"}function id(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}!function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(Xu||(Xu={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(Yu||(Yu={}));var od,ad=function(){function e(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0),this.top=r,this.bottom=n,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}();function sd(e,t,r){return{targetEdge:e,alignmentEdge:t,isAuto:r}}var ld=((od={})[0]=sd(Xu.top,Xu.left),od[1]=sd(Xu.top),od[2]=sd(Xu.top,Xu.right),od[3]=sd(Xu.top,void 0,!0),od[4]=sd(Xu.bottom,Xu.left),od[5]=sd(Xu.bottom),od[6]=sd(Xu.bottom,Xu.right),od[7]=sd(Xu.bottom,void 0,!0),od[8]=sd(Xu.left,Xu.top),od[9]=sd(Xu.left),od[10]=sd(Xu.left,Xu.bottom),od[11]=sd(Xu.right,Xu.top),od[12]=sd(Xu.right),od[13]=sd(Xu.right,Xu.bottom),od);function cd(e,t){return!(e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}function ud(e,t){var r=[];return e.top<t.top&&r.push(Xu.top),e.bottom>t.bottom&&r.push(Xu.bottom),e.left<t.left&&r.push(Xu.left),e.right>t.right&&r.push(Xu.right),r}function dd(e,t){return e[Xu[t]]}function pd(e,t,r){return e[Xu[t]]=r,e}function fd(e,t){var r=kd(t);return(dd(e,r.positiveEdge)+dd(e,r.negativeEdge))/2}function hd(e,t){return e>0?t:-1*t}function gd(e,t){return hd(e,dd(t,e))}function md(e,t,r){return hd(r,dd(e,r)-dd(t,r))}function vd(e,t,r,n){void 0===n&&(n=!0);var i=dd(e,t)-r,o=pd(e,t,r);return n&&(o=pd(e,-1*t,dd(e,-1*t)-i)),o}function yd(e,t,r,n){return void 0===n&&(n=0),vd(e,r,dd(t,r)+hd(r,n))}function bd(e,t,r){return gd(r,e)>gd(r,t)}function wd(e,t){for(var r=0,n=0,i=ud(e,t);n<i.length;n++){var o=i[n];r+=Math.pow(md(e,t,o),2)}return r}function Sd(e,t,r,n){return void 0===n&&(n=200),(r===Xu.bottom||r===Xu.top)&&md(e,t,r)>=n}function Cd(e,t,r,n){for(var i=0,o=e;i<o.length;i++){var a=o[i],s=void 0;n&&n===-1*a?(s=vd(t.elementRectangle,a,dd(r,a),!1),t.forcedInBounds=!0):bd(s=yd(t.elementRectangle,r,a),r,-1*a)||(s=vd(s,-1*a,dd(r,-1*a),!1),t.forcedInBounds=!0),t.elementRectangle=s}return t}function Ad(e,t,r){var n=kd(t).positiveEdge;return vd(e,n,r-(fd(e,t)-dd(e,n)))}function xd(e,t,r,n,i){void 0===n&&(n=0);var o=new ad(e.left,e.right,e.top,e.bottom),a=r.alignmentEdge,s=r.targetEdge,l=i?s:-1*s;return o=i?yd(o,t,s,n):function(e,t,r,n){void 0===n&&(n=0);var i=hd(-1*r,n);return vd(e,-1*r,dd(t,r)+i)}(o,t,s,n),o=a?yd(o,t,a):Ad(o,l,fd(t,s))}function kd(e){return e===Xu.top||e===Xu.bottom?{positiveEdge:Xu.left,negativeEdge:Xu.right}:{positiveEdge:Xu.top,negativeEdge:Xu.bottom}}function Ed(e,t,r){return r&&Math.abs(md(e,r,t))>Math.abs(md(e,r,-1*t))?-1*t:t}function _d(e,t,r,n,i,o,a,s){var l,c={},u=Td(t),d=o?r:-1*r,p=i||kd(r).positiveEdge;return a&&!function(e,t,r){return void 0!==r&&dd(e,t)===dd(r,t)}(e,(l=p,-1*l),n)||(p=Ed(e,p,n)),c[Xu[d]]=md(e,u,d),c[Xu[p]]=md(e,u,p),s&&(c[Xu[-1*d]]=md(e,u,-1*d),c[Xu[-1*p]]=md(e,u,-1*p)),c}function Id(e,t,r){var n=fd(t,e),i=fd(r,e),o=kd(e),a=o.positiveEdge,s=o.negativeEdge;return n<=i?a:s}function Pd(e,t,r,n,i,o,a,s,l){void 0===o&&(o=!1);var c=xd(e,t,n,i,l);return cd(c,r)?{elementRectangle:c,targetEdge:n.targetEdge,alignmentEdge:n.alignmentEdge}:function(e,t,r,n,i,o,a,s,l){void 0===i&&(i=!1),void 0===a&&(a=0);var c=n.alignmentEdge,u=n.alignTargetEdge,d={elementRectangle:e,targetEdge:n.targetEdge,alignmentEdge:c};s||l||(d=function(e,t,r,n,i,o,a){void 0===i&&(i=!1),void 0===a&&(a=0);var s=[Xu.left,Xu.right,Xu.bottom,Xu.top];(0,Pu.jI)()&&(s[0]*=-1,s[1]*=-1);for(var l,c=e,u=n.targetEdge,d=n.alignmentEdge,p=u,f=d,h=0;h<4;h++){if(bd(c,r,u))return{elementRectangle:c,targetEdge:u,alignmentEdge:d};if(i&&Sd(t,r,u,o)){switch(u){case Xu.bottom:c.bottom=r.bottom;break;case Xu.top:c.top=r.top}return{elementRectangle:c,targetEdge:u,alignmentEdge:d,forcedInBounds:!0}}var g=wd(c,r);(!l||g<l)&&(l=g,p=u,f=d),s.splice(s.indexOf(u),1),s.length>0&&(s.indexOf(-1*u)>-1?u*=-1:(d=u,u=s.slice(-1)[0]),c=xd(e,t,{targetEdge:u,alignmentEdge:d},a))}return{elementRectangle:c=xd(e,t,{targetEdge:p,alignmentEdge:f},a),targetEdge:p,alignmentEdge:f}}(e,t,r,n,i,o,a));var p=ud(d.elementRectangle,r),f=s?-d.targetEdge:void 0;if(p.length>0)if(u)if(d.alignmentEdge&&p.indexOf(-1*d.alignmentEdge)>-1){var h=function(e,t,r,n){var i=e.alignmentEdge,o=e.targetEdge,a=-1*i;return{elementRectangle:xd(e.elementRectangle,t,{targetEdge:o,alignmentEdge:a},r,n),targetEdge:o,alignmentEdge:a}}(d,t,a,l);if(cd(h.elementRectangle,r))return h;d=Cd(ud(h.elementRectangle,r),d,r,f)}else d=Cd(p,d,r,f);else d=Cd(p,d,r,f);return d}(c,t,r,n,o,a,i,s,l)}function Td(e){var t=e.getBoundingClientRect();return new ad(t.left,t.right,t.top,t.bottom)}function Bd(e,t,r,n,i,o){void 0===i&&(i=!1);var a=e.gapSpace?e.gapSpace:0,s=function(e,t){var r;if(t){if(t.preventDefault){var n=t;r=new ad(n.clientX,n.clientX,n.clientY,n.clientY)}else if(t.getBoundingClientRect)r=Td(t);else{var i=t,o=i.left||i.x,a=i.top||i.y,s=i.right||o,l=i.bottom||a;r=new ad(o,s,a,l)}if(!cd(r,e))for(var c=0,u=ud(r,e);c<u.length;c++){var d=u[c];r[Xu[d]]=e[Xu[d]]}}else r=new ad(0,0,0,0);return r}(r,e.target),l=function(e,t,r,n,i){return e.isAuto&&(e.alignmentEdge=Id(e.targetEdge,t,r)),e.alignTargetEdge=i,e}(function(e,t,r){if(void 0===e&&(e=7),r)return{alignmentEdge:r.alignmentEdge,isAuto:r.isAuto,targetEdge:r.targetEdge};var n=(0,$r.__assign)({},ld[e]);return(0,Pu.jI)()?(n.alignmentEdge&&n.alignmentEdge%2==0&&(n.alignmentEdge=-1*n.alignmentEdge),void 0!==t?ld[t]:n):n}(e.directionalHint,e.directionalHintForRTL,n),s,r,e.coverTarget,e.alignTargetEdge),c=Pd(Td(t),s,r,l,a,i,o,e.directionalHintFixed,e.coverTarget);return(0,$r.__assign)((0,$r.__assign)({},c),{targetRectangle:s})}function Dd(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=0),function(e){return Math.sqrt(e*e*2)}(e?t:0)/2+r}function Nd(e,t,r,n,i,o,a,s){void 0===i&&(i=!1);var l=null!=s?s:(0,P.z)(),c=e.isBeakVisible&&e.beakWidth||0,u=Dd(e.isBeakVisible,e.beakWidth,e.gapSpace),d=e;d.gapSpace=u;var p,f,h,g,m,v,y,b,w,S=e.bounds?(w=e.bounds,new ad(w.left,w.right,w.top,w.bottom)):new ad(0,l.innerWidth-function(){if(void 0===_u){var e=(0,Jc.Y)(),t=e.createElement("div");t.style.setProperty("width","100px"),t.style.setProperty("height","100px"),t.style.setProperty("overflow","scroll"),t.style.setProperty("position","absolute"),t.style.setProperty("top","-9999px"),e.body.appendChild(t),_u=t.offsetWidth-t.clientWidth,e.body.removeChild(t)}return _u}(),0,l.innerHeight),C=Bd(d,r,S,n,i,o),A=(p=C,f=function(e,t){var r=t.targetRectangle,n=kd(t.targetEdge),i=n.positiveEdge,o=n.negativeEdge,a=fd(r,t.targetEdge),s=new ad(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),l=new ad(0,e,0,e);return bd(l=Ad(l=vd(l,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-gd(i,t.elementRectangle)),s,i)?bd(l,s,o)||(l=yd(l,s,o)):l=yd(l,s,i),l}(c,C),h=S,g=-1*p.targetEdge,m=new ad(0,p.elementRectangle.width,0,p.elementRectangle.height),v={},y=Ed(p.elementRectangle,p.alignmentEdge?p.alignmentEdge:kd(g).positiveEdge,h),b=md(p.elementRectangle,p.targetRectangle,g)>Math.abs(dd(f,g)),v[Xu[g]]=dd(f,g),v[Xu[y]]=md(f,m,y),{elementPosition:(0,$r.__assign)({},v),closestEdge:Id(p.targetEdge,f,m),targetEdge:g,hideBeak:!b});return(0,$r.__assign)((0,$r.__assign)({},function(e,t,r,n,i){return{elementPosition:_d(e.elementRectangle,t,e.targetEdge,r,e.alignmentEdge,n,i,e.forcedInBounds),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}(C,t,S,e.coverTarget,a)),{beakPosition:A})}var Rd=["TEMPLATE","STYLE","SCRIPT"];function Od(){var e=a.useRef();return e.current||(e.current=new Yc),a.useEffect((function(){return function(){var t;null===(t=e.current)||void 0===t||t.dispose(),e.current=void 0}}),[]),e.current}function zd(e,t,r,n){var i=a.useRef(r);i.current=r,a.useEffect((function(){var r=e&&"current"in e?e.current:e;if(r&&r.addEventListener)return id(r,t,(function(e){return i.current(e)}),n)}),[e,t,n])}function Md(e){var t=e.originalElement,r=e.containsFocus;t&&r&&t!==(0,P.z)()&&setTimeout((function(){var e;null===(e=t.focus)||void 0===e||e.call(t)}),0)}function Fd(e,t){var r="true"===String(e["aria-modal"]).toLowerCase()&&e.enableAriaHiddenSiblings;a.useEffect((function(){if(r&&t.current)return function(e){var t=(0,Jc.Y)(e);if(!t)return function(){};for(var r=[];e!==t.body&&e.parentElement;){for(var n=0,i=e.parentElement.children;n<i.length;n++){var o=i[n],a=o.getAttribute("aria-hidden");o!==e&&"true"!==(null==a?void 0:a.toLowerCase())&&-1===Rd.indexOf(o.tagName)&&r.push([o,a])}e=e.parentElement}return r.forEach((function(e){e[0].setAttribute("aria-hidden","true")})),function(){!function(e){e.forEach((function(e){var t=e[0],r=e[1];r?t.setAttribute("aria-hidden",r):t.removeAttribute("aria-hidden")}))}(r),r=[]}}(t.current)}),[t,r])}var Ld=a.forwardRef((function(e,t){var r=Tc({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},e),n=a.useRef(),i=(0,Bc.a)(n,t);Fd(r,n),function(e,t){var r=e.onRestoreFocus,n=void 0===r?Md:r,i=a.useRef(),o=a.useRef(!1);a.useEffect((function(){var e,r,a;return i.current=(0,Jc.Y)().activeElement,e=t.current,(a=(r=(0,Jc.Y)(e))&&r.activeElement)&&vu(e,a)&&(o.current=!0),function(){var e;null==n||n({originalElement:i.current,containsFocus:o.current,documentContainsFocus:(null===(e=(0,Jc.Y)())||void 0===e?void 0:e.hasFocus())||!1}),i.current=void 0}}),[]),zd(t,"focus",a.useCallback((function(){o.current=!0}),[]),!0),zd(t,"blur",a.useCallback((function(e){t.current&&e.relatedTarget&&!t.current.contains(e.relatedTarget)&&(o.current=!1)}),[]),!0)}(r,n);var o=r.role,s=r.className,l=r.ariaLabel,c=r.ariaLabelledBy,u=r.ariaDescribedBy,d=r.style,p=r.children,f=r.onDismiss,h=function(e,t){var r=Od(),n=a.useState(!1),i=n[0],o=n[1];return a.useEffect((function(){return r.requestAnimationFrame((function(){var r;if(!e.style||!e.style.overflowY){var n=!1;if(t&&t.current&&(null===(r=t.current)||void 0===r?void 0:r.firstElementChild)){var a=t.current.clientHeight,s=t.current.firstElementChild.clientHeight;a>0&&s>a&&(n=s-a>1)}i!==n&&o(n)}})),function(){return r.dispose()}})),i}(r,n),g=a.useCallback((function(e){27===e.which&&f&&(f(e),e.preventDefault(),e.stopPropagation())}),[f]);return zd(Ml(),"keydown",g),a.createElement("div",(0,$r.__assign)({ref:i},(0,ic.G1)(r,ic.JM),{className:s,role:o,"aria-label":l,"aria-labelledby":c,"aria-describedby":u,onKeyDown:g,style:(0,$r.__assign)({overflowY:h?"scroll":void 0,outline:"none"},d)}),p)}));function jd(e){var t=a.useRef();return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}function Vd(e,t){var r,n,i,o=a.useRef(),s=a.useRef(null),l=Ml();if(!e||e!==o.current||"string"==typeof e){var c=null==t?void 0:t.current;if(e)if("string"==typeof e)if(null===(r=null==c?void 0:c.getRootNode())||void 0===r?void 0:r.host)s.current=null!==(i=null===(n=null==c?void 0:c.getRootNode())||void 0===n?void 0:n.querySelector(e))&&void 0!==i?i:null;else{var u=(0,Jc.Y)(c);s.current=u?u.querySelector(e):null}else s.current="stopPropagation"in e||"getBoundingClientRect"in e?e:"current"in e?e.current:e;o.current=e}return[s,l]}Ld.displayName="Popup";var Hd,qd=((Hd={})[Xu.top]=c.lw.slideUpIn10,Hd[Xu.bottom]=c.lw.slideDownIn10,Hd[Xu.left]=c.lw.slideLeftIn10,Hd[Xu.right]=c.lw.slideRightIn10,Hd),Ud={opacity:0,filter:"opacity(0)",pointerEvents:"none"},$d=["role","aria-roledescription"],Wd={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:7},Gd=(0,au.Z)({disableCaching:!0});function Kd(e,t,r,n){var i,o=e.calloutMaxHeight,s=e.finalHeight,l=e.directionalHint,c=e.directionalHintFixed,u=e.hidden,d=e.gapSpace,p=e.beakWidth,f=e.isBeakVisible,h=e.coverTarget,g=a.useState(),m=g[0],v=g[1],y=null!==(i=null==n?void 0:n.elementPosition)&&void 0!==i?i:{},b=y.top,w=y.bottom,S=(null==r?void 0:r.current)?function(e){var t,r,n,i,o=e,a=e,s=e,l=null!==(t=s.left)&&void 0!==t?t:s.x,c=null!==(r=s.top)&&void 0!==r?r:s.y,u=null!==(n=s.right)&&void 0!==n?n:l,d=null!==(i=s.bottom)&&void 0!==i?i:c;return o.stopPropagation?new ad(o.clientX,o.clientX,o.clientY,o.clientY):void 0!==l&&void 0!==c?new ad(l,u,c,d):Td(a)}(r.current):void 0;return a.useEffect((function(){var e,r,i=null!==(e=t())&&void 0!==e?e:{},a=i.top,s=i.bottom;(null==n?void 0:n.targetEdge)===Xu.top&&(null==S?void 0:S.top)&&!h&&(s=S.top-function(e,t,r){return Dd(e,t,r)}(f,p,d)),"number"==typeof b&&s?r=s-b:"number"==typeof w&&"number"==typeof a&&s&&(r=s-a-w),v(!o&&!u||o&&r&&o>r?r:o||void 0)}),[w,o,s,l,c,t,u,n,b,d,p,f,S,h]),m}function Xd(e,t,r,n,i,o){var s,l=a.useState(),c=l[0],u=l[1],d=a.useRef(0),p=a.useRef(),f=Od(),h=e.hidden,g=e.target,m=e.finalHeight,v=e.calloutMaxHeight,y=e.onPositioned,b=e.directionalHint,w=e.hideOverflow,S=e.preferScrollResizePositioning,C=function(){var e;return null!==(e=Ml())&&void 0!==e?e:"undefined"!=typeof window?window:void 0}(),A=a.useRef();A.current!==o.current&&(A.current=o.current,s=o.current?null==C?void 0:C.getComputedStyle(o.current):void 0);var x=null==s?void 0:s.overflowY;return a.useEffect((function(){if(!h){var o=f.requestAnimationFrame((function(){var o,a,s,l;if(t.current&&r){var f=(0,$r.__assign)((0,$r.__assign)({},e),{target:n.current,bounds:i()}),h=r.cloneNode(!0);h.style.maxHeight=v?"".concat(v):"",h.style.visibility="hidden",null===(o=r.parentElement)||void 0===o||o.appendChild(h);var b=p.current===g?c:void 0,A=S&&!(w||"clip"===x||"hidden"===x),k=m?function(e,t,r,n,i){return function(e,t,r,n,i){return Nd(e,t,r,n,!1,void 0,!0,null!=i?i:(0,P.z)())}(e,t,r,n,i)}(f,t.current,h,b,C):function(e,t,r,n,i,o,a){return Nd(e,t,r,n,i,void 0,void 0,a)}(f,t.current,h,b,A,0,C);null===(a=r.parentElement)||void 0===a||a.removeChild(h),!c&&k||c&&k&&(l=k,!Zd((s=c).elementPosition,l.elementPosition)||!Zd(s.beakPosition.elementPosition,l.beakPosition.elementPosition))&&d.current<5?(d.current++,u(k)):d.current>0&&(d.current=0,null==y||y(c))}}),r);return p.current=g,function(){f.cancelAnimationFrame(o),p.current=void 0}}u(void 0),d.current=0}),[h,b,f,r,v,t,n,m,i,y,c,e,g,w,S,x,C]),c}var Yd=a.memo(a.forwardRef((function(e,t){var r=Tc(Wd,e),n=r.styles,i=r.style,o=r.ariaLabel,s=r.ariaDescribedBy,l=r.ariaLabelledBy,c=r.className,u=r.isBeakVisible,d=r.children,p=r.beakWidth,f=r.calloutWidth,h=r.calloutMaxWidth,g=r.calloutMinWidth,m=r.doNotLayer,v=r.finalHeight,y=r.hideOverflow,b=void 0===y?!!v:y,w=r.backgroundColor,S=r.calloutMaxHeight,C=r.onScroll,A=r.shouldRestoreFocus,x=void 0===A||A,k=r.target,E=r.hidden,_=r.onLayerMounted,I=r.popupProps,P=a.useRef(null),T=a.useRef(null),B=(0,Bc.a)(T,null==I?void 0:I.ref),D=a.useState(null),N=D[0],R=D[1],O=a.useCallback((function(e){R(e)}),[]),z=(0,Bc.a)(P,t),M=Vd(r.target,{current:N}),F=M[0],L=M[1],j=function(e,t,r){var n=e.bounds,i=e.minPagePadding,o=void 0===i?Wd.minPagePadding:i,s=e.target,l=a.useState(!1),c=l[0],u=l[1],d=a.useRef(),p=a.useCallback((function(){if(!d.current||c){var e="function"==typeof n?r?n(s,r):void 0:n;!e&&r&&(e=function(e,t){return function(e,t){var r=void 0;if(t.getWindowSegments&&(r=t.getWindowSegments()),void 0===r||r.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var n=0,i=0;if(null!==e&&e.getBoundingClientRect){var o=e.getBoundingClientRect();n=(o.left+o.right)/2,i=(o.top+o.bottom)/2}else null!==e&&(n=e.left||e.x,i=e.top||e.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},s=0,l=r;s<l.length;s++){var c=l[s];n&&c.left<=n&&c.right>=n&&i&&c.top<=i&&c.bottom>=i&&(a={top:c.top,left:c.left,right:c.right,bottom:c.bottom,width:c.width,height:c.height})}return a}(e,t)}(t.current,r),e={top:e.top+o,left:e.left+o,right:e.right-o,bottom:e.bottom-o,width:e.width-2*o,height:e.height-2*o}),d.current=e,c&&u(!1)}return d.current}),[n,o,s,t,r,c]),f=Od();return zd(r,"resize",f.debounce((function(){u(!0)}),500,{leading:!0})),p}(r,F,L),V=Xd(r,P,N,F,j,B),H=Kd(r,j,F,V),q=function(e,t,r,n,i){var o=e.hidden,s=e.onDismiss,l=e.preventDismissOnScroll,c=e.preventDismissOnResize,u=e.preventDismissOnLostFocus,d=e.dismissOnTargetClick,p=e.shouldDismissOnWindowFocus,f=e.preventDismissOnEvent,h=a.useRef(!1),g=Od(),m=jd([function(){h.current=!0},function(){h.current=!1}]),v=!!t;return a.useEffect((function(){var e=function(e){v&&!l&&m(e)},t=function(e){c||f&&f(e)||null==s||s(e)},a=function(e){u||m(e)},m=function(e){var t=e.composedPath?e.composedPath():[],o=t.length>0?t[0]:e.target,a=r.current&&!vu(r.current,o);if(a&&h.current)h.current=!1;else if(!n.current&&a||e.target!==i&&a&&(!n.current||"stopPropagation"in n.current||d||o!==n.current&&!vu(n.current,o))){if(f&&f(e))return;null==s||s(e)}},y=function(e){p&&((!f||f(e))&&(f||u)||(null==i?void 0:i.document.hasFocus())||null!==e.relatedTarget||null==s||s(e))},b=new Promise((function(r){g.setTimeout((function(){if(!o&&i){var n=[id(i,"scroll",e,!0),id(i,"resize",t,!0),id(i.document.documentElement,"focus",a,!0),id(i.document.documentElement,"click",a,!0),id(i,"blur",y,!0)];r((function(){n.forEach((function(e){return e()}))}))}}),0)}));return function(){b.then((function(e){return e()}))}}),[o,g,r,n,i,s,p,d,u,c,l,v,f]),m}(r,V,P,F,L),U=q[0],$=q[1],W=(null==V?void 0:V.elementPosition.top)&&(null==V?void 0:V.elementPosition.bottom),G=(0,$r.__assign)((0,$r.__assign)({},null==V?void 0:V.elementPosition),{maxHeight:H});if(W&&(G.bottom=void 0),function(e,t,r){var n=e.hidden,i=e.setInitialFocus,o=Od(),s=!!t;a.useEffect((function(){if(!n&&i&&s&&r){var e=o.requestAnimationFrame((function(){return yu(r)}),r);return function(){return o.cancelAnimationFrame(e)}}}),[n,s,o,r,i])}(r,V,N),a.useEffect((function(){E||null==_||_()}),[E]),!L)return null;var K=b,X=u&&!!k,Y=Gd(n,{theme:r.theme,className:c,overflowYHidden:K,calloutWidth:f,positions:V,beakWidth:p,backgroundColor:w,calloutMaxWidth:h,calloutMinWidth:g,doNotLayer:m}),J=(0,$r.__assign)((0,$r.__assign)({maxHeight:S||"100%"},i),K&&{overflowY:"hidden"}),Z=r.hidden?{visibility:"hidden"}:void 0;return a.createElement("div",{ref:z,className:Y.container,style:Z},a.createElement("div",(0,$r.__assign)({},(0,ic.G1)(r,ic.JM,$d),{className:(0,Ol.A)(Y.root,V&&V.targetEdge&&qd[V.targetEdge]),style:V?(0,$r.__assign)({},G):Ud,tabIndex:-1,ref:O}),X&&a.createElement("div",{className:Y.beak,style:Jd(V)}),X&&a.createElement("div",{className:Y.beakCurtain}),a.createElement(Ld,(0,$r.__assign)({role:r.role,"aria-roledescription":r["aria-roledescription"],ariaDescribedBy:s,ariaLabel:o,ariaLabelledBy:l,className:Y.calloutMain,onDismiss:r.onDismiss,onMouseDown:U,onMouseUp:$,onRestoreFocus:r.onRestoreFocus,onScroll:C,shouldRestoreFocus:x,style:J},I,{ref:B}),d)))})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||ac(e,t)}));function Jd(e){var t,r,n=(0,$r.__assign)((0,$r.__assign)({},null===(t=null==e?void 0:e.beakPosition)||void 0===t?void 0:t.elementPosition),{display:(null===(r=null==e?void 0:e.beakPosition)||void 0===r?void 0:r.hideBeak)?"none":void 0});return n.top||n.bottom||n.left||n.right||(n.left=0,n.top=0),n}function Zd(e,t){for(var r in t)if(t.hasOwnProperty(r)){var n=e[r],i=t[r];if(void 0===n||void 0===i)return!1;if(n.toFixed(2)!==i.toFixed(2))return!1}return!0}function Qd(e){return{height:e,width:e}}Yd.displayName="CalloutContentBase";var ep={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},tp=(0,nu.I)(Yd,(function(e){var t,r=e.theme,n=e.className,i=e.overflowYHidden,o=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,l=e.calloutMaxWidth,u=e.calloutMinWidth,d=e.doNotLayer,p=(0,c.Km)(ep,r),f=r.semanticColors,h=r.effects;return{container:[p.container,{position:"relative"}],root:[p.root,r.fonts.medium,{position:"absolute",display:"flex",zIndex:d?c.nA.Layer:void 0,boxSizing:"border-box",borderRadius:h.roundedCorner2,boxShadow:h.elevation16,selectors:(t={},t[c.up]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},(0,c.QN)(),n,!!o&&{width:o},!!l&&{maxWidth:l},!!u&&{minWidth:u}],beak:[p.beak,{position:"absolute",backgroundColor:f.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},Qd(a),s&&{backgroundColor:s}],beakCurtain:[p.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:f.menuBackground,borderRadius:h.roundedCorner2}],calloutMain:[p.calloutMain,{backgroundColor:f.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:h.roundedCorner2},i&&{overflowY:"hidden"},s&&{backgroundColor:s}]}}),void 0,{scope:"CalloutContent"}),rp=a.createContext(void 0),np=function(){return function(){}};rp.Provider;var ip=i(3907);function op(e,t){void 0===e&&(e={});var r=ap(t)?t:function(e){return function(t){return e?(0,$r.__assign)((0,$r.__assign)({},t),e):t}}(t);return r(e)}function ap(e){return"function"==typeof e}var sp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return(0,$r.__extends)(t,e),t.prototype.componentDidMount=function(){ip.X.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){ip.X.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return a.createElement(uc.z.Consumer,null,(function(r){var n=function(e,t){var r,n,i,o=(t||{}).customizations,a=void 0===o?{settings:{},scopedSettings:{}}:o;return{customizations:{settings:op(a.settings,e.settings),scopedSettings:(r=a.scopedSettings,n=e.scopedSettings,void 0===r&&(r={}),(ap(n)?n:(void 0===(i=n)&&(i={}),function(e){var t=(0,$r.__assign)({},e);for(var r in i)i.hasOwnProperty(r)&&(t[r]=(0,$r.__assign)((0,$r.__assign)({},e[r]),i[r]));return t}))(r)),inCustomizerContext:!0}}}(e.props,r);return t&&(n=t(n)),a.createElement(uc.z.Provider,{value:n},e.props.children)}))},t}(a.Component),lp=(0,au.Z)(),cp=(0,Lc.J9)((function(e,t){return(0,jl.a)((0,$r.__assign)((0,$r.__assign)({},e),{rtl:t}))})),up=a.forwardRef((function(e,t){var r=e.className,n=e.theme,i=e.applyTheme,o=e.applyThemeToBody,s=e.styles,l=lp(s,{theme:n,applyTheme:i,className:r}),c=a.useRef(null);return function(e,t,r){var n=t.bodyThemed;a.useEffect((function(){if(e){var t=(0,Jc.Y)(r.current);if(t)return t.body.classList.add(n),function(){t.body.classList.remove(n)}}}),[n,e,r])}(o,l,c),a.createElement(a.Fragment,null,function(e,t,r,n){var i=t.root,o=e.as,s=void 0===o?"div":o,l=e.dir,c=e.theme,u=(0,ic.G1)(e,ic.JM,["dir"]),d=function(e){var t=e.theme,r=e.dir,n=(0,Pu.jI)(t)?"rtl":"ltr",i=(0,Pu.jI)()?"rtl":"ltr",o=r||n;return{rootDir:o!==n||o!==i?o:r,needsTheme:o!==n}}(e),p=d.rootDir,f=d.needsTheme,h=a.createElement(Ec,{providerRef:r},a.createElement(s,(0,$r.__assign)({dir:p},u,{className:i,ref:(0,Bc.a)(r,n)})));return f&&(h=a.createElement(sp,{settings:{theme:cp(c,"rtl"===l)}},h)),h}(e,l,c,t))}));up.displayName="FabricBase";var dp,pp={fontFamily:"inherit"},fp={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},hp=(0,nu.I)(up,(function(e){var t=e.applyTheme,r=e.className,n=e.preventBlanketFontInheritance,i=e.theme;return{root:[(0,c.Km)(fp,i).root,i.fonts.medium,{color:i.palette.neutralPrimary},!n&&{"& button":pp,"& input":pp,"& textarea":pp},t&&{color:i.semanticColors.bodyText,backgroundColor:i.semanticColors.bodyBackground},r],bodyThemed:[{backgroundColor:i.semanticColors.bodyBackground}]}}),void 0,{scope:"Fabric"}),gp={},mp={},vp="fluent-default-layer-host",yp="#".concat(vp),bp=i(7847),wp=(0,au.Z)(),Sp=a.forwardRef((function(e,t){var r,n=null!==(r=a.useContext(rp))&&void 0!==r?r:np,i=a.useRef(null),o=(0,Bc.a)(i,t),s=a.useRef(),c=a.useRef(null),u=a.useContext(wc),d=a.useState(!1),p=d[0],f=d[1],h=a.useCallback((function(e){var t,r=!!(null==(t=null==u?void 0:u.providerRef)?void 0:t.current)&&t.current.classList.contains(gc.Y2);e&&r&&e.classList.add(gc.Y2)}),[u]),g=e.children,m=e.className,v=e.eventBubblingEnabled,y=e.fabricProps,b=e.hostId,w=e.insertFirst,S=e.onLayerDidMount,C=void 0===S?function(){}:S,A=e.onLayerMounted,x=void 0===A?function(){}:A,k=e.onLayerWillUnmount,E=e.styles,_=e.theme,I=(0,Bc.a)(c,null==y?void 0:y.ref,h),P=wp(E,{theme:_,className:m,isNotHost:!b}),T=function(){null==k||k();var e=s.current;s.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)},B=function(){var e,t,r,n,o=(0,Jc.Y)(i.current),a=(null===(t=null===(e=i.current)||void 0===e?void 0:e.getRootNode())||void 0===t?void 0:t.host)?null===(r=null==i?void 0:i.current)||void 0===r?void 0:r.getRootNode():void 0;if(o&&(o||a)){var l=function(e,t){var r,n;void 0===t&&(t=null);var i=null!=t?t:e;if(b){var o=function(e){var t=mp[e];return t&&t[0]||void 0}(b);return o?null!==(r=o.rootRef.current)&&void 0!==r?r:null:null!==(n=i.getElementById(b))&&void 0!==n?n:null}var a=yp,s=a?i.querySelector(a):null;return s||(s=function(e,t){void 0===t&&(t=null);var r=e.createElement("div");return r.setAttribute("id",vp),r.style.cssText="position:fixed;z-index:1000000",t?t.appendChild(r):null==e||e.body.appendChild(r),r}(e,t)),s}(o,a);if(l){l.__tabsterElementFlags||(l.__tabsterElementFlags={}),l.__tabsterElementFlags.noDirectAriaHidden=!0,T();var c=(null!==(n=l.ownerDocument)&&void 0!==n?n:o).createElement("div");c.className=P.root,c.setAttribute(Hc,"true"),function(e,t){var r=e,n=t;r._virtual||(r._virtual={children:[]});var i=r._virtual.parent;if(i&&i!==t){var o=i._virtual.children.indexOf(r);o>-1&&i._virtual.children.splice(o,1)}r._virtual.parent=n||void 0,n&&(n._virtual||(n._virtual={children:[]}),n._virtual.children.push(r))}(c,i.current),w?l.insertBefore(c,l.firstChild):l.appendChild(c),s.current=c,f(!0)}}};return(0,bp.E)((function(){B(),b&&function(e,t){gp[e]||(gp[e]=[]),gp[e].push(t);var r=mp[e];if(r)for(var n=0,i=r;n<i.length;n++)i[n].notifyLayersChanged()}(b,B);var e=s.current?n(s.current):void 0;return function(){e&&e(),T(),b&&function(e,t){var r=gp[e];if(r){var n=r.indexOf(t);n>=0&&(r.splice(n,1),0===r.length&&delete gp[e])}var i=mp[e];if(i)for(var o=0,a=i;o<a.length;o++)a[o].notifyLayersChanged()}(b,B)}}),[b]),a.useEffect((function(){s.current&&p&&(null==x||x(),null==C||C(),f(!1))}),[p,x,C]),a.createElement("span",{className:"ms-layer",ref:o},s.current&&l.createPortal(a.createElement(Ec,{layerRoot:!0,providerRef:I},a.createElement(hp,(0,$r.__assign)({},!v&&(dp||(dp={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach((function(e){return dp[e]=Cp}))),dp),y,{className:(0,Ol.A)(P.content,null==y?void 0:y.className),ref:I}),g)),s.current))}));Sp.displayName="LayerBase";var Cp=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()},Ap={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},xp=(0,nu.I)(Sp,(function(e){var t=e.className,r=e.isNotHost,n=e.theme,i=(0,c.Km)(Ap,n);return{root:[i.root,n.fonts.medium,r&&[i.rootNoHost,{position:"fixed",zIndex:c.nA.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[i.content,{visibility:"visible"}]}}),void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),kp=a.forwardRef((function(e,t){var r=e.layerProps,n=e.doNotLayer,i=(0,$r.__rest)(e,["layerProps","doNotLayer"]),o=a.createElement(tp,(0,$r.__assign)({},i,{doNotLayer:n,ref:t}));return n?o:a.createElement(xp,(0,$r.__assign)({},r),o)}));kp.displayName="Callout";var Ep,_p=function(e){var t=e.item,r=e.classNames,n=t.iconProps;return a.createElement(pu,(0,$r.__assign)({},n,{className:r.icon}))},Ip=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,_p):_p(e):null},Pp=function(e){var t=e.onCheckmarkClick,r=e.item,n=e.classNames,i=ed(r);return t?a.createElement(pu,{iconName:!1!==r.canCheck&&i?"CheckMark":"",className:n.checkmarkIcon,onClick:function(e){return t(r,e)}}):null},Tp=function(e){var t=e.item,r=e.classNames;return t.text||t.name?a.createElement("span",{className:r.label},t.text||t.name):null},Bp=function(e){var t=e.item,r=e.classNames;return t.secondaryText?a.createElement("span",{className:r.secondaryText},t.secondaryText):null},Dp=function(e){var t=e.item,r=e.classNames,n=e.theme;return td(t)?a.createElement(pu,(0,$r.__assign)({iconName:(0,Pu.jI)(n)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:r.subMenuIcon})):null},Np=function(e){function t(t){var r=e.call(this,t)||this;return r.openSubMenu=function(){var e=r.props,t=e.item,n=e.openSubMenu,i=e.getSubmenuTarget;if(i){var o=i();td(t)&&n&&o&&n(t,o)}},r.dismissSubMenu=function(){var e=r.props,t=e.item,n=e.dismissSubMenu;td(t)&&n&&n()},r.dismissMenu=function(e){var t=r.props.dismissMenu;t&&t(void 0,e)},$c(r),r}return(0,$r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.item,r=e.classNames,n=t.onRenderContent||this._renderLayout;return a.createElement("div",{className:t.split?r.linkContentMenu:r.linkContent},n(this.props,{renderCheckMarkIcon:Pp,renderItemIcon:Ip,renderItemName:Tp,renderSecondaryText:Bp,renderSubMenuIcon:Dp}))},t.prototype._renderLayout=function(e,t){return a.createElement(a.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},t}(a.Component),Rp=(0,Lc.J9)((function(e){return(0,c.l8)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})})),Op=36,zp=(0,c.L6)(0,c.mm),Mp=(0,Lc.J9)((function(e){var t,r,n,i,o,a=e.semanticColors,s=e.fonts,l=e.palette,u=a.menuItemBackgroundHovered,d=a.menuItemTextHovered,p=a.menuItemBackgroundPressed,f=a.bodyDivider,h={item:[s.medium,{color:a.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:f,position:"relative"},root:[(0,c.gm)(e),s.medium,{color:a.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:Op,lineHeight:Op,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:a.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[c.up]={color:"GrayText",opacity:1},t)},rootHovered:{backgroundColor:u,color:d,selectors:{".ms-ContextualMenu-icon":{color:l.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootFocused:{backgroundColor:l.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:l.neutralPrimary}}},rootPressed:{backgroundColor:p,selectors:{".ms-ContextualMenu-icon":{color:l.themeDark},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootExpanded:{backgroundColor:p,color:a.bodyTextChecked,selectors:(r={".ms-ContextualMenu-submenuIcon":(n={},n[c.up]={color:"inherit"},n)},r[c.up]=(0,$r.__assign)({},(0,c.Qg)()),r)},linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:Op,fontSize:c.fF.medium,width:c.fF.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(i={},i[zp]={fontSize:c.fF.large,width:c.fF.large},i)},iconColor:{color:a.menuIcon},iconDisabled:{color:a.disabledBodyText},checkmarkIcon:{color:a.bodySubtext},subMenuIcon:{height:Op,lineHeight:Op,color:l.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:c.fF.small,selectors:(o={":hover":{color:l.neutralPrimary},":active":{color:l.neutralPrimary}},o[zp]={fontSize:c.fF.medium},o)},splitButtonFlexContainer:[(0,c.gm)(e),{display:"flex",height:Op,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]};return(0,c.TW)(h)})),Fp="28px",Lp=(0,c.L6)(0,c.mm),jp=(0,Lc.J9)((function(e){var t;return(0,c.l8)(Rp(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[Lp]={right:32},t)},divider:{height:16,width:1}})})),Vp={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu",screenReaderText:"ms-ContextualMenu-screenReaderText"},Hp=(0,Lc.J9)((function(e,t,r,n,i,o,a,s,l,u,d,p){var f,h,g,m,v=Mp(e),y=(0,c.Km)(Vp,e);return(0,c.l8)({item:[y.item,v.item,a],divider:[y.divider,v.divider,s],root:[y.root,v.root,n&&[y.isChecked,v.rootChecked],i&&v.anchorLink,r&&[y.isExpanded,v.rootExpanded],t&&[y.isDisabled,v.rootDisabled],!t&&!r&&[{selectors:(f={":hover":v.rootHovered,":active":v.rootPressed},f[".".concat(gc.Y2," &:focus, .").concat(gc.Y2," &:focus:hover, :host(.").concat(gc.Y2,") &:focus, :host(.").concat(gc.Y2,") &:focus:hover")]=v.rootFocused,f[".".concat(gc.Y2," &:hover, :host(.").concat(gc.Y2,") &:hover")]={background:"inherit;"},f)}],p],splitPrimary:[v.root,{width:"calc(100% - ".concat(Fp,")")},n&&["is-checked",v.rootChecked],(t||d)&&["is-disabled",v.rootDisabled],!(t||d)&&!n&&[{selectors:(h={":hover":v.rootHovered},h[":hover ~ .".concat(y.splitMenu)]=v.rootHovered,h[":active"]=v.rootPressed,h[".".concat(gc.Y2," &:focus, .").concat(gc.Y2," &:focus:hover, :host(.").concat(gc.Y2,") &:focus, :host(.").concat(gc.Y2,") &:focus:hover")]=v.rootFocused,h[".".concat(gc.Y2," &:hover, :host(.").concat(gc.Y2,") &:hover")]={background:"inherit;"},h)}]],splitMenu:[y.splitMenu,v.root,{flexBasis:"0",padding:"0 8px",minWidth:Fp},r&&["is-expanded",v.rootExpanded],t&&["is-disabled",v.rootDisabled],!t&&!r&&[{selectors:(g={":hover":v.rootHovered,":active":v.rootPressed},g[".".concat(gc.Y2," &:focus, .").concat(gc.Y2," &:focus:hover, :host(.").concat(gc.Y2,") &:focus, :host(.").concat(gc.Y2,") &:focus:hover")]=v.rootFocused,g[".".concat(gc.Y2," &:hover, :host(.").concat(gc.Y2,") &:hover")]={background:"inherit;"},g)}]],anchorLink:v.anchorLink,linkContent:[y.linkContent,v.linkContent],linkContentMenu:[y.linkContentMenu,v.linkContent,{justifyContent:"center"}],icon:[y.icon,o&&v.iconColor,v.icon,l,t&&[y.isDisabled,v.iconDisabled]],iconColor:v.iconColor,checkmarkIcon:[y.checkmarkIcon,o&&v.checkmarkIcon,v.icon,l],subMenuIcon:[y.subMenuIcon,v.subMenuIcon,u,r&&{color:e.palette.neutralPrimary},t&&[v.iconDisabled]],label:[y.label,v.label],secondaryText:[y.secondaryText,v.secondaryText],splitContainer:[v.splitButtonFlexContainer,!t&&!n&&[{selectors:(m={},m[".".concat(gc.Y2," &:focus, .").concat(gc.Y2," &:focus:hover, :host(.").concat(gc.Y2,") &:focus, :host(.").concat(gc.Y2,") &:focus:hover")]=v.rootFocused,m)}]],screenReaderText:[y.screenReaderText,v.screenReaderText,c.dX,{visibility:"hidden"}]})})),qp=function(e){var t=e.theme,r=e.disabled,n=e.expanded,i=e.checked,o=e.isAnchorLink,a=e.knownIcon,s=e.itemClassName,l=e.dividerClassName,c=e.iconClassName,u=e.subMenuClassName,d=e.primaryDisabled,p=e.className;return Hp(t,r,n,i,o,a,s,l,c,u,d,p)},Up=(0,nu.I)(Np,qp,void 0,{scope:"ContextualMenuItem"}),$p=function(e){function t(t){var r=e.call(this,t)||this;return r._onItemMouseEnter=function(e){var t=r.props,n=t.item,i=t.onItemMouseEnter;i&&i(n,e,e.currentTarget)},r._onItemClick=function(e){var t=r.props,n=t.item,i=t.onItemClickBase;i&&i(n,e,e.currentTarget)},r._onItemMouseLeave=function(e){var t=r.props,n=t.item,i=t.onItemMouseLeave;i&&i(n,e)},r._onItemKeyDown=function(e){var t=r.props,n=t.item,i=t.onItemKeyDown;i&&i(n,e)},r._onItemMouseMove=function(e){var t=r.props,n=t.item,i=t.onItemMouseMove;i&&i(n,e,e.currentTarget)},r._getSubmenuTarget=function(){},$c(r),r}return(0,$r.__extends)(t,e),t.prototype.shouldComponentUpdate=function(e){return!ac(e,this.props)},t}(a.Component);function Wp(e){var t=a.useRef();return a.useEffect((function(){t.current=e})),t.current}!function(e){e.KEYTIP_ADDED="keytipAdded",e.KEYTIP_REMOVED="keytipRemoved",e.KEYTIP_UPDATED="keytipUpdated",e.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",e.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",e.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",e.ENTER_KEYTIP_MODE="enterKeytipMode",e.EXIT_KEYTIP_MODE="exitKeytipMode"}(Ep||(Ep={}));var Gp=function(){function e(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return e.getInstance=function(){return this._instance},e.prototype.init=function(e){this.delayUpdatingKeytipChange=e},e.prototype.register=function(e,t){void 0===t&&(t=!1);var r=e;t||(r=this.addParentOverflow(e),this.sequenceMapping[r.keySequences.toString()]=r);var n=this._getUniqueKtp(r);if(t?this.persistedKeytips[n.uniqueID]=n:this.keytips[n.uniqueID]=n,this.inKeytipMode||!this.delayUpdatingKeytipChange){var i=t?Ep.PERSISTED_KEYTIP_ADDED:Ep.KEYTIP_ADDED;Zc.raise(this,i,{keytip:r,uniqueID:n.uniqueID})}return n.uniqueID},e.prototype.update=function(e,t){var r=this.addParentOverflow(e),n=this._getUniqueKtp(r,t),i=this.keytips[t];i&&(n.keytip.visible=i.keytip.visible,this.keytips[t]=n,delete this.sequenceMapping[i.keytip.keySequences.toString()],this.sequenceMapping[n.keytip.keySequences.toString()]=n.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||Zc.raise(this,Ep.KEYTIP_UPDATED,{keytip:n.keytip,uniqueID:n.uniqueID}))},e.prototype.unregister=function(e,t,r){void 0===r&&(r=!1),r?delete this.persistedKeytips[t]:delete this.keytips[t],!r&&delete this.sequenceMapping[e.keySequences.toString()];var n=r?Ep.PERSISTED_KEYTIP_REMOVED:Ep.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||Zc.raise(this,n,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){Zc.raise(this,Ep.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){Zc.raise(this,Ep.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map((function(t){return e.keytips[t].keytip}))},e.prototype.addParentOverflow=function(e){var t=(0,$r.__spreadArray)([],e.keySequences,!0);if(t.pop(),0!==t.length){var r=this.sequenceMapping[t.toString()];if(r&&r.overflowSetSequence)return(0,$r.__assign)((0,$r.__assign)({},e),{overflowSetSequence:r.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){Zc.raise(this,Ep.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=Gl()),{keytip:(0,$r.__assign)({},e),uniqueID:t}},e._instance=new e,e}();function Kp(e){return e.reduce((function(e,t){return e+"-"+t.split("").join("-")}),"ktp")}var Xp=function(e){var t,r=e.children,n=function(e){var t=a.useRef(),r=e.keytipProps?(0,$r.__assign)({disabled:e.disabled},e.keytipProps):void 0,n=jd(Gp.getInstance()),i=Wp(e);(0,bp.E)((function(){t.current&&r&&((null==i?void 0:i.keytipProps)!==e.keytipProps||(null==i?void 0:i.disabled)!==e.disabled)&&n.update(r,t.current)})),(0,bp.E)((function(){return r&&(t.current=n.register(r)),function(){r&&n.unregister(r,t.current)}}),[]);var o={ariaDescribedBy:e.ariaDescribedBy,keytipId:void 0};return r&&(o=function(e,t,r){var n=e.addParentOverflow(t),i=tu(r,function(e){var t=" ktp-layer-id";return e.length?t+" "+Kp(e):t}(n.keySequences)),o=(0,$r.__spreadArray)([],n.keySequences,!0);return n.overflowSetSequence&&(o=function(e,t){var r,n,i;return r=t.length-1,n=(0,$r.__spreadArray)([],t,!0).pop(),(i=(0,$r.__spreadArray)([],e,!0).slice()).splice(r,0,n),i}(o,n.overflowSetSequence)),{ariaDescribedBy:i,keytipId:Kp(o)}}(n,r,e.ariaDescribedBy)),o}((0,$r.__rest)(e,["children"])),i=n.keytipId,o=n.ariaDescribedBy;return r(((t={})["data-ktp-target"]=i,t["data-ktp-execute-target"]=i,t["aria-describedby"]=o,t))},Yp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=a.createRef(),t._getMemoizedMenuButtonKeytipProps=(0,Lc.J9)((function(e){return(0,$r.__assign)((0,$r.__assign)({},e),{hasMenu:!0})})),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var r=t.props,n=r.item,i=r.onItemClick;i&&i(n,e)},t._renderAriaDescription=function(e,r){return e?a.createElement("span",{id:t._ariaDescriptionId,className:r},e):null},t}return(0,$r.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props,r=t.item,n=t.classNames,i=t.index,o=t.focusableElementIndex,s=t.totalItemCount,l=t.hasCheckmarks,c=t.hasIcons,u=t.expandedMenuItemKey,d=t.onItemClick,p=t.openSubMenu,f=t.dismissSubMenu,h=t.dismissMenu,g=Up;this.props.item.contextualMenuItemAs&&(g=Qu(this.props.item.contextualMenuItemAs,g)),this.props.contextualMenuItemAs&&(g=Qu(this.props.contextualMenuItemAs,g));var m=r.rel;r.target&&"_blank"===r.target.toLowerCase()&&(m=m||"nofollow noopener noreferrer");var v=td(r),y=(0,ic.G1)(r,ic.t0),b=rd(r),w=r.itemProps,S=r.ariaDescription,C=r.keytipProps;C&&v&&(C=this._getMemoizedMenuButtonKeytipProps(C)),S&&(this._ariaDescriptionId=Gl());var A=tu(r.ariaDescribedBy,S?this._ariaDescriptionId:void 0,y["aria-describedby"]),x={"aria-describedby":A};return a.createElement("div",null,a.createElement(Xp,{keytipProps:r.keytipProps,ariaDescribedBy:A,disabled:b},(function(t){return a.createElement("a",(0,$r.__assign)({},x,y,t,{ref:e._anchor,href:r.href,target:r.target,rel:m,className:n.root,role:"menuitem","aria-haspopup":v||void 0,"aria-expanded":v?r.key===u:void 0,"aria-posinset":o+1,"aria-setsize":s,"aria-disabled":rd(r),style:r.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:v?e._onItemKeyDown:void 0}),a.createElement(g,(0,$r.__assign)({componentRef:r.componentRef,item:r,classNames:n,index:i,onCheckmarkClick:l&&d?d:void 0,hasIcons:c,openSubMenu:p,dismissSubMenu:f,dismissMenu:h,getSubmenuTarget:e._getSubmenuTarget},w)),e._renderAriaDescription(S,n.screenReaderText))})))},t}($p),Jp=(0,au.Z)(),Zp=a.forwardRef((function(e,t){var r=e.styles,n=e.theme,i=e.getClassNames,o=e.className,s=Jp(r,{theme:n,getClassNames:i,className:o});return a.createElement("span",{className:s.wrapper,ref:t},a.createElement("span",{className:s.divider}))}));Zp.displayName="VerticalDividerBase";var Qp,ef=(0,nu.I)(Zp,(function(e){var t=e.theme,r=e.getClassNames,n=e.className;if(!t)throw new Error("Theme is undefined or null.");if(r){var i=r(t);return{wrapper:[i.wrapper],divider:[i.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},n],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}}),void 0,{scope:"VerticalDivider"}),tf=function(e){function t(t){var r=e.call(this,t)||this;return r._getMemoizedMenuButtonKeytipProps=(0,Lc.J9)((function(e){return(0,$r.__assign)((0,$r.__assign)({},e),{hasMenu:!0})})),r._onItemKeyDown=function(e){var t=r.props,n=t.item,i=t.onItemKeyDown;e.which===dc?(r._executeItemClick(e),e.preventDefault(),e.stopPropagation()):i&&i(n,e)},r._getSubmenuTarget=function(){return r._splitButton},r._renderAriaDescription=function(e,t){return e?a.createElement("span",{id:r._ariaDescriptionId,className:t},e):null},r._onItemMouseEnterPrimary=function(e){var t=r.props,n=t.item,i=t.onItemMouseEnter;i&&i((0,$r.__assign)((0,$r.__assign)({},n),{subMenuProps:void 0,items:void 0}),e,r._splitButton)},r._onItemMouseEnterIcon=function(e){var t=r.props,n=t.item,i=t.onItemMouseEnter;i&&i(n,e,r._splitButton)},r._onItemMouseMovePrimary=function(e){var t=r.props,n=t.item,i=t.onItemMouseMove;i&&i((0,$r.__assign)((0,$r.__assign)({},n),{subMenuProps:void 0,items:void 0}),e,r._splitButton)},r._onItemMouseMoveIcon=function(e){var t=r.props,n=t.item,i=t.onItemMouseMove;i&&i(n,e,r._splitButton)},r._onIconItemClick=function(e){var t=r.props,n=t.item,i=t.onItemClickBase;i&&i(n,e,r._splitButton?r._splitButton:e.currentTarget)},r._executeItemClick=function(e){var t=r.props,n=t.item,i=t.executeItemClick,o=t.onItemClick;if(!n.disabled&&!n.isDisabled)return r._processingTouch&&!n.canCheck&&o?o(n,e):void(i&&i(n,e))},r._onTouchStart=function(e){r._splitButton&&!("onpointerdown"in r._splitButton)&&r._handleTouchAndPointerEvent(e)},r._onPointerDown=function(e){"touch"===e.pointerType&&(r._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},r._async=new Yc(r),r._events=new Zc(r),r._dismissLabelId=Gl(),r}return(0,$r.__extends)(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e,t=this,r=this.props,n=r.item,i=r.classNames,o=r.index,s=r.focusableElementIndex,l=r.totalItemCount,c=r.hasCheckmarks,u=r.hasIcons,d=r.onItemMouseLeave,p=r.expandedMenuItemKey,f=td(n),h=n.keytipProps;h&&(h=this._getMemoizedMenuButtonKeytipProps(h));var g=n.ariaDescription;g&&(this._ariaDescriptionId=Gl());var m=null!==(e=ed(n))&&void 0!==e?e:void 0;return a.createElement(Xp,{keytipProps:h,disabled:rd(n)},(function(e){return a.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){return t._splitButton=e},role:nd(n),"aria-label":n.ariaLabel,className:i.splitContainer,"aria-disabled":rd(n),"aria-expanded":f?n.key===p:void 0,"aria-haspopup":!0,"aria-describedby":tu(n.ariaDescribedBy,g?t._ariaDescriptionId:void 0,e["aria-describedby"]),"aria-checked":m,"aria-posinset":s+1,"aria-setsize":l,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:d?d.bind(t,(0,$r.__assign)((0,$r.__assign)({},n),{subMenuProps:null,items:null})):void 0,onMouseMove:t._onItemMouseMovePrimary,onKeyDown:t._onItemKeyDown,onClick:t._executeItemClick,onTouchStart:t._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":n["aria-roledescription"]},t._renderSplitPrimaryButton(n,i,o,c,u),t._renderSplitDivider(n),t._renderSplitIconButton(n,i,o,e),t._renderAriaDescription(g,i.screenReaderText))}))},t.prototype._renderSplitPrimaryButton=function(e,t,r,n,i){var o=this.props,s=o.contextualMenuItemAs,l=void 0===s?Up:s,c=o.onItemClick,u={key:e.key,disabled:rd(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,id:this._dismissLabelId,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},d=e.itemProps;return a.createElement("button",(0,$r.__assign)({},(0,ic.G1)(u,ic.uw)),a.createElement(l,(0,$r.__assign)({"data-is-focusable":!1,item:(0,$r.__assign)((0,$r.__assign)({},u),{onClick:e.onClick}),classNames:t,index:r,onCheckmarkClick:n&&c?c:void 0,hasIcons:i},d)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||jp;return a.createElement(ef,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,r,n){var i=this.props,o=i.onItemMouseLeave,s=i.onItemMouseDown,l=i.openSubMenu,c=i.dismissSubMenu,u=i.dismissMenu,d=Up;this.props.item.contextualMenuItemAs&&(d=Qu(this.props.item.contextualMenuItemAs,d)),this.props.contextualMenuItemAs&&(d=Qu(this.props.contextualMenuItemAs,d));var p={onClick:this._onIconItemClick,disabled:rd(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key,"aria-labelledby":this._dismissLabelId},f=(0,$r.__assign)((0,$r.__assign)({},(0,ic.G1)(p,ic.uw)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:o?o.bind(this,e):void 0,onMouseDown:function(t){return s?s(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":n["data-ktp-execute-target"],"aria-haspopup":!0}),h=e.itemProps;return a.createElement("button",(0,$r.__assign)({},f),a.createElement(d,(0,$r.__assign)({componentRef:e.componentRef,item:p,classNames:t,index:r,hasIcons:!1,openSubMenu:l,dismissSubMenu:c,dismissMenu:u,getSubmenuTarget:this._getSubmenuTarget},h)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,r=this.props.onTap;r&&r(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0}),500)},t}($p),rf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=a.createRef(),t._getMemoizedMenuButtonKeytipProps=(0,Lc.J9)((function(e){return(0,$r.__assign)((0,$r.__assign)({},e),{hasMenu:!0})})),t._renderAriaDescription=function(e,r){return e?a.createElement("span",{id:t._ariaDescriptionId,className:r},e):null},t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return(0,$r.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props,r=t.item,n=t.classNames,i=t.index,o=t.focusableElementIndex,s=t.totalItemCount,l=t.hasCheckmarks,c=t.hasIcons,u=t.contextualMenuItemAs,d=t.expandedMenuItemKey,p=t.onItemMouseDown,f=t.onItemClick,h=t.openSubMenu,g=t.dismissSubMenu,m=t.dismissMenu,v=Up;r.contextualMenuItemAs&&(v=Qu(r.contextualMenuItemAs,v)),u&&(v=Qu(u,v));var y=ed(r),b=null!==y,w=nd(r),S=td(r),C=r.itemProps,A=r.ariaLabel,x=r.ariaDescription,k=(0,ic.G1)(r,ic.uw);delete k.disabled;var E=r.role||w;x&&(this._ariaDescriptionId=Gl());var _=tu(r.ariaDescribedBy,x?this._ariaDescriptionId:void 0,k["aria-describedby"]),I={className:n.root,onClick:this._onItemClick,onKeyDown:S?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return p?p(r,e):void 0},onMouseMove:this._onItemMouseMove,href:r.href,title:r.title,"aria-label":A,"aria-describedby":_,"aria-haspopup":S||void 0,"aria-expanded":S?r.key===d:void 0,"aria-posinset":o+1,"aria-setsize":s,"aria-disabled":rd(r),"aria-checked":"menuitemcheckbox"!==E&&"menuitemradio"!==E||!b?void 0:!!y,"aria-selected":"menuitem"===E&&b?!!y:void 0,role:E,style:r.style},P=r.keytipProps;return P&&S&&(P=this._getMemoizedMenuButtonKeytipProps(P)),a.createElement(Xp,{keytipProps:P,ariaDescribedBy:_,disabled:rd(r)},(function(t){return a.createElement("button",(0,$r.__assign)({ref:e._btn},k,I,t),a.createElement(v,(0,$r.__assign)({componentRef:r.componentRef,item:r,classNames:n,index:i,onCheckmarkClick:l&&f?f:void 0,hasIcons:c,openSubMenu:h,dismissSubMenu:g,dismissMenu:m,getSubmenuTarget:e._getSubmenuTarget},C)),e._renderAriaDescription(x,n.screenReaderText))}))},t}($p);function nf(e,t){var r=a.useRef(t);return r.current||(r.current=Gl(e)),r.current}!function(e){e[e.small=0]="small",e[e.medium=1]="medium",e[e.large=2]="large",e[e.xLarge=3]="xLarge",e[e.xxLarge=4]="xxLarge",e[e.xxxLarge=5]="xxxLarge",e[e.unknown=999]="unknown"}(Qp||(Qp={}));var of,af=[479,639,1023,1365,1919,99999999];function sf(){var e;return null!==(e=of)&&void 0!==e?e:Qp.large}function lf(e){try{return e.document.documentElement.clientWidth}catch(t){return e.innerWidth}}var cf=a.createContext({}),uf=(0,au.Z)(),df=(0,au.Z)(),pf={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:7,beakWidth:16};function ff(e){for(var t=0,r=0,n=e;r<n.length;r++){var i=n[r];i.itemType!==fu.Divider&&i.itemType!==fu.Header&&(t+=i.customOnRenderListLength?i.customOnRenderListLength:1)}return t}function hf(e,t){var r=null==t?void 0:t.target,n=e.subMenuProps?e.subMenuProps.items:e.items;if(n){for(var i=[],o=0,a=n;o<a.length;o++){var s=a[o];if(s.preferMenuTargetAsEventTarget){var l=s.onClick,c=(0,$r.__rest)(s,["onClick"]);i.push((0,$r.__assign)((0,$r.__assign)({},c),{onClick:Af(l,r)}))}else i.push(s)}return i}}var gf="ContextualMenu",mf=(0,Lc.J9)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return c.pB.apply(void 0,(0,$r.__spreadArray)([t,qp],e,!1))}}));function vf(e,t){var r=e.hidden,n=e.items,i=e.theme,o=e.className,s=e.id,l=e.target,c=a.useState(),u=c[0],d=c[1],p=a.useState(),f=p[0],h=p[1],g=a.useState(),m=g[0],v=g[1],y=nf(gf,s),b=a.useCallback((function(){v(void 0),d(void 0),h(void 0)}),[]),w=a.useCallback((function(e,t,r){var n=e.key;u!==n&&(t.focus(),v(r),d(n),h(t))}),[u]);a.useEffect((function(){r&&b()}),[r,b]);var S=function(e,t){var r=a.useRef(!1);a.useEffect((function(){return r.current=!0,function(){r.current=!1}}),[]);return function(n,i){i?e(n,i):r.current&&t()}}(t,b);return[u,w,function(){var e=Cf(u,n),t=null;if(e&&(t={items:hf(e,{target:l}),target:f,onDismiss:S,isSubMenu:!0,id:y,shouldFocusOnMount:!0,shouldFocusOnContainer:m,directionalHint:(0,Pu.jI)(i)?8:11,className:o,gapSpace:0,isBeakVisible:!1},e.subMenuProps&&sc(t,e.subMenuProps),e.preferMenuTargetAsEventTarget)){var r=e.onItemClick;t.onItemClick=Af(r,l)}return t},S]}var yf=a.memo(a.forwardRef((function(e,t){var r,n=Tc(pf,e),i=(n.ref,(0,$r.__rest)(n,["ref"])),o=a.useRef(null),s=Od(),l=nf(gf,i.id),c=function(e,t){var r;return null===(r=i.onDismiss)||void 0===r?void 0:r.call(i,e,t)},u=Vd(i.target,o),d=u[0],p=u[1],f=function(e,t,r){var n=e.hidden,i=e.onRestoreFocus,o=a.useRef(),s=a.useCallback((function(e){var t,r;i?i(e):(null==e?void 0:e.documentContainsFocus)&&(null===(r=null===(t=o.current)||void 0===t?void 0:t.focus)||void 0===r||r.call(t))}),[i]);return(0,bp.E)((function(){var e,i;if(n)o.current&&(s({originalElement:o.current,containsFocus:!0,documentContainsFocus:(null===(i=(0,Jc.Y)())||void 0===i?void 0:i.hasFocus())||!1}),o.current=void 0);else{var a=null==t?void 0:t.document.activeElement;(null===(e=r.current)||void 0===e?void 0:e.contains(a))||"BODY"===a.tagName||(o.current=a)}}),[n,null==t?void 0:t.document.activeElement,s,r]),[s]}(i,p,o)[0],h=vf(i,c),g=h[0],m=h[1],v=h[2],y=h[3],b=function(e){var t=e.delayUpdateFocusOnHover,r=e.hidden,n=a.useRef(!t),i=a.useRef(!1);a.useEffect((function(){n.current=!t,i.current=!r&&!t&&i.current}),[t,r]);var o=a.useCallback((function(){t&&(n.current=!1)}),[t]);return[n,i,o]}(i),w=b[0],S=b[1],C=b[2],A=function(e){var t=a.useRef(!0),r=a.useRef();return[function(){t.current||void 0===r.current?t.current=!1:(e.clearTimeout(r.current),r.current=void 0),r.current=e.setTimeout((function(){t.current=!0}),250)},t]}(s),x=A[0],k=A[1],E=function(e,t){var r=e.subMenuHoverDelay,n=void 0===r?250:r,i=a.useRef(void 0),o=function(){void 0!==i.current&&(t.clearTimeout(i.current),i.current=void 0)};return[o,function(e){i.current=t.setTimeout((function(){e(),o()}),n)},i]}(i,s),_=E[0],I=E[1],T=E[2],B=function(e,t){var r=a.useState(sf()),n=r[0],i=r[1],o=a.useCallback((function(){var t=function(e){var t=Qp.small;if(!e)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");try{for(;lf(e)>af[t];)t++}catch(e){t=sf()}return of=t,t}((0,P.z)(e.current));n!==t&&i(t)}),[e,n]);return zd(Ml(),"resize",o),a.useEffect((function(){void 0===t&&o()}),[t]),null!=t?t:n}(o,i.responsiveMode);!function(e){var t=e.hidden,r=void 0!==t&&t,n=e.onMenuDismissed,i=e.onMenuOpened,o=Wp(r),s=a.useRef(i),l=a.useRef(n),c=a.useRef(e);s.current=i,l.current=n,c.current=e,a.useEffect((function(){var e,t;r&&!1===o?null===(e=l.current)||void 0===e||e.call(l,c.current):r||!1===o||null===(t=s.current)||void 0===t||t.call(s,c.current)}),[r,o]),a.useEffect((function(){return function(){var e;return null===(e=l.current)||void 0===e?void 0:e.call(l,c.current)}}),[])}(i);var D,N=function(e,t,r,n){var i=e.theme,o=e.isSubMenu,s=e.focusZoneProps,l=void 0===s?{}:s,c=l.checkForNoWrap,u=l.direction,d=void 0===u?mu.vertical:u,p=a.useRef(),f=function(e,r,n){var i=!1;return r(e)&&(t(e,n),e.preventDefault(),e.stopPropagation(),i=!0),i},h=function(e){return 27===e.which||function(e){var t=(0,Pu.jI)(i)?39:37;return!(e.which!==t||!o||d!==mu.vertical&&(!c||Eu(e.target,"data-no-horizontal-wrap")))}(e)||38===e.which&&(e.altKey||e.metaKey)},g=function(e){p.current=bf(e);var t=27===e.which&&(Ku()||Ju());return f(e,h,t)},m=function(e){var t=p.current&&bf(e);return p.current=!1,!!t&&!(Ju()||Ku())};return[g,function(e){return f(e,m,!0)},function(e){if(!g(e)&&r.current){var t=!(!e.altKey&&!e.metaKey),n=38===e.which,i=e.which===pc;if(!t&&(n||i)){var o=n?bu(r.current,r.current.lastChild,!0,!1,!0,!0,void 0,void 0,void 0):(a=r.current,s=r.current.firstChild,wu(a,s,!0,!1,!1,!0,void 0,void 0,void 0,void 0));o&&(o.focus(),e.preventDefault(),e.stopPropagation())}}var a,s},function(e,t){var r=(0,Pu.jI)(i)?37:39;e.disabled||t.which!==r&&t.which!==dc&&(t.which!==pc||!t.altKey&&!t.metaKey)||(n(e,t.currentTarget),t.preventDefault())}]}(i,c,o,m),R=N[0],O=N[1],z=N[2],M=N[3],F=function(e,t,r,n,i,o,a,s,l,c,u,d,p){var f=e.target,h=function(){return!t.current||!o.current},g=function(e,t,r){var n=r||t.currentTarget;e.key!==a&&(c(),void 0===a&&n.focus(),td(e)?(t.stopPropagation(),l((function(){n.focus(),u(e,n,!0)}))):l((function(){d(t),n.focus()})))},m=function(t,r,n){var i=hf(t,{target:f});if(c(),td(t)||i&&i.length){if(t.key!==a){var o="boolean"==typeof e.shouldFocusOnContainer?e.shouldFocusOnContainer:"mouse"===r.nativeEvent.pointerType;u(t,n,o)}}else v(t,r);r.stopPropagation(),r.preventDefault()},v=function(t,r){if(!t.disabled&&!t.isDisabled){t.preferMenuTargetAsEventTarget&&xf(r,f);var n=!1;t.onClick?n=!!t.onClick(r,t):e.onItemClick&&(n=!!e.onItemClick(r,t)),!n&&r.defaultPrevented||p(r,!0)}};return[function(e,t,r){i.current&&(o.current=!0),h()||g(e,t,r)},function(e,a,s){var l=a.currentTarget;i.current&&(o.current=!0,t.current&&void 0===r.current&&l!==(null==n?void 0:n.document.activeElement)&&g(e,a,s))},function(e,t){var r;if(!h()&&(c(),void 0===a))if(s.current.setActive)try{s.current.setActive()}catch(e){}else null===(r=s.current)||void 0===r||r.focus()},function(e,t){m(e,t,t.currentTarget)},function(e,t){v(e,t),t.stopPropagation()},v,m]}(i,k,T,p,w,S,g,o,I,_,m,y,c),L=F[0],j=F[1],V=F[2],H=F[3],q=F[4],U=F[5],$=F[6],W=function(e,t,r){var n=0,i=e.items,o=e.totalItemCount,s=e.hasCheckmarks,l=e.hasIcons;return a.createElement("ul",{className:t.list,onKeyDown:R,onKeyUp:O,role:"presentation"},i.map((function(e,r){var i=G(e,r,n,o,s,l,t);if(e.itemType!==fu.Divider&&e.itemType!==fu.Header){var a=e.customOnRenderListLength?e.customOnRenderListLength:1;n+=a}return i})))},G=function(e,t,r,n,o,s,l){var c,u,d=[],p=e.iconProps||{iconName:"None"},f=e.getItemClassNames,h=e.itemProps,m=h?h.styles:void 0,v=e.itemType===fu.Divider?e.className:void 0,y=e.submenuIconProps?e.submenuIconProps.className:"";if(f)u=f(i.theme,rd(e),g===e.key,!!ed(e),!!e.href,"None"!==p.iconName,e.className,v,p.className,y,e.primaryDisabled);else{var b={theme:i.theme,disabled:rd(e),expanded:g===e.key,checked:!!ed(e),isAnchorLink:!!e.href,knownIcon:"None"!==p.iconName,itemClassName:e.className,dividerClassName:v,iconClassName:p.className,subMenuClassName:y,primaryDisabled:e.primaryDisabled};u=df(mf(null===(c=l.subComponentStyles)||void 0===c?void 0:c.menuItem,m),b)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=fu.Divider),e.itemType){case fu.Divider:d.push(Y(t,u));break;case fu.Header:d.push(Y(t,u));var w=Z(e,u,l,t,o,s);d.push(X(w,e.key||t,u,e.title));break;case fu.Section:d.push(K(e,u,l,t,o,s));break;default:var S=function(){return J(e,u,t,r,n,o,s)},C=i.onRenderContextualMenuItem?i.onRenderContextualMenuItem(e,S):S();d.push(X(C,e.key||t,u,e.title))}return a.createElement(a.Fragment,{key:e.key},d)},K=function(e,t,r,n,i,o){var s=e.sectionProps;if(s){var c,u;if(s.title){var d=void 0,p="";if("string"==typeof s.title){var f=l+s.title.replace(/\s/g,"");d={key:"section-".concat(s.title,"-title"),itemType:fu.Header,text:s.title,id:f},p=f}else{var h=s.title.id||l+s.title.key.replace(/\s/g,"");d=(0,$r.__assign)((0,$r.__assign)({},s.title),{id:h}),p=h}d&&(u={role:"group","aria-labelledby":p},c=Z(d,t,r,n,i,o))}if(s.items&&s.items.length>0){var g=0;return a.createElement("li",{role:"presentation",key:s.key||e.key||"section-".concat(n)},a.createElement("div",(0,$r.__assign)({},u),a.createElement("ul",{className:r.list,role:"presentation"},s.topDivider&&Y(n,t,!0,!0),c&&X(c,e.key||n,t,e.title),s.items.map((function(e,t){var n=G(e,t,g,ff(s.items),i,o,r);if(e.itemType!==fu.Divider&&e.itemType!==fu.Header){var a=e.customOnRenderListLength?e.customOnRenderListLength:1;g+=a}return n})),s.bottomDivider&&Y(n,t,!1,!0))))}}},X=function(e,t,r,n){return a.createElement("li",{role:"presentation",title:n,key:t,className:r.item},e)},Y=function(e,t,r,n){return n||e>0?a.createElement("li",{role:"separator",key:"separator-"+e+(void 0===r?"":r?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},J=function(e,t,r,n,o,s,l){if(e.onRender)return e.onRender((0,$r.__assign)({"aria-posinset":n+1,"aria-setsize":o},e),c);var u={item:e,classNames:t,index:r,focusableElementIndex:n,totalItemCount:o,hasCheckmarks:s,hasIcons:l,contextualMenuItemAs:i.contextualMenuItemAs,onItemMouseEnter:L,onItemMouseLeave:V,onItemMouseMove:j,onItemMouseDown:wf,executeItemClick:U,onItemKeyDown:M,expandedMenuItemKey:g,openSubMenu:m,dismissSubMenu:y,dismissMenu:c};if(e.href){var d=Yp;return e.contextualMenuItemWrapperAs&&(d=Qu(e.contextualMenuItemWrapperAs,d)),a.createElement(d,(0,$r.__assign)({},u,{onItemClick:q}))}if(e.split&&td(e)){var p=tf;return e.contextualMenuItemWrapperAs&&(p=Qu(e.contextualMenuItemWrapperAs,p)),a.createElement(p,(0,$r.__assign)({},u,{onItemClick:H,onItemClickBase:$,onTap:_}))}var f=rf;return e.contextualMenuItemWrapperAs&&(f=Qu(e.contextualMenuItemWrapperAs,f)),a.createElement(f,(0,$r.__assign)({},u,{onItemClick:H,onItemClickBase:$}))},Z=function(e,t,r,n,o,s){var l=Up;e.contextualMenuItemAs&&(l=Qu(e.contextualMenuItemAs,l)),i.contextualMenuItemAs&&(l=Qu(i.contextualMenuItemAs,l));var c=e.itemProps,u=e.id,d=c&&(0,ic.G1)(c,ic.JM);return a.createElement("div",(0,$r.__assign)({id:u,className:r.header},d,{style:e.style}),a.createElement(l,(0,$r.__assign)({item:e,classNames:t,index:n,onCheckmarkClick:o?H:void 0,hasIcons:s},c)))},Q=i.isBeakVisible,ee=i.items,te=i.labelElementId,re=i.id,ne=i.className,ie=i.beakWidth,oe=i.directionalHint,ae=i.directionalHintForRTL,se=i.alignTargetEdge,le=i.gapSpace,ce=i.coverTarget,ue=i.ariaLabel,de=i.doNotLayer,pe=i.target,fe=i.bounds,he=i.useTargetWidth,ge=i.useTargetAsMinWidth,me=i.directionalHintFixed,ve=i.shouldFocusOnMount,ye=i.shouldFocusOnContainer,be=i.title,we=i.styles,Se=i.theme,Ce=i.calloutProps,Ae=i.onRenderSubMenu,xe=void 0===Ae?Sf:Ae,ke=i.onRenderMenuList,Ee=void 0===ke?function(e,t){return W(e,Pe)}:ke,_e=i.focusZoneProps,Ie=i.getMenuClassNames,Pe=Ie?Ie(Se,ne):uf(we,{theme:Se,className:ne}),Te=function e(t){for(var r=0,n=t;r<n.length;r++){var i=n[r];if(i.iconProps)return!0;if(i.itemType===fu.Section&&i.sectionProps&&e(i.sectionProps.items))return!0}return!1}(ee),Be=(0,$r.__assign)((0,$r.__assign)({direction:mu.vertical,handleTabKey:1,isCircularNavigation:!0,"data-tabster":'{"uncontrolled": {}, "focusable": { "excludeFromMover": true }}'},_e),{className:(0,Ol.A)(Pe.root,null===(r=i.focusZoneProps)||void 0===r?void 0:r.className)}),De=function(e){return e.some((function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some((function(e){return!0===e.canCheck})))}))}(ee),Ne=g&&!0!==i.hidden?v():null;Q=void 0===Q?B<=Qp.medium:Q;var Re=d.current;if((he||ge)&&Re&&Re.offsetWidth){var Oe=Re.getBoundingClientRect().width-2;he?D={width:Oe}:ge&&(D={minWidth:Oe})}if(ee&&ee.length>0){var ze=ff(ee),Me=Pe.subComponentStyles?Pe.subComponentStyles.callout:void 0;return a.createElement(cf.Consumer,null,(function(e){return a.createElement(kp,(0,$r.__assign)({styles:Me,onRestoreFocus:f},Ce,{target:pe||e.target,isBeakVisible:Q,beakWidth:ie,directionalHint:oe,directionalHintForRTL:ae,gapSpace:le,coverTarget:ce,doNotLayer:de,className:(0,Ol.A)("ms-ContextualMenu-Callout",Ce&&Ce.className),setInitialFocus:ve,onDismiss:i.onDismiss||e.onDismiss,onScroll:x,bounds:fe,directionalHintFixed:me,alignTargetEdge:se,hidden:i.hidden||e.hidden,ref:t}),a.createElement("div",{style:D,ref:o,id:re,className:Pe.container,tabIndex:ye?0:-1,onKeyDown:z,onKeyUp:O,onFocusCapture:C,"aria-label":ue,"aria-labelledby":te,role:"menu"},be&&a.createElement("div",{className:Pe.title}," ",be," "),ee&&ee.length?function(e,t){var r=i.focusZoneAs,n=void 0===r?Gu:r;return a.createElement(n,(0,$r.__assign)({},t),e)}(Ee({ariaLabel:ue,items:ee,totalItemCount:ze,hasCheckmarks:De,hasIcons:Te,defaultMenuItemRenderer:function(e){return function(e,t){var r=e.index,n=e.focusableElementIndex,i=e.totalItemCount,o=e.hasCheckmarks,a=e.hasIcons;return G(e,r,n,i,o,a,t)}(e,Pe)},labelElementId:te},(function(e,t){return W(e,Pe)})),Be):null,Ne&&xe(Ne,Sf)),a.createElement(Sc,null))}))}return null})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||ac(e,t)}));function bf(e){return 18===e.which||"Meta"===e.key}function wf(e,t){var r;null===(r=e.onMouseDown)||void 0===r||r.call(e,e,t)}function Sf(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function Cf(e,t){for(var r=0,n=t;r<n.length;r++){var i=n[r];if(i.itemType===fu.Section&&i.sectionProps){var o=Cf(e,i.sectionProps.items);if(o)return o}else if(i.key&&i.key===e)return i}}function Af(e,t){return e?function(r,n){return xf(r,t),e(r,n)}:e}function xf(e,t){e&&t&&(e.persist(),t instanceof Event?e.target=t.target:t instanceof Element&&(e.target=t))}yf.displayName="ContextualMenuBase";var kf={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function Ef(e){return a.createElement(_f,(0,$r.__assign)({},e))}var _f=(0,nu.I)(yf,(function(e){var t=e.className,r=e.theme,n=(0,c.Km)(kf,r),i=r.fonts,o=r.semanticColors,a=r.effects;return{root:[r.fonts.medium,n.root,n.isopen,{backgroundColor:o.menuBackground,minWidth:"180px"},t],container:[n.container,{selectors:{":focus":{outline:0}}}],list:[n.list,n.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[n.header,i.small,{fontWeight:c.BO.semibold,color:o.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:Op,lineHeight:Op,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[n.title,{fontSize:i.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:o.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}}),(function(e){return{onRenderSubMenu:e.onRenderSubMenu?(t=e.onRenderSubMenu,r=Ef,gu(t)(r)):Ef};var t,r}),{scope:"ContextualMenu"}),If=_f;If.displayName="ContextualMenu";var Pf={msButton:"ms-Button",msButtonHasMenu:"ms-Button--hasMenu",msButtonIcon:"ms-Button-icon",msButtonMenuIcon:"ms-Button-menuIcon",msButtonLabel:"ms-Button-label",msButtonDescription:"ms-Button-description",msButtonScreenReaderText:"ms-Button-screenReaderText",msButtonFlexContainer:"ms-Button-flexContainer",msButtonTextContainer:"ms-Button-textContainer"},Tf=(0,Lc.J9)((function(e,t,r,n,i,o,a,s,l,u,d){var p,f,h=(0,c.Km)(Pf,e||{}),g=u&&!d;return(0,c.l8)(t.__shadowConfig__,{root:[h.msButton,t.root,n,l&&["is-checked",t.rootChecked],g&&["is-expanded",t.rootExpanded,(p={},p[":hover .".concat(h.msButtonIcon)]=t.iconExpandedHovered,p[":hover .".concat(h.msButtonMenuIcon)]=t.menuIconExpandedHovered||t.rootExpandedHovered,p[":hover"]=t.rootExpandedHovered,p)],s&&[Pf.msButtonHasMenu,t.rootHasMenu],a&&["is-disabled",t.rootDisabled],!a&&!g&&!l&&(f={":hover":t.rootHovered},f[":hover .".concat(h.msButtonLabel)]=t.labelHovered,f[":hover .".concat(h.msButtonIcon)]=t.iconHovered,f[":hover .".concat(h.msButtonDescription)]=t.descriptionHovered,f[":hover .".concat(h.msButtonMenuIcon)]=t.menuIconHovered,f[":focus"]=t.rootFocused,f[":active"]=t.rootPressed,f[":active .".concat(h.msButtonIcon)]=t.iconPressed,f[":active .".concat(h.msButtonDescription)]=t.descriptionPressed,f[":active .".concat(h.msButtonMenuIcon)]=t.menuIconPressed,f),a&&l&&[t.rootCheckedDisabled],!a&&l&&{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed},r],flexContainer:[h.msButtonFlexContainer,t.flexContainer],textContainer:[h.msButtonTextContainer,t.textContainer],icon:[h.msButtonIcon,i,t.icon,g&&t.iconExpanded,l&&t.iconChecked,a&&t.iconDisabled],label:[h.msButtonLabel,t.label,l&&t.labelChecked,a&&t.labelDisabled],menuIcon:[h.msButtonMenuIcon,o,t.menuIcon,l&&t.menuIconChecked,a&&!d&&t.menuIconDisabled,!a&&!g&&!l&&{":hover":t.menuIconHovered,":active":t.menuIconPressed},g&&["is-expanded",t.menuIconExpanded]],description:[h.msButtonDescription,t.description,l&&t.descriptionChecked,a&&t.descriptionDisabled],screenReaderText:[h.msButtonScreenReaderText,t.screenReaderText]})})),Bf=(0,Lc.J9)((function(e,t,r,n,i){return{root:(0,c.Zq)(e.splitButtonMenuButton,r&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],n&&!t&&[e.splitButtonMenuButtonChecked],i&&!t&&[{":focus":e.splitButtonMenuFocused}]),splitButtonContainer:(0,c.Zq)(e.splitButtonContainer,!t&&n&&[e.splitButtonContainerChecked,{":hover":e.splitButtonContainerCheckedHovered}],!t&&!n&&[{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}],t&&e.splitButtonContainerDisabled),icon:(0,c.Zq)(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&i&&e.splitButtonMenuIcon),flexContainer:(0,c.Zq)(e.splitButtonFlexContainer),divider:(0,c.Zq)("ms-SplitButton-divider",e.splitButtonDivider,(i||t)&&e.splitButtonDividerDisabled)}})),Df=function(e){function t(t){var r=e.call(this,t)||this;return r._buttonElement=a.createRef(),r._splitButtonContainer=a.createRef(),r._mergedRef=Fc(),r._renderedVisibleMenu=!1,r._getMemoizedMenuButtonKeytipProps=(0,Lc.J9)((function(e){return(0,$r.__assign)((0,$r.__assign)({},e),{hasMenu:!0})})),r._onRenderIcon=function(e,t){var n=r.props.iconProps;if(n&&(void 0!==n.iconName||n.imageProps)){var i=n.className,o=n.imageProps,s=(0,$r.__rest)(n,["className","imageProps"]);if(n.styles)return a.createElement(pu,(0,$r.__assign)({className:(0,Ol.A)(r._classNames.icon,i),imageProps:o},s));if(n.iconName)return a.createElement(cu,(0,$r.__assign)({className:(0,Ol.A)(r._classNames.icon,i)},s));if(o)return a.createElement(hu.x,(0,$r.__assign)({className:(0,Ol.A)(r._classNames.icon,i),imageProps:o},s))}return null},r._onRenderTextContents=function(){var e=r.props,t=e.text,n=e.children,i=e.secondaryText,o=void 0===i?r.props.description:i,s=e.onRenderText,l=void 0===s?r._onRenderText:s,c=e.onRenderDescription,u=void 0===c?r._onRenderDescription:c;return t||"string"==typeof n||o?a.createElement("span",{className:r._classNames.textContainer},l(r.props,r._onRenderText),u(r.props,r._onRenderDescription)):[l(r.props,r._onRenderText),u(r.props,r._onRenderDescription)]},r._onRenderText=function(){var e=r.props.text,t=r.props.children;return void 0===e&&"string"==typeof t&&(e=t),r._hasText()?a.createElement("span",{key:r._labelId,className:r._classNames.label,id:r._labelId},e):null},r._onRenderChildren=function(){var e=r.props.children;return"string"==typeof e?null:e},r._onRenderDescription=function(e){var t=e.secondaryText,n=void 0===t?r.props.description:t;return n?a.createElement("span",{key:r._descriptionId,className:r._classNames.description,id:r._descriptionId},n):null},r._onRenderAriaDescription=function(){var e=r.props.ariaDescription;return e?a.createElement("span",{className:r._classNames.screenReaderText,id:r._ariaDescriptionId},e):null},r._onRenderMenuIcon=function(e){var t=r.props.menuIconProps;return a.createElement(cu,(0,$r.__assign)({iconName:"ChevronDown"},t,{className:r._classNames.menuIcon}))},r._onRenderMenu=function(e){var t=r.props.menuAs?Qu(r.props.menuAs,If):If;return a.createElement(t,(0,$r.__assign)({},e))},r._onDismissMenu=function(e){var t=r.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||r._dismissMenu()},r._dismissMenu=function(){r._menuShouldFocusOnMount=void 0,r._menuShouldFocusOnContainer=void 0,r.setState({menuHidden:!0})},r._openMenu=function(e,t){void 0===t&&(t=!0),r.props.menuProps&&(r._menuShouldFocusOnContainer=e,r._menuShouldFocusOnMount=t,r._renderedVisibleMenu=!0,r.setState({menuHidden:!1}))},r._onToggleMenu=function(e){var t=!0;r.props.menuProps&&!1===r.props.menuProps.shouldFocusOnMount&&(t=!1),r.state.menuHidden?r._openMenu(e,t):r._dismissMenu()},r._onSplitContainerFocusCapture=function(e){var t=r._splitButtonContainer.current;!t||e.target&&qc(e.target,t)||t.focus()},r._onSplitButtonPrimaryClick=function(e){r.state.menuHidden||r._dismissMenu();var t=r._processingTouch&&!r.props.toggle;!t&&r.props.onClick?r.props.onClick(e):t&&r._onMenuClick(e)},r._onKeyDown=function(e){!r.props.disabled||e.which!==dc&&32!==e.which?r.props.disabled||(r.props.menuProps?r._onMenuKeyDown(e):void 0!==r.props.onKeyDown&&r.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},r._onKeyUp=function(e){r.props.disabled||void 0===r.props.onKeyUp||r.props.onKeyUp(e)},r._onKeyPress=function(e){r.props.disabled||void 0===r.props.onKeyPress||r.props.onKeyPress(e)},r._onMouseUp=function(e){r.props.disabled||void 0===r.props.onMouseUp||r.props.onMouseUp(e)},r._onMouseDown=function(e){r.props.disabled||void 0===r.props.onMouseDown||r.props.onMouseDown(e)},r._onClick=function(e){r.props.disabled||(r.props.menuProps?r._onMenuClick(e):void 0!==r.props.onClick&&r.props.onClick(e))},r._onSplitButtonContainerKeyDown=function(e){e.which===dc||32===e.which?r._buttonElement.current&&(r._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):r._onMenuKeyDown(e)},r._onMenuKeyDown=function(e){var t;if(!r.props.disabled){r.props.onKeyDown&&r.props.onKeyDown(e);var n=38===e.which,i=e.which===pc;if(!e.defaultPrevented&&r._isValidMenuOpenKey(e)){var o=r.props.onMenuClick;o&&o(e,r.props),r._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}e.which!==dc&&32!==e.which||(0,gc.Fy)(!0,e.target,null===(t=r.context)||void 0===t?void 0:t.registeredProviders),e.altKey||e.metaKey||!n&&!i||!r.state.menuHidden&&r.props.menuProps&&((void 0!==r._menuShouldFocusOnMount?r._menuShouldFocusOnMount:r.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),r._menuShouldFocusOnMount=!0,r.forceUpdate()))}},r._onTouchStart=function(){r._isSplitButton&&r._splitButtonContainer.current&&!("onpointerdown"in r._splitButtonContainer.current)&&r._handleTouchAndPointerEvent()},r._onMenuClick=function(e){var t=r.props,n=t.onMenuClick,i=t.menuProps;n&&n(e,r.props);var o="boolean"==typeof(null==i?void 0:i.shouldFocusOnContainer)?i.shouldFocusOnContainer:"mouse"===e.nativeEvent.pointerType;e.defaultPrevented||(r._onToggleMenu(o),e.preventDefault(),e.stopPropagation())},$c(r),r._async=new Yc(r),r._events=new Zc(r),r.props.split,r._labelId=Gl(),r._descriptionId=Gl(),r._ariaDescriptionId=Gl(),r.state={menuHidden:!0},r}return(0,$r.__extends)(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this.props,r=t.ariaDescription,n=t.ariaLabel,i=t.ariaHidden,o=t.className,a=t.disabled,s=t.allowDisabledFocus,l=t.primaryDisabled,c=t.secondaryText,u=void 0===c?this.props.description:c,d=t.href,p=t.iconProps,f=t.menuIconProps,h=t.styles,g=t.checked,m=t.variantClassName,v=t.theme,y=t.toggle,b=t.getClassNames,w=t.role,S=this.state.menuHidden,C=a||l;this._classNames=b?b(v,o,m,p&&p.className,f&&f.className,C,g,!S,!!this.props.menuProps,this.props.split,!!s):Tf(v,h,o,m,p&&p.className,f&&f.className,C,!!this.props.menuProps,g,!S,this.props.split);var A=this,x=A._ariaDescriptionId,k=A._labelId,E=A._descriptionId,_=!C&&!!d,I=_?"a":"button",P=(0,ic.G1)(sc(_?{}:{type:"button"},this.props.rootProps,this.props),_?ic.t0:ic.uw,["disabled"]),T=n||P["aria-label"],B=void 0;r?B=x:u&&this.props.onRenderDescription!==eu?B=E:P["aria-describedby"]&&(B=P["aria-describedby"]);var D=void 0;P["aria-labelledby"]?D=P["aria-labelledby"]:B&&!T&&(D=this._hasText()?k:void 0);var N=!(!1===this.props["data-is-focusable"]||a&&!s||this._isSplitButton),R="menuitemcheckbox"===w||"checkbox"===w,O=R||!0===y?!!g:void 0,z=sc(P,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:C&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":T,"aria-labelledby":D,"aria-describedby":B,"aria-disabled":C,"data-is-focusable":N})[R?"aria-checked":"aria-pressed"]=O,e));if(i&&(z["aria-hidden"]=!0),this._isSplitButton)return this._onRenderSplitButtonContent(I,z);if(this.props.menuProps){var M=this.props.menuProps.id,F=void 0===M?"".concat(this._labelId,"-menu"):M;sc(z,{"aria-expanded":!S,"aria-controls":S?null:F,"aria-haspopup":!0})}return this._onRenderContent(I,z)},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){var e,t;this._isSplitButton&&this._splitButtonContainer.current?((0,gc.Fy)(!0,void 0,null===(e=this.context)||void 0===e?void 0:e.registeredProviders),this._splitButtonContainer.current.focus()):this._buttonElement.current&&((0,gc.Fy)(!0,void 0,null===(t=this.context)||void 0===t?void 0:t.registeredProviders),this._buttonElement.current.focus())},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var r=this,n=this.props,i=e,o=n.menuIconProps,s=n.menuProps,l=n.onRenderIcon,c=void 0===l?this._onRenderIcon:l,u=n.onRenderAriaDescription,d=void 0===u?this._onRenderAriaDescription:u,p=n.onRenderChildren,f=void 0===p?this._onRenderChildren:p,h=n.onRenderMenu,g=void 0===h?this._onRenderMenu:h,m=n.onRenderMenuIcon,v=void 0===m?this._onRenderMenuIcon:m,y=n.disabled,b=n.keytipProps;b&&s&&(b=this._getMemoizedMenuButtonKeytipProps(b));var w=function(e){return a.createElement(i,(0,$r.__assign)({},t,e),a.createElement("span",{className:r._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},c(n,r._onRenderIcon),r._onRenderTextContents(),d(n,r._onRenderAriaDescription),f(n,r._onRenderChildren),!r._isSplitButton&&(s||o||r.props.onRenderMenuIcon)&&v(r.props,r._onRenderMenuIcon),s&&!s.doNotLayer&&r._shouldRenderMenu()&&g(r._getMenuProps(s),r._onRenderMenu)))},S=b?a.createElement(Xp,{keytipProps:this._isSplitButton?void 0:b,ariaDescribedBy:t["aria-describedby"],disabled:y},(function(e){return w(e)})):w();return s&&s.doNotLayer?a.createElement(a.Fragment,null,S,this._shouldRenderMenu()&&g(this._getMenuProps(s),this._onRenderMenu)):a.createElement(a.Fragment,null,S,a.createElement(Sc,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,r=t.persistMenu,n=t.renderPersistedMenuHiddenOnMount;return!e||!(!r||!this._renderedVisibleMenu&&!n)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._getMenuProps=function(e){var t=this.props.persistMenu,r=this.state.menuHidden;return e.ariaLabel||e.labelElementId||!this._hasText()||(e=(0,$r.__assign)((0,$r.__assign)({},e),{labelElementId:this._labelId})),(0,$r.__assign)((0,$r.__assign)({id:this._labelId+"-menu",directionalHint:4},e),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:t?r:void 0,className:(0,Ol.A)("ms-BaseButton-menuhost",e.className),target:this._isSplitButton?this._splitButtonContainer.current:this._buttonElement.current,onDismiss:this._onDismissMenu})},t.prototype._onRenderSplitButtonContent=function(e,t){var r=this,n=this.props,i=n.styles,o=void 0===i?{}:i,s=n.disabled,l=n.allowDisabledFocus,c=n.checked,u=n.getSplitButtonClassNames,d=n.primaryDisabled,p=n.menuProps,f=n.toggle,h=n.role,g=n.primaryActionButtonProps,m=this.props.keytipProps,v=this.state.menuHidden,y=u?u(!!s,!v,!!c,!!l):o&&Bf(o,!!s,!v,!!c,!!d);sc(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),m&&p&&(m=this._getMemoizedMenuButtonKeytipProps(m));var b=(0,ic.G1)(t,[],["disabled"]);g&&sc(t,g);var w=function(n){return a.createElement("div",(0,$r.__assign)({},b,{"data-ktp-target":n?n["data-ktp-target"]:void 0,role:h||"button","aria-disabled":s,"aria-haspopup":!0,"aria-expanded":!v,"aria-pressed":f?!!c:void 0,"aria-describedby":tu(t["aria-describedby"],n?n["aria-describedby"]:void 0),className:y&&y.splitButtonContainer,onKeyDown:r._onSplitButtonContainerKeyDown,onTouchStart:r._onTouchStart,ref:r._splitButtonContainer,"data-is-focusable":!0,onClick:s||d?void 0:r._onSplitButtonPrimaryClick,tabIndex:!s&&!d||l?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:r._onSplitContainerFocusCapture}),a.createElement("span",{style:{display:"flex",width:"100%"}},r._onRenderContent(e,t),r._onRenderSplitButtonMenuButton(y,n),r._onRenderSplitButtonDivider(y)))};return m?a.createElement(Xp,{keytipProps:m,disabled:s},(function(e){return w(e)})):w()},t.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?a.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}}):null},t.prototype._onRenderSplitButtonMenuButton=function(e,r){var n=this.props,i=n.allowDisabledFocus,o=n.checked,s=n.disabled,l=n.splitButtonMenuProps,c=n.splitButtonAriaLabel,u=n.primaryDisabled,d=this.state.menuHidden,p=this.props.menuIconProps;void 0===p&&(p={iconName:"ChevronDown"});var f=(0,$r.__assign)((0,$r.__assign)({},l),{styles:e,checked:o,disabled:s,allowDisabledFocus:i,onClick:this._onMenuClick,menuProps:void 0,iconProps:(0,$r.__assign)((0,$r.__assign)({},p),{className:this._classNames.menuIcon}),ariaLabel:c,"aria-haspopup":!0,"aria-expanded":!d,"data-is-focusable":!1});return a.createElement(t,(0,$r.__assign)({},f,{"data-ktp-execute-target":r?r["data-ktp-execute-target"]:r,onMouseDown:this._onMouseDown,tabIndex:u&&!i?0:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0,e.state.menuHidden&&e.focus()}),500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&e.which===pc&&(e.altKey||e.metaKey)},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t.contextType=wc,t}(a.Component),Nf=i(1873),Rf=i(6227),Of=i(8853),zf=function(e){var t=e.stylesheetKey,r=e.children,n=(0,Of.A)(),i=n.useAdoptedStylesheetEx,o=n.useMergeStylesRootStylesheets,s=n.useWindow,l=a.useContext(Nu),c=o(),u=s();return i(Nf.P6,l,c,u),i(t,l,c,u),r(!!l)},Mf=(0,Lc.J9)(Nf.HD),Ff=(0,Lc.J9)((function(e,t,r){var n,i=null!==(n=null!=t?t:e)&&void 0!==n?n:{};return i.__shadowConfig__=r,i}));function Lf(e,t,r){return function(n){var i,o=(i=function(i){function o(e){var t=i.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return(0,$r.__extends)(o,i),o.prototype.componentDidMount=function(){ip.X.observe(this._onSettingChanged)},o.prototype.componentWillUnmount=function(){ip.X.unobserve(this._onSettingChanged)},o.prototype.render=function(){var i=this;return a.createElement(zf,{stylesheetKey:e},(function(o){return a.createElement(uc.z.Consumer,null,(function(s){var l,c=ip.X.getSettings(t,e,s.customizations),u=null!==(l=i.context.window)&&void 0!==l?l:(0,P.z)(),d=Mf(e,o,u),p=i.props;if(c.styles&&"function"==typeof c.styles&&(c.styles=c.styles((0,$r.__assign)((0,$r.__assign)({},c),p))),r&&c.styles){if(i._styleCache.default!==c.styles||i._styleCache.component!==p.styles){var f=(0,Rf.T)(c.styles,p.styles);f.__shadowConfig__=d,i._styleCache.default=c.styles,i._styleCache.component=p.styles,i._styleCache.merged=f}return a.createElement(n,(0,$r.__assign)({},c,p,{styles:i._styleCache.merged}))}var h=Ff(c.styles,p.styles,d);return a.createElement(n,(0,$r.__assign)({},c,p,{styles:h}))}))}))},o.prototype._onSettingChanged=function(){this.forceUpdate()},o}(a.Component),i.displayName="Customized"+e,i.contextType=zl,i);return function(e,t){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}(n,o)}}var jf={outline:0},Vf=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},Hf=(0,Lc.J9)((function(e){var t,r,n=e.semanticColors,i=e.effects,o=e.fonts,a=n.buttonBorder,s=n.disabledBackground,l=n.disabledText,u={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[(0,c.gm)(e,{inset:1,highContrastStyle:u,borderColor:"transparent"}),e.fonts.medium,{border:"1px solid "+a,borderRadius:i.roundedCorner2,boxSizing:"border-box",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"0 16px",textDecoration:"none",textAlign:"center",userSelect:"none",":active > span":{position:"relative",left:0,top:0}}],rootDisabled:[(0,c.gm)(e,{inset:1,highContrastStyle:u,borderColor:"transparent"}),{backgroundColor:s,borderColor:s,color:l,cursor:"default",":hover":jf,":focus":jf}],iconDisabled:(t={color:l},t[c.up]={color:"GrayText"},t),menuIconDisabled:(r={color:l},r[c.up]={color:"GrayText"},r),flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:Vf(o.mediumPlus.fontSize),menuIcon:Vf(o.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:c.dX}})),qf=(0,Lc.J9)((function(e,t){var r,n,i,o,a,s,l,u,d,p,f,h,g,m,v,y,b,w=e.effects,S=e.palette,C=e.semanticColors,A={left:-2,top:-2,bottom:-2,right:-2,border:"none"},x={position:"absolute",width:1,right:31,top:8,bottom:8},k={splitButtonContainer:[(0,c.gm)(e,{highContrastStyle:A,inset:2,pointerEvents:"none"}),{display:"inline-flex",".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none",flexGrow:"1"},".ms-Button--primary":(r={borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",flexGrow:"1",":hover":{border:"none"},":active":{border:"none"}},r[c.up]=(0,$r.__assign)((0,$r.__assign)({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},(0,c.Qg)()),{":hover":{backgroundColor:"Highlight",border:"1px solid Highlight",borderRightWidth:"0",color:"HighlightText"},":active":{border:"1px solid Highlight"}}),r),".ms-Button--default + .ms-Button":(n={},n[c.up]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":(0,$r.__assign)({backgroundColor:"HighlightText",color:"Highlight"},(0,c.Qg)())}},n),'.ms-Button--default + .ms-Button[aria-expanded="true"]':(i={},i[c.up]={backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":(0,$r.__assign)({backgroundColor:"HighlightText",color:"Highlight"},(0,c.Qg)())},i),".ms-Button--primary + .ms-Button":(o={border:"none"},o[c.up]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{borderLeftWidth:"0",backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",".ms-Button-menuIcon":(0,$r.__assign)((0,$r.__assign)({},(0,c.Qg)()),{color:"HighlightText"})}},o),'.ms-Button--primary + .ms-Button[aria-expanded="true"]':(a={},a[c.up]=(0,$r.__assign)((0,$r.__assign)({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},(0,c.Qg)()),{".ms-Button-menuIcon":{color:"HighlightText"}}),a),".ms-Button.is-disabled":(s={},s[c.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s)}],splitButtonContainerHovered:{".ms-Button--default.is-disabled":(l={backgroundColor:C.buttonBackgroundDisabled,color:C.buttonTextDisabled},l[c.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},l),".ms-Button--primary.is-disabled":(u={backgroundColor:C.primaryButtonBackgroundDisabled,color:C.primaryButtonTextDisabled},u[c.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},u)},splitButtonContainerChecked:{".ms-Button--primary":(d={},d[c.up]=(0,$r.__assign)({color:"Window",backgroundColor:"WindowText"},(0,c.Qg)()),d)},splitButtonContainerCheckedHovered:{".ms-Button--primary":(p={},p[c.up]=(0,$r.__assign)({color:"Window",backgroundColor:"WindowText"},(0,c.Qg)()),p)},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(f={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:w.roundedCorner2,borderBottomRightRadius:w.roundedCorner2,border:"1px solid ".concat(S.neutralSecondaryAlt),borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},f[c.up]={".ms-Button-menuIcon":{color:"WindowText"}},f),splitButtonDivider:(0,$r.__assign)((0,$r.__assign)({},x),(h={},h[c.up]={backgroundColor:"WindowText"},h)),splitButtonDividerDisabled:(0,$r.__assign)((0,$r.__assign)({},x),(g={},g[c.up]={backgroundColor:"GrayText"},g)),splitButtonMenuButtonDisabled:(m={pointerEvents:"none",border:"none",":hover":{cursor:"default"},".ms-Button--primary":(v={},v[c.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},v),".ms-Button-menuIcon":(y={},y[c.up]={color:"GrayText"},y)},m[c.up]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},m),splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:(b={outline:"none",border:"none"},b[c.up]=(0,$r.__assign)({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},(0,c.Qg)()),b),splitButtonMenuFocused:(0,$r.__assign)({},(0,c.gm)(e,{highContrastStyle:A,inset:2}))};return(0,c.TW)(k,t)})),Uf=(0,Lc.J9)((function(e,t,r,n){var i,o,a,s,l,u,d,p,f,h,g,m,v,y=Hf(e),b=qf(e),w=e.palette,S=e.semanticColors,C={root:[(0,c.gm)(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,(i={minWidth:"40px",backgroundColor:w.white,color:w.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0},i[c.up]={border:"none"},i)],rootHovered:(o={backgroundColor:w.neutralLighter,color:w.neutralDark},o[c.up]={color:"Highlight"},o[".".concat(Pf.msButtonIcon)]={color:w.themeDarkAlt},o[".".concat(Pf.msButtonMenuIcon)]={color:w.neutralPrimary},o),rootPressed:(a={backgroundColor:w.neutralLight,color:w.neutralDark},a[".".concat(Pf.msButtonIcon)]={color:w.themeDark},a[".".concat(Pf.msButtonMenuIcon)]={color:w.neutralPrimary},a),rootChecked:(s={backgroundColor:w.neutralLight,color:w.neutralDark},s[".".concat(Pf.msButtonIcon)]={color:w.themeDark},s[".".concat(Pf.msButtonMenuIcon)]={color:w.neutralPrimary},s),rootCheckedHovered:(l={backgroundColor:w.neutralQuaternaryAlt},l[".".concat(Pf.msButtonIcon)]={color:w.themeDark},l[".".concat(Pf.msButtonMenuIcon)]={color:w.neutralPrimary},l),rootExpanded:(u={backgroundColor:w.neutralLight,color:w.neutralDark},u[".".concat(Pf.msButtonIcon)]={color:w.themeDark},u[".".concat(Pf.msButtonMenuIcon)]={color:w.neutralPrimary},u),rootExpandedHovered:{backgroundColor:w.neutralQuaternaryAlt},rootDisabled:(d={backgroundColor:w.white},d[".".concat(Pf.msButtonIcon)]=(p={color:S.disabledBodySubtext},p[c.up]=(0,$r.__assign)({color:"GrayText"},(0,c.Qg)()),p),d[c.up]=(0,$r.__assign)({color:"GrayText",backgroundColor:"Window"},(0,c.Qg)()),d),splitButtonContainer:(f={height:"100%"},f[c.up]={border:"none"},f),splitButtonDividerDisabled:(h={},h[c.up]={backgroundColor:"Window"},h),splitButtonDivider:{backgroundColor:w.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:w.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:w.neutralSecondary,":hover":(g={backgroundColor:w.neutralLighter,color:w.neutralDark},g[c.up]={color:"Highlight"},g[".".concat(Pf.msButtonIcon)]={color:w.neutralPrimary},g),":active":(m={backgroundColor:w.neutralLight},m[".".concat(Pf.msButtonIcon)]={color:w.neutralPrimary},m)},splitButtonMenuButtonDisabled:(v={backgroundColor:w.white},v[c.up]=(0,$r.__assign)({color:"GrayText",border:"none",backgroundColor:"Window"},(0,c.Qg)()),v),splitButtonMenuButtonChecked:{backgroundColor:w.neutralLight,color:w.neutralDark,":hover":{backgroundColor:w.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:w.neutralLight,color:w.black,":hover":{backgroundColor:w.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:w.neutralPrimary},splitButtonMenuIconDisabled:{color:w.neutralTertiary},label:{fontWeight:"normal"},icon:{color:w.themePrimary},menuIcon:{color:w.neutralSecondary}};return(0,c.TW)(y,b,C,t)})),$f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,$r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,r=e.theme;return a.createElement(Df,(0,$r.__assign)({},this.props,{variantClassName:"ms-Button--commandBar",styles:Uf(r,t),onRenderDescription:eu}))},(0,$r.__decorate)([Lf("CommandBarButton",["theme","styles"],!0)],t)}(a.Component),Wf=function(e,t,r){for(var n=0,i=e;n<i.length;n++){var o=i[n];r[t.register(o,!0)]=o}},Gf=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];e.unregister(t[i],i,!0),delete t[i]}},Kf=function(e){var t=Gp.getInstance(),r=e.className,n=e.overflowItems,i=e.keytipSequences,o=e.itemSubMenuProvider,s=e.onRenderOverflowButton,l=jd({}),c=a.useCallback((function(e){return o?o(e):e.subMenuProps?e.subMenuProps.items:void 0}),[o]),u=a.useMemo((function(){var e=[],r=[];return i?null==n||n.forEach((function(n){var o,a=n.keytipProps;if(a){var s={content:a.content,keySequences:a.keySequences,disabled:a.disabled||!(!n.disabled&&!n.isDisabled),hasDynamicChildren:a.hasDynamicChildren,hasMenu:a.hasMenu};a.hasDynamicChildren||c(n)?(s.onExecute=t.menuExecute.bind(t,i,null===(o=null==n?void 0:n.keytipProps)||void 0===o?void 0:o.keySequences),s.hasOverflowSubMenu=!0):s.onExecute=a.onExecute,e.push(s);var l=(0,$r.__assign)((0,$r.__assign)({},n),{keytipProps:(0,$r.__assign)((0,$r.__assign)({},a),{overflowSetSequence:i})});null==r||r.push(l)}else null==r||r.push(n)})):r=n,{modifiedOverflowItems:r,keytipsToRegister:e}}),[n,c,t,i]),d=u.modifiedOverflowItems;return function(e,t,r){var n=Wp(e);a.useEffect((function(){n&&(Gf(r,n),Wf(t,r,e))})),a.useEffect((function(){return Wf(t,r,e),function(){Gf(r,e)}}),[])}(l,u.keytipsToRegister,t),a.createElement("div",{className:r},s(d))},Xf=(0,au.Z)(),Yf=a.forwardRef((function(e,t){var r=a.useRef(null),n=(0,Bc.a)(r,t);!function(e,t){var r=function(){var e;return null!==(e=Fl())&&void 0!==e?e:"undefined"!=typeof document?document:void 0}();a.useImperativeHandle(e.componentRef,(function(){return{focus:function(e,r){var n=!1;return t.current&&(n=yu(t.current,r)),n},focusElement:function(e){var n=!1;return!!e&&(t.current&&vu(t.current,e)&&(e.focus(),n=(null==r?void 0:r.activeElement)===e),n)}}}),[t,r])}(e,r);var i=e.items,o=e.overflowItems,s=e.className,l=e.styles,c=e.vertical,u=e.role,d=e.overflowSide,p=void 0===d?"end":d,f=e.onRenderItem,h=Xf(l,{className:s,vertical:c}),g=!!o&&o.length>0;return a.createElement("div",(0,$r.__assign)({},(0,ic.G1)(e,ic.JM),{role:u||"group","aria-orientation":"menubar"===u?!0===c?"vertical":"horizontal":void 0,className:h.root,ref:n}),"start"===p&&g&&a.createElement(Kf,(0,$r.__assign)({},e,{className:h.overflowButton})),i&&i.map((function(e,t){return a.createElement("div",{className:h.item,key:e.key,role:"none"},f(e))})),"end"===p&&g&&a.createElement(Kf,(0,$r.__assign)({},e,{className:h.overflowButton})))}));Yf.displayName="OverflowSet";var Jf,Zf={flexShrink:0,display:"inherit"},Qf=(0,nu.I)(Yf,(function(e){var t=e.className;return{root:["ms-OverflowSet",{position:"relative",display:"flex",flexWrap:"nowrap"},e.vertical&&{flexDirection:"column"},t],item:["ms-OverflowSet-item",Zf],overflowButton:["ms-OverflowSet-overflowButton",Zf]}}),void 0,{scope:"OverflowSet"});!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(Jf||(Jf={}));var eh=function(e){var t;void 0===e&&(t={},e={getCachedMeasurement:function(e){if(e&&e.cacheKey&&t.hasOwnProperty(e.cacheKey))return t[e.cacheKey]},addMeasurementToCache:function(e,r){e.cacheKey&&(t[e.cacheKey]=r)}});var r,n=e;function i(e,t){var r=n.getCachedMeasurement(e);if(void 0!==r)return r;var i=t();return n.addMeasurementToCache(e,i),i}function o(e,t,o){for(var a=e,s=i(e,o);s>r;){var l=t(a);if(void 0===l)return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(s=n.getCachedMeasurement(l)))return{dataToMeasure:l,resizeDirection:"shrink"};a=l}return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,t,a,s){if(void 0!==s||void 0!==t.dataToMeasure){if(s){if(r&&t.renderedData&&!t.dataToMeasure)return(0,$r.__assign)((0,$r.__assign)({},t),function(e,t,n,i){var o;return o=e>r?i?{resizeDirection:"grow",dataToMeasure:i(n)}:{resizeDirection:"shrink",dataToMeasure:t}:{resizeDirection:"shrink",dataToMeasure:n},r=e,(0,$r.__assign)((0,$r.__assign)({},o),{measureContainer:!1})}(s,e.data,t.renderedData,e.onGrowData));r=s}var l=(0,$r.__assign)((0,$r.__assign)({},t),{measureContainer:!1});return t.dataToMeasure&&(l="grow"===t.resizeDirection&&e.onGrowData?(0,$r.__assign)((0,$r.__assign)({},l),function(e,t,a,s){for(var l=e,c=i(e,a);c<r;){var u=t(l);if(void 0===u)return{renderedData:l,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(c=n.getCachedMeasurement(u)))return{dataToMeasure:u};l=u}return(0,$r.__assign)({resizeDirection:"shrink"},o(l,s,a))}(t.dataToMeasure,e.onGrowData,a,e.onReduceData)):(0,$r.__assign)((0,$r.__assign)({},l),o(t.dataToMeasure,e.onReduceData,a))),l}},shouldRenderDataForMeasurement:function(e){return!(!e||void 0!==n.getCachedMeasurement(e))},getInitialResizeGroupState:function(e){return{dataToMeasure:(0,$r.__assign)({},e),resizeDirection:"grow",measureContainer:!0}}}},th=a.createContext({isMeasured:!1}),rh={position:"fixed",visibility:"hidden"},nh={position:"relative"};function ih(e,t){var r;switch(t.type){case"resizeData":return(0,$r.__assign)({},t.value);case"dataToMeasure":return(0,$r.__assign)((0,$r.__assign)({},e),{dataToMeasure:t.value,resizeDirection:"grow",measureContainer:!0});default:return(0,$r.__assign)((0,$r.__assign)({},e),((r={})[t.type]=t.value,r))}}var oh={isMeasured:!0},ah=a.forwardRef((function(e,t){var r=a.useRef(null),n=(0,Bc.a)(r,t),i=function(e,t){var r=jd(eh),n=a.useRef(null),i=a.useRef(null),o=a.useRef(!1),s=Od(),l=function(e,t,r){var n=jd((function(){return t.getInitialResizeGroupState(e.data)})),i=a.useReducer(ih,n),o=i[0],s=i[1];a.useEffect((function(){s({type:"dataToMeasure",value:e.data})}),[e.data]);var l=a.useRef(n);return l.current=(0,$r.__assign)({},o),[l,a.useCallback((function(e){e&&s({type:"resizeData",value:e})}),[]),a.useCallback((function(){r.current&&s({type:"measureContainer",value:!0})}),[r])]}(e,r,t),c=l[0],u=l[1],d=l[2];a.useEffect((function(){var t;c.current.renderedData&&(o.current=!0,null===(t=e.dataDidRender)||void 0===t||t.call(e,c.current.renderedData))})),a.useEffect((function(){s.requestAnimationFrame((function(){var a=void 0;if(c.current.measureContainer&&t.current){var s=t.current.getBoundingClientRect();a=e.direction===Jf.vertical?s.height:s.width}var l=r.getNextState(e,c.current,(function(){var t=o.current?i:n;if(!t.current)return 0;var r=t.current.getBoundingClientRect();return e.direction===Jf.vertical?r.height:r.width}),a);u(l)}),t.current)})),zd(Ml(),"resize",s.debounce(d,16,{leading:!0}));var p=r.shouldRenderDataForMeasurement(c.current.dataToMeasure),f=!o.current&&p;return[c.current.dataToMeasure,c.current.renderedData,d,n,i,p,f]}(e,r),o=i[0],s=i[1],l=i[2],c=i[3],u=i[4],d=i[5],p=i[6];a.useImperativeHandle(e.componentRef,(function(){return{remeasure:l}}),[l]);var f=e.className,h=e.onRenderData,g=(0,ic.G1)(e,ic.JM,["data"]);return a.createElement("div",(0,$r.__assign)({},g,{className:f,ref:n}),a.createElement("div",{style:nh},d&&!p&&a.createElement("div",{style:rh,ref:u},a.createElement(th.Provider,{value:oh},h(o))),a.createElement("div",{ref:c,style:p?rh:void 0,"data-automation-id":"visibleContent"},p?h(o):s&&h(s))))}));ah.displayName="ResizeGroupBase";var sh=ah;const lh=e=>`overflow_${e.appId}_${e.overflowTabs.join("_")}`,ch=(0,a.forwardRef)((function({app:e,darkMode:t,webview:r,appLocalizedResources:n,currentTab:i,onSwitchTabs:s},l){const c=(0,a.useMemo)((()=>{const t=e&&Ta(e),r=e&&Da(e).map(((e,t)=>({name:e.name||"Tab",entityId:e.entityId,visible:!0,index:t})))||[],n={appId:t,tabs:r,visibleTabs:r.filter((e=>e.entityId!==i)).map((e=>e.index)),overflowTabs:[]};return n.cacheKey=lh(n),n}),[e,i]);if((0,a.useEffect)((()=>{const e=e=>{if(e?.data&&c.tabs.length>1){const t=c.tabs.findIndex((e=>e.entityId===i));if(e.data.nextTab){const e=t<0||t>=c.tabs.length-1?0:t+1;return void(c.tabs[e]&&s(c.tabs[e].entityId))}if(e.data.previousTab){const e=t<1?c.tabs.length-1:t-1;return void(c.tabs[e]&&s(c.tabs[e].entityId))}}};return r.addEventListener("message",e),()=>{r.removeEventListener("message",e)}}),[r,c,i,s]),c.tabs.length<=1)return(0,o.jsx)("div",{className:Bs.popOutTabButtons});const u=r=>{const n=r,a=n.key===i,l=t?"#ffffff":e&&function(e){return Pa(e)?e.titleDefinition.accentColor:e.accentColor}(e)||"#242424",c=a?l:t?"#666666":"#808080";return(0,o.jsx)($f,{text:n.name,onClick:()=>s(n.key),className:"tabButton",styles:{label:{borderColor:"transparent",borderBottomColor:a?l:void 0,borderStyle:"solid",borderWidth:"2px",padding:"2px 0"},labelHovered:{borderBottomColor:c}}})},d=e=>{if("object"!=typeof e||!e.length)return null;const t={items:e.map((e=>({key:e.key,text:e.name,onClick:()=>s(e.key)})))},r=ls(n,"IDS_APPHOST_MORE_TABS","<numTabs> more").replace("<numTabs>",t.items.length.toString());return(0,o.jsx)($f,{className:"tabButton",text:r,menuProps:t})},p=`${Bs.dialogHeaderText} ${Bs.popOutTabButtons}`;return(0,o.jsx)("div",{className:p,ref:l,children:(0,o.jsx)(sh,{data:c,onGrowData:e=>{const t=e.overflowTabs.shift();if("number"==typeof t)return e.tabs[t]&&(e.tabs[t].visible=!0),e.visibleTabs.push(t),e.cacheKey=lh(e),e},onReduceData:e=>{const t=e.visibleTabs.pop();if("number"==typeof t)return e.tabs[t]&&(e.tabs[t].visible=!1),e.overflowTabs.unshift(t),e.cacheKey=lh(e),e},onRenderData:e=>{const t=e.tabs.filter((e=>e.visible)).map((e=>({key:e.entityId,name:e.name,index:e.index}))),r=e.overflowTabs.flatMap((t=>e.tabs[t]?{key:e.tabs[t].entityId,name:e.tabs[t].name,index:t}:[]));return(0,o.jsx)(Qf,{items:t,overflowItems:r,onRenderItem:u,onRenderOverflowButton:d})}})})})),uh=({app:e,darkMode:t,highContrastMode:r,webview:n,appLocalizedResources:i,currentTab:s,onSwitchTabs:l})=>{const c=(0,a.useRef)(null),u=(0,a.useRef)(null),d=(0,a.useRef)(null),[p,f]=(0,a.useState)(!1);(0,a.useEffect)((()=>{const t=c.current;if(t){const r=new ResizeObserver((()=>{let r;u.current?.querySelectorAll(".tabButton").forEach((e=>{const t=e.getBoundingClientRect();if(!r)return void(r=t);const n=Math.max(r.x+r.width,t.x+t.width),i=Math.max(r.y+r.height,t.y+t.height);r.x=Math.min(r.x,t.x),r.y=Math.min(r.y,t.y),r.width=n-r.x,r.height=i-r.y})),n.postMessage({updatePopOutHeader:{appName:e&&Ba(e),popOutHeader:t.getBoundingClientRect(),closeButton:d.current?.getBoundingClientRect(),tabButtons:r}})}));return r.observe(t),()=>{r.unobserve(t)}}return()=>{}})),(0,a.useEffect)((()=>{const e=e=>{e?.data&&("boolean"!=typeof e.data.isMaximized||f(e.data.isMaximized))};return n.addEventListener("message",e),()=>{n.removeEventListener("message",e)}}),[n]);const h=(0,a.useCallback)((()=>{n.postMessage({closePopOut:!0})}),[n]),g=(0,a.useCallback)((()=>{p?n.postMessage({restorePopOut:!0}):n.postMessage({maximizePopOut:!0})}),[n,p]),m=(0,a.useCallback)((()=>{n.postMessage({minimizePopOut:!0})}),[n]),v=t?`${Bs.dialogHeader} ${Bs.darkMode}`:Bs.dialogHeader;return(0,o.jsxs)("div",{id:"outlookPopOutHeader",ref:c,className:v,children:[(0,o.jsx)(zs,{app:e,darkMode:t,highContrastMode:r}),(0,o.jsx)(ch,{app:e,darkMode:t,webview:n,appLocalizedResources:i,currentTab:s,onSwitchTabs:l,ref:u}),(0,o.jsx)(Xs,{webview:n,ref:d,isMaximized:p,onClose:h,onMaximize:g,onMinimize:m})]})},dh=({children:e,...t})=>{const{darkMode:r}=t,n=t.darkMode?`${Bs.rootContainer} ${Bs.darkMode}`:Bs.rootContainer;return(0,o.jsx)(Dc,{theme:r?zc:void 0,className:Bs.rootContainer,children:(0,o.jsxs)(Nc.q,{theme:r?Rc.C:Oc.o,className:n,children:[(0,o.jsx)(uh,{...t}),(0,o.jsx)("div",{className:Bs.contentContainer,children:e})]})})};var ph=$r.__assign;function fh(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=e;return i.isSlot?0===(r=a.Children.toArray(r)).length?i(t):i((0,$r.__assign)((0,$r.__assign)({},t),{children:r})):a.createElement.apply(s,(0,$r.__spreadArray)([e,t],r,!1))}function hh(e,t){void 0===t&&(t={});var r=t.defaultProp,n=void 0===r?"children":r;return function(t,r,i,o,s){if(a.isValidElement(r))return r;var l=function(e,t){var r,n;return"string"==typeof t||"number"==typeof t||"boolean"==typeof t?((r={})[e]=t,n=r):n=t,n}(n,r),c=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];for(var i={},o=[],a=0,s=r;a<s.length;a++){var l=s[a];o.push(l&&l.className),ph(i,l)}return i.className=(0,Tu.e)([e,o],{rtl:(0,Pu.jI)(t)}),i}(o,s,t,l);if(i){if(i.component){var u=i.component;return a.createElement(u,(0,$r.__assign)({},c))}if(i.render)return i.render(c,e)}return a.createElement(e,(0,$r.__assign)({},c))}}var gh=(0,Lc.J9)((function(e){return hh(e)}));function mh(e,t){var r={},n=e,i=function(e){if(t.hasOwnProperty(e)){var i=function(r){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];if(i.length>0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return function(e,t,r,n,i,o){return void 0!==e.create?e.create(t,r,n,i):gh(e)(t,r,n,i,o)}(t[e],r,n[e],n.slots&&n.slots[e],n._defaultStyles&&n._defaultStyles[e],n.theme)};i.isSlot=!0,r[e]=i}};for(var o in t)i(o);return r}function vh(e,t){void 0===t&&(t={});var r=t.factoryOptions,n=(void 0===r?{}:r).defaultProp,i=function(r){var n,i,o,s,l=(n=t.displayName,i=a.useContext(uc.z),o=t.fields,s=["theme","styles","tokens"],ip.X.getSettings(o||s,n,i.customizations)),u=t.state;u&&(r=(0,$r.__assign)((0,$r.__assign)({},r),u(r)));var d=r.theme||l.theme,p=yh(r,d,t.tokens,l.tokens,r.tokens),f=function(e,t,r){for(var n=[],i=3;i<arguments.length;i++)n[i-3]=arguments[i];return c.TW.apply(void 0,n.map((function(n){return"function"==typeof n?n(e,t,r):n})))}(r,d,p,t.styles,l.styles,r.styles),h=(0,$r.__assign)((0,$r.__assign)({},r),{styles:f,tokens:p,_defaultStyles:f,theme:d});return e(h)};return i.displayName=t.displayName||e.name,n&&(i.create=hh(i,{defaultProp:n})),ph(i,t.statics),i}function yh(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];for(var i={},o=0,a=r;o<a.length;o++){var s=a[o];s&&(s="function"==typeof s?s(e,t):s,Array.isArray(s)&&(s=yh.apply(void 0,(0,$r.__spreadArray)([e,t],s,!1))),ph(i,s))}return i}var bh={root:"ms-StackItem"},wh={start:"flex-start",end:"flex-end"},Sh=function(e,t){return t.spacing.hasOwnProperty(e)?t.spacing[e]:e},Ch=function(e){var t=parseFloat(e),r=isNaN(t)?0:t,n=isNaN(t)?"":t.toString();return{value:r,unit:e.substring(n.toString().length)||"px"}},Ah=function(e,t){if(void 0===e||"number"==typeof e||""===e)return e;var r=e.split(" ");return r.length<2?Sh(e,t):r.reduce((function(e,r){return Sh(e,t)+" "+Sh(r,t)}))},xh={start:"flex-start",end:"flex-end"},kh={root:"ms-Stack",inner:"ms-Stack-inner",child:"ms-Stack-child"},Eh=vh((function(e){var t=e.children,r=(0,ic.G1)(e,ic.vt);return null==t?null:fh(mh(e,{root:"div"}).root,(0,$r.__assign)({},r),t)}),{displayName:"StackItem",styles:function(e,t,r){var n=e.grow,i=e.shrink,o=e.disableShrink,a=e.align,s=e.verticalFill,l=e.order,u=e.className,d=e.basis,p=void 0===d?"auto":d,f=(0,c.Km)(bh,t);return{root:[t.fonts.medium,f.root,{flexBasis:p,margin:r.margin,padding:r.padding,height:s?"100%":"auto",width:"auto"},n&&{flexGrow:!0===n?1:n},(o||!n&&!i)&&{flexShrink:0},i&&!o&&{flexShrink:1},a&&{alignSelf:wh[a]||a},l&&{order:l},u]}}});function _h(e,t){var r=t.disableShrink,n=t.enableScopedSelectors,i=t.doNotRenderFalsyValues,o=a.Children.toArray(e);return a.Children.map(o,(function(e){if(!e)return i?null:e;if(!a.isValidElement(e))return e;if(e.type===a.Fragment)return e.props.children?_h(e.props.children,{disableShrink:r,enableScopedSelectors:n,doNotRenderFalsyValues:i}):null;var t,o=e,s={};(t=e)&&"object"==typeof t&&t.type&&t.type.displayName===Eh.displayName&&(s={shrink:!r});var l=o.props.className;return a.cloneElement(o,(0,$r.__assign)((0,$r.__assign)((0,$r.__assign)((0,$r.__assign)({},s),o.props),l&&{className:l}),n&&{className:(0,Ol.A)(kh.child,l)}))}))}var Ih,Ph,Th=vh((function(e){var t=e.as,r=void 0===t?"div":t,n=e.disableShrink,i=void 0!==n&&n,o=e.doNotRenderFalsyValues,a=void 0!==o&&o,s=e.enableScopedSelectors,l=void 0!==s&&s,c=e.wrap,u=(0,$r.__rest)(e,["as","disableShrink","doNotRenderFalsyValues","enableScopedSelectors","wrap"]),d=nf("stack-inner"),p=_h(e.children,{disableShrink:i,enableScopedSelectors:l,doNotRenderFalsyValues:a}),f=(0,ic.G1)(u,ic.vt),h=mh(e,{root:r,inner:"div"});return fh(h.root,(0,$r.__assign)({},f),c?fh(h.inner,{key:d},p):p)}),{displayName:"Stack",styles:function(e,t,r){var n,i,o,a,s,l,u,d,p,f,h,g,m,v=e.className,y=e.disableShrink,b=e.enableScopedSelectors,w=e.grow,S=e.horizontal,C=e.horizontalAlign,A=e.reversed,x=e.verticalAlign,k=e.verticalFill,E=e.wrap,_=(0,c.Km)(kh,t),I=r&&r.childrenGap?r.childrenGap:e.gap,P=r&&r.maxHeight?r.maxHeight:e.maxHeight,T=r&&r.maxWidth?r.maxWidth:e.maxWidth,B=r&&r.padding?r.padding:e.padding,D=function(e,t){if(void 0===e||""===e)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if("number"==typeof e)return{rowGap:{value:e,unit:"px"},columnGap:{value:e,unit:"px"}};var r=e.split(" ");if(r.length>2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===r.length)return{rowGap:Ch(Sh(r[0],t)),columnGap:Ch(Sh(r[1],t))};var n=Ch(Sh(e,t));return{rowGap:n,columnGap:n}}(I,t),N=D.rowGap,R=D.columnGap,O="".concat(-.5*R.value).concat(R.unit),z="".concat(-.5*N.value).concat(N.unit),M={textOverflow:"ellipsis"},F="> "+(b?"."+kh.child:"*"),L=((n={})["".concat(F,":not(.").concat(bh.root,")")]={flexShrink:0},n);return E?{root:[_.root,{flexWrap:"wrap",maxWidth:T,maxHeight:P,width:"auto",overflow:"visible",height:"100%"},C&&(i={},i[S?"justifyContent":"alignItems"]=xh[C]||C,i),x&&(o={},o[S?"alignItems":"justifyContent"]=xh[x]||x,o),v,{display:"flex"},S&&{height:k?"100%":"auto"}],inner:[_.inner,(a={display:"flex",flexWrap:"wrap",marginLeft:O,marginRight:O,marginTop:z,marginBottom:z,overflow:"visible",boxSizing:"border-box",padding:Ah(B,t),width:0===R.value?"100%":"calc(100% + ".concat(R.value).concat(R.unit,")"),maxWidth:"100vw"},a[F]=(0,$r.__assign)({margin:"".concat(.5*N.value).concat(N.unit," ").concat(.5*R.value).concat(R.unit)},M),a),y&&L,C&&(s={},s[S?"justifyContent":"alignItems"]=xh[C]||C,s),x&&(l={},l[S?"alignItems":"justifyContent"]=xh[x]||x,l),S&&(u={flexDirection:A?"row-reverse":"row",height:0===N.value?"100%":"calc(100% + ".concat(N.value).concat(N.unit,")")},u[F]={maxWidth:0===R.value?"100%":"calc(100% - ".concat(R.value).concat(R.unit,")")},u),!S&&(d={flexDirection:A?"column-reverse":"column",height:"calc(100% + ".concat(N.value).concat(N.unit,")")},d[F]={maxHeight:0===N.value?"100%":"calc(100% - ".concat(N.value).concat(N.unit,")")},d)]}:{root:[_.root,(p={display:"flex",flexDirection:S?A?"row-reverse":"row":A?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:k?"100%":"auto",maxWidth:T,maxHeight:P,padding:Ah(B,t),boxSizing:"border-box"},p[F]=M,p),y&&L,w&&{flexGrow:!0===w?1:w},C&&(f={},f[S?"justifyContent":"alignItems"]=xh[C]||C,f),x&&(h={},h[S?"alignItems":"justifyContent"]=xh[x]||x,h),S&&R.value>0&&(g={},g["".concat(F,A?":not(:last-child)":":not(:first-child)")]={marginLeft:"".concat(R.value).concat(R.unit)},g),!S&&N.value>0&&(m={},m["".concat(F,A?":not(:last-child)":":not(:first-child)")]={marginTop:"".concat(N.value).concat(N.unit)},m),v]}},statics:{Item:Eh}});!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(Ih||(Ih={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(Ph||(Ph={}));var Bh=function(e){function t(t){var r=e.call(this,t)||this;return r.state={isRendered:void 0===(0,P.z)()},r}return(0,$r.__extends)(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout((function(){e.setState({isRendered:!0})}),t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?a.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(a.Component),Dh=(0,au.Z)(),Nh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,$r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.type,r=e.size,n=e.ariaLabel,i=e.ariaLive,o=e.styles,s=e.label,l=e.theme,c=e.className,u=e.labelPosition,d=n,p=(0,ic.G1)(this.props,ic.JM,["size"]),f=r;void 0===f&&void 0!==t&&(f=t===Ph.large?Ih.large:Ih.medium);var h=Dh(o,{theme:l,size:f,className:c,labelPosition:u});return a.createElement("div",(0,$r.__assign)({},p,{className:h.root}),a.createElement("div",{className:h.circle}),s&&a.createElement("div",{className:h.label},s),d&&a.createElement("div",{role:"status","aria-live":i},a.createElement(Bh,null,a.createElement("div",{className:h.screenReaderText},d))))},t.defaultProps={size:Ih.medium,ariaLive:"polite",labelPosition:"bottom"},t}(a.Component),Rh={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},Oh=(0,Lc.J9)((function(){return(0,c.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})})),zh=(0,nu.I)(Nh,(function(e){var t,r=e.theme,n=e.size,i=e.className,o=e.labelPosition,a=r.palette,s=(0,c.Km)(Rh,r);return{root:[s.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===o&&{flexDirection:"column-reverse"},"right"===o&&{flexDirection:"row"},"left"===o&&{flexDirection:"row-reverse"},i],circle:[s.circle,{boxSizing:"border-box",borderRadius:"50%",borderWidth:"1.5px",borderStyle:"solid",borderTopColor:a.themePrimary,borderRightColor:a.themeLight,borderBottomColor:a.themeLight,borderLeftColor:a.themeLight,animationName:Oh(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[c.up]=(0,$r.__assign)({borderTopColor:"Highlight"},(0,c.Qg)()),t)},n===Ih.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],n===Ih.small&&["ms-Spinner--small",{width:16,height:16}],n===Ih.medium&&["ms-Spinner--medium",{width:20,height:20}],n===Ih.large&&["ms-Spinner--large",{width:28,height:28}]],label:[s.label,r.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===o&&{margin:"0 0 8px"},"right"===o&&{margin:"0 0 0 8px"},"left"===o&&{margin:"0 8px 0 0"}],screenReaderText:c.dX}}),void 0,{scope:"Spinner"}),Mh=(0,Lc.J9)((function(e,t,r){var n=Hf(e),i=qf(e),o={root:{minWidth:"80px",minHeight:"32px"},label:{fontWeight:c.BO.semibold}};return(0,c.TW)(n,o,r?function(e){var t,r,n,i,o,a,s,l,u,d=e.palette,p=e.semanticColors;return{root:(t={backgroundColor:p.primaryButtonBackground,border:"1px solid ".concat(p.primaryButtonBackground),color:p.primaryButtonText},t[c.up]=(0,$r.__assign)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},(0,c.Qg)()),t[".".concat(gc.Y2," &:focus, :host(.").concat(gc.Y2,") &:focus")]={":after":{border:"none",outlineColor:d.white}},t),rootHovered:(r={backgroundColor:p.primaryButtonBackgroundHovered,border:"1px solid ".concat(p.primaryButtonBackgroundHovered),color:p.primaryButtonTextHovered},r[c.up]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},r),rootPressed:(n={backgroundColor:p.primaryButtonBackgroundPressed,border:"1px solid ".concat(p.primaryButtonBackgroundPressed),color:p.primaryButtonTextPressed},n[c.up]=(0,$r.__assign)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},(0,c.Qg)()),n),rootExpanded:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootChecked:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootDisabled:(i={color:p.primaryButtonTextDisabled,backgroundColor:p.primaryButtonBackgroundDisabled},i[c.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i),splitButtonContainer:(o={},o[c.up]={border:"none"},o),splitButtonDivider:(0,$r.__assign)((0,$r.__assign)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(a={backgroundColor:d.white},a[c.up]={backgroundColor:"Window"},a)),splitButtonMenuButton:(s={backgroundColor:p.primaryButtonBackground,color:p.primaryButtonText},s[c.up]={backgroundColor:"Canvas"},s[":hover"]=(l={backgroundColor:p.primaryButtonBackgroundHovered},l[c.up]={color:"Highlight"},l),s),splitButtonMenuButtonDisabled:{backgroundColor:p.primaryButtonBackgroundDisabled,":hover":{backgroundColor:p.primaryButtonBackgroundDisabled}},splitButtonMenuButtonChecked:{backgroundColor:p.primaryButtonBackgroundPressed,":hover":{backgroundColor:p.primaryButtonBackgroundPressed}},splitButtonMenuButtonExpanded:{backgroundColor:p.primaryButtonBackgroundPressed,":hover":{backgroundColor:p.primaryButtonBackgroundPressed}},splitButtonMenuIcon:{color:p.primaryButtonText},splitButtonMenuIconDisabled:(u={color:d.neutralTertiary},u[c.up]={color:"GrayText"},u)}}(e):function(e){var t,r,n,i,o,a=e.semanticColors,s=e.palette,l=a.buttonBackground,u=a.buttonBackgroundPressed,d=a.buttonBackgroundHovered,p=a.buttonBackgroundDisabled,f=a.buttonText,h=a.buttonTextHovered,g=a.buttonTextDisabled,m=a.buttonTextChecked,v=a.buttonTextCheckedHovered;return{root:{backgroundColor:l,color:f},rootHovered:(t={backgroundColor:d,color:h},t[c.up]={borderColor:"Highlight",color:"Highlight"},t),rootPressed:{backgroundColor:u,color:m},rootExpanded:{backgroundColor:u,color:m},rootChecked:{backgroundColor:u,color:m},rootCheckedHovered:{backgroundColor:u,color:v},rootDisabled:(r={color:g,backgroundColor:p},r[c.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r),splitButtonContainer:(n={},n[c.up]={border:"none"},n),splitButtonMenuButton:{color:s.white,backgroundColor:"transparent",":hover":(i={backgroundColor:s.neutralLight},i[c.up]={color:"Highlight"},i)},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,":hover":{backgroundColor:a.buttonBackgroundDisabled}},splitButtonDivider:(0,$r.__assign)((0,$r.__assign)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(o={backgroundColor:s.neutralTertiaryAlt},o[c.up]={backgroundColor:"WindowText"},o)),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:s.neutralQuaternaryAlt,":hover":{backgroundColor:s.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:s.neutralQuaternaryAlt,":hover":{backgroundColor:s.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:a.buttonText},splitButtonMenuIconDisabled:{color:a.buttonTextDisabled}}}(e),i,t)})),Fh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,$r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,r=void 0!==t&&t,n=e.styles,i=e.theme;return a.createElement(Df,(0,$r.__assign)({},this.props,{variantClassName:r?"ms-Button--primary":"ms-Button--default",styles:Mh(i,n,r),onRenderDescription:eu}))},(0,$r.__decorate)([Lf("DefaultButton",["theme","styles"],!0)],t)}(a.Component),Lh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,$r.__extends)(t,e),t.prototype.render=function(){return a.createElement(Fh,(0,$r.__assign)({},this.props,{primary:!0,onRenderDescription:eu}))},(0,$r.__decorate)([Lf("PrimaryButton",["theme","styles"],!0)],t)}(a.Component);const jh=({webview:e,appLocalizedResources:t,configService:r,isRemovalPage:n})=>{const[i,s]=(0,a.useState)(!1),[l,c]=(0,a.useState)(!1),[u,d]=(0,a.useState)(!1);(0,a.useEffect)((()=>{const e=e=>{n&&l||s(e)};return r.addCustomEventListener("setValidityState",e),()=>{r.removeCustomEventListener("setValidityState",e)}}),[r,l,n]);const p=(0,a.useCallback)((()=>{d(!0),e.postMessage({submitDialog:{result:"canceled"}})}),[e]),f=(0,a.useCallback)((()=>{d(!0),r.dispatchEvent("settings.save",{data:{}})}),[r]),h=(0,a.useCallback)((()=>{d(!0),r.startRemoveTimer(),r.dispatchEvent("settings.remove",{})}),[r]);return(0,a.useEffect)((()=>{let e=null;return n&&!l&&(e=setTimeout((()=>{s(!0),c(!0)}),5e3)),()=>{null!==e&&clearTimeout(e)}}),[n,l]),(0,o.jsxs)(Th,{horizontal:!0,horizontalAlign:"end",tokens:{childrenGap:16,padding:16},className:Bs.configPageButtonContainer,children:[u?(0,o.jsx)(zh,{}):null,(0,o.jsx)(Fh,{text:ls(t,"IDS_APPHOST_CONFIGPAGE_BACK","Back"),disabled:u,onClick:p,allowDisabledFocus:!0}),n?(0,o.jsx)(Lh,{text:ls(t,"IDS_APPHOST_CONFIGPAGE_REMOVE","Remove"),disabled:u||!i,onClick:h,allowDisabledFocus:!0}):(0,o.jsx)(Lh,{text:ls(t,"IDS_APPHOST_CONFIGPAGE_ADD","Add"),disabled:u||!i,onClick:f,allowDisabledFocus:!0})]})},Vh=({children:e,...t})=>{const r=t.darkMode?`${Bs.rootContainer} ${Bs.darkMode}`:Bs.rootContainer;return(0,o.jsxs)("div",{className:r,children:[(0,o.jsx)(Js,{...t}),(0,o.jsx)("div",{className:Bs.contentContainer,children:e}),(0,o.jsx)(jh,{...t})]})};var Hh=(0,Lc.J9)((function(e,t){var r,n=Hf(e),i=qf(e),o=e.palette,a={root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:(r={color:o.themeDarkAlt,backgroundColor:o.neutralLighter},r[c.up]={borderColor:"Highlight",color:"Highlight"},r),rootHasMenu:{width:"auto"},rootPressed:{color:o.themeDark,backgroundColor:o.neutralLight},rootExpanded:{color:o.themeDark,backgroundColor:o.neutralLight},rootChecked:{color:o.themeDark,backgroundColor:o.neutralLight},rootCheckedHovered:{color:o.themeDark,backgroundColor:o.neutralQuaternaryAlt},rootDisabled:{color:o.neutralTertiaryAlt}};return(0,c.TW)(n,a,i,t)})),qh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,$r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,r=e.theme;return a.createElement(Df,(0,$r.__assign)({},this.props,{variantClassName:"ms-Button--icon",styles:Hh(r,t),onRenderText:eu,onRenderDescription:eu}))},(0,$r.__decorate)([Lf("IconButton",["theme","styles"],!0)],t)}(a.Component);const Uh=({app:e,darkMode:t,highContrastMode:r,webview:n,appLocalizedResources:i,currentTab:a,onSwitchTabs:s,onReload:l,linkService:c,showPermissionMenuItem:u,onShowCurrentAppPermissionsDialog:d})=>{const p=e&&Ta(e),f=ls(i,"IDS_APPHOST_COMMAND_MORE","More"),h=ls(i,"IDS_APPHOST_COMMAND_POPOUTAPP","Pop Out App"),g=ls(i,"IDS_APPHOST_COMMAND_REFRESH","Refresh"),m=ls(i,"IDS_APPHOST_COMMAND_PERMISSIONS","Permissions"),v=ls(i,"IDS_APPHOST_COMMAND_ABOUT","About"),y=ls(i,"IDS_APPHOST_COMMAND_OPENINBROWSER","Open in Browser"),b=ls(i,"IDS_APPHOST_COMMAND_CONTACTSUPPORT","Contact Support"),w={items:[]};if(p){const e={type:"popOutApp",appId:p,entityId:a};w.items.push({key:"popOutApp",text:h,onClick:()=>{n.postMessage({executeDeepLink:e})}}),w.items.push({key:"refresh",text:g,onClick:l});const t={type:"aboutDialog",appId:p};w.items.push({key:"about",text:v,onClick:()=>{n.postMessage({executeDeepLink:t})}})}u&&w.items.push({key:"permissions",text:m,onClick:()=>{d(!0)}});const S=e&&Na(e,a);if(S?.websiteUrl){const e={type:"openInBrowser",websiteUrl:S.websiteUrl};w.items.push({key:"openInBrowser",text:y,onClick:()=>n.postMessage({executeDeepLink:e})})}return c&&w.items.push({key:"contactSupport",text:b,onClick:()=>{c.openLink(Va)}}),(0,o.jsxs)("div",{id:"outlookAppHostHeader",className:Bs.dialogHeader,children:[(0,o.jsx)(zs,{app:e,darkMode:t,highContrastMode:r}),(0,o.jsx)(ch,{app:e,darkMode:t,webview:n,appLocalizedResources:i,currentTab:a,onSwitchTabs:s}),(0,o.jsx)("div",{className:Bs.dialogHeaderRight,children:(0,o.jsx)(qh,{iconProps:{iconName:"More"},onRenderMenuIcon:()=>null,menuProps:w,title:f,ariaLabel:f})})]})},$h=({children:e,...t})=>{const{app:r,darkMode:n}=t,i=r&&!function(e){return(Pa(e)?e.titleDefinition.isFullScreen:e.isFullScreen)||!1}(r),a=t.darkMode?`${Bs.rootContainer} ${Bs.darkMode}`:Bs.rootContainer;return(0,o.jsx)(Dc,{theme:n?zc:void 0,className:Bs.rootContainer,children:(0,o.jsxs)(Nc.q,{theme:n?Rc.C:Oc.o,className:a,children:[i?(0,o.jsx)(Uh,{...t}):null,(0,o.jsx)("div",{className:Bs.contentContainer,children:e})]})})};var Wh=i(7388),Gh=i(795),Kh=i(6827),Xh=i(2376),Yh=i.n(Xh),Jh=i(9688),Zh=i.n(Jh);const Qh=(0,mn.n)({root:{display:"flex",height:"100%",width:"100%",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",rowGap:"1em"},buttonContainer:{marginTop:"2em",display:"flex",rowGap:".5em",flexDirection:"column",alignItems:"center","> button":{width:"100%"}},imageContainer:{width:"auto",maxHeight:"33%"}}),eg=({darkMode:e,offline:t,appLocalizedResources:r,onReload:n})=>{const i=Qh(),a=e?t?Zh():fl():t?Yh():dl(),s=ls(r,"IDS_ERR_CONNECTIVITY","There was a problem reaching this app"),l=t?ls(r,"IDS_ERR_NOINTERNET","You need an internet connection to use this app. Connect to the internet and try again."):ls(r,"IDS_ERR_APPHOST_OTHERERROR","An error occurred. Please try again."),c=ls(r,"IDS_ERR_TRYAGAIN","Retry");return(0,o.jsxs)("div",{id:"hubErrorUi",className:i.root,children:[(0,o.jsx)("div",{className:i.imageContainer,children:(0,o.jsx)(Wh._,{src:a,alt:""})}),(0,o.jsx)(Gh.K,{children:s}),(0,o.jsx)(Kh.j,{children:l}),(0,o.jsx)(gn.$,{appearance:"transparent",icon:(0,o.jsx)(no.CDe,{}),"aria-label":c,onClick:n,children:c})]})};O.AdaptiveCard.onProcessMarkdown=(e,t)=>{t.outputHtml=Ur().render(e),t.didProcess=!0};const tg=(0,a.memo)(R.SW),rg=({webview:e})=>{const[t,r]=(0,a.useState)(void 0),[n,s]=(0,a.useState)(void 0),[l,c]=(0,a.useState)([]),[u,d]=(0,a.useState)(!1),[p,f]=(0,a.useState)(!1),[h,g]=(0,a.useState)("geolocation"),m=(0,a.useRef)((e=>{})),[v,y]=(0,a.useState)(!1),[b,w]=(0,a.useState)(!1),[S,C]=(0,a.useState)(!1),[A,x]=(0,a.useState)(!1),k=t?.dialog,E=t?.appManifest,_=t?t.darkMode:document.body.classList.contains("darkMode"),I=(0,a.useMemo)((()=>E&&function(e){return Pa(e)?(e=>{var t,r,n,i;return{appEligibilityInformation:e.titleDefinition.appEligibilityInformation,composeExtension:void 0!==e.titleDefinition.elementDefinitions.composeExtensions&&e.titleDefinition.elementDefinitions.composeExtensions.length>0?{botId:e.titleDefinition.elementDefinitions.composeExtensions[0].botId,type:Ea(e.titleDefinition.elementDefinitions.composeExtensions[0].composeExtensionType),commands:_a(e)}:void 0,copilotAgents:{customEngineAgents:Ia(e.titleDefinition.elementDefinitions)},connector:void 0!==e.titleDefinition.elementDefinitions.connectors&&e.titleDefinition.elementDefinitions.connectors.length>0?{connectorId:e.titleDefinition.elementDefinitions.connectors[0].connectorId,scopes:e.titleDefinition.elementDefinitions.connectors[0].scopes,configurationUrl:e.titleDefinition.elementDefinitions.connectors[0].configurationUrl}:void 0,devicePermissions:e.titleDefinition.devicePermissions||[],id:e.appId||e.titleId,isFullTrust:null!==(t=e.titleDefinition.isFullTrust)&&void 0!==t&&t,isMicrosoftOwned:null!==(r=e.titleDefinition.isMicrosoftOwned)&&void 0!==r&&r,isLOB:"Tenant"===e.titleDefinition.scope,manifestVersion:e.titleDefinition.manifestVersion,pages:{configurable:(null===(n=e.titleDefinition.elementDefinitions.configurableTabs)||void 0===n?void 0:n.map((e=>({configurationUrl:e.configurationUrl}))))||[],static:(null===(i=e.titleDefinition.elementDefinitions.staticTabs)||void 0===i?void 0:i.filter((e=>e.name&&!ka.includes(e.name))).map((e=>({contentUrl:e.contentUrl,entityId:e.entityId,name:e.name}))))||[]},showLoadingIndicator:e.titleDefinition.showLoadingIndicator||!1,validDomains:e.titleDefinition.validDomains||[],version:e.titleDefinition.version,webApplicationInfo:e.titleDefinition.webApplicationInfo}})(e):(0,na.z)(e)}(E)),[E]),P=(0,a.useCallback)((e=>{m.current(e),w(!1),C(!1)}),[]),T=(0,a.useCallback)((async e=>(g(function(e){switch(e){case N.m.GeoLocation:return"geolocation";case N.m.Media:return"media";case N.m.Midi:return"midi";case N.m.Notifications:return"notifications";case N.m.OpenExternal:return"openExternal";case N.m.DisplayCapture:return"displayCapture";default:throw new Error(`Unhandled DevicePermission: ${e}`)}}(e)),w(!0),new Promise((e=>{m.current=t=>{e(t)}})))),[]);(0,a.useEffect)((()=>{const t=e=>{if(e?.data?.setConfig){const t=e.data.setConfig;t&&t.appManifest&&!Pa(t.appManifest)&&void 0===t.appManifest.appId&&"string"==typeof t.appManifest.id&&(t.appManifest.appId=t.appManifest.id),x(!1),r(t);const n=t.entityId||t.appManifest&&Da(t.appManifest)[0]?.entityId;s(n)}};return e.addEventListener("message",t),e.postMessage({getConfig:!0}),()=>{e.removeEventListener("message",t)}}),[e]),(0,a.useEffect)((()=>{t&&e.postMessage({notifyTabChanged:n})}),[t,e,n]),(0,a.useEffect)((()=>{const t=e=>{if(!e?.data?.onSetWorkOffline)return;const t=e.data.onSetWorkOffline;d(t.offline)};return e.addEventListener("message",t),e.postMessage({getWorkOffline:!0}),()=>{e.removeEventListener("message",t)}}),[e]),(0,a.useEffect)((()=>{t&&document.body.classList.remove("darkMode")}),[t]);const B=(0,a.useRef)(null);(0,a.useEffect)((()=>{let r;if(p&&k?.contentType===ro.card&&k.payload&&t&&B.current){if(B.current.children?.length>0)for(const e of B.current.children)B.current.removeChild(e);r=new O.AdaptiveCard,r.hostConfig=new O.HostConfig(_?_l:El),i(_?6036:2694),r.onExecuteAction=t=>{t instanceof O.SubmitAction||t instanceof O.ExecuteAction?e.postMessage({submitDialog:{result:t.data,appIds:E&&[Ta(E)]}}):t instanceof O.OpenUrlAction&&e.postMessage({actionOpenUrl:t.url})};const t="string"==typeof k.payload?JSON.parse(k.payload):k.payload,n=t.contentType&&t.content?t.content:t;r.parse(n),r.render(B.current)}return()=>{r?.clear()}}),[e,t,k,E,p,_]);const R=(0,a.useRef)(null),z="number"==typeof k?.height?k.height:0,M=E&&n?Na(E,n):void 0,F=function(e,t,r){const n=e?.contentUrl||r?.contentUrl;if(t)return t.contentType===ro.url?t.payload||n:void 0;let i=n;return e?.appManifest&&za(e?.appManifest)&&i&&(-1===i.indexOf("?")?i+="?includeAgents=true":i+="&includeAgents=true"),e?.ripcords?.extensibilityGetApp?n:i}(t,k,M),L=(0,a.useMemo)((()=>({adaptiveCardSchemaVersion:{majorVersion:1,minorVersion:5}})),[]),j=(0,a.useMemo)((()=>({enableSuffixAppendForIframeId:!!t?.ripcords?.lifecycleService})),[t]),V=(0,a.useMemo)((()=>{if(t?.ripcords?.lifecycleService)return{userId:`${t.user.profile.oid}@${t.user.profile.tid}`}}),[t]),H=(0,a.useMemo)((()=>{if(!t)return;const e=F&&new URL(F).origin,r=function(e){return e?.type===to.configuration?D.E2.settings:e?.type===to.removal?D.E2.remove:e?.type===to.task?D.E2.task:D.E2.content}(k),n=function(e,t){return e&&t&&za(t)?D.jA.copilotSidePanel:void 0}(t.sidePane,E);return{app:{locale:t.locale,sessionId:t.sessionId,theme:_?D.BD.dark:D.BD.default,host:{name:D.UH.outlookWin32,clientType:D.WK.desktop,sessionId:t.hostSessionId,version:t.version},userClickTime:t.userClickTime},page:{id:M?.entityId||"",subPageId:t.subEntityId,frameContext:r,renderingSurface:n,sourceOrigin:e},user:{dataResidency:t.dataResidency,tenant:{id:t.user.profile.tid}},chat:t.chatId?{id:t.chatId}:void 0,meeting:t.chatId?{id:btoa("0#"+t.chatId+"#0")}:void 0,sharePointSite:{teamSiteUrl:t.sharePointSite?.teamSiteUrl,teamSiteDomain:t.sharePointSite?.teamSiteDomain,teamSitePath:t.sharePointSite?.teamSitePath,mySiteDomain:t.sharePointSite?.mySiteDomain,mySitePath:t.sharePointSite?.mySitePath}}}),[t,E,F,k,M,_]),{hubServices:q,onReload:U}=kl({webview:e,appConfig:t,entityId:n,dialogHeader:R,appLocalizedResources:l,darkMode:_,contentUrl:F,appContext:H,showRequestDialogAndGetUserResponse:T}),$=(0,a.useCallback)((()=>{E&&q?.devicePermissionService&&q.devicePermissionService.setupDevicePermissions(E)}),[E,q?.devicePermissionService]);let W;(0,a.useEffect)((()=>{const t=e=>{if(e?.data?.setOutlookResource?.OutlookResources?.length){const t=e.data.setOutlookResource.OutlookResources;c([...t])}};return e.addEventListener("message",t),e.postMessage({getOutlookResource:!0}),()=>{e.removeEventListener("message",t)}}),[e]),(0,a.useEffect)((()=>{t?.appManifest&&q?.devicePermissionService&&(q.devicePermissionService.setStorage(t),q.devicePermissionService.setLocalizedResources(l),q.devicePermissionService.setupDevicePermissions(t?.appManifest).then((()=>{x(!0)})).catch((()=>{})))}),[t,q?.devicePermissionService,l]);let G=!1;k?.contentType===ro.card?(W=(0,o.jsx)("div",{id:"outlookAdaptiveCardRoot",ref:B},"outlookAdaptiveCardRoot"),G=!0):W=k?.contentType===ro.message?(0,o.jsx)("div",{className:Bs.imageContainer,children:(0,o.jsx)("div",{className:Bs.dialogMessage,children:k.payload||""})}):k?.contentType===ro.error?(0,o.jsx)("div",{className:Bs.imageContainer,children:(0,o.jsx)("div",{className:Bs.dialogError,children:k.payload||""})}):k?.contentType===ro.loader?(0,o.jsx)(ml,{appLocalizedResources:l}):t&&H&&q&&E&&I&&A&&(t?.ripcords?.extensibilityGetApp||!za(E)||q.externalAppCardActionsService&&q.externalAppChannelService&&q.externalAppInfoService&&q.externalAppCommandsService&&q.mos3TokenGenerationService&&q.externalAppChannelForCEAService&&q.externalAppCardActionsForCEAService&&q.botAuthenticationService&&q.externalAppCardActionsForDAService)?F&&!u&&t.dataResidency?(0,o.jsx)(tg,{hostWindow:window,hubServices:q,appDefinition:I,contentUrl:F,context:H,hostVersionsInfo:L,title:Ba(E),isNAAChannelRecommended:!!t.ripcords?.nestedAppAuth,featureFlags:j,iframeIdSuffix:V}):(0,o.jsx)(eg,{offline:u,darkMode:_,appLocalizedResources:l,onReload:U}):(0,o.jsx)(ml,{appLocalizedResources:l}),p!==G&&f(G);let K=null;return E&&q?.devicePermissionService&&Ra(E)&&(b?K=(0,o.jsx)(Rl,{appName:Ba(E),devicePermissionService:q.devicePermissionService,setShowCurrentAppPermissionsDialog:C,devicePermissionsForApp:q.devicePermissionService.getDevicePermissionsForApp(),devicePermissionsDialogPermissions:q.devicePermissionService.getDevicePermissionsDialogPermissions(),onRefreshDevicePermissions:$,setShowRefreshDialog:y,hideRequestDialog:P,appLocalizedResources:l,onReload:U,children:(0,o.jsx)(Hi,{appId:Ta(E),permissionBeingRequested:h,renderDialogContainerStyles:!0})}):v?K=(0,o.jsx)(Rl,{appName:Ba(E),devicePermissionService:q.devicePermissionService,setShowCurrentAppPermissionsDialog:C,devicePermissionsForApp:q.devicePermissionService.getDevicePermissionsForApp(),devicePermissionsDialogPermissions:q.devicePermissionService.getDevicePermissionsDialogPermissions(),onRefreshDevicePermissions:$,setShowRefreshDialog:y,hideRequestDialog:P,appLocalizedResources:l,onReload:U,children:(0,o.jsx)(Wi,{appId:Ta(E),renderDialogContainerStyles:!0})}):S&&(K=(0,o.jsx)(Rl,{appName:Ba(E),devicePermissionService:q.devicePermissionService,setShowCurrentAppPermissionsDialog:C,devicePermissionsForApp:q.devicePermissionService.getDevicePermissionsForApp(),devicePermissionsDialogPermissions:q.devicePermissionService.getDevicePermissionsDialogPermissions(),onRefreshDevicePermissions:$,setShowRefreshDialog:y,hideRequestDialog:P,appLocalizedResources:l,onReload:U,children:(0,o.jsx)(co,{appId:Ta(E),includeNavigateToInstalledAppsControlText:!1})}))),k?k.type!==to.configuration&&k.type!==to.removal||!q?.pageService?.configService?(0,o.jsxs)(Mc,{app:E,title:k.title,darkMode:_,highContrastMode:t.highContrastMode,webview:e,dialogHeight:z,headerRef:R,children:[K,W]}):(0,o.jsxs)(Vh,{app:E,configService:q.pageService?.configService,darkMode:_,highContrastMode:t.highContrastMode,webview:e,appLocalizedResources:l,dialogHeight:z,headerRef:R,isRemovalPage:k.type===to.removal,children:[K,W]}):t?.popOut?(0,o.jsxs)(dh,{app:E,darkMode:_,highContrastMode:t.highContrastMode,webview:e,appLocalizedResources:l,currentTab:M?.entityId||"",onSwitchTabs:s,children:[K,W]}):(0,o.jsxs)($h,{app:E,darkMode:_,highContrastMode:Boolean(t?.highContrastMode),webview:e,appLocalizedResources:l,currentTab:M?.entityId||"",onSwitchTabs:s,onReload:U,linkService:q?.linkService,showPermissionMenuItem:Boolean(E&&q?.devicePermissionService.showPermissionsMenu()&&Ra(E)),onShowCurrentAppPermissionsDialog:C,children:[K,W]})};var ng=i(9397),ig={};ig.styleTagTransform=Is(),ig.setAttributes=xs(),ig.insert=Cs().bind(null,"head"),ig.domAPI=ws(),ig.insertStyleElement=Es(),ys()(ng.A,ig),ng.A&&ng.A.locals&&ng.A.locals,function(e){var t,r;void 0===e&&(e=(null===(t=null==B?void 0:B.FabricConfig)||void 0===t?void 0:t.iconBaseUrl)||(null===(r=null==B?void 0:B.FabricConfig)||void 0===r?void 0:r.fontBaseUrl)||T),[u,d,p,f,h,g,m,v,y,b,w,S,C,A,x,k,E,_,I].forEach((function(t){return t(e,undefined)})),(0,c.aH)("trash","delete"),(0,c.aH)("onedrive","onedrivelogo"),(0,c.aH)("alertsolid12","eventdatemissed12"),(0,c.aH)("sixpointstar","6pointstar"),(0,c.aH)("twelvepointstar","12pointstar"),(0,c.aH)("toggleon","toggleleft"),(0,c.aH)("toggleoff","toggleright")}(),(0,l.render)((0,o.jsx)((()=>{const e=ba();return e?(0,o.jsx)(rg,{webview:e}):(0,o.jsx)("div",{})}),{}),document.getElementById("outlookAppHostRoot"))})()})();