BizInboxCustomizedInstantReplyModal.react",["fbt","BIZInboxClientLogger","BizInboxAutomationConsts","BizInboxAutomationFbtUtils","BizInboxAutomationMessageAttachmentButton.react","BizInboxAutomationMessageMacroButton.react","BizInboxAutomationMessageNotice.react","BizInboxAutomationRuleMutation","BizInboxAutomationSaveChangesToast.react","BizInboxAutomationUtils","BizInboxCustomizedInstantReplyModalQuery.graphql","BizInboxCustomizedInstantReplyUtils","BizInboxFAQUpsellUtils","BizInboxFbtUtils","BizInboxMacroUtils","BizInboxNavChannel","BizInboxOnboardingContext","BizInboxOnboardingUtils","BizInboxStateContext","BizKitPagePhoneNumberSaveMutation","BizKitPageWebsiteSaveMutation","CometRelay","EmojiPickerContainer.react","GeoBaseContextualLayer.react","GeoBaseLayerBlurBehavior.react","GeoBaseText.react","GeoButton.react","GeoFlexbox.react","GeoMediaItem.react","GeoModal.react","GeoModalFooter.react","GeoModalHeader.react","GeoSection.react","GeoStatusIcon.react","GeoText.react","GeoTextInput.react","Image.react","LayerHideSources","MacroInput.react","WhatsAppBizxPlatformPhoneInput.react","addEmojiToEditorState","bizInboxOnboardingReducer","geoMargin","getBizKitInboxUri","isValidURL","libphonenumber-js","meta-brand-container-with-lid-filled-16","meta-brand-smiley-circle-filled-16","react","react-compiler-runtime","useBizInboxOnboardingReducers","useBizMsgPlatformPhoneUtils","useBoolean","useGeoTheme","useGeoToaster","useLocalScopesQueryParamForProfileManagement"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react")),d=u,m=d.useContext,p=d.useMemo,_=d.useRef,f=d.useState,g={composerContainer:{minWidth:"x1htk8sl",borderStartStartRadius:"xjwep3j",borderStartEndRadius:"x1t39747",borderEndEndRadius:"x1wcsgtt",borderEndStartRadius:"x1pczhz8",borderTopWidth:"x178xt8z",borderInlineEndWidth:"x1lun4ml",borderBottomWidth:"xso031l",borderInlineStartWidth:"xpilrb4",borderTopStyle:"x13fuv20",borderInlineEndStyle:"x18b5jzi",borderBottomStyle:"x1q0q8m5",borderInlineStartStyle:"x1t7ytsu",borderTopColor:"xb9moi8",borderInlineEndColor:"xe76qn7",borderBottomColor:"x21b0me",borderInlineStartColor:"x142aazg",marginBottom:"x1yztbdb",$$css:!0},composerContainerWithError:{minWidth:"x1htk8sl",borderStartStartRadius:"x1i5p2am",borderStartEndRadius:"x1whfx0g",borderEndEndRadius:"xr2y4jy",borderEndStartRadius:"x1ihp6rs",borderTopWidth:"x178xt8z",borderInlineEndWidth:"x1lun4ml",borderBottomWidth:"xso031l",borderInlineStartWidth:"xpilrb4",borderTopStyle:"x13fuv20",borderInlineEndStyle:"x18b5jzi",borderBottomStyle:"x1q0q8m5",borderInlineStartStyle:"x1t7ytsu",borderTopColor:"x1f29zjl",borderInlineEndColor:"x9qxj83",borderBottomColor:"xpvhgef",borderInlineStartColor:"x1jl8dwe",$$css:!0},composer:{minHeight:"x1k8w1vr",$$css:!0},toolbar:{marginLeft:"xet2fuk",marginInlineStart:null,marginInlineEnd:null,$$css:!0},composerButton:{borderTopWidth:"x972fbf",borderInlineEndWidth:"x10w94by",borderBottomWidth:"x1qhh985",borderInlineStartWidth:"x14e42zd",borderStartStartRadius:"x1i5p2am",borderStartEndRadius:"x1whfx0g",borderEndEndRadius:"xr2y4jy",borderEndStartRadius:"x1ihp6rs",marginTop:"x1xmf6yo",marginInlineEnd:"x2fvf9",marginBottom:"x1e56ztr",marginInlineStart:"xdwrcjd",$$css:!0},missingInfoSection:{paddingTop:"xyamay9",paddingInlineEnd:"xv54qhq",paddingBottom:"x1l90r2v",paddingInlineStart:"xf7dkkf",$$css:!0},mediaUpdateButtonContainer:{borderStartStartRadius:"xjwep3j",borderStartEndRadius:"x1t39747",borderEndEndRadius:"x1wcsgtt",borderEndStartRadius:"x1pczhz8",paddingTop:"x1iorvi4",paddingInlineEnd:"x11lfxj5",paddingBottom:"xjkvuk6",paddingInlineStart:"x135b78x",$$css:!0}},h=e!==void 0?e:e=n("BizInboxCustomizedInstantReplyModalQuery.graphql");function y(e){var t,n,a=o("react-compiler-runtime").c(91),l=e.props,u=e.queries,d=l.onHide,p=o("CometRelay").useRelayEnvironment(),y=m(r("BizInboxStateContext")),v=y.pageID,S=r("useGeoTheme")(),R=S.selectStaticBackgroundColor,L=m(r("BizInboxOnboardingContext")),E=L.tasksStatus,k;a[0]===Symbol.for("react.memo_cache_sentinel")?(k=[r("bizInboxOnboardingReducer")],a[0]=k):k=a[0];var I=r("useBizInboxOnboardingReducers")(k),T=r("useGeoToaster")(),D=T.add,x=f(!1),$=x[0],P=x[1],N=r("useLocalScopesQueryParamForProfileManagement")(),M=r("useBizMsgPlatformPhoneUtils")(),w=M.isValidPhone,A=_(!0),F=o("CometRelay").usePreloadedQuery(h,u.BizInboxCustomizedInstantReplyModalQueryReference),O=r("useBoolean")(!1),B=O.value,W=O.toggle,q=f(),U=q[0],V=q[1],H=f(""),G=H[0],z=H[1],j=f("US"),K=j[0],Q=j[1],X;a[1]!==F.biz_inbox_supported_macros?(X=o("BizInboxFAQUpsellUtils").getSupportedMacros({biz_inbox_supported_macros:F.biz_inbox_supported_macros}),a[1]=F.biz_inbox_supported_macros,a[2]=X):X=a[2];var Y=X,J;a[3]!==F.biz_inbox_automation_rule_query?(J=o("BizInboxAutomationUtils").getPredefinedAutomationRulePayload({biz_inbox_automation_rule_query:F.biz_inbox_automation_rule_query}),a[3]=F.biz_inbox_automation_rule_query,a[4]=J):J=a[4];var Z=J,ee=f(Y),te=ee[0],ne=ee[1],re=Y.some(b),oe=Y.some(C),ae=o("BizInboxCustomizedInstantReplyUtils").getInitTemplateText(re,oe),ie=re&&oe?null:oe?o("BizInboxCustomizedInstantReplyUtils").SITE_URL:o("BizInboxCustomizedInstantReplyUtils").PHONE_NUMBER,le=f(o("BizInboxMacroUtils").createEditorStateWithText(ae,function(e){ce(function(t){return o("BizInboxMacroUtils").removeMacro(e,t)})},te,ie,K,!1)),se=le[0],ue=le[1],ce=ue,de=r("BizInboxAutomationConsts").MAX_MESSAGE_CHARACTER,me;a[5]!==se?(me=se.getCurrentContent().getPlainText().trim(),a[5]=se,a[6]=me):me=a[6];var pe=me.length,_e=r("getBizKitInboxUri")(r("BizInboxNavChannel").AUTOMATED_RESPONSES,v),fe=Ge(),ge;e:{if(G.length===0){ge=!1;break e}if(ie===o("BizInboxCustomizedInstantReplyUtils").SITE_URL){var he;a[7]!==G?(he=r("isValidURL")(G),a[7]=G,a[8]=he):he=a[8],ge=he;break e}if(ie===o("BizInboxCustomizedInstantReplyUtils").PHONE_NUMBER){var ye;a[9]!==w||a[10]!==K||a[11]!==G?(ye=w!=null&&w(G,K),a[9]=w,a[10]=K,a[11]=G,a[12]=ye):ye=a[12],ge=ye;break e}ge=!1}var Ce=ge,be=fe&&Ce!==!0,ve=r("useBoolean")(!1),Se=ve.value,Re=ve.set,Le=f(null),Ee=Le[0],ke=Le[1],Ie;a[13]!==Re?(Ie=function(){Re(!0)},a[13]=Re,a[14]=Ie):Ie=a[14];var Te=Ie,De;a[15]!==Re?(De=function(){Re(!1)},a[15]=Re,a[16]=De):De=a[16];var xe=De,$e;a[17]!==Re?($e=function(t,n,r){var e={id:String(t),type:n!=null?n:"",url:r};ke(e),Re(!1)},a[17]=Re,a[18]=$e):$e=a[18];var Pe=$e,Ne;a[19]===Symbol.for("react.memo_cache_sentinel")?(Ne=function(){ke(null)},a[19]=Ne):Ne=a[19];var Me=Ne,we;a[20]!==Se||a[21]!==Ee||a[22]!==xe||a[23]!==Te||a[24]!==Pe||a[25]!==v?(we=function(){return Ee==null?null:c.jsxs(r("GeoFlexbox.react"),{direction:"row",alignItems:"center",justifyContent:"space-between",xstyle:r("geoMargin").bottom16,children:[c.jsx(r("GeoMediaItem.react"),{fit:"cover",media:c.jsx(r("Image.react"),{src:Ee.url}),size:64}),c.jsxs(r("GeoFlexbox.react"),{direction:"row",alignItems:"center",xstyle:g.mediaUpdateButtonContainer,children:[c.jsx(r("BizInboxAutomationMessageAttachmentButton.react"),{isDisabled:Se,pageID:v,variant:"default",label:s._(/*BTDS*/"Edit media"),isLabelHidden:!1,showIcon:!1,onUploadStart:Te,onUploadSuccess:function(t,n,r){return Pe(t,n,r)},onUploadFailure:xe}),c.jsx(r("GeoButton.react"),{"data-testid":void 0,logging:{surface:"automation-media-support-add-ons-button-fcab"},variant:"default",icon:o("meta-brand-container-with-lid-filled-16").metaBrandContainerWithLidTrashFilled16,isLabelHidden:!0,label:"",onClick:Me,xstyle:r("geoMargin").start4})]})]})},a[20]=Se,a[21]=Ee,a[22]=xe,a[23]=Te,a[24]=Pe,a[25]=v,a[26]=we):we=a[26];var Ae=we,Fe=function(t){var e=t,n=t.getCurrentContent().getPlainText().length;n>de&&(e=o("BizInboxMacroUtils").createEditorStateWithText(t.getCurrentContent().getPlainText().slice(0,de),function(e){ce(function(t){return o("BizInboxMacroUtils").removeMacro(e,t)})},te,ie,K,Ce)),ce(e)},Oe=function(){var e;return c.jsxs(r("GeoFlexbox.react"),{xstyle:[(e=r("geoMargin")).horiz12,e.vert8,g.composer],children:[c.jsx("div",{className:"x1k8w1vr xh8yej3",children:c.jsx(r("MacroInput.react"),{className:"x1f6kntn",editorState:se,onChange:Fe,readOnly:!1,webDriverTestID:"automation_message_section_text_input"})}),c.jsx(r("GeoFlexbox.react"),{alignItems:"end",direction:"column",xstyle:[e.start4,e.top4],children:c.jsxs(r("GeoBaseText.react"),{color:"placeholder",size:"accent",display:"block",children:[pe,"/",de]})})]})},Be=function(){return c.jsxs(r("GeoFlexbox.react"),{direction:"row",justifyContent:"start",xstyle:g.toolbar,children:[We(),qe(),Ve()]})};function We(){return c.jsx(r("BizInboxAutomationMessageMacroButton.react"),{supportedMacros:Y,onAddMacro:function(t){ce(o("BizInboxMacroUtils").addMacro(t,se))},variant:"flat",xstyle:[R({surface:"wash",isMuted:!0}),g.composerButton],isCustomizedInstantReply:!0})}We.displayName=We.name+" [from "+i.id+"]";function qe(){return c.jsx(r("GeoButton.react"),{variant:"flat",containerRef:V,onClick:W,label:o("BizInboxAutomationFbtUtils").getMessageSectionEmojiButtonLabel(),isLabelHidden:!0,tooltip:o("BizInboxAutomationFbtUtils").getMessageSectionEmojiButtonLabel(),icon:o("meta-brand-smiley-circle-filled-16").metaBrandSmileyCircleFilled16,xstyle:[R({surface:"wash",isMuted:!0}),g.composerButton]})}qe.displayName=qe.name+" [from "+i.id+"]";var Ue=function(){return!B||U==null?null:c.jsx(r("GeoBaseLayerBlurBehavior.react"),{context:U,onBlur:W,children:c.jsx(r("GeoBaseContextualLayer.react"),{align:"start",context:U,position:"below",children:c.jsx(r("EmojiPickerContainer.react"),{onSelect:function(t){r("addEmojiToEditorState")(t,se,ce)}})})})};function Ve(){return c.jsx(r("BizInboxAutomationMessageAttachmentButton.react"),{isDisabled:Se||Ee!=null,pageID:v,variant:"flat",label:o("BizInboxAutomationFbtUtils").getUpdatedAddMediaButtonLabel(),isLabelHidden:!0,showIcon:!0,onUploadStart:Te,onUploadSuccess:function(t,n,r){return Pe(t,n,r)},onUploadFailure:xe,xstyle:[R({surface:"wash",isMuted:!0}),g.composerButton]})}Ve.displayName=Ve.name+" [from "+i.id+"]";var He=function(t){z(t);var e=te.findIndex(function(e){return e.key===ie}),n={key:ie===o("BizInboxCustomizedInstantReplyUtils").SITE_URL?o("BizInboxCustomizedInstantReplyUtils").SITE_URL:o("BizInboxCustomizedInstantReplyUtils").PHONE_NUMBER,value:t,title:"",isAvailable:!0,instagramDescription:"temp macro",example:"",description:"added through missing info section"},a;e!==-1?(a=[].concat(te),a[e]=n):a=[].concat(te,[n]),ne(a);var i=t.length>0&&(ie===o("BizInboxCustomizedInstantReplyUtils").SITE_URL?r("isValidURL")(t):w!=null&&w(t,K)),l=se.getCurrentContent().getPlainText(),s=o("BizInboxMacroUtils").createEditorStateWithText(l,function(e){ce(function(t){return o("BizInboxMacroUtils").removeMacro(e,t)})},a,ie,K,i);ce(s)};function Ge(){var e=se.getCurrentContent().getPlainText();return!!(e.includes("{{site_url}}")&&ie===o("BizInboxCustomizedInstantReplyUtils").SITE_URL||e.includes("{{phone_number}}")&&ie===o("BizInboxCustomizedInstantReplyUtils").PHONE_NUMBER)}var ze;a[27]!==se||a[28]!==p||a[29]!==N||a[30]!==ie||a[31]!==v||a[32]!==G?(ze=function(){var e=se.getCurrentContent().getPlainText();ie===o("BizInboxCustomizedInstantReplyUtils").SITE_URL&&e.includes("{{site_url}}")&&o("BizKitPageWebsiteSaveMutation").websitePageSaveMutation(p,{websites:[{fbid:null,privacy:null,website:G}]},N,function(){o("BIZInboxClientLogger").logCustomizedInstantReplySaveSuccess(v,"new_website")},function(e){o("BIZInboxClientLogger").logCustomizedInstantReplySaveFailure(v,e,"new_website")})},a[27]=se,a[28]=p,a[29]=N,a[30]=ie,a[31]=v,a[32]=G,a[33]=ze):ze=a[33];var je=ze,Ke;a[34]!==se||a[35]!==p||a[36]!==ie||a[37]!==v||a[38]!==K||a[39]!==G?(Ke=function(){var e=se.getCurrentContent().getPlainText();if(ie===o("BizInboxCustomizedInstantReplyUtils").PHONE_NUMBER&&e.includes("{{phone_number}}")){var t=o("libphonenumber-js").formatNumber(G,K,"INTERNATIONAL");o("BizKitPagePhoneNumberSaveMutation").pagePhoneNumberSaveMutation(p,{phone_number:t},function(){o("BIZInboxClientLogger").logCustomizedInstantReplySaveSuccess(v,"new_phone_number")},function(e){o("BIZInboxClientLogger").logCustomizedInstantReplySaveFailure(v,e,"new_phone_number")})}},a[34]=se,a[35]=p,a[36]=ie,a[37]=v,a[38]=K,a[39]=G,a[40]=Ke):Ke=a[40];var Qe=Ke,Xe;if(a[41]!==D||a[42]!==((t=Z.actionData)==null?void 0:t.actionID)||a[43]!==Z.followupQuestionLinkStatus||a[44]!==((n=Z.nextLinkedAutomationRule)==null?void 0:n.id)||a[45]!==Z.ruleID||a[46]!==se||a[47]!==p||a[48]!==Ee||a[49]!==d||a[50]!==I||a[51]!==v||a[52]!==Qe||a[53]!==je||a[54]!==E){var Ye,Je;Xe=function(){var e,t,n=o("BizInboxAutomationUtils").getPredefinedAutomationSavingPayload(v,"INSTANT_REPLY",{ruleID:Z.ruleID,assetTypes:["MESSENGER"],conditionData:{conditionFieldType:"INSTANT_REPLY"},actionData:{actionID:(e=Z.actionData)==null?void 0:e.actionID,text:se.getCurrentContent().getPlainText(),attachment:Ee},followupQuestionLinkStatus:Z==null?void 0:Z.followupQuestionLinkStatus,nextLinkedAutomationRuleID:Z==null||(t=Z.nextLinkedAutomationRule)==null?void 0:t.id});o("BizInboxAutomationRuleMutation").commit(p,n,{onSuccess:function(){A.current=!1,o("BIZInboxClientLogger").logCustomizedInstantReplySaveSuccess(v,"customized_automation"),D(c.jsx(r("BizInboxAutomationSaveChangesToast.react"),{isSuccess:!0})),o("BizInboxOnboardingUtils").bizInboxOnboardingTaskActionComplete(v,E,p,I,"INSTANT_REPLY"),je(),Qe(),P(!1),d(r("LayerHideSources").LAYER_HIDE_BUTTON)},onFailure:function(t){P(!1),o("BIZInboxClientLogger").logCustomizedInstantReplySaveFailure(v,t,"customized_automation"),D(c.jsx(r("BizInboxAutomationSaveChangesToast.react"),{isSuccess:!1}))}},!0)},a[41]=D,a[42]=(Ye=Z.actionData)==null?void 0:Ye.actionID,a[43]=Z.followupQuestionLinkStatus,a[44]=(Je=Z.nextLinkedAutomationRule)==null?void 0:Je.id,a[45]=Z.ruleID,a[46]=se,a[47]=p,a[48]=Ee,a[49]=d,a[50]=I,a[51]=v,a[52]=Qe,a[53]=je,a[54]=E,a[55]=Xe}else Xe=a[55];var Ze=Xe,et;a[56]===Symbol.for("react.memo_cache_sentinel")?(et=function(t,n){Q(n)},a[56]=et):et=a[56];var tt=et,nt=function(t){z(t),He(t)},rt=function(){return c.jsxs(r("GeoFlexbox.react"),{direction:"column",gap:8,xstyle:[R({surface:"wash",isMuted:!0}),g.missingInfoSection],children:[c.jsxs(r("GeoFlexbox.react"),{direction:"row",alignItems:"center",children:[Ce!==!0&&c.jsx("span",{className:"x1kky2od xlup9mm xs7f9wi xnnr8r x1n2onr6",children:c.jsx(r("GeoStatusIcon.react"),{size:12,status:"warning"})}),c.jsx(r("GeoBaseText.react"),{size:"header4",color:"value",children:o("BizInboxFbtUtils").getCustomizedInstantReplyModalMissingInfoSectionHeading()})]}),c.jsx(r("GeoText.react"),{children:o("BizInboxFbtUtils").getCustomizedInstantReplyModalMissingInfoSectionDescription()}),c.jsxs(r("GeoFlexbox.react"),{direction:"row",alignItems:"center",gap:40,children:[c.jsx(r("GeoBaseText.react"),{size:"value",color:"value",weight:"bold",xstyle:r("geoMargin").end16,children:o("BizInboxCustomizedInstantReplyUtils").getMissingInformationSectionField(ie)}),ie===o("BizInboxCustomizedInstantReplyUtils").PHONE_NUMBER?c.jsx(r("WhatsAppBizxPlatformPhoneInput.react"),{countryCode:K,isLabelHidden:!0,label:"Phone Number",onPhoneChange:nt,onPhoneCodeChange:tt,phone:G,isValid:Ce}):c.jsx(r("GeoTextInput.react"),{label:"Missing information",isLabelHidden:!0,placeholder:o("BizInboxCustomizedInstantReplyUtils").getMissingInformationSectionPlaceholder(ie),isValid:Ce,value:G,onChange:He})]})]})},ot=g.composerContainer,at=null,it="";if(pe===0){ot=g.composerContainerWithError,at="error";var lt;a[57]===Symbol.for("react.memo_cache_sentinel")?(lt=o("BizInboxAutomationFbtUtils").getEmptyMessageErrorMessage(),a[57]=lt):lt=a[57],it=lt}var st;a[58]===Symbol.for("react.memo_cache_sentinel")?(st=c.jsx(r("GeoModalHeader.react"),{heading:o("BizInboxFbtUtils").getCustomizedInstantReplyModalTitle()}),a[58]=st):st=a[58];var ut;a[59]===Symbol.for("react.memo_cache_sentinel")?(ut=o("BizInboxFbtUtils").getCustomizedInstantReplyModalCTAButton(),a[59]=ut):ut=a[59];var ct;a[60]!==Ze?(ct=function(){P(!0),Ze()},a[60]=Ze,a[61]=ct):ct=a[61];var dt;a[62]!==d||a[63]!==v?(dt=function(t){d(t),A.current===!0&&o("BIZInboxClientLogger").logCustomizedInstantReplyDismiss(v)},a[62]=d,a[63]=v,a[64]=dt):dt=a[64];var mt=r("GeoSection.react"),pt=r("GeoFlexbox.react"),_t="column",ft=o("BizInboxFbtUtils").getCustomizedInstantReplyModalDescription(_e),gt;a[65]!==ft?(gt=c.jsx(r("GeoText.react"),{xstyle:r("geoMargin").bottom16,children:ft}),a[65]=ft,a[66]=gt):gt=a[66];var ht;a[67]===Symbol.for("react.memo_cache_sentinel")?(ht=c.jsx(r("GeoBaseText.react"),{size:"value",weight:"bold",color:"heading",xstyle:r("geoMargin").bottom8,children:o("BizInboxFbtUtils").getCustomizedInstantReplyModalComposerHeading()}),a[67]=ht):ht=a[67];var yt=ot,Ct;a[68]!==Oe?(Ct=Oe(),a[68]=Oe,a[69]=Ct):Ct=a[69];var bt=Be(),vt=Ue(),St;a[70]!==ot||a[71]!==Ct||a[72]!==bt||a[73]!==vt?(St=c.jsxs(r("GeoFlexbox.react"),{direction:"column",xstyle:yt,children:[Ct,bt,vt]}),a[70]=ot,a[71]=Ct,a[72]=bt,a[73]=vt,a[74]=St):St=a[74];var Rt;a[75]!==it||a[76]!==at?(Rt=c.jsx(r("BizInboxAutomationMessageNotice.react"),{status:at,message:it}),a[75]=it,a[76]=at,a[77]=Rt):Rt=a[77];var Lt;a[78]!==Ae?(Lt=Ae(),a[78]=Ae,a[79]=Lt):Lt=a[79];var Et=Ge()&&rt(),kt;a[80]!==pt||a[81]!==gt||a[82]!==ht||a[83]!==St||a[84]!==Rt||a[85]!==Lt||a[86]!==Et?(kt=c.jsxs(pt,{direction:_t,children:[gt,ht,St,Rt,Lt,Et]}),a[80]=pt,a[81]=gt,a[82]=ht,a[83]=St,a[84]=Rt,a[85]=Lt,a[86]=Et,a[87]=kt):kt=a[87];var It;return a[88]!==mt||a[89]!==kt?(It=c.jsx(mt,{children:kt}),a[88]=mt,a[89]=kt,a[90]=It):It=a[90],c.jsx(r("GeoModal.react"),{header:st,footer:c.jsx(r("GeoModalFooter.react"),{primaryButton:c.jsx(r("GeoButton.react"),{variant:"primary",label:ut,isDisabled:be||$||pe===0,isLoading:$,onClick:ct})}),onHide:dt,children:It})}y.displayName=y.name+" [from "+i.id+"]";function C(e){return e.key===o("BizInboxCustomizedInstantReplyUtils").PHONE_NUMBER}function b(e){return e.key===o("BizInboxCustomizedInstantReplyUtils").SITE_URL}l.default=y}),226);
-----
BizInboxCustomizedInstantReplyModalQuery.graphql",["BizInboxCustomizedInstantReplyModalQuery_facebookRelayOperation","relay-runtime"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e={defaultValue:null,kind:"LocalArgument",name:"automationType"},t={defaultValue:null,kind:"LocalArgument",name:"pageID"},r={alias:null,args:[{kind:"Variable",name:"automation_type",variableName:"automationType"},{kind:"Variable",name:"page_id",variableName:"pageID"}],concreteType:"BizInboxSupportedMacros",kind:"LinkedField",name:"biz_inbox_supported_macros",plural:!1,selections:[{alias:null,args:null,concreteType:"BizInboxMacro",kind:"LinkedField",name:"macros",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"example",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"instagram_description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_available",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null}],storageKey:null},o=[{kind:"Variable",name:"asset_id",variableName:"pageID"},{kind:"Literal",name:"predefined_usecases",value:["INSTANT_REPLY"]}],a={alias:null,args:null,kind:"ScalarField",name:"rule_id",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"rule_status",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"asset_types",storageKey:null},s={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"action_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},{alias:null,args:null,concreteType:"BizInboxAutomationAttachment",kind:"LinkedField",name:"attachments",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null}],storageKey:null}],type:"BizInboxAutomatedSendMessageActionResponse",abstractKey:null};return{fragment:{argumentDefinitions:[e,t],kind:"Fragment",metadata:null,name:"BizInboxCustomizedInstantReplyModalQuery",selections:[r,{alias:null,args:o,concreteType:"BizInboxAutomationRuleResponse",kind:"LinkedField",name:"biz_inbox_automation_rule_query",plural:!0,selections:[a,i,l,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"action_data_list",plural:!0,selections:[s],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[t,e],kind:"Operation",name:"BizInboxCustomizedInstantReplyModalQuery",selections:[r,{alias:null,args:o,concreteType:"BizInboxAutomationRuleResponse",kind:"LinkedField",name:"biz_inbox_automation_rule_query",plural:!0,selections:[a,i,l,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"action_data_list",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},s],storageKey:null}],storageKey:null}]},params:{id:n("BizInboxCustomizedInstantReplyModalQuery_facebookRelayOperation"),metadata:{},name:"BizInboxCustomizedInstantReplyModalQuery",operationKind:"query",text:null}}})();n("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),a.exports=e}),null);
-----
BizInboxCustomizedInstantReplyModal.entrypoint",["BizInboxCustomizedInstantReplyModalQuery$Parameters","JSResourceForInteraction"],(function(t,n,r,o,a,i,l){"use strict";var e={getPreloadProps:function(t){var e=t.pageID,n=t.automationType;return{queries:{BizInboxCustomizedInstantReplyModalQueryReference:{parameters:r("BizInboxCustomizedInstantReplyModalQuery$Parameters"),variables:{pageID:e,automationType:n}}}}},root:r("JSResourceForInteraction")("BizInboxCustomizedInstantReplyModal.react").__setRef("BizInboxCustomizedInstantReplyModal.entrypoint")};l.default=e}),98);
-----
BizInboxCustomizedInstantReplyModalQuery$Parameters",["BizInboxCustomizedInstantReplyModalQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e={kind:"PreloadableConcreteRequest",params:{id:n("BizInboxCustomizedInstantReplyModalQuery_facebookRelayOperation"),metadata:{},name:"BizInboxCustomizedInstantReplyModalQuery",operationKind:"query",text:null}};a.exports=e}),null);
-----
BizInboxCustomizedInstantReplyModalQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="25300167356285737"}),null);
-----
-----
BizInboxCustomizedInstantReplyModalQuery.graphql",["BizInboxCustomizedInstantReplyModalQuery_facebookRelayOperation","relay-runtime"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e={defaultValue:null,kind:"LocalArgument",name:"automationType"},t={defaultValue:null,kind:"LocalArgument",name:"pageID"},r={alias:null,args:[{kind:"Variable",name:"automation_type",variableName:"automationType"},{kind:"Variable",name:"page_id",variableName:"pageID"}],concreteType:"BizInboxSupportedMacros",kind:"LinkedField",name:"biz_inbox_supported_macros",plural:!1,selections:[{alias:null,args:null,concreteType:"BizInboxMacro",kind:"LinkedField",name:"macros",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"example",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"instagram_description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_available",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null}],storageKey:null},o=[{kind:"Variable",name:"asset_id",variableName:"pageID"},{kind:"Literal",name:"predefined_usecases",value:["INSTANT_REPLY"]}],a={alias:null,args:null,kind:"ScalarField",name:"rule_id",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"rule_status",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"asset_types",storageKey:null},s={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"action_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},{alias:null,args:null,concreteType:"BizInboxAutomationAttachment",kind:"LinkedField",name:"attachments",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null}],storageKey:null}],type:"BizInboxAutomatedSendMessageActionResponse",abstractKey:null};return{fragment:{argumentDefinitions:[e,t],kind:"Fragment",metadata:null,name:"BizInboxCustomizedInstantReplyModalQuery",selections:[r,{alias:null,args:o,concreteType:"BizInboxAutomationRuleResponse",kind:"LinkedField",name:"biz_inbox_automation_rule_query",plural:!0,selections:[a,i,l,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"action_data_list",plural:!0,selections:[s],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[t,e],kind:"Operation",name:"BizInboxCustomizedInstantReplyModalQuery",selections:[r,{alias:null,args:o,concreteType:"BizInboxAutomationRuleResponse",kind:"LinkedField",name:"biz_inbox_automation_rule_query",plural:!0,selections:[a,i,l,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"action_data_list",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},s],storageKey:null}],storageKey:null}]},params:{id:n("BizInboxCustomizedInstantReplyModalQuery_facebookRelayOperation"),metadata:{},name:"BizInboxCustomizedInstantReplyModalQuery",operationKind:"query",text:null}}})();n("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),a.exports=e}),null);
-----
BizInboxCustomizedInstantReplyModal.entrypoint",["BizInboxCustomizedInstantReplyModalQuery$Parameters","JSResourceForInteraction"],(function(t,n,r,o,a,i,l){"use strict";var e={getPreloadProps:function(t){var e=t.pageID,n=t.automationType;return{queries:{BizInboxCustomizedInstantReplyModalQueryReference:{parameters:r("BizInboxCustomizedInstantReplyModalQuery$Parameters"),variables:{pageID:e,automationType:n}}}}},root:r("JSResourceForInteraction")("BizInboxCustomizedInstantReplyModal.react").__setRef("BizInboxCustomizedInstantReplyModal.entrypoint")};l.default=e}),98);
-----
BizInboxCustomizedInstantReplyModalQuery$Parameters",["BizInboxCustomizedInstantReplyModalQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e={kind:"PreloadableConcreteRequest",params:{id:n("BizInboxCustomizedInstantReplyModalQuery_facebookRelayOperation"),metadata:{},name:"BizInboxCustomizedInstantReplyModalQuery",operationKind:"query",text:null}};a.exports=e}),null);
-----
BizInboxCustomizedInstantReplyModalQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="25300167356285737"}),null);
-----