PageSourceSearch

https://www.bodytalk.com/static/js/8583.13c624ec.chunk.js

js bodytalk.com collected 2026-10-08 07:40:03 UTC 8,177 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunkbodytalk_front=globalThis.webpackChunkbodytalk_front||[]).push([[8583],{961(e,t,l){l.d(t,{A:()=>s});l(3293);const s=l.p+"static/media/account.648e97f55bf5d73a791704adb18d7e88.svg"},4940(e,t,l){l.d(t,{A:()=>s});l(3293);const s=l.p+"static/media/address.c61774ce2cb3363bc6d0796ef334ed6c.svg"},2701(e,t,l){l.d(t,{A:()=>s});l(3293);const s=l.p+"static/media/coupons.6fb6f12804a3fc04b157428cdf020b4d.svg"},2159(e,t,l){l.d(t,{A:()=>s});l(3293);const s=l.p+"static/media/order-history.5b964864977ac022ae344b0d332201d5.svg"},8305(e,t,l){l.d(t,{A:()=>s});l(3293);const s=l.p+"static/media/track.afd9805a10a06104de971fc72a3e6086.svg"},3891(e,t,l){l.d(t,{A:()=>h});var s=l(4778),a=l(1130),i=l(961),n=l(4940),r=l(2701),o=l(2159),d=l(8305),c=l(7157),u=l(3689);function h(e){const{t:t,i18n:l}=(0,s.B)();return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("ul",{className:"sidebar",children:[(0,u.jsx)("li",{children:(0,u.jsxs)(a.N_,{to:"/Profile",className:1==e.sideNumber?"profile-btn profile-btn-white active-side":"profile-btn profile-btn-white",children:[(0,u.jsx)("img",{src:i.A,alt:"account"}),t("my_profile")]})}),(0,u.jsx)("li",{children:(0,u.jsxs)(a.N_,{to:"/coupons",className:6==e.sideNumber?"profile-btn profile-btn-white active-side":"profile-btn profile-btn-white",children:[(0,u.jsx)("img",{src:r.A,alt:"club-points"}),t("club_points")]})}),(0,u.jsx)("li",{children:(0,u.jsxs)(a.N_,{to:"/Addresses",className:2==e.sideNumber?"profile-btn profile-btn-white active-side":"profile-btn profile-btn-white",children:[(0,u.jsx)("img",{src:n.A,alt:"address"}),t("my_address")]})}),(0,u.jsx)("li",{children:(0,u.jsxs)(a.N_,{to:"/orders",className:3==e.sideNumber?"profile-btn profile-btn-white active-side":"profile-btn profile-btn-white",children:[(0,u.jsx)("img",{src:o.A,alt:"order-history"}),t("order_history")]})}),(0,u.jsx)("li",{children:(0,u.jsxs)(a.N_,{to:"/followorder",className:4==e.sideNumber?"profile-btn profile-btn-white active-side":"profile-btn profile-btn-white",children:[(0,u.jsx)("img",{src:d.A,alt:"track"}),t("find_order")]})}),(0,u.jsx)("li",{children:(0,u.jsxs)(a.N_,{to:"/wishlists",className:5==e.sideNumber?"profile-btn profile-btn-white active-side":"profile-btn profile-btn-white",children:[(0,u.jsx)("img",{src:c.A,alt:"wishlist"}),t("wishlist")]})})]}),(0,u.jsx)(a.N_,{to:"/logout",className:"log-out",children:t("sign_out")})]})}},8583(e,t,l){l.r(t),l.d(t,{default:()=>b});var s=l(3293),a=l(7597),i=l(3891),n=l(9612),r=l(4778),o=l(1826),d=l(3733),c=l(257),u=l(9885),h=l(5955),p=l(487),m=l(3689);const b=()=>{const{t:e,i18n:t}=(0,r.B)(),l=(0,a.Zp)(),[b,f]=(0,s.useState)({}),[x,j]=(0,s.useState)([]),[v,g]=(0,s.useState)(1),[N,y]=(0,s.useState)(null),[_,w]=(0,s.useState)([]),[S,A]=(0,s.useState)(0),[C,k]=(0,s.useState)(),[q,F]=(0,s.useState)({}),[M,V]=(0,s.useState)(""),[G,P]=(0,s.useState)(""),[U,B]=(0,s.useState)(""),[O,T]=(0,s.useState)(""),[X,z]=(0,s.useState)(""),[D,E]=(0,s.useState)(""),[L,J]=(0,s.useState)([]),[Q,W]=(0,s.useState)(""),[Z,$]=(0,s.useState)("");(0,s.useEffect)(()=>{(0,h.TQ)(v).then(e=>w(H(e.items)))},[v]),(0,s.useEffect)(()=>{(0,h.zp)().then(e=>{F(e)}),(0,h.VJ)().then(e=>{const t=e.items.map(e=>({label:e.cd,value:e.cd}));J(t)}),(0,h.A)().then(e=>{j(H(e.items))})},[]);const H=e=>{if(null==e||0==e.length)return[];let t=[];return e.map(e=>t.push({value:e.id,label:e.nm})),t},I=(e,t)=>{void 0==e.target?b[t]=e.value:b[t]=e.target.value,f(b)};return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(d.A,{page_title:e("add_new_address")}),(0,m.jsx)("div",{className:"account-page address-add-page page",children:(0,m.jsxs)("div",{className:"content-wrapper",children:[(0,m.jsxs)("h2",{className:"mobile900",children:[e("hey"),", ",c.A.getName()]}),(0,m.jsxs)("div",{className:"grid-col",children:[(0,m.jsx)("div",{className:"side2 mobile900",children:(0,m.jsx)(i.A,{sideNumber:2})}),(0,m.jsx)("div",{className:"center2",children:(0,m.jsx)("main",{className:"main-content",children:(0,m.jsx)("div",{className:"acc-content",children:(0,m.jsxs)("form",{method:"post",onSubmit:t=>{if(t.preventDefault(),null!=b.tl&&null!=b.fn&&null!=b.ln&&null!=b.cnid&&null!=b.ct&&null!=b.adl&&null!=b.pc&&b.mob&&""!==b.mob.trim()){if(1===b.cnid){if(!b.crid)return void(0,o.UG)(e("complete_all_fields"))}else b.crid=null;5==b.pc.length?(b.iv=!0,b.cid=q.id,(0,h.ez)(b).then(t=>{(0,o.uA)(e("profile_updated")),l("/addresses")}).catch(t=>{(0,o.UG)(e("validation_same_title")),V("actived error"),console.log(t)})):(0,o.UG)(e("validation_postal_code"))}else(0,o.UG)(e("complete_all_fields"))},children:[(0,m.jsxs)("div",{className:"head-account",children:[(0,m.jsx)("button",{type:"button",className:"mobile901",onClick:()=>{l("/addresses")},children:(0,m.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"7.095",height:"12.69",viewBox:"0 0 7.095 12.69",children:(0,m.jsx)("path",{id:"Path_38025","data-name":"Path 38025",d:"M18,7.5l5.815,5.815L18,19.129",transform:"translate(-17.47 -6.97)",fill:"none",stroke:"#000",strokeLinejoin:"round",strokeWidth:"1.5"})})}),(0,m.jsx)("h1",{className:"acc-title",children:e("add_new_address")})]}),(0,m.jsxs)("div",{className:"form-content",children:[(0,m.jsxs)("div",{className:"grid-col inputs",children:[(0,m.jsxs)("div",{className:"form-input text-label "+M,children:[(0,m.jsx)("input",{type:"text",name:"your-title",required:!0,defaultValue:b.tl,onChange:e=>I(e,"tl"),placeholder:"title"}),(0,m.jsxs)("label",{htmlFor:"your-title",children:[e("your_address_title"),"*"]})]}),(0,m.jsx)("div",{className:"form-input text-label ",children:(0,m.jsx)(u.Ay,{id:"countrySelect",placeholder:e("country"),options:x,onChange:e=>{(e=>{y({value:e.value,label:e.label}),g(e.value),b.cnid=e.value,f(b)})(e)},onMenuClose:()=>{(0,p.qt)("countrySelect")},onMenuOpen:()=>{(0,p.Xu)("countrySelect")},styles:p.ko,value:N})}),(0,m.jsxs)("div",{className:"form-input text-label "+O,children:[(0,m.jsx)("input",{type:"text",name:"your-firstname",required:!0,defaultValue:b.fn,onChange:e=>I(e,"fn"),placeholder:"firstname"}),(0,m.jsxs)("label",{htmlFor:"your-firstname",children:[e("first_name"),"*"]})]}),(0,m.jsxs)("div",{className:"form-input text-label "+U,children:[(0,m.jsx)("input",{type:"text",name:"your-lastname",required:!0,defaultValue:b.ln,onChange:e=>I(e,"ln"),placeholder:"lastname"}),(0,m.jsxs)("label",{htmlFor:"your-lastname",children:[e("last_name"),"*"]})]}),1===v&&(0,m.jsx)("div",{className:b.crid?"form-input text-label actived":"form-input text-label"+Q,children:(0,m.jsx)(u.Ay,{id:"regionSelect",placeholder:null!=b.crid?(e=>{if(null!=e.crid){return _.find(t=>t.value===e.crid).label}return null})(b):e("state"),options:_,onChange:e=>{(e=>{k({value:e.value,label:e.label}),A(e.value),b.crid=e.value,f(b)})(e)},onMenuClose:()=>{(0,p.qt)("regionSelect")},onMenuOpen:()=>{(0,p.Xu)("regionSelect")},defaultValue:C,required:!0,styles:p.ko})}),(0,m.jsxs)("div",{className:"form-input text-label "+D,children:[(0,m.jsx)("input",{type:"text",name:"your-city",required:!0,defaultValue:b.ct,pattern:"^([^0-9]*)$",onChange:e=>I(e,"ct"),placeholder:"city"}),(0,m.jsxs)("label",{htmlFor:"your-city",children:[e("city"),"*"]})]}),(0,m.jsxs)("div",{className:"form-input text-label "+X,children:[(0,m.jsx)("input",{type:"text",name:"your-street",required:!0,defaultValue:b.adl,onCh
1ange:e=>I(e,"adl"),placeholder:"address"}),(0,m.jsxs)("label",{htmlFor:"your-street",children:[e("street"),"*"]})]}),(0,m.jsx)(u.Ay,{id:"postalCodeSelect",name:"your-pc",placeholder:e("postal_code"),options:L,onChange:e=>{I(e,"pc")},onMenuClose:()=>{(0,p.qt)("postalCodeSelect")},onMenuOpen:()=>{(0,p.Xu)("postalCodeSelect")},styles:p.ko}),(0,m.jsxs)("div",{className:"form-input text-label phone-label "+G,children:[(0,m.jsx)(n.A,{value:Z,defaultMask:"..............",alwaysDefaultMask:!0,inputProps:{name:"phone",required:!0,autoFocus:!0},onChange:e=>{$(e),I({value:e},"mob")},containerClass:"content-phone",inputClass:"phone-input",required:!0}),(0,m.jsxs)("label",{htmlFor:"phone",children:[e("phone"),"*"]})]})]}),(0,m.jsx)("button",{className:"submit black-arrow-button right-sit",type:"submit",children:e("save_button")})]})]})})})})]})]})})]})}}}]);
2//# sourceMappingURL=8583.13c624ec.chunk.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.