1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7311],{54092:function(n,t,e){e.d(t,{o:function(){return x}});var o=e(26042),r=e(69396),i=e(99534),a=e(828),l=e(35944),u=e(75746),c=e(87109),d=e(50135),s=e(26905),h=e.n(s),f=e(96486),m=e(67294),p=e(86893),v=e(7297),b=e(70917),g=e(16829),Z=e(417);function y(){var n=(0,v.Z)(["\n background: ",";\n .MuiOutlinedInput-notchedOutline {\n border: none;\n &:hover {\n border: none;\n }\n }\n .MuiOutlinedInput-root {\n &.Mui-focused fieldset {\n border: none;\n }\n }\n "]);return y=function(){return n},n}function B(){var n=(0,v.Z)(["\n background: ",";\n .MuiOutlinedInput-notchedOutline {\n border: 1px solid ",";\n &:hover:not(.Mui-focused) {\n border: 1px solid ",";\n }\n }\n .MuiOutlinedInput-root {\n &.Mui-focused fieldset {\n border: 2px solid ",";\n }\n }\n "]);return B=function(){return n},n}function C(){var n=(0,v.Z)(["\n border-radius: 0.5rem;\n & input {\n font-family: ",";\n font-size: 1rem;\n font-style: normal;\n font-weight: 500;\n line-height: 1.188rem;\n letter-spacing: 0em;\n text-align: left;\n }\n\n & input::placeholder {\n color: ",";\n opacity: 0.56;\n }\n\n & input:focus::placeholder {\n color: ",";\n opacity: 1;\n }\n\n & button {\n transform: rotate(0);\n }\n\n .MuiInputAdornment-root {\n color: ",";\n }\n\n .MuiAutocomplete-endAdornment {\n padding-right: 0.5rem;\n display: flex;\n align-items: center;\n position: absolute;\n right: 0;\n top: 50%;\n transform: translateY(-50%);\n }\n\n .MuiInputAdornment-positionEnd {\n cursor: pointer;\n opacity: 0.62;\n }\n\n .MuiOutlinedInput-notchedOutline {\n border-radius: 0.5rem;\n top: 0px;\n legend {\n display: none;\n }\n }\n\n ","\n"]);return C=function(){return n},n}var O=(0,g.default)(Z.Z)(C(),function(n){return n.theme.fontFamilyBase},function(n){return n.theme.neutralColorDarkPure},function(n){return n.theme.neutralColorDarkPure},function(n){return n.theme.neutralColorDarkPure},function(n){var t=n.bgColor,e=n.theme;return t?(0,b.css)(y(),e.neutralColorLightPure):(0,b.css)(B(),e.neutralColorLightHigh,e.neutralColorLightLow,e.neutralColorLightLow,e.neutralColorDarkPure)}),I=function(n,t){var e;return n?(e="string"==typeof n?n:n[t],"option_".concat((0,f.kebabCase)(e))):null},w=(0,u.D)({matchFrom:"start"}),S=(0,u.D)({matchFrom:"any"}),x=function(n){var t=n.bgColor,e=n.setIsVisible,u=void 0===e?function(){}:e,s=n.field,f=void 0===s?"label":s,v=n.placeholder,b=void 0===v?void 0:v,g=n.rightPopupIcon,Z=void 0===g?null:g,y=n.rightPopupIconActive,B=void 0===y?null:y,C=n.defaultValue,x=n.search,M=void 0===x?function(){}:x,T=n.inputValue,k=void 0===T?null:T,A=n.searchInput,P=void 0===A?null:A,_=n.clearOnBlur,N=n.clearSearch,D=void 0===N?null:N,R=n.showDataElem,z=void 0===R||R,E=n.filterByStartsWith,L=(0,i.Z)(n,["bgColor","setIsVisible","field","placeholder","rightPopupIcon","rightPopupIconActive","defaultValue","search","inputValue","searchInput","clearOnBlur","clearSearch","showDataElem","filterByStartsWith"]),V=(0,a.Z)((0,m.useState)(null),2),U=V[0],F=V[1],W=(0,m.useRef)(null),j=(0,l.tZ)(c.Z,{position:"start",sx:{marginLeft:"0.4375rem"},children:(0,l.tZ)(p.jRj,{size:19})}),H=function(n){if(n.preventDefault(),n.stopPropagation(),W.current){W.current.focus();var t=new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window});W.current.dispatchEvent(t)}};return(0,l.tZ)(O,(0,r.Z)((0,o.Z)({className:"search-autocomplete","data-testid":"search-autocomplete",disablePortal:!0,freeSolo:!0,fullWidth:!0,selectOnFocus:!0,noOptionsText:"",bgColor:void 0!==t&&t,value:void 0===C?null:C,clearOnBlur:void 0===_||_,onChange:function(n,t){M(t),F(t)},onInputChange:function(n,t){P&&(M(null),P(t),u&&u(t.length>0),""===t&&(D(),u(!1)))},renderOption:function(n,t){return(0,l.tZ)("li",(0,r.Z)((0,o.Z)({"data-testid":"search-autocomplete-option-".concat(n["data-option-index"])},n),{children:t["".concat(f)]}))}
1,filterOptions:!0===(void 0===E?null:E)?w:S},P&&{inputValue:k}),{options:L.data,getOptionLabel:function(n){return h()(n,"".concat(f),k||"")},renderInput:function(n){var t,e,i;return(0,l.tZ)(d.Z,(0,r.Z)((0,o.Z)({},n),{placeholder:b,inputRef:W,InputProps:(0,r.Z)((0,o.Z)({},n.InputProps),{startAdornment:j,endAdornment:(0,l.tZ)(l.HY,{children:(e=(null===(t=n.inputProps)||void 0===t?void 0:t["aria-expanded"])===!0,i=n.InputProps.endAdornment,Z?(0,l.tZ)("button",{type:"button",onClick:H,onMouseDown:function(n){return n.preventDefault()},style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",height:"100%",padding:"0 4px",border:"none",background:"transparent"},children:e?B:Z}):i)})}),onKeyDown:function(n){return"Enter"===n.code&&"function"==typeof L.searchButtonAction?L.searchButtonAction():null},"data-element":z?I(U,f):null}))},componentsProps:{paper:{sx:{margin:"0.125rem 0"}}}}))}},81913:function(n,t,e){e.d(t,{D:function(){return y}});var o=e(26042),r=e(69396),i=e(99534),a=e(35944),l=e(7297),u=e(70917),c=e(16829),d=e(11441);function s(){var n=(0,l.Z)(["\n color: ",";\n line-height: 120%;\n font-family: ",";\n\n ","\n "]);return s=function(){return n},n}function h(){var n=(0,l.Z)(["\n font-family: ",";\n font-style: normal;\n font-weight: 500;\n line-height: 120%;\n color: ",";\n margin: 0;\n\n ","\n "]);return h=function(){return n},n}var f=c.default.h3(function(n){var t,e,o,r,i=n.theme;return(0,u.css)(s(),(null===(t=i.title)||void 0===t?void 0:t.color)||i.neutralColorDarkPure,i.fontFamily,(0,d.zM)("font-size",[(null===(e=i.title)||void 0===e?void 0:null===(o=e.mobile)||void 0===o?void 0:o.fontSize)||"1.25rem",(null===(r=i.title)||void 0===r?void 0:r.fontSize)||"1.5rem"]))}),m=c.default.h2(function(n){var t,e,o,r=n.theme;return(0,u.css)(h(),r.fontFamily,(null===(t=r.title)||void 0===t?void 0:t.color)||r.neutralColorDarkPure,(0,d.zM)("font-size",[(null===(e=r.title)||void 0===e?void 0:null===(o=e.mobile)||void 0===o?void 0:o.fontSize)||"1.5rem","2rem"]))}),p=c.default.h1(function(n){var t,e,o,r;return"\n color: ".concat((null===(t=n.theme.title)||void 0===t?void 0:t.color)||n.theme.neutralColorDarkPure,";\n line-height: 115%;\n font-family: ").concat(n.theme.fontFamily,";\n font-size: ").concat((null===(e=n.theme.title)||void 0===e?void 0:e.fontSize)||"2rem"," ;\n\n @media (max-width: ").concat(d.dj.mobile,") {\n font-size: ").concat((null===(o=n.theme.title)||void 0===o?void 0:null===(r=o.mobile)||void 0===r?void 0:r.fontSize)||"3rem",";\n }\n")}),v=function(n){var t=n.theme,e=n.children,l=n.dataTestid,u=n.className,c=(0,i.Z)(n,["theme","children","dataTestid","className"]);return(0,a.tZ)(p,(0,r.Z)((0,o.Z)({theme:t,className:u},c),{"data-testid":l||"title",children:e}))},b=function(n){var t=n.theme,e=n.children,l=n.dataTestid,u=n.className,c=(0,i.Z)(n,["theme","children","dataTestid","className"]);return(0,a.tZ)(m,(0,r.Z)((0,o.Z)({theme:t,className:u},c),{"data-testid":l||"title",children:e}))},g=function(n){var t=n.theme,e=n.children,l=n.dataTestid,u=n.className,c=(0,i.Z)(n,["theme","children","dataTestid","className"]);return(0,a.tZ)(f,(0,r.Z)((0,o.Z)({theme:t,className:u},c),{"data-testid":l||"title",children:e}))},Z=function(n){switch(n.variant){case"h1":default:return v(n);case"h2":return b(n);case"h3":return g(n)}},y=function(n){return Z(n)}},3616:function(n,t,e){e.d(t,{U:function(){return B}});var o=e(26042),r=e(99534),i=e(828),a=e(35944),l=e(61730),u=e(67294),c=e(6350),d=e(15438),s=e(57813),h=e(11441),f=e(54092),m=e(7297),p=e(16829),v=e(7403);function b(){var n=(0,m.Z)(["\n border-radius: 0.5rem;\n max-width: ",";\n width: 100%;\n @media (min-width: ",") {\n max-width: 61.75rem;\n max-height: 3.5rem;\n display: flex;\n }\n"]);return b=function(){return n},n}function g(){var n=(0,m.Z)(["\n margin-top: 1rem;\n @media (min-width: ",") {\n margin-left: 1rem;\n margin-top: 0;\n width: fit-content;\n flex-grow: 0;\n float: right;\n }\n"]);return g=function(){return n},n}var Z=p.default.div(b(),h.eq.tablet,h.eq.tablet),y=(0,p.default)(v.r)(g(),h.eq.tablet),B=function(n){var t=n.bgColor,e=n.search,m=(void 0===(void 0===n.desktopButtonType&&c.B.PRIMARIO_BG_COLOR,n.tabletButtonType)&&c.B.PRIMARIO_GERAL,n.defaultValue),p=n.filterByStartsWith,v=(0,r.Z)(n,["bgColor","search","desktopButtonType","tabletButtonType","defaultValue","filterByStartsWith"]),b=(0,l.Z)("(max-width: ".concat(h.dj.mobile,")")),g=(0,i.Z)((0,u.useState)(!1),2),B=g[0],C=g[1];return(0,a.BX)(Z,{"data-testid":"search-field-component",children:[(0,a.tZ)(f.o,(0,o.Z)({bgColor:void 0!==t&&t,defaultValue:void 0===m?void 0:m,data:v.searchData,field:v.searchField,placeholder:v.searchTerm,search:void 0===e?function(){}:e,inputValue:v.inputValue,searchInput:v.searchInput,clearOnBlur:v.clearOnBlur,clearSearch:v.clearSearch,filterByStartsWith:void 0!==p&&p,setIsVisible:C},v)),b?(0,a.tZ)(y,{bgColor:!0,style:{display:B?"block":"none"},styleMode:c.B.SECONDARY,sizeMode:d.t.LG,disabled:!B&&v.disableButton,onClick:v.searchButtonAction,"data-element":s.x.SEARCH_BUTTON,"data-testid":"search-field-component-button",children:v.searchButtonLabel}):(0,a.tZ)(y,{bgColor:!0,styleMode:c.B.PRIMARY,sizeMode:d.t.LG,disabled:!B&&v.disableButton,onClick:v.searchButtonAction,"data-element":s.x.SEARCH_BUTTON,"data-testid":"search-field-component-button",children:v.searchButtonLabel})]})}},57813:function(n,t,e){var o,r;e.d(t,{x:function(){return o}}),(r=o||(o={})).SEARCH_BUTTON="button_pesquisar",r.SUBSCRIBE_BUTTON="button_inscreva-se",r.LINK_ABOUT_COURSE="link_sobre-o-curso",r.SHOW_MORE_BUTTON="button_mostrar-mais",Object.freeze(o)}}]);
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.