1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[6474],{6877:(e,r,t)=>{t.r(r),t.d(r,{default:()=>h});var n=t(28407),o=t(77810),a=t(75826),s=t.n(a),i=t(36287),u=t(66272),d=t(45915),c=t(40133),m=t(14893),l=t(41375),p=t(63363),y=t(62241);const g=()=>{const[e,r]=(0,o.useState)(""),t=(0,y.useOrigin)(!1),a=function(){var e=(0,n.A)((function*(){try{const e={inputs:[{ReturnInputDescriptor:{orderSummaryId:"{{ReturnOrderSummaryId}}",labelFlag:"Y",shipFromCity:"Rome",shipFromStreet:"Via Positano",shipFromCountryCode:"IT",shipFromStateCode:"RM",shippingStreetNumber:"30",returnItems:[{orderItemSummaryId:"{{ReturnOrderItemSummaryId}}",quantity:"1",reasonForReturn:"01"}]}}]},n=yield fetch(`${t}${p.AH}/return-order-oms`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),o=yield n.json();o.success?r("Return order created successfully"):r("Failed to create return order: "+o.error)}catch(e){console.error("Error during return order creation:",e),r("Error during return order creation: "+e.message)}}));return function(){return e.apply(this,arguments)}}();return o.createElement(i.az,{"data-testid":"test-return-order-page",bg:"gray.50",py:[8,16]},o.createElement(l.A,{title:"Test Return Order",description:"Test return order"}),o.createElement(u.m,{paddingTop:16,width:"auto",bg:"white",paddingBottom:14,marginTop:8,marginBottom:8,borderRadius:"base"},e&&o.createElement(d.s,{justify:"center",mb:4},o.createElement(c.E,{color:"red.500",fontWeight:"bold"},e)),o.createElement(d.s,{justify:"center"},o.createElement(m.$,{variant:"primary",colorScheme:"blue",onClick:a},"Return Order - Test OMS Auth token & return order API"))))};g.getTemplateName=()=>"test-return-order",g.propTypes={match:s().object};const h=g}}]); 2//# sourceMappingURL=pages-test-oms-return-order.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.