{"version":3,"sources":["webpack:///./src/helpers/downloadFile.ts","webpack:///./src/helpers/documents.ts","webpack:///./node_modules/dayjs/dayjs.min.js","webpack:///./src/components/ui/modals/ImagePeviewModal.vue?84a2","webpack:///./src/components/ui/modals/ImagePeviewModal.vue","webpack:///./src/components/ui/modals/ImagePeviewModal.vue?60b4","webpack:///./src/helpers/date.ts","webpack:///./src/components/ui/modals/ImagePeviewModal.vue?5a3f"],"names":["cov_2mnot0gxd5","actualCoverage","downloadFile","filename","estateId","b","f","s","store","dispatch","id","then","res","open","data","src","window","isImage","cov_1aof72amhs","imageFormats","getFileType","imgLink","split","pop","fileName","type","includes","previewIcon","fileLink","image","require","getDocumentName","name","parts","length","t","e","module","exports","this","n","r","i","u","a","o","h","c","d","l","$","y","M","weekdays","months","ordinal","m","String","Array","join","v","z","utcOffset","Math","abs","floor","date","year","month","clone","add","ceil","p","w","D","ms","Q","toLowerCase","replace","g","_","S","args","arguments","O","locale","$L","utc","$u","x","$x","$offset","parse","prototype","$d","Date","NaN","test","match","substring","UTC","init","$y","getFullYear","$M","getMonth","$D","getDate","$W","getDay","$H","getHours","$m","getMinutes","$s","getSeconds","$ms","getMilliseconds","$utils","isValid","toString","isSame","startOf","endOf","isAfter","isBefore","$g","set","unix","valueOf","getTime","toDate","apply","slice","$locale","weekStart","$set","min","daysInMonth","get","Number","round","subtract","format","invalidDate","meridiem","YY","YYYY","MM","MMM","monthsShort","MMMM","DD","dd","weekdaysMin","ddd","weekdaysShort","dddd","H","HH","hh","A","mm","ss","SSS","Z","getTimezoneOffset","diff","toJSON","toISOString","toUTCString","T","forEach","extend","$i","isDayjs","en","Ls","_hoisted_1","class","_hoisted_2","_hoisted_3","render","_ctx","_cache","$props","$setup","$data","$options","_openBlock","_createBlock","isOpen","showImg","onClose","close","showContainer","content","_withCtx","_createElementVNode","onClick","alt","_defineComponent","__name","props","emits","setup","__props","expose","__expose","emit","__returned__","Modal","Object","defineProperty","enumerable","value","__exports__","cov_4tnu0h68q","formatDate","undefined","dayjs","formatDateMonthYear","formatDateMonthDayYear","formatDateDayMonthYear","formatDateCalendar","formatDateDayMonthYearWithTime","formatDateYYYYMMDD","formatDateToday"],"mappings":"0sHAgBS,OAAAA,EAAA,kBAAAC,KAbH,SAAUC,EAAaC,EAAkBC,GAAQJ,IAAAK,EAAA,QAAG,KAAEL,IAAAM,EAAA,KAAAN,IAAAO,EAAA,KACtDH,GAAUJ,IAAAK,EAAA,QAAAL,IAAAO,EAAA,KACZC,aACGC,SAAS,uBAAwB,CAAEC,GAAIN,EAAUD,aACjDQ,KAAMC,IAAOZ,IAAAM,EAAA,KAAAN,IAAAO,EAAA,KACZM,EAAKV,EAAUS,EAAIE,UAElBd,IAAAK,EAAA,QAAAL,IAAAO,EAAA,KACLM,EAAKV,IAIT,SAASU,EAAKV,EAAkBY,GAAGf,IAAAK,EAAA,QAAG,KAAEL,IAAAM,EAAA,KAAAN,IAAAO,EAAA,KACtCS,OAAOH,MAAKb,IAAAK,EAAA,QAAAU,IAAGf,IAAAK,EAAA,QAAIF,IAAUc,qBAAQd,IAASH,IAAAK,EAAA,QAAG,UAAOL,IAAAK,EAAA,QAAG,WAApDL,K,ipJCAP,OAAAkB,EAAA,kBAAAjB,K,uLAAAiB,IAhBF,MAAMC,GAAYD,IAAAX,EAAA,KAAG,CAAC,MAAO,OAAQ,MAAO,MAAO,QAAOW,IAAAX,EAAA,KAEnD,MAAMa,EAAeC,IAAuCH,IAAAZ,EAAA,KAAAY,IAAAX,EAAA,KAC5Dc,GAEEH,IAAAb,EAAA,QAAAa,IAAAX,EAAA,KAAOc,EAAQC,MAAM,KAAKC,QAFnBL,IAAAb,EAAA,aAAAa,IAAAX,EAAA,OAGdW,IAAAX,EAAA,KAEK,MAAMU,EAAWO,IAA6BN,IAAAZ,EAAA,KACnD,MAAMmB,GAAIP,IAAAX,EAAA,KAAGa,EAAYI,IACzB,OADmCN,IAAAX,EAAA,KAC5BkB,GAAIP,IAAAb,EAAA,QAAGc,EAAaO,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N,IAAAlN,EAAA,KAChDqN,IAAM1J,GAAM6E,OAAO,sBAGtB,SAAUmF,EAAmBhK,GACjC,OADoDuJ,IAAAnN,EAAA,KAAAmN,IAAAlN,EAAA,KAC7CqN,IAAM1J,GAAM6E,OAAO,cAGtB,SAAUoF,EAAgBjK,GAC9B,OADiDuJ,IAAAnN,EAAA,KAAAmN,IAAAlN,EAAA,KAC1CqN,IAAM1J,GAAM6E,OAAO,gBAZtB0E,K,yDCrBN","file":"js/CustomerLotContracts~CustomerLotDocuments~DocumentsView.2ec19668.js","sourcesContent":["import store from \"@/store\";\nimport { isImage } from \"./documents\";\n\nexport function downloadFile(filename: string, estateId = \"\"): void {\n if (estateId) {\n store\n .dispatch(\"estate/getEstateFile\", { id: estateId, filename })\n .then((res) => {\n open(filename, res.data);\n });\n } else {\n open(filename);\n }\n}\n\nfunction open(filename: string, src = \"\") {\n window.open(src || filename, isImage(filename) ? \"_self\" : \"_blank\");\n}\n","const imageFormats = [\"jpg\", \"jpeg\", \"svg\", \"png\", \"gif\"];\n\nexport const getFileType = (imgLink: string): string | undefined => {\n if (!imgLink) {\n return undefined;\n } else return imgLink.split(\".\").pop();\n};\n\nexport const isImage = (fileName: string): boolean => {\n const type = getFileType(fileName);\n return type ? imageFormats.includes(type) : false;\n};\n\nexport const previewIcon = (fileLink: string, fileName = \"\"): string => {\n const image = isImage(fileName || fileLink);\n return image ? fileLink : require(`@/assets/icons/icon-pdf.svg`);\n};\n\nexport function getDocumentName(name: string) {\n const parts = name.split(\"/\");\n return parts[parts.length - 1];\n}\n","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",f=\"month\",h=\"quarter\",c=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t) (_pushScopeId(\"data-v-857011de\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-container\" }\nconst _hoisted_2 = { class: \"modal-wrapper\" }\nconst _hoisted_3 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock($setup[\"Modal\"], {\n isOpen: $props.showImg,\n onClose: $setup.close,\n showContainer: false\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"button\", {\n class: \"close\",\n onClick: $setup.close\n }),\n _createElementVNode(\"img\", {\n src: $props.showImg,\n alt: \"Preview\"\n }, null, 8, _hoisted_3)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"isOpen\"]))\n}","import { defineComponent as _defineComponent } from 'vue'\n\nimport Modal from \"@/components/ui/Modal.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImagePeviewModal',\n props: {\n showImg: {\n type: String,\n },\n},\n emits: [\"close\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n\n\nfunction close() {\n emits(\"close\");\n}\n\nconst __returned__ = { emits, props, close, Modal }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./ImagePeviewModal.vue?vue&type=template&id=857011de&scoped=true&ts=true&lang=pug\"\nimport script from \"./ImagePeviewModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImagePeviewModal.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ImagePeviewModal.vue?vue&type=style&index=0&id=857011de&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-857011de\"]])\n\nexport default __exports__","import dayjs from \"dayjs\";\n\nexport function formatDate(date: string, format = \"D MMM YYYY\"): string {\n return date !== undefined && dayjs(date).isValid()\n ? dayjs(date).format(format)\n : \"-\";\n}\n\nexport function formatDateMonthYear(\n date: string | Date,\n format = \"MMM YYYY\"\n): string {\n return dayjs(date).format(format);\n}\nexport function formatDateMonthDayYear(date: Date): string {\n return dayjs(date).format(\"MMM D, YYYY\");\n}\nexport function formatDateDayMonthYear(date: Date): string {\n return dayjs(date).format(\"D MMM YYYY\");\n}\n\nexport function formatDateCalendar(date: Date): string {\n return dayjs(date).format(\"YYYY/M/D\");\n}\nexport function formatDateDayMonthYearWithTime(date: Date): string {\n return dayjs(date).format(\"D MMM YYYY, h:mm A\");\n}\n\nexport function formatDateYYYYMMDD(date: string | Date): string {\n return dayjs(date).format(\"YYYY-MM-DD\");\n}\n\nexport function formatDateToday(date: string | Date): string {\n return dayjs(date).format(\"DD MMMM YYYY\");\n}\n","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/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/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ImagePeviewModal.vue?vue&type=style&index=0&id=857011de&lang=scss&scoped=true\""],"sourceRoot":""}