1import{a as F}from"./chunk-4BPATGB4.js";import{c as w,h as A,m as P,v as k,w as y}from"./chunk-GRUGAR3Z.js";import{a as B}from"./chunk-FN2KR7MD.js";import"./chunk-TLBT6NOH.js";import"./chunk-ZYY6AL2Y.js";import"./chunk-GI65VDHJ.js";import"./chunk-UE6TEYQD.js";import{c as T,d as O}from"./chunk-W5YNDQA3.js";import{b as D}from"./chunk-6UPYPU4G.js";import"./chunk-EFVQNVGF.js";import"./chunk-IWSPSW5O.js";import{b}from"./chunk-LHG5GHGT.js";import"./chunk-ERR6X27Y.js";import{Ec as M,Ic as s,Jc as l,Kc as _,Pc as x,Qc as E,Rc as S,ad as o,bd as a,ec as C,fc as t,gc as i,hc as u,jb as n,tb as h,uc as c,ya as f,zb as v}from"./chunk-5UMF6ZTD.js";import"./chunk-EQDQRRRY.js";var Q=(()=>{class p{constructor(g){this._deviceDetector=g,this.navigatePrev=new f,this.messageConfirmEvent=new f,this.cdnUrl=b.cdnUrl,this.files=[],this.isMobile=this._deviceDetector.isMobile()}onMessageConfirm(){this.messageConfirmEvent.emit({message:this.message,files:this.files})}onPrevButtonClick(){this.navigatePrev.emit(!0)}static{this.\u0275fac=function(m){return new(m||p)(h(D))}}static{this.\u0275cmp=v({type:p,selectors:[["kfc-message-step"]],outputs:{navigatePrev:"navigatePrev",messageConfirmEvent:"messageConfirmEvent"},decls:24,vars:25,consts:[[1,"px-3","px-md-0"],[1,"stepper-prev-button",3,"click"],[1,"icon-thin-arrow-left"],[1,"text-font-14-line-18","font-weight-500"],[1,"step-title","text-font-18-line-22","font-weight-700"],[1,"step-subtitle","text-font-16-line-24","font-weight-400"],[1,"contact-message-textarea"],["for","contactMessage",1,"text-font-12","font-weight-700"],["id","contactMessage","type","text",1,"form-control",3,"ngModelChange","ngModel","placeholder"],[1,"contact-message-letters","text-font-12"],[3,"fileChangeEvent"],[1,"d-flex","flex-column","flex-md-row","align-items-center","gap-4","mb-3","pb-2"],[3,"click","isDisabled","label","icon","align"]],template:function(m,e){m&1&&(t(0,"div",0)(1,"button",1),c("click",function(){return e.onPrevButtonClick()}),u(2,"i",2),t(3,"span",3),s(4),o(5,"translate"),i()(),t(6,"span",4),s(7),o(8,"translate"),i(),t(9,"span",5),s(10),o(11,"translate"),i(),t(12,"div",6)(13,"label",7),s(14),o(15,"translate"),i(),t(16,"textarea",8),o(17,"translate"),S("ngModelChange",function(r){return E(e.message,r)||(e.message=r),r}),i(),t(18,"span",9),s(19),i()(),t(20,"kfc-file-form",10),c("fileChangeEvent",function(r){return e.files=r}),i(),t(21,"div",11)(22,"kfc-button",12),o(23,"translate"),c("click",function(){return e.onMessageConfirm()}),i()()()),m&2&&(n(4),l(a(5,13,"CONTACT_FORM.PREVIOUS")),n(3),l(a(8,15,"CONTACT_FORM.MESSAGE.TITLE")),n(3),l(a(11,17,"CONTACT_FORM.MESSAGE.INFO")),n(4),l(a(15,19,"CONTACT_FORM.MESSAGE.LABEL")),n(2),x("ngModel",e.message),C("placeholder",a(17,21,"CONTACT.MESSAGE")),n(3),_("",(e.message==null?null:e.message.length)||"0","/10 000"),n(3),M("width",e.isMobile?"100%":"50%"),C("isDisabled",!e.message)("label",a(23,23,"CONTACT_FORM.MESSAGE.SEND_YOUR_FEEDBACK"))("icon","icon-thin-arrow-right")("align","left"))},dependencies:[y,w,A,k,P,O,B,F,T],styles:["[_nghost-%COMP%] .contact-message-textarea{position:relative}[_nghost-%COMP%] .contact-message-textarea label{text-transform:uppercase;margin-bottom:8px;color:#434343}[_nghost-%COMP%] .contact-message-textarea textarea{border:1px solid #DBDBDB;border-radius:2px;height:122px;padding:12px 16px;resize:none;font-size:16px;line-height:20px;margin-bottom:12px}[_nghost-%COMP%] .contact-message-textarea .contact-message-letters{position:absolute;bottom:12px;right:16px;color:#9e9e9e}"],changeDetection:0})}}return p})();export{Q as MessageStepComponent};
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.