1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[18],{"2wJV":function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat-hogar-protegido",function(){return n("NTkC")}])},NTkC:function(t,e,n){"use strict";n.r(e);var a=n("1OyB"),o=n("vuIU"),r=n("md7G"),c=n("foSv"),i=n("Ji7U"),l=n("q1tI"),s=n.n(l),u=n("8Kt/"),p=n.n(u),f=(n("XLQP"),n("TSYQ")),d=n.n(f),b=n("JW2v"),m=n("KQm4"),_=n("rePB"),g=(n("/MKj"),n("wQmL")),v=n("d/v1"),h=n("pJVQ"),y=n("HBUC"),O=n("S+vk"),j=n("zUH5"),N=n("OTyh"),x=s.a.createElement,B=Object(b.C)((function(t){return{root:{display:"flex",marginTop:t.spacing()}}}))((function(t){var e=t.list,n=t.classes;return x("div",{className:n.root},x(N.c,null,e.map((function(t,e){return x(N.b,{fullWidth:!0,variant:"outlined",color:"primary"},t.stringValue)}))))})),C=s.a.createElement,w=Object(b.C)((function(t){return{root:{display:"flex",marginBottom:t.spacing()},container:{display:"flex",flexDirection:"column",maxWidth:"80%"},container__left:{justifyContent:"flex-start"},container__right:{justifyContent:"flex-end"},container__bubble:{display:"flex",padding:t.spacing(),borderRadius:t.spacing()/2,background:t.palette.grey[200]},container__bubbleAlign:{},container__bubbleBoot:{background:"#efefef"},container__bubbleUser:{background:"#8f97b7",color:"#ffffff"}}}))((function(t){var e=t.children,n=t.boot,a=void 0===n||n,o=t.payload,r=void 0===o?null:o,c=t.classes;return C("div",{className:d()(c.root,a?c.container__left:c.container__right)},C("div",{className:d()(c.container)},C("div",{className:d()(c.container__bubble,a?c.container__bubbleBoot:c.container__bubbleUser)},C("div",{className:c.container__bubbleAlign},e)),r&&"BUTTON_LIST"===r.kind.stringValue&&C(B,{list:r.list.listValue.values})))})),k=n("wx14"),T=s.a.createElement,E=Object(b.C)((function(t){return{root:{display:"flex",height:"100%"}}}))((function(t){var e=t.classes,n=t.input,a=t.placeholder,o=t.ariaLabel;return T(y.i,Object(k.a)({},n,{className:e.root,placeholder:a,inputProps:{"aria-label":o}}))})),S=n("NsBw"),R=s.a.createElement;function V(t,e,n){return e=Object(c.a)(e),Object(r.a)(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,n||[],Object(c.a)(t).constructor):e.apply(t,n))}var J=function(t){function e(t){var n;return Object(a.a)(this,e),n=V(this,e,[t]),Object(_.a)(n,"init",(function(t){n.get(t)})),Object(_.a)(n,"get",(function(t){S.i.message(t).then((function(t){var e=t;e.boot=!0,n.add(e)})).catch((function(t){}))})),Object(_.a)(n,"add",(function(t){n.setState({messages:[].concat(Object(m.a)(n.state.messages),[t])})})),Object(_.a)(n,"handleSubmit",(function(t){var e=t;e.boot=!1,n.add(e),n.get(t.response),n.props.dispatch(Object(g.a)("ChatBot__Core","response",""))})),n.state={isTyping:!1,messages:[]},n}return Object(i.a)(e,t),Object(o.a)(e,[{key:"componentDidMount",value:function(){this.init("Hola")}},{key:"render",value:function(){var t=this.state.messages,e=this.props,n=e.classes,a=e.handleSubmit;e.invalid;return R(s.a.Fragment,null,R("div",{className:n.header},R(b.y,{component:"p",classes:{root:n.header__title}},"Hipotecario Seguros")),R("div",{className:n.body},t.map((function(t,e){return R(w,{key:e,boot:t.boot,payload:t.payload},t.response)}))),R("div",{className:n.footer},R("form",{noValidate:!0,onSubmit:a(this.handleSubmit),autoComplete:"off"},R("div",{className:n.footer__input},R("div",{className:n.footer__inputText},R(v.a,{component:E,placeholder:"Escribe un comentario...",name:"response",type:"text",required:!0})),R("div",{className:n.footer__inputActions},R(j.c,{color:"primary",className:n.iconButton,"aria-label":"directions"},R(O.mc,null)))))))}}])}(s.a.Component);J=Object(h.a)({form:"ChatBot__Core",validate:function(t){return{}},initialValues:{}})(J);var U=Object(b.C)((function(t){return{header:{padding:1.5*t.spacing(),background:t.palette.primary.main},header__title:{color:t.palette.common.white},body:{flex:1,padding:1.5*t.spacing(),background:t.palette.grey[100]},footer:{borderTop:"1px solid ".concat(t.palette.grey[200])}
1,footer__input:{display:"flex",alignItems:"center",paddingLeft:1.5*t.spacing(),paddingRight:1.5*t.spacing(),paddingTop:t.spacing()/2,paddingBottom:t.spacing()/2},footer__inputText:{flex:1}}}))(J),Q=s.a.createElement;function L(t,e,n){return e=Object(c.a)(e),Object(r.a)(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,n||[],Object(c.a)(t).constructor):e.apply(t,n))}var P=function(t){function e(){return Object(a.a)(this,e),L(this,e,arguments)}return Object(i.a)(e,t),Object(o.a)(e,[{key:"render",value:function(){var t=this.props.classes;return Q(b.y,{component:"div",className:t.root},Q(U,null))}}])}(s.a.Component),H=Object(b.C)((function(t){return{root:{display:"flex",height:"100%",flexDirection:"column"}}}))(P),I=n("OcYQ"),A=s.a.createElement;function D(t,e,n){return e=Object(c.a)(e),Object(r.a)(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,n||[],Object(c.a)(t).constructor):e.apply(t,n))}var K=function(t){function e(t){return Object(a.a)(this,e),D(this,e,[t])}return Object(i.a)(e,t),Object(o.a)(e,[{key:"render",value:function(){"".concat(I.a.title);return A(s.a.Fragment,null,A(p.a,null,A("meta",{name:"robots",content:"noindex, nofollow"})),A(H,null))}}])}(s.a.Component);e.default=K}},[["2wJV",0,1,2,8,9,6,7,3,5,4,12,11,10,13]]]);
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.