{"version":3,"sources":["webpack:///./src/assets/img/3dots.svg","webpack:///./src/components/removable.vue?d434","webpack:///./src/components/removable.vue?0fb0","webpack:///./src/components/removable.vue?d336","webpack:///./src/components/removable.vue","webpack:///./src/assets/img/like_empty.png","webpack:///./src/components/progressBar.vue?fceb","webpack:///./src/components/progressBar.vue?194e","webpack:///./src/components/progressBar.vue","webpack:///./src/views/community/views/forum/modals/newForumPostModal.vue?9a14","webpack:///./src/views/community/views/forum/modals/newForumPostModal.vue?9bb6","webpack:///./src/views/community/views/forum/modals/newForumPostModal.vue","webpack:///./src/assets/img/icon_bin.svg","webpack:///./src/assets/img/like_full.png","webpack:///./src/components/post.vue?ccf1","webpack:///./src/components/postOptionsModal.vue?4ddc","webpack:///./src/components/editPostModal.vue?78f3","webpack:///./src/components/editPostModal.vue?a31d","webpack:///./src/components/editPostModal.vue","webpack:///./src/components/postOptionsModal.vue?d8ee","webpack:///./src/components/postOptionsModal.vue","webpack:///./src/components/post.vue?89c7","webpack:///./src/components/post.vue","webpack:///./src/components/shareButton.vue?9407","webpack:///./src/components/post.vue?29c5","webpack:///./src/assets/img/management/cameraIcon.svg","webpack:///./src/components/shareButton.vue?fff6","webpack:///./src/components/shareButton.vue?2562","webpack:///./src/components/shareButton.vue","webpack:///./src/assets/img/management/comment.svg","webpack:///./src/components/editPostModal.vue?ae7b","webpack:///./src/views/community/views/forum/modals/newForumPostModal.vue?09bc","webpack:///./src/components/progressBar.vue?55e8","webpack:///./src/assets/img/received.svg","webpack:///./src/assets/img/management/videoIcon.svg","webpack:///./src/assets/img/share.png"],"names":["module","exports","_withId","_hoisted_1","src","render","_ctx","_cache","$props","$setup","$data","$options","class","onClick","args","showBin","_show","bin","$slots","undefined","binTimer","this","$emit","setTimeout","__exports__","animated","animate","style","localCompleted","color","next","prev","progress","required","default","type","Boolean","_hoisted_2","_hoisted_3","_hoisted_4","key","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_component_localized_text","_component_uose_writer","_component_preview_post_attachment","_component_file_selector","_directive_userimage","$event","title","localizedKey","text","$store","state","getUserImage","user","identifier","name","$filters","date","todayDate","modelValue","localVm","placeholderText","placeholderKey","preview","onRemoveAttachment","removeAttachment","attachment","accept","_","tags","length","tag","index","disabled","doPost","isCordova","window","cordova","uploading","newTag","uploadProgress","Date","doRec","recbuffer","communities","chatSearchCommunities","vm","containerIdentifier","postType","attachmentUrl","publishedDate","store","globalSpinner","createForumPost","then","x","updatePostImage","finally","lastLetter","searchCommunities","substr","query","chatSearch","item","makePreview","components","ProgressBar","UoseWriter","Removable","ref","_hoisted_19","_hoisted_20","_component_user_profile_image","_component_share_button","isBlock","post","creator","openPerson","showCommunityTitle","openPostInCommunity","communityTitle","time","loggedUser","onlyView","openPostOptionsModal","innerHTML","showAll","mimeType","indexOf","controls","controlsList","openExternalAttachment","previewFix","youtubeLink","frameborder","allow","allowfullscreen","showActions","doLike","liked","likes","openComments","commentNumber","openAttachment","shareUrl","canContent","openEditModal","reportPost","elimina","_directive_localizedPlaceholder","postVm","isAllegato","value","wantDeleteAttachment","toggleRestoreImg","imgOrAllegato","categoriesAllegati","ableCategories","cat","categorySelectedByUser","id","setCategory","parentIdentifier","categoryAttachment","category","getCategoryAllAttachmentByCommunity","deletePostImage","createOrUpdatePost","callback","event","categoryId","preventDefault","find","getPublishedTag","map","LocalizationServices","getLocalizedValue","$opModal","show","CommunityPostNew","reloadPost","getPostVmById","messageKey","messageValue","messageText","okCb","deletePost","closeLast","createReport","reportType","Post","note","itemIdentifier","i","modals","message","url","$route","path","selectVideoFromUrl","selectVideoFromShare","postText","$refs","height","parseInt","getComputedStyle","classList","add","remove","like","push","filter","$router","parentCommentType","toString","AllegatoComment","CommunityPostComment","EventPostComment","FieraPostComment","communityIdentifier","commentType","beginVideo","tempText","slice","endVideo","textToRemove","replace","link","linkWithParams","lastIndexSlash","lastIndexOf","videoCode","InAppBrowser","open","router","communitySlug","ShareButton","href","loaded","toShareUrl","share","$nextTick","a2a","init","cordovaShareUrl","options","plugins","socialsharing","shareWithOptions","onSuccess","onError","result","msg"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,0B,kCCA3C,W,kGCGA,MAAMC,EAAuB,eAAa,mBAE1C,eAAa,mBACb,MAAMC,EAA0B,eAAa,MAAO,CAAEC,IAAK,KAAc,MAAO,GAChF,iBAEO,MAAMC,EAAsBH,EAAQ,CAACI,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,KAC3F,iBAAc,eAAa,MAAO,CACxCC,MAAO,oBACPC,QAASN,EAAO,KAAOA,EAAO,GAElC,IAAIO,IAAUR,EAAKS,SAAWT,EAAKS,WAAWD,KACzC,CACD,eAAa,MAAO,CAClBF,MAAO,CAAC,gBAAiB,CAAEI,MAAOV,EAAKW,OACtC,CACDd,GACC,GACH,eAAYG,EAAKY,OAAQ,UAAW,QAAIC,GAAW,O,wCChBvD,IAAqB,EAArB,cAAuC,OAAvC,c,oBAII,KAAAF,KAAe,EACf,KAAAG,SAAgB,KAChB,UACOC,KAAKJ,IACJI,KAAKC,MAAM,WAGfD,KAAKJ,KAAM,EACXI,KAAKD,SAAWG,WAAW,KACvBF,KAAKJ,KAAM,GACZ,QAZC,gBAAP,kB,0BAFgB,EAAS,gBAD7B,eAAQ,KACY,W,iCCErB,MAAMO,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASnB,GAAQ,CAAC,YAAY,qBAE1E,U,qBCTfL,EAAOC,QAAU,03B,6ECCjB,MAAMC,EAAuB,eAAa,mBAE1C,eAAa,mBACb,MAAMC,EAAa,CAAES,MAAO,0BAC5B,iBAEO,MAAMP,EAAsBH,EAAQ,CAACI,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,KAC3F,iBAAc,eAAa,MAAOR,EAAY,CACpD,eAAa,MAAO,CAClBS,MAAO,CAAC,kBAAmB,CAAEa,SAAUnB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,EAAOC,QAAU,IAA0B,6B,qBCA3CD,EAAOC,QAAU,IAA0B,8B,0CCA3CD,EAAOC,QAAU,8rB","file":"js/chunk-b5966a042bc800f2e614.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/3dots.c1985321.svg\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./removable.vue?vue&type=style&index=0&id=1dc4ab25&scoped=true&lang=css\"","import { createVNode as _createVNode, renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/img/icon_bin.svg'\n\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-1dc4ab25\")\n\n_pushScopeId(\"data-v-1dc4ab25\")\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_0 }, null, -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: \"position-relative\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.showBin && _ctx.showBin(...args)))\n }, [\n _createVNode(\"div\", {\n class: [\"_pallinoRosso\", { _show: _ctx.bin }]\n }, [\n _hoisted_1\n ], 2),\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n})","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { Prop } from 'vue-property-decorator';\r\n\r\n@Options({})\r\nexport default class Removable extends Vue {\r\n\r\n @Prop() url: string;\r\n\r\n bin: boolean = false;\r\n binTimer: any = null;\r\n showBin(){\r\n if(this.bin){\r\n this.$emit('remove');\r\n return;\r\n }\r\n this.bin = true;\r\n this.binTimer = setTimeout(() => {\r\n this.bin = false;\r\n }, 600);\r\n }\r\n\r\n}\r\n\r\n","import { render } from \"./removable.vue?vue&type=template&id=1dc4ab25&scoped=true&ts=true\"\nimport script from \"./removable.vue?vue&type=script&lang=ts\"\nexport * from \"./removable.vue?vue&type=script&lang=ts\"\n\nimport \"./removable.vue?vue&type=style&index=0&id=1dc4ab25&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1dc4ab25\"]])\n\nexport default __exports__","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIdSURBVHgBnVQ7b9NQFP6O7YxI4ReQhYqF0m5hIt0ioMJigoBE8g8u4gckHZlsJsYGibaMKYoKTHj01qAsPBazdUylpkP9uD3Hjlsrdaq23+B773l8Pvc8LmEGu62qUQQFjUd8bIhMAyMT5H7dcj7Jef2VUix7tkgvoBlZLQ7xkw1qKIE4suEkJ5oH6wKzgrVB3w0MEeRkWiOghBpHU9webrmUaHRSGbAiZPN60mSLTHyFo8G3pPWWamvCpiimx1j1Bu6k+PfmC1WrmNhnJ0QxVr9/cYOiXlIVnmCfiG+nSRlM9iaLm3rzZAIhCJmojEzA15yQgU7GoW0rz8u0onexAGVERVgWRlGYbleMXOj1L0Z3VQzOfasG5yaQ3fPWuzu4IeyWkqJB6mBwiJ4cThC3cUPEWRdI+4ykKFlTEpSUHdeEVJl9u7JPQH1j+Nn1kEVZvRVmiutApivv4b1tZzctiqXxVlZWqCcvlboqmYwiO6VBxAnWZDXl83vsH9xdrh9yDprcoM17yw+DP2P/16Vk2UB8TA/c0Hs77o8zQsG/se8vPajLtsGR2kv36/R37HtlZE9fqx4vTkaG3nDbfZ/rqMS4K0YzZZ+HfkOGXs5SgDhKx9QukG0U/QnlEdg6gSPzKS8JgXoJ6f+kmSx7kSacs863HXcw71tKKJBHwTKxiYtPlsdz3Vk0jgsJczzm5LNRl6OtcvL5is6Hy+xPASat9hGFLNIiAAAAAElFTkSuQmCC\"","import { createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-24d2a820\")\n\n_pushScopeId(\"data-v-24d2a820\")\nconst _hoisted_1 = { class: \"temaProgressBarWrapper\" }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", {\n class: [\"temaProgressBar\", { animated: _ctx.animate }]\n }, [\n _createVNode(\"div\", {\n class: \"completedStep\",\n style: 'width:' + _ctx.localCompleted + '%; background-color:' + _ctx.color + ';'\n }, null, 4)\n ], 2)\n ]))\n})","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { Prop, Watch } from 'vue-property-decorator';\r\n\r\n@Options({})\r\nexport default class ProgressBar extends Vue {\r\n \r\n @Prop() progress: number;\r\n @Prop() color: string;\r\n \r\n @Prop({\r\n required: false,\r\n default: false,\r\n type: Boolean\r\n }) animate: boolean;\r\n\r\n localCompleted: number = 0;\r\n\r\n @Watch('progress')\r\n onCompletedChange(next, prev){\r\n this.localCompleted = next;\r\n }\r\n created(){\r\n if(this.animate){\r\n this.localCompleted = 0;\r\n setTimeout(() => {\r\n this.localCompleted = this.progress || 0;\r\n }, 0)\r\n } else {\r\n this.localCompleted = this.progress || 0;\r\n }\r\n }\r\n}\r\n","import { render } from \"./progressBar.vue?vue&type=template&id=24d2a820&scoped=true&ts=true\"\nimport script from \"./progressBar.vue?vue&type=script&lang=ts\"\nexport * from \"./progressBar.vue?vue&type=script&lang=ts\"\n\nimport \"./progressBar.vue?vue&type=style&index=0&id=24d2a820&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-24d2a820\"]])\n\nexport default __exports__","import { createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, resolveDirective as _resolveDirective, withDirectives as _withDirectives, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/img/chevronLeft.svg'\nimport _imports_1 from '@/assets/img/management/cameraIcon.svg'\nimport _imports_2 from '@/assets/img/management/videoIcon.svg'\n\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-e91dd96e\")\n\n_pushScopeId(\"data-v-e91dd96e\")\nconst _hoisted_1 = { class: \"genericPadding hasHeader hasFooter bgWhite\" }\nconst _hoisted_2 = { class: \"header withShadow d-flex aling-items-center justify-content-between py-4\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_0 }, null, -1)\nconst _hoisted_4 = {\n key: 0,\n class: \"fs_12 greyBlue\"\n}\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"div\", { class: \"sideContainer\" }, null, -1)\nconst _hoisted_6 = { class: \"postContainer\" }\nconst _hoisted_7 = { class: \"postLoader\" }\nconst _hoisted_8 = { class: \"d-flex align-items-center mb-4\" }\nconst _hoisted_9 = { class: \"userImage\" }\nconst _hoisted_10 = { class: \"fs_13 greyBlue d-block ln_12 mb-1\" }\nconst _hoisted_11 = { class: \"fs_10 greyBlue d-block ln_12\" }\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"div\", { class: \"d-flex align-items-center mt-3\" }, [\n /*#__PURE__*/_createVNode(\"img\", {\n src: _imports_1,\n class: \"me-2\"\n }),\n /*#__PURE__*/_createVNode(\"img\", { src: _imports_2 })\n], -1)\nconst _hoisted_13 = {\n key: 0,\n class: \"d-flex flex-wrap\"\n}\nconst _hoisted_14 = { class: \"fs_12 d-block\" }\nconst _hoisted_15 = {\n key: 1,\n class: \"fs_12 grey d-block\"\n}\nconst _hoisted_16 = /*#__PURE__*/_createTextVNode(\" - \")\nconst _hoisted_17 = { class: \"footerButtonContainer\" }\nconst _hoisted_18 = { class: \"d-flex align-items-center\" }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_localized_text = _resolveComponent(\"localized-text\")!\n const _component_uose_writer = _resolveComponent(\"uose-writer\")!\n const _component_preview_post_attachment = _resolveComponent(\"preview-post-attachment\")!\n const _component_file_selector = _resolveComponent(\"file-selector\")!\n const _directive_userimage = _resolveDirective(\"userimage\")!\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n class: \"sideContainer\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('close')))\n }, [\n _hoisted_3\n ]),\n (_ctx.title)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_4, _toDisplayString(_ctx.title), 1))\n : (_openBlock(), _createBlock(_component_localized_text, {\n key: 1,\n localizedKey: \"app_creaunpost\",\n text: \"Crea un post\",\n class: \"fs_12 greyBlue\"\n })),\n _hoisted_5\n ]),\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"div\", _hoisted_8, [\n _withDirectives(_createVNode(\"div\", _hoisted_9, null, 512), [\n [_directive_userimage, _ctx.$store.state.getUserImage(_ctx.$store.state.user.identifier)]\n ]),\n _createVNode(\"div\", null, [\n _createVNode(\"span\", _hoisted_10, _toDisplayString(_ctx.$store.state.user.name), 1),\n _createVNode(\"span\", _hoisted_11, _toDisplayString(_ctx.$filters.date(_ctx.todayDate, \"DD MMMM yyyy - HH:mm\")), 1)\n ])\n ]),\n _createVNode(_component_uose_writer, {\n modelValue: _ctx.localVm.text,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.localVm.text = $event)),\n placeholderText: 'Scrivi qualcosa',\n placeholderKey: 'app_scriviqualcosa',\n \"max-height\": 200\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_preview_post_attachment, {\n preview: _ctx.preview,\n onRemoveAttachment: _ctx.removeAttachment\n }, null, 8, [\"preview\", \"onRemoveAttachment\"]),\n _createVNode(_component_file_selector, {\n modelValue: _ctx.localVm.attachment,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.localVm.attachment = $event)),\n accept: \".jpg, .jpeg, .png, .wav, .mp4, .pdf, .ppt, .mp3\"\n }, {\n default: _withId(() => [\n _hoisted_12\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ])\n ]),\n _createVNode(_component_localized_text, {\n class: \"fs_12 greyBlue d-block mt-4 mb-2\",\n localizedKey: \"app_selezionauntag\",\n text: \"Seleziona un tag\"\n }),\n (_ctx.tags.length > 0)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_13, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.tags, (tag, index) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: [\"filterTab\", _ctx.localVm.tag.tag == tag.tag ? 'active' : ''],\n key: index,\n onClick: ($event: any) => (_ctx.localVm.tag = tag)\n }, [\n _createVNode(\"span\", _hoisted_14, _toDisplayString(tag.tag), 1)\n ], 10, [\"onClick\"]))\n }), 128))\n ]))\n : (_openBlock(), _createBlock(\"span\", _hoisted_15, [\n _hoisted_16,\n _createVNode(_component_localized_text, {\n localizedKey: \"app_nessunTagPresente\",\n text: \"Nessun tag presente\",\n class: \"ms-1\"\n })\n ])),\n _createVNode(\"div\", _hoisted_17, [\n _createVNode(\"div\", _hoisted_18, [\n _createVNode(\"button\", {\n type: \"button\",\n class: \"genericButton bgWhite w-100 me-1\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.$emit('close')))\n }, [\n _createVNode(_component_localized_text, {\n class: \"fs_14 spaceCadet\",\n localizedKey: \"app_annulla\",\n text: \"Annulla\"\n })\n ]),\n _createVNode(\"button\", {\n type: \"button\",\n disabled: _ctx.localVm.tag.tag == '' || _ctx.localVm.text == '',\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.doPost())),\n class: \"genericButton bgGreyBlue w-100 ms-1\"\n }, [\n _createVNode(_component_localized_text, {\n class: \"fs_14 white\",\n localizedKey: \"app_conferma\",\n text: \"Conferma\"\n })\n ], 8, [\"disabled\"])\n ])\n ])\n ]))\n})","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { Prop, Watch } from 'vue-property-decorator';\r\nimport { getUniversalISOStringDate, makeFilePreview } from '@/utils';\r\nimport { CommunityClient, PostClient } from '@/services/Services';\r\nimport ProgressBar from '@/components/progressBar.vue';\r\nimport UoseWriter from '@/components/uoseWriter.vue';\r\nimport Removable from '@/components/removable.vue';\r\nimport store from '@/store';\r\nimport * as OM from '@/model';\r\nimport * as VM from '@/viewModel';\r\n\r\n@Options({\r\n components: {\r\n ProgressBar,\r\n UoseWriter,\r\n Removable\r\n }\r\n})\r\nexport default class NewForumPostModal extends Vue {\r\n\r\n @Prop() title: string;\r\n @Prop() containerIdentifier: string;\r\n @Prop() postType: string;\r\n\r\n @Prop({\r\n default: () => []\r\n }) tags: OM.ForumTag[];\r\n\r\n @Prop({\r\n default: () => new VM.CreateForumPostVm()\r\n }) vm: VM.CreateForumPostVm;\r\n\r\n @Prop({\r\n default: \"\"\r\n }) attachmentUrl: string;\r\n\r\n localVm: VM.CreateForumPostVm = new VM.CreateForumPostVm();\r\n isCordova: boolean = !!window.cordova;\r\n uploading: boolean = false;\r\n newTag: string = \"\";\r\n uploadProgress: number = 0;\r\n todayDate: string = getUniversalISOStringDate(new Date());\r\n\r\n created() {\r\n this.vm.containerIdentifier = this.containerIdentifier;\r\n this.vm.postType = this.postType;\r\n\r\n this.localVm = {...this.vm};\r\n\r\n if(this.attachmentUrl)\r\n this.preview = this.attachmentUrl;\r\n }\r\n doPost() {\r\n delete this.localVm.publishedDate;\r\n store.state.globalSpinner++;\r\n PostClient.createForumPost(this.localVm)\r\n .then(x => {\r\n PostClient.updatePostImage(x, this.vm.attachment)\r\n .then(x => {\r\n this.$emit('close');\r\n })\r\n .finally(() => {\r\n store.state.globalSpinner--;\r\n this.uploading = false;\r\n });\r\n })\r\n }\r\n\r\n doRec: boolean = false;\r\n recbuffer: string = \"\";\r\n communities: OM.SearchResultVm[] = [];\r\n @Watch('localVm.text')\r\n onTextChange(next, prev) {\r\n if(next.length - prev.length == 1){\r\n let lastLetter = next[next.length - 1];\r\n if(lastLetter == ' '){\r\n this.doRec = false;\r\n this.recbuffer = \"\";\r\n } else {\r\n if(this.doRec){\r\n this.recbuffer += lastLetter;\r\n this.searchCommunities(this.recbuffer);\r\n } else {\r\n if(lastLetter == '&'){\r\n this.doRec = true;\r\n }\r\n }\r\n }\r\n } else if(next.length - prev.length == -1) {\r\n this.recbuffer = this.recbuffer.substr(0, this.recbuffer.length - 1);\r\n this.searchCommunities(this.recbuffer);\r\n }\r\n }\r\n chatSearchCommunities: OM.SearchResultVm[] = [];\r\n searchCommunities(query) {\r\n CommunityClient.chatSearch(query)\r\n .then(x => {\r\n this.chatSearchCommunities = x;\r\n })\r\n }\r\n setCommunity(item: OM.SearchResultVm) {\r\n this.communities\r\n }\r\n\r\n preview: any = null;\r\n @Watch('localVm.attachment')\r\n onAttachmentChange(next, prev) {\r\n this.makePreview();\r\n }\r\n makePreview() {\r\n if(this.localVm.attachment){\r\n if(typeof this.localVm.attachment == \"string\"){\r\n this.preview = this.localVm.attachment;\r\n } else {\r\n makeFilePreview(this.localVm.attachment)\r\n .then(x => {\r\n this.preview = x;\r\n })\r\n }\r\n }\r\n }\r\n\r\n removeAttachment() {\r\n this.preview = \"\";\r\n this.localVm.attachment = null;\r\n }\r\n\r\n}\r\n\r\n","import { render } from \"./newForumPostModal.vue?vue&type=template&id=e91dd96e&scoped=true&ts=true\"\nimport script from \"./newForumPostModal.vue?vue&type=script&lang=ts\"\nexport * from \"./newForumPostModal.vue?vue&type=script&lang=ts\"\n\nimport \"./newForumPostModal.vue?vue&type=style&index=0&id=e91dd96e&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e91dd96e\"]])\n\nexport default __exports__","module.exports = __webpack_public_path__ + \"img/icon_bin.08cb267e.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAzIDc5LjE2NDUyNywgMjAyMC8xMC8xNS0xNzo0ODozMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMj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bm7nAh44tJFlRGi6mhXY4/mPYlqh7s3qOE6llrc/YPwUj2apcHFtBJe/YPwQaVPlh/FTcoetHwNZHmh8vedxIqWXDPZw7SKQ7YGwjPJmYDrpjYSO/ajBCTNK+UwMu7wD2SHbpaU3inCo87dxfnxfUd3P7s+ikCw+0ec1L+QZdCGnL8pjNSmuc9TzfMfTXRxtRygr8fyA+sG1UePI6GXXIVWVgUWPaQjwvHi9tsDCDr5/Aw2GfZ4oPmUFiad5CAj2IPCkXIIuOIUIO/DPIeYTZaTfZYvP4xOGeGATss+JStdLNHc3pZpVShl1TGGagSjBVw1iODHkxuJpWr2HwIMAOggoYK7KGhgAAAAAElFTkSuQmCC\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/img/3dots.svg'\nimport _imports_1 from '@/assets/img/like_full.png'\nimport _imports_2 from '@/assets/img/like_empty.png'\nimport _imports_3 from '@/assets/img/management/comment.svg'\nimport _imports_4 from '@/assets/img/received.svg'\nimport _imports_5 from '@/assets/img/share.png'\n\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-357c186b\")\n\n_pushScopeId(\"data-v-357c186b\")\nconst _hoisted_1 = { class: \"d-flex align-items-center justify-content-between\" }\nconst _hoisted_2 = { class: \"postCreator\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"publishDate mb-1 orange\"\n}\nconst _hoisted_4 = { class: \"fs_13 d-block ln_12 name\" }\nconst _hoisted_5 = { class: \"publishDate\" }\nconst _hoisted_6 = { class: \"position-relative\" }\nconst _hoisted_7 = {\n class: \"postText\",\n ref: \"postText\"\n}\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\" [..\")\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"..] \")\nconst _hoisted_10 = {\n key: 0,\n class: \"postAttachment\"\n}\nconst _hoisted_11 = {\n key: 2,\n class: \"d-flex align-items-center justify-content-between\"\n}\nconst _hoisted_12 = {\n key: 0,\n src: _imports_1,\n class: \"me-1\"\n}\nconst _hoisted_13 = {\n key: 1,\n src: _imports_2,\n class: \"me-1\"\n}\nconst _hoisted_14 = { class: \"fs_10 greyBlue\" }\nconst _hoisted_15 = /*#__PURE__*/_createVNode(\"img\", {\n src: _imports_3,\n class: \"me-1\"\n}, null, -1)\nconst _hoisted_16 = { class: \"fs_10 greyBlue\" }\nconst _hoisted_17 = /*#__PURE__*/_createVNode(\"img\", {\n src: _imports_4,\n class: \"me-1\"\n}, null, -1)\nconst _hoisted_18 = { class: \"fs_10 greyBlue\" }\nconst _hoisted_19 = {\n key: 1,\n class: \"d-flex align-items-center\"\n}\nconst _hoisted_20 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_5 }, null, -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_user_profile_image = _resolveComponent(\"user-profile-image\")!\n const _component_localized_text = _resolveComponent(\"localized-text\")!\n const _component_share_button = _resolveComponent(\"share-button\")!\n\n return (_openBlock(), _createBlock(\"div\", {\n class: [\"postContainer\", { 'postBlock': _ctx.isBlock }]\n }, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(_component_user_profile_image, {\n class: \"creatorImage\",\n src: _ctx.$store.state.getUserImage(_ctx.post.creator.identifier),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.openPerson(_ctx.post.creator)))\n }, null, 8, [\"src\"]),\n _createVNode(\"div\", {\n class: [\"creatorInfo\", _ctx.showCommunityTitle ? 'pointer':''],\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.openPostInCommunity()))\n }, [\n (_ctx.showCommunityTitle)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_3, _toDisplayString(_ctx.post.communityTitle), 1))\n : _createCommentVNode(\"\", true),\n _createVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.post.creator.name), 1),\n _createVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.$filters.date(_ctx.post.publishedDate)) + \" - \" + _toDisplayString(_ctx.$filters.time(_ctx.post.publishedDate)), 1)\n ], 2)\n ]),\n (_ctx.loggedUser && _ctx.loggedUser.identifier && !_ctx.onlyView)\n ? (_openBlock(), _createBlock(\"img\", {\n key: 0,\n src: _imports_0,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.openPostOptionsModal()))\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"span\", {\n innerHTML: _ctx.post.text\n }, null, 8, [\"innerHTML\"])\n ], 512),\n _createVNode(\"div\", {\n class: \"postShowMore\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.showAll()))\n }, [\n _hoisted_8,\n _createVNode(_component_localized_text, {\n localizedKey: 'app_mostratutto',\n text: 'Mostra tutto'\n }),\n _hoisted_9\n ])\n ]),\n (_ctx.post.attachmentUrl)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_10, [\n (_ctx.post.mimeType.indexOf('image') > -1)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 0,\n class: \"postImage\",\n style: 'background-image: url(\\'' + _ctx.post.preview + '\\');'\n }, null, 4))\n : (_ctx.post.mimeType.indexOf('video') > -1)\n ? (_openBlock(), _createBlock(\"video\", {\n key: 1,\n class: \"postVideo\",\n controls: \"\",\n controlsList: _ctx.openExternalAttachment ? 'nodownload' : ''\n }, [\n _createVNode(\"source\", {\n src: _ctx.post.attachmentUrl,\n type: _ctx.post.mimeType\n }, null, 8, [\"src\", \"type\"])\n ], 8, [\"controlsList\"]))\n : (_ctx.post.mimeType.indexOf('audio') > -1)\n ? (_openBlock(), _createBlock(\"audio\", {\n key: 2,\n class: \"postAudio\",\n controls: \"\",\n controlsList: _ctx.openExternalAttachment ? 'nodownload' : ''\n }, [\n _createVNode(\"source\", {\n src: _ctx.post.attachmentUrl,\n type: \"audio/mpeg\"\n }, null, 8, [\"src\"])\n ], 8, [\"controlsList\"]))\n : (_ctx.post.mimeType.indexOf('pdf') > -1)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 3,\n class: \"postImage pdf\",\n style: 'background-image: url(\\'' + _ctx.$filters.previewFix('/img/icon_pdf.svg') + '\\')'\n }, null, 4))\n : (_ctx.post.mimeType.indexOf('application/vnd.ms-powerpoint') > -1 || _ctx.post.mimeType.indexOf('application/vnd.openxmlformats-officedocument.presentationml.presentation') > -1)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 4,\n class: \"postImage ppt\",\n style: 'background-image: url(\\'' + _ctx.$filters.previewFix('/img/icon_ppt.svg') + '\\')'\n }, null, 4))\n : (_ctx.post.mimeType.indexOf('application/vnd.ms-excel') > -1 || _ctx.post.mimeType.indexOf('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet') > -1)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 5,\n class: \"postImage xls\",\n style: 'background-image: url(\\'' + _ctx.$filters.previewFix('/img/xls.png') + '\\')'\n }, null, 4))\n : (_ctx.post.mimeType.indexOf('application/vnd.openxmlformats-officedocument.wordprocessingml.document') > -1 || _ctx.post.mimeType.indexOf('application/msword') > -1)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 6,\n class: \"postImage xls\",\n style: 'background-image: url(\\'' + _ctx.$filters.previewFix('/img/icon_word.svg') + '\\')'\n }, null, 4))\n : _createCommentVNode(\"\", true)\n ]))\n : (_ctx.youtubeLink)\n ? (_openBlock(), _createBlock(\"iframe\", {\n key: 1,\n src: _ctx.youtubeLink,\n style: {\"width\":\"90%\",\"margin-left\":\"5%\",\"height\":\"200px\"},\n frameborder: \"0\",\n allow: \"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",\n allowfullscreen: \"\"\n }, \"\\r\\n \", 8, [\"src\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showActions && (_ctx.loggedUser && _ctx.loggedUser.identifier))\n ? (_openBlock(), _createBlock(\"div\", _hoisted_11, [\n _createVNode(\"div\", {\n class: \"d-flex align-items-center\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.doLike()))\n }, [\n (_ctx.post.liked)\n ? (_openBlock(), _createBlock(\"img\", _hoisted_12))\n : (_openBlock(), _createBlock(\"img\", _hoisted_13)),\n _createVNode(\"span\", _hoisted_14, [\n _createTextVNode(_toDisplayString(_ctx.post.likes.length) + \" \", 1),\n (!_ctx.openExternalAttachment)\n ? (_openBlock(), _createBlock(_component_localized_text, {\n key: 0,\n localizedKey: \"app_mipiace\",\n text: \"mi piace\",\n class: \"fs_10 greyBlue text-capitalize\"\n }))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"div\", {\n class: \"d-flex align-items-center\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.openComments()))\n }, [\n _hoisted_15,\n _createVNode(\"span\", _hoisted_16, [\n _createTextVNode(_toDisplayString(_ctx.post.commentNumber) + \" \", 1),\n (!_ctx.openExternalAttachment)\n ? (_openBlock(), _createBlock(_component_localized_text, {\n key: 0,\n localizedKey: \"app_commenti\",\n text: \"commenti\",\n class: \"fs_10 greyBlue text-capitalize\"\n }))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.openExternalAttachment)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 0,\n class: \"d-flex align-items-center\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_ctx.openAttachment()))\n }, [\n _hoisted_17,\n _createVNode(\"span\", _hoisted_18, [\n _createVNode(_component_localized_text, {\n localizedKey: \"app_apri\",\n text: \"apri\",\n class: \"fs_10 greyBlue text-capitalize\"\n })\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.shareUrl)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_19, [\n _createVNode(_component_share_button, { shareUrl: _ctx.shareUrl }, {\n default: _withId(() => [\n _hoisted_20,\n _createVNode(_component_localized_text, {\n localizedKey: \"app_condividi\",\n text: \"condividi\",\n class: \"'fs_10 greyBlue text-capitalize'\"\n })\n ]),\n _: 1\n }, 8, [\"shareUrl\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2))\n})","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withModifiers as _withModifiers } from \"vue\"\nimport _imports_0 from '@/assets/img/close.svg'\n\n\nconst _hoisted_1 = { class: \"d-flex align-items-center justify-content-between\" }\nconst _hoisted_2 = { class: \"title\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"fs-14 greyBlue\"\n}\nconst _hoisted_4 = {\n key: 1,\n class: \"fs-14 greyBlue\"\n}\nconst _hoisted_5 = { class: \"mt-5\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_localized_text = _resolveComponent(\"localized-text\")!\n\n return (_openBlock(), _createBlock(\"div\", {\n class: \"bottomModalContainer\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.$emit('close')))\n }, [\n _createVNode(\"div\", {\n class: \"bottomModal\",\n onClick: _cache[5] || (_cache[5] = _withModifiers(() => {}, [\"prevent\",\"stop\"]))\n }, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n (_ctx.post.title)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_3, _toDisplayString(_ctx.post.title), 1))\n : (_openBlock(), _createBlock(\"span\", _hoisted_4, [\n _createVNode(_component_localized_text, {\n localizedKey: \"app_postdi(nome)\",\n text: \"Post di\",\n class: \"fs-14 greyBlue\"\n }),\n _createTextVNode(\" \" + _toDisplayString(_ctx.post.creator.name), 1)\n ]))\n ]),\n _createVNode(\"img\", {\n src: _imports_0,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('close')))\n })\n ]),\n _createVNode(\"div\", _hoisted_5, [\n (_ctx.canContent || _ctx.post.creator.identifier == _ctx.$store.state.user.identifier)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 0,\n class: \"genericButton bgGreyBlue\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.openEditModal()))\n }, [\n _createVNode(_component_localized_text, {\n localizedKey: \"app_modifica\",\n text: \"Modifica\",\n class: \"fs_13 white\"\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.post.creator.identifier != _ctx.$store.state.user.identifier)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 1,\n class: \"genericButton bgGreyBlue\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.reportPost()))\n }, [\n _createVNode(_component_localized_text, {\n localizedKey: \"app_segnala\",\n text: \"Segnala\",\n class: \"fs_13 white\"\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.canContent)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 2,\n class: \"genericButton bgWhite mt-2\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.elimina()))\n }, [\n _createVNode(_component_localized_text, {\n localizedKey: \"app_elimina\",\n text: \"Elimina\",\n class: \"fs_13\"\n })\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}","import { createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, toDisplayString as _toDisplayString, vModelText as _vModelText, withCtx as _withCtx, vModelCheckbox as _vModelCheckbox, renderList as _renderList, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/img/chevronLeft.svg'\nimport _imports_1 from '@/assets/img/management/cameraIcon.svg'\nimport _imports_2 from '@/assets/img/management/videoIcon.svg'\n\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-f36d1e12\")\n\n_pushScopeId(\"data-v-f36d1e12\")\nconst _hoisted_1 = { class: \"genericPadding hasHeader hasFooter bgWhite\" }\nconst _hoisted_2 = { class: \"header withShadow d-flex aling-items-center justify-content-between py-4\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_0 }, null, -1)\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"div\", { class: \"sideContainer\" }, null, -1)\nconst _hoisted_5 = { class: \"postContainer\" }\nconst _hoisted_6 = { class: \"postLoader\" }\nconst _hoisted_7 = { class: \"d-flex align-items-center mb-4\" }\nconst _hoisted_8 = { class: \"userImage\" }\nconst _hoisted_9 = { class: \"fs_13 greyBlue d-block ln_12 mb-1\" }\nconst _hoisted_10 = { class: \"fs_10 greyBlue d-block ln_12\" }\nconst _hoisted_11 = { class: \"me-3\" }\nconst _hoisted_12 = { class: \"mt-3 mb-3 genericButton bgGreyBlue \" }\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"div\", { class: \"d-flex align-items-center mt-3\" }, [\n /*#__PURE__*/_createVNode(\"img\", {\n src: _imports_1,\n class: \"me-2\"\n }),\n /*#__PURE__*/_createVNode(\"img\", { src: _imports_2 })\n], -1)\nconst _hoisted_14 = { key: 0 }\nconst _hoisted_15 = { class: \"checkbox-wrapper-14\" }\nconst _hoisted_16 = { key: 1 }\nconst _hoisted_17 = {\n key: 0,\n class: \"d-flex flex-wrap\"\n}\nconst _hoisted_18 = { class: \"fs_12 d-block\" }\nconst _hoisted_19 = { class: \"footerButtonContainer\" }\nconst _hoisted_20 = { class: \"d-flex align-items-center\" }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_localized_text = _resolveComponent(\"localized-text\")!\n const _component_uose_writer = _resolveComponent(\"uose-writer\")!\n const _component_preview_post_attachment = _resolveComponent(\"preview-post-attachment\")!\n const _component_file_selector = _resolveComponent(\"file-selector\")!\n const _directive_userimage = _resolveDirective(\"userimage\")!\n const _directive_localizedPlaceholder = _resolveDirective(\"localizedPlaceholder\")!\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n class: \"sideContainer\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('close')))\n }, [\n _hoisted_3\n ]),\n (_ctx.postVm.isAllegato)\n ? (_openBlock(), _createBlock(_component_localized_text, {\n key: 0,\n class: \"fs_12 greyBlue\",\n localizedKey: \"app_modificaAllegato\",\n text: \"Modifica allegato\"\n }))\n : (_openBlock(), _createBlock(_component_localized_text, {\n key: 1,\n class: \"fs_12 greyBlue\",\n localizedKey: \"app_modificaunpost\",\n text: \"Modifica un post\"\n })),\n _hoisted_4\n ]),\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"div\", _hoisted_7, [\n _withDirectives(_createVNode(\"div\", _hoisted_8, null, 512), [\n [_directive_userimage, _ctx.$store.state.getUserImage(_ctx.$store.state.user.identifier)]\n ]),\n _createVNode(\"div\", null, [\n _createVNode(\"span\", _hoisted_9, _toDisplayString(_ctx.$store.state.user.name), 1),\n _createVNode(\"span\", _hoisted_10, _toDisplayString(_ctx.$filters.date(_ctx.postVm.publishedDate)) + \" - \" + _toDisplayString(_ctx.$filters.time(_ctx.postVm.publishedDate)), 1)\n ])\n ]),\n (_ctx.postVm.isAllegato)\n ? _withDirectives((_openBlock(), _createBlock(\"input\", {\n key: 0,\n type: \"text\",\n class: \"editor w-100 mb-1\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.vm.title = $event))\n }, null, 512)), [\n [_directive_localizedPlaceholder, { key: 'app_titolo', value: 'Titolo' }],\n [_vModelText, _ctx.vm.title]\n ])\n : _createCommentVNode(\"\", true),\n _createVNode(_component_uose_writer, {\n modelValue: _ctx.vm.text,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.vm.text = $event)),\n value: _ctx.vm.text,\n placeholderText: 'Scrivi qualcosa',\n placeholderKey: 'app_scriviqualcosa',\n \"max-height\": 200\n }, null, 8, [\"modelValue\", \"value\"]),\n _createVNode(_component_preview_post_attachment, {\n preview: _ctx.preview,\n wantDeleteAttachment: _ctx.wantDeleteAttachment,\n onRemoveAttachment: _ctx.toggleRestoreImg\n }, null, 8, [\"preview\", \"wantDeleteAttachment\", \"onRemoveAttachment\"]),\n (_ctx.wantDeleteAttachment)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 1,\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.toggleRestoreImg())),\n class: \"d-flex justify-content-center align-items-center fs_11\"\n }, [\n _createVNode(\"span\", _hoisted_11, [\n _createVNode(_component_localized_text, {\n localizedKey: \"app_Questaimmagineèstataeliminata\",\n text: \"Questa immagine verrà eliminata con la modifica\"\n })\n ]),\n _createVNode(\"button\", _hoisted_12, [\n _createVNode(_component_localized_text, {\n class: \"white\",\n localizedKey: \"app_AnnullaEliminazione\",\n text: \"Annulla eliminazione\"\n })\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_file_selector, {\n modelValue: _ctx.imgOrAllegato,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.imgOrAllegato = $event)),\n accept: \".jpg, .jpeg, .png, .wav, .mp4, .pdf, .ppt, .mp3\"\n }, {\n default: _withId(() => [\n _hoisted_13\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ])\n ]),\n (_ctx.postVm.isAllegato)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_14, [\n (_ctx.categoriesAllegati.length > 0)\n ? (_openBlock(), _createBlock(_component_localized_text, {\n key: 0,\n class: \"fs_12 greyBlue d-block mt-4 mb-2\",\n localizedKey: \"vuoiassegnareunacategoria\",\n text: \"Vuoi assegnare una categoria?\"\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_15, [\n (_ctx.categoriesAllegati.length > 0)\n ? _withDirectives((_openBlock(), _createBlock(\"input\", {\n key: 0,\n type: \"checkbox\",\n class: \"switch mt-2 mb-2\",\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.ableCategories = $event))\n }, null, 512)), [\n [_vModelCheckbox, _ctx.ableCategories]\n ])\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.ableCategories)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_16, [\n (_ctx.categoriesAllegati.length > 0)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_17, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.categoriesAllegati, (cat, index) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: [\"filterTab\", { 'active': _ctx.categorySelectedByUser == cat.id }],\n key: index,\n onClick: ($event: any) => (_ctx.setCategory($event, cat.id))\n }, [\n _createVNode(\"span\", _hoisted_18, _toDisplayString(cat.name), 1)\n ], 10, [\"onClick\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_19, [\n _createVNode(\"div\", _hoisted_20, [\n _createVNode(\"button\", {\n type: \"button\",\n class: \"genericButton bgWhite w-100 me-1\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_ctx.$emit('close')))\n }, [\n _createVNode(_component_localized_text, {\n class: \"fs_14 spaceCadet\",\n localizedKey: \"app_annulla\",\n text: \"Annulla\"\n })\n ]),\n _createVNode(\"button\", {\n type: \"button\",\n class: \"genericButton bgGreyBlue w-100 ms-1\",\n onClick: _cache[8] || (_cache[8] = ($event: any) => (_ctx.doPost()))\n }, [\n _createVNode(_component_localized_text, {\n class: \"fs_14 white\",\n localizedKey: \"app_modifica\",\n text: \"Modifica\"\n })\n ])\n ])\n ])\n ]))\n})","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { Prop, Watch } from 'vue-property-decorator';\r\nimport { makeFilePreview } from '@/utils';\r\nimport ProgressBar from '@/components/progressBar.vue';\r\nimport UoseWriter from '@/components/uoseWriter.vue';\r\nimport store from '@/store';\r\nimport * as OM from '@/model';\r\nimport * as VM from '@/viewModel';\r\nimport { CategoryAttachmentClient, PostClient } from '@/services/Services';\r\n\r\n@Options({\r\n components: {\r\n ProgressBar,\r\n UoseWriter\r\n }\r\n})\r\nexport default class EditPostModal extends Vue {\r\n\r\n @Prop() postVm: OM.PostVm;\r\n @Prop() callback: () => void;\r\n\r\n vm: OM.CreatePostVm = new OM.CreatePostVm();\r\n uploading: boolean = false;\r\n uploadProgress: number = 0;\r\n\r\n //gestione categorie degli allegati\r\n categoriesAllegati: VM.CategoryAttachmentVM[] = []; \r\n categorySelectedByUser: string = \"\";\r\n ableCategories: boolean = false; \r\n\r\n //variabili per la gestione dei file e degli attachment sia per post che per allegati \r\n imgOrAllegato: File = null;\r\n wantDeleteAttachment: boolean = false;\r\n \r\n created() {\r\n //inizializzo vm da postvm che mi arriva , per poter chiamare createOrUpdatePost (cambia il tipo)\r\n this.vm = {\r\n identifier: this.postVm.identifier,\r\n containerIdentifier: this.postVm.parentIdentifier,\r\n isAllegato: this.postVm.isAllegato,\r\n publishedDate: this.postVm.publishedDate,\r\n text: this.postVm.text,\r\n title: this.postVm.title,\r\n categoryAttachment : null, //FIXME\r\n postType: null, //FIXME\r\n };\r\n\r\n this.categorySelectedByUser = this.postVm.category;\r\n if(!this.postVm.category){\r\n this.ableCategories = false;\r\n }else{\r\n this.ableCategories = true;\r\n }\r\n \r\n //se ho una preview la mostro\r\n if(this.postVm.preview){\r\n this.preview = this.postVm.preview;\r\n }\r\n \r\n CategoryAttachmentClient.getCategoryAllAttachmentByCommunity(this.postVm.parentIdentifier)\r\n .then(x => {\r\n this.categoriesAllegati = x;\r\n })\r\n }\r\n\r\n doPost() {\r\n delete this.vm.publishedDate;\r\n store.state.globalSpinner++;\r\n if(this.wantDeleteAttachment){\r\n PostClient.deletePostImage(this.vm.identifier)\r\n .then(x => {\r\n this.createOrUpdatePost()\r\n })\r\n } else {\r\n this.createOrUpdatePost()\r\n }\r\n }\r\n \r\n createOrUpdatePost() {\r\n PostClient.createOrUpdatePost(this.vm)\r\n .then( x => {\r\n if(!this.wantDeleteAttachment){\r\n PostClient.updatePostImage(this.vm.identifier , this.imgOrAllegato)\r\n .then(x => {\r\n this.$emit('close');\r\n })\r\n .finally(() => {\r\n store.state.globalSpinner--;\r\n this.uploading = false;\r\n });\r\n this.callback();\r\n } else {\r\n this.$emit('close');\r\n store.state.globalSpinner--;\r\n this.uploading = false;\r\n }\r\n \r\n })\r\n }\r\n\r\n toggleRestoreImg(){\r\n if(this.wantDeleteAttachment)\r\n this.wantDeleteAttachment = false;\r\n else\r\n this.wantDeleteAttachment = true;\r\n }\r\n\r\n preview: any = null;\r\n @Watch('imgOrAllegato')\r\n onAttachmentChange(next, prev){\r\n this.makePreview();\r\n }\r\n\r\n makePreview() {\r\n if(this.imgOrAllegato){\r\n if(typeof this.imgOrAllegato == \"string\"){\r\n this.preview = this.imgOrAllegato;\r\n } else {\r\n makeFilePreview(this.imgOrAllegato)\r\n .then(x => {\r\n this.preview = x;\r\n })\r\n }\r\n }\r\n }\r\n\r\n setCategory(event, categoryId) {\r\n event.preventDefault()\r\n this.categorySelectedByUser = categoryId;\r\n if (this.ableCategories == false) {\r\n this.vm.categoryAttachment.id = \"\";\r\n } else {\r\n this.vm.categoryAttachment = this.categoriesAllegati.find(cat => cat.id === categoryId);\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./editPostModal.vue?vue&type=template&id=f36d1e12&scoped=true&ts=true\"\nimport script from \"./editPostModal.vue?vue&type=script&lang=ts\"\nexport * from \"./editPostModal.vue?vue&type=script&lang=ts\"\n\nimport \"./editPostModal.vue?vue&type=style&index=0&id=f36d1e12&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f36d1e12\"]])\n\nexport default __exports__","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { Prop } from 'vue-property-decorator';\r\nimport { PostClient, ForumTagClient, ReportClient } from '@/services/Services';\r\nimport EditPostModal from '@/components/editPostModal.vue';\r\nimport NewForumPostModal from '@/views/community/views/forum/modals/newForumPostModal.vue';\r\nimport ReportCustomConfirm from './reportCustomConfirm.vue';\r\nimport ModalSuccessError from './modalSuccessError.vue';\r\nimport * as OM from '@/model';\r\nimport * as VM from '@/viewModel';\r\nimport * as CONST from '@/const';\r\nimport { LocalizationServices } from '@/services/LocalizationServices';\r\nimport ConfirmModal from '@/components/confirmModal.vue';\r\n\r\n@Options({})\r\nexport default class PostOptionsModal extends Vue {\r\n\r\n @Prop() post: OM.PostVm;\r\n @Prop() canContent: boolean;\r\n\r\n openEditModal() {\r\n if (!this.post.tag || !this.post.tag.tag) {\r\n this.$opModal.show(EditPostModal, {\r\n postVm: this.post\r\n }, () => this.reloadPost())\r\n }\r\n else {\r\n var tags = [];\r\n var vm = new VM.CreateForumPostVm();\r\n ForumTagClient.getPublishedTag(this.post.parentIdentifier)\r\n .then( x => {\r\n tags = x.map( x => {\r\n return x.tag\r\n });\r\n vm.identifier = this.post.identifier;\r\n vm.text = this.post.text;\r\n vm.tag = this.post.tag;\r\n \r\n var text = LocalizationServices.getLocalizedValue(\"app_modificapost\", \"Modifica post\");\r\n\r\n this.$opModal.show(NewForumPostModal, {\r\n containerIdentifier: this.post.parentIdentifier,\r\n postType: CONST.NotificationType.CommunityPostNew,\r\n attachmentUrl: this.post.attachmentUrl,\r\n tags: tags,\r\n vm: vm,\r\n title: text\r\n }, () => this.reloadPost())\r\n })\r\n }\r\n }\r\n \r\n reloadPost() {\r\n PostClient.getPostVmById(this.post.identifier)\r\n .then(x => {\r\n this.post.identifier = x.identifier;\r\n this.post.publishedDate = x.publishedDate;\r\n this.post.text = x.text;\r\n this.post.creator = x.creator;\r\n this.post.attachmentUrl = x.attachmentUrl;\r\n this.post.preview = x.preview;\r\n this.post.mimeType = x.mimeType;\r\n this.post.likes = x.likes;\r\n this.post.commentNumber = x.commentNumber;\r\n this.post.liked = x.liked;\r\n\r\n this.$emit(\"close\");\r\n })\r\n }\r\n\r\n elimina() {\r\n var messageKey = \"seisicurodivolereliminarequestopostdefinitivamente\";\r\n var messageValue = \"Sei sicuro di vole eliminare questo post definitivamente?\"\r\n var messageText = LocalizationServices.getLocalizedValue(messageKey, messageValue, \"\", \"\");\r\n this.$opModal.show(ConfirmModal, {\r\n text: messageText,\r\n okCb:() =>{\r\n PostClient.deletePost(this.post.identifier)\r\n .then(x => {\r\n this.$emit('close');\r\n })\r\n this.$opModal.closeLast();\r\n\r\n },\r\n })\r\n \r\n }\r\n\r\n reportPost() {\r\n this.$opModal.show(ReportCustomConfirm, {\r\n callback: (value: string) => {\r\n var createReport = new OM.CreateReport();\r\n createReport.reportType = VM.ReportType.Post;\r\n createReport.note = value;\r\n createReport.itemIdentifier = this.post.identifier;\r\n ReportClient.createReport(createReport)\r\n .then( x => {\r\n for(var i = 0; i < this.$opModal.modals().length; i++) {\r\n this.$opModal.closeLast();\r\n }\r\n\r\n var text = LocalizationServices.getLocalizedValue(\"app_postsegnalatoconsuccesso\", \"Post segnalato con successo!\");\r\n\r\n this.$opModal.show(ModalSuccessError, {\r\n message: text,\r\n })\r\n })\r\n }\r\n })\r\n }\r\n\r\n}\r\n\r\n","import { render } from \"./postOptionsModal.vue?vue&type=template&id=08e42ad0&ts=true\"\nimport script from \"./postOptionsModal.vue?vue&type=script&lang=ts\"\nexport * from \"./postOptionsModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { PostClient } from '@/services/Services';\r\nimport { Prop } from 'vue-property-decorator';\r\nimport { selfUrl } from '../config';\r\nimport CommentsModal from '@/components/commentsModal.vue';\r\n// import PostDetailModal from '@/components/postDetailModal.vue';\r\nimport PostOptionsModal from '@/components/postOptionsModal.vue';\r\nimport ShareButton from '@/components/shareButton.vue';\r\nimport store from '@/store';\r\nimport * as OM from '@/model';\r\nimport * as CONST from '@/const';\r\nimport router from '@/router';\r\n\r\n@Options({\r\n components: {\r\n ShareButton\r\n }\r\n})\r\nexport default class Post extends Vue {\r\n\r\n @Prop() post: OM.PostVm;\r\n @Prop() isBlock: boolean;\r\n @Prop() canContent: boolean;\r\n @Prop() communityIdentifier: string;\r\n @Prop() onlyView: boolean = false;\r\n\r\n @Prop({\r\n default: true\r\n }) showActions: boolean; \r\n\r\n @Prop({\r\n default: false\r\n }) showCommunityTitle: boolean; \r\n\r\n youtubeLink: string = \"\";\r\n shareUrl: string = \"\";\r\n loggedUser: OM.AppUserVm = store.state.user;\r\n\r\n created() {\r\n var url = this.$route.path.substr(1);\r\n this.shareUrl = selfUrl + url + \"?f=\" + this.post.identifier;\r\n }\r\n\r\n postText: any;\r\n mounted() {\r\n if(this.post.text && this.post.text.indexOf(\" -1)\r\n this.selectVideoFromShare();\r\n\r\n this.postText = this.$refs.postText;\r\n let height = parseInt(getComputedStyle(this.postText).height);\r\n if(height > 160){\r\n this.postText.classList.add('limited');\r\n }\r\n }\r\n\r\n showAll() {\r\n this.postText.classList.remove('limited');\r\n }\r\n\r\n get openExternalAttachment(){\r\n return (this.post.attachmentUrl && window.cordova) || !window.cordova;\r\n }\r\n\r\n doLike() {\r\n PostClient.like(this.post.identifier, !this.post.liked, false)\r\n .then(x => {\r\n this.post.liked = !this.post.liked;\r\n if(this.post.liked)\r\n this.post.likes.push(store.state.user.identifier);\r\n else\r\n this.post.likes = this.post.likes.filter(x => x != store.state.user.identifier);\r\n });\r\n }\r\n\r\n openPerson(item: OM.NameIdentifier) {\r\n if(item.identifier == store.state.user.identifier)\r\n return;\r\n \r\n for(var i = 0; i < this.$opModal.modals().length; i++) {\r\n this.$opModal.closeLast();\r\n }\r\n\r\n this.$router.push('/profile/' + item.identifier);\r\n }\r\n\r\n reloadPost() {\r\n this.$emit(\"postreloaded\", this.post.identifier);\r\n\r\n PostClient.getPostVmById(this.post.identifier)\r\n .then(x => {\r\n if(!x){\r\n this.$emit('removed', this.post.identifier);\r\n } else {\r\n this.post.identifier = x.identifier;\r\n this.post.publishedDate = x.publishedDate;\r\n this.post.text = x.text;\r\n this.post.creator = x.creator;\r\n this.post.attachmentUrl = x.attachmentUrl;\r\n this.post.preview = x.preview;\r\n this.post.mimeType = x.mimeType;\r\n this.post.likes = x.likes;\r\n this.post.commentNumber = x.commentNumber;\r\n this.post.liked = x.liked;\r\n\r\n this.$emit(\"postedited\", this.post);\r\n }\r\n })\r\n }\r\n\r\n openComments() {\r\n var parentCommentType;\r\n if(this.$route.name.toString().indexOf('community_info') > -1)\r\n parentCommentType = CONST.NotificationType.AllegatoComment;\r\n else if(this.$route.name.toString().indexOf('community') > -1)\r\n parentCommentType = CONST.NotificationType.CommunityPostComment;\r\n else if(this.$route.name.toString().indexOf('event') > -1)\r\n parentCommentType = CONST.NotificationType.EventPostComment;\r\n else if(this.$route.name.toString().indexOf('fiera') > -1)\r\n parentCommentType = CONST.NotificationType.FieraPostComment;\r\n\r\n this.$opModal.show(CommentsModal, {\r\n parentIdentifier: this.post.identifier,\r\n //grandParentIdentifier: this.post.identifier,\r\n containerIdentifier: this.communityIdentifier,\r\n commentType: parentCommentType\r\n }, () => {\r\n this.reloadPost();\r\n });\r\n }\r\n\r\n // openPostDetail() {\r\n // this.$opModal.show(PostDetailModal, {\r\n // post: this.post,\r\n // communityIdentifier: store.state.community.identifier\r\n // })\r\n // }\r\n\r\n openPostOptionsModal() {\r\n this.$opModal.show(PostOptionsModal, {\r\n post: this.post,\r\n canContent: this.canContent\r\n }, () => {\r\n this.reloadPost();\r\n })\r\n }\r\n\r\n selectVideoFromUrl() {\r\n var beginVideo = this.post.text.indexOf(\" -1)\r\n this.youtubeLink = linkWithParams.slice(0, linkWithParams.indexOf(\"&\"));\r\n else\r\n this.youtubeLink = linkWithParams;\r\n }\r\n\r\n selectVideoFromShare(){\r\n var beginVideo = this.post.text.indexOf(\" -1)\r\n this.youtubeLink = linkWithParams.slice(0, linkWithParams.indexOf(\"&\"));\r\n else\r\n this.youtubeLink = linkWithParams;\r\n\r\n var lastIndexSlash = this.youtubeLink.lastIndexOf(\"/\");\r\n var videoCode = this.youtubeLink.substr(lastIndexSlash + 1);\r\n\r\n this.youtubeLink = \"https://www.youtube.com/embed/\" + videoCode;\r\n }\r\n\r\n openAttachment(){\r\n if(window.cordova) {\r\n // if(this.post.mimeType.indexOf('openxml') > -1 ||\r\n // this.post.mimeType.indexOf('pdf') > -1 ||\r\n // this.post.mimeType.indexOf('xls') > -1)\r\n // window.open(encodeURI('https://docs.google.com/gview?embedded=true&url=' + this.post.attachmentUrl), '_system', 'location=yes,EnableViewPortScale=yes');\r\n // else\r\n \r\n window.cordova.InAppBrowser.open(this.post.attachmentUrl, '_system');\r\n }\r\n else\r\n window.open(this.post.attachmentUrl, '_blank');\r\n\r\n // var ref = window.open(encodeURI(this.post.attachmentUrl), '_blank', 'location=yes');\r\n // if(window.cordova)\r\n // window.cordova.InAppBrowser.open(this.post.attachmentUrl, '_blank');\r\n // else\r\n // window.open(this.post.attachmentUrl, '_blank');\r\n // window.open(this.post.attachmentUrl, \"_system\" , \"location=yes, enableViewportScale=yes, hidden=no\");\r\n \r\n }\r\n\r\n openPostInCommunity() {\r\n if(!this.showCommunityTitle)\r\n return;\r\n\r\n router.push(\"/communities/\" + this.post.communitySlug + \"/Bacheca\" + \"?f=\" + this.post.identifier)\r\n }\r\n\r\n}\r\n\r\n","import { render } from \"./post.vue?vue&type=template&id=357c186b&scoped=true&ts=true\"\nimport script from \"./post.vue?vue&type=script&lang=ts\"\nexport * from \"./post.vue?vue&type=script&lang=ts\"\n\nimport \"./post.vue?vue&type=style&index=0&id=357c186b&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-357c186b\"]])\n\nexport default __exports__","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./shareButton.vue?vue&type=style&index=0&id=6e37e45c&scoped=true&lang=css\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./post.vue?vue&type=style&index=0&id=357c186b&scoped=true&lang=css\"","module.exports = __webpack_public_path__ + \"img/cameraIcon.c3a901c0.svg\";","import { renderSlot as _renderSlot, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-6e37e45c\")\n\n_pushScopeId(\"data-v-6e37e45c\")\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = {\n class: \"a2a_dd\",\n href: \"https://www.addtoany.com/share\"\n}\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_ctx.loaded && !_ctx.cordova)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", {\n class: \"a2a_kit a2a_kit_size_32 a2a_default_style\",\n \"data-a2a-url\": _ctx.toShareUrl\n }, [\n _createVNode(\"a\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ])\n ], 8, [\"data-a2a-url\"])\n ]))\n : (_ctx.loaded)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 1,\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.share && _ctx.share(...args)))\n }, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n})","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { Prop, Watch } from 'vue-property-decorator';\r\nimport { selfUrl } from '@/config';\r\n\r\n@Options({})\r\nexport default class ShareButton extends Vue {\r\n\r\n @Prop({\r\n default: \"\"\r\n }) shareUrl: string;\r\n\r\n loaded: boolean = false;\r\n cordova: boolean = false;\r\n\r\n toShareUrl: string = \"\";\r\n\r\n created(){\r\n if(window.cordova)\r\n this.cordova = true;\r\n }\r\n\r\n mounted() {\r\n if(this.shareUrl){\r\n // this.toShareUrl = selfUrl + \"?\" + this.shareUrl + \"&hashtag=\" + this.shareUrl.substr(this.shareUrl.indexOf(\"#\")) + \"?open_app_uose=true\";\r\n this.toShareUrl = this.shareUrl;\r\n\r\n this.loaded = true;\r\n this.$nextTick( () => {\r\n a2a.init('page')\r\n })\r\n }\r\n }\r\n\r\n share(){\r\n var cordovaShareUrl = this.toShareUrl;\r\n var options = {\r\n url: cordovaShareUrl\r\n } \r\n\r\n window.plugins.socialsharing.shareWithOptions(options, onSuccess, onError);\r\n var onSuccess = function(result) {\r\n };\r\n\r\n var onError = function(msg) {\r\n };\r\n }\r\n\r\n @Watch(\"shareUrl\")\r\n changeUrl(){\r\n this.toShareUrl = this.shareUrl;\r\n\r\n this.loaded = true;\r\n this.$nextTick( () => {\r\n a2a.init('page')\r\n })\r\n }\r\n\r\n}\r\n","import { render } from \"./shareButton.vue?vue&type=template&id=6e37e45c&scoped=true&ts=true\"\nimport script from \"./shareButton.vue?vue&type=script&lang=ts\"\nexport * from \"./shareButton.vue?vue&type=script&lang=ts\"\n\nimport \"./shareButton.vue?vue&type=style&index=0&id=6e37e45c&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6e37e45c\"]])\n\nexport default __exports__","module.exports = __webpack_public_path__ + \"img/comment.7ec9e851.svg\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./editPostModal.vue?vue&type=style&index=0&id=f36d1e12&scoped=true&lang=css\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./newForumPostModal.vue?vue&type=style&index=0&id=e91dd96e&scoped=true&lang=css\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./progressBar.vue?vue&type=style&index=0&id=24d2a820&scoped=true&lang=css\"","module.exports = __webpack_public_path__ + \"img/received.1e5691ba.svg\";","module.exports = __webpack_public_path__ + \"img/videoIcon.4793cdb9.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAZCAYAAAArK+5dAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGOSURBVHgB1VTLbcJAEH02+XBEIrnvIQoop5SwdEAHMRWkhJgKkg4wHdABmw58TMSBbSCSj46U2Jmd3QjbAmRsX3iS8exqPG+Z93aAc4eHtpBiAFwHrtwK6kN3RyAfHoHfNUUDt5MA2QRqE/+n+GiFn4Utnkd01qWN/Vd0BjnK+Tm0JlygKeT9SyFe2GZw7bgdgbyTQM+0RoB7buAFrjite7Nien2R5VhQEVNYuk/nQPoG9I0GU7v3HUHp5DhB1XZI6YOrZ4pDl6EonlXteAhlgr22Y5i1doUVTkBFA2M7z9nOJ/L8yZ1jToVDtEYN252KXmklbqT5hRjSc2uEo5ZRm8SwD/31jgaoo0ECa0lNY4BatYnQmIBJ2I4727ENEdCeu1isz7yZi46BiRHuhM8p9pfWxpd0oMy84/bTVI4D928EuG0M4d609iZFkubjWo5DIqILyHopWK2mHKvPCTqBHG332HpbTGk+TS00THvK01R3SECjA/m6ME213StkoC3YXRndH5+0SFfVaXr++APG8YpClY1bBQAAAABJRU5ErkJggg==\""],"sourceRoot":""}