PageSourceSearch

https://app.gain.ai/4392.c496d394d94ec964.js

js gain.ai collected 2026-10-05 16:15:08 UTC 7,615 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["4392"],{45014(e,r,t){t.d(r,{dO:()=>f,qt:()=>y,sO:()=>b});var n=t(74052),o=t(17366),i=t(89979),a=t(49419),l=t(9858),s=t(20080);function u(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return u(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=(0,o.GP)((0,n.e)(new Date,-5),"yyyy-MM");function f(){return(0,l.PU)((0,l.tb)("announcementDate",(0,s.dS)([d,null])))}var p=(0,i.D)((0,a.d)(new Date,4)),m=(0,o.GP)(p,"yyyy-MM");function y(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,l.fx)(e,c(r).concat([(0,l.PU)((0,l.tb)("announcementDate",(0,s.dS)([m,null])))]))}function b(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,l.fx)(e,c(r).concat([f()]))}},99747(e,r,t){t.d(r,{A:()=>E});var n=t(11798),o=t(16150),i=t(41735),a=t(218),l=t(96314),s=t(50180),u=t(11838),c=t(49300),d=t(41766),f=t(14178),p=t(19267),m=t(36648),y=t(17547),b=t(79058),v=t(14101),A=t(70758),h=t(45014),j=t(93497),O=t(28756),x=t(60151),g=t(25224),C=t(92508),S=t(9858),k=t(52368),w=t(96972),I=t(41242),P=t(44910),M=t(16838),L=t(51101),D=t(96886),T=t(43300),R=t(69109);function F(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function B(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(t=o.next()).done)&&(i.push(t.value),!r||i.length!==r);a=!0);}catch(e){l=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw n}}return i}}(e,r)||function(e,r){if(e){if("string"==typeof e)return F(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return F(e,r)}}(e,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e){var r,t,F=e.defaultFilter,E=e.renderStartBulkActions,N=e.renderEndBulkActions,U=e.disableListHeader,V=e.disableAddToList,H=e.apiRef,G=function(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["defaultFilter","renderStartBulkActions","renderEndBulkActions","disableListHeader","disableAddToList","apiRef"]),W=B((0,u.xM)({minWidth:600}),2),_=W[0],q=W[1],z=(0,c.qs)(),K="advisor",Y=(0,C.xn)("ADVISOR_WATCHLISTS"),$=Y&&!V,Q=B((0,d.useState)(null),2),X=Q[0],J=Q[1],Z=(0,T.A)({objectType:l.an.Advisor,columnConfigId:K,baseColumns:R.r,baseFilterMap:A.Do,baseFilterMenu:A.iA,apiRef:H}),ee=B((0,S.WV)(Z.filterLookup),1)[0],er=(0,L.A)(Z.filterLookup,Z.allColumnNames),et=(0,x.A)(K).hideColumn,en=(0,D.A)(K,Z.allColumnNames,er),eo=(0,S.cR)("deal",Z.filterLookup),ei=(0,d.useCallback)(function(e){return[(0,n.jsx)(O.A,{activeFilterColumns:er,columnConfigId:K}),(0,n.jsx)(b.LM,{color:"white",method:"data.exportAdvisors",params:{prefilters:(0,i.Tk)(e.prefilters),filter:(0,I.R)(e),filename:"",sort:e.sort.map(s.fH)},tooltipMode:"always",variant:"outlined"}),(0,n.jsx)(g.A,{objectType:l.an.Advisor})]},[er]),ea=(0,d.useCallback)(function(e){return(0,n.jsxs)(M.A,{ref:_,api:e,exp
1ortMethod:"data.exportAdvisors",itemNamePlural:"advisors",itemNameSingular:"advisor",children:[E&&E(e,q),(0,n.jsx)(b.LM,{color:Y?"darkGrey":"primary",method:"data.exportAdvisors",params:{filename:"Advisor export - Gain.xlsx",filter:(0,I.R)(e),prefilters:(0,i.Tk)(e.prefilters),sort:e.sort.map(s.fH)},tooltipMode:"never",variant:q?"contained":"icon-contained"}),$&&(0,n.jsx)(j.A,{anchorEl:X,objects:e.selectedRows,objectType:a.z1.Advisors,onClose:function(){return J(null)},open:!!X,anchorLeftTop:!0}),$&&(0,n.jsx)(w.A,{color:"primary",onClick:function(e){return J(e.currentTarget)},startIcon:q?(0,n.jsx)(o.BookmarkIcon,{}):void 0,variant:q?"text":"icon",children:q?"Add to watchlist":(0,n.jsx)(o.BookmarkIcon,{})}),N&&N(e,q)]})},[_,E,q,$,Y,X,N]),el=(0,P.k)(ee,"/deals",A.hn,[(0,h.dO)()]);return(0,n.jsx)(p.B,{storageKey:"advisors",children:(0,n.jsx)(k.Ay,(r=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({},G),t=t={addFilterMenu:Z.filterMenu,apiRef:Z.listViewRef,dataGridApiRef:Z.gridRef,defaultFilter:F,defaultFilterModel:A.Xj,defaultSort:eo?[(0,s.Ve)("dealCountL5Yfiltered","desc")]:[(0,s.Ve)("dealCount","desc")],filterBarSearchLabel:"Advisor name",filterBarSearchPlaceholder:"E.g. PwC",filterConfigMap:Z.filterLookup,method:"data.listAdvisors",renderBulkActions:ea,renderPageActions:ei,sm:{type:"data-grid",props:{columns:Z.allColumns,pinnedColumns:{left:["name"]},columnMenu:{activeFilterColumns:er,hideColumn:et},columnVisibilityModel:en,isCellEditable:Z.isCellEditable,processRowUpdate:Z.mutateData,onCellClick:function(e,r){var t=e.colDef,n=e.row;if(Z.shouldOpenRowOnCellClick(t))return z((0,v.S55)({advisorId:n.id,advisorName:n.name})+el,r)}}},xs:{type:"list",props:{headerProps:!U&&{title:"Name",secondaryTitle:"Deals"},renderListItem:function(e){return(0,n.jsx)(m.yW,{disableDivider:!0,children:(0,n.jsxs)(m.CK,{as:f.N_,to:(0,v.S55)({advisorId:e.id,advisorName:e.name}),children:[(0,n.jsx)(m.Fk,{children:(0,n.jsx)(y.A,{defaultIcon:(0,n.jsx)(o.UserCommentIcon,{}),src:e.logoFileUrl})}),(0,n.jsx)(m.rI,{primary:e.name}),(0,n.jsx)(m.VY,{children:e.dealCount})]})},e.id)}}},checkboxSelection:!0,disableOrFilter:!0},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}),r))})}},86571(e,r,t){t.r(r),t.d(r,{default:()=>m});var n=t(11798),o=t(218),i=t(96314),a=t(51886),l=t(70758),s=t(75970),u=t(13798),c=t(92508),d=t(9858),f=t(99747),p=t(24229);function m(){var e=(0,a.L)(),r=(0,c.xn)("ADVISOR_WATCHLISTS"),t=(0,u.A)(i.an.Advisor,l.Do,l.iA).filterLookup;return(0,n.jsx)(p.A,{title:"Advisors",children:(0,n.jsx)(f.A,{renderFilterBarActions:function(i){var a=i.filterModel;return!e&&r&&(0,n.jsx)(s.U,{filters:(0,d.QB)(a,t),listType:o.z1.Advisors})}})})}}}]);
2//# sourceMappingURL=4392.c496d394d94ec964.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.