PageSourceSearch

https://rekonise.com/chunk-RDCV7OYL.js

js rekonise.com collected 2026-10-01 11:50:01 UTC 2,968 bytes, 1 lines download raw bytes

1import{a as $}from"./chunk-HKSRDAI3.js";import{a as c}from"./chunk-BR7SVKEQ.js";import{b as l,f as o}from"./chunk-FTXGPRFJ.js";import{R as n,_ as a,da as u}from"./chunk-EL2YAQZX.js";var S=(()=>{class r extends ${constructor(t){super(t),this.http=t,this.url=`${c.api}/social-unlocks`,this.totalStatsCache$=null}get(t){return this.http.get(`${this.url}/${t}`)}getMore(t){return this.http.get(`${this.url}/${t}/more`)}getSimilar(t){return this.http.get(`${this.url}/${t}/similar`)}getByUsernameAndCustomSlug(t,e){return this.http.get(`${this.url}/${t}/${e}`)}unlock(t,e){return this.http.get(`${this.url}/${t}/unlock?token=${encodeURIComponent(e)}`)}getUnlockedStatus(t){return this.http.get(`${this.url}/${t}/unlocked-status`)}getList(t){return this.findPaged(`${this.url}`,t)}create(t){return t.actions=t.actions.filter(e=>e.value&&e.type),this.clearTotalStatsCache(),this.http.post(`${this.url}`,t)}claim(t,e){return this.clearTotalStatsCache(),this.http.post(`${this.url}/${t}/claim`,{token:e})}update(t,e){return e.actions=e.actions.filter(i=>i.value&&i.type),this.http.put(`${this.url}/${t}`,e)}setVisibility(t,e){return this.http.put(`${this.url}/${t}/visibility`,{visibility:e})}setCollections(t,e){return this.http.put(`${this.url}/${t}/collections`,{collectionIds:e})}bulkSetVisibility(t,e){return this.http.post(`${this.url}/bulk/visibility`,{unlockIds:t,visibility:e})}bulkAddToCollection(t,e){return this.http.post(`${this.url}/bulk/add-to-collection`,{unlockIds:t,collectionId:e})}delete(t){return this.clearTotalStatsCache(),this.http.delete(`${this.url}/${t}`)}getCustomSlugAvailability(t){return this.http.get(`${this.url}/${t}/availability`)}getAnalytics(t){let e=new l;return t&&Object.keys(t).forEach(i=>{let s=t[i];s!==void 0&&(e=e.set(i,String(s)))}),this.http.get(`${this.url}/analytics?${e.toString()}`)}getDetailAnalytics(t,e){let i=new l;return e&&Object.keys(e).forEach(s=>{let h=e[s];h!==void 0&&(i=i.set(s,String(h)))}),this.http.get(`${this.url}/${t}/analytics?${i.toString()}`)}getTaskBreakdown(t,e){let i=new l;return e&&Object.keys(e).forEach(s=>{let h=e[s];h!==void 0&&(i=i.set(s,String(h)))}),this.http.get(`${this.url}/${t}/analytics/tasks?${i.toString()}`)}getTotalStats(t=!1){return(!this.totalStatsCache$||t)&&(this.totalStatsCache$=this.http.get(`${this.url}/analytics/total-stats`).pipe(n(1))),this.totalStatsCache$}clearTotalStatsCache(){this.totalStatsCache$=null}getForEdit(t){return this.http.get(`${this.url}/${t}/edit`)}bulkUpdateActions(t){return this.http.put(`${this.url}/bulk/actions`,t)}getRecentActions(){return this.http.get(`${this.url}/recent-actions`)}getTopActions(t=30,e=5){return this.http.get(`${this.url}/analytics/top-actions?days=${t}&limit=${e}`)}getConversionBreakdown(t=30){return this.http.get(`${this.url}/analytics/conversions?days=${t}`)}static{this.\u0275fac=function(e){return new(e||r)(u(o))}}static{this.\u0275prov=a({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();export{S as a};

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.