{"version":3,"sources":["webpack:///./node_modules/js-file-download/file-download.js","webpack:///./src/views/Jobs/Messaging/JobMessaging/ConversationMessages/Message.vue","webpack:///./src/views/Jobs/Messaging/JobMessaging/ConversationMessages/Message.vue?5e7b","webpack:///./src/views/Jobs/Messaging/JobMessaging/ConversationMessages/ReadIndicator.vue?b084","webpack:///./src/views/Jobs/Quotes/QuotesProvidedList/JobQuoteCard.vue?725c","webpack:///./src/views/Jobs/Quotes/QuotesProvidedList/JobQuoteCard.vue","webpack:///./src/views/Jobs/Quotes/QuotesProvidedList/JobQuoteCard.vue?2f0c","webpack:///./src/views/Jobs/Messaging/JobMessaging/ConversationMessages/ReadIndicator.vue","webpack:///./src/views/Jobs/Messaging/JobMessaging/ConversationMessages/ReadIndicator.vue?63a9","webpack:///./src/mixins/Conversations.js","webpack:///./src/views/Jobs/Messaging/JobMessaging/ConversationMessages/Message.vue?06ea"],"names":["module","exports","data","filename","mime","bom","blobData","blob","Blob","type","window","navigator","msSaveBlob","blobURL","URL","createObjectURL","webkitURL","tempLink","document","createElement","style","display","href","setAttribute","download","body","appendChild","click","setTimeout","removeChild","revokeObjectURL","class","isSentByMe","isSentBySyndesi","isPending","message","navigate_to","handleMessageClicked","getNameFromUserRoleId","sent_by_user_role_id","sent_from_syndesi","conversation_files","length","file","i","downloadConversationFile","jobId","key","timeAgoRefreshKey","displayTimeAgo","created_at","name","props","mixins","Dates","Conversations","TimeAgoRefresher","computed","userRole","this","id","pending","methods","userRoleId","sentFromSyndesi","member","_","find","conversationMembers","user_role","$emit","__exports__","render","for","quoteDisabled","quoteProviderJobMember","quote","quote_type","company_name","quote_terms","formatCostInPence","total_fee","hourly_rate","estimated_hours","monthly_fee","start_date","minimum_term_months","deposit_required","vat_rate","estimated_completion_date","formatDate","notes","terms_and_conditions_url","target","members","canAccept","isConfirmingAcceptance","disabled","attemptAccept","isAccepting","hasTermsAndConditions","termsAccepted","value","canAcceptQuote","accept","cancelConfirmingAcceptance","isAccepted","isRejected","toast","Display","Forms","components","JobMemberAvatars","Spinner","serverErrors","isClient","isAdvisor","confirmingAcceptanceForQuoteId","job","job_members","provider_user_role_id","client_name","client_email","accepted_job_quote_id","status","setConfirmingAcceptanceForQuoteId","clearConfirmingAcceptanceForQuoteId","vm","jobs","acceptQuote","then","r","success","catch","e","console","log","setAndNotifyErrors","conversationMembersToShow","width","user-role","UserRoleAvatar","Images","newerMessage","filter","memberCloned","last_read_at","conversation","user_role_id","moment","lowerLim","upperLim","lastReadAt","isValid","isBetween","isSameOrAfter","isSameOrBefore","fileDownload","require","useToast","path","API_BASE","conversation_id","axios","url","method","responseType","error"],"mappings":"uGAAAA,EAAOC,QAAU,SAASC,EAAMC,EAAUC,EAAMC,GAC5C,IAAIC,EAA2B,qBAARD,EAAuB,CAACA,EAAKH,GAAQ,CAACA,GACzDK,EAAO,IAAIC,KAAKF,EAAU,CAACG,KAAML,GAAQ,6BAC7C,GAA2C,qBAAhCM,OAAOC,UAAUC,WAKxBF,OAAOC,UAAUC,WAAWL,EAAMJ,OAEjC,CACD,IAAIU,EAAWH,OAAOI,KAAOJ,OAAOI,IAAIC,gBAAmBL,OAAOI,IAAIC,gBAAgBR,GAAQG,OAAOM,UAAUD,gBAAgBR,GAC3HU,EAAWC,SAASC,cAAc,KACtCF,EAASG,MAAMC,QAAU,OACzBJ,EAASK,KAAOT,EAChBI,EAASM,aAAa,WAAYpB,GAMD,qBAAtBc,EAASO,UAChBP,EAASM,aAAa,SAAU,UAGpCL,SAASO,KAAKC,YAAYT,GAC1BA,EAASU,QAGTC,YAAW,WACPV,SAASO,KAAKI,YAAYZ,GAC1BP,OAAOI,IAAIgB,gBAAgBjB,KAC5B,Q,6DC7BAkB,MAAM,kB,SACJA,MAAM,W,SAMNA,MAAM,S,sEATjB,gCAkBM,OAlBDA,MAAK,6BAAC,cAAa,cAAwB,EAAAC,WAAU,kBAAqB,EAAAC,gBAAe,QAAa,EAAAC,c,CACzG,gCAgBM,OAhBDH,MAAK,6BAAC,UAAS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AAWnH,EAAQ,kBAAoBH,EAAKuH,gBAAkB,UAAYvH,EAAKiB,GAC5GuG,IAAM,CACFC,IAAKJ,EACLK,OAAQ,MACRC,aAAc,SACfpC,KAAKC,IACJ0B,EAAa1B,EAAEjI,KAAMyC,EAAKxC,YAC3BkI,MAAMC,IACLC,QAAQC,IAAIF,GACZ1B,EAAM2D,MAAM,gC,yDClB5B","file":"js/messaging~view-job.7529efc5.js","sourcesContent":["module.exports = function(data, filename, mime, bom) {\n var blobData = (typeof bom !== 'undefined') ? [bom, data] : [data]\n var blob = new Blob(blobData, {type: mime || 'application/octet-stream'});\n if (typeof window.navigator.msSaveBlob !== 'undefined') {\n // IE workaround for \"HTML7007: One or more blob URLs were\n // revoked by closing the blob for which they were created.\n // These URLs will no longer resolve as the data backing\n // the URL has been freed.\"\n window.navigator.msSaveBlob(blob, filename);\n }\n else {\n var blobURL = (window.URL && window.URL.createObjectURL) ? window.URL.createObjectURL(blob) : window.webkitURL.createObjectURL(blob);\n var tempLink = document.createElement('a');\n tempLink.style.display = 'none';\n tempLink.href = blobURL;\n tempLink.setAttribute('download', filename);\n\n // Safari thinks _blank anchor are pop ups. We only want to set _blank\n // target if the browser does not support the HTML5 download attribute.\n // This allows you to download files in desktop safari if pop up blocking\n // is enabled.\n if (typeof tempLink.download === 'undefined') {\n tempLink.setAttribute('target', '_blank');\n }\n\n document.body.appendChild(tempLink);\n tempLink.click();\n\n // Fixes \"webkit blob resource error 1\"\n setTimeout(function() {\n document.body.removeChild(tempLink);\n window.URL.revokeObjectURL(blobURL);\n }, 200)\n }\n}\n","\n\n\n\n","import { render } from \"./Message.vue?vue&type=template&id=176a69a2&scoped=true\"\nimport script from \"./Message.vue?vue&type=script&lang=js\"\nexport * from \"./Message.vue?vue&type=script&lang=js\"\n\nimport \"./Message.vue?vue&type=style&index=0&id=176a69a2&scoped=true&lang=scss\"\n\nimport exportComponent from \"/codebuild/output/src1746773563/src/syndesi-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-176a69a2\"]])\n\nexport default __exports__","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ReadIndicator.vue?vue&type=style&index=0&id=16dfd1ed&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./JobQuoteCard.vue?vue&type=style&index=0&id=1f54d01d&scoped=true&lang=scss\"","\n\n\n\n","import { render } from \"./JobQuoteCard.vue?vue&type=template&id=1f54d01d&scoped=true\"\nimport script from \"./JobQuoteCard.vue?vue&type=script&lang=js\"\nexport * from \"./JobQuoteCard.vue?vue&type=script&lang=js\"\n\nimport \"./JobQuoteCard.vue?vue&type=style&index=0&id=1f54d01d&scoped=true&lang=scss\"\n\nimport exportComponent from \"/codebuild/output/src1746773563/src/syndesi-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1f54d01d\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./ReadIndicator.vue?vue&type=template&id=16dfd1ed&scoped=true\"\nimport script from \"./ReadIndicator.vue?vue&type=script&lang=js\"\nexport * from \"./ReadIndicator.vue?vue&type=script&lang=js\"\n\nimport \"./ReadIndicator.vue?vue&type=style&index=0&id=16dfd1ed&scoped=true&lang=scss\"\n\nimport exportComponent from \"/codebuild/output/src1746773563/src/syndesi-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-16dfd1ed\"]])\n\nexport default __exports__","let fileDownload = require('js-file-download');\nimport axios from 'axios';\n\nimport {useToast} from \"vue-toastification\";\nconst toast = useToast();\n\nexport default {\n methods: {\n downloadConversationFile(file, jobId) {\n let path = window.API_BASE + '/jobs/' + jobId + '/conversations/' + file.conversation_id + '/files/' + file.id;\n axios({\n url: path,\n method: 'GET',\n responseType: 'blob'\n }).then(r => {\n fileDownload(r.data, file.filename);\n }).catch(e => {\n console.log(e);\n toast.error('Error downloading file');\n });\n }\n }\n}","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Message.vue?vue&type=style&index=0&id=176a69a2&scoped=true&lang=scss\""],"sourceRoot":""}