1import{b as w}from"./chunk-VFBS2D4H.js";import"./chunk-KSPORRAD.js";import"./chunk-WPKCXLOR.js";import{a as m}from"./chunk-2HTNUNUQ.js";import{f as y,q as S,s as C,v as c}from"./chunk-AMGMDZCG.js";import{Cb as d,Db as a,De as M,M as p,ec as l,fc as h,gb as f,gc as v,hc as g,ia as s,kb as u,ke as b,wb as n}from"./chunk-IYGGJOPC.js";import"./chunk-2KJ74XIG.js";var R=(()=>{let t=class t{constructor(r,i,o,I){this.router=r,this.translateService=i,this.route=o,this.sanitizer=I}ngOnInit(){this.activateRouterSubscription=this.route.queryParamMap.subscribe(r=>{r.has("token")||this._redirectHome();let o=(m.production?m.urlBaseSite:"http://www-hom.localiza.com")+`/AL.GestaoContratos.PortalWeb/FormularioProrrogacao/Index/${r.get("token")}?cultura=pt-br`;this.iframeSrc=this.sanitizer.bypassSecurityTrustResourceUrl(o)})}ngOnDestroy(){this.activateRouterSubscription&&this.activateRouterSubscription.unsubscribe()}_redirectHome(){this.translateService.get("url.home").pipe(p(1)).subscribe(r=>{this.router.navigate([r])})}};t.\u0275fac=function(i){return new(i||t)(n(C),n(M),n(S),n(y))},t.\u0275cmp=d({type:t,selectors:[["app-prorrogacao-contrato-pjam"]],standalone:!1,decls:4,vars:1,consts:[[1,"container"],[1,"row"],[1,"iframe-box"],["loading","lazy","referrerpolicy","no-referrer","frameborder","0","title","renova\xE7\xE3o de contratos PJAM",3,"src"]],template:function(i,o){i&1&&(h(0,"div",0)(1,"div",1)(2,"div",2),g(3,"iframe",3),v()()()),i&2&&(u(3),l("src",o.iframeSrc,f))},styles:[".iframe-box[_ngcontent-%COMP%]{width:100%;min-height:65vh;display:flex;justify-content:center}@media(min-width:1200px){.iframe-box[_ngcontent-%COMP%]{padding:2rem}}.iframe-box[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{width:100%;min-height:100%}"]});let e=t;return e})();var z=w([{i18nPathKey:"",component:R}]),j=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=a({type:t}),t.\u0275inj=s({imports:[c.forChild(z),c]});let e=t;return e})();var K=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=a({type:t}),t.\u0275inj=s({imports:[b,j]});let e=t;return e})();export{K as ProrrogacaoContratoPjamModule};
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.