PageSourceSearch

https://app.readysize.ai/static/js/main.52ba3151.chunk.js

js readysize.ai collected 2026-10-05 12:29:51 UTC 360,650 bytes, 2 lines download raw bytes

1(this.webpackJsonpfitprendamanagercore=this.webpackJsonpfitprendamanagercore||[]).push([[1],[,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CrispChat=t.ColumnSelectSizeGuide=t.ColumnSelectFitType=t.BarChartSizes=t.LineChart=t.BarChart=t.FileUpdloadForm=t.MultiselectDropdownForm=t.SelectDropdownForm=t.SelectFitType=t.SelectBodyArea=t.SelectGender=t.SelectSizeGuideType=t.InputTextForm=t.TooltipDomAuth=t.PricingCard=t.ModalIntroMs=t.Tooltip=t.CustomButton=t.ModalLimitReached=t.GuideTemplate=t.ModalIntro=t.InputText=t.ProductsForm=t.AssociateModal=t.DropdownButton=t.NotFoundTable=t.DashboardModal=t.CalendarDemo=t.Table=t.DashboardCard=t.ChipsControl=t.SizesForm=t.BlockContentControls=t.SuggestionWidget=t.ModalActionMessage=t.ModalCommon=t.DataTableSizeGuides=t.PushButtonFilter=t.MainSectionTitle=t.MainBoxTool=t.SectionTitle=t.AlertWidget=t.StatisticWidget=t.BadgeFitprenda=t.DataTableProducts=t.ButtonCommon=t.InputSearch=void 0;var s=a(214);Object.defineProperty(t,"InputSearch",{enumerable:!0,get:function(){return s.default}});var n=a(70);Object.defineProperty(t,"ButtonCommon",{enumerable:!0,get:function(){return n.default}});var i=a(305);Object.defineProperty(t,"DataTableProducts",{enumerable:!0,get:function(){return i.default}});var r=a(144);Object.defineProperty(t,"BadgeFitprenda",{enumerable:!0,get:function(){return r.default}});var o=a(221);Object.defineProperty(t,"StatisticWidget",{enumerable:!0,get:function(){return o.default}});var c=a(223);Object.defineProperty(t,"AlertWidget",{enumerable:!0,get:function(){return c.default}});var d=a(225);Object.defineProperty(t,"SectionTitle",{enumerable:!0,get:function(){return d.default}});var l=a(226);Object.defineProperty(t,"MainBoxTool",{enumerable:!0,get:function(){return l.default}});var u=a(228);Object.defineProperty(t,"MainSectionTitle",{enumerable:!0,get:function(){return u.default}});var j=a(230);Object.defineProperty(t,"PushButtonFilter",{enumerable:!0,get:function(){return j.default}});var m=a(232);Object.defineProperty(t,"DataTableSizeGuides",{enumerable:!0,get:function(){return m.default}});var b=a(145);Object.defineProperty(t,"ModalCommon",{enumerable:!0,get:function(){return b.default}});var p=a(235);Object.defineProperty(t,"ModalActionMessage",{enumerable:!0,get:function(){return p.default}});var h=a(98);Object.defineProperty(t,"SuggestionWidget",{enumerable:!0,get:function(){return h.default}});var g=a(146);Object.defineProperty(t,"BlockContentControls",{enumerable:!0,get:function(){return g.default}});var f=a(239);Object.defineProperty(t,"SizesForm",{enumerable:!0,get:function(){return f.default}});var O=a(147);Object.defineProperty(t,"ChipsControl",{enumerable:!0,get:function(){return O.default}});var x=a(242);Object.defineProperty(t,"DashboardCard",{enumerable:!0,get:function(){return x.default}});var v=a(244);Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return v.default}});var y=a(246);Object.defineProperty(t,"CalendarDemo",{enumerable:!0,get:function(){return y.default}});var S=a(247);Object.defineProperty(t,"DashboardModal",{enumerable:!0,get:function(){return S.default}});var N=a(249);Object.defineProperty(t,"NotFoundTable",{enumerable:!0,get:function(){return N.default}});var z=a(251);Object.defineProperty(t,"DropdownButton",{enumerable:!0,get:function(){return z.default}});var C=a(252);Object.defineProperty(t,"AssociateModal",{enumerable:!0,get:function(){return C.default}});var w=a(254);Object.defineProperty(t,"ProductsForm",{enumerable:!0,get:function(){return w.default}});var M=a(258);Object.defineProperty(t,"InputText",{enumerable:!0,get:function(){return M.default}});var T=a(259);Object.defineProperty(t,"ModalIntro",{enumerable:!0,get:function(){return T.default}});var k=a(104);Object.defineProperty(t,"GuideTemplate",{enumerable:!0,get:function(){return k.default}});var E=a(262);Object.defineProperty(t,"ModalLimitReached",{enumerable:!0,get:function(){return E.default}});var I=a(134);Object.defineProperty(t,"CustomButton",{enumerable:!0,get:function(){return I.default}});var P=a(264);Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function(){return P.default}});var G=a(266);Object.defineProperty(t,"ModalIntroMs",{enumerable:!0,get:function(){return G.default}});var A=a(268);Object.defineProperty(t,"PricingCard",{enumerable:!0,get:function(){return A.default}});var R=a(270);Object.defineProperty(t,"TooltipDomAuth",{enumerable:!0,get:function(){return R.default}});var F=a(85);Object.defineProperty(t,"InputTextForm",{enumerable:!0,get:function(){return F.default}});var L=a(271);Object.defineProperty(t,"SelectSizeGuideType",{enumerable:!0,get:function(){return L.default}});var D=a(111);Object.defineProperty(t,"SelectGender",{enumerable:!0,get:function(){return D.default}});var B=a(110);Object.defineProperty(t,"SelectBodyArea",{enumerable:!0,get:function(){return B.default}});var U=a(112);Object.defineProperty(t,"SelectFitType",{enumerable:!0,get:function(){return U.default}});var _=a(109);Object.defineProperty(t,"SelectDropdownForm",{enumerable:!0,get:function(){return _.default}});var W=a(113);Object.defineProperty(t,"MultiselectDropdownForm",{enumerable:!0,get:function(){return W.default}});var H=a(148);Object.defineProperty(t,"FileUpdloadForm",{enumerable:!0,get:function(){return H.default}});var V=a(272);Object.defineProperty(t,"BarChart",{enumerable:!0,get:function(){return V.default}});var q=a(274);Object.defineProperty(t,"LineChart",{enumerable:!0,get:function(){return q.default}});var K=a(276);Object.defineProperty(t,"BarChartSizes",{enumerable:!0,get:function(){return K.default}});var X=a(149);Object.defineProperty(t,"ColumnSelectFitType",{enumerable:!0,get:function(){return X.default}});var J=a(278);Object.defineProperty(t,"ColumnSelectSizeGuide",{enumerable:!0,get:function(){return J.default}});var Z=a(279);Object.defineProperty(t,"CrispChat",{enumerable:!0,get:function(){return Z.default}})},function(e,t,a){"use strict";var s,n,i,r,o,c,d,l,u,j,m;
1Object.defineProperty(t,"__esModule",{value:!0}),t.E_ContractType=t.E_UnitMeasure=t.E_MeasureType=t.E_BodyPart=t.E_BodyArea=t.E_FitType=t.E_GenderType=t.E_ClothesType=t.AlertWidgetType=t.StatisticTypeWidget=t.StatisticWidgetVariantValue=void 0,function(e){e[e.REGULAR=0]="REGULAR",e[e.SUCCESS=1]="SUCCESS",e[e.DANGER=2]="DANGER"}(s||(t.StatisticWidgetVariantValue=s={})),function(e){e[e.SUNGLASSES=0]="SUNGLASSES",e[e.STARSTRUCK=1]="STARSTRUCK",e[e.FROWNING=2]="FROWNING"}(n||(t.StatisticTypeWidget=n={})),function(e){e[e.CENTIMETER=0]="CENTIMETER",e[e.TSHIRT=1]="TSHIRT",e[e.WARNING=2]="WARNING"}(i||(t.AlertWidgetType=i={})),function(e){e[e.NONE=0]="NONE",e[e.TOP=1]="TOP",e[e.BOTTOM=2]="BOTTOM",e[e.ENTIRE=3]="ENTIRE",e[e.BRASSIERE=4]="BRASSIERE",e[e.SHOES=5]="SHOES"}(r||(t.E_ClothesType=r={})),function(e){e[e.NONE=0]="NONE",e[e.MALE=1]="MALE",e[e.FEMALE=2]="FEMALE",e[e.UNKNOW=3]="UNKNOW"}(o||(t.E_GenderType=o={})),function(e){e[e.NONE=0]="NONE",e[e.REGULAR=1]="REGULAR",e[e.TIGHT=2]="TIGHT",e[e.LOOSE=3]="LOOSE"}(c||(t.E_FitType=c={})),function(e){e[e.NONE=0]="NONE",e[e.TOP=1]="TOP",e[e.BOTTOM=2]="BOTTOM",e[e.BOTH=3]="BOTH",e[e.UNKNOW=4]="UNKNOW"}(d||(t.E_BodyArea=d={})),function(e){e[e.NONE=0]="NONE",e[e.TALL=1]="TALL",e[e.HEAD=2]="HEAD",e[e.NECK=3]="NECK",e[e.SHOULDER=4]="SHOULDER",e[e.CHEST=5]="CHEST",e[e.BACK=6]="BACK",e[e.ARM=7]="ARM",e[e.WAIST=8]="WAIST",e[e.HIP=9]="HIP",e[e.LEG=10]="LEG",e[e.CROTCH=11]="CROTCH",e[e.UNDERBUST=12]="UNDERBUST",e[e.FOOT=13]="FOOT"}(l||(t.E_BodyPart=l={})),function(e){e[e.NONE=0]="NONE",e[e.LENGTH=1]="LENGTH",e[e.HIGH=2]="HIGH",e[e.CONTOUR=3]="CONTOUR"}(u||(t.E_MeasureType=u={})),function(e){e[e.NONE=0]="NONE",e[e.FT=1]="FT",e[e.CM=2]="CM",e[e.MT=3]="MT",e[e.GRS=4]="GRS",e[e.KG=2]="KG"}(j||(t.E_UnitMeasure=j={})),function(e){e[e.NONE=0]="NONE",e[e.FREE=1]="FREE",e[e.PRO=2]="PRO",e[e.ENTERPRISE=3]="ENTE
1RPRISE"}(m||(t.E_ContractType=m={}))},,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolServices=t.PlatformServices=t.DashboardServices=t.FitTypeServices=t.BodyAreaServices=t.PersonServices=t.SizeGuideServices=t.ProductServices=t.Health=t.UserServices=t.StorageServices=void 0;var s=a(181);Object.defineProperty(t,"StorageServices",{enumerable:!0,get:function(){return s.default}});var n=a(186);Object.defineProperty(t,"UserServices",{enumerable:!0,get:function(){return n.default}});var i=a(187);Object.defineProperty(t,"Health",{enumerable:!0,get:function(){return i.default}});var r=a(188);Object.defineProperty(t,"ProductServices",{enumerable:!0,get:function(){return r.default}});var o=a(189);Object.defineProperty(t,"SizeGuideServices",{enumerable:!0,get:function(){return o.default}});var c=a(190);Object.defineProperty(t,"PersonServices",{enumerable:!0,get:function(){return c.default}});var d=a(192);Object.defineProperty(t,"BodyAreaServices",{enumerable:!0,get:function(){return d.default}});var l=a(193);Object.defineProperty(t,"FitTypeServices",{enumerable:!0,get:function(){return l.default}});var u=a(194);Object.defineProperty(t,"DashboardServices",{enumerable:!0,get:function(){return u.default}});var j=a(114);Object.defineProperty(t,"PlatformServices",{enumerable:!0,get:function(){return j.default}});var m=a(195);Object.defineProperty(t,"ToolServices",{enumerable:!0,get:function(){return m.default}})},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tools=t.CovertModule=t.ExcelModule=void 0;var s=a(206);Object.defineProperty(t,"ExcelModule",{enumerable:!0,get:function(){return s.default}});var n=a(207);Object.defineProperty(t,"CovertModule",{enumerable:!0,get:function(){return n.default}});var i=a(208);Object.defineProperty(t,"Tools",{enumerable:!0,get:function(){return i.default}})},,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var s=a(153);a.d(t,"b",(function(){return s}));var n=a(154);a.d(t,"a",(function(){return n}));var i=a(155);a.d(t,"c",(function(){return i}))},,,,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t);var s=a(33),n=(a(216),a(0));t.default=function(e){var t,a,i=function(){e.eventClick&&e.eventClick()};return Object(n.jsx)(n.Fragment,{children:e.disabled?Object(n.jsx)(s.a,{label:e.label,style:e.Styles,className:(e.isOutline?"p-button-outlined button-outline-fitprenda-common font-fitprenda-button-outline":"button-fitprenda-common font-fitprenda-button")+" p-button-warning h-100"+((null===(t=e.Styles)||void 0===t?void 0:t.width)?"":"w-100"),onClick:function(){return i()},disabled:!0}):Object(n.jsx)(s.a,{label:e.label,style:e.Styles,className:(e.isOutline?"p-button-outlined button-outline-fitprenda-common font-fitprenda-button-outline":"button-fitprenda-common font-fitprenda-button")+" p-button-warning h-100"+((null===(a=e.Styles)||void 0===a?void 0:a.width)?"":"w-100"),onClick:function(){return i()},badge:e.Badge?e.Badge:"",badgeClassName:"p-badge-warning"})})}},,,,function(e,t,a){"use strict";a.d(t,"b",(function(){return d})),a.d(t,"c",(function(){return l})),a.d(t,"a",(function(){return c}));var s=a(3),n=a(1),i=a(313),r=a(53),o=a(0),c=Object(n.createContext)({readysizelocale:"es",messages:r.b,changeLanguage:function(){}}),d=function(e){var t=e.children,a=e.cultureLocale,d=void 0===a?"es-ES":a,l=function(e){var t=e.split("-");return Object(s.a)(t,1)[0]},u=Object(n.useState)(l(d)),j=Object(s.a)(u,2),m=j[0],b=j[1],p=Object(n.useState)((function(){switch(l(d)){case"en":return r.a;case"pt":return r.c;default:return r.b}})),h=Object(s.a)(p,2),g=h[0],f=h[1];Object(n.useEffect)((function(){var e=localStorage.getItem("readysizelocale")||l(d);switch(b(e),e){case"en":f(r.a);break;case"pt":f(r.c);break;default:f(r.b)}}),[d]);return Object(o.jsx)(c.Provider,{value:{readysizelocale:m,messages:g,changeLanguage:function(e){switch(localStorage.setItem("readysizelocale",e),b(e),e){case"en":f(r.a);break;case"pt":f(r.c);break;default:f(r.b)}}},children:Object(o.jsx)(i.a,{locale:m,messages:g,children:t})})},l=function(){return Object(n.useContext)(c)}},,,,,,,function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){return new(a||(a=Promise))((function(n,i){function r(e){try{c(s.next(e))}catch(t){i(t)}}function o(e){try{c(s.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,o)}c((s=s.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var a,s,n,i,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;
1function o(o){return function(c){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,o[0]&&(r=0)),r;)try{if(a=1,s&&(n=2&o[0]?s.return:o[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;switch(s=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,s=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=(n=r.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(c){o=[6,c],s=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(10),r="",o=function(){function e(){}return e.PostServices=function(e,t,a){return s(this,void 0,void 0,(function(){return n(this,(function(s){switch(s.label){case 0:return[4,fetch("".concat(r).concat(e,"/").concat(t),{method:"POST",headers:{"Content-Type":"application/json",Authorization:i.StorageServices.GetCookieUser().TokenType?i.StorageServices.GetCookieUser().TokenType+" "+i.StorageServices.GetCookieUser().Token:i.StorageServices.GetCookieUser().Token},body:JSON.stringify(a)})];case 1:return[2,s.sent().json()]}}))}))},e.PutServices=function(e,t,a){return s(this,void 0,void 0,(function(){return n(this,(function(s){switch(s.label){case 0:return[4,fetch("".concat(r).concat(e,"/").concat(t),{method:"PUT",headers:{"Content-Type":"application/json",Authorization:i.StorageServices.GetCookieUser().TokenType?i.StorageServices.GetCookieUser().TokenType+" "+i.StorageServices.GetCookieUser().Token:i.StorageServices.GetCookieUser().Token},body:JSON.stringify(a)})];case 1:return[2,s.sent().json()]}}))}))},e.GetServices=function(e,t){return s(this,void 0,void 0,(function(){return n(this,(function(a){switch(a.label){case 0:return[4,fetch("".concat(r).concat(e,"/").concat(t),{method:"GET",headers:{"Content-Type":"application/json",Authorization:i.StorageServices.GetCookieUser().TokenType?i.StorageServices.GetCookieUser().TokenType+" "+i.StorageServices.GetCookieUser().Token:i.StorageServices.GetCookieUser().Token}})];case 1:return[2,a.sent().json()]}}))}))},e.DelServices=function(e,t){return s(this,void 0,void 0,(function(){return n(this,(function(a){switch(a.label){case 0:return[4,fetch("".concat(r).concat(e,"/").concat(t),{method:"DELETE",headers:{"Content-Type":"application/json",Authorization:i.StorageServices.GetCookieUser().TokenType?i.StorageServices.GetCookieUser().TokenType+" "+i.StorageServices.GetCookieUser().Token:i.StorageServices.GetCookieUser().Token}})];case 1:return[2,a.sent().json()]}}))}))},e.PostAnonymousServices=function(e,t,a){return s(this,void 0,void 0,(function(){return n(this,(function(s){switch(s.label){case 0:return[4,fetch("".concat(r).concat(e,"/").concat(t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})];case 1:return[2,s.sent().json()]}}))}))},e.GetAnonymousServices=function(e,t){return s(this,void 0,void 0,(function(){return n(this,(function(a){switch(a.label){case 0:return[4,fetch("".concat(r).concat(e,"/").concat(t),{method:"GET",headers:{"Content-Type":"application/json"}})];case 1:return[2,a.sent().json()]}}))}))},e.PostFileServices=function(e,t,a){return s(this,void 0,void 0,(function(){return n(this,(function(s){switch(s.label){case 0:return[4,fetch("".concat(r).concat(e,"/").concat(t),{method:"POST",headers:{Authorization:i.StorageServices.GetCookieUser().TokenType?i.StorageServices.GetCookieUser().TokenType+" "+i.StorageServices.GetCookieUser().Token:i.StorageServices.GetCookieUser().Token},body:a})];case 1:return[2,s.sent().json()]}}))}))},e}();t.default=o},,,,function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(19),i=a(1),r=a(32),o=a(89),c=a(63),d=a(51),l=a(66),u=a(5),j=(a(256),a(0));t.default=function(e){var t=Object(i.useState)(!1),a=Object(s.a)(t,2),m=a[0],b=a[1],p=Object(i.useState)(null),h=Object(s.a)(p,2),g=h[0],f=h[1],O=Object(l.a)();return Object(j.jsx)(j.Fragment,{children:Object(j.jsxs)(r.a.Group,{className:"justify-content-center ".concat(e.ClassGroup||""),children:[Object(j.jsxs)(r.a.Label,{className:"font-label-form ".concat(e.Label?"":"d-none"),children:[Object(j.jsx)(u.a,{id:e.Label}),e.Helper?Object(j.jsxs)(j.Fragment,{children:[Object(j.jsx)("img",{src:"img/questionmarkicon.png",alt:"questionmark",className:"dashboard-questionmark-size",onClick:function(e){return function(e){b(!m),f(e.target)}(e)}}),Object(j.jsx)(o.a,{show:m,target:g,placement:"right",children:Object(j.jsx)(c.a,{children:Object(j.jsx)(c.a.Body,{children:e.Helper||""})})})]}):Object(j.jsx)(j.Fragment,{})]}),Object(j.jsx)(r.a.Control,{size:"sm",type:"text",maxLength:e.MaxLength?e.Ma
1xLength:Number.MAX_VALUE,placeholder:O.formatMessage({id:e.Placeholder,defaultMessage:e.Placeholder}),disabled:e.Disabled||!1,onChange:function(t){return function(t){e.SuscribedChange&&e.SuscribedChange(t.target.value)}(t)},defaultValue:e.DefaultValue||""}),e.handlerClean?Object(j.jsx)(d.a,{type:"button",variant:"outline-dark",size:"sm",onClick:function(t){return function(t){e.handlerClean&&e.handlerClean(t)}(t)},children:Object(j.jsx)(n.a,{icon:"trash-alt"})}):Object(j.jsx)(j.Fragment,{})]})})}},,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t);var s=a(22),n=a(9),i=(a(237),a(0));t.default=function(e){return Object(i.jsx)(i.Fragment,{children:Object(i.jsxs)(s.a,{className:"tag-fitprenda-suggestion ".concat(e.styleClass||""),children:[Object(i.jsx)(n.a,{xs:2,xxl:2,className:"py-3",children:Object(i.jsx)("img",{src:"/img/icon-suggestion.png",alt:"Suggestion Logo",width:47.9,height:47})}),Object(i.jsxs)(n.a,{className:"py-3 px-4",children:[Object(i.jsx)("p",{className:"tag-fitprenda-suggestion-title-font",children:e.title||"Sugerencia"}),e.description&&Object(i.jsx)("p",{className:"tag-fitprenda-suggestion-content-font",children:e.description})]})]})})}},,function(e,t,a){"use strict";var s=a(3),n=a(33),i=a(1),r=(a(156),a(19)),o=a(152),c=a(5),d=a(0);t.a=function(){var e=Object(i.useState)(!1),t=Object(s.a)(e,2),a=t[0],l=t[1];return Object(d.jsxs)("div",{style:{position:"relative"},children:[Object(d.jsx)(n.a,{icon:"pi pi-question-circle",onClick:function(){l(!a)},className:"readysize-tooltip-container"}),a&&Object(d.jsx)("div",{className:"tooltip-content",style:{position:"absolute",backgroundColor:"white",padding:"15px 20px 15px",border:"1px solid #ccc",borderRadius:"5px",zIndex:1e3,right:"-400px",width:"400px",height:"300px",top:"-100px"},children:Object(d.jsxs)("div",{children:[Object(d.jsx)("p",{children:Object(d.jsx)(c.a,{id:"aliasTooltip",defaultMessage:"Para agregar mas alias a tu producto hace click sobre el boton que\r dice pega aqui tus alias, una vez seleccionado pega tus codigos de\r guias desde excel o word (control + v en Windows) o (command + v\r en Mac)"})}),Object(d.jsxs)("div",{className:"tooltipalias-icon-container",children:[Object(d.jsx)("div",{className:"tooltipalias-icon",children:Object(d.jsx)(r.a,{icon:o.b})}),Object(d.jsxs)("div",{className:"alias-flex-container",children:[Object(d.jsx)("button",{className:"button-56",children:"Ctrl"}),Object(d.jsx)("p",{className:"alias-plus",children:"+"}),Object(d.jsx)("button",{className:"button-56",children:"V"})]})]}),Object(d.jsxs)("div",{className:"tooltipalias-icon-container",children:[Object(d.jsx)("div",{className:"tooltipalias-icon",children:Object(d.jsx)(r.a,{icon:o.a})}),Object(d.jsxs)("div",{className:"alias-flex-container",children:[Object(d.jsx)("button",{className:"button-56",children:"\u2318"}),Object(d.jsx)("p",{className:"alias-plus",children:"+"}),Object(d.jsx)("button",{className:"button-56",children:"V"})]})]})]})})]})}},,,,function(e,t,a){"use strict";a.r(t);a(1),a(261);var s=a(0);t.default=function(e){var t=e.imgSrc,a=e.paragraphText,n=e.onClick,i=e.mainContainerClass,r=e.imageContainerClass,o=e.imageClass,c=e.textContainerClass,d=e.textClass;return Object(s.jsxs)("div",{className:i,onClick:n,children:[Object(s.jsx)("div",{className:r,children:Object(s.jsx)("img",{src:t,alt:"",className:o})}),Object(s.jsx)("div",{className:c,children:Object(s.jsx)("p",{className:d,children:a})})]})}},,,,,function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(1),i=a(32),r=a(89),o=a(63),c=(a(255),a(5)),d=a(0);t.default=function(e){var t=e.Elements,a=Object(n.useState)(!1),l=Object(s.a)(a,2),u=l[0],j=l[1],m=Object(n.useState)(null),b=Object(s.a)(m,2),p=b[0],h=b[1];return Object(d.jsx)(d.Fragment,{children:Object(d.jsxs)(i.a.Group,{className:"justify-content-center ".concat(e.ClassGroup||""),children:[Object(d.jsxs)(i.a.Label,{className:"font-label-form",children:[Object(d.jsx)(c.a,{id:e.Label||"",defaultMessage:e.Label||""}),e.Helper?Object(d.jsxs)(d.Fragment,{children:[Object(d.jsx)("img",{src:"img/questionmarkicon.png",alt:"questionmark",className:"dashboard-questionmark-size",onClick:function(e){return function(e){j(!u),h(e.target)}(e)}}),Object(d.jsx)(r.a,{show:u,target:p,placement:"right",children:Object(d.jsx)(o.a,{children:Object(d.jsx)(o.a.Body,{children:e.Helper||""})})})]}):Object(d.jsx)(d.Fragment,{})]}),Object(d.jsx)(i.a.Select,{className:"".concat(e.Classname?e.Classname:""),"aria-label":"".concat(e.AriaLabel?e.AriaLabel:""),onChange:function(t){return function(t){e.SuscribedChange&&e.SuscribedChange(t.target.value)}(t)},disabled:e.Disabled||!1,defaultValue:e.DefaultValue||"",children:e.IsLoading?Object(d.jsx)("option",{value:0}):Object(d.jsxs)(d.Fragment,{children:[e.OptionDefault?Object(d.jsx)("option",{value:0}):null,[].map.call(t,(function(e,t){return Object(d.jsx)("option",{value:e.Id,children:e.Name},"select-common-".concat(e.Id))}))]})})]})})}},function(e,t,a){"use strict";a.r(t);var s=a(8),n=a.n(s),i=a(17),r=a(3),o=a(1),c=a(32),d=a(10),l=a(66),u=a(5),j=a(0);t.default=function(e){var t=Object(o.useState)([]),a=Object(r.a)(t,2),s=a[0],m=a[1],b=Object(o.useState)(!0),p=Object(r.a)(b,2),h=p[0],g=p[1],f=Object(o.useState)(0),O
1=Object(r.a)(f,2),x=(O[0],O[1]);Object(l.a)();Object(o.useEffect)((function(){Object(i.a)(n.a.mark((function e(){var t;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.BodyAreaServices.GetBodyAreas();case 2:t=e.sent,m(t),g(!1);case 5:case"end":return e.stop()}}),e)})))()}),[]);return Object(j.jsx)(j.Fragment,{children:Object(j.jsxs)(c.a.Group,{className:"justify-content-center ".concat(e.ClassGroup||""),children:[Object(j.jsx)(c.a.Label,{className:"font-label-form ".concat(e.Label?"":"d-none"),children:Object(j.jsx)(u.a,{id:e.Label,defaultMessage:e.Label})}),h?Object(j.jsx)(j.Fragment,{}):Object(j.jsx)(c.a.Select,{size:"sm",disabled:e.Disabled||!1,onChange:function(t){return function(t){x(parseInt(t.target.value)),e.SuscribedChange&&e.SuscribedChange(parseInt(t.target.value))}(t)},defaultValue:e.DefaultValue&&s.length>0?e.DefaultValue:void 0,children:null===s||void 0===s?void 0:s.map((function(e,t){return Object(j.jsx)("option",{value:e.Id,children:e.Name},"select-body-area-".concat(e.Id))}))},"select-body-area")]})})}},function(e,t,a){"use strict";a.r(t);var s=a(8),n=a.n(s),i=a(17),r=a(3),o=a(1),c=a(32),d=a(10),l=a(66),u=a(36),j=a(0);t.default=function(e){var t=Object(o.useState)([]),a=Object(r.a)(t,2),s=a[0],m=a[1],b=Object(o.useState)(!0),p=Object(r.a)(b,2),h=p[0],g=p[1],f=Object(o.useState)(0),O=Object(r.a)(f,2),x=(O[0],O[1]),v=Object(l.a)();Object(o.useEffect)((function(){Object(i.a)(n.a.mark((function e(){var t;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.PersonServices.GetGenders();case 2:t=e.sent,u.Tools.IsDevelopment()&&console.log("Genders Select",t),m(t),g(!1);case 6:case"end":return e.stop()}}),e)})))()}),[]);return Object(j.jsx)(j.Fragment,{children:Object(j.jsxs)(c.a.Group,{className:"justify-content-center ".concat(e.ClassGroup||""),children:[Object(j.jsx)(c.a.Label,{className:"font-label-form ".concat(e.Label?"":"d-none"),children:v.formatMessage({id:e.Label,defaultMessage:e.Label})}),h?Object(j.jsx)(j.Fragment,{}):Object(j.jsx)(c.a.Select,{size:"sm",disabled:e.Disabled||!1,onChange:function(t){return function(t){x(parseInt(t.target.value)),e.SuscribedChange&&e.SuscribedChange(parseInt(t.target.value))}(t)},defaultValue:e.DefaultValue&&s.length>0?e.DefaultValue:void 0,children:null===s||void 0===s?void 0:s.map((function(e,t){return Object(j.jsx)("option",{value:e.Id,children:e.Name},"select-gender-".concat(e.Id))}))},"select-gender")]})})}},function(e,t,a){"use strict";a.r(t);var s=a(8),n=a.n(s),i=a(17),r=a(3),o=a(1),c=a(32),d=a(10),l=a(0);t.default=function(e){var t=Object(o.useState)([]),a=Object(r.a)(t,2),s=a[0],u=a[1],j=Object(o.useState)(!0),m=Object(r.a)(j,2),b=m[0],p=m[1],h=Object(o.useState)(0),g=Object(r.a)(h,2),f=(g[0],g[1]);Object(o.useEffect)((function(){Object(i.a)(n.a.mark((function e(){var t;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.FitTypeServices.GetFitTypes();case 2:t=e.sent,u(t),p(!1);case 5:case"end":return e.stop()}}),e)})))()}),[]);return Object(l.jsx)(l.Fragment,{children:Object(l.jsxs)(c.a.Group,{className:"justify-content-center ".concat(e.ClassGroup||""),children:[Object(l.jsx)(c.a.Label,{className:"font-label-form ".concat(e.Label?"":"d-none"),children:e.Label||""}),b?Object(l.jsx)(l.Fragment,{}):Object(l.jsx)(c.a.Select,{size:"sm",disabled:e.Disabled||!1,onChange:function(t){return function(t){f(parseInt(t.target.value)),e.SuscribedChange&&e.SuscribedChange(parseInt(t.target.value))}(t)},defaultValue:e.DefaultValue&&s.length>0?e.DefaultValue:void 0,children:null===s||void 0===s?void 0:s.map((function(e,t){return Object(l.jsx)("option",{value:e.Id,children:e.Name},"select-fit-type-".concat(e.Id))}))},"select-fit-type")]})})}},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(66),i=a(162),r=a(1),o=a(0);t.default=function(e){var t=Object(r.useState)(e.SelectedValues?e.SelectedValues:null),a=Object(s.a)(t,2),c=a[0],d=a[1],l=Object(n.a)();return Object(o.jsx)(o.Fragment,{children:Object(o.jsx)(i.a,{value:c,options:e.Options,onChange:function(t){return function(t){d(t.value),e.SuscribedChange&&e.SuscribedChange(t.value)}(t)},optionLabel:"".concat(e.OptionLabel?e.OptionLabel:"name"),placeholder:l.formatMessage({id:e.Placeholder}),display:"chip",appendTo:"self",className:"w-100"})})}},function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){return new(a||(a=Promise))((function(n,i){function r(e){try{c(s.next(e))}catch(t){i(t)}}function o(e){try{c(s.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,o)}c((s=s.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var a,s,n,i,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;
1function o(o){return function(c){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,o[0]&&(r=0)),r;)try{if(a=1,s&&(n=2&o[0]?s.return:o[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;switch(s=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,s=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=(n=r.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(c){o=[6,c],s=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(81),r=a(10),o="Platform",c=function(){function e(){}return e.GetMercadoShopsSearchItems=function(e){return s(this,void 0,void 0,(function(){var t,a,s;return n(this,(function(n){switch(n.label){case 0:t={},n.label=1;case 1:return n.trys.push([1,3,,4]),a=r.StorageServices.GetCookieUserCredentials(),[4,i.default.GetServices(o,"mercadoshops/search/items?companyId=".concat(a.CompanyId,"&platformid=").concat(a.PlatformId).concat(e?"&includeDetails=true":""))];case 2:return t=n.sent(),[3,4];case 3:return s=n.sent(),console.log(s),[3,4];case 4:return[2,t]}}))}))},e.GetMercadoShopsItemDetail=function(e){return s(this,void 0,void 0,(function(){var t,a,s;return n(this,(function(n){switch(n.label){case 0:t={},n.label=1;case 1:return n.trys.push([1,3,,4]),a=r.StorageServices.GetCookieUserCredentials(),[4,i.default.GetServices(o,"mercadoshops/item/detail?companyId=".concat(a.CompanyId,"&platformid=").concat(a.PlatformId,"&platformCode=").concat(e))];case 2:return t=n.sent(),[3,4];case 3:return s=n.sent(),console.log(s),[3,4];case 4:return[2,t]}}))}))},e.GetTiendaNubeSearchItems=function(){return s(this,void 0,void 0,(function(){var e,t,a;return n(this,(function(s){switch(s.label){case 0:e={},s.label=1;case 1:return s.trys.push([1,3,,4]),t=r.StorageServices.GetCookieUser(),[4,i.default.GetServices(o,"tiendanube/search/items?storeId=".concat(t.SellerId,"&platformid=").concat(t.PlatformId))];case 2:return e=s.sent(),[3,4];case 3:return a=s.sent(),console.log(a),[3,4];case 4:return[2,e]}}))}))},e.GetTiendaNubeItemDetail=function(e){return s(this,void 0,void 0,(function(){var t,a,s;return n(this,(function(n){switch(n.label){case 0:t={},n.label=1;case 1:return n.trys.push([1,3,,4]),a=r.StorageServices.GetCookieUser(),[4,i.default.GetServices(o,"tiendanube/item/detail?storeId=".concat(a.SellerId,"&platformid=").concat(a.PlatformId,"&platformCode=").concat(e))];case 2:return t=n.sent(),[3,4];case 3:return s=n.sent(),console.log(s),[3,4];case 4:return[2,t]}}))}))},e}();t.default=c},,,,,function(e,t,a){"use strict";var s=a(33),n=(a(217),a(0));t.a=function(e){return Object(n.jsx)(n.Fragment,{children:e.disabled?Object(n.jsx)(s.a,{label:e.label,className:(e.isOutline?"p-button-outlined ":"")+"p-button-warning button-fitprenda-common font-fitprenda-button w-100 h-100",onClick:e.eventClick,disabled:!0}):Object(n.jsx)(s.a,{label:e.label,className:(e.isOutline?"p-button-outlined ":"")+"p-button-warning button-fitprenda-common font-fitprenda-button w-100 h-100",onClick:e.eventClick})})}},,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(1),i=a(5),r=(a(263),a(0));t.default=function(e){var t=e.messageId,a=e.quantity,o=e.onClick,c=Object(n.useState)(!1),d=Object(s.a)(c,2),l=d[0],u=d[1];return Object(r.jsx)("div",{className:"push-btn-filter-ms ".concat(l?"active":""),onClick:function(){u(!l),o()},children:Object(r.jsx)(i.a,{id:t,defaultMessage:t,children:function(e){return Object(r.jsxs)("span",{children:[e," (",a,")"]})}})})}},,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentApp=t.ContentLayout=t.Login=void 0;var s=a(196);Object.defineProperty(t,"Login",{enumerable:!0,get:function(){return s.default}});var n=a(209);Object.defineProperty(t,"ContentLayout",{enumerable:!0,get:function(){return n.default}});var i=a(304);Object.defineProperty(t,"ContentApp",{enumerable:!0,get:function(){return i.default}})},,,,,function(e,t,a){"use strict";a.r(t);var s=a(159),n=(a(220),a(0));t.default=function(e){return Object(n.jsx)(n.Fragment,{children:Object(n.jsx)(s.a,{value:e.value,severity:e.variant?e.variant:"success",className:"badge-fitprenda-font"})})}},function(e,t,a){"use strict";a.r(t);var s=a(40),n=a(22),i=a(9),r=a(70),o=(a(234),a(5)),c=a(0);t.default=function(e){var t=function(){e.OnModalClose&&e.OnModalClose()};return Object(c.jsx)(c.Fragment,{children:Object(c.jsxs)(s.a,{show:e.Show,onHide:function(){return t()},centered:!0,dialogClassName:"my-modal",contentClassName:"modal-height",children:[Object(c.jsx)(s.a.Header,{closeButton:!0,style:{borderBottom:"0"},children:Object(c.jsx)(s.a.Title,{className:"font-modal-header ".concat(e.HiddenTitle?"d-none":""),children:Object(c.jsx)(o.a,{id:e.Title,defaultMessage:"Titulo Modal"})})}),Object(c.jsxs)(s.a.Body,{children:[Object(c.jsx)(n.a,{className:"justify-content-center",children:Object(c.jsx)(i.a,{xs:11,children:e.Content||"Modal Content"})}),Object(c.jsxs)(n.a,{className:"justify-content-end mt-3 ".concat(e.HiddenActions?"d-none":""),children:[Object(c.jsx)(i.a,{xs:4,className:"modal-common-button-cancel",children:Object(c.jsx)(r.default,{label:Object(c.jsx)(o.a,{id:"ready-size-Cancelar",defaultMessage:"Cancelar"}),isOutline:!0,eventClick:function(){return t()}})}),Object(c.jsx)(i.a,{xs:4,className:"modal-common-button-associate",children:Object(c.jsx)(r.default,{label:Object(c.jsx)(o.a,{id:e.buttonSuccessTitle,defaultMessage:"Ok"}),isOutline:!1,eventClick:function(){e.OnModalOk&&e.OnModalOk()}})})]})]})]})})}},function(e,t,a){"use strict";a.r(t);var s=a(22),n=a(9),i=(a(238),a(0));t.default=function(e){return Object(i.jsx)(i.Fragment,{children:Object(i.jsx)(s.a,{className:"justify-content-center block-content-fitprenda-controls px-".concat(e.paddingX||5," py-4"),children:Object(i.jsx)(n.a,{children:e.children||"Content Empty"})})})}},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(160),i=a(1),r=a(22),o=a(9),c=a(89),d=a(63),l=(a(241),a(0));t.default=function(e){var t=Object(i.useState)(e.Values?e.Values:[]),a=Object(s.a)(t,2),u=a[0],j=a[1],m=Object(i.useState)(!1),b=Object(s.a)(m,2),p=b[0],h=b[1],g=Object(i.useState)(null),f=Object(s.a)(g,2),O=f[0],x=f[1];Object(i.useEffect)((function(){j(e.Values?e.Values:[])}),[e.Values]);var v=e.disabled;return Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)(r.a,{className:"".concat((e.Title,"")),children:Object(l.jsx)(o.a,{children:Object(l.jsxs)("span",{className:"font-label-form form-label ".concat(e.Title?"":"d-none"),children:[e.Title||"",e.Helper?Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("img",{src:"img/questionmarkicon.png",alt:"questionmark",className:"dashboard-questionmark-size",onClick:function(e){return function(e){h(!p),x(e.target)}(e)}}),Object(l.jsx)(c.a,{show:p,target:O,placement:"right",children:Object(l.jsx)(d.a,{children:Object(l.jsx)(d.a.Body,{children:e.Helper||""})})})]}):Object(l.jsx)(l.Fragment,{})]})})}),Object(l.jsx)("span",{className:"w-100 ".concat(v?"chips-disabled":""),children:Object(l.jsx)(n.a,{value:u,placeholder:e.placeholder||"",onChange:function(t){return function(t){e.onChipChange&&e.onChipChange(t),j(t.value)}(t)},separator:",",className:"w-100 ".concat(v?"chips-disabled":""),disabled:v})})]})}},function(e,t,a){"use strict";a.r(t);var s=a(32),n=a(0);t.default=function(e){return Object(n.jsx)(n.Fragment,{children:Object(n.jsx)(s.a.Control,{type:"file",accept:e.Accept?e.Accept:".xlsx",size:"sm",onChange:function(t){return function(t){try{e.SuscribeChanges&&e.SuscribeChanges(t)}catch(a){console.log(a)}}(t)},className:e.Classname,ref:e.ControlRef||null})})}},function(e,t,a){"use strict";a.r(t);var s=a(8),n=a.n(s),i=a(17),r=a(3),o=a(1),c=a(58),d=a(10),l=a(0);
1t.default=function(e){var t=e.placeholder,a=e.value,s=e.onChange,u=Object(o.useState)(),j=Object(r.a)(u,2),m=j[0],b=j[1],p=function(e){s&&s(e.value)};return Object(o.useEffect)((function(){Object(i.a)(n.a.mark((function e(){var t,a;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.FitTypeServices.GetFitTypes();case 2:t=e.sent,a=t.map((function(e){return{value:e.Id.toString(),name:e.Name}})),b(a);case 5:case"end":return e.stop()}}),e)})))()}),[]),Object(l.jsx)("div",{className:"card flex justify-content-center",children:Object(l.jsx)(c.a,{value:m&&m.length?a:null,onChange:function(e){return p(e)},options:m,optionLabel:"name",placeholder:t,className:"w-full md:w-14rem",style:{minWidth:"100%"}})})}},,,,function(e){e.exports=JSON.parse('{"ready-size-yes":"Si","ready-size-no":"No","ready-size-age":"Edad","ready-size-weight":"Peso","ready-size-height":"Altura","ready-size-length":"Largo","ready-size-waist":"Cintura","ready-size-hip":"Cadera","ready-size-bust":"Busto","ready-size-feetlength":"Largo Pie","ready-size-Guardar":"Guardar","ready-size-Sincronizar":"Sincronizar","ready-size-Cancelar":"Cancelar","ready-size-Volver":"Volver","ready-size-guide-type":"Tipo de Gu\xeda","ready-size-help":"Ayuda","ready-size-profile":"Perfil","ready-size-classified":"Clasificado","ready-size-classified-subtitle":"Es un producto que tiene codigo de gu\xeda, fit por lo tanto esta listo para calcular talles.","ready-size-ms-welcome":"Bienvenido","ready-size-ms-begin":"Comenzar","ready-size-ms-intro-text":"Bienvenido! este es un tutorial para que aprendas a manejar nuestro administrador. Aqu\xed encontrar\xe1s todos los pasos necesarios para sacar el m\xe1ximo provecho de nuestras herramientas.","ready-size-ms-steptwo-title":"Nuestra UI","ready-size-ms-stepthree-title":"Alta de Gu\xedas","ready-size-ms-load":"Buscar","ready-size-start":"Inicio","ready-size-search-buscar":"Buscar","ready-size-paste":"Pega aqu\xed tus alias","ready-size-sizes-guides":"Gu\xedas de Talles","ready-size-statistics":"Estad\xedsticas","ready-size-products":"Productos","ready-size-recommended-sizes":"Talles Recomendados","ready-size-found-size":"Encontr\xf3 su talle","ready-size-didnt-found-size":"No encontr\xf3 su talle","ready-size-new-size-guide":"Nueva Gu\xeda de Talles","ready-size-products-withoutguide":"{count} Productos activos sin gu\xeda","ready-size-bras":"Sostenes","ready-size-footwear":"Calzado","ready-size-superior":"Superior","ready-size-inferior":"Inferior","ready-size-female":"Femenino","ready-size-male":"Masculino","ready-size-gender":"G\xe9nero","ready-size-sizes":"Talles","ready-size-clothing-type":"Tipo de prenda","ready-size-model":"Modelo","ready-size-position":"Posici\xf3n","ready-size-description":"Descripci\xf3n","ready-size-do-now":"Hacer ahora","ready-size-unique-size":"Talle \xfanico","ready-size-create":"Crear","ready-size-guide":"Gu\xeda","ready-size-example-guide":"Guia Ejemplo","ready-size-associate-guide":"Asociar Gu\xeda","ready-size-fit":"Fit","ready-size-associated-products":"Productos asociados","ready-size-close":"Cerrar","ready-size-code":"C\xf3digo","ready-size-search":"Alias","ready-size-begin":"Empezar","ready-size-sync":"Syncronizar Catalogo","ready-size-edit-size-guide-other-codes":"Otras codificaciones","ready-size-edit-size-guide-other-codes-exp":"Puedes agregar a tu gu\xeda m\xe1s codificaciones.","readysize-confirmationmodal-text":"Estas seguro que queres borrar este producto?.","readysize-limit-title":"Limite alcanzado.","readysize-contact":"Contactar","login-header":"Potencia tu eCommerce de Moda","login-password-input-title":"Contrase\xf1a","login-button":"Ingresar","login-no-account":"\xbfTodav\xeda no ten\xe9s cuenta?","login-contact-us":"Contactanos","navapp-news":"Novedades","navapp-mercadoshops":"MercadoShops","navapp-tiendanube":"Tiendanube","side-nav-tools":"Herramientas","side-nav-sign-out":"Salir","home-greeting":"\xa1Hola","home-subtitle":"En esta secci\xf3n te contamos como empezar a usar ReadySize.","home-configure":"Configura las gu\xedas de talles para asociarlas a tus productos.","home-configure-guide":"Configura Gu\xeda","home-upload":"Carga y actualiza tus productos.","home-upload-products":"Cargar Productos.","home-review":"Revisa tus estad\xedsticas para ver como va todo.","home-see-statistics":"Ver Estad\xedsticas.","home-title-attention":"Para prestar atenci\xf3n.","home-product-guide-description":"Asociar productos con una gu\xeda de talles.","home-unrecognized-products":"{count} Productos no reconocidos","home-unrecognized-product-description":"Hay productos similares que puedes usar.","home-inactive-products-title":"{count} productos sin actividad","home-inactive-products-description":"Revisa los productos que no usas para estar mejor organizado.","home-inactive-review":"Ir a revisar","home-title-statistics":"Estad\xedsticas principales","home-title-statistics-clarification":"(Ultimos 7 Dias)","home-widget-recommended-helper":"Estos son los usuarios que permanecieron en el modal hasta al final y recibieron sugerencias.","home-widget-found-helper":"Este es el porcentaje de usuarios que encontraron una talla despu\xe9s de proporcionar sus medidas corporales.","home-widget-didnt-find-helper":"Este es el porcentaje de usuarios que el cual no encontro un talle luego de entrar sus medidas","main-edit-sizeguides-title":"Editar Gu\xeda de Talles","main-sizeguides-subtitle":"En esta secci\xf3n vas a poder generar y administrar tus gu\xedas de talles. Las gu\xedas son escenciales para el funcionamiento de ReadySize, la informaci\xf3n de las gu\xedas la utliza la aplicaci\xf3n para recomendar los talles a los clientes.","main-new-sizeguides-subtitle":"Completa los datos para generar tu gu\xeda y luego podr\xe1s aplicarla a tus productos","main-edit-sizeguides-subtitle":"Completa los datos para generar tu gu\xeda y luego podr\xe1s aplicarla a tus productos","size-guide-select-template":"Selecciona una plantilla","
1size-guide-upper-clothing":"Prendas Superiores","size-guide-lower-clothing":"Prendas Inferiores","size-guide-full-clothing":"Prendas Enteras","size-guides-created-title":"Mis gu\xedas creadas","mainProducts.title.listWsg":"Productos activos sin gu\xeda","mainProducts.title.listNf":"Productos no reconocidos","mainProducts.title.listInactive":"Productos sin actividad","mainProducts.title.create":"Alta de productos","mainProducts.title.edit":"Editar Productos","subtitle-list-wsg":"Revisa el siguiente listado y corrige los datos faltantes. ReadySize no puede hacer recomendaciones de talles en productos sin una gu\xeda asociada.","subtitle-list-nf":"Revisa el siguiente listado y corrige los datos faltantes. ReadySize no puede hacer recomendaciones de codificaciones no registradas.","subtitle-list-inactive":"Los siguientes productos no fueron vistos en tu tienda online por m\xe1s de 2 meses. ReadySize eliminar\xe1 autom\xe1ticamente los datos de productos sin uso luego de 3 meses.","subtitle-create":"Los siguientes productos no fueron vistos en tu tienda online por m\xe1s de 2 meses. ReadySize eliminar\xe1 autom\xe1ticamente los datos de productos sin uso luego de 3 meses.","subtitle-edit":"En Esta secci\xf3n vas a poder editar tus productos. <b> Sugerencia:</b> conviene tener la gu\xeda de talles generada antes de editar los productos.","size-guide-entera":"Entera","size-guide-brassiere":"Brassiere","input-search-placeholder":"Buscar","edit-tooltip":"Editar","export-tooltip":"Exportar","duplicate-tooltip":"Duplicar","delete-tooltip":"Borrar","header-name":"Nombre","header-type":"Tipo","header-related-products":"Productos asociados","dashboard-mainboxtool-title":"Carga y actualiza los productos","dashboard-mainboxtool-subtitle":"Puedes cargar tus productos de tres formas.","dashboard-action-description":"Utliza un ejemplo para cargar productos de forma masiva.","dashboard-excel-upload-description":"Utliza un archivo excel para cargar un producto por vez.","dashboard-automate-description":"Automatiza la carga y actualizaci\xf3n de tus productos.","size-guide-services-upper-clothes":"Superiores","size-guide-services-lower-clothes":"Inferiores","size-guide-services-ull-body-clothes":"Enteras","dashboard-products-seeall":"Ver todos","product-grid-header":"Tus productos cargados","product-grid-sku":"SKU","product-grid-category":"Categoria","edit-size-guide-main-data":"Datos principales","edit-size-guide-widget-use-name":"Usa un nombre que defina bien la gu\xeca. Ej: Superiores mujer","edit-size-guide-widget-use-title":"Sugerencia","edit-size-guide-sizes-measures":"Talles y medidas","edit-size-guide-enterMeasurements":"Ingresa en cada campo las {boldText} de la siguiente forma: desde - hasta.","edit-size-guide-bodyMeasurements":"medidas corporales","edit-size-guide-contornoBusto":"Contorno de busto","edit-size-guide-thinkBodyMeasurements":"Pensar en Medidas corporales","edit-size-guide-bustContour":"Todo el contorno rodeando la espalda, justo en el medio del busto.","edit-size-guide-bajoBusto":"Bajo busto.","edit-size-guide-considerElasticity":"Tener en cuenta la elasticidad de la prenda","edit-size-guide-bustEndContour":"Contorno del cuerpo justo abajo de donde termina el busto.","edit-size-guide-contornoCintura":"Contorno de cintura","edit-size-guide-contornoCadera":"Contorno de cadera","edit-size-guide-altoTotal":"Alto total","edit-size-guide-contornoBajoBusto":"Contorno de bajo busto","edit-size-guide-pieIzquierdo":"Largo de Pie","sizesform-add-sizes":"A\xf1adir Talles","sizesform-match-previous":"Este valor debe coincidir con la medida final del talle anteriors","sizesform-atleast":"Debe haber al menos 2 talles","size-guide-guideName":"Nombre de la gu\xeda","size-guide-enterGuideName":"Ingresar el nombre de la gu\xeda","size-guide-cups":"Copas","size-guide-nameError":"Se necesitan por lo menos 5 caracteres","size-guide-createGuideProduct":"Asignar alias","size-guide-enterProductCode":"Ingresar el c\xf3digo del producto a generar","main-dashboard-title":"Estad\xedsticas","main-dashboard-subtitle":"Aqu\xed, los resultados de los Utlimos 7 d\xedas. Selecciona un rango de fechas para ver m\xe1s.","main-dashboard-date":"Fecha","main-dashboard-all":"Todas ({value})","main-dashboard-female":"Femenino ({value})","main-dashboard-male":"Masculino ({value})","main-dashboard-brassieres":"Sostenes ({value})","main-dashboard-download":"Descargar ({value})","main-dashboard-mostRecommendedSizes":"Talles m\xe1s recomendados","main-dashboard-recommendedSizesPerDay":"Talles recomendados por d\xeda","main-dashboard-userAge":"Edad de los usuarios","dashboard-modal-guide-select":"Seleccione una guia","dashboard-modal-option1":"INFERIOR_NUM_01","dashboard-modal-option2":"INFERIOR_NUM_02","dashboard-modal-option3":"INFERIOR_NUM_03","main-dashboard-searchedFemaleClothes":"Busc\xf3 prendas femeninas","main-dashboard-searchedMaleClothes":"Busc\xf3 prendas masculinas","table-TallesRecomendados":"Talles recomendados","table-TalleM\xe1sRecomendado":"Talle m\xe1s recomendado","table-Encontr\xf3Talle":"Encontr\xf3 talle","table-NoEncontr\xf3Talle":"No encontr\xf3 talle","table-descargar":"Descargar reporte completo","list-products-without-guide-IrAProductos":"Ir a productos","dashboard-products-ProductosNoReconocidos":"{count} Productos no reconocidos","dashboard-products-ProductosSinActividad":"{count} Productos inactivos","dashboard-products-Solucionar":"Solucionar","dashboard-products-Eliminar":"Eliminar","dashboard-products-know-more":"Saber m\xe1s","product-registration-widget-title":"Importante","product-registration-widget-description":"Completar el <b>Modelo</b> es obligatorio y debe coincidir con el que utilizan en la p\xe1gina de e-commerce. \\n\\n  Si no cuentas con c\xf3digos de modelo, debes crearlo.","product-registration-widget-description-two":"Al crear un Modelo, puedes utilizar las <b>primeras cifras de los SKUs</b> (como se muestra en el ejemplo.) Luego, cuando asocies una gu\xeda de talle al Modelo, se asignar\xe1 a todos los SKUS autom\xe1ticamente","product-form-addproduct":"A\xf1adir producto","products-form-modal-associate-guide":"Asociar Gu\xeda de talles","products-form-modal-successbutton":"Asociar","products-form-suggestionwidget-notfoundguide":"Si no encuentras la gu\xeda que buscas, puedes darla de alta.","products-form-selectguide":"Selecciona una gu\xeda","products-form-select-sizes":"Seleccionar talles","product-registration-modal-title":"Asociar Sugerencia","list-productnofound-suggestionwidget-left-desc":"En Sugerencia te mostramos productos ya cargados que se parecen; para que puedas asignarle al producto no reconocido, las caracter\xedsticas del producto sugerido.","list-productnofound-suggestionwidget-right-title":"Otra forma de resolverlo","list-productnofound-suggestionwidget-right-desc":"Desde tu p\xe1gina de ecommerce,  debes ocultar el bot\xf3n de ReadySize en los productos No reconocidos. // Te explicamos c\xf3mo hacerlo en la documentaci\xf3n (link).","list-productnofound-recognized-products":" \xa1Los Productos ya est\xe1n reconocidos!","list-productnofound-modal-header":"A todos los productos seleccionados se le asigar\xe1n las siguientes  caracter\xedsticas","list-productnofound-modal-head-item-title":"AA114138 JACKET RUSTIC LINEN ","list-productnofound-modal-fit-option":"Regular","list-productnofound-modal-sizes":"Talles:","list-productnofound-modal-sizes-options":"XL,M,S,L","product-registration-widget-product-created":"\xa1Producto creado!","products-form-helper-title":"Este c\xf3digo puede tener diferente nombre de acuerdo a tu tienda.","products-form-helper-example":"Ejemplos:","readysize-category-dots":"C
1ategoria:","product-edit-enter-guide-name":"Ingresar el nombre de la gu\xeda","product-edit-enter-category-name":"Ingresar el nombre de la categoria","modal-intro-welcome-title":"\xa1Bienvenidos a ReadySize!","modal-intro-welcome-subtitle":"En el siguiente Tour te mostramos como usar ReadySize para que mejore la experiencia de compra de tus clientes y tus ventas.","modal-intro-watch-tour":"Quiero ver el Tour","modal-intro-dont-watch":"No Gracias","modal-intro-steptwo-title":"1. Carga tus Gu\xedas de Talles","modal-intro-steptwo-subtitle":"Para poder asociarlas a los productos de tu tienda.","modal-intro-steptwo-configure":"Configura Talles:","readysize-next":"Siguiente","modal-intro-stepthree-title":"2. Carga tus Productos","modal-intro-stepthree-subtitle":"Ingresa tus Productos manualmente o de forma masiva (con un excel o por API).","modal-intro-stepthree-products":"Productos:","modal-intro-stepfour-title":"3. Asocia productos con gu\xedas","modal-intro-stepfour-subtitle":"Asocia tus Productos a las Gu\xedas de Talles que generaste antes.","modal-intro-stepfour-ready":"\xa1Listo! ya puedes empezar a usar ReadySize.","modal-intro-individual-load":"Carga individual manual (Plantilla)","modal-intro-massive-load":"Carga masiva por archivo (Excel)","modal-intro-auto-load":"Carga automatizada (API)","ready-size-marketplace-actualizar":"Sincronizar Cat\xe1logo","table-modalintro-stepone-firsthelper":"Estos botones te van a ayudar a encontrar tus productos no clasificados y deshabilitados para asi poder darlos de alta mas facilmente","table-modalintro-stepone-secondhelper":"Con este tooltip podes volver a ver el tutorial cuando te sea necesario! Con nuestro buscador podes filtrar productos por su numbre o codigo de gu\xeda.","table-modalintro-stepone-thirdhelper":"Para traer tus productos desde Mercado Shops, vas a tener que usar el boton de Syncronizar Catalogo, para ver tus cambios el otro, podes tambien sincronizar productos individualmente una vez que termines de clasificar tus productos no te olvides de guardarlos!.","ready-size-ms-stepthree-firsthelper":"Podes seleccionar varios productos en simultaneo y asignarles un codigo de gu\xeda o fit a todas al mismo tiempo, acordate de guardar tus cambios una vez que termines!","ready-size-ms-stepthree-secondhelper-title":"Para tener en cuenta:","ready-size-habilitado-btn-info-alt-start":"Un producto comienza ","ready-size-habilitado-btn-info-alt-deshabilitado":"deshabilitado","ready-size-habilitado-btn-info-alt-middle":", una vez ","ready-size-habilitado-btn-info-alt-clasificado":"clasificado","ready-size-habilitado-btn-info-alt-end":", este se puede ","ready-size-habilitado-btn-info-alt-desactivar":"desactivar","ready-size-habilitado-btn-info-alt-final":" moment\xe1neamente.","ready-size-ms-noclasificado":"No Clasificado","ready-size-deshabilitado":"Deshabilitado","ready-size-alias":"Alias","modal-intro-stepzero-button-bg":"Comenzar","ms-table-column-image":"Imagen","ms-table-column-code":"C\xf3digo","ms-table-column-name":"Nombre","ms-table-column-sizeguide":"Gu\xeda de talles","ms-table-column-sizes":"Talles","ms-table-column-fit":"Calce","ms-table-column-condition":"Condici\xf3n","ms-table-column-enabled":"Habilitado","ms-footer-first":"En total hay","ms-footer-second":"productos","ms-table-column-emptymessage":"No se encontraron productos.","ms-table-column-search":"Buscar Producto...","tooltip.paragraph1":"Habilitado","tooltip.paragraph2":"Es un producto que esta calculando talles, y podra ser visto por todos tus clientes.","tooltip.paragraph3":"Clasificado","tooltip.paragraph4":"Es un producto que tiene c\xf3digo de gu\xeda, fit y est\xe1 listo para calcular talles.","tooltip.heading2":"Para tener en cuenta","tooltip.heading":"Para tener en cuenta","ms-choose-fit":"Elegir Fit","card1.title":"B\xe1sico","card1.subtitle":"Gratis","card1.definition":"Ideal para emprendedores y marcas nuevas","card1.item1":"Hasta 500 recomendaciones de talles por mes","card1.item2":"Productos Ilimitados","card1.item3":"Hasta 3 gu\xedas de talles activas en simult\xe1neo","card1.item4":"Categor\xedas compatibles: vestuario, calzado, ropa interior","card1.item5":"Soporte b\xe1sico (help center)","card2.title":"Pro","card2.subtitle":"U$S 25 / mes(*)","card2.definition":"Ideal para Pymes y tiendas en crecimiento","card2.item1":"Hasta 5000 recomendaciones de talles por mes","card2.item2":"Productos ilimitados","card2.item3":"Hasta 5 gu\xedas de talles activas en simult\xe1neo","card2.item4":"Categor\xedas disponibles: vestuario, calzado, ropa interior","card2.item5":"Soporte intermedio (help center, email, chat)","card3.title":"Enterprise","card3.subt
1itle":"Desde U$S 200 / mes(*)","card3.definition":"Ideal para tiendas con alto tr\xe1fico y gran cantidad de \xf3rdenes de compra","card3.item1":"Recomendaciones de talles ilimitadas","card3.item2":"Productos Ilimitados","card3.item3":"Gu\xedas de talles activas ilimitadas","card3.item4":"Categor\xedas compatibles: vestuario, calzado, ropa interior","card3.item5":"Soporte full (help center, email, chat, key account manager)","aliasTooltip":"Para agregar mas alias a tu producto hace click sobre el boton que dice pega aqui tus alias, una vez seleccionado pega tus codigos de guias desde excel o word (control + v en Windows) o (command + v en Mac)","ready-size-exportxlsx":"Exportar modelo xlsx","ready-size-exportcsv":"Exportar modelo csv","langTooltip":"El Lenguaje que elijas va a ser utilizado por el modal en tu aplicaci\xf3n en sitio.","ourPlans":"Nuestros Planes","authDomains":"Dominios Autorizados","addAuthDomains":"Puedes agregar otros sitios autorizados a tu cuenta.","addDomainPlaceholder":"Agregar Dominio","addButtonLabel":"Agregar","alertHeader":"Alerta","confirmDeleteMessage":"\xbfEst\xe1s seguro de que quieres borrar este dominio?","appLanguage":"Idioma Aplicaci\xf3n","toolsCurrentLanguage":"Tu idoma actual es:","selectLanguagePlaceholder":"Selecciona un idioma"}')},function(e){e.exports=JSON.parse('{"ready-size-yes":"Yes","ready-size-no":"No","ready-size-age":"Age","ready-size-weight":"Weight","ready-size-height":"Height","ready-size-length":"Length","ready-size-waist":"Waist","ready-size-hip":"Hip","ready-size-bust":"Bust","ready-size-feetlength":"Feet Length","ready-size-Guardar":"Save","ready-size-Sincronizar":"Sync","ready-size-Cancelar":"Cancel","ready-size-Volver":"Back","ready-size-guide-type":"Guide Type","ready-size-help":"Help","ready-size-profile":"Profile","ready-size-classified":"Classified","ready-size-classified-subtitle":"It is a product that has a guide code, fit, therefore it is ready to calculate sizes.","ready-size-ms-welcome":"Welcome","ready-size-ms-begin":"Begin","ready-size-ms-intro-text":"Welcome! This is a tutorial to help you learn how to use our manager. Here you will find all the  necessary steps to get the most out of our tools.","ready-size-ms-steptwo-title":"Our UI","ready-size-ms-stepthree-title":"Guide Creation","ready-size-ms-load":"Load","ready-size-start":"Start","ready-size-search-buscar":"Search","ready-size-paste":"Paste your aliases here","ready-size-sizes-guides":"Size Guides","ready-size-statistics":"Statistics","ready-size-products":"Products","ready-size-recommended-sizes":"Recommended Sizes","ready-size-found-size":"Found size","ready-size-didnt-found-size":"Didn\'t found size","ready-size-new-size-guide":"New Size Guide","ready-size-products-withoutguide":"{count}
1 Active products without guide","ready-size-bras":"Bras","ready-size-footwear":"Footwear","ready-size-superior":"Top","ready-size-inferior":"Bottom","ready-size-female":"Female","ready-size-male":"Male","ready-size-gender":"Gender","ready-size-sizes":"Sizes","ready-size-clothing-type":"Clothing Type","ready-size-model":"Model","ready-size-position":"Position","ready-size-description":"Description","ready-size-do-now":"Do now","ready-size-unique-size":"Unique Size","ready-size-create":"Create","ready-size-guide":"Guide","ready-size-example-guide":"Example Guide","ready-size-associate-guide":"Associate Guide","ready-size-fit":"Fit","ready-size-associated-products":"Associated products","ready-size-close":"Close","ready-size-code":"Code","ready-size-search":"Search","ready-size-begin":"Begin","ready-size-sync":"Sync Catalog","ready-size-edit-size-guide-other-codes":"Other codes","ready-size-edit-size-guide-other-codes-exp":"You can add more codes to your guide.","readysize-confirmationmodal-text":"Are you sure you want to delete this product?","readysize-limit-title":"Limit reached.","readysize-contact":"Contact","login-header":"Enhance your Fashion eCommerce","login-password-input-title":"Password","login-button":"Log In","login-no-account":"Don\'t have an account yet?","login-contact-us":"Contact us","navapp-news":"News","navapp-mercadoshops":"Mercado Shops","navapp-tiendanube":"Tienda Nube","side-nav-tools":"Tools","side-nav-sign-out":"Sign Out","home-greeting":"Hello","home-subtitle":"In this section, we will tell you how to start using ReadySize.","home-configure":"Set up size guides to associate them with your products.","home-configure-guide":"Configure Guide","home-upload":"Upload and update your products.","home-upload-products":"Upload Products","home-review":"Review your statistics to see how everything is going.","home-see-statistics":"See Statistics","home-title-attention":"To pay attention","home-product-guide-description":"Associate products with a size guide.","home-unrecognized-products":"{count} Unrecognized products","home-unrecognized-product-description":"There are similar products you can use.","home-inactive-products-title":"{count} Inactive products","home-inactive-products-description":"Review unused products to stay better organized.","home-inactive-review":"Go to review","home-title-statistics":"Main Statistics","home-title-statistics-clarification":"(Last 7 Days)","home-widget-recommended-helper":"These are the users who stayed in the modal until the end and received suggestions.","home-widget-found-helper":"This is the percentage of users who found a size after providing their body measurements.","home-widget-didnt-find-helper":"This is the percentage of users who did not find a size after entering their measurements.","main-edit-sizeguides-title":"Edit Size Guide","main-sizeguides-subtitle":"In this section, you will be able to generate and manage your size guides. The guides are essential for the operation of ReadySize; the information from the guides is used by the application to recommend sizes to customers.","main-new-sizeguides-subtitle":"Complete the data to generate your guide and then you can apply it to your products.","main-edit-sizeguides-subtitle":"Complete the data to generate your guide and then you can apply it to your products.","size-guide-select-template":"Select a template","size-guide-upper-clothing":"Upper Clothing","size-guide-lower-clothing":"Lower Clothing","size-guide-full-clothing":"One-piece garments","size-guides-created-title":"My created guides","mainProducts.title.listWsg":"Active products without guide","mainProducts.title.listNf":"Unrecognized products","mainProducts.title.listInactive":"Inactive products","mainProducts.title.create":"Product Creation","mainProducts.title.edit":"Edit Products","subtitle-list-wsg":"Review the following list and correct the missing data. ReadySize cannot make size recommendations on products without an associated guide.","subtitle-list-nf":"Review the following list and correct the missing data. ReadySize cannot make recommendations for unrecognized codings.","subtitle-list-inactive":"The following products have not been seen in your online store for more than 2 months. ReadySize will automatically delete unused product data after 3 months.","subtitle-create":"The following products have not been seen in your online store for more than 2 months. ReadySize will automatically delete unused product data after 3 months.","subtitle-edit":"In this section, you will be able to edit your products. <b>Tip:</b> It is advisable to have the size guide generated before editing the products.","size-guide-entera":"Whole","size-guide-brassiere":"Brassiere","input-search-placeholder":"Search","edit-tooltip":"Edit","export-tooltip":"Export","duplicate-tooltip":"Duplicate","delete-tooltip":"Delete","header-name":"Name","header-type":"Type","header-related-products":"Related Products","dashboard-mainboxtool-title":"Upload and update products","dashboard-mainboxtool-subtitle":"You can upload your products in three ways.","dashboard-action-description":"Use an example to load products in bulk.","dashboard-excel-upload-description":"Use an excel file to upload one product at a time.","dashboard-automate-description":"Automate the upload and update of your products.","size-guide-services-upper-clothes":"Upper","size-guide-services-lower-clothes":"Lower","size-guide-services-ull-body-clothes":"Full","dashboard-products-seeall":"See all","product-grid-header":"Your Uploaded products","product-grid-sku":"SKU","product-grid-category":"Category","edit-size-guide-main-data":"Main data","edit-size-guide-widget-use-name":"Use a name that clearly defines the guide. Eg: Women\'s Tops","edit-size-guide-widget-use-title":"Tip","edit-size-guide-sizes-measures":"Sizes and Measures","edit-size-guide-enterMeasurements":"Enter in each field the {boldText} as follows: from - to.","edit-size-guide-bodyMeasurements":"Body measurements","edit-size-guide-contornoBusto":"Bust contour","edit-size-guide-thinkBodyMeasurements":"Think about body measurements","edit-size-guide-bustContour":"All the way around the back, right in the middle of the bust.","edit-size-guide-bajoBusto":"Under bust.","edit-size-guide-considerElasticity":"Consider the elasticity of the garment","edit-size-guide-bustEndContour":"Body contour just below where the bust ends.","edit-size-guide-contornoCintura":"Waist contour","edit-size-guide-contornoCadera":"Hip contour","edit-size-guide-altoTotal":"Total height","edit-size-guide-contornoBajoBusto":"Under bust c
1ontour","edit-size-guide-pieIzquierdo":"Foot length","sizesform-add-sizes":"Add sizes","sizesform-match-previous":"This value should match the final size of the previous size","sizesform-atleast":"There must be at least 2 sizes","size-guide-guideName":"Guide name","size-guide-enterGuideName":"Enter the guide name","size-guide-cups":"Cups","size-guide-nameError":"At least 5 characters are needed","size-guide-createGuideProduct":"Assign Alias","size-guide-enterProductCode":"Enter the product code to generate","main-dashboard-title":"Statistics","main-dashboard-subtitle":"Here are the results of the last 7 days. Select a date range to see more.","main-dashboard-date":"Date","main-dashboard-all":"All ({value})","main-dashboard-female":"Female ({value})","main-dashboard-male":"Male ({value})","main-dashboard-brassieres":"Bras ({value})","main-dashboard-download":"Download ({value})","main-dashboard-mostRecommendedSizes":"Most recommended sizes","main-dashboard-recommendedSizesPerDay":"Recommended sizes per day","main-dashboard-userAge":"User age","dashboard-modal-guide-select":"Select a guide","dashboard-modal-option1":"LOWER_NUM_01","dashboard-modal-option2":"LOWER_NUM_02","dashboard-modal-option3":"LOWER_NUM_03","main-dashboard-searchedFemaleClothes":"Searched for female clothes","main-dashboard-searchedMaleClothes":"Searched for male clothes","table-TallesRecomendados":"Recommended sizes","table-TalleM\xe1sRecomendado":"Most recommended size","table-Encontr\xf3Talle":"Found size","table-NoEncontr\xf3Talle":"Didn\'t find size","table-descargar":"Download full report","list-products-without-guide-IrAProductos":"Go to products","dashboard-products-ProductosNoReconocidos":"{count} Unrecognized products","dashboard-products-ProductosSinActividad":"{count} Inactive products","dashboard-products-Solucionar":"Solve","dashboard-products-Eliminar":"Delete","dashboard-products-know-more":"Learn more","product-registration-widget-title":"Important","product-registration-widget-description":"Completing the <b>Model</b> is mandatory and must match the one used on the e-commerce page. \\n\\n If you do not have model codes, you must create one.","product-registration-widget-description-two":"When creating a Model, you can use the <b>first digits of the SKUs</b> (as shown in the example). Then, when you associate a size guide to the Model, it will be assigned to all SKUs automatically.","product-form-addproduct":"Add product","products-form-modal-associate-guide":"Associate Size Guide","products-form-modal-successbutton":"Associate","products-form-suggestionwidget-notfoundguide":"If you can\'t find the guide you\'re looking for, you can create it.","products-form-selectguide":"Select a guide","products-form-select-sizes":"Select sizes","product-registration-modal-title":"Associate Suggestion","list-productnofound-suggestionwidget-left-desc":"In Suggestion, we show you already loaded products that are similar; so you can assign the unrecognized product the characteristics of the suggested product.","list-productnofound-suggestionwidget-right-title":"Another way to solve it","list-productnofound-suggestionwidget-right-desc":"From your e-commerce page, you must hide the ReadySize button on unrecognized products. // We explain how to do it in the documentation (link).","list-productnofound-recognized-products":"The products are already recognized!","list-productnofound-modal-header":"The following characteristics will be assigned to all selected products","list-productnofound-modal-head-item-title":"AA114138 JACKET RUSTIC LINEN","list-productnofound-modal-fit-option":"Regular","list-productnofound-modal-sizes":"Sizes:","list-productnofound-modal-sizes-options":"XL,M,S,L","product-registration-widget-product-created":"Product created!","products-form-helper-title":"This code may have a different name depending on your store.","products-form-helper-example":"Examples:","readysize-category-dots":"Category:","product-edit-enter-guide-name":"Enter the guide name","product-edit-enter-category-name":"Enter the category name","modal-intro-welcome-title":"Welcome to ReadySize!","modal-intro-welcome-subtitle":"In the following tour, we show you how to use ReadySize to improve your customers\' shopping experience and your sales.","modal
1-intro-watch-tour":"I want to see the Tour","modal-intro-dont-watch":"No Thanks","modal-intro-steptwo-title":"1. Upload your Size Guides","modal-intro-steptwo-subtitle":"To be able to associate them with your store\'s products.","modal-intro-steptwo-configure":"Configure Sizes:","readysize-next":"Next","modal-intro-stepthree-title":"2. Upload your Products","modal-intro-stepthree-subtitle":"Enter your Products manually or in bulk (with an excel or via API).","modal-intro-stepthree-products":"Products:","modal-intro-stepfour-title":"3. Associate products with guides","modal-intro-stepfour-subtitle":"Associate your Products with the Size Guides you generated before.","modal-intro-stepfour-ready":"Done! you can start using ReadySize.","modal-intro-individual-load":"Manual individual upload (Template)","modal-intro-massive-load":"Bulk upload by file (Excel)","modal-intro-auto-load":"Automated upload (API)","ready-size-marketplace-actualizar":"Sync Catalog","table-modalintro-stepone-firsthelper":"These buttons will help you find your unclassified and disabled products so you can register them more easily.","table-modalintro-stepone-secondhelper":"With this tooltip, you can re-watch the tutorial whenever you need it! With our search engine, you can filter products by their name or guide code.","table-modalintro-stepone-thirdhelper":"To bring your products from Mercado Shops, you will need to use the Sync Catalog button, to see your changes, use the other one, you can also sync products individually once you finish classifying your products, don\'t forget to save them!","ready-size-ms-stepthree-firsthelper":"You can select multiple products simultaneously and assign a guide code or fit to all of them at the same time, remember to save your changes once you finish!","ready-size-ms-stepthree-secondhelper-title":"To consider:","ready-size-habilitado-btn-info-alt-start":"A product starts ","ready-size-habilitado-btn-info-alt-deshabilitado":"disabled","ready-size-habilitado-btn-info-alt-middle":", once ","ready-size-habilitado-btn-info-alt-clasificado":"classified","ready-size-habilitado-btn-info-alt-end":", it can be ","ready-size-habilitado-btn-info-alt-desactivar":"deactivated","ready-size-habilitado-btn-info-alt-final":" temporarily.","ready-size-ms-noclasificado":"Unclassified","ready-size-deshabilitado":"Disabled","ready-size-alias":"Alias","modal-intro-stepzero-button-bg":"Begin","ms-table-column-image":"Image","ms-table-column-code":"Code","ms-table-column-name":"Name","ms-table-column-sizeguide":"Size guide","ms-table-column-sizes":"Sizes","ms-table-column-fit":"Fit","ms-table-column-condition":"Condition","ms-table-column-enabled":"Enabled","ms-footer-first":"In total there are","ms-footer-second":"products","ms-table-column-emptymessage":"No products found.","ms-table-column-search":"Search Product...","tooltip.paragraph1":"Enabled","tooltip.paragraph2":"It is a product that is calculating sizes, and can be seen by all your customers.","tooltip.paragraph3":"Classified","tooltip.paragraph4":"It is a product that has a guide code, fit and is ready to calculate sizes.","tooltip.heading2":"To consider","tooltip.heading":"To consider","ms-choose-fit":"Choose Fit","card1.title":"Basic","card1.subtitle":"Free","card1.definition":"Ideal for entrepreneurs and new brands","card1.item1":"Up to 500 size recommendations per month","card1.item2":"Unlimited products","card1.item3":"Up to 3 active size guides simultaneously","card1.item4":"Compatible categories: clothing, footwear, underwear","card1.item5":"Basic support (help center)","card2.title":"Pro","card2.subtitle":"U$S 25 / month(*)","card2.definition":"Ideal for SMEs and growing stores","card2.item1":"Up to 5000 size recommendations per month","card2.item2":"Unlimited products","card2.item3":"Up to 5 active size guides simultaneously","card2.item4":"Available categories: clothing, footwear, underwear","card2.item5":"Intermediate support (help center, email, chat)","card3.title":"Enterprise","card3.subtitle":"From U$S 200 / month(*)","card3.definition":"Ideal for stores with high traffic and large order volumes","card3.item1":"Unlimited size recommendations","card3.item2":"Unlimited products","card3.item3":"Unlimited active size guides","card3.item4":"Compatible categories: clothing, footwear, underwear","card3.item5":"Full support (help center, email, chat, key account manager)","aliasTooltip":"To add more al
1iases to your product, click on the button that says paste your aliases here, once selected paste your guide codes from excel or word (control + v on Windows) or (command + v on Mac)","ready-size-exportxlsx":"Export xlsx model","ready-size-exportcsv":"Export csv model","langTooltip":"The language you pick is the one the modal is going to display in your website.","ourPlans":"Our Plans","authDomains":"Authorized Domains","addAuthDomains":"You can add other authorized sites to your account.","addDomainPlaceholder":"Add Domain","addButtonLabel":"Add","alertHeader":"Alert","confirmDeleteMessage":"Are you sure you want to delete this domain?","appLanguage":"Application Language","toolsCurrentLanguage":"Your current language is:","selectLanguagePlaceholder":"Select a language"}')},function(e){e.exports=JSON.parse('{"ready-size-yes":"Sim","ready-size-no":"N\xe3o","ready-size-age":"Idade","ready-size-weight":"Peso","ready-size-height":"Altura","ready-size-length":"Comprimento","ready-size-waist":"Cintura","ready-size-hip":"Quadril","ready-size-bust":"Busto","ready-size-feetlength":"Comprimento do P\xe9","ready-size-Guardar":"Salvar","ready-size-Sincronizar":"Sincronizar","ready-size-Cancelar":"Cancelar","ready-size-Volver":"Voltar","ready-size-guide-type":"Tipo de Guia","ready-size-help":"Ajuda","ready-size-profile":"Perfil","ready-size-classified":"Classificado","ready-size-classified-subtitle":"\xc9 um produto que tem c\xf3digo de guia, ajuste, portanto est\xe1 pronto para calcular tamanhos.","ready-size-ms-welcome":"Bem-vindo","ready-size-ms-begin":"Come\xe7ar","ready-size-ms-intro-text":"Bem-vindo! Este \xe9 um tutorial para voc\xea aprender a usar nosso administrador. Aqui voc\xea encontrar\xe1 todas as etapas necess\xe1rias para aproveitar ao m\xe1ximo nossas ferramentas.","ready-size-ms-steptwo-title":"Nossa UI","ready-size-ms-stepthree-title":"Cadastro de Guias","ready-size-ms-load":"Buscar","ready-size-start":"In\xedcio","ready-size-search-buscar":"Buscar","ready-size-paste":"Cole seus aliases aqui","ready-size-sizes-guides":"Guias de Tamanhos","ready-size-statistics":"Estat\xedsticas","ready-size-products":"Produtos","ready-size-recommended-sizes":"Tamanhos Recomendados","ready-size-found-size":"Encontrou seu tamanho","ready-size-didnt-found-size":"N\xe3o encontrou seu tamanho","ready-size-new-size-guide":"Novo Guia de Tamanhos","ready-size-products-withoutguide":"{count} Produtos ativos sem guia","ready-size-bras":"Suti\xe3s","ready-size-footwear":"Cal\xe7ados","ready-size-superior":"Superior","ready-size-inferior":"Inferior","ready-size-female":"Feminino","ready-size-male":"Masculino","ready-size-gender":"G\xeanero","ready-size-sizes":"Tamanhos","ready-size-clothing-type":"Tipo de Roupa","ready-size-model":"Modelo","ready-size-position":"Posi\xe7\xe3o","ready-size-description":"Descri\xe7\xe3o","ready-size-do-now":"Fazer agora","ready-size-unique-size":"Tamanho \xdanico","ready-size-create":"Criar","ready-size-guide":"Guia","ready-size-example-guide":"Guia Exemplo","ready-size-associate-guide":"Associar Guia","ready-size-fit":"Ajuste","ready-size-associated-products":"Produtos associados","ready-size-close":"Fechar","ready-size-code":"C\xf3digo","ready-size-search":"Alias","ready-size-begin":"Come\xe7ar","ready-size-sync":"Sincronizar Cat\xe1logo","ready-size-edit-size-guide-other-codes":"Outras codifica\xe7\xf5es","ready-size-edit-size-guide-other-codes-exp":"Voc\xea pode adicionar mais codifica\xe7\xf5es ao seu guia.","readysize-confirmationmodal-text":"Tem certeza de que deseja excluir este produto?","readysize-limit-title":"Limite alcan\xe7ado.","readysize-contact":"Contato","login-header":"Impulsione seu eCommerce de Moda","login-password-input-title":"Senha","login-button":"Entrar","login-no-account":"Ainda n\xe3o tem uma conta?","login-contact-us":"Contate-nos","navapp-news":"Not\xedcias","navapp-mercadoshops":"MercadoShops","navapp-tiendanube":"Nuvemshop","side-nav-tools":"Ferramentas","side-nav-sign-out":"Sair","home-greeting":"Ol\xe1","home-subtitle":"Nesta se\xe7\xe3o, contamos como come\xe7ar a usar ReadySize.","home-configure":"Configure os guias de tamanhos para associ\xe1-los aos seus produtos.","home-configure-guide":"Configurar Guia","home-upload":"Carregue e atualize seus produtos.","home-upload-products":"Carregar Produtos","home-review":"Revise suas estat\xedsticas para ver como est\xe1 tudo.","home-see-statistics":"Ver Estat\xedsticas","home-title-attention":"Para prestar aten\xe7\xe3o","home-product-guide-description":"Associar produtos com um guia de tamanhos.","home-unrecognized-products":"{count} Produtos n\xe3o reconhecidos","home-unrecognized-product-description":"Existem produtos semelhantes que voc\xea pode usar.","home-inactive-products-title":"{count} produtos inativos","home-inactive-products-description":"Revise os produtos n\xe3o utilizados para se manter melhor organizado.","home-inactive-review":"Ir revisar","home-title-statistics":"Estat\xedsticas principais","home-title-statistics-clarification":"(\xdaltimos 7 Dias)","home-widget-recommended-helper":"Estes s\xe3o os usu\xe1rios que permaneceram no modal at\xe9 o final e receberam sugest\xf5es.","home-widget-found-helper":"Esta \xe9 a porcentagem de usu\xe1rios que encontraram um tamanho ap\xf3s fornecer suas medidas corporais.","home-widget-didnt-find-helper":"Esta \xe9 a porcentagem de usu\xe1rios que n\xe3o encontraram um tamanho ap\xf3s inserir suas medidas.","main-edit-sizeguides-title":"Editar Guia de Tamanhos","main-sizeguides-subtitle":"Nesta se\xe7\xe3o, voc\xea pode gerar e gerenciar seus guias de tamanhos. Os guias s\xe3o essenciais para o funcionamento do ReadySize, o aplicativo utiliza as informa\xe7\xf5es dos guias para recomendar os tamanhos aos clientes.","main-new-sizeguides-subtitle":"Complete os dados para gerar seu guia e depois poder\xe1 aplic\xe1-lo aos seus produtos.","main-edit-sizeguides-subtitle":"Complete os dados para gerar seu guia e depois poder\xe1 aplic\xe1-lo aos seus produtos.","size-guide-select-template":"Selecionar um modelo","size-guide-upper-clothing":"Roupas Superiores","size-guide-lower-clothing":"Roupas Inferiores","size-guide-full-clothing":"Roupas Inteiras","size-guides-created-title":"Meus guias criados","mainProducts.title.listWsg":"Produtos ativos sem guia","mainProducts.title.listNf":"Produtos n\xe3o reconhecidos","mainProducts.title.listInactive":"Produtos inativos","mainProducts.title.create":"Cadastro de produtos","mainProducts.title.edit":"Editar Produtos","subtitle-list-wsg":"Revise a lista a seguir e corrija os dad
1os ausentes. O ReadySize n\xe3o pode fazer recomenda\xe7\xf5es de tamanhos em produtos sem um guia associado.","subtitle-list-nf":"Revise a lista a seguir e corrija os dados ausentes. O ReadySize n\xe3o pode fazer recomenda\xe7\xf5es para codifica\xe7\xf5es n\xe3o registradas.","subtitle-list-inactive":"Os seguintes produtos n\xe3o foram vistos em sua loja online por mais de 2 meses. O ReadySize excluir\xe1 automaticamente os dados de produtos n\xe3o utilizados ap\xf3s 3 meses.","subtitle-create":"Os seguintes produtos n\xe3o foram vistos em sua loja online por mais de 2 meses. O ReadySize excluir\xe1 automaticamente os dados de produtos n\xe3o utilizados ap\xf3s 3 meses.","subtitle-edit":"Nesta se\xe7\xe3o, voc\xea pode editar seus produtos. <b>Sugest\xe3o:</b> \xe9 aconselh\xe1vel ter o guia de tamanhos gerado antes de editar os produtos.","size-guide-entera":"Inteira","size-guide-brassiere":"Suti\xe3","input-search-placeholder":"Buscar","edit-tooltip":"Editar","export-tooltip":"Exportar","duplicate-tooltip":"Duplicar","delete-tooltip":"Excluir","header-name":"Nome","header-type":"Tipo","header-related-products":"Produtos relacionados","dashboard-mainboxtool-title":"Carregue e atualize produtos","dashboard-mainboxtool-subtitle":"Voc\xea pode carregar seus produtos de tr\xeas maneiras.","dashboard-action-description":"Use um exemplo para carregar produtos em massa.","dashboard-excel-upload-description":"Use um arquivo excel para carregar um produto por vez.","dashboard-automate-description":"Automatize o carregamento e a atualiza\xe7\xe3o dos seus produtos.","size-guide-services-upper-clothes":"Superiores","size-guide-services-lower-clothes":"Inferiores","size-guide-services-ull-body-clothes":"Inteiras","dashboard-products-seeall":"Ver todos","product-grid-header":"Seus produtos carregados","product-grid-sku":"SKU","product-grid-category":"Categoria","edit-size-guide-main-data":"Dados principais","edit-size-guide-widget-use-name":"Use um nome que defina bem o guia. Ex: Superiores feminino","edit-size-guide-widget-use-title":"Sugest\xe3o","edit-size-guide-sizes-measures":"Tamanhos e medidas","edit-size-guide-enterMeasurements":"Digite em cada campo as {boldText} da seguinte forma: de - at\xe9.","edit-size-guide-bodyMeasurements":"medidas corporais","edit-size-guide-contornoBusto":"Contorno do busto","edit-size-guide-thinkBodyMeasurements":"Pensar em medidas corporais","edit-size-guide-bustContour":"Todo o contorno ao redor das costas, bem no meio do busto.","edit-size-guide-bajoBusto":"Sob o busto.","edit-size-guide-considerElasticity":"Considere a elasticidade da pe\xe7a","edit-size-guide-bustEndContour":"Contorno do corpo logo abaixo de onde termina o busto.","edit-size-guide-contornoCintura":"Contorno da cintura","edit-size-guide-contornoCadera":"Contorno do quadril","edit-size-guide-altoTotal":"Altura total","edit-size-guide-contornoBajoBusto":"Contorno abaixo do busto","edit-size-guide-pieIzquierdo":"Comprimento do p\xe9 esquerdo","sizesform-add-sizes":"Adicionar tamanhos","sizesform-match-previous":"Este valor deve coincidir com a medida final do tamanho anterior","sizesform-atleast":"Deve haver pelo menos 2 tamanhos","size-guide-guideName":"Nome do guia","size-guide-enterGuideName":"Digite o nome do guia","size-guide-cups":"Copas","size-guide-nameError":"S\xe3o necess\xe1rios pelo menos 5 caracteres","size-guide-createGuideProduct":"Atribuir Alias","size-guide-enterProductCode":"Digite o c\xf3digo do produto a ser gerado","main-dashboard-title":"Estat\xedsticas","main-dashboard-subtitle":"Aqui est\xe3o os resultados dos \xfaltimos 7 dias. Selecione um intervalo de datas para ver mais.","main-dashboard-date":"Data","main-dashboard-all":"Todos ({value})","main-dashboard-female":"Feminino ({value})","main-dashboard-male":"Masculino ({value})","main-dashboard-brassieres":"Suti\xe3s ({value})","main-dashboard-download":"Baixar ({value})","main-dashboard-mostRecommendedSizes":"Tamanhos mais recomendados","main-dashboard-recommendedSizesPerDay":"Tamanhos recomendados por dia","main-dashboard-userAge":"Idade dos usu\xe1rios","dashboard-modal-guide-select":"Selecione um guia","dashboard-modal-option1":"INFERIOR_NUM_01","dashboard-modal-option2":"INFERIOR_NUM_02","dashboard-modal-option3":"INFERIOR_NUM_03","main-dashboard-searchedFemaleClothes":"Procurou roupas femininas","main-dashboard-searchedMaleClothes":"Procurou roupas masculinas","table-TallesRecomendados":"Tamanhos recomendados","table-TalleM\xe1sRecomendado":"Tamanho mais recomendado","table-Encontr\xf3Talle":"Encontrou tamanho","table-NoEncontr\xf3Talle":"N\xe3o encontrou tamanho","table-descargar":"Baixar relat\xf3rio completo","list-products-without-guide-IrAProductos":"Ir para produtos","dashboard-products-ProductosNoReconocidos":"{count} Produtos n\xe3o reconhecidos","dashboard-products-ProductosSinActividad":"{count} Produtos inativos","dashboard-products-Solucionar":"Solucionar","dashboard-products-Eliminar":"Excluir","dashboard-products-know-more":"Saiba mais","product-registration-widget-title":"Importante","product-registration-widget-description":"Completar o <b>Modelo</b> \xe9 obrigat\xf3rio e deve coincidir com o utilizado na p\xe1gina de e-commerce. \\n\\n Se voc\xea n\xe3o tiver c\xf3digos de modelo, deve criar um.","product-registration-widget-description-two":"Ao criar um Modelo, voc\xea pode usar os <b>primeiros d\xedgitos dos SKUs</b> (como mostrado no exemplo). Em seguida, ao associar um guia de tamanhos ao Modelo, ele ser\xe1 atribu\xeddo automaticamente a todos os SKUs.","product-form-addproduct":"Adicionar produto","products-form-modal-associate-guide":"Associar Guia de Tamanhos","products-form-modal-successbutton":"Associar","products-form-suggestionwidget-notfoundguide":"Se voc\xea n\xe3o encontrar o guia que procura, pode criar um novo.","products-form-selectguide":"Selecione um guia","products-form-select-sizes":"Selecionar tamanhos","product-registration-modal-title":"Associar Sugest\xe3o","list-productnofound-suggestionwidget-left-desc":"Na Sugest\xe3o, mostramos produtos j\xe1 carregados que s\xe3o semelhantes; para que voc\xea possa atribuir ao produto n\xe3o reconhecido as caracter\xedsticas do produto sugerido.","list-productnofound-suggestionwidget-right-title":"Outra forma de resolver","list-productnofound-suggestionwidget-right-desc":"Na sua p\xe1gina de e-commerce, voc\xea deve ocultar o bot\xe3o ReadySize nos produtos n\xe3o reconhecidos. // Explicamos como fazer isso na documenta\xe7\xe3o (link).","list-productnofound-recognized-products":"Os produtos j\xe1 est\xe3o reconhecidos!","list-productnofound-modal-header":"As seguintes caracter\xedsticas ser\xe3o atribu\xeddas a todos os produtos selecionados","list-productnofound-modal-head-item-title":"AA114138 JAQUETA LINHO R\xdaSTICO","list-productnofound-modal-fit-option":"Regular","list-productnofound-modal-sizes":"Tamanhos:","list-productnofound-modal-sizes-options":"XL,M,S,L","product-registration-widget-product-created":"Produto criado!","products-form-helper-title":"Este c\xf3digo pode ter um nome diferente de acordo com sua loja.","products-form-helper-example":"Exemplos:","readysize-category-dots":"C
1ategoria:","product-edit-enter-guide-name":"Digite o nome do guia","product-edit-enter-category-name":"Digite o nome da categoria","modal-intro-welcome-title":"Bem-vindo ao ReadySize!","modal-intro-welcome-subtitle":"No tour a seguir, mostramos como usar o ReadySize para melhorar a experi\xeancia de compra dos seus clientes e suas vendas.","modal-intro-watch-tour":"Quero ver o Tour","modal-intro-dont-watch":"N\xe3o, obrigado","modal-intro-steptwo-title":"1. Carregue seus Guias de Tamanhos","modal-intro-steptwo-subtitle":"Para poder associ\xe1-los aos produtos da sua loja.","modal-intro-steptwo-configure":"Configurar Tamanhos:","readysize-next":"Pr\xf3ximo","modal-intro-stepthree-title":"2. Carregue seus Produtos","modal-intro-stepthree-subtitle":"Insira seus Produtos manualmente ou em massa (com um excel ou via API).","modal-intro-stepthree-products":"Produtos:","modal-intro-stepfour-title":"3. Associe produtos com guias","modal-intro-stepfour-subtitle":"Associe seus Produtos aos Guias de Tamanhos que voc\xea gerou antes.","modal-intro-stepfour-ready":"Pronto! voc\xea pode come\xe7ar a usar o ReadySize.","modal-intro-individual-load":"Carregamento individual manual (Modelo)","modal-intro-massive-load":"Carregamento em massa por arquivo (Excel)","modal-intro-auto-load":"Carregamento automatizado (API)","ready-size-marketplace-actualizar":"Sincronizar Cat\xe1logo","table-modalintro-stepone-firsthelper":"Esses bot\xf5es ajudar\xe3o voc\xea a encontrar seus produtos n\xe3o classificados e desativados para que voc\xea possa registr\xe1-los mais facilmente.","table-modalintro-stepone-secondhelper":"Com esta dica, voc\xea pode assistir ao tutorial sempre que precisar! Com nosso mecanismo de busca, voc\xea pode filtrar produtos por nome ou c\xf3digo de guia.","table-modalintro-stepone-thirdhelper":"Para trazer seus produtos do Mercado Shops, voc\xea precisar\xe1 usar o bot\xe3o Sincronizar Cat\xe1logo, para ver suas mudan\xe7as, use o outro, voc\xea tamb\xe9m pode sincronizar produtos individualmente assim que terminar de classificar seus produtos, n\xe3o se esque\xe7a de salv\xe1-los!","ready-size-ms-stepthree-firsthelper":"Voc\xea pode selecionar v\xe1rios produtos simultaneamente e atribuir um c\xf3digo de guia ou ajuste a todos ao mesmo tempo, lembre-se de salvar suas altera\xe7\xf5es ao terminar!","ready-size-ms-stepthree-secondhelper-title":"Para considerar:","ready-size-habilitado-btn-info-alt-start":"Um produto come\xe7a ","ready-size-habilitado-btn-info-alt-deshabilitado":"desativado","ready-size-habilitado-btn-info-alt-middle":", uma vez ","ready-size-habilitado-btn-info-alt-clasificado":"classificado","ready-size-habilitado-btn-info-alt-end":", ele pode ser ","ready-size-habilitado-btn-info-alt-desactivar":"desativado","ready-size-habilitado-btn-info-alt-final":" temporariamente.","ready-size-ms-noclasificado":"N\xe3o Classificado","ready-size-deshabilitado":"Desativado","ready-size-alias":"Alias","modal-intro-stepzero-button-bg":"Come\xe7ar","ms-table-column-image":"Imagem","ms-table-column-code":"C\xf3digo","ms-table-column-name":"Nome","ms-table-column-sizeguide":"Guia de tamanhos","ms-table-column-sizes":"Tamanhos","ms-table-column-fit":"Ajuste","ms-table-column-condition":"Condi\xe7\xe3o","ms-table-column-enabled":"Ativado","ms-footer-first":"No total, h\xe1","ms-footer-second":"produtos","ms-table-column-emptymessage":"Nenhum produto encontrado.","ms-table-column-search":"Buscar Produto...","tooltip.paragraph1":"Ativado","tooltip.paragraph2":"\xc9 um produto que est\xe1 calculando tamanhos, e poder\xe1 ser visto por todos os seus clientes.","tooltip.paragraph3":"Classificado","tooltip.paragraph4":"\xc9 um produto que tem c\xf3digo de guia, ajuste e est\xe1 pronto para calcular tamanhos.","tooltip.heading2":"Para considerar","tooltip.heading":"Para considerar","ms-choose-fit":"Escolher Ajuste","card1.title":"B\xe1sico","card1.subtitle":"Gr\xe1tis","card1.definition":"Ideal para empreendedores e novas marcas","card1.item1":"At\xe9 500 recomenda\xe7\xf5es de tamanhos por m\xeas","card1.item2":"Produtos Ilimitados","card1.item3":"At\xe9 3 guias de tamanhos ativas simultaneamente","card1.item4":"Categorias compat\xedveis: vestu\xe1rio, cal\xe7ado, roupa \xedntima","card1.item5":"Suporte b\xe1sico (central de ajuda)","card2.title":"Pro","card2.subtitle":"U$S 25 / m\xeas(*)","card2.definition":"Ideal para PMEs e lojas em crescimento","card2.item1":"At\xe9 5000 recomenda\xe7\xf5es de tamanhos por m\xeas","card2.item2":"Produtos ilimitados","card2.item3":"At\xe9 5 guias de tamanhos ativas simultaneamente","card2.item4":"Categorias dispon\xedveis: vestu\xe1rio, cal\xe7ado, roupa \xedntima","card2.item5":"Suporte intermedi\xe1rio (central de ajuda, e-mail, chat)","card3.title":"Enterprise","card3.subt
1itle":"A partir de U$S 200 / m\xeas(*)","card3.definition":"Ideal para lojas com alto tr\xe1fego e grande volume de pedidos","card3.item1":"Recomenda\xe7\xf5es de tamanhos ilimitadas","card3.item2":"Produtos Ilimitados","card3.item3":"Guias de tamanhos ativas ilimitadas","card3.item4":"Categorias compat\xedveis: vestu\xe1rio, cal\xe7ado, roupa \xedntima","card3.item5":"Suporte completo (central de ajuda, e-mail, chat, gerente de contas)","aliasTooltip":"Para adicionar mais aliases ao seu produto, clique no bot\xe3o que diz cole aqui seus aliases, uma vez selecionado, cole seus c\xf3digos de guias do excel ou word (control + v no Windows) ou (command + v no Mac)","ready-size-exportxlsx":"Exportar modelo xlsx","ready-size-exportcsv":"Exportar modelo csv","langTooltip":"O idioma que voc\xea escolher ser\xe1 utilizado pelo modal em seu aplicativo no site.","ourPlans":"Nossos Planos","authDomains":"Dom\xednios Autorizados","addAuthDomains":"Voc\xea pode adicionar outros sites autorizados \xe0 sua conta.","addDomainPlaceholder":"Adicionar Dom\xednio","addButtonLabel":"Adicionar","alertHeader":"Alerta","confirmDeleteMessage":"Seu idioma atual \xe9:","selectLanguagePlaceholder":"Selecione um idioma"}')},function(e,t,a){},,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MainDashboard=void 0;var s=a(213);Object.defineProperty(t,"MainDashboard",{enumerable:!0,get:function(){return s.default}})},,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MainProducts=void 0;var s=a(301);Object.defineProperty(t,"MainProducts",{enumerable:!0,get:function(){return s.default}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MainHome=void 0;var s=a(286);Object.defineProperty(t,"MainHome",{enumerable:!0,get:function(){return s.default}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MainSizeGuides=void 0;var s=a(302);Object.defineProperty(t,"MainSizeGuides",{enumerable:!0,get:function(){return s.default}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MercadoShops=void 0;var s=a(306);Object.defineProperty(t,"MercadoShops",{enumerable:!0,get:function(){return s.default}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TiendaNube=void 0;var s=a(307);Object.defineProperty(t,"TiendaNube",{enumerable:!0,get:function(){return s.default}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tools=void 0;var s=a(308);Object.defineProperty(t,"Tools",{enumerable:!0,get:function(){return s.default}})},,,,,,,,,,,,function(e,t,a){},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(182),n=function(){function e(){}return e.SetCookieUser=function(t){var a={};try{sessionStorage.getItem(e.cookieName)?((a=JSON.parse(s.Buffer.from(sessionStorage.getItem(e.cookieName)||"","base64").toString("ascii"))).user=t,sessionStorage.setItem(e.cookieName,s.Buffer.from(JSON.stringify(a)).toString("base64"))):(a.user=t,sessionStorage.setItem(e.cookieName,s.Buffer.from(JSON.stringify(a)).toString("base64")))}catch(n){console.log(n)}},e.GetCookieUser=function(){try{if(sessionStorage.getItem(e.cookieName))return JSON.parse(s.Buffer.from(sessionStorage.getItem(e.cookieName)||"","base64").toString("ascii")).user}catch(t){console.log(t)}},e.SetCookieUserSizeGuideActive=function(t){var a={};try{sessionStorage.getItem(e.cookieName)&&((a=JSON.parse(s.Buffer.from(sessionStorage.getItem(e.cookieName)||"","base64").toString("ascii"))).user.SizeGuideActive=t,sessionStorage.setItem(e.cookieName,s.Buffer.from(JSON.stringify(a)).toString("base64")))}catch(n){console.log(n)}},e.SetCookieUserSizeGuideActiveChange=function(t){var a={};try{sessionStorage.getItem(e.cookieName)&&((a=JSON.parse(s.Buffer.from(sessionStorage.getItem(e.cookieName)||"","base64").toString("ascii"))).user.SizeGuideActive+=t,sessionStorage.setItem(e.cookieName,s.Buffer.from(JSON.stringify(a)).toString("base64")))}catch(n){console.log(n)}},e.GetCookieUserCredentials=function(){var t={};try{if(sessionStorage.getItem(e.cookieName)){var a=JSON.parse(s.Buffer.from(sessionStorage.getItem(e.cookieName)||"","base64").toString("ascii"));t.UserId=a.user.UserId,t.CompanyId=a.user.CompanyId,t.PlatformId=a.user.PlatformId}else t.UserId=0,t.CompanyId=0,t.PlatformId=0}catch(n){console.log(n)}return t},e.ExistsCookieUser=function(){try{if(sessionStorage.getItem(e.cookieName)){var t=JSON.parse(s.Buffer.from(sessionStorage.getItem(e.cookieName)||"","base64").toString("ascii"));return void 0!==t.user&&null!==t.user}return!1}catch(a){console.log(a)}return!1}
1,e.FlushCookie=function(){try{sessionStorage.removeItem(e.cookieName)}catch(t){console.log(t)}},e.cookieName="FP-Cookie",e}();t.default=n},,,,,function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){return new(a||(a=Promise))((function(n,i){function r(e){try{c(s.next(e))}catch(t){i(t)}}function o(e){try{c(s.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,o)}c((s=s.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var a,s,n,i,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(o){return function(c){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,o[0]&&(r=0)),r;)try{if(a=1,s&&(n=2&o[0]?s.return:o[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;switch(s=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,s=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=(n=r.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(c){o=[6,c],s=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(81),r=a(10),o="User",c=function(){function e(){}return e.Login=function(e,t){return s(this,void 0,void 0,(function(){var a,s,c;return n(this,(function(n){switch(n.label){case 0:a={},n.label=1;case 1:return n.trys.push([1,3,,4]),s={UserCred:r.StorageServices.GetCookieUserCredentials(),Content:{Mail:e,Password:t}},[4,i.default.PostAnonymousServices(o,"login",s)];case 2:return a=n.sent(),[3,4];case 3:return c=n.sent(),console.log(c),[3,4];case 4:return[2,a]}}))}))},e.UpdateStatusOnBoarding=function(e){return s(this,void 0,void 0,(function(){var t,a,s;return n(this,(function(n){switch(n.label){case 0:t={},n.label=1;case 1:return n.trys.push([1,3,,4]),a=r.StorageServices.GetCookieUserCredentials(),[4,i.default.PostServices(o,"hideonboarding/".concat(a.PlatformId,"/").concat(a.UserId,"/").concat(e),t)];case 2:return t=n.sent(),[3,4];case 3:return s=n.sent(),console.log(s),[3,4];case 4:return[2,t]}}))}))},e}();t.default=c},function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){return new(a||(a=Promise))((function(n,i){function r(e){try{c(s.next(e))}catch(t){i(t)}}function o(e){try{c(s.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,o)}c((s=s.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var a,s,n,i,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(o){return function(c){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,o[0]&&(r=0)),r;)try{if(a=1,s&&(n=2&o[0]?s.return:o[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;switch(s=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,s=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=(n=r.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(c){o=[6,c],s=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(81),r=a(10),o="Health",c=function(){function e(){}return e.GetProductsHealth=function(){return s(this,void 0,void 0,(function(){var e,t,a;return n(this,(function(s){switch(s.label){case 0:e={},t=r.StorageServices.GetCookieUserCredentials(),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,i.default.GetServices(o,"product?userid=".concat(t.UserId,"&platformid=").concat(t.PlatformId))];case 2:return e=s.sent(),[3,4];case 3:return a=s.sent(),console.log(a),[3,4];case 4:return[2,e]}}))}))},e.GetWarningsHealth=function(){return s(this,void 0,void 0,(function(){var e,t,a;return n(this,(function(s){switch(s.label){case 0:e={},t=r.StorageServices.GetCookieUserCredentials(),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,i.default.GetServices(o,"warning?userid=".concat(t.UserId,"&platformid=").concat(t.PlatformId))];case 2:return e=s.sent(),[3,4];case 3:return a=s.sent(),console.log(a),[3,4];case 4:return[2,e]}}))}))},e}();t.default=c},function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){return new(a||(a=Promise))((function(n,i){function r(e){try{c(s.next(e))}catch(t){i(t)}}function o(e){try{c(s.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,o)}c((s=s.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var a,s,n,i,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;
1function o(o){return function(c){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,o[0]&&(r=0)),r;)try{if(a=1,s&&(n=2&o[0]?s.return:o[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;switch(s=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,s=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=(n=r.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(c){o=[6,c],s=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(81),r=a(10),o="Product",c=function(){function e(){}return e.GetProducts=function(){return s(this,void 0,void 0,(function(){var e,t,a;return n(this,(function(s){switch(s.label){case 0:e={},s.label=1;case 1:return s.trys.push([1,3,,4]),t=r.StorageServices.GetCookieUserCredentials(),[4,i.default.GetServices(o,"products?userid=".concat(t.UserId,"&platformid=").concat(t.PlatformId))];case 2:return e=s.sent(),[3,4];case 3:return a=s.sent(),console.log(a),[3,4];case 4:return[2,e]}}))}))},e.GetProductsWithoutSizeGuide=function(){return s(this,void 0,void 0,(function(){var e,t,a;return n(this,(function(s){switch(s.label){case 0:e={},s.label=1;case 1:return s.trys.push([1,3,,4]),t=r.StorageServices.GetCookieUserCredentials(),[4,i.default.GetServices(o,"products/withoutsizeguide?userid=".concat(t.UserId,"&platformid=").concat(t.PlatformId))];case 2:return e=s.sent(),[3,4];case 3:return a=s.sent(),console.log(a),[3,4];case 4:return[2,e]}}))}))},e.GetProductsWithoutActivity=function(){return s(this,void 0,void 0,(function(){var e,t,a;return n(this,(function(s){switch(s.label){case 0:e={},s.label=1;case 1:return s.trys.push([1,3,,4]),t=r.StorageServices.GetCookieUserCredentials(),[4,i.default.GetServices(o,"products/withoutactivity?userid=".concat(t.UserId,"&platformid=").concat(t.PlatformId))];case 2:return e=s.sent(),[3,4];case 3:return a=s.sent(),console.log(a),[3,4];case 4:return[2,e]}}))}))},e.GetPlatformProducts=function(){return s(this,void 0,void 0,(function(){var e,t,a;return n(this,(function(s){switch(s.label){case 0:e={},s.label=1;case 1:return s.trys.push([1,3,,4]),t=r.StorageServices.GetCookieUserCredentials(),[4,i.default.GetServices(o,"products/platform?userid=".concat(t.UserId,"&platformid=").concat(t.PlatformId))];case 2:return e=s.sent(),[3,4];case 3:return a=s.sent(),console.log(a),[3,4];case 4:return[2,e]}}))}))},e.GetPlatformProduct=function(e){return s(this,void 0,void 0,(function(){var t,a,s;return n(this,(function(n){switch(n.label){case 0:t={},n.label=1;case 1:return n.trys.push([1,3,,4]),a=r.StorageServices.GetCookieUserCredentials(),[4,i.default.GetServices(o,"products/platform?userid=".concat(a.UserId,"&platformid=").concat(a.PlatformId,"&platformcode=").concat(e))];case 2:return t=n.sent(),[3,4];case 3:return s=n.sent(),console.log(s),[3,4];case 4:return[2,t]}}))}))},e.PostPlatformProducts=function(e){return s(this,void 0,void 0,(function(){var t,a,s;return n(this,(function(n){switch(n.label){case 0:t={},n.label=1;case 1:return n.trys.push([1,3,,4]),a={UserCred:r.StorageServices.GetCookieUserCredentials(),Content:e},[4,i.default.PostServices(o,"products/platform",a)];case 2:return t=n.sent(),[3,4];case 3:return s=n.sent(),console.log(s),[3,4];case 4:return[2,t]}}))}))},e}();t.default=c},function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){return new(a||(a=Promise))((function(n,i){function r(e){try{c(s.next(e))}catch(t){i(t)}}function o(e){try{c(s.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,o)}c((s=s.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var a,s,n,i,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;
1function o(o){return function(c){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,o[0]&&(r=0)),r;)try{if(a=1,s&&(n=2&o[0]?s.return:o[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;switch(s=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,s=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=(n=r.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(c){o=[6,c],s=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(81),r=a(10),o="guide",c=function(){function e(){}return e.GetTypesSizeGuide=function(){return s(this,void 0,void 0,(function(){var e;return n(this,(function(t){e=[];try{e=[{Id:1,Name:"Superiores"},{Id:2,Name:"Inferiores"},{Id:3,Name:"Enteras"},{Id:4,Name:"Sostenes"},{Id:5,Name:"Calzado"}]}catch(a){console.log(a)}return[2,e]}))}))},e.GetSizesGuides=function(){return s(this,void 0,void 0,(function(){var e,t,a;return n(this,(function(s){switch(s.label){case 0:e={},s.label=1;case 1:return s.trys.push([1,3,,4]),t=r.StorageServices.GetCookieUserCredentials(),[4,i.default.GetServices(o,"guides?userid=".concat(t.UserId,"&platformid=").concat(t.PlatformId))];case 2:return e=s.sent(),[3,4];case 3:return a=s.sent(),console.log(a),[3,4];case 4:return[2,e]}}))}))},e.GetSizeGuide=function(e){return s(this,void 0,void 0,(function(){var t,a,s;return n(this,(function(n){switch(n.label){case 0:t={},n.label=1;case 1:return n.trys.push([1,3,,4]),a=r.StorageServices.GetCookieUserCredentials(),[4,i.default.GetServices(o,"guides/".concat(e,"?userid=").concat(a.UserId,"&platformid=").concat(a.PlatformId))];case 2:return t=n.sent(),[3,4];case 3:return s=n.sent(),console.log(s),[3,4];case 4:return[2,t]}}))}))},e.PostSizeGuide=function(e){return s(this,void 0,void 0,(function(){var t,a,s;return n(this,(function(n){switch(n.label){case 0:t={},n.label=1;case 1:return n.trys.push([1,3,,4]),a={UserCred:r.StorageServices.GetCookieUserCredentials(),Content:e},[4,i.default.PostServices(o,"",a)];case 2:return t=n.sent(),[3,4];case 3:return s=n.sent(),console.log(s),[3,4];case 4:return[2,t]}}))}))},e.PutSizeGuide=function(e,t){return s(this,void 0,void 0,(function(){var a,s,c;return n(this,(function(n){switch(n.label){case 0:a={},n.label=1;case 1:return n.trys.push([1,3,,4]),s={UserCred:r.StorageServices.GetCookieUserCredentials(),Content:t},[4,i.default.PutServices(o,"".concat(e),s)];case 2:return a=n.sent(),[3,4];case 3:return c=n.sent(),console.log(c),[3,4];case 4:return[2,a]}}))}))},e.DeleteSizeGuide=function(e){return s(this,void 0,void 0,(function(){var t,a,s;return n(this,(function(n){switch(n.label){case 0:t={},n.label=1;case 1:return n.trys.push([1,3,,4]),a=r.StorageServices.GetCookieUserCredentials(),[4,i.default.DelServices(o,"".concat(e,"?userid=").concat(a.UserId,"&platformid=").concat(a.PlatformId))];case 2:return t=n.sent(),[3,4];case 3:return s=n.sent(),console.log(s),[3,4];case 4:return[2,t]}}))}))},e.GetSizesGuidesRelatedCode=function(){return s(this,void 0,void 0,(function(){var e,t,a;return n(this,(function(s){switch(s.label){case 0:e={},s.label=1;case 1:return s.trys.push([1,3,,4]),t=r.StorageServices.GetCookieUserCredentials(),[4,i.default.GetServices(o,"guides/codes?userid=".concat(t.UserId,"&platformid=").concat(t.PlatformId))];case 2:return e=s.sent(),[3,4];case 3:return a=s.sent(),console.log(a),[3,4];case 4:return[2,e]}}))}))},e}();t.default=c},function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return c}));var s=a(8),n=a.n(s),i=a(17),r=a(20),o=a(21),c=function(){function e(){Object(r.a)(this,e)}return Object(o.a)(e,null,[{key:"GetGenders",value:function(){var e=Object(i.a)(n.a.mark((function e(){var t;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=[];try{t=[{Id:1,Name:"Masculino"},{Id:2,Name:"Femenino"},{Id:3,Name:"Unisex"}]}catch(a){console.log(a)}return e.abrupt("return",t);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()}]),e}()},,function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){return new(a||(a=Promise))((function(n,i){function r(e){try{c(s.next(e))}catch(t){i(t)}}function o(e){try{c(s.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,o)}c((s=s.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var a,s,n,i,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;
1function o(o){return function(c){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,o[0]&&(r=0)),r;)try{if(a=1,s&&(n=2&o[0]?s.return:o[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;switch(s=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,s=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=(n=r.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(c){o=[6,c],s=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){}return e.GetBodyAreas=function(){return s(this,void 0,void 0,(function(){var e;return n(this,(function(t){e=[];try{e=[{Id:1,Name:"Superior"},{Id:2,Name:"Inferior"},{Id:4,Name:"Sin Definir"}]}catch(a){console.log(a)}return[2,e]}))}))},e}();t.default=i},function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){return new(a||(a=Promise))((function(n,i){function r(e){try{c(s.next(e))}catch(t){i(t)}}function o(e){try{c(s.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,o)}c((s=s.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var a,s,n,i,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(o){return function(c){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,o[0]&&(r=0)),r;)try{if(a=1,s&&(n=2&o[0]?s.return:o[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;switch(s=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,s=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=(n=r.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(c){o=[6,c],s=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){}return e.GetFitTypes=function(){return s(this,void 0,void 0,(function(){var e;return n(this,(function(t){e=[];try{e=[{Id:1,Name:"Regular"},{Id:2,Name:"Ajustado"},{Id:3,Name:"Holgado"}]}catch(a){console.log(a)}return[2,e]}))}))},e}();t.default=i},function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){return new(a||(a=Promise))((function(n,i){function r(e){try{c(s.next(e))}catch(t){i(t)}}function o(e){try{c(s.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,o)}c((s=s.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var a,s,n,i,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(o){return function(c){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,o[0]&&(r=0)),r;)try{if(a=1,s&&(n=2&o[0]?s.return:o[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;switch(s=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,s=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=(n=r.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(c){o=[6,c],s=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};
1Object.defineProperty(t,"__esModule",{value:!0});var i=a(81),r=a(10),o="Dashboard",c=function(){function e(){}return e.GetRecommended=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=""),s(this,void 0,void 0,(function(){var a,s,c,d,l;return n(this,(function(n){switch(n.label){case 0:a={},s="?",c="",n.label=1;case 1:return n.trys.push([1,3,,4]),d=r.StorageServices.GetCookieUserCredentials(),e&&(c+="".concat(s,"From=").concat(e),s="&"),t&&(c+="".concat(s,"To=").concat(t),s="&"),[4,i.default.GetServices(o,"".concat(d.UserId,"/").concat(d.PlatformId,"/recommended").concat(c))];case 2:return a=n.sent(),[3,4];case 3:return l=n.sent(),console.log(l),[3,4];case 4:return[2,a]}}))}))},e.GetRecommendedSizePerSizeGuide=function(e,t,a){return void 0===e&&(e=""),void 0===t&&(t=""),void 0===a&&(a=0),s(this,void 0,void 0,(function(){var s,c,d,l,u;return n(this,(function(n){switch(n.label){case 0:s={},c="?",d="",n.label=1;case 1:return n.trys.push([1,3,,4]),l=r.StorageServices.GetCookieUserCredentials(),e&&(d+="".concat(c,"From=").concat(e),c="&"),t&&(d+="".concat(c,"To=").concat(t),c="&"),a&&(d+="".concat(c,"SizeGuideId=").concat(a),c="&"),[4,i.default.GetServices(o,"".concat(l.UserId,"/").concat(l.PlatformId,"/recommended/sizeguide").concat(d))];case 2:return s=n.sent(),[3,4];case 3:return u=n.sent(),console.log(u),[3,4];case 4:return[2,s]}}))}))},e.GetRecommendedPerDays=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=""),s(this,void 0,void 0,(function(){var a,s,c,d,l;return n(this,(function(n){switch(n.label){case 0:a={},s="?",c="",n.label=1;case 1:return n.trys.push([1,3,,4]),d=r.StorageServices.GetCookieUserCredentials(),e&&(c+="".concat(s,"From=").concat(e),s="&"),t&&(c+="".concat(s,"To=").concat(t),s="&"),[4,i.default.GetServices(o,"".concat(d.UserId,"/").concat(d.PlatformId,"/recommended/days").concat(c))];case 2:return a=n.sent(),[3,4];case 3:return l=n.sent(),console.log(l),[3,4];case 4:return[2,a]}}))}))},e.GetRecommendedPerAge=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=""),s(this,void 0,void 0,(function(){var a,s,c,d,l;return n(this,(function(n){switch(n.label){case 0:a={},s="?",c="",n.label=1;case 1:return n.trys.push([1,3,,4]),d=r.StorageServices.GetCookieUserCredentials(),e&&(c+="".concat(s,"From=").concat(e),s="&"),t&&(c+="".concat(s,"To=").concat(t),s="&"),[4,i.default.GetServices(o,"".concat(d.UserId,"/").concat(d.PlatformId,"/recommended/age").concat(c))];case 2:return a=n.sent(),[3,4];case 3:return l=n.sent(),console.log(l),[3,4];case 4:return[2,a]}}))}))},e.GetRecommendedPerSizesGuide=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=""),s(this,void 0,void 0,(function(){var a,s,c,d,l;return n(this,(function(n){switch(n.label){case 0:a={},s="?",c="",n.label=1;case 1:return n.trys.push([1,3,,4]),d=r.StorageServices.GetCookieUserCredentials(),e&&(c+="".concat(s,"From=").concat(e),s="&"),t&&(c+="".concat(s,"To=").concat(t),s="&"),[4,i.default.GetServices(o,"".concat(d.UserId,"/").concat(d.PlatformId,"/recommended/sizeguide/list").concat(c))];case 2:return a=n.sent(),[3,4];case 3:return l=n.sent(),console.log(l),[3,4];case 4:return[2,a]}}))}))},e}();t.default=c},function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){return new(a||(a=Promise))((function(n,i){function r(e){try{c(s.next(e))}catch(t){i(t)}}function o(e){try{c(s.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,o)}c((s=s.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var a,s,n,i,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(o){return function(c){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,o[0]&&(r=0)),r;)try{if(a=1,s&&(n=2&o[0]?s.return:o[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;switch(s=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,s=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=(n=r.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(c){o=[6,c],s=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};
1Object.defineProperty(t,"__esModule",{value:!0});var i=a(81),r=a(10),o="Tools",c=function(){function e(){}return e.GetCompanyDomains=function(){return s(this,void 0,void 0,(function(){var e,t,a;return n(this,(function(s){switch(s.label){case 0:e={},s.label=1;case 1:return s.trys.push([1,3,,4]),t=r.StorageServices.GetCookieUser(),[4,i.default.GetServices(o,"domains/".concat(t.PlatformId,"/").concat(t.UserId))];case 2:return e=s.sent(),[3,4];case 3:return a=s.sent(),console.log(a),[3,4];case 4:return[2,e]}}))}))},e.UpdateCompanyDomains=function(e){return s(this,void 0,void 0,(function(){var t,a,s,c;return n(this,(function(n){switch(n.label){case 0:t={},n.label=1;case 1:return n.trys.push([1,3,,4]),a=r.StorageServices.GetCookieUserCredentials(),s={UserCred:a,Content:e},[4,i.default.PostServices(o,"domains/".concat(a.PlatformId,"/").concat(a.UserId),s)];case 2:return t=n.sent(),[3,4];case 3:return c=n.sent(),console.log(c),[3,4];case 4:return[2,t]}}))}))},e}();t.default=c},function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return M}));var s=a(23),n=a(8),i=a.n(n),r=a(17),o=a(18),c=a(20),d=a(21),l=a(31),u=a(30),j=a(1),m=a.n(j),b=a(311),p=a(22),h=a(9),g=a(32),f=a(121),O=a(51),x=a(312),v=a(19),y=a(10),S=(a(202),a(5)),N=a(74),z=a(36),C=a(0),w=["ArrowUp","ArrowUp","ArrowDown","ArrowDown","ArrowRight","ArrowRight","ArrowLeft","ArrowLeft"],M=function(e){Object(l.a)(a,e);var t=Object(u.a)(a);function a(e){var s;return Object(c.a)(this,a),(s=t.call(this,e)).handleKeyDown=function(e){var t=(new Date).getTime();t-s.state.lastKeyTime>3e3&&s.setState({keySequence:[]}),s.setState((function(a){return{keySequence:[].concat(Object(o.a)(a.keySequence),[e.key]),lastKeyTime:t}}),(function(){s.state.keySequence.toString().includes(w.toString())&&s.setState({showSecretInput:!0,keySequence:[]})})),"Enter"===e.key&&s.onClickLogin()},s.state={isLoading:!1,LoginFailed:!1,isUserInvalid:!1,isPasswordInvalid:!1,isDropdownOpen:!1,showSecretInput:!1,keySequence:[],lastKeyTime:0},s}return Object(d.a)(a,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"onClickLogin",value:function(){var e=Object(r.a)(i.a.mark((function e(){var t,a,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!this.state.userName||!this.state.userPassword){e.next=10;break}return this.setState({isLoading:!0}),e.next=5,y.UserServices.Login(this.state.userName,this.state.userPassword);case 5:t=e.sent,this.setState({isLoading:!1}),t&&200===t.Status?(y.StorageServices.SetCookieUser(t.Content),a=t.Content.CultureLocale||"es-ES",s=a.split("-")[0],this.context.changeLanguage(s),z.Tools.IsDevelopment()&&(console.log("login",t.Content),console.log("Login successful with culture locale:",a)),this.props.onSuccess()):this.setState({LoginFailed:!0,isUserInvalid:!0,isPasswordInvalid:!0}),e.next=12;break;case 10:this.state.userName||this.setState({isUserInvalid:!0}),this.state.userPassword||this.setState({isPasswordInvalid:!0});case 12:e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),console.error("Login error:",e.t0),this.setState({isLoading:!1});case 18:case"end":return e.stop()}}),e,this,[[0,14]])})));return function(){return e.apply(this,arguments)}}()},{key:"handlerInputChange",value:function(e){var t;this.setState((t={},Object(s.a)(t,e.target.name,e.target.value),Object(s.a)(t,"LoginFailed",!1),Object(s.a)(t,"isUserInvalid",!1),Object(s.a)(t,"isPasswordInvalid",!1),t))}},{key:"render",value:function(){var e=this,t=this.context,a=t.readysizelocale,s=t.changeLanguage;return Object(C.jsx)(b.a,{fluid:!0,className:"h-100 login-main-card",children:Object(C.jsxs)(p.a,{className:"h-100",children:[Object(C.jsxs)(h.a,{xs:8,className:"h-100 login-left-side-container",style:{background:"rgba(254, 164, 66, 0.14)"},children:[Object(C.jsx)(p.a,{className:"align-items-start my-5 login-logo-container",children:Object(C.jsx)(h.a,{className:"ps-5",children:Object(C.jsx)("img",{src:"img/readysizelogo.png",alt:"Logo ReadySize",width:244})})}),Object(C.jsx)(p.a,{className:"align-items-center my-5 login-title-container",children:Object(C.jsx)(h.a,{className:"ps-5",children:Object(C.jsx)("h5",{className:"login-title-left",children:Object(C.jsx)(S.a,{id:"login-header"})})})}),Object(C.jsx)(p.a,{className:"align-items-end login-image-container",style:{marginTop:"12%"},children:Object(C.jsx)(h.a,{className:"text-center",children:Object(C.jsx)("img",{src:"img/login-img.png",alt:"Login People",width:810,className:"login-image-people"})})})]}),Object(C.jsxs)(h.a,{xs:4,className:" login-right-side-container",children:[Object(C.jsx)("div",{className:"fitprenda-modal-close-lang-container-login",children:Object(C.jsxs)("div",{className:"new-custom-dropdown",children:[Object(C.jsxs)("div",{className:"new-selected-language",onClick:function(){return e.setState({isDropdownOpen:!e.state.isDropdownOpen})},children:["en"===a&&Object(C.jsx)("img",{src:"/img/US.png",alt:"gb-lang",className:"new-readysize-flag-img"}),"es"===a&&Object(C.jsx)("img",{src:"/img/ES.png",alt:"es-lang",className:"new-readysize-flag-img"}),"pt"===a&&Object(C.jsx)("img",{src:"/img/BR.png",alt:"br-lang",className:"new-readysize-flag-img"})]}),this.state.isDropdownOpen&&Object(C.jsxs)("div",{className:"new-dropdown-options",children:[Object(C.jsx)("div",{onClick:function(){return s("en")},children:"English"}
1),Object(C.jsx)("div",{onClick:function(){return s("es")},children:"Espa\xf1ol"}),Object(C.jsx)("div",{onClick:function(){return s("pt")},children:"Portugu\xeas"})]})]})}),Object(C.jsxs)("div",{className:"login-rightside-container",children:[Object(C.jsxs)(g.a,{children:[Object(C.jsx)(g.a.Group,{as:p.a,className:"mb-3 justify-content-center",children:Object(C.jsxs)(h.a,{sm:"10",children:[Object(C.jsx)("h5",{className:"login-title-mail",children:"Login"}),Object(C.jsx)("h6",{className:"login-title-mail-sub",children:"Mail"}),Object(C.jsx)(f.a,{label:"Email",children:Object(C.jsx)(g.a.Control,{size:"sm",type:"text",placeholder:"usuario",autoFocus:!0,name:"userName",onChange:function(t){return e.handlerInputChange(t)},isInvalid:this.state.isUserInvalid})})]})}),Object(C.jsx)(g.a.Group,{as:p.a,className:"mb-3 justify-content-center",children:Object(C.jsxs)(h.a,{sm:"10",children:[Object(C.jsx)("h6",{className:"login-title-mail-sub",children:Object(C.jsx)(S.a,{id:"login-password-input-title"})}),Object(C.jsx)(f.a,{label:"Password",children:Object(C.jsx)(g.a.Control,{size:"sm",type:"password",placeholder:"password",name:"userPassword",onChange:function(t){return e.handlerInputChange(t)},isInvalid:this.state.isPasswordInvalid})})]})}),this.state.showSecretInput&&Object(C.jsx)(g.a.Group,{as:p.a,className:"mb-3 justify-content-center",children:Object(C.jsx)(h.a,{sm:"10",children:Object(C.jsx)(f.a,{label:"Secret Input",children:Object(C.jsx)(g.a.Control,{size:"sm",type:"text",placeholder:"Secret",name:"secretInput"})})})})]}),Object(C.jsx)(p.a,{className:"justify-content-center",children:Object(C.jsx)(h.a,{sm:"10",children:Object(C.jsxs)("div",{className:"d-grip gap-2",children:[Object(C.jsxs)(O.a,{className:"login-btn",type:"button",variant:this.state.isLoading?"warning":this.state.LoginFailed?"danger":"warning",size:"sm",onClick:function(){return e.onClickLogin()},children:[Object(C.jsx)("div",{className:"login-ingresar",children:Object(C.jsx)(S.a,{id:"login-button"})}),this.state.isLoading?Object(C.jsx)(x.a,{variant:"light",animation:"border",size:"sm"}):this.state.LoginFailed?Object(C.jsx)(v.a,{icon:"ban",size:"lg",className:"text-light"}):Object(C.jsx)(v.a,{icon:"unlock",size:"lg",className:"text-light"})]}),Object(C.jsx)("div",{className:"login-not-registered",children:Object(C.jsxs)("p",{className:"login-not-registered-p",children:[Object(C.jsx)(S.a,{id:"login-no-account"})," ",Object(C.jsx)("span",{className:"login-not-registered-p-span",children:Object(C.jsx)("a",{className:"login-not-registered-p-span",href:"https://readysize.ai/#form",children:Object(C.jsx)(S.a,{id:"login-contact-us"})})})]})})]})})})]})]})]})})}}]),a}(m.a.Component);M.contextType=N.a},,,,,,function(e,t,a){},,,,function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return r}));var s=a(23),n=a(20),i=a(21),r=function(){function e(){Object(n.a)(this,e)}return Object(i.a)(e,null,[{key:"ExportTo",value:function(t,n,i){try{a.e(0).then(a.bind(null,171)).then((function(a){var r=a.utils.json_to_sheet(t),o={Sheets:Object(s.a)({},n,r),SheetNames:[n]},c=a.write(o,{bookType:"xlsx",type:"array"});e.SaveAsFile(c,i)}))}catch(r){console.log(r)}}},{key:"ImportFrom",value:function(e,t){try{var s=e.files[0];a.e(0).then(a.bind(null,171)).then((function(e){var a=new FileReader;a.onload=function(a){var s=e.read(a.target.result,{type:"array"}),n=s.SheetNames[0],i=s.Sheets[n],r=e.utils.sheet_to_json(i,{header:1,raw:!1}),o=r[0];r.shift();var c=r.map((function(e){return o.reduce((function(t,a,s){return t[a]=e[s],t}),{})}));t(c)},a.readAsArrayBuffer(s)}))}catch(n){console.log(n)}}},{key:"SaveAsFile",value:function(e,t){try{a.e(4).then(a.t.bind(null,314,7)).then((function(a){var s=new Blob([e],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"});a.saveAs(s,t+"_export_"+(new Date).getTime()+".xlsx")}))}catch(s){console.log(s)}}}]),e}()},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(){}return e.BaseItemToArrayString=function(e){var t=new Array;try{e&&(t=e.map((function(e){return e.Name})))}catch(a){console.log("Error BaseItemToArrayString",a)}return t},e.BaseItemToArrayInt=function(e){var t=new Array;try{e&&(t=e.map((function(e){return e.Id})))}catch(a){console.log("Error BaseItemToArrayInt",a)}return t},e}();t.default=s},function(e,t,a){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var s=a(10),n=function(){function e(){}return e.IsDevelopment=function(){return!1},e.SetQuantitySizeGuideActive=function(e){this.IsDevelopment()&&console.log("SetQuantitySizeGuideActive",e),s.StorageServices.SetCookieUserSizeGuideActive(e)},e.CanCreateSizeGuide=function(){var e=!1;try{var t=s.StorageServices.GetCookieUser();e=!t||0===(t.SizeGuidesAvailable||0)||(t.SizeGuidesAvailable||0)-(t.SizeGuideActive||0)>0}catch(a){console.log("ERROR CanCreateSizeGuide",a)}return e},e.AddSizeGuideActive=function(){s.StorageServices.SetCookieUserSizeGuideActiveChange(1)},e.SubstractSizeGuideActive=function(){s.StorageServices.SetCookieUserSizeGuideActiveChange(-1)},e.UserMustCreateRelatedCode=function(){var e=!1;try{var t=s.StorageServices.GetCookieUser();e=t&&(2===t.PlatformId||200===t.PlatformId)}catch(a){console.log("ERROR UserMustCreateRelatedCode",a)}return e},e}();t.default=n},function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return u}));var s=a(20),n=a(21),i=a(31),r=a(30),o=a(1),c=a.n(o),d=a(25),l=a(0),u=function(e){Object(i.a)(a,e);var t=Object(r.a)(a);function a(){return Object(s.a)(this,a),t.apply(this,arguments)}return Object(n.a)(a,[{key:"render",value:function(){return Object(l.jsx)(l.Fragment,{children:Object(l.jsx)(d.b,{})})}}]),a}(c.a.Component)},function(e,t,a){},,,function(e,t,a){"use strict";a.r(t);var s=a(8),n=a.n(s),i=a(17),r=a(3),o=a(1),c=a(22),d=a(9),l=a(6),u=a(7),j=(a(280),a(66)),m=a(5),b=a(10),p=a(0);t.default=function(){var e=Object(o.useState)(),t=Object(r.a)(e,2),a=t[0],s=t[1],h=Object(o.useState)(),g=Object(r.a)(h,2),f=g[0],O=g[1],x=Object(o.useState)([]),v=Object(r.a)(x,2),y=v[0],S=v[1],N=Object(o.useState)(),z=Object(r.a)(N,2),C=z[0],w=z[1],M=Object(o.useState)(),T=Object(r.a)(M,2),k=T[0],E=T[1],I=Object(o.useState)(!1),P=Object(r.a)(I,2),G=P[0],A=P[1],R=Object(o.useState)(!1),F=Object(r.a)(R,2),L=F[0],D=F[1],B=Object(o.useState)(!1),U=Object(r.a)(B,2),_=U[0],W=U[1],H=Object(o.useState)(!1),V=Object(r.a)(H,2),q=V[0],K=V[1],X=Object(o.useState)(!1),J=Object(r.a)(X,2),Z=J[0],Q=J[1],Y=Object(o.useState)([new Date((new Date).setDate((new Date).getDate()-6)).toISOString().substring(0,10),(new Date).toISOString().substring(0,10)]),$=Object(r.a)(Y,2),ee=$[0],te=$[1],ae=Object(o.useState)(0),se=Object(r.a)(ae,2),ne=se[0],ie=se[1],re=Object(o.useState)(u.E_ContractType.NONE),oe=Object(r.a)(re,2),ce=oe[0],de=oe[1];Object(o.useEffect)((function(){var e,t=b.StorageServices.GetCookieUser(),a="Free"===(null===t||void 0===t||null===(e=t.Contract)||void 0===e?void 0:e.Name)?u.E_ContractType.FREE:u.E_ContractType.NONE;de(a),ue()}),[]);var le=Object(j.a)(),ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;Object(i.a)(n.a.mark((function a(){var i;return n.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,A(!0),a.next=4,b.DashboardServices.GetRecommended(e,t);case 4:200===(i=a.sent).Status?s(i.Content):s([]),A(!1),a.next=13;break;case 9:a.prev=9,a.t0=a.catch(0),console.log(a.t0),A(!1);case 13:case"end":return a.stop()}}),a,null,[[0,9]])})))(),Object(i.a)(n.a.mark((function s(){var i;return n.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,D(!0),s.next=4,b.DashboardServices.GetRecommendedSizePerSizeGuide(e,t,a);case 4:(i=s.sent)&&200===i.Status?O(i.Content):O({}),D(!1),s.next=13;break;case 9:s.prev=9,s.t0=s.catch(0),console.log(s.t0),D(!1);case 13:case"end":return s.stop()}}),s,null,[[0,9]])})))(),Object(i.a)(n.a.mark((function a(){var s;return n.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,W(!0),a.next=4,b.DashboardServices.GetRecommendedPerDays(e,t);case 4:(s=a.sent)&&200===s.Status?w(s.Content):w([]),W(!1),a.next=13;break;case 9:a.prev=9,a.t0=a.catch(0),console.log(a.t0),W(!1);case 13:case"end":return a.stop()}}),a,null,[[0,9]])})))(),Object(i.a)(n.a.mark((function a(){var s;return n.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,K(!0),a.next=4,b.DashboardServices.GetRecommendedPerAge(e,t);case 4:(s=a.sent)&&200===s.Status?E(s.Content):E([]),K(!1),a.next=13;break;case 9:a.prev=9,a.t0=a.catch(0),console.log(a.t0),K(!1);case 13:case"end":return a.stop()}}),a,null,[[0,9]])}
1)))(),Object(i.a)(n.a.mark((function a(){var s;return n.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,Q(!0),a.next=4,b.DashboardServices.GetRecommendedPerSizesGuide(e,t);case 4:(s=a.sent)&&200===s.Status?S(s.Content):S([]),Q(!1),a.next=13;break;case 9:a.prev=9,a.t0=a.catch(0),console.log(a.t0),Q(!1);case 13:case"end":return a.stop()}}),a,null,[[0,9]])})))()};Object(o.useEffect)((function(){ue()}),[s,O,w,E]);var je=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;try{return a<0?Math.floor(1*e/(1*t)*100):Math.ceil(1*e/(1*t)*100)}catch(s){return console.log("CalculatePercentaje",s),0}},me=function(e){try{e&&(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;Object(i.a)(n.a.mark((function s(){var i;return n.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,D(!0),s.next=4,b.DashboardServices.GetRecommendedSizePerSizeGuide(e,t,a);case 4:(i=s.sent)&&200===i.Status?O(i.Content):O({}),D(!1),s.next=13;break;case 9:s.prev=9,s.t0=s.catch(0),console.log(s.t0),D(!1);case 13:case"end":return s.stop()}}),s,null,[[0,9]])})))()}(ee[0],ee[1],e),ie(e))}catch(t){console.log(t)}};return Object(p.jsxs)("div",{children:[Object(p.jsxs)("div",{className:"top-dashboard-container",children:[Object(p.jsx)("h4",{className:"dashboard-main-title",children:Object(p.jsx)(m.a,{id:"ready-size-statistics",defaultMessage:"Estad\xedsticas"})}),Object(p.jsx)("h5",{className:"dashboard-main-p",children:Object(p.jsx)(m.a,{id:"main-dashboard-subtitle"})}),Object(p.jsx)("div",{className:"fecha-botones-descarga",children:Object(p.jsxs)("div",{className:"fecha-calendar",children:[Object(p.jsxs)("p",{className:"dashboard-calendar-p",children:[" ",Object(p.jsx)(m.a,{id:"main-dashboard-date"})]}),Object(p.jsx)(l.CalendarDemo,{SuscribedChange:function(e){return function(e){try{if(e&&e[0]&&e[1]){var t=new Date(e[0]),a=new Date(e[1]);ue(t.toISOString().substring(0,10),a.toISOString().substring(0,10),ne),te([t.toISOString().substring(0,10),a.toISOString().substring(0,10)])}}catch(s){console.log(s)}}(e)}})]})})]}),Object(p.jsx)("div",{className:"widgets",children:Object(p.jsx)(c.a,{className:"justify-content-center mt-2 px-3",children:Object(p.jsx)(d.a,{xs:8,xl:9,className:"widgets-container",children:Object(p.jsxs)(c.a,{children:[Object(p.jsx)(d.a,{children:Object(p.jsx)(l.StatisticWidget,{text:"ready-size-recommended-sizes",value:Object(p.jsxs)(p.Fragment,{children:[a&&a[0]&&a[0].Value?a[0].Value:"0",ce===u.E_ContractType.FREE&&Object(p.jsx)("span",{className:"smaller-font",children:" / 500"})]}),valueVariant:u.StatisticWidgetVariantValue.REGULAR,typeWidget:u.StatisticTypeWidget.SUNGLASSES,contractType:ce})}),Object(p.jsx)(d.a,{className:"mx-3",children:Object(p.jsx)(l.StatisticWidget,{text:"ready-size-found-size",helper:"home-widget-found-helper",value:G?"0%":"".concat(a&&a[0]&&a[0].Value?je(a[1].Value,a[0].Value,1):"0","%"),valueVariant:u.StatisticWidgetVariantValue.SUCCESS,typeWidget:u.StatisticTypeWidget.STARSTRUCK,contractType:ce})}),Object(p.jsx)(d.a,{children:Object(p.jsx)(l.StatisticWidget,{text:"ready-size-didnt-found-size",helper:"home-widget-didnt-find-helper",value:G?"0%":"".concat(a&&a[0]&&a[0].Value?je(a[2].Value,a[0].Value,-1):"0","%"),valueVariant:u.StatisticWidgetVariantValue.DANGER,typeWidget:u.StatisticTypeWidget.FROWNING,contractType:ce})})]})})})}),Object(p.jsx)("div",{className:"stats",children:Object(p.jsxs)(c.a,{className:"stats-card-one mt-4 justify-content-center",children:[Object(p.jsx)(d.a,{className:"dashboard-charts-containers",xs:3,children:Object(p.jsx)(l.BarChartSizes,{bgClass:"bg-danger-fitprenda",title:le.formatMessage({id:"main-dashboard-mostRecommendedSizes",defaultMessage:"Talles m\xe1s recomendados"}),className:"dashboard-charts",DataValue:L?{}:f,SuscribedChange:function(e){return me(e)}})}),Object(p.jsx)(d.a,{className:"dashboard-charts-containers",xs:3,children:Object(p.jsx)(l.LineChart,{bgClass:"bg-warning-fitprenda",title:le.formatMessage({id:"main-dashboard-recommendedSizesPerDay",defaultMessage:"Talles recomendados por d\xeda"}),className:"dashboard-charts",DataValue:_?[]:C})}),Object(p.jsx)(d.a,{className:"dashboard-charts-containers",xs:3,children:Object(p.jsx)(l.BarChart,{bgClass:"bg-warning-fitprenda",title:le.formatMessage({id:"main-dashboard-userAge",defaultMessage:"Edad de los usuarios"}),className:"dashboard-charts",DataValue:q?[]:k})})]})}),Object(p.jsx)("div",{className:"main-dashboard-table",children:ce===u.E_ContractType.FREE?Object(p.jsx)("img",{src:"img/dashresults.png",alt:""}):Object(p.jsx)(l.Table,{isLoadingData:Z,Data:y})})]})}},function(e,t,a){"use strict";a.r(t);var s=a(55),n=a(66),i=(a(215),a(0));t.default=function(e){var t=Object(n.a)();return Object(i.jsx)(i.Fragment,{children:Object(i.jsxs)("span",{className:"p-input-icon-left",children:[Object(i.jsx)("i",{className:"pi pi-search"}),Object(i.jsx)(s.a,{onChange:function(t){return e.onInputChange(t.target.value)},placeholder:t.formatMessage({id:"input-search-placeholder"}),className:"input-search-container"})]})})}},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(22),i=a(9),r=a(1),o=a(7),c=a(89),d=a(63),l=(a(222),a(5)),u=a(0);t.default=function(e){var t=Object(r.useState)(!1),a=Object(s.a)(t,2),j=a[0],m=a[1],b=Object(r.useState)(null),p=Object(s.a)(b,2),h=p[0],g=p[1];return Object(u.jsx)(u.Fragment,{children:Object(u.jsxs)(n.a,{className:"tag-fitprenda-statistics",children:[Object(u.jsx)(i.a,{xs:3,className:"my-auto py-2",children:Object(u.jsx)("img",{className:"statistic-widget-image",alt:"Statistic Icon",src:e.typeWidget===o.StatisticTypeWidget.SUNGLASSES?"/img/smilling-sunglass.png":e.typeWidget===o.StatisticTypeWidget.STARSTRUCK?"/img/smilling-star-struck.png":"/img/frowning-face.png",width:57.6})}),Object(u.jsxs)(i.a,{className:"my-auto py-2",children:[Object(u.jsx)(n.a,{children:Object(u.jsxs)(i.a,{className:"dashboard-widget-widget-questionmark",children:[e.helper?Object(u.jsxs)(u.Fragment,{children:[Object(u.jsx)("img",{src:"img/questionmarkicon.png",alt:"questionmark",className:"dashboard-questionmark-size",onClick:function(e){return function(e){m(!j),g(e.target)}(e)}}),Object(u.jsx)(c.a,{show:j,target:h,placement:"right",children:Object(u.jsx)(d.a,{children:Object(u.jsxs)(d.a.Body,{children:[" ",Object(u.jsx)(l.a,{id:e.helper})]})})})]}):Object(u.jsx)(u.Fragment,{}),Object(u.jsx)("p",{className:"font-fitprenda-statistics-text",children:Object(u.jsx)(l.a,{id:e.text,defaultMessage:e.text})})]})}),Object(u.jsx)(n.a,{children:Object(u.jsx)(i.a,{className:"text-end",children:e.valueVariant===o.StatisticWidgetVariantValue.DANGER?Object(u.jsx)("p",{className:"font-fitprenda-statistics-value-danger",children:e.value}):e.valueVariant===o.StatisticWidgetVariantValue.SUCCESS?Object(u.jsx)("p",{className:"font-fitprenda-statistics-value-success",children:e.value}):Object(u.jsxs)("p",{className:"font-fitprenda-statistics-value-regular",children:[e.value," "]})})})]})]})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(7),n=a(22),i=a(9),r=a(5),o=(a(224),a(0));t.default=function(e){var t=e.typeAlert===s.AlertWidgetType.WARNING?"/img/icon-warning.png":e.typeAlert===s.AlertWidgetType.TSHIRT?"/img/icon-tshirt.png":"/img/icon-centimeter.png",a=e.typeAlert===s.AlertWidgetType.WARNING?"Warning":e.typeAlert===s.AlertWidgetType.TSHIRT?"T-Shirt":"Centimeter";return Object(o.jsx)(o.Fragment,{children:Object(o.jsxs)(n.a,{className:"tag-fitprenda-alert",children:[Object(o.jsx)(i.a,{xs:2,xxl:2,className:"py-3 fitprenda-para-prestar-atencion",children:Object(o.jsx)("img",{className:"fitprenda-alert-widget-image",src:t,alt:a,width:47.9,height:47})}),Object(o.jsxs)(i.a,{className:"py-3 main-home-alert-widget",children:[Object(o.jsx)("p",{className:"font-fitprenda-alert-title",children:Object(o.jsx)(r.a,{id:e.title,defaultMessage:e.title,values:e.values})}),e.description?Object(o.jsx)("p",{className:"font-fitprenda-alert-description",children:Object(o.jsx)(r.a,{id:e.description,defaultMessage:e.description})}):Object(o.jsx)(o.Fragment,{}),e.includeNewLine?Object(o.jsx)("br",{className:"d-xxl-block d-sm-none d-lg-none"}):Object(o.jsx)(o.Fragment,{}),e.urlLink?Object(o.jsx)("p",{className:"font-fitprenda-alert-link",children:Object(o.jsx)("a",{href:e.urlLink,className:"link-fitprenda-action",children:Object(o.jsx)(r.a,{id:e.urlText,defaultMessage:e.urlText})})}):Object(o.jsx)(o.Fragment,{})]})]})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(5),n=a(0);t.default=function(e){return Object(n.jsx)(n.Fragment,{children:e.clarification?Object(n.jsxs)("p",{className:"font-fitprenda-section-title",children:[e.title?Object(n.jsx)(s.a,{id:e.title,defaultMessage:e.title}):""," ",Object(n.jsx)("span",{style:{fontWeight:400,fontSize:"14px"},children:Object(n.jsx)(s.a,{id:e.clarification})})]}):Object(n.jsx)("p",{className:"font-fitprenda-section-title",children:e.title?Object(n.jsx)(s.a,{id:e.title,defaultMessage:e.title}):""})})}},function(e,t,a){"use strict";a.r(t);var s=a(22),n=a(9),i=a(5),r=(a(227),a(0));t.default=function(e){return Object(r.jsx)(r.Fragment,{children:Object(r.jsxs)("div",{className:"box-fitprenda-tools",children:[Object(r.jsx)(s.a,{children:Object(r.jsx)(n.a,{children:Object(r.jsx)("p",{className:"font-fitprenda-title",children:e.title?e.title:""})})}),e.subtitle?Object(r.jsx)(s.a,{children:Object(r.jsx)(n.a,{children:Object(r.jsx)("p",{className:"font-fitprenda-subtitle",children:Object(r.jsx)(i.a,{id:e.subt
1itle,defaultMessage:e.subtitle})})})}):Object(r.jsx)(r.Fragment,{}),Object(r.jsx)(s.a,{className:"box-fitprenda-tools-internal mx-4",children:e.children}),Object(r.jsx)("br",{})]})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(22),n=a(9),i=a(144),r=(a(229),a(0));t.default=function(e){return Object(r.jsxs)(r.Fragment,{children:[Object(r.jsx)(s.a,{children:Object(r.jsx)(n.a,{children:Object(r.jsxs)("p",{className:"main-content-fitprenda-title",style:{marginBottom:"0.3rem"},children:[e.title?e.title:""," ",e.badgeValue?Object(r.jsx)(i.default,{value:e.badgeValue,variant:e.badgeVariant}):Object(r.jsx)(r.Fragment,{})]})})}),e.subtitle?Object(r.jsx)(s.a,{children:Object(r.jsx)(n.a,{children:Object(r.jsx)("p",{className:"main-content-fitprenda-subtitle",children:e.subtitle})})}):Object(r.jsx)(r.Fragment,{})]})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(1),i=a.n(n),r=(a(231),a(0));t.default=function(e){var t=Object(n.useState)(void 0!==e.StateFilter&&null!==e.StateFilter&&e.StateFilter),a=Object(s.a)(t,2),o=a[0],c=a[1];return Object(r.jsx)(r.Fragment,{children:Object(r.jsx)("div",{className:((void 0!==e.StateFilter&&null!==e.StateFilter?e.StateFilter:o)?"push-btn-filter active":"push-btn-filter")+" text-center d-block",onClick:function(){return function(){try{c(void 0!==e.StateFilter&&null!==e.StateFilter?e.StateFilter:!o),e.ClickSuscribe&&e.ClickSuscribe(void 0!==e.StateFilter&&null!==e.StateFilter?e.StateFilter:!o)}catch(t){console.log(t)}}()},children:Object(r.jsxs)("span",{children:[i.a.isValidElement(e.title)?e.title:"".concat(e.title)," (",e.quantity,")"]})})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(4),n=a(3),i=a(22),r=a(9),o=a(141),c=a(140),d=a(51),l=a(54),u=a(16),j=a(1),m=a(6),b=a(19),p=a(7),h=a(119),g=(a(233),a(5)),f=a(62),O=a(0);t.default=function(e){var t=e.elements,a=Object(j.useState)({global:{value:null,matchMode:"contains"}}),x=Object(n.a)(a,2),v=x[0],y=x[1],S=Object(j.useState)([]),N=Object(n.a)(S,2),z=N[0],C=N[1],w=Object(j.useState)(""),M=Object(n.a)(w,2),T=(M[0],M[1]),k=Object(j.useState)(!1),E=Object(n.a)(k,2),I=E[0],P=E[1],G=Object(j.useState)(!1),A=Object(n.a)(G,2),R=A[0],F=A[1],L=Object(j.useState)(!1),D=Object(n.a)(L,2),B=D[0],U=D[1],_=Object(j.useState)(!1),W=Object(n.a)(_,2),H=W[0],V=W[1],q=Object(j.useState)(!1),K=Object(n.a)(q,2),X=K[0],J=K[1],Z=Object(j.useState)(!1),Q=Object(n.a)(Z,2),Y=Q[0],$=Q[1],ee=function(e){var t=Object(s.a)({},v);t.global.value=e,console.log("_Filters",t),console.log("Valor",e),y(t),T(e)},te=function(e){var t=Object(s.a)({},v),a="";I||(a="Superiores"),t.global.value=a,F(!1),U(!1),V(!1),P(!I),y(t),T(a)},ae=function(e){var t=Object(s.a)({},v),a="";R||(a="Inferiores"),t.global.value=a,P(!1),U(!1),V(!1),F(!R),y(t),T(a)},se=function(e){var t=Object(s.a)({},v),a="";I||(a="Enteras"),t.global.value=a,F(!1),P(!1),V(!1),U(!B),y(t),T(a)},ne=function(e){var t=Object(s.a)({},v),a="";I||(a="Brassiere"),t.global.value=a,F(!1),P(!1),U(!1),V(!H),y(t),T(a)},ie=function(e){var t=Object(s.a)({},v),a="";X||(a="Femenino"),t.global.value=a,$(!1),J(!X),y(t),T(a)},re=function(e){var t=Object(s.a)({},v),a="";Y||(a="Masculino"),t.global.value=a,J(!1),$(!Y),y(t),T(a)},oe=function(t,a){try{return Object(O.jsx)(O.Fragment,{children:Object(O.jsx)("div",{className:"text-center sizeguidegrid-buttons-1",children:Object(O.jsx)(o.a,{placement:"top",overlay:Object(O.jsx)(c.a,{children:Object(O.jsx)(g.a,{id:"edit-tooltip",defaultMessage:"Edit"})}),children:Object(O.jsx)(d.a,{type:"button",variant:"outline-light",className:"rounded-circle",size:"sm",onClick:function(){return function(t){try{e.handlerEdit&&e.handlerEdit(t)}catch(a){console.log(a)}}(t)},children:Object(O.jsx)(b.a,{icon:"pen",className:"text-dark"})})},"edit-".concat(t.Id))})})}catch(s){return console.log(s),Object(O.jsx)(O.Fragment,{})}},ce=function(t,a){try{return Object(O.jsx)(O.Fragment,{children:Object(O.jsx)("div",{className:"text-center sizeguidegrid-buttons",children:Object(O.jsx)(o.a,{placement:"top",overlay:Object(O.jsx)(c.a,{children:Object(O.jsx)(g.a,{id:"duplicate-tooltip"})}),children:Object(O.jsx)(d.a,{type:"button",variant:"outline-light",className:"rounded-circle",size:"sm",onClick:function(){return function(t){try{e.handlerClone&&e.handlerClone(t)}catch(a){console.log(a)}}(t)},children:Object(O.jsx)(b.a,{icon:"clone",className:"text-dark"})})},"clone-".concat(t.Id))})})}catch(s){return console.log(s),Object(O.jsx)(O.Fragment,{})}},de=function(t,a){try{return Object(O.jsx)(O.Fragment,{children:Object(O.jsx)("div",{className:"text-center sizeguidegrid-buttons",children:Object(O.jsx)(o.a,{placement:"top",overlay:Object(O.jsx)(c.a,{children:Object(O.jsx)(g.a,{id:"delete-tooltip"})}),children:Object(O.jsx)(d.a,{type:"button",variant:"outline-light",className:"rounded-circle",size:"sm",onClick:function(){return function(t){try{e.handlerDelete&&e.handlerDelete(t)}catch(a){console.log(a)}}(t)},children:Object(O.jsx)(b.a,{icon:"trash-alt",className:"text-dark"})})},"remove-".concat(t.Id))})})}catch(s){return console.log(s),Object(O.jsx)(O.Fragment,{})}};return Object(O.jsx)(O.Fragment,{children:Object(O.jsx)("div",{className:"table-fitprenda-content",children:Object(O.jsxs)(l.a,{value:t,dataKey:"Id",header:function(){var t,a=0,s=0,n=0,l=0,u=0,j=0;return e.elements&&(e.elements.length||0)>0&&!e.isLoading&&(a=e.elements.filter((function(e){var t;return((null===(t=e.TypeSizeGuide)||void 0===t?void 0:t.Id)||0)===p.E_ClothesType.TOP})).length||0,s=e.elements.filter((function(e){var t;return((null===(t=e.TypeSizeGuide)||void 0===t?void 0:t.Id)||0)===p.E_ClothesType.BOTTOM})).length||0,n=e.elements.filter((function(e){var t;return((null===(t=e.TypeSizeGuide)||void 0===t?void 0:t.Id)||0)===p.E_ClothesType.ENTIRE})).length||0,l=e.elements.filter((function(e){var t;return((null===(t=e.TypeSizeGuide)||void 0===t?void 0:t.Id)||0)===p.E_ClothesType.BRASSIERE})).length||0,u=e.elements.filter((function(e){var t;return((null===(t=e.Gender)||void 0===t?void 0:t.Id)||0)===p.E_GenderType.FEMALE})).length||0,j=e.elements.filter((function(e){var t;return((null===(t=e.Gender)||void 0===t?void 0:t.Id)||0)===p.E_GenderType.MALE})).length||0),Object(O.jsx)(O.Fragment,{children:Object(O.jsxs)(i.a,{className:"justify-content-center",children:[Object(O.jsxs)("div",{className:"size-guide-grid-nav-container",children:[Object(O.jsxs)("div",{className:"size-guide-grid-title-button-container",children:[Object(O.jsx)(r.a,{className:"text-left size-guide-grid-title-button-container-col",children:e.showTitle?Object(O.jsxs)("p",{className:"font-fitprenda-section-title",children:[Object(O.jsx)(g.a,{id:"size-guides-created-title"})," ",Object(O.jsx)(m.BadgeFitprenda,{value:(null===(t=e.elements)||void 0===t?void 0:t.length)||0,variant:"success"})]}):Object(O.jsx)(O.Fragment,{})}),Object(O.jsxs)("div",{className:"size-guide-grid-buttons-container",children:[a&&(s||n||l)?Object(O.jsx)(r.a,{className:"sizeguide
1-filter-button",xs:1,children:Object(O.jsx)(m.PushButtonFilter,{title:Object(O.jsx)(g.a,{id:"ready-size-superior"}),quantity:a,StateFilter:I,ClickSuscribe:te})}):Object(O.jsx)(O.Fragment,{}),s&&(a||n||l)?Object(O.jsx)(r.a,{className:"sizeguide-filter-button",xs:1,children:Object(O.jsx)(m.PushButtonFilter,{title:Object(O.jsx)(g.a,{id:"ready-size-inferior"}),quantity:s,StateFilter:R,ClickSuscribe:ae})}):Object(O.jsx)(O.Fragment,{}),n&&(s||a||l)?Object(O.jsx)(r.a,{className:"sizeguide-filter-button",xs:1,children:Object(O.jsx)(m.PushButtonFilter,{title:Object(O.jsx)(g.a,{id:"size-guide-entera"}),quantity:n,StateFilter:B,ClickSuscribe:se})}):Object(O.jsx)(O.Fragment,{}),l&&(s||n||a)?Object(O.jsx)(r.a,{className:"sizeguide-filter-button",xs:1,children:Object(O.jsx)(m.PushButtonFilter,{title:Object(O.jsx)(g.a,{id:"ready-size-bras"}),quantity:n,StateFilter:H,ClickSuscribe:ne})}):Object(O.jsx)(O.Fragment,{}),u&&j?Object(O.jsx)(r.a,{className:"sizeguide-filter-button",xs:1,children:Object(O.jsx)(m.PushButtonFilter,{title:Object(O.jsx)(g.a,{id:"ready-size-female"}),quantity:u,StateFilter:X,ClickSuscribe:ie})}):Object(O.jsx)(O.Fragment,{}
1),u&&j?Object(O.jsx)(r.a,{className:"sizeguide-filter-button",xs:1,children:Object(O.jsx)(m.PushButtonFilter,{title:Object(O.jsx)(g.a,{id:"ready-size-male"}),quantity:j,StateFilter:Y,ClickSuscribe:re})}):Object(O.jsx)(O.Fragment,{})]})]}),Object(O.jsxs)("div",{className:"size-guide-grid-search-excel-container",children:[Object(O.jsx)(m.InputSearch,{onInputChange:ee}),e.handlerDownload?Object(O.jsx)(r.a,{className:"excel-col-container",children:Object(O.jsx)(o.a,{placement:"top",overlay:Object(O.jsx)(c.a,{children:Object(O.jsx)(g.a,{id:"export-tooltip",defaultMessage:"Exportar"})}),children:Object(O.jsx)(d.a,{type:"button",variant:"outline-success",size:"sm",onClick:function(){return function(t){try{e.handlerDownload&&e.handlerDownload(t)}catch(a){console.log(a)}}(z)},children:Object(O.jsx)(b.a,{icon:"file-excel"})})},"product-grid-export")}):Object(O.jsx)(O.Fragment,{})]})]}),z&&z.length>1&&e.handlerDeleteGroup?Object(O.jsx)(r.a,{xs:3,className:"size-guide-grid-delete-container",children:Object(O.jsx)("div",{className:"size-guide-grid-delete-button",children:Object(O.jsx)(h.a,{label:"Borrar",eventClick:function(){return function(t){try{e.handlerDeleteGroup&&e.handlerDeleteGroup(t)}catch(a){console.log(a)}}(z)}})})}):Object(O.jsx)(O.Fragment,{})]})})}(),responsiveLayout:"scroll",scrollable:!0,scrollHeight:e.scrollHeight||"230px",selectionMode:"checkbox",selection:z,onSelectionChange:function(t){return C((a=t).value),void(e.handlerSelectionRow&&e.handlerSelectionRow(a.value));var a},size:"small",filters:v,globalFilterFields:["Id","Name","TypeSizeGuide.Name","Gender.Name"],loading:e.isLoading||!1,children:[e.handlerSelectionRow?Object(O.jsx)(u.a,{selectionMode:"multiple",headerStyle:{width:"3em"},style:{maxWidth:"54px"}}):null,Object(O.jsx)(u.a,{field:"Id",header:"#",sortable:!0,className:"col-md-1 col-sm-2"}),Object(O.jsx)(u.a,{field:"Name",header:Object(O.jsx)(g.a,{id:"header-name",defaultMessage:"Nombre"}),sortable:!0,className:"col-md-4 col-sm-6"}),Object(O.jsx)(u.a,{field:"Gender.Name",header:Object(O.jsx)(g.a,{id:"ready-size-gender",defaultMessage:"G\xe9nero"}),sortable:!0,className:"col-md-2 col-sm-4"}),Object(O.jsx)(u.a,{field:"TypeSizeGuide.Name",header:Object(O.jsx)(g.a,{id:"header-type",defaultMessage:"Tipo"}),sortable:!0,className:"col-md-2 col-sm-4"}),Object(O.jsx)(u.a,{header:Object(O.jsx)(g.a,{id:"ready-size-sizes",defaultMessage:"Talles"}),body:function(e){try{return e&&e.Sizes?e.Sizes.map((function(e){return e.Name})).join(", "):""}catch(t){}},className:"col-md-3 col-sm-6"}),Object(O.jsx)(u.a,{field:"Related",header:Object(O.jsx)(g.a,{id:"header-related-products",defaultMessage:"Productos asociados"}),body:function(e){return Object(O.jsx)(O.Fragment,{children:Object(O.jsx)("span",{className:"w-100 text-center",children:e.Related})})},sortable:!0,className:"col-md-3 col-sm-6 text-center"}),Object(O.jsx)(u.a,{field:"Status",header:"",body:function(e){return e.Enabled?null:Object(O.jsx)("div",{className:"d-flex justify-content-center align-items-center h-100",children:Object(O.jsx)(b.a,{icon:f.b,className:"text-danger"})})},className:"col-md-3 col-sm-6 text-center",bodyClassName:"p-0",style:{width:"100px"}}),e.handlerEdit?Object(O.jsx)(u.a,{header:"",body:function(e,t){return oe(e)},bodyClassName:"".concat(e.handlerClone||e.handlerDelete?"":"me-3"),style:{maxWidth:"40px",minWidth:"20px"},className:"sizeguidegrid-icon"}):null,e.handlerClone?Object(O.jsx)(u.a,{header:"",body:function(e,t){return ce(e)},bodyClassName:"".concat(e.handlerDelete?"":"me-3"),style:{maxWidth:"40px",minWidth:"20px"}}):null,e.handlerDelete?Object(O.jsx)(u.a,{header:"",body:function(e,t){return de(e)},bodyClassName:"me-3",style:{maxWidth:"40px",minWidth:"20px"}}):null]})})})}},function(e,t,a){},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(40),n=a(22),i=a(9),r=(a(236),a(0));t.default=function(e){return Object(r.jsx)(r.Fragment,{children:Object(r.jsxs)(s.a,{show:e.Show,onHide:function(){e.OnModalClose&&e.OnModalClose()},centered:!0,children:[Object(r.jsx)(s.a.Header,{closeButton:!0,className:"border-bottom-0"}),Object(r.jsxs)(s.a.Body,{children:[Object(r.jsx)(n.a,{className:"justify-content-center",children:Object(r.jsx)(i.a,{xs:11,className:"text-center",children:Object(r.jsx)("img",{src:"img/icon-save-success.png",width:274})})}),Object(r.jsx)(n.a,{className:"justify-content-center",children:Object(r.jsx)(i.a,{xs:11,children:Object(r.jsx)("p",{className:"font-modal-message-action",children:e.Title||"Titulo Modal"})})})]})]})})}},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(18),n=a(22),i=a(9),r=a(32),o=a(19),c=a(7),d=(a(240),a(5)),l=a(0);t.default=function(e){var t=function(){var t=Object(s.a)(e.Elements),a=function(t){var a,n=t;try{if(t>0){var i=Object(s.a)(e.Elements);n=i[i.length-1].Order}return a={Id:t,Order:n+1,Name:"",Measures:new Array}
1,e.BodyParts.forEach((function(e,t){var s={Id:0,From:0,ErrorFrom:!1,To:0,ErrorTo:!1,IsSuccess:!1,BodyPart:e};a.Measures.push(s)})),a}catch(r){console.log(r)}}(t.length);a&&(t.push(a),e.SucribeChanges&&e.SucribeChanges(t))};return Object(l.jsxs)(l.Fragment,{children:[Object(l.jsxs)(n.a,{className:"mb-2",children:[Object(l.jsx)(i.a,{xs:2,children:Object(l.jsx)("p",{className:"font-fitprenda-size-block-title",children:Object(l.jsx)(d.a,{id:"ready-size-sizes",defaultMessage:"Talles"})})}),e.BodyParts.map((function(t,a){return Object(l.jsx)(i.a,{xs:e.BodyParts.length>2?2:3,className:"text-center",children:Object(l.jsx)("p",{className:"font-fitprenda-size-block-title ".concat(e.BodyParts.length>2?"":"ps-5"),children:t.Name})},"column-size-".concat(t.Id))}))]}),Object(l.jsx)(r.a,{children:e.Elements.map((function(t,a){return Object(l.jsx)(l.Fragment,{children:Object(l.jsxs)(n.a,{className:"mb-2",children:[Object(l.jsx)(i.a,{xs:2,children:Object(l.jsx)(n.a,{className:"justify-content-start",children:Object(l.jsx)(i.a,{xs:7,className:"size-form-input-sizes",children:Object(l.jsx)(r.a.Control,{type:"text",size:"sm",className:"text-center text-uppercase",defaultValue:t.Name,onChange:function(t){return function(t,a,n){var i=Object(s.a)(e.Elements);i[t].Name=a?a.toUpperCase():"",e.SucribeChanges&&e.SucribeChanges(i)}(a,t.target.value?t.target.value:"")}})})})}),t.Measures.map((function(t,d){var u,j;return Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)(i.a,{xs:1,className:"".concat(e.BodyParts.length>2?"d-none":"d-block")}),Object(l.jsx)(i.a,{xs:2,children:Object(l.jsxs)(n.a,{className:"justify-content-center",children:[Object(l.jsx)(i.a,{xs:4,className:"px-0 size-form-input-container",children:(null===(u=t.BodyPart)||void 0===u?void 0:u.Id)===c.E_BodyPart.FOOT?null:Object(l.jsx)(r.a.Control,{type:"text",size:"sm",className:"text-center text-uppercase",isInvalid:t.ErrorFrom,defaultValue:t.From,onChange:function(t){return function(t,a,n,i){var r=Object(s.a)(e.Elements),o=r[t].Measures[a];if(o.From=n,r&&r.length>0){var c=r[t-1];c&&(c.Measures[a].To>(o.From||0)?o.ErrorFrom=!0:o.ErrorFrom=!1)}!o.ErrorFrom&&!o.ErrorTo&&o.From<(o.To||0)&&(o.IsSuccess=!0),e.SucribeChanges&&e.SucribeChanges(r)}(a,d,t.target.value?parseFloat(t.target.value):0)}})}),Object(l.jsx)(i.a,{xs:1,className:"px-0 text-center",children:(null===(j=t.BodyPart)||void 0===j?void 0:j.Id)===c.E_BodyPart.FOOT?null:Object(l.jsx)("p",{className:"font-fitprenda-size-block-title",children:"-"})}),Object(l.jsx)(i.a,{xs:4,className:"px-0 size-form-input-container",children:Object(l.jsx)(r.a.Control,{type:"text",size:"sm",className:"text-center text-uppercase",isInvalid:t.ErrorTo,defaultValue:t.To,onChange:function(n){return function(t,a,n,i){var r,o=Object(s.a)(e.Elements),d=o[t].Measures[a];(null===(r=i.BodyPart)||void 0===r?void 0:r.Id)===c.E_BodyPart.FOOT&&(o[t-1]?d.From=o[t-1].Measures[a].To+.01:d.From=n-.4),d.To=n,d.From>=d.To?d.ErrorTo=!0:d.ErrorTo=!1,!d.ErrorFrom&&!d.ErrorTo&&d.From<d.To&&(d.IsSuccess=!0),e.SucribeChanges&&e.SucribeChanges(o)}(a,d,n.target.value?parseFloat(n.target.value):0,t)}})}),Object(l.jsx)(i.a,{xs:1,children:t.ErrorFrom||t.ErrorTo?Object(l.jsx)(o.a,{icon:"exclamation-triangle",className:"text-fitprenda-danger"}):t.IsSuccess?Object(l.jsx)(o.a,{icon:"check-circle",className:"text-fitprenda-success"}):Object(l.jsx)(l.Fragment,{})})]})},"row-col-size")]})})),Object(l.jsx)(i.a,{className:"text-center",xs:1,children:Object(l.jsx)("span",{className:"btn-sizeguide-form",style:{borderRadius:"10px",padding:"1px"},children:Object(l.jsx)(o.a,{onClick:function(t){return function(t,a){if(t>0){var n=Object(s.a)(e.Elements);n.splice(t,1),e.SucribeChanges&&e.SucribeChanges(n)}}(a)},icon:"times",className:"text-secondary"})})})]},"row-size-".concat(t.Id))})}))}),Object(l.jsxs)(n.a,{className:"mt-3",children:[Object(l.jsx)(i.a,{children:Object(l.jsxs)("span",{className:"btn-sizeguide-form",onClick:function(){return t()},children:[Object(l.jsx)(o.a,{icon:"plus",className:"text-fitprenda-warning"}),Object(l.jsxs)("span",{className:"font-fitprenda-button-add-size ms-2",children:[" ",Object(l.jsx)(d.a,{id:"sizesform-add-sizes"})]})]})}),Object(l.jsxs)(i.a,{className:"text-end",children:[function(){var t=0;try{var a=Object(s.a)(e.Elements);if(a&&a.length>0){var n=a.filter((function(e){var t=e.Measures.filter((function(e){return e.ErrorFrom||e.ErrorTo}));return t&&t.length>0}));t=(null===n||void 0===n?void 0:n.length)||0}}catch(i){console.log("SIZES FORM ERROR",i)}return 0===t}()?Object(l.jsx)(l.Fragment,{}):Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)(o.a,{icon:"exclamation-triangle",className:"text-fitprenda-danger"}),Object(l.jsx)("span",{className:"font-fitprenda-exclamation-size-guide ms-2",children:Object(l.jsx)(d.a,{id:"sizesform-match-previous"})})]}),e.showCustomWarning&&Object(l.jsx)(n.a,{className:"mt-3",children:Object(l.jsxs)(i.a,{children:[Object(l.jsx)(o.a,{icon:"exclamation-triangle",className:"text-fitprenda-danger"}),Object(l.jsx)("span",{className:"font-fitprenda-custom-warning ms-2",children:Object(l.jsx)(d.a,{id:"sizesform-atleast"})})]})})]})]})]})}},function(e,t,a){},function(e,t,a){},function(e,t,a){"use strict";a.r(t);a(243);var s=a(5),n=a(0);t.default=function(e){return Object(n.jsx)("div",{className:"dashboard-card-container",children:Object(n.jsx)("div",{className:"card-dashboard float-right",children:Object(n.jsxs)("div",{className:"row",children:[Object(n.jsx)("div",{className:"col-sm-6",children:Object(n.jsx)("img",{className:"card-dashboard-image",src:e.img,alt:""})}),Object(n.jsx)("div",{className:"col-sm-6",children:Object(n.jsxs)("div",{className:"",children:[Object(n.jsx)("h4",{className:"dashboard-search-h4",children:e.title}),Object(n.jsx)("p",{className:"dashboard-percentage-p",children:e.percentage}),Object(n.jsxs)("div",{className:"container dashboard-stats-card",children:[Object(n.jsxs)("div",{className:"row",children:[Object(n.jsxs)("div",{className:"col dashboard-stats-col",children:[Object(n.jsx)(s.a,{id:"ready-size-age"}),":"," ",Object(n.jsx)("div",{className:"dashboard-stat-number",children:e.edad})]}),Object(n.jsxs)("div",{className:"col dashboard-stats-col",children:[Object(n.jsx)(s.a,{id:"ready-size-weight"}),":"," ",Object(n.jsx)("div",{className:"dashboard-stat-number",children:e.peso})," "]})]}),Object(n.jsxs)("div",{className:"row",children:[Object(n.jsxs)("div",{className:"col dashboard-stats-col",children:[Object(n.jsx)(s.a,{id:"ready-size-height"}),":",Object(n.jsx)("div",{className:"dashboard-stat-number",children:e.altura})," "]}),Object(n.jsxs)("div",{className:"col dashboard-stats-col",children:[Object(n.jsx)(s.a,{id:"ready-size-length"}),":",Object(n.jsx)("div",{className:"dashboard-stat-number",children:e.largo})]})]}),Object(n.jsxs)("div",{className:"row",children:[Object(n.jsxs)("div",{className:"col dashboard-stats-col",children:[Object(n.jsx)(s.a,{id:"ready-size-waist"}),":",Object(n.jsx)("div",{className:"dashboard-stat-number",children:e.cintura})]}),Object(n.jsxs)("div",{className:"col dashboard-stats-col",children:[Object(n.jsx)(s.a,{id:"ready-size-hip"}),":",Object(n.jsx)("div",{className:"dashboard-stat-number",children:e.cadera})]})]}),Object(n.jsx)("div",{className:"row  dashboard-stats-col-row",children:Object(n.jsxs)("div",{className:"col-md-6 dashboard-stats-col",children:[Object(n.jsx)(s.a,{id:"ready-size-bust"}),":",Object(n.jsx)("div",{className:"dashboard-stat-number-left",children:e.busto})]})}),Object(n.jsx)("div",{className:"row  dashboard-stats-col-row",children:Object(n.jsxs)("div",{className:"col-md-6 dashboard-stats-col",children:[Object(n.jsx)(s.a,{id:"ready-size-feetlength"}),":",Object(n.jsx)("div",{className:"dashboard-stat-number-left",children:e.largoPie})]})})]})]})})]})})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);a(1);var s=a(54),n=a(16),i=(a(245),a(5)),r=a(36),o=a(0);t.default=function(e){return Object(o.jsxs)("div",{className:"table-fitprenda-content",children:[Object(o.jsxs)(s.a,{value:e.isLoadingData?[]:e.Data,responsiveLayout:"scroll",paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLinks LastPageLinks CurrentPageLinks RowsPerPageDropdown",dataKey:"id",loading:e.isLoadingData||!1,emptyMessage:"No data found.",className:"datatable-responsive",currentPageReportTemplate:"Showing {first} to {last} of {total} posts",rows:10,sortField:"Recommended",sortOrder:-1,children:[Object(o.jsx)(n.a,{field:"Name",sortable:!0,header:Object(o.jsx)(i.a,{id:"ready-size-guide",defaultMessage:"Gu\xeda"})}),Object(o.jsx)(n.a,{field:"ProductsRelated",sortable:!0,header:Object(o.jsx)(i.a,{id:"ready-size-associated-products",defaultMessage:"Productos Asociados"})}),Object(o.jsx)(n.a,{field:"Recommended",sortable:!0,header:Object(o.jsx)(i.a,{id:"table-TallesRecomendados",defaultMessage:"Talles recomendados"})}),Object(o.jsx)(n.a,{field:"SizeMostRecommended",sortable:!0,header:Object(o.jsx)(i.a,{id:"table-TalleM\xe1sRecomendado",defaultMessage:"Talle m\xe1s recomendado"})}),Object(o.jsx)(n.a,{field:"FoundSize",body:function(e){return e.FoundSize.toString()+"%"},sortable:!0,header:Object(o.jsx)(i.a,{id:"table-Encontr\xf3Talle",defaultMessage:"Encontr\xf3 talle"})}),Object(o.jsx)(n.a,{field:"NotFoundSize",body:function(e){return e.N
1otFoundSize.toString()+"%"},sortable:!0,header:Object(o.jsx)(i.a,{id:"table-NoEncontr\xf3Talle",defaultMessage:"No encontr\xf3 talle"})})]}),Object(o.jsx)("div",{className:"dashboard-table-container-descarga",children:Object(o.jsxs)("p",{onClick:function(){return function(){var t=e.Data&&e.Data.length>0?e.Data:void 0;try{if(t){var a=new Array;[].forEach.call(t,(function(e,t){a.push({"Gu\xeda":e.Name,"Productos Asociados":e.ProductsRelated,"Talles Recomendados":e.Recommended,"Talle M\xe1s Recomendado":e.SizeMostRecommended,"Encontr\xf3 Talle":e.FoundSize+"%","No Encontr\xf3 Talle":e.NotFoundSize+"%"})})),a&&a.length>0&&r.ExcelModule.ExportTo(a,"ReportSizesguide","ReadySize_ReportSizesguide")}}catch(s){console.log(s)}}()},children:[" ",Object(o.jsx)(i.a,{id:"table-descargar",defaultMessage:"Descargar reporte completo"})," "]})})]})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(1),i=a(161),r=a(14),o=a(0);t.default=function(e){var t=new Date,a=new Date(t);a.setDate(a.getDate()-6);var c=Object(n.useState)([a,t]),d=Object(s.a)(c,2),l=d[0],u=d[1];Object(r.d)("es",{firstDayOfWeek:1,dayNames:["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],dayNamesShort:["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],dayNamesMin:["D","L","M","X","J","V","S"],monthNames:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],monthNamesShort:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],today:"Hoy",clear:"Claro"});return Object(o.jsx)("div",{className:"calendar-main",children:Object(o.jsx)("div",{className:"field col-12 md:col-4",children:Object(o.jsx)(i.a,{id:"range",value:l,selectionMode:"range",readOnlyInput:!0,dateFormat:"dd/mm/yy",onChange:function(t){u(t.value),e.SuscribedChange&&e.SuscribedChange(t.value)}})})})}},function(e,t,a){"use strict";a.r(t);var s=a(8),n=a.n(s),i=a(17),r=a(3),o=a(1),c=a(51),d=a(40),l=a(32),u=a(19),j=a(62),m=a(66),b=a(5),p=(a(248),a(10)),h=a(0);t.default=function(e){var t=Object(o.useState)(),a=Object(r.a)(t,2),s=a[0],g=a[1],f=Object(o.useState)(!1),O=Object(r.a)(f,2),x=(O[0],O[1]),v=(Object(m.a)(),Object(o.useState)(!1)),y=Object(r.a)(v,2),S=y[0],N=y[1],z=Object(o.useState)(),C=Object(r.a)(z,2),w=(C[0],C[1]);return Object(o.useEffect)((function(){Object(i.a)(n.a.mark((function e(){var t;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,x(!0),e.next=4,p.SizeGuideServices.GetSizesGuides();case 4:(t=e.sent)&&200===t.Status?g(t.Content):g([]),x(!1),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0),x(!1);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))()}),[g]),Object(h.jsx)(h.Fragment,{children:Object(h.jsxs)("div",{children:[Object(h.jsxs)(c.a,{className:"dashboard-modal-button",onClick:function(){return N(!0)},children:[Object(h.jsx)(u.a,{className:"dashboard-descarga-icon",icon:j.a}),e.DefaultData?null===s||void 0===s?void 0:s.find((function(t,a){return t.Id===e.DefaultData})).Name:""]}),Object(h.jsxs)(d.a,{show:S,onHide:function(){return N(!1)},backdrop:"false",keyboard:!1,centered:!0,className:"dashboard-main-modal",children:[Object(h.jsx)(d.a.Header,{closeButton:!0,className:"dashboard-modal-closebutton",children:Object(h.jsx)(d.a.Title,{className:"dashboard-modal-title",children:Object(h.jsx)(b.a,{id:"dashboard-modal-guide-select"})})}),Object(h.jsx)("div",{className:"dashboard-modal-select",children:Object(h.jsx)(l.a.Select,{className:"dashboard-modal-select","aria-label":"Default select example",onChange:function(t){w(t.target.value),e.SuscribedChange&&e.SuscribedChange(t.target.value),N(!1)},defaultValue:e.DefaultData?e.DefaultData:void 0,children:null===s||void 0===s?void 0:s.map((function(t,a){return Object(h.jsx)("option",{value:t.Id,selected:!(!e.DefaultData||e.DefaultData!==t.Id),children:t.Name},"select-sizeguide-".concat(t.Id))}))})}),Object(h.jsx)(d.a.Body,{children:Object(h.jsx)("div",{})})]})]})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);a(4);var s=a(3),n=a(22),i=a(54),r=a(16),o=a(1),c=(a(250),a(5)),d=a(0);t.default=function(e){var t=Object(o.useState)([]),a=Object(s.a)(t,2),l=a[0],u=a[1],j=Object(o.useState)(""),m=Object(s.a)(j,2),b=(m[0],m[1],Object(o.useState)(Object)),p=Object(s.a)(b,2),h=p[0],g=p[1],f=Object(o.useState)(!1),O
1=Object(s.a)(f,2),x=(O[0],O[1],Object(o.useState)(null)),v=Object(s.a)(x,2);v[0],v[1];Object(o.useEffect)((function(){y()}),[]);var y=function(){g({global:{value:null,matchMode:"contains"}})};return Object(d.jsx)(d.Fragment,{children:Object(d.jsx)("div",{className:"table-fitprenda-content",children:Object(d.jsxs)(i.a,{value:e.products,dataKey:"Code",header:(e.handlerDelete,e.handlerEdit,e.handlerAddSizeGuide,e.handlerDownload,Object(d.jsx)(d.Fragment,{children:Object(d.jsx)(n.a,{className:"justify-content-center"})})),responsiveLayout:"scroll",scrollable:!0,scrollHeight:"430px",selectionMode:"checkbox",selection:l,onSelectionChange:function(t){return u((a=t).value),void(e.handlerSelectionRow&&e.handlerSelectionRow(a.value));var a},size:"small",filters:h,globalFilterFields:["Code","Alias","Description"],loading:e.isLoading||!1,children:[e.handlerSelectionRow?Object(d.jsx)(r.a,{selectionMode:"multiple",headerStyle:{width:"3em"},style:{maxWidth:"54px"}}):null,Object(d.jsx)(r.a,{field:"Code",header:Object(d.jsx)(c.a,{id:"ready-size-model",defaultMessage:"Modelo"}),sortable:!0,style:{minWidth:"110px"}}),Object(d.jsx)(r.a,{field:"Alias",header:Object(d.jsx)(c.a,{id:"edit-size-guide-widget-use-title",defaultMessage:"Sugerencia"}),sortable:!0,style:{minWidth:"200px"}}),Object(d.jsx)(r.a,{field:"Description",header:Object(d.jsx)(c.a,{id:"ready-size-description",defaultMessage:"Descripci\xf3n"}),sortable:!0,style:{minWidth:"150px"}}),Object(d.jsx)(r.a,{field:"Position",header:Object(d.jsx)(c.a,{id:"header-type",defaultMessage:"Tipo"}),sortable:!0,style:{minWidth:"80px"}}),Object(d.jsx)(r.a,{field:"Genre",header:Object(d.jsx)(c.a,{id:"ready-size-gender",defaultMessage:"G\xe9nero"}),sortable:!0,style:{minWidth:"80px"}}),Object(d.jsx)(r.a,{field:"Fit",header:Object(d.jsx)(c.a,{id:"ready-size-fit",defaultMessage:"Fit"}),sortable:!0,style:{minWidth:"80px"}}),Object(d.jsx)(r.a,{field:"Sizes",header:Object(d.jsx)(c.a,{id:"ready-size-sizes",defaultMessage:"Talles"}),sortable:!0,style:{minWidth:"110px"}}),Object(d.jsx)(r.a,{field:"Category",header:Object(d.jsx)(c.a,{id:"product-grid-category",defaultMessage:"Categor\xeda"}),sortable:!0,style:{minWidth:"130px"}}),Object(d.jsx)(r.a,{field:"SizeGuide",header:Object(d.jsx)(c.a,{id:"ready-size-guide",defaultMessage:"Gu\xeda"}),sortable:!0,style:{minWidth:"150px"}})]})})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(1),i=a(58),r=a(0);t.default=function(){var e=Object(n.useState)(null),t=Object(s.a)(e,2),a=t[0],o=t[1];return Object(r.jsx)("div",{className:"dropdown-demo",children:Object(r.jsx)("div",{className:"card",children:Object(r.jsx)(i.a,{value:a,options:[{name:"AA114137",code:"37"},{name:"AA114136",code:"36"},{name:"AA114135",code:"35"},{name:"AA114134",code:"34"},{name:"AA114133",code:"33"}],onChange:function(e){o(e.value)},optionLabel:"name",placeholder:"AA114138"})})})}},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(1),i=a(51),r=a(40),o=a(22),c=a(9),d=(a(253),a(5)),l=a(0);t.default=function(){var e=Object(n.useState)(!1),t=Object(s.a)(e,2),a=t[0],u=t[1];return Object(l.jsx)(l.Fragment,{children:Object(l.jsxs)("div",{children:[Object(l.jsx)(i.a,{className:"asociar-modal-button",onClick:function(){return u(!0)},children:Object(l.jsx)(d.a,{id:"product-registration-modal-title"})}),Object(l.jsxs)(r.a,{show:a,onHide:function(){return u(!1)},backdrop:"false",keyboard:!1,centered:!0,className:"dashboard-main-modal",children:[Object(l.jsx)(r.a.Header,{closeButton:!0,className:"dashboard-modal-closebutton",children:Object(l.jsx)(r.a.Title,{className:"dashboard-modal-title",children:Object(l.jsx)(d.a,{id:"product-registration-modal-title"})})}),Object(l.jsx)(r.a.Body,{children:Object(l.jsxs)("div",{children:[Object(l.jsx)(o.a,{children:Object(l.jsxs)(c.a,{className:"dashboard-modal-bold",children:[Object(l.jsx)(d.a,{id:"ready-size-clothing-type"})," ",Object(l.jsx)("span",{className:"dashboard-modal-fino",children:Object(l.jsx)(d.a,{id:"ready-size-superior"})})]})}),Object(l.jsx)(o.a,{children:Object(l.jsxs)(c.a,{className:"dashboard-modal-bold",children:[Object(l.jsx)(d.a,{id:"ready-size-gender"}),Object(l.jsx)("span",{className:"dashboard-modal-fino",children:Object(l.jsx)(d.a,{id:"ready-size-inferior"})})]})})]})})]})]})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(8),n=a.n(s),i=a(18),r=a(17),o=a(3),c=a(1),d=a(32),l=a(22),u=a(9),j=a(51),m=a(170),b=a(19),p=a(109),h=a(98),g=a(85),f=a(147),O=a(110),x=a(111),v=a(112),y=a(145),S=a(10),N=a(113),z=a(148),C=a(36),w=(a(257),a(66)),M=a(5),T=a(0);t.default=function(e){var t=Object(c.useState)(!1),a=Object(o.a)(t,2),s=a[0],k=a[1],E=Object(c.useState)(!1),I=Object(o.a)(E,2),P=I[0],G=I[1],A=Object(c.useState)(!1),R=Object(o.a)(A,2),F=R[0],L=R[1],D=Object(c.useState)(),B=Object(o.a)(D,2),U=B[0],_=B[1],W=Object(c.useState)(null),H=Object(o.a)(W,2),V=H[0],q=H[1],K=Object(c.useState)([]),X=Object(o.a)(K,2),J=X[0],Z=X[1],Q=Object(c.useState)(),Y=Object(o.a)(Q,2),$=Y[0],ee=Y[1],te=Object(c.useState)(),ae=Object(o.a)(te,2),se=ae[0],ne=ae[1],ie=Object(c.useState)([]),re=Object(o.a)(ie,2),oe=re[0],ce=re[1],de=Object(c.useState)([]),le=Object(o.a)(de,2),ue=(le[0],le[1]),je=Object(c.useState)(null),me=Object(o.a)(je,2),be=me[0],pe=me[1],he=Object(c.useState)([]),ge=Object(o.a)(he,2),fe=(ge[0],ge[1]),Oe=Object(c.useState)(!1),xe=Object(o.a)(Oe,2),ve=xe[0],ye=xe[1],Se=Object(w.a)(),Ne=Object(c.useRef)(null);function ze(){return(ze=Object(r.a)(n.a.mark((function e(){var t;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,L(!0),e.next=4,S.SizeGuideServices.GetSizesGuides();case 4:(t=e.sent)&&200===t.Status?_(t.Content):_([]),L(!1),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0),L(!1);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}function Ce(){return we.apply(this,arguments)}function we(){return(we=Object(r.a)(n.a.mark((function e(){var t;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S.SizeGuideServices.GetSizesGuides();case 3:if(!(t=e.sent)||200!==t.Status){e.next=9;break}return _(t.Content),e.abrupt("return",t.Content);case 9:return _([]),e.abrupt("return",[]);case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(0),console.log(e.t0);case 16:case"end":return e.stop()}}),e,null,[[0,13]])})))).apply(this,arguments)}function Me(){return Te.apply(this,arguments)}function Te(){return(Te=Object(r.a)(n.a.mark((function e(){var t;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S.BodyAreaServices.GetBodyAreas();case 3:if(!(t=e.sent)){e.next=8;break}return e.abrupt("return",t);case 8:return e.abrupt("return",new Array);case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.log(e.t0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}function ke(){return Ee.apply(this,arguments)}function Ee(){return(Ee=Object(r.a)(n.a.mark((function e(){var t;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S.PersonServices.GetGenders();case 3:if(!(t=e.sent)){e.next=8;break}return e.abrupt("return",t);case 8:return e.abrupt("return",new Array);case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.log(e.t0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}function Ie(){return Pe.apply(this,arguments)}function Pe(){return(Pe=Object(r.a)(n.a.mark((function e(){var t;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,S.FitType
1Services.GetFitTypes();case 3:if(!(t=e.sent)){e.next=8;break}return e.abrupt("return",t);case 8:return e.abrupt("return",new Array);case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.log(e.t0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}var Ge=function(t){try{if(t>0){var a=Object(i.a)(e.Elements);a[a.length-1].Id}return{Id:t+1,Name:"",Code:"",Variants:new Array,BodyArea:{Id:4,Name:""},Gender:{Id:3,Name:""},Fit:{Id:1,Name:""},Categories:new Array,SizeGuide:null,Sizes:null,PositionRow:t}}catch(s){console.log(s)}},Ae=function(e,t){try{U||function(){ze.apply(this,arguments)}(),q(null),ce([]),ne(null),ee(null),pe({Index:e,Item:t}),k(!0)}catch(a){console.log(a)}},Re=function(e){try{var t=null===U||void 0===U?void 0:U.find((function(t){return t.Id===parseInt(e)}));t?(q(t),ee(t.TypeSizeGuide),ne(t.Gender),Z(t.Sizes.map((function(e){return{name:e.Name,code:e.Id}})))):(q(null),ee(null),ne(null),Z([]))}catch(a){console.log(a)}},Fe=function(e){try{fe(e||[]);var t=e?[].map.call(e,(function(e){return{Id:e.code,Name:e.name}})):[];ce(t),ue(t.map((function(e){return e.Name})))}catch(a){console.log(a)}},Le=function(){var t=Object(r.a)(n.a.mark((function t(a){var s,r,o,c;return n.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!Ne.current.value){t.next=16;break}return G(!0),t.next=5,Ce();case 5:return s=t.sent,t.next=8,Me();case 8:return r=t.sent,t.next=11,ke();case 11:return o=t.sent,t.next=14,Ie();case 14:c=t.sent,C.ExcelModule.ImportFrom(a.target,(function(t){if(t){var a=Object(i.a)(e.Elements);[].forEach.call(t,(function(e,t){if(""===a[a.length-1].Code){if(a[a.length-1].Code=e.Modelo,a[a.length-1].Name=e.Descripcion,e.SKUs&&(a[a.length-1].Variants=e.SKUs.split(",")),e.Fit&&c){var n=c.find((function(t){return t.Name.toUpperCase()===e.Fit.toUpperCase()}));a[a.length-1].Fit=n||{Id:1,Name:""}}if(e.Genero&&o){var i=o.find((function(t){return t.Name.toUpperCase()===e.Genero.toUpperCase()}));a[a.length-1].Gender=i||{Id:3,Name:""}}if(e.Posicion&&r){var d=r.find((function(t){return t.Name.toUpperCase()===e.Posicion.toUpperCase()}));a[a.length-1].BodyArea=d||{Id:4,Name:""}}if(e.Guia&&s){var l=s.find((function(t){return t.Name.toUpperCase()===e.Guia.toUpperCase()}));if(a[a.length-1].SizeGuide=l||null,e.Talles&&l){var u=new Array;[].forEach.call(e.Talles.split(","),(function(e){var t=l.Sizes.find((function(t){return t.Name.toUpperCase()===e.trim().toUpperCase()}));t&&u.push(t)})),a[a.length-1].Sizes=u&&u.length>0?u:null}}e.Categorias&&(a[a.length-1].Categories=e.Categorias.split(","))}else{var j=Ge(a.length);if(j){if(j.Code=e.Modelo,j.Name=e.Descripcion,e.SKUs&&(j.Variants=e.SKUs.split(",")),e.Fit){var m,b=null===(m=c)||void 0===m?void 0:m.find((function(t){return t.Name.toUpperCase()===e.Fit.toUpperCase()}));j.Fit=b||{Id:1,Name:""}}if(e.Genero){var p,h=null===(p=o)||void 0===p?void 0:p.find((function(t){return t.Name.toUpperCase()===e.Genero.toUpperCase()}));j.Gender=h||{Id:3,Name:""}}if(e.Posicion){var g,f=null===(g=r)||void 0===g?void 0:g.find((function(t){return t.Name.toUpperCase()===e.Posicion.toUpperCase()}));j.BodyArea=f||{Id:4,Name:""}}if(e.Guia){var O,x=null===(O=s)||void 0===O?void 0:O.find((function(t){return t.Name.toUpperCase()===e.Guia.toUpperCase()}));if(j.SizeGuide=x||null,e.Talles&&x){var v=new Array;[].forEach.call(e.Talles.split(","),(function(e){var t=x.Sizes.find((function(t){return t.Name.toUpperCase()===e.trim().toUpperCase()}));t&&v.push(t)})),j.Sizes=v&&v.length>0?v:null}}e.Categorias&&(j.Categories=e.Categorias.split(",")),a.push(j)}}})),G(!1),e.SuscribeChanges&&e.SuscribeChanges(a)}}));case 16:Ne.current&&(Ne.current.value=""),t.next=22;break;case 19:t.prev=19,t.t0=t.catch(0),console.log(t.t0);case 22:case"end":return t.stop()}}),t,null,[[0,19]])})));return function(e){return t.apply(this,arguments)}}();return Object(T.jsxs)(T.Fragment,{children:[Object(T.jsxs)(l.a,{className:"mb-3",children:[e.canUpdload?Object(T.jsx)(T.Fragment,{children:Object(T.jsx)(u.a,{xs:e.canDownload?6:12,children:Object(T.jsx)(z.default,{SuscribeChanges:function(e){return Le(e)},ControlRef:Ne,Accept:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8, application/vnd.ms-excel;charset=UTF-8, text/csv;charset=UTF-8",Classname:""})})}):Object(T.jsx)(T.Fragment,{}),e.canDownload?Object(T.jsxs)(u.a,{className:"text-end",children:[Object(T.jsxs)(j.a,{type:"button",variant:"outline-success",size:"sm",children:[Object(T.jsx)(b.a,{icon:"file-excel"})," Exportar modelo xlsx"]}),Object(T.jsxs)(j.a,{type:"button",variant:"outline-info",size:"sm",className:"mx-1",children:[Object(T.jsx)(b.a,{icon:"file-csv"})," Exportar modelo csv"]})]}):Object(T.jsx)(T.Fragment,{})]}),P?Object(T.jsx)(T.Fragment,{children:Object(T.jsx)(d.a,{children:Object(T.jsx)(l.a,{className:"justify-content-start mt-2",children:Object(T.jsx)(u.a,{xs:1,"aria-hidden":"true",children:Object(T.jsx)(m.a,{as:"p",animation:"glow",size:"lg",children:Object(T.jsx)(m.a,{xs:12,bg
1:"secondary",style:{borderRadius:"5px"}})})})})})}):Object(T.jsxs)(T.Fragment,{children:[Object(T.jsx)(d.a,{children:e.Elements.map((function(t,a){var s,n,r,o,c;return Object(T.jsx)(T.Fragment,{children:Object(T.jsxs)(l.a,{className:"justify-content-start mt-2",children:[Object(T.jsx)(u.a,{xs:1,className:"products-form-position-input",children:Object(T.jsx)(g.default,{Label:0===a?Se.formatMessage({id:"ready-size-model",defaultMessage:"Model"}):"",MaxLength:25,Placeholder:"AA1000",DefaultValue:t.Code,Helper:0===a?Object(T.jsx)(T.Fragment,{children:Object(T.jsxs)("div",{className:"model-helper-main-container",children:[Object(T.jsx)("p",{className:"model-helper-text-title",children:Object(T.jsx)(M.a,{id:"products-form-helper-title",defaultMessage:"Este c\xf3digo puede tener diferente nombre de acuerdo a tu tienda."})}),Object(T.jsx)("p",{className:"model-helper-text-example",children:Object(T.jsx)(M.a,{id:"products-form-helper-example",defaultMessage:"Ejemplos:"})}),Object(T.jsxs)("div",{className:"model-helper-icons-container",children:[Object(T.jsxs)("div",{className:"model-helper-icons-row",children:[Object(T.jsx)("img",{src:"/img/magento.png",alt:"magento-icon"}),Object(T.jsxs)("p",{className:"model-helper-text",children:[Object(T.jsx)("span",{className:"model-helper-bold",children:"Magento:"})," SKU"]})]}),Object(T.jsxs)("div",{className:"model-helper-icons-row",children:[Object(T.jsx)("img",{src:"/img/vtex.png",alt:"vtex-icon"}),Object(T.jsxs)("p",{className:"model-helper-text",children:[Object(T.jsx)("span",{className:"model-helper-bold",children:"Vtex:"})," ","Product_Reference"]})]}),Object(T.jsxs)("div",{className:"model-helper-icons-row",children:[Object(T.jsx)("img",{src:"/img/shopify.png",alt:"shopify-icon"}),Object(T.jsxs)("p",{className:"model-helper-text",children:[Object(T.jsx)("span",{className:"model-helper-bold",children:"Shopify:"})," SKU"]})]}),Object(T.jsxs)("div",{className:"model-helper-tn-icon-row",children:[Object(T.jsx)("img",{src:"/img/tiendanube.png",alt:"shopify-icon"}),Object(T.jsxs)("p",{className:"model-helper-text-tn",children:[Object(T.jsx)("span",{className:"model-helper-bold",children:"Shopify:"})," Barcode"]})]})]})]})}):null,SuscribedChange:function(t){return function(t,a,s){try{var n=Object(i.a)(e.Elements);n[t].Code=a||"",e.SuscribeChanges&&e.SuscribeChanges(n)}catch(r){console.log(r)}}(a,t)}})}),Object(T.jsx)(u.a,{className:"products-form-description-input",children:Object(T.jsx)(g.default,{Label:0===a?Se.formatMessage({id:"ready-size-description",defaultMessage:"Descripci\xf3n"}):"",MaxLength:255,Placeholder:"JACKET RUSTIC LINEN WASH\t",DefaultValue:t.Name,SuscribedChange:function(t){return function(t,a,s){try{var n=Object(i.a)(e.Elements);n[t].Name=a||"",e.SuscribeChanges&&e.SuscribeChanges(n)}catch(r){console.log(r)}}(a,t)}})}),Object(T.jsx)(u.a,{xs:1,className:"products-form-position-input",children:Object(T.jsx)(O.default,{Label:0===a?Se.formatMessage({id:"ready-size-position",defaultMessage:"Posici\xf3n"}):"",DefaultValue:null===(s=t.BodyArea)||void 0===s?void 0:s.Id,SuscribedChange:function(t){return function(t,a,s){try{var n=Object(i.a)(e.Elements);n[t].BodyArea.Id=a||0,e.SuscribeChanges&&e.SuscribeChanges(n)}catch(r){console.log(r)}}(a,t)}})}),Object(T.jsx)(u.a,{xs:1,className:"products-form-gender-input",children:Object(T.jsx)(x.default,{Label:0===a?Se.formatMessage({id:"ready-size-gender",defaultMessage:"G\xe9nero"}):"",DefaultValue:null===(n=t.Gender)||void 0===n?void 0:n.Id,SuscribedChange:function(t){return function(t,a,s){try{var n=Object(i.a)(e.Elements);n[t].Gender.Id=a||0,e.SuscribeChanges&&e.SuscribeChanges(n)}catch(r){console.log(r)}}(a,t)}})}),Object(T.jsx)(u.a,{xs:1,className:"products-form-fit-input",children:Object(T.jsx)(v.default,{Label:0===a?Object(T.jsx)(M.a,{id:"ready-size-fit",defaultMessage:"Fit"}):"",DefaultValue:null===(r=t.Fit)||void 0===r?void 0:r.Id,SuscribedChange:function(t){return function(t,a,s){try{var n=Object(i.a)(e.Elements);n[t].Fit.Id=a||0,e.SuscribeChanges&&e.SuscribeChanges(n)}catch(r){console.log(r)}}(a,t)}})}),Object(T.jsx)(u.a,{xs:4,className:"products-form-talles-input",children:Object(T.jsx)(f.default,{Title:0===a?Object(T.jsx)(M.a,{id:"ready-size-sizes",defaultMessage:"Talles"}):"",placeholder:"",Values:null===(o=t.Sizes)||void 0===o?void 0:o.map((function(e){return e.Name})),onChipChange:function(e){return Fe(e)},disabled:ve})}),t.SizeGuide?Object(T.jsxs)(u.a,{xs:1,className:"text-center",children:[0===a?Object(T.jsx)(d.a.Label,{className:"font-label-form",children:Object(T.jsx)(M.a,{id:"ready-size-guide"})}):Object(T.jsx)(T.Fragment,{}),Object(T.jsx)("button",{className:"product-form-associate-guide text-secondary",style:{marginTop:"5px"},type:"button",onClick:function(e){return Ae(a,t)},children:Object(T.jsx)("span",{className:"text-no-wrap-single-line",children:null===(c=t.SizeGuide)||void 0===c?void 0:c.Name})})]}):Object(T.jsxs)(u.a,{xs:1,className:"text-center product-form-associate-guide-container",children:[0===a?Object(T.jsx)(d.a.Label,{className:"font-label-form",children:Object(T.jsx)(M.a,{id:"ready-size-guide"})}):Object(T.jsx)(T.Fragment,{}),Object(T.jsxs)("div",{className:"productform-associate-buttons-container",children:[Object(T.jsx)("button",{className:"product-form-associate-guide",type:"button",onClick:function(e){return Ae(a,t)},children:Object(T.jsx)(M.a,{id:"ready-size-associate-guide",defaultMessage:" Asociar gu\xeda"})}),Object(T.jsx)("button",{className:"btn-times-close",type:"button",onClick:function(t){return function(t,a){try{if(t>0){var s=Object(i.a)(e.Elements);s.splice(t,1),e.SuscribeChanges&&e.SuscribeChanges(s)}}catch(n){console.log(n)}}(a)},children:Object(T.jsx)(b.a,{icon:"times",className:"text-secondary"})})]})]})]},"row-product")})}))}),Object(T.jsx)(l.a,{className:"mt-3",children:Object(T.jsx)(u.a,{children:Object(T.jsxs)("span",{className:"btn-sizeguide
1-form",onClick:function(){return function(){try{var t=Object(i.a)(e.Elements),a=Ge(t.length);t&&(t.push(a),e.SuscribeChanges&&e.SuscribeChanges(t))}catch(s){console.log(s)}}()},children:[Object(T.jsx)(b.a,{icon:"plus",className:"text-fitprenda-warning"}),Object(T.jsx)("span",{className:"font-fitprenda-button-add-size ms-2",children:Object(T.jsx)(M.a,{id:"product-form-addproduct"})})]})})})]}),Object(T.jsx)(y.default,{Title:"Asociar Gu\xeda de talles",buttonSuccessTitle:"Asociar",Show:s,OnModalClose:function(){k(!1),q(null),ce([]),ne(null),ee(null),pe(null)},OnModalOk:function(){try{k(!1);var t=Object(i.a)(e.Elements),a=t[be.Index];a.SizeGuide=V||null,a.Sizes=oe||null,e.SuscribeChanges&&e.SuscribeChanges(t),ye(!0)}catch(s){console.log(s)}},Content:Object(T.jsx)(d.a,{className:"not-found-items-modal-container",children:Object(T.jsxs)(T.Fragment,{children:[Object(T.jsx)(l.a,{children:Object(T.jsx)(u.a,{children:Object(T.jsx)(p.default,{Elements:U,IsLoading:F,Label:"products-form-selectguide",Classname:"products-form-dashboard-modal-select",AriaLabel:"Default select example",OptionDefault:!0,SuscribedChange:Re})})}),Object(T.jsx)(l.a,{className:"mt-2",children:Object(T.jsx)(u.a,{children:Object(T.jsxs)("p",{className:"my-0",children:[Object(T.jsx)("span",{className:"not-found-items-props-bold",children:Object(T.jsx)(M.a,{id:"ready-size-guide-type",defaultMessage:"Tipo de Gu\xeda:"})})," ",(null===$||void 0===$?void 0:$.Name)||""]})})}),Object(T.jsx)(l.a,{className:"mt-2",children:Object(T.jsx)(u.a,{children:Object(T.jsxs)("p",{className:"my-0",children:[Object(T.jsx)("span",{className:"not-found-items-props-bold",children:Object(T.jsx)(M.a,{id:"ready-size-gender",defaultMessage:"G\xe9nero:"})})," ",(null===se||void 0===se?void 0:se.Name)||""]})})}),Object(T.jsx)(l.a,{className:"mt-2",children:Object(T.jsx)(u.a,{children:Object(T.jsx)(N.default,{SelectedValues:oe,Options:J,Placeholder:"products-form-select-sizes",SuscribedChange:Fe})})}),Object(T.jsx)(l.a,{className:"mt-3 justify-content-center",children:Object(T.jsx)(u.a,{xs:11,children:Object(T.jsx)(h.default,{title:" ",description:Object(T.jsx)(M.a,{id:"products-form-suggestionwidget-notfoundguide",defaultMessage:"Si no encuentras la gu\xeda que buscas, puedes darla de alta."})})})})]})}),HiddenTitle:!1,HiddenActions:!1})]})}},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(19),i=a(1),r=a(32),o=a(89),c=a(63),d=a(51),l=a(0);t.default=function(e){var t=Object(i.useState)(!1),a=Object(s.a)(t,2),u=a[0],j=a[1],m=Object(i.useState)(null),b=Object(s.a)(m,2),p=b[0],h=b[1];return Object(l.jsxs)(l.Fragment,{children:[Object(l.jsxs)(r.a.Label,{className:"font-label-form ".concat(e.Label?"":"d-none"),children:[e.Label||"",e.Helper?Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("img",{src:"img/questionmarkicon.png",alt:"questionmark",className:"dashboard-questionmark-size",onClick:function(e){return function(e){j(!u),h(e.target)}(e)}}),Object(l.jsx)(o.a,{show:u,target:p,placement:"right",children:Object(l.jsx)(c.a,{children:Object(l.jsx)(c.a.Body,{children:e.Helper||""})})})]}):Object(l.jsx)(l.Fragment,{})]}),Object(l.jsx)(r.a.Control,{size:"sm",type:"text",maxLength:e.MaxLength?e.MaxLength:Number.MAX_VALUE,placeholder:e.Placeholder||"",disabled:e.Disabled||!1,onChange:function(t){return function(t){e.SuscribedChange&&e.SuscribedChange(t.target.value)}(t)},className:"".concat(e.ClassName||""),defaultValue:e.DefaultValue||""}),e.handlerClean?Object(l.jsx)(d.a,{type:"button",variant:"outline-dark",size:"sm",onClick:function(t){return function(t){e.handlerClean&&e.handlerClean(t)}(t)},children:Object(l.jsx)(n.a,{icon:"trash-alt"})}):Object(l.jsx)(l.Fragment,{})]})}},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(1),i=(a(260),a(5)),r=a(22),o=a(9),c=a(104),d=a(0);t.default=function(e){var t=e.closeModal,a=e.selectedLanguage,l=Object(n.useState)(1),u=Object(s.a)(l,2),j=u[0],m=u[1],b=function(){m((function(e){return e+1}))},p=function(){t()},h=function(e){m(e)},g=Object(d.jsx)(i.a,{id:"size-guide-upper-clothing",defaultMessage:"Prendas Superiores"}),f=Object(d.jsx)(i.a,{id:"size-guide-lower-clothing",defaultMessage:"Prendas Inferiores"}),O=Object(d.jsx)(i.a,{id:"ready-size-bras",defaultMessage:"Sostenes"}),x=Object(d.jsx)(i.a,{id:"ready-size-footwear",defaultMessage:"Calzado"}),v={marginBottom:"30px"};return Object(d.jsx)("div",{className:"modal",children:Object(d.jsxs)("div",{className:"modal-intro-container",children:[1===j&&Object(d.jsxs)("div",{children:[Object(d.jsxs)("div",{className:"modal-intro-titles-container",children:[Object(d.jsx)("p",{className:"modal-intro-stepone-title",children:Object(d.jsx)(i.a,{id:"modal-intro-welcome-title",defaultMessage:"\xa1Bienvenidos a ReadySize!"})}),Object(d.jsx)("img",{src:{es:"img/modalwelcome.png",en:"img/modalintrohello.png",pt:"img/modalintroola.png"}[a],alt:"welcomeimage",className:"modalintro-step-one-img"}),Object(d.jsx)("p",{className:"modal-intro-tour",children:Object(d.jsx)(i.a,{id:"modal-intro-welcome-subtitle",defaultMessage:"En el siguiente Tour te mostramos como usar ReadySize para que mejore la experiencia de compra de tus clientes y tus ventas."})})]}),Object(d.jsxs)("div",{className:"modal-intro-stepzero-buttons-container",children:[Object(d.jsx)("button",{className:"modal-intro-stepzero-button-bg",onClick:b,children:Object(d.jsx)(i.a,{id:"modal-intro-watch-tour",defaultMessage:"Quiero ver el Tour"})}),Object(d.jsx)("button",{className:"modal-intro-stepzero-button-nobg",onClick:p,children:Object(d.jsx)(i.a,{id:"modal-intro-dont-watch",defaultMessage:"No gracias"})})]})]}),2===j&&Object(d.jsxs)("div",{className:"modal-intro-titles-container",children:[Object(d.jsx)("p",{className:"modal-intro-stepone-title",children:Object(d.jsx)(i.a,{id:"modal-intro-steptwo-title",defaultMessage:"1. Carga tus Gu\xedas de Talles"})}),Object(d.jsx)("p",{className:"modal-intro-stepone-subtitle",children:Object(d.jsx)(i.a,{id:"modal-intro-steptwo-subtitle",defaultMessage:"Para poder asociarlas a los productos de tu tienda."})}),Object(d.jsxs)("div",{className:"container-test",children:[Object(d.jsx)("p",{className:"modal-intro-stepone-clothing-type",children:Object(d.jsx)(i.a,{id:"ready-size-clothing-type",defaultMessage:"Tipo de prenda:"})}),Object(d.jsxs)(r.a,{className:"modalintro-templateguides-container",children:[Object(d.jsx)(o.a,{md:6,xl:6,style:v,children:Object(d.jsx)(c.default,{imgSrc:"img/upperclothingimg.png",paragraphText:g,mainContainerClass:"modal-intro-guide-template-main-container",imageContainerClass:"modal-intro-guide-template-imagecontainer",imageClass:"modal-intro-guide-temaplate-image",textContainerClass:"modal-intro-guide-template-textcontainer",textClass:"modal-intro-guide-template-text"})}),Object(d.jsx)(o.a,{md:6,xl:6,style:v,children:Object(d.jsx)(c.default,{imgSrc:"img/bottomwear.png",paragraphText:f,mainContainerClass:"modal-intro-guide-template-main-container",imageContainerClass:"modal-intro-guide-template-imagecontainer",imageClass:"modal-intro-guide-temaplate-image",textContainerClass:"modal-intro-guide-template-textcontainer",textClass:"modal-intro-guide-template-text"})}),Object(d.jsx)(o.a,{md:6,xl:6,style:v,children:Object(d.jsx)(c.default,{imgSrc:"img/braimg.png",paragraphText:O,mainContainerClass:"modal-intro-guide-template-main-container",imageContainerClass:"modal-intro-guide-template-imagecontainer",imageClass:"modal-intro-guide-temaplate-image",textContainerClass:"modal-intro-guide-template-textcontainer",textClass:"modal-intro-guide-template-text"})}),Object(d.jsx)(o.a,{md:6,xl:6,style:v,children:Object(d.jsx)(c.default,{imgSrc:"img/shoeimg2.png",paragraphText:x,mainContainerClass:"modal-intro-guide-template-main-container",imageContainerClass:"modal-intro-guide-template-imagecontainer",imageClass:"modal-intro-guide-temaplate-image",textContainerClass:"modal-intro-guide-template-textcontainer",textClass:"modal-intro-guide-template-text"})})]}),Object(d.jsx)("p",{className:"modal-intro-stepone-clothing-type",children:Object(d.jsx)(i.a,{id:"modal-intro-steptwo-configure",defaultMessage:"Configurar Talles:"})}),Object(d.jsxs)("div",{className:"modalintro-step-two-guidetemplate-main-container",children:[Object(d.jsxs)("div",{children:[Object(d.jsx)("p",{className:"modalintro-steptwo-sizes",children:Object(d.jsx)(i.a,{id:"ready-size-sizes",defaultMessage:"Talles"})}),Object(d.jsx)("img",{src:"img/introsizesimage1.png",alt:"clothinggrid",className:"modal-intro-stepone-clothing-grid-img"})]}),Object(d.jsxs)("div",{children:[Object(d.jsx)("p",{className:"modalintro-steptwo-bra",children:Object(d.jsx)(i.a,{id:"edit-size-guide-contornoBusto",defaultMessage:"Contorno de Buso"})}),Object(d.jsx)("img",{src:"img/introsizesimage2.png",alt:"clothinggrid",className:"modal-intro-stepone-clothing-grid-img"})]}),Object(d.jsxs)("div",{children:[Object(d.jsx)("p",{className:"modalintro-steptwo-waist",children:Object(d.jsx)(i.a,{id:"edit-size-guide-contornoCintura",defaultMessage:"Contorno de Cintura"})}),Object(d.jsx)("img",{src:"img/introsizesimage2.png",alt:"clothinggrid",className:"modal-intro-stepone-clothing-grid-img"})]})]}),Object(d.jsx)("div",{className:"modalintro-steptwo-measures-titles-container"})]}),Object(d.jsxs)("div",{className:"modal-intro-stepone-button-container",children:[Object(d.jsx)("button",{className:"modal-intro-button-nobg",onClick:p,children:Object(d.jsx)(i.a,{id:"ready-size-close",defaultMessage:"Salir"})}),Object(d.jsxs)("div",{className:"modal-intro-dots",children:[Object(d.jsx)("span",{className:2===j?"active-dot":"dot",onClick:function(){return h(2)}}),Object(d.jsx)("span",{className:"dot",onClick:function(){return h(3)}}),Object(d.jsx)("span",{className:"dot",onClick:function(){return h(4)}})]}),Object(d.jsx)("button",{className:"modal-intro-button-bg",onClick:b,children:Object(d.jsx)(i.a,{id:"readysize-next",defaultMessage:"Siguiente"})})]})]}),3===j&&Object(d.jsxs)("div",{className:"modal-intro-titles-container",children:[Object(d.jsx)("p",{className:"modal-intro-stepone-title",children:Object(d.jsx)(i.a,{id:"modal-intro-stepthree-title",defaultMessage:"2. Carga tus Productos"})}),Object(d.jsx)("p",{className:"modal-intro-stepone-subtitle",children:Object(d.jsx)(i.a,{id:"modal-intro-stepthree-subtitle",defaultMessage:"Ingresa tus Productos, puede ser manualmente o de forma masiva\r (con un excel o por API)."})}),Object(d.jsxs)("div",{className:"mondalintro-step-three-image-container",children:[Object(d.jsxs)("div",{className:"mondalintro-step-three-subcontainer",children:[Object(d.jsx)("img",{src:"img/individual.png",alt:"productloadingimg",className:"modal-intro-step-three-img"}),Object(d.jsx)("p",{children:Object(d.jsx)(i.a,{id:"modal-intro-individual-load",defaultMessage:"Carga individual manual (Plantilla)"})})]}),Object(d.jsxs)("div",{className:"mondalintro-step-three-subcontainer",children:[Object(d.jsx)("img",{src:"img/excel.png",alt:"productloadingimg",className:"modal-intro-step-three-img"}),Object(d.jsx)("p",{children:Object(d.jsx)(i.a,{id:"modal-intro-massive-load",defaultMessage:"Carga masiva por archivo (Excel)"})})]}),Object(d.jsxs)("div",{className:"mondalintro-step-three-subcontainer",children:[Object(d.jsx)("img",{src:"img/api.png",alt:"productloadingimg",className:"modal-intro-step-three-img"}),Object(d.jsx)("p",{children:Object(d.jsx)(i.a,{id:"modal-intro-auto-load",defaultMessage:"Carga automatizada (API)"})})]})]}),Object(d.jsx)("p",{className:"modal-intro-stepone-clothing-type-step-three",children:Object(d.jsx)(i.a,{id:"modal-intro-stepthree-products",defaultMessage:"Productos:"})}),Object(d.jsxs)("div",{className:"modalintro-step-three-table-img-container",children:[Object(d.jsxs)("div",{className:"modalintro-step-three-table-content-container",children:[Object(d.jsxs)("div",{className:"modalintro-step-three-table-p-helper-container",children:[Object(d.jsx)("p",{className:"modalintro-step-three-table-p",children:Object(d.jsx)(i.a,{id:"ready-size-code",defaultMessage:"C\xf3digo"})}),Object(d.jsx)("img",{src:"img/helper.png",alt:"helper",className:"modalintro-step-three-table-helper"})]}),Object(d.jsx)("img",{src:"img/table1.png",alt:"table",className:""})]}),Object(d.jsxs)("div",{className:"",children:[Object(d.jsx)("p",{className:"modalintro-step-three-table-p",children:Object(d.jsx)(i.a,{id:"ready-size-alias",defaultMessage:"Alias"})}),Object(d.jsx)("img",{src:"img/table2.png",alt:"table",className:""})]}),Object(d.jsxs)("div",{className:"",children:[Object(d.jsx)("p",{className:"modalintro-step-three-table-p",children:Object(d.jsx)(i.a,{id:"ready-size-description",defaultMessage:"Descripci\xf3n"})}),Object(d.jsx)("img",{src:"img/table3.png",alt:"table",className:""})]})]}),Object(d.jsxs)("div",{className:"modal-intro-stepone-button-container-stepthree",children:[Object(d.jsx)("button",{className:"modal-intro-button-nobg",onClick:p,children:Object(d.jsx)(i.a,{id:"ready-size-close",defaultMessage:"Salir"})}),Object(d.jsxs)("div",{className:"modal-intro-dots",children:[Object(d.jsx)("span",{className:"dot",onClick:function(){return h(2)}}),Object(d.jsx)("span",{className:3===j?"active-dot":"dot",onClick:function(){return h(3)}}),Object(d.jsx)("span",{className:"dot",onClick:function(){return h(4)}})]}),Object(d.jsx)("button",{className:"modal-intro-button-bg",onClick:b,children:Object(d.jsx)(i.a,{id:"readysize-next",defaultMessage:"Siguiente"})})]})]}),4===j&&Object(d.jsxs)("div",{className:"modal-intro-titles-container",children:[Object(d.jsx)("p",{className:"modal-intro-stepone-title",children:Object(d.jsx)(i.a,{id:"modal-intro-stepfour-title",defaultMessage:"3. Asocia productos con gu\xedas"})}),Object(d.jsx)("p",{className:"modal-intro-stepone-subtitle",children:Object(d.jsx)(i.a,{id:"modal-intro-stepfour-subtitle",defaultMessage:"Asocia tus Productos a las Gu\xedas de Talles que generaste antes."})}),Object(d.jsxs)("div",{className:"modalintro-step-four-container",children:[Object(d.jsx)("div",{children:Object(d.jsx)("img",{src:"img/modalintrorightclothes.png",alt:"table",className:""})}),Object(d.jsxs)("div",{className:"modalintro-step-four-guide-template",children:[Object(d.jsx)("img",{src:"img/modalintroclothes.png",alt:"table",className:"modalintro-step-four-topclothing-image"}),Object(d.jsxs)("p",{className:"modalintro-step-four-topclothing-p",children:[" ",Object(d.jsx)(i.a,{id:"size-guide-upper-clothing",defaultMessage:"Prendas Superiores"})]})]})]}),Object(d.jsx)("p",{className:"modal-intro-stepfour-ready",children:Object(d.jsx)(i.a,{id:"modal-intro-stepfour-ready",defaultMessage:"\xa1Listo! ya puedes empezar a usar Fitprenda."})}),Object(d.jsxs)("div",{className:"modal-intro-stepone-button-container-stepfour",children:[Object(d.jsx)("button",{className:"modal-intro-button-nobg",onClick:function(){t()},children:Object(d.jsx)(i.a,{id:"ready-size-close",defaultMessage:"Salir"})}),Object(d.jsxs)("div",{className:"modal-intro-dots",children:[Object(d.jsx)("span",{className:"dot",onClick:function(){return h(2)}}),Object(d.jsx)("span",{className:"dot",onClick:function(){return h(3)}}),Object(d.jsx)("span",{className:4===j?"active-dot":"dot",onClick:function(){return h(4)}})]}),Object(d.jsx)("button",{className:"modal-intro-button-bg",onClick:p,children:Object(d.jsx)(i.a,{id:"ready-size-begin",defaultMessage:"Empezar"})})]})]})]})})}},function(e,t,a){},function(e,t,a){},function(e,t,a){"use strict";a.r(t);a(1);var s=a(40),n=a(51),i=a(5),r=a(0);t.default=function(e){var t=e.show,a=e.onHide;return Object(r.jsxs)(s.a,{show:t,onHide:a,centered:!0,children:[Object(r.jsx)(s.a.Header,{closeButton:!0,children:Object(r.jsx)(s.a.Title,{children:Object(r.jsx)(i.a,{id:"limit-reached-title",defaultMessage:"Limit Reached"})})}),Object(r.jsx)(s.a.Body,{children:Object(r.jsx)("p",{children:Object(r.jsx)(i.a,{id:"limit-reached-message",defaultMessage:"You have reached the limit for this action."})})}),Object(r.jsx)(s.a.Footer,{children:Object(r.jsx)(n.a,{variant:"secondary",onClick:a,children:Object(r.jsx)(i.a,{id:"close",defaultMessage:"Close"})})})]})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(33),i=a(1),r=a(5),o=(a(265),a(0));t.default=function(e){var t=e.headingId,a=e.paragraphIds,c=e.firstParagraphBackgroun
1dColor,d=e.tooltipRight,l=void 0===d?"50px":d,u=e.tooltipWidth,j=void 0===u?"300px":u,m=e.tooltipTop,b=void 0===m?"-50px":m,p=Object(i.useState)(!1),h=Object(s.a)(p,2),g=h[0],f=h[1];return Object(o.jsxs)("div",{style:{position:"relative"},children:[Object(o.jsx)(n.a,{icon:"pi pi-question-circle",onClick:function(){f(!g)},className:"readysize-tooltip-container"}),g&&Object(o.jsx)("div",{className:"tooltip-content-container",style:{position:"absolute",backgroundColor:"white",padding:"15px 25px 15px",border:"1px solid #ccc",borderRadius:"5px",zIndex:1e3,right:l,width:j,top:b},children:Object(o.jsxs)("div",{children:[Object(o.jsx)("h4",{className:"rs-habilitado-btn-h4",children:Object(o.jsx)(r.a,{id:t})}),Object(o.jsx)("p",{style:{backgroundColor:c},className:"rs-habilitado-btn",children:Object(o.jsx)(r.a,{id:a[0]})}),Object(o.jsx)("p",{className:"rs-habilitado-btn-info",children:Object(o.jsx)(r.a,{id:a[1]})})]})})]})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(1),i=(a(267),a(66)),r=a(5),o=a(134),c=a(33),d=a(70),l=a(54),u=a(16),j=a(149),m=a(0);t.default=function(e){var t=e.closeModal,a=(e.selectedLanguage,e.user),b=Object(n.useState)(1),p=Object(s.a)(b,2),h=p[0],g=p[1],f=function(){g((function(e){return e+1}))},O=function(){t()},x=function(){},v=Object(i.a)();return Object(m.jsx)("div",{className:"modal",children:Object(m.jsxs)("div",{className:"modal-intro-container",children:[1===h&&Object(m.jsxs)("div",{children:[Object(m.jsxs)("div",{className:"modal-intro-titles-container",children:[Object(m.jsx)("p",{className:"modal-intro-stepone-title",children:Object(m.jsxs)(m.Fragment,{children:[Object(m.jsx)(r.a,{id:"ready-size-ms-welcome",defaultMessage:"Bienvenidos "}),a&&a.Name?" ".concat(a.Name):""]})}),Object(m.jsx)("img",{src:"img/welcomeballoon.png",alt:"welcomeimage",className:"ms-onboarding-stepone-img"}),Object(m.jsx)("p",{className:"modal-intro-tour",children:Object(m.jsx)(r.a,{id:"ready-size-ms-intro-text",defaultMessage:"Bienvenido! este es un tutorial para que aprendas a manejar nuestro administrador. Aqu\xed encontrar\xe1s todos los pasos necesarios para sacar el m\xe1ximo provecho de nuestras herramientas."})})]}),Object(m.jsxs)("div",{className:"modal-intro-stepzero-buttons-container",children:[Object(m.jsx)("button",{className:"modal-intro-stepzero-button-bg",onClick:f,children:Object(m.jsx)(r.a,{id:"ready-size-ms-begin",defaultMessage:"Comenzar"})}),Object(m.jsx)("button",{className:"modal-intro-stepzero-button-bg-close",onClick:O,children:Object(m.jsx)(r.a,{id:"modal-intro-dont-watch",defaultMessage:"No Gracias"})})]})]}),2===h&&Object(m.jsxs)("div",{className:"modal-intro-titles-container-two",children:[Object(m.jsx)("p",{className:"modal-intro-stepone-title",children:Object(m.jsx)(r.a,{id:"ready-size-ms-steptwo-title",defaultMessage:"Nuestra UI"})}),Object(m.jsxs)("div",{className:"ms-step-two-first-exp",children:[Object(m.jsx)("p",{className:"ms-step-first-text",children:Object(m.jsx)(r.a,{id:"table-modalintro-stepone-firsthelper",defaultMessage:"Estos botones te van a ayudar a encontrar tus productos no\r clasificados y deshabilitados para asi poder darlos de alta mas\r facilmente"})}),Object(m.jsxs)("div",{className:"ms-onboarding-step-two-btnclss-container",children:[Object(m.jsx)(o.default,{messageId:"ready-size-ms-noclasificado",quantity:"20",onClick:x}),Object(m.jsx)(o.default,{messageId:"ready-size-deshabilitado",quantity:"4",onClick:x})]})]}),Object(m.jsxs)("div",{className:"ms-step-two-second-exp",children:[Object(m.jsxs)("div",{className:"ms-search-refresh-container",children:[Object(m.jsx)("img",{src:"img/mstooltipsearch.png",alt:"welcomeimage",className:"ms-tooltip-img"}),Object(m.jsx)("input",{type:"text",placeholder:v.formatMessage({id:"ms-table-column-search",defaultMessage:"Buscar producto..."}),className:"p-inputtext p-component"})]}),Object(m.jsx)("div",{children:Object(m.jsx)("p",{className:"ms-onboard-textone",children:Object(m.jsx)(r.a,{id:"table-modalintro-stepone-secondhelper",defaultMessage:"Con este tooltip podes volver a ver el tutorial cuando te sea\r necesario! Con nuestro buscador podes filtrar productos por su\r numbre o codigo de gu\xeda."})})})]}),Object(m.jsxs)("div",{className:"ms-step-two-second-exp",children:[Object(m.jsx)("div",{className:"ms-search-refresh-container",children:Object(m.jsx)("p",{className:"ms-onboard-texttwo",children:Object(m.jsx)(r.a,{id:"table-modalintro-stepone-thirdhelper",defaultMessage:"Para traer tus productos desde Mercado Shops, vas a tener que\r usar el boton de Sync Marketplace, para ver tus cambios el\r otro, podes tambien sincronizar productos individualmente, una vez que termines de clasificar tus productos no te\r olvides de guardarlos!."})})}),Object(m.jsx)("div",{children:Object(m.jsxs)("div",{className:"ms-step-two-search-refresh-container",children:[Object(m.jsx)("div",{className:"",children:Object(m.jsx)("button",{className:"mssync-button",children:Object(m.jsx)(r.a,{id:"ready-size-sync",defaultMessage:"Sync Marketplace"})})}),Object(m.jsxs)("div",{className:"ms-save-buttons",children:[Object(m.jsx)(d.default,{label:Object(m.jsx)(r.a,{id:"ready-size-ms-load",defaultMessage:"Guardar"}),isOutline:!1}),Object(m.jsx)(d.default,{label:Object(m.jsx)(r.a,{id:"ready-size-Guardar",defaultMessage:"Guardar"}),isOutline:!1})]}),Object(m.jsx)("div",{children:Object(m.jsx)(c.a,{icon:"pi pi-refresh",className:"ms-refresh-button"})})]})})]}),Object(m.jsx)("div",{className:"ms-modal-intro-stepone-button-container",children:Object(m.jsx)("button",{className:"ms-modal-intro-button-bg-next-step-two",onClick:f,children:Object(m.jsx)(r.a,{id:"readysize-next",defaultMessage:"Siguiente"})})})]}),3===h&&Object(m.jsxs)("div",{className:"modal-intro-titles-container-three",children:[Object(m.jsx)("p",{className:"modal-intro-stepone-title",children:Object(m.jsx)(r.a,{id:"ready-size-ms-stepthree-title",defaultMessage:"Alta de Gu\xedas"})}),Object(m.jsxs)("div",{children:[Object(m.jsxs)(l.a,{value:[{id:1,image:"img/msshirtdemo.jpg",code:"ABC123",fit:"Regular"}],children:[Object(m.jsx)(u.a,{header:Object(m.jsx)(r.a,{id:"ms-table-column-image",defaultMessage:"Imagen"}),body:function(e){return Object(m.jsx)("img",{src:e.image,alt:"Product",className:"product-image"})}}),Object(m.jsx)(u.a,{field:"code",header:Object(m.jsx)(r.a,{id:"ms-table-column-code",defaultMessage:"C\xf3digo"}),sortable:!0}),Object(m.jsx)(u.a,{header:Object(m.jsx)(r.a,{id:"ms-table-column-fit",defaultMessage:"Calce"}),body:function(e){return Object(m.jsx)(j.default,{placeholder:Object(m.jsx)(r.a,{id:"ms-choose-fit",defaultMessage:"Elegir Fit"})})}})]}),Object(m.jsx)("p",{className:"ms-stepthree-exp",children:Object(m.jsx)(r.a,{id:"ready-size-ms-stepthree-firsthelper",defaultMessage:"Podes seleccionar varios productos en simultaneo y asignarles un\r codigo de gu\xeda o fit a todas al mismo tiempo, acordate de\r guardar tus cambios una vez que termines!"})}),Object(m.jsxs)("div",{className:"rs-step-three-tooltips-container",children:[Object(m.jsx)("h4",{className:"rs-habilitado-btn-h4",children:Object(m.jsx)(r.a,{id:"ready-size-ms-stepthree-secondhelper-title",defaultMessage:"Para tener en cuenta:"})}),Object(m.jsxs)("div",{className:"rs-tooltips-container",children:[Object(m.jsxs)("div",{children:[Object(m.jsx)("p",{className:"rs-classified-btn",children:Object(m.jsx)(r.a,{id:"ready-size-classified",defaultMessage:"Clasificado"})}),Object(m.jsx)("p",{className:"rs-habilitado-btn-info",children:Object(m.jsx)(r.a,{id:"ready-size-classified-subtitle",defaultMessage:"Es un producto que tiene codigo de gu\xeda, fit por lo tanto\r esta listo para calcular talles."})})]}),Object(m.jsxs)("div",{children:[Object(m.jsxs)("p",{className:"rs-habilitado-btn-info-alt",children:[Object(m.jsx)(r.a,{id:"ready-size-habilitado-btn-info-alt-start",defaultMessage:"Un producto comienza "}),Object(m.jsx)("span",{className:"deshabilitado",children:Object(m.jsx)(r.a,{id:"ready-size-habilitado-btn-info-alt-deshabilitado",defaultMessage:"deshabilitado"})}),Object(m.jsx)(r.a,{id:"ready-size-habilitado-btn-info-alt-middle",defaultMessage:", una vez "}),Object(m.jsx)("span",{className:"clasificado",children:Object(m.jsx)(r.a,{id:"ready-size-habilitado-btn-info-alt-clasificado",defaultMessage:"clasificado"})}),Object(m.jsx)(r.a,{id:"ready-size-habilitado-btn-info-alt-end",defaultMessage:", este se puede "}),Object(m.jsx)("span",{className:"desactivar",children:Object(m.jsx)(r.a,{id:"ready-size-habilitado-btn-info-alt-desactivar",defaultMessage:"desactivar"})}),Object(m.jsx)(r.a,{id:"ready-size-habilitado-btn-info-alt-final",defaultMessage:" moment\xe1neamente."})]}),Object(m.jsxs)("div",{className:"ms-modalintro-active-buttons-container",children:[Object(m.jsxs)("div",{className:"ms-modalintro-active-title-sort",children:[Object(m.jsx)("p",{children:Object(m.jsx)(r.a,{id:"ms-table-column-enabled",defaultMessage:"Habilitado"})}),Object(m.jsx)("img",{className:"ms-modalintro-active-title-sort-image",src:"img/ms-table-sort.png",alt:"sortimage"})]}),Object(m.jsx)("div",{className:"ms-modalintro-active-buttons-image",children:Object(m.jsx)("img",{src:"img/table-buttons-img-alt-hor.png",alt:"activebuttons"})})]})]})]})]}),Object(m.jsx)("button",{className:"ms-modal-intro-button-bg-last",onClick:O,children:Object(m.jsx)(r.a,{id:"ready-size-ms-begin",defaultMessage:"Comenzar"})})]})]})]})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);a(1),a(269);var s=a(19),n=a(5),i=a(62),r=a(0);t.default=function(e){var t=e.icon,a=void 0===t?null:t,o=e.titleId,c=(e.subt
1itleId,e.definitionId),d=e.items,l=e.isActive,u=void 0!==l&&l;return Object(r.jsxs)("div",{className:"pricecard-main-container ".concat(u?"":"inactive"),children:[Object(r.jsx)("div",{className:"pricecard-check-container",children:a&&Object(r.jsx)(s.a,{icon:a,size:"2x",className:"pricecard-plancheck"})}),Object(r.jsxs)("div",{className:"pricecard-title-container",children:[Object(r.jsx)("p",{className:"pricecard-title",children:Object(r.jsx)(n.a,{id:o})}),Object(r.jsx)("p",{className:"pricecard-definition",children:Object(r.jsx)(n.a,{id:c})})]}),Object(r.jsx)("div",{className:"pricecard-item-container",children:Object(r.jsx)("ul",{className:"pricecard-items-ul",children:d.map((function(e,t){return Object(r.jsxs)("li",{children:[Object(r.jsx)(s.a,{className:"pricecard-checkicon ".concat(u?"":"inactive-checkicon"),icon:i.c,size:"lg"}),Object(r.jsx)(n.a,{id:e})]},t)}))})})]})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(33),i=a(1),r=(a(156),a(5)),o=a(0);t.default=function(){var e=Object(i.useState)(!1),t=Object(s.a)(e,2),a=t[0],c=t[1];return Object(o.jsxs)("div",{style:{position:"relative"},children:[Object(o.jsx)(n.a,{icon:"pi pi-question-circle",onClick:function(){c(!a)},className:"readysize-tooltip-container"}),a&&Object(o.jsx)("div",{className:"tooltip-content",style:{position:"absolute",backgroundColor:"white",padding:"15px 20px 15px",border:"1px solid #ccc",borderRadius:"5px",zIndex:1e3,right:"0px",left:"50px",width:"400px",height:"auto",top:"-70px"},children:Object(o.jsx)("div",{children:Object(o.jsx)("p",{children:Object(o.jsx)(r.a,{id:"aliasTooltip",defaultMessage:"Podes agregar mas sitios a tu administrador"})})})})]})}},function(e,t,a){"use strict";a.r(t);var s=a(8),n=a.n(s),i=a(17),r=a(3),o=a(1),c=a(32),d=a(10),l=a(0);t.default=function(e){var t=Object(o.useState)([]),a=Object(r.a)(t,2),s=a[0],u=a[1],j=Object(o.useState)(!0),m=Object(r.a)(j,2),b=m[0],p=m[1],h=Object(o.useState)(0),g=Object(r.a)(h,2),f=(g[0],g[1]);Object(o.useEffect)((function(){Object(i.a)(n.a.mark((function e(){var t;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.SizeGuideServices.GetTypesSizeGuide();case 2:t=e.sent,u(t),p(!1);case 5:case"end":return e.stop()}}),e)})))()}),[]);return Object(l.jsx)(l.Fragment,{children:Object(l.jsxs)(c.a.Group,{className:"justify-content-center ".concat(e.ClassGroup||""),children:[Object(l.jsx)(c.a.Label,{className:"font-label-form",children:e.Label||""}),b?Object(l.jsx)(l.Fragment,{}):Object(l.jsx)(c.a.Select,{size:"sm",disabled:e.Disabled||!1,onChange:function(t){return function(t){f(parseInt(t.target.value)),e.SuscribedChange&&e.SuscribedChange(parseInt(t.target.value))}(t)},defaultValue:e.DefaultValue&&s.length>0?e.DefaultValue:void 0,children:null===s||void 0===s?void 0:s.map((function(e,t){return Object(l.jsx)("option",{value:e.Id,children:e.Name},"select-type-sizeguide-".concat(e.Id))}))},"select-type-sizeguide")]})})}},function(e,t,a){"use strict";a.r(t),a.d(t,"options",(function(){return o})),a.d(t,"data",(function(){return l}));var s=a(73),n=(a(273),a(35)),i=a(99),r=a(0);n.e.register(n.d,n.j,n.b,n.p,n.q,n.g);var o={responsive:!0,plugins:{legend:{position:"top",display:!1,labels:{font:{size:10,family:"Poppins",weight:"500",lineHeight:21}}},title:{display:!1,text:"Chart.js Bar Chart"}},layout:{padding:20},scales:{x:{grid:{display:!1,color:"#ffffff"},beginAtZero:!1,ticks:{color:"#ffffff",backdropColor:"#ffffff"}},y:{grid:{display:!1,color:"#ffffff"},beginAtZero:!0,ticks:{color:"#ffffff",backdropColor:"#ffffff"}}}},c=[{id:"",beforeDraw:function(e){if(e.chartArea)for(var t=e.getDatasetMeta(0).data,a=0;a<t.length;a++)t[a].width=15,t[a].options.borderRadius=20,t[a].options.borderWidth=1}}],d=["XS","S","M","L","XL","2XL","3XL","4XL"],l={labels:d,datasets:[{label:"",data:d.map((function(){return Math.floor(50*Math.random())})),backgroundColor:"#ffffff"}]};t.default=function(e){return Object(r.jsx)(r.Fragment,{children:Object(r.jsxs)(s.a,{className:"z-index-2 shadow-sm rounded-3 dashboard-charts",children:[Object(r.jsx)(s.a.Header,{className:"p-0 position-relative mt-n4 mx-2 z-index-2 bg-transparent border-bottom-0",children:Object(r.jsx)("div",{className:"".concat(e.bgClass?e.bgClass:"bg-danger-fitprenda"," shadow-primary border-radius-lg py-3 pe-1"),children:Object(r.jsx)(i.a,{options:o,data:e.DataValue&&e.DataValue.length>0?{labels:Array.prototype.map.call(e.DataValue,(function(e){return e.Name.toString()}))||[],datasets:[{label:"",data:Array.prototype.map.call(e.DataValue,(function(e){return parseInt(e.Value)}))||[],backgroundColor:"#ffffff"}]}:{labels:[],datasets:[{label:"",data:[],backgroundColor:"#ffffff"}]},plugins:c})})}),Object(r.jsx)(s.a.Body,{children:Object(r.jsx)("p",{className:"text-muted small text-end",children:e.title||""})})]})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t),a.d(t,"options",(function(){return o}
1)),a.d(t,"data",(function(){return d}));var s=a(73),n=(a(275),a(35)),i=a(99),r=a(0);n.e.register(n.d,n.j,n.l,n.i,n.p,n.q,n.g);var o={responsive:!0,plugins:{legend:{position:"top",display:!1,labels:{font:{size:10,family:"Poppins",weight:"500",lineHeight:21}}},title:{display:!1,text:"Chart.js Bar Chart"}},layout:{padding:20},scales:{x:{grid:{display:!1,color:"#ffffff"},beginAtZero:!0,ticks:{color:"#ffffff",backdropColor:"#ffffff"}},y:{grid:{display:!1,color:"#ffffff"},beginAtZero:!0,ticks:{color:"#ffffff",backdropColor:"#ffffff"}}}},c=["Lu","Ma","Mie","Jue","Vi","Sa","Do"],d={labels:c,datasets:[{label:"",data:c.map((function(){return Math.floor(500*Math.random())})),borderColor:"#ffffff",fill:!1}]};t.default=function(e){return Object(r.jsx)(r.Fragment,{children:Object(r.jsxs)(s.a,{className:"z-index-2 shadow-sm rounded-3 dashboard-charts",children:[Object(r.jsx)(s.a.Header,{className:"p-0 position-relative mt-n4 mx-2 z-index-2 bg-transparent border-bottom-0",children:Object(r.jsx)("div",{className:"".concat(e.bgClass?e.bgClass:"bg-danger-fitprenda"," shadow-primary border-radius-lg py-3 pe-1"),children:Object(r.jsx)(i.b,{options:o,data:e.DataValue&&e.DataValue.length>0?{labels:Array.prototype.map.call(e.DataValue,(function(e){return e.Name.toString()}))||[],datasets:[{label:"",data:Array.prototype.map.call(e.DataValue,(function(e){return parseInt(e.Value)}))||[],backgroundColor:"#ffffff",fill:!1}]}:{labels:[],datasets:[{label:"",data:[],backgroundColor:"#ffffff",fill:!1}]}})})}),Object(r.jsx)(s.a.Body,{children:Object(r.jsx)("p",{className:"text-muted small text-end",children:e.title||""})})]})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t),a.d(t,"options",(function(){return c}));var s=a(73),n=(a(277),a(6)),i=a(35),r=a(99),o=a(0);i.e.register(i.d,i.j,i.b,i.p,i.q,i.g);var c={responsive:!0,plugins:{legend:{position:"top",display:!1,labels:{font:{size:10,family:"Poppins",weight:"500",lineHeight:21}}},title:{display:!1,text:"Chart.js Bar Chart"}},layout:{padding:20},scales:{x:{grid:{display:!1,color:"#ffffff"},beginAtZero:!1,ticks:{color:"#ffffff",backdropColor:"#ffffff"}},y:{grid:{display:!1,color:"#ffffff"},beginAtZero:!0,ticks:{color:"#ffffff",backdropColor:"#ffffff"}}}},d=[{id:"",beforeDraw:function(e){if(e.chartArea)for(var t=e.getDatasetMeta(0).data,a=0;a<t.length;a++)t[a].width=15,t[a].options.borderRadius=20,t[a].options.borderWidth=1}}];t.default=function(e){return Object(o.jsx)(o.Fragment,{children:Object(o.jsxs)(s.a,{className:"z-index-2 shadow-sm rounded-3 dashboard-charts",children:[Object(o.jsx)(s.a.Header,{className:"p-0 position-relative mt-n4 mx-2 z-index-2 bg-transparent border-bottom-0",children:Object(o.jsx)("div",{className:"".concat(e.bgClass?e.bgClass:"bg-danger-fitprenda"," shadow-primary border-radius-lg py-3 pe-1"),children:Object(o.jsx)(r.a,{options:c,data:e.DataValue&&e.DataValue.Data?{labels:Array.prototype.map.call(e.DataValue.Data,(function(e){return e.Name.toString()}))||[],datasets:[{label:"",data:Array.prototype.map.call(e.DataValue.Data,(function(e){return parseInt(e.Value)}))||[],backgroundColor:"#ffffff"}]}:{labels:[],datasets:[{label:"",data:[],backgroundColor:"#ffffff"}]},plugins:d})})}),Object(o.jsxs)(s.a.Body,{children:[Object(o.jsx)("p",{className:"text-muted small text-end",children:e.title||""}),Object(o.jsx)("div",{className:"dashboard-statistics-download",children:Object(o.jsx)(n.DashboardModal,{DefaultData:e.DataValue&&e.DataValue.Id?e.DataValue.Id:0,SuscribedChange:function(t){return function(t){e.SuscribedChange&&e.SuscribedChange(t)}(t)}})})]})]})})}},function(e,t,a){},function(e,t,a){"use strict";a.r(t);var s=a(8),n=a.n(s),i=a(17),r=a(3),o=a(1),c=a(58),d=a(10),l=a(0);t.default=function(e){var t=e.placeholder,a=e.value,s=e.onChange,u=e.ByCode,j=void 0!==u&&u,m=Object(o.useState)(),b=Object(r.a)(m,2),p=b[0],h=b[1],g=Object(o.useState)(!0),f=Object(r.a)(g,2),O=f[0],x=f[1],v=function(e){s&&s(e.value)};return Object(o.useEffect)((function(){Object(i.a)(n.a.mark((function e(){var t,a,s,i;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!j){e.next=16;break}return e.prev=1,x(!0),e.next=5,d.SizeGuideServices.GetSizesGuidesRelatedCode();case 5:200===(t=e.sent).Status&&t.Content.length?(a=t.Content.map((function(e){return{value:e.Id.toString(),name:e.Name}})),h(a)):h([]),x(!1),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(1),console.log("ColumnSelectSizeGuide ERROR",e.t0),x(!1);case 14:e.next=29;break;case 16:return e.prev=16,x(!0),e.next=20,d.SizeGuideServices.GetSizesGuides();case 20:200===(s=e.sent).Status&&s.Content.length?(i=s.Content.map((function(e){return{value:e.Id.toString(),name:e.Name}})),h(i)):h([]),x(!1),e.next=29;break;case 25:e.prev=25,e.t1=e.catch(16),console.log("ColumnSelectSizeGuide ERROR",e.t1),x(!1);case 29:case"end":return e.stop()}}),e,null,[[1,10],[16,25]])})))()}),[]),Object(l.jsx)("div",{className:"card flex justify-content-center",children:!O&&Object(l.jsx)(c.a,{value:p&&p.length?a:null,onChange:function(e){return v(e)},options:p,optionLabel:"name",placeholder:t,className:"w-full md:w-14rem",style:{minWidth:"100%"}})})}},function(e,t,a){"use strict";a.r(t);var s=a(1);t.default=function(){return Object(s.useEffect)((function(){var e=document.createElement("script");return e.type="text/javascript",e.innerHTML='window.$crisp=[];window.CRISP_WEBSITE_ID="62f30a33-35ac-4f8b-aae2-a9e7f9fa7930";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();',document.head.appendChild(e),function(){document.head.removeChild(e)}}),[]),null}},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return g}));var s=a(20),n=a(21),i=a(31),r=a(30),o=a(1),c=a.n(o),d=a(9),l=a(22),u=a(10),j=a(6),m=a(7),b=(a(287),a(5)),p=a(53),h=a(0),g=function(e){Object(i.a)(a,e);var t=Object(r.a)(a);function a(e){var n;return Object(s.a)(this,a),(n=t.call(this,e)).prevLanguage=void 0,n.openModal=function(e){var t=e.currentTarget.getAttribute("data-selected-language");n.setState({showModal:!0,selectedLanguage:t})},n.closeModal=function(){var e=u.StorageServices.GetCookieUser();e.ShowOnBoard=!1,u.StorageServices.SetCookieUser(e),n.setState({showModal:!1})},n.handleLanguageChange=function(e){var t;"es"===e?t=p.b:"en"===e?t=p.a:"pt"===e&&(t=p.c),localStorage.setItem("readysizelocale",e),n.props.changeLanguage(e,t)},n.state={currentUser:u.StorageServices.GetCookieUser(),warningsHealth:null,showModal:u.StorageServices.GetCookieUser().ShowOnBoard,selectedLanguage:localStorage.getItem("readysizelocale")||"en"},n.prevLanguage=n.state.selectedLanguage,n}
1return Object(n.a)(a,[{key:"componentDidMount",value:function(){var e=this,t=localStorage.getItem("readysizelocale")||"en",a=u.StorageServices.GetCookieUser();this.setState({selectedLanguage:t,currentUser:a,warningsHealth:null,showModal:a.ShowOnBoard,contractType:a.Contract&&"Free"===a.Contract.Name?m.E_ContractType.FREE:m.E_ContractType.NONE});try{u.Health.GetWarningsHealth().then((function(t){200===t.Status&&e.setState({warningsHealth:t.Content})}))}catch(s){console.log(s)}this.prevLanguage=this.state.selectedLanguage}},{key:"componentDidUpdate",value:function(){this.state.selectedLanguage!==this.prevLanguage&&(this.forceUpdate(),this.prevLanguage=this.state.selectedLanguage)}},{key:"contentInternalActionTools",value:function(){return Object(h.jsxs)(h.Fragment,{children:[Object(h.jsx)(d.a,{children:Object(h.jsxs)(l.a,{className:"my-3 login-section",children:[Object(h.jsx)(d.a,{xs:5,className:"login-section-image-one",children:Object(h.jsx)("img",{src:"/img/icon-size-guide.png",alt:"Settings Size Guides",width:80,className:"main-guideconfig-image"})}),Object(h.jsxs)(d.a,{xs:7,children:[Object(h.jsx)("div",{children:Object(h.jsx)("span",{className:"font-fitprenda-action-description",children:Object(h.jsx)(b.a,{id:"home-configure"})})}),Object(h.jsx)("div",{className:"mt-4",children:Object(h.jsx)("a",{href:"/readysize/sizes-guides",className:"link-fitprenda-action pt-4 fitprenda-mainhome-configurar-guia",children:Object(h.jsx)(b.a,{id:"home-configure-guide"})})})]})]})}),Object(h.jsx)("div",{className:"box-fitprenda-internal-separator"}),Object(h.jsx)(d.a,{children:Object(h.jsxs)(l.a,{className:"my-3 login-section",children:[Object(h.jsx)(d.a,{xs:5,className:"login-section-image-two",children:Object(h.jsx)("img",{src:"/img/icon-products.png",alt:"Settings Products",width:97,className:"main-loadprod-image"})}),Object(h.jsxs)(d.a,{xs:7,children:[Object(h.jsx)("div",{children:Object(h.jsxs)("span",{className:"font-fitprenda-action-description",children:[Object(h.jsx)(b.a,{id:"home-upload"}),Object(h.jsx)("br",{}),Object(h.jsx)("br",{className:"d-xxl-none"})]})}),Object(h.jsx)("div",{className:"fitprenda-mainhome-carga-productos",children:Object(h.jsx)("a",{href:"/readysize/products",className:"link-fitprenda-action pt-5",children:Object(h.jsx)(b.a,{id:"home-upload-products"})})})]})]})}),Object(h.jsx)("div",{className:"box-fitprenda-internal-separator"}),Object(h.jsx)(d.a,{children:Object(h.jsxs)(l.a,{className:"my-3 login-section",children:[Object(h.jsx)(d.a,{xs:5,className:"login-section-image-three",children:Object(h.jsx)("img",{src:"/img/icon-statistics.png",alt:"View Dashboard",width:97,className:"mt-auto pt-3 main-stats-image"})}),Object(h.jsxs)(d.a,{xs:7,children:[Object(h.jsx)("div",{children:Object(h.jsx)("span",{className:"font-fitprenda-action-description",children:Object(h.jsx)(b.a,{id:"home-review"})})}),Object(h.jsx)("div",{className:"mt-5",children:Object(h.jsx)("a",{href:"/readysize/charts",className:"link-fitprenda-action pt-5",children:Object(h.jsx)(b.a,{id:"home-see-statistics"})})})]})]})})]})}},{key:"render",value:function(){var e,t,a,s,n,i;return Object(h.jsxs)(h.Fragment,{children:[Object(h.jsx)(l.a,{children:Object(h.jsx)(d.a,{className:"login-title",children:Object(h.jsx)(j.SectionTitle,{title:"ready-size-start"})})}),Object(h.jsx)(l.a,{className:"justify-content-center",children:Object(h.jsx)(d.a,{xs:8,xl:9,lg:12,className:"fitprenda-mainboxtool-main-container",md:12,children:Object(h.jsx)(j.MainBoxTool,{title:Object(h.jsxs)(h.Fragment,{children:[Object(h.jsx)(b.a,{id:"home-greeting"}),this.state.currentUser.Name?" ".concat(this.state.currentUser.Name):" ".concat(this.state.currentUser.split("@")[0]),"!"]}),subtitle:"home-subtitle",children:this.contentInternalActionTools()})})}),Object(h.jsx)(l.a,{className:"justify-content-center mt-5",children:Object(h.jsx)(d.a,{xs:8,xl:9,className:"text-left main-attention",children:Object(h.jsx)(j.SectionTitle,{title:"home-title-attention"})})}),Object(h.jsx)(l.a,{className:"justify-content-center mt-2 px-3",children:Object(h.jsx)(d.a,{xs:8,xl:9,className:"para-prestar-atencion-container",children:Object(h.jsxs)(l.a,{children:[Object(h.jsx)(d.a,{children:Object(h.jsx)(j.AlertWidget,{title:"ready-size-products-withoutguide",values:{count:(null===(e=this.state.warningsHealth)||void 0===e?void 0:e.NoSizeGuideProducts)||"0"},description:"home-product-guide-description",urlLink:"/readysize/products/list-wsg",urlText:"ready-size-do-now",typeAlert:m.AlertWidgetType.CENTIMETER,includeNewLine:!0})}),Object(h.jsx)(d.a,{className:"mx-3",children:Object(h.jsx)(j.AlertWidget,{title:"home-unrecognized-products",values:{count:(null===(t=this.state.warningsHealth)||void 0===t?void 0:t.UnknowProducts)||"0"},description:"home-unrecognized-product-description",urlLink:"/readysize/products/list-wsg",urlText:"ready-size-do-now",typeAlert:m.AlertWidgetType.TSHIRT,includeNewLine:!0})}),Object(h.jsx)(d.a,{children:Object(h.jsx)(j.AlertWidget,{title:"home-inactive-products-title",values:{count:(null===(a=this.state.warningsHealth)||void 0===a?void 0:a.Inactive)||"0"},description:"home-inactive-products-description",urlLink:"/readysize/products/list-wsg",urlText:"home-inactive-review",typeAlert:m.AlertWidgetType.WARNING,includeNewLine:!0})})]})})}),Object(h.jsx)(l.a,{className:"justify-content-center mt-5",children:Object(h.jsx)(d.a,{xs:8,xl:9,className:"statistics-main",children:Object(h.jsx)(j.SectionTitle,{title:"home-title-statistics",clarification:"home-title-statistics-clarification"})})}),Object(h.jsxs)(l.a,{className:"justify-content-center mt-2 px-3",children:[Object(h.jsx)(d.a,{xs:8,xl:9,className:"text-left statistics-container",children:Object(h.jsxs)(l.a,{children:[Object(h.jsx)(d.a,{children:Object(h.jsx)(j.StatisticWidget,{text:"ready-size-recommended-sizes",value:Object(h.jsxs)(h.Fragment,{children:[(null===(s=this.state.warningsHealth)||void 0===s?void 0:s.TotalPredictions)||"0",this.state.contractType===m.E_ContractType.FREE&&Object(h.jsx)("span",{className:"smaller-font",children:" / 500"})]}
1),valueVariant:m.StatisticWidgetVariantValue.REGULAR,typeWidget:m.StatisticTypeWidget.SUNGLASSES,helper:"home-widget-recommended-helper",contractType:this.state.contractType})}),Object(h.jsx)(d.a,{className:"mx-3",children:Object(h.jsx)(j.StatisticWidget,{text:"ready-size-found-size",value:"".concat((null===(n=this.state.warningsHealth)||void 0===n?void 0:n.TotalPredictionsPercentageAccepts)||"0","%"),valueVariant:m.StatisticWidgetVariantValue.SUCCESS,typeWidget:m.StatisticTypeWidget.STARSTRUCK,helper:"home-widget-found-helper",contractType:this.state.contractType})}),Object(h.jsx)(d.a,{children:Object(h.jsx)(j.StatisticWidget,{text:"ready-size-didnt-found-size",value:"".concat((null===(i=this.state.warningsHealth)||void 0===i?void 0:i.TotalPredictionsPercentageNoAccepts)||"0","%"),valueVariant:m.StatisticWidgetVariantValue.DANGER,typeWidget:m.StatisticTypeWidget.FROWNING,helper:"home-widget-didnt-find-helper",contractType:this.state.contractType})})]})}),this.state.showModal&&Object(h.jsx)(j.ModalIntro,{closeModal:this.closeModal,selectedLanguage:this.state.selectedLanguage},this.state.selectedLanguage)]})]})}}]),a}(c.a.Component)},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},,,,function(e,t,a){"use strict";a.r(t);var s=a(4),n=a(3),i=a(1),r=a(25),o=a(8),c=a.n(o),d=a(17),l=a(22),u=a(9),j=a(10),m=a(6),b=a(0),p=function(e){var t=Object(i.useState)(!1),a=Object(n.a)(t,2),s=a[0],o=a[1],p=Object(i.useState)([{}]),h=Object(n.a)(p,2),g=h[0],f=h[1],O=Object(i.useState)([]),x=Object(n.a)(O,2),v=x[0],y=x[1],S=Object(r.h)();Object(r.i)();function N(){return(N=Object(d.a)(c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o(!0),e.next=4,j.ProductServices.GetProducts();case 4:(t=e.sent)&&200===t.Status?f(t.Content):f([]),o(!1),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0),o(!1);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}Object(i.useEffect)((function(){!function(){N.apply(this,arguments)}(),e.onListProductChange&&e.onListProductChange(g.length)}),[g.length,e.onListProductChange]);var z=function(){console.log("GO BACK"),S(-1)};return Object(b.jsxs)(b.Fragment,{children:[Object(b.jsx)(l.a,{className:"justify-content-center",children:Object(b.jsx)(m.DataTableProducts,{products:g,isLoading:s,scrollHeight:"flex",handlerSelectionRow:function(e){y(e)},handlerDownload:function(e){console.log("Click Download",e)}})}),Object(b.jsxs)(l.a,{className:"mt-3",children:[Object(b.jsx)(u.a,{xs:1,className:"ps-0",children:Object(b.jsx)(m.ButtonCommon,{label:"Volver",isOutline:!0,eventClick:function(){return z()}})}),Object(b.jsx)(u.a,{xs:1,className:(0===v.length?"d-none":"d-block")+" ps-0",children:Object(b.jsx)(m.ButtonCommon,{label:"Guardar",isOutline:!1,disabled:0===v.length,eventClick:function(){return z()}})})]}),Object(b.jsx)("br",{})]})},h=a(36),g=a(7),f=(a(281),a(5)),O=function(e){var t=Object(i.useState)({}),a=Object(n.a)(t,2),s=a[0],o=a[1],p=Object(i.useState)([{}]),O=Object(n.a)(p,2),x=O[0],v=O[1],y=Object(i.useState)(!1),S=Object(n.a)(y,2),N=S[0],z=S[1],C=Object(i.useState)([]),w=Object(n.a)(C,2);w[0],w[1],Object(r.h)();Object(i.useEffect)((function(){Object(d.a)(c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,j.Health.GetProductsHealth();case 3:200===(t=e.sent).Status&&o(t.Content),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))(),Object(d.a)(c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,z(!0),e.next=4,j.ProductServices.GetProducts();case 4:200===(t=e.sent).Status&&v(t.Content),z(!1),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0),z(!1);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))()}),[v]);return Object(b.jsxs)(b.Fragment,{children:[Object(b.jsx)(l.a,{className:"justify-content-center",children:Object(b.jsx)(u.a,{className:"dashboard-products-main-container",xs:8,xl:9,children:Object(b.jsx)(m.MainBoxTool,{title:Object(b.jsx)(f.a,{id:"dashboard-mainboxtool-title",defaultMessage:"Carga y actualiza los productos"}),subtitle:"dashboard-mainboxtool-subtitle",children:Object(b.jsxs)(b.Fragment,{children:[Object(b.jsx)(u.a,{children:Object(b.jsxs)(l.a,{className:"my-3",children:[Object(b.jsx)(u.a,{xs:5,children:Object(b.jsx)("img",{className:"dashboard-product-image-one",src:"/img/icon-create-item.png",alt:"Icon Item",width:97})}),Object(b.jsxs)(u.a,{xs:7,children:[Object(b.jsx)("p",{className:"font-fitprenda-action-description",children:Object(b.jsx)(f.a,{id:"dashboard-action-description"})}),Object(b.jsx)("p",{className:"mt-3 pt-4",children:Object(b.jsx)("a",{href:"/readysize/products/create",className:"link-fitprenda-action",children:Object(b.jsx)(f.a,{id:"ready-size-do-now",defaultMessage:"Hacer ahora"})})})]})]})}),Object(b.jsx)("div",{className:"box-fitprenda-internal-separator"}),Object(b.jsx)(u.a,{children:Object(b.jsxs)(l.a,{className:"my-3",children:[Object(b.jsx)(u.a,{xs:5,children:Object(b.jsx)("img",{className:"dashboard-product-image-one",src:"/img/icon-excel.png",alt:"Icon Excel",width:97})}),Object(b.jsxs)(u.a,{xs:7,children:[Object(b.jsx)("p",{className:"font-fitprenda-action-description",children:Object(b.jsx)(f.a,{id:"dashboard-excel-upload-description"})}),Object(b.jsx)("p",{className:"mt-3",children:Object(b.jsx)("a",{href:"/readysize/products/uploads",className:"link-fitprenda-action",children:Object(b.jsx)(f.a,{id:"ready-size-do-now",defaultMessage:"Hacer ahora"})})})]})]})}),Object(b.jsx)("div",{className:"box-fitprenda-internal-separator"}),Object(b.jsx)(u.a,{children:Object(b.jsxs)(l.a,{className:"my-3",children:[Object(b.jsx)(u.a,{xs:5,children:Object(b.jsx)("img",{className:"dashboard-product-image-two",src:"/img/icon-api.png",alt:"Icon API",width:97})}),Object(b.jsxs)(u.a,{xs:7,children:[Object(b.jsx)("p",{className:"font-fitprenda-action-description",children:Object(b.jsx)(f.a,{id:"dashboard-automate-description"})}),Object(b.jsx)("p",{className:"mt-3",children:Object(b.jsx)("a",{href:"/readysize/charts",className:"link-fitprenda-action",children:Object(b.jsx)(f.a,{id:"dashboard-products-know-more"})})})]})]})})]})})})}),Object(b.jsx)(l.a,{className:"justify-content-center mt-3 px-3",children:Object(b.jsx)(u.a,{className:"dashboard-products-main-sub-container",xs:8,xl:9,children:Object(b.jsxs)(l.a,{className:"dashboard-product-products-container",children:[Object(b.jsx)(u.a,{className:"dashboard-product-products-container",children:Object(b.jsx)(m.AlertWidget,{title:"ready-size-products-withoutguide",values:{count:(null===s||void 0===s?void 0:s.NoSizeGuide)||"0"},description:"",urlLink:"/readysize/products/list-wsg",urlText:"ready-size-associate-guide",typeAlert:g.AlertWidgetType.CENTIMETER,includeNewLine:!1,className:"dashboard-products-alert-widget"})}),Object(b.jsx)(u.a,{className:"mx-2",children:Object(b.jsx)(m.AlertWidget,{title:"dashboard-products-ProductosNoReconocidos",values:{count:(null===s||void 0===s?void 0:s.UnknowProducts)||"0"},description:"",urlLink:"/readysize/products/list-nf",urlText:"dashboard-products-Solucionar",typeAlert:g.AlertWidgetType.TSHIRT,includeNewLine:!1,className:"dashboard-products-alert-widget"})}),Object(b.jsx)(u.a,{children:Object(b.jsx)(m.AlertWidget,{title:"dashboard-products-ProductosSinActividad",values:{count:(null===s||void 0===s?void 0:s.Inactive)||"0"},description:"",urlLink:"/readysize/products/list-inactive",urlText:"dashboard-products-Eliminar",typeAlert:g.AlertWidgetType.WARNING,includeNewLine:!1,className:"dashboard-products-alert-widget"})})]})})}),Object(b.jsx)(l.a,{className:"justify-content-center mt-5",children:Object(b.jsx)(u.a,{children:Object(b.jsx)(m.DataTableProducts,{products:x,isLoading:N,handlerDownload:function(e){var t=e&&e.length>0?e:x;try{if(t){var a=new Array;[].forEach.call(t,(function(e,t){a.push({Modelo:e.Code,SKUs:e.VariantsId?e.VariantsId.join(", "):"",Descripcion:e.Description,Posicion:e.BodyArea?e.BodyArea.Name:"",Genero:e.Gender?e.Gender.Name:"",Fit:e.FitType?e.FitType.Name:"",Talles:e.Sizes?e.Sizes.map((function(e){return e.Name})).join(", "):"",Categorias:e.PlatformCategory?e.PlatformCategory.map((function(e){return e.Name})).join(", "):"",Guia:e.SizeGuide?e.SizeGuide.Name:""})})),a&&a.length>0&&h.ExcelModule.ExportTo(a,"Productos","Fitprenda_Productos")}}catch(s){console.log(s)}},showTitle:!0})})}),Object(b.jsx)(l.a,{className:"justify-content-center mt-3",children:Object(b.jsx)(u.a,{className:"text-end",children:Object(b.jsx)("p",{style:{marginBottom:"0"},children:Object(b.jsx)("a",{href:"/readysize/products/list",className:"link-fitprenda-action",children:Object(b.jsx)(f.a,{id:"dashboard-products-seeall"})})})})}),Object(b.jsx)("br",{})]})},x=function(e){var t=Object(i.useState)(!1),a=Object(n.a)(t,2),s=a[0],o=a[1],p=Object(i.useState)([{}]),h=Object(n.a)(p,2),g=h[0],O=h[1],x=Object(i.useState)([]),v=Object(n.a)(x,2),y=(v[0],v[1]),S=Object(r.h)();Object(r.i)();function N(){return(N=Object(d.a)(c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o(!0),e.next=4,j.ProductServices.GetProductsWithoutSizeGuide();case 4:(t=e.sent)&&200===t.Status?O(t.Content):O([]),o(!1),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0),o(!1);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}Object(i.useEffect)((function(){!function(){N.apply(this,arguments)}(),e.onListProductChange&&e.onListProductChange(g.length)}),[]);return Object(b.jsxs)(b.Fragment,{children:[Object(b.jsx)(l.a,{className:"justify-content-center",children:Object(b.jsx)(m.DataTableProducts,{products:g,isLoading:s,scrollHeight:"flex",handlerSelectionRow:function(e){y(e)},handlerDownload:function(e){console.log("Click Download",e)}})}),Object(b.jsx)(l.a,{className:"mt-3",children:Object(b.jsx)(u.a,{xs:2,className:"ps-0 product-wsg-button",children:Object(b.jsx)(m.ButtonCommon,{label:Object(b.jsx)(f.a,{id:"list-products-without-guide-IrAProductos"}),isOutline:!0,eventClick:function(){S(-1)}})})}),Object(b.jsx)("br",{})]})},v=a(32),y=(a(282),function(e){var t=Object(i.useState)(!1),a=Object(n.a)(t,2),s=a[0],o=a[1],j=Object(i.useState)([{}]),p=Object(n.a)(j,2),h=p[0],g=(p[1],Object(i.useState)([])),O=Object(n.a)(g,2),x=(O[0],O[1]),y=Object(i.useState)(!1),S=Object(n.a)(y,2),N=S[0],z=S[1],C=Object(i.useState)(0),w=Object(n.a)(C,2),M=(w[0],w[1],Object(i.useState)(!1)),T=Object(n.a)(M,2),k=(T[0],T[1],Object(i.useState)(0)),E=Object(n.a)(k,2),I=(E[0],E[1],Object(i.useState)(0)),P=Object(n.a)(I,2),G=(P[0],P[1],Ob
1ject(i.useState)(!1)),A=Object(n.a)(G,2),R=A[0],F=A[1],L=Object(i.useState)(!1),D=Object(n.a)(L,2),B=D[0],U=D[1],_=Object(i.useState)(1),W=Object(n.a)(_,2),H=W[0],V=W[1],q=(Object(r.h)(),Object(r.i)());function K(){return(K=Object(d.a)(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{o(!0),o(!1)}catch(t){console.log(t)}case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}console.log("LIST NOT FOUND PARAMS",q),Object(i.useEffect)((function(){!function(){K.apply(this,arguments)}(),e.onListProductChange&&e.onListProductChange(h.length)}),[h.length]);return Object(b.jsx)(b.Fragment,{children:Object(b.jsxs)("div",{className:"notfound-products-container",children:[Object(b.jsx)("div",{className:"notfound-products-help-widgets",children:Object(b.jsxs)(l.a,{children:[Object(b.jsx)(u.a,{className:"notfound-products-help-widget",children:Object(b.jsx)(m.SuggestionWidget,{description:Object(b.jsx)(f.a,{id:"list-productnofound-suggestionwidget-left-desc"}),title:Object(b.jsx)(f.a,{id:"ready-size-help",defaultMessage:"Ayuda"})})}),Object(b.jsx)(u.a,{className:"notfound-products-help-widget",children:Object(b.jsx)(m.SuggestionWidget,{description:Object(b.jsx)(f.a,{id:"list-productnofound-suggestionwidget-right-desc"}),title:Object(b.jsx)(f.a,{id:"list-productnofound-suggestionwidget-right-title"})})})]})}),Object(b.jsxs)("div",{className:"notfound-products-search-buttons",children:[Object(b.jsx)("div",{className:"notfound-products-search",children:Object(b.jsx)(m.In
1putSearch,{className:"input-search-container"})}),Object(b.jsxs)("div",{className:"notfound-products-buttons",children:[Object(b.jsx)("div",{className:"notfound-products-buttons-borrar",children:Object(b.jsx)(m.ButtonCommon,{className:"notfound-products-buttons-inner",label:Object(b.jsx)(f.a,{id:"delete-tooltip",defaultMessage:"Borrar"})})}),Object(b.jsx)("div",{className:"notfound-products-asociar",children:Object(b.jsx)("button",{className:"notfound-products-buttons-asociar",onClick:function(){V(1),z(!0),F(!1),U(!1)},children:Object(b.jsx)(f.a,{id:"product-registration-modal-title",defaultMessage:"Borrar"})})})]})]}),Object(b.jsxs)("div",{children:[Object(b.jsx)(m.NotFoundTable,{products:h,isLoading:s,scrollHeight:"flex",handlerSelectionRow:function(e){x(e)}}),Object(b.jsx)(m.ModalCommon,{Title:"product-registration-modal-title",buttonSuccessTitle:"products-form-modal-successbutton",Show:N,OnModalClose:function(){z(!1)},OnModalOk:function(){F(!0),U(!0),V(2)},Content:Object(b.jsx)(v.a,{className:"not-found-items-modal-container",children:1===H?Object(b.jsx)(b.Fragment,{children:Object(b.jsxs)("div",{className:"not-found-items-modal-sub-container",children:[Object(b.jsx)("p",{className:"not-found-items-modal-upper-text",children:Object(b.jsx)(f.a,{id:"list-productnofound-modal-header"})}),Object(b.jsx)("p",{className:"not-found-items-modal-item-title",children:Object(b.jsx)(f.a,{id:"list-productnofound-modal-head-item-title"})}),Object(b.jsxs)("div",{children:[Object(b.jsxs)("p",{className:"not-found-items-props",children:[Object(b.jsx)("span",{className:"not-found-items-props-bold",children:Object(b.jsx)(f.a,{id:"ready-size-clothing-type"})})," ",Object(b.jsx)(f.a,{id:"ready-size-superior"})]}),Object(b.jsxs)("p",{className:"not-found-items-props",children:[Object(b.jsx)("span",{className:"not-found-items-props-bold",children:Object(b.jsx)(f.a,{id:"ready-size-gender"})}),Object(b.jsx)(f.a,{id:"ready-size-female"})]}),Object(b.jsxs)("p",{className:"not-found-items-props",children:[Object(b.jsx)("span",{className:"not-found-items-props-bold",children:Object(b.jsx)(f.a,{id:"ready-size-fit"})}),Object(b.jsx)(f.a,{id:"list-productnofound-modal-fit-option"})]}),Object(b.jsxs)("p",{className:"not-found-items-props",children:[Object(b.jsx)("span",{className:"not-found-items-props-bold",children:Object(b.jsx)(f.a,{id:"list-productnofound-modal-sizes"})})," ",Object(b.jsx)(f.a,{id:"list-productnofound-modal-sizes-options"})]})]})]})}):Object(b.jsxs)("div",{className:"associate-succes-modal",children:[Object(b.jsx)("img",{className:"product-not-found-associate-succes-modal-image",src:"/img/assosciate-succes.png",alt:"Succes",width:250}),Object(b.jsx)("p",{className:"associate-succes-modal-p",children:Object(b.jsx)(f.a,{id:"list-productnofound-recognized-products"})})]})}),HiddenTitle:R,HiddenActions:B})]})]})})}),S=(a(283),function(e){var t=Object(i.useState)(!1),a=Object(n.a)(t,2),s=a[0],o=a[1],p=Object(i.useState)([{}]),h=Object(n.a)(p,2),g=h[0],O=h[1],x=Object(i.useState)([]),v=Object(n.a)(x,2),y=(v[0],v[1]),S=Object(r.h)();Object(r.i)();function N(){return(N=Object(d.a)(c.a.mark((function t(){var a;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,o(!0),t.next=4,j.ProductServices.GetProductsWithoutActivity();case 4:(a=t.sent)&&200===a.Status?(O(a.Content),e.onListProductChange&&e.onListProductChange(a.Content.length)):(O([]),e.onListProductChange&&e.onListProductChange(0)),o(!1),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),console.log(t.t0),o(!1);case 13:case"end":return t.stop()}}),t,null,[[0,9]])})))).apply(this,arguments)}Object(i.useEffect)((function(){!function(){N.apply(this,arguments)}()}),[]);return Object(b.jsxs)(b.Fragment,{children:[Object(b.jsx)(l.a,{className:"justify-content-center",children:Object(b.jsx)(m.DataTableProducts,{products:g,isLoading:s,scrollHeight:"flex",handlerSelectionRow:function(e){y(e)},handlerDownload:function(e){console.log("Click Download",e)}})}),Object(b.jsx)(l.a,{className:"mt-3",children:Object(b.jsx)(u.a,{xs:1,className:"ps-0 list-pwa-back-button",children:Object(b.jsx)(m.ButtonCommon,{label:Object(b.jsx)(f.a,{id:"ready-size-Volver",defaultMessage:"Volver"}),isOutline:!0,eventClick:function(){S(-1)}})})}),Object(b.jsx)("br",{})]})}),N=a(18),z=a(312),C=(a(284),function(e){var t=Object(i.useState)(!0),a=Object(n.a)(t,2),s=(a[0],a[1],Object(i.useState)(!0)),o=Object(n.a)(s,2),c=(o[0],o[1],Object(i.useState)(!1)),d=Object(n.a)(c,2),j=d[0],p=d[1],h=Object(i.useState)(1),g=Object(n.a)(h,2),O=(g[0],g[1]),x=Object(i.useState)(!1),y=Object(n.a)(x,2),S=y[0],C=y[1],w=Object(r.h)(),M=Object(i.useState)([]),T=Object(n.a)(M,2),k=T[0],E=T[1];return Object(b.jsxs)("div",{className:"crud-container",children:[Object(b.jsx)("div",{className:"notfound-products-help-widgets",children:Object(b.jsxs)(l.a,{children:[Object(b.jsx)(u.a,{className:"notfound-products-help-widget",children:Object(b.jsx)(m.SuggestionWidget,{title:Object(b.jsx)(f.a,{id:"product-registration-widget-title",defaultMessage:"Importante"}),description:Object(b.jsx)(f.a,{id:"product-registration-widget-description",defaultMessage:"Completar el <b>Modelo</b> es obligatorio y debe coincidir con el que utilizan en la p\xe1gina de e-commerce. \\n\\n  Si no cuentas con c\xf3digos de modelo, debes crearlo.",values:{b:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return Object(b.jsx)("b",{children:t})},br:Object(b.jsx)("br",{})}})})}),Object(b.jsx)(u.a,{className:"notfound-products-help-widget",children:Object(b.jsx)(m.SuggestionWidget,{title:Object(b.jsx)(f.a,{id:"product-registration-widget-title",defaultMessage:"Importante"}),description:Object(b.jsx)(f.a,{id:"product-registration-widget-description-two",defaultMessage:"Al crear un Modelo, puedes utilizar las <b>primeras cifras de los SKUs</b> (como se muestra en el ejemplo.) Luego, cuando asocies una gu\xeda de talle al Modelo, se asignar\xe1 a todos los SKUS autom\xe1ticamente",values:{b:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return Object(b.jsx)("b",{children:t})},br:Object(b.jsx)("br",{})}})})})]})}),Object(b.jsx)("div",{children:Object(b.jsx)(l.a,{children:Object(b.jsx)(u.a,{children:Object(b.jsx)(m.BlockContentControls,{paddingX:3,children:Object(b.jsx)(m.ProductsForm,{canUpdload:e.canUpdload||!1,Elements:function(e){var t,a=new Array;try{e&&e.length>0?a=Object(N.a)(k):(t={Id:1,Name:"",Code:"",Variants:new Array,BodyArea:{Id:4,Name:""},Gender:{Id:3,Name:""},Fit:{Id:1,Name:""},Categories:new Array,SizeGuide:null,Sizes:null,PositionRow:0},a.push(t))}catch(s){console.log(s)}return a}(k),SuscribeChanges:function(e){return t=e,console.log("HANDLER CHANGE FORM",t),void E(t);var t}})})})})}),Object(b.jsxs)("div",{children:[Object(b.jsxs)(l.a,{className:"",children:[Object(b.jsx)(u.a,{className:"crud-button",children:Object(b.jsx)(m.ButtonCommon,{label:Object(b.jsx)(f.a,{id:"ready-size-Cancelar"}),isOutline:!0,eventClick:function(){w(-1)}})}),Object(b.jsxs)(u.a,{className:"crud-button-save d-flex align-items-center",children:[Object(b.jsx)(m.ButtonCommon,{label:Object(b.jsx)(f.a,{id:"ready-size-Guardar",defaultMessage:"Guardar"}),isOutline:!1,eventClick:function(){C(!0),p(!0),setTimeout((function(){C(!1),O(2)}),3e3)},disabled:S}),S&&Object(b.jsx)("div",{className:"ms-3",children:Object(b.jsx)(z.a,{animation:"border",role:"status",size:"sm",children:Object(b.jsx)("span",{className:"visually-hidden",children:"Loading..."})})})]}),Object(b.jsx)(u.a,{children:Object(b.jsx)(m.ModalCommon,{Title:"product-registration-modal-title",buttonSuccessTitle:"Crear",Show:j,OnModalClose:function(){p(!1)},OnModalOk:function(){O(2)},Content:Object(b.jsx)(v.a,{className:"not-found-items-modal-container",children:Object(b.jsxs)("div",{className:"associate-succes-modal",children:[Object(b.jsx)("img",{className:"associate-succes-modal-save",src:"/img/productcreated.png",alt:"Succes",width:320}),Object(b.jsx)("p",{className:"associate-succes-modal-p",children:Object(b.jsx)(f.a,{id:"product-registration-widget-product-created"})})]})}),HiddenTitle:!0,HiddenActions:!0})})]}),Object(b.jsx)("br",{})]})]})}),w=a(23),M=a(98),T=a(70),k=a(85),E=a(111),I=a(110),P=a(112),G=a(109),A=a(113),R=(a(285),a(66)),F=a(100),L=a(146),D=a(78),B=function(e){var t=Object(r.g)().state,a=Object(i.useState)(t),o=Object(n.a)(a,2),m=o[0],p=o[1],h=Object(i.useState)(t.SizeGuide.Name||""),g=Object(n.a)(h,2),O=(g[0],g[1],Ob
1ject(i.useState)("")),x=Object(n.a)(O,2),v=(x[0],x[1],Object(i.useState)(t.VariantsId?t.VariantsId[0]:null)),y=Object(n.a)(v,2),S=(y[0],y[1],Object(i.useState)()),z=Object(n.a)(S,2),C=z[0],B=z[1],U=Object(i.useState)(!0),_=Object(n.a)(U,2),W=_[0],H=_[1],V=Object(i.useState)([]),q=Object(n.a)(V,2),K=q[0],X=q[1],J=Object(i.useState)([]),Z=Object(n.a)(J,2),Q=Z[0],Y=Z[1],$=Object(i.useState)([]),ee=Object(n.a)($,2),te=(ee[0],ee[1]),ae=Object(i.useState)([]),se=Object(n.a)(ae,2),ne=(se[0],se[1]),ie=Object(i.useState)(null),re=Object(n.a)(ie,2),oe=(re[0],re[1],Object(i.useState)(t.ProductReference?t.ProductReference:"")),ce=Object(n.a)(oe,2),de=(ce[0],ce[1],Object(i.useState)(t.OtherReference&&t.OtherReference.length>0?t.OtherReference:new Array)),le=Object(n.a)(de,2),ue=le[0],je=le[1],me=Object(i.useState)(""),be=Object(n.a)(me,2),pe=be[0],he=be[1],ge=Object(i.useState)(!1),fe=Object(n.a)(ge,2),Oe=fe[0],xe=fe[1],ve=Object(i.useRef)(null),ye=function(){xe(!0)},Se=function(e){ve.current&&!ve.current.contains(e.target)&&xe(!1)};Object(i.useEffect)((function(){return document.addEventListener("click",Se),function(){document.removeEventListener("click",Se)}}),[]);var Ne=function(e){var t=e.target.value;he(t)},ze=function(e){var t=e.clipboardData;if(t){var a=Object(N.a)(ue),s=t.getData("text/plain").split("\r\n");s.length>0&&""===s[s.length-1]&&s.pop(),(s=s.filter(Boolean)).forEach((function(e){e.split("\t").length?e.split("\t").forEach((function(e){e.split(",").length?e.split(",").forEach((function(e){e&&a.push(e)})):e&&a.push(e)})):e&&a.push(e)})),je(a),he("")}},Ce=function(){if(!ue)return null;var e=ue.filter((function(e){return e.toLowerCase().includes(pe.toLowerCase())}));return Object(b.jsx)("div",{className:"tag-container",children:e.map((function(e,t){return Object(b.jsx)("div",{className:"tag-item",children:Object(b.jsx)(D.a,{children:Object(b.jsxs)("div",{className:"flex align-items-center gap-2 editsizeguide-alias-tag",children:[Object(b.jsx)("span",{className:"text-base",children:e}),Object(b.jsx)("i",{className:"pi pi-times text-xs",onClick:function(){return we(t)}})]})})},t)}))})},we=function(e){var t=Object(N.a)(ue);t.splice(e,1),je(t)},Me=Object(R.a)();Object(i.useEffect)((function(){Object(d.a)(c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,H(!0),e.next=4,j.SizeGuideServices.GetSizesGuides();case 4:(t=e.sent)&&200===t.Status?B(t.Content):B([]),H(!1),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0),H(!1);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))()}),[]);var Te=Object(r.h)(),ke=function(e){try{ne(e||[]);var t=e?[].map.call(e,(function(e){return{Id:e.code,Name:e.name}})):[];X(t),te(t.map((function(e){return e.Name})))}catch(a){console.log(a)}},Ee=function(e){try{var t=null===C||void 0===C?void 0:C.find((function(t){return t.Id===parseInt(e)}));Y(t?t.Sizes.map((function(e){return{name:e.Name,code:e.Id}})):[])}catch(a){console.log(a)}},Ie=function(e){console.log("error",e);var t=e.name,a=e.value;p(Object(s.a)(Object(s.a)({},m),{},Object(w.a)({},t,a)))};return Object(b.jsxs)("div",{children:[Object(b.jsxs)("div",{className:"productedit-suggestion-widget-container",children:[Object(b.jsx)("div",{className:"productedit-suggestion-widget",children:Object(b.jsx)(M.default,{title:Object(b.jsx)(f.a,{id:"product-registration-widget-title",defaultMessage:"Importante"}),description:Object(b.jsx)(f.a,{id:"product-registration-widget-description",defaultMessage:"Completar el <b>Modelo</b> es obligatorio y debe coincidir con el que utilizan en la p\xe1gina de e-commerce. \\n\\n Si no cuentas con c\xf3digos de modelo, debes crearlo.",values:{b:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return Object(b.jsx)("b",{children:t})},br:Object(b.jsx)("br",{})}})})}),Object(b.jsx)("div",{className:"productedit-suggestion-widget-right",children:Object(b.jsx)(M.default,{title:Object(b.jsx)(f.a,{id:"product-registration-widget-title",defaultMessage:"Importante"}),description:Object(b.jsx)(f.a,{id:"product-registration-widget-description-two",defaultMessage:"Al crear un Modelo, puedes utilizar las <b>primeras cifras de los SKUs</b> (como se muestra en el ejemplo.) Luego, cuando asocies una gu\xeda de talle al Modelo, se asignar\xe1 a todos los SKUS autom\xe1ticamente",values:{b:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return Object(b.jsx)("b",{children:t})},br:Object(b.jsx)("br",{})}})})})]}),Object(b.jsxs)("div",{className:"edit-product-grid-container",children:[Object(b.jsx)("div",{className:"product-image-container",children:Object(b.jsx)("img",{src:"img/readysizelogo.png",alt:"rslogo",className:"ms-product-img"})}),Object(b.jsxs)("div",{className:"product-edit-col",children:[Object(b.jsx)("div",{className:"product-edit-model-container",children:Object(b.jsx)("div",{className:"product-edit-column",children:Object(b.jsx)(k.default,{Label:Me.formatMessage({id:"ready-size-model",defaultMessage:"Modelo:"}),Placeholder:Me.formatMessage({id:"product-edit-enter-guide-name",defaultMessage:"Ingresar el nombre de la gu\xeda"}),MaxLength:25,DefaultValue:m.Code,SuscribedChange:function(e){return Ie({value:e,name:"Code"})}})})}),Object(b.jsx)("div",{className:"product-edit-description-container",children:Object(b.jsx)("div",{className:"product-edit-column",children:Object(b.jsx)(k.default,{Label:Me.formatMessage({id:"ready-size-description",defaultMessage:"Descripci\xf3n:"}),Placeholder:Me.formatMessage({id:"product-edit-enter-guide-name",defaultMessage:"Ingresar el nombre de la gu\xeda"}),MaxLength:25,DefaultValue:m.Description,SuscribedChange:function(e){return Ie(e)}})})}),Object(b.jsxs)("div",{className:"product-edit-genderposition-container",children:[Object(b.jsx)("div",{className:"product-edit-column",children:Object(b.jsx)(E.default,{Label:"ready-size-gender",DefaultValue:m["Gender.Name"],SuscribedChange:Ie})}),Object(b.jsx)("div",{className:"product-edit-column",children:Object(b.jsx)(I.default,{Label:Me.formatMessage({id:"ready-size-position",defaultMessage:"Posici\xf3n:"}),DefaultValue:m["BodyArea.Name"],SuscribedChange:Ie})})]}),Object(b.jsxs)("div",{className:"product-edit-guidesizes-container",children:[Object(b.jsx)("div",{className:"product-edit-column",children:Object(b.jsx)(G.default,{Elements:C,IsLoading:W,Label:"products-form-selectguide",Classname:"products-form-dashboard-modal-select",AriaLabel:"Default select example",OptionDefault:!0,SuscribedChange:Ee})}),Object(b.jsxs)("div",{className:"product-edit-column",children:[Object(b.jsx)("p",{className:"product-edit-label-asd",children:Object(b.jsx)(f.a,{id:"ready-size-sizes"})}),Object(b.jsx)(A.default,{optionLabel:"",SelectedValues:K,Options:Q,Placeholder:"products-form-select-sizes",SuscribedChange:ke})]})]}),Object(b.jsx)("div",{children:Object(b.jsx)("div",{className:"product-edit-column",children:Object(b.jsx)(P.default,{Label:"Fit",DefaultValue:m["FitType.Name"],SuscribedChange:Ie})})})]})]}),Object(b.jsxs)("div",{className:"product-edit-alias-container",children:[Object(b.jsx)(l.a,{className:"mt-4",children:Object(b.jsx)(u.a,{children:Object(b.jsx)("p",{className:"font-fitprenda-title-crud",children:Object(b.jsx)(f.a,{id:"ready-size-edit-size-guide-other-codes",defaultMessage:"Agregar otras codificaci\xf3nes"})})})}),Object(b.jsx)(l.a,{children:Object(b.jsxs)(u.a,{className:"font-fitprenda-subtitle-crud",children:[Object(b.jsx)("p",{children:Object(b.jsx)(f.a,{id:"ready-size-edit-size-guide-other-codes-exp",defaultMessage:"Ingresa en cada campo las {boldText}
1 de la siguiente forma: desde - hasta.",values:{boldText:Object(b.jsx)("b",{children:Object(b.jsx)(f.a,{id:"edit-size-guide-bodyMeasurements",defaultMessage:"medidas corporales"})})}})}),Object(b.jsx)(F.a,{})]})}),Object(b.jsx)(l.a,{className:"contentalias-container",children:Object(b.jsx)(u.a,{children:Object(b.jsx)(L.default,{paddingX:5,children:Object(b.jsx)(b.Fragment,{children:Object(b.jsxs)("div",{className:"productedit-contentalias-container",children:[Object(b.jsxs)("div",{children:[Object(b.jsx)("div",{ref:ve,onPaste:ze,onClick:ye,className:"editsizeguide-alias-cp ".concat(Oe?"clicked":""),children:Object(b.jsx)(f.a,{id:"ready-size-paste",defaultMessage:"Pega aqu\xed tus alias"})}),Object(b.jsx)("p",{children:Object(b.jsx)(f.a,{id:"ready-size-search-buscar",defaultMessage:"Buscar"})}),Object(b.jsx)("input",{type:"text",placeholder:"Ej: Guia-Superior-Masculino",className:"editsizeguide-custom-alias-input",value:pe,onChange:Ne})]}),Object(b.jsx)("div",{className:"tag-container",style:{maxHeight:"400px",overflowY:"auto"},children:Ce()})]})})})})})]}),Object(b.jsxs)(l.a,{className:"mt-3 productedit-buttons-container",children:[Object(b.jsx)(u.a,{xs:1,className:"edit-size-guide-button",children:Object(b.jsx)(T.default,{label:Object(b.jsx)(f.a,{id:"ready-size-Cancelar"}),isOutline:!0,eventClick:function(){Te(-1)},className:"edit-size-guide-button"})}),Object(b.jsx)(u.a,{xs:1,className:"edit-size-guide-button",children:Object(b.jsx)(T.default,{label:Object(b.jsx)(f.a,{id:"ready-size-Guardar",defaultMessage:"Guardar"}),isOutline:!1})})]})]})};t.default=function(e){var t=Object(i.useState)(0),a=Object(n.a)(t,2),o=a[0],c=a[1],d=Object(r.i)();return Object(b.jsxs)(b.Fragment,{children:[Object(b.jsx)(m.MainSectionTitle,Object(s.a)({},function(){var e=""===d["*"]||"list"===d["*"]?Object(b.jsx)(f.a,{id:"ready-size-products"}):"list-wsg"===d["*"]?Object(b.jsx)(f.a,{id:"mainProducts.title.listWsg"}):"list-nf"===d["*"]?Object(b.jsx)(f.a,{id:"mainProducts.title.listNf"}):"list-inactive"===d["*"]?Object(b.jsx)(f.a,{id:"mainProducts.title.listInactive"}):"create"===d["*"]?Object(b.jsx)(f.a,{id:"mainProducts.title.create"}):Object(b.jsx)(f.a,{id:"mainProducts.title.edit"}),t="list-wsg"===d["*"]?Object(b.jsx)(f.a,{id:"subtitle-list-wsg",defaultMessage:"Revisa el siguiente listado y corrige los datos faltantes. ReadySize no puede hacer recomendaciones de talles en productos sin una gu\xeda asociada."}):"list-nf"===d["*"]?Object(b.jsx)(f.a,{id:"subtitle-list-nf",defaultMessage:"Revisa el siguiente listado y corrige los datos faltantes. ReadySize no puede hacer recomendaciones de codificaciones no registradas."}):"list-inactive"===d["*"]?Object(b.jsx)(f.a,{id:"subtitle-list-inactive",defaultMessage:"Los siguientes productos no fueron vistos en tu tienda online por m\xe1s de 2 meses. ReadySize eliminar\xe1 autom\xe1ticamente los datos de productos sin uso luego de 3 meses."}):"create"===d["*"]?Object(b.jsx)(f.a,{id:"subtitle-create",defaultMessage:"Los siguientes productos no fueron vistos en tu tienda online por m\xe1s de 2 meses. ReadySize eliminar\xe1 autom\xe1ticamente los datos de productos sin uso luego de 3 meses."}):"edit"===d["*"]?Object(b.jsx)(f.a,{id:"subtitle-edit",defaultMessage:"En Esta secci\xf3n vas a poder editar tus productos. <b> Sugerencia:</b> conviene tener la gu\xeda de talles generada antes de editar los productos."}):"",a="list-wsg"===d["*"]||"list-nf"===d["*"]||"list-inactive"===d["*"]?"danger":"list"===d["*"]?"success":"";return{title:e,subtitle:t,badgeValue:o,badgeVariant:a}}())),Object(b.jsx)("div",{className:"mt-4",children:Object(b.jsx)(r.b,{})}),Object(b.jsxs)(r.e,{children:[Object(b.jsx)(r.c,{path:"/",element:Object(b.jsx)(O,{})}),Object(b.jsx)(r.c,{path:"/list",element:Object(b.jsx)(p,{onListProductChange:function(e){return c(e)}})}),Object(b.jsx)(r.c,{path:"/list-wsg",element:Object(b.jsx)(x,{onListProductChange:function(e){return c(e)}})}),Object(b.jsx)(r.c,{path:"/list-nf",element:Object(b.jsx)(y,{onListProductChange:function(e){return c(e)}})}),Object(b.jsx)(r.c,{path:"/list-inactive",element:Object(b.jsx)(S,{onListProductChange:function(e){return c(e)}})}),Object(b.jsx)(r.c,{path:"/create",element:Object(b.jsx)(C,{canUpdload:!1})}),Object(b.jsx)(r.c,{path:"/uploads",element:Object(b.jsx)(C,{canUpdload:!0})}),Object(b.jsx)(r.c,{path:"/edit/:id",element:Object(b.jsx)(B,{})})]})]})}},function(e,t,a){"use strict";a.r(t);var s=a(4),n=a(25),i=a(6),r=a(8),o=a.n(r),c=a(17),d=a(18),l=a(3),u=a(1),j=a(32),m=a(22),b=a(9),p=a(7),h=a(10),g=(a(288),a(66)),f=a(5),O=a(78),x=a(36),v=a(100),y=a(101),S=a(0),N=function(e){var t=Object(n.h)(),a=Object(n.g)().state,s=Object(u.useState)(!1),r=Object(l.a)(s,2),N=r[0],z=r[1],C=Object(g.a)();x.Tools.IsDevelopment()&&console.log("STATE HOOK",a);var w=parseInt(a.TypeSizeGuide.Id),M=Object(u.useState)(parseInt(a.TypeSizeGuide.Id)),T=Object(l.a)(M,2),k=T[0],E=T[1],I=parseInt(a.Gender.Id),P=Object(u.useState)(parseInt(a.Gender.Id)),G=Object(l.a)(P,2),A=G[0],R=G[1],F=a.IsUnique,L=Object(u.useState)(a.IsUnique),D=Object(l.a)(L,2),B=D[0],U=D[1],_=Object(u.useState)(a.Cups?a.Cups.map((function(e){return e.Name})):[]),W=Object(l.a)(_,2),H=W[0],V=W[1],q=Object(u.useState)(a.Name),K=Object(l.a)(q,2),X=K[0],J=K[1],Z=Object(u.useState)(a.Enabled||!0),Q=Object(l.a)(Z,2),Y=Q[0],$=Q[1],ee=Object(u.useState)(a.Sizes),te=Object(l.a)(ee,2),ae=te[0],se=te[1],ne=Object(u.useState)(a.Cups?a.Cups:new Array),ie=Object(l.a)(ne,2),re=ie[0],oe=ie[1],ce=Object(u.useState)(!!a.ProductReference),de=Object(l.a)(ce,2),le=de[0],ue=de[1],je=Object(u.useState)(a.ProductReference?a.ProductReference:""),me=Object(l.a)(je,2),be=me[0],pe=me[1],he=Object(u.useState)(a.ProductReference?a.ProductReference:""),ge=Object(l.a)(he,2),fe=ge[0],Oe=ge[1],xe=Object(u.useState)(a.OtherReference&&a.OtherReference.length>0?a.OtherReference:new Array),ve=Object(l.a)(xe,2),ye=ve[0],Se=ve[1],Ne=Object(u.useState)(""),ze=Object(l.a)(Ne,2),Ce=ze[0],we=ze[1],Me=Object(u.useState)(!1),Te=Object(l.a)(Me,2),ke=Te[0],Ee=Te[1],Ie=Object(u.useRef)(null),Pe=function(){Ee(!0)},Ge=function(e){Ie.current&&!Ie.current.contains(e.target)&&Ee(!1)};Object(u.useEffect)((function(){return document.addEventListener("click",Ge),function(){document.removeEventListener("click",Ge)}}),[]);var Ae=function(e){var t=e.target.value;we(t)},Re=function(e){(x.Tools.CanCreateSizeGuide()||a.Enabled)&&$(e.value)},Fe=function(e){var t=e.clipboardData;if(t){var a=Object(d.a)(ye),s=t.getData("text/plain").split("\r\n");s.length>
10&&""===s[s.length-1]&&s.pop(),(s=s.filter(Boolean)).forEach((function(e){e.split("\t").length?e.split("\t").forEach((function(e){e.split(",").length?e.split(",").forEach((function(e){e&&a.push(e)})):e&&a.push(e)})):e&&a.push(e)})),Se(a),we("")}},Le=function(){if(!ye)return null;var e=ye.filter((function(e){return e.toLowerCase().includes(Ce.toLowerCase())}));return Object(S.jsx)("div",{className:"tag-container",children:e.map((function(e,t){return Object(S.jsx)("div",{className:"tag-item",children:Object(S.jsx)(O.a,{children:Object(S.jsxs)("div",{className:"flex align-items-center gap-2 editsizeguide-alias-tag",children:[Object(S.jsx)("span",{className:"text-base",children:e}),Object(S.jsx)("i",{className:"pi pi-times text-xs",onClick:function(){return De(t)}})]})})},t)}))})},De=function(e){var t=Object(d.a)(ye);t.splice(e,1),Se(t)},Be=function(e){var t=new Array;try{e===p.E_ClothesType.TOP?(t.push({Id:p.E_BodyPart.CHEST,Name:C.formatMessage({id:"edit-size-guide-contornoBusto"})}),t.push({Id:p.E_BodyPart.WAIST,Name:C.formatMessage({id:"edit-size-guide-contornoCintura"})}),t.push({Id:p.E_BodyPart.HIP,Name:C.formatMessage({id:"edit-size-guide-contornoCadera"})})):e===p.E_ClothesType.BOTTOM?(t.push({Id:p.E_BodyPart.WAIST,Name:C.formatMessage({id:"edit-size-guide-contornoCintura"})}),t.push({Id:p.E_BodyPart.HIP,Name:C.formatMessage({id:"edit-size-guide-contornoCadera"})}),t.push({Id:p.E_BodyPart.LEG,Name:C.formatMessage({id:"edit-size-guide-altoTotal"})})):e===p.E_ClothesType.ENTIRE?(t.push({Id:p.E_BodyPart.CHEST,Name:C.formatMessage({id:"edit-size-guide-contornoBusto"})}),t.push({Id:p.E_BodyPart.WAIST,Name:C.formatMessage({id:"edit-size-guide-contornoCintura"})}),t.push({Id:p.E_BodyPart.HIP,Name:C.formatMessage({id:"edit-size-guide-contornoCadera"})}),t.push({Id:p.E_BodyPart.LEG,Name:C.formatMessage({id:"edit-size-guide-altoTotal"})})):e===p.E_ClothesType.SHOES?t.push({Id:p.E_BodyPart.FOOT,Name:C.formatMessage({id:"edit-size-guide-pieIzquierdo",defaultMessage:"Largo de Pie"})}):(t.push({Id:p.E_BodyPart.CHEST,Name:C.formatMessage({id:"edit-size-guide-contornoBusto"})}),t.push({Id:p.E_BodyPart.UNDERBUST,Name:C.formatMessage({id:"edit-size-guide-contornoBajoBusto"})}))}catch(a){console.log("GetBodyParts",a)}return t},Ue=function(e,t){var a,s=new Array;try{t&&t.length>0?s=Object(d.a)(t):(a={Id:0,Order:1,Name:"",Measures:new Array},e.forEach((function(e,t){var s={Id:e.Id,From:0,ErrorFrom:!1,To:0,ErrorTo:!1,IsSuccess:!1,BodyPart:e};a.Measures.push(s)})),s.push(a),se(s))}catch(n){console.log("GET SIZES",n)}return s},_e=function(e){se(e)},We=function(e){new Array;var t,a=new Array,s=new Array,n=new Array;try{e&&(re&&re.length>0&&(a=Object(d.a)(re)),a&&a.length>e.length?(s=a.filter((function(t){return e.find((function(e){return t.Name===e}))})),ae&&ae.length>0&&(n=Object(d.a)(ae).filter((function(t){return e.find((function(e){return t.Name.indexOf(e)>-1}))}))),s&&oe(a),n&&se(n)):(t={Id:0,Order:a[a.length-1].Order+1,Name:e[e.length-1]},a.push(t),oe(a)))}catch(i){console.log("ERROR CUPS CHANGE",i)}finally{V(e)}},He=function(){var e=Object(c.a)(o.a.mark((function e(){var t,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t={Id:a.Id,Name:X,UnfixedLimits:a.UnfixedLimits,Cups:re,TypeSizeGuide:{Id:k,Name:""},Gender:{Id:A,Name:""},IsUnique:B,Sizes:ae,ProductReference:le?fe:"",OtherReference:ye,Enabled:Y},x.Tools.IsDevelopment()&&console.log("SAVE SIZE GUIDE ITEM",t),e.next=5,h.SizeGuideServices.PutSizeGuide(a.Id,t);case 5:(s=e.sent)&&200===s.Status&&s.Content?z(!0):console.log("SAVE SIZE GUIDE RESPONSE ERROR",s),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.log("SAVE SIZE GUIDE ERROR",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),Ve=p.E_ClothesType[k],qe=p.E_GenderType[A];return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(m.a,{children:Object(S.jsx)(b.a,{children:Object(S.jsx)("p",{className:"font-fitprenda-title-crud",children:Object(S.jsx)(f.a,{id:"edit-size-guide-main-data"})})})}),Object(S.jsxs)(m.a,{children:[Object(S.jsx)(b.a,{xs:7,children:Object(S.jsx)(i.BlockContentControls,{children:Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)(j.a,{children:[Object(S.jsxs)("div",{className:"editsg-status-is-container",children:[Object(S.jsx)("label",{className:"editsg-inputswitch-label",children:"Estado"}
1),Object(S.jsx)(y.a,{checked:Y,onChange:Re})]}),Object(S.jsx)(i.InputTextForm,{Label:"size-guide-guideName",Placeholder:"size-guide-enterGuideName",MaxLength:25,DefaultValue:X,SuscribedChange:function(e){return J(e)}}),Object(S.jsx)(i.SelectSizeGuideType,{Label:Object(S.jsx)(f.a,{id:"ready-size-clothing-type",defaultMessage:"Tipo de prenda"}),ClassGroup:"mt-3",DefaultValue:w,SuscribedChange:function(e){return E(e)}}),Object(S.jsx)(i.SelectGender,{Label:"ready-size-gender",ClassGroup:"mt-3",DefaultValue:I,Disabled:k===p.E_ClothesType.BRASSIERE,SuscribedChange:function(e){return R(e)}}),Object(S.jsx)(j.a.Group,{className:"justify-content-center mt-3 ".concat(k!==p.E_ClothesType.BRASSIERE?"d-none":"d-block"),children:Object(S.jsx)(i.ChipsControl,{Title:Object(S.jsx)(f.a,{id:"size-guide-cups",defaultMessage:"Copas"}),Values:H,onChipChange:function(e){return We(e)}})}),Object(S.jsx)(j.a.Group,{className:"justify-content-center mt-3 ".concat(k!==p.E_ClothesType.BRASSIERE?"d-block":"d-none"),children:Object(S.jsx)(j.a.Check,{type:"checkbox",label:Object(S.jsx)(f.a,{id:"ready-size-unique-size",defaultMessage:"Talle \xfanico"}),onChange:function(e){return U(e.target.checked)},defaultChecked:F,disabled:k===p.E_ClothesType.BRASSIERE})}),Object(S.jsxs)(j.a.Group,{as:m.a,className:"justify-content-center mt-3",children:[Object(S.jsx)(b.a,{xs:4,children:Object(S.jsx)(j.a.Check,{type:"checkbox",label:C.formatMessage({id:"size-guide-createGuideProduct",defaultMessage:"Crear producto gu\xeda"}),defaultChecked:le,onChange:function(e){return function(e){try{ue(e),e?(pe("".concat(null===X||void 0===X?void 0:X.substr(0,33).split(" ").join("-"),"-rs-").concat(Number(new Date))),Oe("".concat(null===X||void 0===X?void 0:X.substr(0,33).split(" ").join("-"),"-rs-").concat(Number(new Date)))):(pe(""),Oe(""))}catch(t){console.log("ERROR ",t)}}(e.target.checked)},disabled:x.Tools.UserMustCreateRelatedCode()})}),Object(S.jsx)(b.a,{xs:8,children:Object(S.jsx)(i.InputText,{Label:"",Placeholder:C.formatMessage({id:"size-guide-enterProductCode",defaultMessage:"Ingresar el c\xf3digo del producto a generar"}),MaxLength:50,ClassName:"ms-auto w-75 text-start",Disabled:!le||x.Tools.UserMustCreateRelatedCode(),DefaultValue:le?be:"",SuscribedChange:function(e){return Oe(e)}})})]})]})})})}),Object(S.jsx)(b.a,{xs:2,children:Object(S.jsx)(i.SuggestionWidget,{description:Object(S.jsx)(f.a,{id:"edit-size-guide-widget-use-name"}),title:Object(S.jsx)(f.a,{id:"edit-size-guide-widget-use-title"})})})]}),Object(S.jsx)(m.a,{className:"mt-4",children:Object(S.jsx)(b.a,{children:Object(S.jsx)("p",{className:"font-fitprenda-title-crud",children:Object(S.jsx)(f.a,{id:"edit-size-guide-sizes-measures",defaultMessage:"Talles y medidas"})})})}),Object(S.jsx)(m.a,{children:Object(S.jsx)(b.a,{className:"font-fitprenda-subtitle-crud",children:Object(S.jsx)("p",{children:Object(S.jsx)(f.a,{id:"edit-size-guide-enterMeasurements",defaultMessage:"Ingresa en cada campo las {boldText} de la siguiente forma: desde - hasta.",values:{boldText:Object(S.jsx)("b",{children:Object(S.jsx)(f.a,{id:"edit-size-guide-bodyMeasurements",defaultMessage:"medidas corporales"})})}})})})}),Object(S.jsxs)(m.a,{children:[Object(S.jsx)(b.a,{xs:7,children:Object(S.jsx)(i.BlockContentControls,{paddingX:5,children:Object(S.jsx)(S.Fragment,{children:Object(S.jsx)(i.SizesForm,{BodyParts:Be(k),Elements:Ue(Be(k),ae),ClothesType:k,Cups:H,SucribeChanges:function(e){return _e(e)}})})})}),Object(S.jsxs)(b.a,{xs:2,children:[Object(S.jsx)(i.SuggestionWidget,{styleClass:"mb-2",title:k!==p.E_ClothesType.BRASSIERE?Object(S.jsx)(f.a,{id:"edit-size-guide-widget-use-title"}):Object(S.jsx)(f.a,{id:"edit-size-guide-contornoBusto",defaultMessage:"Contorno busto"}),description:k!==p.E_ClothesType.BRASSIERE?Object(S.jsx)(f.a,{id:"edit-size-guide-thinkBodyMeasurements",defaultMessage:"Pensar en Medidas corporales"}):Object(S.jsx)(f.a,{id:"edit-size-guide-bustContour",defaultMessage:"Todo el contorno rodeando la espalda, justo en el medio del busto."})}),Object(S.jsx)(i.SuggestionWidget,{title:k!==p.E_ClothesType.BRASSIERE?Object(S.jsx)(f.a,{id:"edit-size-guide-widget-use-title"}):Object(S.jsx)(f.a,{id:"edit-size-guide-bajoBusto",defaultMessage:"Bajo busto"}),description:k!==p.E_ClothesType.BRASSIERE?Object(S.jsx)(f.a,{id:"edit-size-guide-considerElasticity",defaultMessage:"Tener en cuenta la elasticidad de la prenda"}):Object(S.jsx)(f.a,{id:"edit-size-guide-bustEndContour",defaultMessage:"Contorno del cuerpo justo abajo de donde termina el busto."})})]}),Object(S.jsx)(b.a,{children:k&&A?Object(S.jsx)("img",{src:{TOP:{FEMALE:{es:"img/topclothingfemes.png",en:"img/topclothingfemen.png",pt:"img/topclothingfempt.png"},MALE:{es:"img/topclothingmalees.png",en:"img/topclothingmaleen.png",pt:"img/topclothingmalept.png"},UNISEX:{es:"",en:"",pt:""},UNKNOW:{es:"",en:"",pt:""}}
1,BOTTOM:{FEMALE:{es:"img/bottomclothingfemes.png",en:"img/bottomclothingfemen.png",pt:"img/bottomclothingfempt.png"},MALE:{es:"img/bottomclothingmalees.png",en:"img/bottomclothingmaleen.png",pt:"img/bottomclothingmalept.png"},UNISEX:{es:"",en:"",pt:""},UNKNOW:{es:"",en:"",pt:""}},ENTIRE:{FEMALE:{es:"img/fullclothingfemes.png",en:"img/fullclothingfemen.png",pt:"img/fullclothingfempt.png"},MALE:{es:"img/fullclothingmalees.png",en:"img/fullclothingmaleen.png",pt:"img/fullclothingmalept.png"},UNISEX:{es:"",en:"",pt:""},UNKNOW:{es:"",en:"",pt:""}},BRASSIERE:{FEMALE:{es:"img/brassieres.png",en:"img/brassieren.png",pt:"img/brassierpt.png"},MALE:{es:"",en:"",pt:""},UNISEX:{es:"",en:"",pt:""},UNKNOW:{es:"",en:"",pt:""}},SHOES:{FEMALE:{es:"",en:"",pt:""},MALE:{es:"",en:"",pt:""},UNISEX:{es:"",en:"",pt:""},UNKNOW:{es:"",en:"",pt:""}}}[Ve][qe][e.selectedLanguage],alt:"",width:280,className:"size-guide-images"}):""})]}),Object(S.jsx)(m.a,{className:"mt-4",children:Object(S.jsx)(b.a,{children:Object(S.jsx)("p",{className:"font-fitprenda-title-crud",children:Object(S.jsx)(f.a,{id:"ready-size-edit-size-guide-other-codes",defaultMessage:"Agregar otras codificaci\xf3nes"})})})}),Object(S.jsx)(m.a,{children:Object(S.jsxs)(b.a,{className:"font-fitprenda-subtitle-crud",children:[Object(S.jsx)("p",{children:Object(S.jsx)(f.a,{id:"ready-size-edit-size-guide-other-codes-exp",defaultMessage:"Ingresa en cada campo las {boldText} de la siguiente forma: desde - hasta.",values:{boldText:Object(S.jsx)("b",{children:Object(S.jsx)(f.a,{id:"edit-size-guide-bodyMeasurements",defaultMessage:"medidas corporales"})})}})}),Object(S.jsx)(v.a,{})]})}),Object(S.jsx)(m.a,{children:Object(S.jsx)(b.a,{xs:7,children:Object(S.jsx)(i.BlockContentControls,{paddingX:5,children:Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)("div",{children:[Object(S.jsxs)("div",{children:[Object(S.jsx)("div",{ref:Ie,onPaste:Fe,onClick:Pe,className:"editsizeguide-alias-cp ".concat(ke?"clicked":""),children:Object(S.jsx)(f.a,{id:"ready-size-paste",defaultMessage:"Pega aqu\xed tus alias"})}),Object(S.jsx)("p",{children:Object(S.jsx)(f.a,{id:"ready-size-search-buscar",defaultMessage:"Buscar"})}),Object(S.jsx)("input",{type:"text",placeholder:"Ej: Guia-Superior-Masculino",className:"editsizeguide-custom-alias-input",value:Ce,onChange:Ae})]}),Object(S.jsx)("div",{className:"tag-container",style:{maxHeight:"400px",overflowY:"auto"},children:Le()})]})})})})}),Object(S.jsxs)(m.a,{className:"mt-3",children:[Object(S.jsx)(b.a,{xs:1,className:"edit-size-guide-button",children:Object(S.jsx)(i.ButtonCommon,{label:Object(S.jsx)(f.a,{id:"ready-size-Cancelar",defaultMessage:"Cancel"}),isOutline:!0,eventClick:function(){t(-1)},className:"edit-size-guide-button"})}),Object(S.jsx)(b.a,{xs:1,className:"edit-size-guide-button",children:Object(S.jsx)(i.ButtonCommon,{label:Object(S.jsx)(f.a,{id:"ready-size-Guardar",defaultMessage:"Save"}),isOutline:!1,eventClick:function(){return He()}})})]}),Object(S.jsx)(i.ModalActionMessage,{Title:"\xa1Gu\xeda modificada con \xe9xito!",Show:N,OnModalClose:function(){z(!1),t(-1)}}),Object(S.jsx)("br",{})]})},z=a(312),C=a(44),w=(a(289),function(e){Object(n.g)().state;var t=Object(C.c)(),a=Object(l.a)(t,2),s=a[0],r=(a[1],Object(n.h)()),y=Object(u.useState)(!1),N=Object(l.a)(y,2),w=N[0],M=N[1],T=Object(g.a)(),k=parseInt(s.get("clothesType")||p.E_ClothesType.TOP.toString()),E=Object(u.useState)(parseInt(s.get("clothesType")||p.E_ClothesType.TOP.toString())),I=Object(l.a)(E,2),P=I[0],G=I[1],A=parseInt(s.get("gender")||p.E_GenderType.FEMALE.toString()),R=Object(u.useState)(parseInt(s.get("gender")||p.E_GenderType.FEMALE.toString())),F=Object(l.a)(R,2),L=F[0],D=F[1],B="false"!==s.get("isUnique"),U=Object(u.useState)("false"!==s.get("isUnique")),_=Object(l.a)(U,2),W=_[0],H=_[1],V=Object(u.useState)([]),q=Object(l.a)(V,2),K=q[0],X=q[1],J=Object(u.useState)(""),Z=Object(l.a)(J,2),Q=Z[0],Y=Z[1],$=Object(u.useState)([]),ee=Object(l.a)($,2),te=ee[0],ae=ee[1],se=Object(u.useState)(x.Tools.UserMustCreateRelatedCode()),ne=Object(l.a)(se,2),ie=ne[0],re=ne[1],oe=Object(u.useState)(""),ce=Object(l.a)(oe,2),de=ce[0],le=ce[1],ue=Object(u.useState)(""),je=Object(l.a)(ue,2),me=je[0],be=je[1],pe=Object(u.useState)(""),he=Object(l.a)(pe,2),ge=he[0],fe=he[1],Oe=Object(u.useState)(e.state&&e.state.OtherReference&&e.state.OtherReference.length>0?e.state.OtherReference:[]),xe=Object(l.a)(Oe,2),ve=xe[0],ye=xe[1],Se=Object(u.useState)(!1),Ne=Object(l.a)(Se,2),ze=Ne[0],Ce=Ne[1],we=Object(u.useState)(""),Me=Object(l.a)(we,2),Te=Me[0],ke=Me[1],Ee=Object(u.useState)(!1),Ie=Object(l.a)(Ee,2),Pe=Ie[0],Ge=Ie[1],Ae=Object(u.useState)(!1),Re=Object(l.a)(Ae,2),Fe=Re[0],Le=Re[1],De=Object(u.useRef)(null);Object(u.useEffect)((function(){return document.addEventListener("click",Ye),function(){document.removeEventListener("click",Ye)}}),[]),Object(u.useEffect)((function(){return document.body.style.cursor=Fe?"wait":"default",function(){document.body.style.cursor="default"}}),[Fe]);var Be=function(){return te.some((function(e){return 0===e.Name.trim().length||0===e.Measures.length}))},Ue=function(e){var t=new Array;try{e===p.E_ClothesType.TOP?(t.push({Id:p.E_BodyPart.CHEST,Name:T.formatMessage({id:"edit-size-guide-contornoBusto",defaultMessage:"Contorno de busto"})}),t.push({Id:p.E_BodyPart.WAIST,Name:T.formatMessage({id:"edit-size-guide-contornoCintura",defaultMessage:"Contorno de cintura"})}),t.push({Id:p.E_BodyPart.HIP,Name:T.formatMessage({id:"edit-size-guide-contornoCadera",defaultMessage:"Contorno de cadera"})})):e===p.E_ClothesType.BOTTOM?(t.push({Id:p.E_BodyPart.WAIST,Name:T.formatMessage({id:"edit-size-guide-contornoCintura",defaultMessage:"Contorno de cintura"})}),t.push({Id:p.E_BodyPart.HIP,Name:T.formatMessage({id:"edit-size-guide-contornoCadera",defaultMessage:"Contorno de cadera"})}),t.push({Id:p.E_BodyPart.LEG,Name:T.formatMessage({id:"edit-size-guide-altoTotal",defaultMessage:"Alto total"})})):e===p.E_ClothesType.ENTIRE?(t.push({Id:p.E_BodyPart.CHEST,Name:T.formatMessage({id:"edit-size-guide-contornoBusto",defaultMessage:"Contorno de busto"})}),t.push({Id:p.E_BodyPart.WAIST,Name:T.formatMessage({id:"edit-size-guide-contornoCintura",defaultMessage:"Contorno de cintura"})}),t.push({Id:p.E_BodyPart.HIP,Name:T.formatMessage({id:"edit-size-guide-contornoCadera",defaultMessage:"Contorno de cadera"})}),t.push({Id:p.E_BodyPart.LEG,Name:T.formatMessage({id:"edit-size-guide-altoTotal",defaultMessage:"Alto total"})}
1)):e===p.E_ClothesType.SHOES?t.push({Id:p.E_BodyPart.FOOT,Name:T.formatMessage({id:"edit-size-guide-pieIzquierdo",defaultMessage:"Largo de Pie"})}):(t.push({Id:p.E_BodyPart.CHEST,Name:T.formatMessage({id:"edit-size-guide-contornoBusto"})}),t.push({Id:p.E_BodyPart.UNDERBUST,Name:T.formatMessage({id:"edit-size-guide-contornoBajoBusto"})}))}catch(a){console.log("GetBodyParts",a)}return t},_e=function(e,t){var a,s=new Array;try{t&&t.length>0?s=Object(d.a)(t):(a={Id:0,Order:1,Name:"",Measures:new Array},e.forEach((function(e,t){var s={Id:e.Id,From:0,ErrorFrom:!1,To:0,ErrorTo:!1,IsSuccess:!1,BodyPart:e};a.Measures.push(s)})),s.push(a),ae(s))}catch(n){console.log("GET SIZES",n)}return s},We=function(e){ae(e)},He=function(e){X(e)},Ve=function(){var e=Object(c.a)(o.a.mark((function e(){var t,a,s,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Le(!0),a=0,(s=Be())&&console.log("Algunos talles tienen valores vacios"),0===a&&!s){e.next=8;break}return Ce(!0),Le(!1),e.abrupt("return");case 8:if(e.prev=8,Q.length<5?(a++,fe("Nombre necesita por lo menos 5 caracteres")):fe(""),(!W&&te.length<2||W&&(te.length<1||""===te[0].Name))&&(a++,console.log("Error: Sizes must have at least 1 letter")),ie&&me.length<10&&(a++,console.log("Error: ProductReference must have at least 10 letters")),0===a){e.next=15;break}return Le(!1),e.abrupt("return");case 15:return t={Id:0,Name:Q,UnfixedLimits:!1,Cups:K,TypeSizeGuide:{Id:P,Name:""},Gender:{Id:L,Name:""},IsUnique:W,Sizes:te,ProductReference:ie?me:"",OtherReference:[],Enabled:!0},console.log("SAVE SIZE GUIDE ITEM",t),e.next=19,h.SizeGuideServices.PostSizeGuide(t);case 19:(n=e.sent)&&200===n.Status&&n.Content?M(!0):console.log("SAVE SIZE GUIDE RESPONSE ERROR",n),Ce(!1),e.next=27;break;case 24:e.prev=24,e.t0=e.catch(8),console.log("SAVE SIZE GUIDE",e.t0);case 27:return e.prev=27,Le(!1),e.finish(27);case 30:case"end":return e.stop()}}),e,null,[[8,24,27,30]])})));return function(){return e.apply(this,arguments)}}(),qe=p.E_ClothesType[P],Ke=p.E_GenderType[L],Xe=function(e){var t=e.target.value;ke(t)},Je=function(){if(!ve)return null;var e=ve.filter((function(e){return e.toLowerCase().includes(Te.toLowerCase())}));return Object(S.jsx)("div",{className:"tag-container",children:e.map((function(e,t){return Object(S.jsx)("div",{className:"tag-item",children:Object(S.jsx)(O.a,{children:Object(S.jsxs)("div",{className:"flex align-items-center gap-2 editsizeguide-alias-tag",children:[Object(S.jsx)("span",{className:"text-base",children:e}),Object(S.jsx)("i",{className:"pi pi-times text-xs",onClick:function(){return Ze(t)}})]})})},t)}))})},Ze=function(e){var t=Object(d.a)(ve);t.splice(e,1),ye(t)},Qe=function(e){var t=e.clipboardData;if(t){var a=Object(d.a)(ve),s=t.getData("text/plain").split("\r\n");s.length>0&&""===s[s.length-1]&&s.pop(),(s=s.filter(Boolean)).forEach((function(e){e.split("\t").length?e.split("\t").forEach((function(e){e.split(",").length?e.split(",").forEach((function(e){e&&a.push(e)})):e&&a.push(e)})):e&&a.push(e)})),ye(a),ke("")}},Ye=function(e){De.current&&!De.current.contains(e.target)&&Ge(!1)},$e=function(){Ge(!0)};return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(m.a,{children:Object(S.jsx)(b.a,{children:Object(S.jsx)("p",{className:"font-fitprenda-title-crud",children:Object(S.jsx)(f.a,{id:"edit-size-guide-main-data",defaultMessage:"Datos principales"})})})}),Object(S.jsxs)(m.a,{children:[Object(S.jsx)(b.a,{xs:7,className:"new-size-guide-block-content-control-main-info",children:Object(S.jsx)(i.BlockContentControls,{children:Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)(j.a,{children:[Object(S.jsx)(i.InputTextForm,{Label:"size-guide-guideName",Placeholder:"size-guide-enterGuideName",MaxLength:100,SuscribedChange:function(e){Y(e),e.length<5?fe(T.formatMessage({id:"size-guide-nameError",defaultMessage:"Se necesitan por lo menos 5 caracteres"})):fe(""),x.Tools.UserMustCreateRelatedCode()&&(e?(le("".concat(null===e||void 0===e?void 0:e.trim().substr(0,35).split(" ").join("-"),"-").concat(Number(new Date))),be("".concat(null===e||void 0===e?void 0:e.trim().substr(0,35).split(" ").join("-"),"-").concat(Number(new Date)))):(le(""),be("")))}}),ge&&Object(S.jsx)("p",{className:"text-danger",children:ge}),Object(S.jsx)(i.SelectSizeGuideType,{Label:T.formatMessage({id:"ready-size-clothing-type",defaultMessage:"Tipo de prenda"}),ClassGroup:"mt-3",DefaultValue:k,SuscribedChange:function(e){return G(e)}}),Object(S.jsx)(i.SelectGender,{Label:"ready-size-gender",ClassGroup:"mt-3",DefaultValue:A,Disabled:P===p.E_ClothesType.BRASSIERE,SuscribedChange:function(e){return D(e)}}),Object(S.jsx)(j.a.Group,{className:"justify-content-center mt-3 ".concat(P!==p.E_ClothesType.BRASSIERE?"d-none":"d-block"),children:Object(S.jsx)(i.ChipsControl,{Title:T.formatMessage({id:"size-guide-cups",defaultMessage:"Copas"}),onChipChange:function(e){return He(e)}})}),Object(S.jsx)(j.a.Group,{className:"justify-content-center mt-3 ".concat(P!==p.E_ClothesType.BRASSIERE?"d-block":"d-none"),children:Object(S.jsx)(j.a.Check,{type:"checkbox",label:T.formatMessage({id:"ready-size-unique-size",defaultMessage:"Talle \xfanico"}),onChange:function(e){return H(e.target.checked)},defaultChecked:B,disabled:P===p.E_ClothesType.BRASSIERE})}),Object(S.jsxs)(j.a.Group,{as:m.a,className:"justify-content-center mt-3",children:[Object(S.jsx)(b.a,{xs:4,children:Object(S.jsx)(j.a.Check,{type:"checkbox",label:T.formatMessage({id:"size-guide-createGuideProduct",defaultMessage:"Crear producto gu\xeda"}),defaultChecked:x.Tools.UserMustCreateRelatedCode(),onChange:function(e){return function(e){try{re(e),e?(le("".concat(null===Q||void 0===Q?void 0:Q.substr(0,33).split(" ").join("-"),"-rs-").concat(Number(new Date))),be("".concat(null===Q||void 0===Q?void 0:Q.substr(0,33).split(" ").join("-"),"-rs-").concat(Number(new Date)))):(le(""),be(""))}catch(t){console.log("ERROR ",t)}}(e.target.checked)},disabled:x.Tools.UserMustCreateRelatedCode()})}),Object(S.jsx)(b.a,{xs:8,children:Object(S.jsx)(i.InputText,{Label:"",Placeholder:T.formatMessage({id:"size-guide-enterProductCode",defaultMessage:"Ingresar el c\xf3digo del producto a generar"}),MaxLength:50,ClassName:"ms-auto w-75 text-start",Disabled:!ie||x.Tools.UserMustCreateRelatedCode(),DefaultValue:ie?de:"",SuscribedChange:function(e){return be(e)}})})]})]})})})}),Object(S.jsx)(b.a,{xs:2,className:"new-size-recommendation-main-info",children:Object(S.jsx)(i.SuggestionWidget,{description:Object(S.jsx)(f.a,{id:"edit-size-guide-widget-use-name"}),title:Object(S.jsx)(f.a,{id:"edit-size-guide-widget-use-title"})})})]}),Object(S.jsx)(m.a,{className:"mt-4",children:Object(S.jsx)(b.a,{children:Object(S.jsxs)("p",{className:"font-fitprenda-title-crud",children:[" ",Object(S.jsx)(f.a,{id:"edit-size-guide-sizes-measures",defaultMessage:"Talles 
1y medidas"})]})})}),Object(S.jsx)(m.a,{children:Object(S.jsx)(b.a,{className:"font-fitprenda-subtitle-crud",children:Object(S.jsx)("p",{children:Object(S.jsx)(f.a,{id:"edit-size-guide-enterMeasurements",defaultMessage:"Ingresa en cada campo las {boldText} de la siguiente forma: desde - hasta.",values:{boldText:Object(S.jsx)("b",{children:Object(S.jsx)(f.a,{id:"edit-size-guide-bodyMeasurements",defaultMessage:"medidas corporales"})})}})})})}),Object(S.jsxs)(m.a,{children:[Object(S.jsxs)(b.a,{xs:9,className:"new-size-guide-block-content-control-sizes-measures",children:[Object(S.jsx)(i.BlockContentControls,{paddingX:5,children:Object(S.jsx)(S.Fragment,{children:Object(S.jsx)(i.SizesForm,{BodyParts:Ue(P),Elements:_e(Ue(P),te),ClothesType:P,Cups:K,SucribeChanges:function(e){return We(e)},ValidateSizes:function(){return Be()},showCustomWarning:ze})})}),Object(S.jsx)(m.a,{className:"mt-4",children:Object(S.jsx)(b.a,{children:Object(S.jsx)("p",{className:"font-fitprenda-title-crud",children:Object(S.jsx)(f.a,{id:"ready-size-edit-size-guide-other-codes",defaultMessage:"Agregar otras codificaci\xf3nes"})})})}),Object(S.jsx)(m.a,{children:Object(S.jsxs)(b.a,{className:"font-fitprenda-subtitle-crud",children:[Object(S.jsx)("p",{children:Object(S.jsx)(f.a,{id:"ready-size-edit-size-guide-other-codes-exp",defaultMessage:"Ingresa en cada campo las {boldText} de la siguiente forma: desde - hasta.",values:{boldText:Object(S.jsx)("b",{children:Object(S.jsx)(f.a,{id:"edit-size-guide-bodyMeasurements",defaultMessage:"medidas corporales"})})}})}),Object(S.jsx)(v.a,{})]})}),Object(S.jsx)(m.a,{children:Object(S.jsx)(b.a,{xs:12,children:Object(S.jsx)(i.BlockContentControls,{paddingX:5,children:Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)("div",{children:[Object(S.jsxs)("div",{children:[Object(S.jsx)("div",{ref:De,onPaste:Qe,onClick:$e,className:"editsizeguide-alias-cp ".concat(Pe?"clicked":""),children:Object(S.jsx)(f.a,{id:"ready-size-paste",defaultMessage:"Pega aqu\xed tus alias"})}),Object(S.jsx)("p",{children:Object(S.jsx)(f.a,{id:"ready-size-search-buscar",defaultMessage:"Buscar"})}),Object(S.jsx)("input",{type:"text",placeholder:"Ej: Guia-Superior-Masculino",className:"editsizeguide-custom-alias-input",value:Te,onChange:Xe})]}),Object(S.jsx)("div",{className:"tag-container",style:{maxHeight:"400px",overflowY:"auto"},children:Je()})]})})})})})]}),Object(S.jsxs)(b.a,{xs:2,className:"new-size-recommendation-sizes-measures",children:[Object(S.jsx)(i.SuggestionWidget,{styleClass:"mb-2",title:P!==p.E_ClothesType.BRASSIERE?Object(S.jsx)(f.a,{id:"edit-size-guide-widget-use-title"}):Object(S.jsx)(f.a,{id:"edit-size-guide-contornoBusto",defaultMessage:"Contorno busto"}),description:P!==p.E_ClothesType.BRASSIERE?Object(S.jsx)(f.a,{id:"edit-size-guide-thinkBodyMeasurements",defaultMessage:"Pensar en Medidas corporales"}):Object(S.jsx)(f.a,{id:"edit-size-guide-bustContour",defaultMessage:"Todo el contorno rodeando la espalda, justo en el medio del busto."})}),Object(S.jsx)(i.SuggestionWidget,{title:P!==p.E_ClothesType.BRASSIERE?Object(S.jsx)(f.a,{id:"edit-size-guide-widget-use-title"}):Object(S.jsx)(f.a,{id:"edit-size-guide-bajoBusto",defaultMessage:"Bajo busto"}),description:P!==p.E_ClothesType.BRASSIERE?Object(S.jsx)(f.a,{id:"edit-size-guide-considerElasticity",defaultMessage:"Tener en cuenta la elasticidad de la prenda"}):Object(S.jsx)(f.a,{id:"edit-size-guide-bustEndContour",defaultMessage:"Contorno del cuerpo justo abajo de donde termina el busto."})})]}),Object(S.jsx)(b.a,{children:P&&L?Object(S.jsx)("img",{src:{TOP:{FEMALE:{es:"img/topclothingfemes.png",en:"img/topclothingfemen.png",pt:"img/topclothingfempt.png"},MALE:{es:"img/topclothingmalees.png",en:"img/topclothingmaleen.png",pt:"img/topclothingmalept.png"},UNISEX:{es:"",en:"",pt:""},UNKNOW:{es:"",en:"",pt:""}},BOTTOM:{FEMALE:{es:"img/bottomclothingfemes.png",en:"img/bottomclothingfemen.png",pt:"img/bottomclothingfempt.png"},MALE:{es:"img/bottomclothingmalees.png",en:"img/bottomclothingmaleen.png",pt:"img/bottomclothingmalept.png"},UNISEX:{es:"",en:"",pt:""},UNKNOW:{es:"",en:"",pt:""}},ENTIRE:{FEMALE:{es:"img/fullclothingfemes.png",en:"img/fullclothingfemen.png",pt:"img/fullclothingfempt.png"},MALE:{es:"img/fullclothingmalees.png",en:"img/fullclothingmaleen.png",pt:"img/fullclothingmale.png"},UNISEX:{es:"",en:"",pt:""},UNKNOW:{es:"",en:"",pt:""}}
1,BRASSIERE:{FEMALE:{es:"img/brassieres.png",en:"img/brassieren.png",pt:"img/brassierpt.png"},MALE:{es:"",en:"",pt:""},UNISEX:{es:"",en:"",pt:""},UNKNOW:{es:"",en:"",pt:""}},SHOES:{FEMALE:{es:"",en:"",pt:""},MALE:{es:"",en:"",pt:""},UNISEX:{es:"",en:"",pt:""},UNKNOW:{es:"",en:"",pt:""}}}[qe][Ke][e.selectedLanguage],alt:"",width:280,className:"size-guide-images"}):""})]}),Object(S.jsxs)(m.a,{className:"mt-3 size-guide-buttons-container",children:[Object(S.jsx)(b.a,{xs:1,className:"new-size-guide-button",children:Object(S.jsx)(i.ButtonCommon,{label:Object(S.jsx)(f.a,{id:"ready-size-Cancelar",defaultMessage:"Cancelar"}),isOutline:!0,eventClick:function(){r(-1)}})}),Object(S.jsxs)(b.a,{xs:1,className:"new-size-guide-button d-flex align-items-center",children:[Object(S.jsx)(i.ButtonCommon,{label:T.formatMessage({id:"ready-size-Guardar",defaultMessage:"Guardar"}),isOutline:!1,eventClick:function(){return Ve()},disabled:Fe}),Fe&&Object(S.jsx)("div",{className:"",children:Object(S.jsx)(z.a,{animation:"border",role:"status",size:"sm",children:Object(S.jsx)("span",{className:"visually-hidden",children:"Loading..."})})})]})]}),Object(S.jsx)(i.ModalActionMessage,{Title:"\xa1Gu\xeda creada con \xe9xito!",Show:w,OnModalClose:function(){M(!1),r(-1)}}),Object(S.jsx)("br",{})]})}),M=(a(290),function(){var e=Object(u.useState)([{}]),t=Object(l.a)(e,2),a=t[0],s=t[1],r=Object(u.useState)(!1),d=Object(l.a)(r,2),p=d[0],g=d[1],O=Object(u.useState)([]),v=Object(l.a)(O,2),y=(v[0],v[1]),N=Object(u.useState)(!1),z=Object(l.a)(N,2),w=z[0],M=z[1],T=Object(u.useState)(!1),k=Object(l.a)(T,2),E=k[0],I=k[1],P=Object(u.useState)(0),G=Object(l.a)(P,2),A=G[0],R=G[1],F=Object(u.useState)(0),L=Object(l.a)(F,2),D=L[0],B=L[1],U=Object(u.useState)(0),_=Object(l.a)(U,2),W=_[0],H=_[1],V=Object(u.useState)(!1),q=Object(l.a)(V,2),K=q[0],X=q[1],J=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=0;x.Tools.IsDevelopment()&&console.log("getActiveSizeGuides",e);try{t=e?e.filter((function(e){return e.Enabled})).length||0:a.filter((function(e){return e.Enabled})).length||0}catch(s){console.log("ERROR getActiveSizeGuides",s)}return t||0},Z=function(){M(!1),I(!1)},Q=Object(n.h)();Object(u.useEffect)((function(){Object(c.a)(o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,g(!0),e.next=4,h.SizeGuideServices.GetSizesGuides();case 4:200===(t=e.sent).Status&&(x.Tools.SetQuantitySizeGuideActive(J(t.Content)),s(t.Content)),g(!1),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0),g(!1);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))()}),[s]);var Y=Object(S.jsx)(f.a,{id:"size-guide-upper-clothing",defaultMessage:"Prendas Superiores"}),$=Object(S.jsx)(f.a,{id:"size-guide-lower-clothing",defaultMessage:"Prendas Inferiores"}),ee=Object(S.jsx)(f.a,{id:"size-guide-full-clothing",defaultMessage:"Prendas Enteras"}),te=Object(S.jsx)(f.a,{id:"ready-size-bras",defaultMessage:"Sostenes"}),ae=Object(S.jsx)(f.a,{id:"ready-size-footwear",defaultMessage:"Calzado"}),se={marginBottom:"30px"},ne=function(e){R(e),B(e),H(2),X(!1),M(!0)};return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(m.a,{className:"justify-content-center",children:Object(S.jsx)(b.a,{xl:7,className:"sizeguide
1-template-main",children:Object(S.jsx)(i.MainBoxTool,{title:Object(S.jsx)(f.a,{id:"size-guide-select-template"}),children:Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)(m.a,{className:"p-3",children:[Object(S.jsx)(b.a,{md:6,xl:4,style:se,children:Object(S.jsx)(i.GuideTemplate,{imgSrc:"img/upperclothingimg.png",paragraphText:Y,onClick:function(){return ne(1)},mainContainerClass:"guide-template-main-container",imageContainerClass:"guide-template-imagecontainer",imageClass:"guide-temaplate-image",textContainerClass:"guide-template-textcontainer",textClass:"guide-template-text"})}),Object(S.jsx)(b.a,{md:6,xl:4,style:se,children:Object(S.jsx)(i.GuideTemplate,{imgSrc:"img/bottomwear.png",paragraphText:$,onClick:function(){return ne(2)},mainContainerClass:"guide-template-main-container",imageContainerClass:"guide-template-imagecontainer",imageClass:"guide-temaplate-image",textContainerClass:"guide-template-textcontainer",textClass:"guide-template-text"})}),Object(S.jsx)(b.a,{md:6,xl:4,style:se,children:Object(S.jsx)(i.GuideTemplate,{imgSrc:"img/dressimg.png",paragraphText:ee,onClick:function(){return ne(3)},mainContainerClass:"guide-template-main-container",imageContainerClass:"guide-template-imagecontainer",imageClass:"guide-temaplate-image",textContainerClass:"guide-template-textcontainer",textClass:"guide-template-text"})}),Object(S.jsx)(b.a,{md:6,xl:4,style:se,children:Object(S.jsx)(i.GuideTemplate,{imgSrc:"img/braimg.png",paragraphText:te,onClick:function(){return ne(4)},mainContainerClass:"guide-template-main-container",imageContainerClass:"guide-template-imagecontainer",imageClass:"guide-temaplate-image",textContainerClass:"guide-template-textcontainer",textClass:"guide-template-text"})}),Object(S.jsx)(b.a,{md:6,xl:4,style:se,children:Object(S.jsx)(i.GuideTemplate,{imgSrc:"img/shoeimg2.png",paragraphText:ae,onClick:function(){return ne(5)},mainContainerClass:"guide-template-main-container",imageContainerClass:"guide-template-imagecontainer",imageClass:"guide-temaplate-image",textContainerClass:"guide-template-textcontainer",textClass:"guide-template-text"})})]})})})})}),Object(S.jsx)(m.a,{className:"justify-content-center mt-5",children:Object(S.jsx)(b.a,{children:Object(S.jsx)(i.DataTableSizeGuides,{elements:a,isLoading:p,scrollHeight:"flex",handlerSelectionRow:function(e){y(e)},handlerEdit:function(e){Q({pathname:"edit/".concat(e.Id)},{state:e})},handlerDeleteGroup:function(e){console.log("Click Eliminar Gu\xedas",e)},handlerDownload:function(e){console.log("Click Download",e)},showTitle:!0})})}),Object(S.jsx)(i.ModalCommon,{Title:"ready-size-new-size-guide",buttonSuccessTitle:"ready-size-create",Show:w,OnModalClose:Z,OnModalOk:function(){x.Tools.CanCreateSizeGuide()?(M(!1),Q({pathname:"add",search:Object(C.b)({clothesType:D.toString(),gender:W.toString(),isUnique:K.toString()}).toString()})):I(!0)},Content:Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)(j.a,{children:[Object(S.jsx)(i.SelectSizeGuideType,{Label:Object(S.jsx)(f.a,{id:"ready-size-clothing-type",defaultMessage:"Tipo de prenda"}),DefaultValue:A,SuscribedChange:function(e){return B(e)}}),Object(S.jsx)(i.SelectGender,{Label:"ready-size-gender",ClassGroup:"mt-3",DefaultValue:2,Disabled:4===A,SuscribedChange:function(e){return H(e)}}),Object(S.jsx)(j.a.Group,{className:"justify-content-center mt-3",children:Object(S.jsx)(j.a.Check,{type:"checkbox",label:Object(S.jsx)(f.a,{id:"ready-size-unique-size",defaultMessage:"Talle \xfanico"}),onChange:function(e){return X(e.target.checked)},defaultChecked:!1,disabled:4===A})})]})})}),Object(S.jsx)(i.ModalCommon,{Title:"readysize-limit-title",buttonSuccessTitle:"readysize-contact",Show:E,OnModalClose:Z,OnModalOk:Z,Content:Object(S.jsx)(j.a,{children:Object(S.jsxs)("div",{className:"sizeguide
1-limitreached-container",children:[Object(S.jsx)("p",{children:"Has alcanzado el l\xedmite de gu\xedas disponible para tu plan, para expandirlo cont\xe1ctate con"}),Object(S.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})})})]})});t.default=function(e){var t=Object(n.i)();return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(i.MainSectionTitle,Object(s.a)({},{title:""===t["*"]?Object(S.jsx)(f.a,{id:"ready-size-sizes-guides"}):"add"===t["*"]?Object(S.jsx)(f.a,{id:"ready-size-new-size-guide"}):Object(S.jsx)(f.a,{id:"main-edit-sizeguides-title"}),subtitle:""===t["*"]?Object(S.jsx)(f.a,{id:"main-sizeguides-subtitle"}):"add"===t["*"]?Object(S.jsx)(f.a,{id:"main-new-sizeguides-subtitle"}):Object(S.jsx)(f.a,{id:"main-edit-sizeguides-subtitle"})})),Object(S.jsx)("div",{className:"mt-4",children:Object(S.jsx)(n.b,{})}),Object(S.jsxs)(n.e,{children:[Object(S.jsx)(n.c,{path:"/",element:Object(S.jsx)(M,{})}),Object(S.jsx)(n.c,{path:"/add",element:Object(S.jsx)(w,{selectedLanguage:e.selectedLanguage})}),Object(S.jsx)(n.c,{path:"/edit/:id",element:Object(S.jsx)(N,{selectedLanguage:e.selectedLanguage})})]})]})}},function(e,t,a){"use strict";a.r(t);a(175);var s=a(1),n=a.n(s),i=a(43),r=a.n(i),o=a(44),c=a(20),d=a(21),l=a(31),u=a(30),j=a(25),m=(a(180),a(10)),b=a(139),p=a(0),h=function(e){Object(l.a)(a,e);var t=Object(u.a)(a);function a(e){var s;return Object(c.a)(this,a),(s=t.call(this,e)).state={isAuthenticated:m.StorageServices.ExistsCookieUser()},s}return Object(d.a)(a,[{key:"onUserLogin",value:function(){this.setState({isAuthenticated:!0})}},{key:"render",value:function(){var e=this,t=this.state.isAuthenticated;return Object(p.jsx)(j.e,{children:Object(p.jsxs)(j.c,{path:"/",element:Object(p.jsx)(b.ContentLayout,{}),children:[Object(p.jsx)(j.c,{index:!0,element:t?Object(p.jsx)(j.a,{to:"/readysize"}):Object(p.jsx)(j.a,{to:"/login"})}),Object(p.jsx)(j.c,{path:"/login",element:t?Object(p.jsx)(j.a,{to:"/readysize"}):Object(p.jsx)(b.Login,{onSuccess:function(){return e.onUserLogin()}})}),Object(p.jsx)(j.c,{path:"/readysize/*",element:t?Object(p.jsx)(b.ContentApp,{}):Object(p.jsx)(j.a,{to:"/login"})}),Object(p.jsx)(j.c,{path:"/fitLogin",element:Object(p.jsx)("h1",{children:"FitLogin TiendaNube"})})]})})}}]),a}(n.a.Component);h.displayName=h.name;var g=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}$/));function f(e){navigator.serviceWorker.register(e).then((function(e){e.onupdatefound=function(){var t=e.installing;t.onstatechange=function(){"installed"===t.state&&(navigator.serviceWorker.controller?console.log("New content is available; please refresh."):console.log("Content is cached for offline use."))}}})).catch((function(e){console.error("Error during service worker registration:",e)}))}a(298),a(299),a(300);var O=a(87),x=a(62),v=a(169),y=a(74);O.b.add(x.f,v.a);var S=document.getElementsByTagName("base")[0].getAttribute("href"),N=document.getElementById("root");N.classList.add("h-100");var z=m.StorageServices.GetCookieUser(),C=z?z.CultureLocale:"es-ES";r.a.render(Object(p.jsx)(n.a.StrictMode,{children:Object(p.jsx)(o.a,{basename:S,children:Object(p.jsx)(y.b,{cultureLocale:C,children:Object(p.jsx)(h,{})})})}),N),function(){if("serviceWorker"in navigator){if(new URL("",window.location).origin!==window.location.origin)return;window.addEventListener("load",(function(){var e="".concat("","/service-worker.js");g?function(e){fetch(e).then((function(t){404===t.status||-1===t.headers.get("content-type").indexOf("javascript")?navigator.serviceWorker.ready.then((function(e){e.unregister().then((function(){window.location.reload()}))})):f(e)})).catch((function(){console.log("No internet connection found. App is running in offline mode.")}))}(e):f(e)}))}}()},function(e,t,a){"use strict";a.r(t);var s=a(3),n=a(1),i=a.n(n),r=a(20),o=a(21),c=a(31),d=a(30),l=a(319),u=a(320),j=a(311),m=a(19),b=a(10),p=(a(210),a(105)),h=a(5),g=a(74),f=a(0),O=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var s;return Object(r.a)(this,a),(s=t.call(this,e)).toggleHelpDropdown=function(){s.setState((function(e){return{isHelpDropdownOpen:!e.isHelpDropdownOpen}}))},s.toggleDropdown=function(){s.setState((function(e){return{isDropdownOpen:!e.isDropdownOpen}}))},s.state={user:b.StorageServices.GetCookieUser(),showMenu:!1,showOffcanvas:!1,isHelpDropdownOpen:!1},s}return Object(o.a)(a,[{key:"toggleOffcanvas",value:function(){this.setState((function(e){return{showOffcanvas:!e.showOffcanvas}}))}},{key:"onClickMenuBars",value:function(){try{this.setState({showMenu:!this.state.showMenu}),this.props.onClickMenuAside(this.state.showMenu)}catch(e){console.log(e)}}}
1,{key:"onLogout",value:function(){try{b.StorageServices.FlushCookie(),document.location.pathname="/"}catch(e){console.log(e)}}},{key:"render",value:function(){var e=this,t=this.context,a=t.readysizelocale,s=t.changeLanguage;return Object(f.jsxs)(f.Fragment,{children:[Object(f.jsxs)(l.a,{defaultActiveKey:"/fiprenda",className:this.state.showMenu?"flex-column nav-side":"flex-column nav-side colapse",children:[Object(f.jsx)("div",{className:"nav-side-content-item",onClick:function(){return e.toggleOffcanvas()},children:Object(f.jsx)(m.a,{icon:"bars",className:"ms-3 mt-4"})}),Object(f.jsxs)(p.a,{show:this.state.showOffcanvas,onHide:function(){return e.toggleOffcanvas()},backdrop:!1,className:"offcanvas-main-container",children:[Object(f.jsxs)("div",{className:"navapp-main-container-parent",children:[Object(f.jsx)("div",{className:"navapp-main-container",children:Object(f.jsx)(l.a,{className:"me-auto",children:Object(f.jsx)(l.a.Link,{href:"/readysize",children:Object(f.jsx)("img",{src:"/img/readysizelogo.png",alt:"Logo-ReadySize",width:"130",className:"d-inline-block align-top navapp-fitprenda-logo"})})})}),Object(f.jsx)(p.a.Header,{className:"navapp-offcanva-x-button",closeButton:!0})]}),Object(f.jsx)(p.a.Body,{children:Object(f.jsxs)(l.a,{className:" flex-grow-1 offcanva-navapp-main-container",children:[Object(f.jsxs)("div",{children:[Object(f.jsx)("hr",{className:"nav-side-divider-offcanvas"}),Object(f.jsx)(l.a.Item,{className:"custom-navlink-navapp",children:Object(f.jsxs)(l.a.Link,{href:"/readysize",children:[Object(f.jsx)(m.a,{icon:"home",className:"nav-side-icon"}),Object(f.jsx)("span",{className:(this.state.showMenu,"nav-side-icon-text"),children:Object(f.jsx)(h.a,{id:"ready-size-start"})})]})}),Object(f.jsx)(l.a.Item,{className:"custom-navlink-navapp",children:Object(f.jsxs)(l.a.Link,{href:"/readysize/charts",children:[Object(f.jsx)(m.a,{icon:"chart-line",className:"nav-side-icon"}),Object(f.jsx)("span",{className:(this.state.showMenu,"nav-side-icon-text"),children:Object(f.jsx)(h.a,{id:"ready-size-statistics"})})]})}),Object(f.jsx)("hr",{className:"nav-side-divider-offcanvas"}),Object(f.jsx)(l.a.Item,{className:"custom-navlink-navapp",children:Object(f.jsxs)(l.a.Link,{href:"/readysize/tools",children:[Object(f.jsx)(m.a,{icon:"cog",className:"nav-side-icon"}),Object(f.jsx)("span",{className:(this.state.showMenu,"nav-side-icon-text"),children:Object(f.jsx)(h.a,{id:"side-nav-tools"})})]})}),Object(f.jsx)(l.a.Item,{className:"custom-navlink-navapp",children:Object(f.jsxs)(l.a.Link,{href:"/readysize/sizes-guides",children:[Object(f.jsx)(m.a,{icon:"ruler",className:"nav-side-icon"}),Object(f.jsx)("span",{className:(this.state.showMenu,"nav-side-icon-text"),children:Object(f.jsx)(h.a,{id:"ready-size-sizes-guides"})})]})}),Object(f.jsx)(l.a.Item,{className:"custom-navlink-navapp",children:Object(f.jsxs)(l.a.Link,{href:"/readysize/products",children:[Object(f.jsx)(m.a,{icon:"tshirt",className:"nav-side-icon"}),Object(f.jsx)("span",{className:(this.state.showMenu,"nav-side-icon-text"),children:Object(f.jsx)(h.a,{id:"ready-size-products"})})]})}),200===this.state.user.PlatformId&&Object(f.jsx)(l.a.Item,{className:"custom-navlink-navapp",children:Object(f.jsxs)(l.a.Link,{href:"/readysize/mercado-shops",children:[Object(f.jsx)(m.a,{icon:"handshake",className:"nav-side-icon"}),Object(f.jsx)("span",{className:(this.state.showMenu,"nav-side-icon-text"),children:Object(f.jsx)(h.a,{id:"navapp-mercadoshops"})})]})}),2===this.state.user.PlatformId&&Object(f.jsx)(l.a.Item,{className:"custom-navlink-navapp",children:Object(f.jsxs)(l.a.Link,{href:"/readysize/tienda-nube",children:[Object(f.jsx)(m.a,{icon:"cloud",className:"nav-side-icon"}),Object(f.jsx)("span",{className:(this.state.showMenu,"nav-side-icon-text"),children:Object(f.jsx)(h.a,{id:"navapp-tiendanube"})})]})})]}),Object(f.jsxs)("div",{className:"navapp-exit-container",children:[Object(f.jsx)("hr",{className:"nav-side-divider-offcanvas-bottom"}),Object(f.jsx)(l.a.Item,{className:"custom-navlink-navapp",children:Object(f.jsxs)(l.a.Link,{href:"",onClick:function(){return e.onLogout()},children:[Object(f.jsx)(m.a,{icon:"sign-out-alt",className:"nav-side-icon"}
1),Object(f.jsx)("span",{className:this.state.showMenu?"nav-side-icon-text":"nav-side-icon-text ",children:Object(f.jsx)(h.a,{id:"side-nav-sign-out"})})]})})]})]})})]}),Object(f.jsx)("hr",{className:"nav-side-divider"}),Object(f.jsx)(l.a.Item,{children:Object(f.jsxs)(l.a.Link,{href:"/readysize",children:[Object(f.jsx)(m.a,{icon:"home",className:"nav-side-icon active"}),Object(f.jsx)("span",{className:this.state.showMenu?"nav-side-icon-text active":"nav-side-icon-text active colapse",children:"Inicio"})]})}),Object(f.jsx)(l.a.Item,{children:Object(f.jsxs)(l.a.Link,{href:"/readysize/charts",children:[Object(f.jsx)(m.a,{icon:"chart-line",className:"nav-side-icon"}),Object(f.jsx)("span",{className:this.state.showMenu?"nav-side-icon-text":"nav-side-icon-text colapse",children:"Estad\xedsticas"})]})}),Object(f.jsx)("hr",{className:"nav-side-divider"}),Object(f.jsx)("div",{className:this.state.showMenu?"nav-side-section":"nav-side-section colapse",children:"Administrar"}),Object(f.jsx)(l.a.Item,{children:Object(f.jsxs)(l.a.Link,{href:"/readysize/tools",children:[Object(f.jsx)(m.a,{icon:"cog",className:"nav-side-icon"}),Object(f.jsx)("span",{className:this.state.showMenu?"nav-side-icon-text":"nav-side-icon-text colapse",children:"Herramientas"})]})}),Object(f.jsx)(l.a.Item,{children:Object(f.jsxs)(l.a.Link,{href:"/readysize/sizes-guides",children:[Object(f.jsx)(m.a,{icon:"ruler",className:"nav-side-icon"}),Object(f.jsx)("span",{className:this.state.showMenu?"nav-side-icon-text":"nav-side-icon-text colapse",children:"Gu\xedas de talles"})]})}),Object(f.jsx)(l.a.Item,{children:Object(f.jsxs)(l.a.Link,{href:"/readysize/products",children:[Object(f.jsx)(m.a,{icon:"tshirt",className:"nav-side-icon"}),Object(f.jsx)("span",{className:this.state.showMenu?"nav-side-icon-text":"nav-side-icon-text colapse",children:"Productos"})]})}),200===this.state.user.PlatformId&&Object(f.jsx)(l.a.Item,{className:"custom-navlink-navapp",children:Object(f.jsxs)(l.a.Link,{href:"/readysize/mercado-shops",children:[Object(f.jsx)(m.a,{icon:"handshake",className:"nav-side-icon"}),Object(f.jsx)("span",{className:(this.state.showMenu,"nav-side-icon-text")})]})}),2===this.state.user.PlatformId&&Object(f.jsx)(l.a.Item,{className:"custom-navlink-navapp",children:Object(f.jsxs)(l.a.Link,{href:"/readysize/tienda-nube",children:[Object(f.jsx)(m.a,{icon:"cloud",className:"nav-side-icon"}),Object(f.jsx)("span",{className:(this.state.showMenu,"nav-side-icon-text")})]})}),Object(f.jsx)("hr",{className:"nav-side-divider-bottom"}),Object(f.jsx)(l.a.Item,{children:Object(f.jsxs)(l.a.Link,{href:"",onClick:function(){return e.onLogout()},children:[Object(f.jsx)(m.a,{icon:"sign-out-alt",className:"nav-side-icon"}),Object(f.jsx)("span",{className:this.state.showMenu?"nav-side-icon-text":"nav-side-icon-text colapse",children:"Salir"})]})})]}),Object(f.jsx)(u.a,{className:this.state.showMenu?"navbar-fitprenda":"navbar-fitprenda colapse",fixed:"top",bg:"white",children:Object(f.jsxs)(j.a,{className:"navapp-main-container",children:[Object(f.jsx)(l.a,{className:"me-auto",children:Object(f.jsx)(l.a.Link,{href:"/readysize",children:Object(f.jsx)("img",{src:"/img/readysizelogo.png",alt:"Logo-ReadySize",width:"130",className:"d-inline-block align-top"})})}),Object(f.jsxs)(l.a,{className:"ms-auto",children:[Object(f.jsxs)(l.a.Link,{href:"/readysize",children:[Object(f.jsx)(m.a,{icon:"bell",className:"nav-side-icon"}),Object(f.jsx)("span",{className:"nav-side-icon-text",children:Object(f.jsx)(h.a,{id:"navapp-news"})})]}),Object(f.jsxs)(l.a.Item,{children:[Object(f.jsxs)(l.a.Link,{onClick:this.toggleHelpDropdown,children:[Object(f.jsx)(m.a,{icon:"question-circle",className:"nav-side-icon"}),Object(f.jsx)("span",{className:"nav-side-icon-text",children:Object(f.jsx)(h.a,{id:"ready-size-help",defaultMessage:"Ayuda"})})]}),this.state.isHelpDropdownOpen&&Object(f.jsx)("div",{className:"dropdown-menu show",children:200===this.state.user.PlatformId?Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)("a",{className:"dropdown-item",href:"mailto:[email protected]",children:Object(f.jsx)(h.a,{id:"login-contact-us",defaultMessage:"Contactanos"})}),Object(f.jsx)("a",{className:"dropdown-item",href:"https://www.notion.so/a671d60604d746efa40d65cf2c53b601?v=0cede08b54554dcba0b626047bb15cc6",target:"_blank",rel:"noopener noreferrer",children:"FAQ"})]}):2===this.state.user.PlatformId?Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)("a",{className:"dropdown-item",href:"mailto:[email protected]",children:Object(f.jsx)(h.a,{id:"login-contact-us",defaultMessage:"Contactanos"})}),Object(f.jsx)("a",{className:"dropdown-item",href:"https://www.notion.so/2d64ec90108345b29361c9bde24edecb?v=f6043854380245d9b359d7f373467ba2",target:"_blank",rel:"noopener noreferrer",children:"FAQ"})]}):Object(f.jsx)(f.Fragment,{children:Object(f.jsx)("a",{className:"dropdown-item",href:"mailto:[email protected]",children:Object(f.jsx)(h.a,{id:"login-contact",defaultMessage:"Contactanos"})})})})]}),Object(f.jsxs)(l.a.Link,{href:"/readysize",children:[Object(f.jsx)(m.a,{icon:"user",className:"nav-side-icon"}),Object(f.jsx)("span",{className:"nav-side-icon-text",children:this.state.user.Contract.Name})]})]}),Object(f.jsx)("div",{className:"fitprenda-modal-close-lang-container",children:Object(f.jsxs)("div",{className:"new-custom-dropdown",children:[Object(f.jsxs)("div",{className:"new-selected-language",onClick:this.toggleDropdown,children:["en"===a&&Object(f.jsx)("img",{src:"/img/US.png",alt:"gb-lang",className:"new-readysize-flag-img"}),"es"===a&&Object(f.jsx)("img",{src:"/img/ES.png",alt:"es-lang",className:"new-readysize-flag-img"}),"pt"===a&&Object(f.jsx)("img",{src:"img/BR.png",alt:"br-lang",className:"new-readysize-flag-img"})]}),this.state.isDropdownOpen&&Object(f.jsxs)("div",{className:"new-dropdown-options",children:[Object(f.jsx)("div",{onClick:function(){return s("en")},children:"English"}
1),Object(f.jsx)("div",{onClick:function(){return s("es")},children:"Espa\xf1ol"}),Object(f.jsx)("div",{onClick:function(){return s("pt")},children:"Portugu\xeas"})]})]})})]})})]})}}]),a}(i.a.Component);O.contextType=g.a;var x=a(25),v=a(158),y=a(163),S=a(164),N=a(165),z=(a(291),a(166)),C=a(167),w=a(6),M=a(168),T=a(36);t.default=function(){var e=Object(g.c)().readysizelocale,t=Object(n.useState)(b.StorageServices.GetCookieUser()),a=Object(s.a)(t,2),i=a[0],r=(a[1],Object(n.useState)(!0)),o=Object(s.a)(r,2),c=o[0],d=o[1];Object(n.useEffect)((function(){T.Tools.IsDevelopment()&&console.log("STATE CONTENT-APP",i)}),[i]);return Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)(O,{onClickMenuAside:function(e){d(e)}}),Object(f.jsx)(j.a,{fluid:!0,children:Object(f.jsx)("div",{style:{marginTop:"65px",marginLeft:c?"50px":"176px"},children:Object(f.jsxs)("div",{className:"main-content-fitprenda",children:[1!==i.Contract.Id&&Object(f.jsx)(w.CrispChat,{}),Object(f.jsxs)(x.e,{children:[Object(f.jsx)(x.c,{path:"/",element:Object(f.jsx)(S.MainHome,{selectedLanguage:e})}),Object(f.jsx)(x.c,{path:"/charts/*",element:Object(f.jsx)(v.MainDashboard,{})}),Object(f.jsx)(x.c,{path:"/categories/*",element:Object(f.jsx)(f.Fragment,{})}),Object(f.jsx)(x.c,{path:"/products/*",element:Object(f.jsx)(y.MainProducts,{})}),Object(f.jsx)(x.c,{path:"/sizes-guides/*",element:Object(f.jsx)(N.MainSizeGuides,{selectedLanguage:e})}),Object(f.jsx)(x.c,{path:"/tools/*",element:Object(f.jsx)(M.Tools,{})}),Object(f.jsx)(x.c,{path:"/mercado-shops/*",element:Object(f.jsx)(z.MercadoShops,{})}),Object(f.jsx)(x.c,{path:"/tienda-nube/*",element:Object(f.jsx)(C.TiendaNube,{})})]})]})})})]})}},function(e,t,a){"use strict";a.r(t);var s=a(4),n=a(3),i=a(22),r=a(9),o=a(141),c=a(140),d=a(51),l=(a(89),a(63),a(54)),u=a(16),j=a(1),m=a.n(j),b=a(6),p=a(19),h=a(62),g=a(7),f=a(119),O=(a(218),a(66)),x=a(5),v=a(33),y=a(132),S=(a(219),a(55)),N=a(0),z=function(e){var t=e.show,a=e.onHide,s=e.deleteFunction,i=e.rowData,r=m.a.useState(""),o=Object(n.a)(r,2),c=o[0],d=o[1],l=Object(N.jsx)(x.a,{id:"confirm-yes",defaultMessage:"S\xed"}),u=Object(N.jsx)(x.a,{id:"confirm-no",defaultMessage:"No"});return Object(N.jsxs)(y.a,{header:Object(N.jsx)(x.a,{id:"confirm-modal-header",defaultMessage:"Borrar Modelo"}),visible:t,onHide:a,children:[Object(N.jsxs)("div",{className:"cm-input-container",children:[Object(N.jsx)("p",{className:"asd",children:Object(N.jsx)(x.a,{id:"confirm-modal-text",defaultMessage:"Est\xe1s seguro que quieres borrar este producto?"})}),Object(N.jsxs)("div",{className:"cm-input-confirm",children:[Object(N.jsx)("p",{className:"cm-enter-model-p",children:Object(N.jsx)(x.a,{id:"confirm-enter-model",defaultMessage:"Ingresa el nombre del Modelo"})}),Object(N.jsx)(S.a,{type:"text",placeholder:"Ej: MS-Guia-Superior-Masculino",className:"cm-input-confirm",value:c,onChange:function(e){return d(e.target.value)}})]})]}),Object(N.jsxs)("div",{className:"cm-buttons-container",children:[Object(N.jsx)(v.a,{label:l.props.defaultMessage,onClick:function(){c===i.modelName?(s(i),a()):console.log("Model name does not match")},className:"p-button-outlined button-outline-fitprenda-common font-fitprenda-button-outline confirmation-modal-button"}),Object(N.jsx)(v.a,{label:u.props.defaultMessage,onClick:a,className:"p-button-outlined button-outline-fitprenda-common font-fitprenda-button-outline confirmation-modal-button"})]})]})};t.default=function(e){var t=!1,a=e.products,m=Object(j.useState)([]),v=Object(n.a)(m,2),y=v[0],S=v[1],C=Object(j.useState)({global:{value:null,matchMode:"contains"}}),w=Object(n.a)(C,2),M=w[0],T=w[1],k=Object(O.a)(),E=Object(j.useState)(""),I=Object(n.a)(E,2),P=(I[0],I[1]),G=Object(j.useState)(!1),A=Object(n.a)(G,2),R=(A[0],A[1],Object(j.useState)(null)),F=Object(n.a)(R,2),L=(F[0],F[1],Object(j.useState)(0)),D=Object(n.a)(L,2),B=(D[0],D[1],Object(j.useState)(!1)),U=Object(n.a)(B,2),_=U[0],W=U[1],H=Object(j.useState)(!1),V=Object(n.a)(H,2),q=V[0],K=V[1],X=Object(j.useState)(!1),J=Object(n.a)(X,2),Z=J[0],Q=J[1],Y=Object(j.useState)(!1),$=Object(n.a)(Y,2),ee=$[0],te=$[1],ae=Object(j.useState)(!1),se=Object(n.a)(ae,2),ne=se[0],ie=se[1],re=Object(j.useState)(null),oe=Object(n.a)(re,2),ce=oe[0],de=oe[1],le=function(t){try{e.handlerEdit&&e.handlerEdit(t)}catch(a){console.log(a)}},ue=function(e){var t=Object(s.a)({},M);t.global.value=e,console.log("_Filters",t),console.log("Valor",e),T(t),P(e)},je=function(e){var t=Object(s.a)({},M),a="";_||(a=k.formatMessage({id:"ready-size-superior",defaultMessage:"Superior"})),t.global.value=a,K(!1),W(!_),T(t),P(a)},me=function(e){var t=Object(s.a)({},M),a="";q||(a=k.formatMessage({id:"ready-size-inferior",defaultMessage:"Inferior"})),t.global.value=a,W(!1),K(!q),T(t),P(a)},be=function(e){var t=Object(s.a)({},M),a="";Z||(a=k.formatMessage({id:"ready-size-female",defaultMessage:"Femenino"})),t.global.value=a,te(!1),Q(!Z),T(t),P(a)},pe=function(e){var t=Object(s.a)({},M),a="";ee||(a=k.formatMessage({id:"ready-size-male",defaultMessage:"Masculino"})),t.global.value=a,Q(!1),te(!ee),T(t),P(a)},he=function(t,a){try{return Object(N.jsx)(N.Fragment,{children:Object(N.jsx)("div",{className:"text-center",children:Object(N.jsx)(o.a,{placement:"top",overlay:Object(N.jsx)(c.a,{children:"Duplicar"}),children:Object(N.jsx)(d.a,{type:"button",variant:"outline-light",className:"rounded-circle",size:"sm",onClick:function(){return function(t){try{e.handlerClone&&e.handlerClone(t)}catch(a){console.log(a)}}(t)},children:Object(N.jsx)(p.a,{icon:"clone",className:"text-dark"})})},"clone-".concat(t.Id))})})}catch(s){return console.log(s),Object(N.jsx)(N.Fragment,{})}};return Object(N.jsx)("div",{className:"container product-grid-container",children:Object(N.jsx)("div",{className:"row",children:Object(N.jsx)("div",{className:"col-lg-12",children:Object(N.jsxs)("div",{className:"table-fitprenda-content",children:[Object(N.jsxs)(l.a,{value:a,dataKey:"Id",header:function(){var t,a=0,s=0,n=0,l=0;return e.products&&e.products.length>0&&!e.isLoading&&(a=e.products.filter((function(e){var t;return((null===(t=e.BodyArea)||void 0===t?void 0:t.Id)||0)===g.E_BodyArea.TOP})).length||0,s=e.products.filter((function(e){var t;return((null===(t=e.BodyArea)||void 0===t?void 0:t.Id)||0)===g.E_BodyArea.BOTTOM})).length||0,n=e.products.filter((function(e){var t;return((null===(t=e.Gender)||void 0===t?void 0:t.Id)||0)===g.E_GenderType.FEMALE})).length||0,l=e.products.filter((function(e){var t;return((null===(t=e.Gender)||void 0===t?void 0:t.Id)||0)===g.E_GenderType.MALE})).length||0),Object(N.jsx)(N.Fragment,{children:Object(N.jsxs)(i.a,{className:"justify-content-center",children:[Object(N.jsxs)("div",{className:"productgrid-main-container",children:[Object(N.jsxs)("div",{className:"productgrid-table-nav-container",children:[Object(N.jsx)(r.a,{xs:e.showTitle?3:0,className:"text-left productgrid-table-title",children:e.showTitle?Object(N.jsxs)("p",{className:"font-fitprenda-section-title",children:[Object(N.jsx)(x.a,{id:"product-grid-header"})," ",Object(N.jsx)(b.BadgeFitprenda,{value:(null===(t=e.products)||void 0===t?void 0:t.length)||0,variant:"success"})]}):Object(N.jsx)(N.Fragment,{})}),Object(N.jsxs)("div",{className:"product-grid-buttons-container",children:[a&&s?Object(N.jsx)(r.a,{className:"product-grid-filter-button",children:Object(N.jsx)(b.PushButtonFilter,{title:Object(N.jsx)(x.a,{id:"ready-size-superior",defaultMessage:"Superior"}),quantity:a,StateFilter:_,ClickSuscribe:je})}):Object(N.jsx)(N.Fragment,{}),a&&s?Object(N.jsx)(r.a,{className:"product-grid-filter-button",children:Object(N.jsx)(b.PushButtonFilter,{title:Object(N.jsx)(x.a,{id:"ready-size-inferior",defaultMessage:"Inferior"}),quantity:s,StateFilter:q,ClickSuscribe:me})}):Object(N.jsx)(N.Fragment,{}
1),n&&l?Object(N.jsx)(r.a,{className:"product-grid-filter-button",children:Object(N.jsx)(b.PushButtonFilter,{title:Object(N.jsx)(x.a,{id:"ready-size-female",defaultMessage:"Femenino"}),quantity:n,StateFilter:Z,ClickSuscribe:be})}):Object(N.jsx)(N.Fragment,{}),n&&l?Object(N.jsx)(r.a,{className:"product-grid-filter-button",children:Object(N.jsx)(b.PushButtonFilter,{title:Object(N.jsx)(x.a,{id:"ready-size-male",defaultMessage:"Masculino"}),quantity:l,StateFilter:ee,ClickSuscribe:pe})}):Object(N.jsx)(N.Fragment,{})]})]}),Object(N.jsxs)("div",{className:"productgrid-search-excel-container",children:[Object(N.jsx)(b.InputSearch,{className:"productgrid-searchbar",onInputChange:ue}),e.handlerDownload?Object(N.jsx)(o.a,{placement:"top",overlay:Object(N.jsx)(c.a,{children:Object(N.jsx)(x.a,{id:"edit-tooltip",defaultMessage:"Editar"})}),children:Object(N.jsx)(d.a,{type:"button",variant:"outline-success",className:" product-grid-excel-button",size:"sm",onClick:function(){return function(t){try{e.handlerDownload&&e.handlerDownload(t)}catch(a){console.log(a)}}(y)},children:Object(N.jsx)(p.a,{icon:h.e})})},"product-grid-export"):Object(N.jsx)(N.Fragment,{})]})]}),Object(N.jsxs)("div",{className:"product-grid-buttons-delete-container",children:[y&&y.length>1&&e.handlerDeleteGroup?Object(N.jsx)("div",{className:"product-grid-delete-container",children:Object(N.jsx)(f.a,{label:"Borrar",eventClick:function(){return function(t){try{e.handlerDeleteGroup&&e.handlerDeleteGroup(t)}catch(a){console.log(a)}}(y)}})}):Object(N.jsx)(N.Fragment,{}),y&&y.length>1&&e.handlerAddSizeGuideGroup?Object(N.jsx)("div",{className:"product-grid-associate-container",children:Object(N.jsx)(f.a,{label:"Asociar Gu\xeda",eventClick:function(){return function(t){try{e.handlerAddSizeGuideGroup&&e.handlerAddSizeGuideGroup(t)}catch(a){console.log(a)}}(y)}})}):Object(N.jsx)(N.Fragment,{})]})]})})}(),responsiveLayout:"scroll",scrollable:!0,scrollHeight:e.scrollHeight||"230px",selectionMode:"checkbox",selection:y,onSelectionChange:function(a){return s=a,t||(S(s.value),e.handlerSelectionRow&&e.handlerSelectionRow(s.value)),void(t=!1);var s},size:"small",filters:M,globalFilterFields:["Code","Description","BodyArea.Name","Gender.Name","FitType.Name","SizeGuide.Name"],loading:e.isLoading||!1,children:[e.handlerSelectionRow?Object(N.jsx)(u.a,{selectionMode:"multiple",headerStyle:{width:"2em"},style:{maxWidth:"34px"}}):null,Object(N.jsx)(u.a,{field:"Code",header:Object(N.jsx)(x.a,{id:"ready-size-model",defaultMessage:"Modelo"}),sortable:!0,style:{minWidth:"100px"},className:"product-grid-modelo"}),Object(N.jsx)(u.a,{header:Object(N.jsx)(x.a,{id:"product-grid-sku",defaultMessage:"SKU"}),body:function(e){try{if(e&&e.VariantsId){var t=e.VariantsId.join(", ");return t.length>20?t.substring(0,20).trim()+"...":t.trim()}return""}catch(a){}},style:{minWidth:"130px"},className:"product-grid-sku"}),Object(N.jsx)(u.a,{field:"Description",header:Object(N.jsx)(x.a,{id:"ready-size-description",defaultMessage:"Descripci\xf3n"}),sortable:!0,style:{minWidth:"130px"},className:"product-grid-descripcion"}),Object(N.jsx)(u.a,{field:"BodyArea.Name",header:Object(N.jsx)(x.a,{id:"ready-size-position",defaultMessage:"Posici\xf3n"}),sortable:!0,style:{minWidth:"100px"},className:"product-grid-bodyarea"}),Object(N.jsx)(u.a,{field:"Gender.Name",header:Object(N.jsx)(x.a,{id:"ready-size-gender",defaultMessage:"G\xe9nero"}),sortable:!0,style:{minWidth:"100px"},className:"product-grid-gender"}),Object(N.jsx)(u.a,{field:"FitType.Name",header:Object(N.jsx)(x.a,{id:"ready-size-fit",defaultMessage:"Fit"}),sortable:!0,style:{minWidth:"60px"},className:"product-grid-fit"}),Object(N.jsx)(u.a,{header:Object(N.jsx)(x.a,{id:"ready-size-sizes",defaultMessage:"Talles"}),body:function(e){try{return e&&e.Sizes?e.Sizes.map((function(e){return e.Name})).join(", "):""}catch(t){}},style:{minWidth:"70px"},className:"product-grid-talle"}),Object(N.jsx)(u.a,{header:Object(N.jsx)(x.a,{id:"product-grid-category",defaultMessage:"Categoria"}),body:function(e){try{return e&&e.ProductType?e.ProductType.Name:""}catch(t){console.log(t)}},style:{minWidth:"100px"},className:"product-grid-categoria"}
1),Object(N.jsx)(u.a,{field:"SizeGuide.Name",header:Object(N.jsx)(x.a,{id:"ready-size-guide",defaultMessage:"Gu\xeda"}),sortable:!0,style:{minWidth:"100px"},className:"product-grid-name"}),e.handlerEdit?Object(N.jsx)(u.a,{header:"",body:function(e,t){return function(e,t){try{return Object(N.jsx)(N.Fragment,{children:Object(N.jsx)("div",{className:"text-center",children:Object(N.jsx)(o.a,{placement:"top",overlay:Object(N.jsx)(c.a,{children:"Editar"}),children:Object(N.jsx)(d.a,{type:"button",variant:"outline-light",className:"rounded-circle",size:"sm",onClick:function(){return le(e)},children:Object(N.jsx)(p.a,{icon:"pen",className:"text-dark"})})},"edit-".concat(e.Id))})})}catch(a){return console.log(a),Object(N.jsx)(N.Fragment,{})}}(e)},bodyClassName:"".concat(e.handlerClone||e.handlerDelete?"":"me-3"),style:{maxWidth:"35px",minWidth:"20px"}}):null,e.handlerClone?Object(N.jsx)(u.a,{header:"",body:function(e,t){return he(e)},bodyClassName:e.handlerDelete?"":"me-3",style:{maxWidth:"35px",minWidth:"20px"}}):null,e.handlerDelete?Object(N.jsx)(u.a,{header:"",body:function(e,t){return function(e,t){try{return Object(N.jsx)(N.Fragment,{children:Object(N.jsx)("div",{className:"text-center",children:Object(N.jsx)(o.a,{placement:"top",overlay:Object(N.jsx)(c.a,{children:"Borrar"}),children:Object(N.jsx)(d.a,{type:"button",variant:"outline-light",className:"rounded-circle",size:"sm",onClick:function(){ie(!0),de(e)},children:Object(N.jsx)(p.a,{icon:"trash-alt",className:"text-dark"})})},"remove-".concat(e.Id))})})}catch(a){return console.log(a),Object(N.jsx)(N.Fragment,{})}}(e)},bodyClassName:"me-3",style:{maxWidth:"35px",minWidth:"20px"}}):null]}),Object(N.jsx)(z,{show:ne,onHide:function(){ie(!1),de(null)},deleteFunction:e.handlerDelete,rowData:ce,setShowModal:ie,setSelectedRowData:de})]})})})})}},function(e,t,a){"use strict";a.r(t);var s=a(1),n=(a(292),a(8)),i=a.n(n),r=a(4),o=a(17),c=a(3),d=a(54),l=a(16),u=(a(293),a(33)),j=a(101),m=a(6),b=a(5),p=a(66),h=a(10),g=a(114),f=a.n(g),O=a(0);function x(){var e=h.StorageServices.GetCookieUser().ShowOnBoardMarketplace,t=Object(s.useState)({global:{value:null,matchMode:"contains"}}),a=Object(c.a)(t,2),n=a[0],g=a[1],x=Object(s.useState)(!1),v=Object(c.a)(x,2),y=v[0],S=v[1],N=Object(s.useState)([]),z=Object(c.a)(N,2),C=z[0],w=z[1],M=Object(s.useState)([]),T=Object(c.a)(M,2),k=T[0],E=T[1],I=Object(s.useState)(0),P=Object(c.a)(I,2),G=P[0],A=P[1],R=Object(s.useState)(10),F=Object(c.a)(R,2),L=F[0],D=F[1],B=Object(s.useState)(""),U=Object(c.a)(B,2),_=U[0],W=U[1],H=Object(s.useState)(0),V=Object(c.a)(H,2),q=V[0],K=V[1],X=Object(s.useState)(0),J=Object(c.a)(X,2),Z=J[0],Q=J[1],Y=Object(s.useState)(0),$=Object(c.a)(Y,2),ee=$[0],te=$[1],ae=Object(s.useState)(!1),se=Object(c.a)(ae,2),ne=se[0],ie=se[1],re=Object(s.useState)(!1),oe=Object(c.a)(re,2),ce=oe[0],de=oe[1],le=Object(s.useState)(h.StorageServices.GetCookieUser().ShowOnBoardMarketplace||!1),ue=Object(c.a)(le,2),je=ue[0],me=ue[1],be=Object(s.useState)(localStorage.getItem("readysizelocale")||"en"),pe=Object(c.a)(be,2),he=pe[0];pe[1];function ge(){return fe.apply(this,arguments)}function fe(){return(fe=Object(o.a)(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,S(!0),e.next=4,h.ProductServices.GetPlatformProducts();case 4:(t=e.sent)&&200===t.Status?(w(t.Content),Oe(t.Content)):(w([]),Oe([])),S(!1),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0),S(!1);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}Object(s.useEffect)((function(){document.body.style.overflow=je?"hidden":"unset",e||ge()}),[je,C.length]);var Oe=function(e){var t=e.filter((function(e){return!e.Classified}));K(t.length);var a=e.filter((function(e){return 1!==e.Status.Id}));Q(a.length);var s=e.filter((function(e){return e.Modified}));te(s.length)},xe=function(e,t){var a=C.map((function(a){return a.PlatformProductId===e.PlatformProductId?Object(r.a)(Object(r.a)({},a),{},{SizeGuide:{Id:t,Name:""},Classified:!0,Status:{Id:1,Name:"HABILITADO"},Modified:!0}):a}));w(a),Oe(a)},ve=function(e,t){var a=C.map((function(a){return a.PlatformProductId===e.PlatformProductId?Object(r.a)(Object(r.a)({},a),{},{FitType:{Id:t,Name:""},Modified:!0}):a}));w(a),Oe(a)},ye=function(){var e=Object(o.a)(i.a.mark((function e(){var t,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!((t=C.filter((function(e){return e.Modified||!1})))&&t.length>0)){e.next=12;break}return S(!0),e.next=6,h.ProductServices.PostPlatformProducts(t);case 6:if(!(a=e.sent)||200!==a.Status){e.next=11;break}if(!a.Content){e.next=11;break}return e.next=11,ge();case 11:S(!1);case 12:e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),console.log("ERROR SAVE",e.t0),S(!1);case 18:case"end":return e.stop()}}),e,null,[[0,14]])}
1)));return function(){return e.apply(this,arguments)}}(),Se=function(){var e=Object(o.a)(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ge();case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.log(e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),Ne=function(){var e=Object(o.a)(i.a.mark((function e(t){var a,s,n,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,S(!0),e.next=4,f.a.GetMercadoShopsItemDetail(t.PlatformCode);case 4:if(!(a=e.sent)||200!==a.Status){e.next=10;break}return e.next=8,h.ProductServices.GetPlatformProduct(t.PlatformCode);case 8:(s=e.sent)&&200===s.Status&&(n=s.Content[0],o=C.map((function(e){return e.PlatformProductId===t.PlatformProductId?Object(r.a)(Object(r.a)({},e),{},{Name:n.Name,ImageUrl:n.ImageUrl,Sizes:n.Sizes}):e})),w(o));case 10:S(!1),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(0),console.log(e.t0),S(!1);case 17:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(t){return e.apply(this,arguments)}}(),ze=function(){var e=Object(o.a)(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,S(!0),e.next=4,f.a.GetMercadoShopsSearchItems(!0);case 4:if(!(t=e.sent)||200!==t.Status){e.next=8;break}return e.next=8,ge();case 8:S(!1),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(0),console.log(e.t0),S(!1);case 15:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),Ce=Object(p.a)(),we=Object(O.jsxs)("div",{className:"mercadoshops-search-container",children:[Object(O.jsxs)("div",{className:"mercadoshops-products-alerts",children:[Object(O.jsx)(m.CustomButton,{messageId:"ready-size-ms-noclasificado",quantity:q,onClick:function(){try{var e=Object(r.a)({},n),t=null;ne||(t=!1),null===t&&ce&&(t="Deshabilitado"),e.global.value=t,ie(!ne),g(n)}catch(a){console.log("ERROR handleNoClasificadoClick",a)}}}),Object(O.jsx)(m.CustomButton,{messageId:"ready-size-deshabilitado",quantity:Z,onClick:function(){try{var e=Object(r.a)({},n),t=null;ce||(t="Deshabilitado"),null===t&&ne&&(t=!1),e.global.value=t,de(!ce),g(n)}catch(a){console.log("ERROR handleDeshabilitadoClick",a)}}})]}),Object(O.jsxs)("div",{className:"ms-search-refresh-container-table",style:{width:0===(ee||0)?"645px":"690px"},children:[Object(O.jsx)("input",{type:"text",value:_,onChange:function(e){return W(e.target.value)},placeholder:Ce.formatMessage({id:"ms-table-column-search",defaultMessage:"Buscar producto..."}),className:"p-inputtext p-component"}),Object(O.jsx)("div",{className:"",children:Object(O.jsx)(m.ButtonCommon,{label:Object(O.jsx)(b.a,{id:"ready-size-ms-load",defaultMessage:"Cargar"}),isOutline:!1,eventClick:function(){return Se()}})}),Object(O.jsx)(m.ButtonCommon,{label:Object(O.jsx)(b.a,{id:"ready-size-marketplace-actualizar",defaultMessage:"Sync MS"}),isOutline:!0,eventClick:function(){return ze()},Styles:{width:0===(ee||0)?"220px":"320px"}}),Object(O.jsx)(m.ButtonCommon,{label:Object(O.jsx)(b.a,{id:"ready-size-Guardar",defaultMessage:"Guardar"}),isOutline:!1,eventClick:function(){return ye()},Badge:ee,Styles:{width:0===(ee||0)?"100px":"210px"}})]})]}),Me=Object(O.jsxs)(O.Fragment,{children:[Object(O.jsx)(b.a,{id:"ms-footer-first",defaultMessage:"En total hay"})," ",C?C.length:0," ",Object(O.jsx)(b.a,{id:"ms-footer-second",defaultMessage:"productos"}),"."]}),Te=function(){var e=Object(o.a)(i.a.mark((function e(){var t,a,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,me(!1),S(!0),e.prev=3,e.next=6,h.UserServices.UpdateStatusOnBoarding(2);case 6:(t=e.sent)&&200===t.Status&&((a=h.StorageServices.GetCookieUser()).ShowOnBoardMarketplace=!1,h.StorageServices.SetCookieUser(a)),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),console.log("ERROR Update OnBoarding",e.t0);case 13:return e.next=15,f.a.GetMercadoShopsSearchItems(!0);case 15:if(!(s=e.sent)||200!==s.Status){e.next=19;break}return e.next=19,ge();case 19:S(!1),e.next=26;break;case 22:e.prev=22,e.t1=e.catch(0),console.log(e.t1),S(!1);case 26:case"end":return e.stop()}}),e,null,[[0,22],[3,10]])})));return function(){return e.apply(this,arguments)}}();return Object(O.jsxs)("div",{className:"card",children:[je&&Object(O.jsx)(m.ModalIntroMs,{closeModal:function(){return Te()},selectedLanguage:he,user:h.StorageServices.GetCookieUser()}),Object(O.jsxs)(d.a,{value:C,header:we,footer:Me,first:G,rows:L,paginator:!0,onPage:function(e){A(e.first),D(e.rows)},paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown",rowsPerPageOptions:[5,10,25,50],globalFilter:_,filters:n,globalFilterFields:["PlatformCode","Name","SizeGuide.Name","FitType.Name","Classified","Status.Name"],emptyMessage:Object(O.jsx)(b.a,{id:"ms-table-column-emptymessage",defaultMessage:"No se encontraron productos."}),selectionMode:"multiple",selection:k,onSelectionChange:function(e){return E(e.value)},loading:y,children:[Object(O.jsx)(l.a,{selectionMode:"multiple",headerStyle:{width:"3rem"}}),Object(O.jsx)(l.a,{header:Object(O.jsx)(b.a,{id:"ms-table-column-image",defaultMessage:"Imagen"}),body:function(e){var t=e.ImageUrl||"img/readysizelogo.png";return Object(O.jsx)("img",{src:t,alt:e.PlatformCode,className:"mercadoshops-image"})}}),Object(O.jsx)(l.a,{field:"PlatformCode",header:Object(O.jsx)(b.a,{id:"ms-table-column-code",defaultMessage:"C\xf3digo"}),sortable:!0}),Object(O.jsx)(l.a,{field:"Name",header:Object(O.jsx)(b.a,{id:"ms-table-column-name",defaultMessage:"Nombre"}),sortable:!0}),Object(O.jsx)(l.a,{header:Object(O.jsx)(b.a,{id:"ms-table-column-sizeguide",defaultMessage:"Gu\xeda de talles"}),body:function(e){return Object(O.jsx)(m.ColumnSelectSizeGuide,{value:e.SizeGuide.Id.toString(),placeholder:"Elegir Gu\xeda",ByCode:!0,onChange:function(t){return xe(e,t)}})}}),Object(O.jsx)(l.a,{header:Object(O.jsx)(b.a,{id:"ms-table-column-sizes",defaultMessage:"Talles"}),body:function(e){var t;return null===(t=e.Sizes)||void 0===t?void 0:t.join(", ")}}),Object(O.jsx)(l.a,{header:Object(O.jsx)(b.a,{id:"ms-table-column-fit",defaultMessage:"Calce"}),body:function(e){return Object(O.jsx)(m.ColumnSelectFitType,{value:e.FitType.Id.toString(),placeholder:"Elegir Fit",onCh
1ange:function(t){return ve(e,t)}})}}),Object(O.jsx)(l.a,{header:function(){return Object(O.jsxs)("div",{className:"rs-condicion-container",children:[Object(O.jsx)("p",{className:"rs-condicion-container-p",children:Object(O.jsx)(b.a,{id:"ms-table-column-condition",defaultMessage:"Condici\xf3n"})}),Object(O.jsx)(m.Tooltip,{headingId:"tooltip.heading2",paragraphIds:["tooltip.paragraph3","tooltip.paragraph4"],firstParagraphBackgroundColor:"#8e5cf1"})]})},body:function(e){var t="estado-badge",a="";return e.Classified?(a=Object(O.jsx)(b.a,{id:"tooltip.paragraph3",defaultMessage:"Clasificado"}),t+=" estado-clasificado"):a="",Object(O.jsx)("span",{className:t,children:Object(O.jsx)("b",{children:a})})},sortable:!0}),Object(O.jsx)(l.a,{header:function(){return Object(O.jsxs)("div",{className:"rs-condicion-container",children:[Object(O.jsx)("p",{className:"rs-condicion-container-p",children:Object(O.jsx)(b.a,{id:"ms-table-column-enabled",defaultMessage:"Habilitado"})}),Object(O.jsx)(m.Tooltip,{headingId:"tooltip.heading",paragraphIds:["tooltip.paragraph1","tooltip.paragraph2"],firstParagraphBackgroundColor:"#20C997"})]})},body:function(e){var t="condicion-badge",a="";return 1===e.Status.Id?(t+=" habilitado",a=""):(t+=" condicion-deshabilitado",a=""),t="",Object(O.jsxs)("div",{className:"estado-switch-container",children:[Object(O.jsx)("span",{className:t,children:a}),Object(O.jsx)("div",{onMouseDown:function(e){return e.stopPropagation()},onClick:function(e){return e.stopPropagation()},className:"estado-switch-main-container",children:Object(O.jsx)(j.a,{checked:e.Classified&&1===e.Status.Id,onChange:function(t){return function(e,t){var a=t,s=C.map((function(t){return t.PlatformProductId===e.PlatformProductId?Object(r.a)(Object(r.a)({},t),{},{Status:{Id:a?1:2,Name:a?"HABILITADO":"DESHABILITADO"},Modified:!0}):t}));w(s),Oe(s)}(e,t.value)}})})]})},sortable:!0,className:"ms-table-estado-row"}),Object(O.jsx)(l.a,{header:"",body:function(e){return Object(O.jsx)(O.Fragment,{children:Object(O.jsx)(u.a,{icon:"pi pi-refresh",onClick:function(){return Ne(e)},className:"ms-refresh-button"})})}})]})]})}t.default=function(){return Object(O.jsxs)("div",{className:"mercadoshops-container",children:[Object(O.jsx)("div",{className:"ms-header-container",children:Object(O.jsx)("div",{children:Object(O.jsx)("h3",{children:Object(O.jsx)(b.a,{id:"ready-size-products",defaultMessage:"Productos"})})})}),Object(O.jsx)("div",{className:"mercadoshops-table-container",children:Object(O.jsx)(x,{})})]})}},function(e,t,a){"use strict";a.r(t);var s=a(1),n=(a(294),a(8)),i=a.n(n),r=a(4),o=a(17),c=a(3),d=a(54),l=a(16),u=(a(295),a(33)),j=a(101),m=a(6),b=a(66),p=a(5),h=a(10),g=a(36),f=a(0);function O(){var e=h.StorageServices.GetCookieUser().ShowOnBoardMarketplace,t=Object(s.useState)({global:{value:null,matchMode:"contains"}}),a=Object(c.a)(t,2),n=a[0],O=a[1],x=Object(s.useState)(!1),v=Object(c.a)(x,2),y=v[0],S=v[1],N=Object(s.useState)([]),z=Object(c.a)(N,2),C=z[0],w=z[1],M=Object(s.useState)([]),T=Object(c.a)(M,2),k=T[0],E=T[1],I=Object(s.useState)(0),P=Object(c.a)(I,2),G=P[0],A=P[1],R=Object(s.useState)(10),F=Object(c.a)(R,2),L=F[0],D=F[1],B=Object(s.useState)(""),U=Object(c.a)(B,2),_=U[0],W=U[1],H=Object(s.useState)(0),V=Object(c.a)(H,2),q=V[0],K=V[1],X=Object(s.useState)(0),J=Object(c.a)(X,2),Z=J[0],Q=J[1],Y=Object(s.useState)(0),$=Object(c.a)(Y,2),ee=$[0],te=$[1],ae=Object(s.useState)(!1),se=Object(c.a)(ae,2),ne=se[0],ie=se[1],re=Object(s.useState)(!1),oe=Object(c.a)(re,2),ce=oe[0],de=oe[1],le=Object(s.useState)(h.StorageServices.GetCookieUser().ShowOnBoardMarketplace||!1),ue=Object(c.a)(le,2),je=ue[0],me=ue[1],be=Object(s.useState)(localStorage.getItem("readysizelocale")||"en"),pe=Object(c.a)(be,2),he=pe[0];pe[1];function ge(){return fe.apply(this,arguments)}function fe(){return(fe=Object(o.a)(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,S(!0),e.next=4,h.ProductServices.GetPlatformProducts();case 4:(t=e.sent)&&200===t.Status?(w(t.Content),Oe(t.Content)):(w([]),Oe([])),S(!1),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0),S(!1);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}Object(s.useEffect)((function(){document.body.style.overflow=je?"hidden":"unset",e||ge()}),[je,C.length]);var Oe=function(e){var t=e.filter((function(e){return!e.Classified}
1));K(t.length);var a=e.filter((function(e){return 1!==e.Status.Id}));Q(a.length);var s=e.filter((function(e){return e.Modified}));te(s.length)},xe=function(e,t){var a=C.map((function(a){return a.PlatformProductId===e.PlatformProductId?Object(r.a)(Object(r.a)({},a),{},{SizeGuide:{Id:t,Name:""},Classified:!0,Status:{Id:1,Name:"HABILITADO"},Modified:!0}):a}));w(a),Oe(a)},ve=function(e,t){var a=C.map((function(a){return a.PlatformProductId===e.PlatformProductId?Object(r.a)(Object(r.a)({},a),{},{FitType:{Id:t,Name:""},Modified:!0}):a}));w(a),Oe(a)},ye=function(){var e=Object(o.a)(i.a.mark((function e(){var t,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!((t=C.filter((function(e){return e.Modified||!1})))&&t.length>0)){e.next=12;break}return S(!0),e.next=6,h.ProductServices.PostPlatformProducts(t);case 6:if(!(a=e.sent)||200!==a.Status){e.next=11;break}if(!a.Content){e.next=11;break}return e.next=11,ge();case 11:S(!1);case 12:e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),console.log("ERROR SAVE",e.t0),S(!1);case 18:case"end":return e.stop()}}),e,null,[[0,14]])})));return function(){return e.apply(this,arguments)}}(),Se=function(){var e=Object(o.a)(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ge();case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.log(e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),Ne=function(){var e=Object(o.a)(i.a.mark((function e(t){var a,s,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,S(!0),e.next=4,h.PlatformServices.GetTiendaNubeItemDetail(t.PlatformCode);case 4:(a=e.sent)&&200===a.Status&&(s=a.Content,n=C.map((function(e){return e.PlatformProductId===t.PlatformProductId?Object(r.a)(Object(r.a)({},e),{},{Name:s.Name,ImageUrl:s.ImageUrl,Sizes:s.Sizes}):e})),w(n)),S(!1),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0),S(!1);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t){return e.apply(this,arguments)}}(),ze=function(){var e=Object(o.a)(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,S(!0),e.next=4,h.PlatformServices.GetTiendaNubeSearchItems();case 4:if(!(t=e.sent)||200!==t.Status){e.next=8;break}return e.next=8,ge();case 8:S(!1),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(0),console.log(e.t0),S(!1);case 15:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),Ce=Object(b.a)(),we=Object(f.jsxs)("div",{className:"mercadoshops-search-container",children:[Object(f.jsxs)("div",{className:"mercadoshops-products-alerts",children:[Object(f.jsx)(m.CustomButton,{messageId:"ready-size-ms-noclasificado",quantity:q,onClick:function(){try{var e=Object(r.a)({},n),t=null;g.Tools.IsDevelopment()&&console.log("handleNoClasificadoClick Filters",e),ne||(t=!1),null===t&&ce&&(t="Deshabilitado"),e.global.value=t,ie(!ne),O(n)}catch(a){console.log("ERROR handleNoClasificadoClick",a)}}}),Object(f.jsx)(m.CustomButton,{messageId:"ready-size-deshabilitado",quantity:Z,onClick:function(){try{var e=Object(r.a)({},n),t=null;g.Tools.IsDevelopment()&&console.log("handleDeshabilitadoClick Filters",e),ce||(t="Deshabilitado"),null===t&&ne&&(t=!1),e.global.value=t,de(!ce),O(n)}catch(a){console.log("ERROR handleDeshabilitadoClick",a)}}})]}),Object(f.jsxs)("div",{className:"ms-search-refresh-container-table",style:{width:0===(ee||0)?"645px":"690px"},children:[Object(f.jsx)("input",{type:"text",value:_,onChange:function(e){return W(e.target.value)},placeholder:Ce.formatMessage({id:"ms-table-column-search",defaultMessage:"Buscar producto..."}),className:"p-inputtext p-component"}),Object(f.jsx)("div",{className:"",children:Object(f.jsx)(m.ButtonCommon,{label:Object(f.jsx)(p.a,{id:"ready-size-ms-load",defaultMessage:"Cargar"}),isOutline:!1,eventClick:function(){return Se()}})}),Object(f.jsx)(m.ButtonCommon,{label:Object(f.jsx)(p.a,{id:"ready-size-marketplace-actualizar",defaultMessage:"Sync MS"}),isOutline:!0,eventClick:function(){return ze()},Styles:{width:0===(ee||0)?"220px":"320px"}}),Object(f.jsx)(m.ButtonCommon,{label:Object(f.jsx)(p.a,{id:"ready-size-Guardar",defaultMessage:"Guardar"}),isOutline:!1,eventClick:function(){return ye()},Badge:ee,Styles:{width:0===(ee||0)?"100px":"210px"}})]})]}),Me=Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)(p.a,{id:"ms-footer-first",defaultMessage:"En total hay"})," ",C?C.length:0," ",Object(f.jsx)(p.a,{id:"ms-footer-second",defaultMessage:"productos"}),"."]}),Te=function(){var e=Object(o.a)(i.a.mark((function e(){var t,a,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,me(!1),S(!0),e.prev=3,e.next=6,h.UserServices.UpdateStatusOnBoarding(2);case 6:(t=e.sent)&&200===t.Status&&((a=h.StorageServices.GetCookieUser()).ShowOnBoardMarketplace=!1,h.StorageServices.SetCookieUser(a)),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),console.log("ERROR Update OnBoarding",e.t0);case 13:return e.next=15,h.PlatformServices.GetTiendaNubeSearchItems();case 15:if(!(s=e.sent)||200!==s.Status){e.next=19;break}return e.next=19,ge();case 19:S(!1),e.next=26;break;case 22:e.prev=22,e.t1=e.catch(0),console.log(e.t1),S(!1);case 26:case"end":return e.stop()}}),e,null,[[0,22],[3,10]])})));return function(){return e.apply(this,arguments)}}();return Object(f.jsxs)("div",{className:"card",children:[je&&Object(f.jsx)(m.ModalIntroMs,{closeModal:function(){return Te()},selectedLanguage:he,user:h.StorageServices.GetCookieUser()}),Object(f.jsxs)(d.a,{value:C,header:we,footer:Me,first:G,rows:L,paginator:!0,onPage:function(e){A(e.first),D(e.rows)},paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown",rowsPerPageOptions:[5,10,25,50],globalFilter:_,filters:n,globalFilterFields:["PlatformCode","Name","SizeGuide.Name","FitType.Name","Classified","Status.Name"],emptyMessage:Object(f.jsx)(p.a,{id:"ms-table-column-emptymessage",defaultMessage:"No se encontraron productos."}),selectionMode:"multiple",selection:k,onSelectionChange:function(e){return E(e.value)},loading:y,children:[Object(f.jsx)(l.a,{selectionMode:"multiple",headerStyle:{width:"3rem"}}),Object(f.jsx)(l.a,{header:Object(f.jsx)(p.a,{id:"ms-table-column-image",defaultMessage:"Imagen"}),body:function(e){var t=e.ImageUrl||"img/readysizelogo.png";return Object(f.jsx)("img",{src:t,alt:e.PlatformCode,className:"mercadoshops-image"})}}),Object(f.jsx)(l.a,{field:"PlatformCode",header:Object(f.jsx)(p.a,{id:"ms-table-column-code",defaultMessage:"C\xf3digo"}),sortable:!0}),Object(f.jsx)(l.a,{field:"Name",header:Object(f.jsx)(p.a,{id:"ms-table-column-name",defaultMessage:"Nombre"}),sortable:!0}),Object(f.jsx)(l.a,{header:Object(f.jsx)(p.a,{id:"ms-table-column-sizeguide",defaultMessage:"Gu\xeda de talles"}),body:function(e){return Object(f.jsx)(m.ColumnSelectSizeGuide,{value:e.SizeGuide.Id.toString(),placeholder:"Elegir Gu\xeda",ByCode:!0,onChange:function(t){return xe(e,t)}})}}),Object(f.jsx)(l.a,{header:Object(f.jsx)(p.a,{id:"ms-table-column-sizes",defaultMessage:"Talles"}),body:function(e){var t;return null===(t=e.Sizes)||void 0===t?void 0:t.join(", ")}}),Object(f.jsx)(l.a,{header:Object(f.jsx)(p.a,{id:"ms-table-column-fit",defaultMessage:"Calce"}),body:function(e){return Object(f.jsx)(m.ColumnSelectFitType,{value:e.FitType.Id.toString(),placeholder:"Elegir Fit",onCh
1ange:function(t){return ve(e,t)}})}}),Object(f.jsx)(l.a,{header:function(){return Object(f.jsxs)("div",{className:"rs-condicion-container",children:[Object(f.jsx)("p",{className:"rs-condicion-container-p",children:Object(f.jsx)(p.a,{id:"ms-table-column-condition",defaultMessage:"Condici\xf3n"})}),Object(f.jsx)(m.Tooltip,{headingId:"tooltip.heading2",paragraphIds:["tooltip.paragraph3","tooltip.paragraph4"],firstParagraphBackgroundColor:"#8e5cf1"})]})},body:function(e){var t="estado-badge",a="";return e.Classified?(a="Clasificado",t+=" estado-clasificado"):a="",Object(f.jsx)("span",{className:t,children:Object(f.jsx)("b",{children:a})})},sortable:!0}),Object(f.jsx)(l.a,{header:function(){return Object(f.jsxs)("div",{className:"rs-condicion-container",children:[Object(f.jsx)("p",{className:"rs-condicion-container-p",children:Object(f.jsx)(p.a,{id:"ms-table-column-enabled",defaultMessage:"Habilitado"})}),Object(f.jsx)(m.Tooltip,{headingId:"tooltip.heading",paragraphIds:["tooltip.paragraph1","tooltip.paragraph2"],firstParagraphBackgroundColor:"#20C997"})]})},body:function(e){var t="condicion-badge",a="";return 1===e.Status.Id?(t+=" habilitado",a=""):(t+=" condicion-deshabilitado",a=""),t="",Object(f.jsxs)("div",{className:"estado-switch-container",children:[Object(f.jsx)("span",{className:t,children:a}),Object(f.jsx)("div",{onMouseDown:function(e){return e.stopPropagation()},onClick:function(e){return e.stopPropagation()},className:"estado-switch-main-container",children:Object(f.jsx)(j.a,{checked:e.Classified&&1===e.Status.Id,onChange:function(t){return function(e,t){var a=t,s=C.map((function(t){return t.PlatformProductId===e.PlatformProductId?Object(r.a)(Object(r.a)({},t),{},{Status:{Id:a?1:2,Name:a?"HABILITADO":"DESHABILITADO"},Modified:!0}):t}));w(s),Oe(s)}(e,t.value)}})})]})},sortable:!0,className:"ms-table-estado-row"}),Object(f.jsx)(l.a,{header:"",body:function(e){return Object(f.jsx)(f.Fragment,{children:Object(f.jsx)(u.a,{icon:"pi pi-refresh",onClick:function(){return Ne(e)},className:"ms-refresh-button"})})}})]})]})}t.default=function(){return Object(f.jsxs)("div",{className:"mercadoshops-container",children:[Object(f.jsx)("div",{className:"ms-header-container",children:Object(f.jsx)("div",{children:Object(f.jsx)("h3",{children:"Productos"})})}),Object(f.jsx)("div",{className:"mercadoshops-table-container",children:Object(f.jsx)(O,{})})]})}},function(e,t,a){"use strict";a.r(t);var s=a(4),n=a(18),i=a(8),r=a.n(i),o=a(17),c=a(3),d=a(1),l=(a(296),a(6)),u=a(62),j=a(55),m=a(33),b=a(78),p=a(132),h=a(10),g=a(58),f=(a(297),a(5)),O=a(0);var x=function(){var e=Object(d.useState)(!1),t=Object(c.a)(e,2),a=t[0],s=t[1];return Object(O.jsxs)("div",{style:{position:"relative"},children:[Object(O.jsx)(m.a,{icon:"pi pi-question-circle",onClick:function(){s(!a)},className:"readysize-tooltip-container"}),a&&Object(O.jsx)("div",{className:"tooltip-content",style:{position:"absolute",backgroundColor:"white",padding:"15px 20px 15px",border:"1px solid #ccc",borderRadius:"5px",zIndex:1e3,right:"0px",left:"50px",width:"400px",height:"auto",top:"-20px"},children:Object(O.jsx)("div",{children:Object(O.jsx)("p",{children:Object(O.jsx)(f.a,{id:"langTooltip",defaultMessage:"El Lenguaje que elijas va a ser el utilizado por el modal en tu aplicaci\xf3n en sitio."})})})})]})},v=a(312),y=a(66),S=[{planId:1,titleId:"card1.title",subtitleId:"card1.subtitle",definitionId:"card1.definition",items:["card1.item1","card1.item2","card1.item3","card1.item4","card1.item5"]},{planId:2,titleId:"card2.title",subtitleId:"card2.subtitle",definitionId:"card2.definition",items:["card2.item1","card2.item2","card2.item3","card2.item4","card2.item5"]},{planId:3,titleId:"card3.title",subtitleId:"card3.subtitle",definitionId:"card3.definition",items:["card3.item1","card3.item2","card3.item3","card3.item4","card3.item5"]}];t.default=function(){var e=h.StorageServices.GetCookieUser().Contract.Id||3,t=h.StorageServices.GetCookieUser().PlatformId,a=Object(d.useState)(""),i=Object(c.a)(a,2),N=i[0],z=i[1],C=Object(d.useState)([]),w=Object(c.a)(C,2),M=w[0],T=w[1],k=Object(d.useState)(!1),E=Object(c.a)(k,2),I=E[0],P=E[1],G=Object(d.useState)(null),A=Object(c.a)(G,2),R=A[0],F=A[1],L=Object(d.useState)(null),D=Object(c.a)(L,2),B=D[0],U=D[1],_=Object(d.useState)(),W=Object(c.a)(_,2),H=W[0],V=W[1],q=Object(d.useState)(null),K=Object(c.a)(q,2),X=K[0],J=K[1],Z=Object(d.useState)(!1),Q=Object(c.a)(Z,2),Y=Q[0],$=Q[1],ee=Object(y.a)(),te=function(){var e=Object(o.a)(r.a.mark((function e(){var t;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,h.ToolServices.GetCompanyDomains();case 3:if(!(t=e.sent)||200!==t.Status){e.next=8;break}return e.abrupt("return",t.Content||{});case 8:return e.abrupt("return",{});case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.log("ERROR GetDomains",e.t0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}();Object(d.useEffect)((function(){te().then((function(e){V(e),e&&e.Domains&&T(e.Domains.map((function(e,t){return e.Name}))),U(M.length)}))}),[]);var ae=Object(O.jsxs)("div",{children:[Object(O.jsx)(m.a,{icon:"pi pi-times",onClick:function(){return P(!1)},className:"tools-add-button-modal-white",children:Object(O.jsx)(f.a,{id:"ready-size-no",defaultMessage:"No"})}),Object(O.jsx)(m.a,{icon:"pi pi-check",onClick:function(){null!==R&&(!function(e){try{var t=M.filter((function(t,a){return a!==e})),a=Object(s.a)({},H),n=H&&H.Domains?H.Domains.filter((function(t,a){return a!==e})):new Array;n||(n=new Array),a.Domains=n,V(a),T(t)}catch(i){console.log("ERROR removeTag",i)}}(R),F(null)),P(!1)},autoFocus:!0,className:"tools-add-button-modal",children:Object(O.jsx)(f.a,{id:"ready-size-yes",defaultMessage:"Si"})})]}),se=function(){var e=Object(o.a)(r.a.mark((function e(){var t,a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if($(!0),e.prev=1,!((t=H&&H.Domains?H.Domains:new Array)&&t.length>0)){e.next=8;break}return e.next=6,h.ToolServices.UpdateCompanyDomains(t);case 6:(a=e.sent)&&200===a.Status?te().then((function(e){V(e),e&&e.Domains&&T(e.Domains.map((function(e){return e.Name}))),U(M.length)})):console.log("ERROR onClickSaveDomains Response",a);case 8:$(!1),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(1),console.log("ERROR onClickSaveDomains",e.t0),$(!1);case 15:case"end":return e.stop()}}),e,null,[[1,11]])})));return function(){return e.apply(this,arguments)}}();return Object(O.jsxs)("div",{className:"tools-main-container",children:[(200===t||2===t)&&Object(O.jsxs)("div",{className:"tools-cards-container",children:[Object(O.jsx)("p",{className:"tools-title",children:Object(O.jsx)(f.a,{id:"ourPlans"})}),Object(O.jsx)("div",{className:"cards-main-container",children:S.map((function(t){return Object(O.jsx)(l.PricingCard,{icon:e===t.planId?u.d:null,titleId:t.t
1itleId,subtitleId:t.subtitleId,definitionId:t.definitionId,items:t.items,isActive:e===t.planId},t.planId)}))})]}),Object(O.jsxs)("div",{className:"tools-authdom-container",children:[Object(O.jsx)("p",{className:"tools-auth-domains",children:Object(O.jsx)(f.a,{id:"authDomains"})}),Object(O.jsxs)("div",{className:"tooltip-subtitle-tooltip-container",children:[Object(O.jsx)("p",{className:"tools-auth-domains-subtitle",children:Object(O.jsx)(f.a,{id:"addAuthDomains"})}),Object(O.jsx)(l.TooltipDomAuth,{})]}),Object(O.jsxs)("div",{className:"domains-main-container",children:[Object(O.jsxs)("div",{className:"input-tag-container",children:[Object(O.jsx)(j.a,{value:N,onChange:function(e){return z(e.target.value)},placeholder:ee.formatMessage({id:"addDomainPlaceholder",defaultMessage:"Agregar Dominio"}),className:"tools-domain-input"}),Object(O.jsx)(m.a,{onClick:function(){try{if(""!==N.trim()){var e=Object(n.a)(M),t=Object(s.a)({},H);t.Domains||(t.Domains=new Array);var a={Id:0,Name:N.trim().replace("http://","").replace("https://","")};t.Domains.push(a),e.push(N.trim().replace("http://","").replace("https://","")),V(t),T(e),U(M.length),z("")}}catch(i){console.log("ERROR addTag",i)}},className:"tools-add-button",children:Object(O.jsx)(f.a,{id:"addButtonLabel",defaultMessage:"Agregar"})}),Object(O.jsx)(m.a,{onClick:se,className:"tools-add-button",disabled:Y,children:Object(O.jsx)(f.a,{id:"ready-size-Guardar",defaultMessage:"Guardar"})}),Y&&Object(O.jsx)("div",{className:"ms-2 tools-spinner-container",children:Object(O.jsx)(v.a,{animation:"border",role:"status",size:"sm",children:Object(O.jsx)("span",{className:"visually-hidden",children:"Loading..."})})})]}),Object(O.jsx)("div",{className:"tags-container",children:M.map((function(e,t){return Object(O.jsx)(b.a,{className:"tag-item-tools p-tag-tools ".concat(t===B?"new":""),children:Object(O.jsxs)("div",{className:"flex align-items-center gap-2 ",children:[Object(O.jsx)("span",{className:"text-base ",children:e}),Object(O.jsx)("i",{className:"pi pi-times text-xs",onClick:function(){return function(e){F(e),P(!0)}(t)},style:{cursor:"pointer"}})]})},t)}))})]})]}),Object(O.jsx)(p.a,{header:Object(O.jsx)(f.a,{id:"alertHeader",defaultMessage:"Alerta"}),visible:I,style:{width:"25vw"},onHide:function(){return P(!1)},footer:ae,children:Object(O.jsx)("p",{className:"m-0",children:Object(O.jsx)(f.a,{id:"confirmDeleteMessage",defaultMessage:"Estas seguro que queres borrar este dominio?"})})}),Object(O.jsxs)("div",{className:"tools-authdom-container",children:[Object(O.jsx)("p",{className:"tools-auth-domains",children:Object(O.jsx)(f.a,{id:"appLanguage",defaultMessage:"Idioma Aplicaci\xf3n"})}),Object(O.jsxs)("div",{className:"tooltip-subtitle-tooltip-container",children:[Object(O.jsx)("p",{children:Object(O.jsx)(f.a,{id:"appLanguage",defaultMessage:"Que idioma queres que use tu aplicaci\xf3n en el sitio?"})}),Object(O.jsx)(x,{})]}),Object(O.jsxs)("div",{className:"domains-main-container",children:[Object(O.jsx)(g.a,{value:X,onChange:function(e){return J(e.value)},options:[{name:"Espa\xf1ol",code:"es"},{name:"Portugues",code:"pt"},{name:"English",code:"en"}],optionLabel:"name",placeholder:ee.formatMessage({id:"selectLanguagePlaceholder",defaultMessage:"Selecciona un idioma"}),className:"w-full md:w-14rem"}),Object(O.jsxs)("p",{className:"current-lang",children:[Object(O.jsx)(f.a,{id:"toolsCurrentLanguage",defaultMessage:"Tu idioma actual es:"})," ",X?X.name:""]})]})]})]})}}],[[303,2,3]]]);
2//# sourceMappingURL=main.52ba3151.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.