(()=>{"use strict";var e,i,r,s={37426:(e,i,r)=>{var s=r(35947),a=r(21777),o=r(53334),d=r(85471),c=r(17334),l=r.n(c),u=r(61338),A=r(85168),h=r(89257),f=r(24764),p=r(34196),C=r(2769),g=r(82182),m=r(55602);const _={name:"LegacySearchResult",components:{NcHighlight:r(26517).N},props:{thumbnailUrl:{type:String,default:null},title:{type:String,required:!0},subline:{type:String,default:null},resourceUrl:{type:String,default:null},icon:{type:String,default:""},rounded:{type:Boolean,default:!1},query:{type:String,default:""},focused:{type:Boolean,default:!1}},data(){return{hasValidThumbnail:this.thumbnailUrl&&""!==this.thumbnailUrl.trim(),loaded:!1}},computed:{isIconUrl(){if(this.icon.startsWith("/"))return!0;try{new URL(this.icon)}catch{return!1}return!0}},watch:{thumbnailUrl(){this.hasValidThumbnail=this.thumbnailUrl&&""!==this.thumbnailUrl.trim(),this.loaded=!1}},methods:{reEmitEvent(e){this.$emit(e.type,e)},onError(){this.hasValidThumbnail=!1},onLoad(){this.loaded=!0}}};var v=r(85072),y=r.n(v),b=r(97825),x=r.n(b),w=r(77659),k=r.n(w),S=r(55056),B=r.n(S),D=r(10540),E=r.n(D),I=r(41113),q=r.n(I),$=r(23940),L={};L.styleTagTransform=q(),L.setAttributes=B(),L.insert=k().bind(null,"head"),L.domAPI=x(),L.insertStyleElement=E(),y()($.A,L),$.A&&$.A.locals&&$.A.locals;var N=r(14486);const R=(0,N.A)(_,(function(){var e=this,t=e._self._c;return t("a",{staticClass:"unified-search__result",class:{"unified-search__result--focused":e.focused},attrs:{href:e.resourceUrl||"#"},on:{click:e.reEmitEvent,focus:e.reEmitEvent}},[t("div",{staticClass:"unified-search__result-icon",class:{"unified-search__result-icon--rounded":e.rounded,"unified-search__result-icon--no-preview":!e.hasValidThumbnail&&!e.loaded,"unified-search__result-icon--with-thumbnail":e.hasValidThumbnail&&e.loaded,[e.icon]:!e.loaded&&!e.isIconUrl},style:{backgroundImage:e.isIconUrl?`url(${e.icon})`:""}},[e.hasValidThumbnail?t("img",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],attrs:{src:e.thumbnailUrl,alt:""},on:{error:e.onError,load:e.onLoad}}):e._e()]),e._v(" "),t("span",{staticClass:"unified-search__result-content"},[t("span",{staticClass:"unified-search__result-line-one",attrs:{title:e.title}},[t("NcHighlight",{attrs:{text:e.title,search:e.query}})],1),e._v(" "),e.subline?t("span",{staticClass:"unified-search__result-line-two",attrs:{title:e.subline}},[e._v(e._s(e.subline))]):e._e()])])}),[],!1,null,"0d55d2bc",null).exports,U={name:"SearchResultPlaceholders",data:()=>({light:null,dark:null}),mounted(){const e=getComputedStyle(document.documentElement);this.dark=e.getPropertyValue("--color-placeholder-dark"),this.light=e.getPropertyValue("--color-placeholder-light")},methods:{randWidth:()=>Math.floor(20*Math.random())+30}};var T=r(77026),F={};F.styleTagTransform=q(),F.setAttributes=B(),F.insert=k().bind(null,"head"),F.domAPI=x(),F.insertStyleElement=E(),y()(T.A,F),T.A&&T.A.locals&&T.A.locals;const P=(0,N.A)(U,(function(){var e=this,t=e._self._c;return t("ul",[t("svg",{staticClass:"unified-search__result-placeholder-gradient"},[t("defs",[t("linearGradient",{attrs:{id:"unified-search__result-placeholder-gradient"}},[t("stop",{attrs:{offset:"0%","stop-color":e.light}},[t("animate",{attrs:{attributeName:"stop-color",values:`${e.light}; ${e.light}; ${e.dark}; ${e.dark}; ${e.light}`,dur:"2s",repeatCount:"indefinite"}})]),e._v(" "),t("stop",{attrs:{offset:"100%","stop-color":e.dark}},[t("animate",{attrs:{attributeName:"stop-color",values:`${e.dark}; ${e.light}; ${e.light}; ${e.dark}; ${e.dark}`,dur:"2s",repeatCount:"indefinite"}})])],1)],1)]),e._v(" "),e._l([1,2,3],(function(i){return t("li",{key:i},[t("svg",{staticClass:"unified-search__result-placeholder",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"url(#unified-search__result-placeholder-gradient)"}},[t("rect",{staticClass:"unified-search__result-placeholder-icon"}),e._v(" "),t("rect",{staticClass:"unified-search__result-placeholder-line-one"}),e._v(" "),t("rect",{staticClass:"unified-search__result-placeholder-line-two",style:{width:`calc(${e.randWidth()}%)`}})])])}))],2)}),[],!1,null,"77826dca",null).exports;var O=r(63814),M=r(32981),G=r(65043);const j=(0,M.C)("unified-search","limit-default"),z=(0,M.C)("unified-search","min-search-length",1),Q=(0,M.C)("unified-search","live-search",!0),W=/(^|\s)in:([a-z_-]+)/gi,K=/(^|\s)-in:([a-z_-]+)/gi;async function V(){try{const{data:e}=await G.Ay.get((0,O.KT)("search/providers"),{params:{from:window.location.pathname.replace("/index.php","")+window.location.search}});if("ocs"in e&&"data"in e.ocs&&Array.isArray(e.ocs.data)&&e.ocs.data.length>0)return e.ocs.data}catch(e){console.error(e)}return[]}function Y(e){let{type:t,query:i,cursor:r}=e;const s=G.Ay.CancelToken.source();return{request:async()=>G.Ay.get((0,O.KT)("search/providers/{type}/search",{type:t}),{cancelToken:s.token,params:{term:i,cursor:r,from:window.location.pathname.replace("/index.php","")+window.location.search}}),cancel:s.cancel}}const H={name:"LegacyUnifiedSearch",components:{Magnify:m.A,NcActionButton:h.A,NcActions:f.A,NcEmptyContent:p.A,NcHeaderMenu:C.A,SearchResult:R,SearchResultPlaceholders:P,NcTextField:g.A},data:()=>({types:[],cursors:{},limits:{},loading:{},reached:{},requests:[],results:{},query:"",focused:null,triggered:!1,defaultLimit:j,minSearchLength:z,enableLiveSearch:Q,open:!1}),computed:{typesIDs(){return this.types.map((e=>e.id))},typesNames(){return this.types.map((e=>e.name))},typesMap(){return this.types.reduce(((e,t)=>(e[t.id]=t.name,e)),{})},ariaLabel:()=>t("core","Search"),hasResults(){return 0!==Object.keys(this.results).length},orderedResults(){return this.typesIDs.filter((e=>e in this.results)).map((e=>({type:e,list:this.results[e]})))},availableFilters(){return Object.keys(this.results)},usedFiltersIn(){let e;const t=[];for(;null!==(e=W.exec(this.query));)t.push(e[2]);return t},usedFiltersNot(){let e;const t=[];for(;null!==(e=K.exec(this.query));)t.push(e[2]);return t},validQueryTitle(){return this.triggered?t("core","No results for {query}",{query:this.query}):t("core","Press Enter to start searching")},shortQueryDescription(){return this.isShortQuery?n("core","Please enter {minSearchLength} character or more to search","Please enter {minSearchLength} characters or more to search",this.minSearchLength,{minSearchLength:this.minSearchLength}):""},isShortQuery(){return this.query&&this.query.trim().length!1===e))},isLoading(){return Object.values(this.loading).some((e=>!0===e))}},async created(){this.types=await V(),this.logger.debug("Unified Search initialized with the following providers",this.types)},beforeDestroy(){(0,u.al)("files:navigation:changed",this.onNavigationChange)},mounted(){(0,u.B1)("files:navigation:changed",this.onNavigationChange),OCP.Accessibility.disableKeyboardShortcuts()||document.addEventListener("keydown",(e=>{e.ctrlKey&&"KeyF"===e.code&&!this.open?(e.preventDefault(),this.open=!0):e.ctrlKey&&"f"===e.key&&this.open&&(this.open=!1),this.open&&("ArrowDown"===e.key&&this.focusNext(e),"ArrowUp"===e.key&&this.focusPrev(e))}))},methods:{async onOpen(){this.types=await V()},onClose(){(0,u.Ic)("nextcloud:unified-search.close")},onNavigationChange(){this.$el?.querySelector?.('form[role="search"]')?.reset?.()},onReset(){(0,u.Ic)("nextcloud:unified-search.reset"),this.logger.debug("Search reset"),this.query="",this.resetState(),this.focusInput()},async resetState(){this.cursors={},this.limits={},this.reached={},this.results={},this.focused=null,this.triggered=!1,await this.cancelPendingRequests()},async cancelPendingRequests(){const e=this.requests.slice(0);this.requests=[],await Promise.all(e.map((e=>e())))},focusInput(){this.$nextTick((()=>{this.$refs.input.focus(),this.$refs.input.select()}))},onInputEnter(){this.hasResults?this.getResultsList()[0].click():this.onInput()},async onInput(){if((0,u.Ic)("nextcloud:unified-search.search",{query:this.query}),""===this.query.trim()||this.isShortQuery){for(const e of this.typesIDs)this.$delete(this.results,e);return}let e=this.typesIDs,t=this.query;this.usedFiltersNot.length>0&&(e=this.typesIDs.filter((e=>-1===this.usedFiltersNot.indexOf(e)))),this.usedFiltersIn.length>0&&(e=this.typesIDs.filter((e=>this.usedFiltersIn.indexOf(e)>-1))),t=t.replace(W,"").replace(K,""),await this.resetState(),this.triggered=!0,e.length?(this.$set(this.loading,"all",!0),this.logger.debug(`Searching ${t} in`,e),Promise.all(e.map((async e=>{try{const{request:i,cancel:r}=Y({type:e,query:t});this.requests.push(r);const{data:s}=await i();return s.ocs.data.entries.length>0?this.$set(this.results,e,s.ocs.data.entries):this.$delete(this.results,e),s.ocs.data.cursor?this.$set(this.cursors,e,s.ocs.data.cursor):s.ocs.data.isPaginated||this.$set(this.limits,e,this.defaultLimit),s.ocs.data.entries.length{e.some((e=>2===e))||(this.loading={})}))):this.logger.error("No types to search in")},onInputDebounced:Q?l()((function(e){this.onInput(e)}),500):function(){this.triggered=!1},async loadMore(e){if(!this.loading[e]){if(this.cursors[e]){const{request:t,cancel:i}=Y({type:e,query:this.query,cursor:this.cursors[e]});this.requests.push(i);const{data:r}=await t();r.ocs.data.cursor&&this.$set(this.cursors,e,r.ocs.data.cursor),r.ocs.data.entries.length>0&&this.results[e].push(...r.ocs.data.entries),r.ocs.data.entries.length=0&&(this.limits[e]+=this.defaultLimit,this.limits[e]>=this.results[e].length&&this.$set(this.reached,e,!0));null!==this.focused&&this.$nextTick((()=>{this.focusIndex(this.focused)}))}},limitIfAny(e,t){return t in this.limits?e.slice(0,this.limits[t]):e},getResultsList(){return this.$el.querySelectorAll(".unified-search__results .unified-search__result")},focusFirst(e){const t=this.getResultsList();t&&t.length>0&&(e&&e.preventDefault(),this.focused=0,this.focusIndex(this.focused))},focusNext(e){if(null===this.focused)return void this.focusFirst(e);const t=this.getResultsList();t&&t.length>0&&this.focused+10&&this.focused>0&&(e.preventDefault(),this.focused--,this.focusIndex(this.focused))},focusIndex(e){const t=this.getResultsList();t&&t[e]&&t[e].focus()},setFocusedIndex(e){const t=e.target,i=[...this.getResultsList()].findIndex((e=>e===t));i>-1&&(this.focused=i)},onClickFilter(e){this.query=`${this.query} ${e}`.replace(/ {2}/g," ").trim(),this.onInput()}}};var Z=r(62665),J={};J.styleTagTransform=q(),J.setAttributes=B(),J.insert=k().bind(null,"head"),J.domAPI=x(),J.insertStyleElement=E(),y()(Z.A,J),Z.A&&Z.A.locals&&Z.A.locals;const X=(0,N.A)(H,(function(){var e=this,t=e._self._c;return t("NcHeaderMenu",{staticClass:"unified-search",attrs:{id:"unified-search","exclude-click-outside-selectors":[".popover"],open:e.open,"aria-label":e.ariaLabel},on:{"update:open":function(t){e.open=t},open:e.onOpen,close:e.onClose},scopedSlots:e._u([{key:"trigger",fn:function(){return[t("Magnify",{staticClass:"unified-search__trigger-icon",attrs:{size:20}})]},proxy:!0}])},[e._v(" "),t("div",{staticClass:"unified-search__input-wrapper"},[t("div",{staticClass:"unified-search__input-row"},[t("NcTextField",{ref:"input",staticClass:"unified-search__form-input",class:{"unified-search__form-input--with-reset":!!e.query},attrs:{value:e.query,"trailing-button-icon":"close",label:e.ariaLabel,"trailing-button-label":e.t("core","Reset search"),"show-trailing-button":""!==e.query,"aria-describedby":"unified-search-desc",placeholder:e.t("core","Search {types} …",{types:e.typesNames.join(", ")})},on:{"update:value":function(t){e.query=t},"trailing-button-click":e.onReset,input:e.onInputDebounced}}),e._v(" "),t("p",{staticClass:"hidden-visually",attrs:{id:"unified-search-desc"}},[e._v("\n\t\t\t\t"+e._s(e.t("core","Search starts once you start typing and results may be reached with the arrow keys"))+"\n\t\t\t")]),e._v(" "),e.availableFilters.length>1?t("NcActions",{staticClass:"unified-search__filters",attrs:{placement:"bottom-end",container:".unified-search__input-wrapper"}},e._l(e.availableFilters,(function(i){return t("NcActionButton",{key:i,attrs:{icon:"icon-filter"},on:{click:function(t){return t.stopPropagation(),e.onClickFilter(`in:${i}`)}}},[e._v("\n\t\t\t\t\t"+e._s(e.t("core","Search for {name} only",{name:e.typesMap[i]}))+"\n\t\t\t\t")])})),1):e._e()],1)]),e._v(" "),e.hasResults?e._l(e.orderedResults,(function(i,r){let{list:s,type:a}=i;return[t("h2",{key:a,staticClass:"unified-search__results-header"},[e._v("\n\t\t\t"+e._s(e.typesMap[a])+"\n\t\t")]),e._v(" "),t("ul",{key:a,staticClass:"unified-search__results",class:`unified-search__results-${a}`,attrs:{"aria-label":e.typesMap[a]}},[e._l(e.limitIfAny(s,a),(function(i,s){return t("li",{key:i.resourceUrl},[t("SearchResult",e._b({attrs:{query:e.query,focused:0===e.focused&&0===r&&0===s},on:{focus:e.setFocusedIndex}},"SearchResult",i,!1))],1)})),e._v(" "),t("li",[e.reached[a]?e._e():t("SearchResult",{staticClass:"unified-search__result-more",attrs:{title:e.loading[a]?e.t("core","Loading more results …"):e.t("core","Load more results"),"icon-class":e.loading[a]?"icon-loading-small":""},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.loadMore(a)},focus:e.setFocusedIndex}})],1)],2)]})):[e.isLoading?t("SearchResultPlaceholders"):e.isValidQuery?t("NcEmptyContent",{attrs:{title:e.validQueryTitle},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Magnify")]},proxy:!0}],null,!1,931131664)}):!e.isLoading||e.isShortQuery?t("NcEmptyContent",{attrs:{title:e.t("core","Start typing to search"),description:e.shortQueryDescription},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Magnify")]},proxy:!0}],null,!1,931131664)}):e._e()]],2)}),[],!1,null,"24dedcdd",null).exports;r.nc=(0,a.aV)();const ee=(0,s.YK)().setApp("unified-search").detectUser().build();d.Ay.mixin({data:()=>({logger:ee}),methods:{t:o.Tl,n:o.zw}}),new d.Ay({el:"#unified-search",name:"UnifiedSearchRoot",render:e=>e(X)})},23940:(e,t,i)=>{i.d(t,{A:()=>o});var r=i(71354),s=i.n(r),a=i(76314),n=i.n(a)()(s());n.push([e.id,".unified-search__result[data-v-0d55d2bc]{display:flex;align-items:center;height:44px;padding:10px;border:2px solid rgba(0,0,0,0);border-radius:var(--border-radius-large) !important}.unified-search__result--focused[data-v-0d55d2bc]{background-color:var(--color-background-hover)}.unified-search__result[data-v-0d55d2bc]:active,.unified-search__result[data-v-0d55d2bc]:hover,.unified-search__result[data-v-0d55d2bc]:focus{background-color:var(--color-background-hover);border:2px solid var(--color-border-maxcontrast)}.unified-search__result *[data-v-0d55d2bc]{cursor:pointer}.unified-search__result-icon[data-v-0d55d2bc]{overflow:hidden;width:44px;height:44px;border-radius:var(--border-radius);background-repeat:no-repeat;background-position:center center;background-size:32px}.unified-search__result-icon--rounded[data-v-0d55d2bc]{border-radius:22px}.unified-search__result-icon--no-preview[data-v-0d55d2bc]{background-size:32px}.unified-search__result-icon--with-thumbnail[data-v-0d55d2bc]{background-size:cover}.unified-search__result-icon--with-thumbnail[data-v-0d55d2bc]:not(.unified-search__result-icon--rounded){max-width:42px;max-height:42px;border:1px solid var(--color-border)}.unified-search__result-icon img[data-v-0d55d2bc]{width:100%;height:100%;object-fit:cover;object-position:center}.unified-search__result-icon[data-v-0d55d2bc],.unified-search__result-actions[data-v-0d55d2bc]{flex:0 0 44px}.unified-search__result-content[data-v-0d55d2bc]{display:flex;align-items:center;flex:1 1 100%;flex-wrap:wrap;min-width:0;padding-inline-start:10px}.unified-search__result-line-one[data-v-0d55d2bc],.unified-search__result-line-two[data-v-0d55d2bc]{overflow:hidden;flex:1 1 100%;margin:1px 0;white-space:nowrap;text-overflow:ellipsis;color:inherit;font-size:inherit}.unified-search__result-line-two[data-v-0d55d2bc]{opacity:.7;font-size:var(--default-font-size)}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/LegacySearchResult.vue"],names:[],mappings:"AAMA,yCACC,YAAA,CACA,kBAAA,CACA,WANgB,CAOhB,YANQ,CAOR,8BAAA,CACA,mDAAA,CAEA,kDACC,8CAAA,CAGD,8IAGC,8CAAA,CACA,gDAAA,CAGD,2CACC,cAAA,CAGD,8CACC,eAAA,CACA,UA5Be,CA6Bf,WA7Be,CA8Bf,kCAAA,CACA,2BAAA,CACA,iCAAA,CACA,oBAAA,CACA,uDACC,kBAAA,CAED,0DACC,oBAAA,CAED,8DACC,qBAAA,CAED,yGAEC,cAAA,CACA,eAAA,CACA,oCAAA,CAGD,kDAEC,UAAA,CACA,WAAA,CAEA,gBAAA,CACA,sBAAA,CAIF,+FAEC,aAAA,CAGD,iDACC,YAAA,CACA,kBAAA,CACA,aAAA,CACA,cAAA,CAEA,WAAA,CACA,yBAvEO,CA0ER,oGAEC,eAAA,CACA,aAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA,CAEA,aAAA,CACA,iBAAA,CAED,kDACC,UAAA,CACA,kCAAA",sourceRoot:""}]);const o=n},77026:(e,t,i)=>{i.d(t,{A:()=>o});var r=i(71354),s=i.n(r),a=i(76314),n=i.n(a)()(s());n.push([e.id,".unified-search__result-placeholder-gradient[data-v-77826dca]{position:fixed;height:0;width:0;z-index:-1}.unified-search__result-placeholder[data-v-77826dca]{width:calc(100% - 2*10px);height:44px;margin:10px}.unified-search__result-placeholder-icon[data-v-77826dca]{width:44px;height:44px;rx:var(--border-radius);ry:var(--border-radius)}.unified-search__result-placeholder-line-one[data-v-77826dca],.unified-search__result-placeholder-line-two[data-v-77826dca]{width:calc(100% - 54px);height:1em;x:54px}.unified-search__result-placeholder-line-one[data-v-77826dca]{y:5px}.unified-search__result-placeholder-line-two[data-v-77826dca]{y:25px}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/SearchResultPlaceholders.vue"],names:[],mappings:"AAIA,8DACC,cAAA,CACA,QAAA,CACA,OAAA,CACA,UAAA,CAGD,qDACC,yBAAA,CACA,WAZgB,CAahB,WAZQ,CAcR,0DACC,UAhBe,CAiBf,WAjBe,CAkBf,uBAAA,CACA,uBAAA,CAGD,4HAEC,uBAAA,CACA,UAAA,CACA,MAAA,CAGD,8DACC,KAAA,CAGD,8DACC,MAAA",sourceRoot:""}]);const o=n},62665:(e,t,i)=>{i.d(t,{A:()=>o});var r=i(71354),s=i.n(r),a=i(76314),n=i.n(a)()(s());n.push([e.id,".unified-search__trigger-icon[data-v-24dedcdd]{color:var(--color-background-plain-text) !important}.unified-search__input-wrapper[data-v-24dedcdd]{position:sticky;z-index:2;top:0;display:inline-flex;flex-direction:column;align-items:center;width:100%;background-color:var(--color-main-background)}.unified-search__input-wrapper label[for=unified-search__input][data-v-24dedcdd]{align-self:flex-start;font-weight:bold;font-size:19px;margin-inline-start:13px}.unified-search__form-input[data-v-24dedcdd]{margin:0 !important}.unified-search__form-input[data-v-24dedcdd]:focus,.unified-search__form-input[data-v-24dedcdd]:focus-visible,.unified-search__form-input[data-v-24dedcdd]:active{border-color:2px solid var(--color-main-text) !important;box-shadow:0 0 0 2px var(--color-main-background) !important}.unified-search__input-row[data-v-24dedcdd]{display:flex;width:100%;align-items:center}.unified-search__filters[data-v-24dedcdd]{margin-block:10px;margin-inline:5px 0;padding-top:5px}.unified-search__filters ul[data-v-24dedcdd]{display:inline-flex;justify-content:space-between}.unified-search__form[data-v-24dedcdd]{position:relative;width:100%;margin:10px 0}.unified-search__form[data-v-24dedcdd]::after{inset-inline-start:auto 10px}.unified-search__form-input[data-v-24dedcdd],.unified-search__form-reset[data-v-24dedcdd]{margin:5px}.unified-search__form-input[data-v-24dedcdd]{width:100%;height:34px;padding:10px}.unified-search__form-input[data-v-24dedcdd],.unified-search__form-input[placeholder][data-v-24dedcdd],.unified-search__form-input[data-v-24dedcdd]::placeholder{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.unified-search__form-input[data-v-24dedcdd]::-webkit-search-decoration,.unified-search__form-input[data-v-24dedcdd]::-webkit-search-cancel-button,.unified-search__form-input[data-v-24dedcdd]::-webkit-search-results-button,.unified-search__form-input[data-v-24dedcdd]::-webkit-search-results-decoration{-webkit-appearance:none}.unified-search__form-reset[data-v-24dedcdd],.unified-search__form-submit[data-v-24dedcdd]{position:absolute;top:0;inset-inline-end:4px;width:24px;height:24px;min-height:30px;padding:0;opacity:.5;border:none;background-color:rgba(0,0,0,0);margin-inline-end:0}.unified-search__form-reset[data-v-24dedcdd]:hover,.unified-search__form-reset[data-v-24dedcdd]:focus,.unified-search__form-reset[data-v-24dedcdd]:active,.unified-search__form-submit[data-v-24dedcdd]:hover,.unified-search__form-submit[data-v-24dedcdd]:focus,.unified-search__form-submit[data-v-24dedcdd]:active{opacity:1}.unified-search__form-submit[data-v-24dedcdd]{inset-inline-end:28px}.unified-search__results[data-v-24dedcdd]{display:flex;flex-direction:column;gap:4px}.unified-search__results-header[data-v-24dedcdd]{display:block;margin:10px;margin-bottom:6px;margin-inline-start:13px;color:var(--color-primary-element);font-size:19px;font-weight:bold}.unified-search .unified-search__result-more[data-v-24dedcdd]{color:var(--color-text-maxcontrast)}.unified-search .empty-content[data-v-24dedcdd]{margin:10vh 0}.unified-search .empty-content[data-v-24dedcdd] .empty-content__title{font-weight:normal;font-size:var(--default-font-size);text-align:center}","",{version:3,sources:["webpack://./core/src/views/LegacyUnifiedSearch.vue"],names:[],mappings:"AAQC,+CACC,mDAAA,CAGD,gDACC,eAAA,CAEA,SAAA,CACA,KAAA,CACA,mBAAA,CACA,qBAAA,CACA,kBAAA,CACA,UAAA,CACA,6CAAA,CAEA,iFACC,qBAAA,CACA,gBAAA,CACA,cAAA,CACA,wBAAA,CAIF,6CACC,mBAAA,CACA,kKAGC,wDAAA,CACA,4DAAA,CAIF,4CACC,YAAA,CACA,UAAA,CACA,kBAAA,CAGD,0CACC,iBA7CO,CA8CP,mBAAA,CACA,eAAA,CACA,6CACC,mBAAA,CACA,6BAAA,CAIF,uCACC,iBAAA,CACA,UAAA,CACA,aAAA,CAGA,8CACA,4BAAA,CAGA,0FAEC,UAAA,CAGD,6CACC,UAAA,CACA,WAtEY,CAuEZ,YAtEa,CAwEb,iKAGC,eAAA,CACA,kBAAA,CACA,sBAAA,CAID,+SAIC,uBAAA,CAIF,2FACC,iBAAA,CACA,KAAA,CACA,oBAAA,CACA,UAAA,CACA,WAAA,CACA,eAAA,CACA,SAAA,CACA,UAAA,CACA,WAAA,CACA,8BAAA,CACA,mBAAA,CAEA,uTAGC,SAAA,CAIF,8CACC,qBAAA,CAIF,0CACC,YAAA,CACA,qBAAA,CACA,OAAA,CAEA,iDACC,aAAA,CACA,WA3HM,CA4HN,iBAAA,CACA,wBAAA,CACA,kCAAA,CACA,cAAA,CACA,gBAAA,CAIF,8DACC,mCAAA,CAGD,gDACC,aAAA,CAEA,sEACC,kBAAA,CACS,kCAAA,CACT,iBAAA",sourceRoot:""}]);const o=n}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var i=a[e]={id:e,loaded:!1,exports:{}};return s[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=s,e=[],o.O=(t,i,r,s)=>{if(!i){var a=1/0;for(l=0;l=s)&&Object.keys(o.O).every((e=>o.O[e](i[d])))?i.splice(d--,1):(n=!1,s0&&e[l-1][2]>s;l--)e[l]=e[l-1];e[l]=[i,r,s]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,i)=>(o.f[i](e,t),t)),[])),o.u=e=>e+"-"+e+".js?v="+{5706:"3153330af47fc26a725a",6127:"94ece8c4b3588e75f3c1"}[e],o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i={},r="nextcloud:",o.l=(e,t,s,a)=>{if(i[e])i[e].push(t);else{var n,d;if(void 0!==s)for(var c=document.getElementsByTagName("script"),l=0;l{n.onerror=n.onload=null,clearTimeout(h);var s=i[e];if(delete i[e],n.parentNode&&n.parentNode.removeChild(n),s&&s.forEach((e=>e(r))),t)return t(r)},h=setTimeout(A.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=A.bind(null,n.onerror),n.onload=A.bind(null,n.onload),d&&document.head.appendChild(n)}},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=1684,(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var r=i.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=i[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{o.b=document.baseURI||self.location.href;var e={1684:0};o.f.j=(t,i)=>{var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)i.push(r[2]);else{var s=new Promise(((i,s)=>r=e[t]=[i,s]));i.push(r[2]=s);var a=o.p+o.u(t),n=new Error;o.l(a,(i=>{if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var s=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;n.message="Loading chunk "+t+" failed.\n("+s+": "+a+")",n.name="ChunkLoadError",n.type=s,n.request=a,r[1](n)}}),"chunk-"+t,t)}},o.O.j=t=>0===e[t];var t=(t,i)=>{var r,s,a=i[0],n=i[1],d=i[2],c=0;if(a.some((t=>0!==e[t]))){for(r in n)o.o(n,r)&&(o.m[r]=n[r]);if(d)var l=d(o)}for(t&&t(i);co(37426)));d=o.O(d)})(); //# sourceMappingURL=core-legacy-unified-search.js.map?v=e1eacd9a51caa323c086