1(this["webpackJsonpreact-bmefx"]=this["webpackJsonpreact-bmefx"]||[]).push([[16],{1181:function(e,t,a){"use strict";a.d(t,"m",(function(){return s})),a.d(t,"l",(function(){return o})),a.d(t,"i",(function(){return d})),a.d(t,"d",(function(){return p})),a.d(t,"c",(function(){return u})),a.d(t,"j",(function(){return j})),a.d(t,"h",(function(){return b})),a.d(t,"f",(function(){return m})),a.d(t,"e",(function(){return x})),a.d(t,"g",(function(){return h})),a.d(t,"b",(function(){return g})),a.d(t,"k",(function(){return O})),a.d(t,"a",(function(){return v}));var n=a(11),c=a(1045),r=a.n(c),i=a(1184),l=a.n(i),s=function(){return r()(l.a)},o=function(e){var t=0,a=0,n=0;return 4===e.length?(t="0x".concat(e[1]).concat(e[1]),a="0x".concat(e[2]).concat(e[2]),n="0x".concat(e[3]).concat(e[3])):7===e.length&&(t="0x".concat(e[1]).concat(e[2]),a="0x".concat(e[3]).concat(e[4]),n="0x".concat(e[5]).concat(e[6])),"".concat(+t,",").concat(+a,",").concat(+n)},d=function(e){return Intl.NumberFormat("es-ES",{style:"decimal",maximumFractionDigits:2,minimumFractionDigits:0}).format(e)},p=function(e,t){return null==e?e:"t"===t?e/1e3:e},u=function(e){return"t"===e?"tCOâe":"kgCOâe"},j=function(e){return Intl.NumberFormat("es-ES",{style:"decimal",maximumFractionDigits:3,minimumFractionDigits:0}).format(e)},b=function(e){if(null==e||""===e)return"";var t=String(e).replace(",",".");(t.includes("e")||t.includes("E"))&&(t=Number(t).toFixed(20).replace(/0+$/,"").replace(/\.$/,""));var a=t.split("."),c=Object(n.a)(a,2),r=c[0],i=c[1];if(isNaN(Number(t)))return"";var l="0"===r?"0":Number(r).toLocaleString("es-ES");return i?"".concat(l,",").concat(i):l},m=function(e){if(null!==e){var t=new Date(e);return[f(t.getDate()),f(t.getMonth()+1),t.getFullYear()].join("/")+" "+[f(t.getHours()),f(t.getMinutes()),f(t.getSeconds())].join(":")}},x=function(e){if(null!==e){var t=new Date(e);return[f(t.getDate()),f(t.getMonth()+1),t.getFullYear()].join("/")}},h=function(e){if(null!==e){var t=new Date(e);return[t.getFullYear(),f(t.getMonth()+1),f(t.getDate())].join("-")}},g=function(e,t,a,n,c){if("INTERANNUAL"===c){var r=(n||0)-(a||0);return r<=0?null!=e?e:0:(null!=e?e:0)*Math.pow(1-(null!=t?t:0)/100,r)}return(null!=e?e:0)*(1-(null!=t?t:0)/100)};function f(e){return e.toString().padStart(2,"0")}var O=function(e,t){return t},v=function(e,t,a){return Array.isArray(a)&&0!==a.length?"groups"===t?1===a.length?"".concat(e,"/business_group/").concat(a[0]):"".concat(e,"/business_groups/").concat(a.join(",")):1===a.length?"".concat(e,"/organization/").concat(a[0]):"".concat(e,"/organizations/").concat(a.join(",")):e}},1184:function(e,t,a){var n=a(594),c=a(595);e.exports={content:["./public/index.html","./src/**/*.{js,jsx,ts,tsx,html}"],theme:{extend:{boxShadow:{DEFAULT:"0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.02)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.02)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.01)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.01)"},colors:{gray:n.slate,"light-blue":n.sky,red:n.rose,orange:{100:"#ffedd5",600:"#ea580c"},aqua:{100:" #8dd4bd"},white:{100:"#ffffff"},blue:{600:"var(--airco2-green-color)"}},outline:{blue:"2px solid rgba(0, 112, 244, 0.5)"},fontFamily:{inter:["Inter","sans-serif"]},fontSize:{xs:["0.75rem",{lineHeight:"1.5"}],sm:["0.875rem",{lineHeight:"1.5715"}],ms:["12px",{lineHeight:"1.5"}],base:["1rem",{lineHeight:"1.5",letterSpacing:"-0.01em"}],lg:["1.125rem",{lineHeight:"1.5",letterSpacing:"-0.01em"}],xl:["1.25rem",{lineHeight:"1.5",letterSpacing:"-0.01em"}],"2xl":["1.5rem",{lineHeight:"1.33",letterSpacing:"-0.01em"}],"3xl":["1.88rem",{lineHeight:"1.33",letterSpacing:"-0.01em"}],"4xl":["2.25rem",{lineHeight:"1.25",letterSpacing:"-0.02em"}],"5xl":["3rem",{lineHeight:"1.25",letterSpacing:"-0.02em"}],"6xl":["3.75rem",{lineHeight:"1.2",letterSpacing:"-0.02em"}]},screens:{xs:"480px"},borderWidth:{3:"3px"},minWidth:{36:"9rem",44:"11rem",56:"14rem",60:"15rem",72:"18rem",80:"20rem"},maxWidth:{"8xl":"88rem","9xl":"96rem"},zIndex:{60:"60"}}},plugins:[a(1046),c((function(e){var t=e.addVariant,a=e.e;t("sidebar-expanded",(function(e){var t=e.modifySelectors,n=e.separator;t((function(e){var t=e.className;return".sidebar-expanded .".concat(a("sidebar-expanded".concat(n).concat(t)))}))}))}))]}},1208:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var n=a(20),c=a(3),r=a(26),i=a(11),l=a(9),s=a.n(l),o=a(139),d=a.n(o),p=a(0),u=a(1179),j=a(1185),b=a(312),m=a(39),x=a(1052),h=a(1054),g=a(2);function f(e){var t=e.img,a=e.actulizarAtributosImg,l=e.origin,o=Object(p.useContext)(b.a),f=Object(i.a)(o,2),O=(f[0],f[1],Ob
1ject(u.a)("global")),v=Object(i.a)(O,2),w=v[0],k=(v[1],Object(p.useState)(!1)),y=Object(i.a)(k,2),M=y[0],N=y[1],S=Object(p.useState)(),D=Object(i.a)(S,2),I=D[0],z=D[1],F=Object(p.useState)({type:"",message:""}),H=Object(i.a)(F,2),B=H[0],L=H[1],E=Object(p.useState)({imageDeleteResponseData:[],isFetching:!1}),_=Object(i.a)(E,2),A=_[0],R=_[1],C=Object(p.useState)(t),P=Object(i.a)(C,2),V=P[0],W=P[1];Object(p.useEffect)((function(){W(t)}),[t]);Object(p.useEffect)((function(){a(V)}),[V]);return Object(g.jsxs)(g.Fragment,{children:[Object(g.jsx)("div",{className:"flex justify-center",children:""!=B.type&&Object(g.jsx)(j.a,{type:B.type,open:!0,setOpen:!0,children:B.message})}),Object(g.jsxs)("table",{className:"table-auto w-full divide-y divide-gray-200 border-t ",children:[Object(g.jsxs)(x.a,{show:M,children:[Object(g.jsx)(x.a.Header,{className:"sec-green-background text-white text-lg",children:Object(g.jsx)("b",{children:w("marketplace.imgMP_delete")})}),Object(g.jsxs)(x.a.Body,{className:"text-left",children:[Object(g.jsx)("p",{children:w("marketplace.imgMP_deleteModal")}),Object(g.jsx)("button",{})]}),Object(g.jsxs)("div",{className:"flex justify-center pb-2",children:[Object(g.jsx)(h.a,{className:" text-xs btn bg-indigo-500 hover:bg-indigo-600 text-white ml-3 whitespace-nowrap",variant:"secondary",onClick:function(e){return function(e,t){var a;e.preventDefault(),N(!1),L(Object(c.a)(Object(c.a)({},B),{},{type:"warning",message:w("marketplace.imgMP_deleting")})),null===(a=document.getElementById("h1newmonte"))||void 0===a||a.scrollIntoView({behavior:"smooth"});var i=Object(r.a)(V),o=i.splice(t,1),p=function(){var e=Object(n.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,R({imageDeleteResponse:A.imageDeleteResponseData,isFetching:!0}),e.next=4,d.a.delete("".concat("provider"===l?"https://marketplace.airco2.eu/marketplace/v1/private/provider":"https://marketplace.airco2.eu/marketplace/v1/private/product","/images"),{data:o,headers:{Authorization:"Bearer ".concat(m.a.getToken())}}).then((function(e){var t,a;200===e.status?(L(Object(c.a)(Object(c.a)({},B),{},{type:"success",message:w("marketplace.imgMP_deleteOK")})),null===(t=document.getElementById("h1newmonte"))||void 0===t||t.scrollIntoView({behavior:"smooth"}),W(i)):(L(Object(c.a)(Object(c.a)({},B),{},{type:"error",message:w("marketplace.imgMP_deleteKO")})),null===(a=document.getElementById("h1newmonte"))||void 0===a||a.scrollIntoView({behavior:"smooth"})),R({imageDeleteResponseData:e.data,isFetching:!1})}));case 4:e.sent,e.next=13;break;case 7:e.prev=7,e.t0=e.catch(0),console.error(e.t0),R({imageDeleteResponse:A.imageDeleteResponseData,isFetching:!1}),L(Object(c.a)(Object(c.a)({},B),{},{type:"error",message:w("marketplace.imgMP_deleteKO")})),null===(t=document.getElementById("h1newmonte"))||void 0===t||t.scrollIntoView({behavior:"smooth"});case 13:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();p()}(e,I)},children:w("formMonte.alert_aceptar")}),Object(g.jsx)(h.a,{className:" text-xs btn bg-indigo-500 hover:bg-indigo-600 text-white ml-3 whitespace-nowrap",variant:"secondary",onClick:function(){return N(!1)},children:w("formMonte.cancelar")}
1)]})]}),Object(g.jsx)("tbody",{children:V.map((function(e,t){return Object(g.jsxs)("tr",{className:"border-t",children:[Object(g.jsx)("td",{className:"px-2 first:pl-5 last:pr-5 py-3 whitespace-nowrap",children:Object(g.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-left",children:[Object(g.jsx)("img",{loading:"lazy",width:"70",src:e.path}),Object(g.jsx)("a",{href:e.path,target:"_blank",className:" ml-2 text-xs text-center",children:w("marketplace.imgMP_fullImage")})]})}),Object(g.jsx)("td",{className:"px-2 first:pl-5 last:pr-5 py-3 whitespace-nowrap",children:Object(g.jsxs)("div",{className:"flex flex-col sm:flex-row space-x-4 items-center justify-end",children:[Object(g.jsxs)("div",{className:"flex flex-col",children:[e.principal?"":Object(g.jsx)("button",{className:"text-xs mb-1 border rounded-full px-2",onClick:function(){return function(e,t){var a=Object(r.a)(V);0==e.principal&&(a[t]={id:e.id,path:e.path,principal:e.principal,active:!e.active,satelital:e.satelital}),W(a)}(e,t)},children:e.active?w("marketplace.imgMP_invisible"):w("marketplace.imgMP_visible")}),e.principal?"":Object(g.jsx)("button",{className:"text-xs mb-1 border rounded-full px-2",onClick:function(){return function(e,t){for(var a=Object(r.a)(V),n=0;n<a.length;n++){var c=a[n];1==c.principal&&(c.principal=!c.principal)}a[t]={id:e.id,active:!0,path:e.path,principal:!e.principal,satelital:e.satelital},W(a)}(e,t)},children:w("marketplace.imgMP_principal")}),Object(g.jsx)("button",{className:"text-xs mb-1 border rounded-full px-2",onClick:function(){return function(e,t){var a=Object(r.a)(V);a[t]={id:e.id,path:e.path,principal:e.principal,active:e.active,satelital:!e.satelital},W(a)}(e,t)},children:e.satelital?w("marketplace.imgMP_nosatelital"):w("marketplace.imgMP_satelital")})]}),Object(g.jsxs)("div",{className:"flex flex-row",children:[Object(g.jsx)("div",{children:!0===e.active?Object(g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-eye-check",width:"28",height:"28",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"var(--airco2-green-color)",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[Object(g.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Object(g.jsx)("circle",{cx:"12",cy:"12",r:"2"}),Object(g.jsx)("path",{d:"M12 19c-4 0 -7.333 -2.333 -10 -7c2.667 -4.667 6 -7 10 -7s7.333 2.333 10 7c-.42 .736 -.858 1.414 -1.311 2.033"}),Object(g.jsx)("path",{d:"M15 19l2 2l4 -4"})]}):Object(g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-eye-off",width:"28",height:"28",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"var(--airco2-green-color)",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[Object(g.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Object(g.jsx)("line",{x1:"3",y1:"3",x2:"21",y2:"21"}),Object(g.jsx)("path",{d:"M10.584 10.587a2 2 0 0 0 2.828 2.83"}),Object(g.jsx)("path",{d:"M9.363 5.365a9.466 9.466 0 0 1 2.637 -.365c4 0 7.333 2.333 10 7c-.778 1.361 -1.612 2.524 -2.503 3.488m-2.14 1.861c-1.631 1.1 -3.415 1.651 -5.357 1.651c-4 0 -7.333 -2.333 -10 -7c1.369 -2.395 2.913 -4.175 4.632 -5.341"})]})}),Object(g.jsx)("div",{children:!0===e.satelital?Object(g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-satellite",width:"28",height:"28",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"var(--airco2-green-color)",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[Object(g.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Object(g.jsx)("path",{d:"M3.707 6.293l2.586 -2.586a1 1 0 0 1 1.414 0l5.586 5.586a1 1 0 0 1 0 1.414l-2.586 2.586a1 1 0 0 1 -1.414 0l-5.586 -5.586a1 1 0 0 1 0 -1.414z"}),Object(g.jsx)("path",{d:"M6 10l-3 3l3 3l3 -3"}),Object(g.jsx)("path",{d:"M10 6l3 -3l3 3l-3 3"}),Object(g.jsx)("path",{d:"M12 12l1.5 1.5"}),Object(g.jsx)("path",{d:"M14.5 17a2.5 2.5 0 0 0 2.5 -2.5"}),Object(g.jsx)("path",{d:"M15 21a6 6 0 0 0 6 -6"})]}):Object(g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-satellite-off",width:"28",height:"28",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"var(--airco2-green-color)",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[Object(g.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Object(g.jsx)("path",{d:"M7.707 3.707l5.586 5.586m-1.293 2.707l-1.293 1.293a1 1 0 0 1 -1.414 0l-5.586 -5.586a1 1 0 0 1 0 -1.414l1.293 -1.293"}),Object(g.jsx)("path",{d:"M6 10l-3 3l3 3l3 -3"}),Object(g.jsx)("path",{d:"M10 6l3 -3l3 3l-3 3"}),Object(g.jsx)("path",{d:"M12 12l1.5 1.5"}),Object(g.jsx)("path",{d:"M14.5 17c.69 0 1.316 -.28 1.769 -.733"}),Object(g.jsx)("path",{d:"M15 21c1.654 0 3.151 -.67 4.237 -1.752m1.507
1-2.507a6 6 0 0 0 .256 -1.741"}),Object(g.jsx)("path",{d:"M3 3l18 18"})]})}),Object(g.jsx)("div",{children:Object(g.jsxs)("svg",{id:t+"svg",xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-star",width:"28",height:"28",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"var(--airco2-green-color)",fill:1==e.principal?"var(--airco2-green-color)":"none",strokeLinecap:"round",strokeLinejoin:"round",children:[Object(g.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Object(g.jsx)("path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z"})]})}),Object(g.jsx)("div",{className:"ml-2",children:Object(g.jsx)("button",{onClick:function(){z(t),N(!0)},children:Object(g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-trash",width:"28",height:"28",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"#ff0000",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[Object(g.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Object(g.jsx)("line",{x1:"4",y1:"7",x2:"20",y2:"7"}),Object(g.jsx)("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),Object(g.jsx)("line",{x1:"14",y1:"11",x2:"14",y2:"17"}),Object(g.jsx)("path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"}),Object(g.jsx)("path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"})]})})})]})]})})]},t)}))})]})]})}},1241:function(e,t,a){"use strict";a.d(t,"a",(function(){return O}));var n=a(20),c=a(3),r=a(26),i=a(11),l=a(9),s=a.n(l),o=a(139),d=a.n(o),p=a(0),u=a(27),j=a(1179),b=a(1185),m=a(312),x=a(39),h=a(1204),g=a(1208),f=a(2);function O(e){var t=e.state,a=e.origin,l=e.setUpdateImages,o=(Object(u.f)().state,Object(p.useContext)(m.a)),O=Object(i.a)(o,2),v=(O[0],O[1],Object(j.a)("global")),w=Object(i.a)(v,2),k=w[0],y=(w[1],Object(p.useState)(!1)),M=Object(i.a)(y,2),N=(M[0],M[1],Object(p.useState)("provider"===a?t.gallery:t.productImageDtoList)),S=Object(i.a)(N,2),D=S[0],I=S[1],z=Object(p.useState)(!1),F=Object(i.a)(z,2),H=F[0],B=F[1],L=Object(p.useState)({type:"",message:""}),E=Object(i.a)(L,2),_=E[0],A=E[1],R=Object(p.useState)({productResponseData:[],isFetching:!1}),C=Object(i.a)(R,2),P=C[0],V=C[1],W=(new URLSearchParams(window.location.search).get("origen"),"".concat("https://marketplace.airco2.eu/marketplace/v1/private","/").concat(a,"/").concat(t.id,"/images"));return Object(f.jsx)("div",{className:" sec-neutro-background flex h-screen overflow-hidden",children:Object(f.jsx)("div",{className:"sec-neutro-background relative flex flex-col flex-1 overflow-y-auto overflow-x-hidden",children:Object(f.jsx)("main",{children:Object(f.jsxs)("div",{className:"px-4 sm:px-6 lg:px-8 py-8 w-full max-w-9xl mx-auto",children:[Object(f.jsx)("div",{className:"mb-2 sm:mb-0",children:Object(f.jsx)("h1",{className:"text-2xl md:text-3xl text-gray-800 font-bold",children:" imágenes de Marketplaceâ¨"})}),Object(f.jsx)("div",{className:"flex ml-4 mt-4",children:Object(f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-trees",width:"32",height:"32",viewBox:"0 0 24 24",stroke:"var(--airco2-green-color)",fill:"none",children:[Object(f.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Object(f.jsx)("path",{d:"M16 5l3 3l-2 1l4 4l-3 1l4 4h-9"}),Object(f.jsx)("line",{x1:"15",y1:"21",x2:"15",y2:"18"}),Object(f.jsx)("path",{d:"M8 13l-2 -2"}),Object(f.jsx)("path",{d:"M8 12l2 -2"}),Object(f.jsx)("path",{d:"M8 21v-13"}),Object(f.jsx)("path",{d:"M5.824 15.995a3 3 0 0 1 -2.743 -3.69a2.998 2.998 0 0 1 .304 -4.833a3 3 0 0 1 4.615 -3.707a3 3 0 0 1 4.614 3.707a2.997 2.997 0 0 1 .305 4.833a3 3 0 0 1 -2.919 3.695h-4z"})]})}),Object(f.jsxs)("div",{className:" px-4 pb-4",style:{width:"100%"},children:[Object(f.jsx)("div",{className:"flex flex-row mb-4 ",children:Object(f.jsxs)("div",{className:"overflow-x-auto w-full",children:[Object(f.jsx)("div",{className:"flex justify-center",children:""!=_.type&&Object(f.jsx)(b.a,{type:_.type,open:!0,setOpen:!0,children:_.message})}),Object(f.jsx)("div",{className:"table-auto w-full divide-y divide-gray-200 border-t ",children:Object(f.jsx)(g.a,{origin:a,img:D,actulizarAtributosImg:function(e){I(e),"product"==a&&l(e),e!=D&&B(!0)}})})]})}),H?Object(f.jsx)("div",{className:"flex justify-end mb-4",children:Object(f.jsx)("button",{onClick:function(e){var r;e.preventDefault();var i=t;i.productImageDtoList=D,delete i.summary,delete i.description,delete i.translations;var l=t;l.gallery=D,delete l.summary,delete l.description,delete l.translations,A(Object(c.a)(Object(c.a)({},_),{},{type:"warning",message:"Actualizando imágenes..."})),null===(r=document.getElementById("h1newmonte"))||void 0===r||r.scrollIntoView({behavior:"smooth"});var o=function(){var e=Object(n.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,V({productResponse:P.productResponseData,isFetching:!0}),e.next=4,d.a.post("".concat("product"===a?"https://marketplace.airco2.eu/marketplace/v1/private/product":"https://marketplace.airco2.eu/marketplace/v1/private/provider","?slackAlertType=admin"),"product"===a?i:l,{headers:{Accept:"application/json","Content-Type":"application/json","Access-Control-Allow-Origin":"*",Authorization:"Bearer ".concat(x.a.getToken())}}).then((function(e){var t,a;200===e.status?(A(Object(c.a)(Object(c.a)({},_),{},{type:"success",message:"Imágenes actualizadas correctamente"})),null===(t=document.getElementById("h1newmonte"))||void 0===t||t.scrollIntoView({behavior:"smooth"})):(A(Object(c.a)(Object(c.a)({},_),{},{type:"error",message:"Ha ocurrido un error al actualizar"})),null===(a=document.getElementById("h1newmonte"))||void 0===a||a.scrollIntoView({behavior:"smooth"}));V({productResponseData:e.data,isFetching:!1})}
1));case 4:e.sent,e.next=13;break;case 7:e.prev=7,e.t0=e.catch(0),console.error(e.t0),V({productResponse:P.productResponseData,isFetching:!1}),A(Object(c.a)(Object(c.a)({},_),{},{type:"error",message:k("account.actualizacion-ko")})),null===(t=document.getElementById("h1newmonte"))||void 0===t||t.scrollIntoView({behavior:"smooth"});case 13:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();o()},className:"btn-sm btn-green",children:"Guardar cambios"})}):"",Object(f.jsx)(h.a,{actualizar:function(e){I([].concat(Object(r.a)(D),Object(r.a)(e))),"product"==a&&l([].concat(Object(r.a)(D),Object(r.a)(e)))},url:W,validExtension:["image/jpeg","image/jpg","image/png"],size:1048576})]})]})})})})}}}]);
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.