PageSourceSearch

https://plus.com.ar/common.16e0c564608024ab.js

js plus.com.ar collected 2026-10-09 18:33:31 UTC 9,132 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpluscambio_public_web=self.webpackChunkpluscambio_public_web||[]).push([[592],{46826:(f,v,t)=>{t.d(v,{r:()=>h});var _=t(55062);let h=(()=>{class i{updateUrl(){this.src=this.default}load(){this.className="image-loaded"}}return i.\u0275fac=function(u){return new(u||i)},i.\u0275dir=_.lG2({type:i,selectors:[["img","default",""]],hostVars:3,hostBindings:function(u,n){1&u&&_.NdJ("error",function(){return n.updateUrl()})("load",function(){return n.load()}),2&u&&(_.Ikx("src",n.src,_.LSH),_.Tol(n.className))},inputs:{src:"src",default:"default"}}),i})()},51069:(f,v,t)=>{t.d(v,{H:()=>a});var _=t(80529),h=t(61737),i=t(24850),m=t(59973),u=t(27221),n=t(92340),c=t(55062),p=t(19615),P=t(26218);let a=(()=>{class d{constructor(o,e){this.api=o,this.operationService=e,this.endpoint="remittance/orders"}getAll(o=1){return this.api.call(`${this.endpoint}?page=${o}&`,"get",{withCredentials:!0},null,"",n.N.msPlusApiEndpoint).pipe((0,i.U)(r=>({movements:r.data.map(s=>{let O,D="Destinatario no disponible";return s.recipient?(D=`${s.recipient.name} ${s.recipient.surname}`,O={id:s.recipient.id,name:s.recipient.name,surname:s.recipient.surname,document_number:s.recipient.document_number,account_number:s.recipient.account_number||"",email:s.recipient.email||"",residence:s.recipient.residence||"",document_type:s.recipient.document_type||""}):s.recipientData?(D=`${s.recipientData.name} ${s.recipientData.surname}`,O=s.recipientData):O={name:"",surname:"",email:"",residence:"",document_type:"",document_number:"",account_number:""},{id:s.id,recipient:D,docNumber:O.document_number||"",amountForeign:s.amount,currencyForeign:s.currency,amountArs:0,date:new Date(s.created_at).toLocaleDateString("es-ES"),status:this.mapStatus(s.status),recipientData:O}}),total:r.total,page:r.current_page,pageSize:r.per_page,totalPages:r.last_page})),(0,m.X)(1),(0,u.K)(this.handleError))}mapStatus(o){switch(o.toUpperCase()){case"COMPLETED":case"SUCCESS":return"Completada";case"PENDING":default:return"Pendiente";case"REJECTED":case"FAILED":return"Rechazada"}}getOne(o){return this.api.call(`${this.endpoint}/${o}`,"get",{withCredentials:!0},null,"",n.N.msPlusApiEndpoint).pipe((0,u.K)(this.handleError))}getByStatus(o,e=1,r=5){return this.api.call(`${this.endpoint}?status=${o}&page=${e}&pageSize=${r}`,"get",{withCredentials:!0},null,"",n.N.msPlusApiEndpoint).pipe((0,m.X)(1),(0,u.K)(this.handleError))}getByDateRange(o,e,r=1,l=5){return this.api.call(`${this.endpoint}?startDate=${o}&endDate=${e}&page=${r}&pageSize=${l}`,"get",{withCredentials:!0},null,"",n.N.msPlusApiEndpoint).pipe((0,m.X)(1),(0,u.K)(this.handleError))}handleError(o){let e="Ha ocurrido un error inesperado";if(o instanceof _.UA)switch(o.status){case 0:e="No se pudo conectar con el servidor";break;case 400:e="Solicitud inv\xe1lida. Verifique los filtros aplicados.";break;case 404:e="No se encontraron movimientos con esos criterios."}else o instanceof Error&&(e=o.message);return(0,h._)(()=>new Error(e))}}return d.\u0275fac=function(o){return new(o||d)(c.LFG(p.s),c.LFG(P.f))},d.\u0275prov=c.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})()},26218:(f,v,t)=>{t.d(v,{f:()=>d});var _=t(591),h=t(61737),i=t(27221),m=t(26232),u=t(87545),n=t(92340),c=t(55062),p=t(19615),P=t(25642);const a={selectedCountry:null,selectedCurrency:null,cotization:0,localAmount:0,foreignAmount:0,receiverId:void 0,name:"",surname:"",email:"",residence:"",document_type:null,document_number:"",account_number:"",bank_code:null,account_type:null,reason:"",comments:"",saveReceiver:!1};let d=(()=>{class g{constructor(e,r){this.api=e,this.receiverService=r,this.stateSubject=new _.X(a),this.state$=this.stateSubject.asObservable(),this.banksByExchange=new Map}getState(){return this.stateSubject.getValue()}updateState(e){this.stateSubject.next({...this.getState(),...e})}resetState(){this.stateSubject.next(a)}getAvailableCountries(){return this.api.call("remittance/countries","get",{withCredentials:!0},null,"",n.N.msPlusApiEndpoint).pipe((0,i.K)(this.handleError))}getCurrencies(){return this.api.call("remittance/currencies","get",{withCredentials:!0},null,"",n.N.msPlusApiEndpoint).pipe((0,i.K)(this.handleError))}getQuote(e,r){return this.api.call("remittance/orders/preview","post",{withCredentials:!0},{origin_coin:e,country_code:r},null,n.N.msPlusApiEndpoint).pipe((0,i.K)(this.handleError))}getBanks(e){const r=e??"ALL",l=this.banksByExchange.get(r);if(l)return l;const s=this.api.call(e?`remittance/banks?exchange=${e}`:"remittance/banks","get",{withCredentials:!0},null,"",n.N.msPlusApiEndpoint).pipe((0,m.d)(1),(0,i.K)(this.handleError));return this.banksByExchange.set(r,s),s}
1selectExistingReceiver(e){this.updateState({receiverId:e.id,name:e.name,surname:e.surname,email:e.email,residence:e.residence,document_type:e.document_type||null,document_number:e.document_number||"",account_number:e.account_number||"",bank_code:e.bank_code??null,account_type:e.account_type??null,saveReceiver:!1})}confirmAndSubmitOrder(){const e=this.getState();return e.saveReceiver?this.receiverService.create({name:e.name,surname:e.surname,email:e.email,residence:e.residence,document_type:e.document_type||"",document_number:e.document_number,account_number:e.account_number,bank_code:e.bank_code,account_type:e.account_type}).pipe((0,u.w)(l=>(this.updateState({receiverId:l.id}),this.submitRemittance()))):this.submitRemittance()}submitRemittance(){const e=this.getState();let r;e.receiverId?r={country_code:e.selectedCountry?.code}:(r={country_code:e.selectedCountry?.code,name:e.name,surname:e.surname,document_number:e.document_number,address:e.account_number},e.account_type&&(r.accountType=e.account_type),e.bank_code&&(r.bankCode=e.bank_code));const l={recipientId:e.receiverId,asset:e.selectedCurrency?.name,amount:String(e.localAmount),description:e.comments,reason:e.reason,destination:r};return this.api.call("remittance/orders","post",{withCredentials:!0},l,"",n.N.msPlusApiEndpoint).pipe((0,i.K)(this.handleError))}createOrderFromPrevious(e){return this.updateState(e),this.submitRemittance()}handleError(e){let r="Ha ocurrido un error inesperado";const l=e.error?.message;if(e.error instanceof ErrorEvent)r=`Error: ${e.error.message}`;else if(l)r=Array.isArray(l)?l.join(" "):l;else switch(e.status){case 0:r="No se pudo conectar con el servidor";break;case 400:r="Datos inv\xe1lidos. Verifique la informaci\xf3n ingresada";break;case 404:r="Recurso no encontrado";break;case 409:r="Conflicto de datos"}return(0,h._)(()=>new Error(r))}}return g.\u0275fac=function(e){return new(e||g)(c.LFG(p.s),c.LFG(P.y))},g.\u0275prov=c.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},25642:(f,v,t)=>{t.d(v,{y:()=>c});var _=t(61737),h=t(59973),i=t(27221),m=t(92340),u=t(55062),n=t(19615);let c=(()=>{class p{constructor(a){this.api=a,this.endpoint="remittance/recipients"}getAll(){return this.api.call(this.endpoint,"get",{withCredentials:!0},null,"",m.N.msPlusApiEndpoint).pipe((0,h.X)(1),(0,i.K)(this.handleError))}getOne(a){return this.api.call(`${this.endpoint}/${a}`,"get",{withCredentials:!0},null,"",m.N.msPlusApiEndpoint).pipe((0,i.K)(this.handleError))}create(a){return this.api.call(this.endpoint,"post",{withCredentials:!0},a,"",m.N.msPlusApiEndpoint).pipe((0,i.K)(this.handleError))}update(a,d){return this.api.call(`${this.endpoint}/${a}`,"patch",{withCredentials:!0},d,"",m.N.msPlusApiEndpoint).pipe((0,i.K)(this.handleError))}delete(a){return this.api.call(`${this.endpoint}/${a}`,"delete",{withCredentials:!0},null,"",m.N.msPlusApiEndpoint).pipe((0,i.K)(this.handleError))}handleError(a){let d="Ha ocurrido un error inesperado";if(a.error instanceof ErrorEvent)d=`Error: ${a.error.message}`;else switch(a.status){case 0:d="No se pudo conectar con el servidor";break;case 400:d="Datos inv\xe1lidos. Verifique la informaci\xf3n ingresada";break;case 404:d="Destinatario no encontrado";break;case 409:d="Ya existe un destinatario con esos datos"}return(0,_._)(()=>new Error(d))}}return p.\u0275fac=function(a){return new(a||p)(u.LFG(n.s))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})()},51863:(f,v,t)=>{t.r(v),t.d(v,{RemittanceModule:()=>l});var _=t(36895),h=t(56506),i=t(24006),m=t(15118),u=t(8202),n=t(85657),c=t(94829),p=t(80529),P=t(13633),a=t(55062);const d=[];let g=(()=>{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275mod=a.oAB({type:E}),E.\u0275inj=a.cJS({imports:[h.Bz.forChild(d),h.Bz]}),E})();var o=t(49721),e=t(13601),r=t(51069);let l=(()=>{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275mod=a.oAB({type:E}),E.\u0275inj=a.cJS({providers:[c.fY,n.N,r.H],imports:[_.ez,h.Bz,P.o,i.UX,i.u5,u.Ud,m.A0,g,o.x,e.Q,p.JF]}),E})()},59973:(f,v,t)=>{t.d(v,{X:()=>h});var _=t(43489);function h(u=-1){return n=>n.lift(new i(u,n))}class i{constructor(n,c){this.count=n,this.source=c}call(n,c){return c.subscribe(new m(n,this.count,this.source))}}class m extends _.L{constructor(n,c,p){super(n),this.count=c,this.source=p}error(n){if(!this.isStopped){const{source:c,count:p}=this;if(0===p)return super.error(n);p>-1&&(this.count=p-1),c.subscribe(this._unsubscribeAndRecycle())}}}}}]);

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.