PageSourceSearch

https://soliguide.fr/908.24766ce3d5d4486a.js

js soliguide.fr collected 2026-09-24 10:35:35 UTC 10,955 bytes, 1 lines download raw bytes

1(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[908],{27466:(g,m,s)=>{"use strict";s.d(m,{y:()=>_});var a=s(96354),f=s(97144),c=s(16649),u=s(15861),n=s(54438),E=s(21626);let _=(()=>{class d{http;currentLanguageService;endPoint=`${f.c.apiUrl}/admin/places/`;constructor(e,t){this.http=e,this.currentLanguageService=t}create=(e,t)=>{const o=t?`${this.endPoint}infos/${t}`:`${this.endPoint}infos`,i={...e,country:c.Vz.country};return(null!==e.lieu_id?this.http.patch(`${this.endPoint}infos/${e.lieu_id}`,e):this.http.post(o,i)).pipe((0,a.T)(D=>new c.YR(D,!0)))};getPlace=(e,t=!1)=>this.http.get(`${this.endPoint}${e}/${this.currentLanguageService.currentLanguage}`).pipe((0,a.T)(o=>new c.YR(o,t)));checkDuplicates=(e,t)=>this.http.post(`${this.endPoint}check-duplicates/${e} `,{postalCode:t.postalCode,address:t.address}).pipe((0,a.T)(o=>Array.isArray(o)?o.map(i=>new c.YR(i)):[]));checkInOrga=e=>this.http.get(`${this.endPoint}check-in-orga/${e}`);patchPhotos=e=>this.http.patch(`${this.endPoint}photos/${e.lieu_id}`,e.photos).pipe((0,a.T)(t=>new c.YR(t,!0)));patchPlaceContacts=(e,t,o,i)=>this.http.patch(`${this.endPoint}contacts/${e}`,{newPlaceContacts:t,oldPlaceContacts:o,cguChecked:i}).pipe((0,a.T)(p=>new c.YR(p,!0)));patchPublics=(e,t=!1)=>this.http.patch(`${this.endPoint}publics/${e.lieu_id}`,{isCampaign:t,publics:e.publics,languages:e.languages}).pipe((0,a.T)(o=>new c.YR(o,!0)));patchPosition=(e,t)=>this.http.patch(`${this.endPoint}position/${e}`,{...t}).pipe((0,a.T)(o=>new c.YR(o,!0)));patchParcours=(e,t)=>this.http.patch(`${this.endPoint}parcours/${e}`,{...t}).pipe((0,a.T)(o=>new c.YR(o,!0)));patchStatus=(e,t)=>this.http.patch(`${this.endPoint}status/${e.lieu_id}`,{status:t}).pipe((0,a.T)(o=>new c.YR(o,!0)));patchVisibility=(e,t)=>this.http.patch(`${this.endPoint}visibility/${e.lieu_id}`,{visibility:t}).pipe((0,a.T)(o=>new c.YR(o,!0)));patchHoraires=(e,t)=>this.http.patch(`${this.endPoint}hours/${e}`,{newhours:t}).pipe((0,a.T)(o=>new c.YR(o,!0)));patchServices=(e,t)=>this.http.patch(`${this.endPoint}services/${e}`,{services_all:t}).pipe((0,a.T)(o=>new c.YR(o,!0)));patchModalities=(e,t)=>this.http.patch(`${this.endPoint}modalities/${e}`,{modalities:t}).pipe((0,a.T)(o=>new c.YR(o,!0)));patchNoChange=e=>this.http.patch(`${this.endPoint}no-change/${e}`,{}).pipe((0,a.T)(t=>new c.YR(t,!0)));patchCampaignSource=(e,t)=>this.http.patch(`${this.endPoint}campaign-source/${e}`,{source:t}).pipe((0,a.T)(o=>new c.YR(o,!0)));duplicatePlace=e=>this.http.post(`${this.endPoint}duplicate/${e}`,{}).pipe((0,a.T)(t=>new c.YR(t,!0)));static \u0275fac=function(t){return new(t||d)(n.KVO(E.Qq),n.KVO(u.h))};static \u0275prov=n.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})()},18744:(g,m,s)=>{"use strict";s.d(m,{B:()=>d});var a=s(21626),f=s(2578),u=s(96354),n=s(88038),E=s(97144),_=s(54438);let d=(()=>{class v{http;endPoint;constructor(t){this.http=t,this.endPoint=E.c.apiUrl}upload(t,o,i){return this.http.post(`${this.endPoint}/${i}/${o}`,t,{observe:"events",reportProgress:!0}).pipe((0,u.T)(D=>this.setProgress(D)))}delete(t,o,i,p=null){let D=`${this.endPoint}/${i}/${o}/`;return D+=t,null!==p&&(D+="/",D+=p.toString()),this.http.delete(D).pipe((0,u.T)(O=>new n.YR(O)))}getDocument(t){this.http.get(`${E.c.apiUrl}/medias/documents/${t.path}`,{responseType:"blob"}).subscribe({next:o=>{this.download(t,o)}})}download(t,o){const i=new Blob([o],{type:t.mimetype});(0,f.saveAs)(i,t.filename)}setProgress(t){if(t.type===a.hv.UploadProgress){if(t.total)return{message:Math.round(100*t.loaded/t.total),status:"progress"}}else if(t.type===a.hv.Response)return{success:!0,body:t.body};return`Unhandled event: ${t.type}`}static \u0275fac=function(o){return new(o||v)(_.KVO(a.Qq))};static \u0275prov=_.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},9093:(g,m,s)=>{"use strict";s.d(m,{V:()=>T});var a=s(18744),f=s(18359),c=s(5093),u=s(11257),n=s(54438),E=s(45794),_=s(14616),d=s(60177),v=s(20060),e=s(12647);const t=r=>({DOCUMENT_CREATION_DATE_VALUE:r}),o=()=>["fas","download"],i=()=>["fas","times"];function p(r,y){if(1&r&&(n.j41(0,"div")(1,"small",9),n.EFF(2),n.nI1(3,"dateProxy"),n.nI1(4,"translate"),n.k0s()()),2&r){const l=n.XpG().$implicit;n.R7$(2),n.SpI(" ",n.i5U(4,3,"DOCUMENT_CREATION_DATE",n.eq3(6,t,n.bMT(3,1,l.createdAt)))," ")}}function D(r,y){if(1&r){const l=n.RV6();n.j41(0,"button",10),n.bIt("click",function(){n.eBV(l);const P=n.XpG().$implicit,M=n.XpG(2);return n.Njj(M.download(P))}),n.nrm(1,"fa-icon",11),n.k0s()}if(2&r){const l=n.XpG().$implicit;n.BMQ("aria-label","T\xe9l\xe9charger le document "+l.name),n.R7$(),n.Y8G("icon",n.lJ4(2,o))}}function O(r,y){if(1&r){const l=n.RV6();n.j41(0,"button",12),n.bIt("click",function(){n.eBV(l);const P=n.XpG(),M=P.$implicit,U=P.index,L=n.XpG(2);return n.Njj(L.deleteDoc(U,M._id))}),n.nrm(1,"fa-icon",11),n.k0s()}if(2&r){const l=n.XpG().$implicit;n.BMQ("aria-label","Supprimer le document "+l.name),n.R7$(),n.Y8G("icon",n.lJ4(2,i))}}function R(r,y){if(1&r&&(n.j41(0,"div",3)(1,"div",4)(2,"div",5),n.EFF(3),n.k0s(),n.DNE(4,p,5,8,"div",6),n.k0s(),n.DNE(5,D,2,3,"button",7)(6,O,2,3,"button",8),n.k0s()),2&r){const l=y.$implicit,h=n.XpG(2);n.R7$(3),n.Lme(" ",l.name,".",l.filename.substring(l.filename.lastIndexOf(".")+1)," "),n.R7$(),n.Y8G("ngIf",h.displayDate),n.R7$(),n.Y8G("ngIf",h.canDownload),n.R7$(),n.Y8G("ngIf",h.canDelete)}}function $(r,y){if(1&r&&(n.j41(0,"div",1),n.DNE(1,R,7,5,"div",2),n.k0s()),2&r){const l=n.XpG();n.R7$(),n.Y8G("ngForOf",l.docs)}}let T=(()=>{class r extends u.s{toastr;uploadService;translateService;subscription=new f.yU;docs;placeId;serviceIndex;displayDate;canDownload;canDelete;constructor(l,h,P,M){super(M,"display-docs-"),this.toastr=l,this.uploadService=h,this.translateService=P,this.displayDate=!1,this.canDownload=!1}ngOnInit(){this.canDelete=typeof this.placeId<"u"}deleteDoc=(l,h)=>{this.captureEvent({name:"click-delete-doc-button",properties:{doc:this.docs[l]}}),this.subscription.add(this.uploadService.delete(h,this.placeId,"documents",this.serviceIndex).subscribe({next:()=>{this.toastr.success(this.translateService.instant("DELETION_COMPLETED_SUCCESSFULLY")),this.docs.splice(l,1)},error:()=>{this.toastr.error(this.translateService.instant("DELETION_COULD_NOT_BE_COMPLETED"))}}))};download=l=>{this.captureEvent({name:"click-download-doc-button",properties:{doc:l}});try{this.uploadService.getDocument(l)}catch{this.toastr.error(this.translateService.instant("ERROR_OCCURRED"))}};ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(h){return new(h||r)(n.rXU(E.tw),n.rXU(a.B),n.rXU(_.c$),n.rXU(c.s))};static \u0275cmp=n.VBU({type:r,selectors:[["app-display-docs"]],inputs:{docs:"docs",placeId:"placeId",serviceIndex:"serviceIndex",displayDate:"displayDate",canDownload:"canDownload"},features:[n.Vt3],decls:1,vars:1,consts:[["class","my-2 align-items-center justify-content-left d-flex",4,"ngIf"],[1,"my-2","align-items-center","justify-content-left","d-flex"],["class","orientation-sheet align-items-center justify-content-between d-flex me-2",4,"ngFor","ngForOf"],[1,"orientation-sheet","align-items-center","justify-content-between","d-flex","me-2"],[1,"me-3"],[1,"fw-bold"],[4,"ngIf"],["class","btn btn-primary btn-sm place-orientation-file","type","button",3,"click",4,"ngIf"],["class","btn btn-danger btn-sm ms-2","type","button",3,"click",4,"ngIf"],[1,"text-muted"],["type","button",1,"btn","btn-primary","btn-sm","place-orientation-file",3,"click"],["aria-hidden","true",3,"icon"],["type","button",1,"btn","btn-danger","btn-sm","ms-2",3,"click"]],template:function(h,P){1&h&&n.DNE(0,$,2,1,"div",0),2&h&&n.Y8G("ngIf",P.docs&&P.docs.length>0)},dependencies:[d.Sq,d.bT,v.aY,e.P,_.D9]})}return r})()},45899:(g,m,s)=>{"use strict";s.d(m,{Z:()=>_});var a=s(96354),f=s(15861),c=s(88038),u=s(97144),n=s(54438),E=s(21626);let _=(()=>{class d{http;currentLanguageService;constructor(e,t){this.http=e,this.currentLanguageService=t}getPlace=e=>this.http.get(`${u.c.apiUrl}/place/${e}/${this.currentLanguageService.currentLanguage}`).pipe((0,a.T)(o=>new c.YR(o,!1)));canEditPlace=e=>this.http.get(`${u.c.apiUrl}/admin/user-rights/can-edit/${e}`);canReadChangePlace=e=>this.http.get(`${u.c.apiUrl}/place-changes/can-read-change/${e}`);static \u0275fac=function(t){return new(t||d)(n.KVO(E.Qq),n.KVO(f.h))};static \u0275prov=n.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})()},2578:function(g,m){var s,f;void 0!==(f="function"==typeof(s=function(){"use strict";function u(e,t,o){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){v(i.response,t,o)},i.onerror=function(){console.error("could not download file")},i.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function E(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");
1t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var _="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,d=_.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),v=_.saveAs||("object"!=typeof window||window!==_?function(){}:"download"in HTMLAnchorElement.prototype&&!d?function(e,t,o){var i=_.URL||_.webkitURL,p=document.createElement("a");p.download=t=t||e.name||"download",p.rel="noopener","string"==typeof e?(p.href=e,p.origin===location.origin?E(p):n(p.href)?u(e,t,o):E(p,p.target="_blank")):(p.href=i.createObjectURL(e),setTimeout(function(){i.revokeObjectURL(p.href)},4e4),setTimeout(function(){E(p)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,o){if(t=t||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function c(e,t){return typeof t>"u"?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,o),t);else if(n(e))u(e,t,o);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout(function(){E(i)})}}:function(e,t,o,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return u(e,t,o);var p="application/octet-stream"===e.type,D=/constructor/i.test(_.HTMLElement)||_.safari,O=/CriOS\/[\d]+/.test(navigator.userAgent);if((O||p&&D||d)&&typeof FileReader<"u"){var R=new FileReader;R.onloadend=function(){var r=R.result;r=O?r:r.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=r:location=r,i=null},R.readAsDataURL(e)}else{var $=_.URL||_.webkitURL,T=$.createObjectURL(e);i?i.location=T:location.href=T,i=null,setTimeout(function(){$.revokeObjectURL(T)},4e4)}});_.saveAs=v.saveAs=v,g.exports=v})?s.apply(m,[]):s)&&(g.exports=f)}}]);

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.