ECPProductPlaygroundRoot.react",["CometColumn.react","CometContentArea.react","CometLayout.react","CometRelay","CometRow.react","CometRowItem.react","ECPDevPortalConstants","ECPProductPlaygroundCanvasGameButton.react","ECPProductPlaygroundCustomizedButton.react","ECPProductPlaygroundDonateButton.react","ECPProductPlaygroundFanFundingButton.react","ECPProductPlaygroundInstantGameButton.react","ECPProductPlaygroundRootQuery.graphql","ECPProductPlaygroundStarButton.react","FDSTextPairing.react","RelayHooks","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=h!==void 0?h:h=b("ECPProductPlaygroundRootQuery.graphql"),l={card:{backgroundColor:"x1jx94hy",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0}};function a(a){var b,e=a.queries.ECPProductPlaygroundQueryRef,f=a.props.routeProps.productName;e=d("CometRelay").usePreloadedQuery(k,e);return j.jsx(d("RelayHooks").RelayEnvironmentProvider,{environment:d("RelayHooks").useRelayEnvironment(),children:j.jsx(c("CometLayout.react"),{children:j.jsx(c("CometContentArea.react"),{children:j.jsx("div",{style:{margin:30,width:480},children:j.jsxs(c("CometColumn.react"),{paddingHorizontal:16,paddingVertical:12,spacing:16,xstyle:l.card,children:[j.jsx(c("CometRow.react"),{paddingHorizontal:8,paddingTop:16,children:j.jsx(c("CometRowItem.react"),{expanding:!0,children:j.jsx(c("FDSTextPairing.react"),{body:"",headline:f===d("ECPDevPortalConstants").CUSTOMIZED_PRODUCT?"Customized Checkout":"Existing Product Demo",level:2})})}),j.jsx(c("CometRow.react"),{children:j.jsxs(c("CometRowItem.react"),{expanding:!0,children:[f===d("ECPDevPortalConstants").Products.Donation&&j.jsx(c("ECPProductPlaygroundDonateButton.react"),{query:e}),f===d("ECPDevPortalConstants").Products.Star&&j.jsx(c("ECPProductPlaygroundStarButton.react"),{feedbackID:a.props.routeProps.inputID}),f===d("ECPDevPortalConstants").Products.InstantGame&&j.jsx(c("ECPProductPlaygroundInstantGameButton.react"),{appID:(b=a.props.routeProps.inputID)!=null?b:"",query:e}),f===d("ECPDevPortalConstants").Products.CanvasGame&&j.jsx(c("ECPProductPlaygroundCanvasGameButton.react"),{appID:(b=a.props.routeProps.inputID)!=null?b:""}),f===d("ECPDevPortalConstants").Products.FanFunding&&j.jsx(c("ECPProductPlaygroundFanFundingButton.react"),{pageID:a.props.routeProps.extraInputID,tierID:a.props.routeProps.inputID}),f===d("ECPDevPortalConstants").CUSTOMIZED_PRODUCT&&j.jsx(c("ECPProductPlaygroundCustomizedButton.react"),{xdbID:(e=a.props.routeProps.inputID)!=null?e:""})]})})]})})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
ECPProductPlaygroundRootQuery.graphql",["ECPProductPlaygroundRootQuery_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"inputID"}],c=[{kind:"Variable",name:"inputID",variableName:"inputID"}],d={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"currency",storageKey:null},f=[e,{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"ECPProductPlaygroundRootQuery",selections:[{args:c,kind:"FragmentSpread",name:"ECPProductPlaygroundDonateButtonData"},{args:c,kind:"FragmentSpread",name:"ECPProductPlaygroundInstantGameButtonData"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"ECPProductPlaygroundRootQuery",selections:[{alias:"fundraiser",args:[{kind:"Variable",name:"id",variableName:"inputID"}],concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"fundraiser_country_code",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ecp_product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ecp_receiver_id",storageKey:null},{alias:null,args:null,concreteType:"DonationFundraiserEntity",kind:"LinkedField",name:"donation_entity",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle_shortened",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"image_url",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"BasePriceSelectorConfig",kind:"LinkedField",name:"fundraiser_donation_price_selector_config",plural:!1,selections:[{alias:null,args:null,concreteType:"PriceSelectorCustomAmount",kind:"LinkedField",name:"custom_amount",plural:!1,selections:[e,{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"max",plural:!1,selections:f,storageKey:null},{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"min",plural:!1,selections:f,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"placeholder_text",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XFBDonationCheckoutConfirmationConfig",kind:"LinkedField",name:"donation_checkout_confirmation_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_cta_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_upsell_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_upsell_section_title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_icons",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_links",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_texts",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_done_button_link",storageKey:null}],storageKey:null}],type:"Fundraiser",abstractKey:"__isFundraiser"}],storageKey:null},{alias:null,args:[{kind:"Variable",name:"app_id",variableName:"inputID"}],concreteType:"ECPDevPortalInstantGameProdQueryResponse",kind:"LinkedField",name:"xfb_fetch_instant_game_product_info",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGameProductData",kind:"LinkedField",name:"products",plural:!0,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"price",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:b("ECPProductPlaygroundRootQuery_facebookRelayOperation"),metadata:{},name:"ECPProductPlaygroundRootQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton.react",["ARIA_LABEL_PLACEHOLDER_FIXME","CometDOMOnlyBoundary.react","CometProgressButtonIndeterminate.react","CometRelay","CometSelect.react","ECPProductPlaygroundInstantGameButtonData.graphql","ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql","ECPProductPlaygroundInstantGamePurchases.react","FBPayOnsiteECPCheckoutHelperRootDialog.entrypoint","FDSTextPairing.react","InstantGamesIAP","RelayHooks","TetraButton.react","TopLevelKeyCommandListener.react","react","useCometDynamicEntryPointDialog","useFBPayFetchProductConfigQuery","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react"));e=j;var l=e.useEffect,m=e.useRef,n=e.useState,o=h!==void 0?h:h=b("ECPProductPlaygroundInstantGameButtonData.graphql");function a(a){var e=a.appID;a=a.query;var f=n(""),g=f[0];f=f[1];var h="{customPayload: 1234}";a=d("CometRelay").useFragment(o,a);a=(a=a.xfb_fetch_instant_game_product_info)==null?void 0:a.products;a=(a=a==null?void 0:a.map(function(a){var b;return{label:String(((b=a.title)!=null?b:"")+", "+((b=a.price)!=null?b:"")),value:(b=a.product_id)!=null?b:""}}))!=null?a:[];var j=n(""),p=j[0],q=j[1];l(function(){q(["upl",Date.now(),c("uuidv4")()].join("_"))},[]);j=n();var r=j[0],s=j[1],t=m(r),u=c("useCometDynamicEntryPointDialog")(c("FBPayOnsiteECPCheckoutHelperRootDialog.entrypoint")),v=c("useFBPayFetchProductConfigQuery")({product_id:d("InstantGamesIAP").INSTANT_GAMES_PAYMENT_PRODUCT_ID,product_item_id:"",receiver_id:e,session_id:p});j=d("RelayHooks").useMutation(i!==void 0?i:i=b("ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql"));var w=j[0];j=j[1];l(function(){if(r==null||r===t.current)return;var a={country_code:r.countryCode,optional_fields:v.optionalFields,order_id:r.orderID,payment_container_mode:"LIVE",payment_product_id:d("InstantGamesIAP").INSTANT_GAMES_PAYMENT_PRODUCT_ID,receiver_description:r.product.title,receiver_icon_uri:r.product.imageURL,receiver_id:e,receiver_name:r.appName,session_id:p,total:{currency:r.product.price.currency,value:r.product.price.amount.toFixed(2)}};u({routeProps:a},{routeProps:a},function(){s(null)});t.current=r},[u,g,e,r,p,s,v.optionalFields]);var x=function(){w({onCompleted:function(a){a=a.createPurchaseOrder;if(a==null)return;var b=a.error;if(b!=null)return;b=a.appName;var c=a.countryCode,d=a.currencyCode,e=a.imageURL,f=a.isTestPurchase,g=a.orderID,h=a.price;a=a.title;if(b==null||d==null||e==null||g==null||h==null||a==null||f==null)return;s({appName:b,countryCode:(b=c)!=null?b:"",isTestPurchase:f,orderID:g,product:{imageURL:e,price:{amount:h,currency:d},title:a}})},variables:{input:{app_id:e,developer_payload:h,product_id:g}}})},y="Purchase";return k.jsxs(k.Fragment,{children:[k.jsx("div",{className:"xqmxbcd xmupa6y x1y1aw1k x1sxyh0 xwib8y2 xurb0ha",children:k.jsx(c("FDSTextPairing.react"),{headline:"Instant Game",level:2})}),k.jsx("div",{className:"xqmxbcd xmupa6y x1xmf6yo x1ye3gou xn6708d xz9dl7a",children:k.jsx(c("CometDOMOnlyBoundary.react"),{children:k.jsx(c("TopLevelKeyCommandListener.react"),{children:k.jsx(c("CometSelect.react"),{defaultLabel:"Select a Product",dropdownAccessibleLabelProps:{"aria-label":c("ARIA_LABEL_PLACEHOLDER_FIXME")},inputAccessibleLabelProps:{"aria-label":c("ARIA_LABEL_PLACEHOLDER_FIXME")},onChange:f,options:a,selectedValue:g})})})}),k.jsx("div",{className:"x1yztbdb x1h5jrl4 xmn8rco xyamay9 x1pi30zi x1l90r2v x1swvt13 x1ja2u2z",children:j?k.jsx(c("CometProgressButtonIndeterminate.react"),{label:y}):k.jsx(c("TetraButton.react"),{disabled:j,label:y,onPress:x})}),k.jsx(c("ECPProductPlaygroundInstantGamePurchases.react"),{appID:e})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
ECPProductPlaygroundInstantGameButtonData.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"inputID"}],kind:"Fragment",metadata:null,name:"ECPProductPlaygroundInstantGameButtonData",selections:[{alias:null,args:[{kind:"Variable",name:"app_id",variableName:"inputID"}],concreteType:"ECPDevPortalInstantGameProdQueryResponse",kind:"LinkedField",name:"xfb_fetch_instant_game_product_info",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGameProductData",kind:"LinkedField",name:"products",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"price",storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null};e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql",["ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:"createPurchaseOrder",args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"InstantGameCreatePurchaseOrderResponsePayload",kind:"LinkedField",name:"instant_game_create_purchase_order",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGamePurchaseOrderCreationError",kind:"LinkedField",name:"error",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"code",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],storageKey:null},{alias:"appName",args:null,kind:"ScalarField",name:"app_name",storageKey:null},{alias:"countryCode",args:null,kind:"ScalarField",name:"country_code",storageKey:null},{alias:"currencyCode",args:null,kind:"ScalarField",name:"currency_code",storageKey:null},{alias:"imageURL",args:null,kind:"ScalarField",name:"image_url",storageKey:null},{alias:"orderID",args:null,kind:"ScalarField",name:"order_id",storageKey:null},{alias:"price",args:null,kind:"ScalarField",name:"price_as_float",storageKey:null},{alias:"shouldShowPhysicalAddress",args:null,kind:"ScalarField",name:"should_show_physical_address",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:"isTestPurchase",args:null,kind:"ScalarField",name:"is_test_purchase",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",selections:c},params:{id:b("ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation"),metadata:{},name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5261899807256980"}),null);
-----
ECPProductPlaygroundRoot.react",["CometColumn.react","CometContentArea.react","CometLayout.react","CometRelay","CometRow.react","CometRowItem.react","ECPDevPortalConstants","ECPProductPlaygroundCanvasGameButton.react","ECPProductPlaygroundCustomizedButton.react","ECPProductPlaygroundDonateButton.react","ECPProductPlaygroundInstantGameButton.react","ECPProductPlaygroundRootQuery.graphql","ECPProductPlaygroundStarButton.react","RelayHooks","TetraTextPairing.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=h!==void 0?h:h=b("ECPProductPlaygroundRootQuery.graphql"),l={card:{backgroundColor:"x1jx94hy",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0}};function a(a){var b,e=a.queries.ECPProductPlaygroundQueryRef,f=a.props.routeProps.productName;e=d("CometRelay").usePreloadedQuery(k,e);return j.jsx(d("RelayHooks").RelayEnvironmentProvider,{environment:d("RelayHooks").useRelayEnvironment(),children:j.jsx(c("CometLayout.react"),{children:j.jsx(c("CometContentArea.react"),{children:j.jsx("div",{style:{margin:30,width:480},children:j.jsxs(c("CometColumn.react"),{paddingHorizontal:16,paddingVertical:12,spacing:16,xstyle:l.card,children:[j.jsx(c("CometRow.react"),{paddingHorizontal:8,paddingTop:16,children:j.jsx(c("CometRowItem.react"),{expanding:!0,children:j.jsx(c("TetraTextPairing.react"),{body:"",headline:f===d("ECPDevPortalConstants").CUSTOMIZED_PRODUCT?"Customized Checkout":"Existing Product Demo",level:2})})}),j.jsx(c("CometRow.react"),{children:j.jsxs(c("CometRowItem.react"),{expanding:!0,children:[f===d("ECPDevPortalConstants").Products.Donation&&j.jsx(c("ECPProductPlaygroundDonateButton.react"),{query:e}),f===d("ECPDevPortalConstants").Products.Star&&j.jsx(c("ECPProductPlaygroundStarButton.react"),{feedbackID:a.props.routeProps.inputID}),f===d("ECPDevPortalConstants").Products.InstantGame&&j.jsx(c("ECPProductPlaygroundInstantGameButton.react"),{appID:(b=a.props.routeProps.inputID)!=null?b:"",query:e}),f===d("ECPDevPortalConstants").Products.CanvasGame&&j.jsx(c("ECPProductPlaygroundCanvasGameButton.react"),{appID:(b=a.props.routeProps.inputID)!=null?b:""}),f===d("ECPDevPortalConstants").CUSTOMIZED_PRODUCT&&j.jsx(c("ECPProductPlaygroundCustomizedButton.react"),{xdbID:(e=a.props.routeProps.inputID)!=null?e:""})]})})]})})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
ECPProductPlaygroundRootQuery.graphql",["ECPProductPlaygroundRootQuery_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"inputID"}],c=[{kind:"Variable",name:"inputID",variableName:"inputID"}],d={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"currency",storageKey:null},f=[e,{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"ECPProductPlaygroundRootQuery",selections:[{args:c,kind:"FragmentSpread",name:"ECPProductPlaygroundDonateButtonData"},{args:c,kind:"FragmentSpread",name:"ECPProductPlaygroundInstantGameButtonData"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"ECPProductPlaygroundRootQuery",selections:[{alias:"fundraiser",args:[{kind:"Variable",name:"id",variableName:"inputID"}],concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"fundraiser_country_code",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ecp_product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ecp_receiver_id",storageKey:null},{alias:null,args:null,concreteType:"DonationFundraiserEntity",kind:"LinkedField",name:"donation_entity",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle_shortened",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"image_url",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"BasePriceSelectorConfig",kind:"LinkedField",name:"fundraiser_donation_price_selector_config",plural:!1,selections:[{alias:null,args:null,concreteType:"PriceSelectorCustomAmount",kind:"LinkedField",name:"custom_amount",plural:!1,selections:[e,{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"max",plural:!1,selections:f,storageKey:null},{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"min",plural:!1,selections:f,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"placeholder_text",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XFBDonationCheckoutConfirmationConfig",kind:"LinkedField",name:"donation_checkout_confirmation_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_cta_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_upsell_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_upsell_section_title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_icons",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_links",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_texts",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_done_button_link",storageKey:null}],storageKey:null}],type:"Fundraiser",abstractKey:"__isFundraiser"}],storageKey:null},{alias:null,args:[{kind:"Variable",name:"app_id",variableName:"inputID"}],concreteType:"ECPDevPortalInstantGameProdQueryResponse",kind:"LinkedField",name:"xfb_fetch_instant_game_product_info",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGameProductData",kind:"LinkedField",name:"products",plural:!0,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"price",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:b("ECPProductPlaygroundRootQuery_facebookRelayOperation"),metadata:{},name:"ECPProductPlaygroundRootQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton.react",["ARIA_LABEL_PLACEHOLDER_FIXME","CometDOMOnlyBoundary.react","CometProgressButtonIndeterminate.react","CometRelay","CometSelect.react","ECPProductPlaygroundInstantGameButtonData.graphql","ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql","ECPProductPlaygroundInstantGamePurchases.react","FBPayOnsiteECPCheckoutHelperRootDialog.entrypoint","InstantGamesIAP","RelayHooks","TetraButton.react","TetraTextPairing.react","TopLevelKeyCommandListener.react","react","useCometDynamicEntryPointDialog","useFBPayFetchProductConfigQuery","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react"));e=j;var l=e.useEffect,m=e.useRef,n=e.useState,o=h!==void 0?h:h=b("ECPProductPlaygroundInstantGameButtonData.graphql");function a(a){var e=a.appID;a=a.query;var f=n(""),g=f[0];f=f[1];var h="{customPayload: 1234}";a=d("CometRelay").useFragment(o,a);a=(a=a.xfb_fetch_instant_game_product_info)==null?void 0:a.products;a=(a=a==null?void 0:a.map(function(a){var b;return{label:String(((b=a.title)!=null?b:"")+", "+((b=a.price)!=null?b:"")),value:(b=a.product_id)!=null?b:""}}))!=null?a:[];var j=n(""),p=j[0],q=j[1];l(function(){q(["upl",Date.now(),c("uuidv4")()].join("_"))},[]);j=n();var r=j[0],s=j[1],t=m(r),u=c("useCometDynamicEntryPointDialog")(c("FBPayOnsiteECPCheckoutHelperRootDialog.entrypoint")),v=c("useFBPayFetchProductConfigQuery")({product_id:d("InstantGamesIAP").INSTANT_GAMES_PAYMENT_PRODUCT_ID,product_item_id:"",receiver_id:e,session_id:p});j=d("RelayHooks").useMutation(i!==void 0?i:i=b("ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql"));var w=j[0];j=j[1];l(function(){if(r==null||r===t.current)return;var a={country_code:r.countryCode,optional_fields:v.optionalFields,order_id:r.orderID,payment_container_mode:"LIVE",payment_product_id:d("InstantGamesIAP").INSTANT_GAMES_PAYMENT_PRODUCT_ID,receiver_description:r.product.title,receiver_icon_uri:r.product.imageURL,receiver_id:e,receiver_name:r.appName,session_id:p,total:{currency:r.product.price.currency,value:r.product.price.amount.toFixed(2)}};u({routeProps:a},{routeProps:a},function(){s(null)});t.current=r},[u,g,e,r,p,s,v.optionalFields]);var x=function(){w({onCompleted:function(a){a=a.createPurchaseOrder;if(a==null)return;var b=a.error;if(b!=null)return;b=a.appName;var c=a.countryCode,d=a.currencyCode,e=a.imageURL,f=a.isTestPurchase,g=a.orderID,h=a.price;a=a.title;if(b==null||d==null||e==null||g==null||h==null||a==null||f==null)return;s({appName:b,countryCode:(b=c)!=null?b:"",isTestPurchase:f,orderID:g,product:{imageURL:e,price:{amount:h,currency:d},title:a}})},variables:{input:{app_id:e,developer_payload:h,product_id:g}}})},y="Purchase";return k.jsxs(k.Fragment,{children:[k.jsx("div",{className:"xqmxbcd xmupa6y x1y1aw1k x1sxyh0 xwib8y2 xurb0ha",children:k.jsx(c("TetraTextPairing.react"),{headline:"Instant Game",level:2})}),k.jsx("div",{className:"xqmxbcd xmupa6y x1xmf6yo x1ye3gou xn6708d xz9dl7a",children:k.jsx(c("CometDOMOnlyBoundary.react"),{children:k.jsx(c("TopLevelKeyCommandListener.react"),{children:k.jsx(c("CometSelect.react"),{defaultLabel:"Select a Product",dropdownAccessibleLabelProps:{"aria-label":c("ARIA_LABEL_PLACEHOLDER_FIXME")},inputAccessibleLabelProps:{"aria-label":c("ARIA_LABEL_PLACEHOLDER_FIXME")},onChange:f,options:a,selectedValue:g})})})}),k.jsx("div",{className:"x1yztbdb x1h5jrl4 xmn8rco xyamay9 x1pi30zi x1l90r2v x1swvt13 x1ja2u2z",children:j?k.jsx(c("CometProgressButtonIndeterminate.react"),{label:y}):k.jsx(c("TetraButton.react"),{disabled:j,label:y,onPress:x})}),k.jsx(c("ECPProductPlaygroundInstantGamePurchases.react"),{appID:e})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
ECPProductPlaygroundInstantGameButtonData.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"inputID"}],kind:"Fragment",metadata:null,name:"ECPProductPlaygroundInstantGameButtonData",selections:[{alias:null,args:[{kind:"Variable",name:"app_id",variableName:"inputID"}],concreteType:"ECPDevPortalInstantGameProdQueryResponse",kind:"LinkedField",name:"xfb_fetch_instant_game_product_info",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGameProductData",kind:"LinkedField",name:"products",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"price",storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null};e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql",["ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:"createPurchaseOrder",args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"InstantGameCreatePurchaseOrderResponsePayload",kind:"LinkedField",name:"instant_game_create_purchase_order",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGamePurchaseOrderCreationError",kind:"LinkedField",name:"error",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"code",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],storageKey:null},{alias:"appName",args:null,kind:"ScalarField",name:"app_name",storageKey:null},{alias:"countryCode",args:null,kind:"ScalarField",name:"country_code",storageKey:null},{alias:"currencyCode",args:null,kind:"ScalarField",name:"currency_code",storageKey:null},{alias:"imageURL",args:null,kind:"ScalarField",name:"image_url",storageKey:null},{alias:"orderID",args:null,kind:"ScalarField",name:"order_id",storageKey:null},{alias:"price",args:null,kind:"ScalarField",name:"price_as_float",storageKey:null},{alias:"shouldShowPhysicalAddress",args:null,kind:"ScalarField",name:"should_show_physical_address",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:"isTestPurchase",args:null,kind:"ScalarField",name:"is_test_purchase",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",selections:c},params:{id:b("ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation"),metadata:{},name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5261899807256980"}),null);
-----
-----
ECPProductPlaygroundRootQuery.graphql",["ECPProductPlaygroundRootQuery_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"inputID"}],c=[{kind:"Variable",name:"inputID",variableName:"inputID"}],d={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"currency",storageKey:null},f=[e,{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"ECPProductPlaygroundRootQuery",selections:[{args:c,kind:"FragmentSpread",name:"ECPProductPlaygroundDonateButtonData"},{args:c,kind:"FragmentSpread",name:"ECPProductPlaygroundInstantGameButtonData"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"ECPProductPlaygroundRootQuery",selections:[{alias:"fundraiser",args:[{kind:"Variable",name:"id",variableName:"inputID"}],concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"fundraiser_country_code",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ecp_product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ecp_receiver_id",storageKey:null},{alias:null,args:null,concreteType:"DonationFundraiserEntity",kind:"LinkedField",name:"donation_entity",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle_shortened",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"image_url",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"BasePriceSelectorConfig",kind:"LinkedField",name:"fundraiser_donation_price_selector_config",plural:!1,selections:[{alias:null,args:null,concreteType:"PriceSelectorCustomAmount",kind:"LinkedField",name:"custom_amount",plural:!1,selections:[e,{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"max",plural:!1,selections:f,storageKey:null},{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"min",plural:!1,selections:f,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"placeholder_text",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XFBDonationCheckoutConfirmationConfig",kind:"LinkedField",name:"donation_checkout_confirmation_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_cta_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_upsell_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_upsell_section_title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_icons",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_links",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_texts",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_done_button_link",storageKey:null}],storageKey:null}],type:"Fundraiser",abstractKey:"__isFundraiser"}],storageKey:null},{alias:null,args:[{kind:"Variable",name:"app_id",variableName:"inputID"}],concreteType:"ECPDevPortalInstantGameProdQueryResponse",kind:"LinkedField",name:"xfb_fetch_instant_game_product_info",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGameProductData",kind:"LinkedField",name:"products",plural:!0,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"price",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:b("ECPProductPlaygroundRootQuery_facebookRelayOperation"),metadata:{},name:"ECPProductPlaygroundRootQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton.react",["ARIA_LABEL_PLACEHOLDER_FIXME","CometDOMOnlyBoundary.react","CometProgressButtonIndeterminate.react","CometRelay","CometSelect.react","ECPProductPlaygroundInstantGameButtonData.graphql","ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql","ECPProductPlaygroundInstantGamePurchases.react","FBPayOnsiteECPCheckoutHelperRootDialog.entrypoint","FDSTextPairing.react","InstantGamesIAP","RelayHooks","TetraButton.react","TopLevelKeyCommandListener.react","react","useCometDynamicEntryPointDialog","useFBPayFetchProductConfigQuery","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react"));e=j;var l=e.useEffect,m=e.useRef,n=e.useState,o=h!==void 0?h:h=b("ECPProductPlaygroundInstantGameButtonData.graphql");function a(a){var e=a.appID;a=a.query;var f=n(""),g=f[0];f=f[1];var h="{customPayload: 1234}";a=d("CometRelay").useFragment(o,a);a=(a=a.xfb_fetch_instant_game_product_info)==null?void 0:a.products;a=(a=a==null?void 0:a.map(function(a){var b;return{label:String(((b=a.title)!=null?b:"")+", "+((b=a.price)!=null?b:"")),value:(b=a.product_id)!=null?b:""}}))!=null?a:[];var j=n(""),p=j[0],q=j[1];l(function(){q(["upl",Date.now(),c("uuidv4")()].join("_"))},[]);j=n();var r=j[0],s=j[1],t=m(r),u=c("useCometDynamicEntryPointDialog")(c("FBPayOnsiteECPCheckoutHelperRootDialog.entrypoint")),v=c("useFBPayFetchProductConfigQuery")({product_id:d("InstantGamesIAP").INSTANT_GAMES_PAYMENT_PRODUCT_ID,product_item_id:"",receiver_id:e,session_id:p});j=d("RelayHooks").useMutation(i!==void 0?i:i=b("ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql"));var w=j[0];j=j[1];l(function(){if(r==null||r===t.current)return;var a={country_code:r.countryCode,optional_fields:v.optionalFields,order_id:r.orderID,payment_container_mode:"LIVE",payment_product_id:d("InstantGamesIAP").INSTANT_GAMES_PAYMENT_PRODUCT_ID,receiver_description:r.product.title,receiver_icon_uri:r.product.imageURL,receiver_id:e,receiver_name:r.appName,session_id:p,total:{currency:r.product.price.currency,value:r.product.price.amount.toFixed(2)}};u({routeProps:a},{routeProps:a},function(){s(null)});t.current=r},[u,g,e,r,p,s,v.optionalFields]);var x=function(){w({onCompleted:function(a){a=a.createPurchaseOrder;if(a==null)return;var b=a.error;if(b!=null)return;b=a.appName;var c=a.countryCode,d=a.currencyCode,e=a.imageURL,f=a.isTestPurchase,g=a.orderID,h=a.price;a=a.title;if(b==null||d==null||e==null||g==null||h==null||a==null||f==null)return;s({appName:b,countryCode:(b=c)!=null?b:"",isTestPurchase:f,orderID:g,product:{imageURL:e,price:{amount:h,currency:d},title:a}})},variables:{input:{app_id:e,developer_payload:h,product_id:g}}})},y="Purchase";return k.jsxs(k.Fragment,{children:[k.jsx("div",{className:"xqmxbcd xmupa6y x1y1aw1k x1sxyh0 xwib8y2 xurb0ha",children:k.jsx(c("FDSTextPairing.react"),{headline:"Instant Game",level:2})}),k.jsx("div",{className:"xqmxbcd xmupa6y x1xmf6yo x1ye3gou xn6708d xz9dl7a",children:k.jsx(c("CometDOMOnlyBoundary.react"),{children:k.jsx(c("TopLevelKeyCommandListener.react"),{children:k.jsx(c("CometSelect.react"),{defaultLabel:"Select a Product",dropdownAccessibleLabelProps:{"aria-label":c("ARIA_LABEL_PLACEHOLDER_FIXME")},inputAccessibleLabelProps:{"aria-label":c("ARIA_LABEL_PLACEHOLDER_FIXME")},onChange:f,options:a,selectedValue:g})})})}),k.jsx("div",{className:"x1yztbdb x1h5jrl4 xmn8rco xyamay9 x1pi30zi x1l90r2v x1swvt13 x1ja2u2z",children:j?k.jsx(c("CometProgressButtonIndeterminate.react"),{label:y}):k.jsx(c("TetraButton.react"),{disabled:j,label:y,onPress:x})}),k.jsx(c("ECPProductPlaygroundInstantGamePurchases.react"),{appID:e})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
ECPProductPlaygroundInstantGameButtonData.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"inputID"}],kind:"Fragment",metadata:null,name:"ECPProductPlaygroundInstantGameButtonData",selections:[{alias:null,args:[{kind:"Variable",name:"app_id",variableName:"inputID"}],concreteType:"ECPDevPortalInstantGameProdQueryResponse",kind:"LinkedField",name:"xfb_fetch_instant_game_product_info",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGameProductData",kind:"LinkedField",name:"products",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"price",storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null};e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql",["ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:"createPurchaseOrder",args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"InstantGameCreatePurchaseOrderResponsePayload",kind:"LinkedField",name:"instant_game_create_purchase_order",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGamePurchaseOrderCreationError",kind:"LinkedField",name:"error",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"code",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],storageKey:null},{alias:"appName",args:null,kind:"ScalarField",name:"app_name",storageKey:null},{alias:"countryCode",args:null,kind:"ScalarField",name:"country_code",storageKey:null},{alias:"currencyCode",args:null,kind:"ScalarField",name:"currency_code",storageKey:null},{alias:"imageURL",args:null,kind:"ScalarField",name:"image_url",storageKey:null},{alias:"orderID",args:null,kind:"ScalarField",name:"order_id",storageKey:null},{alias:"price",args:null,kind:"ScalarField",name:"price_as_float",storageKey:null},{alias:"shouldShowPhysicalAddress",args:null,kind:"ScalarField",name:"should_show_physical_address",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:"isTestPurchase",args:null,kind:"ScalarField",name:"is_test_purchase",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",selections:c},params:{id:b("ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation"),metadata:{},name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5261899807256980"}),null);
-----
ECPProductPlaygroundRoot.react",["CometColumn.react","CometContentArea.react","CometLayout.react","CometRelay","CometRow.react","CometRowItem.react","ECPDevPortalConstants","ECPProductPlaygroundCanvasGameButton.react","ECPProductPlaygroundCustomizedButton.react","ECPProductPlaygroundDonateButton.react","ECPProductPlaygroundInstantGameButton.react","ECPProductPlaygroundRootQuery.graphql","ECPProductPlaygroundStarButton.react","RelayHooks","TetraTextPairing.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=h!==void 0?h:h=b("ECPProductPlaygroundRootQuery.graphql"),l={card:{backgroundColor:"x1jx94hy",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0}};function a(a){var b,e=a.queries.ECPProductPlaygroundQueryRef,f=a.props.routeProps.productName;e=d("CometRelay").usePreloadedQuery(k,e);return j.jsx(d("RelayHooks").RelayEnvironmentProvider,{environment:d("RelayHooks").useRelayEnvironment(),children:j.jsx(c("CometLayout.react"),{children:j.jsx(c("CometContentArea.react"),{children:j.jsx("div",{style:{margin:30,width:480},children:j.jsxs(c("CometColumn.react"),{paddingHorizontal:16,paddingVertical:12,spacing:16,xstyle:l.card,children:[j.jsx(c("CometRow.react"),{paddingHorizontal:8,paddingTop:16,children:j.jsx(c("CometRowItem.react"),{expanding:!0,children:j.jsx(c("TetraTextPairing.react"),{body:"",headline:f===d("ECPDevPortalConstants").CUSTOMIZED_PRODUCT?"Customized Checkout":"Existing Product Demo",level:2})})}),j.jsx(c("CometRow.react"),{children:j.jsxs(c("CometRowItem.react"),{expanding:!0,children:[f===d("ECPDevPortalConstants").Products.Donation&&j.jsx(c("ECPProductPlaygroundDonateButton.react"),{query:e}),f===d("ECPDevPortalConstants").Products.Star&&j.jsx(c("ECPProductPlaygroundStarButton.react"),{feedbackID:a.props.routeProps.inputID}),f===d("ECPDevPortalConstants").Products.InstantGame&&j.jsx(c("ECPProductPlaygroundInstantGameButton.react"),{appID:(b=a.props.routeProps.inputID)!=null?b:"",query:e}),f===d("ECPDevPortalConstants").Products.CanvasGame&&j.jsx(c("ECPProductPlaygroundCanvasGameButton.react"),{appID:(b=a.props.routeProps.inputID)!=null?b:""}),f===d("ECPDevPortalConstants").CUSTOMIZED_PRODUCT&&j.jsx(c("ECPProductPlaygroundCustomizedButton.react"),{xdbID:(e=a.props.routeProps.inputID)!=null?e:""})]})})]})})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
ECPProductPlaygroundRootQuery.graphql",["ECPProductPlaygroundRootQuery_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"inputID"}],c=[{kind:"Variable",name:"inputID",variableName:"inputID"}],d={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"currency",storageKey:null},f=[e,{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"ECPProductPlaygroundRootQuery",selections:[{args:c,kind:"FragmentSpread",name:"ECPProductPlaygroundDonateButtonData"},{args:c,kind:"FragmentSpread",name:"ECPProductPlaygroundInstantGameButtonData"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"ECPProductPlaygroundRootQuery",selections:[{alias:"fundraiser",args:[{kind:"Variable",name:"id",variableName:"inputID"}],concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"fundraiser_country_code",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ecp_product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ecp_receiver_id",storageKey:null},{alias:null,args:null,concreteType:"DonationFundraiserEntity",kind:"LinkedField",name:"donation_entity",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle_shortened",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"image_url",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"BasePriceSelectorConfig",kind:"LinkedField",name:"fundraiser_donation_price_selector_config",plural:!1,selections:[{alias:null,args:null,concreteType:"PriceSelectorCustomAmount",kind:"LinkedField",name:"custom_amount",plural:!1,selections:[e,{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"max",plural:!1,selections:f,storageKey:null},{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"min",plural:!1,selections:f,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"placeholder_text",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XFBDonationCheckoutConfirmationConfig",kind:"LinkedField",name:"donation_checkout_confirmation_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_cta_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_upsell_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"feature_confirmation_screen_upsell_section_title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_icons",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_links",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_texts",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"confirmation_screen_done_button_link",storageKey:null}],storageKey:null}],type:"Fundraiser",abstractKey:"__isFundraiser"}],storageKey:null},{alias:null,args:[{kind:"Variable",name:"app_id",variableName:"inputID"}],concreteType:"ECPDevPortalInstantGameProdQueryResponse",kind:"LinkedField",name:"xfb_fetch_instant_game_product_info",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGameProductData",kind:"LinkedField",name:"products",plural:!0,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"price",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:b("ECPProductPlaygroundRootQuery_facebookRelayOperation"),metadata:{},name:"ECPProductPlaygroundRootQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton.react",["ARIA_LABEL_PLACEHOLDER_FIXME","CometDOMOnlyBoundary.react","CometProgressButtonIndeterminate.react","CometRelay","CometSelect.react","ECPProductPlaygroundInstantGameButtonData.graphql","ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql","ECPProductPlaygroundInstantGamePurchases.react","FBPayOnsiteECPCheckoutHelperRootDialog.entrypoint","InstantGamesIAP","RelayHooks","TetraButton.react","TetraTextPairing.react","TopLevelKeyCommandListener.react","react","useCometDynamicEntryPointDialog","useFBPayFetchProductConfigQuery","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react"));e=j;var l=e.useEffect,m=e.useRef,n=e.useState,o=h!==void 0?h:h=b("ECPProductPlaygroundInstantGameButtonData.graphql");function a(a){var e=a.appID;a=a.query;var f=n(""),g=f[0];f=f[1];var h="{customPayload: 1234}";a=d("CometRelay").useFragment(o,a);a=(a=a.xfb_fetch_instant_game_product_info)==null?void 0:a.products;a=(a=a==null?void 0:a.map(function(a){var b;return{label:String(((b=a.title)!=null?b:"")+", "+((b=a.price)!=null?b:"")),value:(b=a.product_id)!=null?b:""}}))!=null?a:[];var j=n(""),p=j[0],q=j[1];l(function(){q(["upl",Date.now(),c("uuidv4")()].join("_"))},[]);j=n();var r=j[0],s=j[1],t=m(r),u=c("useCometDynamicEntryPointDialog")(c("FBPayOnsiteECPCheckoutHelperRootDialog.entrypoint")),v=c("useFBPayFetchProductConfigQuery")({product_id:d("InstantGamesIAP").INSTANT_GAMES_PAYMENT_PRODUCT_ID,product_item_id:"",receiver_id:e,session_id:p});j=d("RelayHooks").useMutation(i!==void 0?i:i=b("ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql"));var w=j[0];j=j[1];l(function(){if(r==null||r===t.current)return;var a={country_code:r.countryCode,optional_fields:v.optionalFields,order_id:r.orderID,payment_container_mode:"LIVE",payment_product_id:d("InstantGamesIAP").INSTANT_GAMES_PAYMENT_PRODUCT_ID,receiver_description:r.product.title,receiver_icon_uri:r.product.imageURL,receiver_id:e,receiver_name:r.appName,session_id:p,total:{currency:r.product.price.currency,value:r.product.price.amount.toFixed(2)}};u({routeProps:a},{routeProps:a},function(){s(null)});t.current=r},[u,g,e,r,p,s,v.optionalFields]);var x=function(){w({onCompleted:function(a){a=a.createPurchaseOrder;if(a==null)return;var b=a.error;if(b!=null)return;b=a.appName;var c=a.countryCode,d=a.currencyCode,e=a.imageURL,f=a.isTestPurchase,g=a.orderID,h=a.price;a=a.title;if(b==null||d==null||e==null||g==null||h==null||a==null||f==null)return;s({appName:b,countryCode:(b=c)!=null?b:"",isTestPurchase:f,orderID:g,product:{imageURL:e,price:{amount:h,currency:d},title:a}})},variables:{input:{app_id:e,developer_payload:h,product_id:g}}})},y="Purchase";return k.jsxs(k.Fragment,{children:[k.jsx("div",{className:"xqmxbcd xmupa6y x1y1aw1k x1sxyh0 xwib8y2 xurb0ha",children:k.jsx(c("TetraTextPairing.react"),{headline:"Instant Game",level:2})}),k.jsx("div",{className:"xqmxbcd xmupa6y x1xmf6yo x1ye3gou xn6708d xz9dl7a",children:k.jsx(c("CometDOMOnlyBoundary.react"),{children:k.jsx(c("TopLevelKeyCommandListener.react"),{children:k.jsx(c("CometSelect.react"),{defaultLabel:"Select a Product",dropdownAccessibleLabelProps:{"aria-label":c("ARIA_LABEL_PLACEHOLDER_FIXME")},inputAccessibleLabelProps:{"aria-label":c("ARIA_LABEL_PLACEHOLDER_FIXME")},onChange:f,options:a,selectedValue:g})})})}),k.jsx("div",{className:"x1yztbdb x1h5jrl4 xmn8rco xyamay9 x1pi30zi x1l90r2v x1swvt13 x1ja2u2z",children:j?k.jsx(c("CometProgressButtonIndeterminate.react"),{label:y}):k.jsx(c("TetraButton.react"),{disabled:j,label:y,onPress:x})}),k.jsx(c("ECPProductPlaygroundInstantGamePurchases.react"),{appID:e})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
ECPProductPlaygroundInstantGameButtonData.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"inputID"}],kind:"Fragment",metadata:null,name:"ECPProductPlaygroundInstantGameButtonData",selections:[{alias:null,args:[{kind:"Variable",name:"app_id",variableName:"inputID"}],concreteType:"ECPDevPortalInstantGameProdQueryResponse",kind:"LinkedField",name:"xfb_fetch_instant_game_product_info",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGameProductData",kind:"LinkedField",name:"products",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"product_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"price",storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null};e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation.graphql",["ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:"createPurchaseOrder",args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"InstantGameCreatePurchaseOrderResponsePayload",kind:"LinkedField",name:"instant_game_create_purchase_order",plural:!1,selections:[{alias:null,args:null,concreteType:"InstantGamePurchaseOrderCreationError",kind:"LinkedField",name:"error",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"code",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],storageKey:null},{alias:"appName",args:null,kind:"ScalarField",name:"app_name",storageKey:null},{alias:"countryCode",args:null,kind:"ScalarField",name:"country_code",storageKey:null},{alias:"currencyCode",args:null,kind:"ScalarField",name:"currency_code",storageKey:null},{alias:"imageURL",args:null,kind:"ScalarField",name:"image_url",storageKey:null},{alias:"orderID",args:null,kind:"ScalarField",name:"order_id",storageKey:null},{alias:"price",args:null,kind:"ScalarField",name:"price_as_float",storageKey:null},{alias:"shouldShowPhysicalAddress",args:null,kind:"ScalarField",name:"should_show_physical_address",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:"isTestPurchase",args:null,kind:"ScalarField",name:"is_test_purchase",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",selections:c},params:{id:b("ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation"),metadata:{},name:"ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
ECPProductPlaygroundInstantGameButton_CreatePurchaseOrderMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5261899807256980"}),null);
-----