AdsBrandSafetyAdAccountPublisherBlockListsTable.react",["fbt","ix","AdsBrandSafetyAdAccountPublisherBlockListsTableQuery.graphql","AdsBrandSafetyAdAccountPublisherBlockListsTable_data.graphql","CometPlaceholder.react","GeoBaseText.react","GeoCard.react","GeoDivider.react","GeoEmptyState.react","GeoFlexbox.react","GeoHStack.react","GeoIcon.react","GeoSection.react","GeoTable.react","GeoTableContentCell.react","GeoTableLoadingState.react","GeoTableWidth","GeoTextInput.react","GeoTextLoadingState.react","GeoTextPairing.react","GeoVStack.react","IPB4BImage.react","RelayHooks","createGeoTableDataSource","equalsSet","geoHeight","geoMargin","geoWidth","intlNumUtils","meta-brand-circle-handle-outline-16","meta-brand-padlock-closed-outline-16","react","react-compiler-runtime","useGeoTableRowSelection","useGeoTableRowSelectionState","useGeoTableVirtualization"],(function(t,n,r,o,a,i,l,s,u){"use strict";var e,c,d,m=d||(d=o("react")),p=d,_=p.useCallback,f=p.useEffect,g=p.useMemo,h=p.useState,y={tableRow:{minHeight:"x1ba4aug",alignItems:"x6s0dn4",$$css:!0},tableRowIcon:{alignItems:"x6s0dn4",marginInlineEnd:"x1xegmmw",$$css:!0},table:{width:"xh8yej3",maxHeight:"x62v5gn",$$css:!0},footer:{marginInlineStart:"xyqm7xq",marginBottom:"xod5an3",$$css:!0}},C=200,b=e!==void 0?e:e=n("AdsBrandSafetyAdAccountPublisherBlockListsTable_data.graphql");function v(e){var t=o("react-compiler-runtime").c(16),n=e.currentAccountWithMeta,a=e.onToggle,l=e.rootID,u=e.totalAppliedPublisherBlockLists,c=h(),d=c[0],p=c[1],_;t[0]===Symbol.for("react.memo_cache_sentinel")?(_=[r("geoMargin").top12,r("geoWidth").autoWidth,r("geoHeight").fullHeight],t[0]=_):_=t[0];var f,g;t[1]===Symbol.for("react.memo_cache_sentinel")?(f=s._(/*BTDS*/"u0938u0930u094du091a u0915u0930u0947u0902"),g=s._(/*BTDS*/"u092au092cu094du0932u093fu0936u0930 u092cu094du0932u0949u0915 u0932u093fu0938u094du091f u0938u0930u094du091a u0915u0930u0947u0902 u0914u0930 u0909u0928u094du0939u0947u0902 u0932u093eu0917u0942 u0915u0930u0947u0902"),t[1]=f,t[2]=g):(f=t[1],g=t[2]);var y;t[3]===Symbol.for("react.memo_cache_sentinel")?(y=function(){return p(null)},t[3]=y):y=t[3];var C;t[4]!==d?(C=m.jsx(r("GeoSection.react"),{children:m.jsx(r("GeoTextInput.react"),{"data-testid":void 0,icon:o("meta-brand-circle-handle-outline-16").metaBrandCircleHandleOutline16,isLabelHidden:!0,label:f,placeholder:g,value:d,onChange:p,onClear:y})}),t[4]=d,t[5]=C):C=t[5];var b;t[6]===Symbol.for("react.memo_cache_sentinel")?(b=m.jsx(r("GeoTableLoadingState.react"),{numColumns:1,rowCellRenderer:S,loggingName:i.id}),t[6]=b):b=t[6];var v;t[7]!==n||t[8]!==a||t[9]!==l||t[10]!==d||t[11]!==u?(v=m.jsx(r("CometPlaceholder.react"),{fallback:b,name:i.id,children:m.jsx(L,{currentAccountWithMeta:n,rootID:l,searchTerm:d,totalAppliedPublisherBlockLists:u,onToggle:a})}),t[7]=n,t[8]=a,t[9]=l,t[10]=d,t[11]=u,t[12]=v):v=t[12];var R;return t[13]!==C||t[14]!==v?(R=m.jsxs(r("GeoCard.react"),{"data-testid":void 0,isOverflowXAuto:!1,isOverflowYAuto:!1,xstyle:_,children:[C,v]}),t[13]=C,t[14]=v,t[15]=R):R=t[15],R}function S(){return m.jsx(r("GeoTextLoadingState.react"),{width:80,loggingName:i.id})}S.displayName=S.name+" [from "+i.id+"]";function R(){var e=o("react-compiler-runtime").c(3),t,n;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s._(/*BTDS*/"u0906u092au0915u0940 u0938u0930u094du091a u0938u0947 u092eu0948u091a u0915u0930u0928u0947 u0935u093eu0932u0940 u0915u094bu0908 u092au092cu094du0932u093fu0936u0930 u092cu094du0932u0949u0915 u0932u093fu0938u094du091f u0928u0939u0940u0902 u092eu093fu0932u0940. u0915u0943u092au092fu093e u092bu093fu0930 u0938u0947 u0915u094bu0936u093fu0936 u0915u0930u0947u0902."),n=s._(/*BTDS*/"u0915u094bu0908 u092au0930u093fu0923u093eu092e u0928u0939u0940u0902 u092eu093fu0932u093e"),e[0]=t,e[1]=n):(t=e[0],n=e[1]);var a;return e[2]===Symbol.for("react.memo_cache_sentinel")?(a=m.jsx(r("GeoEmptyState.react"),{"data-testid":void 0,description:t,heading:n,media:m.jsx(r("IPB4BImage.react"),{"data-testid":void 0,height:250,src:u("264858"),width:250}),xstyle:r("geoHeight").autoHeight}),e[2]=a):a=e[2],a}function L(e){var t,a,i,l,u=o("react-compiler-runtime").c(31),d=e.currentAccountWithMeta,p=e.onToggle,_=e.rootID,g=e.searchTerm,v=e.totalAppliedPublisherBlockLists,S=_.type==="BUSINESS",L=o("RelayHooks").useLazyLoadQuery(c!==void 0?c:c=n("AdsBrandSafetyAdAccountPublisherBlockListsTableQuery.graphql"),{count:C,root_id:_.id,business_id:S?_.id:null,is_business:S,name_filter:g}),F=o("RelayHooks").useFragment(b,S?L==null?void 0:L.business:L==null?void 0:L.ad_account),O=A,B;u[0]!==d.account.appliedBlockLists?(B=new Set(d.account.appliedBlockLists.map(w)),u[0]=d.account.appliedBlockLists,u[1]=B):B=u[1];var W=h(B),q=W[0],U=W[1],V=h(q),H=V[0],G=V[1];F==null||(t=F.publisher_block_lists)==null||t.edges;var z;if(u[2]!==(F==null||(a=F.publisher_block_lists)==null?void 0:a.edges)){var j,K,Q=(F==null||(j=F.publisher_block_lists)==null?void 0:j.edges.map(M).filter(Boolean))||[],X=[].concat(Q).sort(N);z=r("createGeoTableDataSource")(X,{getStableUniqueID:P}),u[2]=F==null||(K=F.publisher_block_lists)==null?void 0:K.edges,u[3]=z}else z=u[3];var Y=z,J=(i=F==null||(l=F.publisher_block_lists)==null?void 0:l.count)!=null?i:0,Z,ee;u[4]!==d.account.appliedBlockLists||u[5]!==p||u[6]!==H||u[7]!==q?(Z=function(){var e=new Set(d.account.appliedBlockLists.map($));r("equalsSet")(q,H)&&!r("equalsSet")(q,e)?(U(e),G(e)):r("equalsSet")(H,q)||(G(q),p(Array.from(q)))},ee=[d.account.appliedBlockLists,p,H,q],u[4]=d.account.appliedBlockLists,u[5]=p,u[6]=H,u[7]=q,u[8]=Z,u[9]=ee):(Z=u[8],ee=u[9]),f(Z,ee);var te;u[10]!==Y||u[11]!==q?(te={dataSource:Y,getIDForItem:O,selectedItemIDs:q,setSelectedItemIDs:U},u[10]=Y,u[11]=q,u[12]=te):te=u[12];var ne=r("useGeoTableRowSelectionState")(te),re=ne.getAllSelected,oe=ne.onSelectAll,ae=ne.onSelectItem,ie=ne.onSelectRange,le=x,se=D,ue=T,ce=I,de=k,me;u[13]===Symbol.for("react.memo_cache_sentinel")?(me={estimatedRowHeight:40},u[13]=me):me=u[13];var pe=r("useGeoTableVirtualization")(me),_e;u[14]!==re||u[15]!==oe||u[16]!==ae||u[17]!==ie||u[18]!==q?(_e={getAllSelected:re,selectedItemIDs:q,onSelectAll:oe,onSelectItem:ae,onSelectRange:ie,getIDForItem:O,getIsAllSelectable:de,getIsItemEnabled:ce,getSelectDisabledMessage:ue,getSelectAllLabel:se,getSelectLabel:le},u[14]=re,u[15]=oe,u[16]=ae,u[17]=ie,u[18]=q,u[19]=_e):_e=u[19];var fe=r("useGeoTableRowSelection")(_e),ge;u[20]===Symbol.for("react.memo_cache_sentinel")?(ge=[{key:"name",cell:E,width:o("GeoTableWidth").proportional(3),header:null}],u[20]=ge):ge=u[20];var he=ge,ye;u[21]!==v?(ye=m.jsx(r("GeoBaseText.react"),{color:"heading","data-testid":void 0,size:"header3",textAlign:"end",xstyle:r("geoMargin").end16,children:s._(/*BTDS*/"u0915u0941u0932 u0932u093eu0917u0942 u0915u0940 u0917u0908u0902: {total applied}",[s._param("total applied",o("intlNumUtils").formatNumberWithThousandDelimiters(v))])}),u[21]=v,u[22]=ye):ye=u[22];var Ce;u[23]!==Y||u[24]!==fe||u[25]!==J||u[26]!==pe?(Ce=m.jsx(r("GeoFlexbox.react"),{xstyle:r("geoMargin").horiz8,children:Y.getRenderItems().length===0?m.jsx(R,{}):m.jsxs(r("GeoVStack.react"),{children:[m.jsx(r("GeoTable.react"),{columns:he,"data-testid":void 0,dataSource:Y,label:s._(/*BTDS*/"u091au0941u0928u0940 u091cu093e u0938u0915u0928u0947 u0935u093eu0932u0940 u092au092cu094du0932u093fu0936u0930 u092cu094du0932u0949u0915 u0932u093fu0938u094du091f u0915u0940 u091fu0947u092cu0932"),plugins:{selection:fe,virtualization:pe},variant:"dense",xstyle:y.table}),m.jsx(r("GeoDivider.react"),{xstyle:r("geoMargin").bottom4}),m.jsx(r("GeoBaseText.react"),{color:"value","data-testid":void 0,size:"accent",xstyle:y.footer,children:s._(/*BTDS*/"_j{"*":"{number} \u0932\u093f\u0938\u094d\u091f","_1":"1 \u0932\u093f\u0938\u094d\u091f"}",[s._plural(J,"number",o("intlNumUtils").formatNumberWithThousandDelimiters(J))])})]})}),u[23]=Y,u[24]=fe,u[25]=J,u[26]=pe,u[27]=Ce):Ce=u[27];var be;return u[28]!==Ce||u[29]!==ye?(be=m.jsxs(r("GeoFlexbox.react"),{direction:"column",children:[ye,Ce]}),u[28]=Ce,u[29]=ye,u[30]=be):be=u[30],be}function E(e){var t=e.item;return m.jsx(r("GeoFlexbox.react"),{xstyle:y.tableRow,children:t.is_applied_to_business?m.jsxs(r("GeoHStack.react"),{justifyContent:"space-between",xstyle:y.tableRowIcon,children:[m.jsx(r("GeoTableContentCell.react"),{description:s._(/*BTDS*/"u092cu093fu091cu093cu0928u0947u0938 u092au0930 u0932u093eu0917u0942 u0915u093fu092fu093e u0917u092fu093e u0939u0948"),title:t.name}),m.jsx(r("GeoIcon.react"),{icon:o("meta-brand-padlock-closed-outline-16").metaBrandPadlockClosedOutline16})]}):m.jsx(r("GeoTableContentCell.react"),{title:t.name})})}E.displayName=E.name+" [from "+i.id+"]";function k(){return!1}function I(e){return!e.is_applied_to_business}function T(){return m.jsx(r("GeoTextPairing.react"),{description:s._(/*BTDS*/"u0907u0938 u092au092cu094du0932u093fu0936u0930 u092cu094du0932u0949u0915 u0932u093fu0938u094du091f u0915u094b u0906u092au0915u0947 u092cu093fu091cu093cu0928u0947u0938 u092au094bu0930u094du091fu092bu093cu094bu0932u093fu092fu094b u092au0930 u0932u093eu0917u0942 u0915u0930 u0926u093fu092fu093e u0917u092fu093e u0939u0948 u0914u0930 u0905u0932u0917-u0905u0932u0917 u0935u093fu091cu094du091eu093eu092au0928 u0905u0915u093eu0909u0902u091f u0915u0947 u0932u093fu090f u0907u0938u0947 u092cu0926u0932u093e u0928u0939u0940u0902 u091cu093e u0938u0915u0924u093e."),heading:s._(/*BTDS*/"u090fu0921u093fu091f u0915u0930u0928u0947 u0915u0940 u0938u0941u0935u093fu0927u093e u0909u092au0932u092cu094du0927 u0928u0939u0940u0902 u0939u0948"),size:"header3"})}T.displayName=T.name+" [from "+i.id+"]";function D(){return""}function x(e){var t=e.item;return s._(/*BTDS*/"{name} u0915u094b u091au0941u0928u0947u0902",[s._param("name",t.name)])}x.displayName=x.name+" [from "+i.id+"]";function $(e){return e.id}function P(e){return e.id}function N(e,t){return e.is_applied_to_business===t.is_applied_to_business?0:e?-1:1}function M(e){if(e.node!=null){var t;return{id:e.node.id,name:e.node.name,is_applied_to_business:(t=e.node.is_applied_to_business)!=null?t:!1}}}function w(e){return e.id}function A(e){return e.id}l.default=v}),226);
-----
AdsBrandSafetyAdAccountPublisherBlockListsTableQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"after"},b={defaultValue:null,kind:"LocalArgument",name:"business_id"},c={defaultValue:null,kind:"LocalArgument",name:"count"},d={defaultValue:null,kind:"LocalArgument",name:"is_business"},e={defaultValue:null,kind:"LocalArgument",name:"name_filter"},f={defaultValue:null,kind:"LocalArgument",name:"root_id"},g=[{kind:"Variable",name:"id",variableName:"root_id"}],h=[{args:null,kind:"FragmentSpread",name:"AdsBrandSafetyAdAccountPublisherBlockListsTable_data"}],i=[{kind:"Variable",name:"legacy_account_id",variableName:"root_id"}],j={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},k=[{kind:"Variable",name:"after",variableName:"after"},{kind:"Variable",name:"first",variableName:"count"},{kind:"Variable",name:"name_filter",variableName:"name_filter"}],l={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};j=[j,{kind:"InlineFragment",selections:[{alias:null,args:k,concreteType:null,kind:"LinkedField",name:"publisher_block_lists",plural:!1,selections:[l,{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"edges",plural:!0,selections:[l,{alias:null,args:null,concreteType:"MasterCustomPublisherBlockList",kind:"LinkedField",name:"node",plural:!1,selections:[j,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{condition:"is_business",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{kind:"Variable",name:"business_id",variableName:"business_id"}],kind:"ScalarField",name:"is_applied_to_business",storageKey:null}]},l],storageKey:null},{kind:"TypeDiscriminator",abstractKey:"__isXFBHasPublisherBlockListPublisherBlockListsEdge"},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:k,filters:["name_filter"],handle:"connection",key:"AdsBrandSafetyAdAccountPublisherBlockListsTable_data_publisher_block_lists",kind:"LinkedHandle",name:"publisher_block_lists"},{kind:"TypeDiscriminator",abstractKey:"__isNode"}],type:"XFBHasPublisherBlockList",abstractKey:"__isXFBHasPublisherBlockList"}];return{fragment:{argumentDefinitions:[a,b,c,d,e,f],kind:"Fragment",metadata:null,name:"AdsBrandSafetyAdAccountPublisherBlockListsTableQuery",selections:[{condition:"is_business",kind:"Condition",passingValue:!0,selections:[{alias:null,args:g,concreteType:"AdBusiness",kind:"LinkedField",name:"business",plural:!1,selections:h,storageKey:null}]},{condition:"is_business",kind:"Condition",passingValue:!1,selections:[{alias:null,args:i,concreteType:"AdAccount",kind:"LinkedField",name:"ad_account",plural:!1,selections:h,storageKey:null}]}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[a,c,f,b,e,d],kind:"Operation",name:"AdsBrandSafetyAdAccountPublisherBlockListsTableQuery",selections:[{condition:"is_business",kind:"Condition",passingValue:!0,selections:[{alias:null,args:g,concreteType:"AdBusiness",kind:"LinkedField",name:"business",plural:!1,selections:j,storageKey:null}]},{condition:"is_business",kind:"Condition",passingValue:!1,selections:[{alias:null,args:i,concreteType:"AdAccount",kind:"LinkedField",name:"ad_account",plural:!1,selections:j,storageKey:null}]}]},params:{id:"23985050794491456",metadata:{},name:"AdsBrandSafetyAdAccountPublisherBlockListsTableQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----