(()=>{"use strict";vare,t,r,i={69196:(e,t,r)=>{vari=r(85471),n=r(21777),o=r(53334);r.nc=(0,n.aV)(),window.OCA.Sharing||(window.OCA.Sharing={}),Object.assign(window.OCA.Sharing,{ShareSearch:newclass{constructor(){vare,t,r;e=this,r=void0,(t=function(e){vart=function(e){if("object"!=typeofe||!e)returne;vart=e[Symbol.toPrimitive];if(void0!==t){varr=t.call(e,"string");if("object"!=typeofr)returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e);return"symbol"==typeoft?t:t+""}(t="_state"))ine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,this._state={},this._state.results=[],console.debug("OCA.Sharing.ShareSearch initialized")}getstate(){returnthis._state}addNewResult(e){return""!==e.displayName.trim()&&"function"==typeofe.handler?(this._state.results.push(e),!0):(console.error("Invalid search result provided",e),!1)}}}),Object.assign(window.OCA.Sharing,{ExternalLinkActions:newclass{constructor(){vare,t,r;e=this,r=void0,(t=function(e){vart=function(e){if("object"!=typeofe||!e)returne;vart=e[Symbol.toPrimitive];if(void0!==t){varr=t.call(e,"string");if("object"!=typeofr)returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e);return"symbol"==typeoft?t:t+""}(t="_state"))ine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,this._state={},this._state.actions=[],console.debug("OCA.Sharing.ExternalLinkActions initialized")}getstate(){returnthis._state}registerAction(e){returnOC.debug&&console.warn("OCA.Sharing.ExternalLinkActions is deprecated, use OCA.Sharing.ExternalShareAction instead"),"object"==typeofe&&e.icon&&e.name&&e.url?(this._state.actions.push(e),!0):(console.error("Invalid action provided",e),!1)}}}),Object.assign(window.OCA.Sharing,{ExternalShareActions:newclass{constructor(){vare,t,r;e=this,r=void0,(t=function(e){vart=function(e){if("object"!=typeofe||!e)returne;vart=e[Symbol.toPrimitive];if(void0!==t){varr=t.call(e,"string");if("object"!=typeofr)returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e);return"symbol"==typeoft?t:t+""}(t="_state"))ine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,this._state={},this._state.actions=[],console.debug("OCA.Sharing.ExternalShareActions initialized")}getstate(){returnthis._state}registerAction(e){return"object"==typeofe&&"string"==typeofe.id&&"function"==typeofe.data&&Array.isArray(e.shareType)&&"object"==typeofe.handlers&&Object.values(e.handlers).every((e=>"function"==typeofe))?this._state.actions.findIndex((t=>t.id===e.id))>-1?(console.error(`An action with the same id ${e.id} already exists`,e),!1):(this._state.actions.push(e),!0):(console.error("Invalid action provided",e),!1)}}}),Object.assign(window.OCA.Sharing,{ShareTabSections:newclass{constructor(){vare,t,r;e=this,r=void0,(t=function(e){vart=function(e){if("object"!=typeofe||!e)returne;vart=e[Symbol.toPrimitive];if(void0!==t){varr=t.call(e,"string");if("object"!=typeofr)returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e);return"symbol"==typeoft?t:t+""}(t="_sections"))ine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,this._sections=[]}registerSection(e){this._sections.push(e)}getSections(){returnthis._sections}}}),i.Ay.prototype.t=o.t,i.Ay.prototype.n=o.n;leta=null;window.addEventListener("DOMContentLoaded",(function(){OCA.Files&&OCA.Files.Sidebar&&OCA.Files.Sidebar.registerTab(newOCA.Files.Sidebar.Tab({id:"sharing",name:(0,o.t)("files_sharing","Sharing"),iconSvg:'<svgxmlns="http://www.w3.org/2000/svg"id="mdi-share-variant"viewBox="0 0 24 24"><pathd="M18,16.08C17.24,16.0816.56,16.3816.04,16.85L8.91,12.7C8.96,12.479,12.249,12C9,11.768.96,11.538.91,11.3L15.96,7.19C16.5,7.6917.21,818,8A3,300,021,5A3,300,018,2A3,300,015,5C15,5.2415.04,5.4715.09,5.7L8.04,9.81C7.5,9.316.79,96,9A3,300,03,12A3,300,06,15C6.79,