1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[994],{87415:(e,t,r)=>{r.r(t),r.d(t,{default:()=>T});r(16411),r(73185),r(63252),r(80630),r(98376),r(14293),r(68803),r(18981),r(95307),r(60595),r(58070),r(93510),r(75668),r(1280),r(2380),r(27270),r(2432),r(33873),r(11011),r(47010),r(11875),r(56569);var n=r(14041),o=r(94260),i=r(44576),a=r(79824),c=r(87366),s=r(55278),u=r(36528),l=r(73122),m=r(9941),d=r(32490),f=r(79622),p=r(44300),v=r(65798),g=r(29245),h=r(36581),b=r(2945),w=r(80825),y=r(31085);function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function x(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return R(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return R(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function j(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,z(n.key),n)}}function E(e,t,r){return t=O(t),function(e,t){if(t&&("object"===_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,S()?Reflect.construct(t,r||[],O(e).constructor):t.apply(e,r))}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(S=function(){return!!e})()}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function N(e,t){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},N(e,t)}function P(e,t,r){return(t=z(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z(e){var t=function(e,t){if("object"!=_(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_(t)?t:t+""}var A=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return P(e=E(this,t,[].concat(n)),"validateIncentiveData",(function(e,t){if(e){var r=e.incv;if(e.product_id===t&&1===Number(r))return!0}return!1})),P(e,"submitReview",(function(t){var r=e.props,n=r.i18n,o=n.brand,i=n.country,a=n.language,c=r.submitReview,s=r.newReview,u=r.xVersion,m=r.callPurchaseHistory,d=(0,l.Hdn)(),f=e.validateIncentiveData(d,t),p=(0,l.nQ5)(i)?JSON.parse((0,l.nQ5)(i)):"";c(i,a,s,t,o,f,u,m,p.l1Id?p.l1Id:void 0,p.l3Id?p.l3Id:void 0)})),P(e,"goBack",(function(){var t=e.props,r=t.params,n=r.productId,o=r.priceGroup;t.history.push("/products/".concat(n,"/").concat(o,"/reviews/new"))})),P(e,"formatValue",(function(e,t){return e||t.text_no_answer})),P(e,"formatDropdownValue",(function(e,t,r){if(!e)return t.text_no_answer;var n=r.find((function(t){return t.key===e}));return n?n.value:e})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N(e,t)}(t,e),r=t,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.params,r=t.productId,n=t.priceGroup,o=e.getReviews,i=e.i18n,a=i.brand,c=i.country,s=i.language,u=e.redirectToForm,l=e.history,f=e.trackPageView;u&&l.replace("/products/".concat(r,"/").concat(n,"/reviews/new")),o(c,s,m.wc.review,a),f((0,d.QO)(window.location.pathname),"text_confirm_comments")}},{key:"componentDidUpdate",value:function(e){this.props.isReviewProfanityError&&this.props.isReviewProfanityError!==e.isReviewProfanityError&&this.goBack()}},{key:"componentWillUnmount",value:function(){this.props.isReviewProfanityError||this.props.resetFetchStatus()}},{key:"render",value:function(){var e=this,t=this.props,r=t.history,n=t.newReview,a=n.rate,c=n.fit,s=n.purchasedSize,l=n.title,m=n.comment,d=n.name,g=n.ageRange,h=n.location,b=n.heightRange,w=n.weightRange,_=n.shoeSize,R=n.gender,j=n.purchasedColorName,E=t.params,S=E.productId,O=E.priceGroup,N=t.redirectToConfirmPage,P=t.formdata,z=t.i18n,A=z.brand,I=z.translations,C=z.language,T=t.breadcrumbReview,F=t.genderName,D=t.isNormalProduct,k=t.isOneSizeProduct;N&&r.push("/products/".concat(S,"/").concat(O,"/reviews/completed"));var V=(0,f.Hk$)(A),L=(0,p.Q4)(h||"",C),M=(0,u.CF)(I,F).genderTitle,q=[{title:I.text_gender,content:this.formatDropdownValue(R,I,P?P.genders:[])},{title:I.text_residence,content:this.formatValue(L,I)},{title:I.text_agerange,content:this.formatDropdownValue(g,I,P?P.ageRanges:[])},{title:I.text_height,content:this.formatDropdownValue(b,I,P?P.heightRanges:[])},{title:I.text_weight,content:this.formatDropdownValue(w,I,P?P.weightRanges:[])},{title:I.text_shoe_size,content:this.formatDropdownValue(_,I,P?P.shoeSizes:[])}];return V&&q.splice(1,1),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(u.W8,{title:(0,v.YT)(I.text_meta_title_reviews_confirm,{gender:M,productName:(null==P?void 0:P.productName)||""}),i18n:this.props.i18n}),(0,y.jsx)(o.aC,{pageContent:(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"ito-margin-bottom-32",children:[(0,y.jsx)(o.cz,{element:"h1",variant:"display2",className:"ito-margin-vertical-24",children:I.text_confirm_comments}),P&&(0,y.jsx)(o.KG,{variant:"horizontal-small",informationContent:(0,y.jsx)(o.cz,{variant:"productTileTitleHorizontal",children:P.productName}),media:(0,y.jsx)(o.Wx,{alt:P.productName,src:P.productImage,ratio:i.W}),className:"ito-margin-bottom-24"}),(0,y.jsx)(o.cz,{element:"p",variant:"titleLarge",className:"ito-margin-bottom-16",children:I.text_evaluation_required}),(0,y.jsx)(i.GW,{variant:"large",value:a,className:"ito-margin-bottom-24"}),(0,y.jsxs)(i.Jt,{direction:"column",className:"ito-margin-bottom-24",children:[(0,y.jsx)(o.cz,{element:"p",variant:"titleLarge",className:"ito-margin-bottom-16",children:I.text_review_title}),(0,y.jsx)(o.cz,{element:"p",variant:"bodyMedium",children:this.formatValue(l,I)})]}),(0,y.jsxs)(i.Jt,{direction:"column",className:"ito-margin-bottom-24",children:[(0,y.jsx)(o.cz,{element:"p",variant:"titleLarge",className:"ito-margin-bottom-16",children:I.text_comments}),(0,y.jsx)(o.cz,{element:"p",variant:"bodyMedium",children:this.formatValue(m,I)})]}),D&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(o.cz,{element:"p",variant:"titleLarge",className:"ito-margin-bottom-16",children:I.text_fitting}),!k&&(0,y.jsx)(o.cY,{variant:"form",children:(0,y.jsx)(o.p$,{className:"ito-margin-bottom-24",value:c,items:[I.text_tight,"",I.text_truetosize,"",I.text_loose]})}),(0,y.jsxs)(i.Jt,{className:"ito-margin-bottom-24",direction:"column",children:[(0,y.jsx)(o.cz,{element:"p",variant:"titleLarge",className:"ito-margin-bottom-16",children:I.text_purchased_size}),(0,y.jsx)(o.cz,{element:"p",variant:"bodyMedium",children:this.formatValue(s,I)})]}),(0,y.jsxs)(i.Jt,{className:"ito-margin-bottom-24",direction:"column",children:[(0,y.jsx)(o.cz,{element:"p",variant:"titleLarge",className:"ito-margin-bottom-16",children:I.text_purchased_color}),(0,y.jsx)(o.cz,{element:"p",variant:"bodyMedium",children:this.formatValue(j,I)})]})]}),!V&&(0,y.jsxs)(i.Jt,{className:"ito-margin-bottom-32",direction:"column",children:[(0,y.jsx)(o.cz,{element:"p",variant:"titleLarge",className:"ito-margin-bottom-16",children:I.text_nickname}),(0,y.jsx)(o.cz,{element:"p",variant:"bodyMedium",children:this.formatValue(d,I)})]}),(0,y.jsx)(o.cz,{element:"p",variant:"display2",className:"ito-margin-bottom-16",children:I.text_review_wearer_info}),q.map((function(e,t){return(0,y.jsxs)(i.Jt,{className:t>0?"ito-margin-top-24":"",direction:"column",children:[(0,y.jsx)(o.cz,{element:"p",variant:"titleLarge",className:"ito-margin-bottom-16",children:e.title}),(0,y.jsx)(o.cz,{element:"p",variant:"bodyMedium",children:e.content})]},"reviewUserInforContents".concat(t))})),(0,y.jsx)(o.cz,{element:"p",variant:"display2",className:"ito-margin-bottom-16 ito-margin-top-32",children:I.text_review_agreement}),(0,y.jsxs)(o.zH,{type:"unordered",spacing:!0,children:[(0,y.jsx)(o.EM,{label:I.text_review_post_restriction}),(0,y.jsx)(o.EM,{label:I.text_review_description1}),(0,y.jsx)(o.EM,{label:I.text_review_description2})]})]}),(0,y.jsxs)(i.Jt,{alignment:"center",direction:{sm:"column",md:"row",lg:"row"},element:"div",justifyContent:"space-between",spacing:{sm:"16",md:"24",lg:"24"},className:"ito-margin-bottom-52",children:[(0,y.jsx)(o.jn,{element:"button",width:"fullWidth",onClick:function(){return e.submitReview(S)},label:I.text_post_comments}),(0,y.jsx)(o.jn,{element:"button",variant:"secondary",width:"fullWidth",onClick:function(){return e.goBack()},label:I.text_backto_inputscreen})]})]}),breadcrumbs:(0,y.jsx)(o.JS,{className:"ito-margin-bottom-32",leftPadding:!0,items:[].concat(x((T||[]).map((function(e){return{text:e.text,href:e.to}}))),[{text:I.text_confirm_comments}])})})]})}}
1])&&j(r.prototype,n),a&&j(r,a),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,a}(n.Component),I=(0,s.A)(A,"login_required",w.oq,g.En.reset),C=(0,c.A)(I,w.OC,g.En.reset);const T=(0,a.Ng)(w.Ay,h.I)((0,b.f)(C))},80825:(e,t,r)=>{r.d(t,{Ay:()=>w,oq:()=>h,OC:()=>b,$n:()=>g});r(94149),r(58070),r(80630),r(68291),r(16411),r(62234),r(47748);var n=r(83878),o=r(65328),i=r(41535),a=r(76712),c=r(35209),s=r(53227),u=r(8865),l=r(66176),m=r(92754),d=r(84180),f=function(e){return 0===e.code||27===e.code},p=["ageRange","heightRange","weightRange","shoeSize","productId","sizeCode","gender","name","location","purchasedColorCode"];function v(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var g=function(e){e.ageRange,e.heightRange,e.weightRange,e.shoeSize,e.productId,e.sizeCode,e.gender,e.name,e.location,e.purchasedColorCode;var t=v(e,p);return Object.keys(t).some((function(e){return!t[e]}))},h=(0,n.Mz)(i.$o.submitReviewStatusSelector(o.Bn),(function(e){var t=a.S.getError(e);return t&&(0,c.io)(t)?{error:t}:{error:null}})),b=(0,n.Mz)([i.$o.submitReviewStatusSelector(o.Bn)],(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.S.getFilteredError(t,f)}));const w=(0,n.Mz)([o.F1,o.TO,o.mo,o.Sx,o.kc,i.$o.submitReviewStatusSelector(o.Bn)],(function(e,t,r,n,o,i){var f,p,v,h,b,w,y,_=e.review.newReview,x=a.S.getError(i),R=null!==(f=null===(p=e.review.formdata)||void 0===p?void 0:p.productType)&&void 0!==f?f:s.Vo.UNKNOWN;return{newReview:_,formdata:e.review.formdata,redirectToForm:g(_),redirectToConfirmPage:e.review.submitReviewSuccess,i18n:t,isReviewProfanityError:!!x&&(0,c.Lq)(x),breadcrumbReview:u.F.getBreadcrumbsUrl(e.review.breadcrumbs,t.translations,null===(v=e.review.formdata)||void 0===v?void 0:v.productName,!0,(0,d.lt)(r.productId,"/products/".concat(r.productId,"/").concat(r.priceGroup)),void 0,!!o[l.r.PRODUCT_ATTRIBUTE_FILTER]),genderName:(null==e||null===(h=e.review)||void 0===h||null===(b=h.breadcrumbs)||void 0===b||null===(w=b.gender)||void 0===w?void 0:w.locale)||" ",isNormalProduct:(0,m.l0)(R),isOneSizeProduct:!!e.review.formdata&&(null===(y=e.review.formdata.sizes)||void 0===y?void 0:y.some((function(e){return s.s5.includes(e.code)}))),xVersion:n.xVersion,callPurchaseHistory:!!o[l.r.NAVIGATION_SIZE_CHART_PURCHASE_HISTORY]}}))},36581:(e,t,r)=>{r.d(t,{I:()=>p});var n=r(35321),o=r(9941),i=r(29245),a=r(90388),c=r(54873),s=r(68838),u=r(41535),l=r(53227),m=r(42694),d=r(79622),f=function(){return f=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},p=function(e,t){return{getReviews:function(r,i,a,c,s,u){var d=t.params.productId;if(d){e(n.En.setPagination("review",n.ue));var p=f({limit:l._Q,offset:0},s);e(o.En.fetchReviewsRequest((0,m.AF)(r,i,c),{productId:d},a,p,u))}},viewMoreReviews:function(r,n,i,a,c,s){var u=t.params.productId;u&&e(o.En.fetchReviewsRequest((0,m.AF)(r,n,c),{productId:u,l1Id:s},i,a))},resetCurrentReview:function(){e(o.En.resetCurrentReview())},updateReviewData:function(t){e(o.En.updateReviewData(t))},submitReview:function(t,r,n,i,a,c,s,u,l,d){e(o.En.submitReviewRequest((0,m.AF)(t,r,a),n,i,c,s,u,l,d))},getReviewFormdata:function(t,r,n,i){var a=(0,m.AF)(t,r,i);e(o.En.fetchReviewFormdataRequest(a,n))},sendReviewFeedback:function(t,r,n,i,a){e(o.En.sendReviewFeedbackRequest((0,m.AF)(t,r,a),n,i))},getCanReviewProducts:function(t,r,n,i){var a=(0,m.AF)(t,r,i);e(o.En.fetchCanReviewProductsRequest(a,n))},resetFetchStatus:function(){e(i.En.reset())},getProduct:function(r){var n=t.params,o=n.productId,i=n.priceGroup;if(o&&i){var c=(0,d.eYA)(r.country);e(a.En.getProductDetailRequest(r,o,i,c))}},trackPageView:function(t,r){e(c.En.trackPageViewRequest(t,"PUSH",!1,r))},getTranslatedReviews:function(t,r,n,i){e(o.En.fetchTranslatedReviewRequest((0,m.AF)(t,r,n),i))},updateReviewLanguage:function(t){e(o.En.updateReviewLanguage(t))},resetFormdata:function(){e(o.En.resetFormdata())},resetPurchaseHistory:function(){e(s.En.resetPurchaseHistory())},fetchProductReviewSummary:function(t,r,n,i){var a=(0,m.AF)(t,r,n);e(o.En.fetchProductReviewSummaryRequest(a,i))},clearReviewSummaryAndTags:function(){e(o.En.clearReviewSummaryAndTagData()),e(i.En.removeKey(u.t9.FETCH_PRODUCT_REVIEW_SUMMARY_KEY))}}}}}]);
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.