1import{c as O}from"./chunk-HS2PDU4P.js";import"./chunk-MQWVLIOM.js";import"./chunk-VFH2NYWE.js";import"./chunk-GXLA64U5.js";import"./chunk-3OFSVKZW.js";import"./chunk-YQUROZKU.js";import"./chunk-26WWJJGB.js";import"./chunk-RLJAUALE.js";import"./chunk-MUU6G6BE.js";import{a as B}from"./chunk-AAW4H5K3.js";import"./chunk-SDYCNOPX.js";import"./chunk-HJEDSNMU.js";import"./chunk-QUOK3ZFK.js";import"./chunk-EYITKG5L.js";import"./chunk-5XMBELDX.js";import"./chunk-XLYNHXVS.js";import{a as M}from"./chunk-3QU7A7VL.js";import{a as I}from"./chunk-5IXNES5Y.js";import"./chunk-LXECQZI5.js";import{a as z}from"./chunk-STXJ6CHD.js";import{G as k,R as w,S as R,ba as F}from"./chunk-4N6OC7AV.js";import{Fa as u,Ga as v,Lb as h,Mc as r,Nc as d,Oc as V,Rb as y,Wa as x,Yb as f,Zb as S,ac as E,g as _,gc as C,id as l,jd as p,lc as e,mc as i,nc as b,rc as g,va as m,xc as T,yc as c,zb as o}from"./chunk-VYR66D5O.js";function P(n,q){n&1&&(e(0,"div",0)(1,"output",1)(2,"span",2),r(3,"Loading..."),i()()())}function L(n,q){if(n&1){let t=g();e(0,"div")(1,"div")(2,"span",3),r(3,"check_circle"),i(),e(4,"h1",4),r(5),l(6,"translate"),i()(),e(7,"div",5)(8,"h2",6),r(9),l(10,"translate"),i(),e(11,"div",7),T("click",function(){u(t);let a=c();return v(a.mainService.copyClipboard(a.pnr))})("keydown.enter",function(){u(t);let a=c();return v(a.mainService.copyClipboard(a.pnr))}),e(12,"span",8),r(13),i(),e(14,"span",9),r(15,"content_copy"),i()()(),e(16,"div",10)(17,"p",11),r(18),l(19,"translate"),i(),e(20,"p",11),r(21),l(22,"translate"),i()(),e(23,"div"),b(24,"div",12),l(25,"translate"),i()()}if(n&2){let t=c();o(2),f("translate","no"),o(3),d(p(6,12,"Tu reserva ha sido anulada con \xE9xito")),o(4),V("",p(10,14,"Localizador"),":"),o(4),d(t.pnr),o(),f("translate","no"),o(4),d(p(19,16,"Te confirmamos que tu reserva ha sido anulada.")),o(3),d(p(22,18,"Recibir\xE1s el reembolso de tus billetes en la misma cuenta del m\xE9todo de pago utilizado durante la compra, en un plazo de 48 horas.")),o(3),E("outline"),S("size","normal")("route",t.ROUTES.HOME)("text",p(25,20,"Volver a inicio"))}}var Y=(()=>{class n{constructor(){this.ROUTES=F,this._reservationService=m(O),this._errorService=m(z),this._route=m(k),this.mainService=m(I),this.reservationToken=this._route.snapshot.queryParams.booking,this.pnr=this._route.snapshot.queryParams.pnr,this.surname=this._route.snapshot.queryParams.surname,this.loading=x(!1)}ngOnInit(){this._init()}_init(){return _(this,null,function*(){this.loading.set(!0);let t=yield this._reservationService.bookingVoid({token:this.reservationToken});typeof t=="boolean"&&t||this._errorService.showError(B.E_400),this.loading.set(!1)})}static{this.\u0275fac=function(s){return new(s||n)}}static{this.\u0275cmp=h({type:n,selectors:[["app-void-final-report"]],decls:2,vars:1,consts:[[1,"d-flex","justify-content-center","my-5"],[1,"spinner-border","text-primary"],[1,"visually-hidden"],[1,"icon","material-symbols-filled","icon-size-9","text-success-000","mb-5"],[1,"font-title-1","mb-0"],[1,"d-flex","align-items-center","my-7"],[1,"font-headline","m-0","text-neutral-100","me-3"],[1,"d-flex","align-items-center","gap-3","cursor-pointer","m-0",3,"click","keydown.enter"],[1,"font-title-2"],[1,"material-symbols-outlined","text-neutral-100"],[1,"mb-7"],[1,"text-neutral-100"],["app-button","","classList","w-100",3,"size","route","text"]],template:function(s,a){s&1&&y(0,P,4,0,"div",0)(1,L,26,22,"div"),s&2&&C(a.loading()?0:1)},dependencies:[M,R,w],encapsulation:2})}}return n})();export{Y as VoidFinalReportComponent};
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.