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ACAgC,IAAAA,GAEA,OACA1B,cAAA,GAEA,EAEA2B,MACA,CACAV,cAAAW,QACAT,sBAAAU,OACAvB,WAAAsB,QACA1B,YAAA2B,OACAxB,MAAAwB,QAGAC,OAAAA,GAEA,KAAAC,WAAA,KAEA,KAAAzB,YAEA,KAAA0B,MAAAC,UAAAC,aAAA,uBACA,GAEA,EAEAC,QACA,CACAX,YAAAA,CAAAY,GAEA,MAAAC,EAAAD,EAAAE,OAAAC,MAEA,KAAAvC,cAAAwC,MAAAC,KAAAJ,GACAK,KAAAC,GAAAA,EAAAjD,OACAkD,KAAA,MAEA,KAAAC,MAAA,gBAAAR,EACA,EAEAvB,kBAAAA,GAEA,KAAAd,cAAA,KACA,KAAAgC,MAAAc,UAAAC,MAAA,EACA,ICnEA,GAXgB,E,QAAA,GACd,EACA3D,EHuDoB,IGrDpB,EACA,KACA,KACA,MAI8B,O","sources":["webpack://PuresportsTheme/./resources/js/src/app/components/form/FormAttachment.vue","webpack://PuresportsTheme/./resources/js/src/app/components/form/FormAttachment.vue?2a34","webpack://PuresportsTheme/resources/js/src/app/components/form/FormAttachment.vue","webpack://PuresportsTheme/./resources/js/src/app/components/form/FormAttachment.vue?2281"],"sourcesContent":["var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\n \"label\",\n {\n directives: [{ name: \"tooltip\", rawName: \"v-tooltip\" }],\n ref: \"inputUnit\",\n staticClass: \"input-unit file-input\",\n attrs: { \"data-toggle\": \"tooltip\", title: _vm.selectedFiles },\n },\n [\n _c(\"label\", { attrs: { for: _vm.formFieldId } }, [\n _vm._v(\"\\n \" + _vm._s(_vm.label)),\n _vm.isRequired ? _c(\"span\", [_vm._v(\"*\")]) : _vm._e(),\n ]),\n _vm._v(\" \"),\n _c(\n \"span\",\n {\n staticClass: \"input-unit-preview\",\n class: { disabled: !!_vm.selectedFiles },\n attrs: { \"data-testing\": \"form-attachment-file-name\" },\n },\n [_vm._v(_vm._s(_vm.selectedFiles))]\n ),\n _vm._v(\" \"),\n !_vm.selectedFiles\n ? _c(\"span\", { staticClass: \"input-unit-btn\" }, [\n _c(\"i\", { staticClass: \"fa fa-ellipsis-h\" }),\n ])\n : _c(\n \"span\",\n {\n staticClass: \"input-unit-btn\",\n attrs: { \"data-testing\": \"remove-attached-file\" },\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.clearSelectedFiles()\n },\n },\n },\n [_c(\"i\", { staticClass: \"fa fa-times\" })]\n ),\n _vm._v(\" \"),\n _c(\"input\", {\n ref: \"fileInput\",\n attrs: {\n type: \"file\",\n multiple: _vm.allowMultiple,\n name: _vm.formFieldId,\n id: _vm.formFieldId,\n disabled:\n _vm.allowedFileExtensions.trim().length === 0 ||\n !!_vm.selectedFiles,\n accept: _vm.allowedFileExtensions,\n \"data-testing\": \"form-attachment-input\",\n },\n on: { change: _vm.collectFiles },\n }),\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormAttachment.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormAttachment.vue?vue&type=script&lang=js\"","\n \n\n\n\n","import { render, staticRenderFns } from \"./FormAttachment.vue?vue&type=template&id=986dfd36\"\nimport script from \"./FormAttachment.vue?vue&type=script&lang=js\"\nexport * from \"./FormAttachment.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"],"names":["render","_vm","this","_c","_self","directives","name","rawName","ref","staticClass","attrs","title","selectedFiles","for","formFieldId","_v","_s","label","isRequired","_e","class","disabled","on","click","$event","preventDefault","clearSelectedFiles","type","multiple","allowMultiple","id","allowedFileExtensions","trim","length","accept","change","collectFiles","_withStripped","data","props","Boolean","String","mounted","$nextTick","$refs","inputUnit","setAttribute","methods","event","fileList","target","files","Array","from","map","file","join","$emit","fileInput","value"],"sourceRoot":""}