1import{b as n,d as p}from"./chunk-SB5L2XE4.js";import{a as o,c as l}from"./chunk-SKH2MXBC.js";import{A as e}from"./chunk-BQLJE42W.js";import{V as i,_ as a}from"./chunk-YE3BF7DR.js";var b=class s{constructor(t,r,h,y){this.http=t;this.router=r;this.activatedRoute=h;this.settingService=y}apiUrl="/api/v1";get(t){return this.http.get(`${this.apiUrl}/blocks/${t}`)}add(t){return this.http.post(`${this.apiUrl}/blocks/`,t)}update(t){return this.http.put(`${this.apiUrl}/blocks/${t.blockID}`,t)}remove(t){return this.http.del(`${this.apiUrl}/blocks/${t.blockID}`)}sort(t){return this.http.put(`${this.apiUrl}/blocks/sort`,t)}addRelation(t){return this.http.post(`${this.apiUrl}/blocksections/`,t)}removeRelation(t){return this.http.del(`${this.apiUrl}/blocksections/${t.blockSectionID}`)}updateRelation(t){return this.http.put(`${this.apiUrl}/blocksections/${t.blockSectionID}`,t)}all(t){return this.http.get(`${this.apiUrl}/blocks/`,{params:new e({fromObject:t})})}getBlockSections(t){return this.http.get(`${this.apiUrl}/blocktypes/section/`,{params:new e({fromObject:t})})}addMap(t){return this.http.post(`${this.apiUrl}/blocktypes/map/`,t)}getMap(t){return this.http.get(`${this.apiUrl}/blocktypes/map/`,{params:new e({fromObject:t})})}updateMap(t){return this.http.put(`${this.apiUrl}/blocktypes/map/${t.blockMapsID}`,t)}deleteMap(t){return this.http.del(`${this.apiUrl}/blocktypes/map/${t}`)}addShortcut(t){return this.http.post(`${this.apiUrl}/blocktypes/shortcut/`,t)}getShortcuts(t){return this.http.get(`${this.apiUrl}/blocktypes/shortcut/`,{params:new e({fromObject:t})})}getShortcut(t){return this.http.get(`${this.apiUrl}/blocktypes/shortcut/${t}`)}updateShortcut(t){return this.http.put(`${this.apiUrl}/blocktypes/shortcut/${t.blockShortCutsID}`,t)}deleteShortcut(t){return this.http.del(`${this.apiUrl}/blocktypes/shortcut/${t}`)}sortShortcut(t){return this.http.put(`${this.apiUrl}/blocktypes/shortcut/sort`,t)}addLogo(t){return this.http.post(`${this.apiUrl}/blocktypes/logo/`,t)}getLogos(t){return this.http.get(`${this.apiUrl}/blocktypes/logo/`,{params:new e({fromObject:t})})}getLogo(t){return this.http.get(`${this.apiUrl}/blocktypes/logo/${t}`)}updateLogo(t){return this.http.put(`${this.apiUrl}/blocktypes/logo/${t.blockLogosID}`,t)}deleteLogo(t){return this.http.del(`${this.apiUrl}/blocktypes/logo/${t}`)}sortLogo(t){return this.http.put(`${this.apiUrl}/blocktypes/logo/sort`,t)}addPerson(t){return this.http.post(`${this.apiUrl}/blocktypes/person/`,t)}getPersons(t){return this.http.get(`${this.apiUrl}/blocktypes/person/`,{params:new e({fromObject:t})})}getPerson(t){return this.http.get(`${this.apiUrl}/blocktypes/person/${t}`)}updatePerson(t){return this.http.put(`${this.apiUrl}/blocktypes/person/${t.blockPersonsID}`,t)}deletePerson(t){return this.http.del(`${this.apiUrl}/blocktypes/person/${t}`)}sortPerson(t){return this.http.put(`${this.apiUrl}/blocktypes/person/sort`,t)}addGallery(t){return this.http.post(`${this.apiUrl}/blocktypes/gallery/`,t)}getGalleries(t){return this.http.get(`${this.apiUrl}/blocktypes/gallery/`,{params:new e({fromObject:t})})}getGallery(t){return this.http.get(`${this.apiUrl}/blocktypes/gallery/${t}`)}updateGallery(t){return this.http.put(`${this.apiUrl}/blocktypes/gallery/${t.blockGalleryID}`,t)}deleteGallery(t){return this.http.del(`${this.apiUrl}/blocktypes/gallery/${t}`)}sortGallery(t){return this.http.put(`${this.apiUrl}/blocktypes/gallery/sort`,t)}addIndicator(t){return this.http.post(`${this.apiUrl}/blocktypes/indicator/`,t)}getIndicators(t){return this.http.get(`${this.apiUrl}/blocktypes/indicator/`,{params:new e({fromObject:t})})}getIndicator(t){return this.http.get(`${this.apiUrl}/blocktypes/indicator/${t}`)}updateIndicator(t){return this.http.put(`${this.apiUrl}/blocktypes/indicator/${t.blockIndicatorsID}`,t)}deleteIndicator(t){return this.http.del(`${this.apiUrl}/blocktypes/indicator/${t}`)}sortIndicator(t){return this.http.put(`${this.apiUrl}/blocktypes/indicator/sort`,t)}getLibrary(t){return this.http.get(`${this.apiUrl}/blocks/library/`,{params:new e({fromObject:t})})}getThemes(t){return this.http.get(`${this.settingService.globalApiUrl}/api/v1/sitethemes/`,{params:{type:t},headers:{}})}getInstagramToken(t){return this.http.get(`${this.apiUrl}/instagramfake/${t}`)}updateInstagramToken(t,r){return this.http.put(`${this.apiUrl}/instagramfake/${t}`,r)}goBack(t){if(t.seed){var r=parseInt(t.seed);Number.isInteger(r)?r===0?this.router.navigate(["administrador","bloques"]):this.router.navigate(["administrador","bloques",r]):this.router.navigate(["tema",t.seed])}else this.router.navigate(["/"])}getConfigFooter(){return this.http.get(`${this.settingService.globalApiUrl}/api/v1/footerContent`)}static \u0275fac=function(r){return new(r||s)(a(o),a(p),a(n),a(l))};static \u0275prov=i({token:s,factory:s.\u0275fac,providedIn:"root"})};export{b 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.