HMSInsightsAppsContent.react",["CometRelay","GeoBaseSpacingLayout.react","GeoVStack.react","HMSInsightsAppInstalls.react","HMSInsightsAppsContentQuery.graphql","HMSInsightsAppsFilterContainer.react","HMSInsightsAppsHeader.react","HMSInsightsAppsTotal.react","HMSInsightsAppsUsageOverTime.react","HMSInsightsDateRangeSelectorContext.react","HMSInsightsFilterContext.react","HMSInsightsSection.react","HMSInsightsSectionExportContext","HMSInsightsSurfaceContext.react","LocalDate","MWSOnboardingQ4BManageAppsInsightsCard.react","Timezone","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react")),c=s.useMemo;function d(t){var a,i=t.queryRef,l=o("CometRelay").usePreloadedQuery(e!==void 0?e:e=n("HMSInsightsAppsContentQuery.graphql"),i),s=c(function(){var e,t=(e=l.company)==null?void 0:e.first_activation_time,n=r("LocalDate").today(o("Timezone").getEnvironmentTimezoneID()).subtractDays(366);return t!=null?r("LocalDate").fromInstant(t,o("Timezone").getEnvironmentTimezoneID()).max(n):n},[(a=l.company)==null?void 0:a.first_activation_time]),d=l.company.work_accounts.manage_apps_insights_goals[0];return u.jsx(o("HMSInsightsSurfaceContext.react").HMSInsightsSurfaceContextProvider,{surface:"WORK_ACCOUNTS",children:u.jsx(r("HMSInsightsSection.react"),{scimCompanyID:l.company.id,section:"WORK_ACCOUNTS_APPS_INSIGHTS",children:u.jsx(o("HMSInsightsSectionExportContext").HMSInsightsSectionExportContextProvider,{children:u.jsxs(r("GeoBaseSpacingLayout.react"),{align:"stretch",context:"container",direction:"vertical",relation:"unrelated",children:[u.jsx(r("HMSInsightsAppsHeader.react"),{}),d!=null&&r("MWSOnboardingQ4BManageAppsInsightsCard.react")!=null&&u.jsx(r("MWSOnboardingQ4BManageAppsInsightsCard.react"),{companyID:l.company.id,query:d}),l.company.work_accounts.insights_highlights.map(function(e,t){return u.jsx(o("CometRelay").MatchContainer,{match:e,props:{companyId:l.company.id}},t)}),r("HMSInsightsAppInstalls.react")!=null&&u.jsx(r("HMSInsightsAppInstalls.react"),{query:l}),u.jsx(o("HMSInsightsDateRangeSelectorContext.react").HMSInsightsDateRangeSelectorContextProvider,{maxDateRangeDays:90,minDate:s,children:u.jsx(o("HMSInsightsFilterContext.react").HMSInsightsFilterContextProvider,{fields:["WA_H2S_DEVICE_TYPE","WA_H2S_DEVICE_GROUP_ID","WA_H2S_IS_SHARED_MODE"],children:u.jsxs(r("GeoVStack.react"),{context:"component",relation:"related",children:[u.jsx(r("HMSInsightsAppsFilterContainer.react"),{}),u.jsx(r("HMSInsightsAppsTotal.react"),{query:l}),u.jsx(r("HMSInsightsAppsUsageOverTime.react"),{query:l})]})})})]})})})})}d.displayName=d.name+" [from "+i.id+"]",l.default=d}),98);
-----
HMSInsightsAppsContentQuery$Parameters",["HMSInsightsAppsContentQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e={kind:"PreloadableConcreteRequest",params:{id:n("HMSInsightsAppsContentQuery_facebookRelayOperation"),metadata:{},name:"HMSInsightsAppsContentQuery",operationKind:"query",text:null}};a.exports=e}),null);
-----
HMSInsightsAppsContentQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="24991991290470886"}),null);
-----
-----
HMSInsightsAppsContentQuery$Parameters",["HMSInsightsAppsContentQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e={kind:"PreloadableConcreteRequest",params:{id:n("HMSInsightsAppsContentQuery_facebookRelayOperation"),metadata:{},name:"HMSInsightsAppsContentQuery",operationKind:"query",text:null}};a.exports=e}),null);
-----
HMSInsightsAppsContentQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="24991991290470886"}),null);
-----