mirror of
https://github.com/nextcloud/server.git
synced 2026-10-17 04:50:54 +02:00
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 lines
4.2 KiB
JavaScript
2 lines
4.2 KiB
JavaScript
(()=>{"use strict";var e={72876(e,t,r){var o=r(21777);r(36819),r.nc=(0,o.aV)(),window.OCA.Sharing=OCA.Sharing},36819(e,t,r){var o=r(21777),n=r(85168),a=r(53334);r.nc=(0,o.aV)(),window.OCP.Collaboration.registerType("file",{typeString:(0,a.t)("files_sharing","Link to a file"),typeIconClass:"icon-files-dark",async action(){const e=(0,n.a1)((0,a.t)("files_sharing","Link to a file")).setType(n.bh.Choose).allowDirectories(!0).build();try{const[t]=await e.pickNodes();return t.fileid}catch{throw new Error("Cannot get fileinfo")}}})}};const t={};function r(o){const n=t[o];if(void 0!==n)return n.exports;const a=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=e,(()=>{const e=[];r.O=(t,o,n)=>{if(!o){for(var a=0;a<e.length;a++){let[o,n]=e[a],l=!0;for(var i=0;i<o.length;i++)r.O.j(o[i])?o.splice(i--,1):l=!1;if(l){e.splice(a--,1);const r=n();void 0!==r&&(t=r)}}return t}e.push([o,n])}})(),r.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.cw=e=>{var t;return()=>{if(e){var r=e;e=0,t={exports:{}},r.call(t.exports,t,t.exports)}return t.exports}},r.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var n=t[o++],a=t[o++],i=0===a?{enumerable:!0,value:t[o++]}:{enumerable:!0,get:a};r.o(e,n)||Object.defineProperty(e,n,i)}else for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>{const t=[];return r.f.j(e,t),Promise.all(t)},r.u=e=>e+"-"+e+".js?v="+{3600:"84358453b4d6868f7e9c",4017:"808775e77c7d18946064",4515:"f77c636a9d5c12f5059e",7859:"90097d6186e001a6fb28",8259:"79b917f7438068af7e66",8374:"12538bc344d59c0bf4ba",8689:"1df6e7225e2f49ae3fd0"}[e],r.o=(e,t)=>Object.hasOwn(e,t),(()=>{const e={},t="nextcloud-ui-legacy:";r.l=(o,n,a,i)=>{if(e[o])return void e[o].push(n);let l,c;if(void 0!==a){const e=document.getElementsByTagName("script");for(var s=0;s<e.length;s++){const r=e[s];if(r.getAttribute("src")==o||r.getAttribute("data-webpack")==t+a){l=r;break}}}l||(c=!0,l=document.createElement("script"),l.charset="utf-8",r.nc&&l.setAttribute("nonce",r.nc),l.setAttribute("data-webpack",t+a),l.src=o),e[o]=[n];const d=(t,r)=>{l.onerror=l.onload=null,clearTimeout(u);const n=e[o];if(delete e[o],l.parentNode?.removeChild(l),n?.forEach(e=>e(r)),t)return t(r)},u=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),c&&document.head.appendChild(l)}})(),r.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.j=9643,r.dn=e=>{var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{let e;globalThis.importScripts&&(e=globalThis.location+"");const t=globalThis.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const r=t.getElementsByTagName("script");if(r.length){let t=r.length-1;for(;t>-1&&(!e||!/^https?:/.test(e));)e=r[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),r.p=e})(),(()=>{r.b="undefined"!=typeof document&&document.baseURI||self.location.href;const e={7541:0,9643:0};r.f.j=(t,o)=>{let n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{const a=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=a);const i=new Error,l=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;i.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",i.name="ChunkLoadError",i.type=e,i.request=r,i.event=o,n[1](i)}};r.l(r.p+r.u(t),l,"chunk-"+t,t)}},r.O.j=t=>0===e[t];const t=(t,o)=>{let[n,a,i]=o;var l,c,s=0;if(n.some(t=>0!==e[t])){for(l in a)r.o(a,l)&&(r.m[l]=a[l]);if(i)var d=i(r)}for(t&&t(o);s<n.length;s++)c=n[s],r.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return r.O(d)},o=globalThis.webpackChunknextcloud_ui_legacy||=[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r.nc=void 0;let o=r.O(void 0,[4208],()=>r(72876));o=r.O(o)})();
|
|
//# sourceMappingURL=files_sharing-additionalScripts.js.map?v=9caeb950dd0e3c32f903
|