PageSourceSearch

https://javit.com.ar/static/js/main.c696caf8.chunk.js

js javit.com.ar collected 2026-10-07 19:42:24 UTC 63,050 bytes, 1 lines download raw bytes

1(this.webpackJsonpjavit=this.webpackJsonpjavit||[]).push([[14],{106:function(e,t,a){"use strict";a.d(t,"a",(function(){return l})),a.d(t,"e",(function(){return d})),a.d(t,"d",(function(){return m})),a.d(t,"c",(function(){return u})),a.d(t,"b",(function(){return g}));var n=a(10),o=a(0),r=a.n(o),i=r.a.createContext(),c=r.a.createContext();function s(e,t){switch(t.type){case"TOGGLE_SIDEBAR":return Object(n.a)(Object(n.a)({},e),{},{isSidebarOpened:!e.isSidebarOpened});case"TOGGLE_RIGHT_SIDEBAR":return Object(n.a)(Object(n.a)({},e),{},{isRightSidebarOpened:!e.isRightSidebarOpened,RightContent:t.content});default:throw new Error("Unhandled action type: ".concat(t.type))}}function l(e){let{children:t}=e;const[a,n]=r.a.useReducer(s,{isSidebarOpened:!1,isRightSidebarOpened:!1,RightContent:null}),[o,l]=r.a.useState(null);return r.a.useEffect(()=>{l(r.a.createElement(i.Provider,{value:a},r.a.createElement(c.Provider,{value:n},t)))},[a]),o}function d(){var e=r.a.useContext(i);if(void 0===e)throw new Error("useLayoutState must be used within a LayoutProvider");return e}function m(){var e=r.a.useContext(c);if(void 0===e)throw new Error("useLayoutDispatch must be used within a LayoutProvider");return e}function u(e){e({type:"TOGGLE_SIDEBAR"})}function g(e,t){e({type:"TOGGLE_RIGHT_SIDEBAR",content:t})}},108:function(e,t,a){e.exports=a.p+"static/media/logo-invertido.75de17f1.svg"},109:function(e,t,a){"use strict";a.d(t,"a",(function(){return c})),a.d(t,"b",(function(){return i}));var n=a(0),o=a.n(n);const r=o.a.createContext();function i(){return o.a.useContext(r)}function c(e){let{children:t}=e;const[a,n]=o.a.useState([]);return o.a.createElement(r.Provider,{value:{list:a,setList:n}},t)}},12:function(e,t,a){"use strict";a.d(t,"a",(function(){return d}));var n=a(0),o=a.n(n),r=a(99),i=a.n(r),c=a(137),s=a.n(c);a(204),a(205);var l=e=>{let{className:t}=e;return o.a.createElement("div",{className:"loader ".concat(t)},o.a.createElement("svg",{className:"circular",viewBox:"25 25 50 50"},o.a.createElement("circle",{className:"path",cx:"50",cy:"50",r:"15",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"})))};function d(e){return t=>{const[a,r]=Object(n.useState)(!0),[c,d]=Object(n.useState)(null);Object(n.useEffect)(()=>(async function(){i.a.start();const{default:n}=await e();i.a.done(),a&&d(o.a.createElement(n,t))}(),function(){r(!1)}),[]);const m=c||o.a.createElement("div",{className:"loader-view",style:{height:"calc(100vh - 200px)"}},o.a.createElement(l,null));return o.a.createElement(s.a,{type:"text",rows:7,ready:null!==m},m)}}},130:function(e,t,a){"use strict";a.d(t,"a",(function(){return A}));var n=a(0),o=a.n(n),r=a(244),i=a(142),c=a(209),s=a(245),l=a(28),d=a(92),m=a.n(d),u=a(264),g=Object(u.a)(e=>({container:{height:"100vh",width:"100vw",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",backgroundColor:e.palette.primary.main,position:"absolute",top:0,left:0},logotype:{backgroundColor:e.palette.primary.main,height:"100%",display:"flex",alignItems:"center",marginBottom:e.spacing(12),[e.breakpoints.down("sm")]:{display:"none"}},logotypeText:{fontWeight:500,color:"white",marginLeft:e.spacing(2)},logotypeIcon:{width:"100%",marginLeft:e.spacing(20),marginTop:e.spacing(12)},paperRoot:{boxShadow:e.customShadows.widgetDark,display:"flex",flexDirection:"column",alignItems:"center",paddingTop:e.spacing(8),paddingBottom:e.spacing(8),paddingLeft:e.spacing(6),paddingRight:e.spacing(6),maxWidth:404},textRow:{marginBottom:e.spacing(10),textAlign:"center"},errorCode:{fontSize:148,fontWeight:600},safetyText:{fontWeight:300,color:e.palette.text.hint},backButton:{boxShadow:e.customShadows.widget,textTransform:"none",fontSize:22}})),p=a(108),b=a.n(p),f=a(50),h=a.n(f),E=a(268);function A(){const{t:e}=Object(E.a)();var t=g();return o.a.createElement(r.a,{container:!0,className:t.container},o.a.createElement("div",{className:t.logotype},o.a.createElement("img",{className:t.logotypeIcon,src:b.a,alt:"logo"}),o.a.createElement(l.b,{href:"#/",to:"#/",title:"Inicio"},o.a.createElement("img",{src:h.a,alt:"Volver al inicio"}))),o.a.createElement(i.a,{classes:{root:t.paperRoot}},o.a.createElement(c.a,{variant:"h1",color:"primary",className:m()(t.textRow,t.errorCode)},"404"),o.a.createElement(c.a,{variant:"h5",color:"primary",className:t.textRow},e("error.resourceNotExist")),o.a.createElement(c.a,{variant:"h6",color:"text",colorBrightness:"secondary",className:m()(t.textRow,t.safetyText)},e("error.backToHome")),o.a.createElement(s.a,{variant:"contained",color:"primary",component:l.b,to:"/",size:"large",className:t.backButton}
1,e("error.home"))))}},134:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAOgSURBVHgB1VrRcdswDIVy/a83KDtB3A2UCXrdwJ2g7gRWJmgzQdIJ0k4gdQI7E1CZIN4ABSz6rIKgRVK24rw7WBIFSgAJgCDkAiKAiIYOJdE1EZ/Pe7cNjEPrjltHG6InoqYoihbGgARfENX4elizDJAK6lQSWbwcWKIyVvgVXi5WUt5CCk+H6oh+G0fP7rqF08C4o+ZjEhX5xq3Xip3ZaHghqohmMBHoXQY7/7MBmUqtk8b8MKXgikysyKMil5WMC4XpES4EbiAlln2GtdQQu9g/taA8kPdEP/rvZytwptxHvb9pFO0WMDHQj34vQolKkfNDyHwMTAz0R5jxs3d/pg30O/BD1mbsEo6d4xs4hMete+72CL8WLN7vT7gv8W2EvHNW4Fp0eoZ8ob9BlzOVAR4W4A5EnuOEa5R+f8U150j/52HoO3AF6cKvAiYQgkWxqmLni7W7z89aKu+RfmC1+F9BJMRLc8CDZ8QzZ0fe5ylwpfC1ECk8HTiUlZAPNoe6r0TITyAgGytgIA+Pgb4N0Xeij4UDnX8i+gr64PAz7iEPOx+QWAz1Qj1jVe1W6btE3V+qiL5eyE9WADu7t4rwc4gE86KvBF/PUhW4gnSU4JvOLVnKBiLheGVKzMIPzqCHjBnw8ibIBPoRrB7gHzcDboqlqdxCPv6I6xIT0/dUE9LsPNp0FPxW2gwkIFUBb3RSbF/p2yrNBhKQ48QXhVQFWtmAnJNnIhB6t5CA0QoQvkA+RvtUkgIuT2lE82fIh6zzbAZyIQ85PiBzdA59yQsQ9eG9gxHNd5CKjIVsFkgDxqYSFge2sniKVMJNsRwpDq81xiVzPPI1+CH5V9ZWNnUGev1q1GHdSM17vJwALo/0WUe+U81GbaYCWlaaA4uRVRBFAXVHZmIe5qb7BsalEg0/I8F0jGwYtRLzi4l4t8UJXUr4Y15OwW+KcSWcLU+LLJ5mbe/wUFFeHzGXGkdUuhVZa64LyTpQdDjsw43kAxMe0u59wYrNrE1dpBQYcf0UKi1mjdA5gYEaLvtAo/Cnb+3Oj1Jpa3a/6MfnwQ32lEA9ZK/7DJoZ5dZqTg7Uv9IsJJNVmLijgVcCdnnXvSKX1ZhL1GHdDBmYCE7wFYYLxuWeV35mrcDP0fvYhUPoytwAp//Myru7ORwP5bwAVsG7qH/KuRRUEAN8y381EIoMpQbnRo0D2XERqYiBbiFh2+RPUvsUgWFgHNre+f5vDHyM+rvNP96w6yzcZUqcAAAAAElFTkSuQmCC"},135:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAD3ElEQVR4nO2bTYgURxiGn68ZFpFFN4vIHmRdggQMgQQPQRBJIB6CeBEvEhMIEUwOIQqi6CF4c3NKQBBDiEH89yQRDIh6CIEccvBgyCEJZCWEEMSsqyyyjOO8OXRP7G12tqt626nuGR8o5q++6q/eqa76qrrKyCBpBNgJbAJWAEOpFAGNJEWpROZzNL9UGtnrONLKfG4nKfu+lXptJd+3gDmgCcwA3wMXzWy269UkfSLpgfqXfyW9m66zJRWPgBPAnoL/VN04bGafwVMBDgGTQV3qPbvM7LxJWgP8DiwL7VGPmQbWRsAHDF7lAUaBdyJgR2hPAvJWRDzUDSqj2fF60Bh6LsASjNvEUVY2WqsTjSICtIGvgfXASuAF4FXgFE9D07rQQNKURyj5OBtKppG0R9KTsuPXZ8jPvi3gSzM72+1HM/sKuOhZZki8boE2buHyFwWdCYKPAI/M7G+HfLeJp6F1oFAnmEdnPl4LfARYJmmVQ751wPKC/vSayEeABvHEKY8PCzoTAi8BAI5I2tjtR0lvAh8vyaUe4yvAcuC6pH2S/m/mkoYlHQSuEq8d1gaTNAVMFLCdAX4jFvEl6jmrvFN0tRZgBHi9LE9CMeizQe/1+vRavG+ZebbZ5wlt4AZxv/IX8cwzAoaBMWAzsJWl9jnymwxdkDSUk64uYPc46SgXszuXyn9N0ssOvo9LOuPhf5Yp7xZgZs0cp7r9y83FbCV1nuocAI6ZWW40aWZ/Au9JugacpEBrWEon+CzYbWanfY3M7KwkgDO+tlXqBI8XqXyHZJredarejcoIYGY/lVDMp8SdpTOVEaAMzOwO8J2PTV8JkPCtT+bKCSBpVNKkpF8k3Vc8TJ+QNOZYxI8+16vUKCBpHXATGE99PQJ8BGyTtDlp5ovxD/Fw6lS3yrQAxXsULjG/8mnWAMcdimrisSJVGQGALcCGnDxvS3olJ4/XklyVBHjNIU8E5IXILvOVeQVWhZVlFOISQqepkgCumzRcfK5lC3D1pW8FCDIk11GAUn2ukgCu9K0AQXypkgCu9G0LcKVvBQgxCrSrJIArZQpVKQEGvhMM4UulWoArz2+BEmkNvAC++wNmgbs5ecZYeI/QHzl2q4kffOZxD3iYk2cCN0Fv+d5Pw7g5uRAvFrTLsipJZVCpWyAEzUEXYC4CHoX2IiAzEXAltBcB+cEkTQC/UrPtbSUwC6yNkkdNnwd2JgSHzWy6c3K0AVwGtoX1qWccM7O9kAQLZtYCtgNH8dxgUDPmgP2dykNydjiNpHHgfeAN4ieznaPznSPzdaBzfL6ZpGni4/PfZM88/AeR9YC640xaGgAAAABJRU5ErkJggg=="},136:function(e,t,a){e.exports=a.p+"static/media/afip.15a73d4b.jpg"},15:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));const n=a(148),o=e=>{var t=n.enc.Utf8.parse(e);return n.enc.Base64.stringify(t)},r=e=>n.enc.Base64.parse(e).toString(n.enc.Utf8),i=()=>{try{return window.localStorage.getItem("dummyItem"),!0}catch(e){return!1}},c=()=>{try{return window.sessionStorage.getItem("dummyItem"),!0}catch(e){return!1}},s={saveInLocalStorage:(e,t)=>
1{if(!i())return null;window.localStorage.setItem(o(e),o(t))},getFromLocalStorage:(e,t)=>i()?window.localStorage.getItem(o(e))?r(window.localStorage.getItem(o(e))):t:null,saveInSessionStorage:(e,t)=>{if(!c())return null;window.sessionStorage.setItem(o(e),o(t))},getFromSessionStorage:(e,t)=>c()?window.sessionStorage.getItem(o(e))?r(window.sessionStorage.getItem(o(e))):t:null,removeFromLocalStorage:e=>{if(!c())return null;window.sessionStorage.removeItem(o(e))},removeFromSessionStorage:e=>{window.sessionStorage.removeItem(o(e))}}},153:function(e,t,a){e.exports=a(207)},17:function(e,t,a){"use strict";a.d(t,"b",(function(){return d})),a.d(t,"c",(function(){return l})),a.d(t,"d",(function(){return m})),a.d(t,"a",(function(){return g})),a.d(t,"f",(function(){return p})),a.d(t,"e",(function(){return u}));var n=a(212),o=a(44),r=a(15);const i="javit-{".concat(Object(n.a)(),"}");async function c(e,t){return fetch(function(e){return function(e,t){return e=e.replace(/\/$/,""),t="/"===t.charAt(0)?t:"/"+t,e+t}(o.a,e)}(e),t).then((async function(e){const t={data:await e.json(),hasError:!1};return e.ok||(t.hasError=!0),t})).catch(e=>({data:e,hasError:!0}))}function s(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{let n="";n=a?r.a.getFromSessionStorage("at-public"):r.a.getFromSessionStorage("at"),n=n?n.replace(/"/g,""):"";const c={method:e,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","X-Frame-Options":"SAMEORIGIN","X-XSS-Protection":"1; mode=block","X-Content-Type-Options":"nosniff",traza:i,aplicacionorigen:o.b,Authorization:"Bearer ".concat(n)}};if(t){let e=t;e=JSON.stringify(e),c.body=e}return c}catch(n){console.error("Error getRequest: "+n.error)}}async function l(e){if("undefined"===typeof r.a.getFromSessionStorage("at-public")){const e={email:o.e,password:o.f},t=await m("/Seguridad/1/login/",e);t.hasError||r.a.saveInSessionStorage("at-public",t.data.token)}return await c(e,s("GET",null,!0))}async function d(e){return await c(e,s("GET"))}async function m(e,t){return await c(e,s("POST",t))}async function u(e,t){if("undefined"===typeof r.a.getFromSessionStorage("at-public")){const e={email:o.e,password:o.f},t=await m("/Seguridad/1/login/",e);r.a.saveInSessionStorage("at-public",t.data.token)}return await c(e,s("POST",t,!0))}async function g(e,t){return await c(e,s("DELETE"))}async function p(e,t){return await c(e,s("PUT",t))}},170:function(e,t){},207:function(e,t,a){"use strict";a.r(t);var n=a(0),o=a.n(n),r=a(11),i=a.n(r),c=a(262),s=a(263),l=a(10),d=a(140),m=a(267),u=a(31),g=a.n(u);const p="#a83832",b="#64CAF3";var f={getStateStyle:e=>{const t={fontWeight:"500",borderRadius:"100px",height:"35px",width:220,margin:"auto",padding:"1rem",display:"flex",justifyContent:"center",alignItems:"center",color:"white",textAlign:"center",textTransform:"uppercase",fontSize:".6rem"};switch(e.toUpperCase()){case"PEN":case"PENDING":return t.backgroundColor="#C0D6E4",t;case"CON":return t.backgroundColor="gray",t;case"DEP":return t.backgroundColor="#808080",t;case"EOT":case"RTO":return t.backgroundColor="#FF876D",t;case"ETB":case"RBT":case"EBT":case"RTB":case"ETX":case"RXT":case"EXT":case"RTX":return t.backgroundColor=b,t;case"ETF":case"RFT":return t.backgroundColor="#4ca3dd",t;case"ECF":return t.backgroundColor="#66cccc",t;case"ROK":return t.backgroundColor="#66cdaa",t;case"RNK":return t.backgroundColor="#fa8072",t;case"RAT":return t.backgroundColor="#66cdaa",t;case"CAN":return t.backgroundColor="#FFB740",t;case"CANCELADA":case"CAU":return t.backgroundColor="#FFB740",t;case"ELI":case"NRE":case"CER":return t.backgroundColor="#D5CEC6",t;case"EN REVISI\xd3N":return t.backgroundColor="#faebd7",t;case"RESUELTO":return t.backgroundColor="#78D2B3",t;case"APROBADO":case"APPROVED":return t.backgroundColor="#66cdaa",t;case"ERROR":return t.backgroundColor=p,t;case"WARNING":return t.backgroundColor="#e1a364",t;case"INFO":return t.backgroundColor="#009BDB",t;case"DEBUG":return t.backgroundColor="#000",t;case"AUDIT":return t.backgroundColor="#faebd7",t;case"DPEN":return t.backgroundColor="#C0D6E4",t;case"DECF":return t.backgroundColor="gray",t;case"DRFC":return t.backgroundColor="#808080",t;case"DEFT":case"DRTF":case"DETX":case"DRXT":case"DEXT":case"DRTX":case"DETB":case"DRBT":case"DEBT":case"DRTB":return t.backgroundColor=b,t;case"DETO":return t.backgroundColor="#66cccc",t;case"DROT":return t.backgroundColor="#66cdaa",t;case"DCAU":case"DCER":return t.backgroundColor="#eeeeee",t;case"RPEN":return t.backgroundColor="#C0D6E4",t;case"RREV":return t.backgroundColor="#faebd7",t;case"RRES":return t.backgroundColor="#78D2B3",t;case"RCER":return t.backgroundColor="#D5CEC6",t;default:return t.backgroundColor="gray",t}},palette:{primary:{main:"#009BDB",light:g()("#009BDB").lighten(7.5).toHexString(),dark:g()("#009BDB").darken(15).toHexString()},secondary:{main:"#006DA9",light:g()("#006DA9").lighten(7.5).toHexString(),dark:g()("#006DA9").darken(15).toHexString(),contrastText:"#FFFFFF"},error:{main:p,light:g()(p).lighten(p).toHexString(),dark:g()(p).darken(15).toHexString()},warning:{main:"#e1a364",light:g()("#e1a364").lighten(7.5).toHexString(),dark:g()("#e1a364").darken(15).toHexString()},success:{main:"#78D2B3",light:g()("#78D2B3").lighten(7.5).toHexString(),dark:g()("#78D2B3").darken(15).toHexString()},info:{main:"#5ce1d0",light:g()("#5ce1d0").lighten(7.5).toHexString(),dark:g()("#5ce1d0").darken(15).toHexString()},text:{primary:"#4A4A4A",secondary:"#6E6E6E",warning:"#e1a364",hint:"#B9B9B9",description:"#707070",white:"white"},background:{default:"#F6F7FF",light:"#F3F5FF",section1:"#FFFFFF",section2:"#F7F7F7"},white:"#fff",cFFFFFF80:"#FFFFFF80",leftBar:"#f7f7f7",boxShadowColor:"#333",c1a73e8:"#1a73e8",cD8D8D880:"#D8D8D880",cBDBDBD:"#BDBDBD",cADADAD:"#ADADAD",footerBg:"#1A1A1A",black:"#000",c707070:"#707070",ceaeaf0:"#eaeaf0",cccc:"#ccc",successGreen:"#4BCA81",grayQrTitle:"#828282",orangeCounterBg:"#F2994A",c60CCFF:"#60CCFF",c506F7C:"#506
1F7C",c2196F3:"#2196F3",c00658e:"#00658e",ca83832:"#a83832",cDEDEDE:"#DEDEDE",c004C94:"#004C94",cF4F4F4:"#F4F4F4",b52424:"#b52424",ccd0a12:"#cd0a12"},customShadows:{widget:"0px 3px 11px 0px #E8EAFC, 0 3px 3px -2px #B2B2B21A, 0 1px 8px 0 #9A9A9A1A",widgetDark:"0px 3px 18px 0px #4558A3B3, 0 3px 3px -2px #B2B2B21A, 0 1px 8px 0 #9A9A9A1A",widgetWide:"0px 12px 33px 0px #E8EAFC, 0 3px 3px -2px #B2B2B21A, 0 1px 8px 0 #9A9A9A1A"},overrides:{MuiBackdrop:{root:{backgroundColor:"#4A4A4A1A"}},MuiMenu:{paper:{boxShadow:"0px 3px 11px 0px #E8EAFC, 0 3px 3px -2px #B2B2B21A, 0 1px 8px 0 #9A9A9A1A"}},MuiSelect:{icon:{color:"#B9B9B9"}},MuiListItem:{root:{"&$selected":{backgroundColor:"#F3F5FF !important","&:focus":{backgroundColor:"#F3F5FF"}}},button:{"&:hover, &:focus":{backgroundColor:"#F3F5FF"}}},MuiTouchRipple:{child:{backgroundColor:"white"}},MuiTableRow:{root:{height:56}},MuiTableCell:{root:{borderBottom:"1px solid rgba(224, 224, 224, .5)"},head:{fontSize:"0.95rem"},body:{fontSize:"0.95rem"}},MuiButton:{root:{fontFamily:'GothamBook,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"'}},MuiIconButton:{root:{"&:hover":{}}}}};const h={typography:{fontFamily:["GothamBook","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"'].join(","),h1:{fontSize:"2.6rem"},h2:{fontSize:"2rem"},h3:{fontSize:"1.64rem"},h4:{fontSize:"1.5rem"},h5:{fontSize:"1.285rem"},h6:{fontSize:"1.142rem"},h7:{fontSize:"1.152rem"}},MuiCssBaseline:{"@global":{"@font-face":[{fontFamily:"GothamBook",fontStyle:"normal",fontDisplay:"swap",fontWeight:500,src:"\n    local('GothamBook') format('opentype')\n  ",unicodeRange:"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF"}]}}};let E=Object(d.a)(Object(l.a)(Object(l.a)({},f),h));E=Object(m.a)(E);var A={default:E},v=a(45),w=a(261),S=a(28),C=a(16),k=a(105),y=a(130),x=a(66),O=a(245),R=a(253),T=a(251),I=a(266),j=a(255),P=a(256),B=a(141),F=a(209),U=a(254),N=a(86),L=a.n(N),_=a(268),D=a(252),G=a(77),W=a(264),K=Object(W.a)(e=>({appBar:{position:"fixed",backgroundColor:"white",boxShadow:"none",zIndex:999},logo:{width:"75%",[e.breakpoints.down("xs")]:{height:25,width:"auto"}},logoXS:{height:e.spacing(10),width:"30%"},spacer:{flexGrow:1},textButtonMenu:{textTransform:"none",color:e.palette.black},textButtonSelected:{textTransform:"none",textAlign:"center",color:e.palette.primary.light,fontSize:"11px",fontWeight:"bold",backgroundRepeat:"no-repeat",backgroundSize:"100% 8px",backgroundPosition:"120% 120%"},buttonAccount:{color:e.palette.white,background:e.palette.primary.main+" 0% 0% no-repeat padding-box",borderRadius:e.spacing(12.2),textTransform:"none",boxShadow:"0px 5px 25px -8px rgba(0,0,0,0.77)",textAlign:"center",marginLeft:"auto",padding:".7rem 1.9rem",marginRight:"5%","&:hover":{backgroundColor:e.palette.primary.main+"7F"},[e.breakpoints.down("md")]:{"& p":{fontSize:"1.8vh !important"},padding:"7px 1rem"},[e.breakpoints.down("xs")]:{"& p":{fontSize:"1.7vh !important"},padding:"7px .6rem"}},button:{textTransform:"none",textAlign:"center","&:hover":{cursor:"pointer"},color:e.palette.primary.light,marginLeft:e.spacing(1.5),marginRight:e.spacing(1.5),underline:"none",display:"block"},menuItem:{display:"block","&:hover":{cursor:"pointer",color:e.palette.primary.light}},mobileMenu:{display:"flex",justifyContent:"space-between"},removeBg:{"&:hover":{background:"none"}},anchorLogo:{display:"flex",alignItems:"center"},trackTiny:{fontSize:9}})),M=a(50),z=a.n(M);const H=e=>[{name:e&&e("appbar.benefits"),href:"/benefits",isRef:!0,dr:"#grid-benefits"},{name:e&&e("appbar.services"),href:"/services",isRef:!0,dr:"#grid-services"},{name:e&&e("appbar.points"),href:"/points",isRef:!0,dr:"#grid-points"},{name:e&&e("appbar.joinus"),href:"/joinus",isRef:!0,dr:"#grid-joinus"}];var X=Object(C.h)((function(e){const t=Object(C.g)(),a=K(),{pathname:r}=e.location,[i,c]=Object(n.useState)(null),{t:s}=Object(_.a)(),l=Object(D.a)("(max-width:320px)"),d=H(s),m=e=>o.a.createElement(O.a,{onClick:()=>{var a=document.querySelector(e.dr);a?a.scrollIntoView({behavior:"smooth",block:"start"}):t.push(e.href)},className:a.button,underline:"none",color:"primary"},e.name),u=e=>e.isRef?o.a.createElement(m,e):o.a.createElement(O.a,{component:R.a,href:e.href,className:e.classLink,underline:"none",color:"primary"}," ",e.name),g=()=>{document.getElementById("root").scrollIntoView({behavior:"smooth",block:"start"})},p=e=>o.a.createElement(O.a,{onClick:g,classes:{root:a.anchorLogo},title:s("appbar.home")},o.a.createElement("img",{alt:"javit",src:z.a,className:a.logo,height:50,width:50})),b=e=>o.a.createElement(u,{key:e.index,isSubMenu:e.mi.isSubMenu,dr:e.mi.dr,isRef:e.mi.isRef,name:e.mi.name,href:e.mi.href,classLink:a.button,classTypography:"/"===r?a.textButtonSelected:a.textButtonMenu}),f=()=>d.map((e,t)=>
1o.a.createElement(b,{key:t,index:t,mi:e})),h=o.a.forwardRef(()=>d.map((e,t)=>o.a.createElement(T.a,{key:t,onClick:()=>{c(null)}},o.a.createElement(b,{key:t,mi:e})))),E=e=>o.a.createElement(I.a,{mdDown:!0},o.a.createElement(p,null),o.a.createElement("div",{className:a.spacer}),o.a.createElement(f,null));return o.a.createElement(U.a,{position:"sticky",className:a.appBar},o.a.createElement(j.a,{style:{maxWidth:"95vw"}},o.a.createElement(E,e),o.a.createElement(I.a,{lgUp:!0},o.a.createElement("div",{className:a.mobileMenu},o.a.createElement(p,null),o.a.createElement(P.a,{"aria-controls":"menu-principal","aria-haspopup":"true",classes:{root:a.removeBg},onClick:e=>{c(e.currentTarget)}},o.a.createElement(L.a,null)),o.a.createElement(B.a,{id:"menu-principal",anchorEl:i,open:Boolean(i),onClose:()=>{c(null)}},o.a.createElement(h,null)))),o.a.createElement(O.a,{className:a.buttonAccount,href:"#/u",title:s("appbar.trackShipping")},o.a.createElement(F.a,{className:l?a.trackTiny:null,variant:"caption"},s("appbar.trackShipping"))),o.a.createElement(G.a,{colorInverted:!0})))})),V=a(244),Q=a(134),J=a.n(Q),q=a(135),Z=a.n(q),Y=a(136),$=a.n(Y),ee=Object(W.a)(e=>({root:{color:e.palette.white,backgroundColor:e.palette.primary.main,alignItems:"center",position:"absolute",bottom:0,width:"100%",height:75,padding:"1.3rem 6rem",display:"flex",justifyContent:"space-between",[e.breakpoints.down("md")]:{padding:"1rem",flexDirection:"column",justifyContent:"center",textAlign:"center",height:110}},socialContainer:{display:"flex",[e.breakpoints.down("md")]:{marginTop:"1rem"}},link:{color:e.palette.white,textDecoration:"none"},content:{display:"flex",alignItems:"center"},afip:{marginLeft:"1.5rem"},cuit:{marginLeft:"1.5rem",[e.breakpoints.down("md")]:{display:"none"}}}));var te=function(e){const t=ee(),{t:a}=Object(_.a)(),{landing:n}=e,r="u"===n?"/u":"";return o.a.createElement("footer",{className:t.root},o.a.createElement("div",{className:t.content},o.a.createElement(F.a,{variant:"body2"},o.a.createElement(S.b,{to:"".concat(r,"/legal-terms"),className:t.link},a("footer.terms"))," -",o.a.createElement(S.b,{to:"".concat(r,"/privacy"),className:t.link}," ",a("footer.privacy"))," -",o.a.createElement(S.b,{to:"".concat(r,"/cookies-usage"),className:t.link}," ",a("footer.cookies"))," | \xa9 Copyright 2020"),o.a.createElement("a",{className:t.afip,href:"http://qr.afip.gob.ar/?qr=98NemR9jY4kINTmLkqcunQ,,",rel:"noopener noreferrer",target:"_blank"},o.a.createElement("img",{alt:"afip",width:28,height:38,src:$.a})),o.a.createElement(F.a,{variant:"body2",className:t.cuit},"'Droguer\xeda del Sud S.A | 30-53888062-7'")),o.a.createElement("div",{className:t.socialContainer},o.a.createElement(V.a,{container:!0,spacing:2},o.a.createElement(V.a,{item:!0},o.a.createElement("a",{href:"https://www.instagram.com/javitargentina",rel:"noopener noreferrer",target:"_blank"},o.a.createElement("img",{alt:"instagram",width:28,src:J.a,height:28}))),o.a.createElement(V.a,{item:!0},o.a.createElement("a",{href:"https://www.linkedin.com/company/javitargentina",rel:"noopener noreferrer",target:"_blank"},o.a.createElement("img",{alt:"linkedin",width:28,src:Z.a,height:28}))))))},ae=Object(W.a)(e=>({root:{position:"relative",minHeight:"100vh",backgroundColor:"white",paddingBottom:75,[e.breakpoints.down("md")]:{paddingBottom:"5rem"}},appBar:{position:"fixed",backgroundColor:"white",boxShadow:"none"}
1,logo:{height:e.spacing(5),marginLeft:e.spacing(4),width:"20%"},logoXS:{height:e.spacing(10),width:"30%"},spacer:{flexGrow:1},textButton:{textTransform:"none",textAlign:"center",color:e.palette.black,fontSize:"12px",fontWeight:"normal"},textButtonMenu:{textTransform:"none",color:e.palette.black},textButtonSelected:{textTransform:"none",textAlign:"center",color:e.palette.black,fontSize:"12px",fontWeight:"bold",backgroundImage:"url(images/bgButtonSelected.png)",backgroundRepeat:"no-repeat",backgroundSize:"100% 8px",backgroundPosition:"120% 120%"},buttonConnexion:{color:e.palette.white,background:e.palette.primary.main+" 0% 0% no-repeat padding-box",borderRadius:e.spacing(12.2),textTransform:"none",textAlign:"center",fontSize:"11px",backgroundColor:e.palette.primary.light,marginLeft:"2%",marginRight:"2%"},button:{textAlign:"center","&:hover":{cursor:"pointer"},marginLeft:"1%",marginRight:"1%"},buttonMenu:{width:"100%"},flex:{display:"flex",justifyContent:"space-between",flexGrow:1},removeBg:{"&:hover":{background:"none"}}})),ne=a(78);var oe=Object(C.h)((function(e){const t=ae();return o.a.createElement("div",{className:t.root},o.a.createElement(j.a,{id:"back-to-top-anchor"}),o.a.createElement(X,null),e.children,o.a.createElement(ne.a,Object.assign({backToTopId:"#back-to-top-anchor"},e)),o.a.createElement(te,null))})),re=Object(W.a)(e=>({appBar:{position:"fixed",backgroundColor:"white",boxShadow:"none",zIndex:999},logo:{width:"75%",[e.breakpoints.down("xs")]:{height:25,width:"auto"}},logoXS:{height:e.spacing(10),width:"30%"},spacer:{flexGrow:1},textButtonMenu:{textTransform:"none",color:e.palette.black},textButtonSelected:{textTransform:"none",textAlign:"center",color:e.palette.primary.light,fontSize:"11px",fontWeight:"bold",backgroundRepeat:"no-repeat",backgroundSize:"100% 8px",backgroundPosition:"120% 120%"},buttonAccount:{color:e.palette.white,background:e.palette.primary.main+" 0% 0% no-repeat padding-box",borderRadius:e.spacing(12.2),textTransform:"none",boxShadow:"0px 5px 25px -8px rgba(0,0,0,0.77)",textAlign:"center",marginLeft:"auto",padding:".7rem 1.9rem",marginRight:"5%","&:hover":{backgroundColor:e.palette.primary.main+"7F"},[e.breakpoints.down("md")]:{"& p":{fontSize:"1.8vh !important"},padding:"7px 1rem"},[e.breakpoints.down("xs")]:{"& p":{fontSize:"1.7vh !important"},padding:"7px .6rem"}},button:{textTransform:"none",textAlign:"center","&:hover":{cursor:"pointer"},color:e.palette.primary.light,marginLeft:e.spacing(1.5),marginRight:e.spacing(1.5),underline:"none",display:"block"},menuItem:{display:"block","&:hover":{cursor:"pointer",color:e.palette.primary.light}},mobileMenu:{display:"flex",justifyContent:"space-between"},removeBg:{"&:hover":{background:"none"}},anchorLogo:{display:"flex",alignItems:"center"}}));const ie=e=>[{name:e&&e("appbar.howworks"),isRef:!0,dr:"#grid-howworks",href:"/u/howworks"},{name:e&&e("appbar.points"),isRef:!0,dr:"#grid-points",href:"/u/points"},{name:e&&e("appbar.help"),isRef:!0,dr:"#grid-faq",href:"/u/faq"},{name:e&&e("appbar.contact"),isRef:!0,dr:"#grid-contact",href:"/u/contact"}];var ce=Object(C.h)((function(e){const t=Object(C.g)(),a=re(),{pathname:r}=e.location,[i,c]=Object(n.useState)(null),{t:s}=Object(_.a)(),l=ie(s),d=e=>o.a.createElement(O.a,{onClick:()=>{var a=document.querySelector(e.dr);a?a.scrollIntoView({behavior:"smooth",block:"start"}):t.push(e.href)},className:a.button,underline:"none",color:"primary"},e.name),m=e=>e.isRef?o.a.createElement(d,e):o.a.createElement(O.a,{component:R.a,href:e.href,className:e.classLink,underline:"none",color:"primary"}," ",e.name),u=()=>{document.getElementById("root").scrollIntoView({behavior:"smooth",block:"start"})},g=e=>o.a.createElement(O.a,{onClick:u,classes:{root:a.anchorLogo},title:s("appbar.home")},o.a.createElement("img",{alt:"javit",src:z.a,className:a.logo})),p=e=>o.a.createElement(m,{key:e.index,isSubMenu:e.mi.isSubMenu,dr:e.mi.dr,isRef:e.mi.isRef,name:e.mi.name,href:e.mi.href,classLink:a.button,classTypography:"/"===r?a.textButtonSelected:a.textButtonMenu}),b=()=>l.map((e,t)=>o.a.createElement(p,{key:t,index:t,mi:e})),f=o.a.forwardRef(()=>l.map((e,t)=>o.a.createElement(T.a,{key:t,onClick:()=>{c(null)}},o.a.createElement(p,{key:t,mi:e})))),h=e=>o.a.createElement(I.a,{only:"xs"},o.a.createElement(g,null),o.a.createElement("div",{className:a.spacer}),o.a.createElement(b,null));return o.a.createElement(U.a,{position:"sticky",className:a.appBar},o.a.createElement(j.a,{style:{maxWidth:"95vw"}},o.a.createElement(h,e),o.a.createElement(I.a,{only:["md","sm","lg","xl"]},o.a.createElement("div",{className:a.mobileMenu},o.a.createElement(g,null),o.a.createElement(P.a,{"aria-controls":"menu-principal","aria-haspopup":"true",classes:{root:a.removeBg},onClick:e=>{c(e.currentTarget)}},o.a.createElement(L.a,null)),o.a.createElement(B.a,{id:"menu-principal",anchorEl:i,open:Boolean(i),onClose:()=>{c(null)}},o.a.createElement(f,null)))),o.a.createElement(O.a,{className:a.buttonAccount,href:"#/login",title:s("appbar.account")},o.a.createElement(F.a,{variant:"body2"},s("appbar.account"))),o.a.createElement(G.a,{colorInverted:!0})))})),se=Object(W.a)(e=>({root:{position:"relative",minHeight:"100vh",backgroundColor:"white",paddingBottom:75,[e.breakpoints.down("md")]:{paddingBottom:"6rem"}},appBar:{position:"fixed",backgroundColor:"white",boxShadow:"none"}
1,logo:{height:e.spacing(5),marginLeft:e.spacing(4),width:"20%"},logoXS:{height:e.spacing(10),width:"30%"},spacer:{flexGrow:1},textButton:{textTransform:"none",textAlign:"center",color:e.palette.black,fontSize:"12px",fontWeight:"normal"},textButtonMenu:{textTransform:"none",color:e.palette.black},textButtonSelected:{textTransform:"none",textAlign:"center",color:e.palette.black,fontSize:"12px",fontWeight:"bold",backgroundImage:"url(images/bgButtonSelected.png)",backgroundRepeat:"no-repeat",backgroundSize:"100% 8px",backgroundPosition:"120% 120%"},buttonConnexion:{color:e.palette.white,background:e.palette.primary.main+" 0% 0% no-repeat padding-box",borderRadius:e.spacing(12.2),textTransform:"none",textAlign:"center",fontSize:"11px",backgroundColor:e.palette.primary.light,marginLeft:"2%",marginRight:"2%"},button:{textAlign:"center","&:hover":{cursor:"pointer"},marginLeft:"1%",marginRight:"1%"},buttonMenu:{width:"100%"},flex:{display:"flex",justifyContent:"space-between",flexGrow:1},removeBg:{"&:hover":{background:"none"}}}));var le=Object(C.h)((function(e){const t=se();return o.a.createElement("div",{className:t.root},o.a.createElement(j.a,{id:"back-to-top-anchor"}),o.a.createElement(ce,null),e.children,o.a.createElement(ne.a,Object.assign({backToTopId:"#back-to-top-anchor"},e)),o.a.createElement(te,{landing:"u"}))})),de=a(12),me=a(49),ue=a(17);const ge="configuraciones",pe=async()=>await Object(ue.c)("/".concat(ge,"/").concat(1,"/appfrontend"));var be=Object(W.a)(e=>({container:{position:"fixed",bottom:0,left:0,background:e.palette.footerBg,width:"100%",padding:"1rem",zIndex:9999},content:{width:"60%",color:e.palette.white,margin:"0 auto",[e.breakpoints.down("md")]:{width:"100%"},textAlign:"center"},btn:{marginTop:".4rem"},text:{[e.breakpoints.down("xs")]:{fontSize:"12px !important"}}})),fe=a(260);var he=e=>{const t=be(),{t:a}=Object(_.a)(),[n,r]=o.a.useState(window.localStorage.getItem("javitAcceptedCookies"));return o.a.createElement(fe.a,{timeout:{exit:1e3},in:!n||0===n},o.a.createElement("div",{className:t.container},o.a.createElement("div",{className:t.content},o.a.createElement(F.a,{className:t.text,align:"center",variant:"body2"},a("cookies.text1")," ",o.a.createElement("br",null)," ",a("cookies.text2")," ",o.a.createElement(R.a,{target:"_blank",href:"/#/cookies-usage"},"cookies"),"."),o.a.createElement(O.a,{onClick:()=>{window.localStorage.setItem("javitAcceptedCookies",1),r(1)},className:t.btn,color:"primary",variant:"contained"},a("cookies.accept")))))},Ee=Object(W.a)(e=>({container:{backgroundColor:e.palette.b52424,width:"100%",justifyContent:"center",alignItems:"center",flexDirection:"row",position:"fixed",bottom:0,left:0,padding:"1rem",zIndex:9999},linkText:{marginLeft:"1rem"},content:{width:"60%",color:e.palette.white,margin:"0 auto",[e.breakpoints.down("md")]:{width:"100%"},textAlign:"center"},text:{[e.breakpoints.down("xs")]:{fontSize:"12px !important"}}}));var Ae=e=>{const t=Ee(),{t:a}=Object(_.a)(),[n,r]=o.a.useState(navigator.onLine),[i,c]=o.a.useState("");return o.a.useEffect(()=>{const e=setInterval(()=>{r(navigator.onLine),c(window.location.href)},1e3);return()=>clearInterval(e)},[n,i]),o.a.createElement(fe.a,{timeout:{exit:500},in:!n},o.a.createElement("div",{className:t.container},o.a.createElement("div",{className:t.content},o.a.createElement(F.a,{className:t.text,align:"center",variant:"body2"},a("net.offline"),o.a.createElement(R.a,{className:t.linkText,to:i,href:i},a("table.tooltip.update"))))))};const ve=e=>{const t=Object(C.g)();o.a.useEffect(()=>{ie().concat(H).map(e=>e.href).includes(e)&&t.push(e)},[e,t])},we=["component"],Se=["component"],Ce=["component"],ke=["component"],ye=["component","dr"],xe=["component","dr"];var Oe=o.a.memo((function(e){const{isAuthenticated:t}=Object(x.k)(),r=Object(me.c)(),[,i]=o.a.useState(!1),c=e=>{Object(me.b)(r,Object.values(e)[0])},s=e=>{"not found"===e?Object(me.b)(r,[]):(i(!0),function(e){console.error(e)}(e))};o.a.useEffect(()=>{(async()=>{try{const e=await pe();e.hasError?s(e.data):c(e.data)}catch(e){s(e)}})()},[]);const l=()=>o.a.createElement("div",{className:"loader-view",style:{height:"calc(100vh - 200px)"}},o.a.createElement(w.a,null));return o.a.createElement(n.Suspense,{fallback:o.a.createElement(l,null)},o.a.createElement(S.a,null,o.a.createElement(C.d,null,o.a.createElement(b,{path:"/benefits",component:Object(de.a)(()=>
1Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(4)]).then(a.bind(null,932))),dr:"#grid-benefits"}),o.a.createElement(b,{path:"/services",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(4)]).then(a.bind(null,932))),dr:"#grid-services"}),o.a.createElement(b,{path:"/points",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(4)]).then(a.bind(null,932))),dr:"#grid-points"}),o.a.createElement(b,{path:"/joinus",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(4)]).then(a.bind(null,932))),dr:"#grid-joinus"}),o.a.createElement(u,{path:"/legal-terms",component:Object(de.a)(()=>a.e(12).then(a.bind(null,952)))}),o.a.createElement(u,{path:"/privacy",component:Object(de.a)(()=>a.e(13).then(a.bind(null,953)))}),o.a.createElement(u,{path:"/cookies-usage",component:Object(de.a)(()=>a.e(11).then(a.bind(null,954)))}),o.a.createElement(f,{path:"/u/howworks",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(5)]).then(a.bind(null,933))),dr:"#grid-howworks"}),o.a.createElement(f,{path:"/u/points",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(5)]).then(a.bind(null,933))),dr:"#grid-points"}),o.a.createElement(f,{path:"/u/faq",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(5)]).then(a.bind(null,933))),dr:"#grid-faq"}),o.a.createElement(f,{path:"/u/contact",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(5)]).then(a.bind(null,933))),dr:"#grid-contact"}),o.a.createElement(g,{path:"/u/legal-terms",component:Object(de.a)(()=>a.e(12).then(a.bind(null,952)))}),o.a.createElement(g,{path:"/u/privacy",component:Object(de.a)(()=>a.e(13).then(a.bind(null,953)))}),o.a.createElement(g,{path:"/u/cookies-usage",component:Object(de.a)(()=>a.e(11).then(a.bind(null,954)))}),o.a.createElement(m,{exact:!0,path:"/login",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(1),a.e(17),a.e(30)]).then(a.bind(null,940)))}),o.a.createElement(u,{exact:!0,path:"/shipping/create/:data",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(8),a.e(23)]).then(a.bind(null,947)))}),o.a.createElement(C.b,{exact:!0,path:"/recover-password",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(36)]).then(a.bind(null,955)))}),o.a.createElement(C.b,{exact:!0,path:"/reset-password/:key",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(29)]).then(a.bind(null,956)))}),o.a.createElement(C.b,{exact:!0,path:"/registered",component:Object(de.a)(()=>a.e(37).then(a.bind(null,907)))}),o.a.createElement(C.b,{exact:!0,path:"/myShipping/received/:id/:key",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(7),a.e(32)]).then(a.bind(null,957)))}),o.a.createElement(C.b,{exact:!0,path:"/register/:key",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(28)]).then(a.bind(null,958)))}),o.a.createElement(g,{exact:!0,path:"/shipping-info/:id",component:Object(de.a)(()=>Promise.all([a.e(1),a.e(6),a.e(8),a.e(25)]).then(a.bind(null,884)))}),o.a.createElement(u,{exact:!0,path:"/",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(4)]).then(a.bind(null,932)))}),o.a.createElement(g,{exact:!0,path:"/u",component:Object(de.a)(()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(5)]).then(a.bind(null,933)))}),o.a.createElement(C.b,{exact:!0,path:"/app",render:()=>o.a.createElement(C.a,{to:"/app/summary"})}),o.a.createElement(d,{path:"/app",component:Object(de.a)(()=>Promise.all([a.e(8),a.e(19),a.e(31)]).then(a.bind(null,937)))}),o.a.createElement(C.b,{component:y.a})),o.a.createElement(k.a,{autoClose:5e3,hideProgressBar:!1,newestOnTop:!0,closeOnClick:!0,rtl:!1,pauseOnVisibilityChange:!0,draggable:!0,pauseOnHover:!0}),o.a.createElement(Ae,e),o.a.createElement(he,null)));function d(e){let{component:a}=e,n=Object(v.a)(e,we);return o.a.createElement(C.b,Object.assign({},n,{render:e=>t?o.a.createElement(a,e):o.a.createElement(C.a,{to:{pathname:"/login",state:{from:e.location}}})}))}
1function m(e){let{component:a}=e,n=Object(v.a)(e,Se);return o.a.createElement(C.b,Object.assign({},n,{render:e=>t?o.a.createElement(C.a,{to:{pathname:"/app"}}):o.a.createElement(a,e)}))}function u(e){let{component:t}=e,a=Object(v.a)(e,Ce);return o.a.createElement(oe,null,o.a.createElement(C.b,Object.assign({},a,{render:e=>o.a.createElement(t,e)})))}function g(e){let{component:t}=e,a=Object(v.a)(e,ke);return o.a.createElement(le,null,o.a.createElement(C.b,Object.assign({},a,{render:e=>o.a.createElement(t,e)})))}function p(e){const t=document.querySelector(e);t&&t.scrollIntoView({behavior:"smooth",block:"start"})}function b(e){let{component:t,dr:a}=e,r=Object(v.a)(e,ye);const{path:i}=r;return ve(i),Object(n.useEffect)(()=>{setTimeout(()=>{p(a)},1e3)}),o.a.createElement(oe,null,o.a.createElement(C.b,Object.assign({},r,{render:e=>o.a.createElement(t,e)})))}function f(e){let{component:t,dr:a}=e,r=Object(v.a)(e,xe);const{path:i}=r;return ve(i),Object(n.useEffect)(()=>{setTimeout(()=>{p(a)},1e3)}),o.a.createElement(le,null,o.a.createElement(C.b,Object.assign({},r,{render:e=>o.a.createElement(t,e)})))}})),Re=a(84);a.n(Re).a.config();const Te=Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));let{PUBLIC_URL:Ie,PUBLIC_URL_CUSTOM:je}=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_HTTPS:"false",REACT_APP_USE_API_FROM:"REMOTE",REACT_APP_API_REMOTE:"https://api.javit.com.ar/api",REACT_APP_PUBLIC_AC_1:"[email protected]",REACT_APP_PUBLIC_AC_2:"zUh4B32nmAaCad451kJfcabb9912aAsd",REACT_APP_CAPTCHA_KEY:"6LdLX7cqAAAAAO2EoNFCxHkE0gr7bQyee3umoEcM"});Ie=Ie||je||"".concat(window.location.protocol,"//").concat(window.location.host);const Pe=["".concat("","/index.html"),"".concat("","/index.css"),"".concat("","/offline.html"),"".concat("","/logo.svg"),"".concat("","/locales/en/translation.json"),"".concat("","/locales/es/translation.json"),"".concat("","/fonts/Gotham/GothamBlack-Italic.otf"),"".concat("","/fonts/Gotham/GothamBlack.otf"),"".concat("","/fonts/Gotham/GothamBold-Italic.otf"),"".concat("","/fonts/Gotham/GothamBold.otf"),"".concat("","/fonts/Gotham/GothamBook-Italic.otf"),"".concat("","/fonts/Gotham/GothamBook.otf"),"".concat("","/fonts/Gotham/GothamExLight-Italic.otf"),"".concat("","/fonts/Gotham/GothamExLight.otf"),"".concat("","/fonts/Gotham/GothamLight-Italic.otf"),"".concat("","/fonts/Gotham/GothamLight.otf"),"".concat("","/fonts/Gotham/GothamMedium-Italic.otf"),"".concat("","/fonts/Gotham/GothamMedium.otf"),"".concat("","/fonts/Gotham/GothamThin-Italic.otf"),"".concat("","/fonts/Gotham/GothamThin.otf"),"".concat("","/fonts/Gotham/GothamUltra-Italic.otf"),"".concat("","/fonts/Gotham/GothamUltra.otf"),"".concat("","/images/android-icon-144x144.png"),"".concat("","/images/android-icon-192x192.png"),"".concat("","/images/android-icon-36x36.png"),"".concat("","/images/android-icon-48x48.png"),"".concat("","/images/android-icon-512x512.png"),"".concat("","/images/android-icon-72x72.png"),"".concat("","/images/android-icon-96x96.png"),"".concat("","/images/apple-icon-114x114.png"),"".concat("","/images/apple-icon-120x120.png"),"".concat("","/images/apple-icon-144x144.png"),"".concat("","/images/apple-icon-152x152.png"),"".concat("","/images/apple-icon-180x180.png"),"".concat("","/images/apple-icon-57x57.png"),"".concat("","/images/apple-icon-60x60.png"),"".concat("","/images/apple-icon-72x72.png"),"".concat("","/images/apple-icon-76x76.png"),"".concat("","/images/apple-icon-precomposed.png"),"".concat("","/images/apple-icon.png"),"".concat("","/images/apple-touch-icon.png"),"".concat("","/images/favicon-16x16.png"),"".concat("","/images/favicon-32x32.png"),"".concat("","/images/favicon-96x96.png"),"".concat("","/images/favicon.ico"),"".concat("","/images/logo.svg"),"".concat("","/images/ms-icon-144x144.png"),"".concat("","/images/ms-icon-150x150.png"),"".concat("","/images/ms-icon-310x310.png"),"".concat("","/images/ms-icon-70x70.png"),"".concat("","/images/safari-pinned-tab.svg"),"".concat("","/static/media/javit-invertido.svg"),"".concat("","/static/media/javit.jpg"),"".concat("","/static/media/javit.svg"),"".concat("","/static/media/logo-invertido.svg"),"".concat("","/static/media/logo.jpg"),"".concat("","/static/media/logo.svg"),"".concat("","/static/media/apiError/error.png"),"".concat("","/static/media/apiError/notfound.svg"),"".concat("","/static/media/benefits/benefit
11.svg"),"".concat("","/static/media/benefits/benefit2.svg"),"".concat("","/static/media/benefits/benefit3.svg"),"".concat("","/static/media/benefits/benefit4.svg"),"".concat("","/static/media/brands/avenida.svg"),"".concat("","/static/media/brands/dexter.png"),"".concat("","/static/media/brands/havaianas.png"),"".concat("","/static/media/brands/lolaricci.png"),"".concat("","/static/media/brands/macowens.png"),"".concat("","/static/media/brands/mercadolibre.png"),"".concat("","/static/media/brands/nestle.png"),"".concat("","/static/media/brands/nestle.svg"),"".concat("","/static/media/brands/phillips.png"),"".concat("","/static/media/brands/sony.png"),"".concat("","/static/media/brands/topper.png"),"".concat("","/static/media/commerce/box.png"),"".concat("","/static/media/commerce/calendar.png"),"".concat("","/static/media/commerce/flexibility.png"),"".concat("","/static/media/commerce/notifications.png"),"".concat("","/static/media/commerce/prices.png"),"".concat("","/static/media/commerce/security.png"),"".concat("","/static/media/discover/arrow-white.svg"),"".concat("","/static/media/discover/arrowButton.svg"),"".concat("","/static/media/discover/degree-mobile.svg"),"".concat("","/static/media/discover/degree.svg"),"".concat("","/static/media/discover/people-mobile.svg"),"".concat("","/static/media/discover/people-mobile.webp"),"".concat("","/static/media/discover/people.svg"),"".concat("","/static/media/discover/people.webp"),"".concat("","/static/media/discover/Rectangle-user.svg"),"".concat("","/static/media/discover/Rectangle.svg"),"".concat("","/static/media/discover/truck2.svg"),"".concat("","/static/media/discover/woman-mobile.svg"),"".concat("","/static/media/discover/woman-mobile.webp"),"".concat("","/static/media/discover/woman.svg"),"".concat("","/static/media/discover/woman.webp"),"".concat("","/static/media/footer/afip.jpg"),"".concat("","/static/media/footer/facebook.png"),"".concat("","/static/media/footer/instagram.png"),"".concat("","/static/media/footer/linkedin.png"),"".concat("","/static/media/footer/twitter.png"),"".concat("","/static/media/howWorks/1.svg"),"".concat("","/static/media/howWorks/2.svg"),"".concat("","/static/media/howWorks/3.svg"),"".concat("","/static/media/howWorks/howWorks1.svg"),"".concat("","/static/media/howWorks/howWorks2.svg"),"".concat("","/static/media/howWorks/howWorks3.svg"),"".concat("","/static/media/login/facebook.svg"),"".concat("","/static/media/login/google.svg"),"".concat("","/static/media/login/instagram.svg"),"".concat("","/static/media/login/linkedin.svg"),"".concat("","/static/media/login/twitter.svg"),"".concat("","/static/media/maps/cluster53.png"),"".concat("","/static/media/maps/cluster56.png"),"".concat("","/static/media/maps/cluster66.png"),"".concat("","/static/media/maps/cluster78.png"),"".concat("","/static/media/maps/cluster90.png"),"".concat("","/static/media/maps/handcuff
1s.svg"),"".concat("","/static/media/maps/pin-1.png"),"".concat("","/static/media/maps/pin-2.png"),"".concat("","/static/media/notifications/search.svg"),"".concat("","/static/media/profile/account.png"),"".concat("","/static/media/profile/camera.svg"),"".concat("","/static/media/services/services-stepper.svg"),"".concat("","/static/media/shipping/devolucionWarning.svg"),"".concat("","/static/media/shipping/reclamoWarning.svg"),"".concat("","/static/media/shipping/return.svg"),"".concat("","/static/media/shipping/shipping.svg"),"".concat("","/static/media/shippingSteps/confirmed.svg"),"".concat("","/static/media/shippingSteps/delivered.svg"),"".concat("","/static/media/shippingSteps/onTravel.svg"),"".concat("","/static/media/shippingSteps/pending.svg"),"".concat("","/static/media/shippingSteps/preparing.svg"),"".concat("","/static/media/shippingSteps/programmed.svg"),"".concat("","/static/media/shippingSteps/ready.svg"),"".concat("","/static/media/steps/step1.png"),"".concat("","/static/media/steps/step1.svg"),"".concat("","/static/media/steps/step2.png"),"".concat("","/static/media/steps/step2.svg"),"".concat("","/static/media/steps/step3.png"),"".concat("","/static/media/steps/step3.svg"),"".concat("","/static/media/steps/step4.png"),"".concat("","/static/media/steps/step4.svg"),"".concat("","/static/media/steps/steps.png"),"".concat("","/static/media/summary/account.png"),"".concat("","/static/media/summary/bg.png"),"".concat("","/static/media/summary/envio.png"),"".concat("","/static/media/summary/envio.svg"),"".concat("","/static/media/summary/puntos.svg")];function Be(e,t){navigator.serviceWorker.register(e).then(e=>{e.onupdatefound=()=>{const a=e.installing;null!=a&&(a.onstatechange=()=>{"installed"===a.state&&(navigator.serviceWorker.controller?(console.info("New content is available and will be used when all tabs for this page are closed. See https://bit.ly/CRA-PWA."),t&&t.onUpdate&&t.onUpdate(e),window.updateAvailable=!0):(console.info("Content is cached for offline use."),t&&t.onSuccess&&t.onSuccess(e)))})}}).catch(e=>{console.error("Error during service worker registration:",e)})}var Fe=a(106),Ue=a(109),Ne=(a(206),a(100)),Le=a(138),_e=a(65),De=a(139);Ne.a.use(Le.a).use(_e.e).use(De.a).init({lng:"es",fallbackLng:"es",supportedLngs:["en","es"],nonExplicitSupportedLngs:!0,lowerCaseLng:!0,debug:!1,keySeparator:!1,interpolation:{escapeValue:!1}});var Ge;Ne.a;Ge={onUpdate:e=>{if(e.waiting){let t;navigator.serviceWorker.addEventListener("controllerchange",(function(e){t||(t=!0,window.location.reload())})),e.waiting.postMessage("skipWaiting")}},onSuccess:e=>{console.info("This application works offline! Content has been cached for offline usage.")},onOffline:()=>{console.info("No internet connection available. The application is running in offline mode!")},onOnline:()=>{console.info("Internet connection established")}},"serviceWorker"in navigator&&(window.addEventListener("load",()=>{const e="".concat(Ie,"/").concat("sw-default.js");Te?(function(e,t){fetch(e).then(a=>{const n=a.headers.get("content-type");404===a.status||null!=n&&-1===n.indexOf("javascript")?navigator.serviceWorker.ready.then(e=>{e.unregister().then(()=>{window.location.reload()})}):Be(e,t)}).catch(t=>{console.info("No internet connection found. App is running in offline mode."),console.info(e),console.error(t)})}(e,Ge),navigator.serviceWorker.ready.then(()=>{console.info("This web app is being served cache-first by a service worker. To learn more, visit https://bit.ly/CRA-PWA")})):Be(e,Ge)}),window.addEventListener("install",()=>{event.waitUntil(caches.open("javit-hp-cache-static").then((function(e){return e.addAll(Pe)})).then(self.skipWaiting()))}));const We=document.getElementById("root");i.a.render(o.a.createElement(Fe.a,null,o.a.createElement(x.a,null,o.a.createElement(me.a,null,o.a.createElement(Ue.a,null,o.a.createElement(c.a,{theme:A.default},o.a.createElement(s.a,null),o.a.createElement(Oe,null)))))),We)},44:function(e,t,a){"use strict";a.d(t,"a",(function(){return u})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return c})),a.d(t,"e",(function(){return r})),a.d(t,"f",(function(){return i})),a.d(t,"g",(function(){return s})),a.d(t,"i",(function(){return l})),a.d(t,"h",(function(){return d})),a.d(t,"d",(function(){return m}));var n=a(84);a.n(n).a.config();const o=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_HTTPS:"false",REACT_APP_USE_API_FROM:"REMOTE",REACT_APP_API_REMOTE:"https://api.javit.com.ar/api",REACT_APP_PUBLIC_AC_1:"[email protected]",REACT_APP_PUBLIC_AC_2:"zUh4B32nmAaCad451kJfcabb9912aAsd",REACT_APP_CAPTCHA_KEY:"6LdLX7cqAAAAAO2EoNFCxHkE0gr7bQyee3umoEcM"}).REACT_APP_APP_ORIGEN||"javit-frontend",r=(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_HTTPS:"false",REACT_APP_USE_API_FROM:"REMOTE",REACT_APP_API_REMOTE:"https://api.javit.com.ar/api",REACT_APP_PUBLIC_AC_1:"[email protected]",REACT_APP_PUBLIC_AC_2:"zUh4B32nmAaCad451kJfcabb9912aAsd",REACT_APP_CAPTCHA_KEY:"6LdLX7cqAAAAAO2EoNFCxHkE0gr7bQyee3umoEcM"}).REACT_APP_API_LOCAL,"[email protected]"),i="zUh4B32nmAaCad451kJfcabb9912aAsd",c="6LdLX7cqAAAAAO2EoNFCxHkE0gr7bQyee3umoEcM",s=(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_HTTPS:"false",REACT_APP_USE_API_FROM:"REMOTE",REACT_APP_API_REMOTE:"https://api.javit.com.ar/api",REACT_APP_PUBLIC_AC_1:"[email protected]",REACT_APP_PUBLIC_AC_2:"zUh4B32nmAaCad451kJfcabb9912aAsd",REACT_APP_CAPTCHA_KEY:"6LdLX7cqAAAAAO2EoNFCxHkE0gr7bQyee3umoEcM"}
1).REACT_APP_MAP_TO_USE,/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),l=/^(?=.*\d)(?=.*[A-Z])(?=.*[a-z]).{10,40}$/,d=/^([A-Za-z\u00C0-\u00D6\u00D8-\u00f6\u00f8-\u00ff\s]*)$/,m=157,u="https://api.javit.com.ar/api"},49:function(e,t,a){"use strict";a.d(t,"a",(function(){return l})),a.d(t,"d",(function(){return d})),a.d(t,"c",(function(){return m})),a.d(t,"b",(function(){return u}));var n=a(10),o=a(0),r=a.n(o);const i=r.a.createContext(),c=r.a.createContext();function s(e,t){switch(t.type){case"SET_CONFIG":return Object(n.a)(Object(n.a)({},e),{},{isSetted:!0,gcpBucketEnable:t.gcpBucketEnable,loginFacebookEnable:t.loginFacebookEnable,loginGmailEnable:t.loginGmailEnable,loginLinkedinEnable:t.loginLinkedinEnable,loginInstagramEnable:t.loginInstagramEnable,loginTwitterEnable:t.loginTwitterEnable,gmailKey:t.gmailKey,facebookKey:t.facebookKey,linkedinKey:t.linkedinKey,instagramKey:t.instagramKey,googleApiKey:t.googleApiKey,notificationsRefreshSeg:t.notificationsRefreshSeg,versionFrontend:t.versionFrontend,urlFormThirdPartyAuth:t.urlFormThirdPartyAuth,twitterKey:t.twitterKey,twitterSecret:t.twitterSecret,twitterUrlCallback:t.twitterUrlCallback,instagramUrlCallback:t.instagramUrlCallback,pushFirebasePublicKey:t.pushFirebasePublicKey,urlDaemon:t.urlDaemon});default:throw new Error("Unhandled action type: ".concat(t.type))}}function l(e){let{children:t}=e;const[a,n]=r.a.useReducer(s,{isSetted:!1,gcpBucketEnable:0,loginFacebookEnable:0,loginGmailEnable:0,loginLinkedinEnable:0,loginInstagramEnable:0,loginTwitterEnable:0,gmailKey:"",facebookKey:"",linkedinKey:"",instagramKey:"",googleApiKey:"",notificationsRefreshSeg:60,versionFrontend:"1.0.0",urlFormThirdPartyAuth:"",twitterKey:"",twitterSecret:"",twitterUrlCallback:"",instagramUrlCallback:"",pushFirebasePublicKey:"",urlDaemon:""}),[o,l]=r.a.useState(null);return r.a.useEffect(()=>{l(r.a.createElement(i.Provider,{value:a},r.a.createElement(c.Provider,{value:n},t)))},[a]),o}function d(){var e=r.a.useContext(i);if(void 0===e)throw new Error("useConfigurationState must be used within a ConfigurationProvider");return e}function m(){var e=r.a.useContext(c);if(void 0===e)throw new Error("useConfigurationDispatch must be used within a ConfigurationProvider");return e}function u(e,t){e({type:"SET_CONFIG",gcpBucketEnable:t.gcpBucketEnable,loginFacebookEnable:t.loginFacebookEnable,loginGmailEnable:t.loginGmailEnable,loginLinkedinEnable:t.loginLinkedinEnable,loginInstagramEnable:t.loginInstagramEnable,loginTwitterEnable:t.loginTwitterEnable,gmailKey:t.gmailKey,facebookKey:t.facebookKey,linkedinKey:t.linkedinKey,instagramKey:t.instagramKey,googleApiKey:t.googleApiKey,notificationsRefreshSeg:t.notificationsRefreshSeg,versionFrontend:t.versionFrontend,urlFormThirdPartyAuth:t.urlFormThirdPartyAuth,twitterKey:t.twitterKey,twitterSecret:t.twitterSecret,twitterUrlCallback:t.twitterUrlCallback,instagramUrlCallback:t.instagramUrlCallback,pushFirebasePublicKey:t.pushFirebasePublicKey,urlDaemon:t.urlDaemon})}},50:function(e,t,a){e.exports=a.p+"static/media/javit.f120ce3f.svg"},51:function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(10),o=a(17);const r={signIn:async(e,t)=>{const a={email:e,password:t};return await Object(o.d)("/".concat("Seguridad","/").concat(1,"/login/"),a)},signOut:()=>!0,registerUser:async e=>{let t={Nombre:e.name,Apellido:e.surname,Email:e.email,RegistradoConRedSocial:e.regWithSocialNtwk,RedSocialProveedor:e.provider,RedSocialFotoUrl:e.profilePhotUrl,RedSocialPerfilId:e.profileId};if(e.regWithSocialNtwk){const a=e.provider.charAt(0).toUpperCase()+e.provider.slice(1);t=Object(n.a)(Object(n.a)({},t),{},{Password:"".concat(a,"-").concat(e.password)})}return await Object(o.d)("/".concat("Seguridad","/").concat(1,"/registrar"),t)},createLinkToResetPassword:e=>{const t={Email:e};return Object(o.f)("/".concat("Seguridad","/").concat(1,"/CrearLinkBlanqueoClave"),t)},resetPassword:async e=>await Object(o.f)("/".concat("Seguridad","/").concat(1,"/BlanqueoClave"),e),confirmAccount:async e=>await Object(o.f)("/".concat("Seguridad","/").concat(1,"/ConfirmarCuenta"),e),getUserRol:e=>Object(o.b)("/".concat("usuarios","/").concat(1,"/").concat(e,"/rol")),getAllForDataTable:async function(e,t){return Object(o.b)("/".concat("usuarios","/").concat(1)).then(a=>a.hasError?t(a.data):e(a.data)).catch(e=>t(e))},updatePerfil:(e,t)=>{const a={};return a.nombre=t.name,a.apellido=t.surname,a.tipoDocumentoId=t.docType,a.dni=t.dni,a.generoId=t.gender,a.fechaNacimiento=t.birthday,Object(o.f)("/".concat("usuarios","/").concat(1,"/").concat(e,"/perfil"),a)},updatePerfilContact:(e,t)=>
1{const a={};return a.codigoTelefono=t.codigoTelefono,a.telefono=t.telefono,a.emailActual=t.currentEmail,a.emailNuevo=t.newEmail,a.confirmarEmailNuevo=t.confirmEmail,Object(o.f)("/".concat("usuarios","/").concat(1,"/").concat(e,"/perfilContacto"),a)},updatePassword:(e,t)=>{const a={};return a.passwordActual=t.currentPw,a.passwordNueva=t.newPw,a.confirmarPasswordNueva=t.confirmPw,Object(o.f)("/".concat("usuarios","/").concat(1,"/").concat(e,"/cambiarClave"),a)},resetPasswordValidateKey:e=>Object(o.b)("/".concat("Seguridad","/").concat(1,"/ValidarBlanqueoClave?req.key=").concat(e)),validateRegister:e=>Object(o.b)("/".concat("Seguridad","/").concat(1,"/validarRegistracion?req.Key=").concat(e)),confirmRegister:e=>Object(o.b)("/".concat("Seguridad","/").concat(1,"/ConfirmarRegistracion?req.Key=").concat(e.key,"&req.Email=").concat(e.email)),resendMail:e=>Object(o.f)("/".concat("Seguridad","/").concat(1,"/reenvioCorreo"),e),updatePhoto:(e,t)=>{const a={};return a.id=e,a.foto=t.image,a.imagenType=t.imagenType,Object(o.f)("/".concat("usuarios","/").concat(1,"/").concat(e,"/foto"),a)}}},66:function(e,t,a){"use strict";a.d(t,"a",(function(){return u})),a.d(t,"k",(function(){return g})),a.d(t,"j",(function(){return p})),a.d(t,"e",(function(){return k})),a.d(t,"h",(function(){return O})),a.d(t,"f",(function(){return y})),a.d(t,"g",(function(){return A})),a.d(t,"b",(function(){return b})),a.d(t,"c",(function(){return f})),a.d(t,"d",(function(){return h})),a.d(t,"i",(function(){return x}));var n=a(10),o=a(0),r=a.n(o),i=a(51),c=a(97),s=a(15);const l=r.a.createContext(),d=r.a.createContext();function m(e,t){switch(t.type){case"LOGIN_START":return Object(n.a)(Object(n.a)({},e),{},{isAuthenticated:!1,isLoading:!0,isError:!1,error:"",isRegistered:!1});case"LOGIN_SUCCESS":return Object(n.a)(Object(n.a)({},e),{},{isAuthenticated:!0,isLoading:!1,isError:!1,error:"",jwt:t.jwt,user:t.user,userId:t.userId,userPermissions:t.userPermissions});case"LOGIN_FAILURE":return Object(n.a)(Object(n.a)({},e),{},{isAuthenticated:!1,isLoading:!1,isError:!0,error:t.error,errorCode:t.errorCode});case"SIGN_OUT_SUCCESS":return Object(n.a)(Object(n.a)({},e),{},{isAuthenticated:!1,isError:!1,error:"",jwt:""});case"REGISTER_START":return Object(n.a)(Object(n.a)({},e),{},{isLoading:!0,isErrorRegister:!1,error:"",isRegistered:!1});case"REGISTER_SUCCESS":return Object(n.a)(Object(n.a)({},e),{},{isLoading:!1,isErrorRegister:!1,error:"",isRegistered:!0,activeTabId:0,user:t.user});case"REGISTER_FAILURE":return Object(n.a)(Object(n.a)({},e),{},{isLoading:!1,isErrorRegister:!0,error:t.error,isRegistered:!1});case"SWITCH_TAB":return Object(n.a)(Object(n.a)({},e),{},{activeTabId:t.activeTabId});default:throw new Error("Unhandled action type: ".concat(t.type))}}function u(e){let{children:t}=e;const[a,n]=r.a.useReducer(m,{isLoading:!1,isError:!1,isErrorRegister:!1,isErrorRecover:!1,isSuccess:!1,error:"",errorCode:null,isAuthenticated:!!E("at"),accessToken:E("at"),isRegistered:!1,activeTabId:0,jwt:E("jwt",""),user:E("user",{}),userId:E("userId",0),userPermissions:E("userPermissions",[])});return r.a.createElement(l.Provider,{value:a},r.a.createElement(d.Provider,{value:n},t))}function g(){const e=r.a.useContext(l);if(void 0===e)throw new Error("useUserState must be used within a UserProvider");return e}function p(){const e=r.a.useContext(d);if(void 0===e)throw new Error("useUserDispatch must be used within a UserProvider");return e}function b(){return s.a.getFromSessionStorage("userId")}function f(){return s.a.getFromSessionStorage("userPermissions")}function h(){return JSON.parse(s.a.getFromSessionStorage("user")).RolesCodigos}function E(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return s.a.getFromSessionStorage(e,t)}function A(e,t){e({type:"SWITCH_TAB",activeTabId:t})}function v(e,t){if(!e.data)return t;switch(e.data.codigoErrorInterno){case 1:return"error.notAllowed";case 5:return"error.invalidCredentials";case 23:return"error.emailRegistered";case 157:return"error.disabledAccount";case 185:return"error.noEntity";default:return t}}function w(e){return["[email protected]","[email protected]","b2b@
1javit.com.ar","[email protected]"].includes(e)}const S=a(196);function C(e,t,a,n,o){const{data:r}=e,{jwt1:i,userData:l}=function(e){const t=S(e);return{jwt1:t,userData:(null===t||void 0===t?void 0:t.Login)||{}}}(r.token);if(!i||0===Object.keys(l).length)return void t({type:"LOGIN_FAILURE",error:a});const d=function(e){let t=[];const a={};e&&(t=e.Login.PermisosIds);for(const n in c.a)a[n]=t.includes(c.a[n]);return a}(i);!function(e,t,a,n){s.a.saveInSessionStorage("at",e.token),s.a.saveInSessionStorage("jwt",JSON.stringify(t)),s.a.saveInSessionStorage("user",JSON.stringify(a)),s.a.saveInSessionStorage("userId",a.UsuarioId),s.a.saveInSessionStorage("userPermissions",JSON.stringify(n))}(r,i,l,d),t({type:"LOGIN_SUCCESS",jwt:JSON.stringify(i),user:JSON.stringify(l),userId:l.usuarioId,userPermissions:JSON.stringify(d)}),function(e,t){e&&""!==e?t.push(e):t.push("/app/summary")}(o,n)}async function k(e,t,a,n){e({type:"LOGIN_START"});if(1===t.regWithSocialNtwk||!!t.login&&!!t.password)try{if(w(t.login))return void e({type:"LOGIN_FAILURE",error:"error.invalidUser"});const o=await i.a.signIn(t.login,t.password);o&&o.hasError?e({type:"LOGIN_FAILURE",error:v(o,o.data.mensaje||"error.login"),errorCode:o.data.codigoErrorInterno}):C(o,e,"error.login",a,n)}catch(o){e({type:"LOGIN_FAILURE",error:"error.login"})}else e({type:"LOGIN_FAILURE"})}async function y(e,t,a){e({type:"REGISTER_START"});let n="error.requiredMissing";const o=void 0===t.email||-1===t.email.indexOf("@");if(!o&&!!t.name&&!!t.surname)try{const n=await i.a.registerUser(t);if(n&&n.hasError)e({type:"REGISTER_FAILURE",error:v(n,n.data.mensaje||"error.userRegister")});else{const t=n.data.usuario;s.a.saveInSessionStorage("user",JSON.stringify(t)),e({type:"REGISTER_SUCCESS",user:JSON.stringify(t)}),a.push("/registered")}}catch(r){e({type:"REGISTER_FAILURE",error:"error.userRegister"})}else(o||1===t.regWithSocialNtwk)&&(n="error.noEmail"),e({type:"REGISTER_FAILURE",error:n})}async function x(e,t,a){var n,o,r;e({type:"LOGIN_START"});const c=(null===(n=a.location)||void 0===n||null===(o=n.state)||void 0===o||null===(r=o.from)||void 0===r?void 0:r.pathname)||"",s=t.provider.charAt(0).toUpperCase()+t.provider.slice(1),l="".concat(s,"-").concat(t.password);if(w(t.email))return void e({type:"LOGIN_FAILURE",error:"error.invalidUser"});let d=await i.a.signIn(t.email,l);if(d&&d.hasError){e({type:"REGISTER_START"});if(!(void 0===(null===t||void 0===t?void 0:t.email)||-1===(null===t||void 0===t?void 0:t.email.indexOf("@")))&&!!t.name&&!!t.surname){const n=await i.a.registerUser(t);if(n&&n.hasError)e({type:"REGISTER_FAILURE",error:v(n,n.data.mensaje||"error.userRegister")});else{if(e({type:"LOGIN_START"}),d=await i.a.signIn(t.email,l),d&&d.hasError)return void e({type:"LOGIN_FAILURE",error:v(d,d.data.mensaje||"error.login"),errorCode:d.data.codigoErrorInterno});C(d,e,"error.login",a,c)}}else e({type:"REGISTER_FAILURE",error:"error.noEmail"})}else C(d,e,"error.login",a,c)}function O(e,t){s.a.removeFromSessionStorage("at"),e({type:"SIGN_OUT_SUCCESS"}),t.push("/")}},77:function(e,t,a){"use strict";var n=a(0),o=a.n(n),r=a(268),i=a(264),c=Object(i.a)(e=>({messageContainer:{marginRight:e.spacing(1.5),color:"white",display:"flex",alignItems:"right",textAlign:"center",fontSize:"12px"},messageContainerInverted:{marginRight:e.spacing(1.5),color:e.palette.primary.main,display:"flex",alignItems:"right",textAlign:"center",fontSize:"12px"},label:{color:e.palette.primary.main,textTransform:"none",textAlign:"center",fontSize:"12px"}}));var s=[{languageId:"english",locale:"EN",name:"EN",icon:"us"},{languageId:"spanish",locale:"ES",name:"ES",icon:"es"}],l=a(265),d=a(251),m=a(15);t.a=e=>{const{i18n:t}=Object(r.a)(),a=c(),i=m.a.getFromLocalStorage("lan")||"ES";var[u,g]=Object(n.useState)(i);return o.a.createElement(l.a,{className:e.colorInverted?a.messageContainerInverted:a.messageContainer,id:"language-switch",value:u,onChange:e=>{g(e.target.value),t.changeLanguage(e.target.value),m.a.saveInLocalStorage("lan",e.target.value)}},s.map((e,t)=>o.a.createElement(d.a,{className:a.label,key:t,value:e.name},e.name)))}},78:function(e,t,a){"use strict";var n=a(0),o=a.n(n),r=a(264),i=Object(r.a)(e=>({div:{position:"fixed",right:"1rem",bottom:"1rem",zIndex:e.zIndex.drawer+3},fab:{color:e.palette.primary.light}})),c=a(257),s=a(258),l=a(259),d=a(126),m=a.n(d);t.a=function(e){const{window:t}=e,a=i(),n=Object(c.a)({target:t?t():void 0,disableHysteresis:!0,threshold:100});return o.a.createElement(s.a,{in:n},o.a.createElement("div",{onClick:t=>{const a=(t.target.ownerDocument||document).querySelector(e.backToTopId);a&&a.scrollIntoView({behavior:"smooth",block:"center"})},role:"presentation",className:a.div},o.a.createElement(l.a,{className:a.fab,size:"small","aria-label":"scroll back to top"},o.a.createElement(m.a,null))))}},97:function(e,t,a){"use strict";a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){return o}
1)),a.d(t,"b",(function(){return r}));const n={},o={},r={SUP:"SUP",ADM:"ADM",USU:"USU",TTA:"TTA",TTU:"TTU",FCA:"FCA",FCU:"FCU",CDA:"CDA",CDU:"CDU",TOA:"TOA",TOU:"TOU",DEM:"DEM",SYS:"SYS",DMN:"DMN",B2B:"B2B"}}},[[153,15,16]]]);

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.