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BwD,EAAgBxD,GAAW,EAE5B,OAAOjC,EAAoBQ,EAAEC,EAAO,EAGjC6F,EAAqBf,KAA4B,sBAAIA,KAA4B,uBAAK,GAC1Fe,EAAmBzH,QAAQoH,EAAqB9B,KAAK,KAAM,IAC3DmC,EAAmBzG,KAAOoG,EAAqB9B,KAAK,KAAMmC,EAAmBzG,KAAKsE,KAAKmC,QCvFvFtG,EAAoBX,QAAKhH,ECGzB,IAAIkO,EAAsBvG,EAAoBQ,OAAEnI,EAAW,CAAC,OAAO,IAAO2H,EAAoB,SAC9FuG,EAAsBvG,EAAoBQ,EAAE+F","sources":["webpack:///nextcloud/webpack/runtime/chunk loaded","webpack:///nextcloud/webpack/runtime/load script","webpack:///nextcloud/apps/files_reminders/src/shared/utils.ts","webpack:///nextcloud/apps/files_reminders/src/shared/logger.ts","webpack:///nextcloud/apps/files_reminders/src/services/reminderService.ts","webpack:///nextcloud/apps/files_reminders/src/components/SetCustomReminderModal.vue?vue&type=script&lang=ts","webpack:///nextcloud/apps/files_reminders/src/components/SetCustomReminderModal.vue","webpack://nextcloud/./apps/files_reminders/src/components/SetCustomReminderModal.vue?42df","webpack://nextcloud/./apps/files_reminders/src/components/SetCustomReminderModal.vue?011c","webpack:///nextcloud/apps/files_reminders/src/services/customPicker.ts","webpack:///nextcloud/apps/files_reminders/src/actions/reminderStatusAction.ts","webpack:///nextcloud/apps/files_reminders/src/actions/clearReminderAction.ts","webpack:///nextcloud/apps/files_reminders/src/actions/setReminderMenuAction.ts","webpack://nextcloud/./apps/files_reminders/src/actions/setReminderSuggestionActions.scss?3734","webpack:///nextcloud/apps/files_reminders/src/actions/setReminderSuggestionActions.ts","webpack:///nextcloud/apps/files_reminders/src/actions/setReminderCustomAction.ts","webpack:///nextcloud/apps/files_reminders/src/init.ts","webpack:///nextcloud/apps/files_reminders/src/actions/setReminderSuggestionActions.scss","webpack:///nextcloud/apps/files_reminders/src/components/SetCustomReminderModal.vue?vue&type=style&index=0&id=5a1353a8&prod&lang=scss&scoped=true","webpack:///nextcloud/webpack/bootstrap","webpack:///nextcloud/webpack/runtime/compat get default export","webpack:///nextcloud/webpack/runtime/define property getters","webpack:///nextcloud/webpack/runtime/ensure chunk","webpack:///nextcloud/webpack/runtime/get javascript chunk filename","webpack:///nextcloud/webpack/runtime/global","webpack:///nextcloud/webpack/runtime/hasOwnProperty shorthand","webpack:///nextcloud/webpack/runtime/make namespace object","webpack:///nextcloud/webpack/runtime/node module decorator","webpack:///nextcloud/webpack/runtime/runtimeId","webpack:///nextcloud/webpack/runtime/publicPath","webpack:///nextcloud/webpack/runtime/jsonp chunk loading","webpack:///nextcloud/webpack/runtime/nonce","webpack:///nextcloud/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"nextcloud:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","/**\n * @copyright 2023 Christopher Ng <chrng8@gmail.com>\n *\n * @author Christopher Ng <chrng8@gmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { getCanonicalLocale } from '@nextcloud/l10n';\nexport var DateTimePreset;\n(function (DateTimePreset) {\n DateTimePreset[\"LaterToday\"] = \"later-today\";\n DateTimePreset[\"Tomorrow\"] = \"tomorrow\";\n DateTimePreset[\"ThisWeekend\"] = \"this-weekend\";\n DateTimePreset[\"NextWeek\"] = \"next-week\";\n})(DateTimePreset || (DateTimePreset = {}));\nconst getFirstWorkdayOfWeek = () => {\n const now = new Date();\n now.setHours(0, 0, 0, 0);\n now.setDate(now.getDate() - now.getDay() + 1);\n return new Date(now);\n};\nconst getWeek = (date) => {\n const dateClone = new Date(date);\n dateClone.setHours(0, 0, 0, 0);\n const firstDayOfYear = new Date(date.getFullYear(), 0, 1, 0, 0, 0, 0);\n const daysFromFirstDay = (date.getTime() - firstDayOfYear.getTime()) / 86400000;\n return Math.ceil((daysFromFirstDay + firstDayOfYear.getDay() + 1) / 7);\n};\nconst isSameWeek = (a, b) => {\n return getWeek(a) === getWeek(b)\n && a.getFullYear() === b.getFullYear();\n};\nconst isSameDate = (a, b) => {\n return a.getDate() === b.getDate()\n && a.getMonth() === b.getMonth()\n && a.getFullYear() === b.getFullYear();\n};\nexport const getDateTime = (dateTime) => {\n const matchPreset = {\n [DateTimePreset.LaterToday]: () => {\n const now = new Date();\n const evening = new Date();\n evening.setHours(18, 0, 0, 0);\n const cutoff = new Date();\n cutoff.setHours(17, 0, 0, 0);\n if (now >= cutoff) {\n return null;\n }\n return evening;\n },\n [DateTimePreset.Tomorrow]: () => {\n const now = new Date();\n const day = new Date();\n day.setDate(now.getDate() + 1);\n day.setHours(8, 0, 0, 0);\n return day;\n },\n [DateTimePreset.ThisWeekend]: () => {\n const today = new Date();\n if ([\n 5, // Friday\n 6, // Saturday\n 0, // Sunday\n ].includes(today.getDay())) {\n return null;\n }\n const saturday = new Date();\n const firstWorkdayOfWeek = getFirstWorkdayOfWeek();\n saturday.setDate(firstWorkdayOfWeek.getDate() + 5);\n saturday.setHours(8, 0, 0, 0);\n return saturday;\n },\n [DateTimePreset.NextWeek]: () => {\n const today = new Date();\n if (today.getDay() === 0) { // Sunday\n return null;\n }\n const workday = new Date();\n const firstWorkdayOfWeek = getFirstWorkdayOfWeek();\n workday.setDate(firstWorkdayOfWeek.getDate() + 7);\n workday.setHours(8, 0, 0, 0);\n return workday;\n },\n };\n return matchPreset[dateTime]();\n};\nexport const getInitialCustomDueDate = () => {\n const now = new Date();\n const dueDate = new Date();\n dueDate.setHours(now.getHours() + 2, 0, 0, 0);\n return dueDate;\n};\nexport const getDateString = (dueDate) => {\n let formatOptions = {\n hour: 'numeric',\n minute: '2-digit',\n };\n const today = new Date();\n if (!isSameDate(dueDate, today)) {\n formatOptions = {\n ...formatOptions,\n weekday: 'short',\n };\n }\n if (!isSameWeek(dueDate, today)) {\n formatOptions = {\n ...formatOptions,\n month: 'short',\n day: 'numeric',\n };\n }\n if (dueDate.getFullYear() !== today.getFullYear()) {\n formatOptions = {\n ...formatOptions,\n year: 'numeric',\n };\n }\n return dueDate.toLocaleString(getCanonicalLocale(), formatOptions);\n};\nexport const getVerboseDateString = (dueDate) => {\n let formatOptions = {\n month: 'long',\n day: 'numeric',\n weekday: 'long',\n hour: 'numeric',\n minute: '2-digit',\n };\n const today = new Date();\n if (dueDate.getFullYear() !== today.getFullYear()) {\n formatOptions = {\n ...formatOptions,\n year: 'numeric',\n };\n }\n return dueDate.toLocaleString(getCanonicalLocale(), formatOptions);\n};\n","/**\n * @copyright 2023 Christopher Ng <chrng8@gmail.com>\n *\n * @author Christopher Ng <chrng8@gmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { getLoggerBuilder } from '@nextcloud/logger';\nexport const logger = getLoggerBuilder()\n .setApp('files_reminders')\n .detectUser()\n .build();\n","/**\n * @copyright 2023 Christopher Ng <chrng8@gmail.com>\n *\n * @author Christopher Ng <chrng8@gmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport axios from '@nextcloud/axios';\nimport { generateOcsUrl } from '@nextcloud/router';\nexport const getReminder = async (fileId) => {\n const url = generateOcsUrl('/apps/files_reminders/api/v1/{fileId}', { fileId });\n const response = await axios.get(url);\n const dueDate = response.data.ocs.data.dueDate ? new Date(response.data.ocs.data.dueDate) : null;\n return {\n dueDate,\n };\n};\nexport const setReminder = async (fileId, dueDate) => {\n const url = generateOcsUrl('/apps/files_reminders/api/v1/{fileId}', { fileId });\n const response = await axios.put(url, {\n dueDate: dueDate.toISOString(), // timezone of string is always UTC\n });\n return response.data.ocs.data;\n};\nexport const clearReminder = async (fileId) => {\n const url = generateOcsUrl('/apps/files_reminders/api/v1/{fileId}', { fileId });\n const response = await axios.delete(url);\n return response.data.ocs.data;\n};\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetCustomReminderModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetCustomReminderModal.vue?vue&type=script&lang=ts\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.opened)?_c('NcDialog',{attrs:{\"name\":_vm.name,\"out-transition\":true,\"size\":\"small\",\"close-on-click-outside\":\"\"},on:{\"closing\":_vm.onClose},scopedSlots:_vm._u([{key:\"actions\",fn:function(){return [_c('NcButton',{attrs:{\"type\":\"tertiary\"},on:{\"click\":_vm.onClose}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.t('files_reminders', 'Cancel'))+\"\\n\\t\\t\")]),_vm._v(\" \"),(_vm.hasDueDate)?_c('NcButton',{on:{\"click\":_vm.clear}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.t('files_reminders', 'Clear reminder'))+\"\\n\\t\\t\")]):_vm._e(),_vm._v(\" \"),_c('NcButton',{attrs:{\"disabled\":!_vm.isValid,\"type\":\"primary\",\"form\":\"set-custom-reminder-form\",\"native-type\":\"submit\"}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.t('files_reminders', 'Set reminder'))+\"\\n\\t\\t\")])]},proxy:true}],null,false,2766788902)},[_c('form',{staticClass:\"custom-reminder-modal\",attrs:{\"id\":\"set-custom-reminder-form\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.setCustom.apply(null, arguments)}}},[_c('NcDateTimePickerNative',{attrs:{\"id\":\"set-custom-reminder\",\"label\":_vm.label,\"min\":_vm.nowDate,\"required\":true,\"type\":\"datetime-local\"},on:{\"input\":_vm.onInput},model:{value:(_vm.customDueDate),callback:function ($$v) {_vm.customDueDate=$$v},expression:\"customDueDate\"}}),_vm._v(\" \"),(_vm.isValid)?_c('NcNoteCard',{attrs:{\"type\":\"info\"}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.t('files_reminders', 'We will remind you of this file'))+\"\\n\\t\\t\\t\"),_c('NcDateTime',{attrs:{\"timestamp\":_vm.customDueDate}})],1):_c('NcNoteCard',{attrs:{\"type\":\"error\"}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.t('files_reminders', 'Please choose a valid date & time'))+\"\\n\\t\\t\")])],1)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetCustomReminderModal.vue?vue&type=style&index=0&id=5a1353a8&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetCustomReminderModal.vue?vue&type=style&index=0&id=5a1353a8&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./SetCustomReminderModal.vue?vue&type=template&id=5a1353a8&scoped=true\"\nimport script from \"./SetCustomReminderModal.vue?vue&type=script&lang=ts\"\nexport * from \"./SetCustomReminderModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SetCustomReminderModal.vue?vue&type=style&index=0&id=5a1353a8&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5a1353a8\",\n null\n \n)\n\nexport default component.exports","/**\n * @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport Vue from 'vue';\nimport SetCustomReminderModal from '../components/SetCustomReminderModal.vue';\nconst View = Vue.extend(SetCustomReminderModal);\nconst mount = document.createElement('div');\nmount.id = 'set-custom-reminder-modal';\ndocument.body.appendChild(mount);\n// Create a new Vue instance and mount it to our modal container\nconst CustomReminderModal = new View({\n name: 'SetCustomReminderModal',\n el: mount,\n});\nexport const pickCustomDate = (node) => {\n CustomReminderModal.open(node);\n // Wait for the modal to close\n return new Promise((resolve) => {\n CustomReminderModal.$once('close', resolve);\n });\n};\n","/**\n * @copyright 2024 Christopher Ng <chrng8@gmail.com>\n *\n * @author Christopher Ng <chrng8@gmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { FileAction } from '@nextcloud/files';\nimport { translate as t } from '@nextcloud/l10n';\nimport AlarmSvg from '@mdi/svg/svg/alarm.svg?raw';\nimport { pickCustomDate } from '../services/customPicker.ts';\nimport { getVerboseDateString } from '../shared/utils.ts';\nexport const action = new FileAction({\n id: 'reminder-status',\n inline: () => true,\n displayName: () => '',\n title: (nodes) => {\n const node = nodes.at(0);\n const dueDate = new Date(node.attributes['reminder-due-date']);\n return `${t('files_reminders', 'Reminder set')} – ${getVerboseDateString(dueDate)}`;\n },\n iconSvgInline: () => AlarmSvg,\n enabled: (nodes) => {\n // Only allow on a single node\n if (nodes.length !== 1) {\n return false;\n }\n const node = nodes.at(0);\n const dueDate = node.attributes['reminder-due-date'];\n return Boolean(dueDate);\n },\n async exec(node) {\n pickCustomDate(node);\n return null;\n },\n order: -15,\n});\n","/**\n * @copyright 2024 Christopher Ng <chrng8@gmail.com>\n *\n * @author Christopher Ng <chrng8@gmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport Vue from 'vue';\nimport { FileAction } from '@nextcloud/files';\nimport { emit } from '@nextcloud/event-bus';\nimport { translate as t } from '@nextcloud/l10n';\nimport AlarmOffSvg from '@mdi/svg/svg/alarm-off.svg?raw';\nimport { clearReminder } from '../services/reminderService.ts';\nimport { getVerboseDateString } from '../shared/utils.ts';\nexport const action = new FileAction({\n id: 'clear-reminder',\n displayName: () => t('files_reminders', 'Clear reminder'),\n title: (nodes) => {\n const node = nodes.at(0);\n const dueDate = new Date(node.attributes['reminder-due-date']);\n return `${t('files_reminders', 'Clear reminder')} – ${getVerboseDateString(dueDate)}`;\n },\n iconSvgInline: () => AlarmOffSvg,\n enabled: (nodes) => {\n // Only allow on a single node\n if (nodes.length !== 1) {\n return false;\n }\n const node = nodes.at(0);\n const dueDate = node.attributes['reminder-due-date'];\n return Boolean(dueDate);\n },\n async exec(node) {\n if (node.fileid) {\n try {\n await clearReminder(node.fileid);\n Vue.set(node.attributes, 'reminder-due-date', '');\n emit('files:node:updated', node);\n return true;\n }\n catch (error) {\n return false;\n }\n }\n return null;\n },\n order: 19,\n});\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { FileAction } from '@nextcloud/files';\nimport { translate as t } from '@nextcloud/l10n';\nimport AlarmSvg from '@mdi/svg/svg/alarm.svg?raw';\nexport const SET_REMINDER_MENU_ID = 'set-reminder-menu';\nexport const action = new FileAction({\n id: SET_REMINDER_MENU_ID,\n displayName: () => t('files_reminders', 'Set reminder'),\n iconSvgInline: () => AlarmSvg,\n enabled: () => true,\n async exec() {\n return null;\n },\n order: 20,\n});\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/sass-loader/dist/cjs.js!./setReminderSuggestionActions.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/sass-loader/dist/cjs.js!./setReminderSuggestionActions.scss\";\n export default content && content.locals ? content.locals : undefined;\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport Vue from 'vue';\nimport { FileAction } from '@nextcloud/files';\nimport { emit } from '@nextcloud/event-bus';\nimport { showError, showSuccess } from '@nextcloud/dialogs';\nimport { translate as t } from '@nextcloud/l10n';\nimport { DateTimePreset, getDateString, getDateTime, getVerboseDateString } from '../shared/utils';\nimport { logger } from '../shared/logger';\nimport { SET_REMINDER_MENU_ID } from './setReminderMenuAction';\nimport { setReminder } from '../services/reminderService';\nimport './setReminderSuggestionActions.scss';\nconst laterToday = {\n dateTimePreset: DateTimePreset.LaterToday,\n label: t('files_reminders', 'Later today'),\n ariaLabel: t('files_reminders', 'Set reminder for later today'),\n dateString: '',\n verboseDateString: ''\n};\nconst tomorrow = {\n dateTimePreset: DateTimePreset.Tomorrow,\n label: t('files_reminders', 'Tomorrow'),\n ariaLabel: t('files_reminders', 'Set reminder for tomorrow'),\n dateString: '',\n verboseDateString: ''\n};\nconst thisWeekend = {\n dateTimePreset: DateTimePreset.ThisWeekend,\n label: t('files_reminders', 'This weekend'),\n ariaLabel: t('files_reminders', 'Set reminder for this weekend'),\n dateString: '',\n verboseDateString: ''\n};\nconst nextWeek = {\n dateTimePreset: DateTimePreset.NextWeek,\n label: t('files_reminders', 'Next week'),\n ariaLabel: t('files_reminders', 'Set reminder for next week'),\n dateString: '',\n verboseDateString: ''\n};\n/**\n * Generate a file action for the given option\n *\n * @param option The option to generate the action for\n * @return The file action or null if the option should not be shown\n */\nconst generateFileAction = (option) => {\n return new FileAction({\n id: `set-reminder-${option.dateTimePreset}`,\n displayName: () => `${option.label} – ${option.dateString}`,\n title: () => `${option.ariaLabel} – ${option.verboseDateString}`,\n // Empty svg to hide the icon\n iconSvgInline: () => '<svg></svg>',\n enabled: () => Boolean(getDateTime(option.dateTimePreset)),\n parent: SET_REMINDER_MENU_ID,\n async exec(node) {\n // Can't really happen, but just in case™\n if (!node.fileid) {\n logger.error('Failed to set reminder, missing file id');\n showError(t('files_reminders', 'Failed to set reminder'));\n return null;\n }\n // Set the reminder\n try {\n const dateTime = getDateTime(option.dateTimePreset);\n await setReminder(node.fileid, dateTime);\n Vue.set(node.attributes, 'reminder-due-date', dateTime.toISOString());\n emit('files:node:updated', node);\n showSuccess(t('files_reminders', 'Reminder set for \"{fileName}\"', { fileName: node.basename }));\n }\n catch (error) {\n logger.error('Failed to set reminder', { error });\n showError(t('files_reminders', 'Failed to set reminder'));\n }\n // Silent success as we display our own notification\n return null;\n },\n order: 21,\n });\n};\n[laterToday, tomorrow, thisWeekend, nextWeek].forEach((option) => {\n // Generate the initial date string\n const dateTime = getDateTime(option.dateTimePreset);\n if (!dateTime) {\n return;\n }\n option.dateString = getDateString(dateTime);\n option.verboseDateString = getVerboseDateString(dateTime);\n // Update the date string every 30 minutes\n setInterval(() => {\n const dateTime = getDateTime(option.dateTimePreset);\n if (!dateTime) {\n return;\n }\n // update the submenu remind options strings\n option.dateString = getDateString(dateTime);\n option.verboseDateString = getVerboseDateString(dateTime);\n }, 1000 * 30 * 60);\n});\n// Generate the default preset actions\nexport const actions = [laterToday, tomorrow, thisWeekend, nextWeek]\n .map(generateFileAction);\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { FileAction, Node } from '@nextcloud/files';\nimport { translate as t } from '@nextcloud/l10n';\nimport CalendarClockSvg from '@mdi/svg/svg/calendar-clock.svg?raw';\nimport { SET_REMINDER_MENU_ID } from './setReminderMenuAction';\nimport { pickCustomDate } from '../services/customPicker';\nexport const action = new FileAction({\n id: 'set-reminder-custom',\n displayName: () => t('files_reminders', 'Set custom reminder'),\n title: () => t('files_reminders', 'Set reminder at custom date & time'),\n iconSvgInline: () => CalendarClockSvg,\n enabled: () => true,\n parent: SET_REMINDER_MENU_ID,\n async exec(file) {\n pickCustomDate(file);\n return null;\n },\n // After presets\n order: 22,\n});\n","/**\n * @copyright 2023 Christopher Ng <chrng8@gmail.com>\n *\n * @author Christopher Ng <chrng8@gmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { registerDavProperty, registerFileAction } from '@nextcloud/files';\nimport { action as statusAction } from './actions/reminderStatusAction';\nimport { action as clearAction } from './actions/clearReminderAction';\nimport { action as menuAction } from './actions/setReminderMenuAction';\nimport { actions as suggestionActions } from './actions/setReminderSuggestionActions';\nimport { action as customAction } from './actions/setReminderCustomAction';\nregisterDavProperty('nc:reminder-due-date', { nc: 'http://nextcloud.org/ns' });\nregisterFileAction(statusAction);\nregisterFileAction(clearAction);\nregisterFileAction(menuAction);\nregisterFileAction(customAction);\nsuggestionActions.forEach((action) => registerFileAction(action));\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.files-list__row-action-set-reminder-custom{margin-top:13px;position:relative}.files-list__row-action-set-reminder-custom::before{content:\"\";margin:3px 10px 3px 15px;border-bottom:1px solid var(--color-border-dark);cursor:default;display:flex;height:0;position:absolute;left:0;right:0;top:-10px}`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/files_reminders/src/actions/setReminderSuggestionActions.scss\"],\"names\":[],\"mappings\":\"AAuBA,4CACC,eAAA,CACA,iBAAA,CAEA,oDACC,UAAA,CACA,wBAAA,CACA,gDAAA,CACA,cAAA,CACA,YAAA,CACA,QAAA,CACA,iBAAA,CACA,MAAA,CACA,OAAA,CACA,SAAA\",\"sourcesContent\":[\"/**\\n * @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>\\n *\\n * @author John Molakvoæ <skjnldsv@protonmail.com>\\n *\\n * @license AGPL-3.0-or-later\\n *\\n * This program is free software: you can redistribute it and/or modify\\n * it under the terms of the GNU Affero General Public License as\\n * published by the Free Software Foundation, either version 3 of the\\n * License, or (at your option) any later version.\\n *\\n * This program is distributed in the hope that it will be useful,\\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n * GNU Affero General Public License for more details.\\n *\\n * You should have received a copy of the GNU Affero General Public License\\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\\n *\\n */\\n // TODO: remove when/if the actions API supports a separator\\n // This the last preset action, so we need to add a separator\\n.files-list__row-action-set-reminder-custom {\\n\\tmargin-top: 13px;\\n\\tposition: relative;\\n\\n\\t&::before {\\n\\t\\tcontent: \\\"\\\";\\n\\t\\tmargin: 3px 10px 3px 15px;\\n\\t\\tborder-bottom: 1px solid var(--color-border-dark);\\n\\t\\tcursor: default;\\n\\t\\tdisplay: flex;\\n\\t\\theight: 0;\\n\\t\\tposition: absolute;\\n\\t\\tleft: 0;\\n\\t\\tright: 0;\\n\\t\\ttop: -10px;\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.custom-reminder-modal[data-v-5a1353a8]{margin:0 12px}`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/files_reminders/src/components/SetCustomReminderModal.vue\"],\"names\":[],\"mappings\":\"AACA,wCACC,aAAA\",\"sourcesContent\":[\"\\n.custom-reminder-modal {\\n\\tmargin: 0 12px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \"-\" + chunkId + \".js?v=\" + {\"4254\":\"5c2324570f66dff0c8a1\",\"9480\":\"dfe0a962e5665010f53b\"}[chunkId] + \"\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 9735;","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","__webpack_require__.b = document.baseURI || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t9735: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunknextcloud\"] = self[\"webpackChunknextcloud\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [4208], () => (__webpack_require__(91410)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","inProgress","dataWebpackPrefix","DateTimePreset","getFirstWorkdayOfWeek","now","Date","setHours","setDate","getDate","getDay","getWeek","date","firstDayOfYear","getFullYear","daysFromFirstDay","getTime","Math","ceil","getDateTime","dateTime","LaterToday","evening","cutoff","Tomorrow","day","ThisWeekend","today","includes","saturday","firstWorkdayOfWeek","NextWeek","workday","getDateString","dueDate","formatOptions","hour","minute","isSameDate","a","b","getMonth","weekday","isSameWeek","month","year","toLocaleString","getCanonicalLocale","getVerboseDateString","logger","getLoggerBuilder","setApp","detectUser","build","setReminder","async","fileId","url","generateOcsUrl","axios","put","toISOString","data","ocs","clearReminder","delete","Vue","extend","name","components","NcButton","NcDateTime","NcDateTimePickerNative","NcDialog","NcNoteCard","node","undefined","hasDueDate","opened","isValid","customDueDate","nowDate","computed","fileid","fileName","basename","t","label","clearAriaLabel","methods","open","attributes","Boolean","getInitialCustomDueDate","getHours","setTimeout","input","document","getElementById","focus","showPicker","setCustom","isNaN","emit","showSuccess","onClose","error","showError","clear","$emit","onInput","checkValidity","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","_vm","this","_c","_self","_setupProxy","attrs","on","scopedSlots","_u","key","fn","_v","_s","_e","proxy","staticClass","$event","preventDefault","apply","arguments","model","value","callback","$$v","expression","View","SetCustomReminderModal","mount","createElement","id","body","appendChild","CustomReminderModal","el","pickCustomDate","Promise","resolve","$once","action","FileAction","inline","displayName","title","nodes","at","concat","iconSvgInline","AlarmSvg","enabled","length","exec","order","SET_REMINDER_MENU_ID","laterToday","dateTimePreset","ariaLabel","dateString","verboseDateString","tomorrow","thisWeekend","nextWeek","forEach","option","setInterval","actions","map","parent","file","registerDavProperty","nc","registerFileAction","statusAction","clearAction","menuAction","customAction","suggestionActions","___CSS_LOADER_EXPORT___","push","module","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","loaded","__webpack_modules__","call","m","O","result","chunkIds","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","definition","o","defineProperty","enumerable","get","f","e","chunkId","all","reduce","promises","u","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","l","done","script","needAttach","scripts","getElementsByTagName","s","getAttribute","charset","timeout","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","bind","type","target","head","Symbol","toStringTag","nmd","paths","children","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","Error","replace","p","baseURI","self","href","installedChunks","installedChunkData","promise","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}