1import{a as Ie}from"./chunk-KAFS64SJ.js";import{b as fe}from"./chunk-QNTKM5VJ.js";import{a as xe,b as Me}from"./chunk-YHCHXZYL.js";import{a as Se}from"./chunk-PV5WH4JE.js";import{a as ye,b as be}from"./chunk-OII7HD2H.js";import{a as Ce}from"./chunk-P36BB2J3.js";import{a as pe,b as he}from"./chunk-YKPFI7QB.js";import{a as me}from"./chunk-LGWKQQEJ.js";import"./chunk-OUAS6S2N.js";import"./chunk-7OP3P37Q.js";import"./chunk-LCQSWELG.js";import{a as ve}from"./chunk-B4TQWZCD.js";import{a as le}from"./chunk-U2QFC7F4.js";import{a as se}from"./chunk-F2GCAH7D.js";import{a as _e,e as N}from"./chunk-4TDNPVDP.js";import{a as ge}from"./chunk-6TRCY3ZA.js";import{a as te}from"./chunk-6653FR2C.js";import"./chunk-6PA4EPXL.js";import"./chunk-Y6AXKLS3.js";import"./chunk-GUKCMBJ4.js";import"./chunk-EOQAIYR4.js";import"./chunk-FIRS3P2E.js";import{a as ue}from"./chunk-WUKI7HUJ.js";import"./chunk-5JEN6757.js";import"./chunk-7UZYWCAJ.js";import"./chunk-4KXK4HPM.js";import"./chunk-HFZLJHYR.js";import{b as de}from"./chunk-GUBCWVU7.js";import{b as ne}from"./chunk-EC6WBUJO.js";import{a as F}from"./chunk-JFFWFSAZ.js";import{d as ae,n as ce}from"./chunk-JE76JNP2.js";import"./chunk-MWSRTWKF.js";import"./chunk-XK4FT4MO.js";import{p as re}from"./chunk-BBNSFRDY.js";import{d as oe}from"./chunk-XGOGDN3M.js";import{c as ie}from"./chunk-E52G7IUM.js";import"./chunk-7RPRKYSB.js";import{m as Y,s as Z,t as ee}from"./chunk-OOFCWTMH.js";import"./chunk-EKUYW7ZL.js";import{g as Q,v as B}from"./chunk-YT5HM723.js";import{$b as g,Aa as U,Cc as J,D as j,Fb as T,Fc as h,Gc as z,Hc as _,J as $,Jb as X,M as A,Ma as G,Vb as u,Wb as p,Yb as w,Zb as E,_b as D,ac as c,bc as s,cc as f,cd as I,dd as k,ed as W,fa as H,ga as K,jc as O,mb as o,oc as P,qc as m,rb as q,w as R,wa as x,xa as M,y as V,yb as b}from"./chunk-C4YA3FN6.js";import{a as y,b as S,i as v}from"./chunk-RKLIRILV.js";function we(t,r){if(t&1&&(c(0,"span",5),h(1),s()),t&2){let a=m().$implicit;o(),_(" ",a.expanded?"keyboard_arrow_up":"keyboard_arrow_down"," ")}}function Ee(t,r){t&1&&f(0,"span",6)}function De(t,r){if(t&1&&(c(0,"span",9),h(1),s()),t&2){let a=m().$implicit;g("ngClass",a.displayClass),o(),_(" ",a.displayValue," ")}}function ze(t,r){if(t&1&&(c(0,"span",10),h(1),s()),t&2){let a=m().$implicit;g("ngClass",a.displayClass),o(),_(" ",a.displayIcon," ")}}function Be(t,r){if(t&1&&(c(0,"div",11)(1,"p"),h(2),s()()),t&2){let a=m().$implicit;o(2),z(a.description)}}function Fe(t,r){if(t&1){let a=O();c(0,"div",2)(1,"div",3),P("click",function(){let n=x(a).$implicit,i=m();return M(n.hasDescription&&i.toggleExpand(n))}),c(2,"div",4),u(3,we,2,1,"span",5)(4,Ee,1,0,"span",6),c(5,"span",7),h(6),s()(),c(7,"div",8),u(8,De,2,2,"span",9)(9,ze,2,2,"span",10),s()(),u(10,Be,3,1,"div",11),s()}if(t&2){let a=r.$implicit;o(),J("clickable",a.hasDescription)("no-icon",a.hasDescription),o(2),p(a.hasDescription?3:4),o(3),z(a.name),o(2),p(a.displayIcon?9:8),o(2),p(a.expanded?10:-1)}}var Oe=(()=>{let r=class r{constructor(){this.itemsWithState=[],this.expandedItemExternalId=null,this.expandItem=new q,this.localItems=[]}ngOnInit(){this.localItems=this.itemsWithState.map(e=>{let n=ye(e);return y(S(y({},e),{expanded:!1,hasDescription:!!e.description}),n)})}ngOnChanges(){this.localItems=this.localItems.map(e=>S(y({},e),{expanded:e.externalId===this.expandedItemExternalId}))}toggleExpand(e){this.expandItem.emit(e.externalId)}};r.\u0275fac=function(n){return new(n||r)},r.\u0275cmp=T({type:r,selectors:[["app-travel-insurance-item"]],inputs:{groupTitle:"groupTitle",itemsWithState:"itemsWithState",expandedItemExternalId:"expandedItemExternalId"},outputs:{expandItem:"expandItem"},features:[G],decls:5,vars:1,consts:[["appearance","outlined",1,"insurance-group"],[1,"group-title"],[1,"insurance-item"],[1,"item-header",3,"click"],[1,"item-left"],[1,"material-symbols-outlined","icon"],[1,"icon","placeholder"],[1,"item-name"],[1,"item-value","status"],[1,"value",3,"ngClass"],[1,"material-symbols-outlined",3,"ngClass"],[1,"item-description"]],template:function(n,i){n&1&&(c(0,"mat-card",0)(1,"h2",1),h(2),s(),E(3,Fe,11,8,"div",2,w),s()),n&2&&(o(2),z(i.groupTitle),o(),D(i.localItems))},dependencies:[B,Q,F],styles:['@charset "UTF-8";.insurance-group[_ngcontent-%COMP%]{margin-bottom:1rem;background-color:#fff}.insurance-group[_ngcontent-%COMP%] .group-title[_ngcontent-%COMP%]{font-weight:600;color:#2e2e2e;margin-top:0;font-size:var(--type-body-large-size);line-height:var(--type-body-large-line-height);letter-spacing:var(--type-body-large-tracking)}@media(max-width:63.9375em){.insurance-group[_ngcontent-%COMP%] .group-title[_ngcontent-%COMP%]{font-size:var(--type-body-medium-size);line-height:var(--type-body-medium-line-height);letter-spacing:var(--type-body-medium-tracking)}}@media(max-width:39.9375em){.insurance-group[_ngcontent-%COMP%] .group-title[_ngcontent-%COMP%]{font-size:var(--type-body-medium-size);line-height:var(--type-body-medium-line-height);letter-spacing:var(--type-body-medium-tracking)}}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%]{border-top:1px solid #e0e0e0}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%]:nth-of-type(1){border-top:none}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:.25rem 0}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .item-left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .item-left[_ngcontent-%COMP%] .icon.placeholder[_ngcontent-%COMP%]{width:24px}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .item-name[_ng
1content-%COMP%]{font-weight:500;color:#2e2e2e;font-size:var(--type-body-medium-size);line-height:var(--type-body-medium-line-height);letter-spacing:var(--type-body-medium-tracking)}@media(max-width:63.9375em){.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .item-name[_ngcontent-%COMP%]{font-size:var(--type-body-medium-size);line-height:var(--type-body-medium-line-height);letter-spacing:var(--type-body-medium-tracking)}}@media(max-width:39.9375em){.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .item-name[_ngcontent-%COMP%]{font-size:var(--type-body-small-size);line-height:var(--type-body-small-line-height);letter-spacing:var(--type-body-small-tracking)}}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .status[_ngcontent-%COMP%]{display:flex;align-items:center}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .status[_ngcontent-%COMP%] .material-symbols-outlined.included[_ngcontent-%COMP%]{color:#21963a}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .status[_ngcontent-%COMP%] .material-symbols-outlined.notIncluded[_ngcontent-%COMP%]{color:#da0000}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .status[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-weight:500;margin-left:30px;font-size:var(--type-body-medium-size);line-height:var(--type-body-medium-line-height);letter-spacing:var(--type-body-medium-tracking)}@media(max-width:63.9375em){.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .status[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:var(--type-body-medium-size);line-height:var(--type-body-medium-line-height);letter-spacing:var(--type-body-medium-tracking)}}@media(max-width:39.9375em){.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .status[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:var(--type-body-small-size);line-height:var(--type-body-small-line-height);letter-spacing:var(--type-body-small-tracking)}}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .status[_ngcontent-%COMP%] .value.included[_ngcontent-%COMP%]{color:#21963a}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .status[_ngcontent-%COMP%] .value.notIncluded[_ngcontent-%COMP%]{color:#da0000}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header.clickable[_ngcontent-%COMP%]{cursor:pointer}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-description[_ngcontent-%COMP%]{padding:0rem .25rem 1rem;color:#777;font-size:var(--type-body-small-size);line-height:var(--type-body-small-line-height);letter-spacing:var(--type-body-small-tracking)}@media(max-width:63.9375em){.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-description[_ngcontent-%COMP%]{font-size:var(--type-body-small-size);line-height:var(--type-body-small-line-height);letter-spacing:var(--type-body-small-tracking)}}@media(max-width:39.9375em){.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-description[_ngcontent-%COMP%]{font-size:var(--type-body-small-size);line-height:var(--type-body-small-line-height);letter-spacing:var(--type-body-small-tracking)}}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-description[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}@media(max-width:768px){.insurance-group[_ngcontent-%COMP%]{padding:1rem}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.insurance-group[_ngcontent-%COMP%] .insurance-item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .item-left[_ngcontent-%COMP%]{align-items:center}}']});let t=r;return t})();function Ne(t,r){t&1&&f(0,"app-insurance-search-skeleton")}function Ke(t,r){t&1&&(c(0,"mat-card",2),f(1,"app-search-travel-insurance",7),s()),t&2&&(o(),g("openedCollapse",!1)("openSearchNewWindow",!1)("loadInsuranceSearchFlag",!1)("buttonType","outlined"))}function We(t,r){t&1&&f(0,"app-insurance-card-skeleton",3),t&2&&g("qtd",1)("fromDetail",!0)("fromCart",!1)}function Le(t,r){t&1&&f(0,"app-insurance-item-skeleton")}function Re(t,r){if(t&1){let a=O();c(0,"app-travel-insurance-card",8),P("disableButtons",function(n){x(a);let i=m();return M(i.disableButtons(n))}),s()}if(t&2){let a=m();g("product",a.product)("searchKey",a.travelInsuranceSearchKey)("fromDetail",!0)("fromCart",!1)("index",0)("buttonLoading",a.buttonLoading[0])("disableButtonSelectedInsurance",a.disableButtonSelectedInsurance)}}function Ve(t,r){if(t&1){let a=O();c(0,"div")(1,"app-travel-insurance-item",9),P("expandItem",function(n){x(a);let i=m(2);return M(i.onExpandItem(n))}),s()()}if(t&2){let a=r.$implicit,e=m(2);o(),g("groupTitle",a.group)("itemsWithState",a.items)("expandedItemExter
1nalId",e.expandedItemExternalId)}}function je(t,r){if(t&1&&(c(0,"div",5),E(1,Ve,2,3,"div",null,w),s()),t&2){let a=m();o(),D(a.groupedInsuranceWithState)}}function $e(t,r){t&1&&f(0,"app-travel-insurance-not-found")}function Ae(t,r){if(t&1){let a=O();c(0,"button",18),P("click",function(){x(a);let n=m(2);return M(n.onSelectInsurance(n.product))}),h(1),I(2,"translate"),s()}if(t&2){let a=m(2);g("disabled",a.disableButtonSelectedInsurance),o(),_(" ",k(2,2,"ti.detail.buy")," ")}}function He(t,r){t&1&&(c(0,"button",17),h(1),I(2,"translate"),s()),t&2&&(o(),_(" ",k(2,1,"loader.carring")," "))}function Ue(t,r){if(t&1&&(c(0,"app-floating-box",6)(1,"div",10)(2,"div",11)(3,"span",12),h(4),I(5,"translate"),s(),c(6,"span",13),h(7),I(8,"currencyFormat"),s(),c(9,"span",14),h(10),I(11,"currencyFormat"),c(12,"span",15),h(13),I(14,"translate"),s()()(),u(15,Ae,3,4,"button",16),u(16,He,3,3,"button",17),s()()),t&2){let a=m();g("footerSelector","app-footer")("size",null),o(4),_(" ",k(5,8,"ti.detail.priceLabel")," "),o(3),_(" ",W(8,10,a.product==null?null:a.product.price,a.currencie.country)," "),o(3),_(" ",W(11,13,a.pricePerDay,a.currencie.country)," "),o(3),_(" ",k(14,16,"ti.detail.perDay")," "),o(2),p(a.buttonLoading[1]?-1:15),o(),p(a.buttonLoading[1]?16:-1)}}var Ft=(()=>{let r=class r extends ie{constructor(e,n,i,l,C,d,Pe,ke){super(e),this.travelInsuranceService=n,this.travelInsuranceStateService=i,this.searchBookingService=l,this.affiliateTrackingService=C,this.navigationService=d,this.webSocketService=Pe,this.travelInsuranceBookingService=ke,this.backButtonWhereTo=ae.INSURANCE_LIST,this.mobileDevice=!1,this.insuranceItems=[],this.pricePerDay="\u2014",this.loadSearch=!1,this.productNotFound=!1,this.groupedInsuranceWithState=[],this.expandedItemExternalId=null,this.webSocketCarResponseStatusEnded=!1,this.searchTimeout=null,this.buttonLoading=[],this.disableButtonSelectedInsurance=!1,this.travelInsuranceSearch$=this.travelInsuranceStateService.travelInsuranceSearchStateChanges(),this.travelInsuranceSearch$.subscribe(L=>{L&&(this._travelInsuranceSearch=L)})}ngOnInit(){this.route.queryParams.subscribe(e=>v(this,null,function*(){e=le.parser(y({},e));let n={ages:JSON.parse(e.ages),destination:JSON.parse(e.destination),startDate:e.startDate,endDate:e.endDate};n&&(this._travelInsuranceSearch=n,this.travelInsuranceStateService.updateTravelInsuranceSearchState(n),this.loadSearch=!0),this.sourceType=e.source,e.uuid&&(this.uuid=e.uuid),e.searchKey&&(this.travelInsuranceSearchKey=e.searchKey),e.externalId&&(this.externalId=e.externalId),this.uuid&&this.travelInsuranceSearchKey&&this.getInsuranceById(this.uuid,this.travelInsuranceSearchKey),this.searchBookingService.getSearchBookingKey()||this.searchBookingService.saveSearchTravelInsurance(this._travelInsuranceSearch).subscribe(l=>v(this,null,function*(){sessionStorage.setItem("searchBookingKey",l.data)}))}))}getInsuranceById(e,n){this.travelInsuranceService.travelInsuranceDetail(n,e).subscribe({next:i=>{if(i){this.product=i;let l=this.calculateDays(this.product.startDate,this.product.endDate);this.pricePerDay=l>0?(this.product.price/l).toFixed(2):"\u2014",this.buildGroupedInsuranceWithState()}else this.productNotFound=!0},error:i=>{this.connectWebSocket()}})}connectWebSocket(){return v(this,null,function*(){this.webSocketCarResponseStatusEnded=!1,this.productNotFound=!1;let e=S(y({},this._travelInsuranceSearch),{destination:this._travelInsuranceSearch.destination.id,externalId:this.externalId.toString()}),n=S(y({},e),{destination:String(e.destination),externalId:String(this.externalId)});this.searchBookingService.saveSearchTravelInsurance(this._travelInsuranceSearch).subscribe(i=>{sessionStorage.setItem("searchBookingKey",i.data)}),this.travelInsuranceService.travelInsuranceSearchKeySingle(n).subscribe({next:i=>v(this,null,function*(){let l=i.searchKey;this.travelInsuranceSearchKey=l,this.webSocketInsuranceSubscription$?.unsubscribe(),yield this.webSocketService.close();let C={action:"OnSubscribe",SubscriptionKey:l,GetLastMessage:!0};this.webSocketService.connect(ue.INSURANCE),this.webSocketInsuranceSubscription$=j(()=>this.webSocketService.sendMessage(C)).pipe(V(d=>String(d?.data??"").replace(/"/g,"")),K(()=>this.searchTimeout?.noteMessage()),$(d=>d===N.ENDED),H(d=>d!==N.ENDED,!0),A(d=>v(this,null,function*(){return d===N.ENDED&&(yield this.finalizeEndedState()),d}))).subscribe({error:d=>v(this,null,function*(){this.productNotFound=!0,yield this.webSocketService.close(),this.closeWebSocketConnection()})}),this.startSearchTimeout()}),error:i=>{console.error(i),this.productNotFound=!0}})})}getInsuranceSingleByExternalId(){this.travelInsuranceService.travelInsuranceDetailSingle(this.travelInsuranceSearchKey,this.externalId).subscribe({next:e=>{if(e){this.product=e;let n=this.calculateDays(this.product.startDate,this.product.endD
1ate);this.pricePerDay=n>0?(this.product.price/n).toFixed(2):"\u2014",this.buildGroupedInsuranceWithState()}else this.productNotFound=!0},error:e=>{this.productNotFound=!0}})}startSearchTimeout(){this.searchTimeout?.stop(),this.searchTimeout=new ve(r.SILENCE_MS,r.TOTAL_MS,r.MAX_SILENCE_RECONNECTS,{onSilence:()=>this.onSearchSilence(),onForceEnded:()=>{this.onSearchForceEnded()}}),this.searchTimeout.start()}onSearchSilence(){this.webSocketCarResponseStatusEnded||this.webSocketService.forceReconnect("insurance-detail-silence")}onSearchForceEnded(){return v(this,null,function*(){if(!this.webSocketCarResponseStatusEnded)try{yield this.finalizeEndedState()}catch{this.productNotFound=!0,this.closeWebSocketConnection()}finally{this.webSocketInsuranceSubscription$?.unsubscribe()}})}finalizeEndedState(){return v(this,null,function*(){this.webSocketCarResponseStatusEnded||(this.webSocketCarResponseStatusEnded=!0,yield R(this.travelInsuranceService.travelInsuranceDetailSingle(this.travelInsuranceSearchKey,this.externalId).pipe(K(e=>{if(e){this.product=e;let n=this.calculateDays(this.product.startDate,this.product.endDate);this.pricePerDay=n>0?(this.product.price/n).toFixed(2):"\u2014",this.buildGroupedInsuranceWithState()}else this.productNotFound=!0}))),yield this.webSocketService.close(),this.webSocketService.forgetSubscription(this.travelInsuranceSearchKey),this.searchTimeout?.stop())})}closeWebSocketConnection(){return v(this,null,function*(){this.searchTimeout?.stop(),this.webSocketInsuranceSubscription$?.unsubscribe(),yield this.webSocketService?.close()})}calculateDays(e,n){let i=new Date(e),C=new Date(n).getTime()-i.getTime();return Math.ceil(C/(1e3*60*60*24))+1}onExpandItem(e){this.expandedItemExternalId=this.expandedItemExternalId===e?null:e}buildGroupedInsuranceWithState(){if(!this.product?.coverages?.length){this.groupedInsuranceWithState=[];return}let e={};this.product.coverages.forEach(n=>{let i=(n.group??"Outros").trim(),l=S(y({},n),{expanded:!1});e[i]||(e[i]={items:[],groupOrderHighlight:n.orderHighlight??9999}),e[i].items.push(l);let C=e[i].groupOrderHighlight,d=n.orderHighlight??9999;e[i].groupOrderHighlight=Math.min(C,d)}),this.groupedInsuranceWithState=Object.entries(e).map(([n,{items:i,groupOrderHighlight:l}])=>({group:n,items:i.sort((C,d)=>C.order-d.order),groupOrderHighlight:l})).sort((n,i)=>n.groupOrderHighlight-i.groupOrderHighlight)}onSelectInsurance(e){let n=this.searchBookingService.getSearchBookingKey();this.disableButtons(1);let i={insurance:{searchKey:this.travelInsuranceSearchKey,uuid:e.uuid},searchBookingKey:n,affiliateTag:this.affiliateTrackingService.getAffiliateTag()};this.travelInsuranceBookingService.setBookingTravelInsurance(i).subscribe({next:l=>{sessionStorage.removeItem("searchBookingKey"),setTimeout(()=>{this.navigationService.navigation(["/travel-insurance-cart"],{newCartId:l.data,source:de.INSURANCE})},100)},error:l=>{this.notificationService.snackError(this.translate.instant(re.UNEXPECTED_ERROR))}})}disableButtons(e){this.disableButtonSelectedInsurance=!0,this.buttonLoading[e]=!0}};r.SILENCE_MS=3e4,r.TOTAL_MS=6e4,r.MAX_SILENCE_RECONNECTS=1,r.\u0275fac=function(n){return new(n||r)(b(U),b(pe),b(me),b(se),b(oe),b(ce),b(_e),b(be))},r.\u0275cmp=T({type:r,selectors:[["app-travel-insurance-detail"]],features:[X],decls:10,vars:10,consts:[[1,"container"],["app-back-button","",3,"text","whereTo"],["appearance","outlined",1,"search"],[3,"qtd","fromDetail","fromCart"],[3,"product","searchKey","fromDetail","fromCart","index","buttonLoading","disableButtonSelectedInsurance"],[1,"insurance-items"],[3,"footerSelector","size"],[3,"openedCollapse","openSearchNewWindow","loadInsuranceSearchFlag","buttonType"],[3,"disableButtons","product","searchKey","fromDetail","fromCart","index","buttonLoading","disableButtonSelectedInsurance"],[3,"expandItem","groupTitle","itemsWithState","expandedItemExternalId"],[1,"insurance-box"],[1,"insurance-box__price-info"],[1,"insurance-box__label"],[1,"insurance-box__total"],[1,"insurance-box__per-day"],[1,"day"],["matButton","filled","type","button",1,"btn-tertiary","insurance-box__button",3,"disabled"],["matButton","filled","type","button","disabled","",1,"btn-tertiary"],["matButton","filled","type","button",1,"btn-tertiary","insurance-box__button",3,"click","disabled"]],template:function(n,i){n&1&&(c(0,"div",0),f(1,"div",1),u(2,Ne,1,0,"app-insurance-search-skeleton"),u(3,Ke,2,4,"mat-card",2),u(4,We,1,3,"app-insurance-card-skeleton",3),u(5,Le,1,0,"app-insurance-item-skeleton"),u(6,Re,1,7,"app-travel-insurance-card",4),u(7,je,3,0,"div",5),u(8,$e,1,0,"app-travel-insurance-not-found"),u(9,Ue,17,18,"app-floating-box",6),s()),n&2&&(o(),g("text","back-buttons.home")("whereTo",i.backButtonWhereTo),o(),p(i.loadSearch?-1:2),o(),p(i.loadSearch?3:-1),o(),p(!i.product&&!i.productNotFound?4:-1),o(),p(!i.product&&!i.productNotFound?5:-1),o(),p(i.product&&!i.productNotFound?6:-1),o(),p(i.product&&!i.productNotFound?7:-1),o(),p(i.productNotFound?8:-1),o(),p(i.product?9:-1))},dependencies:[fe,Oe,B,he,ee,ne,Ce,Ie,xe,Me,Y,Se,ge,F,Z,te],styles:['@charset "UTF-8";.progress[_ngcontent-%COMP%]{margin-top:1rem}.search[_ngcontent-%COMP%]{margin:1rem 0}div[app-back-button][_ngcontent-%COMP%]:not([style*="display: none"]) + .search[_ngcontent-%COMP%]{margin-top:.2rem}.insurance-items[_ngcontent-%COMP%]{margin-bottom:130px}.insurance-box[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%}.insurance-box__price-info[_ngcontent-%COMP%]{display:flex;flex-direction:column}.insurance-box__label[_ngcontent-%COMP%]{font-weight:700;
1color:#777;font-size:var(--type-label-large-size);line-height:var(--type-label-large-line-height);letter-spacing:var(--type-label-large-tracking)}@media(max-width:63.9375em){.insurance-box__label[_ngcontent-%COMP%]{font-size:var(--type-label-medium-size);line-height:var(--type-label-medium-line-height);letter-spacing:var(--type-label-medium-tracking)}}@media(max-width:39.9375em){.insurance-box__label[_ngcontent-%COMP%]{font-size:var(--type-label-small-size);line-height:var(--type-label-small-line-height);letter-spacing:var(--type-label-small-tracking)}}.insurance-box__total[_ngcontent-%COMP%]{font-weight:700;color:#222;font-size:var(--type-headline-small-size);line-height:var(--type-headline-small-line-height);letter-spacing:var(--type-headline-small-tracking)}@media(max-width:63.9375em){.insurance-box__total[_ngcontent-%COMP%]{font-size:var(--type-title-large-size);line-height:var(--type-title-large-line-height);letter-spacing:var(--type-title-large-tracking)}}@media(max-width:39.9375em){.insurance-box__total[_ngcontent-%COMP%]{font-size:var(--type-title-medium-size);line-height:var(--type-title-medium-line-height);letter-spacing:var(--type-title-medium-tracking)}}.insurance-box__per-day[_ngcontent-%COMP%]{font-weight:700;color:#777;font-size:var(--type-label-large-size);line-height:var(--type-label-large-line-height);letter-spacing:var(--type-label-large-tracking)}@media(max-width:63.9375em){.insurance-box__per-day[_ngcontent-%COMP%]{font-size:var(--type-label-medium-size);line-height:var(--type-label-medium-line-height);letter-spacing:var(--type-label-medium-tracking)}}@media(max-width:39.9375em){.insurance-box__per-day[_ngcontent-%COMP%]{font-size:var(--type-label-small-size);line-height:var(--type-label-small-line-height);letter-spacing:var(--type-label-small-tracking)}}.insurance-box__per-day[_ngcontent-%COMP%] .day[_ngcontent-%COMP%]{font-weight:400;color:#777;font-size:var(--type-label-medium-size);line-height:var(--type-label-medium-line-height);letter-spacing:var(--type-label-medium-tracking)}@media(max-width:63.9375em){.insurance-box__per-day[_ngcontent-%COMP%] .day[_ngcontent-%COMP%]{font-size:var(--type-label-medium-size);line-height:var(--type-label-medium-line-height);letter-spacing:var(--type-label-medium-tracking)}}@media(max-width:39.9375em){.insurance-box__per-day[_ngcontent-%COMP%] .day[_ngcontent-%COMP%]{font-size:var(--type-label-small-size);line-height:var(--type-label-small-line-height);letter-spacing:var(--type-label-small-tracking)}}']});let t=r;return t})();export{Ft as TravelInsuranceDetailComponent};
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.