Files
nextcloud-server-mirror/dist/files_sharing-init-public.js
nextcloud-command 4be9da03ff chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-06-08 15:54:18 +00:00

2 lines
20 KiB
JavaScript

(()=>{var e,t,r,i={14668(e,t,r){"use strict";r.d(t,{h:()=>u});var i=r(77815),n=r(43627),o=r(88975),a=r(88140),s=r(78246),d=r(64630),l=r(99201),c=r(46502);async function u(e="/",t){const r=(0,s.j)((0,a.u)());return r.query.length<3?await async function(e,t){e=(0,n.join)((0,i.ei)(),e);const r=(0,i.aN)(),o=await l.S.getDirectoryContents(e,{details:!0,data:r,includeSelf:!0,signal:t?.signal}),a=o.data[0],s=o.data.slice(1);if(a?.filename!==e&&`${a?.filename}/`!==e)throw d.v.debug(`Exepected "${e}" but got filename "${a.filename}" instead.`),new Error("Root node does not match requested path");return{folder:(0,i.pO)(a),contents:s.map(e=>{try{return(0,i.pO)(e)}catch(t){return d.v.error(`Invalid node detected '${e.basename}'`,{error:t}),null}}).filter(Boolean)}}(e,t):await async function(e,t,r){let s=(0,o._)((0,a.u)()).getDirectoryByPath("files",e);if(!s){const t=(0,n.join)((0,i.ei)(),e),r=await l.S.stat(t,{details:!0});s=(0,i.pO)(r.data)}return{folder:s,contents:await(0,c.E)(t,{dir:e,signal:r})}}(e,r.query,t?.signal)}},46502(e,t,r){"use strict";r.d(t,{E:()=>c});var i=r(21777),n=r(77815),o=r(63814),a=r(70580),s=r.n(a),d=r(64630),l=r(99201);async function c(e,{dir:t,signal:r}){const a=(0,i.HW)();if(!a)return[];if((e=e.trim()).length<3)return[];t&&!t.startsWith("/")&&(t=`/${t}`),d.v.debug("Searching for nodes",{query:e,dir:t});const{data:c}=await l.S.search("/",{details:!0,signal:r,data:`\n<d:searchrequest ${(0,n.CP)()}>\n\t <d:basicsearch>\n\t\t <d:select>\n\t\t\t <d:prop>\n\t\t\t ${(0,n.VX)()}\n\t\t\t </d:prop>\n\t\t </d:select>\n\t\t <d:from>\n\t\t\t <d:scope>\n\t\t\t\t <d:href>/files/${a.uid}${t?s()(t):""}</d:href>\n\t\t\t\t <d:depth>infinity</d:depth>\n\t\t\t </d:scope>\n\t\t </d:from>\n\t\t <d:where>\n\t\t\t <d:like>\n\t\t\t\t <d:prop>\n\t\t\t\t\t <d:displayname/>\n\t\t\t\t </d:prop>\n\t\t\t\t <d:literal>%${e.replace("%","")}%</d:literal>\n\t\t\t </d:like>\n\t\t </d:where>\n\t\t <d:orderby/>\n\t</d:basicsearch>\n</d:searchrequest>`});return r?.aborted?[]:c.results.map(e=>(0,n.pO)(e,n.VA,(0,o.$_)()))}},99201(e,t,r){"use strict";r.d(t,{S:()=>n,t:()=>o});var i=r(77815);const n=(0,i.KU)();async function o(e){const t=(0,i.aN)(),r=await n.stat(`${(0,i.ei)()}${e}`,{details:!0,data:t});return(0,i.pO)(r.data)}},39992(e,t,r){"use strict";r.d(t,{F:()=>u});var i=r(21777),n=r(61338),o=r(35810),a=r(77815),s=r(10810),d=r(85471),l=r(64630);const c=new o.vd({id:0,source:(0,a.EY)()+(0,a.ei)(),root:(0,a.ei)(),owner:(0,i.HW)()?.uid||null,permissions:o.aX.NONE}),u=(0,s.nY)("active",()=>{const e=(0,d.IJ)(),t=(0,d.KR)(),r=(0,d.IJ)(),i=(0,d.KR)(c);function a(e){t.value&&t.value.source===e.source&&(t.value=void 0)}function s(e=null){l.v.debug("Setting active view",{view:e}),r.value=e??void 0,t.value=void 0}return(0,d.wB)(t,()=>{"number"==typeof t.value?.fileid&&t.value.fileid!==i.value?.fileid&&(l.v.debug("Updating active fileid in URL query",{fileid:t.value.fileid}),window.OCP.Files.Router.goToRoute(null,{...window.OCP.Files.Router.params,fileid:String(t.value.fileid)},{...window.OCP.Files.Router.query},!0))}),function(){const e=(0,o.bh)();s(e.active),(0,n.B1)("files:node:deleted",a),e.addEventListener("updateActive",e=>{s(e.detail)})}(),{activeAction:e,activeFolder:i,activeNode:t,activeView:r}})},88975(e,t,r){"use strict";r.d(t,{_:()=>c});var i=r(61338),n=r(10810),o=r(85471),a=r(99201),s=r(64630),d=r(39992),l=r(16488);const c=(0,n.nY)("files",()=>{const e=(0,o.KR)({}),t=(0,o.KR)({});function r(t){return e.value[t]}function n(t){return t.map(t=>e.value[t]).filter(Boolean)}function c(t){return Object.values(e.value).filter(e=>e.id===t)}function u(e){return t.value[e]}function p(e,t){const i=(0,l.B)();let n;if(t&&"/"!==t){const o=i.getPath(e,t);o&&(n=r(o))}else n=u(e);return n}function f(t){const r=t.reduce((t,r)=>e.value[r.source]?.id&&!r.id?(s.v.error("Trying to update/set a node without id",{node:r}),t):(t[r.source]=r,t),{});e.value={...e.value,...r};const i=(0,d.F)();i.activeNode&&i.activeNode.source in r&&(i.activeNode=e.value[i.activeNode.source])}function h(t){const r=Object.entries(e.value).filter(([,e])=>!t.some(t=>t.source===e.source));e.value=Object.fromEntries(r)}return(0,i.B1)("files:node:created",function(e){f([e])}),(0,i.B1)("files:node:deleted",function(e){h([e])}),(0,i.B1)("files:node:updated",async function(e){const t=e.id?c(e.id):n([e.source]);if(t.length>1)return await Promise.all(t.map(e=>(0,a.t)(e.path))).then(f),void s.v.debug(t.length+" nodes updated in store",{fileid:e.id,source:e.source});if(1===t.length&&e.source===t[0].source)return void f([e]);f([await(0,a.t)(e.path)])}),(0,i.B1)("files:node:moved",function({node:t,oldSource:r}){delete e.value[r],f([t])}),(0,i.B1)("files:favorites:added",function(e){const t=r(e.source);t&&o.Ay.set(t.attributes,"favorite",1)}),(0,i.B1)("files:favorites:removed",function(e){const t=r(e.source);t&&o.Ay.set(t.attributes,"favorite",0)}),{files:e,roots:t,deleteNodes:h,getDirectoryByPath:p,getNode:r,getNodes:n,getNodesById:c,getNodesByPath:function(e,t){const i=p(e,t);return(i?._children??[]).map(e=>r(e)).filter(Boolean)},getRoot:u,setRoot:function({service:e,root:r}){t.value={...t.value,[e]:r}},updateNodes:f}})},88140(e,t,r){"use strict";r.d(t,{u:()=>n});var i=r(10810);function n(){return window._nc_files_pinia||(window._nc_files_pinia=(0,i.Ey)()),window._nc_files_pinia}},16488(e,t,r){"use strict";r.d(t,{B:()=>c});var i=r(61338),n=r(35810),o=r(71225),a=r(10810),s=r(85471),d=r(64630),l=r(88975);function c(...e){const t=(0,l._)(...e),r=(0,a.nY)("paths",{state:()=>({paths:{}}),getters:{getPath:e=>(t,r)=>{if(e.paths[t])return e.paths[t][r]}},actions:{addPath(e){this.paths[e.service]||s.Ay.set(this.paths,e.service,{}),s.Ay.set(this.paths[e.service],e.path,e.source)},deletePath(e,t){this.paths[e]&&s.Ay.delete(this.paths[e],t)},onCreatedNode(e){const t=(0,n.bh)()?.active?.id||"files";e.fileid?(e.type===n.pt.Folder&&this.addPath({service:t,path:e.path,source:e.source}),this.addNodeToParentChildren(e)):d.v.error("Node has no fileid",{node:e})},onDeletedNode(e){const t=(0,n.bh)()?.active?.id||"files";e.type===n.pt.Folder&&this.deletePath(t,e.path),this.deleteNodeFromParentChildren(e)},onMovedNode({node:e,oldSource:t}){const r=(0,n.bh)()?.active?.id||"files";if(e.type===n.pt.Folder){const i=Object.entries(this.paths[r]).find(([,e])=>e===t);i?.[0]&&this.deletePath(r,i[0]),this.addPath({service:r,path:e.path,source:e.source})}const i=new n.ZH({source:t,owner:e.owner,mime:e.mime,root:e.root});this.deleteNodeFromParentChildren(i),this.addNodeToParentChildren(e)},deleteNodeFromParentChildren(e){const r=(0,n.bh)()?.active?.id||"files",i=(0,o.pD)(e.source),a="/"===e.dirname?t.getRoot(r):t.getNode(i);if(a){const t=new Set(a._children??[]);return t.delete(e.source),s.Ay.set(a,"_children",[...t.values()]),void d.v.debug("Children updated",{parent:a,node:e,children:a._children})}d.v.debug("Parent path does not exists, skipping children update",{node:e})},addNodeToParentChildren(e){const r=(0,n.bh)()?.active?.id||"files",i=(0,o.pD)(e.source),a="/"===e.dirname?t.getRoot(r):t.getNode(i);if(a){const t=new Set(a._children??[]);return t.add(e.source),s.Ay.set(a,"_children",[...t.values()]),void d.v.debug("Children updated",{parent:a,node:e,children:a._children})}d.v.debug("Parent path does not exists, skipping children update",{node:e})}}})(...e);return r._initialized||((0,i.B1)("files:node:created",r.onCreatedNode),(0,i.B1)("files:node:deleted",r.onDeletedNode),(0,i.B1)("files:node:moved",r.onMovedNode),r._initialized=!0),r}},78246(e,t,r){"use strict";r.d(t,{j:()=>l});var i=r(61338),n=r(46855),o=r(10810),a=r(85471),s=r(64630),d=r(37365);const l=(0,o.nY)("search",()=>{const e=(0,a.KR)(""),t=(0,a.KR)("filter");(0,a.wB)(t,o),(0,a.wB)(e,(e,t)=>{e.trim()!==t.trim()&&o()}),function(){(0,i.B1)("files:navigation:changed",l);const r=window.OCP.Files.Router;r.params.view===d.w&&(e.value=[r.query.query].flat()[0]??"",e.value?(t.value="globally",s.v.debug("Directly navigated to search view",{query:e.value})):(s.v.info("Directly navigated to search view without any query, redirect to files view."),r.goToRoute(void 0,{...r.params,view:"files"},{...r.query,query:void 0},!0)))}();const r=(0,n.A)(t=>{window.OCP.Files.Router.goToRoute(void 0,{view:d.w},{query:e.value},t)});function o(){(0,i.Ic)("files:search:updated",{query:e.value,scope:t.value});const n=window.OCP.Files.Router;if(n.params.view===d.w&&(""===e.value||"filter"===t.value))return t.value="filter",n.goToRoute(void 0,{view:"files"},{...n.query,query:void 0});if("filter"===t.value||!e.value)return;const o=n.params.view===d.w;s.v.debug("Update route for updated search query",{query:e.value,isSearch:o}),r(o)}function l(r){r.id!==d.w&&(e.value="",t.value="filter")}return{query:e,scope:t}})},64630(e,t,r){"use strict";r.d(t,{v:()=>i});const i=(0,r(35947).YK)().setApp("files").detectUser().build()},66480(e,t,r){"use strict";r(43690),r(61338),r(35810),r(53334),r(14668),r(39992)},37365(e,t,r){"use strict";r.d(t,{w:()=>i}),r(35810),r(53334),r(21777),r(77815),r(78246),r(64630),r(46502),r(66480);const i="search"},63527(e,t,r){"use strict";var i=r(61338),n=r(35810),o=r(81222);var a=r(77815),s=r(53334),d=r(85471);const l=()=>{const e=(0,o.C)("files_sharing","filename");let t,i;const l=new n.Ss({id:"public-file-drop",name:(0,s.Tl)("files_sharing","File drop"),caption:(0,s.Tl)("files_sharing","Upload files to {foldername}",{foldername:e}),icon:'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-cloud-upload" viewBox="0 0 24 24"><path d="M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z" /></svg>',order:1,emptyView:async n=>{if(void 0===t){const{default:e}=await Promise.all([r.e(4208),r.e(8192)]).then(r.bind(r,28192));t=d.Ay.extend(e)}i&&i.$destroy(),i=new t({propsData:{foldername:e}}),i.$mount(n)},getContents:async()=>({contents:[],folder:new n.vd({id:0,source:`${a.Xn}${a.VA}`,root:a.VA,owner:null,permissions:n.aX.CREATE})})});(0,n.bh)().register(l)};(Object.getOwnPropertyDescriptor(l,"name")||{}).writable||Object.defineProperty(l,"name",{value:"default",configurable:!0});const c='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-link" viewBox="0 0 24 24"><path d="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z" /></svg>';var u=r(99201);const p=(0,r(35947).YK)().setApp("files_sharing").detectUser().build(),f=()=>{const e=new n.Ss({id:"public-file-share",name:(0,s.Tl)("files_sharing","Public file share"),caption:(0,s.Tl)("files_sharing","Publicly shared file."),emptyTitle:(0,s.Tl)("files_sharing","No file"),emptyCaption:(0,s.Tl)("files_sharing","The file shared with you will show up here"),icon:c,order:1,getContents:async(e,{signal:t})=>{try{const e=await u.S.stat((0,a.ei)(),{data:(0,a.aN)(),details:!0,signal:t});return{contents:[(0,a.pO)(e.data)],folder:new n.vd({id:0,source:`${(0,a.EY)()}${(0,a.ei)()}`,root:(0,a.ei)(),owner:null,permissions:n.aX.READ,attributes:{note:e.data.props?.note}})}}catch(e){if(t.aborted)throw p.info("Fetching contents for public file share was aborted",{error:e}),new DOMException("Aborted","AbortError");throw p.error("Failed to get contents for public file share",{error:e}),e}}});(0,n.bh)().register(e)};(Object.getOwnPropertyDescriptor(f,"name")||{}).writable||Object.defineProperty(f,"name",{value:"default",configurable:!0});var h=r(14668);const v=()=>{const e=new n.Ss({id:"public-share",name:(0,s.Tl)("files_sharing","Public share"),caption:(0,s.Tl)("files_sharing","Publicly shared files."),emptyTitle:(0,s.Tl)("files_sharing","No files"),emptyCaption:(0,s.Tl)("files_sharing","Files and folders shared with you will show up here"),icon:c,order:1,getContents:h.h});(0,n.bh)().register(e)};(Object.getOwnPropertyDescriptor(v,"name")||{}).writable||Object.defineProperty(v,"name",{value:"default",configurable:!0});var g=r(63814),m=r(82490),w=r(40173);const b=(0,o.C)("files_sharing","view"),y=(0,o.C)("files_sharing","sharingToken");d.Ay.use(w.Ay);const P=w.Ay.prototype.push;w.Ay.prototype.push=function(...e){return e.length>1?P.call(this,...e):P.call(this,e[0]).catch(N)};const C=w.Ay.prototype.replace;function N(e){if(!(0,w.Pq)(e,w.$c.duplicated)&&!(0,w.Pq)(e,w.$c.redirected))throw e;p.debug("Ignoring duplicated/redirected navigation from vue-router",{error:e})}w.Ay.prototype.replace=function(...e){return e.length>1?C.call(this,...e):C.call(this,e[0]).catch(N)};const O=new w.Ay({mode:"history",base:(0,g.Jv)("/s"),linkActiveClass:"active",routes:[{path:"/",redirect:{name:"filelist",params:{view:b,token:y}}},{path:"/:token",name:"filelist",props:!0}],stringifyQuery(e){const t=m.A.stringify(e).replace(/%2F/gim,"/");return t?"?"+t:""}});l(),v(),f();const _=(0,o.C)("files_sharing","view"),A=(0,n.bh)();try{A.setActive(_)}catch{A.setActive(null)}window.OCP.Files=window.OCP.Files??{},window.OCP.Files.Router=new class{constructor(e){var t,r,i;t=this,i=void 0,(r=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r="router"))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,this.router=e}get name(){return this.router.currentRoute.name}get query(){return this.router.currentRoute.query||{}}get params(){return this.router.currentRoute.params||{}}get _router(){return this.router}goTo(e,t=!1){return this.router.push({path:e,replace:t})}goToRoute(e,t,r,i){e??=this.router.currentRoute.name;const n={name:e,query:r,params:t};return i?this._router.replace(n):this._router.push(n)}}(O);const T=(0,o.C)("files_sharing","fileId",null),R=(0,o.C)("files_sharing","sharingToken");null!==T&&window.OCP.Files.Router.goToRoute("filelist",{...window.OCP.Files.Router.params,token:R,fileid:String(T)},{...window.OCP.Files.Router.query,openfile:"true"}),(0,i.B1)("files:list:updated",function e({folder:t}){if((0,i.al)("files:list:updated",e),t.attributes["share-attributes"]){const e=JSON.parse(t.attributes["share-attributes"]||"[]").find(({scope:e,key:t})=>"config"===e&&"grid_view"===t);void 0!==e&&(p.debug("Loading share attributes",{gridViewAttribute:e}),(0,i.Ic)("files:config:updated",{key:"grid_view",value:!0===e.value}))}})},43690(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-outline" viewBox="0 0 24 24"><path d="M20,18H4V8H20M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z" /></svg>'},63779(){},77199(){},77815(e,t,r){"use strict";r.d(t,{CP:()=>u,EY:()=>v,KU:()=>m,VA:()=>h,VX:()=>c,Xn:()=>g,aN:()=>p,ei:()=>f,pO:()=>w});var i=r(21777),n=r(63814),o=r(9487),a=r(44719),s=r(70970);const d=["d:getcontentlength","d:getcontenttype","d:getetag","d:getlastmodified","d:creationdate","d:displayname","d:quota-available-bytes","d:resourcetype","nc:has-preview","nc:is-encrypted","nc:mount-type","oc:comments-unread","oc:favorite","oc:fileid","oc:owner-display-name","oc:owner-id","oc:permissions","oc:size"],l={d:"DAV:",nc:"http://nextcloud.org/ns",oc:"http://owncloud.org/ns",ocs:"http://open-collaboration-services.org/ns"};function c(){return s.s.davProperties??=[...d],s.s.davProperties.map(e=>`<${e} />`).join(" ")}function u(){return s.s.davNamespaces??={...l},Object.keys(s.s.davNamespaces).map(e=>`xmlns:${e}="${s.s.davNamespaces?.[e]}"`).join(" ")}function p(){return`<?xml version="1.0"?>\n\t\t<d:propfind ${u()}>\n\t\t\t<d:prop>\n\t\t\t\t${c()}\n\t\t\t</d:prop>\n\t\t</d:propfind>`}function f(){return(0,o.f)()?`/files/${(0,o.G)()}`:`/files/${(0,i.HW)()?.uid}`}const h=f();function v(){const e=(0,n.dC)("dav");return(0,o.f)()?e.replace("remote.php","public.php"):e}const g=v();function m(e=g,t={}){const r=(0,a.UU)(e,{headers:t});function n(e){r.setHeaders({...t,"X-Requested-With":"XMLHttpRequest",requesttoken:e??""})}return(0,i.zo)(n),n((0,i.do)()),(0,a.Gu)().patch("fetch",(e,t)=>{const r=t.headers;return r?.method&&(t.method=r.method,delete r.method),fetch(e,t)}),r}function w(e,t=h,r=g){let n=(0,i.HW)()?.uid;if((0,o.f)())n=n??"anonymous";else if(!n)throw new Error("No user id found");const a=e.props,d=function(e=""){let t=s.P.NONE;return e?(e.includes("G")&&(t|=s.P.READ),e.includes("W")&&(t|=s.P.WRITE),e.includes("CK")&&(t|=s.P.CREATE),e.includes("NV")&&(t|=s.P.UPDATE),e.includes("D")&&(t|=s.P.DELETE),e.includes("R")&&(t|=s.P.SHARE),t):t}(a?.permissions),l=String(a?.["owner-id"]||n),c=a.fileid||0,u=new Date(Date.parse(e.lastmod)),p=new Date(Date.parse(a.creationdate)),f={id:c,source:`${r}${e.filename}`,mtime:isNaN(u.getTime())||0===u.getTime()?void 0:u,crtime:isNaN(p.getTime())||0===p.getTime()?void 0:p,mime:e.mime||"application/octet-stream",displayname:void 0!==a.displayname?String(a.displayname):void 0,size:a?.size||Number.parseInt(a.getcontentlength||"0"),status:c<0?s.c.FAILED:void 0,permissions:d,owner:l,root:t,attributes:{...e,...a,hasPreview:a?.["has-preview"]}};return delete f.attributes?.props,"file"===e.type?new s.a(f):new s.b(f)}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}o.m=i,e=[],o.O=(t,r,i,n)=>{if(!r){var a=1/0;for(c=0;c<e.length;c++){for(var[r,i,n]=e[c],s=!0,d=0;d<r.length;d++)(!1&n||a>=n)&&Object.keys(o.O).every(e=>o.O[e](r[d]))?r.splice(d--,1):(s=!1,n<a&&(a=n));if(s){e.splice(c--,1);var l=i();void 0!==l&&(t=l)}}return t}n=n||0;for(var c=e.length;c>0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[r,i,n]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>e+"-"+e+".js?v="+{1035:"da08d310d18692ca4e27",1764:"3654558a3474ec02b609",2457:"ce6348bfa704a5bf56fb",4271:"101cdb0f1357424796fd",6798:"805f33941c6d0c16d356",7471:"b4ac70873a3ab192efd0",8192:"1f1c6d31ecba410ecc5c",9281:"29ef7f217a0c6b239922",9906:"81bcff67d930326a3de9"}[e],o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},r="nextcloud-ui-legacy:",o.l=(e,i,n,a)=>{if(t[e])t[e].push(i);else{var s,d;if(void 0!==n)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+n){s=u;break}}s||(d=!0,(s=document.createElement("script")).charset="utf-8",o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",r+n),s.src=e),t[e]=[i];var p=(r,i)=>{s.onerror=s.onload=null,clearTimeout(f);var n=t[e];if(delete t[e],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEach(e=>e(i)),r)return r(i)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),d&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.j=5102,(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var t=globalThis.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var i=r.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=r[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{o.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={5102:0};o.f.j=(t,r)=>{var i=o.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var n=new Promise((r,n)=>i=e[t]=[r,n]);r.push(i[2]=n);var a=o.p+o.u(t),s=new Error;o.l(a,r=>{if(o.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+n+": "+a+")",s.name="ChunkLoadError",s.type=n,s.request=a,i[1](s)}},"chunk-"+t,t)}},o.O.j=t=>0===e[t];var t=(t,r)=>{var i,n,[a,s,d]=r,l=0;if(a.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);if(d)var c=d(o)}for(t&&t(r);l<a.length;l++)n=a[l],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return o.O(c)},r=globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),o.nc=void 0;var a=o.O(void 0,[4208],()=>o(63527));a=o.O(a)})();
//# sourceMappingURL=files_sharing-init-public.js.map?v=aff71662c17e44954b9a