1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e4bdbb20-74e0-4d66-9913-36932e72fd18",e._sentryDebugIdIdentifier="sentry-dbid-e4bdbb20-74e0-4d66-9913-36932e72fd18")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5390],{35735:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/irm/[brandId]/influencers/[influencerId]",function(){return t(72860)}])},78405:function(e,r,t){"use strict";t.d(r,{B:function(){return f}});var n=t(60737),i=t(14568),s=t(35799),o=t(21761),a=t(26959),c=t(84223),d=t.n(c),u=t(10890),l=t(19274),g=t(39231),y=t(72456),w=t(91559),b=t(45992),E=t(16858);let f=()=>{let{clearViewDetailCache:e,clearViewTableCache:r}=(0,g.mO)(),{t}=(0,u.qM)(),{showSnackbar:c}=(0,n.useContext)(i.SnackbarContext),f=(0,a.useRouter)(),m=d()(f,"query.brandId"),[h,_]=(0,n.useState)({skip:!0}),{data:p,loading:v}=(0,s.aM)(w.zw,h),{loadingData:k,loadingCount:V,setQueryOptions:R,setCountQueryOptions:T}=(0,y.z)({query:w.Wk,queryAccessor:"getEntityViewsByBrand",countQuery:w._9,countQueryAccessor:"countTableEntityViewsByBrand"}),[D,{loading:O}]=(0,o.D)(w._K,{update(t){r(),e(),t.gc()}}),[W,{loading:C}]=(0,o.D)(w.yU,{update(t){r(),e(),t.gc()}}),[I,{loading:F}]=(0,o.D)(w.bW,{update(t,n,i){let{variables:s}=i;(null==s?void 0:s._id)&&r(t,s._id),r({evictCount:!1}),e(),t.gc()}}),[j,{loading:B}]=(0,o.D)(w.LC,{update(r){e(),r.gc()}}),[N,{loading:S}]=(0,o.D)(w.q4,{update(r){e(),r.gc()}}),{sendForm:q}=(0,i.useCreateEditForm)(),{getFilteredDataOptions:x}=(0,l.L)();return{getViews:async function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"table";try{let{options:t,countOptions:n,page:i}=x(e,{brandId:m,view:r},{brandId:m,view:r});R(t),0===i&&T(n)}catch(e){(0,E.Tb)("Error obtaining views",e)}},loadingViews:k,entityViewsByObjectAndUserData:p,getViewsByObject:e=>{try{_({variables:{brandId:m,object:e},skip:!1})}catch(e){(0,E.Tb)("Error obtaining views by object",e)}},loadingViewsByObject:v,addEntityView:async()=>{try{return await q(D,!1,{brandId:m},{FORM_ERROR_TYPES:b.X3,getFormSuccessResponse:b.tj,getFormErrorResponse:b.nD})}catch(e){return(0,E.Tb)("Error adding view",e),!1}},loadingAddEntityView:O,deleteEntityViews:async e=>{try{let r=await W({variables:{entityViewIds:e}}),n=null==e?void 0:e.length;return c("success",t(n>1?"commons.snackbar.success.deleteViews":"commons.snackbar.success.deleteView",{count:n})),r}catch(e){return(0,E.Tb)("Error deleting views",e),c("error",t("commons.snackbar.error.somethingWentWrong")),!1}},loadingDeleteEntityViews:C,saveEntityView:async e=>{let r={_id:e._id,entityViewName:e.entityViewName,filters:e.filters};try{return await I({variables:r})}catch(e){return(0,E.Tb)("Error saving view",e),c("error",t("commons.snackbar.error.somethingWentWrong")),!1}},editEntityView:async e=>{try{return await q(I,!0,{brandId:m,_id:e},{FORM_ERROR_TYPES:b.X3,getFormSuccessResponse:b.tj,getFormErrorResponse:b.nD})}catch(e){return(0,E.Tb)("Error editing view",e),c("error",t("commons.snackbar.error.somethingWentWrong")),!1}},loadingEditEntityView:F,editEntityViewsOrder:async e=>{try{let{data:r}=await j({variables:{entityViewIds:e}}),t=d()(r,"editEntityViewsOrderByUser");if(!t.success)throw Error("Error editing views order");return t}catch(e){return(0,E.Tb)("Error editing views order",e),c("error",t("commons.snackbar.error.somethingWentWrong")),!1}},unregisterRelationshipEntityView:async e=>{try{let{data:r}=await N({variables:{entityViewId:[e]}}),t=d()(r,"unregisterRelationshipEntityViewUsers");if(!t.success)throw Error("Error unregistering relationship entity view");return t}catch(e){return(0,E.Tb)("Error unregistering relationship entity view",e),c("error",t("commons.snackbar.error.somethingWentWrong")),!1}},loadingUnregisterRelationshipEntityView:S,loadingEditEntityViewsOrder:B,loadingCountViews:V}}},72860:function(e,r,t){"use strict";t.r(r);var n=t(60738),i=t(87141),s=t(36512),o=t(35584),a=t(63327),c=t(48443),d=t(19680),u=t(21560),l=t(55055),g=t(45709);let y=[o.C,a.a,c.F,d.e,l._,g.mC];r.default=()=>(0,n.jsx)(s.k,{providers:y,children:(0,n.jsx)(i.A,{children:(0,n.jsx)(u.c,{})})})}},function(e){e.O(0,[4182,5736,9286,4134,509,5408,6613,2842,4230,3802,5778,1101,6487,1647,580,6367,7854,4598,3458,57,9186,4098,7064,2888,9774,179],function(){return e(e.s=35735)}),_N_E=e.O()}]); 2//# sourceMappingURL=[influencerId]-bdb7fd918fb2db15.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.