PageSourceSearch

https://www.eunicesolucoes.com.br/_next/static/chunks/pages/minha-conta/meus-pedidos-22464f41cc869268.js

js eunicesolucoes.com.br collected 2026-09-30 15:29:37 UTC 39,570 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9099],{51982:function(e,s,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/minha-conta/meus-pedidos",function(){return l(77624)}])},7530:function(e,s,l){"use strict";var n=l(85893),a=l(23923),r=l(35952),t=l.n(r);s.Z=function(e){var s;let{initialProps:l,...r}=e,{themeSettings:i}=l||{},{children:c}=r;return(0,n.jsx)(a.Z,{className:"".concat(r.className," ").concat(t().breadcrumb," ").concat(t()[null==i?void 0:null===(s=i.components)||void 0===s?void 0:s.breadcrumb]),children:c})}},59092:function(e,s,l){"use strict";var n=l(85893),a=l(56941),r=l(49915),t=l.n(r);s.Z=function(e){var s;let{initialProps:l,...r}=e,{themeSettings:i}=l||{},{children:c,style:o}=r;return(0,n.jsx)(a.Z,{className:"".concat(r.className," ").concat(t()[null==i?void 0:null===(s=i.components)||void 0===s?void 0:s.card]),style:o,children:c})}},17760:function(e,s,l){"use strict";var n=l(85893),a=l(41664),r=l.n(a),t=l(67294),i=l(11163),c=l(98595),o=l(65881),d=l(10267),m=l(51252),u=l(97975),x=l(91121),h=l(90408),p=l(4868),j=l(59092),b=l(7530),g=l(70596),N=l.n(g),v=l(49573),f=l(33299),y=l(14416),Z=l(77489),w=l(46727),O=l(16218);s.Z=(0,y.$j)(null,{resetSessionData:w.An,resetCartAfterSignOut:O.zu})(function(e){var s;let{children:l,initialProps:a,resetSessionData:g,resetCartAfterSignOut:y}=e,{themeSettings:w,dental:O}=a||{},P=(0,i.useRouter)(),{t:S}=(0,v.$G)("common"),C=(null==O?void 0:O.id)==="3Qq3nylbqe0d4fLFejA1",[k,T]=(0,t.useState)([{label:S("myData"),pathname:"/minha-conta",href:(0,Z.route)("account")},{label:S("myAddress"),pathname:"/minha-conta/meus-enderecos",href:(0,Z.route)("accountAddresses")},{label:S("myOrders"),pathname:"/minha-conta/meus-pedidos",href:(0,Z.route)("accountOrders")}]),[E,I]=(0,t.useState)(""),[D,_]=(0,t.useState)("");async function F(e){e.preventDefault(),await fetch("/api/auth/logout",{method:"POST"}),await (0,f.signOut)({redirect:!1}),g(),y(),P.push("/")}return(0,t.useEffect)(()=>{C&&T([...k.slice(0,2),{label:"Boleto parcelado",pathname:"/minha-conta/dados-boleto-parcelado",href:(0,Z.route)("accountInstallmentBankSlip")},...k.slice(2)])},[C]),(0,t.useEffect)(()=>{switch(P.pathname){case"/minha-conta":I(S("myData"));break;case"/minha-conta/meus-enderecos":I(S("myAddress"));break;case"/minha-conta/meus-pedidos":I(S("myOrders"));break;case"/minha-conta/dados-boleto-parcelado":I(S("bankSlipWithParcelData"))}},[P]),(0,n.jsxs)(c.Z,{className:"py-2 py-lg-5",children:[(0,n.jsxs)(b.Z,{initialProps:a,className:"mb-2",children:[(0,n.jsx)(o.Z,{children:(0,n.jsx)(r(),{legacyBehavior:!0,href:"/",className:"text-body",style:{textDecoration:"underline"},children:(0,n.jsx)("a",{children:" Home "})})}),(0,n.jsx)(o.Z,{children:(0,n.jsx)(r(),{legacyBehavior:!0,href:(0,Z.route)("account"),className:"text-body",style:{textDecoration:"underline"},children:(0,n.jsxs)("a",{children:[" ",S("myAccount")," "]})})}),(0,n.jsx)(o.Z,{children:(0,n.jsx)("span",{children:E})})]}),(0,n.jsxs)(d.Z,{children:[(0,n.jsxs)(m.Z,{lg:2,className:"mb-2",children:[(0,n.jsxs)("div",{className:"w-100 d-flex justify-content-between",children:[(0,n.jsxs)(u.Z,{className:"d-lg-none mr-1",color:"secondary",outline:!0,size:"sm",onClick:()=>_(!D),children:[(0,n.jsx)(h.Z,{size:20,className:"mr-50"}),S("myAccount")]}),(0,n.jsx)(r(),{legacyBehavior:!0,href:"/api/auth/signout",children:(0,n.jsxs)("a",{className:"btn btn-outline-danger d-lg-none btn-sm",onClick:F,children:[(0,n.jsx)(p.Z,{size:20,className:"mr-50"}),S("singOut")]})})]}),(0,n.jsx)(j.Z,{initialProps:a,className:"".concat(N().aside," ").concat(N()[null==w?void 0:null===(s=w.components)||void 0===s?void 0:s.card]," ").concat(D?N().active:""),children:(0,n.jsx)(x.Z,{className:"py-50",children:(0,n.jsx)("ul",{className:"list-unstyled mb-0",children:k.map((e,s)=>(0,n.jsx)("li",{className:"my-25",children:(0,n.jsx)(r(),{legacyBehavior:!0,href:e.href,children:(0,n.jsx)("a",{className:"font-small-3 py-25 d-block",children:P.pathname===e.pathname?(0,n.jsx)("strong",{children:e.label}):(0,n.jsx)(n.Fragment,{children:e.label})})})},s))})})})]}),(0,n.jsx)(m.Z,{lg:10,children:l})]})]})})},77624:function(e,s,l){"use strict";l.r(s),l.d(s,{__N_SSP:function(){return X},default:function(){return Y}});var n=l(85893),a=l(9008),r=l.n(a),t=l(67294),i=l(11163),c=l(51615),o=l(17760),d=l(78058),m=l(59092),u=l(91121),x=l(10267),h=l(51252),p=l(97975),j=l(36955),b=l(49573);let g=e=>{var s;let{status:l}=e,{t:a}=(0,b.$G)("common"),r=null!==(s=({finished:{text:a("orderStatusFinished"),color:"text-success"},cancelled:{text:a("orderStatusCancelled"),color:"text-danger"},new:{text:a("orderStatusNew"),color:"text-warning"},waiting:{text:a("orderStatusWaiting"),color:"text-warning"},analyzing:{text:a("orderStatusAnalyzing"),color:"text-warning"},running:{text:a("orderStatusRunning"),color:"text-info"},inSeparation:{text:a("orderStatusInSeparation"),color:"text-info"},waitingPayment:{text:a("orderStatusWaitingPayment"),color:"text-info"},invoiced:{text:a("orderStatusInvoiced"),color:"text-info"},shipping:{text:a("orderStatusShipping"),color:"text-primary"},waitingPickup:{text:a("orderStatusWaitingPickup"),color:"text-info"},returned:{text:a("orderStatusReturned"),color:"text-danger"},refunded:{text:a("orderStatusRefunded"),color:"text-danger"}
1,paymentAccepted:{text:a("orderStatusPaymentAccepted"),color:"text-success"},waitingPickupCarrier:{text:a("orderStatusWaitingPickupCarrier"),color:"text-info"},waitingPickupStore:{text:a("orderStatusWaitingPickupStore"),color:"text-info"}})[l.id||l])&&void 0!==s?s:{color:null,text:null};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("strong",{children:"Status:"}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{className:r.color,children:null==r?void 0:r.text})]})};var N=l(40782),v=l(12589),f=l(45697),y=l.n(f);function Z(){return(Z=Object.assign||function(e){for(var s=1;s<arguments.length;s++){var l=arguments[s];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(this,arguments)}var w=(0,t.forwardRef)(function(e,s){var l=e.color,n=e.size,a=void 0===n?24:n,r=function(e,s){if(null==e)return{};var l,n,a=function(e,s){if(null==e)return{};var l,n,a={},r=Object.keys(e);for(n=0;n<r.length;n++)l=r[n],s.indexOf(l)>=0||(a[l]=e[l]);return a}(e,s);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)l=r[n],!(s.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}(e,["color","size"]);return t.createElement("svg",Z({ref:s,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:void 0===l?"currentColor":l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},r),t.createElement("polyline",{points:"23 4 23 10 17 10"}),t.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"}))});w.propTypes={color:y().string,size:y().oneOfType([y().string,y().number])},w.displayName="RotateCw";var O=l(16218),P=l(14416),S=l(45046),C=l(32701),k=l(10684);let T=e=>{let{studentListWithPricesHidden:s,initialProps:l}=e;return(null==s?void 0:s.length)?(0,n.jsx)(n.Fragment,{children:s.map(e=>{var s;return(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{className:"mb-50",children:[(0,n.jsxs)("strong",{children:["Produtos Lista ",e.id,":"]}),(0,n.jsx)("br",{}),e.title," - ",e.description]}),null==e?void 0:null===(s=e.products)||void 0===s?void 0:s.map(e=>(0,n.jsx)(m.Z,{initialProps:l,className:"mb-1",children:(0,n.jsx)(u.Z,{children:(0,n.jsxs)(x.Z,{className:"align-items-lg-center font-small-3",children:[(0,n.jsx)(h.Z,{xs:12,lg:8,className:"mb-1 mb-lg-0",children:(0,n.jsxs)("div",{className:"d-flex align-items-center",children:[e.thumb&&(0,n.jsx)("img",{className:"mr-50",src:e.thumb,style:{width:"auto",height:"auto",maxWidth:"50px",maxHeight:"50px"}}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{className:"mb-0",children:["C\xf3d.: ",e.internalId]}),(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:e.title})}),(0,n.jsx)("p",{className:"mb-0",children:e.brand})]})]})}),(0,n.jsxs)(h.Z,{xs:12,lg:4,className:"text-lg-end",children:[(0,n.jsx)("strong",{children:"Qtd:"}),(0,n.jsx)("br",{}),e.quantity]})]})})},e.id)),(0,n.jsx)(x.Z,{className:"align-items-lg-center px-1",children:(0,n.jsxs)(h.Z,{lg:{offset:6,size:6},className:"font-small-3 text-lg-end mb-1",children:[(0,n.jsx)("strong",{children:"Subtotal da lista:"}),(0,n.jsx)("br",{}),e.price]})})]},e.id)})}):(0,n.jsx)("div",{})};var E=e=>{let{customer:s}=e;return s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Cliente:"})}),(0,n.jsxs)("p",{className:"mb-0",children:[null==s?void 0:s.name," ",null==s?void 0:s.lastName]}),(null==s?void 0:s.occupation)&&(0,n.jsx)("p",{className:"mb-0",children:s.occupation}),(null==s?void 0:s.specialty)&&(0,n.jsxs)("p",{className:"mb-0",children:["Especialidade: ",s.specialty]}),((null==s?void 0:s.occupation)==="cirurgiao-dentista"||(null==s?void 0:s.occupation)==="tecnico-em-protese-dentaria")&&(0,n.jsxs)("p",{className:"mb-0",children:["Registro: ",null==s?void 0:s.cro," | UF Registro: ",null==s?void 0:s.ufCro]}),(null==s?void 0:s.occupation)==="estudante"&&(null==s?void 0:s.studentNumber)&&(0,n.jsxs)("p",{className:"mb-0",children:["Matr\xedcula: ",null==s?void 0:s.studentNumber]}),(null==s?void 0:s.occupation)==="estudante"&&(null==s?void 0:s.school)&&(0,n.jsxs)("p",{className:"mb-0",children:["Institui\xe7\xe3o de Ensino: ",null==s?void 0:s.school]}),(0,n.jsxs)("p",{className:"mb-0",children:[null==s?void 0:s.tel," ",(null==s?void 0:s.tel2)?"| ".concat(s.tel2):""]}),(0,n.jsx)("p",{className:"mb-0",children:null==s?void 0:s.email}),(null==s?void 0:s.doc)&&(0,n.jsxs)("p",{className:"mb-0",children:["CPF/CNPJ: ",null==s?void 0:s.doc]}),(null==s?void 0:s.rg)&&(0,n.jsxs)("p",{className:"mb-0",children:["RG: ",null==s?void 0:s.rg]}),(null==s?void 0:s.ufRg)&&(0,n.jsxs)("p",{className:"mb-0",children:["UF RG: ",null==s?void 0:s.ufRg]}),(null==s?void 0:s.bornDay)&&(0,n.jsxs)("p",{className:"mb-0",children:["Data de Nascimento: ",null==s?void 0:s.bornDay]}),(null==s?void 0:s.ie)&&(0,n.jsxs)("p",{className:"mb-0",children:["Inscri\xe7\xe3o Estadual (IE): ",null==s?void 0:s.ie]}),(null==s?void 0:s.companyName)&&(0,n.jsxs)("p",{className:"mb-0",children:["Raz\xe3o Social: ",null==s?void 0:s.companyName]})]}):null},I=e=>{let{customer:s}=e,{t:l}=(0,b.$G)("common"),{name:a,lastName:r,birthDate:t,yearOfGraduation:i,email:c,tel:o,needInvoice:d,businessActivity:m,postalCode:u,estado:x,colonia:h,calle:p,numeroExterior:j,fiscalRegime:g,cfdiUse:N,rfc:v,socialReason:f,occupation:y,occupationQuestion:Z,educationalInstitution:w,specialty:O}=s;return s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Cliente:"})}),(0,n.jsxs)("p",{className:"mb-0",children:[a," ",r]}),t&&(0,n.jsxs)("p",{className:"mb-0",children:[l("birthDate"),": ",(e=>{let[s,l,n]=e.split("-");return"".concat(n,"/").concat(l,"/").concat(s)})(t)]}),i&&(0,n.jsxs)("p",{className:"mb-0",children:[l("yearOfGraduation"),": ",i]}),(0,n.jsx)("p",{className:"mb-0",children:c}),(0,n.jsxs)("p",{className:"mb-0",children:[l("phone"),": ",o]}),(0,n.jsxs)("p",{className:"mb-0",children:[l("needInvoice"),": ",l(!0===d||"true"===d?"yes":"no")]}),m&&(0,n.jsxs)("p",{className:"mb-0",children:[l("businessActivity"),": ",m]}),u&&(0,n.jsxs)("p",{className:"mb-0",children:[l("cep"),": ",u]}),x&&(0,n.jsxs)("p",{className:"mb-0",children:["Estado: ",x]}),h&&(0,n.jsxs)("p",{className:"mb-0",children:["Colonia: ",h]}),p&&(0,n.jsxs)("p",{className:"mb-0",children:["Calle: ",p]}),j&&(0,n.jsxs)("p",{className:"mb-0",children:["N\xfamero exterior: ",j]}),g&&(0,n.jsxs)("p",{className:"mb-0",children:[l("fiscalRegime"),": ",g]}),N&&(0,n.jsxs)("p",{className:"mb-0",children:[l("cfdiUse"),": ",N]}),v&&(0,n.jsxs)("p",{className:"mb-0",children:[l("rfc"),": ",v]}),f&&(0,n.jsxs)("p",{className:"mb-0",children:[l("companyName"),": ",f]}),y&&(0,n.jsxs)("p",{className:"mb-0",children:[l("occupation"),": ",y]}),Z&&(0,n.jsxs)("p",{className:"mb-0",children:[l("other"),": ",Z]}),w&&(0,n.jsxs)("p",{className:"mb-0",children:[l("school"),": ",w]}),O&&(0,n.jsxs)("p",{className:"mb-0",children:[l("specialty"),": ",O]})]}):null},D=e=>{let{customer:s}=e,{t:l}=(0,b.$G)("common");
1if(!s)return null;let{name:a,lastName:r,birthDate:t,yearOfGraduation:i,email:c,tel:o,needInvoice:d,businessActivity:m,postalCode:u,estado:x,colonia:h,calle:p,numeroExterior:j,fiscalRegime:g,cfdiUse:N,nit:v,socialReason:f,occupation:y,occupationQuestion:Z,educationalInstitution:w,specialty:O}=s;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Cliente:"})}),(0,n.jsxs)("p",{className:"mb-0",children:[a," ",r]}),t&&(0,n.jsxs)("p",{className:"mb-0",children:[l("birthDate"),": ",(e=>{if(!e||"string"!=typeof e)return"";let s=e.split("-");if(3!==s.length)return e;let[l,n,a]=s;return"".concat(a,"/").concat(n,"/").concat(l)})(t)]}),i&&(0,n.jsxs)("p",{className:"mb-0",children:[l("yearOfGraduation"),": ",i]}),(0,n.jsx)("p",{className:"mb-0",children:c}),(0,n.jsxs)("p",{className:"mb-0",children:[l("phone"),": ",o]}),(0,n.jsxs)("p",{className:"mb-0",children:[l("needInvoice"),": ",l(!0===d||"true"===d?"yes":"no")]}),m&&(0,n.jsxs)("p",{className:"mb-0",children:[l("businessActivity"),": ",m]}),u&&(0,n.jsxs)("p",{className:"mb-0",children:[l("cep"),": ",u]}),x&&(0,n.jsxs)("p",{className:"mb-0",children:["Estado: ",x]}),h&&(0,n.jsxs)("p",{className:"mb-0",children:["Colonia: ",h]}),p&&(0,n.jsxs)("p",{className:"mb-0",children:["Calle: ",p]}),j&&(0,n.jsxs)("p",{className:"mb-0",children:["N\xfamero exterior: ",j]}),g&&(0,n.jsxs)("p",{className:"mb-0",children:[l("fiscalRegime"),": ",g]}),N&&(0,n.jsxs)("p",{className:"mb-0",children:[l("cfdiUse"),": ",N]}),v&&(0,n.jsxs)("p",{className:"mb-0",children:["NIT: ",v]}),f&&(0,n.jsxs)("p",{className:"mb-0",children:[l("companyName"),": ",f]}),y&&(0,n.jsxs)("p",{className:"mb-0",children:[l("occupation"),": ",y]}),Z&&(0,n.jsxs)("p",{className:"mb-0",children:[l("other"),": ",Z]}),w&&(0,n.jsxs)("p",{className:"mb-0",children:[l("school"),": ",w]}),O&&(0,n.jsxs)("p",{className:"mb-0",children:[l("specialty"),": ",O]})]})},_=e=>{let{customer:s}=e,{t:l}=(0,b.$G)("common");if(!s)return null;let{name:a,lastName:r,birthDate:t,yearOfGraduation:i,email:c,tel:o,needInvoice:d,nid:m,occupation:u,occupationQuestion:x,educationalInstitution:h,specialty:p}=s,j=!0===d||"true"===d;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Cliente:"})}),(0,n.jsxs)("p",{className:"mb-0",children:[a," ",r]}),t&&(0,n.jsxs)("p",{className:"mb-0",children:[l("birthDate"),": ",(e=>{if(!e||"string"!=typeof e)return"";let s=e.split("-");if(3!==s.length)return e;let[l,n,a]=s;return"".concat(a,"/").concat(n,"/").concat(l)})(t)]}),i&&(0,n.jsxs)("p",{className:"mb-0",children:[l("yearOfGraduation"),": ",i]}),(0,n.jsx)("p",{className:"mb-0",children:c}),(0,n.jsxs)("p",{className:"mb-0",children:[l("phone"),": ",o]}),(0,n.jsxs)("p",{className:"mb-0",children:[l("needInvoice"),": ",l(j?"yes":"no")]}),j&&m&&(0,n.jsxs)("p",{className:"mb-0",children:["NID: ",m]}),u&&(0,n.jsxs)("p",{className:"mb-0",children:[l("occupation"),": ",u]}),x&&(0,n.jsxs)("p",{className:"mb-0",children:[l("other"),": ",x]}),h&&(0,n.jsxs)("p",{className:"mb-0",children:[l("school"),": ",h]}),p&&(0,n.jsxs)("p",{className:"mb-0",children:[l("specialty"),": ",p]})]})},F=e=>{let{customer:s}=e,{t:l}=(0,b.$G)("common");if(!s)return null;let{name:a,lastName:r,birthDate:t,yearOfGraduation:i,email:c,tel:o,needInvoice:d,dni:m,ruc:u,direccionFiscal:x,postalCode:h,pais:p,ciudad:j,distrito:g,urbanizacion:N,referencia:v,numeroInteriorOficina:f,occupation:y,occupationQuestion:Z,educationalInstitution:w,specialty:O}=s,P=!0===d||"true"===d,S=!1===d||"false"===d;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Cliente:"})}),(0,n.jsxs)("p",{className:"mb-0",children:[a," ",r]}),t&&(0,n.jsxs)("p",{className:"mb-0",children:[l("birthDate"),": ",(e=>{if(!e||"string"!=typeof e)return"";let s=e.split("-");if(3!==s.length)return e;let[l,n,a]=s;return"".concat(a,"/").concat(n,"/").concat(l)})(t)]}),i&&(0,n.jsxs)("p",{className:"mb-0",children:[l("yearOfGraduation"),": ",i]}),(0,n.jsx)("p",{className:"mb-0",children:c}),(0,n.jsxs)("p",{className:"mb-0",children:[l("phone"),": ",o]}),(0,n.jsx)("p",{className:"mb-0",children:P?"Factura (Persona Jur\xeddica)":S?"Boleta (Per
1sona Natural)":""}),S&&m&&(0,n.jsxs)("p",{className:"mb-0",children:["DNI: ",m]}),P&&u&&(0,n.jsxs)("p",{className:"mb-0",children:["RUC: ",u]}),(x||h||p||j||g||N||v||f)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0 mt-1",children:(0,n.jsx)("strong",{children:"Direcci\xf3n fiscal"})}),x&&(0,n.jsx)("p",{className:"mb-0",children:x}),h&&(0,n.jsxs)("p",{className:"mb-0",children:[l("cep"),": ",h]}),p&&(0,n.jsxs)("p",{className:"mb-0",children:["Pa\xeds: ",p]}),j&&(0,n.jsxs)("p",{className:"mb-0",children:["Ciudad: ",j]}),g&&(0,n.jsxs)("p",{className:"mb-0",children:["Distrito: ",g]}),N&&(0,n.jsxs)("p",{className:"mb-0",children:["Urbanizaci\xf3n: ",N]}),v&&(0,n.jsxs)("p",{className:"mb-0",children:["Referencia: ",v]}),f&&(0,n.jsxs)("p",{className:"mb-0",children:["N\xfamero Oficina o Interior si es edificio: ",f]})]}),y&&(0,n.jsxs)("p",{className:"mb-0",children:[l("occupation"),": ",y]}),Z&&(0,n.jsxs)("p",{className:"mb-0",children:[l("other"),": ",Z]}),w&&(0,n.jsxs)("p",{className:"mb-0",children:[l("school"),": ",w]}),O&&(0,n.jsxs)("p",{className:"mb-0",children:[l("specialty"),": ",O]})]})},R=e=>{let{address:s}=e;return s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Endere\xe7o:"})}),(0,n.jsx)("p",{className:"mb-0",children:null==s?void 0:s.cep}),(0,n.jsxs)("p",{className:"mb-0",children:[null==s?void 0:s.street,", ",null==s?void 0:s.number]}),(0,n.jsxs)("p",{className:"mb-0",children:[null==s?void 0:s.district,", ",null==s?void 0:s.city," - ",null==s?void 0:s.uf]}),(null==s?void 0:s.complement)&&(0,n.jsxs)("p",{className:"mb-0",children:["Complemento: ",null==s?void 0:s.complement]}),(null==s?void 0:s.additionalInfo)&&(0,n.jsxs)("p",{className:"mb-0",children:["Informa\xe7\xe3o adicional: ",null==s?void 0:s.additionalInfo]})]}):null},z=e=>{let{address:s}=e,{calle:l,numeroExterior:a,numeroInterior:r,colonia:t,delegationMunicipio:i,entreCalles:c,estado:o,postalCode:d,additionalInfo:m}=s;return s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Direcci\xf3n"})}),l," No. ",a," ",r?"- ".concat(r):"",(0,n.jsx)("br",{}),t,", ",i,", ",o,(0,n.jsx)("br",{}),d,(0,n.jsx)("br",{}),c&&(0,n.jsxs)("p",{className:"mb-0",children:["Entre calles: ",c]}),m&&(0,n.jsxs)("p",{className:"mb-0",children:["Informaci\xf3n adicional: ",m]})]}):null},M=e=>{let{address:s}=e;if(!s)return null;let{postalCode:l,pais:a,estado:r,colonia:t,delegationMunicipio:i,calle:c,numeroExterior:o,numeroInterior:d,entreCalles:m,additionalInfo:u}=s;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Direcci\xf3n"})}),l&&(0,n.jsxs)("p",{className:"mb-0",children:["C\xf3digo postal: ",l]}),a&&(0,n.jsxs)("p",{className:"mb-0",children:["Pa\xeds: ",a]}),(0,n.jsxs)("p",{className:"mb-0",children:[c," No. ",o," ",d?"- ".concat(d):""]}),t&&(0,n.jsx)("p",{className:"mb-0",children:t}),(i||r)&&(0,n.jsxs)("p",{className:"mb-0",children:[i,i&&r?", ":"",r]}),m&&(0,n.jsxs)("p",{className:"mb-0",children:["Entre calles: ",m]}),u&&(0,n.jsxs)("p",{className:"mb-0",children:["Informaci\xf3n adicional: ",u]})]})},A=e=>{let{address:s}=e;if(!s)return null;let{pais:l,estado:a,delegationMunicipio:r,calle:t,numeroExterior:i,numeroInterior:c,additionalInfo:o}=s;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Direcci\xf3n"})}),l&&(0,n.jsxs)("p",{className:"mb-0",children:["Pa\xeds: ",l]}),a&&(0,n.jsxs)("p",{className:"mb-0",children:["Estado: ",a]}),r&&(0,n.jsxs)("p",{className:"mb-0",children:["Provincia: ",r]}),(0,n.jsxs)("p",{className:"mb-0",children:[t," ",i?"N\xba ".concat(i):""," ",c?"- ".concat(c):""]}),o&&(0,n.jsxs)("p",{className:"mb-0",children:["Informaci\xf3n adicional: ",o]})]})},B=e=>{let{address:s}=e;if(!s)return null;let{direccionFiscal:l,postalCode:a,pais:r,ciudad:t,distrito:i,urbanizacion:c,referencia:o,numeroInteriorOficina:d}=s;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Direcci\xf3n de env\xedo"})}),l&&(0,n.jsxs)("p",{className:"mb-0",children:["Direcci\xf3n fiscal: ",l]}),a&&(0,n.jsxs)("p",{className:"mb-0",children:["C\xf3digo postal: ",a]}),r&&(0,n.jsxs)("p",{className:"mb-0",children:["Pa\xeds: ",r]}),t&&(0,n.jsxs)("p",{className:"mb-0",children:["Ciudad: ",t]}),i&&(0,n.jsxs)("p",{className:"mb-0",children:["Distrito: ",i]}),c&&(0,n.jsxs)("p",{className:"mb-0",children:["Urbanizaci\xf3n: ",c]}),o&&(0,n.jsxs)("p",{className:"mb-0",children:["Referencia: ",o]}),d&&(0,n.jsxs)("p",{className:"mb-0",children:["N\xfamero Oficina o Interior si es edificio: ",d]})]})},L=e=>{var s;let{freight:l}=e;return l?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Frete:"})}),(0,n.jsx)("p",{className:"mb-0",children:l&&(null==l?void 0:l.id)==="toBeConfirmed"?"N\xe3o calculado":"".concat(null!==(s=null==l?void 0:l.title)&&void 0!==s?s:"N\xe3o informado"," ").concat((null==l?void 0:l.priceToShow)?"(".concat(null==l?void 0:l.priceToShow,")"):"")}),(null==l?void 0:l.deliveryTimeToShow)&&(0,n.jsxs)("p",{className:"mb-0",children:["Previs\xe3o de entrega: ",l.deliveryTimeToShow]}),(null==l?void 0:l.trackingLink)?(0,n.jsxs)("p",{className:"mb-0 mt-1",children:[(0,n.jsx)("strong",{children:"Link de rastreio: "}),null==l?void 0:l.trackingLink]}):"",(null==l?void 0:l.comment)?(0,n.jsxs)("p",{className:"mb-0 mt-1",children:[(0,n.jsx)("strong",{children:"Observa\xe7\xf5es: "}),null==l?void 0:l.comment]}):""]}):null},G=function(e){var s;let{freight:l}=e,{t:a}=(0,b.$G)("common");
1if(!l)return null;let r="toBeConfirmed"===l.id?a("freightNotCalculated"):"".concat(null!==(s=null==l?void 0:l.title)&&void 0!==s?s:a("freightTitleNotInformed")," ").concat((null==l?void 0:l.priceToShow)?"(".concat(l.priceToShow,")"):""),t="calendar"===l.deliveryEstimateKind&&!!l.deliveryTimeToShow;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsxs)("strong",{children:[a("freight"),":"]})}),(0,n.jsx)("p",{className:"mb-0",children:r}),t&&(0,n.jsxs)("p",{className:"mb-0",children:[a("freightDeliveryTime"),": ",l.deliveryTimeToShow]}),!t&&(null==l?void 0:l.deliveryTime)&&(0,n.jsxs)("p",{className:"mb-0",children:[a("freightDeliveryTime"),": ",l.deliveryTime," ",a(l.deliveryTimeToShow>1?"modalOrderFreightBusinessDays":"modalOrderFreightBusinessDay")]}),(null==l?void 0:l.trackingLink)?(0,n.jsxs)("p",{className:"mb-0 mt-1",children:[(0,n.jsxs)("strong",{children:[a("trackingLink"),": "]}),l.trackingLink]}):null,(null==l?void 0:l.comment)?(0,n.jsxs)("p",{className:"mb-0 mt-1",children:[(0,n.jsxs)("strong",{children:[a("observations"),": "]}),l.comment]}):null]})},W=e=>{let{payment:s}=e;return s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:"Pagamento:"})}),(0,n.jsx)("p",{className:"mb-0",children:null==s?void 0:s.paymentMethod}),(null==s?void 0:s.parcel)&&(0,n.jsxs)("p",{className:"mb-0",children:["(",null==s?void 0:s.parcel,"x)"]}),(null==s?void 0:s.paymentUrl)&&(0,n.jsxs)("div",{className:"mt-25",children:[(0,n.jsx)("a",{className:"btn btn-sm btn-success",target:"_blank",href:null==s?void 0:s.paymentUrl,children:"Pagar agora*"}),(0,n.jsx)("p",{className:"font-small-2",children:"* Ignore caso j\xe1 tenha realizado o pagamento"})]})]}):null},U=function(e){let{payment:s}=e,{t:l}=(0,b.$G)("common");return s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsxs)("strong",{children:[l("payment"),":"]})}),(0,n.jsx)("p",{className:"mb-0",children:null==s?void 0:s.paymentMethod}),(null==s?void 0:s.parcel)&&(0,n.jsxs)("p",{className:"mb-0",children:["(",null==s?void 0:s.parcel,"x)"]}),(null==s?void 0:s.paymentUrl)&&(0,n.jsxs)("div",{className:"mt-25",children:[(0,n.jsx)("a",{className:"btn btn-sm btn-success",target:"_blank",rel:"noopener noreferrer",href:null==s?void 0:s.paymentUrl,children:l("modalOrderPayNow")}),(0,n.jsx)("p",{className:"font-small-2",children:l("modalOrderPayNowHint")})]})]}):null},$=function(e){let{initialProps:s,customer:l,address:a,freight:r,payment:t}=e,i=function(e){var s,l;let n=null==e?void 0:null===(l=e.dental)||void 0===l?void 0:null===(s=l.countryRules)||void 0===s?void 0:s.countryCode;return"string"!=typeof n||""===n.trim()?"BR":n.trim().toUpperCase()}(s);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.Z,{xs:12,lg:6,className:"mb-2",children:function(e,s){switch(e){case"MX":return(0,n.jsx)(I,{customer:s});case"CO":return(0,n.jsx)(D,{customer:s});case"BO":return(0,n.jsx)(_,{customer:s});case"PE":return(0,n.jsx)(F,{customer:s});default:return(0,n.jsx)(E,{customer:s})}}(i,l)}),(0,n.jsx)(h.Z,{xs:12,lg:6,className:"mb-2",children:function(e,s){switch(e){case"MX":return(0,n.jsx)(z,{address:s});case"CO":return(0,n.jsx)(M,{address:s});case"BO":return(0,n.jsx)(A,{address:s});case"PE":return(0,n.jsx)(B,{address:s});default:return(0,n.jsx)(R,{address:s})}}(i,a)}),(0,n.jsx)(h.Z,{xs:12,lg:6,className:"mb-2",children:function(e,s){switch(e){case"MX":case"CO":case"BO":case"PE":return(0,n.jsx)(G,{freight:s});default:return(0,n.jsx)(L,{freight:s})}}(i,r)}),(0,n.jsx)(h.Z,{xs:12,lg:6,className:"mb-2",children:function(e,s){switch(e){case"MX":case"CO":case"BO":case"PE":return(0,n.jsx)(U,{payment:s});default:return(0,n.jsx)(W,{payment:s})}}(i,t)})]})},q=function(e){var s,l,a,r,i,c,o,d,p,N,v,f,y,Z,w,O,P;let{initialProps:E,isOpen:I,idOrder:D,handleToggle:_}=e,[F,R]=(0,t.useState)({}),[z,M]=(0,t.useState)(!1),{t:A}=(0,b.$G)("common");return(0,t.useEffect)(()=>{(async()=>{try{M(!1);let e=await fetch("/api/user/getOrderDetails?orderId=".concat(D)),s=await e.json();return R(s||{}),M(!0)}catch(e){return R({}),M(!0)}})()},[D]),(0,n.jsxs)(S.Z,{isOpen:I,toggle:_,className:"modal-dialog-centered modal
1-xl",children:[(0,n.jsx)(C.Z,{toggle:_,children:(0,n.jsxs)("strong",{children:["Pedido ",D]})}),(0,n.jsxs)(k.Z,{className:"font-small-3",children:[z&&(null===(s=Object.keys(F||{}))||void 0===s?void 0:s.length)>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{className:"mb-2",children:[A("realizedIn")," ",F.createdAt]}),(0,n.jsx)("div",{className:"mb-2",children:(0,n.jsx)(g,{status:F.status})}),(0,n.jsx)(x.Z,{children:(0,n.jsx)($,{initialProps:E,customer:F.customer,address:F.address,freight:null!==(Z=F.shipping)&&void 0!==Z?Z:F.freight,payment:F.payment})}),(0,n.jsx)(T,{studentListWithPricesHidden:F.studentListWithPricesHidden,initialProps:E}),(0,n.jsx)("p",{className:"mb-50",children:(0,n.jsxs)("strong",{children:[A("products"),":"]})}),F.products.map(e=>(0,n.jsx)(m.Z,{initialProps:E,className:"mb-1",children:(0,n.jsx)(u.Z,{children:(0,n.jsxs)(x.Z,{className:"align-items-lg-center font-small-3",children:[(0,n.jsx)(h.Z,{xs:12,lg:8,className:"mb-1 mb-lg-0",children:(0,n.jsxs)("div",{className:"d-flex align-items-center",children:[e.thumb&&(0,n.jsx)("img",{className:"mr-50",src:e.thumb,style:{width:"auto",height:"auto",maxWidth:"50px",maxHeight:"50px"}}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{className:"mb-0",children:["C\xf3d.: ",e.internalId]}),(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:e.title})}),(0,n.jsx)("p",{className:"mb-0",children:e.brand})]})]})}),(0,n.jsxs)(h.Z,{xs:12,lg:2,className:"mb-1 mb-lg-0 text-lg-center",children:[(0,n.jsxs)("strong",{children:[A("abbreviationQty"),":"]}),(0,n.jsx)("br",{}),e.quantity]}),(0,n.jsxs)(h.Z,{xs:12,lg:2,className:"text-lg-end",children:[(0,n.jsx)("strong",{children:"Subtotal:"}),(0,n.jsx)("br",{}),e.subtotal]})]})})},e.id)),null==F?void 0:null===(l=F.gifts)||void 0===l?void 0:l.map(e=>(0,n.jsx)(m.Z,{initialProps:E,className:"mb-1",children:(0,n.jsx)(u.Z,{children:(0,n.jsxs)(x.Z,{className:"align-items-lg-center font-small-3",children:[(0,n.jsx)(h.Z,{xs:12,lg:8,className:"mb-1 mb-lg-0",children:(0,n.jsxs)("div",{className:"d-flex align-items-center",children:[e.thumb&&(0,n.jsx)("img",{className:"mr-50",src:e.thumb,style:{width:"auto",height:"auto",maxWidth:"50px",maxHeight:"50px"}}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{className:"mb-0",children:["C\xf3d.: ",e.internalId]}),(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)("strong",{children:e.title})}),(0,n.jsx)("p",{className:"mb-0",children:e.brand})]})]})}),(0,n.jsxs)(h.Z,{xs:12,lg:2,className:"mb-1 mb-lg-0 text-lg-center",children:[(0,n.jsxs)("strong",{children:[A("abbreviationQty"),":"]}),(0,n.jsx)("br",{}),e.quantity]}),(0,n.jsx)(h.Z,{xs:12,lg:2,className:"text-lg-end",children:(0,n.jsx)("strong",{children:A("gift")})})]})})},e.id)),(0,n.jsxs)(x.Z,{className:"align-items-lg-center px-1",children:[(0,n.jsxs)(h.Z,{lg:{offset:6,size:6},className:"font-small-3 text-lg-end mb-1",children:[(0,n.jsx)("strong",{children:"Subtotal:"}),(0,n.jsx)("br",{}),null!==(w=null===(a=F.total)||void 0===a?void 0:a.priceToShow)&&void 0!==w?w:null===(i=F.total)||void 0===i?void 0:null===(r=i.subtotal)||void 0===r?void 0:r.formatted]}),null===(c=F.discounts)||void 0===c?void 0:c.map(e=>{var s;return(0,n.jsxs)(h.Z,{lg:{offset:6,size:6},className:"font-small-3 text-lg-end mb-1",children:[(0,n.jsxs)("strong",{children:[(null==e?void 0:e.name)||"De
1sconto",":"]}),(0,n.jsx)("br",{}),null===(s=e.total)||void 0===s?void 0:s.formatted]},e.id)}),(F.shipping||F.freight)&&(0,n.jsxs)(h.Z,{lg:{offset:6,size:6},className:"font-small-3 text-lg-end mb-1",children:[(0,n.jsxs)("strong",{children:[A("freight"),":"]}),(0,n.jsx)("br",{}),(null===(o=F.shipping)||void 0===o?void 0:o.id)==="toBeConfirmed"||(null===(d=F.freight)||void 0===d?void 0:d.id)==="toBeConfirmed"?"N\xe3o calculado":"".concat(null!==(O=null===(p=F.shipping)||void 0===p?void 0:p.priceToShow)&&void 0!==O?O:null===(N=F.freight)||void 0===N?void 0:N.priceToShow)]}),(0,n.jsxs)(h.Z,{lg:{offset:6,size:6},className:"font-medium-2 text-lg-end",children:[(0,n.jsx)("strong",{children:"Total:"}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{className:"text-success",children:null!==(P=null===(v=F.total)||void 0===v?void 0:v.totalToShow)&&void 0!==P?P:null===(y=F.total)||void 0===y?void 0:null===(f=y.total)||void 0===f?void 0:f.formatted})]})]})]}),!z&&(0,n.jsx)(j.Z,{color:"success"})]})]})},H=l(69283),X=!0,Y=(0,P.$j)(e=>({cart:e.cart,sessionData:e.sessionData}),{addToCart:O.Xq})(function(e){let{initialProps:s,addToCart:l,cart:a,sessionData:f}=e,y=(0,i.useRouter)(),{dental:Z}=s||{},[O,P]=(0,t.useState)(!1),[S,C]=(0,t.useState)([]),[k,T]=(0,t.useState)(null),{t:E}=(0,b.$G)("common"),I={title:"".concat(E("myOrdersTitle")," - ").concat(null==Z?void 0:Z.name),image:"https://catalogomaisodonto.com.br/images/catalogo-mais-odonto.png"};async function D(e,s){try{let l={sellerId:Z.id,userId:e,products:s},n=await (0,H.v)("".concat(v.Y,"/addToCartBulk"),{method:"POST",requestedTokenType:"user",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(200!==n.status)return N.Am.error("Erro ao adicionar produtos ao carrinho"),null;let a=await n.json();return N.Am.success("Produtos adicionados ao carrinho"),{success:!0,data:a}}catch(e){return console.log(e),N.Am.error("Erro ao adicionar produtos ao carrinho"),null}}async function _(e,s){try{if((null==Z?void 0:Z.type)==="ecommerce"){let n=await D(e,s);n.success&&l({cartUpdated:n.data,quantityToAdd:s[0].quantity,unitPrice:s[0].price})}else await Promise.all(s.map(async e=>{try{return l({dentalId:Z.id,productId:e.id,quantityToAdd:e.quantity||1,unitPrice:e.price}),{success:!0,item:e}}catch(e){return console.log(e),{success:!1,error:e}}}))}catch(e){console.log(">>> erro:",e),N.Am.error("Erro ao adicionar produtos ao carrinho")}}return(0,t.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/user/getOrders"),s=await e.json();if(!s)return P(!0);return C(s),P(!0)}catch(e){return P(!0)}})()},[]),(0,n.jsxs)(c.Z,{initialProps:s,children:[(0,n.jsxs)(o.Z,{initialProps:s,children:[(0,n.jsxs)(r(),{children:[(0,n.jsx)("title",{children:I.title}),(0,n.jsx)("meta",{name:"robots",content:"noindex"}),(0,n.jsx)("meta",{name:"title",content:I.title}),(0,n.jsx)("meta",{property:"og:title",content:I.title}),(0,n.jsx)("meta",{property:"og:url",content:I.url}),(0,n.jsx)("meta",{property:"og:image",content:I.image}),(0,n.jsx)("meta",{property:"og:image:alt",content:null==Z?void 0:Z.name}),(0,n.jsx)("meta",{property:"og:type",content:"Website"}),(0,n.jsx)("meta",{property:"og:locale",content:d.ogLocale}),(0,n.jsx)("meta",{name:"robots",content:"noindex"}),(0,n.jsx)("link",{rel:"canonical",href:I.url})]}),(0,n.jsx)("h2",{className:"customContentTitle content-header-title mb-2",children:E("myOrders")}),O&&(null==S?void 0:S.length)>0&&S.map(e=>{var l,a,r,t,i,c,o,d;return(0,n.jsx)(m.Z,{initialProps:s,className:"mb-1",children:(0,n.jsx)(u.Z,{children:(0,n.jsxs)(x.Z,{children:[(0,n.jsxs)(h.Z,{xs:12,xl:(null===(l=e.shipping)||void 0===l?void 0:l.comment)?2:3,className:"mb-1 mb-xl-0",children:[(0,n.jsxs)("strong",{children:[(null===(a=e.shipping)||void 0===a?void 0:a.comment)?E("orderNumberSmall"):E("orderNumber"),":"]}),(0,n.jsx)("br",{}),e.id]}),(0,n.jsx)(h.Z,{xs:12,xl:2,className:"mb-1 mb-xl-0",children:(0,n.jsx)(g,{status:e.status})}),(0,n.jsxs)(h.Z,{xs:12,xl:2,className:"mb-1 mb-xl-0",children:[(0,n.jsxs)("strong",{children:[E("realizedIn"),":"]}),(0,n.jsx)("br",{}),e.createdAt]}),(null==e?void 0:null===(r=e.shipping)||void 0===r?void 0:r.trackingLink)?(0,n.jsxs)(h.Z,{xs:12,xl:2,className:"mb-1 mb-xl-0",children:[(0,n.jsxs)("strong",{children:[E("trackingLink"),":"]}),(0,n.jsx)("br",{}),(0,n.jsx)("a",{href:null==e?void 0:null===(t=e.shipping)||void 0===t?void 0:t.trackingLink,style:{textDecoration:"underline",color:"blue"},target:"_blank",children:null==e?void 0:null===(i=e.shipping)||void 0===i?void 0:i.trackingLink})]}):"",(null==e?void 0:null===(c=e.shipping)||void 0===c?void 0:c.comment)?(0,n.jsxs)(h.Z,{xs:12,xl:2,className:"mb-1 mb-xl-0",children:[(0,n.jsxs)("strong",{children:[E("observations"),":"]}),(0,n.jsx)("br",{}),null==e?void 0:null===(o=e.shipping)||void 0===o?void 0:o.comment]}):"",(0,n.jsxs)(h.Z,{xs:12,xl:2,className:"mb-1 mb-xl-0",children:[(0,n.jsxs)("strong",{children:[E("total"),":"]}),(0,n.jsx)("br",{}),null===(d=e.total)||void 0===d?void 0:d.totalToShow]}),(0,n.jsxs)(h.Z,{xs:12,xl:3,className:"d-xl-flex gap-2 align-items-xl-center justify-content-xl-end",children:[(0,n.jsxs)(p.Z,{type:"button",color:"success",className:"d-flex align-items-center gap-2",onClick:()=>_(e.customerId,e.products),children:[(0,n.jsx)(w,{size:16})," ",E("actionRebuy")]}),(0,n.jsx)(p.Z,{type:"submit",color:"secondary",onClick:()=>T(e.id),children:E("details")})]})]})})},e.id)}),O&&(null==S?void 0:S.length)===0&&(0,n.jsx)(m.Z,{initialProps:s,children:(0,n.jsxs)(u.Z,{children:[(0,n.jsx)("p",{children:E("noOrders")}),(0,n.jsx)(p.Z,{type:"submit",color:"success",onClick:()=>
1y.push("/"),children:E("actionSeeOrderDetails")})]})}),!O&&(0,n.jsx)(j.Z,{color:"success"})]}),null!==k&&(0,n.jsx)(q,{initialProps:s,isOpen:null!==k,idOrder:k,handleToggle:()=>T(null)})]})})},35952:function(e){e.exports={breadcrumb:"Breadcrumb_breadcrumb__TkZ_t",styled:"Breadcrumb_styled__YyYbx"}},49915:function(e){e.exports={styled:"Card_styled__YoH6M"}},70596:function(e){e.exports={aside:"MyAccountLayout_aside__6WxpC",active:"MyAccountLayout_active__YPSP1"}},4868:function(e,s,l){"use strict";var n=l(67294),a=l(45697),r=l.n(a);function t(){return(t=Object.assign||function(e){for(var s=1;s<arguments.length;s++){var l=arguments[s];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(this,arguments)}var i=(0,n.forwardRef)(function(e,s){var l=e.color,a=e.size,r=void 0===a?24:a,i=function(e,s){if(null==e)return{};var l,n,a=function(e,s){if(null==e)return{};var l,n,a={},r=Object.keys(e);for(n=0;n<r.length;n++)l=r[n],s.indexOf(l)>=0||(a[l]=e[l]);return a}(e,s);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)l=r[n],!(s.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}(e,["color","size"]);return n.createElement("svg",t({ref:s,xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:void 0===l?"currentColor":l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},i),n.createElement("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),n.createElement("polyline",{points:"16 17 21 12 16 7"}),n.createElement("line",{x1:"21",y1:"12",x2:"9",y2:"12"}))});i.propTypes={color:r().string,size:r().oneOfType([r().string,r().number])},i.displayName="LogOut",s.Z=i},23923:function(e,s,l){"use strict";var n=l(87462),a=l(63366),r=l(67294),t=l(45697),i=l.n(t),c=l(93967),o=l.n(c),d=l(23663),m=["className","listClassName","cssModule","children","tag","listTag","aria-label"],u={tag:d.iC,listTag:d.iC,className:i().string,listClassName:i().string,cssModule:i().object,children:i().node,"aria-label":i().string},x=function(e){var s=e.className,l=e.listClassName,t=e.cssModule,i=e.children,c=e.tag,u=e.listTag,x=e["aria-label"],h=(0,a.Z)(e,m),p=(0,d.mx)(o()(s),t),j=(0,d.mx)(o()("breadcrumb",l),t);return r.createElement(c,(0,n.Z)({},h,{className:p,"aria-label":x}),r.createElement(u,{className:j},i))};x.propTypes=u,x.defaultProps={tag:"nav",listTag:"ol","aria-label":"breadcrumb"},s.Z=x},65881:function(e,s,l){"use strict";var n=l(87462),a=l(63366),r=l(67294),t=l(45697),i=l.n(t),c=l(93967),o=l.n(c),d=l(23663),m=["className","cssModule","active","tag"],u={tag:d.iC,active:i().bool,className:i().string,cssModule:i().object},x=function(e){var s=e.className,l=e.cssModule,t=e.active,i=e.tag,c=(0,a.Z)(e,m),u=(0,d.mx)(o()(s,!!t&&"active","breadcrumb-item"),l);return r.createElement(i,(0,n.Z)({},c,{className:u,"aria-current":t?"page":void 0}))};x.propTypes=u,x.defaultProps={tag:"li"},s.Z=x},56941:function(e,s,l){"use strict";var n=l(87462),a=l(63366),r=l(67294),t=l(45697),i=l.n(t),c=l(93967),o=l.n(c),d=l(23663),m=["className","cssModule","color","body","inverse","outline","tag","innerRef"],u={tag:d.iC,inverse:i().bool,color:i().string,body:i().bool,outline:i().bool,className:i().string,cssModule:i().object,innerRef:i().oneOfType([i().object,i().string,i().func])},x=function(e){var s=e.className,l=e.cssModule,t=e.color,i=e.body,c=e.inverse,u=e.outline,x=e.tag,h=e.innerRef,p=(0,a.Z)(e,m),j=(0,d.mx)(o()(s,"card",!!c&&"text-white",!!i&&"card-body",!!t&&(u?"border":"bg")+"-"+t),l);return r.createElement(x,(0,n.Z)({},p,{className:j,ref:h}))};x.propTypes=u,x.defaultProps={tag:"div"},s.Z=x},91121:function(e,s,l){"use strict";var n=l(87462),a=l(63366),r=l(67294),t=l(45697),i=l.n(t),c=l(93967),o=l.n(c),d=l(23663),m=["className","cssModule","innerRef","tag"],u={tag:d.iC,className:i().string,cssModule:i().object,innerRef:i().oneOfType([i().object,i().string,i().func])},x=function(e){var s=e.className,l=e.cssModule,t=e.innerRef,i=e.tag,c=(0,a.Z)(e,m),u=(0,d.mx)(o()(s,"card-body"),l);return r.createElement(i,(0,n.Z)({},c,{className:u,ref:t}))};x.propTypes=u,x.defaultProps={tag:"div"},s.Z=x}},function(e){e.O(0,[3714,3996,7795,9655,2923,4517,571,953,2888,9774,179],function(){return e(e.s=51982)}),_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.