useApacMiCEAYMTLogEventMutation",["RelayHooks","useApacMiCEAYMTLogEventMutation.graphql"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(){var t=o("RelayHooks").useMutation(e!==void 0?e:e=n("useApacMiCEAYMTLogEventMutation.graphql")),r=t[0],a=t[1],i=function(t){var e=t.channel_id,n=t.event_type,o=t.tip_id;r({variables:{input:{channel_id:e,event_type:n,tip_id:o}}})};return[i,a]}l.default=s}),98);
-----
APACCommerceExtensionAYMTWrapper.atomic",["APACCommerceExtensionAYMTChannelUtil","APACCommerceExtensionAYMTWrapperQuery.graphql","APACCommerceExtensionErrorBoundary.react","ApacCommerceExtensionFalcoEvent","CommerceExtensionPostMessage","GeoBaseSpacingLayout.react","GeoGlimmer.react","Placeholder.react","RelayHooks","ResponsiveBlock.react","URI","geoWidth","nullthrows","react","stylex","useApacMiCEAYMTLogEventMutation","useSinglePartialViewImpression"],(function(t,n,r,o,a,i,l){"use strict";var e=["ChildComponent"],s,u,c,d,m=d||(d=o("react")),p=d.useCallback,_=1500,f=200,g=8,h={glimmerContainer:{paddingTop:"xyamay9",paddingInlineEnd:"xv54qhq",paddingBottom:"x1l90r2v",paddingInlineStart:"xf7dkkf",$$css:!0}},y=s!==void 0?s:s=n("APACCommerceExtensionAYMTWrapperQuery.graphql");function C(t){var n,o=t.ChildComponent,a=babelHelpers.objectWithoutPropertiesLoose(t,e);return m.jsx(r("Placeholder.react"),{fallback:m.jsx(v,{surface:a==null||(n=a.extraProps)==null?void 0:n.surface}),children:m.jsx(r("APACCommerceExtensionErrorBoundary.react"),{module:"APACCommerceExtensionAYMTWrapper",children:m.jsx(b,babelHelpers.extends({ChildComponent:o},a))})})}C.displayName=C.name+" [from "+i.id+"]";function b(e){var t,n,a,i,l,s,c,d,h=e.ChildComponent,C=e.extraProps,b=e.queries,v=(t=C==null?void 0:C.pageIDs)!=null?t:[],S=r("nullthrows")(C==null?void 0:C.surface),R=o("RelayHooks").usePreloadedQuery(y,b.root),L=r("useApacMiCEAYMTLogEventMutation")(),E=L[0],k=L[1],I=p(function(e,t){r("CommerceExtensionPostMessage").sendAymtResizeMessageToParentWindow_UNSAFE(Math.min(e,_),Math.min(t,f),g)},[]),T=r("useSinglePartialViewImpression")({onImpressionStart:function(){r("ApacCommerceExtensionFalcoEvent").log(function(){var e,t;return{event:"AYMT_MICE_TIP_UI_LOAD",extra:{page_ids:v.join(", "),surface:String(S),tip_id:(e=R.xfb_aymt_mice_channel_root_query)==null?void 0:e.tip_id},page_id:(t=R.xfb_aymt_mice_channel_root_query)==null?void 0:t.tip_page_id,product:"AYMT"}})}});if(R.xfb_aymt_mice_channel_root_query==null)return m.jsx(m.Fragment,{});var D=R.xfb_aymt_mice_channel_root_query,x=D.channel_id,$=D.tip_id,P=D.creative_spec,N=P!=null?P:{},M=N.title,w=N.body,A=N.action,F=N.image,O=N.metadata;return m.jsx("div",{ref:T,children:m.jsx(r("ResponsiveBlock.react"),{onResize:I,children:h&&m.jsx(h,{cta_label:(n=A==null||(a=A.text)==null?void 0:a.text)!=null?n:"",cta_on_click:function(){E({channel_id:x,event_type:"AYMT_CLICK",tip_id:$}),(u||(u=r("URI"))).goURIOnNewWindow(String(A==null?void 0:A.link))},description:(i=w==null||(l=w.text)==null?void 0:l.text)!=null?i:"",image_uri:F==null||(s=F.regular_image)==null?void 0:s.uri,title:(c=M==null||(d=M.text)==null?void 0:d.text)!=null?c:"",tooltip:O==null?void 0:O.tool_tip,onClose:function(){return E({channel_id:x,event_type:"AYMT_XOUT",tip_id:$})},onLoad:function(){return E({channel_id:x,event_type:"AYMT_IMPRESSION",tip_id:$})}})})})}b.displayName=b.name+" [from "+i.id+"]";function v(e){var t=e.surface,n=o("APACCommerceExtensionAYMTChannelUtil").getChannelHeightAndWidth(t),a=n.height,l=n.width;return m.jsx("div",{className:(c||(c=r("stylex")))(r("geoWidth").fullWidth,h.glimmerContainer),style:{height:a,width:l},children:m.jsx(r("GeoBaseSpacingLayout.react"),{direction:"vertical",children:Array.from({length:4}).map(function(e,t){return m.jsx(r("GeoGlimmer.react"),{height:15,index:t,width:l,loggingName:i.id},t)})})})}v.displayName=v.name+" [from "+i.id+"]",l.default=C}),98);
-----
useApacMiCEAYMTLogEventMutation.graphql",["useApacMiCEAYMTLogEventMutation_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],t=[{alias:null,args:[{kind:"Variable",name:"input",variableName:"input"}],concreteType:"XFBApacMiceAymtLogEventResponsePayload",kind:"LinkedField",name:"xfb_apac_mice_aymt_log_event",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"useApacMiCEAYMTLogEventMutation",selections:t,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"useApacMiCEAYMTLogEventMutation",selections:t},params:{id:n("useApacMiCEAYMTLogEventMutation_facebookRelayOperation"),metadata:{},name:"useApacMiCEAYMTLogEventMutation",operationKind:"mutation",text:null}}})();a.exports=e}),null);
-----
useApacMiCEAYMTLogEventMutation_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="23910140251957266"}),null);
-----