{"version":3,"sources":["webpack:///./src/developing/components/communication/subcomponents/Webboard/MessageHeader.vue?820b","webpack:///src/developing/components/communication/subcomponents/Webboard/MessageHeader.vue","webpack:///./src/developing/components/communication/subcomponents/Webboard/MessageHeader.vue?8fe6","webpack:///./src/developing/components/communication/subcomponents/Webboard/MessageHeader.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","key","message","type","id","_v","_s","_e","staticClass","class","unread","attrs","senderUUID","subject","$t","sender_name","replace","sender_code","showContent","_f","content","sendDate","staticStyle","fromUser","_m","_l","label","index","labelColor","staticRenderFns","props","Object","require","default","Boolean","data","debug","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAW,QAAEI,EAAG,MAAM,CAACE,IAAIN,EAAIO,QAAQC,KAAO,IAAMR,EAAIO,QAAQE,IAAI,CAAET,EAAS,MAAEI,EAAG,MAAM,CAACJ,EAAIU,GAAGV,EAAIW,GAAGX,EAAIO,YAAYP,EAAIY,KAAKR,EAAG,MAAM,CAACS,YAAY,oCAAoCC,MAAM,CAAC,qBAAsBd,EAAIO,QAAQQ,SAAS,CAACX,EAAG,MAAM,CAACS,YAAY,sBAAsB,CAACT,EAAG,MAAM,CAACS,YAAY,2BAA2B,CAACT,EAAG,YAAY,CAACS,YAAY,uEAAuEG,MAAM,CAAC,IAAM,6BAA+BhB,EAAIO,QAAQU,WAAW,KAAO,WAAW,GAAGb,EAAG,MAAM,CAACS,YAAY,8BAA8B,CAACT,EAAG,MAAM,CAACS,YAAY,wBAAwB,CAACT,EAAG,MAAM,CAACS,YAAY,yBAAyB,CAAEb,EAAIO,QAAe,QAAEH,EAAG,KAAK,CAACJ,EAAIU,GAAG,IAAIV,EAAIW,GAAGX,EAAIO,QAAQW,YAAYd,EAAG,OAAO,CAACJ,EAAIU,GAAG,IAAIV,EAAIW,GAAGX,EAAImB,GAAG,eA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,SAAoK5B,EAAIY,KAA9JR,EAAG,UAAU,CAACS,YAAY,eAAec,YAAY,CAAC,aAAa,QAAQX,MAAM,CAAC,YAAc,GAAG,MAAQ,WAAW,CAACZ,EAAG,OAAO,CAACJ,EAAIU,GAAG,kBAA2B,WAAWN,EAAG,MAAM,CAACS,YAAY,sBAAsB,CAACb,EAAI6B,GAAG,GAAGzB,EAAG,MAAM,CAACS,YAAY,8BAA8B,CAACT,EAAG,MAAM,CAACS,YAAY,6CAA6Cb,EAAI8B,GAAI9B,EAAIO,QAAc,QAAE,SAASwB,EAAMC,GAAO,OAAO5B,EAAG,MAAM,CAACE,IAAI0B,EAAMnB,YAAY,4BAA4BC,MAAM,MAAQd,EAAIiC,WAAWF,IAAQ,CAAC,EAAQ3B,EAAG,UAAU,CAACS,YAAY,eAAec,YAAY,CAAC,aAAa,QAAQX,MAAM,CAAC,YAAc,GAAG,MAAQ,YAAY,CAACZ,EAAG,OAAO,CAACJ,EAAIU,GAAGV,EAAIW,GAAGoB,QAAY/B,EAAIY,MAAM,MAAK,WAAWZ,EAAIY,MACtyFsB,EAAkB,CAAC,WAAa,IAAIlC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACS,YAAY,eAAe,CAACT,EAAG,WCmGnJ,GACE+B,MAAO,CACL5B,QAAS,CACPC,KAAM4B,OACNC,SAAS,EACTC,QAAS,MAEXf,YAAa,CACXf,KAAM+B,QACND,SAAS,IAGbE,KAZF,WAaI,MAAO,CACLC,OAAO,KClHsY,I,YCO/YC,EAAY,eACd,EACA3C,EACAmC,GACA,EACA,KACA,KACA,MAIa,aAAAQ,E","file":"js/chunk-2d0dd5ff.93002a6f.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message)?_c('div',{key:_vm.message.type + '-' + _vm.message.id},[(_vm.debug)?_c('div',[_vm._v(_vm._s(_vm.message))]):_vm._e(),_c('div',{staticClass:\"mail__mail-item sm:pl-4 px-1 pt-6\",class:{'mail__opened-mail': !_vm.message.unread}},[_c('div',{staticClass:\"vx-row flex w-full\"},[_c('div',{staticClass:\"vx-col flex-shrink w-36\"},[_c('vs-avatar',{staticClass:\"sender__avatar flex-shrink-0 mr-3 border-2 border-solid border-white\",attrs:{\"src\":'http://files.xtrathai.com/' + _vm.message.senderUUID,\"size\":\"64px\"}})],1),_c('div',{staticClass:\"vx-col flex flex-grow px-0\"},[_c('div',{staticClass:\"mail__details w-full\"},[_c('div',{staticClass:\"mb-1 flex flex-inline\"},[(_vm.message.subject)?_c('h5',[_vm._v(\" \"+_vm._s(_vm.message.subject))]):_c('span',[_vm._v(\" \"+_vm._s(_vm.$t('no-subject'))+\" \")])]),_c('div',{staticClass:\"flex flex-inline justify-start items-center w-full\"},[_c('div',[_c('span',{staticClass:\"font-bold\"},[_vm._v(_vm._s(_vm.message.sender_name))]),_c('span',{staticClass:\"font-semibold\",class:{ '_auto_parentheses' : _vm.message.sender_name.replace(/\\s/g, '') }},[_vm._v(_vm._s(_vm.$t('general.code'))+\" \"+_vm._s(_vm.message.sender_code))])]),_c('span',{staticClass:\"ml-4\"},[_vm._v(\" วิชา ภาค ปี (ชี้เพื่อดู Info)\")])]),_c('div',{staticClass:\"mail__message truncate\"},[(_vm.showContent === true)?_c('span',[_vm._v(_vm._s(_vm._f(\"filter_tags\")(_vm.message.content)))]):_vm._e()])])]),_c('div',{staticClass:\"vx-col flex pr-0\"},[_c('div',{staticClass:\"mail-item__meta flex items-start\"},[_c('div',{staticClass:\"flex flex-col justify-center\"},[_c('div',{staticClass:\"flex justify-center\"},[_c('span',{staticClass:\"text-left\"},[_vm._v(_vm._s(_vm._f(\"date\")(_vm.message.sendDate,true)))]),_c('span',{staticClass:\"ml-1 text-right\"},[_vm._v(_vm._s(_vm._f(\"time\")(_vm.message.sendDate)))])]),_c('div',{staticClass:\"flex flex-col justify-end\"},[(_vm.message.unread)?_c('vs-chip',{staticClass:\"mt-1 my-auto\",staticStyle:{\"min-height\":\"20px\"},attrs:{\"transparent\":\"\",\"color\":\"warning\"}},[_c('span',[_vm._v(\"UNREAD\")])]):_vm._e(),(!_vm.message.fromUser)?_c('vs-chip',{staticClass:\"mt-1 my-auto\",staticStyle:{\"min-height\":\"20px\"},attrs:{\"transparent\":\"\",\"color\":\"danger\"}},[_c('span',[_vm._v(\"READ ONLY\")])]):_vm._e()],1)])])])]),_c('div',{staticClass:\"vx-row flex w-full\"},[_vm._m(0),_c('div',{staticClass:\"vx-col flex flex-grow pl-0\"},[_c('div',{staticClass:\"email__labels hidden sm:flex items-center\"},_vm._l((_vm.message.labels),function(label,index){return _c('div',{key:index,staticClass:\"h-2 w-2 rounded-full mr-2\",class:'bg-' + _vm.labelColor(label)},[(label)?_c('vs-chip',{staticClass:\"ml-2 my-auto\",staticStyle:{\"min-height\":\"20px\"},attrs:{\"transparent\":\"\",\"color\":\"warning\"}},[_c('span',[_vm._v(_vm._s(label))])]):_vm._e()],1)}),0)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"vx-col w-24\"},[_c('div')])}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessageHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessageHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MessageHeader.vue?vue&type=template&id=43d086fe&\"\nimport script from \"./MessageHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./MessageHeader.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}