PageSourceSearch

https://www.scufgaming.com/_next/static/chunks/4406-5d767d6d3e09042a.js

js scufgaming.com collected 2026-09-24 17:12:49 UTC 42,823 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4406],{36170:function(n,e){e.Z={src:"/_next/static/media/default-product-image.54a34aa8.png",height:1e3,width:1e3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAQAAABuBnYAAAAAcElEQVR42mMAgRLGUkYIDeFCOO4lwiA2mFsiX5JYsqnElYGhhIWhhJmBobSu9E7pz9LzpSwMDAylTAwMJctL9pTkljSXSDOAQCVHmRwDFGQxMjAw9Gj3mXdbdbl22XfrMoBAG2MjcydjD2M3EDIwAADxsBwbCedT9QAAAABJRU5ErkJggg=="}},93495:function(n,e){e.Z={src:"/_next/static/media/fanatec-default-product-image.09643a0c.png",height:1333,width:2e3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAQAAADSmGXeAAAAO0lEQVR42mPAAroYGRi6MjtndakxMHQyMXQxMTB0qXRWdAV3cYAkIfJyXRJdzF3cyNrYOnm6WBkYGBgA9lUMvUs3ygAAAAAASUVORK5CYII="}},11977:function(n,e,t){t.d(e,{r:function(){return w}});var o=t(7320),r=t(53297),l=t(31545),i=t(22912),a=t(34224),d=t(89101),c=t.n(d),s=t(6330),u=t(25545),m=t(94184),v=t.n(m),p=t(63725),h=t(46014),g=t(49321),f=t(11163),_=t(98661),b=t(43695),y=t(36170),N=(t(93495),{src:"/_next/static/media/tags-filled.d1453607.svg",height:13,width:12});function Z(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=new Array(e);t<e;t++)o[t]=n[t];return o}function x(n){return function(n){if(Array.isArray(n))return Z(n)}(n)||function(n){if("undefined"!==typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(!n)return;if("string"===typeof n)return Z(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);"Object"===t&&n.constructor&&(t=n.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Z(n,e)}(n)||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.")}()}var A="scuf",k=function(n){return n?null===n||void 0===n?void 0:n.replace("/c_scale%2C","/c_fill%2C"):""},w=function(n){var e=n.orderData,t=y.Z,d=(0,g.$G)(["account","common"]).t,m=(0,f.useRouter)().locale,Z=(0,l.d7)().base,w=Z.dateFormatByRegion,B=Z.deliveryDateRange,S="k70_",X=(0,_.useRef)(null),E=(0,_.useState)({}),T=(E[0],E[1]),O=function(n){if(!(null===n||void 0===n?void 0:n.backorder)||!(null===n||void 0===n?void 0:n.backorder_delivery_date))return"";var e=(0,h.hY)(w,null===n||void 0===n?void 0:n.backorder,"",null===n||void 0===n?void 0:n.backorder_delivery_date),t=(e.backorder_date_range,e.translation_entry);return"".concat(d("account||orders|".concat(t))," ").concat("")};if(!X.current){var R;X.current=A;var C=null===e||void 0===e||null===(R=e.items)||void 0===R?void 0:R.map((function(n){return null===n||void 0===n?void 0:n.promo_campaign_name})).filter((function(n){return!!n}));(null===C||void 0===C?void 0:C.length)&&(0,s.P)({identifier:x(C),contentType:"3rdPartyPromoConfiguration",options:{queryField:"campaignName",level:2}},{revalidateOnFocus:!1,revalidateOnMount:!0,onSuccess:function(n){if(n){var e,t,o={};null===n||void 0===n||null===(e=n.data)||void 0===e||null===(t=e.contentJson)||void 0===t||t.forEach((function(n){var e=JSON.parse(n.entries);o[null===e||void 0===e?void 0:e.campaignName]=null===e||void 0===e?void 0:e.message})),T(o)}}})}var D,I=function(n,e,t,o){var r,l;if((null===(r=null===n||void 0===n?void 0:n.toLocaleLowerCase())||void 0===r?void 0:r.startsWith(S))||(null===(l=null===n||void 0===n?void 0:n.toLocaleLowerCase())||void 0===l?void 0:l.startsWith("p6_")))return null;var i=function(n,e,t){var o,r,l,i=null===e||void 0===e||null===(o=e[n])||void 0===o?void 0:o.deliverBy,a=(null===e||void 0===e||null===(r=e[n])||void 0===r||null===(l=r.excludedDeliveryDate)||void 0===l?void 0:l.split("-"))||[];return(0,p.V_)({dateFormatByRegion:w,deliverBy:i,excludedDeliveryDate:a,orderCreatedDate:t})}(n,e,o);return i?"".concat(d("common||Deliver by")," ").concat(i||""):null},P=function(n){var t;return null!==(D=null===(t=e.shipments)||void 0===t?void 0:t.filter((function(e){var t;return n&&(null===e||void 0===e?void 0:e.tracking)&&(null===e||void 0===e||null===(t=e.items)||void 0===t?void 0:t.some((function(e){return(null===e||void 0===e?void 0:e.product_sku)===n})))}
1)))&&void 0!==D?D:[]},q=function(n){var e,t=null===(e=n.shipping_address)||void 0===e?void 0:e.country_code;t&&"AD,AL,AT,AX,BA,BE,BG,BQ,BY,CH,CW,CY,CZ,DE,DK,EE,ES,EU,FI,FO,FR,GB,GG,GI,GR,HR,HU,IE,IM,IS,IT,JE,LI,LT,LU,LV,MC,MD,ME,MK,MT,NL,NO,PL,PT,RO,RS,RU,SE,SI,SJ,SK,SM,SX,UA,VA,XK".includes(t)&&(t="EU");B&&B[t]},L=(0,_.useMemo)((function(){var n;return null===(n=e.items)||void 0===n?void 0:n.map((function(n,l){var s,p,h,g,f,_,y,Z,A,w,B,X,E="SHIPPED"==(null===n||void 0===n?void 0:n.status),T=!!(null===n||void 0===n||null===(s=n.bundle_components)||void 0===s?void 0:s.length),R=O(n),C=I(n.product_sku,e.deliverByMapping,null===n||void 0===n||n.bundle_components,e.order_date),D=q(e),L=T?". ".concat(d("account||orders|Bundle ship together")):"",F=(0,u.D)(null===n||void 0===n?void 0:n.promo_campaign_message);return[(0,o.BX)("tr",{style:{height:(null===n||void 0===n||null===(p=n.bundle_components)||void 0===p?void 0:p.length)?"".concat(50*(null===n||void 0===n||null===(h=n.bundle_components)||void 0===h?void 0:h.length)+130,"px"):"auto",verticalAlign:(null===n||void 0===n||null===(g=n.bundle_components)||void 0===g?void 0:g.length)?"top":"middle"},"data-backorder":R||null,className:v()(["CANCELED"!==(null===n||void 0===n||null===(f=n.status)||void 0===f?void 0:f.toUpperCase())&&c()["row-with-border"],!R&&!C&&!D&&c()["border-btm-no-backorder"],T&&c()["row-has-bundles"],"relative"]),children:[(0,o.BX)("td",{className:"col ","data-th":d("account||orders|Item"),children:[(0,o.tZ)("div",{style:{margin:"0px 3px 3px 3px"},children:T?(0,o.tZ)(i.ZP,{src:function(n){var e,t,o;if(null===n||void 0===n||null===(e=n.product_sku)||void 0===e?void 0:e.startsWith("p6_"))switch(null===n||void 0===n?void 0:n.product_name.toUpperCase()){case"PLATFORM 6":return"https://assets.corsair.com/image/upload/v1693246263/products/Gaming-Desks/Fixed/PLATFORM_6_RENDERS_07.png";case"PLATFORM 6 CREATOR EDITION":return"https://assets.corsair.com/image/upload/v1693246265/products/Gaming-Desks/Elevate/Elevate%20-%20Wood/PLATFORM_6_ELEVATE_WOOD_RENDERS_24.png";case"PLATFORM 6 ELAVATE":return"https://assets.corsair.com/image/upload/v1693246258/products/Gaming-Desks/Elevate/Elevate%20-%20Black/PLATFORM_6_ELEVATE_RENDERS_06.png";default:return null}else if(null===n||void 0===n||null===(t=n.product_sku)||void 0===t?void 0:t.startsWith(S))return"https://res.cloudinary.com/corsair-pwa/image/upload/v1658997657/products/Gaming-Keyboards/CH-9189010-NA/Gallery/K70_PRO_MINI_WIRELESS_PBT_24.png";return null===n||void 0===n||null===(o=n.image)||void 0===o?void 0:o.src}(n)||t,alt:(null===n||void 0===n?void 0:n.product_name)?null===n||void 0===n?void 0:n.product_name:"placeholder",objectFit:"contain",width:96,height:96,className:c()["product-img"]}):(0,o.tZ)(i.ZP,{src:(null===n||void 0===n||null===(_=n.image)||void 0===_?void 0:_.src)||t,alt:(null===n||void 0===n?void 0:n.product_name)?null===n||void 0===n?void 0:n.product_name:"placeholder",objectFit:"contain",width:96,height:96,className:c()["product-img"]})}),(0,o.tZ)("div",{className:v()(c()["orderitem-bunde-list"],"md:absolute left-16 bottom-6 relative"),children:null===n||void 0===n||null===(y=n.bundle_components)||void 0===y?void 0:y.map((function(n){return(0,o.BX)("div",{className:"flex items-center align-middle",style:{marginTop:"3px"},children:[(0,o.tZ)(i.ZP,{src:(null===n||void 0===n?void 0:n.image_url)?k(null===n||void 0===n?void 0:n.image_url):t,alt:(null===n||void 0===n?void 0:n.name)?null===n||void 0===n?void 0:n.name:"placeholder",objectFit:"contain",width:50,height:50,className:c()["product-img"]}),(0,o.tZ)("span",{className:"block ml-4 text-xs md-max:overflow-hidden md-max:whitespace-normal overflow-hidden",style:{maxWidth:"200px",maxHeight:"34px"},children:n.name}),(null===n||void 0===n?void 0:n.qty)&&Number(null===n||void 0===n?void 0:n.qty)>1&&(0,o.BX)("span",{className:"ml-4",style:{flexShrink:0,flexGrow:0},children:[" ","x",null===n||void 0===n?void 0:n.qty]})]},n.sku)}))})]}),(0,o.BX)("td",{className:"col name","data-th":d("account||orders|Item"),children:[(0,o.tZ)("strong",{className:"product-item-name md:text-base",children:null===n||void 0===n?void 0:n.product_name}),(0,o.tZ)("br",{}),(0,o.tZ)("span",{className:"font-thin text-xs whitespace-pre",children:null===n||void 0===n?void 0:n.product_sku}),null===n||void 0===n||null===(Z=n.selected_options)||void 0===Z?void 0:Z.map((function(n,e){return(0,o.BX)("dl",{className:c()["item-options"],children:[(0,o.tZ)("dt",{children:(0,o.tZ)("b",{children:null===n||void 0===n?void 0:n.label})}),(0,o.tZ)("dd",{children:null===n||void 0===n?void 0:n.value})]},"".concat(null===n||void 0===n?void 0:n.label,"-").concat(e))})),!(null===n||void 0===n?void 0:n.exclude_promo)&&(null===n||void 0===n?void 0:n.promo_campaign_mh)&&(0,o.BX)("div",{className:c()["msg-promo-campaign"],children:[(0,o.tZ)("div",{children:(0,o.tZ)(i.ZP,{className:c()["plus-icon"],src:N,width:18,height:18,objectFit:"contain"})}),(0,o.tZ)("span",{className:c()["msg-promo-campaign__txt"],children:d("common||Comes with two free months of mmhmm")})]}),!(null===n||void 0===n?void 0:n.exclude_promo)&&!!(null===n||void 0===n?void 0:n.promo_campaign_name)&&(0,o.BX)("div",{className:c()["msg-promo-campaign"],children:[(0,o.tZ)("div",{children:(0,o.tZ)(i.ZP,{className:c()["plus-icon"],src:N,width:18,height:18,objectFit:"contain"})}),(0,o.tZ)("span",{className:c()["msg-promo-campaign__txt"],children:F||d("common||Configurable 3rd party promo code")})]})]}),(0,o.tZ)("td",{className:"col","data-th":d("account||orders|Price"),children:(0,o.tZ)("span",{className:"cart-price",children:(0,o.tZ)("span",{className:"font-thin",children:n&&(0,a.T)((0,b._)(n,e.items),m).replaceAll("\u2019",",")})})}),(0,o.tZ)("td",{className:"col qty","data-th":d("account||orders|Qty"),children:(0,o.tZ)("ul",{className:"items-qty",children:0!==(null===n||void 0===n?void 0:n.quantity_ordered)&&(0,o.tZ)("li",{children:(0,o.tZ)("span",{className:"font-thin",children:null===n||void 0===n?void 0:n.quantity_ordered})})})}),(0,o.tZ)("td",{className:"col subtotal","data-th":d("account||orders|Item Total"),children:(0,o.tZ)("span",{className:"price-excluding-tax",children:(0,o.tZ)("span",{children:(0,o.tZ)("span",{className:"text-lg font-semibold",children:(0,a.T)((0,b.f)(n,e.items),m).replaceAll("\u2019",",")})})})}),(0,o.tZ)("td",{className:"col qty","data-th":d("account||orders|Item Status"),children:(0,o.tZ)("ul",{className:"items-qty",children:(0,o.tZ)("li",{children:(0,o.tZ)("span",{className:"font-thin",children:d("account||orders|".concat(null===n||void 0===n?void 0:n.status))})})})}),(0,o.BX)("td",{className:v()("col qty",T&&c()["bundle-tracking-info"]),"data-th":d("account||orders|Tracking Info"),style:{height:(null===n||void 0===n||null===(A=n.bundle_components)||void 0===A?void 0:A.length)?"".concat(50*(null===n||void 0===n||null===(w=n.bundle_components)||void 0===w?void 0:w.length)+130,"px"):"auto"},children:[(0,o.tZ)("ul",{className:c()["tracking-info"],style:{whiteSpace:"normal",wordBreak:"break-word"},children:P(null===n||void 0===n?void 0:n.product_sku).map((function(n){var e;return(null===n||void 0===n?void 0:n.tracking)&&(0,o.tZ)("li",{children:(0,o.tZ)("a",{target:"_blank",rel:"noreferrer",href:n.tracking[0].title,className:"font-thin uppercase cursor-pointer text-blue",children:null===(e=null===n||void 0===n?void 0:n.tracking[0])||void 0===e?void 0:e.number})})}))}),T&&(0,o.tZ)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-around",height:(null===n||void 0===n||null===(B=n.bundle_components)||void 0===B?void 0:B.length)?"".concat(50*n.bundle_components.length,"px"):"auto"},children:(null===n||void 0===n?void 0:n.bundle_components)&&(null===n||void 0===n?void 0:n.bundle_components.map((function(n,e){return(0,o.tZ)("a",{href:null===n||void 0===n?void 0:n.tracking_url,target:"_blank",rel:"noreferrer",className:"font-thin uppercase ".concat((null===n||void 0===n?void 0:n.tracking_url)&&"cursor-pointer text-blue text-ellipsis"),children:null===n||void 0===n?void 0:n.tracking_number},e)})))})]}),(0,o.tZ)("td",{className:"col qty","data-th":d("account||orders|Invoice Number"),children:(0,o.tZ)("ul",{className:"items-qty",children:null===(X=e.invoices)||void 0===X?void 0:X.map((function(n,e){return(0,o.tZ)("li",{children:(0,o.tZ)("span",{className:"font-thin",children:null===n||void 0===n?void 0:n.number},e)})}
1))})}),!1]},l)].concat(x([!E&&R&&(0,o.BX)("tr",{className:v()(c()["row-with-border-btm"]),children:[(0,o.tZ)("td",{className:"col hidden",colSpan:1}),(0,o.tZ)("td",{className:"col",colSpan:7,children:(0,o.BX)("div",{className:"w-full flex items-center",children:[(0,o.tZ)("span",{className:"mr-1.5",children:(0,o.tZ)(r.XT,{})}),(0,o.tZ)("span",{className:"font-semibold text-sm font-sairaCopy text-teal",children:"".concat(R).concat(L)})]})})]})]),x([!E&&!R&&C&&(0,o.BX)("tr",{className:v()(c()["row-with-border-btm"]),children:[(0,o.tZ)("td",{className:"col hidden",colSpan:1}),(0,o.tZ)("td",{className:"col",colSpan:7,children:(0,o.tZ)("div",{className:"w-full flex items-center",children:(0,o.tZ)("span",{className:"font-semibold text-sm font-sairaCopy text-teal",children:"".concat(C)})})})]})]),x([!E&&!1]),[[(0,o.tZ)("div",{className:"w-full h-0.5 border-0"},l)]])}))}),[e.items]),F=(0,_.useMemo)((function(){var n;return null===(n=e.items)||void 0===n?void 0:n.map((function(n,l){var s,p,h,g,f,_,y="SHIPPED"==(null===n||void 0===n?void 0:n.status),Z=null!==(_=null===n||void 0===n||null===(s=n.bundle_components)||void 0===s?void 0:s.length)&&void 0!==_?_:0,x=O(n),A=Z?". ".concat(d("account||orders|Bundle ship together")):"",w=(q(e),I(n.product_sku,e.deliverByMapping,null===n||void 0===n||n.bundle_components,e.order_date)),B=(0,u.D)(null===n||void 0===n?void 0:n.promo_campaign_message);return[(0,o.BX)("div",{className:"order-details-product relative",style:{paddingBottom:(null===n||void 0===n||null===(p=n.bundle_components)||void 0===p?void 0:p.length)?"".concat(50*n.bundle_components.length+30,"px"):"auto"},children:[(0,o.tZ)("div",{className:"order-profuct-image",children:(0,o.tZ)(i.ZP,{src:(null===n||void 0===n||null===(h=n.image)||void 0===h?void 0:h.src)||t,alt:(null===n||void 0===n?void 0:n.product_name)?null===n||void 0===n?void 0:n.product_name:"placeholder",objectFit:"contain",width:96,height:96,className:c()["product-img"]})}),(0,o.BX)("div",{className:"order-product-info flex-grow",children:[(0,o.BX)("div",{className:"product-item",children:[(0,o.tZ)("strong",{className:"product-item-name md:text-base",children:null===n||void 0===n?void 0:n.product_name}),(0,o.tZ)("br",{}),(0,o.tZ)("span",{className:"font-thin text-xs whitespace-pre",children:null===n||void 0===n?void 0:n.product_sku}),null===n||void 0===n||null===(g=n.selected_options)||void 0===g?void 0:g.map((function(n,e){return(0,o.BX)("dl",{className:c()["item-options"],children:[(0,o.tZ)("dt",{children:(0,o.tZ)("b",{children:null===n||void 0===n?void 0:n.label})}),(0,o.tZ)("dd",{children:null===n||void 0===n?void 0:n.value})]},"".concat(null===n||void 0===n?void 0:n.label,"-").concat(e))})),!(null===n||void 0===n?void 0:n.exclude_promo)&&(null===n||void 0===n?void 0:n.promo_campaign_mh)&&(0,o.BX)("div",{className:c()["msg-promo-campaign"],children:[(0,o.tZ)("div",{children:(0,o.tZ)(i.ZP,{className:c()["plus-icon"],src:N,width:18,height:18,objectFit:"contain"})}),(0,o.tZ)("span",{className:c()["msg-promo-campaign__txt"],children:d("common||Comes with two free months of mmhmm")})]}),!(null===n||void 0===n?void 0:n.exclude_promo)&&!!(null===n||void 0===n?void 0:n.promo_campaign_name)&&(0,o.BX)("div",{className:c()["msg-promo-campaign"],children:[(0,o.tZ)("div",{children:(0,o.tZ)(i.ZP,{className:c()["plus-icon"],src:N,width:18,height:18,objectFit:"contain"})}),(0,o.tZ)("span",{className:c()["msg-promo-campaign__txt"],children:B||d("common||Configurable 3rd party promo code")})]})]}),(0,o.BX)("div",{className:"product-item-info",children:[(0,o.BX)("p",{className:"price",children:[d("Item price: "),n&&(0,a.T)((0,b._)(n,e.items),m).replaceAll("\u2019",",")]}),(0,o.tZ)("p",{className:"status",children:d("account||orders|".concat(null===n||void 0===n?void 0:n.status))}),(0,o.tZ)("p",{className:"tracking-info",children:P(null===n||void 0===n?void 0:n.product_sku).map((function(n){var e;return(null===n||void 0===n?void 0:n.tracking)&&(0,o.tZ)("a",{target:"_blank",rel:"noreferrer",href:n.tracking[0].title,className:"font-thin uppercase cursor-pointer text-blue",children:null===(e=null===n||void 0===n?void 0:n.tracking[0])||void 0===e?void 0:e.number})}))})]}),(0,o.BX)("div",{className:"product-item-info pb-4",children:[(0,o.BX)("strong",{className:"quantity",children:[d("QTY: "),0!==(null===n||void 0===n?void 0:n.quantity_ordered)&&(0,o.tZ)("span",{className:"font-thin",children:null===n||void 0===n?void 0:n.quantity_ordered})]}),(0,o.tZ)("strong",{className:"total",children:(0,a.T)((0,b.f)(n,e.items),m).replaceAll("\u2019",",")})]}),!y&&(null===n||void 0===n?void 0:n.backorder)&&(0,o.BX)("div",{className:"w-full flex items-start mt-4",children:[(0,o.tZ)("span",{className:"mt-1 mr-1.5",children:(0,o.tZ)(r.XT,{})}),(0,o.tZ)("span",{className:"font-semibold text-sm font-sairaCopy text-teal",children:"".concat(x).concat(A)})]}),!y&&!1,!y&&!x&&w&&(0,o.tZ)("div",{className:"w-full flex items-start mt-4",children:(0,o.tZ)("span",{className:"font-semibold text-sm font-sairaCopy text-teal",children:w})})]}),(0,o.tZ)("div",{className:v()(c()["orderitem-bunde-list"],"absolute left-16 bottom-6"),children:null===n||void 0===n||null===(f=n.bundle_components)||void 0===f?void 0:f.map((function(n){return(0,o.BX)("div",{className:"flex items-center align-middle",children:[(0,o.tZ)(i.ZP,{src:(null===n||void 0===n?void 0:n.image_url)?k(null===n||void 0===n?void 0:n.image_url):t,alt:(null===n||void 0===n?void 0:n.name)?null===n||void 0===n?void 0:n.name:"placeholder",objectFit:"contain",width:50,height:50,className:c()["product-img"]}),(0,o.tZ)("span",{className:"block ml-4 text-xs md-max:overflow-hidden md-max:whitespace-normal overflow-hidden",style:{maxWidth:"200px",maxHeight:"34px"},children:n.name}),(null===n||void 0===n?void 0:n.qty)&&Number(null===n||void 0===n?void 0:n.qty)>1&&(0,o.BX)("span",{className:"ml-4",style:{flexShrink:0,flexGrow:0},children:[" ","x",null===n||void 0===n?void 0:n.qty]})]},n.sku)}))})]},l)]}))}),[e.items]);return(0,o.BX)("div",{className:v()(c()["orderd-items-container"]),children:[(0,o.tZ)("div",{className:c()["order-list-table"],children:(0,o.BX)("table",{className:v()(c()["order-items-body-table"]),children:[(0,o.tZ)("thead",{children:(0,o.BX)("tr",{className:"bg-accents-8",children:[(0,o.tZ)("th",{className:v()(c()["order-list-table-header"])}),(0,o.tZ)("th",{className:v()(c()["order-list-table-header"]),children:d("account||orders|Item")}),(0,o.tZ)("th",{className:v()(c()["order-list-table-header"]),children:d("account||orders|Price")}),(0,o.tZ)("th",{className:v()(c()["order-list-table-header"]),children:d("account||orders|Qty")}),(0,o.tZ)("th",{className:v()(c()["order-list-table-header"]),children:d("account||orders|Item Total")}),(0,o.tZ)("th",{className:v()(c()["order-list-table-header"]),children:d("account||orders|Item Status")}),(0,o.tZ)("th",{className:v()(c()["order-list-table-header"]),style:{width:"fit-content"},children:d("account||orders|Tracking Info")}),(0,o.tZ)("th",{className:v()(c()["order-list-table-header"]),children:d("account||orders|Invoice Number")}),!1]})}),(0,o.tZ)("tbody",{className:"border",children:e.items&&L})]})}),(0,o.tZ)("div",{className:"order-list-card-mobile",children:e.items&&F})]})}},6068:function(n,e,t){t.d(e,{w:function(){return l}});var o=t(7320),r=(t(98661),t(42029)),l=function(n){var e,t=n.address,l=(0,r.FE)({revalidateOnFocus:!1}).countryNameLocale;return t&&(0,o.BX)("div",{className:"font-light",children:[(0,o.tZ)("p",{children:t.firstname}),t.company&&(0,o.tZ)("p",{children:t.company}),(0,o.BX)("p",{children:[(e=t.street,e.filter((function(n){return""!==n})).join(", ")),", ","".concat(t.city),t.region&&", ".concat(t.region)]}),(0,o.tZ)("p",{children:t.postcode}),(0,o.tZ)("p",{children:l.get(t.country_code)}),(0,o.tZ)("a",{href:"tel:".concat(t.telephone),children:"T: ".concat(t.telephone)})]})}},20970:function(n,e,t){t.d(e,{p:function(){return m}});var o=t(7320),r=(t(98661),t(49321)),l=t(6068),i=t(94184),a=t.n(i),d=t(89101),c=t.n(d),s=function(){return(0,o.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:(0,o.tZ)("path",{d:"M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"})})},u=function(n){var e=n.orderVoucher,t=(0,r.$G)(["account"]).t;if(!e)return null;var l=e.split(",").map((function(n){var e=n.replace(/\s/g,"").split(":");return{key:null===e||void 0===e?void 0:e[0],value:null===e||void 0===e?void 0:e[1]}}));return(0,o.BX)("div",{className:"box-info",children:[(0,o.tZ)("h2",{className:a()(c()["address-label"]),children:t("account||orders|VOUCHER")}),l.map((function(n){return(0,o.BX)("div",{className:"font-light mb-3",children:[(0,o.BX)("p",{children:[n.key,":"]}),(0,o.BX)("div",{className:"flex items-baseline",children:[(0,o.tZ)("p",{children:n.value}),(0,o.tZ)("button",{title:t("account||orders|CopyToClipBoard"),className:"ml-1 h-3 w-3 opacity-60 hover:opacity-100 cursor-pointer",onClick:function(e){return function(n,e){n.preventDefault(),navigator.clipboard.writeText(e)}(e,n.value)},children:(0,o.tZ)(s,{})})]})]},n.key)}))]})},m=function(n){var e,t,i=n.orderData,d=n.project,s=(0,r.$G)(["account"]).t;return(0,o.BX)("div",{className:"order-block",children:[(0,o.tZ)("div",{className:a()(c()["billing-info-header"]),children:s("account||orders|BILLING INFORMATION")}),(0,o.BX)("div",{className:a()(c()["order-block-grid"]),children:[(0,o.BX)("div",{className:"box-info",children:[(0,o.tZ)("h2",{className:a()(c()["address-label"]),children:s("account||orders|Billing Address")}),(0,o.tZ)(l.w,{address:i.billing_address})]}),(0,o.BX)("div",{className:"box-info",children:[(0,o.tZ)("h2",{className:a()(c()["address-label"]),children:s("Payment Type")}),(0,o.tZ)("div",{className:"font-extralight",children:null===i||void 0===i||null===(e=i.payment_methods)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.name})]}),(0,o.BX)("div",{className:"box-info",children:[(0,o.tZ)("h2",{className:a()(c()["address-label"]),children:s("account||orders|Ship To")}),(0,o.tZ)(l.w,{address:i.shipping_address?i.shipping_address:null})]}),"FANATEC"===d&&(0,o.tZ)(u,{orderVoucher:i.game_key_voucher})]})]})}},34406:function(n,e,t){t.d(e,{R:function(){return y}});var o,r=t(7320),l=(t(98661),t(49321)),i=t(29811),a=t(14313),d=t(81577),c=t(20970),s=t(11977),u=t(94184),m=t.n(u),v=t(89101),p=t.n(v),h=t(85940),g=t(41664),f=t(11163),_=t(73475),b=t(43053);!function(n){n.Pending="Pending",n.Closed="Closed",n.Complete="Complete"}(o||(o={}));var y=function(n){var e,t=n.view,o=(n.isReturn,n.OrderReturns,n.project),u=void 0===o?"CORSAIR":o,v=(0,l.$G)(["account"]).t,y=(0,i.l8)().LoadingIndicator,N=(0,d.f)({orderNumber:t}),Z=N.loading,x=N.error,A=(N.customer,N.orders);if(x||!t)return(0,r.tZ)(a.m,{});if(Z)return(0,r.tZ)("div",{className:"mx-auto max-w-xs",children:(0,r.tZ)(y,{})});var k=t.replace(/\D/g,""),w=null===(e=null===A||void 0===A?void 0:A.invoices[0])||void 0===e?void 0:e.id.split("/"),B=null===w||void 0===w?void 0:w[(null===w||void 0===w?void 0:w.length)-1],S=(0,b.s)({dev:_.l[u].dev,staging:_.l[u].staging,production:_.l[u].production});return A?(0,r.BX)("div",{className:p()["order-details-contianer"],children:[(0,r.BX)("div",{className:p()["order-number-title"],children:[(0,r.tZ)(g.default,{href:"/account/orders",children:(0,r.tZ)("span",{style:{width:9,height:9,borderTop:"3px solid black",borderLeft:"3px solid black",transform:"rotate(-45deg)",cursor:"pointer"}})}),(0,r.tZ)("div",{className:p().divider}),(0,r.tZ)("p",{className:"font-light tracking-widest text-3xl ml-2",style:{marginBottom:-5},children:v("account||orders|ORDER DETAILS")})]}),(0,r.BX)("div",{className:p()["order-number"],children:[v("account||orders|Order Number:")," ",A.number,(0,r.tZ)("button",{className:p()["order-invoice"],onClick:function(){return f.default.push("https://".concat(S,"/apps/sufio/invoice/download/?id=").concat(B,"&number=").concat(k))},children:v("Download PDF invoice")})]}),(0,r.tZ)(c.p,{orderData:A,project:u}),(0,r.tZ)(s.r,{orderData:A}),(0,r.tZ)("div",{className:m()(p()["orderd-items-container"]),children:(0,r.tZ)("div",{className:p()["order-list-table"],children:(0,r.tZ)(h.m,{orderTotal:A.total})})})]}):(0,r.tZ)("div",{children:v("account||orders|Something went wrong. Please try again later.")})}},85940:function(n,e,t){t.d(e,{m:function(){return m}});var o=t(7320),r=t(98661),l=t(49321),i=t(34224),a=t(11163),d=t(94184),c=t.n(d),s=t(89101),u=t.n(s),m=function(n){var e,t,d,s,m,v=n.orderTotal,p=(0,l.$G)(["account"]).t,h=(0,a.useRouter)().locale,g=(0,r.useMemo)((function(){var n;return null===(n=v.discounts)||void 0===n?void 0:n.reduce((function(n,e){return n+e.amount.value}),0)}),[null===v||void 0===v||null===(e=v.discounts)||void 0===e?void 0:e.length]),f=(null===v||void 0===v||null===(t=v.discounts)||void 0===t?void 0:t.length)>0?{value:v.subtotal.value-g,currency:v.subtotal.currency}:null===v||void 0===v?void 0:v.subtotal,_=!!(null===v||void 0===v||null===(d=v.grand_total)||void 0===d?void 0:d.value)&&!!v.subtotal.value;return(0,o.BX)("table",{className:c()(u()["price-totals"]),children:[(null===v||void 0===v||null===(s=v.discounts)||void 0===s?void 0:s.length)>0?(0,o.BX)("tr",{className:"discount",children:[(0,o.tZ)("th",{colSpan:4,className:"w-1/2 text-xl font-light align-top text-green",children:p("account||orders|Discount ")}),(0,o.tZ)("td",{className:"".concat(c()(u()["order-total-amount"])," flex flex-col items-end"),"data-th":p("account||orders|Discount "),children:null===v||void 0===v?void 0:v.discounts.map((function(n,e){var t;return 0!==(null===n||void 0===n||null===(t=n.amount)||void 0===t?void 0:t.value)?(0,o.BX)("div",{className:"flex",children:[(0,o.tZ)("span",{className:"code price text-green",children:null===n||void 0===n?void 0:n.label}),(0,o.BX)("span",{className:"price text-green",children:[" | ","-",(0,i.T)(null===n||void 0===n?void 0:n.amount,h)]})]},e):(0,o.BX)("span",{className:"price text-green",children:["-",(0,i.T)(null===n||void 0===n?void 0:n.amount,h)]},e)}))})]}):null,(0,o.BX)("tr",{className:"subtotal",children:[(0,o.tZ)("th",{colSpan:4,className:c()(u()["order-total-label"]),children:p("account||orders|Subtotal")}),(0,o.tZ)("td",{className:c()(u()["order-total-amount"]),"data-th":p("account||orders|Subtotal"),children:(0,o.tZ)("span",{className:"mt-15",children:(0,i.T)(f,h)})})]}),0!==(null===(m=v.total_tax)||void 0===m?void 0:m.value)&&(0,o.BX)("tr",{className:"tax-amount",children:[(0,o.tZ)("th",{colSpan:4,className:c()(u()["order-total-label"]),children:p("account||orders|Tax")}),(0,o.tZ)("td",{className:c()(u()["order-total-amount"]),"data-th":p("account||orders|Tax"),children:(0,o.tZ)("span",{className:"price",children:(0,i.T)(v.total_tax,h)})})]}),_&&(0,o.tZ)("tr",{className:"shipping",children:v.total_shipping&&(0,o.BX)(o.HY,{children:[(0,o.tZ)("th",{colSpan:4,className:c()(u()["order-total-label"]),children:p("account||orders|Shipping")}),(0,o.tZ)("td",{className:c()(u()["order-total-amount"]),"data-th":p("account||orders|Shipping"),children:(0,o.tZ)("span",{className:"price",children:(0,i.T)(v.total_shipping,h)})})]})}),(0,o.BX)("tr",{className:"grand_total",children:[(0,o.tZ)("th",{colSpan:4,className:"mt-2 text-2xl font-semibold tracking-widest uppercase",children:(0,o.tZ)("strong",{children:p("account||orders|Grand Total")})}),(0,o.tZ)("td",{className:c()(u()["order-total-amount"]),"data-th":p("account||orders|Grand Total"),children:(0,o.tZ)("strong",{children:(0,o.tZ)("span",{className:"text-xl font-semibold price",children:(0,i.T)(v.grand_total,h)})})})]})]})}},73475:function(n,e,t){t.d(e,{l:function(){return o},E:function(){return r}});var o={CORSAIR:{dev:"corsair-us-dev.myshopify.com",staging:"corsair-stage.myshopify.com",production:"corsair-us.myshopify.com"},ELGATO:{dev:"elgato-dev.myshopify.com",staging:"elgato-stage.myshopify.com",production:"elgato-us.myshopify.com"},SCUF:{dev:"scuf-dev.myshopify.com",staging:"scuf-stage.myshopify.com",production:"scuf-us.myshopify.com"},FANATEC:{dev:"fanatec-dev.myshopify.com",staging:"fanatec-stage.myshopify.com",production:"fanatec-us.myshopify.com"}},r={CORSAIR:{dev:"https://returns-dev.corsair.com",staging:"https://returns-stage.corsair.com",production:"http
1s://returns.corsair.com"},ELGATO:{dev:"https://returns-dev.elgato.com",staging:"https://returns-stage.elgato.com",production:"https://returns.elgato.com"},SCUF:{dev:"https://returns-dev.scuf.com",staging:"https://returns-stage.scuf.com",production:"https://returns.scuf.com"},FANATEC:{dev:"https://returns-dev.fanatec.com",staging:"https://returns-stage.fanatec.com",production:"https://returns.fanatec.com"}}},76074:function(n,e,t){t.d(e,{I:function(){return o}});var o=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"corsair";return"\n    query customer($orderNumber: String) {\n        customer {\n            firstname\n            lastname\n            email\n            orders(filter: { number: { eq: $orderNumber } }) {\n                items {\n                    number\n                    id\n                    order_date\n                    game_key_voucher\n                    total {\n                        subtotal {\n                            value\n                            currency\n                        }
1\n                        discounts {\n                            amount {\n                                value\n                                currency\n                            }\n                            label\n                        }\n                        base_grand_total {\n                            value\n                            currency\n                        }\n                        taxes {\n                            amount {\n                                value\n                                currency\n                            }\n                            rate\n                        }\n                        total_tax {\n                            value\n                            currency\n                        }\n                        shipping_handling {\n                            total_amount {\n                                value\n                                currency\n                            }\n                        }\n                        total_shipping {\n                            value\n                            currency\n                        }\n                        grand_total {\n                            value\n                            currency\n                        }\n                    }\n                    items {\n                        bundle_components {\n                            id\n                            sku\n                            name\n                            image_url\n                            tracking_number\n                            tracking_url\n                            price_msrp\n                            qty\n                        }\n                        product_sku\n                        product_name\n                        product_type\n                        product_url_key\n                        id\n                        product_sale_price {\n                            value\n                            currency\n                        }
1\n                        discounts {\n                            label\n                            amount {\n                                value\n                                currency\n                            }\n                        }\n                        selected_options {\n                            label\n                            value\n                        }\n                        quantity_ordered\n                        quantity_shipped\n                        quantity_canceled\n                        quantity_invoiced\n                        quantity_refunded\n                        quantity_returned\n                        status\n                        eligible_for_return\n                        image {\n                            label\n                            src\n                        }\n                        backorder {\n                            type\n                            available\n                            expected_delivery_date\n                            date\n                        }\n                        entered_options {\n                            label\n                            value\n                        }\n                        __typename\n                        gift_wrapping {\n                            uid\n                            price {\n                                value\n                                currency\n                            }\n                            image {\n                                label\n                                url\n                            }\n                            design\n                        }\n                        exclude_promo\n                        promo_campaign_name\n                        promo_campaign_message\n                        ".concat("elgato"==n?"promo_campaign_mh":"","\n                        buy_x_get_x\n                        backorder_delivery_date\n                        ").concat("fanatec"==n?"product_serial_number":"","\n                    }\n                    deliver{\n                        key\n                        value\n                    }\n                    status\n                    billing_address {\n                        firstname\n                        lastname\n                        street\n                        city\n                        region\n                        country_code\n                        postcode\n                        telephone\n                        company\n                    }\n                    payment_methods {\n                        type\n                        name\n                        additional_data {\n                            name\n                            value\n                        }\n                    }\n                    shipping_method\n                    shipping_address {\n                        firstname\n                        lastname\n                        street\n                        city\n                        country_code\n                        postcode\n                        region\n                        telephone\n                        company\n                    }\n                    invoices {\n                        id\n                        number\n                        total {\n                            subtotal {\n                                value\n                                currency\n                            }
1\n                            discounts {\n                                amount {\n                                    value\n                                    currency\n                                }\n                                label\n                            }\n                            base_grand_total {\n                                value\n                                currency\n                            }\n                            taxes {\n                                amount {\n                                    value\n                                    currency\n                                }\n                                rate\n                            }\n                            total_tax {\n                                value\n                                currency\n                            }\n                            shipping_handling {\n                                total_amount {\n                                    value\n                                    currency\n                                }\n                            }\n                            total_shipping {\n                                value\n                                currency\n                            }\n                            grand_total {\n                                value\n                                currency\n                            }\n                        }\n                        items {\n                            product_sku\n                            product_name\n                            product_sale_price {\n                                currency\n                                value\n                            }\n                            __typename\n                            id\n                            discounts {\
1n                                label\n                                amount {\n                                    value\n                                    currency\n                                }\n                            }\n                            order_item {\n                                id\n                                product_sku\n                                product_name\n                                product_type\n                                selected_options {\n                                    label\n                                    value\n                                }\n                                quantity_invoiced\n                                product_sale_price {\n                                    value\n                                    currency\n                                }\n                                discounts {\n                                    label\n                                    amount {\n                                        value\n                                        currency\n                                    }\n                                }\n                            }\n                        }\n                    }\n                    shipments {\n                        id\n                        number\n                        comments {\n                            timestamp\n                            message\n                        }\n                        tracking {\n                            number\n                            carrier\n                            title\n                        }\n                        items {\n                            id\n                            quantity_shipped\n                            product_sku\n                            order_item {\n                                id\n                                quantity_shipped\n                                product_sku\n                                product_name\n                                product_type\n                                selected_options {\n                                    label\n                                    value\n                                }\n                            }\n                        }\n                    }\n                    returns {\n                        total_count\n                    }\n                }\n            }\n        }\n    }\n")}},81577:function(n,e,t){t.d(e,{f:function(){return a}});var o=t(55464),r=t(76074);function l(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function i(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},o=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(t).filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})))),o.forEach((function(e){l(n,e,t[e])}))}return n}var a=function(n,e,t){var l,a,d=(0,o.a)((0,r.I)("scuf"),n,e,t),c=d.data,s=d.error,u=d.isValidating,m=!c&&u,v=null===c||void 0===c||null===(l=c.data)||void 0===l?void 0:l.customer,p=null===v||void 0===v||null===(a=v.orders)||void 0===a?void 0:a.items[0],h=function(n){try{var e;return JSON.parse((null===n||void 0===n||null===(e=n[0])||void 0===e?void 0:e.value)||"[]").reduce((function(n,e){var t=e||{},o=t.deliver_by,r=t.excluded_delivery_dates;return t.key,n[t.sku]={deliverBy:o,excludedDeliveryDate:r},n}),{})}catch(s){return console.log(s),[]}}((null===p||void 0===p?void 0:p.deliver)||[]);return{loading:m,error:s,customer:v,orders:i({},p,{deliverByMapping:h})}}},43053:function(n,e,t){t.d(e,{s:function(){return o}});var o=function(n){return location.href.includes("dev")?n.dev:location.href.includes("stage")||location.href.includes("staging")?n.staging:n.production}},43695:function(n,e,t){function o(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}t.d(e,{_:function(){return r},f:function(){return l}});var r=function(n,e){var t,r,l;if(l=Number(n.totalqty)?n.totalqty:Number(null===n||void 0===n?void 0:n.qtyreturned)<=Number(null===n||void 0===n?void 0:n.totalqty)||1===Number(n.quantity_ordered)?null===e||void 0===e?void 0:e.filter((function(e){return(null===e||void 0===e?void 0:e.product_sku)===(null===n||void 0===n?void 0:n.product_sku)})).length:Number(n.quantity_ordered),null===(t=n.product_sale_price)||void 0===t?void 0:t.value){if(null===(r=n.discounts)||void 0===r?void 0:r.length){var i,a=function(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})))),r.forEach((function(e){o(n,e,t[e])}))}return n}({},n.product_sale_price,{value:null===n||void 0===n||null===(i=n.discounts)||void 0===i?void 0:i.reduce((function(n,e){return n-((null===e||void 0===e?void 0:e.amount.value)/l||0)}),n.product_sale_price.value)});return a&&(null===a||void 0===a?void 0:a.value)<0&&(a.value=0),console.log(n,e,l,a),a}return n.product_sale_price}return null},l=function(n,e){var t;return{value:(null===(t=r(n,e))||void 0===t?void 0:t.value)*Number(n.quantity_ordered),currency:null===n||void 0===n?void 0:n.product_sale_price.currency}}}}]);

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.