PageSourceSearch

https://www.mementosjewelry.com/_next/static/chunks/pages/amazonorders-012443120cdb4329.js

js mementosjewelry.com collected 2026-10-04 23:11:13 UTC 34,934 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1960],{48449:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/amazonorders",function(){return t(81718)}])},11546:function(e,r,t){"use strict";t.d(r,{Z:function(){return a}});var s=t(85893);function a(e){var r=e.paths,t=void 0===r?[{name:"home",path:"/"}]:r;return(0,s.jsx)(s.Fragment,{children:t&&t.length>0&&(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"breadcrumb-wrapper font-400 text-[13px] text-gray-500 mb-[23px]",children:t.map((function(e){return(0,s.jsxs)("span",{children:[(0,s.jsx)("a",{href:e.path,children:(0,s.jsx)("span",{className:"mx-1 capitalize text-qyellow",children:e.name})}),(0,s.jsx)("span",{className:"seperator",children:"/"})]},Math.random())}))})},Math.random())})}},74325:function(e,r,t){"use strict";t.d(r,{Z:function(){return a}});var s=t(85893);function a(e){var r=e.type,t=e.children,a=e.className;return"info"===r?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex items-center p-4 mb-4 text-sm text-blue-800 border border-blue-300 rounded-lg dark:text-blue-400 dark:border-blue-800 ".concat(a||""),role:"alert",children:[(0,s.jsx)("svg",{className:"flex-shrink-0 inline w-4 h-4 mr-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"})}),(0,s.jsx)("span",{className:"sr-only",children:"Info"}),(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:"font-medium",children:t})})]})}):"danger"===r?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex items-center p-4 mb-4 text-sm text-red-800 border border-red-300 rounded-lg dark:text-red-400 dark:border-red-800 ".concat(a||""),role:"alert",children:[(0,s.jsx)("svg",{className:"flex-shrink-0 inline w-4 h-4 mr-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"})}),(0,s.jsx)("span",{className:"sr-only",children:"Info"}),(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:"font-medium",children:t})})]})}):"success"===r?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex items-center p-4 mb-4 text-sm text-green-800 border border-green-300 rounded-lg dark:text-green-400 dark:border-green-800 ".concat(a||""),role:"alert",children:[(0,s.jsx)("svg",{className:"flex-shrink-0 inline w-4 h-4 mr-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"})}),(0,s.jsx)("span",{className:"sr-only",children:"Info"}),(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:"font-medium",children:t})})]})}):"warning"===r?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex items-center p-4 mb-4 text-sm text-yellow-800 border border-yellow-300 rounded-lg dark:text-yellow-300 dark:border-yellow-800 ".concat(a||""),role:"alert",children:[(0,s.jsx)("svg",{className:"flex-shrink-0 inline w-4 h-4 mr-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"})}),(0,s.jsx)("span",{className:"sr-only",children:"Info"}),(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:"font-medium",children:t})})]})}):"dark"===r?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex items-center p-4 text-sm text-gray-800 border border-gray-300 rounded-lg dark:text-gray-300 dark:border-gray-600 ".concat(a||""),role:"alert",children:[(0,s.jsx)("svg",{className:"flex-shrink-0 inline w-4 h-4 mr-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"
1currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"})}),(0,s.jsx)("span",{className:"sr-only",children:"Info"}),(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:"font-medium",children:t})})]})}):(0,s.jsx)(s.Fragment,{})}},46763:function(e,r,t){"use strict";t.d(r,{Z:function(){return a}});var s=t(85893);function a(e){var r=e.className;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"".concat(null!==r&&void 0!==r?r:""),children:[(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{})]})})}},57153:function(e,r,t){"use strict";t.d(r,{Z:function(){return o}});var s=t(47568),a=t(34051),n=t.n(a),i=t(64529),l=t(5958),c=function(e,r,t){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:8;if(!Array.isArray(e)||!e.length)return"";for(var a=(0,l.GIFEncoder)(),n=0;n<e.length;n+=1){var i=e[n],c=(0,l.quantize)(i,256),d=(0,l.applyPalette)(i,c);a.writeFrame(d,r,t,{palette:c,delay:s,repeat:0})}a.finish();for(var o=a.bytes(),x="",m=0;m<o.length;m+=1)x+=String.fromCharCode(o[m]);return"data:image/gif;base64,".concat(btoa(x))},d=(0,i.Ue)((function(e,r){return{testNo:1,store:{moveCamera:null},ringNo:64,gl:null,scene:null,camera:null,setRingNo:function(r){return e((function(){return{ringNo:r}}))},setGl:function(r){return e((function(){return{gl:r}}))},setCaptureContext:function(r){var t=r.gl,s=r.scene,a=r.camera;return e((function(){return{gl:t,scene:s,camera:a}}))},captureRingImage:function(){var e=r(),t=e.gl,s=e.scene,a=e.camera;if(!(null===t||void 0===t?void 0:t.domElement))return"";try{return s&&a&&t.render(s,a),t.domElement.toDataURL("image/png")}catch(n){return""}},captureRingAnimation:(0,s.Z)(n().mark((function e(){var t,s,a,i,l,d,o,x,m,h,u,p,j,g,f,b,N,y,v,w,I,D,E,z,_,k,A,M,R,Z,F,O=arguments;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=O.length>0&&void 0!==O[0]?O[0]:{},s=t.frames,a=void 0===s?20:s,i=t.size,l=void 0===i?480:i,d=r(),o=d.gl,x=d.scene,m=d.camera,h=d.captureRingImage,(null===o||void 0===o?void 0:o.domElement)&&x&&m){e.next=4;break}return e.abrupt("return",h());case 4:if(u=m.position.clone(),p=m.quaternion.clone(),j=0,g=4,f=0,b=u.x-j,N=u.y-g,y=u.z-f,v=Math.max(Math.sqrt(b*b+N*N+y*y),1),w=Math.asin(Math.min(1,Math.max(-1,N/v))),I=Math.cos(w),(D=document.createElement("canvas")).width=l,D.height=l,E=D.getContext("2d",{willReadFrequently:!0})){e.next=21;break}return e.abrupt("return",h());case 21:for(z=[],e.prev=22,_=0;_<a;_+=1)k=_/a*Math.PI*2,m.position.set(j+v*I*Math.cos(k),g+v*Math.sin(w),f+v*I*Math.sin(k)),m.lookAt(j,g,f),m.updateMatrixWorld(),o.render(x,m),A=o.domElement,E.fillStyle="#ffffff",E.fillRect(0,0,l,l),M=Math.min(l/A.width,l/A.height),R=A.width*M,Z=A.height*M,E.drawImage(A,(l-R)/2,(l-Z)/2,R,Z),z.push(E.getImageData(0,0,l,l).data);e.next=29;break;case 26:return e.prev=26,e.t0=e.catch(22),e.abrupt("return",h());case 29:e.prev=29,m.position.copy(u),m.quaternion.copy(p),m.updateMatrixWorld();try{o.render(x,m)}catch(n){}return e.finish(29);case 35:return e.prev=35,F=c(z,l,l,8),e.abrupt("return",F||h());case 40:return e.prev=40,e.t1=e.catch(35),e.abrupt("return",h());case 43:case"end":return e.stop()}}),e,null,[[22,26,29,35],[35,40]])})))}})),o=d},81718:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSP:function(){return I},default:function(){return k},removeDiacriticsAndSpecialChars:function(){return D}});var s=t(47568),a=t(26042),n=t(69396),i=t(34051),l=t.n(i),c=t(85893),d=t(78628),o=t(9669),x=t.n(o),m=t(9008),h=t.n(m),u=t(67294),p=t(11546),j=t(74325),g=t(46763),f=t(66009),b=t(87961),N=t(42263),y=t(3119),v=t(30476),w=t(47426),I=!0,D=function(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x00-\x7F\d]/g,"")},E=function(e){return Object.keys(w.fX).map(Number).reduce((function(r,t){return Math.abs(t-e)<Math.abs(r-e)?t:r}))},z=function(e,r,t,s,i){var l=r.timeline,o=l.start.split("T")[0],x=l.end.split("T")[0],m=(new Date(x).getTime()-new Date(o).getTime())/864e5,u=E(m),p=((new Date).getTime()-new Date(o).getTime())/864e5,j=p/u,g=[];
1return r.orderItems.forEach((function(r){if(r.customizationData&&r.customizationData.error)g.push({orderItemId:r.orderItemId,error:r.customizationData.error,errorMessage:r.customizationData.message,originalUrl:r.customizationData.originalUrl,availableKeys:r.customizationData.availableKeys,isError:!0});else{var s=e[r.asin];if(s){var a=s.id,n=s.productId,l=s.color,c=(s.collection,i.find((function(e){return e.id===a})).customizable),d=(0,y.P5)(r.customizationData,n,t);g.push({productId:n,color:l,orderItemInfo:d,orderItemId:r.orderItemId,customizables:c,isError:!1})}else g.push({orderItemId:r.orderItemId,error:"asin_not_found",asin:r.asin,isError:!0})}})),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(h(),{children:[(0,c.jsx)("title",{children:"Track Your Amazon Class Ring Order | Mementos Jewelry"}),(0,c.jsx)("meta",{name:"description",content:"Placed your Mementos Jewelry order through Amazon? Track your class ring order status, shipping updates, and delivery details here."}),(0,c.jsx)("link",{rel:"canonical",href:"https://www.mementosjewelry.com/amazonorders"})]}),g.map((function(e,r){if(e.isError)return(0,c.jsxs)("tr",{className:"text-gray-700 bg-red-50",children:[(0,c.jsx)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:o}),(0,c.jsx)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:"N/A"}),(0,c.jsx)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:"N/A"}),(0,c.jsx)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:"N/A"}),(0,c.jsx)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:"N/A"}),(0,c.jsx)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2 flex flex-col items-center",children:(0,c.jsxs)("div",{className:"flex flex-col justify-center items-center p-4",children:["expired_url"===e.error&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"flex items-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-yellow-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"\u26a0"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-yellow-700",children:"Customization Data Expired"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2 text-center",children:"The customization data for this order is no longer available due to expired links."}),(0,c.jsx)("p",{className:"text-xs text-gray-500 text-center",children:"This is normal for older orders. Amazon customization URLs expire after some time."}),(0,c.jsxs)("div",{className:"mt-3 p-2 bg-yellow-100 rounded border",children:[(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]}),e.originalUrl&&(0,c.jsxs)("p",{className:"text-xs text-gray-700 break-all",children:[(0,c.jsx)("strong",{children:"Original URL:"})," ",e.originalUrl.substring(0,60),"..."]})]})]}),"forbidden_url"===e.error&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"flex items-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-red-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"\ud83d\udeab"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-red-700",children:"Access Forbidden"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2 text-center",children:"Access to the customization data is forbidden or unauthorized."}),(0,c.jsx)("p",{className:"text-xs text-gray-500 text-center",children:"This may indicate expired permissions or restricted access to Amazon's customization servers."}),(0,c.jsxs)("div",{className:"mt-3 p-2 bg-red-100 rounded border",children:[(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]}),e.originalUrl&&(0,c.jsxs)("p",{className:"text-xs text-gray-700 break-all",children:[(0,c.jsx)("strong",{children:"Original URL:"})," ",e.originalUrl.substring(0,60),"..."]})]})]}),"request_expired"===e.error&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"flex items-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-orange-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"\ud83d\udd52"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-orange-700",children:"Request Signature Expired"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2 text-center",children:"Amazon's request signature has expired. Customization URLs expire within 24 hours for security."}),(0,c.jsx)("p",{className:"text-xs text-gray-500 text-center",children:"This is normal for orders older than 1-2 days. Amazon uses time-limited signed URLs."}),(0,c.jsxs)("div",{className:"mt-3 p-2 bg-orange-100 rounded border",children:[(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]}),e.originalUrl&&(0,c.jsxs)("p",{className:"text-xs text-gray-700 break-all",children:[(0,c.jsx)("strong",{children:"Original URL:"})," ",e.originalUrl.substring(0,60),"..."]})]})]}),"invalid_structure"===e.error&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"flex items-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-orange-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"!"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-orange-700",children:"Invalid Data Structure"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2 text-center",children:"The customization data format is not recognized or supported."}),(0,c.jsxs)("div",{className:"mt-3 p-2 bg-orange-100 rounded border",children:[(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]}),e.availableKeys&&(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Available Data:"}
1)," ",e.availableKeys.join(", ")]})]})]}),"processing_error"===e.error&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"flex items-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-red-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"\u2715"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-red-700",children:"Processing Error"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2 text-center",children:"An error occurred while processing the customization data."}),(0,c.jsxs)("div",{className:"mt-3 p-2 bg-red-100 rounded border",children:[(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]}),(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Error:"})," ",e.errorMessage]})]})]}),"asin_not_found"===e.error&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"flex items-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-gray-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"?"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-gray-700",children:"Product Not Found"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2 text-center",children:"We couldn\u2019t find a product in our catalog for this ASIN. The order data was fetched successfully, but it can\u2019t be displayed with 3D details."}),(0,c.jsxs)("div",{className:"mt-3 p-2 bg-gray-100 rounded border",children:[(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]}),e.asin&&(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"ASIN:"})," ",e.asin]})]})]})]})})]},"order_error_".concat(e.orderItemId));var t=e.color,s=e.productId,i=e.orderItemInfo,l=e.orderItemId,m=e.customizables,h=(0,N.E)((0,n.Z)((0,a.Z)({},i),{color:t,product_id:s}));Object.keys(h).forEach((function(e){"string"===typeof h[e]&&(h[e]=D(h[e]))}));var g=m.find((function(e){return"month"===e.name}));return(0,c.jsxs)("tr",{className:"text-gray-700",children:[(0,c.jsx)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:o}),(0,c.jsx)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:u}),(0,c.jsx)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:x}),(0,c.jsx)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:parseInt(p)}),(0,c.jsx)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:j>1?"100%":"".concat(parseInt(100*j),"%")}),(0,c.jsxs)("td",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2 flex flex-col items-center",children:[(0,c.jsx)("div",{className:"flex w-full",children:["3D Cad Design","3D Cad Printing","Casting","Polishing","Stone Setting","Plating","Enameling","QC"].map((function(e){var r=Math.ceil(100*w.fX[u][e]/u);return(0,c.jsx)("div",{className:"border border-[#EDEDED] h-[50px] bg-transparent text-xs flex justify-center items-center",style:{width:"".concat(r,"%"),whiteSpace:"normal"},children:e},"manufacture_".concat(e))}))}),(0,c.jsxs)("div",{className:"flex w-full",children:[(0,c.jsx)("div",{style:{width:"".concat(100*j,"%"),height:"30px",background:"#00B050"}}),(0,c.jsx)("div",{style:{width:"".concat(100-100*j,"%"),height:"30px",background:"#C6E0B4"}})]}),(0,c.jsxs)("div",{className:"flex justify-between",children:[(0,c.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,c.jsx)("p",{className:"text-xs font-bold mb-2 uppercase",children:"Customization"}),g&&!g.type&&"text"!==g.type&&(0,c.jsxs)("p",{className:"text-xs",children:["Birthstone:"," ",(0,c.jsx)("strong",{children:w.Qy[i.month-1]})]}),m.map((function(e){var r;return e.type&&"number"===e.type&&i[e.name]&&w.Pz[i[e.name]]&&(0,c.jsxs)("p",{className:"text-xs",children:[e.label,":"," ",(0,c.jsx)("strong",{children:null===(r=w.Pz[i[e.name]])||void 0===r?void 0:r.name})]},"check_order_customize_".concat(e.name))})),m.map((function(e){return e.type&&"select"===e.type&&"color"!==e.name&&(0,c.jsxs)("p",{className:"text-xs",children:[e.label,":"," ",(0,c.jsx)("strong",{children:i[e.name]})]},"check_order_customize_".concat(e.name))})),m.map((function(e){return(null===e||void 0===e?void 0:e.name)&&"text"===e.type&&(0,c.jsxs)("p",{className:"text-xs",children:[e.label,":"," ",(0,c.jsx)("strong",{children:i[e.name]})]},"check_order_customize_".concat(e.name))})),(0,c.jsxs)("p",{className:"text-xs",children:["Finger Size: ",(0,c.jsx)("strong",{children:i.size})]})]}),(0,c.jsx)("div",{style:{width:"400px",height:"400px"},children:(0,c.jsx)(d.Xz,{children:(0,c.jsx)(b.H,(0,n.Z)((0,a.Z)({},h),{autoRotate:!0}))})})]})]})]},"order_".concat(l))}))]})},_=function(e,r,t,s,i){var l=r.timeline,o=l.start.split("T")[0],x=l.end.split("T")[0],m=(new Date(x).getTime()-new Date(o).getTime())/864e5,h=E(m),u=((new Date).getTime()-new Date(o).getTime())/864e5,p=u/h,j=[];
1return r.orderItems.forEach((function(r){if(r.customizationData&&r.customizationData.error)j.push({orderItemId:r.orderItemId,error:r.customizationData.error,errorMessage:r.customizationData.message,originalUrl:r.customizationData.originalUrl,availableKeys:r.customizationData.availableKeys,isError:!0});else{var s=e[r.asin];if(s){var a=s.id,n=s.productId,l=s.color,c=(s.collection,i.find((function(e){return e.id===a})).customizable),d=(0,y.P5)(r.customizationData,n,t);j.push({productId:n,color:l,orderItemInfo:d,orderItemId:r.orderItemId,customizables:c,isError:!1})}else j.push({orderItemId:r.orderItemId,error:"asin_not_found",asin:r.asin,isError:!0})}})),(0,c.jsx)(c.Fragment,{children:j.map((function(e,r){if(e.isError)return(0,c.jsx)("tr",{className:"text-gray-700 bg-red-50",children:(0,c.jsx)("td",{className:"py-4 text-xs text-center border-r border-r-[#EDEDED] px-2",children:(0,c.jsxs)("div",{className:"flex flex-col items-center p-4",children:[(0,c.jsxs)("p",{className:"mb-2",children:["Order Date: ",(0,c.jsx)("strong",{children:o})]}),"expired_url"===e.error&&(0,c.jsxs)("div",{className:"w-full text-center",children:[(0,c.jsxs)("div",{className:"flex items-center justify-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-yellow-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"\u26a0"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-yellow-700",children:"Customization Data Expired"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2",children:"The customization data for this order is no longer available due to expired links."}),(0,c.jsx)("p",{className:"text-xs text-gray-500 mb-3",children:"This is normal for older orders. Amazon customization URLs expire after some time."}),(0,c.jsx)("div",{className:"p-2 bg-yellow-100 rounded border",children:(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]})})]}),"forbidden_url"===e.error&&(0,c.jsxs)("div",{className:"w-full text-center",children:[(0,c.jsxs)("div",{className:"flex items-center justify-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-red-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"\ud83d\udeab"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-red-700",children:"Access Forbidden"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2",children:"Access to the customization data is forbidden or unauthorized."}),(0,c.jsx)("p",{className:"text-xs text-gray-500 mb-3",children:"This may indicate expired permissions or restricted access to Amazon's customization servers."}),(0,c.jsx)("div",{className:"p-2 bg-red-100 rounded border",children:(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]})})]}),"request_expired"===e.error&&(0,c.jsxs)("div",{className:"w-full text-center",children:[(0,c.jsxs)("div",{className:"flex items-center justify-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-orange-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"\ud83d\udd52"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-orange-700",children:"Request Signature Expired"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2",children:"Amazon's request signature has expired. Customization URLs expire within 24 hours for security."}),(0,c.jsx)("p",{className:"text-xs text-gray-500 mb-3",children:"This is normal for orders older than 1-2 days. Amazon uses time-limited signed URLs."}),(0,c.jsx)("div",{className:"p-2 bg-orange-100 rounded border",children:(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]})})]}),"invalid_structure"===e.error&&(0,c.jsxs)("div",{className:"w-full text-center",children:[(0,c.jsxs)("div",{className:"flex items-center justify-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-orange-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"!"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-orange-700",children:"Invalid Data Structure"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2",children:"The customization data format is not recognized or supported."}),(0,c.jsxs)("div",{className:"p-2 bg-orange-100 rounded border",children:[(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]}),e.availableKeys&&(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Available Data:"}
1)," ",e.availableKeys.join(", ")]})]})]}),"processing_error"===e.error&&(0,c.jsxs)("div",{className:"w-full text-center",children:[(0,c.jsxs)("div",{className:"flex items-center justify-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-red-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"\u2715"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-red-700",children:"Processing Error"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2",children:"An error occurred while processing the customization data."}),(0,c.jsxs)("div",{className:"p-2 bg-red-100 rounded border",children:[(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]}),(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Error:"})," ",e.errorMessage]})]})]}),"asin_not_found"===e.error&&(0,c.jsxs)("div",{className:"w-full text-center",children:[(0,c.jsxs)("div",{className:"flex items-center justify-center mb-3",children:[(0,c.jsx)("div",{className:"w-6 h-6 bg-gray-500 rounded-full flex items-center justify-center mr-2",children:(0,c.jsx)("span",{className:"text-white text-sm font-bold",children:"?"})}),(0,c.jsx)("p",{className:"text-sm font-bold text-gray-700",children:"Product Not Found"})]}),(0,c.jsx)("p",{className:"text-xs text-gray-600 mb-2",children:"We couldn\u2019t find a product in our catalog for this ASIN. The order data was fetched successfully, but it can\u2019t be displayed with 3D details."}),(0,c.jsxs)("div",{className:"p-2 bg-gray-100 rounded border",children:[(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"Order Item ID:"})," ",e.orderItemId]}),e.asin&&(0,c.jsxs)("p",{className:"text-xs text-gray-700",children:[(0,c.jsx)("strong",{children:"ASIN:"})," ",e.asin]})]})]})]})})},"order_mobile_error_".concat(e.orderItemId));var t=e.color,s=e.productId,i=e.orderItemInfo,l=e.orderItemId,m=e.customizables,j=(0,N.E)((0,n.Z)((0,a.Z)({},i),{color:t,product_id:s}));Object.keys(j).forEach((function(e){"string"===typeof j[e]&&(j[e]=D(j[e]))}));var g=m.find((function(e){return"month"===e.name}));return(0,c.jsxs)("tr",{className:"text-gray-700",children:[(0,c.jsxs)("td",{className:"py-4 text-xs text-center border-r border-r-[#EDEDED] px-2",children:[(0,c.jsxs)("p",{children:["Order Date: ",(0,c.jsx)("strong",{children:o})]}),(0,c.jsxs)("p",{children:["Production Days: ",(0,c.jsx)("strong",{children:h})]}),(0,c.jsxs)("p",{children:["Estimated Date: ",(0,c.jsx)("strong",{children:x})]}),(0,c.jsxs)("p",{children:["Inquire Day: ",(0,c.jsx)("strong",{children:parseInt(u)})]}),(0,c.jsxs)("p",{children:["Percent Finished:"," ",(0,c.jsx)("strong",{children:p>1?"100%":"".concat(parseInt(100*p),"%")})]}),(0,c.jsx)("p",{className:"my-2 text-sm",children:(0,c.jsx)("strong",{children:"CUSTOMIZATION"})}),g&&!g.type&&"text"!==g.type&&(0,c.jsxs)("p",{className:"text-xs",children:["Birthstone:"," ",(0,c.jsx)("strong",{children:w.Qy[i.month-1]})]}),m.map((function(e){return(null===e||void 0===e?void 0:e.name)&&"number"===e.type&&i[e.name]&&w.Pz[i[e.name]]&&(0,c.jsxs)("p",{className:"text-xs",children:[e.label,":"," ",(0,c.jsx)("strong",{children:w.Pz[i[e.name]].name})]},"check_order_customize_mobile__".concat(e.name))})),m.map((function(e){return(null===e||void 0===e?void 0:e.name)&&"select"===e.type&&"color"!==e.name&&(0,c.jsxs)("p",{className:"text-xs",children:[e.label,":"," ",(0,c.jsx)("strong",{children:i[e.name]})]},"check_order_customize_mobile__".concat(e.name))})),m.map((function(e){return(null===e||void 0===e?void 0:e.name)&&"text"===e.type&&(0,c.jsxs)("p",{className:"text-xs",children:[e.label,":"," ",(0,c.jsx)("strong",{children:e.value})]},"check_order_customize_mobile__".concat(e.name))})),(0,c.jsxs)("p",{className:"text-xs",children:["Finger Size: ",(0,c.jsx)("strong",{children:i.size})]})]}),(0,c.jsx)("td",{children:(0,c.jsx)("div",{style:{width:"200px",height:"200px"},children:(0,c.jsx)(d.Xz,{children:(0,c.jsx)(b.H,(0,n.Z)((0,a.Z)({},j),{autoRotate:!0}))})})})]},"order_mobile_".concat(l))}))})};function k(e){var r=e.user,t=(e.product,e.products),a=e.categories,n=e.asinNumbers,i=e.graphics,d=(e.manufactureDays,(0,u.useState)("")),o=d[0],m=d[1],h=(0,u.useState)(""),b=h[0],N=h[1],y=(0,u.useState)(!1),w=y[0],I=y[1],D=(0,u.useState)([]),E=D[0],k=D[1],A=function(){var e=(0,s.Z)(l().mark((function e(){var r,t;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o.match(/^[0-9]{3}-[0-9]{7}-[0-9]{7}
1$/)){e.next=3;break}return N("PLEASE ENTER A VALID AMAZON ORDER NUMBER."),e.abrupt("return");case 3:return I(!0),N(""),e.prev=5,e.next=8,x().get("".concat(v.Z,"/api/v1/amazon/orders?id=").concat(o));case 8:(r=e.sent).data&&(k(r.data),N("")),e.next=17;break;case 12:e.prev=12,e.t0=e.catch(5),console.error("Error fetching Amazon order:",e.t0),e.t0.response?(t=e.t0.response.data,400===e.t0.response.status?t&&t.message?N(t.message):N("Order not found or no customization data available for this order."):500===e.t0.response.status?t&&t.message?N("Server error: ".concat(t.message)):N("Server error occurred while fetching order information."):N("Failed to fetch order information. Please try again.")):e.t0.request?N("Network error. Please check your connection and try again."):N("An unexpected error occurred. Please try again."),k([]);case 17:return e.prev=17,I(!1),e.finish(17);case 20:case"end":return e.stop()}}),e,null,[[5,12,17,20]])})));return function(){return e.apply(this,arguments)}}();return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(f.Z,{className:"pt-0 pb-0",user:r,categories:a,products:t,children:(0,c.jsxs)("div",{className:"cart-page-wrapper-w-full",children:[(0,c.jsx)("div",{className:"container-x mx-auto pt-6",children:(0,c.jsx)(p.Z,{paths:[{name:"home",path:"/"},{name:"amazon orders"}]})}),(0,c.jsx)("div",{className:"w-full",children:(0,c.jsxs)("div",{className:"container-x mx-auto flex flex-col items-center bg-white py-8 mb-8",children:[(0,c.jsx)("p",{className:"text-md font-bold mb-4",children:"PLEASE ENTER YOUR AMAZON ORDER NUMBER."}),b&&(0,c.jsx)(j.Z,{type:"danger",className:"border-none",children:b}),(0,c.jsxs)("div",{className:"w-full h-full mb-8 flex flex-col lg:flex-row justify-center items-center space-x-4",children:[(0,c.jsx)("input",{type:"text",className:"text-sm text-center px-6 text-dark-gray font-normal bg-white border border-qgray focus:ring-0 focus:outline-none h-[50px]",style:{width:"400px"},placeholder:"YOUR AMAZON ORDER NUMBER IN 3-7-7 FORMAT",value:o,onChange:function(e){return m(e.target.value)}}),(0,c.jsxs)("button",{type:"button",className:"black-btn text-sm h-[50px] font-semibold flex justify-center bg-purple items-center cursor-pointer mt-4 lg:mt-0",style:{width:"150px"},onClick:A,children:[(0,c.jsx)("span",{children:"SUBMIT"}),w&&(0,c.jsx)(g.Z,{className:"lds-spinner-sm ml-2"})]})]}),(0,c.jsx)("div",{className:"hidden sm:block relative w-full overflow-x-auto border border-[#EDEDED] mb-[60px]",children:(0,c.jsxs)("table",{className:"w-full text-sm text-left text-gray-500 dark:text-gray-400",children:[(0,c.jsx)("thead",{children:(0,c.jsxs)("tr",{className:"text-[13px] font-medium text-black bg-[#F6F6F6] whitespace-nowrap px-2 border-b default-border-bottom uppercase",children:[(0,c.jsxs)("th",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:["order",(0,c.jsx)("br",{}),"date"]}),(0,c.jsxs)("th",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:["production",(0,c.jsx)("br",{}),"days"]}),(0,c.jsxs)("th",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:["estimated",(0,c.jsx)("br",{}),"date"]}),(0,c.jsxs)("th",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:["inquire",(0,c.jsx)("br",{}),"day"]}),(0,c.jsxs)("th",{className:"py-4 whitespace-nowrap text-center border-r border-r-[#EDEDED] px-2",style:{width:"5%"},children:["percent",(0,c.jsx)("br",{}),"finished"]}),(0,c.jsx)("th",{className:"py-4 whitespace-nowrap text-center",children:"status"})]})}),(0,c.jsx)("tbody",{children:E&&E.orderItems&&E.orderItems.length>0?z(n,E,i,0,t):(0,c.jsx)(c.Fragment,{})})]})}),(0,c.jsx)("div",{className:"block sm:hidden w-full border border-[#EDEDED] mb-4",children:(0,c.jsx)("table",{className:"w-full text-sm text-left text-gray-500 dark:text-gray-400",children:(0,c.jsx)("tbody",{children:E&&E.orderItems&&E.orderItems.length>0?_(n,E,i,0,t):(0,c.jsx)(c.Fragment,{})})})}),(0,c.jsx)("p",{className:"text-sm",children:"If you find that there is a mistake with your order, you need to let us know within 24 hours of placing your order."}),(0,c.jsx)("p",{className:"text-sm",children:"All communications regarding Amazon orders must be communicated through the Amazon Messaging app and not from this website."}),(0,c.jsxs)("p",{className:"text-sm",children:["Please click"," ",(0,c.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://amazon.com",style:{color:"#c29958",fontWeight:"bold"},children:"HERE"})," ","to be taken back to Amazon.com to send your message."]}),(0,c.jsx)("div",{className:"text-center mt-4 w-full h-full relative hidden sm:block",style:{background:"url(/assets/images/manufacturingprocess.png)",backgroundSize:"cover",aspectRatio:550/288}}),(0,c.jsx)("div",{className:"text-center mt-4 w-full relative sm:hidden",style:{background:"url(/assets/images/manufacturingprocess.png)",backgroundSize:"cover",aspectRatio:550/288}})]})})]})})})}}},function(e){e.O(0,[8802,1664,5675,4949,6271,5324,6009,7426,3119,2263,7961,9774,2888,179],(function(){return r=48449,e(e.s=r);var r}));var r=e.O();_N_E=r}]);

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.