1import{a as u}from"./chunk-23LGZAAN.js";import{a as M}from"./chunk-RHUCFSJQ.js";import{a as v}from"./chunk-HG5CHN5K.js";import"./chunk-VPMZDGQ2.js";import{K as P,o as C}from"./chunk-XNZMQTYM.js";import"./chunk-GI65VDHJ.js";import"./chunk-UE6TEYQD.js";import{b}from"./chunk-W5YNDQA3.js";import{a as w}from"./chunk-IWSPSW5O.js";import{b as f}from"./chunk-LHG5GHGT.js";import{v as _}from"./chunk-ERR6X27Y.js";import{$b as p,Hc as x,Oa as c,Zb as m,b as s,eb as a,kc as r,rc as g,sd as l,tb as o,wc as h,zb as d}from"./chunk-5UMF6ZTD.js";import"./chunk-EQDQRRRY.js";function T(e,z){if(e&1&&r(0,"div",2),e&2){let t=h();x(t.domain),g("innerHTML",t.pageContent,a)}}function L(e,z){e&1&&r(0,"div",1)}var nt=(()=>{class e{constructor(t,n,i,O,y,R,D,I){this._staticPagesService=t,this._cd=n,this._translateService=i,this._sanitizer=O,this._routingHelper=y,this._bodyScrollService=R,this._browserRef=D,this._platformId=I,this._subscriptions=new s,this._eventListeners=[],this.domain=f.domain.toUpperCase()}ngOnInit(){this._setPageContent(),this._subscriptions.add(this._translateService.onLangChange.subscribe(t=>{t&&this._setPageContent()})),this.domain!=="CZ"&&this._routingHelper.goToMain()}ngOnDestroy(){this._removeEventListeners(),this._subscriptions.unsubscribe(),this._cd.detach()}ngAfterViewInit(){this._bodyScrollService.scrollToTop()}_setPageContent(){this._subscriptions.add(this._staticPagesService.getPageContent(M.ProcessingDataAgreements).subscribe(t=>{this.pageContent=this._sanitizer.bypassSecurityTrustHtml(t.content),this._cd.detectChanges(),this._setClickEvents()}))}_setClickEvents(){_(this._platformId)&&(this._removeEventListeners(),this._browserRef.getDocument()&&(this._browserRef.getDocument().getElementById("beginOrderFromShortText")&&this._addClickListener(this._browserRef.getDocument().getElementById("beginOrderFromShortText"),()=>{this._routingHelper.goToAddressPopup()}),this._browserRef.getDocument().getElementById("beginOrderFromLongText")&&this._addClickListener(this._browserRef.getDocument().getElementById("beginOrderFromLongText"),()=>{this._routingHelper.goToAddressPopup()}),this._browserRef.getDocument().getElementById("giftCardReadMoreText")&&this._addClickListener(this._browserRef.getDocument().getElementById("giftCardReadMoreText"),()=>{this._browserRef.getDocument().getElementById("giftCardReadMoreText").classList.toggle("d-none"),this._browserRef.getDocument().getElementById("giftCardDescription").classList.toggle("show-text")}),this._browserRef.getDocument().getElementById("isicAliveReadMoreText")&&this._addClickListener(this._browserRef.getDocument().getElementById("isicAliveReadMoreText"),()=>{this._browserRef.getDocument().getElementById("isicAliveReadMoreText").classList.toggle("d-none"),this._browserRef.getDocument().getElementById("isicAliveDescription").classList.toggle("show-text")}),this._browserRef.getDocument().getElementById("driveThruReadMoreText")&&this._addClickListener(this._browserRef.getDocument().getElementById("driveThruReadMoreText"),()=>{this._browserRef.getDocument().getElementById("driveThruReadMoreText").classList.toggle("d-none"),this._browserRef.getDocument().getElementById("driveThruDescription").classList.toggle("show-text")}),this._browserRef.getDocument().getElementById("timeLimitedOfferReadMoreText")&&this._addClickListener(this._browserRef.getDocument().getElementById("timeLimitedOfferReadMoreText"),()=>{this._browserRef.getDocument().getElementById("timeLimitedOfferReadMoreText").classList.toggle("d-none"),this._browserRef.getDocument().getElementById("timeLimitedOfferDescription").classList.toggle("show-text")})))}_addClickListener(t,n){t.addEventListener("click",n),this._eventListeners.push(()=>t.removeEventListener("click",n))}_removeEventListeners(){this._eventListeners.forEach(t=>t()),this._eventListeners=[]}static{this.\u0275fac=function(n){return new(n||e)(o(u),o(l),o(b),o(C),o(P),o(v),o(w),o(c))}}static{this.\u0275cmp=d({type:e,selectors:[["kfc-static-promotion-page"]],decls:2,vars:1,consts:[[3,"innerHtml","class"],[1,"empty-content"],[3,"innerHtml"]],template:function(n,i){n&1&&m(0,T,1,3,"div",0)(1,L,1,0,"div",1),n&2&&p(i.pageContent?0:1)},styles:["[_nghost-%COMP%] .promotions-container-cz{padding:0 50px}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz{background-color:#f7f4f3;padding:0 0 25px}}[_nghost-%COMP%] .promotions-container-cz h1{text-align:center;padding:90px 0 50px;font-weight:bolder}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz h1{font-size:27px;padding:50px 0 30px}}[_nghost-%COMP%] .promotions-container-cz .terms-conditions-container, [_nghost-%COMP%] .promotions-container-cz .cards-container{-webkit-box-shadow:0 3px 15px 0 rgba(128,87,77,.2);-moz-box-shadow:0 3px 15px 0 rgba(128,87,77,.2);box-shadow:0 3px 15px #80574d33}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){[_nghost-%COMP%] .promotions-container-cz .terms-conditions-container, [_nghost-%COMP%] .promotions-container-cz .cards-container{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border:1px solid #ccc}}[_nghost-%COMP%] .promotions-container-cz .terms-conditions-container, [_nghost-%COMP%] .promotions-container-cz .cards-container{background-color:#fff}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz .cards-container{margin:0 5px}}[_nghost-%COMP%] .promotions-container-cz .cards-container .card-element{display:flex;padding:100px}[_nghost-%COMP%] .promotions-container-cz .cards-container .card-element:not(:last-child){border-bottom:2px solid #f7f4f3}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz .cards-container .card-element{align-items:center;flex-direction:column;padding:40px 0 30px}}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .promotions-container-cz .cards-container .card-element{align-items:center;flex-direction:column;padding:40px 0}}[_nghost-%COMP%] .promotions-container-cz .cards-container .img-container{max-width:400px}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz .cards-container .img-container{margin:15px 0 30px}}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .promotions-container-cz .cards-container .img-container{margin-bottom:40px}}[_nghost-%COMP%] .promotions-container-cz .cards-container .img-container .card-image{max-width:360px;width:360px}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz .cards-container .img-container .card-image{width:250px}}[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content{padding:0 50px;margin-left:20px;
1display:flex;flex-direction:column;justify-content:center}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content{padding:0 20px;text-align:center;margin-left:0}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content{display:inline-block}}[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .bold{font-weight:700}[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .card-name{font-weight:700;margin-bottom:30px}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .card-name{font-size:25px}}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .card-name{font-size:35px;text-align:center;margin-bottom:0}}[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .description-text{font-size:20px;line-height:35px}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .description-text{font-size:18px;line-height:30px;margin-top:0}}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .description-text{font-size:23px;margin-top:30px;text-align:center}}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .short-text{margin-bottom:30px}}[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .action-buttons{text-align:center;margin:20px 0}[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .read-more{color:#ce0a06;font-size:16px;font-weight:700;margin-top:20px;display:flex;align-items:center;margin-bottom:0}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .read-more{justify-content:center}}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .read-more{font-size:20px;justify-content:center}}[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .read-more:hover{cursor:pointer;text-decoration:underline}[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .read-more svg{height:13px;width:20px;margin-left:8px;color:#1c1210}[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .read-more svg path{fill:#ce0a06}[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .hide-text{visibility:hidden;height:0;margin:0;opacity:0;transition:visibility 0s linear .8s,opacity .8s linear}[_nghost-%COMP%] .promotions-container-cz .cards-container .text-content .show-text{visibility:visible;height:auto;margin-top:50px;opacity:1;transition-delay:.2s}[_nghost-%COMP%] .promotions-container-cz .terms-conditions-container{margin:80px 0;padding:70px}@media screen and (max-width:767px){[_nghost-%COMP%] .promotions-container-cz .terms-conditions-container{margin:40px 5px;padding:20px}}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .promotions-container-cz .terms-conditions-container{margin:40px 0;padding:40px}}[_nghost-%COMP%] .promotions-container-cz .terms-conditions-container .terms-header{font-weight:bolder;font-size:20px;margin-bottom:30px}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .promotions-container-cz .terms-conditions-container .terms-header{font-size:24px;margin-bottom:25px}}[_nghost-%COMP%] .promotions-container-cz .terms-conditions-container .term-link{margin-bottom:20px}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .promotions-container-cz .terms-conditions-container .term-link{font-size:23px;margin-bottom:25px}}[_nghost-%COMP%] .promotions-container-cz .terms-conditions-container .term-link:last-child{margin-bottom:0}[_nghost-%COMP%] .btn-primary:not([disabled]){background-color:#8ea604!important;border-color:#8ea604!important}[_nghost-%COMP%] .btn-primary:not([disabled]):hover{background-color:#778b06!important;border-color:#778b06!important}"]})}}return e})();export{nt as StaticPromotionPageComponent};
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.