UnifiedComposerCopyrightCheckV2MatchDetailsDialog.react",["fbt","CPXComposerStrings","GeoButton.react","GeoFlexbox.react","GeoModal.react","GeoModalFooter.react","GeoModalHeader.react","GeoScrollableArea.react","RelayHooks","UnifiedComposerCopyrightCheckV2MatchDetailsDialogCopyrightContentCard.react","UnifiedComposerCopyrightCheckV2MatchDetailsDialogMatchedContentPreview.react","UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery.graphql","UnifiedComposerCopyrightCheckV2Utils","nullthrows","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react")),d=u.useState,m={root:{backgroundColor:"x1nr1our",paddingTop:"xyamay9",paddingInlineEnd:"xv54qhq",paddingBottom:"x1gan7if",paddingInlineStart:"xf7dkkf",height:"x5yr21d",overflowX:"xw2csxc",overflowY:"x1odjw0f",$$css:!0},container:{height:"x5yr21d",maxWidth:"x1ikqzku",$$css:!0},scrollableArea:{height:"x5yr21d",width:"x3hqpx7",paddingRight:"xyfqnmn",paddingInlineStart:null,paddingInlineEnd:null,$$css:!0}},p=e!==void 0?e:e=n("UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery.graphql");function _(e){var t=e.props,n=t.onHide,a=t.videoDurationInSec,i=t.reelOrVideo,l=t.videoPreviewProps,u=t.videoID,_=e.queries,f=o("RelayHooks").usePreloadedQuery(p,_.queryRef),g=f.video,h=o("UnifiedComposerCopyrightCheckV2Utils").useGetCopyrightMatches(r("nullthrows")(g)),y=d(null),C=y[0],b=y[1],v=d(null),S=v[0],R=v[1],L=d(null),E=L[0],k=L[1];return c.jsx(r("GeoModal.react"),{xstyle:m.container,width:1e3,footer:c.jsx(r("GeoModalFooter.react"),{primaryButton:c.jsx(r("GeoButton.react"),{label:s._(/*BTDS*/"Close"),onClick:n})}),header:c.jsx(r("GeoModalHeader.react"),{heading:o("CPXComposerStrings").COPYRIGHT_CHECK_DETAILS_HEADER}),onHide:n,children:c.jsxs(r("GeoFlexbox.react"),{direction:"row",grow:1,xstyle:m.root,children:[c.jsx(r("GeoScrollableArea.react"),{direction:"vertical",xstyle:m.scrollableArea,hideScrollbar:!0,withBottomShadow:!0,children:c.jsx(r("UnifiedComposerCopyrightCheckV2MatchDetailsDialogCopyrightContentCard.react"),{matches:h,videoDurationInSec:a,reelOrVideo:i,setHighlightedAudioSegment:b,setHighlightedVideoSegment:R,setPlayingSegment:k})}),c.jsx(r("GeoFlexbox.react"),{grow:1,justifyContent:"center",children:c.jsx("div",{className:"xf18lwv x1obq294 x5a5i1n xde0f50 x15x8krk",children:c.jsx(o("UnifiedComposerCopyrightCheckV2MatchDetailsDialogMatchedContentPreview.react").UnifiedComposerCopyrightCheckV2MatchDetailsDialogMatchedContentPreview,{matches:h,highlightedAudioSegment:C,highlightedVideoSegment:S,setHighlightedAudioSegment:b,setHighlightedVideoSegment:R,playingSegment:E,previewProps:l,reelOrVideo:i,videoDurationInSec:a,videoID:u,setPlayingSegment:k,unhoverHighlightedSegment:function(){b(null),R(null)}})})})]})})}_.displayName=_.name+" [from "+i.id+"]",l.default=_}),226);
-----
UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery.graphql",["UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery_facebookRelayOperation","relay-runtime"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"videoID"}],t=[{kind:"Variable",name:"id",variableName:"videoID"}],r=[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery",selections:[{alias:null,args:t,concreteType:"Video",kind:"LinkedField",name:"video",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"UnifiedComposerCopyrightCheckV2Utils_video"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery",selections:[{alias:null,args:t,concreteType:"Video",kind:"LinkedField",name:"video",plural:!1,selections:[{alias:null,args:null,concreteType:"BouncerMatchDetails",kind:"LinkedField",name:"copyright_precheck_match_details",plural:!1,selections:[{alias:null,args:null,concreteType:"CopyrightMatchDetails",kind:"LinkedField",name:"copyright_match_details",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"match_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"author",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"content_title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cover_artwork_uri",storageKey:null},{alias:null,args:null,concreteType:"CopyrightOwnerPolicyByName",kind:"LinkedField",name:"copyright_owner_policy_by_name",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"display_name",storageKey:null},{alias:null,args:null,concreteType:"CopyrightPolicyActionByTerritory",kind:"LinkedField",name:"actions",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"action_enum",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"territories",storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"geos",plural:!0,selections:r,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"migrated_to_performance_based_payouts_revshare",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"CopyrightPreCheckMatchedSegments",kind:"LinkedField",name:"matching_segments",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"duration_in_sec",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"start_time_in_sec",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"segment_type",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"owner_geo",plural:!1,selections:r,storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:n("UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery_facebookRelayOperation"),metadata:{},name:"UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery",operationKind:"query",text:null}}})();n("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),a.exports=e}),null);
-----
UnifiedComposerCopyrightCheckV2MatchDetailsDialog.entrypoint",["JSResourceForInteraction","UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery$Parameters"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.videoID;return{queries:{queryRef:{parameters:b("UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery$Parameters"),variables:{videoID:a}}}}},root:c("JSResourceForInteraction")("UnifiedComposerCopyrightCheckV2MatchDetailsDialog.react").__setRef("UnifiedComposerCopyrightCheckV2MatchDetailsDialog.entrypoint")};g["default"]=a}),98);
-----
UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery$Parameters",["UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery_facebookRelayOperation"),metadata:{},name:"UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery",operationKind:"query",text:null}};e.exports=a}),null);
-----
UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24408601192095444"}),null);
-----
-----
UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery.graphql",["UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery_facebookRelayOperation","relay-runtime"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"videoID"}],t=[{kind:"Variable",name:"id",variableName:"videoID"}],r=[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery",selections:[{alias:null,args:t,concreteType:"Video",kind:"LinkedField",name:"video",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"UnifiedComposerCopyrightCheckV2Utils_video"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery",selections:[{alias:null,args:t,concreteType:"Video",kind:"LinkedField",name:"video",plural:!1,selections:[{alias:null,args:null,concreteType:"BouncerMatchDetails",kind:"LinkedField",name:"copyright_precheck_match_details",plural:!1,selections:[{alias:null,args:null,concreteType:"CopyrightMatchDetails",kind:"LinkedField",name:"copyright_match_details",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"match_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"author",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"content_title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cover_artwork_uri",storageKey:null},{alias:null,args:null,concreteType:"CopyrightOwnerPolicyByName",kind:"LinkedField",name:"copyright_owner_policy_by_name",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"display_name",storageKey:null},{alias:null,args:null,concreteType:"CopyrightPolicyActionByTerritory",kind:"LinkedField",name:"actions",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"action_enum",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"territories",storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"geos",plural:!0,selections:r,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"migrated_to_performance_based_payouts_revshare",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"CopyrightPreCheckMatchedSegments",kind:"LinkedField",name:"matching_segments",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"duration_in_sec",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"start_time_in_sec",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"segment_type",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"owner_geo",plural:!1,selections:r,storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:n("UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery_facebookRelayOperation"),metadata:{},name:"UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery",operationKind:"query",text:null}}})();n("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),a.exports=e}),null);
-----
UnifiedComposerCopyrightCheckV2MatchDetailsDialog.entrypoint",["JSResourceForInteraction","UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery$Parameters"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.videoID;return{queries:{queryRef:{parameters:b("UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery$Parameters"),variables:{videoID:a}}}}},root:c("JSResourceForInteraction")("UnifiedComposerCopyrightCheckV2MatchDetailsDialog.react").__setRef("UnifiedComposerCopyrightCheckV2MatchDetailsDialog.entrypoint")};g["default"]=a}),98);
-----
UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery$Parameters",["UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery_facebookRelayOperation"),metadata:{},name:"UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery",operationKind:"query",text:null}};e.exports=a}),null);
-----
UnifiedComposerCopyrightCheckV2MatchDetailsDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24408601192095444"}),null);
-----