From 25395318c488284ce85b3593f2f34d67ed591db8 Mon Sep 17 00:00:00 2001 From: dartcafe Date: Wed, 31 Oct 2018 19:54:31 +0100 Subject: [PATCH 1/2] Update templates/goto.tmpl.php --- templates/goto.tmpl.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/templates/goto.tmpl.php b/templates/goto.tmpl.php index db6541917..197156e3f 100644 --- a/templates/goto.tmpl.php +++ b/templates/goto.tmpl.php @@ -32,7 +32,7 @@ if (!User::isLoggedIn()) { Util::addStyle('polls', 'public'); } - + Util::addScript('polls', 'app'); Util::addScript('polls', 'vote'); @@ -111,7 +111,7 @@
- +
@@ -146,7 +146,7 @@ ' . $l->t('The poll expired on %s. Voting is disabled, but you can still comment.', array(date('d.m.Y H:i', strtotime($poll->getExpire())))) . ''); }?>
- +
- +
    t('New'); $updatedPoll = true; } - + print_unescaped('
  • '); $i_tot++; @@ -311,7 +311,7 @@

    t('This poll was updated since your last visit. Please check your votes.')); ?>

- +
@@ -336,7 +336,7 @@
- +
@@ -411,17 +411,17 @@

- + - +
- +
@@ -497,5 +497,5 @@
- + From 852a670a56b15fc2f9a2cd524eace2ac9841c5f9 Mon Sep 17 00:00:00 2001 From: dartcafe Date: Fri, 2 Nov 2018 08:02:13 +0100 Subject: [PATCH 2/2] Display displayName insted of username for sharted users --- js/create-poll.js | 6 ++-- src/js/components/shareDiv.vue | 58 +++++++++++++++++----------------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/js/create-poll.js b/js/create-poll.js index 1b7a4574c..9438e7e35 100644 --- a/js/create-poll.js +++ b/js/create-poll.js @@ -151,7 +151,7 @@ eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true } /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_axios__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_axios__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_moment__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_moment___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_moment__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash__ = __webpack_require__(183);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_datePollItem_vue__ = __webpack_require__(184);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_textPollItem_vue__ = __webpack_require__(186);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n\tname: 'create-poll',\n\n\tcomponents: {\n\t\t'DatePollItem': __WEBPACK_IMPORTED_MODULE_3__components_datePollItem_vue__[\"a\" /* default */],\n\t\t'TextPollItem': __WEBPACK_IMPORTED_MODULE_4__components_textPollItem_vue__[\"a\" /* default */]\n\t},\n\n\tdata: function data() {\n\t\treturn {\n\t\t\tpoll: {\n\t\t\t\tmode: 'create',\n\t\t\t\tcomments: [],\n\t\t\t\tvotes: [],\n\t\t\t\tshares: [],\n\t\t\t\tevent: {\n\t\t\t\t\tid: 0,\n\t\t\t\t\thash: '',\n\t\t\t\t\ttype: 'datePoll',\n\t\t\t\t\ttitle: '',\n\t\t\t\t\tdescription: '',\n\t\t\t\t\tcreated: '',\n\t\t\t\t\taccess: 'public',\n\t\t\t\t\texpiration: false,\n\t\t\t\t\texpirationDate: '',\n\t\t\t\t\texpired: false,\n\t\t\t\t\tisAnonymous: false,\n\t\t\t\t\tfullAnonymous: false,\n\t\t\t\t\tdisallowMaybe: false,\n\t\t\t\t\towner: undefined\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tpollDates: [],\n\t\t\t\t\tpollTexts: []\n\t\t\t\t}\n\t\t\t},\n\t\t\tsystem: [],\n\t\t\tlang: '',\n\t\t\tlocale: '',\n\t\t\tplaceholder: '',\n\t\t\tnewPollDate: '',\n\t\t\tnewPollTime: '',\n\t\t\tnewPollText: '',\n\t\t\tnextPollDateId: 1,\n\t\t\tnextPollTextId: 1,\n\t\t\tprotect: false,\n\t\t\twritingPoll: false,\n\t\t\tloadingPoll: true,\n\t\t\tsidebar: false,\n\t\t\ttitleEmpty: false,\n\t\t\tindexPage: '',\n\t\t\tlongDateFormat: '',\n\t\t\tdateTimeFormat: ''\n\t\t};\n\t},\n\n\tcreated: function created() {\n\t\tthis.indexPage = OC.generateUrl('apps/polls/');\n\t\tthis.getSystemValues();\n\t\tthis.lang = OC.getLanguage();\n\t\ttry {\n\t\t\tthis.locale = OC.getLocale();\n\t\t} catch (e) {\n\t\t\tif (e instanceof TypeError) {\n\t\t\t\tthis.locale = this.lang;\n\t\t\t} else {\n\t\t\t\tconsole.log(e);\n\t\t\t}\n\t\t}\n\t\t__WEBPACK_IMPORTED_MODULE_1_moment___default.a.locale(this.locale);\n\t\tthis.longDateFormat = __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('L');\n\t\tthis.dateTimeFormat = __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('L') + ' ' + __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('LT');\n\t\tvar urlArray = window.location.pathname.split('/');\n\n\t\tif (urlArray[urlArray.length - 1] === 'create') {\n\t\t\tthis.poll.event.owner = OC.getCurrentUser().uid;\n\t\t\tthis.loadingPoll = false;\n\t\t} else {\n\t\t\tthis.loadPoll(urlArray[urlArray.length - 1]);\n\t\t\tthis.protect = true;\n\t\t\tthis.poll.mode = 'edit';\n\t\t}\n\t\tif (window.innerWidth > 1024) {\n\t\t\tthis.sidebar = true;\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tlangShort: function langShort() {\n\t\t\treturn this.lang.split(\"-\")[0];\n\t\t},\n\n\t\ttitle: function title() {\n\t\t\tif (this.poll.event.title === '') {\n\t\t\t\treturn t('polls', 'Create new poll');\n\t\t\t} else {\n\t\t\t\treturn this.poll.event.title;\n\t\t\t}\n\t\t},\n\n\t\tsaveButtonTitle: function saveButtonTitle() {\n\t\t\tif (this.writingPoll) {\n\t\t\t\treturn t('polls', 'Writing poll');\n\t\t\t} else if (this.poll.mode === 'edit') {\n\t\t\t\treturn t('polls', 'Update poll');\n\t\t\t} else {\n\t\t\t\treturn t('polls', 'Create new poll');\n\t\t\t}\n\t\t},\n\t\tlocaleData: function localeData() {\n\t\t\treturn __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData(__WEBPACK_IMPORTED_MODULE_1_moment___default.a.locale(this.locale));\n\t\t},\n\n\t\texpirationDatePicker: function expirationDatePicker() {\n\t\t\treturn {\n\t\t\t\teditable: true,\n\t\t\t\tminuteStep: 1,\n\t\t\t\ttype: 'datetime',\n\t\t\t\tlang: this.lang.split(\"-\")[0],\n\t\t\t\tformat: __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('L') + ' ' + __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('LT'),\n\t\t\t\tplaceholder: t('polls', 'Expiration date')\n\t\t\t};\n\t\t},\n\n\t\toptionDatePicker: function optionDatePicker() {\n\t\t\treturn {\n\t\t\t\teditable: false,\n\t\t\t\tminuteStep: 1,\n\t\t\t\ttype: 'datetime',\n\t\t\t\tformat: __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('L') + ' ' + __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('LT'),\n\t\t\t\tlang: this.lang.split(\"-\")[0],\n\t\t\t\tplaceholder: t('polls', 'Click to add a date'),\n\t\t\t\ttimePickerOptions: {\n\t\t\t\t\tstart: '00:00',\n\t\t\t\t\tstep: '00:05',\n\t\t\t\t\tend: '23:55'\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\n\t},\n\n\twatch: {\n\t\ttitle: function title() {\n\t\t\t// only used when the title changes after page load\n\t\t\tdocument.title = t('polls', 'Polls') + ' - ' + this.title;\n\t\t}\n\t},\n\n\tmethods: {\n\t\tswitchSidebar: function switchSidebar() {\n\t\t\tthis.sidebar = !this.sidebar;\n\t\t},\n\n\n\t\tgetSystemValues: function getSystemValues() {\n\t\t\tvar _this = this;\n\n\t\t\t__WEBPACK_IMPORTED_MODULE_0_axios___default.a.get(OC.generateUrl('apps/polls/get/system')).then(function (response) {\n\t\t\t\t_this.system = response.data.system;\n\t\t\t}, function (error) {\n\t\t\t\t_this.poll.event.hash = '';\n\t\t\t\tconsole.log(error.response);\n\t\t\t});\n\t\t},\n\n\t\taddShare: function addShare(item) {\n\t\t\tthis.poll.shares.push(item);\n\t\t},\n\n\t\tupdateShares: function updateShares(share) {\n\t\t\tthis.poll.shares = share.slice(0);\n\t\t},\n\n\t\tremoveShare: function removeShare(item) {\n\t\t\tthis.poll.shares.splice(this.poll.shares.indexOf(item), 1);\n\t\t},\n\n\t\taddNewPollDate: function addNewPollDate(newPollDate) {\n\t\t\tif (newPollDate != null) {\n\t\t\t\tthis.newPollDate = __WEBPACK_IMPORTED_MODULE_1_moment___default()(newPollDate);\n\t\t\t\tthis.poll.options.pollDates.push({\n\t\t\t\t\tid: this.nextPollDateId++,\n\t\t\t\t\ttimestamp: __WEBPACK_IMPORTED_MODULE_1_moment___default()(newPollDate).unix()\n\t\t\t\t});\n\t\t\t\tthis.poll.options.pollDates = _.sortBy(this.poll.options.pollDates, 'timestamp');\n\t\t\t}\n\t\t},\n\n\t\taddNewPollText: function addNewPollText() {\n\t\t\tif (this.newPollText !== null & this.newPollText !== '') {\n\t\t\t\tthis.poll.options.pollTexts.push({\n\t\t\t\t\tid: this.nextPollTextId++,\n\t\t\t\t\ttext: this.newPollText\n\t\t\t\t});\n\t\t\t}\n\t\t\tthis.newPollText = '';\n\t\t},\n\n\t\twritePoll: function writePoll(mode) {\n\t\t\tvar _this2 = this;\n\n\t\t\tthis.writingPoll = true;\n\t\t\tif (mode !== '') {\n\t\t\t\tthis.poll.mode = mode;\n\t\t\t}\n\t\t\tif (this.poll.event.title.length === 0) {\n\t\t\t\tthis.titleEmpty = true;\n\t\t\t} else {\n\t\t\t\tthis.titleEmpty = false;\n\t\t\t\t__WEBPACK_IMPORTED_MODULE_0_axios___default.a.post(OC.generateUrl('apps/polls/write'), this.poll).then(function (response) {\n\t\t\t\t\t_this2.poll.mode = 'edit';\n\t\t\t\t\t_this2.poll.event.hash = response.data.hash;\n\t\t\t\t\t_this2.poll.event.id = response.data.id;\n\t\t\t\t\t_this2.writingPoll = false;\n\t\t\t\t\t// window.location.href = OC.generateUrl('apps/polls/edit/' + this.poll.event.hash)\n\t\t\t\t}, function (error) {\n\t\t\t\t\t_this2.poll.event.hash = '';\n\t\t\t\t\tconsole.log(_this2.poll.event.hash);\n\t\t\t\t\tconsole.log(error.response);\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\n\t\tloadPoll: function loadPoll(hash) {\n\t\t\tvar _this3 = this;\n\n\t\t\tthis.loadingPoll = true;\n\t\t\t__WEBPACK_IMPORTED_MODULE_0_axios___default.a.get(OC.generateUrl('apps/polls/get/poll/' + hash)).then(function (response) {\n\t\t\t\t_this3.poll = response.data.poll;\n\t\t\t\tif (_this3.poll.event.expirationDate !== null) {\n\t\t\t\t\t_this3.poll.event.expirationDate = new Date(__WEBPACK_IMPORTED_MODULE_1_moment___default.a.utc(_this3.poll.event.expirationDate));\n\t\t\t\t} else {\n\t\t\t\t\t_this3.poll.event.expirationDate = '';\n\t\t\t\t}\n\n\t\t\t\tif (_this3.poll.event.type === 'datePoll') {\n\t\t\t\t\tvar i;\n\t\t\t\t\tfor (i = 0; i < _this3.poll.options.pollTexts.length; i++) {\n\t\t\t\t\t\t_this3.addNewPollDate(new Date(__WEBPACK_IMPORTED_MODULE_1_moment___default.a.utc(_this3.poll.options.pollTexts[i].text)));\n\t\t\t\t\t}\n\t\t\t\t\t_this3.poll.options.pollTexts = [];\n\t\t\t\t}\n\t\t\t\t_this3.loadingPoll = false;\n\t\t\t\t_this3.newPollDate = '';\n\t\t\t\t_this3.newPollText = '';\n\t\t\t}, function (error) {\n\t\t\t\t_this3.poll.event.hash = '';\n\t\t\t\tconsole.log(error.response);\n\t\t\t\t_this3.loadingPoll = false;\n\t\t\t});\n\t\t}\n\t}\n});\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vc3JjL2pzL0NyZWF0ZS52dWU/YjdhMiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Oz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1xyXG5cdFx0XHR9XHJcblx0XHRcdFxyXG5cdFx0XHQ+IGRpdiB7XHJcblx0XHRcdFx0ZGlzcGxheTogZmxleDtcclxuXHRcdFx0XHRmbGV4LWdyb3c6IDE7XHJcblx0XHRcdFx0Zm9udC1zaXplOiAxLjJlbTtcclxuXHRcdFx0XHRvcGFjaXR5OiAwLjc7XHJcblx0XHRcdFx0d2hpdGUtc3BhY2U6IG5vcm1hbDtcclxuXHRcdFx0XHRwYWRkaW5nLXJpZ2h0OiA0cHg7XHJcblx0XHRcdFx0Ji5hdmF0YXIge1xyXG5cdFx0XHRcdFx0ZmxleC1ncm93OiAwO1xyXG5cdFx0XHRcdH1cclxuXHRcdFx0fVxyXG5cclxuXHRcdFx0PiBkaXY6bnRoLWxhc3QtY2hpbGQoMSkge1xyXG5cdFx0XHRcdGp1c3RpZnktY29udGVudDogY2VudGVyO1xyXG5cdFx0XHRcdGZsZXgtZ3JvdzogMDtcclxuXHRcdFx0XHRmbGV4LXNocmluazogMDtcclxuXHRcdFx0fVxyXG5cdFx0fVxyXG5cdH1cclxuXHJcblx0YnV0dG9uIHtcclxuXHRcdCYuYnV0dG9uLWlubGluZXtcclxuXHRcdFx0Ym9yZGVyOiAwO1xyXG5cdFx0XHRiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcclxuXHRcdH1cclxuXHR9XHJcblxyXG5cdC50YWIge1xyXG5cdFx0ZGlzcGxheTogZmxleDtcclxuXHRcdGZsZXgtd3JhcDogd3JhcDtcclxuXHR9XHJcblx0XHJcblx0XHJcbjwvc3R5bGU+XHJcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyBzcmMvanMvQ3JlYXRlLnZ1ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///13\n"); +eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_axios__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_axios__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_moment__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_moment___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_moment__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash__ = __webpack_require__(183);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_datePollItem_vue__ = __webpack_require__(184);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_textPollItem_vue__ = __webpack_require__(186);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n\tname: 'create-poll',\n\n\tcomponents: {\n\t\t'DatePollItem': __WEBPACK_IMPORTED_MODULE_3__components_datePollItem_vue__[\"a\" /* default */],\n\t\t'TextPollItem': __WEBPACK_IMPORTED_MODULE_4__components_textPollItem_vue__[\"a\" /* default */]\n\t},\n\n\tdata: function data() {\n\t\treturn {\n\t\t\tpoll: {\n\t\t\t\tmode: 'create',\n\t\t\t\tcomments: [],\n\t\t\t\tvotes: [],\n\t\t\t\tshares: [],\n\t\t\t\tevent: {\n\t\t\t\t\tid: 0,\n\t\t\t\t\thash: '',\n\t\t\t\t\ttype: 'datePoll',\n\t\t\t\t\ttitle: '',\n\t\t\t\t\tdescription: '',\n\t\t\t\t\tcreated: '',\n\t\t\t\t\taccess: 'public',\n\t\t\t\t\texpiration: false,\n\t\t\t\t\texpirationDate: '',\n\t\t\t\t\texpired: false,\n\t\t\t\t\tisAnonymous: false,\n\t\t\t\t\tfullAnonymous: false,\n\t\t\t\t\tdisallowMaybe: false,\n\t\t\t\t\towner: undefined\n\t\t\t\t},\n\t\t\t\toptions: {\n\t\t\t\t\tpollDates: [],\n\t\t\t\t\tpollTexts: []\n\t\t\t\t}\n\t\t\t},\n\t\t\tsystem: [],\n\t\t\tlang: '',\n\t\t\tlocale: '',\n\t\t\tplaceholder: '',\n\t\t\tnewPollDate: '',\n\t\t\tnewPollTime: '',\n\t\t\tnewPollText: '',\n\t\t\tnextPollDateId: 1,\n\t\t\tnextPollTextId: 1,\n\t\t\tprotect: false,\n\t\t\twritingPoll: false,\n\t\t\tloadingPoll: true,\n\t\t\tsidebar: false,\n\t\t\ttitleEmpty: false,\n\t\t\tindexPage: '',\n\t\t\tlongDateFormat: '',\n\t\t\tdateTimeFormat: ''\n\t\t};\n\t},\n\n\tcreated: function created() {\n\t\tthis.indexPage = OC.generateUrl('apps/polls/');\n\t\tthis.getSystemValues();\n\t\tthis.lang = OC.getLanguage();\n\t\ttry {\n\t\t\tthis.locale = OC.getLocale();\n\t\t} catch (e) {\n\t\t\tif (e instanceof TypeError) {\n\t\t\t\tthis.locale = this.lang;\n\t\t\t} else {\n\t\t\t\tconsole.log(e);\n\t\t\t}\n\t\t}\n\t\t__WEBPACK_IMPORTED_MODULE_1_moment___default.a.locale(this.locale);\n\t\tthis.longDateFormat = __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('L');\n\t\tthis.dateTimeFormat = __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('L') + ' ' + __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('LT');\n\t\tvar urlArray = window.location.pathname.split('/');\n\n\t\tif (urlArray[urlArray.length - 1] === 'create') {\n\t\t\tthis.poll.event.owner = OC.getCurrentUser().uid;\n\t\t\tthis.loadingPoll = false;\n\t\t} else {\n\t\t\tthis.loadPoll(urlArray[urlArray.length - 1]);\n\t\t\tthis.protect = true;\n\t\t\tthis.poll.mode = 'edit';\n\t\t}\n\t\tif (window.innerWidth > 1024) {\n\t\t\tthis.sidebar = true;\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tlangShort: function langShort() {\n\t\t\treturn this.lang.split(\"-\")[0];\n\t\t},\n\n\t\ttitle: function title() {\n\t\t\tif (this.poll.event.title === '') {\n\t\t\t\treturn t('polls', 'Create new poll');\n\t\t\t} else {\n\t\t\t\treturn this.poll.event.title;\n\t\t\t}\n\t\t},\n\n\t\tsaveButtonTitle: function saveButtonTitle() {\n\t\t\tif (this.writingPoll) {\n\t\t\t\treturn t('polls', 'Writing poll');\n\t\t\t} else if (this.poll.mode === 'edit') {\n\t\t\t\treturn t('polls', 'Update poll');\n\t\t\t} else {\n\t\t\t\treturn t('polls', 'Create new poll');\n\t\t\t}\n\t\t},\n\t\tlocaleData: function localeData() {\n\t\t\treturn __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData(__WEBPACK_IMPORTED_MODULE_1_moment___default.a.locale(this.locale));\n\t\t},\n\n\t\texpirationDatePicker: function expirationDatePicker() {\n\t\t\treturn {\n\t\t\t\teditable: true,\n\t\t\t\tminuteStep: 1,\n\t\t\t\ttype: 'datetime',\n\t\t\t\tlang: this.lang.split(\"-\")[0],\n\t\t\t\tformat: __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('L') + ' ' + __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('LT'),\n\t\t\t\tplaceholder: t('polls', 'Expiration date')\n\t\t\t};\n\t\t},\n\n\t\toptionDatePicker: function optionDatePicker() {\n\t\t\treturn {\n\t\t\t\teditable: false,\n\t\t\t\tminuteStep: 1,\n\t\t\t\ttype: 'datetime',\n\t\t\t\tformat: __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('L') + ' ' + __WEBPACK_IMPORTED_MODULE_1_moment___default.a.localeData().longDateFormat('LT'),\n\t\t\t\tlang: this.lang.split(\"-\")[0],\n\t\t\t\tplaceholder: t('polls', 'Click to add a date'),\n\t\t\t\ttimePickerOptions: {\n\t\t\t\t\tstart: '00:00',\n\t\t\t\t\tstep: '00:05',\n\t\t\t\t\tend: '23:55'\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\n\t},\n\n\twatch: {\n\t\ttitle: function title() {\n\t\t\t// only used when the title changes after page load\n\t\t\tdocument.title = t('polls', 'Polls') + ' - ' + this.title;\n\t\t}\n\t},\n\n\tmethods: {\n\t\tswitchSidebar: function switchSidebar() {\n\t\t\tthis.sidebar = !this.sidebar;\n\t\t},\n\n\n\t\tgetSystemValues: function getSystemValues() {\n\t\t\tvar _this = this;\n\n\t\t\t__WEBPACK_IMPORTED_MODULE_0_axios___default.a.get(OC.generateUrl('apps/polls/get/system')).then(function (response) {\n\t\t\t\t_this.system = response.data.system;\n\t\t\t}, function (error) {\n\t\t\t\t_this.poll.event.hash = '';\n\t\t\t\tconsole.log(error.response);\n\t\t\t});\n\t\t},\n\n\t\taddShare: function addShare(item) {\n\t\t\tthis.poll.shares.push(item);\n\t\t},\n\n\t\tupdateShares: function updateShares(share) {\n\t\t\tthis.poll.shares = share.slice(0);\n\t\t},\n\n\t\tremoveShare: function removeShare(item) {\n\t\t\tthis.poll.shares.splice(this.poll.shares.indexOf(item), 1);\n\t\t},\n\n\t\taddNewPollDate: function addNewPollDate(newPollDate) {\n\t\t\tif (newPollDate != null) {\n\t\t\t\tthis.newPollDate = __WEBPACK_IMPORTED_MODULE_1_moment___default()(newPollDate);\n\t\t\t\tthis.poll.options.pollDates.push({\n\t\t\t\t\tid: this.nextPollDateId++,\n\t\t\t\t\ttimestamp: __WEBPACK_IMPORTED_MODULE_1_moment___default()(newPollDate).unix()\n\t\t\t\t});\n\t\t\t\tthis.poll.options.pollDates = _.sortBy(this.poll.options.pollDates, 'timestamp');\n\t\t\t}\n\t\t},\n\n\t\taddNewPollText: function addNewPollText() {\n\t\t\tif (this.newPollText !== null & this.newPollText !== '') {\n\t\t\t\tthis.poll.options.pollTexts.push({\n\t\t\t\t\tid: this.nextPollTextId++,\n\t\t\t\t\ttext: this.newPollText\n\t\t\t\t});\n\t\t\t}\n\t\t\tthis.newPollText = '';\n\t\t},\n\n\t\twritePoll: function writePoll(mode) {\n\t\t\tvar _this2 = this;\n\n\t\t\tthis.writingPoll = true;\n\t\t\tif (mode !== '') {\n\t\t\t\tthis.poll.mode = mode;\n\t\t\t}\n\t\t\tif (this.poll.event.title.length === 0) {\n\t\t\t\tthis.titleEmpty = true;\n\t\t\t} else {\n\t\t\t\tthis.titleEmpty = false;\n\t\t\t\t__WEBPACK_IMPORTED_MODULE_0_axios___default.a.post(OC.generateUrl('apps/polls/write'), this.poll).then(function (response) {\n\t\t\t\t\t_this2.poll.mode = 'edit';\n\t\t\t\t\t_this2.poll.event.hash = response.data.hash;\n\t\t\t\t\t_this2.poll.event.id = response.data.id;\n\t\t\t\t\t_this2.writingPoll = false;\n\t\t\t\t\t// window.location.href = OC.generateUrl('apps/polls/edit/' + this.poll.event.hash)\n\t\t\t\t}, function (error) {\n\t\t\t\t\t_this2.poll.event.hash = '';\n\t\t\t\t\tconsole.log(_this2.poll.event.hash);\n\t\t\t\t\tconsole.log(error.response);\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\n\t\tloadPoll: function loadPoll(hash) {\n\t\t\tvar _this3 = this;\n\n\t\t\tthis.loadingPoll = true;\n\t\t\t__WEBPACK_IMPORTED_MODULE_0_axios___default.a.get(OC.generateUrl('apps/polls/get/poll/' + hash)).then(function (response) {\n\t\t\t\t_this3.poll = response.data.poll;\n\t\t\t\tif (_this3.poll.event.expirationDate !== null) {\n\t\t\t\t\t_this3.poll.event.expirationDate = new Date(__WEBPACK_IMPORTED_MODULE_1_moment___default.a.utc(_this3.poll.event.expirationDate));\n\t\t\t\t} else {\n\t\t\t\t\t_this3.poll.event.expirationDate = '';\n\t\t\t\t}\n\n\t\t\t\tif (_this3.poll.event.type === 'datePoll') {\n\t\t\t\t\tvar i;\n\t\t\t\t\tfor (i = 0; i < _this3.poll.options.pollTexts.length; i++) {\n\t\t\t\t\t\t_this3.addNewPollDate(new Date(__WEBPACK_IMPORTED_MODULE_1_moment___default.a.utc(_this3.poll.options.pollTexts[i].text)));\n\t\t\t\t\t}\n\t\t\t\t\t_this3.poll.options.pollTexts = [];\n\t\t\t\t}\n\t\t\t\t_this3.loadingPoll = false;\n\t\t\t\t_this3.newPollDate = '';\n\t\t\t\t_this3.newPollText = '';\n\t\t\t}, function (error) {\n\t\t\t\t_this3.poll.event.hash = '';\n\t\t\t\tconsole.log(error.response);\n\t\t\t\t_this3.loadingPoll = false;\n\t\t\t});\n\t\t}\n\t}\n});\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vc3JjL2pzL0NyZWF0ZS52dWU/YjdhMiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7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\n utf8: {\n // Convert a string t /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_axios__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_axios__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_nextcloud_vue__ = __webpack_require__(10);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_nextcloud_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_nextcloud_vue__);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n\tcomponents: {\n\t\tMultiselect: __WEBPACK_IMPORTED_MODULE_1_nextcloud_vue__[\"Multiselect\"]\n\t},\n\n\tprops: ['placeholder', 'activeShares', 'hideNames'],\n\n\tdata: function data() {\n\t\treturn {\n\t\t\tshares: [],\n\t\t\tusers: [],\n\t\t\tisLoading: false,\n\t\t\tsiteUsersListOptions: {\n\t\t\t\tgetUsers: true,\n\t\t\t\tgetGroups: true,\n\t\t\t\tquery: ''\n\t\t\t}\n\t\t};\n\t},\n\n\tcomputed: {\n\t\tsortedShares: function sortedShares() {\n\t\t\treturn this.shares.sort(this.sortByDisplayname);\n\t\t}\n\t},\n\n\tmethods: {\n\t\tremoveShare: function removeShare(index, item) {\n\t\t\tthis.$emit('remove-share', item);\n\t\t},\n\n\t\tupdateShares: function updateShares() {\n\t\t\tthis.$emit('update-shares', this.shares);\n\t\t},\n\n\t\tloadUsersAsync: function loadUsersAsync(query) {\n\t\t\tvar _this = this;\n\n\t\t\tthis.isLoading = false;\n\t\t\tthis.siteUsersListOptions.query = query;\n\t\t\t__WEBPACK_IMPORTED_MODULE_0_axios___default.a.post(OC.generateUrl('apps/polls/get/siteusers'), this.siteUsersListOptions).then(function (response) {\n\t\t\t\t_this.users = response.data.siteusers;\n\t\t\t\t_this.isLoading = false;\n\t\t\t}, function (error) {\n\t\t\t\tconsole.log(error.response);\n\t\t\t});\n\t\t},\n\n\t\tsortByDisplayname: function sortByDisplayname(a, b) {\n\t\t\tif (a.displayName.toLowerCase() < b.displayName.toLowerCase()) return -1;\n\t\t\tif (a.displayName.toLowerCase() > b.displayName.toLowerCase()) return 1;\n\t\t\treturn 0;\n\t\t}\n\n\t},\n\twatch: {\n\t\tactiveShares: function activeShares(value) {\n\t\t\tthis.shares = value.slice(0);\n\t\t}\n\t}\n});\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vc3JjL2pzL2NvbXBvbmVudHMvc2hhcmVEaXYudnVlPzE3ODYiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBdUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBREEsRUFEQTs7QUFLQSxvREFMQTs7QUFPQTtBQUNBO0FBQ0EsYUFEQTtBQUVBLFlBRkE7QUFHQSxtQkFIQTtBQUlBO0FBQ0Esa0JBREE7QUFFQSxtQkFGQTtBQUdBO0FBSEE7QUFKQTtBQVVBLEVBbEJBOztBQW9CQTtBQUNBO0FBQ0E7QUFDQTtBQUhBLEVBcEJBOztBQTBCQTtBQUNBO0FBQ0E7QUFDQSxHQUhBOztBQUtBO0FBQ0E7QU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uXHRcdFx0XHRjb250ZW50OiBhdHRyKGRhdGEtc2VsZWN0KTtcclxuXHRcdFx0XHRiYWNrZ3JvdW5kOiAjNDFiODgzO1xyXG5cdFx0XHRcdGNvbG9yOiAjZmZmO1xyXG5cdFx0XHRcdGJvcmRlci1yYWRpdXM6IDRweDtcclxuXHRcdFx0XHRwYWRkaW5nOiAycHg7XHJcblx0XHRcdH1cclxuXHRcdH1cclxuXHJcblxyXG5cdFx0Lm11bHRpc2VsZWN0X19vcHRpb24tLXNlbGVjdGVkIHtcclxuXHRcdFx0Jjo6YWZ0ZXIge1xyXG5cdFx0XHRcdGNvbnRlbnQ6IGF0dHIoZGF0YS1zZWxlY3RlZCk7XHJcblx0XHRcdFx0Y29sb3I6IHNpbHZlcjtcclxuXHRcdFx0fVxyXG5cdFx0XHQmLm11bHRpc2VsZWN0X19vcHRpb24tLWhpZ2hsaWdodCB7XHJcblx0XHRcdFx0YmFja2dyb3VuZDogI2ZmNmE2YTtcclxuXHRcdFx0XHRjb2xvcjogI2ZmZjtcclxuXHRcdFx0XHQmOjphZnRlciB7XHJcblx0XHRcdFx0XHRiYWNrZ3JvdW5kOiAjZmY2YTZhO1xyXG5cdFx0XHRcdFx0Y29udGVudDogYXR0cihkYXRhLWRlc2VsZWN0KTtcclxuXHRcdFx0XHRcdGNvbG9yOiAjZmZmO1xyXG5cdFx0XHRcdFx0Ym9yZGVyLXJhZGl1czogNHB4O1xyXG5cdFx0XHRcdFx0cGFkZGluZzogMnB4O1xyXG5cdFx0XHRcdH1cclxuXHRcdFx0fVxyXG5cdFx0fVxyXG5cdH1cclxuXHJcbjwvc3R5bGU+XHJcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyBzcmMvanMvY29tcG9uZW50cy9zaGFyZURpdi52dWUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///157\n"); +eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_axios__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_axios__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_nextcloud_vue__ = __webpack_require__(10);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_nextcloud_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_nextcloud_vue__);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n\tcomponents: {\n\t\tMultiselect: __WEBPACK_IMPORTED_MODULE_1_nextcloud_vue__[\"Multiselect\"]\n\t},\n\n\tprops: ['placeholder', 'activeShares', 'hideNames'],\n\n\tdata: function data() {\n\t\treturn {\n\t\t\tshares: [],\n\t\t\tusers: [],\n\t\t\tisLoading: false,\n\t\t\tsiteUsersListOptions: {\n\t\t\t\tgetUsers: true,\n\t\t\t\tgetGroups: true,\n\t\t\t\tquery: ''\n\t\t\t}\n\t\t};\n\t},\n\n\tcomputed: {\n\t\tsortedShares: function sortedShares() {\n\t\t\treturn this.shares.sort(this.sortByDisplayname);\n\t\t}\n\t},\n\n\tmethods: {\n\t\tremoveShare: function removeShare(index, item) {\n\t\t\tthis.$emit('remove-share', item);\n\t\t},\n\n\t\tupdateShares: function updateShares() {\n\t\t\tthis.$emit('update-shares', this.shares);\n\t\t},\n\n\t\tloadUsersAsync: function loadUsersAsync(query) {\n\t\t\tvar _this = this;\n\n\t\t\tthis.isLoading = false;\n\t\t\tthis.siteUsersListOptions.query = query;\n\t\t\t__WEBPACK_IMPORTED_MODULE_0_axios___default.a.post(OC.generateUrl('apps/polls/get/siteusers'), this.siteUsersListOptions).then(function (response) {\n\t\t\t\t_this.users = response.data.siteusers;\n\t\t\t\t_this.isLoading = false;\n\t\t\t}, function (error) {\n\t\t\t\tconsole.log(error.response);\n\t\t\t});\n\t\t},\n\n\t\tsortByDisplayname: function sortByDisplayname(a, b) {\n\t\t\tif (a.displayName.toLowerCase() < b.displayName.toLowerCase()) return -1;\n\t\t\tif (a.displayName.toLowerCase() > b.displayName.toLowerCase()) return 1;\n\t\t\treturn 0;\n\t\t}\n\n\t},\n\twatch: {\n\t\tactiveShares: function activeShares(value) {\n\t\t\tthis.shares = value.slice(0);\n\t\t}\n\t}\n});\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vc3JjL2pzL2NvbXBvbmVudHMvc2hhcmVEaXYudnVlPzE3ODYiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBdUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBREEsRUFEQTs7QUFLQSxvREFMQTs7QUFPQTtBQUNBO0FBQ0EsYUFEQTtBQUVBLFlBRkE7QUFHQSxtQkFIQTtBQUlBO0FBQ0Esa0JBREE7QUFFQSxtQkFGQTtBQUdBO0FBSEE7QUFKQTtBQVVBLEVBbEJBOztBQW9CQTtBQUNBO0FBQ0E7QUFDQTtBQUhBLEVBcEJBOztBQTBCQTtBQUNBO0FBQ0E7QUFDQSxHQUhBOztBQUtBO0FBQ0E7QUFDQSxHQVBBOztBQVNBO0FBQUE7O0FBQ0E7QUFDQTtBQUNBLDZIQUNBLElBREEsQ0FDQTtBQUNBO0FBQ0E7QUFDQSxJQUpBLEVBSUE7QU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FkZGluZzogMnB4O1xyXG5cdFx0XHR9XHJcblx0XHR9XHJcblxyXG5cclxuXHRcdC5tdWx0aXNlbGVjdF9fb3B0aW9uLS1zZWxlY3RlZCB7XHJcblx0XHRcdCY6OmFmdGVyIHtcclxuXHRcdFx0XHRjb250ZW50OiBhdHRyKGRhdGEtc2VsZWN0ZWQpO1xyXG5cdFx0XHRcdGNvbG9yOiBzaWx2ZXI7XHJcblx0XHRcdH1cclxuXHRcdFx0Ji5tdWx0aXNlbGVjdF9fb3B0aW9uLS1oaWdobGlnaHQge1xyXG5cdFx0XHRcdGJhY2tncm91bmQ6ICNmZjZhNmE7XHJcblx0XHRcdFx0Y29sb3I6ICNmZmY7XHJcblx0XHRcdFx0Jjo6YWZ0ZXIge1xyXG5cdFx0XHRcdFx0YmFja2dyb3VuZDogI2ZmNmE2YTtcclxuXHRcdFx0XHRcdGNvbnRlbnQ6IGF0dHIoZGF0YS1kZXNlbGVjdCk7XHJcblx0XHRcdFx0XHRjb2xvcjogI2ZmZjtcclxuXHRcdFx0XHRcdGJvcmRlci1yYWRpdXM6IDRweDtcclxuXHRcdFx0XHRcdHBhZGRpbmc6IDJweDtcclxuXHRcdFx0XHR9XHJcblx0XHRcdH1cclxuXHRcdH1cclxuXHR9XHJcblxyXG48L3N0eWxlPlxyXG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gc3JjL2pzL2NvbXBvbmVudHMvc2hhcmVEaXYudnVlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///157\n"); /***/ }), /* 158 */ @@ -1584,7 +1584,7 @@ eval("exports = module.exports = __webpack_require__(4)(true);\n// imports\n\n\n /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\"h2\", [_vm._v(\" \" + _vm._s(_vm.t(\"polls\", \"Share with\")))]),\n _vm._v(\" \"),\n _c(\"multiselect\", {\n attrs: {\n options: _vm.users,\n \"option-height\": 32,\n multiple: true,\n \"close-on-select\": false,\n \"clear-on-select\": false,\n \"preserve-search\": true,\n label: \"displayName\",\n \"track-by\": \"id\",\n \"options-limit\": 20,\n id: \"ajax\",\n loading: _vm.isLoading,\n \"internal-search\": false,\n \"hide-selected\": true,\n searchable: true,\n \"preselect-first\": true,\n placeholder: _vm.placeholder\n },\n on: { \"search-change\": _vm.loadUsersAsync, close: _vm.updateShares },\n scopedSlots: _vm._u([\n {\n key: \"selection\",\n fn: function(ref) {\n var values = ref.values\n var search = ref.search\n var isOpen = ref.isOpen\n return [\n values.length && !isOpen\n ? _c(\"span\", { staticClass: \"multiselect__single\" }, [\n _vm._v(\n \"\\n\\t\\t\\t\\t\" +\n _vm._s(values.length) +\n \" users selected\\n\\t\\t\\t\"\n )\n ])\n : _vm._e()\n ]\n }\n },\n {\n key: \"option\",\n fn: function(props) {\n return [\n _c(\n \"div\",\n { staticClass: \"option__desc\" },\n [\n _c(\"user-div\", {\n attrs: {\n \"user-id\": props.option.id,\n \"display-name\": props.option.displayName,\n type: props.option.type\n }\n })\n ],\n 1\n )\n ]\n }\n }\n ]),\n model: {\n value: _vm.shares,\n callback: function($$v) {\n _vm.shares = $$v\n },\n expression: \"shares\"\n }\n }),\n _vm._v(\" \"),\n _c(\n \"transition-group\",\n { staticClass: \"shared-list\", attrs: { tag: \"ul\", css: false } },\n _vm._l(_vm.sortedShares, function(item, index) {\n return _c(\n \"li\",\n { key: item.displayName, attrs: { \"data-index\": index } },\n [\n _c(\"user-div\", {\n attrs: {\n \"user-id\": item.id,\n type: item.type,\n \"hide-names\": _vm.hideNames\n }\n }),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"options\" }, [\n _c(\"a\", {\n staticClass: \"icon icon-delete svg delete-poll\",\n on: {\n click: function($event) {\n _vm.removeShare(index, item)\n }\n }\n })\n ])\n ],\n 1\n )\n })\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\n/* harmony default export */ __webpack_exports__[\"a\"] = (esExports);\nif (false) {\n module.hot.accept()\n if (module.hot.data) {\n require(\"vue-hot-reload-api\") .rerender(\"data-v-16beb444\", esExports)\n }\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvanMvY29tcG9uZW50cy9zaGFyZURpdi52dWU/OWY1NyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxTQUFTO0FBQ1QsYUFBYSwrREFBK0Q7QUFDNUU7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsZ0NBQWdDLHFDQUFxQztBQUNyRTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxXQUFXO0FBQ1g7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsbUJBQW1CLDhCQUE4QjtBQUNqRDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLHFCQUFxQjtBQUNyQjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsV0FBVztBQUNYO0FBQ0E7QUFDQSxPQUFPO0FBQ1A7QUFDQTtBQUNBO0FBQ0EsU0FBUyxxQ0FBcUMsd0JBQXdCLEVBQUU7QUFDeE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hcIjogdHJ1ZSxcbiAgICAgICAgICBsYWJlbDogXCJkaXNwbGF5TmFtZVwiLFxuICAgICAgICAgIFwidHJhY2stYnlcIjogXCJpZFwiLFxuICAgICAgICAgIFwib3B0aW9ucy1saW1pdFwiOiAyMCxcbiAgICAgICAgICBpZDogXCJhamF4XCIsXG4gICAgICAgICAgbG9hZGluZzogX3ZtLmlzTG9hZGluZyxcbiAgICAgICAgICBcImludGVybmFsLXNlYXJjaFwiOiBmYWxzZSxcbiAgICAgICAgICBcImhpZGUtc2VsZWN0ZWRcIjogdHJ1ZSxcbiAgICAgICAgICBzZWFyY2hhYmxlOiB0cnVlLFxuICAgICAgICAgIFwicHJlc2VsZWN0LWZpcnN0XCI6IHRydWUsXG4gICAgICAgICAgcGxhY2Vob2xkZXI6IF92bS5wbGFjZWhvbGRlclxuICAgICAgICB9LFxuICAgICAgICBvbjogeyBcInNlYXJjaC1jaGFuZ2VcIjogX3ZtLmxvYWRVc2Vyc0FzeW5jLCBjbG9zZTogX3ZtLnVwZGF0ZVNoYXJlcyB9LFxuICAgICAgICBzY29wZWRTbG90czogX3ZtLl91KFtcbiAgICAgICAgICB7XG4gICAgICAgICAgICBrZXk6IFwic2VsZWN0aW9uXCIsXG4gICAgICAgICAgICBmbjogZnVuY3Rpb24ocmVmKSB7XG4gICAgICAgICAgICAgIHZhciB2YWx1ZXMgPSByZWYudmFsdWVzXG4gICAgICAgICAgICAgIHZhciBzZWFyY2ggPSByZWYuc2VhcmNoXG4gICAgICAgICAgICAgIHZhciBpc09wZW4gPSByZWYuaXNPcGVuXG4gICAgICAgICAgICAgIHJldHVybiBbXG4gICAgICAgICAgICAgICAgdmFsdWVzLmxlbmd0aCAmJiAhaXNPcGVuXG4gICAgICAgICAgICAgICAgICA/IF9jKFwic3BhblwiLCB7IHN0YXRpY0NsYXNzOiBcIm11bHRpc2VsZWN0X19zaW5nbGVcIiB9LCBbXG4gICAgICAgICAgICAgICAgICAgICAgX3ZtLl92KFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJcXG5cXHRcXHRcXHRcXHRcIiArXG4gICAgICAgICAgICAgICAgICAgICAgICAgIF92bS5fcyh2YWx1ZXMubGVuZ3RoKSArXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFwiIHVzZXJzIHNlbGVjdGVkXFxuXFx0XFx0XFx0XCJcbiAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgIF0pXG4gICAgICAgICAgICAgICAgICA6IF92bS5fZSgpXG4gICAgICAgICAgICAgIF1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIHtcbiAgICAgICAgICAgIGtleTogXCJvcHRpb25cIixcbiAgICAgICAgICAgIGZuOiBmdW5jdGlvbihwcm9wcykge1xuICAgICAgICAgICAgICByZXR1cm4gW1xuICAgICAgICAgICAgICAgIF9jKFxuICAgICAgICAgICAgICAgICAgXCJkaXZcIixcbiAgICAgICAgICAgICAgICAgIHsgc3RhdGljQ2xhc3M6IFwib3B0aW9uX19kZXNjXCIgfSxcbiAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgX2MoXCJ1c2VyLWRpdlwiLCB7XG4gICAgICAgICAgICAgICAgICAgICAgYXR0cnM6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIFwidXNlci1pZFwiOiBwcm9wcy5vcHRpb24uaWQsXG4gICAgICAgICAgICAgICAgICAgICAgICBcImRpc3BsYXktbmFtZVwiOiBwcm9wcy5vcHRpb24uZGlzcGxheU5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiBwcm9wcy5vcHRpb24udHlwZVxuICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgIF0sXG4gICAgICAgICAgICAgICAgICAxXG4gICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICBdXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICBdKSxcbiAgICAgICAgbW9kZWw6IHtcbiAgICAgICAgICB2YWx1ZTogX3ZtLnNoYXJlcyxcbiAgICAgICAgICBjYWxsYmFjazogZnVuY3Rpb24oJCR2KSB7XG4gICAgICAgICAgICBfdm0uc2hhcmVzID0gJCR2XG4gICAgICAgICAgfSxcbiAgICAgICAgICBleHByZXNzaW9uOiBcInNoYXJlc1wiXG4gICAgICAgIH1cbiAgICAgIH0pLFxuICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgIF9jKFxuICAgICAgICBcInRyYW5zaXRpb24tZ3JvdXBcIixcbiAgICAgICAgeyBzdGF0aWNDbGFzczogXCJzaGFyZWQtbGlzdFwiLCBhdHRyczogeyB0YWc6IFwidWxcIiwgY3NzOiBmYWxzZSB9IH0sXG4gICAgICAgIF92bS5fbChfdm0uc29ydGVkU2hhcmVzLCBmdW5jdGlvbihpdGVtLCBpbmRleCkge1xuICAgICAgICAgIHJldHVybiBfYyhcbiAgICAgICAgICAgIFwibGlcIixcbiAgICAgICAgICAgIHsga2V5OiBpdGVtLmRpc3BsYXlOYW1lLCBhdHRyczogeyBcImRhdGEtaW5kZXhcIjogaW5kZXggfSB9LFxuICAgICAgICAgICAgW1xuICAgICAgICAgICAgICBfYyhcInVzZXItZGl2XCIsIHtcbiAgICAgICAgICAgICAgICBhdHRyczoge1xuICAgICAgICAgICAgICAgICAgXCJ1c2VyLWlkXCI6IGl0ZW0uaWQsXG4gICAgICAgICAgICAgICAgICB0eXBlOiBpdGVtLnR5cGUsXG4gICAgICAgICAgICAgICAgICBcImhpZGUtbmFtZXNcIjogX3ZtLmhpZGVOYW1lc1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgIF92bS5fdihcIiBcIiksXG4gICAgICAgICAgICAgIF9jKFwiZGl2XCIsIHsgc3RhdGljQ2xhc3M6IFwib3B0aW9uc1wiIH0sIFtcbiAgICAgICAgICAgICAgICBfYyhcImFcIiwge1xuICAg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m1zXCI6e319fSEuL25vZGVfbW9kdWxlcy92dWUtbG9hZGVyL2xpYi9zZWxlY3Rvci5qcz90eXBlPXRlbXBsYXRlJmluZGV4PTAhLi9zcmMvanMvY29tcG9uZW50cy9zaGFyZURpdi52dWVcbi8vIG1vZHVsZSBpZCA9IDIzOVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///239\n"); +eval("var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\"h2\", [_vm._v(\" \" + _vm._s(_vm.t(\"polls\", \"Share with\")))]),\n _vm._v(\" \"),\n _c(\"multiselect\", {\n attrs: {\n options: _vm.users,\n \"option-height\": 32,\n multiple: true,\n \"close-on-select\": false,\n \"clear-on-select\": false,\n \"preserve-search\": true,\n label: \"displayName\",\n \"track-by\": \"id\",\n \"options-limit\": 20,\n id: \"ajax\",\n loading: _vm.isLoading,\n \"internal-search\": false,\n \"hide-selected\": true,\n searchable: true,\n \"preselect-first\": true,\n placeholder: _vm.placeholder\n },\n on: { \"search-change\": _vm.loadUsersAsync, close: _vm.updateShares },\n scopedSlots: _vm._u([\n {\n key: \"selection\",\n fn: function(ref) {\n var values = ref.values\n var search = ref.search\n var isOpen = ref.isOpen\n return [\n values.length && !isOpen\n ? _c(\"span\", { staticClass: \"multiselect__single\" }, [\n _vm._v(\n \"\\n\\t\\t\\t\\t\" +\n _vm._s(values.length) +\n \" users selected\\n\\t\\t\\t\"\n )\n ])\n : _vm._e()\n ]\n }\n },\n {\n key: \"option\",\n fn: function(props) {\n return [\n _c(\n \"div\",\n { staticClass: \"option__desc\" },\n [\n _c(\"user-div\", {\n attrs: {\n \"user-id\": props.option.id,\n \"display-name\": props.option.displayName,\n type: props.option.type\n }\n })\n ],\n 1\n )\n ]\n }\n }\n ]),\n model: {\n value: _vm.shares,\n callback: function($$v) {\n _vm.shares = $$v\n },\n expression: \"shares\"\n }\n }),\n _vm._v(\" \"),\n _c(\n \"transition-group\",\n { staticClass: \"shared-list\", attrs: { tag: \"ul\", css: false } },\n _vm._l(_vm.sortedShares, function(item, index) {\n return _c(\n \"li\",\n { key: item.displayName, attrs: { \"data-index\": index } },\n [\n _c(\"user-div\", {\n attrs: {\n \"user-id\": item.id,\n \"display-name\": item.displayName,\n type: item.type,\n \"hide-names\": _vm.hideNames\n }\n }),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"options\" }, [\n _c(\"a\", {\n staticClass: \"icon icon-delete svg delete-poll\",\n on: {\n click: function($event) {\n _vm.removeShare(index, item)\n }\n }\n })\n ])\n ],\n 1\n )\n })\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\n/* harmony default export */ __webpack_exports__[\"a\"] = (esExports);\nif (false) {\n module.hot.accept()\n if (module.hot.data) {\n require(\"vue-hot-reload-api\") .rerender(\"data-v-16beb444\", esExports)\n }\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvanMvY29tcG9uZW50cy9zaGFyZURpdi52dWU/OWY1NyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxTQUFTO0FBQ1QsYUFBYSwrREFBK0Q7QUFDNUU7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsZ0NBQWdDLHFDQUFxQztBQUNyRTtBQUNBO0FBQ0E7QUFD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gICAgICAgICAgIGZuOiBmdW5jdGlvbihyZWYpIHtcbiAgICAgICAgICAgICAgdmFyIHZhbHVlcyA9IHJlZi52YWx1ZXNcbiAgICAgICAgICAgICAgdmFyIHNlYXJjaCA9IHJlZi5zZWFyY2hcbiAgICAgICAgICAgICAgdmFyIGlzT3BlbiA9IHJlZi5pc09wZW5cbiAgICAgICAgICAgICAgcmV0dXJuIFtcbiAgICAgICAgICAgICAgICB2YWx1ZXMubGVuZ3RoICYmICFpc09wZW5cbiAgICAgICAgICAgICAgICAgID8gX2MoXCJzcGFuXCIsIHsgc3RhdGljQ2xhc3M6IFwibXVsdGlzZWxlY3RfX3NpbmdsZVwiIH0sIFtcbiAgICAgICAgICAgICAgICAgICAgICBfdm0uX3YoXG4gICAgICAgICAgICAgICAgICAgICAgICBcIlxcblxcdFxcdFxcdFxcdFwiICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgX3ZtLl9zKHZhbHVlcy5sZW5ndGgpICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgXCIgdXNlcnMgc2VsZWN0ZWRcXG5cXHRcXHRcXHRcIlxuICAgICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgICAgXSlcbiAgICAgICAgICAgICAgICAgIDogX3ZtLl9lKClcbiAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sXG4gICAgICAgICAge1xuICAgICAgICAgICAga2V5OiBcIm9wdGlvblwiLFxuICAgICAgICAgICAgZm46IGZ1bmN0aW9uKHByb3BzKSB7XG4gICAgICAgICAgICAgIHJldHVybiBbXG4gICAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgICBcImRpdlwiLFxuICAgICAgICAgICAgICAgICAgeyBzdGF0aWNDbGFzczogXCJvcHRpb25fX2Rlc2NcIiB9LFxuICAgICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgICAgICBfYyhcInVzZXItZGl2XCIsIHtcbiAgICAgICAgICAgICAgICAgICAgICBhdHRyczoge1xuICAgICAgICAgICAgICAgICAgICAgICAgXCJ1c2VyLWlkXCI6IHByb3BzLm9wdGlvbi5pZCxcbiAgICAgICAgICAgICAgICAgICAgICAgIFwiZGlzcGxheS1uYW1lXCI6IHByb3BzLm9wdGlvbi5kaXNwbGF5TmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6IHByb3BzLm9wdGlvbi50eXBlXG4gICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgXSxcbiAgICAgICAgICAgICAgICAgIDFcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgIF1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIF0pLFxuICAgICAgICBtb2RlbDoge1xuICAgICAgICAgIHZhbHVlOiBfdm0uc2hhcmVzLFxuICAgICAgICAgIGNhbGxiYWNrOiBmdW5jdGlvbigkJHYpIHtcbiAgICAgICAgICAgIF92bS5zaGFyZXMgPSAkJHZcbiAgICAgICAgICB9LFxuICAgICAgICAgIGV4cHJlc3Npb246IFwic2hhcmVzXCJcbiAgICAgICAgfVxuICAgICAgfSksXG4gICAgICBfdm0uX3YoXCIgXCIpLFxuICAgICAgX2MoXG4gICAgICAgIFwidHJhbnNpdGlvbi1ncm91cFwiLFxuICAgICAgICB7IHN0YXRpY0NsYXNzOiBcInNoYXJlZC1saXN0XCIsIGF0dHJzOiB7IHRhZzogXCJ1bFwiLCBjc3M6IGZhbHNlIH0gfSxcbiAgICAgICAgX3ZtLl9sKF92bS5zb3J0ZWRTaGFyZXMsIGZ1bmN0aW9uKGl0ZW0sIGluZGV4KSB7XG4gICAgICAgICAgcmV0dXJuIF9jKFxuICAgICAgICAgICAgXCJsaVwiLFxuICAgICAgICAgICAgeyBrZXk6IGl0ZW0uZGlzcGxheU5hbWUsIGF0dHJzOiB7IFwiZGF0YS1pbmRleFwiOiBpbmRleCB9IH0sXG4gICAgICAgICAgICBbXG4gICAgICAgICAgICAgIF9jKFwidXNlci1kaXZcIiwge1xuICAgICAgICAgICAgICAgIGF0dHJzOiB7XG4gICAgICAgICAgICAgICAgICBcInVzZXItaWRcIjogaXRlbS5pZCxcbiAgICAgICAgICAgICAgICAgIFwiZGlzcGxheS1uYW1lXCI6IGl0ZW0uZGlzcGxheU5hbWUsXG4gICAgICAgICAgICAgICAgICB0eXBlOiBpdGVtLnR5cGUsXG4gICAgICAgICAgICAgICAgICBcImhpZGUtbmFtZXNcIjogX3ZtLmhpZGVOYW1lc1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgIF92bS5fdihcIiBcIiksXG4gICAgICAgICAgICAgIF9jKFwiZGl2XCIsIHsgc3RhdGljQ2xhc3M6IFwib3B0aW9uc1wiIH0sIFtcbiAgICAgICAgICAgICAgICBfYyhcImFcIiwge1xuICAgICAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6IFwiaWNvbiBpY29uLWRlbGV0ZSBzdmcgZGVsZXRlLXBvbGxcIixcbiAgICAgICAgICAgICAgICAgIG9uOiB7XG4gICAgICAgICAgICAgICAgICAgIGNsaWNrOiBmdW5jdGlvbigkZXZlbnQpIHtcbiAgICAgICAgICAgICAgICAgICAgICBfdm0ucmVtb3ZlU2hhcmUoaW5kZXgsIGl0ZW0pXG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICBdKVxuICAgICAgICAgICAgXSxcbiAgICAgICAgICAgIDFcbiAgICAgICAgICApXG4gICAgICAgIH0pXG4gICAgICApXG4gICAgXSxcbiAgICAxXG4gIClcbn1cbnZhciBzdGF0aWNSZW5kZXJGbnMgPSBbXVxucmVuZGVyLl93aXRoU3RyaXBwZWQgPSB0cnVlXG52YXIgZXNFeHBvcnRzID0geyByZW5kZXI6IHJlbmRlciwgc3RhdGljUmVuZGVyRm5zOiBzdGF0aWNSZW5kZXJGbnMgfVxuZXhwb3J0IGRlZmF1bHQgZXNFeHBvcnRzXG5pZiAobW9kdWxlLmhvdCkge1xuICBtb2R1bGUuaG90LmFjY2VwdCgpXG4gIGlmIChtb2R1bGUuaG90LmRhdGEpIHtcbiAgICByZXF1aXJlKFwidnVlLWhvdC1yZWxvYWQtYXBpXCIpICAgICAgLnJlcmVuZGVyKFwiZGF0YS12LTE2YmViNDQ0XCIsIGVzRXhwb3J0cylcbiAgfVxufVxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL3Z1ZS1sb2FkZXIvbGliL3RlbXBsYXRlLWNvbXBpbGVyP3tcImlkXCI6XCJkYXRhLXYtMTZiZWI0NDRcIixcImhhc1Njb3BlZFwiOmZhbHNlLFwiYnVibGVcIjp7XCJ0cmFuc2Zvcm1zXCI6e319fSEuL25vZGVfbW9kdWxlcy92dWUtbG9hZGVyL2xpYi9zZWxlY3Rvci5qcz90eXBlPXRlbXBsYXRlJmluZGV4PTAhLi9zcmMvanMvY29tcG9uZW50cy9zaGFyZURpdi52dWVcbi8vIG1vZHVsZSBpZCA9IDIzOVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///239\n"); /***/ }) /******/ ]); \ No newline at end of file diff --git a/src/js/components/shareDiv.vue b/src/js/components/shareDiv.vue index ae3fc4d99..fd4479b9a 100644 --- a/src/js/components/shareDiv.vue +++ b/src/js/components/shareDiv.vue @@ -23,24 +23,24 @@