1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8362,4333,1593],{33003:function(e,t,n){"use strict";n.d(t,{f:function(){return r.f},Mx:function(){return k}}),n(87400);var r=n(15372),i=n(85893),a=n(67294);n(6063);var o=n(30381),l=n.n(o),d=n(76141),s=n(85444);n(76285),s.ZP.div.withConfig({componentId:"sc-8bf1c685-0"})([".CalendarDay{border:none;}.CalendarDay__selected{background:#ff7708;border-radius:50%;}.CalendarDay__default{&:hover{border-radius:50%;}}.CalendarMonth_caption{text-align:left;margin-left:12px;}.DayPickerNavigation_rightButton__horizontalDefault{background:url('/static/images/chevronRight.svg') no-repeat;border:none;margin-top:9px;svg{display:none;}&:hover{outline:none;}}.DayPickerNavigation_leftButton__horizontalDefault{background:url('/static/images/chevronLeft.svg') no-repeat;border:none;margin-top:9px;right:60px;left:auto;svg{display:none;}&:hover{outline:none;}}.DayPickerNavigation_button__default,.DayPickerNavigation_button__default{&:hover,&:focus,&:active{background-color:transparent;border:none;}}"]),n(65172);var c=n(2249),u=n(60526),p=n(34448),m=n(70377),h=n(36462);let k=e=>{let{handleDatesChange:t,startDate:n}=e,[r,o]=(0,a.useState)(!1),s=(0,a.useCallback)(()=>{o(e=>{let t=!e;return t&&(0,u.bc)(c.w.schedule.schedule_date_picker_shown),t})},[]),k=(0,a.useCallback)(e=>{(0,u.bc)(c.w.schedule.schedule_date_picker_save_clicked),t(e),o(!1)},[t]),w=(0,a.useCallback)(()=>{o(!1)},[]);return(0,i.jsxs)(f,{onClick:s,children:[(0,i.jsx)(x,{cy_id:"input-date",className:"date-picker",children:(0,i.jsxs)(p.Column,{className:"w-full pl-[3px]",children:[(0,i.jsx)(h.x,{variant:"small",className:"text-left text-orange-600",children:"Escolha uma data"}),(0,i.jsx)(g,{children:(0,i.jsx)(d.SingleDatePicker,{readOnly:!0,date:l()(n),onDateChange:k,focused:r,onFocusChange:w,noBorder:!0,displayFormat:"[A partir do dia] DD/MM",id:"startDate",numberOfMonths:1,hideKeyboardShortcutsPanel:!0})})]})}),(0,i.jsx)(m.ThinChevron,{height:"16px",variant:r?"down":"top"})]})},f=(0,s.ZP)(p.Row).withConfig({componentId:"sc-6d953149-0"})(["cursor:pointer;border-radius:2px;margin-bottom:15px;align-items:center;background:white;border:0.5px solid #bdc3c7;border-radius:4px;height:55px;justify-content:space-between;padding-right:15px;@media (max-width:770px){margin:10px 0;width:100%;}"]),x=s.ZP.div.withConfig({componentId:"sc-6d953149-1"})(["display:flex;box-shadow:0;border:0;"]),g=s.ZP.div.withConfig({componentId:"sc-6d953149-2"})([".DateInput{width:100%;}.DateInput_input{width:100% !important;cursor:pointer !important;}.DateInput_fangStroke{display:none;}.DateInput_fangShape{display:none;}.DayPickerNavigation{top:0px !important;}.SingleDatePicker,.SingleDatePicker_1{width:100%;}.SingleDatePickerInput{width:100%;}.SingleDatePicker_picker{top:33px !important;left:25px !important;@media (max-width:425px){left:69px !important;}@media (max-width:375px){left:20px !important;}@media (max-width:360px){left:4px !important;}@media (max-width:320px){left:-13px !important;}}.DayPicker{width:313px !important;@media (max-width:320px){width:290px !important;}}.DayPicker_transitionContainer{width:313px !important;@media (max-width:320px){width:290px !important;}}.CalendarMonthGrid{@media (max-width:320px){left:0px !important;}}.DayPicker_weekHeader{@media (max-width:320px){left:-10px !important;}}.DayPicker_weekHeader_li{@media (max-width:320px){width:38px !important;}}.DayPicker_focusRegion{@media (max-width:320px){width:290px !important;}}"])},92763:function(e,t,n){"use strict";n.r(t);var r=n(85893),i=n(85444),a=n(34448),o=n(70377),l=n(98272),d=n(51874);let s=(0,i.ZP)(a.Row).withConfig({componentId:"sc-b4e23311-0"})(["cursor:pointer;height:16px;width:16px;"]);t.default=e=>{let{professional:t,isModalOpen:n,toggleModal:i}=e;return(0,r.jsx)(l.u,{isOpened:n,setIsOpened:i,children:e=>{let{innerModalRef:n}=e;return(0,r.jsxs)(a.Column,{ref:n,className:"max-h-auto w-full max-w-[970px] rounded-md bg-white px-3 py-[21px] shadow-[0px_2px_12px_#00000040] sm:px-8",children:[(0,r.jsx)(a.Row,{className:"justify-end",children:(0,r.jsx)(s,{onClick:i,children:(0,r.jsx)(o.Close,{size:14})})}),(0,r.jsx)(a.Row,{children:(0,r.jsx)(d.t,{professional:t,isModal:!0,toggleModal:i})})]})}})}},76285:function(e,t,n){"use strict";n.d(t,{du:function(){return a}});var r=n(30381),i=n.n(r);let a=e=>{if(!i()(e,"DD/MM/YYYY").isValid())return null;let t=i()(e,"DD/MM/YYYY");return i()().diff(t,"years")>=18}},85851:function(e,t,n){"use strict";var r=n(67294),i=n(19818),a=n(77258),o=new Map;o.set("bold",function(e){return r.createElement(r.Fragment,null,r.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))}),o.set("duotone",function(e){return r.createElement(r.Fragment,null,r.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}),o.set("fill",function(){return r.createElement(r.Fragment,null,r.createElement("path",{d:"M104,192a8.5,8.5,0,0,1-5.7-2.3l-56-56a8.1,8.1,0,0,1,11.4-11.4L104,172.7,210.3,66.3a8.1,8.1,0,0,1,11.4,11.4l-112,112A8.5,8.5,0,0,1,104,192Z"}))}),o.set("light",function(e){return r.createElement(r.Fragment,null,r.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))}),o.set("thin",function(e){return r.createElement(r.Fragment,null,r.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))}),o.set("regular",function(e){return r.createElement(r.Fragment,null,r.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))});var l=function(e,t){return(0,i._)(e,t,o)},d=(0,r.forwardRef)(function(e,t){return r.createElement(a.Z,Object.assign({ref:t},e,{renderPath:l}))});d.displayName="Check",t.Z=d},86286:function(e,t,n){"use strict";var r=n(67294),i=n(19818),a=n(77258),o=new Map;o.set("bold",function(e){return r.createElement(r.Fragment,null,r.createElement("path",{d:"M92.7,216H48a8,8,0,0,1-8-8V163.3a7.9,7.9,0,0,1,2.3-5.6l120-120a8,8,0,0,1,11.4,0l44.6,44.6a8,8,0,0,1,0,11.4l-120,120A7.9,7.9,0,0,1,92.7,216Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),r.createElement("line",{x1:"136",y1:"64",x2:"192",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))}),o.set("duotone",function(e){return r.createElement(r.Fragment,null,r.createElement("path",{d:"M136,64l56,56,26.3-26.3a8,8,0,0,0,0-11.4L173.7,37.7a8,8,0,0,0-11.4,0Z",opacity:"0.2"}),r.createElement("line",{x1:"136",y1:"64",x2:"192",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),r.createElement("path",{d:"M92.7,216H48a8,8,0,0,1-8-8V163.3a7.9,7.9,0,0,1,2.3-5.6l120-120a8,8,0,0,1,11.4,0l44.6,44.6a8,8,0,0,1,0,11.4l-120,120A7.9,7.9,0,0,1,92.7,216Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}),o.set("fill",function(){return r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,76.7,179.7,32.3a16.6,16.6,0,0,0-11.3-5A16,16,0,0,0,156.7,32L130.3,58.3h0L36.7,152A15.9,15.9,0,0,0,32,163.3V208a16,16,0,0,0,16,16H92.7a16.1,16.1,0,0,0,11.3-4.7l120-120A16.1,16.1,0,0,0,224,76.7Zm-32,32L147.3,64,168,43.3,212.7,88Z"}))}),o.set("light",function(e){return r.createElement(r.Fragment,null,r.createElement("path",{d:"M92.7,216H48a8,8,0,0,1-8-8V163.3a7.9,7.9,0,0,1,2.3-5.6l120-120a8,8,0,0,1,11.4,0l44.6,44.6a8,8,0,0,1,0,11.4l-120,120A7.9,7.9,0,0,1,92.7,216Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),r.createElement("line",{x1:"136",y1:"64",x2:"192",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))}),o.set("thin",function(e){return r.createElement(r.Fragment,null,r.createElement("path",{d:"M92.7,216H48a8,8,0,0,1-8-8V163.3a7.9,7.9,0,0,1,2.3-5.6l120-120a8,8,0,0,1,11.4,0l44.6,44.6a8,8,0,0,1,0,11.4l-120,120A7.9,7.9,0,0,1,92.7,216Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),r.createElement("line",{x1:"136",y1:"64",x2:"192",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))}),o.set("regular",function(e){return r.createElement(r.Fragment,null,r.createElement("path",{d:"M92.7,216H48a8,8,0,0,1-8-8V163.3a7.9,7.9,0,0,1,2.3-5.6l120-120a8,8,0,0,1,11.4,0l44.6,44.6a8,8,0,0,1,0,11.4l-120,120A7.9,7.9,0,0,1,92.7,216Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),r.createElement("line",{x1:"136",y1:"64",x2:"192",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))});var l=function(e,t){return(0,i._)(e,t,o)},d=(0,r.forwardRef)(function(e,t){return r.createElement(a.Z,Object.assign({ref:t},e,{renderPath:l}))});d.displayName="PencilSimple",t.Z=d},24654:function(){}}]); 2//# sourceMappingURL=8362.57b17f58c3e51581.js.map
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.