PageSourceSearch

https://shareok.org/3017.239ee7633ddfeec3.js

js shareok.org collected 2026-09-24 08:54:44 UTC 2,899 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[3017],{33017:(H,D,t)=>{t.r(D),t.d(D,{ResourcePolicyDataService:()=>j});var v=t(29330),p=t(61594),B=t(96354),i=t(89777),l=t(9847),K=t(57775),o=t(10186),R=t(81948),I=t(18328),L=t(72073),T=t(20881),A=t(4318),C=t(60796),W=t(96443),P=t(36343),f=t(49755),y=t(3601),g=t(74642),m=t(13817),U=t(2086),x=t(7094),V=t(4093),h=t(2615);let j=(()=>{var M;class d extends T.W{constructor(e,s,r,a,n,_,c,E){super("resourcepolicies",e,s,r,a),this.requestService=e,this.rdbService=s,this.objectCache=r,this.halService=a,this.notificationsService=n,this.comparator=_,this.ePersonService=c,this.groupService=E,this.searchByEPersonMethod="eperson",this.searchByGroupMethod="group",this.searchByResourceMethod="resource",this.createData=new I.V(this.linkPath,e,s,r,a,n,this.responseMsToLive),this.searchData=new C.X(this.linkPath,e,s,r,a,this.responseMsToLive),this.patchData=new A.n(this.linkPath,e,s,r,a,_,this.responseMsToLive,this.constructIdEndpoint),this.deleteData=new L.I(this.linkPath,e,s,r,a,n,this.responseMsToLive,this.constructIdEndpoint)}create(e,s,r,a){const n=[];return n.push(new o.x("resource",s)),(0,i.hj)(r)?n.push(new o.x("eperson",r)):(0,i.hj)(a)&&n.push(new o.x("group",a)),this.createData.create(e,...n)}delete(e){return this.deleteData.delete(e).pipe((0,V.qD)(),(0,B.T)(s=>s.hasSucceeded))}update(e){return this.patchData.update(e)}getDefaultAccessConditionsFor(e,s){return this.findListByHref(e._links.defaultAccessConditions.href,s)}searchByEPerson(e,s,r=!0,a=!0,...n){const _=new P._;return _.searchParams=[new o.x("uuid",e)],(0,i.hj)(s)&&_.searchParams.push(new o.x("resource",s)),this.searchData.searchBy(this.searchByEPersonMethod,_,r,a,...n)}searchByGroup(e,s,r=!0,a=!0,...n){const _=new P._;return _.searchParams=[new o.x("uuid",e)],(0,i.hj)(s)&&_.searchParams.push(new o.x("resource",s)),this.searchData.searchBy(this.searchByGroupMethod,_,r,a,...n)}searchByResource(e,s,r=!0,a=!0,...n){const _=new P._;return _.searchParams=[new o.x("uuid",e)],(0,i.hj)(s)&&_.searchParams.push(new o.x("action",s)),this.searchData.searchBy(this.searchByResourceMethod,_,r,a,...n)}updateTarget(e,s,r,a){const _=("eperson"===a?this.ePersonService:this.groupService).getIDHrefObs(r),c=Object.create({});let E=new v.Lr;
1E=E.append("Content-Type","text/uri-list"),c.headers=E;const O=this.requestService.generateRequestId();return _.pipe((0,p.$)()).subscribe(G=>{const u=new f.v_(O,s+"/"+a,G,c);Object.assign(u,{getResponseParser:()=>g.M}),this.requestService.send(u)}),this.rdbService.buildFromRequestUUIDAndAwait(O,()=>this.invalidateByHref(s))}static#s=M=()=>(this.\u0275fac=function(s){return new(s||d)(h.KVO(y.B),h.KVO(K.o),h.KVO(R.$),h.KVO(x.Y),h.KVO(l.I),h.KVO(W.Y),h.KVO(m.EPersonDataService),h.KVO(U.GroupDataService))},this.\u0275prov=h.jDH({token:d,factory:d.\u0275fac,providedIn:"root"}))}return M(),d})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.