PageSourceSearch

https://www.museuoscarniemeyer.org.br/_next/static/chunks/pages/fale-conosco-11b726e7468fcb87.js

js museuoscarniemeyer.org.br collected 2026-10-02 08:04:59 UTC 10,089 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1521],{83026:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/fale-conosco",function(){return n(56817)}])},56817:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return W},default:function(){return A}});var r=n(85893),o=n(14137),i=n(20010),a=n(68527),l=n(10894),s=n(94090),c=n(74776),u=n(94100),d=n(92990),m=n(34051),p=n.n(m),f=n(43238),h=n(79762),x=n(4612),g=n(15193),b=n(12594),v=n(87536);function j(e){return'\n    <div style="max-width: 700px; margin: 2rem 1rem; font-family:sans-serif; line-height: 1; color: black">\n      <div style="margin-bottom: 4rem">\n        <h1 style="margin-bottom: 1rem">MON - Fale Conosco</h1>\n        <p>Resposta do formul\xe1rio - '.concat(new Intl.DateTimeFormat("pt-BR",{dateStyle:"short",timeStyle:"short",timeZone:"America/Sao_Paulo"}).format(new Date),'</p>\n      </div>\n\n      <hr />\n      <div style="margin-bottom: 4rem">\n        ').concat(e.map((function(e,t){return'\n            <div style="margin-bottom: 1.25rem; padding: 1.5rem; background-color: #f4f4f4">\n              <h4 style="margin: 0 0 1rem; font-size: 0.875rem; font-weight: bold; letter-spacing: 0.5px;text-transform: uppercase;">\n                '.concat((t+1).toString().padStart(2,"0"),". ").concat(e.label,'</h4>\n              <div style="font-size: 1.25rem; line-height: 1.5">\n                <p style="margin: 0">').concat(e.value,"</p>\n              </div>\n            </div>\n          ")})).join(""),"\n      </div>\n    </div>\n  ")}var y=n(55977);function k(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(c){return void n(c)}l.done?t(s):Promise.resolve(s).then(r,o)}function w(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){k(i,r,o,a,l,"next",e)}function l(e){k(i,r,o,a,l,"throw",e)}a(void 0)}))}}function S(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(c){return void n(c)}l.done?t(s):Promise.resolve(s).then(r,o)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){T(e,t,n[t])}))}return e}var O=function(e){var t=e.data,n=t.departments.map((function(e){return{value:e.department,label:e.department}})),o=(0,f.pm)(),i=(0,v.cI)({mode:"onChange"}),l=i.register,s=i.handleSubmit,c=i.reset,u=i.formState,d=i.setValue,m=function(e){var t=e.onSuccess,n=e.onError,r=function(){var e=w(p().mark((function e(r){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y.hi.post("/talk-to-us/create",{name:r.name,email:r.email,phone:r.phone,subject:r.subject,message:r.message,department:r.department}).then(w(p().mark((function e(){var n,o,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=[{label:"Nome",value:r.name},{label:"Email",value:r.email},{label:"Telefone",value:r.phone},{label:"Departamento",value:r.department},{label:"Assunto",value:r.subject},{label:"Mensagem",value:r.message}],o=["[email protected]"],i=j(n),e.next=5,y.hi.post("/email",{formRef:"talk-to-us",formTitle:"Fale Conosco",to:o,html:i});case 5:t();case 6:case"end":return e.stop()}}),e)})))).catch((function(){n()}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{save:r}}({onSuccess:function(){o({position:"top",status:"success",title:"Mensagem enviada com sucesso!",duration:5e3,isClosable:!0}),c()},onError:function(){return o({position:"top",status:"error",title:"Erro ao enviar mensagem!",duration:5e3,isClosable:!0})}}).save,k=function(e){(null===e||void 0===e?void 0:e.value)&&d("department",e.value,{shouldDirty:!0,shouldValidate:!0})},T=function(){var e,t=(e=p().mark((function e(t){var n,r,o,i,a,l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.name,r=t.email,o=t.phone,i=t.subject,a=t.message,l=t.department,e.next=3,m({name:n,email:r,phone:o,subject:i,message:a,department:l});case 3:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){S(i,r,o,a,l,"next",e)}function l(e){S(i,r,o,a,l,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,r.jsx)(a.xu,{w:"full",as:"section",id:"talk-to-us-form",children:(0,r.jsx)("form",{onSubmit:s(T),children:(0,r.jsxs)(a.W2,{textAlign:"center",children:[(0,r.jsx)(a.xv,{textAlign:"left",marginBottom:12,textStyle:"h3",children:t.formTitle}),(0,r.jsx)(a.xu,{marginBlockEnd:12,children:t.formFields.map((function(e){var t,o,i,a;return"text"===e.type?(0,r.jsxs)(h.NI,{marginBottom:6,children:[(0,r.jsx)(h.lX,{lineHeight:1.2,marginBottom:0,textStyle:"tag",children:e.formFieldTitle}),(0,r.jsx)(x.II,C({type:"email"===e.key?"email":null!==(t=e.inputType)&&void 0!==t?t:"text",borderBottomWidth:1,borderColor:"neutral.dark",borderX:"none",borderTop:"none",borderRadius:0,placeholder:null!==(o=null===e||void 0===e?void 0:e.formFieldHint)&&void 0!==o?o:""},l(null!==(i=e.key)&&void 0!==i?i:"",{required:!0})))]},e.formFieldTitle):"dropdown"===e.type?(0,r.jsxs)(h.NI,{marginBottom:6,children:[(0,r.jsx)(h.lX,{lineHeight:1.2,marginBottom:0,textStyle:"tag",children:e.formFieldTitle}),(0,r.jsx)(b.ZP,C({},l(null!==(a=e.key)&&void 0!==a?a:"",{required:!0}),{options:n,placeholder:(null===e||void 0===e?void 0:e.formFieldHint)||"",styles:{control:function(e){return C({},e,{borderWidth:0,borderBottomWidth:1,borderColor:"#7A7A7A",borderRadius:0,position:"relative",textAlign:"left"})},menu:function(e){return C({},e,{marginTop:0,borderBottomColor:"var(--chakra-colors-primary-regular)",borderBottomWidth:"2px"})},menuList:function(e){return C({},e,{marginTop:0,paddingTop:0,maxHeight:"400px"})},option:function(e,t){return C({},e,{paddingBlock:"0.75rem",backgroundColor:t.isFocused?"var(--chakra-colors-neutral-lighter)":"white",color:"black",fontWeight:600,textAlign:"left"})},indicatorSeparator:function(){return{display:"none"}},dropdownIndicator:function(e,t){return C({}
1,e,{color:"black",rotate:t.isFocused?"180deg":"0deg"})}},onChange:k}))]},e.formFieldTitle):void 0}))}),(0,r.jsx)(g.zx,{width:"100%",maxWidth:252,type:"submit",disabled:!u.isDirty&&!u.isValid,children:t.transSubmitButton})]})})})},B=n(14649),_=n(83011),F=function(e){var t=e.locale,n=e.data;return(0,r.jsxs)(a.xu,{children:[(0,r.jsx)(u.HeaderTitleSection,{image:n.headerImage,title:n.pageTitle,description:n.description,items:[{label:n.transAbout||"",link:(0,_.k)({lang:t,type:"about"})},{label:n.pageTitle||"",isCurrent:!0}]}),(0,r.jsx)(a.W2,{display:"flex",flexDirection:"column",position:"relative",paddingTop:{base:8,lg:20},paddingBottom:{base:6,lg:10},paddingX:{base:0,lg:0},maxW:{base:"100% - 32px",xl:"1152px"},children:(0,r.jsxs)(a.MI,{width:"full",gap:{base:12,lg:32},columns:{base:1,lg:2},maxWidth:1112,paddingBottom:24,justifyContent:"space-between",children:[(0,r.jsx)(a.kC,{paddingBottom:8,w:"full",children:(0,r.jsx)(O,{data:n})}),(0,r.jsx)(a.kC,{children:(0,r.jsxs)(a.W2,{children:[(0,r.jsxs)(a.kC,{direction:"column",marginLeft:6,children:[(0,r.jsx)(a.xv,{as:"h4",textStyle:"h4",color:"black",lineHeight:2,children:n.transMuseumName}),(0,r.jsx)(c.v,{field:n.addressInfo})]}),(0,r.jsx)(a.kC,{direction:"column",children:(0,r.jsx)(c.wK,{field:n.faqLink,children:(0,r.jsx)(a.rU,{width:"100%",maxWidth:"536px",_hover:{textDecoration:"none"},children:(0,r.jsx)(a.kC,{marginRight:{base:-4,lg:0},gap:{base:1,lg:2},background:"neutral.lighter",flexDirection:"column",position:"relative",padding:{base:8},height:"fit-content",marginY:16,children:(0,r.jsxs)(a.xu,{position:"relative",width:"100%",as:"section",marginBottom:{lg:2},children:[(0,r.jsx)(a.xv,{as:"small",textStyle:"primary",color:"black",children:n.transConsultSession}),(0,r.jsx)(a.xv,{as:"h4",textStyle:"h3",color:"black",maxWidth:"300px",pr:12,children:n.transFaqTalkToUs}),(0,r.jsx)(l.JO,{as:d._,color:"black",fontSize:"2xl",position:"absolute",right:{base:0,lg:10},bottom:{base:0,lg:10}})]})})})})}),(0,r.jsxs)(a.kC,{direction:"column",marginLeft:6,children:[(0,r.jsx)(a.xv,{textStyle:"h3",color:"black",marginBottom:6,children:n.transContactInfoTitle}),(0,r.jsx)(s.UQ,{allowMultiple:!0,allowToggle:!0,children:n.contactInfo.map((function(e){return(0,r.jsx)(s.Qd,{borderBottom:"none",children:function(t){var o,i=t.isExpanded;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s.KF,{paddingLeft:0,children:[(0,r.jsx)(a.xu,{flex:"1",textAlign:"left",py:4,children:(0,r.jsx)(a.xv,{textStyle:"h4",children:e.title})}),(0,r.jsx)(B._,{isOpen:i,position:"relative",bottom:0,right:0,color:"currentColor"})]}),(0,r.jsxs)(s.Hk,{pb:4,paddingLeft:0,children:[(0,r.jsx)(c.v,{field:e.description}),(0,r.jsxs)(a.xv,{marginTop:4,children:[n.transEmail,":"," ",(0,r.jsx)(a.xu,{display:(null===(o=e.email)||void 0===o?void 0:o.length)>1?"block":"inline-block",children:(0,r.jsx)(c.v,{field:e.email})})]}),(0,r.jsxs)(a.xv,{children:[n.transFone,":"," ",(0,r.jsx)(a.xu,{display:"inline-block",children:(0,r.jsx)(c.v,{field:e.phone})})]})]})]})}},e.title)}))})]})]})})]})})]})};function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){P(e,t,n[t])}))}return e}var W=!0,A=function(e){var t=e.locale,n=e.layout,a=e.seo,l=e.data;return(0,r.jsxs)(o.A,E({},n,{children:[(0,r.jsx)(i.p,E({},a)),(0,r.jsx)(F,{locale:t,data:l})]}))}}},function(e){e.O(0,[4672,4612,1846,3086,3238,2594,4137,6546,4100,9774,2888,179],(function(){return t=83026,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.