PageSourceSearch

https://app.goodmeetings.ai/static/js/1344.3b39c1b2.chunk.js

js goodmeetings.ai collected 2026-09-29 12:48:10 UTC 31,936 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkgoodmeetings||=[]).push([[1344,4209,8818],{44275(e,o,i){i.r(o);const n=["Paytm_Agency_Collection_Calls","Paytm_CallCentre_Collection_Calls"],l=e=>n.includes(e),t=function(){var e,o;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const l=(null===n||void 0===n||null===(e=n.split)||void 0===e||null===(o=e.call(n,"/"))||void 0===o?void 0:o[1])||"";return[null===i||void 0===i?void 0:i.org_id,null===i||void 0===i?void 0:i.orgId,l,null===i||void 0===i?void 0:i.company,null===i||void 0===i?void 0:i.workspace_name].filter(e=>"string"===typeof e).map(e=>e.trim()).filter(Boolean)[0]||""};i.d(o,["PAYTM_COLLECTIONS_DASHBOARD_WORKSPACES",0,n,"isPaytmCollectionsDashboardContext",0,function(){return l(t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:""))},"isPaytmCollectionsDashboardWorkspace",0,l,"resolvePaytmCollectionsOrgId",0,function(){return t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")}])},15640(e,o,i){i.r(o);const n=["test_ugrad_audit"],l=function(){var e,o;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return(null===i||void 0===i?void 0:i.workspace_name)||(null===i||void 0===i?void 0:i.org_id)||(null===i||void 0===i?void 0:i.orgId)||(null===i||void 0===i?void 0:i.company)||(null===n||void 0===n||null===(e=n.split)||void 0===e||null===(o=e.call(n,"/"))||void 0===o?void 0:o[1])||""};i.d(o,["VIDEO_ANALYSIS_WORKSPACES",0,n,"canSeeVideoAnalysis",0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;return n.includes(l(e,o))},"currentWorkspace",0,l])},58818(e,o,i){i.r(o);var n=i(9950),l=i.n(n),t=i(7154),d=(i(47791),i(94566),i(57365)),a=i(38778),s=i(37487),r=i(64405),c=(i(35642),i(68240)),u=i(81402),p=i(17784),v=i(96319),x=i(53316),h=i(8808),m=i(22875),f=i(82173),g=i(50242),y=i(8538),_=i(14972),b=i(44414);const S=()=>{var e,o,i;const[S,j]=(0,n.useState)(null),[w,C]=(0,n.useState)(!0),[k,I]=(0,n.useState)(!1),[P]=(0,n.useState)((0,r.convertTime)(new Date).toString().split("|")[0]),[R,L]=(0,n.useState)(!1),[E,T]=(0,n.use
1State)(0),[D,B]=(0,n.useState)(!1),V=(0,n.useRef)(null),A=(0,n.useRef)(null),N=(0,n.useRef)(null),[M,z]=(0,n.useState)(0),[O,F]=(0,s.useValue)(),W=(null===O||void 0===O||null===(e=O.meeting_details_open)||void 0===e?void 0:e.company)||window.location.pathname.split("/")[1],H=(null===O||void 0===O?void 0:O.meeting_details_open)||(null===O||void 0===O?void 0:O.meeting_info),U=(null===O||void 0===O||null===(o=O.meeting_details_open)||void 0===o?void 0:o.callInstanceId)||window.location.pathname.split("/")[3],$=(0,d.useGetRecordingdetails)({publicUrl:!1}),{recording:G,speakernames:Y,meetingId:X,isLoading:K,slidervalue:Q,setSliderValue:q,setSliderPressed:J,isMobile:Z,setIsMobile:ee,handleSliderChangeComitted:oe,isDonwnloading:ie,tabItems:ne,transcriptsList:le,isDocumentUploadRecord:te}=$,de={...$,mobile:Z,setMobile:ee,recordPlayId:S,setRecordPlayId:j,isRecordPaused:w,setisRecordPaused:C,anyVidoePLaying:k,setAnyVidoePLaying:I,today:P,company:W,speakerLinePressed:R,setSpeakerLinepressed:L,pinLength:E,setPinLength:T,openShareModal:D,setopenShareModal:B,sliderValRef:V,videoRef:A,speakernames:Y,isLoading:K,seekVideo:async()=>{let e=document.getElementsByTagName("video")[0];if(e)e.play(),I(!0);else{var o,i;let e=await(null===G||void 0===G||null===(o=G.recordings)||void 0===o?void 0:o.sort((e,o)=>e.created_at-o.created_at)),a=0,s=(null===(i=e[a])||void 0===i?void 0:i.created_at)+1;for(;Q>(null===(n=e[a])||void 0===n?void 0:n.created_at);){var n,l,t,d;a++,s=(null!==(l=e[a])&&void 0!==l&&l.created_at?null===(t=e[a])||void 0===t?void 0:t.created_at:null===(d=e[0])||void 0===d?void 0:d.created_at)+1}oe(!0,s)}},toggleVideo:e=>()=>{e.paused&&(0,a.default)("page_info_play_video",O,!0,{meetingId:X,callInstanceId:U}),e.paused?e.play():e.pause()},timerRef:N,handleSliderChangeComitted:oe,isDonwnloading:ie},ae=window.location.pathname.includes("/detail/"),se=null===ne||void 0===ne||null===(i=ne.find(e=>"Transcript"===e.label))||void 0===i?void 0:i.alwaysonSection;return(0,n.useEffect)(()=>{te&&z(0)},[te]),K?(0,b.jsx)(c.default,{}):(0,b.jsx)(y.RecordingContext.Provider,{value:de,children:(0,b.jsxs)(u.Box,{sx:{display:"flex",flexDirection:"column",height:"100%",width:"100%",position:ae?"fixed":"static",inset:0},children:[(0,b.jsxs)(u.Box,{sx:{flexShrink:0,display:"flex",justifyContent:ae?Z?"flex-start":"space-between":"flex-end",flexDirection:"row",alignItems:"center",p:1,borderBottom:Z?"none":"1px solid #eee",background:"#fff",position:Z?"fixed":"static",top:Z?0:"auto",right:Z?"0px":"auto",background:"transparent",backgroundImage:Z?"linear-gradient(black, transparent)":"none",zIndex:Z?1e3:"auto"},children:[ae&&!Z&&(0,b.jsx)("img",{src:f.default,alt:"logo",style:{width:"100px",justifySelf:"flex-start"}}),(0,b.jsx)(u.Button,{startIcon:(0,b.jsx)(x.default,{}),onClick:()=>{B(!0)},sx:{textTransform:"none",mr:1,color:Z?"#fff":"#0D0C22"},children:Z?"":"Share"}),!ae&&(0,b.jsxs)(b.Fragment,{children:[!Z&&(0,b.jsx)(u.Button,{startIcon:(0,b.jsx)(h.default,{}),onClick:()=>{var e;window.open(`/detail/${null===O||void 0===O||null===(e=O.meeting_details_open)||void 0===e?void 0:e.callInstanceId}`,"_blank")},sx:{textTransform:"none",mr:1,color:"#0D0C22"},children:"Open in new window"}),(0,b.jsx)(u.IconButton,{onClick:()=>{F({type:m.ACTIONS.MEETING_DETAILS_OPEN,payload:null})},sx:{color:Z?"#fff":"#0D0C22"},children:(0,b.jsx)(v.default,{})})]})]}),(0,b.jsx)(u.Box,{className:"new_single_video_page",sx:{flex:1,display:"flex",overflow:"hidden",padding:Z?"0px":"20px"},children:(0,b.jsxs)(u.Box,{className:"main-container",sx:{display:"flex",flex:1,overflow:"hidden",WebkitOverflowScrolling:"auto",overscrollBehavior:"none",height:"100%",padding:Z?"0px":"20px"},children:[(0,b.jsx)(u.Box,{sx:{flex:1,overflowY:"hidden",paddingRight:Z?"0px":"20px"},children:(0,b.jsxs)(g.default,{index:M,disabled:Z||te,style:{height:"100%"},containerStyle:{height:"100%"},slideStyle:{height:"100%",overflowY:"auto"},children:[(0,b.jsx)("div",{style:{flex:1,display:"flex",flexDirection:"column",minHeight:0,padding:Z?"20px":void 0,paddingTop:Z?"0":void 0,boxSizing:"border-box"},children:(0,b.jsx)(p.default,{callInstanceId:U,company:W,meetingInfo:H,setSliderValue:q,setSliderPressed:J,recording:G,tabItems:ne,setCurrentTab:z,transcriptsList:le,isDocumentUploadRecord:te})}),!te&&(0,b.jsx)("div",{className:"new_singlevideo_root",style:{maxHeight:"auto",minHeight:"0px",height:"auto"},children:se&&l().cloneElement(se,{setCurrentTab:z,currentTab:M})})]})}),(0,b.jsx)(u.Box,{sx:{flexShrink:0,overflowY:"auto",paddingLeft:Z?"0px":"20px",paddingRight:Z?"0px":"20px"},children:te?(0,b.jsx)(_.default,{recording:G}):(0,b.jsx)(t.default,{})})]})})]})})};i.d(o,["default",0,S])},64209(e,o,i){i.r(o);var n=i(9950),l=i(57365),t=i(37487),d=i(64405),a=i(68240),s=i(81402),r=i(17784),c=i(96319),u=i(8808),p=i(22875),v=i(82173),x=i(8538),h=i(14972),m=i(42074),f=i(44414);const g=["telecmi","ozonetel","leadsquared_calls","uploaded","sales_force","hubspot_calls","google_meet","zoom","teams"],y=()=>{var e,o,i;
1const[y,_]=(0,n.useState)(null),[b,S]=(0,n.useState)(!0),[j,w]=(0,n.useState)(!1),[C]=(0,n.useState)((0,d.convertTime)(new Date).toString().split("|")[0]),[k,I]=(0,n.useState)(!1),[P,R]=(0,n.useState)(0),L=(0,n.useRef)(null),E=(0,n.useRef)(null),T=(0,n.useRef)(null),[D,B]=(0,t.useValue)(),V=(0,m.useNavigate)(),A=(null===D||void 0===D||null===(e=D.meeting_details_open)||void 0===e?void 0:e.company)||(null===D||void 0===D||null===(o=D.cookie)||void 0===o?void 0:o.org_id),N=(null===D||void 0===D?void 0:D.meeting_details_open)||(null===D||void 0===D?void 0:D.meeting_info),M=(null===D||void 0===D||null===(i=D.meeting_details_open)||void 0===i?void 0:i.callInstanceId)||window.location.pathname.split("/")[2],z=(0,l.useGetRecordingdetails)({publicUrl:!1}),{recording:O,speakernames:F,meetingId:W,isLoading:H,slidervalue:U,setSliderValue:$,setSliderPressed:G,isMobile:Y,setIsMobile:X,handleSliderChangeComitted:K,isDonwnloading:Q,tabItems:q,transcriptsList:J,isDocumentUploadRecord:Z}=z,ee={...z,mobile:Y,setMobile:X,recordPlayId:y,setRecordPlayId:_,isRecordPaused:b,setisRecordPaused:S,anyVidoePLaying:j,setAnyVidoePLaying:w,today:C,company:A,speakerLinePressed:k,setSpeakerLinepressed:I,pinLength:P,setPinLength:R,sliderValRef:L,videoRef:E,speakernames:F,isLoading:H,seekVideo:async()=>{var e,o;const i=document.getElementsByTagName("video")[0];if(i)return i.play(),void w(!0);const n=await(null===O||void 0===O||null===(e=O.recordings)||void 0===e?void 0:e.sort((e,o)=>e.created_at-o.created_at));if(null===n||void 0===n||!n.length)return;let l=0,t=(null===(o=n[l])||void 0===o?void 0:o.created_at)+1;for(;U>(null===(d=n[l])||void 0===d?void 0:d.created_at)&&l<n.length-1;){var d,a,s,r;l++,t=(null!==(a=n[l])&&void 0!==a&&a.created_at?null===(s=n[l])||void 0===s?void 0:s.created_at:null===(r=n[0])||void 0===r?void 0:r.created_at)+1}K(!0,t)},toggleVideo:e=>()=>{e&&(e.paused?e.play():e.pause())},timerRef:T,handleSliderChangeComitted:K,isDonwnloading:Q},oe=window.location.pathname.includes("/document/");return(0,n.useEffect)(()=>{window.location.pathname.includes("/document/")&&!H&&M&&null!==O&&void 0!==O&&O.source&&g.includes(O.source)&&V(`/detail/${M}`,{replace:!0})},[M,H,V,null===O||void 0===O?void 0:O.source]),H?(0,f.jsx)(a.default,{}):(0,f.jsx)(x.RecordingContext.Provider,{value:ee,children:(0,f.jsxs)(s.Box,{sx:{display:"flex",flexDirection:"column",height:"100%",width:"100%",position:oe?"fixed":"static",inset:0},children:[(0,f.jsxs)(s.Box,{sx:{flexShrink:0,display:"flex",justifyContent:"space-between",alignItems:"center",p:1,borderBottom:Y?"none":"1px solid #eee",background:"transparent",backgroundImage:Y?"linear-gradient(black, transparent)":"none",position:Y?"fixed":"static",top:Y?0:"auto",right:Y?0:"auto",zIndex:Y?1e3:"auto"},children:[oe&&!Y&&(0,f.jsx)("img",{src:v.default,alt:"logo",style:{width:"100px",justifySelf:"flex-start"}}),(0,f.jsx)(s.Box,{sx:{display:"flex",alignItems:"center"},children:!oe&&(0,f.jsxs)(f.Fragment,{children:[!Y&&(0,f.jsx)(s.Button,{startIcon:(0,f.jsx)(u.default,{}),onClick:()=>{var e;const o=(null===D||void 0===D||null===(e=D.meeting_details_open)||void 0===e?void 0:e.callInstanceId)||window.location.pathname.split("/")[2];o&&window.open(`/document/${o}`,"_blank")},sx:{textTransform:"none",mr:1,color:"#0D0C22"},children:"Open in new window"}),(0,f.jsx)(s.IconButton,{onClick:()=>{B({type:p.ACTIONS.MEETING_DETAILS_OPEN,payload:null})},sx:{color:Y?"#fff":"#0D0C22"},children:(0,f.jsx)(c.default,{})})]})})]}),(0,f.jsx)(s.Box,{className:"new_single_video_page",sx:{flex:1,display:"flex",overflow:"hidden",padding:Y?"0px":"20px"},children:(0,f.jsxs)(s.Box,{className:"main-container",sx:{display:"flex",flex:1,overflow:"hidden",WebkitOverflowScrolling:"auto",overscrollBehavior:"none",height:"100%",padding:Y?"0px":"20px"},children:[(0,f.jsx)(s.Box,{sx:{flex:1,overflowY:"auto",paddingRight:Y?"0px":"20px",minHeight:0},children:(0,f.jsx)(r.default,{callInstanceId:M,company:A,meetingInfo:N,setSliderValue:$,setSliderPressed:G,recording:O,tabItems:q,setCurrentTab:()=>{},transcriptsList:J,isDocumentUploadRecord:!0})}),(0,f.jsx)(s.Box,{sx:{flexShrink:0,overflowY:"auto",paddingLeft:Y?"0px":"20px",paddingRight:Y?"0px":"20px"},children:(0,f.jsx)(h.default,{recording:O,callInstanceId:M})})]})})]})})};i.d(o,["default",0,y])},14972(e,o,i){i.r(o);var n=i(9950),l=i(81402),t=i(8808),d=i(21636),a=i(96011),s=i.n(a),r=i(31815),c=i(44414);const u=e=>{let{recording:o,callInstanceId:i}=e;
1const[a,u]=(0,n.useState)(""),[p,v]=(0,n.useState)(!1),[x,h]=(0,n.useState)(""),[m,f]=(0,n.useState)(!1),g=(0,n.useMemo)(()=>function(e){if(!e)return"";const o=e.split("?")[0].toLowerCase();return o.endsWith(".pdf")?"pdf":o.endsWith(".txt")?"txt":o.endsWith(".md")?"md":o.endsWith(".docx")?"docx":o.endsWith(".doc")?"doc":""}(a),[a]),y=(0,n.useMemo)(()=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!e||!e.includes("|"))return e;const o=e.split("\n"),i=[];let n=0;const l=e=>{const o=e.match(/^\s*\|\s*([^|\n]+?)\s*\|\s*([^|\n]+?)\s*\|\s*$/);if(!o)return null;const i=String(o[1]||"").trim(),n=String(o[2]||"").trim(),l=i.toLowerCase(),t=n.toLowerCase();return{col1:i,col2:n,dividerLike:/^:?-{2,}:?$/.test(i)||/^:?-{2,}:?$/.test(n),headerLike:["field","value","key"].includes(l)||["field","value"].includes(t)}};for(;n<o.length;){if(!l(o[n])){i.push(o[n]),n+=1;continue}const e=[];for(;n<o.length;){const i=l(o[n]);if(!i)break;i.dividerLike||i.headerLike||!i.col1||e.push(`- **${i.col1}:** ${i.col2}`),n+=1}e.length&&i.push(...e)}return i.join("\n").replace(/\n{3,}/g,"\n\n").trim()}(x),[x]),_=async function(e){var o;let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const l=new URLSearchParams({callInstanceId:e});i&&l.set("download","true"),n&&l.set("read_content","true");const t=await s().get(`https://api-aks.goodmeetings.ai/v2/upload-doc/get-doc-signed-url?${l.toString()}`);return(null===t||void 0===t||null===(o=t.data)||void 0===o?void 0:o.data)||{}};(0,n.useEffect)(()=>{const e=i||(null===o||void 0===o?void 0:o.callInstanceId);if(!e)return void u("");let n=!0;return(async()=>{v(!0);try{const o=await _(e,!1,!0),i=(null===o||void 0===o?void 0:o.signed_url)||"";n&&(u(i),"string"===typeof(null===o||void 0===o?void 0:o.markdown_content)?(h(o.markdown_content),f(!1)):(h(""),f(!0)))}catch{n&&(u(""),h(""),f(!0))}finally{n&&v(!1)}})(),()=>{n=!1}},[i,null===o||void 0===o?void 0:o.callInstanceId]);return(0,c.jsxs)("div",{className:"left-pane file-upload-doc-panel",children:[(0,c.jsxs)(l.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:1,mb:1.5,flexWrap:"wrap"},children:[(0,c.jsx)(l.Typography,{variant:"subtitle2",sx:{fontWeight:600,color:"#242D35"},children:"Preview of Document"}),(0,c.jsxs)(l.Box,{sx:{display:"flex",gap:1,flexWrap:"wrap"},children:[(0,c.jsx)(l.Button,{size:"small",variant:"outlined",startIcon:(0,c.jsx)(t.default,{sx:{fontSize:18}}),onClick:async()=>{const e=i||(null===o||void 0===o?void 0:o.callInstanceId);if(e)try{const o=await _(e,!1,!1),i=(null===o||void 0===o?void 0:o.signed_url)||"";i&&window.open(i,"_blank","noopener,noreferrer")}catch{a&&window.open(a,"_blank","noopener,noreferrer")}},disabled:!a||p,sx:{textTransform:"none",borderColor:"#E2E2E5",color:"#242D35"},children:"Open"}),(0,c.jsx)(l.Button,{size:"small",variant:"contained",startIcon:(0,c.jsx)(d.LuDownload,{size:16}),onClick:async()=>{const e=i||(null===o||void 0===o?void 0:o.callInstanceId);if(!e)return;const n=((null===o||void 0===o?void 0:o.title)||"document").replace(/[^\w\-. ]+/g,"_").trim().slice(0,120);let l="";try{const o=await _(e,!0,!1);if(l=(null===o||void 0===o?void 0:o.signed_url)||"",!l)return;const i=await fetch(l,{mode:"cors",credentials:"omit"});if(i.ok){const e=await i.blob(),o=e.type||"";let l="";o.includes("pdf")?l=".pdf":o.includes("wordprocessingml")?l=".docx":o.includes("msword")&&(l=".doc");const t=URL.createObjectURL(e),d=document.createElement("a");return d.href=t,d.download=l?`${n}${l}`:n,document.body.appendChild(d),d.click(),document.body.removeChild(d),void URL.revokeObjectURL(t)}const t=document.createElement("a");t.href=l,t.download="pdf"===g?`${n}.pdf`:n,document.body.appendChild(t),t.click(),document.body.removeChild(t)}catch{if(!l)return;const e=document.createElement("a");e.href=l,e.target="_blank",e.rel="noopener noreferrer",e.download="pdf"===g?`${n}.pdf`:n,document.body.appendChild(e),e.click(),document.body.removeChild(e)}},disabled:!a||p,sx:{textTransform:"none",bgcolor:"#4671F0",boxShadow:"none"},children:"Download"})]})]}),a?"pdf"===g?(0,c.jsx)(l.Box,{sx:{flex:1,minHeight:360,height:{xs:"55vh",md:"calc(100vh - 220p
1x)"},maxHeight:{xs:"70vh",md:"calc(100vh - 180px)"},border:"1px solid #EAECEE",borderRadius:"8px",overflow:"hidden",bgcolor:"#fff"},children:(0,c.jsx)("object",{data:a,type:"application/pdf",style:{width:"100%",height:"100%",border:"none",display:"block"},children:(0,c.jsxs)(l.Typography,{color:"text.secondary",sx:{p:2,fontSize:14},children:["PDF preview is not supported in your browser. Use the ",(0,c.jsx)("strong",{children:"Open"})," button above to view, or ",(0,c.jsx)("strong",{children:"Download"})," to save the file."]})})}):["txt","md"].includes(g)?(0,c.jsx)(l.Box,{sx:{minHeight:360,height:{xs:"55vh",md:"calc(100vh - 220px)"},maxHeight:{xs:"70vh",md:"calc(100vh - 180px)"},border:"1px solid #EAECEE",borderRadius:"8px",overflow:"hidden",bgcolor:"#fff"},children:m?(0,c.jsx)("iframe",{title:"Client document text preview",src:a,style:{width:"100%",height:"100%",border:"none"}}):(0,c.jsx)(l.Box,{sx:{p:2,height:"100%",overflow:"auto","& h1, & h2, & h3":{mt:1.5,mb:1,color:"#242D35"},"& p, & li":{fontSize:14,lineHeight:1.6,color:"#242D35"},"& pre":{backgroundColor:"#F7F9FC",p:1.5,borderRadius:"6px",overflowX:"auto"},"& code":{backgroundColor:"#F1F3F5",px:.5,borderRadius:"4px"}},children:(0,c.jsx)(r.default,{children:y})})}):"docx"===g||"doc"===g?(0,c.jsx)(l.Box,{sx:{flex:1,minHeight:360,height:{xs:"55vh",md:"calc(100vh - 220px)"},maxHeight:{xs:"70vh",md:"calc(100vh - 180px)"},border:"1px solid #EAECEE",borderRadius:"8px",overflow:"hidden",bgcolor:"#fff"},children:(0,c.jsx)("iframe",{title:"Client document",src:`https://view.officeapps.live.com/op/embed.aspx?src=${encodeURIComponent(a)}`,style:{width:"100%",height:"100%",border:"none"}})}):(0,c.jsx)(l.Box,{sx:{p:2,border:"1px solid #EAECEE",borderRadius:"8px",bgcolor:"#FAFAFA"},children:(0,c.jsx)(l.Typography,{variant:"body2",color:"text.secondary",sx:{mb:2,fontSize:14},children:"Preview is not available for this document format. Please Open or Download to access the file."})}):(0,c.jsx)(l.Typography,{color:"text.secondary",sx:{p:2,fontSize:14},children:p?"Generating secure document URL...":"No document link is available for this upload."})]})};i.d(o,["default",0,u])},94566(e,o,i){i.r(o);var n=i(9950),l=i(81402),t=i(79227),d=i(82173),a=i(21636),s=i(62434),r=i(38778),c=i(37487),u=i(72853),p=i(44414);const v=e=>{const{setopenShareModal:o}
1=e,[i,v]=(0,n.useState)(!1),[x,h]=(0,n.useState)(null),m=(0,n.useRef)(null),[f,g]=(0,n.useState)(!1),[y,_]=(0,n.useState)(!1),[b]=(0,c.useValue)();(0,n.useEffect)(()=>{(0,s.default)().then(e=>_(e))},[]);return(0,p.jsxs)("nav",{className:"new_recordings_topnav",children:[(0,p.jsx)("img",{src:d.default,style:{width:"104px"},alt:"Logo"}),(0,p.jsx)("div",{style:{flex:1}}),(0,p.jsx)("div",{ref:m,children:(0,p.jsx)(l.Button,{disableElevation:!0,variant:"contained",style:{textTransform:"none",lineHeight:1,padding:"12px 16px",fontSize:12,borderRadius:8},onClick:()=>{(0,r.default)("share_cta_click_toptoolbar_meetingpage"),o(!0)},startIcon:(0,p.jsx)(a.LuShare2,{style:{color:"white",fontSize:12}}),children:"Share/ Trim"})}),(0,p.jsx)(l.IconButton,{style:{padding:0},children:(0,p.jsx)(t.Menu,{onClick:()=>g(!0)})}),(0,p.jsx)(l.Drawer,{anchor:"right",open:f,onClose:()=>g(!1),children:(0,p.jsx)(u.LinkLists,{setOpenDrawer:g,user:null===b||void 0===b?void 0:b.cookie,handleJoinMeeting:{}})})]})};i.d(o,["default",0,v])},7154(e,o,i){i.r(o);var n=i(9950),l=i(81402),t=i(21636),d=i(19126),a=i(33638),s=(i(31567),i(52316)),r=i(8538),c=i(26927),u=i(91287),p=i(37487),v=i(50145),x=(i(98371),i(38778)),h=i(92709),m=i(28267),f=(i(57365),i(44414));const g=()=>{const e=(0,h.useTheme)(),o=(0,l.useMediaQuery)(e.breakpoints.down("md")),i=(0,n.useRef)(null),{callRecordings:t}=(0,r.useRecordingContext)(),d=null===t||void 0===t?void 0:t.some(e=>{var o;return null===e||void 0===e||null===(o=e.video_url_input)||void 0===o?void 0:o.trim()});return(0,f.jsxs)("div",{className:"left-pane",ref:i,children:[(0,f.jsx)(y,{}),!o&&!d&&(0,f.jsx)(_,{}
1),!o&&(0,f.jsx)(b,{leftPanelRef:i})]})},y=()=>{const{callRecordings:e,recording:o,slidervalue:i,toggleVideo:l,isRecordPaused:t,setSliderValue:d,sliderPressed:u,mobile:p,setSliderPressed:v,setAnyVidoePLaying:x,anyVidoePLaying:h,speakerLinePressed:m,setSpeakerLinepressed:g,videoRef:y,openShareModal:_,setopenShareModal:b,seekVideo:S,timerRef:w,hasValidTimestampSeek:k}=(0,r.useRecordingContext)(),I=(0,n.useRef)(),P=null===e||void 0===e?void 0:e.some(e=>{var o;return null===e||void 0===e||null===(o=e.video_url_input)||void 0===o?void 0:o.trim()});return(0,f.jsxs)("div",{className:"player-container",children:[(0,f.jsx)(j,{}),!P&&(0,f.jsx)(a.NovideoSection,{mobile:p,noVideoRef:I,recording:o,seekVideo:S}),null===e||void 0===e?void 0:e.map((e,n)=>(0,f.jsx)(s.Plyr,{toggleVideo:l,isRecordPaused:t,element:e,annotations:null===o||void 0===o?void 0:o.annotation[null===e||void 0===e?void 0:e.recordingId],i:n,recording:o,setSliderValue:d,slidervalue:i,sliderPressed:u,mobile:p,setSliderPressed:v,setAnyVidoePLaying:x,anyVidoePLaying:h,speakerLinePressed:m,setSpeakerLinepressed:g,videoRef:y,openShareModal:_,setopenShareModal:b,removeShareDialoge:!0,hasValidTimestampSeek:k})),!p&&(0,f.jsx)(c.default,{recording:o,slidervalue:i,setSliderValue:d,anyVidoePLaying:h,seekVideo:S,setSliderPressed:v,timerRef:w,pinLength:0}),(0,f.jsx)(C,{})]})},_=e=>{var o;let{sharePage:i=!1,leftPanelRef:n}=e;const{handleSliderChangeComitted:l,slidervalue:t,timerRef:d,mobile:a}=(0,r.useRecordingContext)(),[s]=(0,p.useValue)();return(0,f.jsxs)("div",{className:"timeline_section",ref:d,children:[(0,f.jsx)(u.default,{handleSliderChangeComitted:l,slidervalue:t}),null===s||void 0===s||null===(o=s.video_chapters)||void 0===o?void 0:o.map((e,o)=>{var n,l,d,r,c,u,p,v,x,h,m,g,y,_,b,j;return(0,f.jsxs)("div",{style:{background:" #FAFAFA",border:"1px solid #EAECEE",borderRadius:"6px",padding:"14px 16px",display:t>=e.start_time&&t<=e.end_time&&(null===s||void 0===s||null===(n=s.video_chapters)||void 0===n||!n[o+1]||t>(null===s||void 0===s||null===(l=s.video_chapters)||void 0===l?void 0:l[o+1].end_time))&&(null===s||void 0===s||null===(d=s.video_chapters)||void 0===d||!d[o+2]||t>(null===s||void 0===s||null===(r=s.video_chapters)||void 0===r?void 0:r[o+2].end_time))&&(null===s||void 0===s||null===(c=s.video_chapters)||void 0===c||!c[o+3]||t>(null===s||void 0===s||null===(u=s.video_chapters)||void 0===u?void 0:u[o+3].end_time))||((o+1===(null===s||void 0===s||null===(p=s.video_chapters)||void 0===p?void 0:p.length)?t>=e.start_time:t<=e.end_time)&&(0===o||t>(null===s||void 0===s||null===(v=s.video_chapters)||void 0===v||null===(x=v[o-1])||void 0===x?void 0:x.start_time)&&t>=e.start_time)&&(o+1===(null===s||void 0===s||null===(h=s.video_chapters)||void 0===h?void 0:h.length)||(null===s||void 0===s||null===(m=s.video_chapters)||void 0===m||!m[o+1]||(null===s||void 0===s||null===(g=s.video_chapters)||void 0===g||null===(y=g[o+1])||void 0===y?void 0:y.start_time)>t))?"block":"none"),position:"relative"},children:[(0,f.jsx)("h1",{style:{fontSize:"15px",paddingBottom:"5px",fontWeight:"500"},children:null!==(_=e.topic_name)&&void 0!==_?_:""}),(0,f.jsx)("p",{style:{fontSize:"14px",color:"#3F3F3F",lineHeight:"18px"},children:"'"===(null===(b=e.topic_summary)||void 0===b?void 0:b[0])?e.topic_summary.slice(1,-1):null!==(j=e.topic_summary)&&void 0!==j?j:""}),!i&&(0,f.jsx)(S,{userState:s,i:o,mobile:a,noShare:!1,chapterData:e,start_time:e.start_time})]},`${o}${null===e||void 0===e?void 0:e.topic_name}`)})]})},b=e=>{let{leftPanelRef:o}=e;const{combinedSpeakers:i,transcriptsList:n,videoRef:l,slidervalue:t,timerRef:d,setSliderValue:a,setSpeakerLinepressed:s,setSliderPressed:c,sliderPressed:u,mobile:p,pinLength:v}=(0,r.useRecordingContext)();return(0,f.jsx)("div",{className:"new_singlevideo_root lowerWrapper",children:(0,f.jsx)(m.default,{combinedSpeakers:i,transcriptsList:n,videoRef:l,slidervalue:t,timerRef:d,setSliderValue:a,setSpeakerLinepressed:s,setSliderPressed:c,sliderPressed:u,mobile:p,setPinLength:()=>{},pinLength:v,fromNew:!0,leftPanelRef:o})})},S=e=>{let{userState:o,i:i,start_time:l,mobile:a,noShare:s,chapterData:r}=e;
1const[c,u]=(0,n.useState)(!1);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(d.default,{title:"Share Moments",placement:"top",children:(0,f.jsxs)("button",{style:{position:"absolute",right:8,top:8,padding:a?"6px 6px 6px 12px":"6px 6px 6px 4px",alignItems:"center",display:"flex",background:"#ffffff",color:"#111111",borderRadius:20,fontSize:18,border:1,borderStyle:"solid",borderColor:"#EAECEE"},onClick:()=>u(!0),children:[" ",(0,f.jsx)(t.LuShare2,{})," ",!a&&""]})}),!s&&(0,f.jsx)(v.default,{openShareModal:c,setopenShareModal:u,addEventsToServer:x.default,userState:o,mobile:a,i:i,chapter:!0,start_time:l,chapterData:r})]})},j=()=>{const{setopenShareModal:e,downloadVideoFile:o,isDonwnloading:i,callRecordings:n}=(0,r.useRecordingContext)();return(0,f.jsx)("div",{className:"action-items",children:(0,f.jsx)(d.default,{title:"Download Video",placement:"top",children:(0,f.jsx)(w,{className:"share_button",onClick:o,disabled:i,variant:"outlined",children:(0,f.jsx)(t.LuDownload,{color:"#111111",size:14})})})})},w=(0,h.styled)(l.Button)({textTransform:"none",borderRadius:"10px",fontSize:"12px",color:"#0D0C22",borderColor:"#A8A8A8",outlineColor:"#A8A8A8"}),C=()=>{const{openShareModal:e,setopenShareModal:o,mobile:i}=(0,r.useRecordingContext)(),[n]=(0,p.useValue)();return(0,f.jsx)(v.default,{openShareModal:e,setopenShareModal:o,addEventsToServer:x.default,userState:n,mobile:i,i:0})};i.d(o,["default",0,g])},47791(e,o,i){i.r(o);i(9950),i(9053);var n=i(8538),l=i(9698),t=(i(92055),i(44414));const d=()=>{const{recording:e,speakernames:o,meetingInfo:i}=(0,n.useRecordingContext)();return(0,t.jsx)("div",{className:"new_singlevideo_root right-pane",children:(0,t.jsx)(l.default,{})})};i.d(o,["default",0,d])},9698(e,o,i){i.r(o);i(9950);var n=i(81402),l=i(92709),t=i(3199),d=i(8538),a=i(44414);const s=()=>{var e,o;const{tabValue:i,handleTabChange:n,tabItems:l}=(0,d.useRecordingContext)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r,{className:"details-page-tabs",value:i,onChange:n,variant:"scrollable",orientation:"vertical",role:"navigation",scrollButtons:!1,"aria-label":"scrollable auto tabs example",ScrollButtonComponent:u,children:null===l||void 0===l?void 0:l.map((e,o)=>(0,a.jsx)(c,{icon:e.icon,label:e.label,style:{display:null!==e&&void 0!==e&&e.show?"inline-flex":"none"}},e.label))}),(0,a.jsxs)("div",{className:"new_singlevideo_root",children:[null===l||void 0===l||null===(e=l[i])||void 0===e?void 0:e.section,null===l||void 0===l||null===(o=l[1])||void 0===o?void 0:o.alwaysonSection]})]})},r=(0,l.styled)(n.Tabs)({borderBottom:"none","& .MuiTabs-scrollButtons":{width:"auto"},"& .MuiTabs-indicator":{height:0}}),c=(0,l.styled)(n.Tab)({textTransform:"none",fontSize:"12px",fontWeight:"400",fontFamily:"CircularXX TT",padding:"0px 12px",minHeight:0,color:"#434343","&.Mui-selected":{color:"#4671F0","& svg":{fill:"#4671F0"}}}),u=e=>{let{direction:o,onClick:i,disabled:l}=e;const d="left"===o?"180deg":"0deg";return(0,a.jsx)(n.IconButton,{onClick:i,disabled:l,className:"round-icon",style:{transform:`rotate(${d})`},children:(0,a.jsx)(t.default,{style:{fontSize:"2rem",color:"#505050"}})})};i.d(o,["default",0,s])},93812(e,o,i){i.r(o);i(9950);var n=i(81402),l=i(37487),t=i(22875),d=i(58818),a=i(64209),s=i(44414);const r=()=>{var e,o;const[i,r]=(0,l.useValue)(),c=(0,n.useTheme)(),u=(0,n.useMediaQuery)(c.breakpoints.down("md"));return(0,s.jsx)(n.Dialog,{open:Boolean(i.meeting_details_open),onClose:()=>{r({type:t.ACTIONS.UPDATE_MEETING_INFO,payload:null}),r({type:t.ACTIONS.MEETING_DETAILS_OPEN,payload:null})},fullWidth:!0,maxWidth:"xl",fullScreen:!!u,className:u?"detailsPopupBig":"",PaperProps:{sx:{width:u?"100%":"calc(100% - 20px)",maxWidth:u?"100%":"calc(100% - 20px)",height:u?"100%":"calc(100% - 20px)",maxHeight:u?"auto":"calc(100% - 20px)",margin:"25px auto",borderRadius:u?"0px":"20px",display:"flex",flexDirection:"column"}},TransitionComponent:n.Slide,TransitionProps:{direction:"up",duration:500},children:(0,s.jsx)(n.DialogContent,{sx:{p:0,flex:1,display:"flex",flexDirection:"column",overflow:"hidden"},children:(0,s.jsx)(n.Box,{sx:{display:"flex",flex:1,overflow:"hidden"},children:i.meeting_details_open&&(p=i.meeting_details_open,"document_upload"===(null===p||void 0===p?void 0:p.source)||"file_upload"===(null===p||void 0===p?void 0:p.source)?(0,s.jsx)(a.default,{},(null===(e=i.meeting_details_open)||void 0===e?void 0:e.callInstanceId)||"document-details"):(0,s.jsx)(d.default,{},(null===(o=i.meeting_details_open)||void 0===o?void 0:o.callInstanceId)||"meeting-details"))})})});var p};i.d(o,["default",0,r])},91344(e,o,i){i.r(o);var n=i(37487),l=i(80537),t=i(93812),d=i(42074),a=i(9950),s=i(22875),r=i(15796),c=i(15640),u=i(44275),p=i(44414);const v=(0,a.lazy)(()=>Promise.all([i.e(9548),i.e(2196),i.e(2955)]).then(()=>i(82955))),x=(0,a.lazy)(()=>Promise.all([i.e(5271),i.e(9548),i.e(218),i.e(2881)]).then(()=>i(62881))),h=(0,a.lazy)(()=>Promise.all([i.e(9548),i.e(8519),i.e(3916)]).then(()=>i(40202))),m=(0,a.lazy)(()=>i.e(5850).then(()=>i(95850))),f=(0,a.lazy)(()=>i.e(6977).then(()=>i(96977))),g=(0,a.lazy)(()=>i.e(8324).then(()=>i(88324))),y=(0,a.lazy)(()=>Promise.all([i.e(218),i.e(1735)]).then(()=>i(40218))),_=["Paytm_device_EDC","Paytm_device_sb","Paytm_device_lending","Paytm_device_payout"],b=(0,a.lazy)(()=>i.e(4547).then(()=>i(44547))),S=(0,a.lazy)(()=>Promise.all([i.e(5271),i.e(7241),i.e(7625)]).then(()=>i(7625))),j=(0,a.lazy)(()=>Promise.all([i.e(5271),i.e(7241),i.e(5943),i.e(83)]).then(()=>i(61794))),w=(0,a.lazy)(()=>Promise.all([i.e(8601),i.e(3207)]).then(()=>i(33207))),C=(0,a.lazy)(()=>i.e(464).then(()=>
1i(60464))),k=(0,a.lazy)(()=>i.e(6622).then(()=>i(96622))),I=()=>(0,p.jsx)("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,p.jsx)("h1",{children:"Task History"})}),P=()=>{var e,o,i,P,R,L,E;const[T,D]=(0,n.useValue)(),[B]=(0,d.useSearchParams)();(0,a.useEffect)(()=>{const e=B.get("tab");"Analytics"!==e&&"Manager Report"!==e||D({type:s.ACTIONS.SET_ACTIVE_TAB,payload:e})},[B,D]);const V=T.active_tab,A=(0,r.resolveWorkspaceIdentifiers)(null===T||void 0===T?void 0:T.cookie,window.location.pathname),N=A.some(e=>(0,r.isManagerReportWorkspace)(e,null===T||void 0===T?void 0:T.cookie)),M=(null===T||void 0===T||null===(e=T.cookie)||void 0===e?void 0:e.workspace_name)||(null===T||void 0===T||null===(o=T.cookie)||void 0===o?void 0:o.org_id)||(null===T||void 0===T||null===(i=T.cookie)||void 0===i?void 0:i.orgId)||(null===T||void 0===T||null===(P=T.cookie)||void 0===P?void 0:P.company)||(null===(R=window.location.pathname)||void 0===R||null===(L=R.split)||void 0===L||null===(E=L.call(R,"/"))||void 0===E?void 0:E[1])||"",z=(0,u.isPaytmCollectionsDashboardContext)(null===T||void 0===T?void 0:T.cookie,window.location.pathname),O="Paytm_Collections"===M||z,F="Paytm_Insurance_Support"===M,W=_.includes(M),H="Paytm_Money"===M,U="Borderplus"===M||A.some(e=>"borderplus"===String(e).trim().toLowerCase());var $,G;return"Analytics"===V||"Manager Report"===V?(console.log("Workspace",M),U?(0,p.jsx)(g,{}):N&&H?(0,p.jsx)(m,{}):N&&z?(0,p.jsx)(f,{}):N&&(O||W||F)?(0,p.jsx)(h,{}):"UpGradROW"===M?(0,p.jsx)(y,{userId:(null===T||void 0===T||null===($=T.cookie)||void 0===$?void 0:$.user_id)||(null===T||void 0===T||null===(G=T.cookie)||void 0===G?void 0:G.userId),company:"upGradROW"}):N?(0,p.jsx)(x,{}):(0,p.jsx)(v,{})):"Billing"===V?(0,p.jsx)(b,{}):"Task History"===V?(0,p.jsx)(I,{}):"Home"===V?(0,p.jsx)(w,{}):"Upload Recordings"===V?(0,p.jsx)(S,{}):"Notetaker"===V?(0,p.jsx)(C,{}):"Video Analysis"===V&&(0,c.canSeeVideoAnalysis)(null===T||void 0===T?void 0:T.cookie)?(0,p.jsx)(k,{}):"Workspace Settings"===V?(0,p.jsx)(j,{onlyProfile:!1}):"Show Profile"===V?(0,p.jsx)(j,{onlyProfile:!0}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(l.default,{isPrivate:!0}),(0,p.jsx)(t.default,{})]})};i.d(o,["default",0,P])}}]);

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.