if (self.CavalryLogger) { CavalryLogger.start_js(["EdyRn"]); }

__d("BundleState",[],(function(a,b,c,d,e,f){e.exports={UNKNOWN:85,AUTH_PENDING:71,AUTH_COMPLETED:68,AUTH_FAILED:88,DISCARDED:83,CAPTURE_READY:82,CAPTURE_PENDING:80,CAPTURE_COMPLETED:67,CAPTURE_FAILED:70}}),null);
__d("NmorOrderType",[],(function(a,b,c,d,e,f){e.exports={UNKNOWN:0,PAYMENT_APP:65,BUSINESS_PLATFORM_COMMERCE:66,COMPONENT_FLOW:67,DONATION_P4P:68,EVENT_TICKETING:69,MESSENGER_PLATFORM:70,P2P:71,SHIPPING_LABEL:72,MARKETPLACE_DROPOFF:75,PAGES_SOLUTION:76,MOBILE_TOP_UP:77,MESSENGER_OMNIM:79,PAGES_COMMERCE:80,BLACKBAUD_RWR_DONATION:82,SYNCHRONOUS_COMPONENT_FLOW:83,TIP_JAR:84,BUY_ON_FACEBOOK:85,PLATFORM_SELF_SERVE:86,WHATSAPP_P2P:87,NONE:88,INSTANT_EXPERIENCES:90,INSTAGRAM_P2B:97,MARKETPLACE_SHIPPING:98,EXTERNAL_WALLET_BALANCE_PAYOUT:99,CHECKOUT_EXPERIENCES:100,INSTAGRAM_SHOPPING:101,FACEBOOK_INCENTIVE_BUYER:102,FACEBOOK_INCENTIVE_SELLER:103,DUMMY:104,SRT:105,PPGF_DONATION:106,ADVERTISER_SUBSCRIPTION:107,WHATSAPP_P2M:108,MOVIE_TICKETING:109,C2C_CHECKOUT_EXPERIENCES:110,MESSAGING_COMMERCE:111}}),null);
__d("NmorOrderTypeName",[],(function(a,b,c,d,e,f){e.exports={UNKNOWN:"unknown",PAYMENT_APP:"payment_app",BUSINESS_PLATFORM_COMMERCE:"business_platform_commerce",COMPONENT_FLOW:"component_flow",DONATION_P4P:"donation_p4p",EVENT_TICKETING:"event_ticketing",MESSENGER_PLATFORM:"messenger_platform",P2P:"p2p",SHIPPING_LABEL:"shipping_label",MARKETPLACE_DROPOFF:"marketplace_dropoff",PAGES_SOLUTION:"pages_solution",MOBILE_TOP_UP:"mobile_top_up",MESSENGER_OMNIM:"messenger_omnim",PAGES_COMMERCE:"pages_commerce",BLACKBAUD_RWR_DONATION:"blackbaud_rwr_donation",SYNCHRONOUS_COMPONENT_FLOW:"synchronous_component_flow",TIP_JAR:"tip_jar",BUY_ON_FACEBOOK:"buy_on_facebook",PLATFORM_SELF_SERVE:"platform_self_serve",WHATSAPP_P2P:"whatsapp_p2p",NONE:"none",INSTANT_EXPERIENCES:"instant_experiences",INSTAGRAM_P2B:"instagram_p2b",MARKETPLACE_SHIPPING:"marketplace_shipping",EXTERNAL_WALLET_BALANCE_PAYOUT:"external_wallet_balance_payout",CHECKOUT_EXPERIENCES:"checkout_experiences",INSTAGRAM_SHOPPING:"instagram_shopping",FACEBOOK_INCENTIVE_BUYER:"facebook_incentive_buyer",FACEBOOK_INCENTIVE_SELLER:"facebook_incentive_seller",DUMMY:"dummy",SRT:"srt",PPGF_DONATION:"ppgf_donation",ADVERTISER_SUBSCRIPTION:"advertiser_subscription",WHATSAPP_P2M:"whatsapp_p2m",MOVIE_TICKETING:"movie_ticketing",C2C_CHECKOUT_EXPERIENCES:"c2c_checkout_experiences",MESSAGING_COMMERCE:"messaging_commerce"}}),null);
__d("PaymentActionStatus",[],(function(a,b,c,d,e,f){e.exports={INITED:73,PENDING:80,PROCESSING:82,WAIT_FOR_REVIEW_PENDING:68,WAIT_FOR_REVIEW:77,REVIEW_SUCCESS_PENDING:66,REVIEW_CANCEL_PENDING:88,COMPLETED:67,FAILED:70,AUTH_PENDING:69,AUTH_COMPLETED:65,REVERSE_AUTH_PENDING:86,CAPTURE_PENDING:84}}),null);
__d("PaymentDisputeReason",[],(function(a,b,c,d,e,f){e.exports={NOT_SETTLED:78,SETTLED_LEGACY_DISPUTE:76,SETTLED_AUTO_RESOLVED_BY_FB:65,SETTLED_REFUND:82,SETTLED_NO_ACTION:85,SETTLED_IN_GAME:71,SETTLED_BANNED_USER:66}}),null);
__d("PaymentDisputeStatus",[],(function(a,b,c,d,e,f){e.exports={PENDING:80,RESOLVED:82}}),null);
__d("PaymentInstrumentType",[],(function(a,b,c,d,e,f){e.exports={UNKNOWN:0,WALLET:1,FX:2,TAX:3,FEE:4,DISCOUNT:5,GIFTCARD_BALANCE:6,CREDITS_BALANCE:7,USER_STORED_BALANCE:8,FB_TOKEN:9,PAYOUT:10,CC:100,PAYPAL_TOKEN:101,DIRECT_DEBIT:102,PAYPAL_BA:103,DUMMY:104,PAYPAL_PAYOUT:105,AFFIRM:106,PAYONEER:107,MOBILE:200,GIFTCARD:201,ALTPAY:202,ALTPAY_REDEMPTION:203,ASYNC_DUMMY:204,ASYNC_HOLD:205,ADS_DSO_INVOICE:206,INVOICING:207,RECORD_PAYOUTS:208,ADS_TOKEN:301,ADS_XCREDIT:302,ADS_XCREDIT_REPAYMENT:303,ADS_STORED_BALANCE:304,ALT_PAY_REPAYMENT:402,PROMOTION:501,ATLAS_INVOICE:601,CASH_OUT:701,CB_LOSS:702,NET_BANKING:800,CASH_OVER_COUNTER:801,CASH_ON_DELIVERY:802,NMOR_WALLET:803,EXTERNAL_WALLET:804,UPI:805,STORED_VALUE_ACCOUNT:806,PAYPAL_WA_WALLET:807,PAYPAL_WA_FUNDING_INSTRUMENT:808}}),null);
__d("CommerceMerchantImageBlock.react",["cx","fbt","BackgroundImage.react","ImageBlock.react","InlineBlock.react","Link.react","React","XUIGrayText.react","XUIText.react","ads-lib-formatters","joinClasses"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=b("ads-lib-formatters").createIntlNumberFormatter(0);a=b("React").PropTypes;var j=" \xb7 ";c=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props.size;return b("React").createElement(b("ImageBlock.react"),babelHelpers["extends"]({},this.props,{spacing:"large",className:b("joinClasses")(this.props.className,"_48_c")}),b("React").createElement(b("BackgroundImage.react"),{src:this.props.profilePicURI,width:a,height:a,backgroundSize:"cover",optimizeResizeSpeed:!0,loadingIndicatorStyle:"small",className:"_48_d"}),b("React").createElement(b("InlineBlock.react"),{alignv:"middle",height:a},b("React").createElement(b("XUIGrayText.react"),{size:"meta1",shade:"light",weight:"bold",display:"block",className:"_3-94"},h._("Ng\u01b0\u1eddi b\u00e1n")),b("React").createElement(b("Link.react"),{href:this.props.profileURI},b("React").createElement(b("XUIText.react"),{size:"header4",weight:"bold"},this.props.name)),b("React").createElement(b("XUIGrayText.react"),{shade:"light",size:"meta1",display:"block"},this.props.categoryNames.join(j),j,h._({"*":"{number of likes} l\u01b0\u1ee3t th\u00edch"},[h._param("number of likes",i(this.props.fanCount),[0,this.props.fanCount])]))))};return c}(b("React").Component);c.propTypes={categoryNames:a.array.isRequired,fanCount:a.number.isRequired,name:a.string.isRequired,profilePicURI:a.string.isRequired,profileURI:a.string.isRequired,size:a.number.isRequired};e.exports=c}),null);
__d("XCommerceCustomerOrderCancelController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/commerce/orders/{order_id}/_cancel_order/",{order_id:{type:"Int",required:!0}})}),null);
__d("CommerceSettingsOrderCancelDialog.react",["cx","fbt","AsyncRequest","BOFCancellationReason","CommerceErrorNotice.react","CommerceMerchantImageBlock.react","LayerFadeOnHide","LayerHideOnEscape","React","SimpleXUIDialog","XCommerceCustomerOrderCancelController","XCommerceErrorParam","XCommerceOrderParam","XUIButton.react","XUIDialog.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIDialogTitle.react","XUIGrayText.react","XUISelector.react","ReloadPage"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=b("XUISelector.react").Option;a=b("React").PropTypes;var j={LayerFadeOnHide:b("LayerFadeOnHide"),LayerHideOnEscape:b("LayerHideOnEscape")},k=function(){__p&&__p();var a={};a[b("BOFCancellationReason").NO_LONGER_WANT]=h._("T\u00f4i kh\u00f4ng mu\u1ed1n (c\u00e1c) m\u1eb7t h\u00e0ng \u0111\u00f3 n\u1eefa");a[b("BOFCancellationReason").ACCIDENTAL_PURCHASE]=h._("T\u00f4i mua h\u00e0ng do nh\u1ea7m l\u1eabn");a[b("BOFCancellationReason").ORDERED_WRONG_ITEM]=h._("T\u00f4i \u0111\u00e3 mua nh\u1ea7m h\u00e0ng");a[b("BOFCancellationReason").ORDERED_WRONG_QTY]=h._("T\u00f4i \u0111\u00e3 mua nh\u1ea7m s\u1ed1 l\u01b0\u1ee3ng");a[b("BOFCancellationReason").NEED_TO_CHANGE_OR_UPDATE_SHIPPING_INFO]=h._("T\u00f4i c\u1ea7n thay \u0111\u1ed5i \u0111\u1ecba ch\u1ec9 giao h\u00e0ng");a[b("BOFCancellationReason").NEED_TO_CHANGE_OR_UPDATE_BILLING_INFO]=h._("T\u00f4i c\u1ea7n thay \u0111\u1ed5i th\u00f4ng tin thanh to\u00e1n");a[b("BOFCancellationReason").FOUND_A_CHEAPER_PRICE]=h._("T\u00f4i th\u1ea5y n\u01a1i kh\u00e1c c\u00f3 gi\u00e1 r\u1ebb h\u01a1n");a[b("BOFCancellationReason").CUSTOMER_CANCEL_REASON_OTHER]=h._("L\u00fd do kh\u00e1c");return a}();c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={errors:null,reason:b("BOFCancellationReason").NO_LONGER_WANT.toString(),shown:!1},d.renderLayers=function(){var a=d.props.order;return b("React").createElement(b("XUIDialog.react"),{shown:d.state.shown,behaviors:j,onToggle:d.$2,width:400,key:"dialog"},b("React").createElement(b("XUIDialogTitle.react"),null,h._("H\u1ee7y \u0111\u01a1n \u0111\u1eb7t h\u00e0ng")),b("React").createElement(b("XUIDialogBody.react"),{className:"_2y6f"},b("React").createElement(b("CommerceErrorNotice.react"),{className:"_3-95",error:d.state.errors}),b("React").createElement(b("CommerceMerchantImageBlock.react"),{categoryNames:a.page.categoryNames,fanCount:a.page.fanCount,name:a.page.name,profilePicURI:a.page.profilePicURI,profileURI:a.page.profileURI,size:35}),b("React").createElement(b("XUIGrayText.react"),{shade:"medium",size:"header4",weight:"bold",className:"_2pid",display:"block"},h._("B\u1ea1n c\u1ea7n h\u1ee7y \u0111\u01a1n \u0111\u1eb7t h\u00e0ng?")),b("React").createElement(b("XUIGrayText.react"),{className:"_2pid",display:"block",shade:"medium",size:"meta1"},h._("B\u1ea1n c\u00f3 th\u1ec3 h\u1ee7y \u0111\u01a1n \u0111\u1eb7t h\u00e0ng trong v\u00f2ng 30 ph\u00fat v\u00e0 th\u1ebb s\u1ebd kh\u00f4ng b\u1ecb t\u00ednh ph\u00ed.")),b("React").createElement(b("XUIGrayText.react"),{className:"_2pid",display:"block",shade:"medium",size:"meta1"},h._("S\u1ed1 \u0111\u01a1n \u0111\u1eb7t h\u00e0ng: {order number}",[h._param("order number",a.id)])),b("React").createElement("hr",{className:"_2y6g _3-8n"}),b("React").createElement(b("XUIGrayText.react"),{shade:"medium",size:"meta1",weight:"bold",className:"_3-94",display:"block"},h._("T\u1ea1i sao b\u1ea1n h\u1ee7y \u0111\u01a1n \u0111\u1eb7t h\u00e0ng?")),b("React").createElement(b("XUISelector.react"),{className:"_3-8w",value:d.state.reason,onChange:d.$3},d.$4())),b("React").createElement(b("XUIDialogFooter.react"),null,b("React").createElement(b("XUIDialogButton.react"),{action:"cancel",size:"large",label:h._("\u0110\u00f3ng")}),b("React").createElement(b("XUIDialogButton.react"),{use:"confirm",action:"confirm",size:"large",label:h._("H\u1ee7y \u0111\u01a1n \u0111\u1eb7t h\u00e0ng"),onClick:d.$5})))},d.$4=function(){var a=[];for(var c in k)a.push(b("React").createElement(i,{value:c},k[c]));return a},d.$1=function(a){d.setState({shown:!0})},d.$2=function(a){d.setState({shown:a}),a===!1&&d.setState({errors:null})},d.$3=function(a){d.setState({reason:a.value.toString(),errors:null})},d.$6=function(){d.setState({shown:!1})},d.$5=function(a){__p&&__p();a=b("XCommerceCustomerOrderCancelController").getURIBuilder().setInt(b("XCommerceOrderParam").ORDER_ID,d.props.order.id).getURI();var c={};c[b("XCommerceOrderParam").REASON]=d.state.reason;new(b("AsyncRequest"))().setURI(a).setData(c).setHandler(function(a){a=a.payload[b("XCommerceErrorParam").ERRORS];if(a){a=a[b("XCommerceErrorParam").GENERAL_ERROR];this.setState({errors:a&&a[b("XCommerceErrorParam").ERROR_MSG]})}else this.setState({shown:!1}),b("SimpleXUIDialog").show(h._("\u0110\u01a1n \u0111\u1eb7t h\u00e0ng ({order number}) c\u1ee7a b\u1ea1n t\u1eeb {seller name} \u0111\u00e3 b\u1ecb h\u1ee7y v\u00e0 th\u1ebb c\u1ee7a b\u1ea1n kh\u00f4ng b\u1ecb t\u00ednh ph\u00ed. Ch\u00fang t\u00f4i s\u1ebd g\u1eedi email x\u00e1c nh\u1eadn \u0111\u1ec3 b\u1ea1n l\u01b0u h\u1ed3 s\u01a1.",[h._param("order number","#"+this.props.order.id),h._param("seller name",this.props.order.page.name)]),h._("\u0110\u00e3 h\u1ee7y \u0111\u01a1n \u0111\u1eb7t h\u00e0ng"),function(){b("ReloadPage").now()})}.bind(babelHelpers.assertThisInitialized(d))).send()},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){return b("React").createElement("span",null,b("React").createElement(b("XUIButton.react"),{href:"#",label:h._("H\u1ee7y \u0111\u01a1n \u0111\u1eb7t h\u00e0ng"),className:"_3yyv",onClick:this.$1}),this.renderLayers())};return c}(b("React").Component);c.propTypes={order:a.object.isRequired};e.exports=c}),null);
__d("XCommerceCustomerOrderContactSellerController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/commerce/orders/{order_id}/_contact_seller/",{order_id:{type:"Int",required:!0}})}),null);
__d("CommerceSettingsOrderContactSellerDialog.react",["cx","fbt","AbstractTextArea.react","AsyncRequest","BOFCommunicationCode","CommerceErrorNotice.react","CommerceMerchantImageBlock.react","LayerFadeOnHide","LayerHideOnEscape","React","SimpleXUIDialog","XCommerceCustomerOrderContactSellerController","XCommerceErrorParam","XCommerceOrderParam","XUIButton.react","XUIDialog.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIDialogTitle.react","XUIGrayText.react","XUISingleSelector.react","XUITextInput.react","Image.react","ImageBlock.react","InlineBlock.react"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=b("XUISingleSelector.react").Option;a=b("React").PropTypes;var j={LayerFadeOnHide:b("LayerFadeOnHide"),LayerHideOnEscape:b("LayerHideOnEscape")},k=-1;c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={email:d.props.order.email,errors:null,msgToSeller:null,reason:d.props.reason!=null?d.props.reason.toString():k.toString(),shown:!1},d.$1=function(a){d.setState({shown:!0}),d.props.onShow&&d.props.onShow()},d.$5=function(a){d.setState({shown:a}),a===!1&&d.setState({errors:null})},d.$3=function(a){var b=null;a.value||(b=h._("Vui l\u00f2ng ch\u1ecdn l\u00fd do li\u00ean h\u1ec7 v\u1edbi ng\u01b0\u1eddi b\u00e1n"));d.setState({reason:a.value.toString(),errors:b})},d.$6=function(a){var b=null;a.target.value||(b=h._("Vui l\u00f2ng nh\u1eadp \u0111\u1ecba ch\u1ec9 email"));d.setState({email:a.target.value.toString(),errors:b})},d.$7=function(a){var b=null;a.target.value||(b=h._("Vui l\u00f2ng nh\u1eadp l\u00fd do li\u00ean h\u1ec7 v\u1edbi ng\u01b0\u1eddi b\u00e1n"));d.setState({msgToSeller:a.target.value.toString(),errors:b})},d.$8=function(a){__p&&__p();if(!d.state.errors&&(!d.state.email||!d.state.msgToSeller||d.$9())){d.setState({errors:h._("Vui l\u00f2ng nh\u1eadp t\u1ea5t c\u1ea3 th\u00f4ng tin \u0111\u1ec3 li\u00ean h\u1ec7 v\u1edbi ng\u01b0\u1eddi b\u00e1n")});return}if(d.state.errors)return;a=b("XCommerceCustomerOrderContactSellerController").getURIBuilder().setInt(b("XCommerceOrderParam").ORDER_ID,d.props.order.id).getURI();var c={};c[b("XCommerceOrderParam").EMAIL]=d.state.email;c[b("XCommerceOrderParam").MSG_TO_SELLER]=d.state.msgToSeller;c[b("XCommerceOrderParam").REASON]=d.$2()?d.state.reason:b("BOFCommunicationCode").COMMUNICATION_CODE_OTHER.toString();new(b("AsyncRequest"))().setURI(a).setData(c).setHandler(function(a){a=a.payload[b("XCommerceErrorParam").ERRORS];if(a){a=a[b("XCommerceErrorParam").GENERAL_ERROR];this.setState({errors:a&&a[b("XCommerceErrorParam").ERROR_MSG]})}else this.setState({shown:!1}),b("SimpleXUIDialog").show(h._("C\u1ea3m \u01a1n. B\u1ea1n s\u1ebd nh\u1eadn \u0111\u01b0\u1ee3c c\u00e2u tr\u1ea3 l\u1eddi c\u1ee7a {seller name} trong v\u00f2ng 3 ng\u00e0y l\u00e0m vi\u1ec7c.",[h._param("seller name",this.props.order.page.name)]),h._("Li\u00ean h\u1ec7 v\u1edbi ng\u01b0\u1eddi b\u00e1n"))}.bind(babelHelpers.assertThisInitialized(d))).send()},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.getCommerceContactSellerReasonsFBT=function(){var a;return[(a={},a[b("BOFCommunicationCode").COMMUNICATION_CODE_DELIVERY_ISSUE]=h._("T\u00f4i mu\u1ed1n bi\u1ebft tr\u1ea1ng th\u00e1i \u0111\u01a1n \u0111\u1eb7t h\u00e0ng c\u1ee7a m\u00ecnh"),a),(a={},a[b("BOFCommunicationCode").COMMUNICATION_CODE_ORDER_ISSUE]=h._("T\u00f4i g\u1eb7p s\u1ef1 c\u1ed1 v\u1edbi \u0111\u01a1n \u0111\u1eb7t h\u00e0ng"),a),(a={},a[b("BOFCommunicationCode").COMMUNICATION_CODE_CHANGE_ORDER]=h._("T\u00f4i c\u1ea7n thay \u0111\u1ed5i \u0111\u01a1n \u0111\u1eb7t h\u00e0ng"),a),(a={},a[b("BOFCommunicationCode").COMMUNICATION_CODE_RETURN_REFUND]=h._("T\u00f4i mu\u1ed1n y\u00eau c\u1ea7u tr\u1ea3 l\u1ea1i h\u00e0ng"),a),(a={},a[b("BOFCommunicationCode").COMMUNICATION_CODE_EXCHANGE]=h._("T\u00f4i mu\u1ed1n y\u00eau c\u1ea7u \u0111\u1ed5i h\u00e0ng"),a),(a={},a[b("BOFCommunicationCode").COMMUNICATION_CODE_OTHER]=h._("L\u00fd do kh\u00e1c"),a)]};d.render=function(){return b("React").createElement("span",null,b("React").createElement(b("XUIButton.react"),{href:"#",label:this.props.label,className:"_3yyv",disabled:this.props.disabled,onClick:this.props.disabled?null:this.$1}),this.renderLayers())};d.renderLayers=function(){var a=this.props.order,c=h._("\u0110\u1eb7t c\u00e2u h\u1ecfi ho\u1eb7c gi\u1ea3i th\u00edch v\u1ea5n \u0111\u1ec1 c\u1ee7a b\u1ea1n t\u1ea1i \u0111\u00e2y. H\u00e3y cung c\u1ea5p c\u00e0ng nhi\u1ec1u chi ti\u1ebft c\u00e0ng t\u1ed1t."),d=a.page.profileURI?b("React").createElement(b("CommerceMerchantImageBlock.react"),{categoryNames:a.page.categoryNames,fanCount:a.page.fanCount,name:a.page.name,profilePicURI:a.page.profilePicURI,profileURI:a.page.profileURI,size:56}):b("React").createElement(b("ImageBlock.react"),{spacing:"large"},b("React").createElement(b("Image.react"),{src:a.page.profilePicURI,height:50,width:50}),b("React").createElement(b("InlineBlock.react"),{alignv:"middle",height:50},b("React").createElement(b("XUIGrayText.react"),{size:"meta1",shade:"light",weight:"bold",display:"block"},h._("Ng\u01b0\u1eddi b\u00e1n")),a.page.name)),e=null;this.$2()&&(e=b("React").createElement("div",null,b("React").createElement(b("XUIGrayText.react"),{shade:"medium",size:"meta1",weight:"bold",className:"_3-94",display:"block"},h._("C\u00e2u h\u1ecfi c\u1ee7a b\u1ea1n l\u00e0 g\u00ec ?")),b("React").createElement(b("XUISingleSelector.react"),{maxwidth:300,value:this.state.reason,onChange:this.$3},this.$4())));return b("React").createElement(b("XUIDialog.react"),{shown:this.state.shown,behaviors:j,onToggle:this.$5,width:400,key:"dialog"},b("React").createElement(b("XUIDialogTitle.react"),null,h._("Li\u00ean h\u1ec7 v\u1edbi ng\u01b0\u1eddi b\u00e1n")),b("React").createElement(b("XUIDialogBody.react"),{className:"_2y6f"},b("React").createElement(b("CommerceErrorNotice.react"),{className:"_3-95",error:this.state.errors}),d,b("React").createElement(b("XUIGrayText.react"),{shade:"medium",size:"meta1",display:"block",className:"_3-8z _3-95"},h._("B\u1ea1n c\u00f3 th\u1ec3 h\u1ecfi v\u1ec1 m\u1eb7t h\u00e0ng \u0111ang b\u00e1n, y\u00eau c\u1ea7u tr\u1ea3 l\u1ea1i h\u00e0ng ho\u1eb7c b\u1ea5t k\u1ef3 \u0111i\u1ec1u g\u00ec kh\u00e1c. Ch\u1ec9 c\u1ea7n nh\u1eadp v\u00e0i chi ti\u1ebft b\u00ean d\u01b0\u1edbi v\u00e0 {merchant name} s\u1ebd g\u1eedi email l\u1ea1i cho b\u1ea1n.",[h._param("merchant name",a.page.name)])),b("React").createElement("hr",{className:"_2y6g _3-8q"}),e,b("React").createElement(b("XUIGrayText.react"),{shade:"medium",size:"meta1",weight:"bold",className:"_3-94 _3-8z",display:"block"},h._("\u0110\u1ecba ch\u1ec9 email c\u1ee7a b\u1ea1n l\u00e0 g\u00ec?")),b("React").createElement(b("XUITextInput.react"),{className:"_53sm",value:this.state.email,onChange:this.$6}),b("React").createElement(b("XUIGrayText.react"),{shade:"medium",size:"meta1",weight:"bold",className:"_3-94 _3-8z",display:"block"},h._("Cho {merchant name} bi\u1ebft v\u1ea5n \u0111\u1ec1:",[h._param("merchant name",a.page.name)])),b("React").createElement("div",{className:"_3-8x"},b("React").createElement(b("AbstractTextArea.react"),{placeholder:c,className:"_2y6i",onChange:this.$7}))),b("React").createElement(b("XUIDialogFooter.react"),null,b("React").createElement(b("XUIDialogButton.react"),{action:"cancel",size:"large",label:h._("H\u1ee7y")}),b("React").createElement(b("XUIDialogButton.react"),{use:"confirm",action:"confirm",size:"large",label:h._("G\u1eedi"),onClick:this.$8})))};d.$2=function(){var a=this.props.order;return a.adjustedTotalPrice.amount!==0||a.commercePurchaseType=="event_ticketing"};d.$9=function(){return!this.$2()?!1:!this.state.reason||this.state.reason===k.toString()};d.$4=function(){var a=this.getCommerceContactSellerReasonsFBT(),c=[];this.state.reason===k.toString()&&c.push(b("React").createElement(i,{key:k.toString(),value:k.toString()},h._("Vui l\u00f2ng ch\u1ecdn m\u1ed9t t\u00f9y ch\u1ecdn")));a.forEach(function(a){for(var d in a)c.push(b("React").createElement(i,{key:d,value:d},a[d]))});return c};return c}(b("React").Component);c.propTypes={order:a.object.isRequired,onShow:a.func,reason:a.number,disabled:a.bool,label:a.string.isRequired};c.defaultProps={disabled:!1};e.exports=c}),null);
__d("TextWithNewlines.react",["React"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a;a=(a=this.props.children)!=null?a:"";if(!a.includes("\n"))return a;var c=[];a.split("\n").forEach(function(a,d){c.push(a),c.push(b("React").createElement("br",{key:d}))});c.pop();return c};return c}(b("React").PureComponent);e.exports=a}),null);
__d("PaymentMethodHelper",["FBPaymentsMethodType"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={mapCardTypeToFBPaymentMethodType:function(a){__p&&__p();switch(a){case 65:return b("FBPaymentsMethodType").AMEX;case 68:return b("FBPaymentsMethodType").DISC;case 69:return b("FBPaymentsMethodType").ELO;case 74:return b("FBPaymentsMethodType").JCB;case 77:return b("FBPaymentsMethodType").MC;case 85:return b("FBPaymentsMethodType").GENERIC_CARD;case 86:return b("FBPaymentsMethodType").VISA;case 82:return b("FBPaymentsMethodType").RUPAY;default:return b("FBPaymentsMethodType").GENERIC_CARD}}};e.exports=a}),null);
__d("FBPaymentsPayoutSetupSteps",["keyMirrorRecursive"],(function(a,b,c,d,e,f){"use strict";a=b("keyMirrorRecursive")({INIT:"",SELECT_PAYMENT_PROVIDER:"",ADD_NEW_PAYMENT_PROVIDER:"",CONFIRMATION:""});e.exports=a}),null);
__d("PaymentsFormFieldsID",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ACCOUNT_NUMBER:"account_number",BSB:"bsb",IBAN:"iban",INSTITUTION_NUMBER:"institution_number",ROUNTING_NUMBER:"routing_number",SORT_CODE:"sort_code",TRANSIT_NUMBER:"transit_number",CURRENCY_SELECTOR:"currency_selector",CARE_OF:"care_of",STREET_1:"street1",STREET_2:"street2",CITY:"city",STATE:"state",COUNTRY:"country",ZIP:"zip",NATIONAL_ID:"national_id",NATIONAL_ID_TYPE:"national_id_type"})}),null);
__d("UserVerificationActionType",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({UPDATE_CREDENTIAL:"UPDATE_CREDENTIAL",COLLECT_RISK_DETAILS:"COLLECT_RISK_DETAILS",NONE:"NONE"})}),null);
__d("FBPaymentsPayoutSetupFlowContainerBase.react",["fbt","invariant","CurrentUser","FBPaymentsAvailableBankAccountPaymentProvider","FBPaymentsLoggerConstants","FBPaymentsPayoutSetupSteps","PaymentsFormFieldsID","React","ReceiverPaymentProviderType","UserVerificationActionType","abstractMethod","guid","immutable"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=b("FBPaymentsLoggerConstants").LoggerFlowType;var i=b("FBPaymentsLoggerConstants").LoggerFlowStep,j=b("FBPaymentsLoggerConstants").LoggerEvent,k="replace",l="onboard_country";c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c){__p&&__p();var d;d=a.call(this,c)||this;d.$3=function(a){__p&&__p();var c=a.availableProviders;a=a.onboardedProviders;var e=d.props.newProviderType,f=d.state.step,h,i,k;if(d.isSingleScreenFlow(a)){f=b("FBPaymentsPayoutSetupSteps").ADD_NEW_PAYMENT_PROVIDER;c.size<1?k=g._("Kh\u00f4ng t\u00ecm th\u1ea5y nh\u00e0 cung c\u1ea5p d\u1ecbch v\u1ee5 thanh to\u00e1n n\u00e0y. Vui l\u00f2ng th\u1eed l\u1ea1i sau."):h=e&&c.includes(e)?e:c.get(0).getType();e=d.$5(h);var m=d.$6(h,c);d.$1.setFlowStep(e).setEventName(j.INIT).addToExtraData(l,m).log()}else f=b("FBPaymentsPayoutSetupSteps").SELECT_PAYMENT_PROVIDER,i=a.get(0).getID();d.setState({availablePaymentProviders:c,onboardedPaymentProviders:a,selectedAvailablePaymentProviderType:h,selectedOnboardedPaymentProviderID:i,loading:!1,errorMessage:k,step:f})};d.$4=function(a){d.setState({loading:!1,errorMessage:a.message})};d.$7=function(){var a=d.state,c=a.step;a=a.onboardedPaymentProviders;switch(c){case b("FBPaymentsPayoutSetupSteps").SELECT_PAYMENT_PROVIDER:d.__handleClose(!1);break;case b("FBPaymentsPayoutSetupSteps").ADD_NEW_PAYMENT_PROVIDER:d.isSingleScreenFlow(a)?d.__handleClose(!1):d.$8();break}};d.__handleClose=function(a){d.logClose(),d.props.onClose&&d.props.onClose()};d.$9=function(){d.$1.setFlowStep(i.CONFIRMATION).setEventName(j.CANCEL).log(),d.__handleClose(!0)};d.$10=function(a){var c=d.state.selectedAvailablePaymentProviderType;if(c!==a){c=d.$6(a);d.$1.setFlowStep(d.$5(a)).setEventName(j.INIT).addToExtraData(l,c).log();d.setState({step:b("FBPaymentsPayoutSetupSteps").ADD_NEW_PAYMENT_PROVIDER,selectedAvailablePaymentProviderType:a,newPaymentProviderData:{},errorMessage:null})}};d.$11=function(a){d.setState({step:b("FBPaymentsPayoutSetupSteps").SELECT_PAYMENT_PROVIDER,selectedOnboardedPaymentProviderID:a,newPaymentProviderData:{},errorMessage:null})};d.$12=function(a,b){d.setState({isNewPaymentProviderDataValid:b,newPaymentProviderData:a})};d.$13=function(){switch(d.state.step){case b("FBPaymentsPayoutSetupSteps").ADD_NEW_PAYMENT_PROVIDER:d.$14();break;case b("FBPaymentsPayoutSetupSteps").SELECT_PAYMENT_PROVIDER:d.$15();break;default:d.$1.setFlowStep(i.DEBUG).setEventName(j.SAVE_CLICK).log();break}};d.$16=function(a,c){var e=d.state.selectedAvailablePaymentProviderType,f=d.$6();d.$1.setFlowStep(d.$5(e)).setEventName(j.SUCCESS).addToExtraData(l,f).log();d.props.onSuccess&&d.props.onSuccess();e=c&&c.actionRequired;c&&e&&e!==b("UserVerificationActionType").NONE?d.__handleActionRequired(c):a?d.setState({step:b("FBPaymentsPayoutSetupSteps").CONFIRMATION,confirmationInfo:a,loading:!1,errorMessage:null},function(){d.$1.setFlowStep(i.CONFIRMATION).setEventName(j.INIT).addToExtraData(l,f).log()}):d.__handleClose(!0)};d.$17=function(a){var b=d.state.selectedAvailablePaymentProviderType,c=d.$6();d.$1.setFlowStep(d.$5(b)).setEventName(j.FAIL).addToExtraData(l,c).setUserFacingMessage(a.message).setErrorMessage(a.serverErrorMessage).setExceptionClass(a.exceptionClass).setUserFacingErrorCode(a.code).setErrorCode(a.code).log();d.setState({errorMessage:a.message,loading:!1})};d.$2=c.sessionID||b("guid")();var e=d.__getLogger();d.$1=new e();d.$1.setGlobalFields({session_id:d.$2,product:c.paymentType,flow_name:c.flowName,payment_method_id:c.providerID});d.$1.setGlobalExtraData({step:c.step});d.$1.setFlowStep(i.PAYOUT_SETUP).setEventName(j.INIT).log();d.state={availablePaymentProviders:b("immutable").List(),onboardedPaymentProviders:b("immutable").List(),confirmationInfo:null,errorMessage:null,loading:!0,newPaymentProviderData:{},isNewPaymentProviderDataValid:!1,selectedAvailablePaymentProviderType:null,selectedOnboardedPaymentProviderID:null,step:b("FBPaymentsPayoutSetupSteps").INIT};return d}var d=c.prototype;d.UNSAFE_componentWillMount=function(){this.__getAPI().fetchPaymentProviders({id:this.props.receiverID,paymentType:this.props.paymentType},this.$3,this.$4)};d.isSingleScreenFlow=function(a){var b=this.props.step;return a.size===0||!!b&&b.toLowerCase()===k};d.logClose=function(){this.$1.setFlowStep(i.PAYOUT_SETUP).setEventName(j.CANCEL).log()};d.$8=function(){var a=this.state.selectedAvailablePaymentProviderType;this.$1.setFlowStep(this.$5(a)).setEventName(j.CANCEL).log();this.setState({step:b("FBPaymentsPayoutSetupSteps").SELECT_PAYMENT_PROVIDER,errorMessage:null,selectedAvailablePaymentProviderType:null})};d.$15=function(){this.$1.setFlowStep(i.PAYOUT_SETUP).setEventName(j.SAVE_CLICK).log(),this.__handleClose(!0)};d.$14=function(){__p&&__p();var a=this.state.newPaymentProviderData,c=this.state.selectedAvailablePaymentProviderType,d=this.$6();this.$1.setFlowStep(this.$5(c)).setEventName(j.SAVE_CLICK).addToExtraData(l,d).log();!c&&h(0,3606);c===b("ReceiverPaymentProviderType").BANK_ACCOUNT||h(0,3607,c);this.setState({loading:!0,errorMessage:null});d=this.props.onboardPaymentType||this.props.paymentType;var e=this.$6();a={bank_routing_number:a[b("PaymentsFormFieldsID").ROUNTING_NUMBER],bank_account_number:a[b("PaymentsFormFieldsID").ACCOUNT_NUMBER],bank_bsb:a[b("PaymentsFormFieldsID").BSB],bank_sort_code:a[b("PaymentsFormFieldsID").SORT_CODE],bank_iban:a[b("PaymentsFormFieldsID").IBAN],bank_transit_number:a[b("PaymentsFormFieldsID").TRANSIT_NUMBER],bank_institution_number:a[b("PaymentsFormFieldsID").INSTITUTION_NUMBER]};c=babelHelpers["extends"]({receiver_id:this.props.receiverID,session_id:this.$2,provider_type:c,provider_id:this.props.providerID,payment_type:d,bank_country:e},a);this.__getAPI().onboardPaymentProvider(c,this.$16,this.$17)};d.__handleActionRequired=function(a){return b("abstractMethod")("FBPaymentsPayoutSetupFlowContainerBase","__handleActionRequired")};d.$18=function(){var a=this.state.step,c=this.state.loading;switch(a){case b("FBPaymentsPayoutSetupSteps").SELECT_PAYMENT_PROVIDER:return!!this.state.selectedOnboardedPaymentProviderID&&!c;case b("FBPaymentsPayoutSetupSteps").ADD_NEW_PAYMENT_PROVIDER:return this.state.isNewPaymentProviderDataValid&&!c;default:return!1}};d.$5=function(a){switch(a){case b("ReceiverPaymentProviderType").BANK_ACCOUNT:return i.ADD_BANK_ACCOUNT;default:return null}};d.$19=function(a,b){b=b||this.state.availablePaymentProviders;var c=a||this.state.selectedAvailablePaymentProviderType;a=b.find(function(a){return a.getType()===c});return a};d.$20=function(){var a=null,c=this.$19();if(c instanceof b("FBPaymentsAvailableBankAccountPaymentProvider")){c=c;a=c.getDefaultFormFields()}return a};d.$6=function(a,c){a=this.$19(a,c);if(a instanceof b("FBPaymentsAvailableBankAccountPaymentProvider")){c=a;return c.getDefaultFormFieldKey()}return null};d.$21=function(){var a=this.$19();return a&&a.getFooterContent()};d.$22=function(){var a=this.$19();return a&&a.getFooterLinks()};d.$23=function(){var a=this.$19();return a&&a.getHeader()};d.__getAPI=function(){return b("abstractMethod")("FBPaymentsPayoutSetupFlowContainerBase","__getAPI")};d.__getLogger=function(){return b("abstractMethod")("FBPaymentsPayoutSetupFlowContainerBase","__getLogger")};d.__getPayoutSetupFlowView=function(){return b("abstractMethod")("FBPaymentsPayoutSetupFlowContainerBase","__getPayoutSetupFlowView")};d.__getVerificationFlowContainer=function(){return b("abstractMethod")("FBPaymentsPayoutSetupFlowContainerBase","__getVerificationFlowContainer")};d.render=function(){var a=this.__getPayoutSetupFlowView();return b("React").createElement(a,babelHelpers["extends"]({},this.state,{header:this.$23(),isSaveButtonEnabled:this.$18(),onCancel:this.$7,onClose:this.__handleClose,onDone:this.$9,onNewPaymentProviderFormDataChange:this.$12,onSave:this.$13,onSelectAvailableProvider:this.$10,onSelectOnboardedProvider:this.$11,selectedAvailablePaymentProviderFooterContent:this.$21(),selectedAvailablePaymentProviderFooterLinks:this.$22(),selectedAvailablePaymentProviderFormFields:this.$20()}))};return c}(b("React").Component);c.defaultProps={flowName:a.PAYOUT_SETUP,receiverID:b("CurrentUser").getID()};e.exports=c}),null);
__d("FBPaymentsCustomBankAccountFormBase.react",["React","abstractMethod"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.__getForm=function(){return b("abstractMethod")("FBPaymentsCustomBankAccountFormBase","__getForm")};d.__getCustomFormField=function(){return b("abstractMethod")("FBPaymentsCustomBankAccountFormBase","__getFormField")};d.render=function(){var a=this.__getForm(),c=this.__getCustomFormField(),d=this.props.fieldsConfig.map(function(a){return b("React").createElement(c,{fieldConfig:a,key:a.fieldID,name:a.fieldID,required:!a.isOptional})});return b("React").createElement(a,{enableFloatingLabels:this.props.enableFloatingLabels,onChange:this.props.onChange},d)};return c}(b("React").PureComponent);e.exports=a}),null);
__d("FBPaymentsCustomBankAccountForm.react",["FBPaymentsCustomBankAccountFormBase.react","FBPaymentsCustomFormField.react","FBPaymentsForm.react"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.__getForm=function(){return b("FBPaymentsForm.react")};d.__getCustomFormField=function(){return b("FBPaymentsCustomFormField.react")};return c}(b("FBPaymentsCustomBankAccountFormBase.react"));e.exports=a}),null);
__d("FBPaymentsPaymentProviderListItemView.react",["FBPaymentsPaymentMethodListItemView.react","Image","React"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.ICON_SIZE={height:24,width:36},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.getIcon=function(){return!this.props.iconURI?null:b("React").createElement(b("Image"),{source:babelHelpers["extends"]({uri:this.props.iconURI,sprited:!1},this.ICON_SIZE),style:this.ICON_SIZE})};d.getFontSize=function(){return"medium"};return c}(b("FBPaymentsPaymentMethodListItemView.react"));e.exports=a}),null);
__d("FBPaymentsPaymentProviderSelectorBase.react",["fbt","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.getOnboardedPaymentProviderSectionTitle=function(){return g._("Ph\u01b0\u01a1ng th\u1ee9c thanh to\u00e1n hi\u1ec7n t\u1ea1i")};c.getAvailablePaymentProviderSectionTitle=function(){return g._("Ph\u01b0\u01a1ng th\u1ee9c thanh to\u00e1n m\u1edbi")};return b}(b("React").PureComponent);e.exports=a}),null);
__d("FBPaymentsPaymentProviderSelector.react",["FBPaymentsPaymentProviderListItemView.react","FBPaymentsPaymentProviderSelectorBase.react","FBPaymentsRichSelector.react","React","XUIText.react"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("FBPaymentsRichSelector.react").Option;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),h=0;h<e;h++)f[h]=arguments[h];return(c=d=a.call.apply(a,[this].concat(f))||this,d.handlePaymentProviderSelectorChange=function(a){a=a.value;var b=d.isSelectionOnboardedProvider(a);b?d.props.onSelectOnboardedProvider(a):d.props.onSelectAvailableProvider(a)},d.renderOnboardedPaymentProvider=function(a){var c=b("React").createElement(b("XUIText.react"),{size:"header4"},a.getDisplayTitle());return b("React").createElement(g,{key:d.getOnboardedProviderSelectorValue(a),label:c,value:d.getOnboardedProviderSelectorValue(a)},b("React").createElement(b("FBPaymentsPaymentProviderListItemView.react"),{iconURI:a.getImageURL(),title:a.getDisplayTitle()}))},d.renderAvailablePaymentProvider=function(a){var c=b("React").createElement(b("XUIText.react"),{size:"header4"},a.getDisplayLabel());return b("React").createElement(g,{key:d.getAvailableProviderSelectorValue(a),label:c,value:d.getAvailableProviderSelectorValue(a)},b("React").createElement(b("FBPaymentsPaymentProviderListItemView.react"),{iconURI:a.getImageURL(),title:a.getCallToActionTitle()}))},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.isSelectionOnboardedProvider=function(a){return!isNaN(a)};d.getOnboardedProviderSelectorValue=function(a){return a.getID()};d.getAvailableProviderSelectorValue=function(a){return a.getType()};d.getDefaultValue=function(){if(this.props.defaultValue)return this.props.defaultValue;var a=this.props.onboardedPaymentProviders.get(0);if(a)return this.getOnboardedProviderSelectorValue(a);a=this.props.availablePaymentProviders.get(0);return a?this.getAvailableProviderSelectorValue(a):void 0};d.render=function(){var a=this.props.onboardedPaymentProviders,c=this.props.availablePaymentProviders;return b("React").createElement(b("FBPaymentsRichSelector.react"),{defaultValue:this.getDefaultValue(),multiple:!1,onChange:this.handlePaymentProviderSelectorChange},a.map(this.renderOnboardedPaymentProvider),c.map(this.renderAvailablePaymentProvider))};return c}(b("FBPaymentsPaymentProviderSelectorBase.react"));e.exports=a}),null);
__d("FBPaymentsPayoutSetupFlowViewBase.react",["fbt","FBPaymentsPayoutSetupSteps","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.getFlowTitle=function(){if(this.props.step===b("FBPaymentsPayoutSetupSteps").CONFIRMATION&&this.props.confirmationInfo)return this.props.confirmationInfo.header;if(this.props.step===b("FBPaymentsPayoutSetupSteps").ADD_NEW_PAYMENT_PROVIDER&&this.props.availablePaymentProviders.size===1){var a=this.props.availablePaymentProviders.get(0);return a.actionableTitle}return g._("Thi\u1ebft l\u1eadp thanh to\u00e1n")};d.getSaveButtonLabel=function(){return g._("L\u01b0u")};d.getCancelButtonLabel=function(){return g._("H\u1ee7y")};d.getDoneButtonLabel=function(){return g._("Xong")};d.getPaymentProviderSelectorLabel=function(){return g._("Ph\u01b0\u01a1ng th\u1ee9c thanh to\u00e1n")};return c}(b("React").PureComponent);c.propTypes={availablePaymentProviders:a.object.isRequired,confirmationInfo:a.object,errorMessage:a.node,header:a.object,isSaveButtonEnabled:a.bool.isRequired,loading:a.bool.isRequired,onAddNewPaymentProviderClick:a.func,onboardedPaymentProviders:a.object.isRequired,onCancel:a.func,onClose:a.func.isRequired,onDone:a.func,onNewPaymentProviderFormDataChange:a.func,onSave:a.func,selectedAvailablePaymentProviderType:a.string,selectedOnboardedPaymentProviderID:a.string,step:a.string.isRequired};e.exports=c}),null);
__d("FBPaymentsPayoutSetupFlowView.react",["cx","FBPaymentsCustomBankAccountForm.react","FBPaymentsHeader.react","FBPaymentsLoadingView.react","FBPaymentsPaymentProviderSelector.react","FBPaymentsPayoutConfirmationView.react","FBPaymentsPayoutSetupFlowViewBase.react","FBPaymentsPayoutSetupSteps","FBPaymentsTextWithEntities.react","Middot.react","React","XUIButton.react","XUIDialog.react","XUIDialogBody.react","XUIDialogTitle.react","XUIGrayText.react","XUINotice.react","immutable"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=500;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.$FBPaymentsPayoutSetupFlowView1=function(a){a||c.props.onClose()},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.$FBPaymentsPayoutSetupFlowView2=function(){switch(this.props.step){case b("FBPaymentsPayoutSetupSteps").INIT:return b("React").createElement("div",{className:"_eks"});case b("FBPaymentsPayoutSetupSteps").SELECT_PAYMENT_PROVIDER:return this.$FBPaymentsPayoutSetupFlowView3();case b("FBPaymentsPayoutSetupSteps").ADD_NEW_PAYMENT_PROVIDER:return this.$FBPaymentsPayoutSetupFlowView4();case b("FBPaymentsPayoutSetupSteps").CONFIRMATION:return this.$FBPaymentsPayoutSetupFlowView5();default:return null}};d.$FBPaymentsPayoutSetupFlowView5=function(){return!this.props.confirmationInfo?null:b("React").createElement(b("FBPaymentsPayoutConfirmationView.react"),this.props.confirmationInfo)};d.$FBPaymentsPayoutSetupFlowView6=function(){return!this.props.errorMessage?null:b("React").createElement(b("XUINotice.react"),{className:"_ekt",use:"warn"},this.props.errorMessage)};d.$FBPaymentsPayoutSetupFlowView3=function(){return b("React").createElement("div",null,this.$FBPaymentsPayoutSetupFlowView6(),this.$FBPaymentsPayoutSetupFlowView7(!0))};d.$FBPaymentsPayoutSetupFlowView4=function(){return b("React").createElement("div",null,this.$FBPaymentsPayoutSetupFlowView6(),this.$FBPaymentsPayoutSetupFlowView8(),b("React").createElement(i,{disclaimer:this.props.selectedAvailablePaymentProviderFooterContent,termsLinks:this.props.selectedAvailablePaymentProviderFooterLinks}))};d.$FBPaymentsPayoutSetupFlowView8=function(){var a=this.props.selectedAvailablePaymentProviderFormFields;return a?b("React").createElement(b("FBPaymentsCustomBankAccountForm.react"),{className:"_2pie",fieldsConfig:a,onChange:this.props.onNewPaymentProviderFormDataChange}):null};d.$FBPaymentsPayoutSetupFlowView7=function(a){a=a?this.props.onboardedPaymentProviders:b("immutable").List();return b("React").createElement("div",null,b("React").createElement(b("XUIGrayText.react"),{className:"_3yor",display:"block",shade:"medium",size:"meta1"},this.getPaymentProviderSelectorLabel()),b("React").createElement(b("FBPaymentsPaymentProviderSelector.react"),{availablePaymentProviders:this.props.availablePaymentProviders,onboardedPaymentProviders:a,onSelectAvailableProvider:this.props.onSelectAvailableProvider,onSelectOnboardedProvider:this.props.onSelectOnboardedProvider}))};d.$FBPaymentsPayoutSetupFlowView9=function(){return!this.props.header?null:b("React").createElement(b("FBPaymentsHeader.react"),{description:this.props.header.description,imageSrc:this.props.header.imageURL})};d.render=function(){var a=this.props.step===b("FBPaymentsPayoutSetupSteps").CONFIRMATION,c;a?c=b("React").createElement(b("XUIButton.react"),{label:this.getDoneButtonLabel(),onClick:this.props.onDone,size:"xlarge",use:"confirm"}):c=b("React").createElement("span",null,b("React").createElement(b("XUIButton.react"),{className:"_3-90",label:this.getCancelButtonLabel(),onClick:this.props.onCancel,size:"xlarge",use:"default"}),b("React").createElement(b("XUIButton.react"),{disabled:!this.props.isSaveButtonEnabled,label:this.getSaveButtonLabel(),onClick:this.props.onSave,size:"xlarge",use:"confirm"}));var d=this.$FBPaymentsPayoutSetupFlowView9();return b("React").createElement(b("XUIDialog.react"),{layerHideOnBlur:!1,onToggle:this.$FBPaymentsPayoutSetupFlowView1,shown:!0,width:h},b("React").createElement(b("XUIDialogTitle.react"),{className:"_5q-b _qu2",showCloseButton:!0},this.getFlowTitle()),b("React").createElement(b("XUIDialogBody.react"),{className:"_1jnq",useCustomPadding:!0},d,b("React").createElement("div",{className:(d?"_5kyc":"")+(a?"":" _5zdu")+(a?"":" _2ph_")},this.$FBPaymentsPayoutSetupFlowView2()),b("React").createElement("div",{className:"_52jw _2ph_ _5kyc"},c),b("React").createElement(b("FBPaymentsLoadingView.react"),{overlay:!0,visible:this.props.loading})))};return c}(b("FBPaymentsPayoutSetupFlowViewBase.react"));var i=function(a){var c=[],d=a.termsLinks;d&&d.forEach(function(a,e){c.push(b("React").createElement(b("FBPaymentsTextWithEntities.react"),{key:e,textWithEntities:a})),e!==d.length-1&&c.push(b("React").createElement(b("Middot.react"),{className:"__g5",key:e+"_dot"}))});return b("React").createElement("div",{className:"_2sxu"},b("React").createElement(b("XUIGrayText.react"),{className:"_3yor",display:"block",shade:"medium",size:"meta1"},b("React").createElement(b("FBPaymentsTextWithEntities.react"),{textWithEntities:a.disclaimer})),b("React").createElement(b("XUIGrayText.react"),{display:"block",shade:"medium",size:"meta1"},c))};e.exports=a}),null);
__d("FBPaymentsPayoutSetupFlowContainer.react",["FBPaymentsDialogActions","FBPaymentsLogger","FBPaymentsModulesAPI","FBPaymentsPayoutSetupFlowContainerBase.react","FBPaymentsPayoutSetupFlowView.react","FBPaymentsVerificationFlowContainer.react","UserVerificationProductType"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.__handleActionRequired=function(a){this.__handleClose(!0),b("FBPaymentsDialogActions").showDialog(this.__getVerificationFlowContainer(),{isAsyncDialogBody:!1,onCancel:b("FBPaymentsDialogActions").hideDialog,paymentType:this.props.paymentType,verificationProductType:b("UserVerificationProductType").MANAGED_STRIPE})};d.__getAPI=function(){return b("FBPaymentsModulesAPI")};d.__getPayoutSetupFlowView=function(){return b("FBPaymentsPayoutSetupFlowView.react")};d.__getLogger=function(){return b("FBPaymentsLogger")};d.__getVerificationFlowContainer=function(){return b("FBPaymentsVerificationFlowContainer.react")};return c}(b("FBPaymentsPayoutSetupFlowContainerBase.react"));e.exports=a}),null);
__d("FBPaymentsSubscriptionAgreementsWebGraphQLQuery",["WebGraphQLQueryBase"],(function(a,b,c,d,e,f){"use strict";__p&&__p();e.exports=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}b.__getDocID=function(){return"2021002247958023"};b.getQueryID=function(){return"2226921784005553"};return b}(b("WebGraphQLQueryBase"))}),null);
__d("FBPaymentsSubscriptionsActions",["FBPaymentsDispatcher","keyMirror"],(function(a,b,c,d,e,f){"use strict";var g={types:b("keyMirror")({SUBSCRIPTIONS_LOADED:null,SUBSCRIPTIONS_ERROR:null,RELOAD_SUBSCRIPTIONS:null}),subscriptionsLoaded:function(a){b("FBPaymentsDispatcher").dispatch({type:g.types.SUBSCRIPTIONS_LOADED,data:a})},subscriptionsError:function(a){b("FBPaymentsDispatcher").dispatch({type:g.types.SUBSCRIPTIONS_ERROR,data:a})},reloadSubscriptions:function(){b("FBPaymentsDispatcher").dispatch({type:g.types.RELOAD_SUBSCRIPTIONS})}};e.exports=g}),null);
__d("FBPaymentsTotalPaymentsCountWebGraphQLQuery",["WebGraphQLQueryBase"],(function(a,b,c,d,e,f){"use strict";__p&&__p();e.exports=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}b.__getDocID=function(){return"1448606178529287"};b.getQueryID=function(){return"142326216326524"};return b}(b("WebGraphQLQueryBase"))}),null);
__d("FBPaymentsTransactionHistoryWebGraphQLQuery",["WebGraphQLQueryBase"],(function(a,b,c,d,e,f){"use strict";__p&&__p();e.exports=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}b.__getDocID=function(){return"1991223954307295"};b.getQueryID=function(){return"564703610664679"};return b}(b("WebGraphQLQueryBase"))}),null);
__d("XPaymentSettingsGetPaymentDetailsController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payments/settings/payment_details/",{id:{type:"String",required:!0}})}),null);
__d("FBPaymentSettingsHistoryAPIBase",["fbt","FBPaymentsSubscriptionAgreementsWebGraphQLQuery","FBPaymentsSubscriptionsActions","FBPaymentsTotalPaymentsCountWebGraphQLQuery","FBPaymentsTransactionHistoryWebGraphQLQuery","WebGraphQL","XPaymentSettingsGetPaymentDetailsController","abstractMethod","emptyFunction","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(){__p&&__p();function a(){}var c=a.prototype;c.fetchLegacyPayment=function(a,c,d){var e=this,f=c||b("emptyFunction"),g=d||b("emptyFunction");c=b("XPaymentSettingsGetPaymentDetailsController").getURIBuilder().setString("id",a.id).getURI();this.__sendRequest(c,null,function(a){a=a&&a.payload;a?f(a):g({message:e.$1()})})};c.getPayments=function(a,c,d){var e=this,f=c||b("emptyFunction"),g=d||b("emptyFunction");c=b("FBPaymentsTransactionHistoryWebGraphQLQuery").getURI(a);this.__sendRequest(c,null,function(a){var b;a=a&&a.payload||{};b=(b=a)!=null?(b=b.data)!=null?(b=b.viewer)!=null?(b=b.pay_account)!=null?(b=b.pay_transactions)!=null?b.nodes:b:b:b:b:b;b?f(b):a.error?g(a.error):g({message:e.$1()})})};c.getTotalPaymentsCount=function(a,c,d){var e=this,f=c||b("emptyFunction"),g=d||b("emptyFunction");c=b("FBPaymentsTotalPaymentsCountWebGraphQLQuery").getURI(a);this.__sendRequest(c,null,function(a){var b;a=a&&a.payload||{};b=(b=a)!=null?(b=b.data)!=null?(b=b.viewer)!=null?(b=b.pay_account)!=null?(b=b.pay_transactions)!=null?b.count:b:b:b:b:b;b!==null&&typeof b==="number"?f(b):a.error?g(a.error):g({message:e.$1()})})};c.fetchSubscriptionAgreements=function(){var a=this,c=new(b("FBPaymentsSubscriptionAgreementsWebGraphQLQuery"))({});b("promiseDone")(b("WebGraphQL").exec(c),function(c){c=(c=c)!=null?(c=c.viewer)!=null?c.payment_subscription_agreements:c:c;c?b("FBPaymentsSubscriptionsActions").subscriptionsLoaded(c):b("FBPaymentsSubscriptionsActions").subscriptionsError({message:a.$1()})},function(c){b("FBPaymentsSubscriptionsActions").subscriptionsError({message:a.$1()})})};c.$1=function(){return g._("\u0110\u00e3 x\u1ea3y ra l\u1ed7i t\u1ea1m th\u1eddi khi c\u1ed1 g\u1eafng ho\u00e0n t\u1ea5t y\u00eau c\u1ea7u c\u1ee7a b\u1ea1n. Vui l\u00f2ng th\u1eed l\u1ea1i sau.")};c.__sendRequest=function(a,c,d,e){b("abstractMethod")("FBPaymentSettingsHistoryAPIBase","__sendRequest")};return a}();e.exports=a}),null);
__d("FBPaymentSettingsHistoryAPI",["AsyncRequest","FBPaymentSettingsHistoryAPIBase"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.__sendRequest=function(a,c,d,e){new(b("AsyncRequest"))().setAllowCrossOrigin(!0).setURI(a).setData(c||{}).setHandler(d).setErrorHandler(e||d).send()};return c}(b("FBPaymentSettingsHistoryAPIBase"));e.exports=new a()}),null);
__d("FBPaymentTransactionType",[],(function(a,b,c,d,e,f){"use strict";a={MESSENGER_COMMERCE_PAYMENT:"MessengerCommercePayment",PEER_TO_PEER_TRANSFER:"PeerToPeerTransfer",NMOR_PAYMENT:"NmorPayment",BOF_ORDER:"BOFOrder",BUNDLE_PAYMENT_DETAIL:"BundlePaymentDetail",DONATION_PAYMENT:"DonationPayment",EVENT_TICKETING_PAYMENT:"EventTicketingPayment",GAME_PAYMENT:"GamePayment",GIFT_CARD_REDEMPTION_PAYMENT:"GiftCardRedemptionPayment",GIFT_PAYMENT:"GiftPayment",MESSENGER_API_FEE_PAYMENT:"MessengerApiFeePayment",PAYMENT:"Payment",PAYMENT_LITE_PAYMENT:"PaymentLitePayment",PEER_TO_PEER_SINGLE_SIDED_INCENTIVE_PAYMENT:"PeerToPeerSingleSidedIncentivePayment",PEER_TO_PEER_PAYMENT_REQUEST:"PeerToPeerPaymentRequest",CHECKOUT_EXPERIENCES:"CHEXPaymentInvoice",EVENT_TICKET_ORDER:"EventTicketOrder",OCULUS_PAYMENT_INVOICE:"OculusPaymentInvoice",SHOP_ORDER:"SHOPOrder"};e.exports=a}),null);
__d("FBPaymentsCancelSubscriptionAgreementMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"CancelSubscriptionAgreementInput!",defaultValue:null}],b=[{kind:"LinkedField",alias:null,name:"payment_cancel_subscription_agreement",storageKey:null,args:[{kind:"Variable",name:"input",variableName:"input"}],concreteType:"PaymentSubscriptionAgreement",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null}]}];return{kind:"Request",fragment:{kind:"Fragment",name:"FBPaymentsCancelSubscriptionAgreementMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:b},operation:{kind:"Operation",name:"FBPaymentsCancelSubscriptionAgreementMutation",argumentDefinitions:a,selections:b},params:{operationKind:"mutation",name:"FBPaymentsCancelSubscriptionAgreementMutation",id:"1967025180035401",text:null,metadata:{}}}}();e.exports=a}),null);
__d("FBPaymentsCancelSubscriptionAgreementMutation",["RelayModern","FBPaymentsCancelSubscriptionAgreementMutation.graphql"],(function(a,b,c,d,e,f){"use strict";var g=b("RelayModern").commitMutation;b("RelayModern").graphql;var h=function(){return b("FBPaymentsCancelSubscriptionAgreementMutation.graphql")};function a(a,b,c,d){return g(a,{mutation:h,variables:{input:{subscription_id:b.subscriptionID}},onCompleted:c,onError:d})}e.exports={commit:a}}),null);
__d("FBPaymentsReceiptOrderInfoWebGraphQLQuery",["WebGraphQLQueryBase"],(function(a,b,c,d,e,f){"use strict";__p&&__p();e.exports=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}b.__getDocID=function(){return"1966970730037761"};b.getQueryID=function(){return"771793026495517"};return b}(b("WebGraphQLQueryBase"))}),null);
__d("FBPaymentsReceiptOtherParticipantView_otherParticipantView.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"FBPaymentsReceiptOtherParticipantView_otherParticipantView",type:"PaymentReceiptView",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:"otherParticipant",name:"other_participant",storageKey:null,args:null,concreteType:"PaymentActivityParticipantView",plural:!1,selections:[{kind:"ScalarField",alias:"imageUrl",name:"image_url",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"subtitle",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"title",args:null,storageKey:null}]}]};e.exports=a}),null);
__d("FBPaymentsReceiptOtherParticipantView.react",["FBPaymentsItemSummaryView.react","React","RelayModern","XUICardSection.react","XUIGrayText.react","FBPaymentsReceiptOtherParticipantView_otherParticipantView.graphql"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;c=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a;a=(a=this.props.otherParticipantView)==null?void 0:a.otherParticipant;return a?b("React").createElement(b("XUICardSection.react"),null,b("React").createElement(b("FBPaymentsItemSummaryView.react"),{imageSrc:a==null?void 0:a.imageUrl,imageHeight:36},b("React").createElement(b("XUIGrayText.react"),{display:"block",shade:"dark",size:"header4",weight:"bold"},a==null?void 0:a.title),b("React").createElement(b("XUIGrayText.react"),{display:"block",shade:"light"},a==null?void 0:a.subtitle))):null};return c}(b("React").Component);e.exports=a(c,{otherParticipantView:function(){return b("FBPaymentsReceiptOtherParticipantView_otherParticipantView.graphql")}})}),null);
__d("FBPaymentsReceiptRefetchQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"id",type:"ID!",defaultValue:null}],b=[{kind:"Variable",name:"id",variableName:"id"}],c={kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},e={kind:"ScalarField",alias:"imageUrl",name:"image_url",args:null,storageKey:null},f={kind:"ScalarField",alias:null,name:"subtitle",args:null,storageKey:null},g={kind:"ScalarField",alias:null,name:"title",args:null,storageKey:null},h={kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null},i=[h],j={kind:"ScalarField",alias:null,name:"style",args:null,storageKey:null},k={kind:"LinkedField",alias:null,name:"title",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},l={kind:"LinkedField",alias:null,name:"subtitle",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},m={kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null},n={kind:"LinkedField",alias:null,name:"entity",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,m,d]},o={kind:"ScalarField",alias:null,name:"length",args:null,storageKey:null},p={kind:"ScalarField",alias:null,name:"offset",args:null,storageKey:null},q={kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[n,o,p]},r=[{kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null}],s=[h,q],t=[{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"date",args:null,storageKey:null}];n={kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[o,p,n]};var u={kind:"LinkedField",alias:null,name:"additional_instruction",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:s};return{kind:"Request",fragment:{kind:"Fragment",name:"FBPaymentsReceiptRefetchQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"receipt",name:"payment_subscription_activity_view",storageKey:null,args:b,concreteType:null,plural:!1,selections:[{kind:"FragmentSpread",name:"FBPaymentsReceipt_receipt",args:null}]}]},operation:{kind:"Operation",name:"FBPaymentsReceiptRefetchQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"receipt",name:"payment_subscription_activity_view",storageKey:null,args:b,concreteType:null,plural:!1,selections:[c,d,{kind:"InlineFragment",type:"PaymentReceiptView",selections:[{kind:"LinkedField",alias:"otherParticipant",name:"other_participant",storageKey:null,args:null,concreteType:"PaymentActivityParticipantView",plural:!1,selections:[e,f,g]},{kind:"LinkedField",alias:null,name:"other_participant",storageKey:null,args:null,concreteType:"PaymentActivityParticipantView",plural:!1,selections:[g]},{kind:"LinkedField",alias:null,name:"sections",storageKey:null,args:null,concreteType:"PaymentActivityViewSection",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"title_with_entities",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},{kind:"ScalarField",alias:null,name:"preferred_position",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"components",storageKey:null,args:null,concreteType:"PaymentActivityViewComponent",plural:!0,selections:[g,f,{kind:"LinkedField",alias:null,name:"extension",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,g,j,{kind:"ScalarField",alias:null,name:"action_identifier",args:null,storageKey:null}]},{kind:"ScalarField",alias:"extensionType",name:"extension_type",args:null,storageKey:null},{kind:"InlineFragment",type:"PaymentImageViewExtension",selections:[{kind:"ScalarField",alias:null,name:"image_urls",args:null,storageKey:null}]},{kind:"InlineFragment",type:"PaymentImageBlockLayoutViewExtension",selections:[k,l,{kind:"LinkedField",alias:"bodyText",name:"body_text",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[h,q,{kind:"LinkedField",alias:"imageRanges",name:"image_ranges",storageKey:null,args:null,concreteType:"ImageAtRange",plural:!0,selections:[{kind:"LinkedField",alias:"entityWithImage",name:"entity_with_image",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"image",storageKey:"image(height:12,width:12)",args:[{kind:"Literal",name:"height",value:12},{kind:"Literal",name:"width",value:12}],concreteType:"Image",plural:!1,selections:r},d]}]}]},{kind:"LinkedField",alias:null,name:"image",storageKey:"image(height:50,width:50)",args:[{kind:"Literal",name:"height",value:50},{kind:"Literal",name:"width",value:50}],concreteType:"Image",plural:!1,selections:r},{kind:"ScalarField",alias:"targetUrl",name:"target_url",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,{kind:"InlineFragment",type:"PaymentActivityUrlAction",selections:[m]}]}]},{kind:"InlineFragment",type:"PaymentPriceListViewExtension",selections:[{kind:"LinkedField",alias:"priceList",name:"price_list",storageKey:null,args:null,concreteType:"PaymentActivityPrice",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"title",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:s},{kind:"LinkedField",alias:"currencyAmount",name:"currency_amount",storageKey:null,args:null,concreteType:"CurrencyAmount",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"currency",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"amount",args:null,storageKey:null}]},{kind:"ScalarField",alias:"priceType",name:"price_type",args:null,storageKey:null}]}]},{kind:"InlineFragment",type:"PaymentButtonViewExtension",selections:[{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,{kind:"InlineFragment",type:"PaymentActivityUrlAction",selections:[m,{kind:"ScalarField",alias:"actionIdentifier",name:"action_identifier",args:null,storageKey:null},f]}]}]},{kind:"InlineFragment",type:"PaymentListViewExtension",selections:[{kind:"LinkedField",alias:null,name:"list",storageKey:null,args:null,concreteType:"PaymentListViewItem",plural:!0,selections:[k,{kind:"LinkedField",alias:null,name:"detail",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null}]}]},{kind:"InlineFragment",type:"PaymentProgressViewExtension",selections:[{kind:"LinkedField",alias:"availableSteps",name:"available_steps",storageKey:null,args:null,concreteType:"PaymentActivityStep",plural:!0,selections:t},{kind:"LinkedField",alias:"currentStep",name:"current_step",storageKey:null,args:null,concreteType:"PaymentActivityStep",plural:!1,selections:t}]},{kind:"InlineFragment",type:"PaymentOrderStatusAttachmentExtension",selections:[k,{kind:"LinkedField",alias:null,name:"subtitles",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!0,selections:i}]},{kind:"InlineFragment",type:"PaymentOrderStatusExtension",selections:[{kind:"LinkedField",alias:null,name:"date",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},{kind:"ScalarField",alias:"orderStatus",name:"order_status",args:null,storageKey:null},{kind:"LinkedField",alias:"additionalDetails",name:"additional_details",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!0,selections:[h,n]}]},{kind:"InlineFragment",type:"CopyableViewExtension",selections:[{kind:"LinkedField",alias:"displayLabel",name:"display_label",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i}]},{kind:"InlineFragment",type:"PaymentEntityHeaderExtension",selections:[k,l,e]}]}]},u]},{kind:"LinkedField",alias:null,name:"floating_section",storageKey:null,args:null,concreteType:"PaymentActivityViewSection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"components",storageKey:null,args:null,concreteType:"PaymentActivityViewComponent",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"subtitle_with_entities",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[h,n,{kind:"LinkedField",alias:null,name:"inline_style_ranges",storageKey:null,args:null,concreteType:"InlineStyleAtRange",plural:!0,selections:[o,p,{kind:"ScalarField",alias:null,name:"inline_style",args:null,storageKey:null}]}]},{kind:"LinkedField",alias:null,name:"extension",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,g,j,{kind:"LinkedField",alias:null,name:"action_datas",storageKey:null,args:null,concreteType:"PaymentActivityActionData",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"identifier",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"additional_info",storageKey:null,args:null,concreteType:"PaymentActivityActionDataAdditionalInfo",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"key",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"value",args:null,storageKey:null}]}]}]}]}]}]},u]}]}]},params:{operationKind:"query",name:"FBPaymentsReceiptRefetchQuery",id:"2233195093405033",text:null,metadata:{}}}}();e.exports=a}),null);
__d("FBPaymentsReceiptComponent_section.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"title",args:null,storageKey:null};return{kind:"Fragment",name:"FBPaymentsReceiptComponent_section",type:"PaymentActivityViewSection",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"components",storageKey:null,args:null,concreteType:"PaymentActivityViewComponent",plural:!0,selections:[a,{kind:"ScalarField",alias:null,name:"subtitle",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"extension",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[a,{kind:"ScalarField",alias:null,name:"style",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"action_identifier",args:null,storageKey:null}]},{kind:"InlineFragment",type:"PaymentImageViewExtension",selections:[{kind:"ScalarField",alias:null,name:"image_urls",args:null,storageKey:null}]}]},{kind:"FragmentSpread",name:"FBPaymentsReceiptExtension_component",args:null}]}]}}();e.exports=a}),null);
__d("FBPaymentsOrderStatusAttachmentReceiptExtensionView_orderStatusAttachmentExtension.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null}];return{kind:"Fragment",name:"FBPaymentsOrderStatusAttachmentReceiptExtensionView_orderStatusAttachmentExtension",type:"PaymentActivityViewExtension",metadata:null,argumentDefinitions:[],selections:[{kind:"InlineFragment",type:"PaymentOrderStatusAttachmentExtension",selections:[{kind:"LinkedField",alias:null,name:"title",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:a},{kind:"LinkedField",alias:null,name:"subtitles",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!0,selections:a}]}]}}();e.exports=a}),null);
__d("FBPaymentsOrderStatusAttachmentReceiptExtensionView.react",["cx","FDSText.react","React","RelayModern","FBPaymentsOrderStatusAttachmentReceiptExtensionView_orderStatusAttachmentExtension.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a,c;a=(a=this.props.orderStatusAttachmentExtension)==null?void 0:a.title;if(a==null)return null;a=((a=this.props.orderStatusAttachmentExtension)==null?void 0:a.subtitles)||[];return b("React").createElement("div",{className:"_6upg"},b("React").createElement(b("FDSText.react"),{display:"block",size:"header4",weight:"bold"},(c=this.props.orderStatusAttachmentExtension)==null?void 0:(c=c.title)==null?void 0:c.text),a.map(function(a,c){return a.text==null?null:b("React").createElement(b("FDSText.react"),{display:"block",color:"secondary"},a.text)}))};return c}(b("React").Component);e.exports=a(c,{orderStatusAttachmentExtension:function(){return b("FBPaymentsOrderStatusAttachmentReceiptExtensionView_orderStatusAttachmentExtension.graphql")}})}),null);
__d("FBPaymentsReceiptButtonViewExtension_buttonViewExtension.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"FBPaymentsReceiptButtonViewExtension_buttonViewExtension",type:"PaymentActivityViewExtension",metadata:null,argumentDefinitions:[],selections:[{kind:"InlineFragment",type:"PaymentButtonViewExtension",selections:[{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[{kind:"ScalarField",alias:null,name:"title",args:null,storageKey:null},{kind:"InlineFragment",type:"PaymentActivityUrlAction",selections:[{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"style",args:null,storageKey:null},{kind:"ScalarField",alias:"actionIdentifier",name:"action_identifier",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"subtitle",args:null,storageKey:null}]}]}]}]};e.exports=a}),null);
__d("FBPaymentsReceiptButtonViewExtension.react",["cx","AsyncRequest","FDSText.react","FlexLayout.react","Link.react","PTXFunnelLogger","React","RelayModern","URI","nullthrows","FBPaymentsReceiptButtonViewExtension_buttonViewExtension.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.componentDidMount=function(){__p&&__p();var a=this,c;c=((c=this.props.buttonViewExtension)==null?void 0:c.actions)||[];c.map(function(c,d){d=c==null?void 0:c.url;var e=c==null?void 0:c.style;c=c==null?void 0:c.actionIdentifier;if(d==null)return null;e!=="LINK"&&c==a.props.showDialogOption&&a.$1(b("nullthrows")(d));return!1})};d.render=function(){__p&&__p();var a=this,c;c=((c=this.props.buttonViewExtension)==null?void 0:c.actions)||[];return c.map(function(c,d){var e=c==null?void 0:c.title,f=c==null?void 0:c.url,g=c==null?void 0:c.style,h=c==null?void 0:c.actionIdentifier;if(f==null)return null;g=g==="LINK"?function(){return a.$2(b("nullthrows")(f),h||"")}:function(){return a.$1(b("nullthrows")(f))};c=c==null?void 0:c.subtitle;return b("React").createElement(b("FlexLayout.react"),{key:d,direction:"vertical",className:"_3-95"},b("React").createElement(b("Link.react"),{herf:"#",onClick:g},b("React").createElement(b("FDSText.react"),{color:"blueLink",weight:"bold"},e),b("React").createElement(b("FDSText.react"),{display:"block",color:"disabled"},c)))})};d.$1=function(a){new(b("AsyncRequest"))().setURI(a).setMethod("POST").send()};d.$2=function(a,c){var d,e=this.props.isCHEXInvoice;d=(d=this.props)==null?void 0:d.isSHOPInvoice;if(e==!0||d==!0){e=this.props.title;b("PTXFunnelLogger").logActionToFunnel("link_click",{invoiceID:this.props.paymentID,action_identifier:c,receiver:e,offsite_url:a})}b("URI").goURIOnWindow(a,window.open("","_blank"),!0)};return c}(b("React").Component);e.exports=a(c,{buttonViewExtension:function(){return b("FBPaymentsReceiptButtonViewExtension_buttonViewExtension.graphql")}})}),null);
__d("FBPaymentsReceiptCopyableViewExtension_copyableViewExtension.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"FBPaymentsReceiptCopyableViewExtension_copyableViewExtension",type:"PaymentActivityViewExtension",metadata:null,argumentDefinitions:[],selections:[{kind:"InlineFragment",type:"CopyableViewExtension",selections:[{kind:"LinkedField",alias:"displayLabel",name:"display_label",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null}]}]}]};e.exports=a}),null);
__d("FBPaymentsReceiptCopyableViewExtension.react",["FDSText.react","React","RelayModern","FBPaymentsReceiptCopyableViewExtension_copyableViewExtension.graphql"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;c=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a;return b("React").createElement(b("FDSText.react"),null,(a=this.props.copyableViewExtension)==null?void 0:(a=a.displayLabel)==null?void 0:a.text)};return c}(b("React").Component);e.exports=a(c,{copyableViewExtension:function(){return b("FBPaymentsReceiptCopyableViewExtension_copyableViewExtension.graphql")}})}),null);
__d("FBPaymentsReceiptEntityHeaderExtension_entityHeader.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null}];return{kind:"Fragment",name:"FBPaymentsReceiptEntityHeaderExtension_entityHeader",type:"PaymentActivityViewExtension",metadata:null,argumentDefinitions:[],selections:[{kind:"InlineFragment",type:"PaymentEntityHeaderExtension",selections:[{kind:"LinkedField",alias:null,name:"title",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:a},{kind:"LinkedField",alias:null,name:"subtitle",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:a},{kind:"ScalarField",alias:"imageUrl",name:"image_url",args:null,storageKey:null}]}]}}();e.exports=a}),null);
__d("FBPaymentsReceiptEntityHeaderExtension.react",["cx","FDSText.react","FlexLayout.react","Image.react","React","RelayModern","FBPaymentsReceiptEntityHeaderExtension_entityHeader.graphql"],(function(a,b,c,d,e,f,g){"use strict";c=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;var h=36;function a(a){var c;return b("React").createElement(b("FlexLayout.react"),{align:"center",className:"_3-8w"},b("React").createElement(b("Image.react"),{className:"_3-91 _7um3",height:h,src:(c=a.entityHeader)==null?void 0:c.imageUrl,width:h}),b("React").createElement(b("FlexLayout.react"),{align:"start",direction:"vertical"},b("React").createElement(b("FDSText.react"),{size:"body1",weight:"bold",color:"primary"},(c=a.entityHeader)==null?void 0:(c=c.title)==null?void 0:c.text),b("React").createElement(b("FDSText.react"),{size:"body2",color:"secondary"},(c=a.entityHeader)==null?void 0:(a=c.subtitle)==null?void 0:a.text)))}e.exports=c(a,{entityHeader:function(){return b("FBPaymentsReceiptEntityHeaderExtension_entityHeader.graphql")}})}),null);
__d("FBPaymentsReceiptExtension_component.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"FBPaymentsReceiptExtension_component",type:"PaymentActivityViewComponent",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"extension",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"ScalarField",alias:"extensionType",name:"extension_type",args:null,storageKey:null},{kind:"FragmentSpread",name:"FBPaymentsReceiptImageBlockLayoutViewExtension_imageBlockLayout",args:null},{kind:"FragmentSpread",name:"FBPaymentsReceiptPriceListViewExtension_priceListViewExtension",args:null},{kind:"FragmentSpread",name:"FBPaymentsReceiptButtonViewExtension_buttonViewExtension",args:null},{kind:"FragmentSpread",name:"FBPaymentsReceiptListViewExtension_listViewExtension",args:null},{kind:"FragmentSpread",name:"FBPaymentsReceiptProgressViewExtension_progressViewExtension",args:null},{kind:"FragmentSpread",name:"FBPaymentsOrderStatusAttachmentReceiptExtensionView_orderStatusAttachmentExtension",args:null},{kind:"FragmentSpread",name:"FBPaymentsReceiptOrderStatusViewExtension_orderStatusExtension",args:null},{kind:"FragmentSpread",name:"FBPaymentsReceiptCopyableViewExtension_copyableViewExtension",args:null},{kind:"FragmentSpread",name:"FBPaymentsReceiptEntityHeaderExtension_entityHeader",args:null}]}]};e.exports=a}),null);
__d("FBPaymentsReceiptImageBlockLayoutViewExtension_imageBlockLayout.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null},b=[a],c=[{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}],d=[{kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null}];return{kind:"Fragment",name:"FBPaymentsReceiptImageBlockLayoutViewExtension_imageBlockLayout",type:"PaymentActivityViewExtension",metadata:null,argumentDefinitions:[],selections:[{kind:"InlineFragment",type:"PaymentImageBlockLayoutViewExtension",selections:[{kind:"LinkedField",alias:null,name:"title",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:b},{kind:"LinkedField",alias:null,name:"subtitle",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:b},{kind:"LinkedField",alias:"bodyText",name:"body_text",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[a,{kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"entity",storageKey:null,args:null,concreteType:null,plural:!1,selections:c},{kind:"ScalarField",alias:null,name:"length",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"offset",args:null,storageKey:null}]},{kind:"LinkedField",alias:"imageRanges",name:"image_ranges",storageKey:null,args:null,concreteType:"ImageAtRange",plural:!0,selections:[{kind:"LinkedField",alias:"entityWithImage",name:"entity_with_image",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"LinkedField",alias:null,name:"image",storageKey:"image(height:12,width:12)",args:[{kind:"Literal",name:"height",value:12},{kind:"Literal",name:"width",value:12}],concreteType:"Image",plural:!1,selections:d}]}]}]},{kind:"LinkedField",alias:null,name:"image",storageKey:"image(height:50,width:50)",args:[{kind:"Literal",name:"height",value:50},{kind:"Literal",name:"width",value:50}],concreteType:"Image",plural:!1,selections:d},{kind:"ScalarField",alias:"targetUrl",name:"target_url",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[{kind:"ScalarField",alias:null,name:"title",args:null,storageKey:null},{kind:"InlineFragment",type:"PaymentActivityUrlAction",selections:c}]}]}]}}();e.exports=a}),null);
__d("FBPaymentsReceiptImageBlockLayoutViewExtension.react",["cx","BaseTextWithEntities.react","FBPaymentsItemSummaryView.react","FDSText.react","FlexLayout.react","Image.react","Link.react","React","RelayModern","URI","XUIGrayText.react","XUIText.react","FBPaymentsReceiptImageBlockLayoutViewExtension_imageBlockLayout.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return b("React").createElement(b("React").Fragment,null,this.$1(),this.$2())};d.$2=function(){var a=this.props.imageBlockLayout.actions||[];return a.map(function(a,c){var d=a==null?void 0:a.url;return d==null?null:b("React").createElement("div",{className:"_2pic",key:c},b("React").createElement(b("Link.react"),{href:d},b("React").createElement(b("FDSText.react"),{color:"blueLink",weight:"bold"},a==null?void 0:a.title)))})};d.$1=function(){var a;a=b("React").createElement(b("FBPaymentsItemSummaryView.react"),{imageClassName:"_ln6",hasPadding:!1,imageSrc:(a=this.props.imageBlockLayout.image)==null?void 0:a.uri},b("React").createElement(b("XUIGrayText.react"),{display:"block",shade:"dark",size:"header4",weight:"bold"},(a=this.props.imageBlockLayout.title)==null?void 0:a.text),b("React").createElement(b("XUIGrayText.react"),{display:"block",shade:"light"},(a=this.props.imageBlockLayout.subtitle)==null?void 0:a.text),this.$3());var c=this.props.imageBlockLayout.targetUrl;return c!=null?b("React").createElement(b("Link.react"),{href:c,target:"_blank"},a):a};d.$3=function(){var a,c;a=(a=this.props.imageBlockLayout)==null?void 0:(a=a.bodyText)==null?void 0:a.text;c=(c=this.props.imageBlockLayout)==null?void 0:(c=c.bodyText)==null?void 0:c.imageRanges;c=(c==null?void 0:c[0])?b("React").createElement(b("Image.react"),{className:"_3-8_",height:12,src:c==null?void 0:(c=c[0])==null?void 0:(c=c.entityWithImage)==null?void 0:(c=c.image)==null?void 0:c.uri,width:12}):null;return a!=null?b("React").createElement(b("FlexLayout.react"),{align:"center",className:"_3-8w"},c,b("React").createElement(b("BaseTextWithEntities.react"),{textRenderer:function(a){return b("React").createElement(b("XUIGrayText.react"),{display:"inline",shade:"light",size:"body3"},a)},rangeRenderer:function(a,c){return b("React").createElement(b("XUIText.react"),{className:"_127b",color:"highlight",display:"inline",onClick:function(a){a.preventDefault!=null&&a.preventDefault(),a.stopPropagation!=null&&a.stopPropagation(),b("URI").goURIOnNewWindow(c.entity.url)},size:"body3"},a)},ranges:(c=this.props.imageBlockLayout)==null?void 0:(c=c.bodyText)==null?void 0:c.ranges,text:a})):null};return c}(b("React").Component);e.exports=a(c,{imageBlockLayout:function(){return b("FBPaymentsReceiptImageBlockLayoutViewExtension_imageBlockLayout.graphql")}})}),null);
__d("FBPaymentsReceiptListViewExtension_listViewExtension.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null}];return{kind:"Fragment",name:"FBPaymentsReceiptListViewExtension_listViewExtension",type:"PaymentActivityViewExtension",metadata:null,argumentDefinitions:[],selections:[{kind:"InlineFragment",type:"PaymentListViewExtension",selections:[{kind:"LinkedField",alias:null,name:"list",storageKey:null,args:null,concreteType:"PaymentListViewItem",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"title",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:a},{kind:"LinkedField",alias:null,name:"detail",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:a},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null}]}]}]}}();e.exports=a}),null);
__d("FBPaymentsReceiptListViewExtension.react",["cx","React","RelayModern","XUIText.react","FBPaymentsReceiptListViewExtension_listViewExtension.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;c=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props.listViewExtension.list||[];return a.map(function(a,c){return b("React").createElement("div",{key:c,className:a.type==="SUMMARY"?"_2pie _7bie":"_2pic _7bie"},b("React").createElement(b("XUIText.react"),{color:"secondary",weight:a.type==="SUMMARY"?"bold":"normal"},a==null?void 0:(c=a.title)==null?void 0:c.text),b("React").createElement(b("XUIText.react"),{color:"secondary",weight:a.type==="SUMMARY"?"bold":"normal"},a==null?void 0:(c=a.detail)==null?void 0:c.text))})};return c}(b("React").Component);e.exports=a(c,{listViewExtension:function(){return b("FBPaymentsReceiptListViewExtension_listViewExtension.graphql")}})}),null);
__d("FBPaymentsReceiptOrderStatusViewExtension_orderStatusExtension.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null};return{kind:"Fragment",name:"FBPaymentsReceiptOrderStatusViewExtension_orderStatusExtension",type:"PaymentActivityViewExtension",metadata:null,argumentDefinitions:[],selections:[{kind:"InlineFragment",type:"PaymentOrderStatusExtension",selections:[{kind:"LinkedField",alias:null,name:"date",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[a]},{kind:"ScalarField",alias:"orderStatus",name:"order_status",args:null,storageKey:null},{kind:"LinkedField",alias:"additionalDetails",name:"additional_details",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!0,selections:[a,{kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"length",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"offset",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"entity",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]}]}]}]}]}}();e.exports=a}),null);
__d("FBPaymentsReceiptOrderStatusViewExtension.react",["ix","cx","fbt","BaseTextWithEntities.react","FDSText.react","FlexLayout.react","Image.react","Link.react","React","RelayModern","asset","FBPaymentsReceiptOrderStatusViewExtension_orderStatusExtension.graphql"],(function(a,b,c,d,e,f,g,h,i){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a,c,d;((a=this.props.orderStatusExtension)==null?void 0:a.orderStatus)==="CANCELLED"?(a=g("543111"),d=i._("\u0110\u00e3 h\u1ee7y \u0111\u01a1n \u0111\u1eb7t h\u00e0ng")):((c=this.props.orderStatusExtension)==null?void 0:c.orderStatus)==="REFUNDED"?(a=g("543111"),d=i._("\u0110\u00e3 ho\u00e0n ti\u1ec1n \u0111\u01a1n \u0111\u1eb7t h\u00e0ng")):(a=g("479858"),d=i._("\u0110\u00e3 giao h\u00e0ng"));return b("React").createElement(b("React").Fragment,null,b("React").createElement(b("FlexLayout.react"),{className:"_2pin",align:"center"},b("React").createElement(b("Image.react"),{src:a}),b("React").createElement(b("FlexLayout.react"),{className:"_3-9b",direction:"vertical"},b("React").createElement(b("FDSText.react"),{display:"block",size:"header4",weight:"bold"},d),b("React").createElement(b("FDSText.react"),{display:"block",color:"secondary"},(c=this.props.orderStatusExtension)==null?void 0:(a=c.date)==null?void 0:a.text))),this.$1())};d.$1=function(){var a=this,c=this.props.orderStatusExtension.additionalDetails||[];return c.map(function(c,d){var e=c==null?void 0:c.text;return e==null?null:b("React").createElement("div",{className:"_7avr",display:"block",key:d},b("React").createElement(b("BaseTextWithEntities.react"),{rangeRenderer:a.$2,ranges:c.ranges,text:e,textRenderer:a.$3}))})};d.$2=function(a,c){c=c==null?void 0:(c=c.entity)==null?void 0:c.url;return b("React").createElement(b("Link.react"),{href:c},a)};d.$3=function(a){return b("React").createElement(b("FDSText.react"),{color:"secondary"},a)};return c}(b("React").Component);e.exports=a(c,{orderStatusExtension:function(){return b("FBPaymentsReceiptOrderStatusViewExtension_orderStatusExtension.graphql")}})}),null);
__d("FBPaymentsReceiptPriceListViewExtension_priceListViewExtension.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"FBPaymentsReceiptPriceListViewExtension_priceListViewExtension",type:"PaymentActivityViewExtension",metadata:null,argumentDefinitions:[],selections:[{kind:"InlineFragment",type:"PaymentPriceListViewExtension",selections:[{kind:"LinkedField",alias:"priceList",name:"price_list",storageKey:null,args:null,concreteType:"PaymentActivityPrice",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"title",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"entity",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"length",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"offset",args:null,storageKey:null}]}]},{kind:"LinkedField",alias:"currencyAmount",name:"currency_amount",storageKey:null,args:null,concreteType:"CurrencyAmount",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"currency",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"amount",args:null,storageKey:null}]},{kind:"ScalarField",alias:"priceType",name:"price_type",args:null,storageKey:null}]}]}]};e.exports=a}),null);
__d("FBPaymentsReceiptPriceListViewExtension.react",["LeftRight.react","PECurrency","PECurrency.react","React","RelayModern","TextWithEntities.react","XUIGrayText.react","FBPaymentsReceiptPriceListViewExtension_priceListViewExtension.graphql"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("PECurrency").DEFAULT_AMOUNT_OFFSET;a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a;a=((a=this.props.priceListViewExtension)==null?void 0:a.priceList)||[];return a.map(function(a,c){var d=a.price_type==="PRIMARY"?"dark":"light",e=a.price_type==="PRIMARY"?"bold":"normal";return b("React").createElement(b("LeftRight.react"),{key:c},b("React").createElement(b("XUIGrayText.react"),{shade:d,size:"meta1",weight:e},b("React").createElement(b("TextWithEntities.react"),{ranges:a==null?void 0:(c=a.title)==null?void 0:c.ranges,text:a==null?void 0:(c=a.title)==null?void 0:c.text})),b("React").createElement(b("XUIGrayText.react"),{shade:d,size:"meta1",weight:e},b("React").createElement(b("PECurrency.react"),{code:(a==null?void 0:(c=a.currencyAmount)==null?void 0:c.currency)||"US",value:g*Number((a==null?void 0:(d=a.currencyAmount)==null?void 0:d.amount)||0)})))})};return c}(b("React").Component);e.exports=a(c,{priceListViewExtension:function(){return b("FBPaymentsReceiptPriceListViewExtension_priceListViewExtension.graphql")}})}),null);
__d("FBPaymentsReceiptProgressViewExtension_progressViewExtension.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"date",args:null,storageKey:null}];return{kind:"Fragment",name:"FBPaymentsReceiptProgressViewExtension_progressViewExtension",type:"PaymentActivityViewExtension",metadata:null,argumentDefinitions:[],selections:[{kind:"InlineFragment",type:"PaymentProgressViewExtension",selections:[{kind:"LinkedField",alias:"availableSteps",name:"available_steps",storageKey:null,args:null,concreteType:"PaymentActivityStep",plural:!0,selections:a},{kind:"LinkedField",alias:"currentStep",name:"current_step",storageKey:null,args:null,concreteType:"PaymentActivityStep",plural:!1,selections:a}]}]}}();e.exports=a}),null);
__d("FBPaymentsReceiptProgressViewExtension.react",["cx","React","RelayModern","XUIStepper.react","XUIText.react","FBPaymentsReceiptProgressViewExtension_progressViewExtension.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;var h=b("XUIStepper.react").Step;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a,c;a=((a=this.props.progressViewExtension)==null?void 0:a.availableSteps)||[];c=(c=this.props.progressViewExtension)==null?void 0:(c=c.currentStep)==null?void 0:c.name;c=a.map(function(a){return a.name}).lastIndexOf(c);return b("React").createElement(b("XUIStepper.react"),{animated:!1,checked:!0,className:"_2pi4 _1236",currentStep:c,isReadOnly:!0,size:"large"},a.map(function(a,c){return b("React").createElement(h,{alwaysChecked:!0,key:c,display:"block"},b("React").createElement(b("XUIText.react"),{display:"block"},a.name),b("React").createElement(b("XUIText.react"),{display:"block"},a.date))}))};return c}(b("React").Component);e.exports=a(c,{progressViewExtension:function(){return b("FBPaymentsReceiptProgressViewExtension_progressViewExtension.graphql")}})}),null);
__d("FBPaymentsReceiptExtension.react",["FBPaymentsOrderStatusAttachmentReceiptExtensionView.react","FBPaymentsReceiptButtonViewExtension.react","FBPaymentsReceiptCopyableViewExtension.react","FBPaymentsReceiptEntityHeaderExtension.react","FBPaymentsReceiptImageBlockLayoutViewExtension.react","FBPaymentsReceiptListViewExtension.react","FBPaymentsReceiptOrderStatusViewExtension.react","FBPaymentsReceiptPriceListViewExtension.react","FBPaymentsReceiptProgressViewExtension.react","React","RelayModern","keyMirror","FBPaymentsReceiptExtension_component.graphql"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;var g=b("keyMirror")({PaymentImageBlockLayoutViewExtension:null,PaymentPriceListViewExtension:null,PaymentListViewExtension:null,PaymentProgressViewExtension:null,PaymentOrderStatusAttachmentExtension:null,PaymentOrderStatusExtension:null,PaymentButtonViewExtension:null,CopyableViewExtension:null,PaymentEntityHeaderExtension:null});c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){__p&&__p();var a,c=this.props.component.extension;if(c==null)return null;switch(c==null?void 0:c.extensionType){case g.PaymentImageBlockLayoutViewExtension:return b("React").createElement(b("FBPaymentsReceiptImageBlockLayoutViewExtension.react"),{imageBlockLayout:c});case g.PaymentPriceListViewExtension:return b("React").createElement(b("FBPaymentsReceiptPriceListViewExtension.react"),{priceListViewExtension:c});case g.PaymentListViewExtension:return b("React").createElement(b("FBPaymentsReceiptListViewExtension.react"),{listViewExtension:c});case g.PaymentProgressViewExtension:return b("React").createElement(b("FBPaymentsReceiptProgressViewExtension.react"),{progressViewExtension:c});case g.PaymentOrderStatusAttachmentExtension:return b("React").createElement(b("FBPaymentsOrderStatusAttachmentReceiptExtensionView.react"),{orderStatusAttachmentExtension:c});case g.PaymentOrderStatusExtension:return b("React").createElement(b("FBPaymentsReceiptOrderStatusViewExtension.react"),{orderStatusExtension:c});case g.PaymentButtonViewExtension:return b("React").createElement(b("FBPaymentsReceiptButtonViewExtension.react"),{showDialogOption:this.props.showDialogOption,isCHEXInvoice:this.props.isCHEXInvoice,isSHOPInvoice:(a=this.props)==null?void 0:a.isSHOPInvoice,paymentID:this.props.paymentID,buttonViewExtension:c,title:this.props.title});case g.CopyableViewExtension:return b("React").createElement(b("FBPaymentsReceiptCopyableViewExtension.react"),{copyableViewExtension:c});case g.PaymentEntityHeaderExtension:return b("React").createElement(b("FBPaymentsReceiptEntityHeaderExtension.react"),{entityHeader:c});default:return null}};return c}(b("React").Component);e.exports=a(c,{component:function(){return b("FBPaymentsReceiptExtension_component.graphql")}})}),null);
__d("FBPaymentsReceiptStatusComponent.react",["cx","FDSText.react","FlexLayout.react","Image","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return this.props.extension==null||this.props.extension.image_urls==null?this.props.subtitleSection:b("React").createElement(b("FlexLayout.react"),{align:"center",direction:"horizontal",key:"status"},b("React").createElement(b("Image"),{className:this.props.imageClassName,source:this.props.extension.image_urls[0]}),b("React").createElement("div",{className:"_2pis"},b("React").createElement(b("FDSText.react"),{size:"body3",color:"secondary"},this.props.subtitleSection)))};return c}(b("React").PureComponent);e.exports=a}),null);
__d("PaymentActivityActionIdentifierEnum",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({MARK_AS_PAID:"mark_as_paid",CANCEL:"cancel",MARK_AS_SHIPPED:"mark_as_shipped",CONTACT_CUSTOMER_SUPPORT:"contact_customer_support",CLAIM_CREATION:"claim_creation",VIEW_CLAIMS:"view_claims",TRACK:"track_order",PURCHASE_PROTECTION:"purchase_protection",EARLY_CLAIM_CREATION:"early_claim_creation",LATE_CLAIM_CREATION:"late_claim_creation",ISSUE_RESOLVED:"issue_resolved",VIEW_OPEN_CLAIM:"view_open_claim",VIEW_CLOSED_CLAIM:"view_closed_claim",VIEW_NO_PP_CLAIM:"view_no_pp_claim",VIEW_REFUNDED_CLAIM:"view_refunded_claim",VIEW_CLAIM_REDIRECT:"view_claim_redirect",PAYMENT_CAPTURE_FAILURE:"payment_capture_failure",REQUEST_NEW_RECEIPT:"request_new_receipt",ATTACH_NEW_RECEIPT:"attach_new_receipt",VIEW_RECEIPT:"view_receipt",COMMERCE_PAY_REQUEST:"commerce_pay_request",CLICK_BANNER:"click_banner",CLOSE_BANNER:"close_banner",MFS_CANCEL_TRANSFER:"mfs_cancel_transfer",MFS_CONTACT_SUPPORT:"mfs_contact_support",MFS_DECLINE_TRANSFER:"mfs_decline_transfer",MFS_OPEN_NUX:"mfs_open_nux",MFS_MANAGE_MONEY:"mfs_manage_money",MFS_DEEPLINK:"mfs_deeplink",LAUNCH_IDENTITY_VERIFICATION:"launch_identity_verification",SHARE:"share",INVITE:"invite",VIEW_SELLER:"view_seller",VIEW_ITEM:"view_item",VIEW_ORDER:"view_order",VIEW_SHOP_ORDER:"view_shop_order",P2P_PAY_REQUEST:"p2p_pay_request",P2P_DECLINE_REQUEST:"p2p_decline_request",P2P_CANCEL_REQUEST:"p2p_cancel_request",P2P_DECLINE_TRANSFER:"p2p_decline_transfer",P2P_OPEN_RECEIPT:"p2p_open_receipt",P2P_VERIFY_INFO:"p2p_verify_info",P2P_ACCEPT_MONEY:"p2p_accept_money",P2P_UPDATE_CARD:"p2p_update_card",P2P_TRIGGER_RECEIVE:"p2p_trigger_receive",P2P_GENERAL_LINK:"p2p_general_link",P2P_GENERAL_CONTINUE:"p2p_general_continue",P2P_DISMISS_FLOW:"p2p_dismiss_flow",P2P_OPEN_DIALOG:"p2p_open_dialog",GROUP_PAYMENT_GIFT_CLAIM:"group_payment_gift_claim",MANAGE_SUBSCRIPTION:"manage_subscription",CANCEL_SUBSCRIPTION:"cancel_subscription",CHANGE_SUBSCRIPTION_CREDENTIAL:"change_subscription_credential",EDIT_SUBSCRIPTION_CREDIT_CARD:"edit_subscription_credit_card",RECEIPT_STATUS_COMPONENT:"receipt_status_component",CS_UNAUTHORIZED_ORDER:"cs_unauthorized_order",CS_GENERAL_INQUIRY:"cs_general_inquiry",CS_RECONTACT_MARK_AS_RESOLVED:"cs_recontact_mark_as_resolved",CS_RECONTACT_ESCALATE:"cs_recontact_escalate",CS_MESSAGE_MERCHANT_ABOUT_ITEM:"cs_message_merchant_about_item",CS_CONTACT_MERCHANT:"cs_contact_merchant",CS_CONTACT_MERCHANT_LATE_OR_MISSING_ORDER:"cs_contact_merchant_late_or_missing_order",CS_CONTACT_MERCHANT_DAMAGED_NOT_AS_DESCRIBED_ORDER:"cs_contact_merchant_damaged_not_as_described_order",CS_CONTACT_MERCHANT_ORDER_MADE_BY_OTHERS:"cs_contact_merchant_order_made_by_others",CS_CONTACT_MERCHANT_OTHER_QUESTION:"cs_contact_merchant_other_question",BUYER_ORDER_CANCEL:"buyer_order_cancel",BUYER_ORDER_RETURN:"buyer_order_return",BUYER_SEE_RETURN_DETAILS:"buyer_see_return_details",BUYER_DPO_CONTACT_SUPPORT:"buyer_dpo_contact_support",BUYER_ORDER_INQUIRY_RECONTACT_CLAIM:"buyer_order_inquiry_recontact_claim",SELLER_CHARGEBACK_REPRESENTMENT:"seller_chargeback_representment",SELLER_CLAIM_APPEALS:"seller_claim_appeals",VIEW_GIFTCARD:"view_giftcard",MANAGE_TICKET_THROUGH_THIRD_PARTY:"manage_ticket_through_third_party",PAY_CONFIRMATION_CONFIGURATION_DONE:"pay_confirmation_configuration_done",PAY_CONFIRMATION_CONFIGURATION_VIEW_DETAILS:"pay_confirmation_configuration_view_details",SUPPORT_EXPERIENCE_RATING_SUBMITTED:"support_experience_rating_submitted"})}),null);
__d("FBPaymentsReceiptComponent.react",["cx","FBPaymentsReceiptExtension.react","FBPaymentsReceiptStatusComponent.react","FlexLayout.react","Grid.react","GridItem.react","React","RelayModern","TextWithNewlines.react","XUIGrayText.react","isEmpty","keyMirror","PaymentActivityActionIdentifierEnum","FBPaymentsReceiptComponent_section.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;var h=b("keyMirror")(b("PaymentActivityActionIdentifierEnum"));c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.$1=function(a,c){var e,f=a.title;e=(e=d.props.receiptExtraProps)==null?void 0:e.noComponentPadding;return b("React").createElement("div",{className:e?"":"_2pi4",key:c},b("React").createElement(b("XUIGrayText.react"),{className:"_1iyz",display:"block",shade:"light"},f),d.$2(a),b("React").createElement(b("FBPaymentsReceiptExtension.react"),{showDialogOption:d.props.showDialogOption,isCHEXInvoice:(e=d.props.receiptExtraProps)==null?void 0:e.isCHEXInvoice,isSHOPInvoice:(c=d.props.receiptExtraProps)==null?void 0:c.isSHOPInvoice,paymentID:d.props.paymentID,title:d.props.title,component:a}))},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){return this.props.section.components.map(this.$1)};d.$2=function(a){__p&&__p();var c=this,d,e=a.extension,f=a.subtitle;f&&(f=f.replace("\\n","\n"));f=b("React").createElement(b("XUIGrayText.react"),{className:"_2pic _1iyz",display:"block",shade:"dark"},b("React").createElement(b("TextWithNewlines.react"),null,f));d=e==null?void 0:(d=e.actions[0])==null?void 0:d.action_identifier;switch(d){case h.EDIT_SUBSCRIPTION_CREDIT_CARD:a=(a==null?void 0:(d=a.extension)==null?void 0:d.actions)||[];d=b("isEmpty")(a)?"":a[0].title;return b("React").createElement(b("Grid.react"),{cols:2,alignv:"top"},b("React").createElement(b("GridItem.react"),null,f),b("React").createElement(b("GridItem.react"),null,b("React").createElement(b("FlexLayout.react"),null,b("React").createElement(b("XUIGrayText.react"),{className:"_2pic _2pir _1iyz _127b",color:"secondary",onClick:function(){return c.props.handleUpdatePaymentMethodClicked()},shade:"light",size:"body3"},d))));case h.RECEIPT_STATUS_COMPONENT:return b("React").createElement(b("FBPaymentsReceiptStatusComponent.react"),{subtitleSection:f,extension:e,imageClassName:"_2pir"});default:return f}};return c}(b("React").PureComponent);e.exports=a(c,{section:function(){return b("FBPaymentsReceiptComponent_section.graphql")}})}),null);
__d("FBPaymentsReceiptSection_receipt.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null},b={kind:"LinkedField",alias:null,name:"entity",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]},c={kind:"ScalarField",alias:null,name:"length",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"offset",args:null,storageKey:null};return{kind:"Fragment",name:"FBPaymentsReceiptSection_receipt",type:"PaymentReceiptView",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"sections",storageKey:null,args:null,concreteType:"PaymentActivityViewSection",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"title_with_entities",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[a]},{kind:"ScalarField",alias:null,name:"preferred_position",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"additional_instruction",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[a,{kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[b,c,d]}]},{kind:"FragmentSpread",name:"FBPaymentsReceiptComponent_section",args:null}]},{kind:"LinkedField",alias:null,name:"floating_section",storageKey:null,args:null,concreteType:"PaymentActivityViewSection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"components",storageKey:null,args:null,concreteType:"PaymentActivityViewComponent",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"subtitle_with_entities",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[a,{kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[c,d,b]},{kind:"LinkedField",alias:null,name:"inline_style_ranges",storageKey:null,args:null,concreteType:"InlineStyleAtRange",plural:!0,selections:[c,d,{kind:"ScalarField",alias:null,name:"inline_style",args:null,storageKey:null}]}]},{kind:"LinkedField",alias:null,name:"extension",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[{kind:"ScalarField",alias:null,name:"title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"style",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"action_datas",storageKey:null,args:null,concreteType:"PaymentActivityActionData",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"identifier",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"additional_info",storageKey:null,args:null,concreteType:"PaymentActivityActionDataAdditionalInfo",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"key",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"value",args:null,storageKey:null}]}]}]}]}]}]}]}}();e.exports=a}),null);
__d("FBPaymentsReceiptSection.react",["ix","cx","FBPaymentsLogger","FBPaymentsLoggerConstants","FBPaymentsReceiptComponent.react","FlexLayout.react","Image.react","Link.react","React","RelayModern","TextWithEntities.react","XUICardSection.react","XUIGrayText.react","XUIText.react","asset","keyMirror","FBPaymentsReceiptSection_receipt.graphql"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;var i=b("FBPaymentsLoggerConstants").LoggerFlowStep,j=b("FBPaymentsLoggerConstants").LoggerEvent,k=b("keyMirror")({alert_dialog:null,change_subscription_credential:null});c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.$1=d.props.logger||new(b("FBPaymentsLogger"))(),d.$2=function(a,c){var e;e=a.title_with_entities?b("React").createElement(b("XUIGrayText.react"),{className:"_1cxs",shade:"dark",size:"header3",display:"block"},a==null?void 0:(e=a.title_with_entities)==null?void 0:e.text):null;var f=a.additional_instruction;f=f?b("React").createElement("div",{className:"_2pie"},b("React").createElement(b("TextWithEntities.react"),{ranges:f.ranges,text:f.text})):null;return b("React").createElement("div",{className:"_2dma",key:c},e,b("React").createElement(b("FBPaymentsReceiptComponent.react"),{handleUpdatePaymentMethodClicked:d.props.handleUpdatePaymentMethodClicked,section:a,showDialogOption:d.props.showDialogOption,receiptExtraProps:d.props.receiptExtraProps,paymentID:d.props.paymentID,title:d.props.title}),f)},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){__p&&__p();var a=this,c;c=((c=this.props.receipt)==null?void 0:c.sections)||[];var d=[],e=[];c.forEach(function(a){a.preferred_position==="PRIMARY"?d.push(a):e.push(a)});d.length===0&&(d=e,e=[]);c=(c=this.props.receiptExtraProps)==null?void 0:c.fullWidthSingleColumn;if(c)return d.map(function(c,d){return b("React").createElement(b("XUICardSection.react"),{className:"_2jp7",key:d},a.$2(c,d))});c=b("React").createElement("div",{className:"_3r_s"},b("React").createElement("div",{className:"_2pi9"},d.map(this.$2)));var f=e.length===0&&!this.props.receipt.floating_section?null:b("React").createElement("div",{className:"_3r_s _3r_u"},b("React").createElement("div",{className:"_2pi9"},this.$3(),e.map(this.$2)));return b("React").createElement(b("XUICardSection.react"),null,b("React").createElement("div",{className:"_3r_v"},c,f))};d.$4=function(a,c){if(c.inline_style==="BOLD")return b("React").createElement("span",{className:"_7ij-"},a);return c.entity&&c.entity.url!==void 0&&c.entity.url!==null?b("React").createElement(b("Link.react"),{href:c.entity.url,target:"_blank"},a):a};d.$3=function(){var a=this,c;c=((c=this.props.receipt)==null?void 0:(c=c.floating_section)==null?void 0:c.components)||[];return c.map(function(c,d){var e,f;e=(c==null?void 0:(e=c.extension)==null?void 0:e.actions)||[];c=c.subtitle_with_entities?b("React").createElement(b("FlexLayout.react"),{align:"center"},b("React").createElement("div",{className:"_2pij"},b("React").createElement(b("Image.react"),{src:g("479179")})),b("React").createElement(b("TextWithEntities.react"),{ranges:(c==null?void 0:(f=c.subtitle_with_entities)==null?void 0:f.ranges)||[],text:(c==null?void 0:(f=c.subtitle_with_entities)==null?void 0:f.text)||"",inlineStyleRanges:(c==null?void 0:(f=c.subtitle_with_entities)==null?void 0:f.inline_style_ranges)||[],interpolator:a.$4})):null;return b("React").createElement("div",{className:"_2pie",key:d},b("React").createElement(b("FlexLayout.react"),{justify:"end"},e.map(function(d,c){return b("React").createElement(b("XUIText.react"),{className:"_2pie _127b",color:a.$5(d.style),key:c,onClick:function(){return a.$6(d.action_datas)},size:"body3"},d.title)})),c)})};d.$5=function(a){switch(a){case"DESCRUCTIVE":return"negative";case"NORMAL":return"highlight";default:return"primary"}};d.$6=function(a){__p&&__p();var b=this;a.forEach(function(a){__p&&__p();var c=a.identifier;switch(c){case k.alert_dialog:var d={};a.additional_info.forEach(function(a){var b=a.key;a=a.value;b&&(d[b]=a)});b.props.showDialogWithData(d);break;case k.change_subscription_credential:b.props.showUpdateCredentialDialog();b.$1.setFlowStep(i.UPDATE_PAYMENT_METHOD).setEventName(j.CLICK).logVital();break}})};return c}(b("React").Component);e.exports=a(c,{receipt:function(){return b("FBPaymentsReceiptSection_receipt.graphql")}})}),null);
__d("FBPaymentsReceiptDispatcher.react",["ExplicitRegistrationReactDispatcher"],(function(a,b,c,d,e,f){"use strict";a=new(b("ExplicitRegistrationReactDispatcher"))({strict:!0});e.exports=a}),null);
__d("FBPaymentsReceiptStore.react",["FBPaymentsReceiptDispatcher.react","FluxReduceStore","immutable"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.apply(this,arguments)||this}return a}(b("immutable").Record({showDialogOption:null}));a=function(a){__p&&__p();babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.getInitialState=function(){return new g()};c.reduce=function(a,b){switch(b.type){case"SHOW_CONTACT_CUSTOMER_SUPPORT":return a.set("showDialogOption","CONTACT_CUSTOMER_SUPPORT");case"SHOW_BUYER_ORDER_RETURN":return a.set("showDialogOption","BUYER_ORDER_RETURN");case"SHOW_BUYER_ORDER_CANCEL":return a.set("showDialogOption","BUYER_ORDER_CANCEL");default:return a.set("showDialogOption",null)}};c.getShowDialogOption=function(){return this.getState().get("showDialogOption")};return b}(b("FluxReduceStore"));a.__moduleID=e.id;e.exports=new a(b("FBPaymentsReceiptDispatcher.react"))}),null);
__d("FBPaymentsReceipt_receipt.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"FBPaymentsReceipt_receipt",type:"PaymentActivityView",metadata:null,argumentDefinitions:[],selections:[{kind:"InlineFragment",type:"PaymentReceiptView",selections:[{kind:"LinkedField",alias:null,name:"other_participant",storageKey:null,args:null,concreteType:"PaymentActivityParticipantView",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"title",args:null,storageKey:null}]},{kind:"LinkedField",alias:null,name:"additional_instruction",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"entity",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"length",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"offset",args:null,storageKey:null}]}]},{kind:"FragmentSpread",name:"FBPaymentsReceiptOtherParticipantView_otherParticipantView",args:null},{kind:"FragmentSpread",name:"FBPaymentsReceiptSection_receipt",args:null}]}]};e.exports=a}),null);
__d("FBPaymentsUpdateCredentialContainerRefetchQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"orderID",type:"ID!",defaultValue:null},{kind:"LocalArgument",name:"paymentType",type:"AllPaymentTypeFields",defaultValue:null},{kind:"LocalArgument",name:"currency",type:"String",defaultValue:null}],b=[{kind:"Variable",name:"currency",variableName:"currency"},{kind:"Variable",name:"order_id",variableName:"orderID"},{kind:"Variable",name:"payment_type",variableName:"paymentType"}],c={kind:"ScalarField",alias:null,name:"is_disabled",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"is_selected",args:null,storageKey:null},e={kind:"ScalarField",alias:null,name:"credential_type",args:null,storageKey:null},f={kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null},g={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},h={kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},i={kind:"ScalarField",alias:null,name:"last_four_digits",args:null,storageKey:null},j={kind:"ScalarField",alias:null,name:"card_association_name",args:null,storageKey:null},k={kind:"ScalarField",alias:null,name:"card_association_image_url",args:null,storageKey:null},l={kind:"ScalarField",alias:null,name:"email",args:null,storageKey:null},m={kind:"ScalarField",alias:null,name:"title",args:null,storageKey:null},n={kind:"LinkedField",alias:null,name:"additional_fields",storageKey:null,args:null,concreteType:"PaymentMethodAdditionalField",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"fields",args:null,storageKey:null}]},o={kind:"InlineFragment",type:"NewCreditCardOption",selections:[m,n,{kind:"ScalarField",alias:null,name:"available_card_types",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"available_card_categories",args:null,storageKey:null}]};m={kind:"InlineFragment",type:"NewPaypalBillingAgreement",selections:[m,n,{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]};return{kind:"Request",fragment:{kind:"Fragment",name:"FBPaymentsUpdateCredentialContainerRefetchQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"viewer",name:"__viewer_viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"consumer_payment_account",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"LinkedField",alias:null,name:"all_available_payment_options",storageKey:null,args:b,concreteType:"PaymentCheckoutScreenPaymentCredentialOption",plural:!0,selections:[c,d,{kind:"LinkedField",alias:null,name:"payment_credential_option",storageKey:null,args:null,concreteType:null,plural:!1,selections:[e,f,{kind:"InlineFragment",type:"ExternalCreditCard",selections:[g,h,i,j,k]},{kind:"InlineFragment",type:"PaymentPaypalBillingAgreement",selections:[l,h,g]},o,m]}]}]}]}]},operation:{kind:"Operation",name:"FBPaymentsUpdateCredentialContainerRefetchQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"viewer",name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"consumer_payment_account",storageKey:null,args:null,concreteType:null,plural:!1,selections:[f,{kind:"LinkedField",alias:null,name:"all_available_payment_options",storageKey:null,args:b,concreteType:"PaymentCheckoutScreenPaymentCredentialOption",plural:!0,selections:[c,d,{kind:"LinkedField",alias:null,name:"payment_credential_option",storageKey:null,args:null,concreteType:null,plural:!1,selections:[e,f,g,{kind:"InlineFragment",type:"ExternalCreditCard",selections:[h,i,j,k]},{kind:"InlineFragment",type:"PaymentPaypalBillingAgreement",selections:[l,h]},o,m]}]},g]}]},{kind:"LinkedHandle",alias:"viewer",name:"viewer",args:null,handle:"viewer",key:"",filters:null}]},params:{operationKind:"query",name:"FBPaymentsUpdateCredentialContainerRefetchQuery",id:"1976518785763556",text:null,metadata:{}}}}();e.exports=a}),null);
__d("FBPaymentsFormField_DEPRECATED.react",["cx","FBPaymentsToastView.react","FBPaymentsWebdriverTestIDs","Layout.react","React","ReactInputSelection","XUITextInput.react","joinClasses","setTimeout"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=49;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.state={cursorPosition:0,focused:!1,lastKeyCode:h,isModified:!1,isValAtLimit:!1,isValid:!1,value:c.props.value||""},c.handleBlur=function(){if(!c.getInputElement())return;var a=c.getInputElement().value;(a&&a!==c.state.value||c.props.showFieldLevelErrors)&&c.triggerChange(a);c.setState({focused:!1})},c.handlePaste=function(){c.setState({lastKeyCode:h})},c.handleChange=function(a){c.triggerChange(a.target.value)},c.handleOnKeyDown=function(a){a=a.keyCode;a>=96&&a<=105&&(a-=48);c.setState({lastKeyCode:a})},c.handleFocus=function(){c.setState({focused:!0})},c.focusInput=function(){c.refs.input.focusInput()},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.componentDidUpdate=function(a,c){c.cursorPosition!==this.state.cursorPosition&&b("ReactInputSelection").setSelection(this.getInputElement(),{start:this.state.cursorPosition})};d.componentDidMount=function(){var a=this.state.value;a&&this.triggerChange(a);this.props.initiallyFocused&&b("setTimeout")(this.focusInput,0)};d.getInputElement=function(){return this.refs.input.refs.textInput.getTextFieldDOM()};d.getCursorPosition=function(){return b("ReactInputSelection").getSelection(this.getInputElement()).start};d.renderIcon=function(){var a=this.props.icon;if(!a||this.props.enableFloatingLabel)return null;a=this.state.focused?a.focused:a.normal;return b("React").createElement("div",{className:"_1js0"},a)};d.renderSecondaryIcon=function(){var a;if(!this.state.focused&&!this.props.showSecondaryIconAlways&&(this.props.hideSecondaryIconOnBlur||!this.state.isModified))return null;this.props.getSecondaryIcon&&(a=this.props.getSecondaryIcon(this.state.value));return!a?null:b("React").cloneElement(a,{className:b("joinClasses")(a,"_1js1")})};d.shouldShowIsValidError=function(){return!this.state.isValid&&this.state.isModified?!this.state.focused||this.state.isValAtLimit:!1};d.triggerChange=function(a){__p&&__p();var b=this.props.cursorPositionUpdater,c=this.state.cursorPosition,d=a,e=!0,f=!1;if(!this.props.disabled){var g=this.props.limit;this.props.formatValue&&(d=this.props.formatValue(a,this.state.value,this.state.lastKeyCode));g&&(typeof g==="function"&&(g=g(d)),d=d.slice(0,g),f=g===d.length);this.props.validate?e=this.props.validate(d):g?e=f:this.props.required&&(e=!!d)}b&&a!==d&&(c=b(d,a,this.getCursorPosition()," "));this.setState({cursorPosition:c,isModified:!0,isValAtLimit:f,isValid:e,value:d});this.props.onChange&&this.props.onChange(this.props.name,d,e,f)};d.getDisplayErrorIfBlurred=function(){return this.state.focused&&!this.props.showErrorOnStatusChange?null:this.props.saveError||this.props.errorMessage};d.renderLabel=function(){return!this.props.label?null:b("React").createElement("label",{className:"_1js3"},this.props.label)};d.render=function(){var a=this.shouldShowIsValidError()||this.props.saveError||this.props.errorMessage,c,d=this.props.placeholder,e=this.state.focused,f=this.props.enableFloatingLabel;f=f&&(this.props.value||e);var g=this.renderSecondaryIcon();this.props.width&&(c={width:this.props.width+"%"});this.props.showPlaceholderOnFocus&&!e&&(d=null);e=this.props.enableFloatingLabel?b("React").createElement(b("Layout.react"),{onClick:this.focusInput,className:(f?"":"_1hrp")+(f?" _1hrq":"")},this.props.label):this.renderLabel();f=this.props.errorMessage&&this.props.showFieldLevelErrors&&!this.state.focused&&(this.props.value||this.props.showHardError)?b("React").createElement(b("FBPaymentsToastView.react"),{text:this.props.errorMessage,type:"user_level_error",visible:!0}):null;var h=this.props.showFieldLevelErrors?null:b("React").createElement("div",{className:"_1jsc"});return b("React").createElement("div",{style:c,className:"_11qv"+(this.props.enableFloatingLabel?" _65qx":"")+(a&&!this.state.focused||this.props.showErrorOnStatusChange?" _1js5":"")+(this.props.showFocusOutline&&this.state.focused?" _1js6":"")+(g?" _1js7":"")},b("React").createElement("div",{className:(this.props.useGutter?"_11qw":"")+(this.props.enableFloatingLabel?" _2pi2":"")},e,b("React").createElement("div",{className:"_1js9"+(this.props.enableFloatingLabel?" _1jsb":"")},this.renderIcon(),b("React").createElement(b("XUITextInput.react"),{autoComplete:this.props.autoCompleteName,"data-testid":b("FBPaymentsWebdriverTestIDs").FORM_FIELD_PREFIX+this.props.name,ref:"input",value:this.state.value,onChange:this.handleChange,onPaste:this.handlePaste,onKeyDown:this.handleOnKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,placeholder:this.props.enableFloatingLabel?null:d,disabled:this.props.disabled,className:(this.props.disabled?"_pes":"")+(this.props.disabled?"":" _pet")+(this.props.enableFloatingLabel?"":" _1jsa")+(this.props.enableFloatingLabel?" _1hrr":"")+(this.props.enableFloatingLabel&&this.state.focused?" _66jz":"")+(this.props.enableFloatingLabel&&!!f?" _2xe9":"")+(!this.props.icon&&!this.props.enableFloatingLabel?" _1jsb":""),xuiError:this.props.showFieldLevelErrors?null:this.getDisplayErrorIfBlurred()}),g,h),f))};return c}(b("React").Component);a.defaultProps={enableFloatingLabel:!1,hideSecondaryIconOnBlur:!1,required:!1,showFocusOutline:!0,showPlaceholderOnFocus:!1,showSecondaryIconAlways:!1,useGutter:!1,width:100};e.exports=a}),null);
__d("FBPaymentsCreditCardAddressFormField_DEPRECATED.react",["fbt","FBPaymentsFormField_DEPRECATED.react","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.state={errorMessage:c.props.required?h:null},c.validate=function(a){if(a.length===0){c.setState({errorMessage:h});return!1}c.setState({errorMessage:null});return!0},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.render=function(){var a=g._("\u0110\u1ecba ch\u1ec9 l\u1eadp h\u00f3a \u0111\u01a1n");return b("React").createElement(b("FBPaymentsFormField_DEPRECATED.react"),babelHelpers["extends"]({autoCompleteName:"address",errorMessage:this.state.errorMessage,label:a,ref:"input",validate:this.validate},this.props))};return c}(b("React").Component);a.defaultProps={required:!1};var h=g._("Vui l\u00f2ng nh\u1eadp \u0111\u1ecba ch\u1ec9.");e.exports=a}),null);
__d("FBPaymentsFormFieldUtils_DEPRECATED",["Keys"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={stripNonDigits:function(a){return a.replace(/\D/g,"")},stripNonAlpha:function(a){return a.replace(/[^a-zA-Z]/g,"")},formatStateField:function(a){return a.replace(/[^a-zA-Z]/g,"").toUpperCase()},stripNonAlphaSpace:function(a){return a.replace(/[^a-zA-Z ]/g,"")},formatCardNumber:function(a,c,d,e,f){__p&&__p();if(d===b("Keys").BACKSPACE||d===b("Keys").DELETE){d=c.split(f).length-1;c=a.split(f).length-1;if(c!==d)return a}a=this.stripNonDigits(a);a=a.substr(0,e[e.length-1]);c="";for(var d=1;d<e.length;d++){if(e[d]>a.length||d===e.length-1){c+=a.slice(e[d-1]);break}c+=a.slice(e[d-1],e[d])+f}return c},getUpdatedCursorPosition:function(a,b,c,d){var e=0,f=0;while(e<c&&e<b.length&&f<a.length)b[e]===a[f]?(e++,f++):!/^\d+$/.test(b[e])?e++:f++;a.substr(f,1)===d&&f++;return f}};e.exports=a}),null);
__d("FBPaymentsCreditCardCVCFormField_DEPRECATED.react",["fbt","ix","FBPaymentsFormField_DEPRECATED.react","FBPaymentsFormFieldUtils_DEPRECATED","Image.react","PaymentMethodUtils","React"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c){__p&&__p();var d;d=a.call(this,c)||this;d.getSecondaryIcon=function(a){if(!d.props.showSecondaryIcon)return null;d.isAmex()?a=h("95525"):a=h("95527");return b("React").createElement(b("Image.react"),{height:20,src:a,width:30})};d.validate=function(a){var b=g._("Vui l\u00f2ng nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt h\u1ee3p l\u1ec7.");if(a.length<d.getLimit()){d.setState({errorMessage:b});return!1}d.setState({errorMessage:null});return!0};d.state={errorMessage:null};return d}var d=c.prototype;d.isAmex=function(){var a;this.props.creditCardNumber&&(a=b("PaymentMethodUtils").getCardType(this.props.creditCardNumber));return a?a.name==="amex":!1};d.getLimit=function(){var a=this.props.cscMaxLength;a||(a=this.isAmex()?4:3);return a};d.render=function(){var a,c,d,e=this.getLimit();this.props.showLabel?(d=g._("M\u00e3 b\u1ea3o m\u1eadt"),c="0".repeat(e)):this.props.showPlaceholder&&(c=g._("CVV"));this.props.showIcon&&(a={normal:b("React").createElement(b("Image.react"),{height:12,src:h("94378"),width:12}),focused:b("React").createElement(b("Image.react"),{height:12,src:h("94377"),width:12})});return b("React").createElement(b("FBPaymentsFormField_DEPRECATED.react"),babelHelpers["extends"]({autoCompleteName:"cc-csc",errorMessage:this.state.errorMessage,formatValue:b("FBPaymentsFormFieldUtils_DEPRECATED").stripNonDigits,getSecondaryIcon:this.getSecondaryIcon,hideSecondaryIconOnBlur:!0,icon:a,label:d,limit:e,placeholder:c,ref:"input",showSecondaryIconAlways:this.props.showSecondaryIconAlways,validate:this.validate},this.props))};return c}(b("React").Component);c.propTypes={creditCardNumber:a.string,cscMaxLength:a.number,initiallyFocused:a.bool,logger:a.object,name:a.string.isRequired,onChange:a.func.isRequired,showFocusOutline:a.bool,showIcon:a.bool,showPlaceholder:a.bool,showSecondaryIcon:a.bool,showSecondaryIconAlways:a.bool};c.defaultProps={showFocusOutline:!0,showIcon:!0,showPlaceholder:!0,showSecondaryIconAlways:!1};e.exports=c}),null);
__d("FBPaymentsCreditCardCardHolderNameFormField_DEPRECATED.react",["fbt","FBPaymentsFormField_DEPRECATED.react","FBPaymentsFormFieldUtils_DEPRECATED","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.state={errorMessage:c.props.required?h:null},c.validate=function(a){if(a.length===0){c.setState({errorMessage:h});return!1}c.setState({errorMessage:null});return!0},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.render=function(){var a=g._("T\u00ean tr\u00ean th\u1ebb");return b("React").createElement(b("FBPaymentsFormField_DEPRECATED.react"),babelHelpers["extends"]({autoCompleteName:"cardHolderName",errorMessage:this.state.errorMessage,formatValue:b("FBPaymentsFormFieldUtils_DEPRECATED").stripNonAlphaSpace,label:a,ref:"input",validate:this.validate},this.props))};return c}(b("React").Component);a.defaultProps={required:!1};var h=g._("Vui l\u00f2ng nh\u1eadp t\u00ean ch\u1ee7 th\u1ebb.");e.exports=a}),null);
__d("FBPaymentsCreditCardCityFormField_DEPRECATED.react",["fbt","FBPaymentsFormField_DEPRECATED.react","FBPaymentsFormFieldUtils_DEPRECATED","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.state={errorMessage:c.props.required?h:null},c.validate=function(a){if(a.length===0){c.setState({errorMessage:h});return!1}c.setState({errorMessage:null});return!0},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.render=function(){var a=g._("T\u1ec9nh\/th\u00e0nh ph\u1ed1");return b("React").createElement(b("FBPaymentsFormField_DEPRECATED.react"),babelHelpers["extends"]({autoCompleteName:"city",errorMessage:this.state.errorMessage,formatValue:b("FBPaymentsFormFieldUtils_DEPRECATED").stripNonAlphaSpace,label:a,ref:"input",validate:this.validate},this.props))};return c}(b("React").Component);a.defaultProps={required:!1};var h=g._("Vui l\u00f2ng nh\u1eadp t\u1ec9nh\/th\u00e0nh ph\u1ed1 c\u1ee7a b\u1ea1n.");e.exports=a}),null);
__d("FBPaymentsCreditCardExpDateFormField_DEPRECATED.react",["fbt","ix","FBPaymentsFormField_DEPRECATED.react","FBPaymentsFormFieldUtils_DEPRECATED","Image.react","React"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.state={errorMessage:null},c.validate=function(a){__p&&__p();var b=a.split("/"),d=new Date(),e=parseInt(d.getFullYear().toString().substring(2),10);d=d.getMonth()+1;var f=parseInt(b[0],10);b=parseInt(b[1],10);var h=g._("Vui l\u00f2ng nh\u1eadp ng\u00e0y h\u1ebft h\u1ea1n h\u1ee3p l\u1ec7.");if(a.length!==5||!f||!b||isNaN(f)||isNaN(b)||f<1||f>12){c.setState({errorMessage:h});return!1}if(b<e||b===e&&f<d){c.setState({errorMessage:h});return!1}c.setState({errorMessage:null});return!0},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.getLimit=function(){return 5};d.formatValue=function(a,c,d){__p&&__p();c=String.fromCharCode(d);a=a.replace(/[^0-9\/]+/g,"");var e=a.split("/"),f=e[0];e=e[1];e&&e.length===4&&(a=f+"/"+e.substr(-2));if(!/^\d+$/.test(c)&&d!==191&&d!==111)return a;a=b("FBPaymentsFormFieldUtils_DEPRECATED").stripNonDigits(a);/^\d$/.test(a)&&a!=="0"&&a!=="1"?a="0"+a+"/":a.length>=2&&a.indexOf("/")===-1&&(a=a.substr(0,2)+"/"+a.substr(2,2));return a};d.render=function(){var a,c,d;this.props.showLabel&&(c=this.props.useV2Label?g._("MM\/YY"):g._("Ng\u00e0y h\u1ebft h\u1ea1n"));this.props.showPlaceholder&&(a=g._("MM\/YY"));this.props.showIcon&&(d={normal:b("React").createElement(b("Image.react"),{height:12,src:h("94370"),width:12}),focused:b("React").createElement(b("Image.react"),{height:12,src:h("94369"),width:12})});return b("React").createElement(b("FBPaymentsFormField_DEPRECATED.react"),babelHelpers["extends"]({autoCompleteName:"cc-exp",errorMessage:this.state.errorMessage,formatValue:this.formatValue,icon:d,label:c,limit:this.getLimit(),placeholder:a,ref:"input",validate:this.validate},this.props))};return c}(b("React").Component);c.propTypes={initiallyFocused:a.bool,logger:a.object,name:a.string.isRequired,onChange:a.func.isRequired,showIcon:a.bool,showPlaceholder:a.bool};c.defaultProps={showIcon:!0,showPlaceholder:!0,useV2Label:!1};e.exports=c}),null);
__d("FBPaymentsCreditCardNumberFormField_DEPRECATED.react",["fbt","ix","CreditCardTypeField","FBPaymentsFormField_DEPRECATED.react","FBPaymentsFormFieldUtils_DEPRECATED","FBPaymentsPaymentMethodUtils","Image.react","PaymentMethodUtils","React","intlList"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),i=0;i<e;i++)f[i]=arguments[i];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={errorMessage:null,showErrorOnStatusChange:!1},d.calculateLimit=function(a){return b("PaymentMethodUtils").getCardType(a).digits+(d.getGrouping(a).length-2)},d.formatValue=function(a,c,e){return b("FBPaymentsFormFieldUtils_DEPRECATED").formatCardNumber(a,c,e,d.getGrouping(a)," ")},d.validate=function(a){__p&&__p();var c=d.isValidCardType(a),e=b("PaymentMethodUtils").isValidCCNumber(a),f=!1,h=null,i=g._("Vui l\u00f2ng nh\u1eadp s\u1ed1 th\u1ebb ghi n\u1ee3 ho\u1eb7c th\u1ebb t\u00edn d\u1ee5ng h\u1ee3p l\u1ec7.");a.length<d.calculateLimit(a)?h=i:!c&&!d.props.allowCredit?h=g._("Vui l\u00f2ng nh\u1eadp th\u1ebb ghi n\u1ee3 Visa ho\u1eb7c MasterCard. B\u1ea1n kh\u00f4ng th\u1ec3 d\u00f9ng th\u1ebb t\u00edn d\u1ee5ng."):(!c||!e)&&(h=i);i=b("PaymentMethodUtils").getCardType(a).type;a=d.getAcceptedCardTypes();if(d.props.allowCredit&&!a.includes(i)){i=b("FBPaymentsPaymentMethodUtils").getStringFromCreditCardType(i);a=a.filter(function(a){return a!==b("CreditCardTypeField").UNKNOWN}).map(b("FBPaymentsPaymentMethodUtils").getStringFromCreditCardType);h=g._("Kh\u00f4ng ch\u1ea5p nh\u1eadn th\u1ebb {current credit card type that is not accepted}. Ch\u1ea5p nh\u1eadn c\u00e1c th\u1ebb {list of accepted credit card types}.",[g._param("current credit card type that is not accepted",i),g._param("list of accepted credit card types",b("intlList")(a,b("intlList").CONJUNCTIONS.AND))]);f=!0}d.setState({errorMessage:h,showErrorOnStatusChange:f});return e&&c},d.getSecondaryIcon=function(a){__p&&__p();var c;if(!d.props.showSecondaryIcon)return null;a=b("PaymentMethodUtils").getCardType(a).name;switch(a){case"visa":c=h("95533");break;case"mc":c=h("95531");break;case"amex":c=h("95528");break;case"disc":c=h("95529");break;case"jcb":c=h("95530");break;default:c=h("95526");break}return b("React").createElement(b("Image.react"),{height:20,src:c,width:30})},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.getGrouping=function(a){__p&&__p();var c=[0,4,8,12,16],d=c;switch(b("PaymentMethodUtils").getCardType(a).name){case"visa":case"mc":case"disc":d=c;break;case"amex":d=[0,4,10,15];break;case"diners":d=[0,4,10,14];break;default:d=c;break}return d};d.isValidCardType=function(a){var c=this.getAcceptedCardTypes();a=b("PaymentMethodUtils").getCardType(a);a=a?a.type:"";return c.indexOf(a)>=0};d.getAcceptedCardTypes=function(){var a=[b("CreditCardTypeField").AMERICAN_EXPRESS,b("CreditCardTypeField").DINERS_CLUB,b("CreditCardTypeField").DISCOVER,b("CreditCardTypeField").JCB,b("CreditCardTypeField").MASTERCARD,b("CreditCardTypeField").VISA];this.props.acceptedCardTypes&&this.props.acceptedCardTypes.length!==0&&(a=this.props.acceptedCardTypes);a.includes(b("CreditCardTypeField").UNKNOWN)||a.push(b("CreditCardTypeField").UNKNOWN);if(!this.props.allowCredit){var c=[b("CreditCardTypeField").MASTERCARD,b("CreditCardTypeField").VISA,b("CreditCardTypeField").UNKNOWN];a=a.filter(function(a){return c.includes(a)})}return a};d.getSaveError=function(){return this.props.binError||this.props.saveError};d.render=function(){var a=g._("S\u1ed1 th\u1ebb"),c,d,e;this.props.showLabel?(d=a,c="0000 0000 0000 0000"):this.props.showPlaceholder&&(c=a);this.props.showIcon&&(e={normal:b("React").createElement(b("Image.react"),{height:12,src:h("94352"),width:12}),focused:b("React").createElement(b("Image.react"),{height:12,src:h("94351"),width:12})});return b("React").createElement(b("FBPaymentsFormField_DEPRECATED.react"),babelHelpers["extends"]({autoCompleteName:"cc-number",cursorPositionUpdater:b("FBPaymentsFormFieldUtils_DEPRECATED").getUpdatedCursorPosition,errorMessage:this.state.errorMessage,formatValue:this.formatValue,getSecondaryIcon:this.getSecondaryIcon,icon:e,label:d,limit:this.calculateLimit,placeholder:c,ref:"input",validate:this.validate,showErrorOnStatusChange:this.state.showErrorOnStatusChange,value:this.props.value},this.props,{saveError:this.getSaveError()}))};return c}(b("React").Component);a.defaultProps={allowCredit:!0,showIcon:!0,showPlaceholder:!0,showSecondaryIcon:!1};e.exports=a}),null);
__d("FBPaymentsCreditCardStateFormField_DEPRECATED.react",["fbt","FBPaymentsFormField_DEPRECATED.react","FBPaymentsFormFieldUtils_DEPRECATED","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.state={errorMessage:c.props.required?h:null},c.validate=function(a){if(a.length<c.getLimit()){c.setState({errorMessage:h});return!1}c.setState({errorMessage:null});return!0},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.getLimit=function(){return 2};d.render=function(){var a=g._("Ti\u1ec3u bang");return b("React").createElement(b("FBPaymentsFormField_DEPRECATED.react"),babelHelpers["extends"]({autoCompleteName:"state",errorMessage:this.state.errorMessage,formatValue:b("FBPaymentsFormFieldUtils_DEPRECATED").formatStateField,label:a,limit:this.getLimit(),ref:"input",validate:this.validate},this.props))};return c}(b("React").Component);a.defaultProps={required:!1};var h=g._("Vui l\u00f2ng nh\u1eadp ti\u1ec3u bang.");e.exports=a}),null);
__d("FBPaymentsPostalCodeUtils",[],(function(a,b,c,d,e,f){"use strict";var g={US:{placeholder:"00000",limit:5},FR:{placeholder:"00000",limit:5},TH:{placeholder:"00000",limit:5},VN:{placeholder:"000000",limit:6}};a={getPostalCodeMap:function(){return g}};e.exports=a}),null);
__d("FBPaymentsCreditCardZipCodeFormField_DEPRECATED.react",["fbt","ix","FBPaymentsFormField_DEPRECATED.react","FBPaymentsFormFieldUtils_DEPRECATED","FBPaymentsPostalCodeUtils","Image.react","React"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(b){__p&&__p();var c;c=a.call(this,b)||this;c.validate=function(a){var b=g._("Vui l\u00f2ng nh\u1eadp m\u00e3 ZIP ho\u1eb7c m\u00e3 b\u01b0u ch\u00ednh h\u1ee3p l\u1ec7.");if(c.state.regex&&!c.state.regex.test(a)){c.setState({errorMessage:b});return!1}else{c.setState({errorMessage:null});return!0}};c.state={errorMessage:null,regex:c.buildRegex()};return c}var d=c.prototype;d.buildRegex=function(){if(this.props.postalRegex){var a=/^\/(.*)\/(\w*)/g.exec(this.props.postalRegex);a[0];var b=a[1];a=a[2];a=a==="u"||a==="y"?void 0:a;return new RegExp(b,a)}return null};d.render=function(){var a=this.props.useV2Label?g._("M\u00e3 zip"):g._("M\u00e3 ZIP l\u1eadp h\u00f3a \u0111\u01a1n"),c,d,e,f,i=this.props.countryCode,j=b("FBPaymentsPostalCodeUtils").getPostalCodeMap();if(i&&j[i]){j=j[i];c=j.placeholder;d=j.limit}this.props.showLabel?f=a:this.props.showPlaceholder&&(c=a);this.props.showIcon&&(e={normal:b("React").createElement(b("Image.react"),{height:12,src:h("94410"),width:12}),focused:b("React").createElement(b("Image.react"),{height:12,src:h("94409"),width:12})});return b("React").createElement(b("FBPaymentsFormField_DEPRECATED.react"),babelHelpers["extends"]({autoCompleteName:"postal-code",errorMessage:this.state.errorMessage,formatValue:this.props.countryCode==="US"?b("FBPaymentsFormFieldUtils_DEPRECATED").stripNonDigits:null,icon:e,label:f,limit:d,placeholder:c,ref:"input",validate:this.validate},this.props))};return c}(b("React").Component);c.propTypes={onChange:a.func.isRequired,logger:a.object,name:a.string.isRequired,postalRegex:a.string,showIcon:a.bool,showPlaceholder:a.bool,countryCode:a.string};c.defaultProps={showIcon:!0,showPlaceholder:!0};e.exports=c}),null);
__d("FBPaymentsErrorNotice_DEPRECATED.react",["cx","React","XUINotice.react"],(function(a,b,c,d,e,f,g){__p&&__p();a=b("React").PropTypes;c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.renderErrorContent=function(){var a=d.props.error;if(a.message.__html)return b("React").createElement("span",{dangerouslySetInnerHTML:a.message});else return b("React").createElement("span",null,a.message)},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){return b("React").createElement(b("XUINotice.react"),{className:"_3-8n",use:"warn"},this.renderErrorContent())};return c}(b("React").Component);c.propTypes={error:a.object};c.defaultProps={error:null};e.exports=c}),null);
__d("FBPaymentsForm_DEPRECATED.react",["cx","CreditCardFormParam","FBPaymentsErrorNotice_DEPRECATED.react","React","getObjectValues","gkx","joinClasses"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("React").PropTypes;c=b("React").createClass({displayName:"FBPaymentsForm_DEPRECATED",propTypes:{className:a.string,"data-testid":a.string,enableFloatingLabel:a.bool,errorTitle:a.string,isValidationLoading:a.bool,onFormFieldsChange:a.func,onValidation:a.func.isRequired,prefilledFormData:a.object,saveErrors:a.object,showFieldLevelErrors:a.bool,showHardErrorMessage:a.bool,showIcons:a.bool,showLabels:a.bool,showPlaceholderOnFocus:a.bool,showSecondaryIcons:a.bool,useGutters:a.bool},getDefaultProps:function(){return{enableFloatingLabel:!1,isValidationLoading:!1,prefilledFormData:{},saveErrors:null,showIcons:!0,showLabels:!1,showPlaceholderOnFocus:!1,showSecondaryIcons:!1,useGutters:!1}},getInitialState:function(){var a=this.props.prefilledFormData,c=b("React").Children.toArray(this.props.children),d={};b("React").Children.forEach(c,function(b,c){d[b.props.name]={valid:!b.props.required,value:a?a[b.props.name]:""}});return{fields:d,isValid:!1}},UNSAFE_componentWillReceiveProps:function(a){var c=a.prefilledFormData,d=b("React").Children.toArray(a.children),e=this.state.fields,f={};b("React").Children.forEach(d,function(a,b){e[a.props.name]?f[a.props.name]=e[a.props.name]:f[a.props.name]={valid:!a.props.required,value:c?c[a.props.name]:""}});this.setState({fields:f});d=Object.keys(f);var g=Object.keys(e);d=d.length===g.length&&d.every(function(a){return g.includes(a)});(!d||this.props.isValidationLoading!==a.isValidationLoading)&&this.validateForm(f)},_fieldKeyOrder:[],handleFormValueChange:function(a,b,c,d){__p&&__p();var e=this.state.fields;e[a]={valid:c,value:b};this.validateForm();b=this.props.onFormFieldsChange;b&&b(e);if(this.props.autoTab===!0&&d&&c){b=this._fieldKeyOrder.indexOf(a);if(b!==-1){e=this._fieldKeyOrder[b+1];if(e){c=(d=this.refs)!=null?(d=d[e])!=null?(d=d.refs)!=null?d.input:d:d:d;c&&c.focusInput()}}}},validateForm:function(a){var c=!0;a=a||this.state.fields;c=!b("getObjectValues")(a).some(function(a){return!a.valid});this.props.onValidation(c,this.serializeFormFields());this.setState({isValid:c})},serializeFormFields:function(){var a=this.state.fields,b={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c].value);return b},getSaveError:function(a){var c,d=this.props.saveErrors;d&&d.fields&&(d.fields[a]&&(c=d.fields[a].message,c.__html&&(c=c.__html)),b("gkx")("880145")&&(a===b("CreditCardFormParam").CARD_EXPIRATION&&d.fields[b("CreditCardFormParam").CSC]&&d.fields[b("CreditCardFormParam").CSC].code==="1463037"&&(c=d.fields[b("CreditCardFormParam").CSC].message,c.__html&&(c=c.__html))));return c},renderGeneralError:function(){var a=this.getGeneralError();return!a?null:b("React").createElement(b("FBPaymentsErrorNotice_DEPRECATED.react"),{error:a})},getGeneralError:function(){return this.props.saveErrors&&this.props.saveErrors.general?this.props.saveErrors.general:null},renderFormFields:function(){__p&&__p();var a=[],c=[],d=[],e=0,f=b("React").Children.toArray(this.props.children),g=b("React").Children.count(f),h=[],i=!1;b("React").Children.forEach(f,function(f,j){j=j===g-1;if(!f)return;var k=parseInt(f.props.width||"100",10),l=f.props.name,m=!1;this.state.fields[l]&&!this.state.fields[l].valid&&!i&&(i=!0,m=!0);m=this.props.showFieldLevelErrors&&(this.props.showHardErrorMessage&&m||!!this.state.fields[l]&&!!this.state.fields[l].value&&!this.state.isValid);f=b("React").cloneElement(f,{enableFloatingLabel:this.props.enableFloatingLabel,key:l,onChange:this.handleFormValueChange,saveError:this.getSaveError(l),showIcon:this.props.showIcons,showLabel:this.props.showLabels,showPlaceholderOnFocus:this.props.showPlaceholderOnFocus,showSecondaryIcon:this.props.showSecondaryIcons,useGutter:this.props.useGutters,value:this.state.fields[l]&&this.state.fields[l].value,ref:l,showHardError:m,showFieldLevelErrors:this.props.showFieldLevelErrors});h.push(l);!f.props.ignoreStyling?(Math.round(e)<100&&a.push(f),e+=k,(Math.round(e)===100||j)&&(c.push(b("React").createElement("div",{className:(this.props.useGutters?"_1pp":"")+" _1pq"+(a.length>1?" _1pr":"")+(c.length===0?" _1pv":"")+(j?" _1pw":""),key:c.length},a)),a=[],e=0)):d.push(f)}.bind(this));this._fieldKeyOrder=h;return d.concat(c)},render:function(){return b("React").createElement("form",{className:b("joinClasses")(this.props.className,"_1px"),"data-testid":this.props["data-testid"]},this.renderGeneralError(),this.renderFormFields())}});e.exports=c}),null);
__d("FBPaymentsCreditCardForm_DEPRECATED.react",["fbt","CreditCardFormParam","FBPaymentsAddressCountrySelectorFormField_DEPRECATED.react","FBPaymentsCreditCardAddressFormField_DEPRECATED.react","FBPaymentsCreditCardCardHolderNameFormField_DEPRECATED.react","FBPaymentsCreditCardCityFormField_DEPRECATED.react","FBPaymentsCreditCardCVCFormField_DEPRECATED.react","FBPaymentsCreditCardExpDateFormField_DEPRECATED.react","FBPaymentsCreditCardNumberFormField_DEPRECATED.react","FBPaymentsCreditCardStateFormField_DEPRECATED.react","FBPaymentsCreditCardVerificationHelper","FBPaymentsCreditCardZipCodeFormField_DEPRECATED.react","FBPaymentsForm_DEPRECATED.react","FBPaymentsWebdriverTestIDs","KappaWrapper","PaymentMethodVerifyFields","React","emptyFunction","immutable"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h="US";a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={formData:{},showZipCodeField:d.isZipCodeFieldRequired(d.props.prefilledFormData)},d.handleValidation=function(a,c){var e=d.isZipCodeFieldRequired(c);!e&&!d.shouldCollectBillingAddress()&&delete c[b("CreditCardFormParam").ZIP];d.props.onValidation(a,c);d.setState({formData:c,showZipCodeField:e})},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.UNSAFE_componentWillMount=function(){b("KappaWrapper").start(6,3,0)};d.isVerifyMode=function(){return b("FBPaymentsCreditCardVerificationHelper").shouldVerifyFields(this.props.verifyFields)};d.shouldCollectBillingAddress=function(){var a=this.props.verifyFields;a=b("FBPaymentsCreditCardVerificationHelper").shouldVerifyAddress(a);return this.props.collectBillingAddress||this.isVerifyMode()&&a||b("FBPaymentsCreditCardVerificationHelper").isFieldRequiredForAddress(this.props.additionalFields)};d.shouldCollectCardHolderName=function(){var a=this.props.verifyFields;a=b("FBPaymentsCreditCardVerificationHelper").shouldVerifyCardHolderName(a);return this.props.collectCardHolderName||this.isVerifyMode()&&a||b("FBPaymentsCreditCardVerificationHelper").isFieldRequiredForCardHolderName(this.props.additionalFields)};d.isCreditCardNumberMasked=function(){return this.props.editMode||this.isVerifyMode()};d.isCreditCardNumberFocused=function(){return!this.props.editMode&&!this.isVerifyMode()&&this.props.autoFocus};d.isExpFocused=function(){return this.props.editMode||!!this.isVerifyMode()};d.isExpDisabled=function(){var a=this.props.verifyFields;a=b("FBPaymentsCreditCardVerificationHelper").shouldVerifyExp(a);return!this.props.enableExpInVerifyMode&&this.isVerifyMode()&&!a};d.showExpField=function(){var a=this.props.prefilledFormData[b("CreditCardFormParam").CARD_EXPIRATION];return this.isExpDisabled()&&!a?!1:!0};d.isZipCodeFieldRequired=function(a){if(!this.props.showCountryField)return this.props.showZipCodeField;a=a[b("CreditCardFormParam").COUNTRY];return b("FBPaymentsCreditCardVerificationHelper").isFieldRequiredForCountry(this.props.additionalFields,a,b("PaymentMethodVerifyFields").ZIP)};d.isCVVFocused=function(){return b("FBPaymentsCreditCardVerificationHelper").shouldOnlyVerifyCVV(this.props.verifyFields)};d.getSaveErrors=function(){return this.props.binError?{general:{message:this.props.binError}}:this.props.saveErrors};d.render=function(){var a=this.props.compactMode,c=this.state.showZipCodeField,d=this.props.useV2FormAlignment&&c,e=this.shouldCollectBillingAddress(),f=this.shouldCollectCardHolderName(),i=this.showExpField()?b("React").createElement(b("FBPaymentsCreditCardExpDateFormField_DEPRECATED.react"),{disabled:this.isExpDisabled(),initiallyFocused:this.isExpFocused(),isVerifyMode:this.isVerifyMode(),logger:this.props.logger,name:b("CreditCardFormParam").CARD_EXPIRATION,onChange:b("emptyFunction"),required:!0,useV2Label:this.props.useV2Label,width:a?25:d&&!e?33:50}):null,j=this.props.hideCreditCardNumber?null:b("React").createElement(b("FBPaymentsCreditCardNumberFormField_DEPRECATED.react"),{acceptedCardTypes:this.props.acceptedCardTypes,allowCredit:this.props.allowCredit,binError:this.props.binError,disabled:this.isCreditCardNumberMasked(),initiallyFocused:this.isCreditCardNumberFocused(),isBinErrorLoading:this.props.isBinErrorLoading,isVerifyMode:this.isVerifyMode(),logger:this.props.logger,name:b("CreditCardFormParam").CARD_NUMBER,onChange:b("emptyFunction"),required:!0,width:a?75:100}),k=c&&this.props.showCountryField?50:100;c=c&&!e?b("React").createElement(b("FBPaymentsCreditCardZipCodeFormField_DEPRECATED.react"),{countryCode:this.state.formData[b("CreditCardFormParam").COUNTRY]||h,initiallyFocused:c&&!this.isCreditCardNumberFocused(),isVerifyMode:this.isVerifyMode(),logger:this.props.logger,name:b("CreditCardFormParam").ZIP,onChange:b("emptyFunction"),postalRegex:this.props.postalRegex,required:!0,useV2Label:this.props.useV2Label,width:a?30:d?33:k}):null;k=this.props.showCountryField?b("React").createElement(b("FBPaymentsAddressCountrySelectorFormField_DEPRECATED.react"),{name:b("CreditCardFormParam").COUNTRY,onChange:b("emptyFunction"),required:!0,size:"xlarge",useCheckoutV2Style:this.props.enableFloatingLabel,width:k}):null;f=f?b("React").createElement(b("FBPaymentsCreditCardCardHolderNameFormField_DEPRECATED.react"),{isVerifyMode:this.isVerifyMode(),key:"card_holder_name",logger:this.props.logger,name:b("CreditCardFormParam").CARD_HOLDER_NAME,onChange:b("emptyFunction"),required:!0,width:100}):null;var l=e?[b("React").createElement(b("FBPaymentsCreditCardAddressFormField_DEPRECATED.react"),{isVerifyMode:this.isVerifyMode(),key:"street",logger:this.props.logger,name:b("CreditCardFormParam").STREET,onChange:b("emptyFunction"),required:!0,width:100}),b("React").createElement(b("FBPaymentsCreditCardCityFormField_DEPRECATED.react"),{isVerifyMode:this.isVerifyMode(),key:"city",logger:this.props.logger,name:b("CreditCardFormParam").CITY,onChange:b("emptyFunction"),required:!0,width:34}),b("React").createElement(b("FBPaymentsCreditCardStateFormField_DEPRECATED.react"),{isVerifyMode:this.isVerifyMode(),key:"state",logger:this.props.logger,name:b("CreditCardFormParam").STATE,onChange:b("emptyFunction"),required:!0,width:33}),b("React").createElement(b("FBPaymentsCreditCardZipCodeFormField_DEPRECATED.react"),{countryCode:this.state.formData[b("CreditCardFormParam").COUNTRY]||h,isVerifyMode:this.isVerifyMode(),key:"zip",logger:this.props.logger,name:b("CreditCardFormParam").ZIP,onChange:b("emptyFunction"),postalRegex:this.state.formData[b("CreditCardFormParam").COUNTRY]===h?this.props.postalRegex:null,required:!0,useV2Label:this.props.useV2Label,width:33})]:null;return b("React").createElement(b("FBPaymentsForm_DEPRECATED.react"),{autoTab:this.props.autoTab,className:this.props.className,"data-testid":b("FBPaymentsWebdriverTestIDs").CREDIT_CARD_FORM,enableFloatingLabel:this.props.enableFloatingLabel,errorTitle:g._("L\u1ed7i khi l\u01b0u th\u1ebb"),isValidationLoading:this.props.isBinErrorLoading,onFormFieldsChange:this.props.onFormFieldsChange,onValidation:this.handleValidation,prefilledFormData:this.props.prefilledFormData,saveErrors:this.getSaveErrors(),showFieldLevelErrors:this.props.showFieldLevelErrors,showHardErrorMessage:this.props.showHardErrorMessage,showIcons:this.props.showIcons,showLabels:this.props.showLabels,showPlaceholderOnFocus:this.props.showPlaceholderOnFocus,showSecondaryIcons:this.props.showSecondaryIcons,useGutters:this.props.useGutters},j,i,b("React").createElement(b("FBPaymentsCreditCardCVCFormField_DEPRECATED.react"),{creditCardNumber:this.state.formData[b("CreditCardFormParam").CARD_NUMBER],cscMaxLength:this.props.cscMaxLength,initiallyFocused:this.isCVVFocused(),isVerifyMode:this.isVerifyMode(),logger:this.props.logger,name:b("CreditCardFormParam").CSC,onChange:b("emptyFunction"),required:!0,width:a?25:d&&!e?34:50}),c,f,l,k)};return c}(b("React").Component);a.defaultProps={autoTab:!1,autoFocus:!0,allowCredit:!0,binError:"",collectBillingAddress:!1,collectCardHolderName:!1,compactMode:!1,editMode:!1,enableExpInVerifyMode:!1,enableFloatingLabel:!1,hideCreditCardNumber:!1,onValidation:b("emptyFunction"),postalRegex:"/^(\\d{5})$/",prefilledFormData:{},showCountryField:!1,showFieldLevelErrors:!1,showHardErrorMessage:!1,showIcons:!0,showSecondaryIcons:!1,showLabels:!1,showPlaceholderOnFocus:!1,showZipCodeField:!0,isBinErrorLoading:!1,useGutters:!1,useV2FormAlignment:!1,useV2Label:!1};e.exports=a}),null);
__d("FBPaymentsUpdateCredentialPaymentMethodSelector.react",["cx","fbt","CreditCardTypeField","FBPaymentsAccordion.react","FBPaymentsCreditCardForm_DEPRECATED.react","FBPaymentsMethodType","FBPaymentsNewPaymentOptionTypes","FBPaymentsPaymentMethodTypes","FBPaymentsPaymentMethodUtils","FBPaymentsRadioAccordionItem.react","PaymentMethodUtils","React","gkx","immutable","isEmpty"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i=b("immutable").List;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={selectedValue:null,formData:{}},d.handleCreditCardFormValidation=function(a,b){d.setState({formData:b}),d.props.handleCreditCardFormValidation(a,b)},d.handleAccordionPaymentMethodSelected=function(a){__p&&__p();var c=d.props.credentials||[];switch(a){case b("FBPaymentsNewPaymentOptionTypes").NEW_CREDIT_CARD_FROM_GRAPHQL:case b("FBPaymentsNewPaymentOptionTypes").NEW_PAYPAL_FROM_GRAPHQL:d.props.handlePaymentMethodClicked&&d.props.handlePaymentMethodClicked(a);break;default:c=c.filter(function(b){return(b==null?void 0:(b=b.payment_credential_option)==null?void 0:b.credential_id)===a});!!c&&c.length===1&&(d.props.handlePaymentMethodClicked&&d.props.handlePaymentMethodClicked(a));d.setState({formData:{}});break}d.setState({selectedValue:a})},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.getExistingPaymentMethodLabel=function(a,c){return a==b("FBPaymentsPaymentMethodTypes").CREDIT_CARD_FROM_GRAPHQL?"*"+c:""};d.getCreditCardIcons=function(a){return b("FBPaymentsPaymentMethodUtils").getImageForCardType(a)};d.getAddCardLabel=function(){return h._("Th\u00eam th\u1ebb m\u1edbi")};d.renderCardForm=function(){__p&&__p();var a,c=this.props.credentials||[];c.forEach(function(c){var d;d=(d=c.payment_credential_option)==null?void 0:d.credential_type;if(d==b("FBPaymentsNewPaymentOptionTypes").NEW_CREDIT_CARD_FROM_GRAPHQL){c=((d=c.payment_credential_option)==null?void 0:d.additional_fields)||[];c.forEach(function(b){(b==null?void 0:b.country)!=null&&(a=b.country)})}});return b("React").createElement(b("FBPaymentsCreditCardForm_DEPRECATED.react"),{autoTab:!0,collectBillingAddress:this.props.collectBillingAddress,collectCardHolderName:this.props.collectCardHolderName,enableFloatingLabel:!0,onValidation:this.handleCreditCardFormValidation,showCountryField:!0,prefilledFormData:{country:a||"US"},showFieldLevelErrors:!0,showHardErrorMessage:!0,showLabels:!0,showZipCodeField:!0,useV2FormAlignment:!0,useV2Label:!0})};d.getNewPaymentMethodAccordionItems=function(){__p&&__p();var a=this,c=[],d=this.props.credentials||[];d.forEach(function(d){__p&&__p();d=(d=d.payment_credential_option)==null?void 0:d.credential_type;switch(d){case b("FBPaymentsNewPaymentOptionTypes").NEW_CREDIT_CARD_FROM_GRAPHQL:var e=b("React").createElement(b("FBPaymentsRadioAccordionItem.react"),{fullBleedSection:!0,iconSrcs:a.getNewCreditCardIcons(),key:d,label:a.getAddCardLabel(),value:b("FBPaymentsNewPaymentOptionTypes").NEW_CREDIT_CARD_FROM_GRAPHQL},b("React").createElement("div",{className:"_p1_"},a.renderCardForm()));c.push(e);break;case b("FBPaymentsNewPaymentOptionTypes").NEW_PAYPAL_FROM_GRAPHQL:if(b("gkx")("730846")){e=i.of(b("FBPaymentsPaymentMethodUtils").getImageForPayPal());e=b("React").createElement(b("FBPaymentsRadioAccordionItem.react"),{iconSrcs:e,key:d,label:a.getAddPayPalLabel(),value:b("FBPaymentsNewPaymentOptionTypes").NEW_PAYPAL_FROM_GRAPHQL});c.push(e)}break}});return c};d.getAddPayPalLabel=function(){return h._("K\u1ebft n\u1ed1i PayPal")};d.getNewCreditCardIcons=function(){__p&&__p();var a=this,c=[b("FBPaymentsMethodType").VISA,b("FBPaymentsMethodType").MC,b("FBPaymentsMethodType").AMEX,b("FBPaymentsMethodType").DISC],d=[];c.forEach(function(b){d.push(a.getCreditCardIcons(b))});c=this.state.formData.creditCardNumber;if(c){c=b("PaymentMethodUtils").getCardType(c);if(c.type!=b("CreditCardTypeField").UNKNOWN){var e=b("FBPaymentsMethodType").UNKNOWN;switch(c.type){case b("CreditCardTypeField").AMERICAN_EXPRESS:e=b("FBPaymentsMethodType").AMEX;break;case b("CreditCardTypeField").VISA:e=b("FBPaymentsMethodType").VISA;break;case b("CreditCardTypeField").MASTERCARD:e=b("FBPaymentsMethodType").MC;break;case b("CreditCardTypeField").DISCOVER:e=b("FBPaymentsMethodType").DISC;break;default:break}d=[this.getCreditCardIcons(e)]}}return b("immutable").List(d)};d.getCardTypeFromAssociationName=function(a){switch(a){case"American Express":return b("FBPaymentsMethodType").AMEX;case"Visa":return b("FBPaymentsMethodType").VISA;case"MasterCard":return b("FBPaymentsMethodType").MC;case"Discover":return b("FBPaymentsMethodType").DISC;default:return b("FBPaymentsMethodType").UNKNOWN}};d.getExistingPaymentMethodAccordionItem=function(a,c,d,e,f){return b("React").createElement(b("FBPaymentsRadioAccordionItem.react"),{fullBleedSection:!0,selected:a,iconLeft:this.getCreditCardIcons(this.getCardTypeFromAssociationName(c)),key:d,label:this.getExistingPaymentMethodLabel(e,f),value:d})};d.getExistingPaypalAccordionItem=function(a,c,d,e){return b("React").createElement(b("FBPaymentsRadioAccordionItem.react"),{fullBleedSection:!0,selected:a,iconLeft:b("FBPaymentsPaymentMethodUtils").getImageForPayPal(),key:c,label:e,value:c})};d.getDefaultPaymentMethod=function(a){var c;if(b("isEmpty")(a))return null;a=a.find(function(a){return a.is_disabled==!1});return(a==null?void 0:(c=a.payment_credential_option)==null?void 0:c.credential_id)||(a==null?void 0:(c=a.payment_credential_option)==null?void 0:c.credential_type)};d.renderInlinePaymentOptions=function(){__p&&__p();var a=this,c=[],d=this.props.credentials||[];d.forEach(function(d){__p&&__p();var e;if(!!d&&d.is_disabled==!1&&!!d.payment_credential_option)switch((e=d.payment_credential_option)==null?void 0:e.credential_type){case b("FBPaymentsPaymentMethodTypes").CREDIT_CARD_FROM_GRAPHQL:c.push(a.getExistingPaymentMethodAccordionItem(!!d.is_selected,((e=d.payment_credential_option)==null?void 0:e.card_association_name)||"",((e=d.payment_credential_option)==null?void 0:e.credential_id)||"",((e=d.payment_credential_option)==null?void 0:e.credential_type)||"",((e=d.payment_credential_option)==null?void 0:e.last_four_digits)||""));break;case b("FBPaymentsPaymentMethodTypes").PAYPAL_BILLING_AGREEMENT_FROM_GRAPHQL:if(b("gkx")("730846")){c.push(a.getExistingPaypalAccordionItem(!!d.is_selected,((e=d.payment_credential_option)==null?void 0:e.credential_id)||"",((e=d.payment_credential_option)==null?void 0:e.credential_type)||"",((e=d.payment_credential_option)==null?void 0:e.email)||""))}break;default:break}});d=this.getDefaultPaymentMethod(d);return b("React").createElement("div",{className:"_2pi3"},b("React").createElement(b("FBPaymentsAccordion.react"),{hideRadioButtons:!1,defaultSelectedValue:d,onSelect:this.handleAccordionPaymentMethodSelected,selectedValue:this.state.selectedValue},c,this.getNewPaymentMethodAccordionItems()))};d.render=function(){return this.renderInlinePaymentOptions()};return c}(b("React").Component);e.exports=a}),null);
__d("FBPaymentsUpdateCredentialUtil",["invariant","ClientIDs","FBPaymentsModulesAPI","PaypalPopup","URI"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("ClientIDs").getNewClientID,i=100,j=500;a={connectPayPal:function(a,c){a!=null&&a!=void 0||g(0,2786);a=new(b("URI"))(a);var d=a.getQueryData();delete d.redirect_url;a=new(b("PaypalPopup"))(d).setIsDigitalGoodsFlow(!1).setWidth(j).setHeight(j).setHandler(function(a){a.payment_type=c.paymentType.toLowerCase(),a.paypal_ba_type=d.paypal_ba_type,a.session_id=h(),b("FBPaymentsModulesAPI").completePayPal(a,c.onSuccess,c.onError)}).setCancelHandler(c.onCancel).setPollingInterval(i);a.open()}};e.exports=a}),null);
__d("FBPaymentsUpdateOrderCredentialMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"data",type:"UpdateOrderPaymentCredentialMutationInputData!",defaultValue:null}],b=[{kind:"LinkedField",alias:null,name:"update_order_payment_credential_mutation",storageKey:null,args:[{kind:"Variable",name:"data",variableName:"data"}],concreteType:"UpdateOrderPaymentCredentialMutationResponsePayload",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"error_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_description",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"extra_data",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"flow_step",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"image",args:null,storageKey:null}]}]}];return{kind:"Request",fragment:{kind:"Fragment",name:"FBPaymentsUpdateOrderCredentialMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:b},operation:{kind:"Operation",name:"FBPaymentsUpdateOrderCredentialMutation",argumentDefinitions:a,selections:b},params:{operationKind:"mutation",name:"FBPaymentsUpdateOrderCredentialMutation",id:"2194834587201629",text:null,metadata:{}}}}();e.exports=a}),null);
__d("FBPaymentsUpdateOrderCredentialMutation",["ClientIDs","RelayModern","FBPaymentsUpdateOrderCredentialMutation.graphql"],(function(a,b,c,d,e,f){"use strict";var g=b("ClientIDs").getNewClientID,h=b("RelayModern").commitMutation;b("RelayModern").graphql;var i=function(){return b("FBPaymentsUpdateOrderCredentialMutation.graphql")};function a(a,b,c,d){return h(a,{mutation:i,variables:{data:{payment_order_id:b.paymentOrderID,credential_id:b.credentialID,payment_type:b.paymentType,client_mutation_id:g()}},onCompleted:c,onError:d})}e.exports={commit:a}}),null);
__d("FBPaymentsUpdateCredentialView.react",["cx","fbt","invariant","CreditCardFormParam","FBPaymentsLoadingView.react","FBPaymentsLogger","FBPaymentsLoggerBase","FBPaymentsLoggerConstants","FBPaymentsModulesAPIShared","FBPaymentsNewPaymentOptionTypes","FBPaymentsUniversalErrorUtils","FBPaymentsUpdateCredentialPaymentMethodSelector.react","FBPaymentsUpdateCredentialUtil","FBPaymentsUpdateOrderCredentialMutation","FDSButton.react","FDSModal.react","FDSModalFooter.react","FDSModalHeader.react","FDSSection.react","FDSText.react","FlexLayout.react","LayerFadeOnHide","React","RelayFBEnvironment","ShopButton.react","emptyFunction"],(function(a,b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=b("FBPaymentsLoggerConstants").LoggerFlowType,k=b("FBPaymentsLoggerConstants").LoggerFlowStep,l=b("FBPaymentsLoggerConstants").LoggerEvent,m=b("FBPaymentsLoggerBase").LOGGER_FIELD_NAMES;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c){__p&&__p();var d;d=a.call(this,c)||this;d.state={errorMessage:null,newCredentialID:null,formData:{},showSpinner:!1};d.$2=function(a){d.setState({errorMessage:a.message,showSpinner:!1}),d.$1.setFlowStep(k.UPDATE_PAYMENT_METHOD).setEventName(l.FAIL).updateExtraData(a).logVital(),d.props.handleUpdateCredentialSavedFailure&&d.props.handleUpdateCredentialSavedFailure(a)};d.$3=function(){d.setState({showSpinner:!0});if(d.state.newCredentialID==b("FBPaymentsNewPaymentOptionTypes").NEW_CREDIT_CARD_FROM_GRAPHQL||d.state.newCredentialID==b("FBPaymentsNewPaymentOptionTypes").NEW_PAYPAL_FROM_GRAPHQL){d.$4(d.$5,d.$6,b("emptyFunction"));return}!!d.props.paymentType&&!!d.state.newCredentialID||i(0,11532);b("FBPaymentsUpdateOrderCredentialMutation").commit(b("RelayFBEnvironment"),{paymentOrderID:d.props.orderID,credentialID:d.state.newCredentialID,paymentType:d.props.paymentType},function(){!d.state.newCredentialID&&i(0,11587),d.$7(d.state.newCredentialID)},d.$2)};d.$8=function(){d.$1.setFlowStep(k.UPDATE_PAYMENT_METHOD).setEventName(l.CANCEL).logVital(),d.props.handleUpdateCredentialCancelled()};d.$9=function(a){d.setState({newCredentialID:a})};d.$5=function(a){var c=d.state.newCredentialID==b("FBPaymentsNewPaymentOptionTypes").NEW_CREDIT_CARD_FROM_GRAPHQL?k.ADD_CARD:k.ADD_PAYPAL;d.$1.setFlowStep(c).setEventName(l.SUCCESS).setPaymentMethodID(a).logVital();d.setState({newCredentialID:a});d.props.paymentType!=null||i(0,11521);b("FBPaymentsUpdateOrderCredentialMutation").commit(b("RelayFBEnvironment"),{paymentOrderID:d.props.orderID,credentialID:a,paymentType:d.props.paymentType},function(){return d.$7(a)},function(a){return d.$2(a)})};d.$6=function(a){var c=b("FBPaymentsUniversalErrorUtils").getUserFacingErrorMessage(a);d.setState({errorMessage:c,showSpinner:!1});d.$1.setFlowStep(k.ADD_CARD).setEventName(l.FAIL).setErrorMessage(b("FBPaymentsUniversalErrorUtils").getServerErrorMessage(a)).logVital()};d.$10=function(a,b){d.setState({formData:b})};d.$1=d.props.logger||new(b("FBPaymentsLogger"))();d.$1.setGlobalFields((c={},c[m.flow_name]=j.UPDATE_PAYMENT_METHOD,c));return d}var d=c.prototype;d.$7=function(a){this.$1.setFlowStep(k.UPDATE_PAYMENT_METHOD).setEventName(l.SUCCESS).setPaymentMethodID(a).logVital(),this.props.handleUpdateCredentialSavedSuccess(a)};d.$4=function(a,c,d){__p&&__p();d=this.state.newCredentialID;switch(d){case b("FBPaymentsNewPaymentOptionTypes").NEW_CREDIT_CARD_FROM_GRAPHQL:var e=this.state.formData;e||i(0,1009,d);e[b("CreditCardFormParam").COMBINED_PAYMENT_TYPE]=this.props.paymentType;b("FBPaymentsModulesAPIShared").addCreditCardRelayGraphQL(e,a,c);break;case b("FBPaymentsNewPaymentOptionTypes").NEW_PAYPAL_FROM_GRAPHQL:e=(this.props.credentials||{}).find(function(a){return a.payment_credential_option.credential_type===b("FBPaymentsNewPaymentOptionTypes").NEW_PAYPAL_FROM_GRAPHQL})||{};b("FBPaymentsUpdateCredentialUtil").connectPayPal(e==null?void 0:(e=e.payment_credential_option)==null?void 0:e.url,{paymentType:this.props.paymentType||"UNKNOWN",logger:this.$1,onSuccess:a,onError:c,onCancel:b("emptyFunction")});break;default:i(0,1008,d)}};d.$11=function(){var a=this.state.errorMessage&&b("React").createElement(b("FDSText.react"),{color:"negative"},this.state.errorMessage);return b("React").createElement(b("React").Fragment,null,a,b("React").createElement(b("FBPaymentsUpdateCredentialPaymentMethodSelector.react"),{collectBillingAddress:this.props.collectBillingAddress,collectCardHolderName:this.props.collectCardHolderName,credentials:this.props.credentials,handleCreditCardFormValidation:this.$10,handlePaymentMethodClicked:this.$9}),b("React").createElement(b("FBPaymentsLoadingView.react"),{loadingIndicatorVisible:!0,overlay:!0,visible:this.state.showSpinner}))};d.$12=function(){var a=b("React").createElement(b("FDSButton.react"),{label:"Save",onClick:this.$3,use:"primary"}),c=b("React").createElement(b("FDSButton.react"),{label:"Cancel",onClick:this.$8});a=b("React").createElement(b("FDSModalFooter.react"),{primaryButton:a,secondaryButton:c});c=h._("Thay \u0111\u1ed5i ph\u01b0\u01a1ng th\u1ee9c thanh to\u00e1n");return b("React").createElement(b("FDSModal.react"),{behaviors:{LayerFadeOnHide:b("LayerFadeOnHide")},footer:a,header:b("React").createElement(b("FDSModalHeader.react"),{title:c}),isShown:!0,onHide:this.$8,width:540},b("React").createElement(b("FDSSection.react"),null,this.$11()))};d.$13=function(){var a=b("React").createElement("div",{className:"_3-9c"},b("React").createElement(b("ShopButton.react"),{label:"Save",onClick:this.$3,kind:"primary",size:"small"})),c=b("React").createElement(b("ShopButton.react"),{label:"Cancel",onClick:this.$8,kind:"secondary",size:"small"});return b("React").createElement(b("FDSSection.react"),null,this.$11(),b("React").createElement(b("FlexLayout.react"),{justify:"end"},c,a))};d.render=function(){return this.props.inlineRender?this.$13():this.$12()};return c}(b("React").PureComponent);e.exports=a}),null);
__d("FBPaymentsUpdateCredentialContainer.react",["FBPaymentsLogger","FBPaymentsLoggerBase","FBPaymentsLoggerConstants","FBPaymentsReceiptOrderInfoWebGraphQLQuery","FBPaymentsUniversalErrorUtils","FBPaymentsUpdateCredentialView.react","React","RelayFBEnvironment","RelayModern","WebGraphQL","promiseDone","FBPaymentsUpdateCredentialContainerRefetchQuery.graphql"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var h=b("FBPaymentsLoggerConstants").LoggerFlowType,i=b("FBPaymentsLoggerConstants").LoggerFlowStep,j=b("FBPaymentsLoggerConstants").LoggerEvent,k=b("FBPaymentsLoggerBase").LOGGER_FIELD_NAMES,l=function(){return b("FBPaymentsUpdateCredentialContainerRefetchQuery.graphql")};a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={currency:d.props.currency,paymentType:d.props.paymentType},d.$1=d.props.logger||new(b("FBPaymentsLogger"))(),c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.componentDidMount=function(){__p&&__p();var a=this,c;this.$1.setGlobalFields((c={},c[k.flow_name]=h.UPDATE_PAYMENT_METHOD,c));if(!!this.props.paymentType&&!!this.props.currency)return;c=new(b("FBPaymentsReceiptOrderInfoWebGraphQLQuery"))({id:this.props.orderID});b("promiseDone")(b("WebGraphQL").exec(c),function(b){var c;a.setState({paymentType:(c=b.node)==null?void 0:c.payment_item_type,currency:((c=b.node)==null?void 0:(c=c.billing_amount)==null?void 0:c.currency)||"USD"});b.node==null&&a.$1.setFlowStep(i.UPDATE_PAYMENT_METHOD).setEventName(j.FAIL).setErrorMessage("Query returned null for order id ".concat(a.props.orderID)).logVital()},function(c){a.$1.setFlowStep(i.UPDATE_PAYMENT_METHOD).setEventName(j.FAIL).setErrorMessage(b("FBPaymentsUniversalErrorUtils").getServerErrorMessage(c)).logVital()})};d.render=function(){__p&&__p();var a=this;return b("React").createElement(g,{environment:b("RelayFBEnvironment"),query:l,variables:{orderID:this.props.orderID,paymentType:this.state.paymentType,currency:this.state.currency},render:function(c){__p&&__p();var d=c.error;c=c.props;if(d){a.$1.setFlowStep(i.UPDATE_PAYMENT_METHOD).setEventName(j.FAIL).setErrorMessage(d.message).logVital();return b("React").createElement("div",null,d.message)}if(c){d=(d=c.viewer)==null?void 0:(c=d.consumer_payment_account)==null?void 0:c.all_available_payment_options;(d==null||d.length==0)&&a.$1.setFlowStep(i.UPDATE_PAYMENT_METHOD).setEventName(j.FAIL).setErrorMessage("QueryRenderer returned null for order id ".concat(a.props.orderID,a.state.paymentType||"",a.state.currency)).logVital();return b("React").createElement(b("FBPaymentsUpdateCredentialView.react"),{collectBillingAddress:a.props.collectBillingAddress,collectCardHolderName:a.props.collectCardHolderName,credentials:d,handleUpdateCredentialSavedSuccess:a.props.handleUpdateCredentialSavedSuccess,handleUpdateCredentialSavedFailure:a.props.handleUpdateCredentialSavedFailure,handleUpdateCredentialCancelled:a.props.handleUpdateCredentialCancelled,inlineRender:a.props.inlineRender,orderID:a.props.orderID,paymentType:a.state.paymentType,logger:a.props.logger})}}})};return c}(b("React").PureComponent);a.defaultProps={currency:"USD",collectBillingAddress:!1,collectCardHolderName:!1};e.exports=a}),null);
__d("FBPaymentsReceipt.react",["cx","fbt","AsyncRequest","FBPaymentsCancelSubscriptionAgreementMutation","FBPaymentsLoadingView.react","FBPaymentsLogger","FBPaymentsLoggerConstants","FBPaymentsReceiptOrderInfoWebGraphQLQuery","FBPaymentsReceiptOtherParticipantView.react","FBPaymentsReceiptSection.react","FBPaymentsReceiptStore.react","FBPaymentsUpdateCredentialContainer.react","FDSButton.react","FDSModal.react","FDSModalFooter.react","FDSModalHeader.react","FDSSection.react","LayerFadeOnHide","PaymentSettingsCreditCardDialog.react","PaymentSettingsReceiptFooter.react","PTXFunnelLogger","React","RelayFBEnvironment","RelayModern","TextWithEntities.react","URI","WebGraphQL","XUICard.react","promiseDone","FBPaymentsReceipt_receipt.graphql","FBPaymentsReceiptRefetchQuery.graphql"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=b("RelayModern").createRefetchContainer;b("RelayModern").graphql;var i=b("FBPaymentsLoggerConstants").LoggerFlowType,j=b("FBPaymentsLoggerConstants").LoggerEvent,k=b("FBPaymentsLoggerConstants").LoggerFlowStep;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={creditCardData:null,dialogData:null,isDialogActionLoading:!1,isRefetchingReceipt:!1,showDialog:!1,showDialogOption:b("FBPaymentsReceiptStore.react").getShowDialogOption(),showUpdateCredentialDialog:!1,showUpdateCreditCardDialog:!1},d.$1=d.props.logger||new(b("FBPaymentsLogger"))(),d.$6=function(){d.setState({isDialogActionLoading:!0}),b("FBPaymentsCancelSubscriptionAgreementMutation").commit(b("RelayFBEnvironment"),{subscriptionID:d.props.paymentID},d.$7,d.$8)},d.$7=function(){d.setState({isDialogActionLoading:!1,isRefetchingReceipt:!0,showDialog:!1}),d.$5()},d.$8=function(a){d.setState({dialogData:{alert_dialog_title:a.summary,alert_dialog_description:a.description,alert_dialog_ok_text:h._("\u0110\u00f3ng"),alert_dialog_ok_handler:function(){return d.$2(!1)}},isDialogActionLoading:!1})},d.$10=function(a){d.setState({showDialog:!0,dialogData:a})},d.$11=function(){d.setState({showUpdateCredentialDialog:!0})},d.$12=function(){d.setState({showUpdateCredentialDialog:!1})},d.$13=function(a){d.setState({isRefetchingReceipt:!0,showUpdateCredentialDialog:!1}),d.$5()},d.$15=function(){d.$1.setFlowName(i.EDIT_PAYMENT_METHOD).setFlowStep(k.UPDATE_CARD).setEventName(j.INIT).logVital();var a=new(b("FBPaymentsReceiptOrderInfoWebGraphQLQuery"))({id:d.props.paymentID});b("promiseDone")(b("WebGraphQL").exec(a),function(a){a=(a=a.node)==null?void 0:a.associated_payment_credential;d.$16(a)},function(a){})},d.$17=function(){d.$1.setFlowName(i.EDIT_PAYMENT_METHOD).setFlowStep(k.UPDATE_CARD).setEventName(j.CANCEL).logVital(),d.setState({showUpdateCreditCardDialog:!1})},d.$18=function(){d.$1.setFlowName(i.EDIT_PAYMENT_METHOD).setFlowStep(k.UPDATE_CARD).setEventName(j.SUCCESS).logVital(),d.setState({showUpdateCreditCardDialog:!1})},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.$2=function(a){this.setState({showDialog:a})};d.$3=function(a,c){var d;d=(d=this.props.receiptExtraProps)!=null?d.isCHEXInvoice:d;if(d){d=(d=this.props)!=null?(d=d.receipt)!=null?(d=d.other_participant)!=null?d.title:d:d:d;b("PTXFunnelLogger").logActionToFunnel("link_click",{invoiceID:this.props.paymentID,action_identifier:c,receiver:d,offsite_url:a})}b("URI").go(a)};d.$4=function(a){new(b("AsyncRequest"))().setURI(a).setMethod("POST").send()};d.$5=function(){var a=this;this.props.relay.refetch({id:this.props.paymentID},null,function(){a.setState({isRefetchingReceipt:!1}),a.props.onToggleShouldReloadSubscriptions(!0)},{force:!0})};d.$9=function(){__p&&__p();var a=this;if(!this.state.showDialog)return null;var c=this.state.dialogData||{},d=c.alert_dialog_title,e=c.alert_dialog_description,f=c.alert_dialog_ok_text,g=c.alert_dialog_ok_handler;c=c.alert_dialog_cancel_text;f=b("React").createElement(b("FDSButton.react"),{label:f||"",onClick:g?g:this.$6,use:"primary"});g=c?b("React").createElement(b("FDSButton.react"),{label:c,onClick:function(){return a.$2(!1)}}):null;c=b("React").createElement(b("FDSModalFooter.react"),{primaryButton:f,secondaryButton:g});f=d?b("React").createElement(b("FDSModalHeader.react"),{title:d}):null;return b("React").createElement(b("FDSModal.react"),{behaviors:{LayerFadeOnHide:b("LayerFadeOnHide")},footer:c,header:f,isShown:!0,onHide:function(){return a.$2(!1)}},b("React").createElement(b("FDSSection.react"),null,b("React").createElement("div",null,e,b("React").createElement(b("FBPaymentsLoadingView.react"),{overlay:!0,visible:this.state.isDialogActionLoading}))))};d.$14=function(){return!this.state.showUpdateCredentialDialog?null:b("React").createElement(b("FBPaymentsUpdateCredentialContainer.react"),{handleUpdateCredentialSavedSuccess:this.$13,inlineRender:!1,orderID:this.props.paymentID,handleUpdateCredentialCancelled:this.$12,logger:this.props.logger})};d.$16=function(a){var b;if(a==null){this.$1.setFlowName(i.EDIT_PAYMENT_METHOD).setFlowStep(k.UPDATE_CARD).setEventName(j.FAIL).setErrorMessage("do not have credit card data").logVital();return}this.setState({creditCardData:{credential_id:a.credential_id,card_id:a.credential_id,last_four:a.last_four_digits,exp_month:a.expiry_month,exp_year:a.expiry_year,country:(b=a.billing_address)==null?void 0:b.country_code,zip:(b=a.billing_address)==null?void 0:b.zip},showUpdateCreditCardDialog:!0})};d.$19=function(){if(!this.state.showUpdateCreditCardDialog)return null;if(this.state.creditCardData==null){this.$1.setFlowName(i.EDIT_PAYMENT_METHOD).setFlowStep(k.UPDATE_CARD).setEventName(j.FAIL).setErrorMessage("do not have credit card data").logVital();return null}return b("React").createElement(b("PaymentSettingsCreditCardDialog.react"),{ccData:this.state.creditCardData,onCancel:this.$17,onSuccess:this.$18,key:"updatePaymentMethodDialog",logger:this.props.logger})};d.componentDidMount=function(){var a,c;c=(c=this.props.receiptExtraProps)!=null?c.isCHEXInvoice:c;a=(a=this.props.receiptExtraProps)!=null?a.isSHOPInvoice:a;(c||a)&&(b("PTXFunnelLogger").startFunnelIfNotStarted(),b("PTXFunnelLogger").logActionToFunnel("order_details_opened",{invoiceID:this.props.paymentID}))};d.render=function(){var a,c;if(this.state.isRefetchingReceipt)return this.props.loadingView;c=(c=this.props)!=null?(c=c.receipt)!=null?c.additional_instruction:c:c;c=c?b("React").createElement("div",{className:"_3-8y"},b("React").createElement(b("TextWithEntities.react"),{className:"_3pce _50f8 _3-8y",ranges:c.ranges,text:c.text})):this.props.hideDefaultFooter?null:b("React").createElement(b("PaymentSettingsReceiptFooter.react"),null);return b("React").createElement(b("React").Fragment,null,this.$9(),this.$14(),this.$19(),b("React").createElement(b("XUICard.react"),null,b("React").createElement(b("FBPaymentsReceiptOtherParticipantView.react"),{otherParticipantView:this.props.receipt}),b("React").createElement(b("FBPaymentsReceiptSection.react"),{handleUpdatePaymentMethodClicked:this.$15,receipt:this.props.receipt,logger:this.props.logger,paymentID:this.props.paymentID,receiptExtraProps:this.props.receiptExtraProps,showDialogOption:this.state.showDialogOption,title:(a=this.props.receipt.other_participant)==null?void 0:a.title,showUpdateCredentialDialog:this.$11,showDialogWithData:this.$10})),b("React").createElement("div",{id:"payment_receipt_modal"}),c)};return c}(b("React").PureComponent);e.exports=a(c,{receipt:function(){return b("FBPaymentsReceipt_receipt.graphql")}},function(){return b("FBPaymentsReceiptRefetchQuery.graphql")})}),null);
__d("FBPaymentsReceiptAppQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"id",type:"ID!",defaultValue:null}],b=[{kind:"Variable",name:"id",variableName:"id"}],c={kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},e={kind:"ScalarField",alias:"imageUrl",name:"image_url",args:null,storageKey:null},f={kind:"ScalarField",alias:null,name:"subtitle",args:null,storageKey:null},g={kind:"ScalarField",alias:null,name:"title",args:null,storageKey:null},h={kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null},i=[h],j={kind:"ScalarField",alias:null,name:"style",args:null,storageKey:null},k={kind:"LinkedField",alias:null,name:"title",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},l={kind:"LinkedField",alias:null,name:"subtitle",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},m={kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null},n={kind:"LinkedField",alias:null,name:"entity",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,m,d]},o={kind:"ScalarField",alias:null,name:"length",args:null,storageKey:null},p={kind:"ScalarField",alias:null,name:"offset",args:null,storageKey:null},q={kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[n,o,p]},r=[{kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null}],s=[h,q],t=[{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"date",args:null,storageKey:null}];n={kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[o,p,n]};var u={kind:"LinkedField",alias:null,name:"additional_instruction",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:s};return{kind:"Request",fragment:{kind:"Fragment",name:"FBPaymentsReceiptAppQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"receipt",name:"payment_activity_view",storageKey:null,args:b,concreteType:null,plural:!1,selections:[{kind:"FragmentSpread",name:"FBPaymentsReceipt_receipt",args:null}]}]},operation:{kind:"Operation",name:"FBPaymentsReceiptAppQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"receipt",name:"payment_activity_view",storageKey:null,args:b,concreteType:null,plural:!1,selections:[c,d,{kind:"InlineFragment",type:"PaymentReceiptView",selections:[{kind:"LinkedField",alias:"otherParticipant",name:"other_participant",storageKey:null,args:null,concreteType:"PaymentActivityParticipantView",plural:!1,selections:[e,f,g]},{kind:"LinkedField",alias:null,name:"other_participant",storageKey:null,args:null,concreteType:"PaymentActivityParticipantView",plural:!1,selections:[g]},{kind:"LinkedField",alias:null,name:"sections",storageKey:null,args:null,concreteType:"PaymentActivityViewSection",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"title_with_entities",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},{kind:"ScalarField",alias:null,name:"preferred_position",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"components",storageKey:null,args:null,concreteType:"PaymentActivityViewComponent",plural:!0,selections:[g,f,{kind:"LinkedField",alias:null,name:"extension",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,g,j,{kind:"ScalarField",alias:null,name:"action_identifier",args:null,storageKey:null}]},{kind:"ScalarField",alias:"extensionType",name:"extension_type",args:null,storageKey:null},{kind:"InlineFragment",type:"PaymentImageViewExtension",selections:[{kind:"ScalarField",alias:null,name:"image_urls",args:null,storageKey:null}]},{kind:"InlineFragment",type:"PaymentImageBlockLayoutViewExtension",selections:[k,l,{kind:"LinkedField",alias:"bodyText",name:"body_text",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[h,q,{kind:"LinkedField",alias:"imageRanges",name:"image_ranges",storageKey:null,args:null,concreteType:"ImageAtRange",plural:!0,selections:[{kind:"LinkedField",alias:"entityWithImage",name:"entity_with_image",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"image",storageKey:"image(height:12,width:12)",args:[{kind:"Literal",name:"height",value:12},{kind:"Literal",name:"width",value:12}],concreteType:"Image",plural:!1,selections:r},d]}]}]},{kind:"LinkedField",alias:null,name:"image",storageKey:"image(height:50,width:50)",args:[{kind:"Literal",name:"height",value:50},{kind:"Literal",name:"width",value:50}],concreteType:"Image",plural:!1,selections:r},{kind:"ScalarField",alias:"targetUrl",name:"target_url",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,{kind:"InlineFragment",type:"PaymentActivityUrlAction",selections:[m]}]}]},{kind:"InlineFragment",type:"PaymentPriceListViewExtension",selections:[{kind:"LinkedField",alias:"priceList",name:"price_list",storageKey:null,args:null,concreteType:"PaymentActivityPrice",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"title",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:s},{kind:"LinkedField",alias:"currencyAmount",name:"currency_amount",storageKey:null,args:null,concreteType:"CurrencyAmount",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"currency",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"amount",args:null,storageKey:null}]},{kind:"ScalarField",alias:"priceType",name:"price_type",args:null,storageKey:null}]}]},{kind:"InlineFragment",type:"PaymentButtonViewExtension",selections:[{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,{kind:"InlineFragment",type:"PaymentActivityUrlAction",selections:[m,{kind:"ScalarField",alias:"actionIdentifier",name:"action_identifier",args:null,storageKey:null},f]}]}]},{kind:"InlineFragment",type:"PaymentListViewExtension",selections:[{kind:"LinkedField",alias:null,name:"list",storageKey:null,args:null,concreteType:"PaymentListViewItem",plural:!0,selections:[k,{kind:"LinkedField",alias:null,name:"detail",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null}]}]},{kind:"InlineFragment",type:"PaymentProgressViewExtension",selections:[{kind:"LinkedField",alias:"availableSteps",name:"available_steps",storageKey:null,args:null,concreteType:"PaymentActivityStep",plural:!0,selections:t},{kind:"LinkedField",alias:"currentStep",name:"current_step",storageKey:null,args:null,concreteType:"PaymentActivityStep",plural:!1,selections:t}]},{kind:"InlineFragment",type:"PaymentOrderStatusAttachmentExtension",selections:[k,{kind:"LinkedField",alias:null,name:"subtitles",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!0,selections:i}]},{kind:"InlineFragment",type:"PaymentOrderStatusExtension",selections:[{kind:"LinkedField",alias:null,name:"date",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},{kind:"ScalarField",alias:"orderStatus",name:"order_status",args:null,storageKey:null},{kind:"LinkedField",alias:"additionalDetails",name:"additional_details",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!0,selections:[h,n]}]},{kind:"InlineFragment",type:"CopyableViewExtension",selections:[{kind:"LinkedField",alias:"displayLabel",name:"display_label",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i}]},{kind:"InlineFragment",type:"PaymentEntityHeaderExtension",selections:[k,l,e]}]}]},u]},{kind:"LinkedField",alias:null,name:"floating_section",storageKey:null,args:null,concreteType:"PaymentActivityViewSection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"components",storageKey:null,args:null,concreteType:"PaymentActivityViewComponent",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"subtitle_with_entities",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[h,n,{kind:"LinkedField",alias:null,name:"inline_style_ranges",storageKey:null,args:null,concreteType:"InlineStyleAtRange",plural:!0,selections:[o,p,{kind:"ScalarField",alias:null,name:"inline_style",args:null,storageKey:null}]}]},{kind:"LinkedField",alias:null,name:"extension",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,g,j,{kind:"LinkedField",alias:null,name:"action_datas",storageKey:null,args:null,concreteType:"PaymentActivityActionData",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"identifier",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"additional_info",storageKey:null,args:null,concreteType:"PaymentActivityActionDataAdditionalInfo",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"key",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"value",args:null,storageKey:null}]}]}]}]}]}]},u]}]}]},params:{operationKind:"query",name:"FBPaymentsReceiptAppQuery",id:"2114710468614645",text:null,metadata:{}}}}();e.exports=a}),null);
__d("FBPaymentsReceiptBackButton.react",["ix","fbt","FlexLayout.react","Image.react","Link.react","React","XUIText.react","asset"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){return b("React").createElement(b("Link.react"),{onClick:a.onBackButtonClick},b("React").createElement(b("FlexLayout.react"),{align:"center"},b("React").createElement(b("Image.react"),{src:g("503175")}),b("React").createElement(b("XUIText.react"),{size:"body3",weight:"bold"},a.backButtonLabel?a.backButtonLabel:h._("Quay l\u1ea1i"))))}e.exports=a}),null);
__d("FBPaymentsReceiptApp.react",["cx","fbt","FBPaymentsLoadingView.react","FBPaymentsReceipt.react","FBPaymentsReceiptBackButton.react","FBPaymentsSubscriptionsActions","FlexLayout.react","PaymentSettingsDownloadReceiptLink.react","React","RelayFBEnvironment","RelayModern","FBPaymentsReceiptAppQuery.graphql"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var j=function(){return b("FBPaymentsReceiptAppQuery.graphql")};a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={shouldReloadSubscriptions:!1},d.$1=function(){d.state.shouldReloadSubscriptions&&b("FBPaymentsSubscriptionsActions").reloadSubscriptions();var a=d.props.onBackButtonClick;a&&a()},d.$2=function(a){d.setState({shouldReloadSubscriptions:a})},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){__p&&__p();var a=this,c=this.props,d=c.onBackButtonClick,e=c.showDownloadLink,f=c.backButtonLabel,g=c.paymentID,k=c.loadingMessage,l=c.errorMessage;c=c.query;var m=b("React").createElement(b("FBPaymentsLoadingView.react"),{loadingText:k?k:h._("\u0110ang t\u00ecm n\u1ea1p bi\u00ean lai c\u1ee7a b\u1ea1n theo c\u00e1ch b\u1ea3o m\u1eadt..."),showLockSpinner:!0}),n=b("React").createElement(b("FBPaymentsLoadingView.react"),{loadingText:l?l:h._("\u0110\u00e3 x\u1ea3y ra l\u1ed7i t\u1ea1m th\u1eddi khi c\u1ed1 g\u1eafng t\u00ecm n\u1ea1p bi\u00ean lai c\u1ee7a b\u1ea1n. Vui l\u00f2ng th\u1eed l\u1ea1i sau."),showError:!0});return b("React").createElement(i,{environment:b("RelayFBEnvironment"),query:c?c:j,variables:{id:g},render:function(c){var i=c.error;c=c.props;var j=d?b("React").createElement(b("FBPaymentsReceiptBackButton.react"),{backButtonLabel:f,onBackButtonClick:a.$1}):null,k=e?b("React").createElement(b("PaymentSettingsDownloadReceiptLink.react"),{paymentID:g,buttonLabel:h._("In bi\u00ean lai")}):null;if(c&&c.receipt)return b("React").createElement(b("React").Fragment,null,j||k?b("React").createElement(b("FlexLayout.react"),{align:"center",className:"_2pio",justify:"all"},j,k):null,b("React").createElement(b("FBPaymentsReceipt.react"),babelHelpers["extends"]({},c,a.props,{loadingView:m,onToggleShouldReloadSubscriptions:a.$2})));else if(i||"receipt"in babelHelpers["extends"]({},c))return b("React").createElement(b("React").Fragment,null,j,n);else return m}})};return c}(b("React").PureComponent);e.exports=a}),null);
__d("FBPaymentsSubscriptionDetailsQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"id",type:"ID!",defaultValue:null}],b=[{kind:"Variable",name:"id",variableName:"id"}],c={kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},e={kind:"ScalarField",alias:"imageUrl",name:"image_url",args:null,storageKey:null},f={kind:"ScalarField",alias:null,name:"subtitle",args:null,storageKey:null},g={kind:"ScalarField",alias:null,name:"title",args:null,storageKey:null},h={kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null},i=[h],j={kind:"ScalarField",alias:null,name:"style",args:null,storageKey:null},k={kind:"LinkedField",alias:null,name:"title",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},l={kind:"LinkedField",alias:null,name:"subtitle",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},m={kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null},n={kind:"LinkedField",alias:null,name:"entity",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,m,d]},o={kind:"ScalarField",alias:null,name:"length",args:null,storageKey:null},p={kind:"ScalarField",alias:null,name:"offset",args:null,storageKey:null},q={kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[n,o,p]},r=[{kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null}],s=[h,q],t=[{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"date",args:null,storageKey:null}];n={kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:!0,selections:[o,p,n]};var u={kind:"LinkedField",alias:null,name:"additional_instruction",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:s};return{kind:"Request",fragment:{kind:"Fragment",name:"FBPaymentsSubscriptionDetailsQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"receipt",name:"payment_subscription_activity_view",storageKey:null,args:b,concreteType:null,plural:!1,selections:[{kind:"FragmentSpread",name:"FBPaymentsReceipt_receipt",args:null}]}]},operation:{kind:"Operation",name:"FBPaymentsSubscriptionDetailsQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"receipt",name:"payment_subscription_activity_view",storageKey:null,args:b,concreteType:null,plural:!1,selections:[c,d,{kind:"InlineFragment",type:"PaymentReceiptView",selections:[{kind:"LinkedField",alias:"otherParticipant",name:"other_participant",storageKey:null,args:null,concreteType:"PaymentActivityParticipantView",plural:!1,selections:[e,f,g]},{kind:"LinkedField",alias:null,name:"other_participant",storageKey:null,args:null,concreteType:"PaymentActivityParticipantView",plural:!1,selections:[g]},{kind:"LinkedField",alias:null,name:"sections",storageKey:null,args:null,concreteType:"PaymentActivityViewSection",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"title_with_entities",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},{kind:"ScalarField",alias:null,name:"preferred_position",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"components",storageKey:null,args:null,concreteType:"PaymentActivityViewComponent",plural:!0,selections:[g,f,{kind:"LinkedField",alias:null,name:"extension",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,g,j,{kind:"ScalarField",alias:null,name:"action_identifier",args:null,storageKey:null}]},{kind:"ScalarField",alias:"extensionType",name:"extension_type",args:null,storageKey:null},{kind:"InlineFragment",type:"PaymentImageViewExtension",selections:[{kind:"ScalarField",alias:null,name:"image_urls",args:null,storageKey:null}]},{kind:"InlineFragment",type:"PaymentImageBlockLayoutViewExtension",selections:[k,l,{kind:"LinkedField",alias:"bodyText",name:"body_text",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[h,q,{kind:"LinkedField",alias:"imageRanges",name:"image_ranges",storageKey:null,args:null,concreteType:"ImageAtRange",plural:!0,selections:[{kind:"LinkedField",alias:"entityWithImage",name:"entity_with_image",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"image",storageKey:"image(height:12,width:12)",args:[{kind:"Literal",name:"height",value:12},{kind:"Literal",name:"width",value:12}],concreteType:"Image",plural:!1,selections:r},d]}]}]},{kind:"LinkedField",alias:null,name:"image",storageKey:"image(height:50,width:50)",args:[{kind:"Literal",name:"height",value:50},{kind:"Literal",name:"width",value:50}],concreteType:"Image",plural:!1,selections:r},{kind:"ScalarField",alias:"targetUrl",name:"target_url",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,{kind:"InlineFragment",type:"PaymentActivityUrlAction",selections:[m]}]}]},{kind:"InlineFragment",type:"PaymentPriceListViewExtension",selections:[{kind:"LinkedField",alias:"priceList",name:"price_list",storageKey:null,args:null,concreteType:"PaymentActivityPrice",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"title",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:s},{kind:"LinkedField",alias:"currencyAmount",name:"currency_amount",storageKey:null,args:null,concreteType:"CurrencyAmount",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"currency",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"amount",args:null,storageKey:null}]},{kind:"ScalarField",alias:"priceType",name:"price_type",args:null,storageKey:null}]}]},{kind:"InlineFragment",type:"PaymentButtonViewExtension",selections:[{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,{kind:"InlineFragment",type:"PaymentActivityUrlAction",selections:[m,{kind:"ScalarField",alias:"actionIdentifier",name:"action_identifier",args:null,storageKey:null},f]}]}]},{kind:"InlineFragment",type:"PaymentListViewExtension",selections:[{kind:"LinkedField",alias:null,name:"list",storageKey:null,args:null,concreteType:"PaymentListViewItem",plural:!0,selections:[k,{kind:"LinkedField",alias:null,name:"detail",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null}]}]},{kind:"InlineFragment",type:"PaymentProgressViewExtension",selections:[{kind:"LinkedField",alias:"availableSteps",name:"available_steps",storageKey:null,args:null,concreteType:"PaymentActivityStep",plural:!0,selections:t},{kind:"LinkedField",alias:"currentStep",name:"current_step",storageKey:null,args:null,concreteType:"PaymentActivityStep",plural:!1,selections:t}]},{kind:"InlineFragment",type:"PaymentOrderStatusAttachmentExtension",selections:[k,{kind:"LinkedField",alias:null,name:"subtitles",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!0,selections:i}]},{kind:"InlineFragment",type:"PaymentOrderStatusExtension",selections:[{kind:"LinkedField",alias:null,name:"date",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i},{kind:"ScalarField",alias:"orderStatus",name:"order_status",args:null,storageKey:null},{kind:"LinkedField",alias:"additionalDetails",name:"additional_details",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!0,selections:[h,n]}]},{kind:"InlineFragment",type:"CopyableViewExtension",selections:[{kind:"LinkedField",alias:"displayLabel",name:"display_label",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:i}]},{kind:"InlineFragment",type:"PaymentEntityHeaderExtension",selections:[k,l,e]}]}]},u]},{kind:"LinkedField",alias:null,name:"floating_section",storageKey:null,args:null,concreteType:"PaymentActivityViewSection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"components",storageKey:null,args:null,concreteType:"PaymentActivityViewComponent",plural:!0,selections:[{kind:"LinkedField",alias:null,name:"subtitle_with_entities",storageKey:null,args:null,concreteType:"TextWithEntities",plural:!1,selections:[h,n,{kind:"LinkedField",alias:null,name:"inline_style_ranges",storageKey:null,args:null,concreteType:"InlineStyleAtRange",plural:!0,selections:[o,p,{kind:"ScalarField",alias:null,name:"inline_style",args:null,storageKey:null}]}]},{kind:"LinkedField",alias:null,name:"extension",storageKey:null,args:null,concreteType:null,plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"actions",storageKey:null,args:null,concreteType:null,plural:!0,selections:[c,g,j,{kind:"LinkedField",alias:null,name:"action_datas",storageKey:null,args:null,concreteType:"PaymentActivityActionData",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"identifier",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"additional_info",storageKey:null,args:null,concreteType:"PaymentActivityActionDataAdditionalInfo",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"key",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"value",args:null,storageKey:null}]}]}]}]}]}]},u]}]}]},params:{operationKind:"query",name:"FBPaymentsSubscriptionDetailsQuery",id:"2063102413739575",text:null,metadata:{}}}}();e.exports=a}),null);
__d("FBPaymentsSubscriptionDetails.react",["fbt","FBPaymentsReceiptApp.react","React","RelayModern","FBPaymentsSubscriptionDetailsQuery.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();b("RelayModern").graphql;var h=function(){return b("FBPaymentsSubscriptionDetailsQuery.graphql")};a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return b("React").createElement(b("FBPaymentsReceiptApp.react"),babelHelpers["extends"]({},this.props,{errorMessage:g._("\u0110\u00e3 x\u1ea3y ra l\u1ed7i t\u1ea1m th\u1eddi khi c\u1ed1 g\u1eafng t\u00ecm n\u1ea1p chi ti\u1ebft thanh to\u00e1n \u0111\u1ecbnh k\u1ef3 c\u1ee7a b\u1ea1n. Vui l\u00f2ng th\u1eed l\u1ea1i sau."),hideDefaultFooter:!0,loadingMessage:g._("\u0110ang t\u00ecm n\u1ea1p chi ti\u1ebft thanh to\u00e1n \u0111\u1ecbnh k\u1ef3 c\u1ee7a b\u1ea1n theo c\u00e1ch b\u1ea3o m\u1eadt..."),query:h,showDownloadLink:!1}))};return c}(b("React").PureComponent);e.exports=a}),null);
__d("EventTicketOrderStatus",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({RESERVED:"reserved",PROCESS_START:"process_start",START_RESERVE_SEATS:"start_reserve_seats",SEATS_RESERVED:"seats_reserved",START_PLACING_ORDER:"start_placing_order",CHARGE_SUCCESSFUL:"charge_successful",PURCHASED:"purchased",FAILED:"failed",REFUNDED:"refunded",TIMED_OUT:"timed_out",ABANDONED:"abandoned",CANCELED:"canceled"})}),null);
__d("GiftStatus",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({STARTED:"started",WAITING_TO_FINISH:"waiting_to_finish",FINALIZED:"finalized",PROCESSING:"processing",SHIPPED:"shipped",DELIVERED:"delivered",CANCELED:"canceled"})}),null);
__d("PaymentSettingsPaymentStatus",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({CANCELLED:"cancelled",PENDING:"pending",COMPLETED:"completed",SHIPPED:"shipped",UNKNOWN:"unknown",RECEIVED:"received",SENT:"sent",DECLINED:"declined",PAID:"paid",UNPAID:"unpaid",CANCELED:"canceled",REFUNDED:"refunded",PARTIAL_REFUND:"partially refunded",ORDER_CONFIRMED:"order_confirmed",DELIVERED:"delivered",PRE_ORDER:"pre-ordered"})}),null);
__d("PaymentReceiptFields",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ID:"id",ENT_CLASS:"ent_class",VIEWER_IS_SENDER:"viewer_is_sender",RECEIVER:"receiver",SENDER:"sender",CREATED_AT:"created_at",STATUS:"status",ITEM_INFO:"item_info",CREDENTIAL_ID:"credential_id",INSTRUMENT_TYPE:"instrument_type",TOTAL_AMOUNT:"total_amount",ADJUSTED_TOTAL_AMOUNT:"adjusted_total_amount",ITEM_AMOUNT:"item_amount",FEE_AMOUNT:"fee_amount",REFUNDS:"refunds",CHARGEBACKS:"chargebacks",DISPUTES:"disputes",GEO:"geo",EXTRA_DATA:"extra_data",TAX_AMOUNT:"tax_amount",PAYMENT_ITEM_TYPE:"payment_item_type",BALANCE_AMOUNT:"balance_amount"})}),null);
__d("MNCommerceAgenItemSuggestionReactShape",["React"],(function(a,b,c,d,e,f){"use strict";a=b("React").PropTypes;c=a.shape({desc:a.string,display_total_cost:a.string,id:a.string.isRequired,merchant_name:a.string.isRequired,name:a.string.isRequired,payment_id:a.string,raw_amount:a.string,shimhash:a.string,target_url:a.string,thumb_url:a.string,total_cost:a.shape({amount:a.number,currency:a.string})});e.exports=c}),null);
__d("P2PProductItemDetails.react",["cx","BackgroundImage.react","Image.react","LineClamp.react","Link.react","P2PText.react","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props,c,d,e=a.metadata,f=a.size,g;a.image&&(c=b("React").createElement("div",{className:"_4rys"},b("React").createElement(b("Link.react"),{href:a.refURL,target:"_blank"},b("React").createElement(b("BackgroundImage.react"),{backgroundSize:"cover",height:72,src:a.image,width:72}))));a.merchantLogo&&(g=b("React").createElement("div",{className:"_3-94"},b("React").createElement(b("Image.react"),{height:25,src:a.merchantLogo})));a.description&&(d=b("React").createElement(b("P2PText.react"),{className:"_4ryt",shade:"light",type:"secondary"},b("React").createElement(b("LineClamp.react"),{lines:2},a.description)));a.metadata&&(e=b("React").createElement(b("P2PText.react"),{className:"_291r",shade:"light",type:"secondary"},a.metadata));return b("React").createElement("div",{className:"_1pn3"},g,b("React").createElement("div",{className:"_4ryu"},c,b("React").createElement("div",{className:"_4ryv"},b("React").createElement(b("P2PText.react"),{className:"_4ryw",shade:"dark",size:f,type:"primary"},a.name),d,e)))};return c}(b("React").Component);c.propTypes={description:a.string,merchantLogo:a.string,metadata:a.string,name:a.string,image:a.string,refURL:a.string,size:a.oneOf(["small","medium"])};c.defaultProps={size:"medium"};e.exports=c}),null);
__d("P2PMoneypennyProductItemDetails.react",["MNCommerceAgenItemSuggestionReactShape","P2PProductItemDetails.react","React"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props.item;return b("React").createElement(b("P2PProductItemDetails.react"),{description:a.desc,metadata:a.merchant_name,name:a.name,image:a.thumb_url,refURL:a.target_url,size:this.props.size})};return c}(b("React").Component);c.propTypes={item:b("MNCommerceAgenItemSuggestionReactShape").isRequired,size:a.oneOf(["small","medium"])};c.defaultProps={size:"small"};e.exports=c}),null);
__d("P2PPlatformContextProductItemShape",["React"],(function(a,b,c,d,e,f){"use strict";a=b("React").PropTypes;c=a.shape({description:a.string,formattedAmount:a.string,image:a.string,isAvailable:a.bool,loggingData:a.object,logoImage:a.string,merchantLogo:a.string,name:a.string,rawAmount:a.shape({currency:a.string,amount:a.number}),refURL:a.string});e.exports=c}),null);
__d("P2PPlatformProductItemDetails.react",["P2PPlatformContextProductItemShape","P2PProductItemDetails.react","React"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props.item;return b("React").createElement(b("P2PProductItemDetails.react"),{description:a.description,image:a.image,merchantLogo:a.merchantLogo,metadata:this.props.configSelections,name:a.name,refURL:a.refURL,size:this.props.size})};return c}(b("React").Component);c.propTypes={configSelections:a.string,item:b("P2PPlatformContextProductItemShape").isRequired,size:a.oneOf(["small","medium"])};c.defaultProps={size:"small"};e.exports=c}),null);
__d("P2PSimpleDialog.react",["fbt","FBPaymentsErrorNotice_DEPRECATED.react","P2PButton.react","P2PDialog.react","P2PDialogBody.react","P2PDialogFooter.react","P2PDialogTitle.react","P2PLoadingMask.react","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.handleToggle=function(a){a||c.props.onCancel()},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.render=function(){var a;this.props.error&&(a=b("React").createElement(b("FBPaymentsErrorNotice_DEPRECATED.react"),{error:this.props.error}));return b("React").createElement(b("P2PDialog.react"),{behaviors:this.props.behaviors,layerHideOnBlur:!1,onToggle:this.handleToggle,repositionOnUpdate:!0,shown:!0,width:this.props.width},b("React").createElement(b("P2PDialogTitle.react"),null,this.props.title),b("React").createElement(b("P2PDialogBody.react"),null,a,this.props.bodyText,b("React").createElement(b("P2PLoadingMask.react"),{visible:this.props.loading})),b("React").createElement(b("P2PDialogFooter.react"),null,b("React").createElement(b("P2PButton.react"),{disabled:this.props.loading,label:this.props.cancelButtonText,onClick:this.props.onCancel,size:"medium"}),b("React").createElement(b("P2PButton.react"),{disabled:this.props.loading,label:this.props.confirmButtonText,onClick:this.props.onConfirm,size:"medium",use:"confirm"})))};return c}(b("React").Component);c.propTypes={bodyText:a.string.isRequired,cancelButtonText:a.string,confirmButtonText:a.string,error:a.object,loading:a.bool,onCancel:a.func.isRequired,onConfirm:a.func.isRequired,title:a.string.isRequired,width:a.number};c.defaultProps={cancelButtonText:g._("H\u1ee7y"),confirmButtonText:g._("X\u00e1c nh\u1eadn"),width:300};e.exports=c}),null);
__d("P2PTransferDeclineDialogContainer.react",["fbt","MessengerEnvironment","P2PActions","P2PAPI","P2PSimpleDialog.react","P2PTransferParam","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),h=0;h<e;h++)f[h]=arguments[h];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={loading:!1,declineErrorObject:null},d.handleCancel=function(a){d.props.onCancel&&d.props.onCancel()},d.handleConfirm=function(){var a={};d.setState({loading:!0,declineErrorObject:null});a[b("P2PTransferParam").TRANSFER_ID]=d.props.transfer[b("P2PTransferParam").TRANSFER_ID];b("P2PAPI").declineTransaction({formData:a,success:d.handleDeclineSuccess,error:d.handleDeclineError})},d.handleDeclineSuccess=function(){d.props.onClose&&d.props.onClose()},d.handleDeclineError=function(a){d.setState({loading:!1,declineErrorObject:a})},d.renderBodyText=function(){return g._("Khi b\u1ea1n t\u1eeb ch\u1ed1i kho\u1ea3n thanh to\u00e1n n\u00e0y, ti\u1ec1n s\u1ebd \u0111\u01b0\u1ee3c g\u1eedi l\u1ea1i cho {friendName}.",[g._param("friendName",d.props.transfer.sender.name)])},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){return b("React").createElement(b("P2PSimpleDialog.react"),{behaviors:{LayerFadeOnShow:!1},bodyText:this.renderBodyText(),cancelButtonText:g._("Quay l\u1ea1i"),confirmButtonText:g._("T\u1eeb ch\u1ed1i"),error:this.state.declineErrorObject,loading:this.state.loading,onCancel:this.handleCancel,onConfirm:this.handleConfirm,title:g._("T\u1eeb ch\u1ed1i kho\u1ea3n thanh to\u00e1n?")})};return c}(b("React").Component);c.propTypes={onCancel:a.func,onClose:a.func,transfer:a.object.isRequired,width:a.number};c.defaultProps={onCancel:b("P2PActions").hideDialog,onClose:b("P2PActions").hideDialog,width:b("MessengerEnvironment").messengerui?350:300};e.exports=c}),null);
__d("P2PAcceptMoneyDialog.react",["cx","BootloadedComponent.react","Bootloader","JSResource","MessengerEnvironment","P2PDialog.react","P2PLoadingMask.react","React","Run"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("React").PropTypes;var h=b("MessengerEnvironment").messengerui;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.$1=function(){return b("React").createElement(b("P2PDialog.react"),{className:"_309"+(h?" _5ktw":""),layerHideOnBlur:!1,repositionOnUpdate:!0,shown:!0,width:h?400:350},b("React").createElement("div",{className:"_3w2b"},b("React").createElement(b("P2PLoadingMask.react"),{visible:!0})))},c)||babelHelpers.assertThisInitialized(d)}c.preload=function(){b("Run").onAfterLoad(function(){b("Bootloader").loadModules(["P2PAcceptMoneyDialogImpl.react"],function(){},"P2PAcceptMoneyDialog.react")})};var d=c.prototype;d.render=function(){return b("React").createElement(b("BootloadedComponent.react"),babelHelpers["extends"]({bootloadLoader:b("JSResource")("P2PAcceptMoneyDialogImpl.react").__setRef("P2PAcceptMoneyDialog.react"),bootloadPlaceholder:this.$1()},this.props))};return c}(b("React").Component);c.propTypes={creditCards:a.array.isRequired,useRedesignForm:a.bool,onClose:a.func,transfer:a.object};e.exports=c}),null);
__d("MessengerPaymentProductType",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({P2P:"p2p",PAGES_COMMERCE:"pages_commerce",NMOR_PAGES_COMMERCE:"nmor_pages_commerce",MESSENGER_COMMERCE:"messenger_commerce"})}),null);
__d("P2PCreditCardStore",["Arbiter","ChannelConstants","CreditCardFormParam","EventEmitter","ImmutableObject","MessengerPaymentProductType","P2PActionConstants","P2PActions","P2PAPI","P2PChannelType","P2PCreditCard","P2PDispatcher"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h,i,j,k,l,m=null,n=!1,o=!1;function p(a,c){a&&(l[a]=new(b("ImmutableObject"))(c))}function q(a,b){m=b,a&&(l[a]={error:b})}a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c;c=a.call(this)||this;i=!1;j=!1;g=[];k=!0;l={};h=b("P2PDispatcher").register(c.onEventDispatched.bind(babelHelpers.assertThisInitialized(c)));b("Arbiter").subscribe(b("ChannelConstants").getArbiterType(b("P2PChannelType").CREDIT_CARD_CHANGED),c.handleChannelCreditCardChanged.bind(babelHelpers.assertThisInitialized(c)));b("Arbiter").subscribe(b("ChannelConstants").getArbiterType(b("P2PChannelType").CREDIT_CARD_DELETED),c.handleChannelCreditCardDeleted.bind(babelHelpers.assertThisInitialized(c)));return c}var d=c.prototype;d.onEventDispatched=function(a){__p&&__p();var c=a.data;a=a.type;switch(a){case b("P2PActionConstants").CREDIT_CARD_SAVING:this.handleCreditCardSaving();this.emit("change");break;case b("P2PActionConstants").CREDIT_CARDS_UPDATED:this.handleCreditCardsUpdated(c);this.emit("change");break;case b("P2PActionConstants").CREDIT_CARDS_UPDATED_ERROR:this.handleCreditCardsUpdatedError();this.emit("change");break;case b("P2PActionConstants").CHANNEL_EVENTS_ALLOWED:this.handleChannelEventsAllowed();break;case b("P2PActionConstants").CHANNEL_EVENTS_IGNORED:this.handleChannelEventsIgnored();break;case b("P2PActionConstants").CREDIT_CARD_ADDED:this.handleCreditCardAdded(c);this.emit("change");break;case b("P2PActionConstants").CREDIT_CARD_ADDED_ERROR:this.handleCreditCardAddedError(c);this.emit("change");break;case b("P2PActionConstants").CREDIT_CARD_ADDED_ERROR_CLEARED:this.handleCreditCardAddedErrorCleared();this.emit("change");break;case b("P2PActionConstants").CREDIT_CARD_DELETED:this.handleCreditCardDeleted(c);this.emit("change");break;case b("P2PActionConstants").CREDIT_CARD_DELETED_ERROR:this.handleCreditCardDeletedError(c);this.emit("change");break;case b("P2PActionConstants").CREDIT_CARD_UPDATED:this.handleCreditCardUpdated(c);this.emit("change");break;case b("P2PActionConstants").CREDIT_CARD_UPDATED_ERROR:this.handleCreditCardUpdatedError(c);this.emit("change");break;case b("P2PActionConstants").PRESET_CREDIT_CARD_UPDATED:this.handlePresetCreditCardUpdated(c);this.emit("change");break;case b("P2PActionConstants").PRESET_CREDIT_CARD_UPDATED_ERROR:this.handlePresetCreditCardUpdatedError(c);this.emit("change");break;case b("P2PActionConstants").CREDIT_CARD_VERIFIED:this.handleCreditCardVerified(c);this.emit("change");break;case b("P2PActionConstants").CREDIT_CARD_VERIFIED_ERROR:this.handleCreditCardVerifiedError(c);this.emit("change");break;case b("P2PActionConstants").BIN_NUMBER_VALIDATED:this.handleBINNumberValidated(c);this.emit("change");break;case b("P2PActionConstants").BIN_NUMBER_VALIDATED_ERROR:this.handleBINNumberValidatedError(c);this.emit("change");break}};d.handleCreditCardSaving=function(){n=!0,m=null};d.getAsyncRequestState=function(){return l};d.isCreditCardsFetchComplete=function(){return i};d.handleCreditCardsUpdated=function(a){i=!0,o=!1,g=a.map(function(a){return new(b("P2PCreditCard"))(a)})};d.handleCreditCardsUpdatedError=function(){i=!0,o=!0};d.handleCreditCardAdded=function(a){n=!1,p(a.requestID,a),this.getCreditCardByCredentialID(a[b("CreditCardFormParam").CREDENTIAL_ID])||g.push(new(b("P2PCreditCard"))(a))};d.handleChannelEventsIgnored=function(){k=!1};d.handleChannelEventsAllowed=function(){k=!0};d.handleChannelCreditCardChanged=function(a,c){k&&!this.getCreditCardByCredentialID(c[b("CreditCardFormParam").CREDENTIAL_ID])&&b("P2PAPI").getAllCreditCards()};d.handleCreditCardAddedError=function(a){n=!1,q(a.requestID,a.errors)};d.handleCreditCardAddedErrorCleared=function(){m=null};d.handleCreditCardDeleted=function(a){var c=a[b("CreditCardFormParam").CREDENTIAL_ID];p(a.requestID,a);g=g.filter(function(a){return a.getCredentialId()!==c})};d.handleChannelCreditCardDeleted=function(a,c){c=c.obj,b("P2PActions").deleteCreditCard(c)};d.handleCreditCardDeletedError=function(a){q(a.requestID,a.error)};d.handleCreditCardUpdated=function(a){p(a.requestID,a);var c=this.getCreditCardByCredentialID(a[b("CreditCardFormParam").CREDENTIAL_ID]);c&&(c.setExp(a[b("CreditCardFormParam").CARD_EXPIRATION]),c.setZipCode(a[b("CreditCardFormParam").ZIP]))};d.handleCreditCardUpdatedError=function(a){q(a.requestID,a.errors)};d.handlePresetCreditCardUpdated=function(a){var c=a[b("CreditCardFormParam").CREDENTIAL_ID];p(a.requestID,a);a=g.filter(function(a){return a.getIsPreset()})[0];a&&a.setIsPreset(!1);a=this.getCreditCardByCredentialID(c);a&&a.setIsPreset(!0)};d.handlePresetCreditCardUpdatedError=function(a){q(a.requestID,a.error)};d.handleCreditCardVerified=function(a){p(a.requestID,a);a=this.getCreditCardByCredentialID(a[b("CreditCardFormParam").CREDENTIAL_ID]);a&&a.setIsVerified(!0)};d.handleCreditCardVerifiedError=function(a){q(a.requestID,a.error)};d.handleBINNumberValidated=function(a){p(a.requestID,a)};d.handleBINNumberValidatedError=function(a){q(a.requestID,a.error)};d.getAll=function(a){a=a===void 0?b("MessengerPaymentProductType").P2P:a;j||(j=!0,b("P2PAPI").getAllCreditCards());return g.filter(function(c){return a===b("MessengerPaymentProductType").P2P?c.getIsPersonalTransferEligible():c})};d.getCreditCardByCredentialID=function(a){return g.filter(function(b){return b.getCredentialId()===a})[0]};d.getDispatchToken=function(){return h};d.getSaveErrors=function(){return m};d.isSaving=function(){return n};d.failedCreditCardFetch=function(){return o};return c}(b("EventEmitter"));e.exports=new a()}),null);
__d("PaymentSettingsEventCategory",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({GENERAL:"general",NOTIF:"notif",HISTORY:"history",RECEIPT:"receipt",PAYMENT_METHOD:"payment_method",SHIPPING_ADDRESS:"shipping_address",ACCOUNT_SETTINGS:"account_settings"})}),null);
__d("PaymentSettingsUserAction",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({IMPRESSION:"impression",CLICK_PAYMENT_ROW:"click_payment_row",SELECT_DATE:"select_date",SELECT_STATUS:"select_status",TYPE_SEARCH:"type_search",P2P_ACCEPT_MONEY:"p2p_accept_money",P2P_CONFIRM_INFO:"p2p_confirm_info",ADD_NEW_PAYMENT_METHOD:"add_new_payment_method",ADD_NEW_PAYMENT_METHOD_SUCCESS:"add_new_payment_method_success",ADD_NEW_PAYMENT_METHOD_FAILURE:"add_new_payment_method_failure",UPDATE_PAYMENT_METHOD:"update_payment_method",UPDATE_PAYMENT_METHOD_SUCCESS:"update_payment_method_success",UPDATE_PAYMENT_METHOD_FAILURE:"update_payment_method_failure",REMOVE_PAYMENT_METHOD:"remove_payment_method",REMOVE_PAYMENT_METHOD_SUCCESS:"remove_payment_method_success",REMOVE_PAYMENT_METHOD_FAILURE:"remove_payment_method_failure",ADD_NEW_SHIPPING_ADDRESS:"add_new_shipping_address",UPDATE_SHIPPING_ADDRESS:"update_shipping_address",REMOVE_SHIPPING_ADDRESS:"remove_shipping_address",UPDATE_EXPIRED_CARD:"update_expired_card",UPDATE_EXPIRED_CARD_SUCCESS:"update_expired_card_success",UPDATE_EXPIRED_CARD_FAILURE:"update_expired_card_failure",UPDATE_CURRENCY:"update_currency",UPDATE_CURRENCY_SUCCESS:"update_currency_success",UPDATE_CURRENCY_FAILURE:"update_currency_failure"})}),null);
__d("P2PVerificationFlowHelper",["AsyncDialog","AsyncRequest","P2PAPI","P2PTransferParam","emptyFunction"],(function(a,b,c,d,e,f){__p&&__p();var g=null,h=null,i=null;a={startVerificationFlow:function(a,c,d){g=a,h=c,i=d||b("emptyFunction"),b("AsyncDialog").send(new(b("AsyncRequest"))("/p2p/verify/dialog/?id="+a))},setupFlowExitHandler:function(a,c,d,e){__p&&__p();var f=function(b){i(b),g=null,h=null,i=null,a.destroy(),c.destroy()};if(d)a.subscribe("hide",function(){f(e)});else{var j=!1,k=!1;a.subscribe("confirm",function(){j=!0});a.subscribe("hide",function(){j?(a.destroy(),c.destroy()):h?c.show():f(!1)});c.subscribe("confirm",function(){k=!0;var a={};a[b("P2PTransferParam").TRANSFER_ID]=g;b("P2PAPI").cancelTransaction({formData:a});f(!1)});c.subscribe("hide",function(){k||a.show()})}}};e.exports=a}),null);
__d("XPaymentSettingsGetCredentialInfoController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payments/settings/payment_credential/",{credential_id:{type:"Int",required:!0}})}),null);
__d("XPaymentSettingsGetPaymentsHistoryController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payments/settings/payment_history/",{env:{type:"String",defaultValue:""},session_id:{type:"String"}})}),null);
__d("P2PPaymentRequest",["P2PPaymentRequestStatus","immutable"],(function(a,b,c,d,e,f){"use strict";a=Math.round(Date.now()/1e3);c=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}return b}(b("immutable").Record({amount:"",amountWithSymbol:"",creationTime:a,currency:"",currentStatus:b("P2PPaymentRequestStatus").INITED,groupThreadFBID:"",id:"",individualRequests:[],memoText:"",requestee:{},requester:{},statusDescription:"",transfer:{},transferID:"",updatedTime:a}));e.exports=c}),null);
__d("P2PPaymentRequestsStore",["Arbiter","ChannelConstants","CurrentUser","EventEmitter","ImmutableObject","P2PActionConstants","P2PActions","P2PAPI","P2PChannelType","P2PDispatcher","P2PPaymentRequest","P2PPaymentRequestStatus","immutable"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("immutable").List,h=null,i=!1,j=null,k=!1,l=null,m=g(),n=!1,o=!1;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c;c=a.call(this)||this;b("Arbiter").subscribe(b("ChannelConstants").getArbiterType(b("P2PChannelType").PAYMENT_REQUEST_STATUS_CHANGED),c.handleChannelPaymentRequestStatusChanged.bind(babelHelpers.assertThisInitialized(c)));b("P2PDispatcher").register(c.onEventDispatched.bind(babelHelpers.assertThisInitialized(c)));return c}var d=c.prototype;d.onEventDispatched=function(a){__p&&__p();var c=a.data;a=a.type;switch(a){case b("P2PActionConstants").PAYMENT_REQUEST_INITIATED:n=!0;l=null;this.emit("change");break;case b("P2PActionConstants").PAYMENT_REQUEST_INITIATED_COMPLETE:n=!1;this.emit("change");break;case b("P2PActionConstants").PAYMENT_REQUEST_CREATED:this.handlePaymentRequestCreated(c);this.emit("change");break;case b("P2PActionConstants").PAYMENT_REQUEST_CREATED_ERROR:l=new(b("ImmutableObject"))(c.error);this.emit("change");break;case b("P2PActionConstants").PAYMENT_REQUEST_UPDATED:this.handlePaymentRequestUpdated(c);this.emit("change");break;case b("P2PActionConstants").PAYMENT_REQUEST_DECLINE_INITIATED:k=!0;j=null;this.emit("change");break;case b("P2PActionConstants").PAYMENT_REQUEST_DECLINED:k=!1;j=null;this.handlePaymentRequestDeclined(c);this.emit("change");break;case b("P2PActionConstants").PAYMENT_REQUEST_DECLINE_ERROR:k=!1;j=new(b("ImmutableObject"))(c.error);this.emit("change");break;case b("P2PActionConstants").PAYMENT_REQUEST_CANCEL_INITIATED:i=!0;h=null;this.emit("change");break;case b("P2PActionConstants").PAYMENT_REQUEST_CANCELED:i=!1;h=null;this.handlePaymentRequestCanceled(c);this.emit("change");break;case b("P2PActionConstants").PAYMENT_REQUEST_CANCEL_ERROR:i=!1;h=new(b("ImmutableObject"))(c.error);this.emit("change");break;case b("P2PActionConstants").DIALOG_CLOSED:j=null;this.emit("change");break;case b("P2PActionConstants").PAYMENT_REQUESTS_FETCHED:this.handlePaymentRequestsFetched(c);this.emit("change");break}};d.handlePaymentRequestCreated=function(a){var c=m.toArray();c.push(new(b("P2PPaymentRequest"))(a));c.sort(function(a,b){return a.creationTime-b.creationTime});m=g(c)};d.handlePaymentRequestUpdated=function(a){a.groupRequestID&&this.updateIndividualRequest(a),delete a.groupRequestID,this.updateRequest(a.id,a)};d.handlePaymentRequestDeclined=function(a){this.updateRequest(a,{currentStatus:b("P2PPaymentRequestStatus").DECLINED})};d.handlePaymentRequestCanceled=function(a){this.updateRequest(a,{currentStatus:b("P2PPaymentRequestStatus").CANCELED})};d.handleChannelPaymentRequestStatusChanged=function(a,c){a=c.obj;b("P2PActions").paymentRequestUpdated({id:a.id,currentStatus:a.current_status,groupRequestID:a.group_request_id,transfer:a.transfer})};d.handlePaymentRequestsFetched=function(a){this.$P2PPaymentRequestsStore1(a)};d.$P2PPaymentRequestsStore1=function(a){var c=this;a=a.sort(function(a,b){return a.creationTime-b.creationTime});a.forEach(function(a,d){c.getPaymentRequestByID(a.id)||(m=m.push(new(b("P2PPaymentRequest"))(a)))});a=m.toArray();a.sort(function(a,b){return a.creationTime-b.creationTime});m=g(a)};d.isPaymentRequestInitiated=function(){return n};d.isPaymentRequestDeclining=function(){return k};d.isPaymentRequestCanceling=function(){return i};d.getPaymentRequestByID=function(a){return m.find(function(b){return a===b.id})};d.getPaymentRequestError=function(){return l};d.getPaymentRequestDeclineError=function(){return j};d.getPaymentRequestCancelError=function(){return h};d.getPendingPaymentRequest=function(){o||(o=!0,b("P2PAPI").getPendingPaymentRequests());return m.filter(function(a){return a.requestee.id===b("CurrentUser").getID()&&a.currentStatus===b("P2PPaymentRequestStatus").INITED}).last()};d.updateRequest=function(a,b){m.forEach(function(c,d){a===c.id&&(m=m.set(d,c.merge(c,b)))})};d.updateIndividualRequest=function(a){var b=a.id,c=a.groupRequestID,d=m.findIndex(function(a){return c===a.id}),e=m.get(d),f=e.individualRequests.findIndex(function(a){return b===a.id}),g=e.individualRequests.slice(0),h=g[f];h=babelHelpers["extends"]({},h,a);g[f]=h;e=e.set("individualRequests",g);m=m.set(d,e)};d.getPaymentRequests=function(){return m};return c}(b("EventEmitter"));e.exports=new a()}),null);
__d("P2PPaymentRequestCancelDialogContainer.react",["fbt","P2PActions","P2PAPI","P2PLogger","P2PPaymentLoggerEvent","P2PPaymentLoggerEventFlow","P2PPaymentRequest","P2PPaymentRequestsStore","P2PSimpleDialog.react","React","StoreAndPropBasedStateMixin"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("React").PropTypes;c=b("React").createClass({displayName:"P2PPaymentRequestCancelDialogContainer",mixins:[b("StoreAndPropBasedStateMixin")(b("P2PPaymentRequestsStore"))],propTypes:{paymentRequest:a.instanceOf(b("P2PPaymentRequest")).isRequired},statics:{calculateState:function(a){return{error:b("P2PPaymentRequestsStore").getPaymentRequestCancelError(),loading:b("P2PPaymentRequestsStore").isPaymentRequestCanceling()}}},log:function(a,c){b("P2PLogger").log(a,{www_event_flow:b("P2PPaymentLoggerEventFlow").UI_FLOW_P2P_REQUEST,request_id:this.props.paymentRequest.id})},componentDidMount:function(){this.log(b("P2PPaymentLoggerEvent").UI_ACTN_INITIATE_CANCEL_REQUEST)},handleCancel:function(){b("P2PActions").hideDialog()},handleConfirm:function(){var a=this;b("P2PAPI").cancelPaymentRequest({error:function(){a.log(b("P2PPaymentLoggerEvent").UI_ACTN_CANCEL_REQUEST_FAIL)},paymentRequestID:this.props.paymentRequest.id,success:function(){a.log(b("P2PPaymentLoggerEvent").UI_ACTN_CANCEL_REQUEST_SUCCESS)}});this.log(b("P2PPaymentLoggerEvent").UI_ACTN_CONFIRM_CANCEL_REQUEST)},renderBodyText:function(){var a=this.props.paymentRequest.requestee.name;return g._("{Name of requestee} s\u1ebd \u0111\u01b0\u1ee3c th\u00f4ng b\u00e1o r\u1eb1ng y\u00eau c\u1ea7u \u0111\u00e3 b\u1ecb h\u1ee7y.",[g._param("Name of requestee",a)])},render:function(){return b("React").createElement(b("P2PSimpleDialog.react"),{bodyText:this.renderBodyText(),error:this.state.error,loading:this.state.loading,cancelButtonText:g._("Quay l\u1ea1i"),confirmButtonText:g._("H\u1ee7y"),onCancel:this.handleCancel,onConfirm:this.handleConfirm,title:g._("H\u1ee7y y\u00eau c\u1ea7u?")})}});e.exports=c}),null);
__d("P2PPaymentRequestDeclineDialogContainer.react",["fbt","P2PActions","P2PAPI","P2PLogger","P2PPaymentLoggerEvent","P2PPaymentLoggerEventFlow","P2PPaymentRequest","P2PPaymentRequestsStore","P2PSimpleDialog.react","React","StoreAndPropBasedStateMixin"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("React").PropTypes;c=b("React").createClass({displayName:"P2PPaymentRequestDeclineDialogContainer",mixins:[b("StoreAndPropBasedStateMixin")(b("P2PPaymentRequestsStore"))],propTypes:{paymentRequest:a.instanceOf(b("P2PPaymentRequest")).isRequired},statics:{calculateState:function(a){return{error:b("P2PPaymentRequestsStore").getPaymentRequestDeclineError(),loading:b("P2PPaymentRequestsStore").isPaymentRequestDeclining()}}},log:function(a,c){b("P2PLogger").log(a,{www_event_flow:b("P2PPaymentLoggerEventFlow").UI_FLOW_P2P_REQUEST,request_id:this.props.paymentRequest.id})},componentDidMount:function(){this.log(b("P2PPaymentLoggerEvent").UI_ACTN_INITIATE_DECLINE_REQUEST)},handleCancel:function(){b("P2PActions").hideDialog()},handleConfirm:function(){var a=this;b("P2PAPI").declinePaymentRequest({error:function(){a.log(b("P2PPaymentLoggerEvent").UI_ACTN_DECLINE_REQUEST_FAIL)},paymentRequestID:this.props.paymentRequest.id,success:function(){a.log(b("P2PPaymentLoggerEvent").UI_ACTN_DECLINE_REQUEST_SUCCESS)}});this.log(b("P2PPaymentLoggerEvent").UI_ACTN_CONFIRM_DECLINE_REQUEST)},renderBodyText:function(){var a=this.props.paymentRequest.requester.name;return g._("{Name of requester} s\u1ebd \u0111\u01b0\u1ee3c th\u00f4ng b\u00e1o r\u1eb1ng y\u00eau c\u1ea7u \u0111\u00e3 b\u1ecb t\u1eeb ch\u1ed1i.",[g._param("Name of requester",a)])},render:function(){return b("React").createElement(b("P2PSimpleDialog.react"),{bodyText:this.renderBodyText(),error:this.state.error,loading:this.state.loading,cancelButtonText:g._("Quay l\u1ea1i"),confirmButtonText:g._("T\u1eeb ch\u1ed1i"),onCancel:this.handleCancel,onConfirm:this.handleConfirm,title:g._("T\u1eeb ch\u1ed1i y\u00eau c\u1ea7u?")})}});e.exports=c}),null);
__d("P2PPaymentRequestActionHelper",["fbt","MercuryIDs","P2PActions","P2PPaymentRequest","P2PPaymentRequestCancelDialogContainer.react","P2PPaymentRequestDeclineDialogContainer.react","P2PPaymentRequestStatus","P2PTransferParam","P2PTransferStatus"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=function(a){switch(a){case b("P2PTransferStatus").CANCELED_DECLINED:return b("P2PPaymentRequestStatus").DECLINED;case b("P2PTransferStatus").CANCELED_EXPIRED:return b("P2PPaymentRequestStatus").EXPIRED;case b("P2PTransferStatus").CANCELED_RECIPIENT_RISK:case b("P2PTransferStatus").CANCELED_SAME_CARD:case b("P2PTransferStatus").CANCELED_SENDER_RISK:case b("P2PTransferStatus").CANCELED_SYSTEM_FAIL:return b("P2PPaymentRequestStatus").CANCELED;case b("P2PTransferStatus").COMPLETED:return b("P2PPaymentRequestStatus").TRANSFER_COMPLETED;case b("P2PTransferStatus").INTERMEDIATE_PROCESSING:case b("P2PTransferStatus").PENDING_PUSH_FAIL:case b("P2PTransferStatus").PENDING_SENDER_INITED:case b("P2PTransferStatus").PENDING_RECIPIENT_NUX:case b("P2PTransferStatus").PENDING_SENDER_VERIFICATION:case b("P2PTransferStatus").PENDING_SENDER_MANUAL_REVIEW:case b("P2PTransferStatus").PENDING_RECIPIENT_PROCESSING:case b("P2PTransferStatus").PENDING_RECIPIENT_VERIFICATION:case b("P2PTransferStatus").PENDING_RECIPIENT_MANUAL_REVIEW:case b("P2PTransferStatus").PENDING_SENDER_VERIFICATION_PROCESSING:case b("P2PTransferStatus").PENDING_RECIPIENT_VERIFICATION_PROCESSING:default:return b("P2PPaymentRequestStatus").TRANSFER_INITED}};a={initDeclinePaymentRequestFlow:function(a){b("P2PActions").showDialog(b("P2PPaymentRequestDeclineDialogContainer.react"),{paymentRequest:a})},initPayForPaymentRequestFlow:function(a,c){var d=[],e=a.groupThreadFBID,f;e?(d.push(a.requester.id),f=b("MercuryIDs").getThreadIDFromThreadFBID(e)):f=b("MercuryIDs").getThreadIDFromUserID(a.requester.id);b("P2PActions").chatSendViewOpened({amount:a.amount,memoText:a.memoText,paymentRequestID:a.id,threadID:f,useModal:!0,referrer:c,groupSendRecipientUserIDs:d,groupThreadFBID:e})},initCancelPaymentRequestFlow:function(a){b("P2PActions").showDialog(b("P2PPaymentRequestCancelDialogContainer.react"),{paymentRequest:a})},getPaymentRequest:function(a){return new(b("P2PPaymentRequest"))({amount:a.amount,amountWithSymbol:a.amountWithSymbol,creationTime:a.creationTime,currency:a.currency,currentStatus:h(a[b("P2PTransferParam").STATUS]),groupThreadFBID:a.groupThreadFBID,individualRequests:[],memoText:a.memoText,requestee:a.sender,requester:a.receiver,statusDescription:a.statusDescription,trnasfer:a,transferID:a[b("P2PTransferParam").TRANSFER_ID],updatedTime:a.updatedTime})},getStatusText:function(a){__p&&__p();a=a.currentStatus;var c=g._("\u0110\u00e3 h\u1ee7y"),d=g._("\u0110\u00e3 thanh to\u00e1n"),e=g._("B\u1ecb t\u1eeb ch\u1ed1i"),f=g._("\u0110ang ch\u1edd"),h;switch(a){case b("P2PPaymentRequestStatus").DECLINED:h=e;break;case b("P2PPaymentRequestStatus").CANCELED:case b("P2PPaymentRequestStatus").TRANSFER_FAILED:h=c;break;case b("P2PPaymentRequestStatus").TRANSFER_COMPLETED:h=d;break;default:h=f;break}return h}};e.exports=a}),null);
__d("FBPaymentSettingsReceiptContainer.react",["cx","fbt","FBPaymentSettingsHistoryAPI","FBPaymentsLoadingView.react","FBPaymentsLogger","FBPaymentsLoggerConstants","FBPaymentsReceiptApp.react","FBPaymentsReceiptBackButton.react","FBPaymentsSubscriptionDetails.react","FBPaymentTransactionType","NmorOrderType","NmorOrderTypeName","PaymentSettingsBalanceRedemptionPaymentReceipt.react","PaymentSettingsBOFReceipt.react","PaymentSettingsComponentFlowReceipt.react","PaymentSettingsDonationReceipt.react","PaymentSettingsGameBundleReceipt.react","PaymentSettingsGiftPaymentReceipt.react","PaymentSettingsMessengerApiFeeReceipt.react","PaymentSettingsNmorDonationReceipt.react","PaymentSettingsOculusReceipt.react","PaymentSettingsP2PPaymentRequestReceiptContainer.react","PaymentSettingsP2PReceipt.react","PaymentSettingsPaymentType","PaymentSettingsPEPaymentReceipt.react","React","keyMirror","AllPaymentTypeFields"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i=b("keyMirror")(b("AllPaymentTypeFields")),j=b("FBPaymentsLoggerConstants").LoggerFlowStep,k=b("FBPaymentsLoggerConstants").LoggerEvent;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={errorMessage:null,isLoading:!1,payment:null},d.$1=d.props.logger||new(b("FBPaymentsLogger"))(),d.onFetchPaymentSuccess=function(a){d.setState({isLoading:!1,payment:a}),d.setBasicLoggerData().setFlowStep(j.FETCH_RECEIPT).setEventName(k.SUCCESS).addToExtraData("type","legacy_payment").log()},d.onFetchPaymentFailure=function(a){d.setState({isLoading:!1,errorMessage:h._("\u0110\u00e3 x\u1ea3y ra l\u1ed7i t\u1ea1m th\u1eddi khi c\u1ed1 g\u1eafng t\u00ecm n\u1ea1p bi\u00ean lai c\u1ee7a b\u1ea1n. Vui l\u00f2ng th\u1eed l\u1ea1i sau.")}),d.setBasicLoggerData().setFlowStep(j.FETCH_RECEIPT).setEventName(k.FAIL).addToExtraData("type","legacy_payment").addToExtraData("error",JSON.stringify(a)).log()},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.componentDidMount=function(){this.setBasicLoggerData().setFlowStep(this.props.paymentInfo.type===b("PaymentSettingsPaymentType").SUBSCRIPTION?j.SUBSCRIPTION_DETAILS:j.RECEIPT).setEventName(k.INIT).log();if(!this.shouldUseNewReceiptModule()){this.setState({isLoading:!0});var a={id:this.props.paymentInfo.id};b("FBPaymentSettingsHistoryAPI").fetchLegacyPayment(a,this.onFetchPaymentSuccess,this.onFetchPaymentFailure);this.setBasicLoggerData().setFlowStep(j.FETCH_RECEIPT).setEventName(k.INIT).addToExtraData("type","legacy_payment").log()}};d.setBasicLoggerData=function(){var a=this.props.paymentInfo,b=a.id,c=a.type;a=a.orderType;this.$1.setPaymentID(b).addToExtraData("receipt_payment_type",c);a&&this.$1.addToExtraData("receipt_order_type",String(a));return this.$1};d.shouldUseNewReceiptModule=function(){__p&&__p();var a=this.props.paymentInfo.orderType,c=this.props.paymentInfo.type,d=this.props.paymentInfo.combinedPaymentType;switch(a){case b("NmorOrderTypeName").BLACKBAUD_RWR_DONATION:case b("NmorOrderType").BLACKBAUD_RWR_DONATION:return!0;case b("NmorOrderTypeName").DONATION_P4P:case b("NmorOrderType").DONATION_P4P:return!0;case b("NmorOrderTypeName").MARKETPLACE_SHIPPING:case b("NmorOrderType").MARKETPLACE_SHIPPING:return!0;case b("NmorOrderTypeName").PPGF_DONATION:case b("NmorOrderType").PPGF_DONATION:return!0;case b("NmorOrderTypeName").ADVERTISER_SUBSCRIPTION:case b("NmorOrderType").ADVERTISER_SUBSCRIPTION:return!0}switch(d){case i.MOR_FAN_FUNDING:case i.MOR_GROUP_SUBSCRIPTION:case i.MOR_SOTTO:case i.MOR_OCULUS_CV1:return!0}switch(c){case b("FBPaymentTransactionType").DONATION_PAYMENT:case b("PaymentSettingsPaymentType").DONATION:return!0;case b("FBPaymentTransactionType").PEER_TO_PEER_TRANSFER:case b("PaymentSettingsPaymentType").P2P:return!1;case b("FBPaymentTransactionType").PEER_TO_PEER_PAYMENT_REQUEST:case b("PaymentSettingsPaymentType").P2P_REQUEST:return!1;case b("FBPaymentTransactionType").CHECKOUT_EXPERIENCES:case b("PaymentSettingsPaymentType").CHECKOUT_PAYMENT_INVOICE:return!0;case b("PaymentSettingsPaymentType").SUBSCRIPTION:return!0;case b("PaymentSettingsPaymentType").FAN_FUNDING:case b("PaymentSettingsPaymentType").GROUP_SUBSCRIPTION:case b("PaymentSettingsPaymentType").SOTTO:return!0;case b("FBPaymentTransactionType").SHOP_ORDER:return!0;default:return!1}};d.getBackButtonLabel=function(){return h._("Quay l\u1ea1i l\u1ecbch s\u1eed")};d.renderReceipt=function(){__p&&__p();if(this.shouldUseNewReceiptModule()){if(this.props.paymentInfo.type===b("PaymentSettingsPaymentType").SUBSCRIPTION)return b("React").createElement(b("FBPaymentsSubscriptionDetails.react"),{backButtonLabel:this.getBackButtonLabel(),onBackButtonClick:this.props.onBack,paymentID:this.props.paymentInfo.id});else if(this.props.paymentInfo.type===b("FBPaymentTransactionType").OCULUS_PAYMENT_INVOICE)return b("React").createElement("div",{className:"_4qv"},b("React").createElement(b("PaymentSettingsOculusReceipt.react"),{accountID:this.props.accountID,paymentInfo:this.props.paymentInfo,onBack:this.props.onBack}));else if(this.props.paymentInfo.type===b("FBPaymentTransactionType").SHOP_ORDER)return b("React").createElement(b("FBPaymentsReceiptApp.react"),{backButtonLabel:this.getBackButtonLabel(),onBackButtonClick:this.props.onBack,paymentID:this.props.paymentInfo.id,receiptExtraProps:{fullWidthSingleColumn:!0,noComponentPadding:!1,isCHEXInvoice:!1,isSHOPInvoice:!0},showDownloadLink:!1,logger:this.props.logger});var a=this.props.paymentInfo.type===b("FBPaymentTransactionType").CHECKOUT_EXPERIENCES||this.props.paymentInfo.type===b("PaymentSettingsPaymentType").CHECKOUT_PAYMENT_INVOICE;return b("React").createElement(b("FBPaymentsReceiptApp.react"),{backButtonLabel:this.getBackButtonLabel(),onBackButtonClick:this.props.onBack,paymentID:this.props.paymentInfo.id,receiptExtraProps:{fullWidthSingleColumn:a,noComponentPadding:a,isCHEXInvoice:a},showDownloadLink:!0,logger:this.props.logger})}else if(this.state.payment){a=this.state.payment;var c;switch(a.type){case b("PaymentSettingsPaymentType").GAME_BUNDLE:c=b("React").createElement(b("PaymentSettingsGameBundleReceipt.react"),{bundleDetails:a.data,onBack:this.props.onBack});break;case b("PaymentSettingsPaymentType").BOF:case b("PaymentSettingsPaymentType").EVENTS_TICKETING:c=b("React").createElement(b("PaymentSettingsBOFReceipt.react"),{accountID:this.props.accountID,order:a.data,onBack:this.props.onBack});break;case b("PaymentSettingsPaymentType").P2P:c=b("React").createElement(b("PaymentSettingsP2PReceipt.react"),{accountID:this.props.accountID,initialTransfer:a.data,onBack:this.props.onBack});break;case b("PaymentSettingsPaymentType").P2P_REQUEST:c=b("React").createElement(b("PaymentSettingsP2PPaymentRequestReceiptContainer.react"),{accountID:this.props.accountID,paymentRequest:a.data,onBack:this.props.onBack});break;case b("PaymentSettingsPaymentType").GIFT:c=b("React").createElement(b("PaymentSettingsGiftPaymentReceipt.react"),{payment:a.data,onBack:this.props.onBack});break;case b("PaymentSettingsPaymentType").BALANCE_REDEMPTION:c=b("React").createElement(b("PaymentSettingsBalanceRedemptionPaymentReceipt.react"),{payment:a.data,onBack:this.props.onBack});break;case b("PaymentSettingsPaymentType").DONATION:c=b("React").createElement(b("PaymentSettingsDonationReceipt.react"),{payment:a.data,onBack:this.props.onBack});break;case b("PaymentSettingsPaymentType").MESSENGER_API_FEE:c=b("React").createElement(b("PaymentSettingsMessengerApiFeeReceipt.react"),{payment:a.data,onBack:this.props.onBack});break;case b("PaymentSettingsPaymentType").GAME:c=b("React").createElement(b("PaymentSettingsPEPaymentReceipt.react"),{allowUnderageFooter:!0,payment:a.data,onBack:this.props.onBack});break;case b("PaymentSettingsPaymentType").NMOR_PAYMENT:a.data.nmor_order_type===b("NmorOrderType").COMPONENT_FLOW||a.data.nmor_order_type===b("NmorOrderType").SYNCHRONOUS_COMPONENT_FLOW?c=b("React").createElement(b("PaymentSettingsComponentFlowReceipt.react"),{accountID:this.props.accountID,initialTransfer:a.data,onBack:this.props.onBack}):a.data.nmor_order_type===b("NmorOrderType").DONATION_P4P||a.data.nmor_order_type===b("NmorOrderType").BLACKBAUD_RWR_DONATION?c=b("React").createElement(b("PaymentSettingsNmorDonationReceipt.react"),{accountID:this.props.accountID,paymentData:a.data,onBack:this.props.onBack}):c=b("React").createElement(b("PaymentSettingsP2PReceipt.react"),{accountID:this.props.accountID,initialTransfer:a.data,onBack:this.props.onBack});break;case b("PaymentSettingsPaymentType").PE_PAYMENT:case b("PaymentSettingsPaymentType").GAME_TIPPING_TOKEN:default:c=b("React").createElement(b("PaymentSettingsPEPaymentReceipt.react"),{payment:a.data,paymentType:a.type,onBack:this.props.onBack});break}return b("React").createElement("div",{className:"_4qv"},c)}return null};d.render=function(){if(this.state.isLoading)return b("React").createElement(b("FBPaymentsLoadingView.react"),{loadingText:h._("\u0110ang t\u00ecm n\u1ea1p bi\u00ean lai c\u1ee7a b\u1ea1n theo c\u00e1ch b\u1ea3o m\u1eadt..."),showLockSpinner:!0});return this.state.errorMessage?b("React").createElement(b("React").Fragment,null,b("React").createElement(b("FBPaymentsReceiptBackButton.react"),{backButtonLabel:this.getBackButtonLabel(),onBackButtonClick:this.props.onBack}),b("React").createElement(b("FBPaymentsLoadingView.react"),{loadingText:this.state.errorMessage,showError:!0})):this.renderReceipt()};return c}(b("React").Component);e.exports=a}),null);
__d("ShowDialogOption",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({CUSTOMER_SUPPORT_RECONTACT:"recontact",CONTACT_CUSTOMER_SUPPORT:"get_help",BUYER_ORDER_RETURN:"return",BUYER_ORDER_CANCEL:"cancel"})}),null);
__d("FBPaymentsReceiptActions.react",["FBPaymentsReceiptDispatcher.react","ShowDialogOption"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={setShowDialogOption:function(a){switch(a){case b("ShowDialogOption").CONTACT_CUSTOMER_SUPPORT:b("FBPaymentsReceiptDispatcher.react").dispatch({type:"SHOW_CONTACT_CUSTOMER_SUPPORT"});break;case b("ShowDialogOption").BUYER_ORDER_RETURN:b("FBPaymentsReceiptDispatcher.react").dispatch({type:"SHOW_BUYER_ORDER_RETURN"});break;case b("ShowDialogOption").BUYER_ORDER_CANCEL:b("FBPaymentsReceiptDispatcher.react").dispatch({type:"SHOW_BUYER_ORDER_CANCEL"});break;default:break}}};e.exports=a}),null);
__d("FBPaymentsHistoryActionTypes",[],(function(a,b,c,d,e,f){"use strict";a={PAYMENTS_LOADED:"PAYMENTS_LOADED",PAYMENTS_ERROR:"PAYMENTS_ERROR",CURRENT_PAGE_NUMBER_LOADED:"CURRENT_PAGE_NUMBER_LOADED",CURRENT_PAGE_NUMBER_ERROR:"CURRENT_PAGE_NUMBER_ERROR",RELOAD_PAYMENTS:"RELOAD_PAYMENTS",NEXT_PAGE:"NEXT_PAGE",PREV_PAGE:"PREV_PAGE",JUMP_PAGE:"JUMP_PAGE",TOTAL_PAYMENTS_COUNT_LOADED:"TOTAL_PAYMENTS_COUNT_LOADED",TOTAL_PAYMENTS_COUNT_ERROR:"TOTAL_PAYMENTS_COUNT_ERROR",RELOAD_TOTAL_PAYMENTS_COUNT:"RELOAD_TOTAL_PAYMENTS_COUNT"};e.exports=a}),null);
__d("FBPaymentsHistoryActions",["FBPaymentsDispatcher","FBPaymentsHistoryActionTypes"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={paymentsLoaded:function(a){b("FBPaymentsDispatcher").dispatch({type:b("FBPaymentsHistoryActionTypes").PAYMENTS_LOADED,data:a})},paymentsError:function(a){b("FBPaymentsDispatcher").dispatch({type:b("FBPaymentsHistoryActionTypes").PAYMENTS_ERROR,data:a})},nextPage:function(){b("FBPaymentsDispatcher").dispatch({type:b("FBPaymentsHistoryActionTypes").NEXT_PAGE})},prevPage:function(){b("FBPaymentsDispatcher").dispatch({type:b("FBPaymentsHistoryActionTypes").PREV_PAGE})},jumpPage:function(a){b("FBPaymentsDispatcher").dispatch({type:b("FBPaymentsHistoryActionTypes").JUMP_PAGE,data:a})},reloadPayments:function(){b("FBPaymentsDispatcher").dispatch({type:b("FBPaymentsHistoryActionTypes").RELOAD_PAYMENTS})},reloadTotalPaymentsCount:function(){b("FBPaymentsDispatcher").dispatch({type:b("FBPaymentsHistoryActionTypes").RELOAD_TOTAL_PAYMENTS_COUNT})},totalPaymentsCountLoaded:function(a){b("FBPaymentsDispatcher").dispatch({type:b("FBPaymentsHistoryActionTypes").TOTAL_PAYMENTS_COUNT_LOADED,data:a})},totalPaymentsCountError:function(a){b("FBPaymentsDispatcher").dispatch({type:b("FBPaymentsHistoryActionTypes").TOTAL_PAYMENTS_COUNT_ERROR,data:a})}};e.exports=a}),null);
__d("FBPaymentsHistoryCurrentPageNumberStore",["FBPaymentsDispatcher","FBPaymentsHistoryActionTypes","FluxReduceStore"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.call(this,b("FBPaymentsDispatcher"))||this}var d=c.prototype;d.getInitialState=function(){return 0};d.reduce=function(a,c){a=a;switch(c.type){case b("FBPaymentsHistoryActionTypes").NEXT_PAGE:a+=1;break;case b("FBPaymentsHistoryActionTypes").PREV_PAGE:a-=1;break;case b("FBPaymentsHistoryActionTypes").JUMP_PAGE:a=c.data;break}return a<0?0:a};return c}(b("FluxReduceStore"));a.__moduleID=e.id;e.exports=new a()}),null);
__d("FBPaymentsHistoryPaymentsStoreBase",["CurrentUser","FBPaymentsDispatcher","FBPaymentsHistoryActions","FBPaymentsHistoryActionTypes","FBPaymentsHistoryCurrentPageNumberStore","FBPaymentsLoggerBase","FBPaymentsLoggerConstants","FluxLoadObjectStore","immutable","abstractMethod"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("FBPaymentsLoggerConstants").LoggerFlowStep,h=b("FBPaymentsLoggerConstants").LoggerEvent,i=20,j=b("CurrentUser").getID();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c;c=a.call(this,b("FBPaymentsDispatcher"))||this;c.$FBPaymentsHistoryPaymentsStoreBase1=c.__initializeLogger();return c}var d=c.prototype;d.reduce=function(a,c){__p&&__p();var d=c.data;switch(c.type){case b("FBPaymentsHistoryActionTypes").PAYMENTS_LOADED:this.$FBPaymentsHistoryPaymentsStoreBase1.setFlowStep(g.FETCH_PAYMENT_HISTORY).setEventName(h.SUCCESS).log();return this.__handleOne(a,j,d);case b("FBPaymentsHistoryActionTypes").PAYMENTS_ERROR:this.$FBPaymentsHistoryPaymentsStoreBase1.setFlowStep(g.FETCH_PAYMENT_HISTORY).setEventName(h.FAIL).addToExtraData("error",JSON.stringify(d)).log();c=new Error(d&&d.message);return this.__handleOne(a,j,c);case b("FBPaymentsHistoryActionTypes").RELOAD_PAYMENTS:d=this.__setEmptyAndLoading(a,[j]);this.__load(j);return d}return a};d.__load=function(a){a=20*b("FBPaymentsHistoryCurrentPageNumberStore").getState();this.__getAPI().getPayments({first:i,after:a},b("FBPaymentsHistoryActions").paymentsLoaded,b("FBPaymentsHistoryActions").paymentsError)};d.__getLogger=function(){return this.$FBPaymentsHistoryPaymentsStoreBase1};d.__getAPI=function(){return b("abstractMethod")("FBPaymentsHistoryPaymentsStoreBase","__getAPI")};d.__initializeLogger=function(){return b("abstractMethod")("FBPaymentsHistoryPaymentsStoreBase","__initializeLogger")};return c}(b("FluxLoadObjectStore"));a.__moduleID=e.id;e.exports=a}),null);
__d("FBPaymentsHistoryPaymentsStore",["AllPaymentTypeFields","FBPaymentSettingsHistoryAPI","FBPaymentsHistoryPaymentsStoreBase","FBPaymentsLogger","FBPaymentsLoggerBase","FBPaymentsLoggerConstants","guid"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("FBPaymentsLoggerConstants").LoggerFlowType;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.__getAPI=function(){return b("FBPaymentSettingsHistoryAPI")};d.__initializeLogger=function(){var a=new(b("FBPaymentsLogger"))();a.setGlobalFields({session_id:b("guid")(),product:b("AllPaymentTypeFields").PAYMENT_SETTINGS,flow_name:g.PAYMENT_SETTINGS});return a};return c}(b("FBPaymentsHistoryPaymentsStoreBase"));e.exports=new a()}),null);
__d("FBPaymentsHistoryTotalPaymentsCountStoreBase",["CurrentUser","FBPaymentsDispatcher","FBPaymentsHistoryActions","FBPaymentsHistoryActionTypes","FBPaymentsLoggerBase","FBPaymentsLoggerConstants","FluxLoadObjectStore","immutable","abstractMethod"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("FBPaymentsLoggerConstants").LoggerFlowStep,h=b("FBPaymentsLoggerConstants").LoggerEvent,i=b("CurrentUser").getID(),j=2e9;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c;c=a.call(this,b("FBPaymentsDispatcher"))||this;c.$FBPaymentsHistoryTotalPaymentsCountStoreBase1=c.__initializeLogger();return c}var d=c.prototype;d.reduce=function(a,c){__p&&__p();var d=c.data;switch(c.type){case b("FBPaymentsHistoryActionTypes").TOTAL_PAYMENTS_COUNT_LOADED:this.$FBPaymentsHistoryTotalPaymentsCountStoreBase1.setFlowStep(g.FETCH_PAYMENT_HISTORY_TOTAL_COUNT).setEventName(h.SUCCESS).log();return this.__handleOne(a,i,d);case b("FBPaymentsHistoryActionTypes").TOTAL_PAYMENTS_COUNT_ERROR:this.$FBPaymentsHistoryTotalPaymentsCountStoreBase1.setFlowStep(g.FETCH_PAYMENT_HISTORY_TOTAL_COUNT).setEventName(h.FAIL).addToExtraData("error",JSON.stringify(d)).log();c=new Error(d&&d.message);return this.__handleOne(a,i,c);case b("FBPaymentsHistoryActionTypes").RELOAD_TOTAL_PAYMENTS_COUNT:d=this.__setEmptyAndLoading(a,[i]);this.__load(i);return d}return a};d.__load=function(a){this.__getAPI().getTotalPaymentsCount({first:j},b("FBPaymentsHistoryActions").totalPaymentsCountLoaded,b("FBPaymentsHistoryActions").totalPaymentsCountError)};d.__getLogger=function(){return this.$FBPaymentsHistoryTotalPaymentsCountStoreBase1};d.__getAPI=function(){return b("abstractMethod")("FBPaymentsHistoryTotalPaymentsCountStoreBase","__getAPI")};d.__initializeLogger=function(){return b("abstractMethod")("FBPaymentsHistoryPaymentsStoreBase","__initializeLogger")};return c}(b("FluxLoadObjectStore"));a.__moduleID=e.id;e.exports=a}),null);
__d("FBPaymentsHistoryTotalPaymentsCountStore",["AllPaymentTypeFields","FBPaymentSettingsHistoryAPI","FBPaymentsHistoryTotalPaymentsCountStoreBase","FBPaymentsLogger","FBPaymentsLoggerBase","FBPaymentsLoggerConstants","guid"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("FBPaymentsLoggerConstants").LoggerFlowType;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.__getAPI=function(){return b("FBPaymentSettingsHistoryAPI")};d.__initializeLogger=function(){var a=new(b("FBPaymentsLogger"))();a.setGlobalFields({session_id:b("guid")(),product:b("AllPaymentTypeFields").PAYMENT_SETTINGS,flow_name:g.PAYMENT_SETTINGS});return a};return c}(b("FBPaymentsHistoryTotalPaymentsCountStoreBase"));e.exports=new a()}),null);
__d("FBPaymentsSubscriptionsStoreBase",["CurrentUser","FBPaymentsDispatcher","FBPaymentsSubscriptionsActions","FluxLoadObjectStore","immutable","abstractMethod"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("FBPaymentsSubscriptionsActions").types,h=b("CurrentUser").getID();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.call(this,b("FBPaymentsDispatcher"))||this}var d=c.prototype;d.reduce=function(a,b){var c=b.data;switch(b.type){case g.SUBSCRIPTIONS_LOADED:return this.__handleOne(a,h,c);case g.SUBSCRIPTIONS_ERROR:b=new Error(c&&c.message);return this.__handleOne(a,h,b);case g.RELOAD_SUBSCRIPTIONS:c=this.__setEmptyAndLoading(a,[h]);this.__load(h);return c}return a};d.__load=function(a){this.__getAPI().fetchSubscriptionAgreements()};d.__getAPI=function(){return b("abstractMethod")("FBPaymentsSubscriptionsStoreBase","__getAPI")};return c}(b("FluxLoadObjectStore"));a.__moduleID=e.id;e.exports=a}),null);
__d("FBPaymentsSubscriptionsStore",["FBPaymentSettingsHistoryAPI","FBPaymentsSubscriptionsStoreBase"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.__getAPI=function(){return b("FBPaymentSettingsHistoryAPI")};return c}(b("FBPaymentsSubscriptionsStoreBase"));e.exports=new a()}),null);
__d("FBStarActivityCurrentBalanceContainerQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Request",fragment:{kind:"Fragment",name:"FBStarActivityCurrentBalanceContainerQuery",type:"Query",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:"viewer",name:"__viewer_viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"FragmentSpread",name:"FBStarActivityCurrentBalanceContainerView_viewer",args:null}]}]},operation:{kind:"Operation",name:"FBStarActivityCurrentBalanceContainerQuery",argumentDefinitions:[],selections:[{kind:"LinkedField",alias:"viewer",name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"digital_content_wallet",storageKey:'digital_content_wallet(wallet_type:"FB_STARS")',args:[{kind:"Literal",name:"wallet_type",value:"FB_STARS"}],concreteType:null,plural:!1,selections:[{kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"digital_content_wallet_balance",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null}]}]},{kind:"LinkedHandle",alias:"viewer",name:"viewer",args:null,handle:"viewer",key:"",filters:null}]},params:{operationKind:"query",name:"FBStarActivityCurrentBalanceContainerQuery",id:"1915854138495161",text:null,metadata:{}}};e.exports=a}),null);
__d("FBStarActivityCurrentBalanceContainerView_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"FBStarActivityCurrentBalanceContainerView_viewer",type:"Viewer",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"digital_content_wallet",storageKey:'digital_content_wallet(wallet_type:"FB_STARS")',args:[{kind:"Literal",name:"wallet_type",value:"FB_STARS"}],concreteType:null,plural:!1,selections:[{kind:"ScalarField",alias:null,name:"digital_content_wallet_balance",args:null,storageKey:null}]}]};e.exports=a}),null);
__d("FBStarActivityCurrentBalanceContainerView.react",["fbt","FDSCard.react","FDSCardHeader.react","FDSSection.react","React","RelayModern","FBStarActivityCurrentBalanceContainerView_viewer.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a;a=(a=this.props.viewer)==null?void 0:(a=a.digital_content_wallet)==null?void 0:a.digital_content_wallet_balance;a===void 0&&(a=0);return b("React").createElement(b("FDSCard.react"),{header:b("React").createElement(b("FDSCardHeader.react"),{title:g._("S\u1ed1 d\u01b0 c\u1ee7a b\u1ea1n")})},b("React").createElement(b("FDSSection.react"),null,g._("{Star quantity from server} sao",[g._param("Star quantity from server",a)])))};return c}(b("React").PureComponent);e.exports=a(c,{viewer:function(){return b("FBStarActivityCurrentBalanceContainerView_viewer.graphql")}})}),null);
__d("FBStarActivityCurrentBalanceContainer.react",["FBStarActivityCurrentBalanceContainerView.react","React","RelayFBEnvironment","RelayModern","FBStarActivityCurrentBalanceContainerQuery.graphql"],(function(a,b,c,d,e,f){__p&&__p();var g=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var h=function(){return b("FBStarActivityCurrentBalanceContainerQuery.graphql")};a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return b("React").createElement(g,{environment:b("RelayFBEnvironment"),query:h,variables:{},render:function(a){var c=a.error;a=a.props;return c?null:b("React").createElement(b("FBStarActivityCurrentBalanceContainerView.react"),a)}})};return c}(b("React").PureComponent);e.exports=a}),null);
__d("FBStarActivityTableContainerQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"Literal",name:"wallet_type",value:"FB_STARS"}],b={kind:"ScalarField",alias:null,name:"payee_id",args:null,storageKey:null},c={kind:"ScalarField",alias:null,name:"payee_name",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"payee_profile_pic_uri",args:null,storageKey:null},e={kind:"ScalarField",alias:null,name:"matching_units",args:null,storageKey:null},f={kind:"ScalarField",alias:null,name:"time_created",args:null,storageKey:null};return{kind:"Request",fragment:{kind:"Fragment",name:"FBStarActivityTableContainerQuery",type:"Query",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:"viewer",name:"__viewer_viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"FragmentSpread",name:"FBStarActivityTableContainerView_viewer",args:null}]}]},operation:{kind:"Operation",name:"FBStarActivityTableContainerQuery",argumentDefinitions:[],selections:[{kind:"LinkedField",alias:"viewer",name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"digital_content_wallet_spend_history",storageKey:'digital_content_wallet_spend_history(wallet_type:"FB_STARS")',args:a,concreteType:"DigitalContentWalletSpendHistoryData",plural:!0,selections:[b,c,d,{kind:"ScalarField",alias:null,name:"spending_units",args:null,storageKey:null},e,f]},{kind:"LinkedField",alias:null,name:"digital_content_wallet_history",storageKey:'digital_content_wallet_history(wallet_type:"FB_STARS")',args:a,concreteType:"DigitalContentWalletHistoryData",plural:!0,selections:[b,c,d,{kind:"ScalarField",alias:null,name:"units",args:null,storageKey:null},e,{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},f]}]},{kind:"LinkedHandle",alias:"viewer",name:"viewer",args:null,handle:"viewer",key:"",filters:null}]},params:{operationKind:"query",name:"FBStarActivityTableContainerQuery",id:"2638831372800363",text:null,metadata:{}}}}();e.exports=a}),null);
__d("FBStarActivityTableContainerView_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"Literal",name:"wallet_type",value:"FB_STARS"}],b={kind:"ScalarField",alias:null,name:"payee_id",args:null,storageKey:null},c={kind:"ScalarField",alias:null,name:"payee_name",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"payee_profile_pic_uri",args:null,storageKey:null},e={kind:"ScalarField",alias:null,name:"matching_units",args:null,storageKey:null},f={kind:"ScalarField",alias:null,name:"time_created",args:null,storageKey:null};return{kind:"Fragment",name:"FBStarActivityTableContainerView_viewer",type:"Viewer",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"digital_content_wallet_spend_history",storageKey:'digital_content_wallet_spend_history(wallet_type:"FB_STARS")',args:a,concreteType:"DigitalContentWalletSpendHistoryData",plural:!0,selections:[b,c,d,{kind:"ScalarField",alias:null,name:"spending_units",args:null,storageKey:null},e,f]},{kind:"LinkedField",alias:null,name:"digital_content_wallet_history",storageKey:'digital_content_wallet_history(wallet_type:"FB_STARS")',args:a,concreteType:"DigitalContentWalletHistoryData",plural:!0,selections:[b,c,d,{kind:"ScalarField",alias:null,name:"units",args:null,storageKey:null},e,{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},f]}]}}();e.exports=a}),null);
__d("FBStarActivityTableContainerView.react",["cx","fbt","AccessibleTableParts.react","FDSText.react","FlexLayout.react","Image.react","ImageBlock.react","Link.react","React","RelayModern","XUITable.react","formatDate","gkx","suiMargin","FBStarActivityTableContainerView_viewer.graphql"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;var i=b("AccessibleTableParts.react").BodyRow,j=b("AccessibleTableParts.react").HeadRow,k="SPEND",l="SEED_FUND";c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.renderHeaderRow=function(){return b("React").createElement(j,null,b("React").createElement("th",{key:1},h._("Ng\u00e0y")),b("React").createElement("th",{key:2},h._("Trang")),b("React").createElement("th",{key:3},h._("S\u1ed1 sao")))};d.renderBodyRow=function(a,c){var d=a.payee_id?"/"+a.payee_id:"#",e=a.matching_units!=null&&a.matching_units>0?this.renderMatchingSpend(a):this.renderSingleSpend(a);return b("React").createElement(i,{key:c},b("React").createElement("td",{className:"_2ph_"},b("formatDate")(a.time_created,"M j, Y")),b("React").createElement("td",{className:"_2ph_"},b("React").createElement(b("ImageBlock.react"),{spacing:"large"},b("React").createElement(b("Link.react"),{href:d},b("React").createElement(b("Image.react"),{height:"50",width:"50",src:a.payee_profile_pic_uri})),b("React").createElement("div",null,b("React").createElement("div",{className:"_6ut9 _2pid"},h._("\u0110\u00e3 g\u1eedi cho")),b("React").createElement("div",{className:"_6uw2"},b("React").createElement(b("Link.react"),{href:d},a.payee_name))))),b("React").createElement("td",{className:"_2ph_"},e))};d.renderSingleSpend=function(a){return b("React").createElement("div",null,h._("{Star quantity from server} sao",[h._param("Star quantity from server",a.spending_units)]))};d.renderMatchingSpend=function(a){return b("React").createElement(b("FlexLayout.react"),{direction:"vertical",align:"start"},h._("{Total Star quantity to the streamer.} sao",[h._param("Total Star quantity to the streamer.",a.spending_units+a.matching_units)]),b("React").createElement(b("FDSText.react"),{size:"body3",color:"secondary",weight:"bold",margin:"_3-8w"},h._("Facebook t\u1eb7ng th\u00eam {Star quantity from which was matched by facebook.} sao",[h._param("Star quantity from which was matched by facebook.",a.matching_units)])))};d.renderHistoryBodyRow=function(a,c){var d=a.payee_id?"/"+a.payee_id:"#",e=this.renderHistoryTextLabel(a),f=this.renderHistorySingleStarText(a,l),g=a.matching_units!=null&&a.matching_units>0?this.renderHistoryMatchingSpend(a):this.renderHistorySingleStarText(a,k);return b("React").createElement(i,{key:c},b("React").createElement("td",{className:"_2ph_"},b("formatDate")(a.time_created,"M j, Y")),b("React").createElement("td",{className:"_2ph_"},b("React").createElement(b("ImageBlock.react"),{spacing:"large"},b("React").createElement(b("Link.react"),{href:d},b("React").createElement(b("Image.react"),{height:"50",width:"50",src:a.payee_profile_pic_uri})),b("React").createElement("div",null,b("React").createElement("div",{className:"_6ut9 _2pid"},e),b("React").createElement("div",{className:"_6uw2"},b("React").createElement(b("Link.react"),{href:d},a.payee_name))))),b("React").createElement("td",{className:"_2ph_"},f),b("React").createElement("td",{className:"_2ph_"},g))};d.renderHistoryHeaderRow=function(){return b("React").createElement(j,null,b("React").createElement("th",{key:1},h._("Ng\u00e0y")),b("React").createElement("th",{key:2},h._("T\u00ean")),b("React").createElement("th",{key:3},h._("\u0110\u00e3 nh\u1eadn")),b("React").createElement("th",{key:4},h._("\u0110\u00e3 g\u1eedi")))};d.renderHistoryTextLabel=function(a){return a.type===k?h._("\u0110\u00e3 g\u1eedi cho"):h._("\u0110\u00e3 nh\u1eadn t\u1eeb")};d.renderHistorySingleStarText=function(a,c){return c!==a.type?b("React").createElement("div",null):b("React").createElement("div",null,h._("{Star quantity from server} sao",[h._param("Star quantity from server",a.units)]))};d.renderHistoryMatchingSpend=function(a){return b("React").createElement(b("FlexLayout.react"),{direction:"vertical",align:"start"},h._("{Total Star quantity to the streamer.} sao",[h._param("Total Star quantity to the streamer.",a.units+a.matching_units)]),b("React").createElement(b("FDSText.react"),{size:"body3",color:"secondary",weight:"bold",margin:"_3-8w"},h._("Facebook t\u1eb7ng th\u00eam {Star quantity from which was matched by facebook.} sao",[h._param("Star quantity from which was matched by facebook.",a.matching_units)])))};d.render=function(){var a=this;if(this.props.viewer===null)return null;if(this.props.viewer.digital_content_wallet_history.length===0)return null;return this.props.viewer.digital_content_wallet_spend_history.length===0?null:b("gkx")("811407")?b("React").createElement(b("XUITable.react"),{outerBorder:!0},b("React").createElement("thead",null,this.renderHistoryHeaderRow()),b("React").createElement("tbody",null,this.props.viewer.digital_content_wallet_history.map(function(b,c){return a.renderHistoryBodyRow(b,c)}))):b("React").createElement(b("XUITable.react"),{outerBorder:!0},b("React").createElement("thead",null,this.renderHeaderRow()),b("React").createElement("tbody",null,this.props.viewer.digital_content_wallet_spend_history.map(function(b,c){return a.renderBodyRow(b,c)})))};return c}(b("React").PureComponent);e.exports=a(c,{viewer:function(){return b("FBStarActivityTableContainerView_viewer.graphql")}})}),null);
__d("FBStarActivityTableContainer.react",["FBStarActivityTableContainerView.react","React","RelayFBEnvironment","RelayModern","FBStarActivityTableContainerQuery.graphql"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var h=function(){return b("FBStarActivityTableContainerQuery.graphql")};a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return b("React").createElement(g,{environment:b("RelayFBEnvironment"),query:h,variables:{},render:function(a){var c=a.error;a=a.props;return c?null:b("React").createElement(b("FBStarActivityTableContainerView.react"),a)}})};return c}(b("React").PureComponent);e.exports=a}),null);
__d("PWMBPennyDropConfirmMessage.react",["cx","fbt","CenteredContainer.react","React","XUIText.react"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return b("React").createElement("div",{className:"_3mpp"},b("React").createElement("div",{className:"_3mpl"},b("React").createElement(b("CenteredContainer.react"),{horizontal:!0,vertical:!0,className:"_3mpm"},b("React").createElement("div",{className:"_3mpn"},b("React").createElement("div",null,b("React").createElement(b("XUIText.react"),{size:"xlarge_DEPRECATED"},h._("C\u1ea3m \u01a1n"))),b("React").createElement("div",null,b("React").createElement(b("XUIText.react"),{size:"header4",className:"_3mpo"},h._("T\u00e0i kho\u1ea3n ng\u00e2n h\u00e0ng {Bank account last 4 digits} c\u1ee7a b\u1ea1n \u0111\u00e3 \u0111\u01b0\u1ee3c x\u00e1c minh v\u00e0 b\u1ea1n hi\u1ec7n c\u00f3 th\u1ec3 ch\u1ea5p nh\u1eadn kho\u1ea3n thanh to\u00e1n.",[h._param("Bank account last 4 digits","(*"+this.props.lastFour+")")])))))))};return c}(b("React").Component);c.propTypes={lastFour:a.string};e.exports=c}),null);
__d("PWMBPopupDialog.react",["cx","fbt","PWMBDialog.react","PWMBPennyDropConfirmMessage.react","React","XUIDialog.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIDialogTitle.react","XUIText.react"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(b){b=a.call(this,b)||this;b.state={showConfirmationDialog:!1};return b}var d=c.prototype;d.onPWMBComplete=function(a){this.setState({showConfirmationDialog:!0})};d.renderHeader=function(){return b("React").createElement("div",{className:"_3mpj"},b("React").createElement("div",null,b("React").createElement(b("XUIText.react"),{size:"meta1",weight:"bold"},h._("X\u00c1C MINH KHO\u1ea2N TI\u1ec0N G\u1eecI"))),b("React").createElement("div",{className:"_3mpk"},b("React").createElement(b("XUIText.react"),{size:"meta1"},h._("Th\u00f4ng tin thanh to\u00e1n c\u1ee7a b\u1ea1n \u0111\u01b0\u1ee3c l\u01b0u tr\u1eef an to\u00e0n."))))};d.render=function(){var a=null,c=null;this.state.showConfirmationDialog?(a=b("React").createElement(b("PWMBPennyDropConfirmMessage.react"),{lastFour:this.props.lastFour}),c=b("React").createElement(b("XUIDialogFooter.react"),{className:"_3emr"},b("React").createElement(b("XUIDialogButton.react"),{label:h._("Xong"),onClick:this.props.onComplete,use:"confirm"}))):a=b("React").createElement(b("PWMBDialog.react"),{containerID:"PayWithMyBankContainer",credentialID:this.props.credentialID,onCancel:this.props.onCancel,onComplete:this.onPWMBComplete.bind(this),onError:this.props.onError});return b("React").createElement(b("XUIDialog.react"),{className:"_3ems",hideOnEscape:!1,layerHideOnBlur:!1,shown:!0,width:730},b("React").createElement(b("XUIDialogTitle.react"),{showCloseButton:!1},h._("TH\u00caM T\u00c0I KHO\u1ea2N NG\u00c2N H\u00c0NG")),b("React").createElement(b("XUIDialogBody.react"),{className:"_49to _3emt _3emu"},this.renderHeader(),a),c)};return c}(b("React").Component);c.propTypes={credentialID:a.number,lastFour:a.string,onCancel:a.func.isRequired,onComplete:a.func.isRequired,onError:a.func.isRequired};e.exports=c}),null);
__d("PayeeProfileQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"id",type:"ID!",defaultValue:null}],b=[{kind:"Variable",name:"id",variableName:"id"}],c=[{kind:"LinkedField",alias:null,name:"profile_picture",storageKey:null,args:null,concreteType:"Image",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null}]}],d={kind:"InlineFragment",type:"Page",selections:c},e={kind:"InlineFragment",type:"User",selections:c},f={kind:"InlineFragment",type:"Application",selections:c},g={kind:"InlineFragment",type:"FundraiserCharity",selections:c};c={kind:"InlineFragment",type:"Group",selections:c};return{kind:"Request",fragment:{kind:"Fragment",name:"PayeeProfileQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:b,concreteType:null,plural:!1,selections:[d,e,f,g,c]}]},operation:{kind:"Operation",name:"PayeeProfileQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:b,concreteType:null,plural:!1,selections:[{kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},d,e,f,g,c]}]},params:{operationKind:"query",name:"PayeeProfileQuery",id:"2248100488582650",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsAccountBalanceSection_payAccount.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsAccountBalanceSection_payAccount",type:"PayAccount",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"balance",storageKey:null,args:null,concreteType:"CurrencyAmount",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"amount",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"currency",args:null,storageKey:null}]}]};e.exports=a}),null);
__d("PaymentSettingsAddCreditCardMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"AddCreditCardData!",defaultValue:null}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"credential_type",args:null,storageKey:null},e=[{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"link",args:null,storageKey:null}];e={kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"error_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"flow_step",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"image",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_description",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"primary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:e},{kind:"LinkedField",alias:null,name:"secondary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:e},{kind:"ScalarField",alias:null,name:"extra_data",args:null,storageKey:null}]};var f={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null};return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsAddCreditCardMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"add_credit_card",storageKey:null,args:b,concreteType:"AddCreditCardResponsePayload",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"credit_card",storageKey:null,args:null,concreteType:"ExternalCreditCard",plural:!1,selections:[c,d,{kind:"FragmentSpread",name:"PaymentSettingsCreditCardRow_creditCard",args:null}]},e]}]},operation:{kind:"Operation",name:"PaymentSettingsAddCreditCardMutation",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"add_credit_card",storageKey:null,args:b,concreteType:"AddCreditCardResponsePayload",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"credit_card",storageKey:null,args:null,concreteType:"ExternalCreditCard",plural:!1,selections:[c,d,{kind:"LinkedField",alias:null,name:"billing_address",storageKey:null,args:null,concreteType:"PaymentAddress",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"address_city",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"address_state",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"country_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street1",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street2",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"zip",args:null,storageKey:null},f]},{kind:"ScalarField",alias:null,name:"card_association",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"card_association_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"expiry_month",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"expiry_year",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"fields_to_verify",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_ad_account_primary",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_used_by_subscriptions",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_four_digits",args:null,storageKey:null},f]},e]}]},params:{operationKind:"mutation",name:"PaymentSettingsAddCreditCardMutation",id:"2617916021582762",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsAddPaymentAccountEmailMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"AddPaymentAccountEmailData!",defaultValue:null}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null},d=[{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"link",args:null,storageKey:null}];d={kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"error_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"flow_step",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"image",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_description",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"primary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"secondary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:d},{kind:"ScalarField",alias:null,name:"extra_data",args:null,storageKey:null}]};return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsAddPaymentAccountEmailMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"add_payment_account_email",storageKey:null,args:b,concreteType:"AddPaymentAccountEmailResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"payment_account_email",storageKey:null,args:null,concreteType:"PaymentAccountEmail",plural:!1,selections:[{kind:"FragmentSpread",name:"PaymentSettingsEmailRow_email",args:null}]},d]}]},operation:{kind:"Operation",name:"PaymentSettingsAddPaymentAccountEmailMutation",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"add_payment_account_email",storageKey:null,args:b,concreteType:"AddPaymentAccountEmailResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"payment_account_email",storageKey:null,args:null,concreteType:"PaymentAccountEmail",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"normalized_email_address",args:null,storageKey:null}]},d]}]},params:{operationKind:"mutation",name:"PaymentSettingsAddPaymentAccountEmailMutation",id:"2186991268049005",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsAddPaymentAccountPhoneMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"AddPaymentAccountPhoneData!",defaultValue:null}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null},d=[{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"link",args:null,storageKey:null}];d={kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"error_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"flow_step",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"image",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_description",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"primary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"secondary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:d},{kind:"ScalarField",alias:null,name:"extra_data",args:null,storageKey:null}]};return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsAddPaymentAccountPhoneMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"add_payment_account_phone",storageKey:null,args:b,concreteType:"AddPaymentAccountPhoneResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"payment_account_phone",storageKey:null,args:null,concreteType:"PaymentAccountPhone",plural:!1,selections:[{kind:"FragmentSpread",name:"PaymentSettingsPhoneRow_phone",args:null}]},d]}]},operation:{kind:"Operation",name:"PaymentSettingsAddPaymentAccountPhoneMutation",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"add_payment_account_phone",storageKey:null,args:b,concreteType:"AddPaymentAccountPhoneResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"payment_account_phone",storageKey:null,args:null,concreteType:"PaymentAccountPhone",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"formatted_intl_number_with_plus",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null}]},d]}]},params:{operationKind:"mutation",name:"PaymentSettingsAddPaymentAccountPhoneMutation",id:"2109177522538492",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsAddShippingAddressMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"AddMailingAddressData!",defaultValue:null}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},e=[d,{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"link",args:null,storageKey:null}];e={kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"error_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"flow_step",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"image",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_description",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"primary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:e},{kind:"LinkedField",alias:null,name:"secondary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:e},{kind:"ScalarField",alias:null,name:"extra_data",args:null,storageKey:null}]};return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsAddShippingAddressMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"add_mailing_address",storageKey:null,args:b,concreteType:"AddMailingAddressResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"mailing_address",storageKey:null,args:null,concreteType:"MailingAddress",plural:!1,selections:[{kind:"FragmentSpread",name:"PaymentSettingsShippingAddressRow_shippingAddress",args:null}]},e]}]},operation:{kind:"Operation",name:"PaymentSettingsAddShippingAddressMutation",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"add_mailing_address",storageKey:null,args:b,concreteType:"AddMailingAddressResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"mailing_address",storageKey:null,args:null,concreteType:"MailingAddress",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"address",storageKey:null,args:null,concreteType:"StreetAddress",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"addressee",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"building",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"city",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"postal_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"region",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"city_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},d,{kind:"ScalarField",alias:null,name:"region_name",args:null,storageKey:null}]},e]}]},params:{operationKind:"mutation",name:"PaymentSettingsAddShippingAddressMutation",id:"2662345430448480",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsAddressDialog_addressFormConfig.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"error_message",args:null,storageKey:null};return{kind:"Fragment",name:"PaymentSettingsAddressDialog_addressFormConfig",type:"PaymentsAddressFormFieldsConfig",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"country_to_fields",storageKey:null,args:null,concreteType:"PaymentsAddressFormFieldsForCountry",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"country_code",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"form_fields",storageKey:null,args:null,concreteType:"PaymentsFormField",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"description",args:null,storageKey:null},a,{kind:"ScalarField",alias:null,name:"field_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"field_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_optional",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"placeholder",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"validation_rules",storageKey:null,args:null,concreteType:"PaymentsFormValidationRule",plural:!0,selections:[a,{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"value",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"value_type",args:null,storageKey:null}]}]},{kind:"ScalarField",alias:null,name:"default_country",args:null,storageKey:null}]}}();e.exports=a}),null);
__d("PaymentSettingsBankAccountRowRefetchQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"nodeID",type:"ID!",defaultValue:null}],b=[{kind:"Variable",name:"id",variableName:"nodeID"}];return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsBankAccountRowRefetchQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"bankAccount",name:"node",storageKey:null,args:b,concreteType:null,plural:!1,selections:[{kind:"FragmentSpread",name:"PaymentSettingsBankAccountRow_bankAccount",args:null}]}]},operation:{kind:"Operation",name:"PaymentSettingsBankAccountRowRefetchQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"bankAccount",name:"node",storageKey:null,args:b,concreteType:null,plural:!1,selections:[{kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"InlineFragment",type:"DirectDebit",selections:[{kind:"ScalarField",alias:null,name:"bank_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"default_receiving_method_products",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_four_digits",args:null,storageKey:null}]}]}]},params:{operationKind:"query",name:"PaymentSettingsBankAccountRowRefetchQuery",id:"2624291940978688",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsBankAccountRow_bankAccount.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsBankAccountRow_bankAccount",type:"DirectDebit",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"bank_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"default_receiving_method_products",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_four_digits",args:null,storageKey:null}]};e.exports=a}),null);
__d("PaymentSettingsCancelPaypalBillingAgreementMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"CancelPaypalBaData!",defaultValue:null}],b=[{kind:"LinkedField",alias:null,name:"cancel_paypal_ba",storageKey:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"CancelPaypalBaResponsePayload",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"billing_agreement",storageKey:null,args:null,concreteType:"PaymentPaypalBillingAgreement",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null}]}];return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsCancelPaypalBillingAgreementMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:b},operation:{kind:"Operation",name:"PaymentSettingsCancelPaypalBillingAgreementMutation",argumentDefinitions:a,selections:b},params:{operationKind:"mutation",name:"PaymentSettingsCancelPaypalBillingAgreementMutation",id:"2355485697820848",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsContactInfoSection_payAccount.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null};return{kind:"Fragment",name:"PaymentSettingsContactInfoSection_payAccount",type:"PayAccount",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"emails",storageKey:null,args:null,concreteType:"PaymentAccountEmail",plural:!0,selections:[a,{kind:"FragmentSpread",name:"PaymentSettingsEmailRow_email",args:null}]},{kind:"LinkedField",alias:null,name:"phones",storageKey:null,args:null,concreteType:"PaymentAccountPhone",plural:!0,selections:[a,{kind:"FragmentSpread",name:"PaymentSettingsPhoneRow_phone",args:null}]}]}}();e.exports=a}),null);
__d("PaymentSettingsContainerQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"address_config_query_params",type:"PaymentsAddressFormFieldsConfigQueryParams!",defaultValue:null},{kind:"LocalArgument",name:"payment_type",type:"AllPaymentTypeFields!",defaultValue:null}],b=[{kind:"Variable",name:"payment_type",variableName:"payment_type"}],c=[{kind:"Variable",name:"query_params",variableName:"address_config_query_params"}],d={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},e={kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null},f={kind:"ScalarField",alias:null,name:"credential_type",args:null,storageKey:null},g={kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},h={kind:"ScalarField",alias:null,name:"last_four_digits",args:null,storageKey:null},i={kind:"ScalarField",alias:null,name:"country_code",args:null,storageKey:null},j={kind:"ScalarField",alias:null,name:"card_association",args:null,storageKey:null},k={kind:"ScalarField",alias:null,name:"is_ad_account_primary",args:null,storageKey:null},l={kind:"ScalarField",alias:null,name:"country",args:null,storageKey:null},m=[{kind:"ScalarField",alias:null,name:"addressee",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"building",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"city",args:null,storageKey:null},l,{kind:"ScalarField",alias:null,name:"postal_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"region",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street",args:null,storageKey:null}],n={kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},o={kind:"ScalarField",alias:null,name:"error_message",args:null,storageKey:null};return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsContainerQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"viewer",name:"__viewer_viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"pay_account",storageKey:null,args:null,concreteType:"PayAccount",plural:!1,selections:[{kind:"FragmentSpread",name:"PaymentSettingsAccountBalanceSection_payAccount",args:null},{kind:"FragmentSpread",name:"PaymentSettingsContactInfoSection_payAccount",args:null},{kind:"FragmentSpread",name:"PaymentSettingsPhysicalAddressSection_payAccount",args:null}]},{kind:"LinkedField",alias:null,name:"peer_to_peer_payments",storageKey:null,args:null,concreteType:"PeerToPeerPaymentAccount",plural:!1,selections:[{kind:"FragmentSpread",name:"PaymentSettingsSecurityInfoSection_p2pPayments",args:null},{kind:"FragmentSpread",name:"PaymentSettingsPreferencesSection_p2pPayments",args:null},{kind:"FragmentSpread",name:"PaymentSettingsPaymentMethodsSection_p2pPayments",args:null}]},{kind:"FragmentSpread",name:"PaymentSettingsPaymentMethodsSection_viewer",args:b},{kind:"FragmentSpread",name:"PaymentSettingsShippingAddressesSection_viewer",args:null},{kind:"FragmentSpread",name:"PaymentSettingsPreferencesSection_viewer",args:null},{kind:"FragmentSpread",name:"PaymentSettingsSecurityInfoSection_viewer",args:null}]},{kind:"LinkedField",alias:null,name:"payments_address_form_fields_config",storageKey:null,args:c,concreteType:"PaymentsAddressFormFieldsConfig",plural:!1,selections:[{kind:"FragmentSpread",name:"PaymentSettingsPaymentMethodsSection_addressFormConfig",args:null},{kind:"FragmentSpread",name:"PaymentSettingsPhysicalAddressSection_addressFormConfig",args:null},{kind:"FragmentSpread",name:"PaymentSettingsShippingAddressesSection_addressFormConfig",args:null}]}]},operation:{kind:"Operation",name:"PaymentSettingsContainerQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"ad_accounts",storageKey:null,args:null,concreteType:"AdAccountsConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"nodes",storageKey:null,args:null,concreteType:"AdAccount",plural:!0,selections:[d]}]},{kind:"LinkedField",alias:null,name:"consumer_payment_account",storageKey:null,args:null,concreteType:null,plural:!1,selections:[e,{kind:"LinkedField",alias:null,name:"payment_credentials",storageKey:null,args:b,concreteType:null,plural:!0,selections:[e,d,f,{kind:"InlineFragment",type:"DirectDebit",selections:[g,{kind:"ScalarField",alias:null,name:"bank_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"default_receiving_method_products",args:null,storageKey:null},h]},{kind:"InlineFragment",type:"ExternalCreditCard",selections:[g,{kind:"LinkedField",alias:null,name:"billing_address",storageKey:null,args:null,concreteType:"PaymentAddress",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"address_city",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"address_state",args:null,storageKey:null},i,{kind:"ScalarField",alias:null,name:"street1",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street2",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"zip",args:null,storageKey:null},d]},j,{kind:"ScalarField",alias:null,name:"card_association_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"expiry_month",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"expiry_year",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"fields_to_verify",args:null,storageKey:null},k,{kind:"ScalarField",alias:null,name:"is_used_by_subscriptions",args:null,storageKey:null},h]},{kind:"InlineFragment",type:"PaymentPaypalBillingAgreement",selections:[g,{kind:"ScalarField",alias:null,name:"email",args:null,storageKey:null},k]}]},{kind:"LinkedField",alias:null,name:"new_payment_credential_options",storageKey:null,args:b,concreteType:null,plural:!0,selections:[e,{kind:"LinkedField",alias:null,name:"additional_fields",storageKey:null,args:null,concreteType:"PaymentMethodAdditionalField",plural:!0,selections:[l,{kind:"ScalarField",alias:null,name:"fields",args:null,storageKey:null}]},f,{kind:"InlineFragment",type:"NewPaypalBillingAgreement",selections:[{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]}]},d]},{kind:"LinkedField",alias:null,name:"account_user",storageKey:null,args:null,concreteType:"User",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"mailing_addresses",storageKey:null,args:null,concreteType:"MailingAddressesConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"nodes",storageKey:null,args:null,concreteType:"MailingAddress",plural:!0,selections:[d,{kind:"LinkedField",alias:null,name:"address",storageKey:null,args:null,concreteType:"StreetAddress",plural:!1,selections:m},{kind:"ScalarField",alias:null,name:"city_name",args:null,storageKey:null},n,{kind:"ScalarField",alias:null,name:"region_name",args:null,storageKey:null}]}]},d]},{kind:"LinkedField",alias:null,name:"payment_user_settings",storageKey:null,args:null,concreteType:"PaymentsUserSettings",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"currency_preferences",storageKey:null,args:null,concreteType:"CurrencyPreference",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"can_change_currency",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_change_time",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"next_change_time",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"user_currency",args:null,storageKey:null}]}]},{kind:"LinkedField",alias:null,name:"pay_account",storageKey:null,args:null,concreteType:"PayAccount",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"balance",storageKey:null,args:null,concreteType:"CurrencyAmount",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"amount",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"currency",args:null,storageKey:null}]},{kind:"LinkedField",alias:null,name:"emails",storageKey:null,args:null,concreteType:"PaymentAccountEmail",plural:!0,selections:[d,{kind:"ScalarField",alias:null,name:"normalized_email_address",args:null,storageKey:null}]},{kind:"LinkedField",alias:null,name:"phones",storageKey:null,args:null,concreteType:"PaymentAccountPhone",plural:!0,selections:[d,{kind:"ScalarField",alias:null,name:"formatted_intl_number_with_plus",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"is_address_compliant",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"physical_address",storageKey:null,args:null,concreteType:"StreetAddress",plural:!1,selections:m}]},{kind:"LinkedField",alias:null,name:"peer_to_peer_payments",storageKey:null,args:null,concreteType:"PeerToPeerPaymentAccount",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"peer_to_peer_payment_can_see_settings",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"peer_to_peer_password_protection",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"legal_name",storageKey:null,args:null,concreteType:"P2PIdologyLegalName",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"can_edit",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"first_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_name",args:null,storageKey:null}]},{kind:"LinkedField",alias:null,name:"peer_to_peer_payment_methods",storageKey:null,args:null,concreteType:"PeerToPeerPaymentMethod",plural:!0,selections:[g,{kind:"LinkedField",alias:null,name:"credit_card",storageKey:null,args:null,concreteType:"CreditCard",plural:!1,selections:[j,{kind:"ScalarField",alias:null,name:"number",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"is_default_receiving",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"method_category",args:null,storageKey:null},d]}]},{kind:"LinkedField",alias:null,name:"peer_to_peer_payment_pin",storageKey:null,args:null,concreteType:"PeerToPeerPaymentPIN",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"payments_protected",args:null,storageKey:null},d]}]},{kind:"LinkedHandle",alias:null,name:"viewer",args:null,handle:"viewer",key:"",filters:null},{kind:"LinkedField",alias:null,name:"payments_address_form_fields_config",storageKey:null,args:c,concreteType:"PaymentsAddressFormFieldsConfig",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"country_to_fields",storageKey:null,args:null,concreteType:"PaymentsAddressFormFieldsForCountry",plural:!0,selections:[i,{kind:"LinkedField",alias:null,name:"form_fields",storageKey:null,args:null,concreteType:"PaymentsFormField",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"description",args:null,storageKey:null},o,{kind:"ScalarField",alias:null,name:"field_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"field_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_optional",args:null,storageKey:null},n,{kind:"ScalarField",alias:null,name:"placeholder",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"validation_rules",storageKey:null,args:null,concreteType:"PaymentsFormValidationRule",plural:!0,selections:[o,{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"value",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"value_type",args:null,storageKey:null}]}]},{kind:"ScalarField",alias:null,name:"default_country",args:null,storageKey:null}]}]},params:{operationKind:"query",name:"PaymentSettingsContainerQuery",id:"1870539653057645",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsCreditCardRow_addressFormConfig.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"error_message",args:null,storageKey:null};return{kind:"Fragment",name:"PaymentSettingsCreditCardRow_addressFormConfig",type:"PaymentsAddressFormFieldsConfig",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"country_to_fields",storageKey:null,args:null,concreteType:"PaymentsAddressFormFieldsForCountry",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"country_code",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"form_fields",storageKey:null,args:null,concreteType:"PaymentsFormField",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"description",args:null,storageKey:null},a,{kind:"ScalarField",alias:null,name:"field_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"field_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_optional",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"placeholder",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"validation_rules",storageKey:null,args:null,concreteType:"PaymentsFormValidationRule",plural:!0,selections:[a,{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"value",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"value_type",args:null,storageKey:null}]}]},{kind:"ScalarField",alias:null,name:"default_country",args:null,storageKey:null}]}}();e.exports=a}),null);
__d("PaymentSettingsCreditCardRow_creditCard.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsCreditCardRow_creditCard",type:"ExternalCreditCard",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"billing_address",storageKey:null,args:null,concreteType:"PaymentAddress",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"address_city",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"address_state",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"country_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street1",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street2",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"zip",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"card_association",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"card_association_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"expiry_month",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"expiry_year",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"fields_to_verify",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_ad_account_primary",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_used_by_subscriptions",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_four_digits",args:null,storageKey:null}]};e.exports=a}),null);
__d("PaymentSettingsDeleteOnboardedPaymentProviderMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"DeleteOnboardedPaymentProviderData!",defaultValue:null}],b=[{kind:"LinkedField",alias:null,name:"delete_onboarded_payment_provider",storageKey:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"DeleteOnboardedPaymentProviderResponsePayload",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null}]}];return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsDeleteOnboardedPaymentProviderMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:b},operation:{kind:"Operation",name:"PaymentSettingsDeleteOnboardedPaymentProviderMutation",argumentDefinitions:a,selections:b},params:{operationKind:"mutation",name:"PaymentSettingsDeleteOnboardedPaymentProviderMutation",id:"2301048233322357",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsDeletePaymentAccountEmailMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"DeletePaymentAccountEmailData!",defaultValue:null}],b=[{kind:"LinkedField",alias:null,name:"delete_payment_account_email",storageKey:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"DeletePaymentAccountEmailResponsePayload",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null}]}];return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsDeletePaymentAccountEmailMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:b},operation:{kind:"Operation",name:"PaymentSettingsDeletePaymentAccountEmailMutation",argumentDefinitions:a,selections:b},params:{operationKind:"mutation",name:"PaymentSettingsDeletePaymentAccountEmailMutation",id:"2371195329580182",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsDeletePaymentAccountPhoneMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"DeletePaymentAccountPhoneData!",defaultValue:null}],b=[{kind:"LinkedField",alias:null,name:"delete_payment_account_phone",storageKey:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"DeletePaymentAccountPhoneResponsePayload",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null}]}];return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsDeletePaymentAccountPhoneMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:b},operation:{kind:"Operation",name:"PaymentSettingsDeletePaymentAccountPhoneMutation",argumentDefinitions:a,selections:b},params:{operationKind:"mutation",name:"PaymentSettingsDeletePaymentAccountPhoneMutation",id:"2851884854852067",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsDeleteShippingAddressMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"DeleteMailingAddressData!",defaultValue:null}],b=[{kind:"LinkedField",alias:null,name:"delete_mailing_address",storageKey:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"DeleteMailingAddressResponsePayload",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null}]}];return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsDeleteShippingAddressMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:b},operation:{kind:"Operation",name:"PaymentSettingsDeleteShippingAddressMutation",argumentDefinitions:a,selections:b},params:{operationKind:"mutation",name:"PaymentSettingsDeleteShippingAddressMutation",id:"2497273907014677",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsDisableCreditCardMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"DisableCreditCardData!",defaultValue:null}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null};return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsDisableCreditCardMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"disable_credit_card",storageKey:null,args:b,concreteType:"DisableCreditCardResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"credit_card",storageKey:null,args:null,concreteType:"ExternalCreditCard",plural:!1,selections:[d]}]}]},operation:{kind:"Operation",name:"PaymentSettingsDisableCreditCardMutation",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"disable_credit_card",storageKey:null,args:b,concreteType:"DisableCreditCardResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"credit_card",storageKey:null,args:null,concreteType:"ExternalCreditCard",plural:!1,selections:[d,{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null}]}]}]},params:{operationKind:"mutation",name:"PaymentSettingsDisableCreditCardMutation",id:"2387582397941673",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsEmailRow_email.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsEmailRow_email",type:"PaymentAccountEmail",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"normalized_email_address",args:null,storageKey:null}]};e.exports=a}),null);
__d("PaymentSettingsP2PPasswordProtection_p2pPayments.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsP2PPasswordProtection_p2pPayments",type:"PeerToPeerPaymentAccount",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"peer_to_peer_payment_can_see_settings",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"peer_to_peer_password_protection",args:null,storageKey:null}]};e.exports=a}),null);
__d("PaymentSettingsPINSetting_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsPINSetting_viewer",type:"Viewer",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"peer_to_peer_payment_pin",storageKey:null,args:null,concreteType:"PeerToPeerPaymentPIN",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"payments_protected",args:null,storageKey:null}]}]};e.exports=a}),null);
__d("PaymentSettingsPaymentMethodsSectionRefetchQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"fetch_new_payment_credential_options",type:"Boolean!",defaultValue:null},{kind:"LocalArgument",name:"fetch_p2p_payment_methods",type:"Boolean!",defaultValue:null},{kind:"LocalArgument",name:"fetch_payment_credentails",type:"Boolean!",defaultValue:null},{kind:"LocalArgument",name:"payment_type",type:"AllPaymentTypeFields!",defaultValue:null}],b=[{kind:"Variable",name:"payment_type",variableName:"payment_type"}],c={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"credential_type",args:null,storageKey:null},e={kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},f={kind:"LinkedField",alias:null,name:"additional_fields",storageKey:null,args:null,concreteType:"PaymentMethodAdditionalField",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"fields",args:null,storageKey:null}]},g={kind:"InlineFragment",type:"NewPaypalBillingAgreement",selections:[{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]},h={kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null};return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsPaymentMethodsSectionRefetchQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:"viewer",name:"__viewer_viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"consumer_payment_account",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"Condition",passingValue:!0,condition:"fetch_payment_credentails",selections:[{kind:"LinkedField",alias:null,name:"payment_credentials",storageKey:null,args:b,concreteType:null,plural:!0,selections:[c,d,{kind:"InlineFragment",type:"PaymentPaypalBillingAgreement",selections:[e,{kind:"FragmentSpread",name:"PaymentSettingsPaypalRow_paypalAccount",args:null}]}]}]},{kind:"Condition",passingValue:!0,condition:"fetch_new_payment_credential_options",selections:[{kind:"LinkedField",alias:null,name:"new_payment_credential_options",storageKey:null,args:b,concreteType:null,plural:!0,selections:[f,d,g]}]}]},{kind:"Condition",passingValue:!0,condition:"fetch_p2p_payment_methods",selections:[{kind:"LinkedField",alias:null,name:"peer_to_peer_payments",storageKey:null,args:null,concreteType:"PeerToPeerPaymentAccount",plural:!1,selections:[{kind:"FragmentSpread",name:"PaymentSettingsPaymentMethodsSection_p2pPayments",args:null}]}]}]}]},operation:{kind:"Operation",name:"PaymentSettingsPaymentMethodsSectionRefetchQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"viewer",storageKey:null,args:null,concreteType:"Viewer",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"consumer_payment_account",storageKey:null,args:null,concreteType:null,plural:!1,selections:[h,c,{kind:"Condition",passingValue:!0,condition:"fetch_payment_credentails",selections:[{kind:"LinkedField",alias:null,name:"payment_credentials",storageKey:null,args:b,concreteType:null,plural:!0,selections:[h,c,d,{kind:"InlineFragment",type:"PaymentPaypalBillingAgreement",selections:[e,{kind:"ScalarField",alias:null,name:"email",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_ad_account_primary",args:null,storageKey:null}]}]}]},{kind:"Condition",passingValue:!0,condition:"fetch_new_payment_credential_options",selections:[{kind:"LinkedField",alias:null,name:"new_payment_credential_options",storageKey:null,args:b,concreteType:null,plural:!0,selections:[h,f,d,g]}]}]},{kind:"Condition",passingValue:!0,condition:"fetch_p2p_payment_methods",selections:[{kind:"LinkedField",alias:null,name:"peer_to_peer_payments",storageKey:null,args:null,concreteType:"PeerToPeerPaymentAccount",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"peer_to_peer_payment_methods",storageKey:null,args:null,concreteType:"PeerToPeerPaymentMethod",plural:!0,selections:[e,{kind:"LinkedField",alias:null,name:"credit_card",storageKey:null,args:null,concreteType:"CreditCard",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"card_association",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"number",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"is_default_receiving",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"method_category",args:null,storageKey:null},c]}]}]}]},{kind:"LinkedHandle",alias:null,name:"viewer",args:null,handle:"viewer",key:"",filters:null}]},params:{operationKind:"query",name:"PaymentSettingsPaymentMethodsSectionRefetchQuery",id:"2211602312262496",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsPaymentMethodsSection_addressFormConfig.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"error_message",args:null,storageKey:null};return{kind:"Fragment",name:"PaymentSettingsPaymentMethodsSection_addressFormConfig",type:"PaymentsAddressFormFieldsConfig",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"country_to_fields",storageKey:null,args:null,concreteType:"PaymentsAddressFormFieldsForCountry",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"country_code",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"form_fields",storageKey:null,args:null,concreteType:"PaymentsFormField",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"description",args:null,storageKey:null},a,{kind:"ScalarField",alias:null,name:"field_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"field_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_optional",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"placeholder",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"validation_rules",storageKey:null,args:null,concreteType:"PaymentsFormValidationRule",plural:!0,selections:[a,{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"value",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"value_type",args:null,storageKey:null}]}]},{kind:"ScalarField",alias:null,name:"default_country",args:null,storageKey:null},{kind:"FragmentSpread",name:"PaymentSettingsCreditCardRow_addressFormConfig",args:null}]}}();e.exports=a}),null);
__d("PaymentSettingsPaymentMethodsSection_p2pPayments.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsPaymentMethodsSection_p2pPayments",type:"PeerToPeerPaymentAccount",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"peer_to_peer_payment_methods",storageKey:null,args:null,concreteType:"PeerToPeerPaymentMethod",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"credit_card",storageKey:null,args:null,concreteType:"CreditCard",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"card_association",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"number",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"is_default_receiving",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"method_category",args:null,storageKey:null}]}]};e.exports=a}),null);
__d("PaymentSettingsPaymentMethodsSection_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},b=[{kind:"Variable",name:"payment_type",variableName:"payment_type"}],c={kind:"ScalarField",alias:null,name:"credential_type",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null};return{kind:"Fragment",name:"PaymentSettingsPaymentMethodsSection_viewer",type:"Viewer",metadata:null,argumentDefinitions:[{kind:"LocalArgument",name:"payment_type",type:"AllPaymentTypeFields",defaultValue:null}],selections:[{kind:"LinkedField",alias:null,name:"ad_accounts",storageKey:null,args:null,concreteType:"AdAccountsConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"nodes",storageKey:null,args:null,concreteType:"AdAccount",plural:!0,selections:[a]}]},{kind:"LinkedField",alias:null,name:"consumer_payment_account",storageKey:null,args:null,concreteType:null,plural:!1,selections:[{kind:"LinkedField",alias:null,name:"payment_credentials",storageKey:null,args:b,concreteType:null,plural:!0,selections:[a,c,{kind:"InlineFragment",type:"DirectDebit",selections:[d,{kind:"FragmentSpread",name:"PaymentSettingsBankAccountRow_bankAccount",args:null}]},{kind:"InlineFragment",type:"ExternalCreditCard",selections:[d,{kind:"FragmentSpread",name:"PaymentSettingsCreditCardRow_creditCard",args:null}]},{kind:"InlineFragment",type:"PaymentPaypalBillingAgreement",selections:[d,{kind:"FragmentSpread",name:"PaymentSettingsPaypalRow_paypalAccount",args:null}]}]},{kind:"LinkedField",alias:null,name:"new_payment_credential_options",storageKey:null,args:b,concreteType:null,plural:!0,selections:[{kind:"LinkedField",alias:null,name:"additional_fields",storageKey:null,args:null,concreteType:"PaymentMethodAdditionalField",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"fields",args:null,storageKey:null}]},c,{kind:"InlineFragment",type:"NewPaypalBillingAgreement",selections:[{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]}]}]}]}}();e.exports=a}),null);
__d("PaymentSettingsPaypalRow_paypalAccount.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsPaypalRow_paypalAccount",type:"PaymentPaypalBillingAgreement",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"email",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_ad_account_primary",args:null,storageKey:null}]};e.exports=a}),null);
__d("PaymentSettingsPhoneRow_phone.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsPhoneRow_phone",type:"PaymentAccountPhone",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"formatted_intl_number_with_plus",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null}]};e.exports=a}),null);
__d("PaymentSettingsPhysicalAddressSection_addressFormConfig.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsPhysicalAddressSection_addressFormConfig",type:"PaymentsAddressFormFieldsConfig",metadata:null,argumentDefinitions:[],selections:[{kind:"FragmentSpread",name:"PaymentSettingsAddressDialog_addressFormConfig",args:null}]};e.exports=a}),null);
__d("PaymentSettingsPhysicalAddressSection_payAccount.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsPhysicalAddressSection_payAccount",type:"PayAccount",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"is_address_compliant",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"physical_address",storageKey:null,args:null,concreteType:"StreetAddress",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"addressee",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"building",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"city",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"postal_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"region",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street",args:null,storageKey:null}]}]};e.exports=a}),null);
__d("PaymentSettingsPreferencesSection_p2pPayments.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsPreferencesSection_p2pPayments",type:"PeerToPeerPaymentAccount",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"legal_name",storageKey:null,args:null,concreteType:"P2PIdologyLegalName",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"can_edit",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"first_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_name",args:null,storageKey:null}]}]};e.exports=a}),null);
__d("PaymentSettingsPreferencesSection_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsPreferencesSection_viewer",type:"Viewer",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"payment_user_settings",storageKey:null,args:null,concreteType:"PaymentsUserSettings",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"currency_preferences",storageKey:null,args:null,concreteType:"CurrencyPreference",plural:!1,selections:[{kind:"FragmentSpread",name:"PaymentSettingsUserCurrency_currencyPreferences",args:null}]}]}]};e.exports=a}),null);
__d("PaymentSettingsSecurityInfoSection_p2pPayments.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsSecurityInfoSection_p2pPayments",type:"PeerToPeerPaymentAccount",metadata:null,argumentDefinitions:[],selections:[{kind:"FragmentSpread",name:"PaymentSettingsP2PPasswordProtection_p2pPayments",args:null}]};e.exports=a}),null);
__d("PaymentSettingsSecurityInfoSection_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsSecurityInfoSection_viewer",type:"Viewer",metadata:null,argumentDefinitions:[],selections:[{kind:"FragmentSpread",name:"PaymentSettingsPINSetting_viewer",args:null}]};e.exports=a}),null);
__d("PaymentSettingsShippingAddressRow_addressFormConfig.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsShippingAddressRow_addressFormConfig",type:"PaymentsAddressFormFieldsConfig",metadata:null,argumentDefinitions:[],selections:[{kind:"FragmentSpread",name:"PaymentSettingsAddressDialog_addressFormConfig",args:null}]};e.exports=a}),null);
__d("PaymentSettingsShippingAddressRow_shippingAddress.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsShippingAddressRow_shippingAddress",type:"MailingAddress",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"address",storageKey:null,args:null,concreteType:"StreetAddress",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"addressee",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"building",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"city",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"postal_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"region",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"city_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"region_name",args:null,storageKey:null}]};e.exports=a}),null);
__d("PaymentSettingsShippingAddressesSection_addressFormConfig.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsShippingAddressesSection_addressFormConfig",type:"PaymentsAddressFormFieldsConfig",metadata:null,argumentDefinitions:[],selections:[{kind:"FragmentSpread",name:"PaymentSettingsShippingAddressRow_addressFormConfig",args:null},{kind:"FragmentSpread",name:"PaymentSettingsAddressDialog_addressFormConfig",args:null}]};e.exports=a}),null);
__d("PaymentSettingsShippingAddressesSection_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsShippingAddressesSection_viewer",type:"Viewer",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"account_user",storageKey:null,args:null,concreteType:"User",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"mailing_addresses",storageKey:null,args:null,concreteType:"MailingAddressesConnection",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"nodes",storageKey:null,args:null,concreteType:"MailingAddress",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"FragmentSpread",name:"PaymentSettingsShippingAddressRow_shippingAddress",args:null}]}]}]}]};e.exports=a}),null);
__d("PaymentSettingsUpdateCreditCardMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"UpdateCreditCardData!",defaultValue:null}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"credential_type",args:null,storageKey:null},e=[{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"link",args:null,storageKey:null}];e={kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"error_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"flow_step",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"image",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_description",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"primary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:e},{kind:"LinkedField",alias:null,name:"secondary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:e},{kind:"ScalarField",alias:null,name:"extra_data",args:null,storageKey:null}]};var f={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null};return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsUpdateCreditCardMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"update_credit_card",storageKey:null,args:b,concreteType:"UpdateCreditCardResponsePayload",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"credit_card",storageKey:null,args:null,concreteType:"ExternalCreditCard",plural:!1,selections:[c,d,{kind:"FragmentSpread",name:"PaymentSettingsCreditCardRow_creditCard",args:null}]},e]}]},operation:{kind:"Operation",name:"PaymentSettingsUpdateCreditCardMutation",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"update_credit_card",storageKey:null,args:b,concreteType:"UpdateCreditCardResponsePayload",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"credit_card",storageKey:null,args:null,concreteType:"ExternalCreditCard",plural:!1,selections:[c,d,{kind:"LinkedField",alias:null,name:"billing_address",storageKey:null,args:null,concreteType:"PaymentAddress",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"address_city",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"address_state",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"country_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street1",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street2",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"zip",args:null,storageKey:null},f]},{kind:"ScalarField",alias:null,name:"card_association",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"card_association_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"expiry_month",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"expiry_year",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"fields_to_verify",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_ad_account_primary",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"is_used_by_subscriptions",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_four_digits",args:null,storageKey:null},f]},e]}]},params:{operationKind:"mutation",name:"PaymentSettingsUpdateCreditCardMutation",id:"2140643796053448",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsUpdateLegalNameMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"UpdateIdologyLegalNameData!",defaultValue:null}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={kind:"ScalarField",alias:null,name:"can_edit",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null},e={kind:"ScalarField",alias:null,name:"first_name",args:null,storageKey:null},f={kind:"ScalarField",alias:null,name:"last_name",args:null,storageKey:null},g=[{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"link",args:null,storageKey:null}];return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsUpdateLegalNameMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"update_idology_legal_name",storageKey:null,args:b,concreteType:"UpdateIdologyLegalNameResponsePayload",plural:!1,selections:[c,d,e,f,{kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"FragmentSpread",name:"FBPaymentsUserFacingErrorFragment",args:null}]}]}]},operation:{kind:"Operation",name:"PaymentSettingsUpdateLegalNameMutation",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"update_idology_legal_name",storageKey:null,args:b,concreteType:"UpdateIdologyLegalNameResponsePayload",plural:!1,selections:[c,d,e,f,{kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"error_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"flow_step",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"image",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_description",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"primary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:g},{kind:"LinkedField",alias:null,name:"secondary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:g},{kind:"ScalarField",alias:null,name:"extra_data",args:null,storageKey:null}]}]}]},params:{operationKind:"mutation",name:"PaymentSettingsUpdateLegalNameMutation",id:"2104582436255601",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsUpdateP2PReceivingPaymentMethodMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"UpdateP2PReceivingPaymentMethodData!",defaultValue:null}],b=[{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"link",args:null,storageKey:null}];b=[{kind:"LinkedField",alias:null,name:"update_p2p_receiving_payment_method",storageKey:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"UpdateP2PReceivingPaymentMethodResponsePayload",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"error_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"flow_step",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"image",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_description",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"primary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:b},{kind:"LinkedField",alias:null,name:"secondary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:b},{kind:"ScalarField",alias:null,name:"extra_data",args:null,storageKey:null}]}]}];return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsUpdateP2PReceivingPaymentMethodMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:b},operation:{kind:"Operation",name:"PaymentSettingsUpdateP2PReceivingPaymentMethodMutation",argumentDefinitions:a,selections:b},params:{operationKind:"mutation",name:"PaymentSettingsUpdateP2PReceivingPaymentMethodMutation",id:"2162174237204151",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsUpdatePhysicalAddressMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"PAYUpdatePhysicalAddressInputArguments!",defaultValue:null}],b=[{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"link",args:null,storageKey:null}];b=[{kind:"LinkedField",alias:null,name:"update_physical_address",storageKey:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"UpdatePhysicalAddressResponsePayload",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"address",storageKey:null,args:null,concreteType:"StreetAddress",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"addressee",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"building",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"city",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"postal_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"region",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"error_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"flow_step",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"image",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_description",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"primary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:b},{kind:"LinkedField",alias:null,name:"secondary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:b},{kind:"ScalarField",alias:null,name:"extra_data",args:null,storageKey:null}]}]}];return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsUpdatePhysicalAddressMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:b},operation:{kind:"Operation",name:"PaymentSettingsUpdatePhysicalAddressMutation",argumentDefinitions:a,selections:b},params:{operationKind:"mutation",name:"PaymentSettingsUpdatePhysicalAddressMutation",id:"2632936356780216",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsUpdateShippingAddressMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"UpdateMailingAddressData!",defaultValue:null}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},e=[d,{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"link",args:null,storageKey:null}];e={kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"error_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"flow_step",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"image",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_description",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"primary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:e},{kind:"LinkedField",alias:null,name:"secondary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:e},{kind:"ScalarField",alias:null,name:"extra_data",args:null,storageKey:null}]};return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsUpdateShippingAddressMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"update_mailing_address",storageKey:null,args:b,concreteType:"UpdateMailingAddressResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"mailing_address",storageKey:null,args:null,concreteType:"MailingAddress",plural:!1,selections:[{kind:"FragmentSpread",name:"PaymentSettingsShippingAddressRow_shippingAddress",args:null}]},e]}]},operation:{kind:"Operation",name:"PaymentSettingsUpdateShippingAddressMutation",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"update_mailing_address",storageKey:null,args:b,concreteType:"UpdateMailingAddressResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"mailing_address",storageKey:null,args:null,concreteType:"MailingAddress",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"address",storageKey:null,args:null,concreteType:"StreetAddress",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"addressee",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"building",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"city",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"postal_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"region",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"city_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},d,{kind:"ScalarField",alias:null,name:"region_name",args:null,storageKey:null}]},e]}]},params:{operationKind:"mutation",name:"PaymentSettingsUpdateShippingAddressMutation",id:"1723267747774234",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsUpdateUserCurrencyMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"UpdateUserCurrencyData!",defaultValue:null}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={kind:"ScalarField",alias:null,name:"client_mutation_id",args:null,storageKey:null},d=[{kind:"ScalarField",alias:null,name:"label",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"link",args:null,storageKey:null}];d={kind:"LinkedField",alias:null,name:"payments_error",storageKey:null,args:null,concreteType:"PaymentsUserFacingError",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"error_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"flow_step",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"image",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_title",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"error_description",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"primary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:d},{kind:"LinkedField",alias:null,name:"secondary_cta",storageKey:null,args:null,concreteType:"PaymentsUserFacingErrorCallToAction",plural:!1,selections:d},{kind:"ScalarField",alias:null,name:"extra_data",args:null,storageKey:null}]};return{kind:"Request",fragment:{kind:"Fragment",name:"PaymentSettingsUpdateUserCurrencyMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"update_user_currency",storageKey:null,args:b,concreteType:"UpdateUserCurrencyResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"currency_preferences",storageKey:null,args:null,concreteType:"CurrencyPreference",plural:!1,selections:[{kind:"FragmentSpread",name:"PaymentSettingsUserCurrency_currencyPreferences",args:null}]},d]}]},operation:{kind:"Operation",name:"PaymentSettingsUpdateUserCurrencyMutation",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"update_user_currency",storageKey:null,args:b,concreteType:"UpdateUserCurrencyResponsePayload",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"currency_preferences",storageKey:null,args:null,concreteType:"CurrencyPreference",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"can_change_currency",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_change_time",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"next_change_time",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"user_currency",args:null,storageKey:null}]},d]}]},params:{operationKind:"mutation",name:"PaymentSettingsUpdateUserCurrencyMutation",id:"3085328174826292",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PaymentSettingsUserCurrency_currencyPreferences.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PaymentSettingsUserCurrency_currencyPreferences",type:"CurrencyPreference",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"can_change_currency",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_change_time",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"next_change_time",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"user_currency",args:null,storageKey:null}]};e.exports=a}),null);
__d("PayoutAdminUpdateFlowConfigMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"PayoutSetAdminData!",defaultValue:null}],b=[{kind:"Variable",name:"input",variableName:"input"}],c={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},d={kind:"LinkedField",alias:null,name:"financial_entity_admins",storageKey:null,args:null,concreteType:"User",plural:!0,selections:[c,{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null}]};return{kind:"Request",fragment:{kind:"Fragment",name:"PayoutAdminUpdateFlowConfigMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"payout_set_admin",storageKey:null,args:b,concreteType:"PayoutSetAdminResponsePayload",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"financial_entity_new",storageKey:null,args:null,concreteType:"FinancialEntityNew",plural:!1,selections:[d]}]}]},operation:{kind:"Operation",name:"PayoutAdminUpdateFlowConfigMutation",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"payout_set_admin",storageKey:null,args:b,concreteType:"PayoutSetAdminResponsePayload",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"financial_entity_new",storageKey:null,args:null,concreteType:"FinancialEntityNew",plural:!1,selections:[d,c]}]}]},params:{operationKind:"mutation",name:"PayoutAdminUpdateFlowConfigMutation",id:"1991137670977426",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PayoutHubPageQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LinkedField",alias:null,name:"financial_entity_by_admin",storageKey:null,args:null,concreteType:"FinancialEntityNew",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"company_name",args:null,storageKey:null}]}];return{kind:"Request",fragment:{kind:"Fragment",name:"PayoutHubPageQuery",type:"Query",metadata:null,argumentDefinitions:[],selections:a},operation:{kind:"Operation",name:"PayoutHubPageQuery",argumentDefinitions:[],selections:a},params:{operationKind:"query",name:"PayoutHubPageQuery",id:"1951136341672516",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PayoutHubPayeeNameQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"id",type:"ID!",defaultValue:null}],b=[{kind:"Variable",name:"id",variableName:"id"}],c=[{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null}],d={kind:"InlineFragment",type:"Page",selections:c},e={kind:"InlineFragment",type:"User",selections:c},f={kind:"InlineFragment",type:"Application",selections:c},g={kind:"InlineFragment",type:"PayoutContract",selections:c},h={kind:"InlineFragment",type:"MobileCarrier",selections:c},i={kind:"InlineFragment",type:"OxygenPreloadsCarrierContract",selections:c},j={kind:"InlineFragment",type:"FundraiserCharity",selections:c};c={kind:"InlineFragment",type:"Group",selections:c};return{kind:"Request",fragment:{kind:"Fragment",name:"PayoutHubPayeeNameQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:b,concreteType:null,plural:!1,selections:[d,e,f,g,h,i,j,c]}]},operation:{kind:"Operation",name:"PayoutHubPayeeNameQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:b,concreteType:null,plural:!1,selections:[{kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},d,e,f,g,h,i,j,c]}]},params:{operationKind:"query",name:"PayoutHubPayeeNameQuery",id:"2148718328527814",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PayoutHubPayeeRowQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"id",type:"ID!",defaultValue:null}],b=[{kind:"Variable",name:"id",variableName:"id"}],c={kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},d=[c,{kind:"LinkedField",alias:null,name:"profile_picture",storageKey:null,args:null,concreteType:"Image",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"uri",args:null,storageKey:null}]}],e={kind:"InlineFragment",type:"Page",selections:d},f={kind:"InlineFragment",type:"User",selections:d},g={kind:"InlineFragment",type:"Application",selections:d};c=[c];var h={kind:"InlineFragment",type:"PayoutContract",selections:c},i={kind:"InlineFragment",type:"MobileCarrier",selections:c};c={kind:"InlineFragment",type:"OxygenPreloadsCarrierContract",selections:c};var j={kind:"InlineFragment",type:"FundraiserCharity",selections:d};d={kind:"InlineFragment",type:"Group",selections:d};return{kind:"Request",fragment:{kind:"Fragment",name:"PayoutHubPayeeRowQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:b,concreteType:null,plural:!1,selections:[e,f,g,h,i,c,j,d]}]},operation:{kind:"Operation",name:"PayoutHubPayeeRowQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"node",storageKey:null,args:b,concreteType:null,plural:!1,selections:[{kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},e,f,g,h,i,c,j,d]}]},params:{operationKind:"query",name:"PayoutHubPayeeRowQuery",id:"2386785878007949",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PayoutHubPayoutSourcesPageQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"id",type:"ID!",defaultValue:null}],b=[{kind:"Variable",name:"id",variableName:"id"}],c={kind:"LinkedField",alias:null,name:"payees",storageKey:null,args:null,concreteType:"DirectPayee",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"payee_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"subtype",args:null,storageKey:null}]};return{kind:"Request",fragment:{kind:"Fragment",name:"PayoutHubPayoutSourcesPageQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"financial_entity",storageKey:null,args:b,concreteType:"FinancialEntityNew",plural:!1,selections:[c]}]},operation:{kind:"Operation",name:"PayoutHubPayoutSourcesPageQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"financial_entity",storageKey:null,args:b,concreteType:"FinancialEntityNew",plural:!1,selections:[c,{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null}]}]},params:{operationKind:"query",name:"PayoutHubPayoutSourcesPageQuery",id:"2032998186753361",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PayoutMethodSettingCard_payoutInfo.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PayoutMethodSettingCard_payoutInfo",type:"PayoutInfo",metadata:{plural:!0},argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"onboarding_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"payout_credential_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_beneficiary_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_account_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_routing_number",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_account_number",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_swift_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_iban",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"paypal_country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"paypal_email",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"paypal_beneficiary",args:null,storageKey:null}]};e.exports=a}),null);
__d("PayoutSectionQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"id",type:"ID!",defaultValue:null}],b=[{kind:"Variable",name:"id",variableName:"id"}],c={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},e=[{kind:"ScalarField",alias:null,name:"formatted_amount",args:null,storageKey:null}],f={kind:"LinkedField",alias:null,name:"payout_batch_items",storageKey:null,args:null,concreteType:"PayoutBatchItem",plural:!0,selections:[c,{kind:"ScalarField",alias:null,name:"payment_date",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"payout_batch_item_status",args:null,storageKey:null},d,{kind:"ScalarField",alias:null,name:"payment_id",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"payout_batch_item_payout_amount",storageKey:null,args:null,concreteType:"CurrencyAmount",plural:!1,selections:e},{kind:"LinkedField",alias:null,name:"payout_records_payout_amount_sum",storageKey:null,args:null,concreteType:"CurrencyAmount",plural:!1,selections:e},{kind:"LinkedField",alias:null,name:"payout_records",storageKey:null,args:null,concreteType:"PayoutRecord",plural:!0,selections:[c]}]};e={kind:"LinkedField",alias:null,name:"payout_records",storageKey:null,args:null,concreteType:"PayoutRecord",plural:!0,selections:[c,{kind:"ScalarField",alias:null,name:"fbobj_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"payout_subtype",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"payout_record_start_date",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"payout_record_end_date",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"payout_record_status",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"payout_record_payout_amount",storageKey:null,args:null,concreteType:"CurrencyAmount",plural:!1,selections:e}]};var g={kind:"ScalarField",alias:null,name:"bank_name",args:null,storageKey:null},h={kind:"ScalarField",alias:null,name:"bank_iban",args:null,storageKey:null},i={kind:"ScalarField",alias:null,name:"bank_account_number",args:null,storageKey:null},j={kind:"ScalarField",alias:null,name:"bank_beneficiary_name",args:null,storageKey:null},k={kind:"LinkedField",alias:null,name:"payees",storageKey:null,args:null,concreteType:"DirectPayee",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"subtype",args:null,storageKey:null}]};return{kind:"Request",fragment:{kind:"Fragment",name:"PayoutSectionQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"financial_entity",storageKey:null,args:b,concreteType:"FinancialEntityNew",plural:!1,selections:[f,e,{kind:"LinkedField",alias:null,name:"payout_info",storageKey:null,args:null,concreteType:"PayoutInfo",plural:!0,selections:[g,d,h,i,j]},k]}]},operation:{kind:"Operation",name:"PayoutSectionQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"financial_entity",storageKey:null,args:b,concreteType:"FinancialEntityNew",plural:!1,selections:[f,e,{kind:"LinkedField",alias:null,name:"payout_info",storageKey:null,args:null,concreteType:"PayoutInfo",plural:!0,selections:[g,d,h,i,j,c]},k,c]}]},params:{operationKind:"query",name:"PayoutSectionQuery",id:"2080112698732920",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PayoutSettingAdminCard_admins.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PayoutSettingAdminCard_admins",type:"User",metadata:{plural:!0},argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null}]};e.exports=a}),null);
__d("PayoutSettingCompanyCard_companyAddress.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PayoutSettingCompanyCard_companyAddress",type:"PaymentAddress",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"street1",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street2",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"address_city",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"address_state",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"zip",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"country_code",args:null,storageKey:null}]};e.exports=a}),null);
__d("PayoutSettingOwnerCard_ownerAddress.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PayoutSettingOwnerCard_ownerAddress",type:"PaymentAddress",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"first_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"middle_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street1",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"street2",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"address_city",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"address_state",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"zip",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"country_code",args:null,storageKey:null}]};e.exports=a}),null);
__d("PayoutSettingPageQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"id",type:"ID!",defaultValue:null}],b=[{kind:"Variable",name:"id",variableName:"id"}],c={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"country_code",args:null,storageKey:null},e={kind:"ScalarField",alias:null,name:"company_name",args:null,storageKey:null},f={kind:"ScalarField",alias:null,name:"company_type",args:null,storageKey:null},g={kind:"ScalarField",alias:null,name:"company_tin_type",args:null,storageKey:null},h={kind:"ScalarField",alias:null,name:"company_tin",args:null,storageKey:null},i={kind:"ScalarField",alias:null,name:"company_phone",args:null,storageKey:null},j={kind:"ScalarField",alias:null,name:"company_emails",args:null,storageKey:null},k={kind:"LinkedField",alias:null,name:"payees",storageKey:null,args:null,concreteType:"DirectPayee",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"subtype",args:null,storageKey:null}]},l={kind:"ScalarField",alias:null,name:"tin_update_unlocked",args:null,storageKey:null},m={kind:"ScalarField",alias:null,name:"company_name_update_unlocked",args:null,storageKey:null},n={kind:"ScalarField",alias:null,name:"street1",args:null,storageKey:null},o={kind:"ScalarField",alias:null,name:"street2",args:null,storageKey:null},p={kind:"ScalarField",alias:null,name:"address_city",args:null,storageKey:null},q={kind:"ScalarField",alias:null,name:"address_state",args:null,storageKey:null},r={kind:"ScalarField",alias:null,name:"zip",args:null,storageKey:null};return{kind:"Request",fragment:{kind:"Fragment",name:"PayoutSettingPageQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"financial_entity",storageKey:null,args:b,concreteType:"FinancialEntityNew",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"payout_info",storageKey:null,args:null,concreteType:"PayoutInfo",plural:!0,selections:[{kind:"FragmentSpread",name:"PayoutMethodSettingCard_payoutInfo",args:null}]},{kind:"LinkedField",alias:null,name:"tax_form",storageKey:null,args:null,concreteType:"TaxForm",plural:!1,selections:[{kind:"FragmentSpread",name:"PayoutSettingTaxFormCard_taxForm",args:null}]},{kind:"LinkedField",alias:null,name:"owner_address",storageKey:null,args:null,concreteType:"PaymentAddress",plural:!1,selections:[{kind:"FragmentSpread",name:"PayoutSettingOwnerCard_ownerAddress",args:null}]},{kind:"LinkedField",alias:null,name:"company_address",storageKey:null,args:null,concreteType:"PaymentAddress",plural:!1,selections:[d,{kind:"FragmentSpread",name:"PayoutSettingCompanyCard_companyAddress",args:null}]},e,f,g,h,i,j,{kind:"LinkedField",alias:null,name:"financial_entity_admins",storageKey:null,args:null,concreteType:"User",plural:!0,selections:[{kind:"FragmentSpread",name:"PayoutSettingAdminCard_admins",args:null}]},k,l,m]}]},operation:{kind:"Operation",name:"PayoutSettingPageQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"financial_entity",storageKey:null,args:b,concreteType:"FinancialEntityNew",plural:!1,selections:[c,{kind:"LinkedField",alias:null,name:"payout_info",storageKey:null,args:null,concreteType:"PayoutInfo",plural:!0,selections:[{kind:"ScalarField",alias:null,name:"onboarding_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"payout_credential_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"credential_id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_beneficiary_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_account_type",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_routing_number",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_account_number",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_swift_code",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"bank_iban",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"paypal_country",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"paypal_email",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"paypal_beneficiary",args:null,storageKey:null},c]},{kind:"LinkedField",alias:null,name:"tax_form",storageKey:null,args:null,concreteType:"TaxForm",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"file_name",args:null,storageKey:null},c]},{kind:"LinkedField",alias:null,name:"owner_address",storageKey:null,args:null,concreteType:"PaymentAddress",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"first_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"middle_name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"last_name",args:null,storageKey:null},n,o,p,q,r,d,c]},{kind:"LinkedField",alias:null,name:"company_address",storageKey:null,args:null,concreteType:"PaymentAddress",plural:!1,selections:[d,n,o,p,q,r,c]},e,f,g,h,i,j,{kind:"LinkedField",alias:null,name:"financial_entity_admins",storageKey:null,args:null,concreteType:"User",plural:!0,selections:[c,{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null}]},k,l,m]}]},params:{operationKind:"query",name:"PayoutSettingPageQuery",id:"1974971855883229",text:null,metadata:{}}}}();e.exports=a}),null);
__d("PayoutSettingTaxFormCard_taxForm.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"Fragment",name:"PayoutSettingTaxFormCard_taxForm",type:"TaxForm",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"file_name",args:null,storageKey:null}]};e.exports=a}),null);
__d("PayoutSettingTaxFormCard_uploadMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"input",type:"UpdateFinancialEntityData!",defaultValue:null}],b=[{kind:"Variable",name:"input",variableName:"input"}],c={kind:"ScalarField",alias:null,name:"file_name",args:null,storageKey:null},d={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null};return{kind:"Request",fragment:{kind:"Fragment",name:"PayoutSettingTaxFormCard_uploadMutation",type:"Mutation",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"update_financial_entity",storageKey:null,args:b,concreteType:"FinancialEntityNew",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"tax_form",storageKey:null,args:null,concreteType:"TaxForm",plural:!1,selections:[c]}]}]},operation:{kind:"Operation",name:"PayoutSettingTaxFormCard_uploadMutation",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"update_financial_entity",storageKey:null,args:b,concreteType:"FinancialEntityNew",plural:!1,selections:[{kind:"LinkedField",alias:null,name:"tax_form",storageKey:null,args:null,concreteType:"TaxForm",plural:!1,selections:[c,d]},d]}]},params:{operationKind:"mutation",name:"PayoutSettingTaxFormCard_uploadMutation",id:"1806214706173541",text:null,metadata:{}}}}();e.exports=a}),null);
__d("P2PCreditCardDetails.react",["cx","Image.react","P2PCreditCard","P2PText.react","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props.creditCard;return b("React").createElement("div",{className:"_1v3z"},b("React").createElement(b("Image.react"),{className:"_1v41",height:24,src:a.getImage(),width:36}),b("React").createElement("div",{className:"_1v42"},b("React").createElement(b("P2PText.react"),{className:"_1v43",display:"inline",type:"primary"},a.getCategoryName()?a.getName()+" "+a.getCategoryName():a.getName()),b("React").createElement(b("P2PText.react"),{display:"inline",type:"primary"},a.getCreditCardNumberFormatted())))};return c}(b("React").Component);c.propTypes={creditCard:a.instanceOf(b("P2PCreditCard")).isRequired};e.exports=c}),null);
__d("P2PChooseCreditCardForm.react",["cx","fbt","MessengerEnvironment","P2PCreditCard","P2PCreditCardDetails.react","P2PText.react","React","XUIRadioList.react","emptyFunction","joinClasses"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i=b("XUIRadioList.react").Item;a=b("React").PropTypes;var j="add_debit_card",k=b("MessengerEnvironment").messengerui;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={selectedValue:d.props.selectedCard.getCredentialId()},d.getSelectedCard=function(){return d.props.creditCards.filter(function(a){return a.getCredentialId()===d.state.selectedValue})[0]},d.onChange=function(a){var b;a===j?(d.props.onAddDebitCardOptionSelected(),d.setState({selectedValue:a})):(b=d.props.creditCards.filter(function(b){return b.getCredentialId()===a})[0],d.setState({selectedValue:b.getCredentialId()}),d.props.onChange(b))},d.renderCardItem=function(a,c){return b("React").createElement(i,{className:"_2x6n",key:"item-"+c,value:a.getCredentialId()},b("React").createElement(b("P2PCreditCardDetails.react"),{creditCard:a}))},d.renderAddDebitCardRadioItem=function(){return b("React").createElement(i,{className:"_2x6n _1gri",key:"item-"+d.props.creditCards.length,value:j},b("React").createElement(b("P2PText.react"),{className:"_2jpa",type:"primary"},d.props.addCardOptionText))},d.getRadioListItems=function(){var a=d.props.creditCards;a=a.map(d.renderCardItem);d.props.showAddDebitCardOption&&a.push(d.renderAddDebitCardRadioItem());return a},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){return b("React").createElement(b("XUIRadioList.react"),{selectedValue:this.state.selectedValue,className:b("joinClasses")(this.props.className,"_2x6r"+(k?" _2jpb":"")),onValueChange:this.onChange},this.getRadioListItems())};return c}(b("React").Component);c.propTypes={addCardOptionText:a.string,creditCards:a.arrayOf(a.instanceOf(b("P2PCreditCard"))),selectedCard:a.instanceOf(b("P2PCreditCard")).isRequired};c.defaultProps={addCardOptionText:h._("Th\u1ebb ghi n\u1ee3 m\u1edbi"),creditCards:[],selectedCard:null,onChange:b("emptyFunction"),onAddDebitCardOptionSelected:b("emptyFunction"),showAddDebitCardOption:!1};e.exports=c}),null);
__d("P2PVerifyCreditCardDialog.react",["cx","fbt","CreditCardFormParam","FBPaymentsCreditCardCVCFormField_DEPRECATED.react","FBPaymentsCreditCardZipCodeFormField_DEPRECATED.react","FBPaymentsErrorNotice_DEPRECATED.react","MessengerEnvironment","P2PAPI","P2PAPIUtils","P2PButton.react","P2PCreditCard","P2PDialog.react","P2PDialogBody.react","P2PDialogFooter.react","P2PDialogTitle.react","P2PLoadingMask.react","P2PText.react","PaymentMethodUtils","React","emptyFunction","getObjectValues"],(function(a,b,c,d,e,f,g,h){__p&&__p();a=b("React").PropTypes;c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c,d){__p&&__p();var e;e=a.call(this,c,d)||this;e.handleOnSaveSuccess=function(a){e.props.onSuccess(a)};e.handleOnSaveError=function(a){e.setState({loading:!1,saveError:a})};e.clearSaveError=function(){e.setState({saveError:null})};e.handleCancelClick=function(){e.props.onCancel()};e.handleConfirmClick=function(){var a={},c=b("P2PAPIUtils").genRequestID();a[b("CreditCardFormParam").CREDENTIAL_ID]=e.props.creditCard.getCredentialId();a[b("CreditCardFormParam").CSC]=e.state.fields[b("CreditCardFormParam").CSC].value;e.state.fields[b("CreditCardFormParam").ZIP]&&(a[b("CreditCardFormParam").ZIP]=e.state.fields[b("CreditCardFormParam").ZIP].value);e.clearSaveError();e.setState({loading:!0,requestID:c});b("P2PAPI").verifyCreditCard(babelHelpers["extends"]({requestID:c},a))};e.handleFormValueChange=function(a,b,c){var d=e.state.fields;d[a].value=b;d[a].valid=c;e.setState({fields:d});e.validateForm()};e.validateForm=function(){var a=e.state.fields;a=!b("getObjectValues")(a).some(function(a){return!a.valid});e.setState({isValid:a})};e.handleToggle=function(a){a||e.props.onCancel()};e.shouldShowZIPInput=function(){var a=!!e.props.creditCard.getZipCode();return!a};e.renderError=function(){var a;e.state.saveError&&(a=b("React").createElement(b("FBPaymentsErrorNotice_DEPRECATED.react"),{error:e.state.saveError}));return a};e.renderCVCFormField=function(){return b("React").createElement(b("FBPaymentsCreditCardCVCFormField_DEPRECATED.react"),{cscMaxLength:e.props.creditCard.getMaxCSCLength(),initiallyFocused:!0,name:"csc",onChange:e.handleFormValueChange,showFocusOutline:!1,showIcon:!1,showPlaceholder:!1,showSecondaryIcon:!0,showSecondaryIconAlways:!0})};e.renderZIPFormField=function(){return b("React").createElement(b("FBPaymentsCreditCardZipCodeFormField_DEPRECATED.react"),{onChange:e.handleFormValueChange,name:"zip",showIcon:!1,showPlaceholder:!1,showFocusOutline:!1})};e.getMessage=function(){__p&&__p();var a=e.props.creditCard,c=a.getName(),d=a.getCreditCardNumber();a=b("PaymentMethodUtils").getCardTypeFromCode(a.getCardType()).name!=="amex";if(e.props.isPurchasing)if(e.shouldShowZIPInput())if(a)return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf m\u1eb7t sau c\u1ee7a th\u1ebb {credit card issuer} c\u1ee7a b\u1ea1n c\u00f3 4 s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} v\u00e0 m\u00e3 b\u01b0u ch\u00ednh l\u1eadp h\u00f3a \u0111\u01a1n \u0111\u1ec3 mua {Purchase item}.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d),h._param("Purchase item",e.props.purchaseName)]));else return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf m\u1eb7t tr\u01b0\u1edbc th\u1ebb {credit card issuer} c\u00f3 4 s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} v\u00e0 m\u00e3 ZIP l\u1eadp h\u00f3a \u0111\u01a1n \u0111\u1ec3 nh\u1eadn {Purchase item}.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d),h._param("Purchase item",e.props.purchaseName)]));else if(a)return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf m\u1eb7t sau c\u1ee7a th\u1ebb {credit card issuer} c\u1ee7a b\u1ea1n c\u00f3 4 s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} \u0111\u1ec3 mua {Purchase item}.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d),h._param("Purchase item",e.props.purchaseName)]));else return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf m\u1eb7t tr\u01b0\u1edbc th\u1ebb {credit card issuer} c\u00f3 4 s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} \u0111\u1ec3 nh\u1eadn {Purchase item}.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d),h._param("Purchase item",e.props.purchaseName)]));else if(e.props.isSending)if(e.shouldShowZIPInput())if(a)return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf m\u1eb7t sau c\u1ee7a th\u1ebb {credit card issuer} c\u1ee7a b\u1ea1n c\u00f3 4 s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} v\u00e0 m\u00e3 ZIP l\u1eadp h\u00f3a \u0111\u01a1n \u0111\u1ec3 g\u1eedi kho\u1ea3n thanh to\u00e1n n\u00e0y.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d)]));else return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf m\u1eb7t tr\u01b0\u1edbc th\u1ebb {credit card issuer} c\u00f3 4 s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} v\u00e0 m\u00e3 ZIP l\u1eadp h\u00f3a \u0111\u01a1n \u0111\u1ec3 g\u1eedi kho\u1ea3n thanh to\u00e1n n\u00e0y.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d)]));else if(a)return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf ph\u00eda sau th\u1ebb {credit card issuer} c\u1ee7a b\u1ea1n c\u00f3 4 ch\u1eef s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} \u0111\u1ec3 g\u1eedi kho\u1ea3n thanh to\u00e1n n\u00e0y.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d)]));else return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf m\u1eb7t tr\u01b0\u1edbc th\u1ebb {credit card issuer} c\u00f3 4 s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} \u0111\u1ec3 g\u1eedi kho\u1ea3n thanh to\u00e1n n\u00e0y.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d)]));else if(e.shouldShowZIPInput())if(a)return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf m\u1eb7t sau c\u1ee7a th\u1ebb {credit card issuer} c\u1ee7a b\u1ea1n c\u00f3 4 s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} v\u00e0 m\u00e3 ZIP l\u1eadp h\u00f3a \u0111\u01a1n \u0111\u1ec3 ch\u1ea5p nh\u1eadn kho\u1ea3n thanh to\u00e1n n\u00e0y.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d)]));else return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf m\u1eb7t tr\u01b0\u1edbc th\u1ebb {credit card issuer} c\u00f3 4 s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} v\u00e0 m\u00e3 ZIP l\u1eadp h\u00f3a \u0111\u01a1n \u0111\u1ec3 ch\u1ea5p nh\u1eadn kho\u1ea3n thanh to\u00e1n n\u00e0y.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d)]));else if(a)return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf ph\u00eda sau th\u1ebb {credit card issuer} c\u1ee7a b\u1ea1n c\u00f3 4 s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} \u0111\u1ec3 ch\u1ea5p nh\u1eadn kho\u1ea3n thanh to\u00e1n n\u00e0y.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d)]));else return b("React").createElement(b("P2PText.react"),{type:"primary"},h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt \u1edf m\u1eb7t tr\u01b0\u1edbc th\u1ebb {credit card issuer} c\u00f3 4 s\u1ed1 cu\u1ed1i l\u00e0 {credit card number last 4 digits} \u0111\u1ec3 ch\u1ea5p nh\u1eadn kho\u1ea3n thanh to\u00e1n n\u00e0y.",[h._param("credit card issuer",c),h._param("credit card number last 4 digits",d)]))};e.getInputs=function(){var a,c=b("React").createElement("div",{className:"_3yfa"},b("React").createElement(b("P2PText.react"),{className:"_197h",type:"primary"},h._("M\u00e3 b\u1ea3o m\u1eadt")),b("React").createElement("div",{className:"_197i"},e.renderCVCFormField()));e.shouldShowZIPInput()&&(a=b("React").createElement("div",{className:"_3yfb"},b("React").createElement(b("P2PText.react"),{className:"_197h",type:"primary"},h._("M\u00e3 ZIP l\u1eadp h\u00f3a \u0111\u01a1n")),b("React").createElement("div",{className:"_197i"},e.renderZIPFormField())));return b("React").createElement("div",null,c,a)};c={};c[b("CreditCardFormParam").CSC]={};c[b("CreditCardFormParam").CSC].valid=!1;e.shouldShowZIPInput()&&(c[b("CreditCardFormParam").ZIP]={},c[b("CreditCardFormParam").ZIP].valid=!1);e.state={isValid:!1,loading:!1,requestID:"",saveError:null,fields:c};return e}var d=c.prototype;d.UNSAFE_componentWillReceiveProps=function(a){a=a.asyncRequestState?a.asyncRequestState[this.state.requestID]:null;a&&(this.setState({requestID:""}),a.error?this.handleOnSaveError(a.error):this.handleOnSaveSuccess(a))};d.render=function(){var a;this.props.showCancelButton&&(a=b("React").createElement(b("P2PButton.react"),{use:"default",size:"medium",label:h._("H\u1ee7y"),disabled:this.state.loading,onClick:this.props.onCancel}));return b("React").createElement(b("P2PDialog.react"),{behaviors:this.props.behaviors,className:b("MessengerEnvironment").messengerui?"_4ypw":"",layerHideOnBlur:!1,onToggle:this.handleToggle,ref:"dialog",repositionOnUpdate:!0,shown:!0,width:this.props.width},b("React").createElement(b("P2PDialogTitle.react"),null,h._("Nh\u1eadp m\u00e3 b\u1ea3o m\u1eadt")),b("React").createElement(b("P2PDialogBody.react"),null,b("React").createElement("div",{className:"_197f"},this.getMessage()),this.renderError(),b("React").createElement("div",{className:"_197g"},this.getInputs())),b("React").createElement(b("P2PDialogFooter.react"),null,a,b("React").createElement(b("P2PButton.react"),{label:this.props.saveButtonText,onClick:this.handleConfirmClick,disabled:!this.state.isValid||this.state.loading,use:"confirm"})),b("React").createElement(b("P2PLoadingMask.react"),{visible:this.state.loading}))};return c}(b("React").Component);c.propTypes={asyncRequestState:a.object,creditCard:a.instanceOf(b("P2PCreditCard")),onCancel:a.func,onConfirm:a.func,isPurchasing:a.bool,isSending:a.bool,purchaseName:a.string,saveButtonText:a.string,showCancelButton:a.bool};c.defaultProps={asyncRequestState:{},creditCard:null,isPurchasing:!1,isSending:!0,onCancel:b("emptyFunction"),onError:b("emptyFunction"),onSuccess:b("emptyFunction"),purchaseName:"",saveButtonText:h._("X\u00e1c nh\u1eadn"),showCancelButton:!0,width:b("MessengerEnvironment").messengerui?320:300};e.exports=c}),null);
__d("P2PPasswordProtectionStatusTypes",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({NOT_SET:0,DISABLED:1,ENABLED:2})}),null);
__d("P2PSettingsPasswordProtectionSelector.react",["fbt","Arbiter","FBPaymentsLogger","FBPaymentsLoggerConstants","P2PAPI","P2PLogger","P2PPasswordProtectionParam","P2PPasswordProtectionStatusTypes","P2PPaymentLoggerEvent","P2PPaymentLoggerEventFlow","React","XUISelector.react"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("XUISelector.react").Option,i=b("FBPaymentsLoggerConstants").LoggerFlowStep,j=b("FBPaymentsLoggerConstants").LoggerEvent;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={passwordProtectionSettingValue:b("P2PPasswordProtectionStatusTypes").DISABLED,passwordProtectionSettingValueFetched:!1,prevPasswordProtectionSettingValue:null,loading:!1,saveError:!1},d.passwordCancelSubscribeToken=null,d.handleGetPasswordProtectionSettingSuccess=function(a){a.status!==b("P2PPasswordProtectionStatusTypes").NOT_SET&&d.setState({passwordProtectionSettingValue:a.status}),d.setState({passwordProtectionSettingValueFetched:!0})},d.handleGetPasswordProtectionSettingError=function(){d.setState({passwordProtectionSettingValueFetched:!0})},d.onChange=function(a){var c=a.value;d.setState(function(a){return{loading:!0,saveError:!1,passwordProtectionSettingValue:c,prevPasswordProtectionSettingValue:a.passwordProtectionSettingValue}});d.setPasswordProtection(c);c===b("P2PPasswordProtectionStatusTypes").ENABLED?d.log(b("P2PPaymentLoggerEvent").UI_ACTN_ENABLED_PASSWORD_PROTECTION_SETTING):d.log(b("P2PPaymentLoggerEvent").UI_ACTN_DISABLED_PASSWORD_PROTECTION_SETTING)},d.handlePasswordReauthDialogCancelClick=function(){d.state.loading&&(d.passwordCancelSubscribeToken=null,d.setState(function(a){return{loading:!1,passwordProtectionSettingValue:a.prevPasswordProtectionSettingValue}}))},d.handleOnSaveSuccess=function(){d.props.logger.setFlowStep(i.PASSWORD).setEventName(j.SUCCESS).logVital(),d.setState({loading:!1})},d.handleOnSaveError=function(){d.setState(function(a){return{loading:!1,passwordProtectionSettingValue:a.prevPasswordProtectionSettingValue,saveError:!0}})},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.UNSAFE_componentWillMount=function(){b("P2PAPI").getPasswordProtectionSetting({success:this.handleGetPasswordProtectionSettingSuccess,error:this.handleGetPasswordProtectionSettingError})};d.log=function(a,c){b("P2PLogger").log(a,babelHelpers["extends"]({www_event_flow:b("P2PPaymentLoggerEventFlow").UI_FLOW_P2P_SETTINGS},c))};d.componentWillUnmount=function(){this.passwordCancelSubscribeToken&&(b("Arbiter").unsubscribe(this.passwordCancelSubscribeToken),this.passwordCancelSubscribeToken=null)};d.setPasswordProtection=function(a){var c={};c[b("P2PPasswordProtectionParam").STATUS]=a;this.passwordCancelSubscribeToken=b("Arbiter").subscribeOnce("PasswordReauthDialogCancelClick",this.handlePasswordReauthDialogCancelClick);this.props.logger.setFlowStep(i.PASSWORD).setEventName(j.INIT).updateExtraData({current_status:a===b("P2PPasswordProtectionStatusTypes").ENABLED?"disabled":"enabled"}).logVital();b("P2PAPI").setPasswordProtectionSetting({formData:c,success:this.handleOnSaveSuccess,error:this.handleOnSaveError})};d.render=function(){return this.state.passwordProtectionSettingValueFetched?b("React").createElement(b("XUISelector.react"),{disabled:this.state.loading,onChange:this.onChange,name:"password_protection_selector",value:this.state.passwordProtectionSettingValue},b("React").createElement(h,{key:"on",value:b("P2PPasswordProtectionStatusTypes").ENABLED},g._("B\u1eadt")),b("React").createElement(h,{key:"off",value:b("P2PPasswordProtectionStatusTypes").DISABLED},g._("T\u1eaft"))):null};return c}(b("React").Component);e.exports=a}),null);
__d("PayoutSubtypeUtil",["PayoutProductConfigRaw","PayoutSubtypes","getJSEnumSafe","nullthrows"],(function(a,b,c,d,e,f){"use strict";function a(a){return b("PayoutProductConfigRaw").config[b("nullthrows")(b("getJSEnumSafe")(b("PayoutSubtypes"),a))].productName}function c(a){return b("PayoutProductConfigRaw").config[b("nullthrows")(b("getJSEnumSafe")(b("PayoutSubtypes"),a))].productNameOnEarning}e.exports={getProductNameFromGraphqlEnum:a,getProductNameOnEarningFromGraphqlEnum:c}}),null);
__d("PayoutHubFEDropdown.react",["fbt","FDSDropdownSelector.react","FDSDropdownSelectorOption.react","React"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var c=a.allFEs.map(function(a){return b("React").createElement(b("FDSDropdownSelectorOption.react"),{key:a.id,value:a.id},a.company_name)});return b("React").createElement("div",null,b("React").createElement(b("FDSDropdownSelector.react"),{placeholder:g._("Ch\u01b0a ch\u1ecdn t\u00e0i kho\u1ea3n"),onChange:a.onChangeFEID,value:a.currentFEID,buttonUse:"flat",buttonSize:"small"},c))}e.exports=a}),null);
__d("PayoutBusinessContactFormLink.react",["fbt","FDSLink.react","FDSText.react","React","suiMargin"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var c="https://www.facebook.com/help/contact/1540812909361378";a.activeSubtypes!==null&&a.activeSubtypes!==void 0&&(a.activeSubtypes.includes("LGS")&&(c="https://www.facebook.com/help/contact/213767399261711"));return b("React").createElement(b("FDSLink.react"),{margin:"_4aws",display:"block",href:c},b("React").createElement(b("FDSText.react"),{color:"blueLink",weight:"bold"},g._("Li\u00ean h\u1ec7 v\u1edbi b\u1ed9 ph\u1eadn h\u1ed7 tr\u1ee3")))}e.exports=a}),null);
__d("PayoutHubPagination.react",["cx","fbt","FlexLayout.react","React","SUIBusinessTheme","SUIButton.react"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){if(a.totalPages<=1)return null;var c=a.currentPage!==1,d=a.currentPage!==a.totalPages;return b("React").createElement(b("FlexLayout.react"),{justify:"end",align:"center"},b("React").createElement(b("SUIButton.react"),{disabled:!c,onClick:a.callbackPrev,theme:b("SUIBusinessTheme"),label:"<"}),b("React").createElement("span",{className:"_3-8s"},h._("{a number of something, as in the 1 in 1 of 5}\/{a total number of something, as in the 5 in 1 of 5}",[h._param("a number of something, as in the 1 in 1 of 5",a.currentPage),h._param("a total number of something, as in the 5 in 1 of 5",a.totalPages)])),b("React").createElement(b("SUIButton.react"),{disabled:!d,onClick:a.callbackNext,theme:b("SUIBusinessTheme"),label:">"}))}e.exports=a}),null);
__d("PayoutHubPayeeRow.react",["cx","fbt","FDSText.react","FlexLayout.react","Image.react","PayoutSubtypeUtil","PUIFacepileItem.react","React","RelayFBEnvironment","RelayModern","suiMargin","PayoutHubPayeeRowQuery.graphql"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i=b("PayoutSubtypeUtil").getProductNameFromGraphqlEnum,j=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var k=function(){return b("PayoutHubPayeeRowQuery.graphql")};function a(a){return b("React").createElement(j,{environment:b("RelayFBEnvironment"),query:k,render:function(c){c.error;c=c.props;if(c){var d;return((d=c)!=null?d.node:d)===null?null:b("React").createElement("div",{className:"_7eyp"},b("React").createElement(b("FlexLayout.react"),null,b("React").createElement("div",{className:"_7ez7"},b("React").createElement(b("PUIFacepileItem.react"),{itemStyle:"circle"},b("React").createElement(b("Image.react"),{src:(d=c)!=null?(d=d.node)!=null?(d=d.profile_picture)!=null?d.uri:d:d:d}))),b("React").createElement("div",{className:"_7ez8"},b("React").createElement(b("FDSText.react"),{size:"body1",display:"block",weight:"bold",margin:"_3-94"},(d=c)!=null?(d=d.node)!=null?d.name:d:d),b("React").createElement(b("FDSText.react"),{size:"body3",display:"block",color:"placeholder"},h._("ID: {an id number}",[h._param("an id number",a.payeeID)])),b("React").createElement(b("FDSText.react"),{size:"body3",display:"block"},a.subtypes.map(function(a){return i(a)}).join(" \u2022 ")))))}return null},variables:{id:a.payeeID}})}e.exports=a}),null);
__d("PayoutHubPayoutSourcesPage.react",["cx","fbt","FDSCard.react","FDSSection.react","FDSText.react","LeftRight.react","PayoutBusinessContactFormLink.react","PayoutHubPagination.react","PayoutHubPayeeRow.react","React","RelayFBEnvironment","RelayModern","nullthrows","PayoutHubPayoutSourcesPageQuery.graphql"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var j=function(){return b("PayoutHubPayoutSourcesPageQuery.graphql")};a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.$1=function(){return null};d.$2=function(a){return null};d.$3=function(a){__p&&__p();a=b("nullthrows")((a=a)!=null?(a=a.financial_entity)!=null?a.payees:a:a);var c=[];a.forEach(function(a){return c.push(b("nullthrows")(a.subtype))});var d={};a.forEach(function(a){var c=b("nullthrows")(a.payee_id);d[c]===void 0&&(d[c]=[]);d[c].push(b("nullthrows")(a.subtype))});a=Object.keys(d);var e=a.length===0?h._("Kh\u00f4ng c\u00f3 ngu\u1ed3n thu nh\u1eadp n\u00e0o \u0111\u01b0\u1ee3c li\u00ean k\u1ebft v\u1edbi t\u00e0i kho\u1ea3n thanh to\u00e1n n\u00e0y."):h._("C\u00e1c ngu\u1ed3n thu nh\u1eadp \u0111\u00e3 li\u00ean k\u1ebft v\u1edbi t\u00e0i kho\u1ea3n thanh to\u00e1n n\u00e0y."),f=Math.ceil(a.length/10);a=a.slice((this.props.currentPage-1)*10,this.props.currentPage*10);return b("React").createElement(b("React").Fragment,null,b("React").createElement(b("FDSCard.react"),null,b("React").createElement(b("FDSSection.react"),null,b("React").createElement("div",{className:"_7ez9"},b("React").createElement(b("FDSText.react"),{size:"body1",display:"block",weight:"bold"},e),a.map(function(a){return b("React").createElement(b("PayoutHubPayeeRow.react"),{key:a,payeeID:a,subtypes:d[a]})})))),b("React").createElement(b("LeftRight.react"),null,b("React").createElement(b("PayoutBusinessContactFormLink.react"),{activeSubtypes:c}),b("React").createElement("div",{className:"_7fdw"},b("React").createElement(b("PayoutHubPagination.react"),{currentPage:this.props.currentPage,totalPages:f,callbackPrev:this.props.prevSection,callbackNext:this.props.nextSection}))))};d.render=function(){var a=this;return b("React").createElement(i,{environment:b("RelayFBEnvironment"),query:j,render:function(b){var c=b.error;b=b.props;if(c)return a.$2(c);else if(b)return a.$3(b);return a.$1()},variables:{id:this.props.financialID}})};return c}(b("React").Component);e.exports=a}),null);
__d("PayoutHubTabID",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({PAYOUTS:"payouts",EARNINGS:"earnings",PAYOUT_SETTINGS:"payout_settings",PAYOUT_SOURCES:"payout_sources"})}),null);
__d("PayoutHubTabContainer.react",["cx","fbt","FDSTabGroup.react","PayoutAccountWWWBuddyTestID","PayoutHubTabID","React"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){return b("React").createElement("div",{className:"_77q5","data-testid":b("PayoutAccountWWWBuddyTestID").PAYOUT_HUB_TABS},b("React").createElement(b("FDSTabGroup.react"),{onChange:a.onChangeTab,tabs:[{label:h._("Thanh to\u00e1n"),value:b("PayoutHubTabID").PAYOUTS},{label:h._("Thu nh\u1eadp"),value:b("PayoutHubTabID").EARNINGS},{label:h._("C\u00e0i \u0111\u1eb7t"),value:b("PayoutHubTabID").PAYOUT_SETTINGS},{label:h._("Ngu\u1ed3n thanh to\u00e1n"),value:b("PayoutHubTabID").PAYOUT_SOURCES}],value:a.currentTab}))}e.exports=a}),null);
__d("PayoutHubAmount.react",["cx","FDSText.react","React"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var c="primary";a.paymentFailed&&(c="negative");return b("React").createElement("div",{className:"_78us"},b("React").createElement(b("FDSText.react"),{size:"header4",weight:"bold",color:c},a.formattedAmount))}e.exports=a}),null);
__d("PayoutHubDate.react",["cx","FDSText.react","React"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var c=a.firstDate.replace(/-/g,"/"),d=c;if(a.secondDate!==null&&a.secondDate!==void 0){a=a.secondDate.replace(/-/g,"/");d=c+" - \n"+a}return b("React").createElement("div",{className:"_78up"},b("React").createElement(b("FDSText.react"),{size:"body1",color:"placeholder"},d))}e.exports=a}),null);
__d("PayoutHubExpandableArrow.react",["ix","cx","Image.react","React","asset"],(function(a,b,c,d,e,f,g,h){"use strict";function i(a){a.expandCallback()}function a(a){var c=g("492466");a.expanded&&!a.paymentFailed?c=g("505579"):a.expanded&&a.paymentFailed?c=g("804388"):!a.expanded&&a.paymentFailed&&(c=g("708818"));return b("React").createElement("div",{className:"_7chh"},b("React").createElement(b("Image.react"),{onClick:i.bind(null,a),src:c}))}e.exports=a}),null);
__d("PayoutHubRowExpandSum.react",["cx","fbt","FDSText.react","FlexLayout.react","React"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){return a.total===null?null:b("React").createElement("div",{className:"_7fs2"},b("React").createElement(b("FlexLayout.react"),null,b("React").createElement("div",{className:"_78ur",style:{marginLeft:"auto"}},b("React").createElement(b("FDSText.react"),{display:"block",size:"header2",weight:"bold"},h._("T\u1ed5ng c\u1ed9ng"))),b("React").createElement("div",{className:"_78us",style:{marginRight:"36px"}},b("React").createElement(b("FDSText.react"),{textAlign:"right",display:"block",size:"header2",weight:"bold"},h._("{total amount for a payment}",[h._param("total amount for a payment",a.total)])))))}e.exports=a}),null);
__d("PayeeProfile.react",["Image.react","PUIFacepileItem.react","React","RelayFBEnvironment","RelayModern","PayeeProfileQuery.graphql"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var h=function(){return b("PayeeProfileQuery.graphql")};function a(a){return b("React").createElement(g,{environment:b("RelayFBEnvironment"),query:h,render:function(a){a.error;a=a.props;if(a){return b("React").createElement(b("PUIFacepileItem.react"),{itemStyle:"circle"},b("React").createElement(b("Image.react"),{src:(a=a)!=null?(a=a.node)!=null?(a=a.profile_picture)!=null?a.uri:a:a:a}))}return null},variables:{id:a.id}})}e.exports=a}),null);
__d("PayoutHubIcon.react",["cx","Image.react","React"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return b("React").createElement("div",{className:"_7f3f",style:{width:a.width}},b("React").createElement(b("Image.react"),{src:a.image}))}e.exports=a}),null);
__d("PayoutHubPayeeName.react",["FDSText.react","React","RelayFBEnvironment","RelayModern","suiMargin","PayoutHubPayeeNameQuery.graphql"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var h=function(){return b("PayoutHubPayeeNameQuery.graphql")};function a(a){return b("React").createElement(g,{environment:b("RelayFBEnvironment"),query:h,render:function(a){a.error;a=a.props;if(a){return b("React").createElement(b("FDSText.react"),{display:"block",size:"body3",weight:"bold",margin:"_3-9a _3-94"},(a=a)!=null?(a=a.node)!=null?a.name:a:a)}return null},variables:{id:a.payeeID}})}e.exports=a}),null);
__d("PayoutHubRowInfo.react",["ix","cx","FDSText.react","FlexLayout.react","PayeeProfile.react","PayoutHubIcon.react","PayoutHubPayeeName.react","React","asset","suiMargin"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();function a(a){__p&&__p();var c=null,d="_3-9a _3-94",e=a.expanded?d:"_3-9a _3-94 _3-8w";a.title!==null?c=b("React").createElement(b("FDSText.react"),{display:"block",size:"body3",weight:"bold",margin:e},a.title):a.payeeID!==null&&a.payeeID!==void 0&&(c=b("React").createElement(b("PayoutHubPayeeName.react"),{payeeID:a.payeeID}));e=null;a.subtitle!==null&&a.expanded&&(e=b("React").createElement(b("FDSText.react"),{display:"block",size:"body3",margin:d},a.subtitle));var f="secondary";a.expanded&&(f="primary");f=b("React").createElement(b("FDSText.react"),{color:f,size:"body3",display:"block",margin:d},a.infoLine1);var h=null;a.expanded&&a.infoLine2!==null&&(h=b("React").createElement(b("FDSText.react"),{color:"secondary",size:"body3",display:"block",margin:d},a.infoLine2));d="_7e1c";a.expanded&&(d="_7evh");var i=b("React").createElement(b("PayoutHubIcon.react"),{width:"24px",image:g("558617")});a.payeeID!==null&&a.payeeID!==void 0&&(i=b("React").createElement("div",{className:d},b("React").createElement(b("PayeeProfile.react"),{id:a.payeeID})));d="center";a.expanded&&(d="start");return b("React").createElement("div",{className:"_79jy"},b("React").createElement(b("FlexLayout.react"),{align:d},i,b("React").createElement("div",null,c,e,f,h)))}e.exports=a}),null);
__d("PayoutHubStatusUtil",["fbt"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a={getPayoutBatchItemStatusName:function(a){switch(a){case"COMPLETED":return g._("\u0110ang x\u1eed l\u00fd");case"REJECTED_BEFORE_SETTLED":case"REJECTED_AFTER_SETTLED":return g._("Kh\u00f4ng th\u00e0nh c\u00f4ng");case"SETTLED":return g._("\u0110\u00e3 thanh to\u00e1n");default:return g._("\u0110ang x\u1eed l\u00fd")}},getPayoutBatchItemStatusTooltip:function(a){switch(a){case"COMPLETED":return g._("Qu\u00e1 tr\u00ecnh x\u1eed l\u00fd kho\u1ea3n thanh to\u00e1n c\u1ee7a b\u1ea1n c\u00f3 th\u1ec3 m\u1ea5t v\u00e0i ng\u00e0y.");case"REJECTED_BEFORE_SETTLED":case"REJECTED_AFTER_SETTLED":return g._("Ch\u00fang t\u00f4i kh\u00f4ng th\u1ec3 x\u1eed l\u00fd kho\u1ea3n thanh to\u00e1n c\u1ee7a b\u1ea1n. Vui l\u00f2ng \u0111\u1ea3m b\u1ea3o th\u00f4ng tin t\u00e0i ch\u00ednh c\u1ee7a b\u1ea1n l\u00e0 ch\u00ednh x\u00e1c.");case"SETTLED":return g._("B\u1ea1n \u0111\u00e3 nh\u1eadn \u0111\u01b0\u1ee3c kho\u1ea3n thanh to\u00e1n c\u1ee7a m\u00ecnh. Vui l\u00f2ng li\u00ean h\u1ec7 tr\u1ef1c ti\u1ebfp v\u1edbi nh\u00e0 cung c\u1ea5p n\u1ebfu b\u1ea1n kh\u00f4ng th\u1ea5y ti\u1ec1n trong t\u00e0i kho\u1ea3n.");default:return g._("Ch\u00fang t\u00f4i kh\u00f4ng th\u1ec3 x\u1eed l\u00fd kho\u1ea3n thanh to\u00e1n c\u1ee7a b\u1ea1n. Vui l\u00f2ng \u0111\u1ea3m b\u1ea3o th\u00f4ng tin t\u00e0i ch\u00ednh c\u1ee7a b\u1ea1n l\u00e0 ch\u00ednh x\u00e1c.")}},getPayoutRecordStatusName:function(a){switch(a){case"PAID":return g._("\u0110\u00e3 thanh to\u00e1n");default:return g._("Ch\u01b0a thanh to\u00e1n")}},getPayoutRecordStatusTooltip:function(a){switch(a){case"PAID":return g._("B\u1ea1n \u0111\u00e3 nh\u1eadn \u0111\u01b0\u1ee3c kho\u1ea3n thu nh\u1eadp n\u00e0y nh\u01b0 m\u1ed9t ph\u1ea7n c\u1ee7a kho\u1ea3n thanh to\u00e1n. H\u00e3y xem ph\u1ea7n Thanh to\u00e1n \u0111\u1ec3 bi\u1ebft th\u00eam chi ti\u1ebft.");default:return g._("Kho\u1ea3n thu nh\u1eadp n\u00e0y ch\u01b0a \u0111\u01b0\u1ee3c thanh to\u00e1n v\u00e0 s\u1ebd c\u00f3 trong kho\u1ea3n thanh to\u00e1n \u0111\u1ee7 \u0111i\u1ec1u ki\u1ec7n ti\u1ebfp theo c\u1ee7a b\u1ea1n.")}},isPayoutBatchItemStatusFailed:function(a){switch(a){case"REJECTED_BEFORE_SETTLED":case"REJECTED_AFTER_SETTLED":return!0;default:return!1}}};e.exports=a}),null);
__d("PayoutHubStatus.react",["ix","cx","FDSHorizontalLayout.react","FDSText.react","Image.react","PayoutHubStatusUtil","React","Tooltip.react","asset"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){var c="",d="";a.isPayoutBatchItem?(c=b("PayoutHubStatusUtil").getPayoutBatchItemStatusName(a.paymentStatus),d=b("PayoutHubStatusUtil").getPayoutBatchItemStatusTooltip(a.paymentStatus)):(c=b("PayoutHubStatusUtil").getPayoutRecordStatusName(a.paymentStatus),d=b("PayoutHubStatusUtil").getPayoutRecordStatusTooltip(a.paymentStatus));var e=null,f=null;b("PayoutHubStatusUtil").isPayoutBatchItemStatusFailed(a.paymentStatus)?(e="negative",f=g("778499")):(e="placeholder",f=g("494388"));return b("React").createElement("div",{className:"_78ur"},b("React").createElement(b("FDSHorizontalLayout.react"),null,b("React").createElement(b("FDSText.react"),{size:"body1",color:e},c),b("React").createElement(b("Tooltip.react"),{tooltip:d,alignH:"right"},b("React").createElement(b("Image.react"),{src:f}))))}e.exports=a}),null);
__d("PayoutHubRow.react",["cx","FlexLayout.react","PayoutHubAmount.react","PayoutHubDate.react","PayoutHubExpandableArrow.react","PayoutHubPagination.react","PayoutHubRowExpandSum.react","PayoutHubRowInfo.react","PayoutHubStatus.react","PayoutHubStatusUtil","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.state={currentExpandedRowsPage:1},c.prevExpandedRowsPage=function(){c.setState(function(a){return{currentExpandedRowsPage:a.currentExpandedRowsPage-1}})},c.nextExpandedRowsPage=function(){c.setState(function(a){return{currentExpandedRowsPage:a.currentExpandedRowsPage+1}})},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.rowSelectedCallback=function(a){a.expandID===a.payoutHubRowData.id?a.expandCallback(null):a.expandCallback(a.payoutHubRowData.id)};d.renderRowDetails=function(a,c){return b("React").createElement("div",{key:a.id,className:"_7dxf"},b("React").createElement(b("FlexLayout.react"),{align:"center"},b("React").createElement("div",{className:"_7chi"},b("React").createElement(b("PayoutHubDate.react"),{firstDate:a.firstDate,secondDate:a.secondDate})),b("React").createElement("div",{className:"_7chi"},b("React").createElement(b("PayoutHubRowInfo.react"),{payeeID:a.fbobjID,title:a.title,subtitle:a.subtitle,infoLine1:a.infoLine1,infoLine2:a.infoLine2,expanded:c})),b("React").createElement("div",{className:"_7chi",style:{marginLeft:"auto"}},b("React").createElement(b("PayoutHubStatus.react"),{paymentStatus:a.paymentStatus,isPayoutBatchItem:a.isPayoutBatchItem})),b("React").createElement("div",{className:"_7chi",style:{marginRight:"36px"}},b("React").createElement(b("PayoutHubAmount.react"),{formattedAmount:a.payoutAmount.formattedAmount,paymentFailed:b("PayoutHubStatusUtil").isPayoutBatchItemStatusFailed(a.paymentStatus)}))))};d.render=function(){var a=this,c=[],d="_78w-",e="_7chi",f="center";this.props.payoutHubRowMapping!==null&&this.props.payoutHubRowMapping!==void 0&&this.props.expandID!==null&&this.props.expandID===this.props.payoutHubRowData.id&&(this.props.payoutHubRowMapping.forEach(function(b){return c.push(a.renderRowDetails(b,a.props.expandID!==null&&a.props.expandID===a.props.payoutHubRowData.id))}),d="_7dxf",e="_7e0-",f="start");var g=Math.ceil(c.length/10);c=c.slice((this.state.currentExpandedRowsPage-1)*10,this.state.currentExpandedRowsPage*10);return b("React").createElement(b("React").Fragment,null,b("React").createElement("div",{className:d},b("React").createElement(b("FlexLayout.react"),{align:f},b("React").createElement("div",{className:"_7chi"},b("React").createElement(b("PayoutHubDate.react"),{firstDate:this.props.payoutHubRowData.firstDate,secondDate:this.props.payoutHubRowData.secondDate})),b("React").createElement("div",{className:"_7chi"},b("React").createElement(b("PayoutHubRowInfo.react"),{payeeID:this.props.payoutHubRowData.fbobjID,title:this.props.payoutHubRowData.title,subtitle:this.props.payoutHubRowData.subtitle,infoLine1:this.props.payoutHubRowData.infoLine1,infoLine2:this.props.payoutHubRowData.infoLine2,expanded:this.props.expandID!==null&&this.props.expandID===this.props.payoutHubRowData.id})),b("React").createElement("div",{className:e,style:{marginLeft:"auto"}},b("React").createElement(b("PayoutHubStatus.react"),{isPayoutBatchItem:this.props.payoutHubRowData.isPayoutBatchItem,paymentStatus:this.props.payoutHubRowData.paymentStatus})),b("React").createElement("div",{className:e},b("React").createElement(b("PayoutHubAmount.react"),{formattedAmount:this.props.payoutHubRowData.payoutAmount.formattedAmount,paymentFailed:b("PayoutHubStatusUtil").isPayoutBatchItemStatusFailed(this.props.payoutHubRowData.paymentStatus)})),b("React").createElement("div",{className:e,style:{marginLeft:"4px",marginRight:"16px"}},this.props.payoutHubRowMapping!==null?b("React").createElement(b("PayoutHubExpandableArrow.react"),{expandCallback:this.rowSelectedCallback.bind(null,this.props),expanded:this.props.expandID!==null&&this.props.expandID===this.props.payoutHubRowData.id,paymentFailed:b("PayoutHubStatusUtil").isPayoutBatchItemStatusFailed(this.props.payoutHubRowData.paymentStatus)}):null))),c,this.props.expandID!==null&&this.props.expandID===this.props.payoutHubRowData.id?b("React").createElement(b("React").Fragment,null,b("React").createElement("div",{className:"_7e3y"},b("React").createElement(b("PayoutHubPagination.react"),{currentPage:this.state.currentExpandedRowsPage,totalPages:g,callbackPrev:this.prevExpandedRowsPage,callbackNext:this.nextExpandedRowsPage})),b("React").createElement(b("PayoutHubRowExpandSum.react"),{total:this.props.payoutHubRowData.amountTotal})):null)};return c}(b("React").Component);e.exports=a}),null);
__d("PayoutSection.react",["cx","fbt","FDSCard.react","FDSSection.react","FDSText.react","LeftRight.react","PayoutBusinessContactFormLink.react","PayoutHubPagination.react","PayoutHubRow.react","PayoutHubTabID","PayoutSubtypeUtil","React","RelayFBEnvironment","RelayModern","SUIBusinessTheme","SUICard.react","nullthrows","PayoutSectionQuery.graphql"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i=b("PayoutSubtypeUtil").getProductNameOnEarningFromGraphqlEnum,j=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var k=function(){return b("PayoutSectionQuery.graphql")};a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.state={expandID:null},c.onChangeExpand=function(a){c.setState({expandID:a})},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.getPayoutInfo=function(a,c){__p&&__p();var d={};c=b("nullthrows")(c.financial_entity);c=b("nullthrows")(c.payout_info);var e=c.findIndex(function(b){return b.credential_id===a});if(e===-1)return{credential_id:a,bank_name:"Removed Bank Account",bank_iban:"",bank_account_number:"",bank_beneficiary_name:""};c=c[e];d.credential_id=a;d.bank_name=b("nullthrows")(c.bank_name);d.bank_iban=b("nullthrows")(c.bank_iban);d.bank_account_number=b("nullthrows")(c.bank_account_number);d.bank_beneficiary_name=b("nullthrows")(c.bank_beneficiary_name);return d};d.getPayoutBatchItemToPayoutRecordMapping=function(a){__p&&__p();var c=this,d={},e=b("nullthrows")(a.financial_entity),f=b("nullthrows")(e.payout_batch_items),g=b("nullthrows")(e.payout_records);f.forEach(function(e){var f=b("nullthrows")(e.id);d[f]=[];e=b("nullthrows")(e.payout_records);e.forEach(function(b){var e=g.find(function(a){return a.id===b.id});d[f].push(c.convertPayoutRecordToPayoutHubRowData(e,(e=a)!=null?(e=e.financial_entity)!=null?e.payees:e:e))})});return d};d.convertPayoutRecordToPayoutHubRowData=function(a,c){if(a===null||a===void 0)return null;c=b("nullthrows")(a.payout_record_payout_amount);var d=b("nullthrows")(a.fbobj_id);c={id:b("nullthrows")(a.id),financialID:null,firstDate:b("nullthrows")(a.payout_record_start_date),secondDate:b("nullthrows")(a.payout_record_end_date),paymentStatus:b("nullthrows")(a.payout_record_status),payoutAmount:{formattedAmount:b("nullthrows")(c.formatted_amount)},isPayoutBatchItem:!1,fbobjID:d,title:null,subtitle:h._("ID: {ID for a facebook account}",[h._param("ID for a facebook account",d)]),infoLine1:i(b("nullthrows")(a.payout_subtype)),infoLine2:null,amountTotal:null};return c};d.getAllPayoutBatchItems=function(a){var c=this,d=[],e=b("nullthrows")(a.financial_entity);e=b("nullthrows")(e.payout_batch_items);e.forEach(function(e){var f=b("nullthrows")(e.payout_batch_item_payout_amount),g=c.getPayoutInfo(b("nullthrows")(e.credential_id),a),i=b("nullthrows")(g.bank_account_number);i===""&&(i=b("nullthrows")(g.bank_iban));g={id:b("nullthrows")(e.id),firstDate:b("nullthrows")(e.payment_date),secondDate:null,paymentStatus:b("nullthrows")(e.payout_batch_item_status),payoutAmount:{formattedAmount:b("nullthrows")(f.formatted_amount)},isPayoutBatchItem:!0,fbobjID:null,title:h._("{bank name}",[h._param("bank name",b("nullthrows")(g.bank_name))]),subtitle:g.bank_beneficiary_name===""?"":h._("T\u00ean ng\u01b0\u1eddi th\u1ee5 h\u01b0\u1edfng: {beneficiary name}",[h._param("beneficiary name",b("nullthrows")(g.bank_beneficiary_name))]),infoLine1:h._("*{bank account number}",[h._param("bank account number",i)]),infoLine2:h._("ID thanh to\u00e1n: {payment id}",[h._param("payment id",b("nullthrows")(e.payment_id))]),amountTotal:(f=e)!=null?(f=f.payout_records_payout_amount_sum)!=null?f.formatted_amount:f:f};d.push(g)});return d};d.getAllPayoutRecords=function(a){var c=[];a=b("nullthrows")(a.financial_entity);a=b("nullthrows")(a.payout_records);a.forEach(function(a){var d=b("nullthrows")(a.payout_record_payout_amount),e=b("nullthrows")(a.fbobj_id);d={id:b("nullthrows")(a.id),firstDate:b("nullthrows")(a.payout_record_start_date),secondDate:b("nullthrows")(a.payout_record_end_date),paymentStatus:b("nullthrows")(a.payout_record_status),payoutAmount:{formattedAmount:b("nullthrows")(d.formatted_amount)},isPayoutBatchItem:!1,fbobjID:e,title:null,subtitle:h._("ID: {ID for a facebook account}",[h._param("ID for a facebook account",e)]),infoLine1:i(b("nullthrows")(a.payout_subtype)),infoLine2:null,amountTotal:null};c.push(d)});return c};d.renderEmpty=function(a,c){a=h._("Hi\u1ec7n kh\u00f4ng c\u00f3 kho\u1ea3n thanh to\u00e1n n\u00e0o.");this.props.sectionType===b("PayoutHubTabID").EARNINGS&&(a=h._("Hi\u1ec7n kh\u00f4ng c\u00f3 kho\u1ea3n thu nh\u1eadp n\u00e0o."));return b("React").createElement(b("React").Fragment,null,b("React").createElement(b("FDSCard.react"),null,b("React").createElement(b("FDSSection.react"),null,b("React").createElement("div",{className:"_7egt"},b("React").createElement(b("FDSText.react"),{size:"body1",display:"block",weight:"bold"},a)))),b("React").createElement(b("PayoutBusinessContactFormLink.react"),{activeSubtypes:c}))};d.$1=function(){return null};d.$2=function(a){return null};d.$3=function(a){__p&&__p();var c=this,d=[],e={};this.props.sectionType===b("PayoutHubTabID").PAYOUTS?(d=this.getAllPayoutBatchItems(a),e=this.getPayoutBatchItemToPayoutRecordMapping(a)):(d=this.getAllPayoutRecords(a),e=null);var f=Math.ceil(d.length/10);d=d.slice((this.props.currentPage-1)*10,this.props.currentPage*10);a=b("nullthrows")(a.financial_entity);var g=[];a.payees.forEach(function(a){return g.push(b("nullthrows")(a.subtype))});return d.length===0?this.renderEmpty(this.props.sectionType,g):b("React").createElement(b("React").Fragment,null,b("React").createElement("div",{className:"_78o4"},b("React").createElement(b("SUICard.react"),{theme:b("SUIBusinessTheme")},d.map(function(a){var d;return b("React").createElement(b("PayoutHubRow.react"),{payoutHubRowData:a,payoutHubRowMapping:(d=e)!=null?d[a.id]:d,expandID:c.state.expandID,expandCallback:c.onChangeExpand,key:a.id})}))),b("React").createElement(b("LeftRight.react"),null,b("React").createElement(b("PayoutBusinessContactFormLink.react"),{activeSubtypes:g}),b("React").createElement("div",{className:"_7dy2"},b("React").createElement(b("PayoutHubPagination.react"),{currentPage:this.props.currentPage,totalPages:f,callbackPrev:this.props.prevSection,callbackNext:this.props.nextSection}))))};d.render=function(){var a=this;return b("React").createElement(j,{environment:b("RelayFBEnvironment"),query:k,render:function(b){var c=b.error;b=b.props;if(c)return a.$2(c);else if(b)return b.financial_entity===null?a.$2():a.$3(b);return a.$1()},variables:{id:this.props.currentFEID}})};return c}(b("React").Component);e.exports=a}),null);
__d("PUIStringUtil",["AdsCountriesConfig"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a){return a==null||a===""}function h(a,b){a=a.filter(function(a){return!g(a)});return a.join(b)}function a(a,b,c){return h([a,b,c]," ")}function c(a,b,c,d,e,f){var h=[];h.push(a);g(b)||h.push(b||"");h.push(c+", "+d+" "+e);h.push(f);return h}function d(a){return b("AdsCountriesConfig").countries[a]}e.exports={isEmptyString:g,joinMaybeEmptyString:h,concatPersonName:a,concatAddress:c,countryFbt:d}}),null);
__d("PayoutMethodInfo.react",["ix","cx","FDSText.react","FlexLayout.react","PayoutAccountWWWBuddyTestID","PayoutHubIcon.react","PayoutSubtypeUtil","React","asset"],(function(a,b,c,d,e,f,g,h){"use strict";var i=b("PayoutSubtypeUtil").getProductNameFromGraphqlEnum;function a(a){return b("React").createElement(b("FlexLayout.react"),null,b("React").createElement(b("PayoutHubIcon.react"),{width:"24px",image:g("558617")}),b("React").createElement("div",{className:"_77_m"},b("React").createElement(b("FDSText.react"),{size:"body3",display:"block",weight:"bold"},a.title),a.subtitles.map(function(a,c){return b("React").createElement(b("FDSText.react"),{key:c,color:"placeholder",size:"body3",display:"block","data-testid":b("PayoutAccountWWWBuddyTestID").PAYOUT_METHOD_INFO_SUBTITLE+"_"+c},a)}),b("React").createElement(b("FDSText.react"),{size:"body3",display:"block"},a.subtypes.map(function(a){return i(a)}).join(" \u2022 "))))}e.exports=a}),null);
__d("PayoutSettingCard.react",["cx","FDSButton.react","FDSCard.react","FDSSection.react","FDSText.react","LeftRight.react","React","suiMargin"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var c=a.rightLabel!==void 0?b("React").createElement(b("FDSButton.react"),{label:a.rightLabel||"",onClick:a.onClick}):b("React").createElement("div",null);c=b("React").createElement(b("FDSSection.react"),null,b("React").createElement("div",{className:"_77ea"},b("React").createElement(b("LeftRight.react"),null,b("React").createElement(b("FDSText.react"),{weight:"bold",size:"header4"},a.title),c)),a.sections.length>0?a.sections[0]:null);var d=a.sections.slice(1).map(function(a){return b("React").createElement(b("FDSSection.react"),null,a)});return b("React").createElement("div",{id:a.stepName},b("React").createElement(b("FDSCard.react"),{margin:"_20nr","data-testid":a.stepName},c,d))}e.exports=a}),null);
__d("PayoutSettingSection.react",["cx","React"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return b("React").createElement("div",{className:"_77e8"},a.children)}e.exports=a}),null);
__d("PayoutSettingSectionField.react",["cx","FDSButton.react","LeftRight.react","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a){var c=null;if(a.rightLabel!==void 0||a.rightButton!==void 0){var d=a.rightButton!==void 0?a.rightButton:b("React").createElement(b("FDSButton.react"),{label:a.rightLabel||"",onClick:a.onClick});c=b("React").createElement(b("LeftRight.react"),null,a.leftContent,d)}else c=a.leftContent;return a.isDisabled!==null&&a.isDisabled!==void 0&&a.isDisabled===!0?b("React").createElement("div",{className:"_7eyo"},c):b("React").createElement("div",{className:"_77e9"},c)}e.exports=a}),null);
__d("PayoutSettingSectionSubtitle.react",["cx","React"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return b("React").createElement("div",{className:"_7fsy"},a.children)}e.exports=a}),null);
__d("PayoutMethodSettingCard.react",["fbt","BizPayoutOnboardingActions","DeveloperPaymentsSettingsFields","DirectDebitBankAccountType","FDSText.react","FinancialEntityOnboardingTypes","PayoutCredentialType","PayoutMethodInfo.react","PayoutMethodUpdateFlowConfig","PayoutOnboardingSteps","PayoutOnboardingUtil","PayoutSettingCard.react","PayoutSettingSection.react","PayoutSettingSectionField.react","PayoutSettingSectionSubtitle.react","PayoutSubtypes","PayoutSubtypeToOnboardingTypeMap","PUIStringUtil","React","RelayModern","isStringNullOrEmpty","nullthrows","PayoutMethodSettingCard_payoutInfo.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("PUIStringUtil").countryFbt;c=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;function a(a){var c=a.payoutInfo,d=a.onboardingTypes;d&&(c=c.filter(function(a){return d.includes(a.onboarding_type)}));c=b("React").createElement(b("React").Fragment,null,b("React").createElement(b("PayoutSettingSectionSubtitle.react"),null,b("React").createElement(b("FDSText.react"),null,g._("For security purposes, we will hold your payout for 10 days if you update your payment information. Please note that your earnings will be paid out after the holding period. Changes made before the payment is released may affect your ability to receive your payout on time."))),b("React").createElement(b("PayoutSettingSection.react"),null,c.map(function(c){var d=b("nullthrows")(c.onboarding_type),e=a.activeSubtypes.filter(function(a){return b("PayoutSubtypeToOnboardingTypeMap").mapping[a]===b("FinancialEntityOnboardingTypes")[d]});return b("React").createElement(i,babelHelpers["extends"]({key:c.credential_id},c,{companyCountry:a.companyCountry,financialID:a.financialID,activeSubtypes:e,editable:a.editable}))})));return b("React").createElement(b("PayoutSettingCard.react"),{title:g._("Ph\u01b0\u01a1ng th\u1ee9c thanh to\u00e1n"),sections:[c],stepName:b("PayoutOnboardingSteps").PAYMENT_INFO})}function i(a){__p&&__p();var c,d="",e=[];if(a.payout_credential_type===b("PayoutCredentialType").DIRECT_DEBIT){d=b("nullthrows")(a.bank_name);var f=a.bank_account_type;e.push(g._("Qu\u1ed1c gia: {Country}",[g._param("Country",h(b("nullthrows")(a.bank_country)))]));f===b("DirectDebitBankAccountType").IBAN?e.push(g._("IBAN: *{IBAN number}",[g._param("IBAN number",a.bank_iban||"")])):e.push(g._("S\u1ed1 t\u00e0i kho\u1ea3n: *{bank account number}",[g._param("bank account number",a.bank_account_number||"")]));e.push(g._("T\u00ean ng\u01b0\u1eddi th\u1ee5 h\u01b0\u1edfng: {entity name}",[g._param("entity name",a.bank_beneficiary_name||"")]));f===b("DirectDebitBankAccountType").IBAN||f===b("DirectDebitBankAccountType").REGULAR?e.push(g._("SWIFT: {swift number}",[g._param("swift number",a.bank_swift_code||"")])):e.push(g._("S\u1ed1 \u0111\u1ecbnh tuy\u1ebfn: {routing number}",[g._param("routing number",a.bank_routing_number||"")]))}else d=b("nullthrows")(a.paypal_email),e.push("Country: "+h(b("nullthrows")(a.paypal_country))),e.push(a.paypal_beneficiary||"");f=b("React").createElement(b("PayoutMethodInfo.react"),{credential_type:b("nullthrows")(a.payout_credential_type),title:d,subtitles:e,subtypes:a.activeSubtypes});d=b("isStringNullOrEmpty")(a.bank_country)?a.companyCountry:a.bank_country;e=b("isStringNullOrEmpty")(a.paypal_country)?a.companyCountry:a.paypal_country;e=(c={},c[b("DeveloperPaymentsSettingsFields").COMPANY_COUNTRY]=a.companyCountry,c[b("DeveloperPaymentsSettingsFields").BANK_COUNTRY]=d,c[b("DeveloperPaymentsSettingsFields").PAYPAL_COUNTRY]=e,c[b("DeveloperPaymentsSettingsFields").PRESET_FE_ID]=a.financialID,c[b("DeveloperPaymentsSettingsFields").ONBOARDING_TYPE]=a.onboarding_type,c);c=b("PayoutOnboardingUtil").getDirectDebitConfig(a.companyCountry,d);d=c.bankCodeType;c=c.bankAccountType;e[b("DeveloperPaymentsSettingsFields").BANK_ACCOUNT_TYPE]=c;e[b("DeveloperPaymentsSettingsFields").BANK_CODE_TYPE]=d;var i={config:new(b("PayoutMethodUpdateFlowConfig"))(a.activeSubtypes),payoutSubtype:b("PayoutSubtypes").UNKNOWN,presetValues:e,callbacks:{}};if(a.editable)return b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:f,rightLabel:"Edit",onClick:function(){b("BizPayoutOnboardingActions").resetOnboarding(i),b("BizPayoutOnboardingActions").showDialog()}});else return b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:f})}d=c(a,{payoutInfo:function(){return b("PayoutMethodSettingCard_payoutInfo.graphql")}});e.exports=d}),null);
__d("PayoutAdminUpdateFlowConfig",["BizPayoutAdminStep","BizPayoutAdminStore","BizPayoutStepName","DeveloperPaymentsSettingsFields","PayoutUpdateAdminAction","PayoutUpdateFlowConfig","RelayModern","PayoutAdminUpdateFlowConfigMutation.graphql"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g;b("RelayModern").graphql;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.getIsPersonal=function(){return!1};d.getFormFieldIDs=function(){return[b("DeveloperPaymentsSettingsFields").PRESET_FE_ID]};d.getSteps=function(a){return[b("BizPayoutStepName").ADMIN]};d.getStepByName=function(a){return b("BizPayoutAdminStep")};d.getLastStep=function(){return b("BizPayoutStepName").ADMIN};d.getUpdateKeys=function(){return[b("DeveloperPaymentsSettingsFields").PRESET_FE_ID]};d.constructMutationData=function(a){var c;return c={},c[b("DeveloperPaymentsSettingsFields").ADMINS]=b("BizPayoutAdminStore").getIDs(),c.account_id=a[b("DeveloperPaymentsSettingsFields").PRESET_FE_ID],c.action=b("PayoutUpdateAdminAction").ADD,c};d.getMutation=function(){return g||(g=function(){return b("PayoutAdminUpdateFlowConfigMutation.graphql")})};return c}(b("PayoutUpdateFlowConfig"));e.exports=a}),null);
__d("PayoutSettingSectionFooter.react",["FDSLink.react","FDSText.react","React"],(function(a,b,c,d,e,f){"use strict";function a(a){return b("React").createElement(b("FDSLink.react"),{display:"block",onClick:a.onClick,"data-testid":a["data-testid"]},b("React").createElement(b("FDSText.react"),{weight:"bold",color:"blueLink"},a.label))}e.exports=a}),null);
__d("PayoutSettingAdminCard.react",["cx","fbt","BizPayoutOnboardingActions","BizPayoutSetAdminMutation","DeveloperPaymentsSettingsFields","FDSText.react","PayoutAccountWWWBuddyTestID","PayoutAdminUpdateFlowConfig","PayoutOnboardingSteps","PayoutSettingCard.react","PayoutSettingSection.react","PayoutSettingSectionField.react","PayoutSettingSectionFooter.react","PayoutSettingSectionSubtitle.react","PayoutSubtypes","PayoutUpdateAdminAction","React","RelayFBEnvironment","RelayModern","nullthrows","suiMargin","PayoutSettingAdminCard_admins.graphql"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();c=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;function a(a){var c,d={config:new(b("PayoutAdminUpdateFlowConfig"))(),payoutSubtype:b("PayoutSubtypes").UNKNOWN,presetValues:(c={},c[b("DeveloperPaymentsSettingsFields").PRESET_FE_ID]=a.financialID,c),callbacks:{}};c=b("React").createElement(b("React").Fragment,null,b("React").createElement(b("PayoutSettingSectionSubtitle.react"),null,b("React").createElement(b("FDSText.react"),null,h._("Ch\u1ecdn \u00edt nh\u1ea5t m\u1ed9t ng\u01b0\u1eddi l\u00e0m qu\u1ea3n tr\u1ecb vi\u00ean c\u1ee7a t\u00e0i kho\u1ea3n n\u00e0y. Qu\u1ea3n tr\u1ecb vi\u00ean c\u00f3 th\u1ec3 ch\u1ec9nh s\u1eeda v\u00e0 qu\u1ea3n l\u00fd th\u00f4ng tin t\u00e0i kho\u1ea3n."))),b("React").createElement(b("PayoutSettingSection.react"),null,a.admins.map(function(c){return b("React").createElement("div",{key:c.id,className:"_7evv"},b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:b("React").createElement(b("FDSText.react"),{size:"body3",weight:"bold",display:"block",margin:"_3-8w"},c.name),rightLabel:h._("X\u00f3a"),onClick:function(){return i(a.financialID,b("nullthrows")(c.id))}}))}),b("React").createElement(b("PayoutSettingSectionFooter.react"),{label:h._("Th\u00eam qu\u1ea3n tr\u1ecb vi\u00ean"),onClick:function(){b("BizPayoutOnboardingActions").resetOnboarding(d),b("BizPayoutOnboardingActions").showDialog()},"data-testid":b("PayoutAccountWWWBuddyTestID").DONE_DIALOG_ADD_ADMIN_LINK})));return b("React").createElement(b("PayoutSettingCard.react"),{title:h._("Qu\u1ea3n tr\u1ecb vi\u00ean t\u00e0i kho\u1ea3n thanh to\u00e1n"),sections:[c],stepName:b("PayoutOnboardingSteps").ADMINS})}function i(a,c){var d;b("BizPayoutSetAdminMutation").commit(b("RelayFBEnvironment"),(d={},d[b("DeveloperPaymentsSettingsFields").ADMINS]=[c],d.account_id=a,d.action=b("PayoutUpdateAdminAction").REMOVE,d),{onSuccess:function(){},onFailure:function(){}})}d=c(a,{admins:function(){return b("PayoutSettingAdminCard_admins.graphql")}});e.exports=d}),null);
__d("PaymentCompanyType",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({COMPANY_TYPE_NOT_SPECIFIED:0,INDIVIDUAL:1,PARTNERSHIP:2,JOINT_VENTURE:3,LLC:4,PUBLIC_CORPORATION:5,PRIVATE_CORPORATION:6,GOVT_CORPORATION:7,NON_PROFIT:8,INDIVIDUAL_BUSINESS:9,SOLE_PROPRIETOR:10,CORPORATION:11,BRAZIL_INDIVIDUAL:101,BRAZIL_MEI:102,BRAZIL_LLC:103,BRAZIL_CORPORATION:104,BRAZIL_EIRELI:105,BRAZIL_SIMPLE_COMPANY:106,BRAZIL_COOPERATIVE:107,BRAZIL_LIMITIED_PARTNERSHIP:108,BRAZIL_JOINT_STOCK_COMPANY:109,BRAZIL_PARTNERSHIP_UNDER_A_FIRM_NAME:110,BRAZIL_UNDECLARED_PARTNERSHIP:111})}),null);
__d("PayoutAddressBlock.react",["FDSText.react","PUIStringUtil","React"],(function(a,b,c,d,e,f){"use strict";var g=b("PUIStringUtil").concatAddress,h=b("PUIStringUtil").countryFbt;function a(a){return g(a.street1||"",a.street2||"",a.address_city||"",a.address_state||"",a.zip||"",h(a.country_code||"")).map(function(a,c){return b("React").createElement(b("FDSText.react"),{key:c,display:"block"},a)})}e.exports=a}),null);
__d("PayoutEmailBlock.react",["FDSText.react","React"],(function(a,b,c,d,e,f){"use strict";function a(a){return a.emails.map(function(a){return b("React").createElement(b("FDSText.react"),{key:a,display:"block"},a)})}e.exports=a}),null);
__d("PayoutSettingSectionTitle.react",["cx","FDSText.react","React"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return b("React").createElement("div",{className:"_77d0"},b("React").createElement(b("FDSText.react"),{size:"body3",weight:"bold",display:"block"},a.title))}e.exports=a}),null);
__d("PayoutSettingCompanyCard.react",["fbt","BizPayoutOnboardingActions","CompanyDetailUpdateFlowConfig","CompanyTypeFBT","DeveloperPaymentsSettingsFields","PaymentCompanyType","PayoutAddressBlock.react","PayoutEmailBlock.react","PayoutOnboardingSteps","PayoutSettingCard.react","PayoutSettingSection.react","PayoutSettingSectionField.react","PayoutSettingSectionTitle.react","PayoutSubtypes","PUIStringUtil","React","RelayModern","TaxIdTypeFBT","nullthrows","PayoutSettingCompanyCard_companyAddress.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();c=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;function a(a){var c=b("React").createElement(b("PayoutAddressBlock.react"),{street1:a.companyAddress.street1,street2:a.companyAddress.street2,address_city:a.companyAddress.address_city,address_state:a.companyAddress.address_state,zip:a.companyAddress.zip,country_code:a.companyAddress.country_code}),d=b("React").createElement(b("PayoutEmailBlock.react"),{emails:a.companyEmails}),e=b("PaymentCompanyType")[a.companyType.toString()].toString();c=b("React").createElement(b("PayoutSettingSection.react"),null,b("React").createElement(b("PayoutSettingSectionTitle.react"),{title:g._("Qu\u1ed1c gia")}),b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:b("PUIStringUtil").countryFbt(b("nullthrows")(a.companyAddress.country_code)),isDisabled:!0}),b("React").createElement(b("PayoutSettingSectionTitle.react"),{title:g._("T\u00ean t\u00e0i kho\u1ea3n")}),b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:a.companyName,isDisabled:!0}),b("React").createElement(b("PayoutSettingSectionTitle.react"),{title:g._("Lo\u1ea1i t\u00e0i kho\u1ea3n")}),b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:b("CompanyTypeFBT")[e]}),b("React").createElement(b("PayoutSettingSectionTitle.react"),{title:g._("Lo\u1ea1i m\u00e3 s\u1ed1 thu\u1ebf")}),b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:b("TaxIdTypeFBT")[a.companyTINType],isDisabled:!0}),b("React").createElement(b("PayoutSettingSectionTitle.react"),{title:g._("\u0110\u1ecba ch\u1ec9")}),b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:c}),b("React").createElement(b("PayoutSettingSectionTitle.react"),{title:g._("\u0110i\u1ec7n tho\u1ea1i")}),b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:a.companyPhone}),b("React").createElement(b("PayoutSettingSectionTitle.react"),{title:g._("Email")}),b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:d}));if(a.editable){var f={config:new(b("CompanyDetailUpdateFlowConfig"))(a.tinUpdateUnlocked,a.companyNameUpdateUnlocked),payoutSubtype:b("PayoutSubtypes").UNKNOWN,presetValues:(d={},d[b("DeveloperPaymentsSettingsFields").PRESET_FE_ID]=a.financialID,d[b("DeveloperPaymentsSettingsFields").COMPANY_COUNTRY]=a.companyAddress.country_code,d[b("DeveloperPaymentsSettingsFields").COMPANY_TYPE]=e,d[b("DeveloperPaymentsSettingsFields").COMPANY_NAME]=a.companyName,d[b("DeveloperPaymentsSettingsFields").COMPANY_STREET1]=b("PUIStringUtil").joinMaybeEmptyString([a.companyAddress.street1,a.companyAddress.street2]," "),d[b("DeveloperPaymentsSettingsFields").COMPANY_CITY]=a.companyAddress.address_city,d[b("DeveloperPaymentsSettingsFields").COMPANY_ZIP]=a.companyAddress.zip,d[b("DeveloperPaymentsSettingsFields").COMPANY_STATE]=a.companyAddress.address_state,d[b("DeveloperPaymentsSettingsFields").COMPANY_PHONE]=a.companyPhone,d[b("DeveloperPaymentsSettingsFields").COMPANY_EMAIL]=a.companyEmails[0],d[b("DeveloperPaymentsSettingsFields").COMPANY_TIN_TYPE]=a.companyTINType,d[b("DeveloperPaymentsSettingsFields").COMPANY_TIN]=a.companyTIN,d),callbacks:{}};return b("React").createElement(b("PayoutSettingCard.react"),{title:g._("T\u00e0i kho\u1ea3n"),sections:[c],rightLabel:g._("Ch\u1ec9nh s\u1eeda"),onClick:function(){b("BizPayoutOnboardingActions").resetOnboarding(f),b("BizPayoutOnboardingActions").showDialog()},stepName:b("PayoutOnboardingSteps").COMPANY_DETAILS})}else return b("React").createElement(b("PayoutSettingCard.react"),{title:g._("T\u00e0i kho\u1ea3n"),sections:[c],stepName:b("PayoutOnboardingSteps").COMPANY_DETAILS})}d=c(a,{companyAddress:function(){return b("PayoutSettingCompanyCard_companyAddress.graphql")}});e.exports=d}),null);
__d("PayoutSettingOwnerCard.react",["fbt","BizPayoutOnboardingActions","DeveloperPaymentsSettingsFields","OwnerInfoUpdateFlowConfig","PayoutAddressBlock.react","PayoutOnboardingSteps","PayoutSettingCard.react","PayoutSettingSection.react","PayoutSettingSectionField.react","PayoutSettingSectionTitle.react","PayoutSubtypes","PUIStringUtil","React","RelayModern","PayoutSettingOwnerCard_ownerAddress.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("PUIStringUtil").concatPersonName;c=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;function a(a){var c=h(a.ownerAddress.first_name,a.ownerAddress.middle_name,a.ownerAddress.last_name),d=b("React").createElement(b("PayoutAddressBlock.react"),{street1:a.ownerAddress.street1,street2:a.ownerAddress.street2,address_city:a.ownerAddress.address_city,address_state:a.ownerAddress.address_state,zip:a.ownerAddress.zip,country_code:a.ownerAddress.country_code});c=b("React").createElement(b("PayoutSettingSection.react"),null,b("React").createElement(b("PayoutSettingSectionTitle.react"),{title:g._("T\u00ean \u0111\u1ea7y \u0111\u1ee7")}),b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:c,isDisabled:!0}),b("React").createElement(b("PayoutSettingSectionTitle.react"),{title:g._("\u0110\u1ecba ch\u1ec9")}),b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:d}));if(a.editable){var e={config:new(b("OwnerInfoUpdateFlowConfig"))(),payoutSubtype:b("PayoutSubtypes").UNKNOWN,presetValues:(d={},d[b("DeveloperPaymentsSettingsFields").PRESET_FE_ID]=a.financialID,d[b("DeveloperPaymentsSettingsFields").OWNER_COUNTRY]=a.ownerAddress.country_code,d[b("DeveloperPaymentsSettingsFields").OWNER_FIRST_NAME]=a.ownerAddress.first_name,d[b("DeveloperPaymentsSettingsFields").OWNER_MIDDLE_NAME]=a.ownerAddress.middle_name,d[b("DeveloperPaymentsSettingsFields").OWNER_LAST_NAME]=a.ownerAddress.last_name,d[b("DeveloperPaymentsSettingsFields").OWNER_STREET1]=b("PUIStringUtil").joinMaybeEmptyString([a.ownerAddress.street1,a.ownerAddress.street2]," "),d[b("DeveloperPaymentsSettingsFields").OWNER_CITY]=a.ownerAddress.address_city,d[b("DeveloperPaymentsSettingsFields").OWNER_ZIP]=a.ownerAddress.zip,d[b("DeveloperPaymentsSettingsFields").OWNER_STATE]=a.ownerAddress.address_state,d),callbacks:{}};return b("React").createElement(b("PayoutSettingCard.react"),{title:g._("Ch\u1ee7 t\u00e0i kho\u1ea3n"),sections:[c],rightLabel:g._("Ch\u1ec9nh s\u1eeda"),onClick:function(){b("BizPayoutOnboardingActions").resetOnboarding(e),b("BizPayoutOnboardingActions").showDialog()},stepName:b("PayoutOnboardingSteps").BUSINESS_OWNER})}else return b("React").createElement(b("PayoutSettingCard.react"),{title:g._("Ch\u1ee7 t\u00e0i kho\u1ea3n"),sections:[c],stepName:b("PayoutOnboardingSteps").BUSINESS_OWNER})}d=c(a,{ownerAddress:function(){return b("PayoutSettingOwnerCard_ownerAddress.graphql")}});e.exports=d}),null);
__d("PayoutSettingTaxFormCard.react",["ix","cx","fbt","CompanyTypeUtil","CountryConstants","FDSButton.react","FDSButtonSpinner.react","FDSHorizontalLayout.react","FDSLink.react","FDSText.react","FileInput.react","Image.react","PaymentCompanyType","PayoutOnboardingSteps","PayoutSettingCard.react","PayoutSettingSection.react","PayoutSettingSectionField.react","PayoutSettingSectionSubtitle.react","React","RelayModern","TaxFormURL","XPayoutUtil","asset","suiMargin","PayoutSettingTaxFormCard_uploadMutation.graphql","PayoutSettingTaxFormCard_taxForm.graphql"],(function(a,b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=b("RelayModern").commitMutation;a=b("RelayModern").createFragmentContainer;b("RelayModern").graphql;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={uploading:!1},d.$1=function(a){a=b("XPayoutUtil").getFileInputUploader(a.target);a.setURI("/ajax/file_handle/upload.php");a.subscribe("success",function(a,b){a=b.response.payload;d.$2(a.meta,a.name)});a.subscribe("failure",function(a,b){d.setState({uploading:!1})});a.send();d.setState({uploading:!0})},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){var a;a=(a=(a=this.props)!=null?(a=a.taxForm)!=null?a.file_name:a:a)!=null?a:"";var c=a?b("React").createElement(b("React").Fragment,null,b("React").createElement(b("FDSText.react"),{size:"body3",display:"block",weight:"bold"},a),b("React").createElement(b("FDSText.react"),{color:"placeholder",size:"body3",display:"block"},i._("\u0110\u00e3 t\u1ea3i l\u00ean t\u1edd khai thu\u1ebf th\u00e0nh c\u00f4ng"))):b("React").createElement(b("FDSText.react"),{size:"body3",display:"block",weight:"bold",margin:"_3-8w"},i._("Kh\u00f4ng c\u00f3 file n\u00e0o \u0111\u01b0\u1ee3c t\u1ea3i l\u00ean"));c=b("React").createElement(b("FDSHorizontalLayout.react"),{wrapChildren:!1},b("React").createElement(b("Image.react"),{className:"_788y",src:g("511753")}),b("React").createElement("div",{className:"_788z"},c));var d,e;this.props.companyCountry===b("CountryConstants").UNITED_STATES?(e=b("TaxFormURL").W9,d=i._("T\u1edd khai W-9")):b("CompanyTypeUtil").isIndividual(b("PaymentCompanyType")[this.props.companyType.toString()].toString())?(e=b("TaxFormURL").W8_BEN,d=i._("T\u1edd khai W-8BEN")):(e=b("TaxFormURL").W8_BEN_E,d=i._("T\u1edd khai W-8BEN-E"));e=b("React").createElement(b("React").Fragment,null,b("React").createElement(b("PayoutSettingSectionSubtitle.react"),null,i._("C\u1eadp nh\u1eadt {tax form link}{=}",[i._param("tax form link",b("React").createElement(b("FDSLink.react"),{href:e,display:"inline"},b("React").createElement(b("FDSText.react"),{color:"blueLink",weight:"bold"},d))),i._param("=",b("React").createElement(b("FDSText.react"),{color:"secondary"},i._(".")))])),b("React").createElement(b("PayoutSettingSection.react"),null,b("React").createElement(b("PayoutSettingSectionField.react"),{leftContent:c,rightButton:this.props.editable?b("React").createElement(k,{uploaded:!!a,uploading:this.state.uploading,onFileChange:this.$1}):null})));return b("React").createElement(b("PayoutSettingCard.react"),{title:"Tax Information",sections:[e],stepName:b("PayoutOnboardingSteps").TAX_FORM})};d.$2=function(a,b){var c=this;j(this.props.relay.environment,{mutation:l,variables:{input:{preset_fe_id:this.props.financialID,tax_form:a,tax_form_file_name:b}},optimisticResponse:{update_financial_entity:{tax_form:{file_name:b}}},onCompleted:function(a){c.setState({uploading:!1})}})};return c}(b("React").Component);function k(a){var c="";a.uploading?c=i._("\u0110ang t\u1ea3i l\u00ean"):a.uploaded?c=i._("C\u1eadp nh\u1eadt"):c=i._("T\u1ea3i l\u00ean");return b("React").createElement(b("FileInput.react"),{name:"file",onChange:a.onFileChange,display:"block",multiple:!1},b("React").createElement(b("FDSButton.react"),{href:{url:"#"},label:c,busyIndicator:a.uploading?b("React").createElement(b("FDSButtonSpinner.react"),null):null}))}var l=function(){return b("PayoutSettingTaxFormCard_uploadMutation.graphql")};d=a(c,{taxForm:function(){return b("PayoutSettingTaxFormCard_taxForm.graphql")}});e.exports=d}),null);
__d("PayoutSettingPage.react",["BizPayoutOnboardingContainer.react","PayoutBusinessContactFormLink.react","PayoutFlowConfigName","PayoutHubTabID","PayoutMethodSettingCard.react","PayoutSettingAdminCard.react","PayoutSettingCompanyCard.react","PayoutSettingOwnerCard.react","PayoutSettingTaxFormCard.react","PayoutSubtypes","React","RelayFBEnvironment","RelayModern","nullthrows","PayoutSettingPageQuery.graphql"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var h=function(){return b("PayoutSettingPageQuery.graphql")};a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.$1=function(){return null};d.$2=function(a){return null};d.$3=function(a){__p&&__p();var c;a=a.financial_entity;if(a==null)return null;var d=b("nullthrows")(a.id);c=b("nullthrows")((c=a)!=null?(c=c.company_address)!=null?c.country_code:c:c);var e={configName:b("PayoutFlowConfigName").PAYOUT_METHOD_UPDATE,payoutSubtype:b("PayoutSubtypes").UNKNOWN,presetValues:{},callbacks:{}},f=[];a.payees.forEach(function(a){return f.push(b("nullthrows")(a.subtype))});var g=!f.includes(b("PayoutSubtypes").DON),h=Array.from(new Set(f));return f.includes("LGS")?b("React").createElement("div",null,b("React").createElement(b("BizPayoutOnboardingContainer.react"),e),b("React").createElement(b("PayoutSettingTaxFormCard.react"),{taxForm:a.tax_form,financialID:d,editable:g,companyType:b("nullthrows")(a.company_type),companyCountry:c}),b("React").createElement(b("PayoutBusinessContactFormLink.react"),{activeSubtypes:h})):b("React").createElement("div",{"data-testid":b("PayoutHubTabID").PAYOUT_SETTINGS},b("React").createElement(b("BizPayoutOnboardingContainer.react"),e),b("React").createElement(b("PayoutMethodSettingCard.react"),{companyCountry:c,payoutInfo:b("nullthrows")(a.payout_info),financialID:d,onboardingTypes:this.props.onboardingTypes,editable:g,activeSubtypes:h}),b("React").createElement(b("PayoutSettingTaxFormCard.react"),{taxForm:a.tax_form,financialID:d,editable:g,companyType:b("nullthrows")(a.company_type),companyCountry:c}),b("React").createElement(b("PayoutSettingCompanyCard.react"),{companyAddress:b("nullthrows")(a.company_address),companyName:b("nullthrows")(a.company_name),companyPhone:a.company_phone,financialID:d,companyType:b("nullthrows")(a.company_type),companyTINType:b("nullthrows")(a.company_tin_type),companyTIN:b("nullthrows")(a.company_tin),companyEmails:b("nullthrows")(a.company_emails),editable:g,tinUpdateUnlocked:b("nullthrows")(a.tin_update_unlocked),companyNameUpdateUnlocked:b("nullthrows")(a.company_name_update_unlocked)}),b("React").createElement(b("PayoutSettingOwnerCard.react"),{ownerAddress:b("nullthrows")(a.owner_address),financialID:d,editable:g}),b("React").createElement(b("PayoutSettingAdminCard.react"),{admins:b("nullthrows")(a.financial_entity_admins),financialID:d}),b("React").createElement(b("PayoutBusinessContactFormLink.react"),null))};d.render=function(){var a=this;return b("React").createElement(g,{environment:b("RelayFBEnvironment"),query:h,render:function(b){var c=b.error;b=b.props;if(c)return a.$2(c);else if(b)return a.$3(b);return a.$1()},variables:{id:this.props.financialID}})};return c}(b("React").Component);e.exports=a}),null);
__d("PayoutHubPage.react",["fbt","FDSText.react","PayoutHubFEDropdown.react","PayoutHubPayoutSourcesPage.react","PayoutHubTabContainer.react","PayoutHubTabID","PayoutSection.react","PayoutSettingPage.react","React","RelayFBEnvironment","RelayModern","WebFunnelLogger","nullthrows","suiMargin","PayoutHubPageQuery.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("RelayModern").QueryRenderer;b("RelayModern").graphql;var i=function(){return b("PayoutHubPageQuery.graphql")};a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c){__p&&__p();var d;d=a.call(this,c)||this;d.state={currentFEID:d.props.financialID,currentTab:d.props.tabID!==null&&d.props.tabID!==void 0&&Object.values(b("PayoutHubTabID")).indexOf(d.props.tabID)!==-1?d.props.tabID:b("PayoutHubTabID").PAYOUTS,currentPayoutsPage:1,currentEarningsPage:1,currentPayoutSourcesPage:1};d.onChangeFEID=function(a){d.setState({currentFEID:a})};d.onChangeTab=function(a){new(b("WebFunnelLogger"))("PayoutWebFunnelDefinition").setAction(a).setSessionKey("payout_hub").log(),d.setState({currentTab:a})};d.prevSectionPayoutSources=function(){d.setState(function(a){return{currentPayoutSourcesPage:a.currentPayoutSourcesPage-1}})};d.nextSectionPayoutSources=function(){d.setState(function(a){return{currentPayoutSourcesPage:a.currentPayoutSourcesPage+1}})};d.prevSectionPayouts=function(){d.setState(function(a){return{currentPayoutsPage:a.currentPayoutsPage-1}})};d.nextSectionPayouts=function(){d.setState(function(a){return{currentPayoutsPage:a.currentPayoutsPage+1}})};d.prevSectionEarnings=function(){d.setState(function(a){return{currentEarningsPage:a.currentEarningsPage-1}})};d.nextSectionEarnings=function(){d.setState(function(a){return{currentEarningsPage:a.currentEarningsPage+1}})};new(b("WebFunnelLogger"))("PayoutWebFunnelDefinition").setAction("load_hub").setSessionKey("payout_hub").log();return d}var d=c.prototype;d.getPageToRender=function(a){__p&&__p();if(a===null||a===void 0)return null;if(this.state.currentTab===b("PayoutHubTabID").PAYOUTS)return b("React").createElement(b("PayoutSection.react"),{sectionType:b("PayoutHubTabID").PAYOUTS,currentFEID:a,currentPage:this.state.currentPayoutsPage,prevSection:this.prevSectionPayouts,nextSection:this.nextSectionPayouts});else if(this.state.currentTab===b("PayoutHubTabID").EARNINGS)return b("React").createElement(b("PayoutSection.react"),{sectionType:b("PayoutHubTabID").EARNINGS,currentFEID:a,currentPage:this.state.currentEarningsPage,prevSection:this.prevSectionEarnings,nextSection:this.nextSectionEarnings});else if(this.state.currentTab===b("PayoutHubTabID").PAYOUT_SETTINGS)return b("React").createElement(b("PayoutSettingPage.react"),{financialID:a});else if(this.state.currentTab===b("PayoutHubTabID").PAYOUT_SOURCES)return b("React").createElement(b("PayoutHubPayoutSourcesPage.react"),{financialID:a,currentPage:this.state.currentPayoutSourcesPage,prevSection:this.prevSectionPayoutSources,nextSection:this.nextSectionPayoutSources});return null};d.$1=function(){return null};d.$2=function(a){return null};d.$3=function(a){a=a.financial_entity_by_admin.map(function(a){return{id:b("nullthrows")(a.id),company_name:b("nullthrows")(a.company_name)}});var c=this.state.currentFEID;c===null&&(c=a.length===0?null:a[0].id);a.find(function(a){return a.id===c})===void 0&&a.push({id:c||"",company_name:""});var d=this.getPageToRender(c);return b("React").createElement("div",null,b("React").createElement(b("PayoutHubFEDropdown.react"),{currentFEID:c,onChangeFEID:this.onChangeFEID,allFEs:a}),b("React").createElement(b("FDSText.react"),{size:"body3",margin:"_20nr _3-9b"},c!==null&&c!==void 0?g._("ID t\u00e0i kho\u1ea3n thanh to\u00e1n: {payout account id}",[g._param("payout account id",c)]):null),b("React").createElement(b("PayoutHubTabContainer.react"),{currentTab:this.state.currentTab,onChangeTab:this.onChangeTab}),d)};d.render=function(){var a=this;return b("React").createElement(h,{environment:b("RelayFBEnvironment"),query:i,render:function(b){var c=b.error;b=b.props;if(c)return a.$2(c);else if(b)return a.$3(b);return a.$1()},variables:{}})};return c}(b("React").Component);e.exports=a}),null);
__d("FBPaymentsGatingUtils",["gkx"],(function(a,b,c,d,e,f){"use strict";a={isPCINonCompliantBrowser:function(){return b("gkx")("676854")}};e.exports=a}),null);
__d("FBPaymentsPhysicalAddressBase.react",["fbt","P2PGKValues","React","URI","abstractMethod"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),h=0;h<e;h++)f[h]=arguments[h];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={isShowingForm:new(b("URI"))(window.location.href).getQueryData().action==="showPhysicalAddressForm",physicalAddressGK:b("P2PGKValues").SettingsPhysicalAddressEnabled,isUserCompliant:!0,physicalAddress:null,errorMessage:null},d.handleGetUserCompliance=function(a){d.setState({isUserCompliant:a})},d.handleGetPhysicalAddress=function(a){Object.keys(a).length>0&&d.setState({physicalAddress:a})},d.handleAPIError=function(a){d.setState({errorMessage:g._("\u0110\u00e3 x\u1ea3y ra l\u1ed7i khi x\u1eed l\u00fd y\u00eau c\u1ea7u. Vui l\u00f2ng th\u1eed l\u1ea1i sau")})},d.onAddPhysicalAddressClick=function(){d.setState({isShowingForm:!0})},d.onFormCancel=function(){d.setState({isShowingForm:!1})},d.getAddressText=function(){if(d.state.errorMessage)return d.state.errorMessage;else if(d.state.physicalAddress)return d.state.physicalAddress.single_line;else return g._("Vui l\u00f2ng th\u00eam \u0111\u1ecba ch\u1ec9 th\u1ef1c \u0111\u1ec3 tu\u00e2n th\u1ee7 c\u00e1c quy \u0111\u1ecbnh v\u1ec1 thanh to\u00e1n.")},d.fetchState=function(){return b("abstractMethod")("FBPaymentsPhysicalAddressBase","fetchState")},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.getTitle=function(){return g._("\u0110\u1ecba ch\u1ec9 th\u1ef1c")};d.getDisclaimer=function(){return g._("Ch\u00fang t\u00f4i c\u1ea7n c\u00f3 th\u00f4ng tin n\u00e0y \u0111\u1ec3 tu\u00e2n th\u1ee7 c\u00e1c quy \u0111\u1ecbnh m\u1edbi v\u1ec1 thanh to\u00e1n. \u0110\u1ecba ch\u1ec9 c\u1ee7a b\u1ea1n s\u1ebd \u0111\u01b0\u1ee3c l\u01b0u \u0111\u1ec3 d\u00f9ng tr\u00ean Facebook sau n\u00e0y v\u00e0 b\u1ea1n c\u00f3 th\u1ec3 c\u1eadp nh\u1eadt b\u1ea5t c\u1ee9 l\u00fac n\u00e0o trong ph\u1ea7n C\u00e0i \u0111\u1eb7t thanh to\u00e1n.")};d.getAddLinkText=function(){return g._("C\u1eadp nh\u1eadt \u0111\u1ecba ch\u1ec9 th\u1ef1c")};d.UNSAFE_componentWillMount=function(){this.fetchState()};d.renderComponent=function(){return b("abstractMethod")("FBPaymentsPhysicalAddressBase","renderComponent")};d.render=function(){return this.state.physicalAddressGK&&(!this.state.isUserCompliant||this.state.physicalAddress)?this.renderComponent():null};return c}(b("React").Component);e.exports=a}),null);
__d("FlowActionConstants",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({CHANGE_SUBSCRIPTION:"changesubscription",CREATE_SUBSCRIPTION:"createsubscription",MODIFY_SUBSCRIPTION:"modifysubscription",CANCEL_SUBSCRIPTION:"cancelsubscription",REACTIVATE_SUBSCRIPTION:"reactivatesubscription",SETTLE_SUBSCRIPTION:"settlesubscription",PURCHASE_ITEM:"purchaseitem",ADS_BILLING:"ads",WATCH_VIDEO:"watchvideo",BOOSTS:"boosts",REDEEM:"redeem",PAYWITHFACEBOOK_PERMISSION:"pwfpermission",FORM_FILL_AD:"formfillad",BRAZIL_TAX_ID:"braziltaxid",DONATION_PAYMENTS:"donation",GIFT_PAYMENTS:"giftpayments",NEKO_PAYMENTS:"nekopayments",AIR_MAIL:"airmail",COMMERCE_PAYMENTS:"commercepayments",PAYER_PROMOTION:"payerpromotion",PURCHASE_IAP:"purchaseiap"})}),null);
__d("P2PGatingFailReason",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({NON_PERSONAL_USER:"non_personal_user",IS_WORK_USER:"is_work_user",P2P_ENABLED_GK_FAIL:"p2p_enabled_gk_fail",P2P_ELIGIBLE_GK_FAIL:"p2p_eligible_gk_fail",SENDER_AND_RECEIVER_DIFFERENT_PRIMARY_PRODUCT:"sender_and_receiver_different_primary_product",HAS_NOT_RECEIVED_MONEY:"has_not_received_money",PAYMENT_ACCOUNT_DISABLED:"payment_account_disabled",MBASIC:"mbasic",IS_MESSENGER_ONLY_ACCOUNT:"is_messenger_only_account",IS_MOMENTS_ONLY_ACCOUNT:"is_moments_only_account",IS_PARTIES_ONLY_ACCOUNT:"is_parties_only_account",EXCEPTION:"exception",APP_CAPABILITY:"app_capability",USER_BLOCKED:"user_blocked",MESSAGES_BLOCKED:"messages_blocked",SVA_RECEIVER_GATING:"sva_receiver_gating",UNDER_AGE:"under_age",NO_ELIGIBLE_SVA:"no_eligible_sva",SENDER_AND_RECEIVER_ARE_SAME_USER:"sender_and_receiver_are_same_user",SENDER_PAYMENT_SETTING_IDV_PENDING:"sender_payment_setting_idv_pending",RECEIVER_PAYMENT_SETTING_IDV_PENDING:"receiver_payment_setting_idv_pending",SENDER_CANNOT_MESSAGE_RECEIVER:"sender_cannot_message_receiver",RECEIVER_CANNOT_MESSAGE_SENDER:"receiver_cannot_message_sender",MEMORIALIZED_USER:"memorialized_user",SANCTIONED_COUNTRY:"sanctioned_country"})}),null);
__d("PaymentCredentialTypeEnum",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({CREDIT_CARD:"credit_card",PAYPAL_BA:"paypal_ba",PAYPAL_TOKEN:"paypal_token",STORED_CREDIT:"stored_credit",ADS_STORED_BALANCE:"ads_stored_balance",EXTENDED_CREDIT:"extended_credit",FB_TOKEN:"fb_token",UPI:"upi",EXTERNAL_UPI:"external_upi",DIRECT_DEBIT:"direct_debit",EXTERNAL_WALLET:"external_wallet",STORED_VALUE:"stored_value",NET_BANKING:"net_banking",ALT_PAY:"alt_pay",GIFTCARD_BALANCE:"giftcard_balance",AFFIRM:"affirm",DUMMY:"dummy",NEW_CREDIT_CARD:"new_credit_card",NEW_PAYPAL_BA:"new_paypal_ba",NEW_EXTERNAL_WALLET:"new_external_wallet"})}),null);
__d("PaymentMethodTypes",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({AFFIRM:"affirm",BANK_ACCOUNT:"bank_account",CREDIT_CARD:"credit_card",PAYPAL:"paypal",UNKNOWN:"unknown"})}),null);
__d("PaymentSettingsNotificationType",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({P2P:"p2p",P2P_REQUEST:"p2p_request",EXPIRED_CC:"expired_cc",DPO:"dpo",DONATION_MATCH:"donation_match"})}),null);
__d("XPaymentSettingsShippingAddressMutationType",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({CREATE:"create",UPDATE:"update"})}),null);
__d("PaymentSettingsStringUtils",["fbt","P2PGatingFailReason","P2PLinkConstants","React"],(function(a,b,c,d,e,f,g){"use strict";a={getPaymentsDPOText:function(){return g._("V\u00ec m\u1ee5c \u0111\u00edch b\u1ea3o m\u1eadt, thanh to\u00e1n \u0111\u00e3 t\u1ea1m th\u1eddi b\u1ecb t\u1eaft. Vui l\u00f2ng {=contact us} \u0111\u1ec3 t\u00ecm hi\u1ec3u th\u00eam.",[g._param("=contact us",b("React").createElement("a",{href:b("P2PLinkConstants").disabledPaymentsSupportURI},"contact us"))])},getGeneralP2PDisabledText:function(){return g._("B\u1ea1n kh\u00f4ng th\u1ec3 s\u1eed d\u1ee5ng thanh to\u00e1n trong tin nh\u1eafn ngay l\u00fac n\u00e0y. Vui l\u00f2ng th\u1eed l\u1ea1i sau.")},getP2PDisabledText:function(a){switch(a){case b("P2PGatingFailReason").PAYMENT_ACCOUNT_DISABLED:return this.getPaymentsDPOText();default:return this.getGeneralP2PDisabledText()}}};e.exports=a}),null);
__d("FBPaymentsDeletePaymentAccountEmailMutationWebGraphQLMutation",["WebGraphQLMutationBase"],(function(a,b,c,d,e,f){"use strict";__p&&__p();e.exports=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}b.__getDocID=function(){return"1582096528507520"};b.getQueryID=function(){return"164188234159749"};return b}(b("WebGraphQLMutationBase"))}),null);
__d("XPaymentSettingNotificationController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payment/settings/notification/",{})}),null);
__d("XPaymentSettingsAddressComplianceController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payment/settings/address_compliant/",{})}),null);
__d("XPaymentSettingsAdsPaymentAccountController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payment/settings/ads_payments_account/",{})}),null);
__d("XPaymentSettingsGetP2PPasswordProtectionController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payment/settings/p2p_password_protection/",{})}),null);
__d("XPaymentSettingsGetPaymentMethodsController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payments/settings/payment_methods/",{})}),null);
__d("XPaymentSettingsGetShippingAddressesController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payments/settings/shipping_addresses/",{})}),null);
__d("XPaymentSettingsGetSubscriptionsController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payments/settings/subscriptions/",{})}),null);
__d("XPaymentSettingsGetUserBalanceController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payment/settings/balance/",{})}),null);
__d("XPaymentSettingsGetUserCurrencyController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payments/settings/user_currency/",{})}),null);
__d("XPaymentSettingsPhysicalAddressController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payment/settings/physical_address/",{})}),null);
__d("XPaymentSettingsPhysicalAddressMutatorController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payment/settings/physical_address/mutate/",{})}),null);
__d("XPaymentSettingsRemovePaymentMethodController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payments/settings/remove_card/",{})}),null);
__d("XPaymentSettingsSetUserCurrencyController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payments/settings/set_user_currency/",{})}),null);
__d("XPaymentSettingsShippingAddressMutatorController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payments/shipping_address/mutate/",{})}),null);
__d("XPaymentSettingsUserFENamesAsyncController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/payments/settings/fe_names/",{})}),null);