PageSourceSearch

https://www.elgato.com/_next/static/chunks/pages/account/address/new-5d27c7b8bc2131cf.js

js elgato.com collected 2026-10-01 08:42:46 UTC 1,967 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7541],{1716:function(e,n,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/address/new",function(){return s(42800)}])},42800:function(e,n,s){"use strict";s.r(n),s.d(n,{__N_SSG:function(){return h},default:function(){return C}});var t=s(85893),r=s(13923),a=s(67294),u=s(79841),d=s(26803),i=s(99711),o=s(89659),c=s(92677),l=s(11163);let _=()=>{let{locale:e}=(0,l.useRouter)(),[n,s]=(0,a.useState)(!1),{addresses:t}=(0,d.aF)({revalidateOnFocus:!1}),{mutate:r}=(0,d.mA)({revalidateOnFocus:!1}),{getCountryByCode:u}=(0,i.FE)({revalidateOnFocus:!1});return{isLoading:n,createCustomerAddress:async n=>{let a=u(null==n?void 0:n.country_code);s(!0);let d=await (0,o.J)({query:"\n    mutation createCustomerAddress($address: CustomerAddressInput!) {\n        createCustomerAddress(input: $address) {\n            id\n        }\n    }\n",variables:{address:(0,c.A)({...n,...!t.length&&{default_billing:!0,default_shipping:!0}},a)},locale:e});return await r(),s(!1),d}}};var f=s(4735),p=s(22918),m=s(26640),v=s(36971);let w=()=>{let{t:e}=(0,u.$G)(["account"]),{createCustomerAddress:n,isLoading:s}=_(),r=async e=>await n(e),{modalOpen:a,melissaSuccessResponse:d,formattedMelissaResponse:i,userSelectedAddressInput:o,isInvalidAddressLine2:c,onSubmit:l,handleSubmitClick:w,setModalOpen:A}=(0,v.bL)(r);return(0,t.jsxs)("div",{className:"addressBookContainer",children:[(0,t.jsx)(f.u,{title:e("account||account|Add New Address")}),(0,t.jsx)(p.k,{onSubmit:l,loading:s}),(0,t.jsx)(m.Z,{isInvalidAddressLine2:c,formattedMelissaResponse:i,handleSubmitClick:w,melissaSuccessResponse:d,modalOpen:a,setModalOpen:A,userSelectedAddressInput:o})]})};var A=s(10941),h=!0;function C(){let{customer:e}=(0,d.aF)();return(0,t.jsx)(r.Z,{children:!(null==e?void 0:e.isB2B)&&(0,t.jsx)(w,{})})}C.Protected=!0,C.Layout=A.Z}},function(e){e.O(0,[9709,9350,7729,557,6893,6803,1862,2888,9774,179],function(){return e(e.s=1716)}),_N_E=e.O()}]);

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.