"use strict";(self.webpackChunk_1js_files_in_taskbar=self.webpackChunk_1js_files_in_taskbar||[]).push([[8085],{26024:(e,t,o)=>{o.d(t,{A:()=>c});var s=o(62113),i=o(59508);const a=e=>({authorization:`Bearer ${e}`,"Content-Type":"application/json"}),c=(0,i.A)((e=>(0,s.A)((t=>{let{wset_id:o,spo_id:s,mru_id:i,type:c,url:r,app:n,endpoint:u}=t;return{url:`https://substrate.office.com/recommended/api/beta/edgeworth/${u}`,method:"POST",body:JSON.stringify({wset_id:o,spo_id:s,mru_id:i,type:c,url:r,app:n}),headers:a(e)}}))))},62113:(e,t,o)=>{o.d(t,{A:()=>i});var s=o(56254);function i(e){return t=>(t.prefetchFetch||s.A)(e(t))}},42474:(e,t,o)=>{o.r(t),o.d(t,{default:()=>u});var s=o(6062),i=o(26024),a=o(66539),c=o(51275),r=o(90375);const n=(0,s.Ex)("search-dl.quickActions.favouriteFile.tooltip"),u=(0,r.w)({id:"FavouriteFile",entityType:"File",parameters:[{name:"file",entity:"File",isRequired:!0,validate:e=>!!e.customProps&&!e.customProps.isPinned}],execute:e=>{let{file:t}=e;const{customProps:o}=t.value,{workingSetId:s,mruId:c,mruType:r,mruUrl:n,app:u,spoId:p}=o;(0,i.A)({wset_id:s,spo_id:p,mru_id:c,type:r,url:n,app:u,endpoint:"pin",tokenProvider:(0,a.ld)()}).then((()=>{}))},additionalProps:{icon:{iconName:"AddFavorite"},tooltip:n,successTooltip:c.oI,showSuccess:!0}})},51275:(e,t,o)=>{o.d(t,{Dy:()=>i,dS:()=>a,jA:()=>r,oI:()=>c});var s=o(6062);const i=(0,s.Ex)("search-dl.quickActions.copyLink.tooltip"),a=(0,s.Ex)("search-dl.quickActions.successfulCopy.tooltip"),c=(0,s.Ex)("search-dl.quickActions.successfulFavourite.tooltip"),r=(0,s.Ex)("search-dl.quickActions.successfulUnfavourite.tooltip")},66539:(e,t,o)=>{o.d(t,{ld:()=>n});var s=o(45226),i=o(5903),a=o(19378);const c=s.A.concatenate(a.s,"search"),r=(s.A.concatenate(c,"api/v1"),s.A.concatenate(c,"api/v2"),s.A.concatenate(a.s,"autosuggest/api/v1")),n=(s.A.concatenate(r,"query"),(0,i.A)("autoSuggest"));(0,i.A)("delegateAutoSuggest")},19378:(e,t,o)=>{o.d(t,{s:()=>s});const s="https://substrate.office.com"}}]);