1"use strict"; 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f33f1d81-47bf-5fbb-a5d1-f9e26554d467")}catch(e){}}(); 3(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[12716],{23874:function(e,n,t){t(91662),t(2350),t(30782),t(33853);var o=t(40458),i=(t(91880),t(85544)),r=t(89456),s=t(78747),c=t(88718),a=t(4627),d=t(80980);n.A=function(e){var n,t=(0,o.c)(34),u=e.closeSidebar,l=e.notes,m=e.companyId,h=e.uniqueSymbol,y=(0,i.cB)().openNoteModal,f=!!m&&!!h;t[0]!==f||t[1]!==m||t[2]!==y||t[3]!==h?(n=function(){f&&y({companyId:m,uniqueSymbol:h})},t[0]=f,t[1]=m,t[2]=y,t[3]=h,t[4]=n):n=t[4];var v,p=n;t[5]!==f||t[6]!==m||t[7]!==y||t[8]!==h?(v=function(e){f&&y({note:e,companyId:m,uniqueSymbol:h})},t[5]=f,t[6]=m,t[7]=y,t[8]=h,t[9]=v):v=t[9];var x,b,N,j,S,A,_,g,k,q,E,I,C=v,D=(0,a.z1)().trackEvent;(t[10]===Symbol.for("react.memo_cache_sentinel")?(x={marginTop:"env(safe-area-inset-top)"},t[10]=x):x=t[10],t[11]===Symbol.for("react.memo_cache_sentinel")?(b=(0,d.jsx)("h3",{className:"text-solid",children:"Notes"}),t[11]=b):b=t[11],t[12]!==p||t[13]!==D?(N=function(){D({action:"click",modifier:"add-note",subject:"my-notes-side-menu"}),p()},t[12]=p,t[13]=D,t[14]=N):N=t[14],t[15]===Symbol.for("react.memo_cache_sentinel")?(j=(0,d.jsx)(s.A,{}),t[15]=j):j=t[15],t[16]!==N?(S=(0,d.jsxs)(c.$n,{variant:"secondary",size:"medium","data-cy-id":"notes-sidemenu-add",onClick:N,children:[j,"Â Add"]}),t[16]=N,t[17]=S):S=t[17],t[18]===Symbol.for("react.memo_cache_sentinel")?(A=(0,d.jsx)(r.A,{height:20,width:20,className:"fill-softer"}),t[18]=A):A=t[18],t[19]!==u?(_=(0,d.jsx)("button",{"data-cy-id":"notes-sidemenu-close",onClick:u,children:A}),t[19]=u,t[20]=_):_=t[20],t[21]!==S||t[22]!==_?(g=(0,d.jsxs)("div",{className:"mb-x1 grid grid-cols-[1fr_auto_auto] items-center justify-start gap-x1",children:[b,S,_]}),t[21]=S,t[22]=_,t[23]=g):g=t[23],t[24]!==C||t[25]!==l)?(t[27]!==C?(q=function(e,n){return(0,d.jsx)(i.L7,{"data-cy-id":"note-side-menu-".concat(n),note:e,editNote:C},"note-side-menu-".concat(e.id))},t[27]=C,t[28]=q):q=t[28],k=l.map(q),t[24]=C,t[25]=l,t[26]=k):k=t[26];return t[29]!==k?(E=(0,d.jsx)("div",{className:"grid gap-x1",children:k}),t[29]=k,t[30]=E):E=t[30],t[31]!==g||t[32]!==E?(I=(0,d.jsxs)("div",{"data-cy-id":"notes-sidemenu",className:"h-full overflow-auto",style:x,children:[g,E]}),t[31]=g,t[32]=E,t[33]=I):I=t[33],I}},35819:function(e,n,t){t.r(n),t.d(n,{MyNotes:function(){return N},NotesSidebar:function(){return o.A},default:function(){return N}});var o=t(23874),i=(t(15209),t(30782),t(51305),t(28379),t(2730),t(33853),t(90977),t(40458)),r=t(91880),s=t(4627),c=t(83406),a=t(78747),d=t(88718),u=t(80853),l=t(92016),m=t(56170),h=t(1787),y=t(45855),f=t(80980),v=(0,c.Ay)({resolved:{},chunkName:function(){return"components-Note-components-Note"},isReady:function(e){var n=this.resolve(e);return!0===this.resolved[n]&&!!t.m[n]},importAsync:function(){return Promise.resolve().then(t.bind(t,93436))},requireAsync:function(e){var n=this,t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((function(e){return n.resolved[t]=!0,e}))},requireSync:function(e){var n=this.resolve(e);return t(n)},resolve:function(){return 93436}}),p=(0,c.Ay)({resolved:{},chunkName:function(){return"components-Note-components-EmptyState"},isReady:function(e){var n=this.resolve(e);return!0===this.resolved[n]&&!!t.m[n]},importAsync:function(){return Promise.resolve().then(t.bind(t,41539))},requireAsync:function(e){var n=this,t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((function(e){return n.resolved[t]=!0,e}))},requireSync:function(e){var n=this.resolve(e);return t(n)},resolve:function(){return 41539}},{resolveComponent:function(e){return e.EmptyState}}),x=(0,c.Ay)({resolved:{},chunkName:function(){return"SeeMoreButton"},isReady:function(e){var n=this.resolve(e);return!0===this.resolved[n]&&!!t.m[n]},importAsync:function(){return t.e(16868).then(t.bind(t,43338))},requireAsync:function(e){var n=this,t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((function(e){return n.resolved[t]=!0,e}))},requireSync:function(e){var n=this.resolve(e);return t(n)},resolve:function(){return 43338}}),b=["","hidden sm:block","hidden lg:block"],N=function(e){var n,t=(0,i.c)(50),o=e.companyId,c=e.uniqueSymbol,N=(0,h.cB)(),j=N.openNoteModal,S=N.modalState,A=(0,m.Mt)(o).data;t[0]!==o||t[1]!==c?(n={type:"track",subject:"MyNotes",companyId:o,uniqueSymbol:c},t[0]=o,t[1]=c,t[2]=n):n=t[2];var _,g,k,q,E,I,C,D,L,M,B,z,O=(0,s.z1)(n),w=O.Track,R=O.trackEvent,H=(0,y.S)(),K=void 0!==A&&A.length>0,P=!!o&&!!c;return t[3]!==P||t[4]!==o||t[5]!==S||t[6]!==j||t[7]!==c?(_=function(){P&&"adding"===S&&j({companyId:o,uniqueSymbol:c})},g=[o,c,S,P,j],t[3]=P,t[4]=o,t[5]=S,t[6]=j,t[7]=c,t[8]=_,t[9]=g):(_=t[8],g=t[9]),(0,r.useEffect)(_,g),t[10]!==H?(k=H("myNotes.heading"),t[10]=H,t[11]=k):k=t[11],t[12]!==k?(q=(0,f.jsx)(u.J,{children:k}),t[12]=k,t[13]=q):q=t[13],t[14]!==A?(E=A&&(0,f.jsx)(d.Ex,{children:A.length}),t[14]=A,t[15]=E):E=t[15],t[16]!==P||t[17]!==o||t[18]!==K||t[19]!==j||t[20]!==H||t[21]!==R||t[22]!==c?(I=K&&(0,f.jsxs)(d.$n,{variant:"outline",size:"medium","data-cy-id":"my-notes-add",isDisabled:!P,onClick:function(){R({action:"click",modifier:"add-note",subject:"my-notes-section-header"}),j({companyId:o,uniqueSymbol:c})},children:[(0,f.jsx)(a.A,{}),"Â ",H("myNotes.addNote")]}
3),t[16]=P,t[17]=o,t[18]=K,t[19]=j,t[20]=H,t[21]=R,t[22]=c,t[23]=I):I=t[23],t[24]!==I?(C=(0,f.jsx)("div",{className:"flex justify-end",children:I}),t[24]=I,t[25]=C):C=t[25],t[26]!==q||t[27]!==E||t[28]!==C?(D=(0,f.jsxs)("header",{className:"mb-x1 grid grid-cols-[auto_auto_1fr] items-center justify-start gap-x1",children:[q,E,C]}),t[26]=q,t[27]=E,t[28]=C,t[29]=D):D=t[29],t[30]!==P||t[31]!==o||t[32]!==A||t[33]!==K||t[34]!==j||t[35]!==R||t[36]!==c?(L=K?(0,f.jsx)("div",{className:"mb-x1 grid max-h-[164px] grid-cols-[repeat(auto-fit,minmax(0,1fr))] gap-x1",children:A.slice(0,3).map((function(e,n){return(0,f.jsx)("div",{className:b[n],children:(0,f.jsx)(v,{"data-cy-id":"note-".concat(n),note:e,editNote:function(){return j({note:e,companyId:o,uniqueSymbol:c})}})},e.id)}))}):(0,f.jsx)("div",{className:"mb-x1 max-h-[164px]",children:(0,f.jsx)(p,{canCreateNote:P,handleAddNote:function(){R({action:"click",modifier:"add-note",subject:"note-empty-state"}),j({companyId:o,uniqueSymbol:c})}})}),t[30]=P,t[31]=o,t[32]=A,t[33]=K,t[34]=j,t[35]=R,t[36]=c,t[37]=L):L=t[37],t[38]!==o||t[39]!==K||t[40]!==R||t[41]!==c?(M=K&&(0,f.jsx)(x,{companyId:o,uniqueSymbol:c,trackEvent:R}),t[38]=o,t[39]=K,t[40]=R,t[41]=c,t[42]=M):M=t[42],t[43]!==L||t[44]!==M||t[45]!==D?(B=(0,f.jsxs)(l.w,{"data-cy-id":"my-notes",children:[D,L,M]}),t[43]=L,t[44]=M,t[45]=D,t[46]=B):B=t[46],t[47]!==w||t[48]!==B?(z=(0,f.jsx)(w,{children:B}),t[47]=w,t[48]=B,t[49]=z):z=t[49],z}}}]); 4//# sourceMappingURL=pages-CompanyReport-components-MyNotes.modern.5790a872.js.map 5//# debugId=f33f1d81-47bf-5fbb-a5d1-f9e26554d467
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.