OCDevManageWorldsMonetizationPurchasesComponent.react",["HorizonWorldsCreatorMonetizationPurchasesInsightsTableDateRangePickerConsts","HzWorldsCreatorWebEventsFalcoEvent","LocalDate","OCDevManageWorldsMonetizationPurchasesComponentQuery.graphql","OCDevManageWorldsMonetizationPurchasesOnboardingEntry.react","react","useOCDevUIQuery"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react")),c=s,d=c.useEffect,m=c.useState,p=e!==void 0?e:e=n("OCDevManageWorldsMonetizationPurchasesComponentQuery.graphql");function _(e){var t=e.existingFinancialEntityID,n=e.organizationID,a=e.pageKey,i=a===void 0?"sales":a,l=e.togetherAppUser,s=m(o("HorizonWorldsCreatorMonetizationPurchasesInsightsTableDateRangePickerConsts").defaultPreset.calculateInterval(r("LocalDate").today(o("HorizonWorldsCreatorMonetizationPurchasesInsightsTableDateRangePickerConsts").timezoneID))),c=s[0],_=s[1],f=m(0),g=f[0],h=f[1];function y(){h(function(e){return e+1})}var C=r("useOCDevUIQuery")(p,{sinceTimestamp:c.start.toInstant(o("HorizonWorldsCreatorMonetizationPurchasesInsightsTableDateRangePickerConsts").timezoneID),togetherAppUserID:l.id,untilTimestamp:c.end.toInstant(o("HorizonWorldsCreatorMonetizationPurchasesInsightsTableDateRangePickerConsts").timezoneID),organizationID:n!=null?n:""},{fetchKey:g,fetchPolicy:"network-only"});return d(function(){return r("HzWorldsCreatorWebEventsFalcoEvent").log(function(){return{event:"MONETIZATION_IWP_TAB_LOAD",status:"success"}})},[]),u.jsx(r("OCDevManageWorldsMonetizationPurchasesOnboardingEntry.react"),{dateRange:c,existingFinancialEntityID:t,fragmentKey:C,fragmentKeyInsights:C,organizationID:n,pageKey:i,setDateRange:_,togetherAppUser:l,onRefetch:y})}_.displayName=_.name+" [from "+i.id+"]",l.default=_}),98);
-----