1import{a as S}from"./chunk-23LGZAAN.js";import{a as b}from"./chunk-RHUCFSJQ.js";import{a as R}from"./chunk-MNYANLQU.js";import{a as y}from"./chunk-HG5CHN5K.js";import{e as O}from"./chunk-DJMZWT4N.js";import"./chunk-ZBNCHSP7.js";import{b as M}from"./chunk-BQJY3FMY.js";import"./chunk-DKTYVUZB.js";import"./chunk-ZYY6AL2Y.js";import"./chunk-QKLLASJU.js";import"./chunk-ZNZ7HPSY.js";import"./chunk-TOYGKSYR.js";import"./chunk-E2VIPH2W.js";import"./chunk-VPMZDGQ2.js";import{K as P,w as _,y as v}from"./chunk-XNZMQTYM.js";import"./chunk-GI65VDHJ.js";import"./chunk-UE6TEYQD.js";import{b as w}from"./chunk-W5YNDQA3.js";import"./chunk-44UTOCO3.js";import"./chunk-6UPYPU4G.js";import"./chunk-EFVQNVGF.js";import{a as C}from"./chunk-IWSPSW5O.js";import"./chunk-LHG5GHGT.js";import{w as s}from"./chunk-ERR6X27Y.js";import{$b as h,Oa as p,Zb as l,b as d,eb as g,kc as r,rc as u,sd as f,tb as e,wc as x,zb as m}from"./chunk-5UMF6ZTD.js";import"./chunk-EQDQRRRY.js";function U(t,I){if(t&1&&r(0,"div",0),t&2){let i=x();u("innerHTML",i.pageContent,g)}}function B(t,I){t&1&&r(0,"div",1)}var _e=(()=>{class t{constructor(i,n,o,k,j,T,z,H,E,D,A,L){this._staticPagesService=i,this._route=n,this._cd=o,this._translateService=k,this._piwikService=j,this._router=T,this._uiHelperService=z,this._bodyScrollService=H,this._browserRef=E,this._routingHelper=D,this._seoService=A,this._platformId=L,this._subscriptions=new d,this._subscriptions.add(this._route.queryParams.subscribe(a=>{this._device=encodeURIComponent(a.view),this._lang=encodeURIComponent(a.language);let c=this._browserRef.getDocument().querySelector("body");this._device.toUpperCase()==="MOBILE"&&c&&c.classList.add("webView")}))}ngOnInit(){this._setRegulations(),this._translateService.onLangChange.subscribe(i=>{i&&this._setRegulations()}),s(this._platformId)&&this._seoService.setPageMetaTags(this._routingHelper.getRegulationsPath()),this._subscriptions.add(this._translateService.onLangChange.subscribe(()=>{s(this._platformId)&&this._seoService.setPageMetaTags(this._routingHelper.getRegulationsPath())})),this._piwikService.pushVirtualPageView(this._router.url,"Regulations")}ngOnDestroy(){this._subscriptions.unsubscribe()}ngAfterViewInit(){this._bodyScrollService.scrollToTop()}_setRegulations(){this._subscriptions.add(this._staticPagesService.getPageContent(b.TermsOfUse).subscribe(i=>{this.pageContent=i.content,this._cd.detectChanges(),this._uiHelperService.addExtensionNameAndStyles()}))}static{this.\u0275fac=function(n){return new(n||t)(e(S),e(_),e(f),e(w),e(O),e(v),e(R),e(y),e(C),e(P),e(M),e(p))}}static{this.\u0275cmp=m({type:t,selectors:[["kfc-regulations"]],decls:2,vars:1,consts:[[3,"innerHtml"],[1,"empty-content"]],template:function(n,o){n&1&&l(0,U,1,1,"div",0)(1,B,1,0,"div",1),n&2&&h(o.pageContent?0:1)},styles:['[_nghost-%COMP%] .empty-content{height:80vh;max-width:1080px;margin:110px auto;background-color:#f7f6f6}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .empty-content{height:17vh}}@media screen and (max-width:767px){[_nghost-%COMP%] .empty-content{height:90vh}}[_nghost-%COMP%] .regulations{max-width:1080px;margin:110px auto;background-color:#f7f6f6}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .regulations{padding:0 25px 25px}}@media screen and (max-width:767px){[_nghost-%COMP%] .regulations{margin-bottom:30px;display:flex;align-items:center;justify-content:space-around}}[_nghost-%COMP%] .regulations .regulations-title{margin:80px auto 120px;width:530px;text-align:center}@media screen and (max-width:767px){[_nghost-%COMP%] .regulations .regulations-title{padding:0 24px;margin:30px auto}}[_nghost-%COMP%] .regulations .regulations-title p{font-size:28px;font-weight:500;letter-spacing:.3px;line-height:36px;text-transform:uppercase;color:#e4002b}@media screen and (max-width:767px){[_nghost-%COMP%] .regulations .regulations-title p{font-size:16px;font-weight:500;letter-spacing:.3px;line-height:20px}}[_nghost-%COMP%] .regulations .regulations-title h1{font-size:40px;font-weight:700;letter-spacing:.3px;line-height:44px;text-align:center}@media screen and (max-width:767px){[_nghost-%COMP%] .regulations .regulations-title h1{font-size:20px;font-weight:700;letter-spacing:.3px;line-height:32px}}[_nghost-%COMP%] .regulations .regulations-docs, [_nghost-%COMP%] .regulations .other-docs{padding:0;display:flex;margin:0 auto 40px;width:100%;flex-direction:column;align-items:left}@media screen and (max-width:767px){[_nghost-%COMP%] .regulations .regulations-docs, [_nghost-%COMP%] .regulations .other-docs{margin:0 15px 30px}}[_nghost-%COMP%] .regulations .regulations-docs .header-name, [_nghost-%COMP%] .regulations .other-docs .header-name{margin-bottom:40px;font-size:28px;font-weight:700;letter-spacing:.3px;line-height:32px;text-transform:uppercase}@media screen and (max-width:767px){[_nghost-%COMP%] .regulations .regulations-docs .header-name, [_nghost-%COMP%] .regulations .other-docs .header-name{margin-bottom:10px;margin-left:15px;font-size:18px;font-weight:700;letter-spacing:.3px;line-height:28px}}[_nghost-%COMP%] .regulations .document-container{position:relative;margin:0 0 20px;padding:33px 24px 33px 114px;width:100%;min-height:136px;font-size:24px;font-weight:500;letter-spacing:.3px;line-height:28px;color:#475467;background-color:#fff;border-radius:16px;border:1px solid #EAECF0}@media screen and (max-width:767px){[_nghost-%COMP%] .regulations .document-container{padding:20px;margin:0 0 10px;width:calc(100vw - 24px);font-size:16px;font-weight:500;letter-spacing:.3px;line-height:20px;text-align:center}}[_nghost-%COMP%] .regulations .document-container .document-content{position:relative;display:flex;justify-content:space-between;align-items:center;width:100%}@media screen and (max-width:767px){[_nghost-%COMP%] .regulations .document-container .document-content{display:unset}}[_nghost-%COMP%] .regulations .document-container .document-content .document-name{margin:0 20px 0 0;display:inline-block;max-width:77%}@media screen and (max-width:767px){[_nghost-%COMP%] .regulations .document-container .document-content .document-name{max-width:100%;margin:0 0 10px}}[_nghost-%COMP%] .regulations .document-container .document-content .document-name i{display:block;font-size:20px}[_nghost-%COMP%] .regulations .document-container .document-content .document-format{display:none}[_nghost-%COMP%] .regulations .document-container .document-content .document-link{display:flex;justify-content:center;align-items:center;width:260px;min-width:260px;height:48px;padding-bottom:0;color:#fff;font-size:14px;font-weight:500;letter-spacing:.3px;line-height:18px;text-transform:uppercase;text-decoration:none!important;cursor:pointer;border-radius:24px;background-color:#8ea604;border:none;transition:color .3s ease}[_nghost-%COMP%] .regulations .document-container .document-content .document-link:hover{background-color:#728503}@media screen and (max-width:767px){[_nghost-%COMP%] .regulations .document-container .document-content .document-link{display:flex;width:100%;padding-top:5px;position:unset;right:unset}}[_nghost-%COMP%] .regulations .document-container:before{content:"";position:absolute;width:70px;height:70px;left:24px;top:calc(50% - 35px);background-color:#f4f6e6;border-radius:8px;background-image:url(https://amrestcdn.azureedge.net/kfc-web-ordering/assets/img/common/file.svg);background-position:center;background-repeat:no-repeat}@media screen and (max-width:767px){[_nghost-%COMP%] .regulations .document-container:before{display:none}}']})}}return t})();export{_e as RegulationsComponent};
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.