PageSourceSearch

https://dentalortholipe.vercel.app/_next/static/chunks/pages/login-fcab4945569466e8.js

js dentalortholipe.vercel.app collected 2026-10-03 06:41:42 UTC 35,992 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3459],{28898:function(e,n,t){e.exports=function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n||4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,(function(n){return e[n]}).bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}([function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},r=s(t(1)),l=s(t(2));function s(e){return e&&e.__esModule?e:{default:e}}var i=function(e){var n={CPF:"999.999.999-999",CNPJ:"99.999.999/9999-99"},t=u(n.CNPJ).length,l=e.onChange,s=e.type,i=u(e.value);function a(e){return e.length>11?"CNPJ":"CPF"}function c(e,n){var t="",o=0;return Array.from(e).forEach(function(e,r){n[r+o].match(/[0-9]/)||(t+=n[r+o],o++),t+=e}),t}function u(e){return e&&e.replace(/[^0-9]/g,"")}return i&&(i=c(i,n[a(i)])),r.default.createElement("input",o({},e,{type:s,value:i,onChange:function(e){var o=u(e.target.value),r=a(o);o.length>t||(o=c(o,n[r]),e.target.value=o,l(e,r))}}))};i.propTypes={value:l.default.string,onChange:l.default.func},i.defaultProps={type:"tel",value:"",onChange:function(){}},n.default=i},function(e,n){e.exports=t(67294)},function(e,n,t){e.exports=t(3)()},function(e,n,t){"use strict";var o=t(4);function r(){}function l(){}l.resetWarningCache=r,e.exports=function(){function e(e,n,t,r,l,s){if(s!==o){var i=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function n(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:l,resetWarningCache:r};return t.PropTypes=t,t}},function(e,n,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}])},36429:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return t(70304)}])},8548:function(e,n,t){"use strict";t.d(n,{g:function(){return l}});var o=t(85893),r=t(70474);let l=e=>{var n;let{fields:t,inputsRef:l,invalidMessages:s,handleChangeField:i,personKindWithoutDoc:a="",occupationDisabledPlaceholder:c="Preencha o campo CPF ou CNPJ"}=e,u=null===(n=t.doc)||void 0===n?void 0:n.length,d=14===u||18===u?u:"cpf"===a?14:"cnpj"===a?18:0,m=14!==d&&18!==d;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("select",{ref:null==l?void 0:l.occupation,className:"form-control",type:"select",name:"occupation",id:"occupation",value:t.occupation,onChange:e=>i(e,6),disabled:m,children:[m&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("option",{value:"",children:c})}),14===d&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("option",{value:"",children:"Selecione uma profiss\xe3o"}),(0,o.jsx)("option",{value:"medico",children:"M\xe9dico"}),(0,o.jsx)("option",{value:"enfermeiro",children:"Enfermeiro"}),(0,o.jsx)("option",{value:"estudante",children:"Estudante"}),(0,o.jsx)("option",{value:"cuidador",children:"Cuidador"}),(0,o.jsx)("option",{value:"outra",children:"Outra"})]}),18===d&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("option",{value:"",children:"Selecione um Ramo de Atua\xe7\xe3o"}),(0,o.jsx)("option",{value:"clinica-medica",children:"Cl\xednica"})]})]}),s.occupation&&(0,o.jsx)(r.Z,{className:"d-block",children:s.occupation})]})}},52970:function(e,n,t){"use strict";var o=t(85893),r=t(11020),l=t.n(r);
1n.Z=e=>{let{show:n=!1}=e;return n?(0,o.jsx)("span",{className:l().requiredInputColor,children:"*"}):(0,o.jsx)("span",{})}},50866:function(e,n,t){"use strict";t.d(n,{G:function(){return r},s:function(){return l}});let o="global-loader-overlay";function r(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if("undefined"!=typeof document){if(!1===e){var n;null===(n=document.getElementById(o))||void 0===n||n.remove();return}document.getElementById(o)||function(){let e=document.createElement("div");e.id=o,e.style.cssText="position: fixed;width: 100%;height: 100%;background-color: rgba(255, 255, 255, 0.6);left: 0;top: 0;z-index: 1056;display: flex;justify-content: center;align-items: center";let n=document.createElement("div");n.className="spinner-border text-success",n.setAttribute("role","status"),e.appendChild(n),document.body.appendChild(e)}()}}function l(e){r(),window.location.assign(e)}},86708:function(e,n,t){"use strict";t.d(n,{RN:function(){return a},eR:function(){return s}});var o=t(12589),r=t(69283);function l(e,n){let t=0;for(let o of e)n>1&&(t+=parseInt(o)*n--);let o=t%11;return o<2?0:11-o}function s(e){return((null==e?void 0:e.length)===14||(null==e?void 0:e.length)===18)&&((null==e?void 0:e.length)===14?function(e){var n,t;if(!e||11!==(e=e.replace(/\D/g,"")).length||(n=e).split("").every(e=>e===n[0]))return!1;let o=l(e,10),r=l(e,11);return(t=e).substring(t.length-2,t.length)=="".concat(o).concat(r)}(e):(null==e?void 0:e.length)===18?function(e){let n=e.replace(/[^\d]/g,"");if(14!==n.length||/^(\d)\1+$/.test(n))return!1;let t=0,o=[5,4,3,2,9,8,7,6,5,4,3,2];for(let e=0;e<12;e++)t+=parseInt(n[e])*o[e];let r=t%11,l=r<2?0:11-r;if(parseInt(n[12])!==l)return!1;t=0,o=[6,5,4,3,2,9,8,7,6,5,4,3,2];for(let e=0;e<13;e++)t+=parseInt(n[e])*o[e];let s=(r=t%11)<2?0:11-r;return parseInt(n[13])===s}(e):void 0)}async function i(e,n,t){try{var l;let s=await (0,r.v)("".concat(o.Y,"/docIsUnique"),{method:"POST",requestedTokenType:"guest",headers:{"Content-Type":"application/json"},body:JSON.stringify({doc:e,appId:n,userId:t})});if(200!==s.status)return!0;return s=await s.json(),null!==(l=s.isUnique)&&void 0!==l&&l}catch(e){return console.log(">>> error"),console.log(e),!0}}async function a(e,n,t){return!!s(e)&&await i(e,n,t)}},73016:function(e,n,t){"use strict";function o(e){return void 0!==function(e){let n=String(null!=e?e:"").replace(/\D/g,"");if(n.startsWith("55")&&n.length>=12&&(n=n.slice(2)),(n=n.replace(/^0+/,"")).length<10)return;let t=Number(n.slice(0,2));return t>=11&&t<=99?t:void 0}(e)}function r(e){return String(null!=e?e:"").replace(/\D/g,"").length>0}t.d(n,{Sm:function(){return r},ir:function(){return o}})},70304:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return er},default:function(){return el}});var o=t(85893),r=t(33299),l=t(11163),s=t(9008),i=t.n(s),a=t(51615),c=t(78058),u=t(67294),d=t(67423),m=t(49573),p=t(60043),g=t(17834),f=t(15538),h=t(82669),j=t(67954),x=t(70474),v=t(97975),w=t(45046),b=t(32701),N=t(10684),y=t(40782),M=t(12589),L=t(69283);let Z="6LcXSdItAAAAAL1xQ7eyTMQmEjlTAL6fY7MKm0sS",I=null,P=(e,n)=>Promise.race([e,new Promise(e=>setTimeout(()=>e(null),n))]);function S(){var e;return window.__souAuthRecaptchaLoaded&&(null===(e=window.grecaptcha)||void 0===e?void 0:e.enterprise)?Promise.resolve(window.grecaptcha.enterprise):(I||(I=new Promise(e=>{let n=document.createElement("script");n.src="https://www.google.com/recaptcha/enterprise.js?render=".concat(Z),n.async=!0,n.onload=()=>{var n;window.__souAuthRecaptchaLoaded=!0,e((null===(n=window.grecaptcha)||void 0===n?void 0:n.enterprise)||null)},n.onerror=()=>{I=null,e(null)},document.head.appendChild(n)})),I)}async function D(e){try{let n=await P(S(),3e3);if(!n||"function"!=typeof n.execute)return null;await P(new Promise(e=>n.ready(e)),3e3);let t=await P(n.execute(Z,{action:e}),3e3);return"string"==typeof t&&t?t:null}catch(e){return null}}var C=function(e){let{isOpen:n,handleToggle:t}=e;(0,u.useEffect)(()=>{S()},[]);let{t:r}=(0,m.$G)("common"),[l,s]=(0,u.useState)(""),[i,a]=(0,u.useState)(""),[d,p]=(0,u.useState)(!1),[g,Z]=(0,u.useState)(!1),I=(0,u.useRef)(null);async function P(e){e.preventDefault();try{if(a(""),!((null==l?void 0:l.length)&&l.includes("@")&&l.includes("."))&&(I.current.blur(),I.current.focus(),a(r("invalidEmail")),1))return;p(!0);try{let e=await D("recovery"),n=new URLSearchParams({email:String(l),appI
1d:String(c.fixId),nationalities:String(c.nationalities)});e&&n.set("recaptchaToken",e);let t=await (0,L.v)("".concat(M.Y,"/recoveryAccount?").concat(n.toString()),{method:"GET",requestedTokenType:"guest"});if(404===t.status)return I.current.blur(),I.current.focus(),a(r("emailNotRegistered")),p(!1);if(200!==t.status)return y.Am.error(r("errorAction")),p(!1);return p(!1),Z(!0)}catch(e){return console.log(e),y.Am.error(r("errorAction")),p(!1)}}catch(e){return console.log(e),p(!1)}}return(0,u.useEffect)(()=>{n&&Z(!1)},[n]),(0,o.jsxs)(w.Z,{isOpen:n,toggle:t,className:"modal-dialog-centered",children:[(0,o.jsx)(b.Z,{toggle:t,children:(0,o.jsx)("strong",{children:r("forgotPassword")})}),(0,o.jsxs)(N.Z,{children:[!g&&(0,o.jsxs)(f.Z,{onSubmit:P,children:[(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{for:"forgetEmail",className:"mb-25",children:[r("typeYourEmail"),":"]}),(0,o.jsx)("input",{ref:I,className:"form-control",type:"email",id:"forgetEmail",value:l,onChange:e=>s(e.target.value)}),i&&(0,o.jsx)(x.Z,{className:"d-block",children:i})]}),(0,o.jsx)(v.Z,{className:"w-100 mb-1",type:"submit",color:"success",disabled:d,children:r("recoverPassword")})]}),g&&(0,o.jsx)("p",{children:r("passwordRecoveryEmailSent")})]})]})},T=t(77489);async function E(){let{fetchSession:e=()=>fetch("/api/auth/session").then(e=>e.json()),attempts:n=5,retryDelayMs:t=300}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(let r=0;r<n;r++){try{var o;let n=await e();if(null==n?void 0:null===(o=n.user)||void 0===o?void 0:o.id)return n.user.id}catch(e){console.error("Erro ao ler a sess\xe3o ap\xf3s login:",e)}r<n-1&&await function(e){return new Promise(n=>setTimeout(n,e))}(t)}return null}async function O(e){let n,{replaceLocalCartToDB:t,fetchSession:o,timeoutMs:r=12e3,attempts:l,retryDelayMs:s}=e,i=(async()=>{try{let e=await E({fetchSession:o,attempts:l,retryDelayMs:s});if(!e)return{synced:!1,reason:"no-session"};let n=await t(e);return(null==n?void 0:n.success)===!1?{synced:!1,reason:"replace-failed"}:{synced:!0}}catch(e){return console.error("Erro ao subir o carrinho local ap\xf3s login:",e),{synced:!1,reason:"error"}}})(),a=new Promise(e=>{n=setTimeout(()=>e({synced:!1,reason:"timeout"}),r)});try{return await Promise.race([i,a])}finally{clearTimeout(n)}}var k=t(50866),A=t(14972),R=function(e){let{initialProps:n}=e;(0,u.useEffect)(()=>{S()},[]);let{dental:t}=n||{},s=(0,l.useRouter)(),{acao:i}=s.query,a={generic:"",email:"",password:""},[c,w]=(0,u.useState)(a),[b,N]=(0,u.useState)({email:"",password:""}),[y,M]=(0,u.useState)(!1),L={email:(0,u.useRef)(null),password:(0,u.useRef)(null)},[Z,I]=(0,u.useState)(!1),{t:P}=(0,m.$G)("common");async function E(e){try{if(!(null==t?void 0:t.allowsCartWithoutLogin))return{success:!0,message:"allowsCartWithoutLogin n\xe3o est\xe1 ativo"};let n=await (0,p.xQ)({dentalId:null==t?void 0:t.id,userId:e});return(null==n?void 0:n.success)||console.error("Erro ao subir o carrinho local:",null==n?void 0:n.error),n}catch(e){return console.error("Erro na sobreposi\xe7\xe3o do carrinho:",e),{success:!1,error:e.message}}}async function R(e){e.preventDefault();try{var n,o;if(!((w(a),(null===(n=b.email)||void 0===n?void 0:n.length)&&b.email.includes("@")&&b.email.includes("."))?!((null===(o=b.password)||void 0===o?void 0:o.length)<6)||(L.password.current.blur(),L.password.current.focus(),w({...a,password:"Sua senha tem pelo menos 6 d\xedgitos"}),!1):(L.email.current.blur(),L.email.current.focus(),w({...a,email:"Informe um e-mail v\xe1lido"}),!1)))return;M(!0),(0,d.I)();let e=await D("login"),l=await (0,r.signIn)("credentials",{action:"login",redirect:!1,email:b.email,password:b.password,...e&&{recaptchaToken:e}});if(null==l?void 0:l.error)return w({...a,generic:P("errorAction")}),M(!1);if(null==l?void 0:l.ok){!function(){try{if(!(0,A.pV)(t))return;(0,A.L9)(t,"login",{method:"Site"})}catch(e){console.log(e)}}();let{destino:e}=s.query;(null==t?void 0:t.allowsCartWithoutLogin)&&(0,p.LW)(null==t?void 0:t.id)&&await O({replaceLocalCartToDB:E,fetchSession:r.getSession});let n=e?(0,T.resolveDestinoPath)(e):"/ofertas";(0,k.s)(n)}return M(!1)}catch(e){return console.log(e),w({...a,generic:P("errorAction")}),M(!1)}}return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h2",{className:"customContentTitle content-header-title mb-2",children:P("titleSignIn")}),"recuperou-senha"===i&&(0,o.jsxs)(g.Z,{color:"success",children:[(0,o.jsx)("p",{children:(0,o.jsx)("strong",{children:P("newPasswordSuccessTitle")})}),(0,o.jsx)("p",{className:"mb-0",children:P("newPasswordSuccessMessage")})]}),c.generic&&(0,o.jsx)(g.Z,{color:"warning",children:c.generic}),(0,o.jsxs)(f.Z,{onSubmit:R,children:[(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{for:"email",className:"mb-25",children:[P("labelMail"),":"]}),(0,o.jsx)("input",{ref:L.email,className:"form-control",type:"email",id:"email",value:b.email,onChange:e=>N({...b,email:e.target.value})}),c.email&&(0,o.jsx)(x.Z,{className:"d-block",children:c.email})]}),(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{for:"password",className:"mb-25",children:[P("labelPassword"),":"]}),(0,o.jsx)("input",{ref:L.password,className:"form-control",type:"password",id:"password",value:b.password,onChange:e=>N({...b,password:e.target.value})}),c.password&&(0,o.jsx)(x.Z,{className:"d-block",children:c.password})]}),(0,o.jsx)(v.Z,{className:"w-100 mb-1",type:"submit",color:"success",disabled:y,children:P("actionSignIn")}),(0,o.jsx)(v.Z,{className:"w-100",type:"button",color:"secondary",outline:!0,onClick:()=>I(!0),children:P("actionForgotPassword")})]}),(0,o.jsx)(C,{isOpen:Z,handleToggle:()=>I(!1)})]})},z=t(41664),G=t.n(z),Y=t(76627),_=t.n(Y),W=t(22143),Q=t(28898),J=t.n(Q),U=t(10267),V=t(51252),H=t(52970),F=t(8548),q=t(86708),B=t(73016);let K=new Set(["F5cfBnRiMOKt2rTiTfbS","sufJEdRDe4jHGKsFy1Cv"]);var X=function(e){var n,t,s,i,a,g;let{initialProps:w}=e;(0,u.useEffect)(()=>{S()},[]);let{dental:b,customSettings:N,fieldsToHide:M}=w||{},L=(0,l.useRouter)(),Z=function(e){let n=Array.isArray(e)?e:[],t=n.find(e=>(null==e?void 0:e.field)==="doc"),o=n.find(e=>(null==e?void 0:e.field)==="occupation");return{docWanted:!!t,docRequired:!!(null==t?void 0:t.required),occupationWanted:!!o,occupationRequired:!!(null==o?void 0:o.required)}}(null==N?void 0:N.additionalFieldsInRegister),I=(null==b?void 0:null===(n=b.nationalities)||void 0===n?void 0:n.includes("br"))&&(Z.docWanted||Z.occupationWanted),P=I&&Z.docWanted,C=I&&Z.occupationWanted,E=null==M?void 0:M.includes("businessField"),R={name:"",lastName:"",email:"",tel:"",doc:"",occupation:"",registerPersonKind:"",password:"",repeatPassword:"",allow:""},[z,Y]=(0,u.useState)(R),[Q,X]=(0,u.useState)({name:"",lastName:"",email:"",tel:"",doc:"",occupation:"",password:"",repeatPassword:"",allow:!1}),[$,ee]=(0,u.useState)(""),en=(0,u.useRef)(!0),[et,eo]=(0,u.useState)(!1),er={name:(0,u.useRef)(null),lastName:(0,u.useRef)(null),email:(0,u.useRef)(null),password:(0,u.useRef)(null),repeatPassword:(0,u.useRef)(null),occupation:(0,u.useRef)(null),allow:(0,u.useRef)(null)},[el,es]=(0,u.useState)(null),{t:ei}=(0,m.$G)("common"),ea=(null==b?void 0:b.id)==="ejyYuaAnK5qRaLV9zdul",ec=!!((null==b?void 0:b.id)&&K.has(b.id)),eu=(null==b?void 0:b.countryRules)||{};function ed(e){X({...Q,occupation:e.target.value})}async function em(){var e,n,t,o,r,l,s,i,a,u,d,m,p;if(Y(R),!(null===(e=Q.name)||void 0===e?void 0:e.length))return er.name.current.blur(),er.name.current.focus(),Y({...R,name:ei("nameRequired")}),!1;if(!(null===(n=Q.lastName)||void 0===n?void 0:n.length))return er.lastName.current.blur(),er.lastName.current.focus(),Y({...R,lastName:ei("lastNameRequired")}),!1;if(!(null===(t=Q.email)||void 0===t?void 0:t.length)||!Q.email.includes("@")||!Q.email.includes("."))return er.email.current.blur(),er.email.current.focus(),Y({...R,email:ei("invalidEmail")}),!1;let g=Q.tel.split("(").join("").split(")").join("").split(" ").join("").split("_").join("").split("-").join(""),f=(null===c.nationalities||void 0===c.nationalities?void 0:c.nationalities.includes("br"))?11:10;if(g.length<f)return el.blur(),el.focus(),Y({...R,tel:ei("invalidPhone")}),!1;if((null==b?void 0:null===(o=b.customerRules)||void 0===o?void 0:o.validateBrDdd)&&!(0,B.ir)(Q.tel))return el.blur(),el.focus(),Y({...R,tel:"Informe o DDD com dois d\xedgitos v\xe1lidos"}),!1;if(P){if(Z.docRequired&&!(null===(s=Q.doc)||void 0===s?void 0:s.trim())){let e=document.getElementById("doc");return null==e||e.blur(),null==e||e.focus(),Y({...R,doc:ei("labelWriteYourDoc")}),!1}if(null===(i=Q.doc)||void 0===i?void 0:i.trim()){if(!(0,q.eR)(Q.doc)){let e=document.getElementById("doc");return null==e||e.blur(),null==e||e.focus(),Y({...R,doc:ei("invalidDoc")}),!1}if(!await (0,q.RN)(Q.doc,c.fixId,void 0))return Y({...R,doc:ei("invalidOrAlreadyRegisteredDoc")}),!1}}if(C){let e=null===(a=Q.doc)||void 0===a?void 0:a.length,n=14===e||18===e?e:"cpf"===$?14:"cnpj"===$?18:null;if((Z.occupationRequired||Q.occupation)&&!n)return Y({...R,registerPersonKind:ei("registerError_invalidRegisterPersonKind")}
1),!1;if(Z.occupationRequired&&!Q.occupation&&!(E&&18===n))return null===(d=er.occupation)||void 0===d||null===(u=d.current)||void 0===u||u.blur(),null===(p=er.occupation)||void 0===p||null===(m=p.current)||void 0===m||m.focus(),Y({...R,occupation:ei("registerError_invalidRegisterOccupation")}),!1}return(null===(r=Q.password)||void 0===r?void 0:r.length)<6?(er.password.current.blur(),er.password.current.focus(),Y({...R,password:ei("passwordMustHaveAtLeast6Digits")}),!1):(null===(l=Q.repeatPassword)||void 0===l?void 0:l.length)<6?(er.repeatPassword.current.blur(),er.repeatPassword.current.focus(),Y({...R,repeatPassword:ei("passwordMustHaveAtLeast6Digits")}),!1):Q.password!==Q.repeatPassword?(er.repeatPassword.current.blur(),er.repeatPassword.current.focus(),Y({...R,repeatPassword:ei("passwordDontMatch")}),!1):!!Q.allow||(er.allow.current.blur(),er.allow.current.focus(),Y({...R,allow:ei("allowAuthorization")}),!1)}async function ep(e){try{if(!(null==b?void 0:b.allowsCartWithoutLogin))return{success:!0,message:"allowsCartWithoutLogin n\xe3o est\xe1 ativo"};let n=await (0,p.xQ)({dentalId:null==b?void 0:b.id,userId:e});return(null==n?void 0:n.success)||console.error("Erro ao subir o carrinho local:",null==n?void 0:n.error),n}catch(e){return console.error("Erro na sobreposi\xe7\xe3o do carrinho:",e),{success:!1,error:e.message}}}async function eg(e){e.preventDefault();try{var n,t;if(!await em())return;eo(!0);let e=null===(n=Q.doc)||void 0===n?void 0:n.length,o=14===e?"cpf":18===e?"cnpj":$,l=await D("register"),s=await fetch("/api/auth/registerCustomer",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:Q.name,lastName:Q.lastName,email:Q.email,tel:Q.tel,password:Q.password,sellerId:null!==(t=null==b?void 0:b.id)&&void 0!==t?t:"",doc:P?Q.doc:"",occupation:C?Q.occupation:"",personKind:C?o:"",...l&&{recaptchaToken:l}})}),i=await s.json().catch(()=>({}));if(!s.ok){eo(!1);let e=i.code||"genericError",n="registerError_".concat(e),t=ei(n);y.Am.error(t!==n?t:ei("errorAction"));return}let{destino:a}=L.query;(0,d.I)();let c=await D("login"),u=await (0,r.signIn)("credentials",{action:"login",redirect:!1,email:Q.email,password:Q.password,...c&&{recaptchaToken:c}});if(null==u?void 0:u.error){eo(!1),y.Am.error(ei("errorAction"));return}!function(){try{if(!(0,A.pV)(b))return;(0,A.L9)(b,"sign_up",{method:"Site"})}catch(e){console.log(e)}}(),(null==b?void 0:b.allowsCartWithoutLogin)&&(0,p.LW)(null==b?void 0:b.id)&&await O({replaceLocalCartToDB:ep,fetchSession:r.getSession});let m=a?(0,T.resolveDestinoPath)(a):"/ofertas";(0,k.s)(m),eo(!1)}catch(e){console.log(e),eo(!1),y.Am.error(ei("errorAction"))}}(0,u.useEffect)(()=>{if(en.current){en.current=!1;return}X(e=>({...e,occupation:""}))},[$]);let ef=(null===(t=Q.doc)||void 0===t?void 0:t.length)===14||(null===(s=Q.doc)||void 0===s?void 0:s.length)===18?Q.doc.length:"cpf"===$?14:"cnpj"===$?18:null,eh=C&&!((null===(i=Q.doc)||void 0===i?void 0:i.length)===14||(null===(a=Q.doc)||void 0===a?void 0:a.length)===18)&&!(Z.docWanted&&Z.docRequired);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h2",{className:"customContentTitle content-header-title mb-2",children:ei("titleSingUp")}),(0,o.jsxs)(f.Z,{onSubmit:eg,children:[(0,o.jsxs)(U.Z,{children:[(0,o.jsx)(V.Z,{children:(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{for:"name",className:"mb-25",children:[ei("labelYourName"),": ",(0,o.jsx)(H.Z,{show:ea})]}),(0,o.jsx)("input",{ref:er.name,className:"form-control",type:"text",id:"name",value:Q.name,onChange:e=>X({...Q,name:e.target.value})}
1),z.name&&(0,o.jsx)(x.Z,{className:"d-block",children:z.name})]})}),(0,o.jsx)(V.Z,{children:(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{for:"lastName",className:"mb-25",children:[ei("labelLastName"),": ",(0,o.jsx)(H.Z,{show:ea})]}),(0,o.jsx)("input",{ref:er.lastName,className:"form-control",type:"text",id:"lastName",value:Q.lastName,onChange:e=>X({...Q,lastName:e.target.value})}),z.lastName&&(0,o.jsx)(x.Z,{className:"d-block",children:z.lastName})]})})]}),(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{for:"registerEmail",className:"mb-25",children:[ei("labelMail"),": ",(0,o.jsx)(H.Z,{show:ea})]}),(0,o.jsx)("input",{ref:er.email,className:"form-control",type:"email",id:"registerEmail",value:Q.email,onChange:e=>X({...Q,email:e.target.value})}),z.email&&(0,o.jsx)(x.Z,{className:"d-block",children:z.email})]}),(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{for:"tel",className:"mb-25",children:[ei("labelCelWhats"),": ",(0,o.jsx)(H.Z,{show:ea})]}),(null===c.nationalities||void 0===c.nationalities?void 0:c.nationalities.includes("br"))?(0,o.jsx)(_(),{inputRef:e=>es(e),className:"form-control",type:"tel",autoComplete:"off",id:"tel",mask:"(99) 99999-9999",value:Q.tel,onChange:e=>X({...Q,tel:e.target.value})}):(0,o.jsx)(W.ZP,{maxLength:(null==eu?void 0:null===(g=eu.phone)||void 0===g?void 0:g.maxLength)||12,id:"tel",className:"form-control",country:(null==eu?void 0:eu.countryCode)||"MX",international:!1,value:Q.tel,onChange:e=>X({...Q,tel:e})}),z.tel&&(0,o.jsx)(x.Z,{className:"d-block",children:z.tel})]}),P&&(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{for:"doc",className:"mb-25",children:[ei("labelDoc"),": ",Z.docRequired?(0,o.jsx)(H.Z,{show:!0}):null]}),(0,o.jsx)(J(),{id:"doc",className:"form-control",value:Q.doc,onChange:e=>X({...Q,doc:e.target.value})}),z.doc&&(0,o.jsx)(x.Z,{className:"d-block",children:z.doc})]}),eh&&(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{for:"registerPersonKind",className:"mb-25",children:[ei("labelRegisterPersonKind"),":",Z.occupationRequired||Q.occupation?(0,o.jsx)(H.Z,{show:!0}):null]}),(0,o.jsxs)("select",{className:"form-control",id:"registerPersonKind",value:$,onChange:e=>ee(e.target.value),children:[(0,o.jsx)("option",{value:"",children:ei("labelSelectRegisterPersonKind")}),(0,o.jsx)("option",{value:"cpf",children:ei("registerPersonKind_cpf")}),(0,o.jsx)("option",{value:"cnpj",children:ei("registerPersonKind_cnpj")})]}),z.registerPersonKind&&(0,o.jsx)(x.Z,{className:"d-block",children:z.registerPersonKind})]}),C&&!(E&&18===ef)&&(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsx)(j.Z,{for:"occupation",className:"mb-25",children:ec?(0,o.jsxs)(o.Fragment,{children:[ei("labelSpeciallity"),": ",Z.occupationRequired?(0,o.jsx)(H.Z,{show:!0}):null]}):(0,o.jsxs)(o.Fragment,{children:[14===ef&&"".concat(ei("labelCheckoutProfession"),":"),18===ef&&"".concat(ei("labelCheckoutBusinessLine"),":"),14!==ef&&18!==ef&&"".concat(ei("labelCheckoutProfession"),":"),Z.occupationRequired?(0,o.jsx)(H.Z,{show:!0}):null]})}),ec?(0,o.jsx)(F.g,{fields:Q,inputsRef:er,invalidMessages:z,handleChangeField:e=>ed(e),personKindWithoutDoc:$,occupationDisabledPlaceholder:ei("labelSelectRegisterPersonKind")}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("select",{ref:er.occupation,className:"form-control",type:"select",name:"occupation",id:"occupation",value:Q.occupation,onChange:e=>ed(e),disabled:14!==ef&&18!==ef,children:[14!==ef&&18!==ef&&(0,o.jsx)("option",{value:"",children:eh?ei("labelSelectRegisterPersonKind"):ei("labelWriteYourDoc")}),14===ef&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("option",{value:"",children:ei("labelSelectAOccupation")}),(0,o.jsx)("option",{value:"cirurgiao-dentista",children:ei("occupation_dentist")}),(0,o.jsx)("option",{value:"estudante",children:ei("occupation_student")}),(0,o.jsx)("option",{value:"tecnico-em-protese-dentaria",children:ei("occupation_dentalProsthesisTechnician")}),(0,o.jsx)("option",{value:"outra",children:ei("occupation_other")})]}),18===ef&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("option",{value:"",children:ei("labelSelectFieldOfActivity")}),(0,o.jsx)("option",{value:"clinica-odontologica",children:ei("occupation_dentalClinic")}),(0,o.jsx)("option",{value:"franquia",children:ei("occupation_franchise")}),(0,o.jsx)("option",{value:"laboratorio-protese-dentaria",children:ei("occupation_dentalProsthesisLaboratory")}
1),(0,o.jsx)("option",{value:"outra",children:ei("occupation_other")})]})]}),z.occupation&&(0,o.jsx)(x.Z,{className:"d-block",children:z.occupation})]})]}),(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{for:"registerPassword",className:"mb-25",children:[ei("labelCreateYourPassword"),": ",(0,o.jsx)(H.Z,{show:ea})]}),(0,o.jsx)("input",{ref:er.password,className:"form-control",type:"password",id:"registerPassword",value:Q.password,onChange:e=>X({...Q,password:e.target.value})}),z.password&&(0,o.jsx)(x.Z,{className:"d-block",children:z.password})]}),(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{for:"repeatPassword",className:"mb-25",children:[ei("labelConfirmPassword"),": ",(0,o.jsx)(H.Z,{show:ea})]}),(0,o.jsx)("input",{ref:er.repeatPassword,className:"form-control",type:"password",id:"repeatPassword",value:Q.repeatPassword,onChange:e=>X({...Q,repeatPassword:e.target.value})}),z.repeatPassword&&(0,o.jsx)(x.Z,{className:"d-block",children:z.repeatPassword})]}),(0,o.jsxs)(h.Z,{className:"mb-1",children:[(0,o.jsxs)(j.Z,{check:!0,children:[(0,o.jsx)("input",{ref:er.allow,type:"checkbox",className:"form-check-input",id:"allow",defaultChecked:!1,onChange:e=>X({...Q,allow:e.target.checked})})," ",(0,o.jsxs)("span",{className:"font-small-2",children:[ei("allowPrivacyPolicies1")," ",(0,o.jsx)(G(),{legacyBehavior:!0,href:"ptbr"===m.ag.language?"/conteudo/politica-de-privacidade":"/conteudo/politica-de-privacidad",children:(0,o.jsx)("a",{target:"_blank",title:ei("allowPrivacyPolicies2"),style:{textDecoration:"underline"},children:ei("allowPrivacyPolicies2")})})," ",ei("allowPrivacyPolicies3")," ",null==b?void 0:b.name,"."]})]}),z.allow&&(0,o.jsx)(x.Z,{className:"d-block",children:z.allow})]}),(0,o.jsx)(v.Z,{className:"w-100 mb-1",type:"submit",color:"success",disabled:et,children:ei("actionSignUp")})]})]})},$=t(98595),ee=t(26827),en=t.n(ee),et=t(62104),eo=t.n(et),er=!0,el=function(e){let{initialProps:n,googleId:t,facebookId:s}=e,{t:u}=(0,m.$G)("common"),{dental:p,themeSettings:f}=n||{},{destino:h,error:j}=(0,l.useRouter)().query,x={title:"Login - ".concat(null==p?void 0:p.name),image:"https://catalogomaisodonto.com.br/images/catalogo-mais-odonto.png"};async function w(e){(0,d.I)(),await (0,r.signIn)(e,{callbackUrl:h?"".concat(window.location.origin).concat((0,T.resolveDestinoPath)(h)):"".concat(window.location.origin).concat((0,T.route)("account"))})}return(0,o.jsxs)(a.Z,{initialProps:n,children:[(0,o.jsxs)(i(),{children:[(0,o.jsx)("title",{children:x.title}),(0,o.jsx)("meta",{name:"robots",content:"INDEX,FOLLOW"}),(0,o.jsx)("meta",{name:"title",content:x.title}),(0,o.jsx)("meta",{property:"og:title",content:x.title}),(0,o.jsx)("meta",{property:"og:url",content:x.url}),(0,o.jsx)("meta",{property:"og:image",content:x.image}),(0,o.jsx)("meta",{property:"og:image:alt",content:null==p?void 0:p.name}),(0,o.jsx)("meta",{property:"og:type",content:"Website"}),(0,o.jsx)("meta",{property:"og:locale",content:c.ogLocale}),(0,o.jsx)("meta",{name:"robots",content:"noindex"}),(0,o.jsx)("link",{rel:"canonical",href:x.url})]}),(0,o.jsxs)($.Z,{className:"py-2 py-lg-5",children:[(h===T.SLUGS.checkout.ptbr||h===T.SLUGS.checkout.es)&&(0,o.jsx)(g.Z,{color:"warning",className:"mx-lg-2 mx-xl-5 mb-3",children:(0,o.jsx)("p",{className:"mb-0 text-center",children:(0,o.jsx)(m.cC,{i18nKey:"finalizeOrder",ns:"common",components:{1:(0,o.jsx)("strong",{})}})})}),(null==f?void 0:f.registerMessage)?(0,o.jsx)(g.Z,{color:"info",className:"mx-lg-2 mx-xl-5 mb-3",children:(0,o.jsxs)("p",{className:"mb-0",children:[(0,o.jsx)("strong",{children:"Aten\xe7\xe3o: "}),null==f?void 0:f.registerMessage]})}):"",j&&(0,o.jsx)(g.Z,{color:"warning",className:"mx-lg-2 mx-xl-5 mb-3",children:u("invalidData"===j?"invalidData":"emailAlreadyRegistered"===j?"emailAlreadyRegistered":"errorAction")}),(0,o.jsxs)("div",{className:"d-flex flex-column flex-md-row w-100",children:[(0,o.jsx)("div",{className:"mb-5 pr-md-1 px-lg-2 px-xl-5 w-100",children:(0,o.jsx)(R,{initialProps:n})}),(0,o.jsx)("div",{className:"mb-2 mb-lg-3 pl-md-1 px-lg-2 px-xl-5 w-100",children:(0,o.jsx)(X,{initialProps:n})})]}),(t||s)&&(0,o.jsxs)("div",{className:"pt-2 px-lg-2 px-xl-5",style:{borderTop:"1px solid #DDDDDD"},children:[(0,o.jsx)("h2",{className:"customContentTitle font-medium-2 mb-2 text-md-center",children:"Quero acessar com minhas redes sociais"}),(0,o.jsxs)("div",{className:"d-flex flex-column flex-md-row justify-content-center",children:[t&&(0,o.jsxs)(v.Z,{onClick:()=>w("google"),className:"mb-1 mb-md-0 mr-md-1",type:"submit",color:"google",outline:!0,children:[(0,o.jsx)("img",{className:"mr-50",width:"20",src:eo(),alt:"Google"})," Acessar com Google"]}),s&&(0,o.jsxs)(v.Z,{onClick:()=>w("facebook"),className:"",type:"submit",color:"facebook",outline:!0,children:[(0,o.jsx)("img",{className:"mr-50",width:"20",src:en(),alt:"Google"})," Acessar com Facebook"]})]})]})]})]})}},11020:function(e){e.exports={requiredInputColor:"RequiredAsterisk_requiredInputColor__mjpBM",hidden:"RequiredAsterisk_hidden__BY3U5"}},17834:function(e,n,t){"use strict";var o=t(87462),r=t(63366),l=t(86656),s=t(67294),i=t(45697),a=t.n(i),c=t(93967),u=t.n(c),d=t(23663),m=t(69638),p=["className","closeClassName","closeAriaLabel","cssModule","tag","color","isOpen","toggle","children","transition","fade","innerRef"];function g(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,o)}return t}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?g(Object(t),!0).forEach(function(n){(0,l.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var h={children:a().node,className:a().string,closeClassName:a().string,closeAriaLabel:a().string,cssModule:a().object,color:a().string,fade:a().bool,isOpen:a().bool,toggle:a().func,tag:d.iC,transition:a().shape(m.Z.propTypes),innerRef:a().oneOfType([a().object,a().string,a().func])},j={color:"success",isOpen:!0,tag:"div",closeAriaLabel:"Close",fade:!0,transition:f(f({},m.Z.defaultProps),{},{unmountOnExit:!0})};function x(e){var n=e.className,t=e.closeClassName,l=e.closeAriaLabel,i=e.cssModule,a=e.tag,c=e.color,g=e.isOpen,h=e.toggle,j=e.children,x=e.transition,v=e.fade,w=e.innerRef,b=(0,r.Z)(e,p),N=(0,d.mx)(u()(n,"alert","alert-"+c,{"alert-dismissible":h}),i),y=(0,d.mx)(u()("close",t),i),M=f(f(f({},m.Z.defaultProps),x),{},{baseClass:v?x.baseClass:"",timeout:v?x.timeout:0});return s.createElement(m.Z,(0,o.Z)({},b,M,{tag:a,className:N,in:g,role:"alert",innerRef:w}),h?s.createElement("button",{type:"button",className:y,"aria-label":l,onClick:h},s.createElement("span",{"aria-hidden":"true"},"\xd7")):null,j)}x.propTypes=h,x.defaultProps=j,n.Z=x},26827:function(e){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOCAxMjgiIGlkPSJTb2NpYWxfSWNvbnMiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEyOCAxMjgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxnIGlkPSJfeDMxX19zdHJva2UiPjxnIGlkPSJGYWNlYm9va18xXyI+PHJlY3QgZmlsbD0ibm9uZSIgaGVpZ2h0PSIxMjgiIHdpZHRoPSIxMjgiLz48cGF0aCBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02OC4zNjksMTI4SDcuMDY1QzMuMTYyLDEyOCwwLDEyNC44MzYsMCwxMjAuOTM1ICAgIFY3LjA2NUMwLDMuMTYyLDMuMTYyLDAsNy4wNjUsMGgxMTMuODcxQzEyNC44MzcsMCwxMjgsMy4xNjIsMTI4LDcuMDY1djExMy44N2MwLDMuOTAyLTMuMTYzLDcuMDY1LTcuMDY0LDcuMDY1SDg4LjMxOFY3OC40MzEgICAgaDE2LjYzOGwyLjQ5MS0xOS4zMThIODguMzE4VjQ2Ljc4YzAtNS41OTMsMS41NTMtOS40MDQsOS41NzMtOS40MDRsMTAuMjI5LTAuMDA0VjIwLjA5NGMtMS43NjktMC4yMzUtNy44NDEtMC43NjEtMTQuOTA2LTAuNzYxICAgIGMtMTQuNzQ5LDAtMjQuODQ2LDkuMDAzLTI0Ljg0NiwyNS41MzV2MTQuMjQ2SDUxLjY4OHYxOS4zMThoMTYuNjgxVjEyOHoiIGZpbGw9IiM0NDYwQTAiIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IkZhY2Vib29rIi8+PC9nPjwvZz48L3N2Zz4="},62104:function(e){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOCAxMjgiIGlkPSJTb2NpYWxfSWNvbnMiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEyOCAxMjgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxnIGlkPSJfeDMxX19zdHJva2UiPjxnIGlkPSJHb29nbGUiPjxyZWN0IGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBoZWlnaHQ9IjEyOCIgd2lkdGg9IjEyOCIvPjxwYXRoIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI3LjU4NSw2NGMwLTQuMTU3LDAuNjktOC4xNDMsMS45MjMtMTEuODgxTDcuOTM4LDM1LjY0OCAgICBDMy43MzQsNDQuMTgzLDEuMzY2LDUzLjgwMSwxLjM2Niw2NGMwLDEwLjE5MSwyLjM2NiwxOS44MDIsNi41NjMsMjguMzMybDIxLjU1OC0xNi41MDNDMjguMjY2LDcyLjEwOCwyNy41ODUsNjguMTM3LDI3LjU4NSw2NCIgZmlsbD0iI0ZCQkMwNSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNjUuNDU3LDI2LjE4MmM5LjAzMSwwLDE3LjE4OCwzLjIsMjMuNTk3LDguNDM2TDEwNy42OTgsMTYgICAgQzk2LjMzNyw2LjEwOSw4MS43NzEsMCw2NS40NTcsMEM0MC4xMjksMCwxOC4zNjEsMTQuNDg0LDcuOTM4LDM1LjY0OGwyMS41NjksMTYuNDcxQzM0LjQ3NywzNy4wMzMsNDguNjQ0LDI2LjE4Miw2NS40NTcsMjYuMTgyIiBmaWxsPSIjRUE0MzM1IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48cGF0aCBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02NS40NTcsMTAxLjgxOGMtMTYuODEyLDAtMzAuOTc5LTEwLjg1MS0zNS45NDktMjUuOTM3ICAgIEw3LjkzOCw5Mi4zNDlDMTguMzYxLDExMy41MTYsNDAuMTI5LDEyOCw2NS40NTcsMTI4YzE1LjYzMiwwLDMwLjU1Ny01LjU1MSw0MS43NTgtMTUuOTUxTDg2Ljc0MSw5Ni4yMjEgICAgQzgwLjk2NCw5OS44Niw3My42ODksMTAxLjgxOCw2NS40NTcsMTAxLjgxOCIgZmlsbD0iIzM0QTg1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTI2LjYzNCw2NGMwLTMuNzgyLTAuNTgzLTcuODU1LTEuNDU3LTExLjYzNkg2NS40NTd2MjQuNzI3ICAgIGgzNC4zNzZjLTEuNzE5LDguNDMxLTYuMzk3LDE0LjkxMi0xMy4wOTIsMTkuMTNsMjAuNDc0LDE1LjgyOEMxMTguOTgxLDEwMS4xMjksMTI2LjYzNCw4NC44NjEsMTI2LjYzNCw2NCIgZmlsbD0iIzQyODVGNCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9nPjwvZz48L3N2Zz4="}},function(e){e.O(0,[3714,3996,7795,9655,2923,4517,2143,571,953,2888,9774,179],function(){return e(e.s=36429)}),_N_E=e.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.