1
0

federatedfilesharing-external.js.map 18 KB

1
  1. {"version":3,"file":"federatedfilesharing-external.js?v=c189f97cbeb77a056e14","mappings":"uBAAIA,E,6CCQJC,OAAOC,IAAIC,QAAUF,OAAOC,IAAIC,SAAW,CAAC,EAa5CF,OAAOC,IAAIC,QAAQC,sBAAwB,SAASC,EAAOC,EAAmBC,GAC7E,MAAMC,EAASH,EAAMG,OACfC,EAAQJ,EAAMK,kBAAoBL,EAAMI,MACxCE,EAAON,EAAMM,KAGbC,EAAcJ,EAClBK,QAAQ,eAAgB,IACxBA,QAAQ,MAAO,IAEZP,EAcJL,OAAOa,GAAGC,QAAQC,OACjBC,EACC,gBACA,oEACA,CAAEN,OAAMF,QAAOD,OAAQI,IAExBK,EAAE,gBAAiB,iBACnB,SAASC,EAAQC,GAChBd,EAAMc,SAAWA,EACjBZ,EAASW,EAAQb,EAClB,IACA,EACAY,EAAE,gBAAiB,0BACnB,GACCG,KAAKC,KAAKC,eA3BZrB,OAAOa,GAAGC,QAAQQ,QACjBN,EACC,gBACA,oEACA,CAAEN,OAAMF,QAAOD,OAAQI,IAExBK,EAAE,gBAAiB,iBACnB,SAASC,GACRX,EAASW,EAAQb,EAClB,IACA,GACCe,KAAKC,KAAKC,cAkBd,EAEArB,OAAOC,IAAIC,QAAQmB,cAAgB,WAClC,MAAME,EAAUC,EAAE,sBACZC,EAAWF,EAAQG,KAAK,UAE9BH,EAAQG,KAAK,YAAYC,SACzBF,EAASG,GAAG,GAAGC,KAAKb,EAAE,OAAQ,WAC9BS,EAASG,GAAG,GAAGC,KAAKb,EAAE,gBAAiB,oBACxC,EAEA,MAAMc,EAAkB,WAAW,IAAAC,EACvB,QAAPA,EAAC/B,cAAM,IAAA+B,GAAK,QAALA,EAANA,EAAQC,WAAG,IAAAD,GAAO,QAAPA,EAAXA,EAAaE,aAAK,IAAAF,GAAQ,QAARA,EAAlBA,EAAoBG,cAAM,IAAAH,GAA1BA,EAA4BI,UAOjCnC,OAAOgC,IAAIC,MAA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oBiB,EAAI,K,MCAxBjB,EAAoB+C,EAAIC,SAASC,SAAWC,KAAKzF,SAAS0F,KAK1D,IAAIC,EAAkB,CACrB,KAAM,GAaPpD,EAAoBS,EAAEQ,EAAKoC,GAA0C,IAA7BD,EAAgBC,GAGxD,IAAIC,EAAuB,CAACC,EAA4BpF,KACvD,IAKI8B,EAAUoD,EALV3C,EAAWvC,EAAK,GAChBqF,EAAcrF,EAAK,GACnBsF,EAAUtF,EAAK,GAGI4C,EAAI,EAC3B,GAAGL,EAASgD,MAAMrE,GAAgC,IAAxB+D,EAAgB/D,KAAa,CACtD,IAAIY,KAAYuD,EACZxD,EAAoB8B,EAAE0B,EAAavD,KACrCD,EAAoBQ,EAAEP,GAAYuD,EAAYvD,IAGhD,GAAGwD,EAAS,IAAIzH,EAASyH,EAAQzD,EAClC,CAEA,IADGuD,GAA4BA,EAA2BpF,GACrD4C,EAAIL,EAAStB,OAAQ2B,IACzBsC,EAAU3C,EAASK,GAChBf,EAAoB8B,EAAEsB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOrD,EAAoBS,EAAEzE,EAAO,EAGjC2H,EAAqBT,KAA4B,sBAAIA,KAA4B,uBAAK,GAC1FS,EAAmBC,QAAQN,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KClDvF3D,EAAoB+D,QAAK1G,ECGzB,IAAI2G,EAAsBhE,EAAoBS,OAAEpD,EAAW,CAAC,OAAO,IAAO2C,EAAoB,SAC9FgE,EAAsBhE,EAAoBS,EAAEuD,E","sources":["webpack:///nextcloud/webpack/runtime/chunk loaded","webpack:///nextcloud/apps/federatedfilesharing/src/external.js","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/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/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};","/**\n * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-FileCopyrightText: 2014-2016 ownCloud, Inc.\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { loadState } from '@nextcloud/initial-state'\nimport { generateUrl } from '@nextcloud/router'\n\nwindow.OCA.Sharing = window.OCA.Sharing || {}\n\n/**\n * Shows \"add external share\" dialog.\n *\n * @param {object} share the share\n * @param {string} share.remote remote server URL\n * @param {string} share.owner owner name\n * @param {string} share.name name of the shared folder\n * @param {string} share.token authentication token\n * @param {boolean} passwordProtected true if the share is password protected\n * @param {Function} callback the callback\n */\nwindow.OCA.Sharing.showAddExternalDialog = function(share, passwordProtected, callback) {\n\tconst remote = share.remote\n\tconst owner = share.ownerDisplayName || share.owner\n\tconst name = share.name\n\n\t// Clean up the remote URL for display\n\tconst remoteClean = remote\n\t\t.replace(/^https?:\\/\\//, '') // remove http:// or https://\n\t\t.replace(/\\/$/, '') // remove trailing slash\n\n\tif (!passwordProtected) {\n\t\twindow.OC.dialogs.confirm(\n\t\t\tt(\n\t\t\t\t'files_sharing',\n\t\t\t\t'Do you want to add the remote share {name} from {owner}@{remote}?',\n\t\t\t\t{ name, owner, remote: remoteClean },\n\t\t\t),\n\t\t\tt('files_sharing', 'Remote share'),\n\t\t\tfunction(result) {\n\t\t\t\tcallback(result, share)\n\t\t\t},\n\t\t\ttrue,\n\t\t).then(this._adjustDialog)\n\t} else {\n\t\twindow.OC.dialogs.prompt(\n\t\t\tt(\n\t\t\t\t'files_sharing',\n\t\t\t\t'Do you want to add the remote share {name} from {owner}@{remote}?',\n\t\t\t\t{ name, owner, remote: remoteClean },\n\t\t\t),\n\t\t\tt('files_sharing', 'Remote share'),\n\t\t\tfunction(result, password) {\n\t\t\t\tshare.password = password\n\t\t\t\tcallback(result, share)\n\t\t\t},\n\t\t\ttrue,\n\t\t\tt('files_sharing', 'Remote share password'),\n\t\t\ttrue,\n\t\t).then(this._adjustDialog)\n\t}\n}\n\nwindow.OCA.Sharing._adjustDialog = function() {\n\tconst $dialog = $('.oc-dialog:visible')\n\tconst $buttons = $dialog.find('button')\n\t// hack the buttons\n\t$dialog.find('.ui-icon').remove()\n\t$buttons.eq(1).text(t('core', 'Cancel'))\n\t$buttons.eq(2).text(t('files_sharing', 'Add remote share'))\n}\n\nconst reloadFilesList = function() {\n\tif (!window?.OCP?.Files?.Router?.goToRoute) {\n\t\t// No router, just reload the page\n\t\twindow.location.reload()\n\t\treturn\n\t}\n\n\t// Let's redirect to the root as any accepted share would be there\n\twindow.OCP.Files.Router.goToRoute(\n\t\tnull,\n\t\t{ ...window.OCP.Files.Router.params, fileid: undefined },\n\t\t{ ...window.OCP.Files.Router.query, dir: '/', openfile: undefined },\n\t)\n}\n\n/**\n * Process incoming remote share that might have been passed\n * through the URL\n */\nconst processIncomingShareFromUrl = function() {\n\tconst params = window.OC.Util.History.parseUrlQuery()\n\n\t// manually add server-to-server share\n\tif (params.remote && params.token && params.name) {\n\n\t\tconst callbackAddShare = function(result, share) {\n\t\t\tconst password = share.password || ''\n\t\t\tif (result) {\n\t\t\t\t$.post(\n\t\t\t\t\tgenerateUrl('apps/federatedfilesharing/askForFederatedShare'),\n\t\t\t\t\t{\n\t\t\t\t\t\tremote: share.remote,\n\t\t\t\t\t\ttoken: share.token,\n\t\t\t\t\t\towner: share.owner,\n\t\t\t\t\t\townerDisplayName: share.ownerDisplayName || share.owner,\n\t\t\t\t\t\tname: share.name,\n\t\t\t\t\t\tpassword,\n\t\t\t\t\t},\n\t\t\t\t).done(function(data) {\n\t\t\t\t\tif (data.hasOwnProperty('legacyMount')) {\n\t\t\t\t\t\treloadFilesList()\n\t\t\t\t\t} else {\n\t\t\t\t\t\twindow.OC.Notification.showTemporary(data.message)\n\t\t\t\t\t}\n\t\t\t\t}).fail(function(data) {\n\t\t\t\t\twindow.OC.Notification.showTemporary(JSON.parse(data.responseText).message)\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\n\t\t// clear hash, it is unlikely that it contain any extra parameters\n\t\tlocation.hash = ''\n\t\tparams.passwordProtected = parseInt(params.protected, 10) === 1\n\t\twindow.OCA.Sharing.showAddExternalDialog(\n\t\t\tparams,\n\t\t\tparams.passwordProtected,\n\t\t\tcallbackAddShare,\n\t\t)\n\t}\n}\n\n/**\n * Retrieve a list of remote shares that need to be approved\n */\nconst processSharesToConfirm = function() {\n\t// check for new server-to-server shares which need to be approved\n\t$.get(generateUrl('/apps/files_sharing/api/externalShares'), {}, function(shares) {\n\t\tlet index\n\t\tfor (index = 0; index < shares.length; ++index) {\n\t\t\twindow.OCA.Sharing.showAddExternalDialog(\n\t\t\t\tshares[index],\n\t\t\t\tfalse,\n\t\t\t\tfunction(result, share) {\n\t\t\t\t\tif (result) {\n\t\t\t\t\t\t// Accept\n\t\t\t\t\t\t$.post(generateUrl('/apps/files_sharing/api/externalShares'), { id: share.id })\n\t\t\t\t\t\t\t.then(function() {\n\t\t\t\t\t\t\t\treloadFilesList()\n\t\t\t\t\t\t\t})\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Delete\n\t\t\t\t\t\t$.ajax({\n\t\t\t\t\t\t\turl: generateUrl('/apps/files_sharing/api/externalShares/' + share.id),\n\t\t\t\t\t\t\ttype: 'DELETE',\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t)\n\t\t}\n\t})\n}\n\nprocessIncomingShareFromUrl()\n\nif (loadState('federatedfilesharing', 'notificationsEnabled', true) !== true) {\n\t// No notification app, display the modal\n\tprocessSharesToConfirm()\n}\n\n$('body').on('window.OCA.Notification.Action', function(e) {\n\tif (e.notification.app === 'files_sharing' && e.notification.object_type === 'remote_share' && e.action.type === 'POST') {\n\t\t// User accepted a remote share reload\n\t\treloadFilesList()\n\t}\n})\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};","// The chunk loading function for additional chunks\n// Since all referenced chunks are already included\n// in this file, this function is empty here.\n__webpack_require__.e = () => (Promise.resolve());","__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 = 2299;","__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\t2299: 0\n};\n\n// no chunk on demand loading\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__(54878)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","window","OCA","Sharing","showAddExternalDialog","share","passwordProtected","callback","remote","owner","ownerDisplayName","name","remoteClean","replace","OC","dialogs","prompt","t","result","password","then","this","_adjustDialog","confirm","$dialog","$","$buttons","find","remove","eq","text","reloadFilesList","_window","OCP","Files","Router","goToRoute","params","fileid","undefined","query","dir","openfile","location","reload","Util","History","parseUrlQuery","token","callbackAddShare","post","generateUrl","done","data","hasOwnProperty","Notification","showTemporary","message","fail","JSON","parse","responseText","hash","parseInt","protected","processIncomingShareFromUrl","loadState","get","shares","index","length","id","ajax","url","type","on","e","notification","app","object_type","action","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","loaded","__webpack_modules__","call","m","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","Promise","resolve","g","globalThis","Function","obj","prop","prototype","Symbol","toStringTag","value","nmd","paths","children","b","document","baseURI","self","href","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","forEach","bind","push","nc","__webpack_exports__"],"sourceRoot":""}