1
0

files_reminders-init.js.map 58 KB

1
  1. {"version":3,"file":"files_reminders-init.js?v=5180e3e15c4bc9c1667f","mappings":";uBAAIA,ECAAC,EACAC,qDCuBSC,EAAuB,oBACvBC,EAAS,IAAIC,EAAAA,GAAW,CACjCC,GAAIH,EACJI,YAAaA,KAAMC,EAAAA,EAAAA,IAAE,kBAAmB,gBACxCC,cAAeA,4XACfC,QAASA,KAAM,EACfC,KAAUC,SACC,KAEXC,MAAO,qDCVJ,MAQMC,EAAcH,MAAOI,EAAQC,KACtC,MAAMC,GAAMC,EAAAA,EAAAA,IAAe,wCAAyC,CAAEH,WAItE,aAHuBI,EAAAA,EAAMC,IAAIH,EAAK,CAClCD,QAASA,EAAQK,iBAELC,KAAKC,IAAID,IAAI,MCbtBE,cACX,SAAWA,GACPA,EAA2B,WAAI,cAC/BA,EAAyB,SAAI,WAC7BA,EAA4B,YAAI,eAChCA,EAAyB,SAAI,WAChC,CALD,CAKGA,IAAmBA,EAAiB,CAAC,IACjC,MAAMC,EAAeC,IACJ,CAChB,CAACF,EAAeG,YAAa,KACzB,MAAMC,GAAMC,EAAAA,EAAAA,KACNC,GAAUD,EAAAA,EAAAA,KACXE,QAAQ,OACRC,IAAI,GAAI,QACPC,EAASH,EACVI,QACAC,SAAS,EAAG,QACjB,OAAIP,EAAIQ,cAAcH,GACX,KAEJH,EAAQO,QAAQ,EAE3B,CAACb,EAAec,UAAW,KACXT,EAAAA,EAAAA,KACPG,IAAI,EAAG,OACPD,QAAQ,OACRC,IAAI,EAAG,QACDK,SAEf,CAACb,EAAee,aAAc,KAC1B,MAAMC,GAAQX,EAAAA,EAAAA,KACd,MAAI,CACA,EACA,EACA,GACFY,SAASD,EAAME,cACN,MAEMb,EAAAA,EAAAA,KACZE,QAAQ,WACRC,IAAI,EAAG,OACPA,IAAI,EAAG,QACIK,QAAQ,EAE5B,CAACb,EAAemB,UAAW,IAEI,KADbd,EAAAA,EAAAA,KACJa,aACC,MAEKb,EAAAA,EAAAA,KACX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A4BA,EAA2BhQ,GACrD0K,EAAIL,EAAS1H,OAAQ+H,IACzBoB,EAAUzB,EAASK,GAChBf,EAAoB8B,EAAE8D,EAAiBzD,IAAYyD,EAAgBzD,IACrEyD,EAAgBzD,GAAS,KAE1ByD,EAAgBzD,GAAW,EAE5B,OAAOnC,EAAoBQ,EAAEC,EAAO,EAGjCgG,EAAqBf,KAA4B,sBAAIA,KAA4B,uBAAK,GAC1Fe,EAAmB5L,QAAQuL,EAAqB/B,KAAK,KAAM,IAC3DoC,EAAmB5G,KAAOuG,EAAqB/B,KAAK,KAAMoC,EAAmB5G,KAAKwE,KAAKoC,QCvFvFzG,EAAoBV,QAAKvD,ECGzB,IAAI2K,EAAsB1G,EAAoBQ,OAAEzE,EAAW,CAAC,OAAO,IAAOiE,EAAoB,SAC9F0G,EAAsB1G,EAAoBQ,EAAEkG","sources":["webpack:///nextcloud/webpack/runtime/chunk loaded","webpack:///nextcloud/webpack/runtime/load script","webpack:///nextcloud/apps/files_reminders/src/actions/setReminderMenuAction.ts","webpack:///nextcloud/apps/files_reminders/src/services/reminderService.ts","webpack:///nextcloud/apps/files_reminders/src/shared/utils.ts","webpack:///nextcloud/apps/files_reminders/src/actions/clearReminderAction.ts","webpack:///nextcloud/apps/files_reminders/src/shared/logger.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/components/SetCustomReminderModal.vue","webpack:///nextcloud/apps/files_reminders/src/components/SetCustomReminderModal.vue?vue&type=script&lang=ts","webpack://nextcloud/./apps/files_reminders/src/components/SetCustomReminderModal.vue?98e6","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/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=0105318b&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 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 * @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","/**\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 moment from '@nextcloud/moment';\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 = {}));\nexport const getDateTime = (dateTime) => {\n const matchPreset = {\n [DateTimePreset.LaterToday]: () => {\n const now = moment();\n const evening = moment()\n .startOf('day')\n .add(18, 'hour');\n const cutoff = evening\n .clone()\n .subtract(1, 'hour');\n if (now.isSameOrAfter(cutoff)) {\n return null;\n }\n return evening.toDate();\n },\n [DateTimePreset.Tomorrow]: () => {\n const day = moment()\n .add(1, 'day')\n .startOf('day')\n .add(8, 'hour');\n return day.toDate();\n },\n [DateTimePreset.ThisWeekend]: () => {\n const today = moment();\n if ([\n 5, // Friday\n 6, // Saturday\n 7, // Sunday\n ].includes(today.isoWeekday())) {\n return null;\n }\n const saturday = moment()\n .startOf('isoWeek')\n .add(5, 'day')\n .add(8, 'hour');\n return saturday.toDate();\n },\n [DateTimePreset.NextWeek]: () => {\n const today = moment();\n if (today.isoWeekday() === 7) { // Sunday\n return null;\n }\n const workday = moment()\n .startOf('isoWeek')\n .add(1, 'week')\n .add(8, 'hour');\n return workday.toDate();\n },\n };\n return matchPreset[dateTime]();\n};\nexport const getInitialCustomDueDate = () => {\n const hour = moment().get('hour');\n const dueDate = moment()\n .startOf('day')\n .add(hour + 2, 'hour');\n return dueDate.toDate();\n};\nexport const getDateString = (dueDate) => {\n let formatOptions = {\n hour: 'numeric',\n minute: '2-digit',\n };\n const dueDateMoment = moment(dueDate);\n const today = moment();\n if (!dueDateMoment.isSame(today, 'date')) {\n formatOptions = {\n ...formatOptions,\n weekday: 'short',\n };\n }\n if (!dueDateMoment.isSame(today, 'week')) {\n formatOptions = {\n ...formatOptions,\n month: 'short',\n day: 'numeric',\n };\n }\n return dueDate.toLocaleString(getCanonicalLocale(), formatOptions);\n};\nexport const getVerboseDateString = (dueDate) => {\n const formatOptions = {\n weekday: 'long',\n hour: 'numeric',\n minute: '2-digit',\n month: 'long',\n day: 'numeric',\n };\n return dueDate.toLocaleString(getCanonicalLocale(), formatOptions);\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 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 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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.opened)?_c('NcModal',{attrs:{\"out-transition\":true,\"size\":\"small\"},on:{\"close\":_vm.onClose}},[_c('form',{staticClass:\"custom-reminder-modal\",on:{\"submit\":function($event){$event.preventDefault();return _vm.setCustom.apply(null, arguments)}}},[_c('h2',{staticClass:\"custom-reminder-modal__title\"},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.title)+\"\\n\\t\\t\")]),_vm._v(\" \"),_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\")]),_vm._v(\" \"),_c('div',{staticClass:\"custom-reminder-modal__buttons\"},[_c('NcButton',{on:{\"click\":_vm.onClose}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.t('files_reminders', 'Cancel'))+\"\\n\\t\\t\\t\")]),_vm._v(\" \"),_c('NcButton',{attrs:{\"disabled\":!_vm.isValid,\"native-type\":\"submit\",\"type\":\"primary\"}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.t('files_reminders', 'Set reminder'))+\"\\n\\t\\t\\t\")])],1)],1)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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\"","\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=0105318b&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=0105318b&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=0105318b&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=0105318b&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 \"0105318b\",\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 = async (node) => {\n CustomReminderModal.open(node);\n // Wait for the modal to close\n return new Promise((resolve) => {\n CustomReminderModal.$on('close', resolve);\n });\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, 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 menuAction } from './actions/setReminderMenuAction';\nimport { action as clearAction } from './actions/clearReminderAction';\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(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-0105318b]{margin:30px}.custom-reminder-modal__title[data-v-0105318b]{font-size:16px;line-height:2em}.custom-reminder-modal__buttons[data-v-0105318b]{display:flex;justify-content:flex-end;margin-top:30px}.custom-reminder-modal__buttons button[data-v-0105318b]{margin-left:10px}`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/files_reminders/src/components/SetCustomReminderModal.vue\"],\"names\":[],\"mappings\":\"AACA,wCACC,WAAA,CAEA,+CACC,cAAA,CACA,eAAA,CAGD,iDACC,YAAA,CACA,wBAAA,CACA,eAAA,CAEA,wDACC,gBAAA\",\"sourcesContent\":[\"\\n.custom-reminder-modal {\\n\\tmargin: 30px;\\n\\n\\t&__title {\\n\\t\\tfont-size: 16px;\\n\\t\\tline-height: 2em;\\n\\t}\\n\\n\\t&__buttons {\\n\\t\\tdisplay: flex;\\n\\t\\tjustify-content: flex-end;\\n\\t\\tmargin-top: 30px;\\n\\n\\t\\tbutton {\\n\\t\\t\\tmargin-left: 10px;\\n\\t\\t}\\n\\t}\\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=\" + {\"1165\":\"390ca4dfc085e9dd8c8c\",\"4473\":\"ad3e2d3de184247b1fb2\"}[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__(24539)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","inProgress","dataWebpackPrefix","SET_REMINDER_MENU_ID","action","FileAction","id","displayName","t","iconSvgInline","enabled","async","exec","order","setReminder","fileId","dueDate","url","generateOcsUrl","axios","put","toISOString","data","ocs","DateTimePreset","getDateTime","dateTime","LaterToday","now","moment","evening","startOf","add","cutoff","clone","subtract","isSameOrAfter","toDate","Tomorrow","ThisWeekend","today","includes","isoWeekday","NextWeek","getInitialCustomDueDate","hour","get","getDateString","formatOptions","minute","dueDateMoment","isSame","weekday","month","day","toLocaleString","getCanonicalLocale","getVerboseDateString","title","nodes","node","at","Date","attributes","concat","length","Boolean","fileid","delete","clearReminder","Vue","emit","error","logger","getLoggerBuilder","setApp","detectUser","build","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","laterToday","dateTimePreset","label","ariaLabel","dateString","verboseDateString","tomorrow","thisWeekend","nextWeek","forEach","option","setInterval","actions","map","parent","showError","showSuccess","fileName","basename","extend","name","components","NcButton","NcDateTime","NcDateTimePickerNative","NcModal","NcNoteCard","undefined","opened","isValid","customDueDate","nowDate","computed","clearAriaLabel","methods","open","setTimeout","input","document","getElementById","focus","showPicker","setCustom","isNaN","onClose","$emit","onInput","checkValidity","_vm","this","_c","_self","_setupProxy","attrs","on","staticClass","$event","preventDefault","apply","arguments","_v","_s","model","value","callback","$$v","expression","_e","View","SetCustomReminderModal","mount","createElement","body","appendChild","CustomReminderModal","el","file","Promise","resolve","$on","pickCustomDate","registerDavProperty","nc","registerFileAction","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","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","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","b","baseURI","self","href","installedChunks","installedChunkData","promise","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}