PageSourceSearch

https://www.yashojewellers.com/_next/static/chunks/pages/checkout/CheckoutForms-1f202bfa9e08a561.js

js yashojewellers.com collected 2026-10-02 01:53:04 UTC 3,956 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[644,8357],{86151:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout/CheckoutForms",function(){return r(78909)}])},78909:function(e,t,r){"use strict";r.r(t);var s=r(85893),a=r(67294),n=r(5434);let l=e=>{let{addresses:t,landmarkEditable:r,countryEditable:l,countryData:i,activeAddressId:o,formData:c,isBillingAddress:d,setFormData:m,handleInputChange:u,errors:x,handleAddressClick:h,states:p,cities:f,isEditable:g,setIsEditable:y,setActiveAddressId:v,citiesApi:b,onEditAddress:N,addAddress:j,jboId:w}=e,[_,k]=(0,a.useState)([]);return(0,a.useEffect)(()=>{c&&Array.isArray(c.landmark)&&(k(c.landmark),m(e=>({...e,landmark:""})))},[c]),(0,s.jsx)(s.Fragment,{children:t.length>0&&(0,s.jsxs)("div",{className:"mb-4",children:[(0,s.jsx)("h3",{className:"text-md font-semibold mt-4 text-gray-700 mb-2",children:d?"**Select Your Billing Address ":" **Select Your shipping Address"}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 max-h-72 overflow-auto",children:t.map(e=>(0,s.jsxs)("div",{onClick:()=>h(e),className:"relative bg-white rounded-lg p-3 border cursor-pointer transition-all duration-200 ".concat(o===e.address_id?"border-primary shadow-md":"border-gray-300 hover:border-primary hover:shadow-sm"),children:[(0,s.jsx)("button",{onClick:t=>{t.stopPropagation(),N&&N(e)},className:"absolute top-2 right-2 text-gray-500 hover:text-primary",title:"Edit Address",children:(0,s.jsx)(n.zmo,{size:18})}),(0,s.jsxs)("div",{className:"flex items-start gap-2",children:[(0,s.jsx)("input",{type:"radio",name:d?"billingAddress":"shippingAddress",checked:o===e.address_id,onChange:()=>h(e),className:"mt-1 text-primary"}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("p",{className:"font-semibold text-sm mb-1",children:e.name}),(0,s.jsxs)("p",{className:"text-xs text-gray-700",children:[e.address,", ",e.landmark]}),(0,s.jsxs)("p",{className:"text-xs text-gray-700",children:[e.city,", ",e.state]}),(0,s.jsxs)("p",{className:"text-xs text-gray-700",children:[e.country," - ",e.pincode]}),(0,s.jsxs)("p",{className:"text-xs text-gray-600 mt-1",children:["Mobile: ",e.mobile]}),e.email&&(0,s.jsxs)("p",{className:"text-xs text-gray-600",children:["Email: ",e.email]}),e.gst_no&&(0,s.jsxs)("p",{className:"text-xs text-gray-600",children:["GST: ",e.gst_no]})]})]})]},e.address_id))})]})})};t.default=l},88357:function(e,t,r){"use strict";r.d(t,{w_:function(){return o}});var s=r(67294),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=s.createContext&&s.createContext(a),l=function(){return(l=Object.assign||function(e){for(var t,r=1,s=arguments.length;r<s;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},i=function(e,t){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,s=Object.getOwnPropertySymbols(e);a<s.length;a++)0>t.indexOf(s[a])&&Object.prototype.propertyIsEnumerable.call(e,s[a])&&(r[s[a]]=e[s[a]]);return r};function o(e){return function(t){return s.createElement(c,l({attr:l({},e.attr)},t),function e(t){return t&&t.map(function(t,r){return s.createElement(t.tag,l({key:r},t.attr),e(t.child))})}(e.child))}}function c(e){var t=function(t){var r,a=e.attr,n=e.size,o=e.title,c=i(e,["attr","size","title"]),d=n||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),s.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,a,c,{className:r,style:l(l({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),o&&s.createElement("title",null,o),e.children)};return void 0!==n?s.createElement(n.Consumer,null,function(e){return t(e)}):t(a)}}},function(e){e.O(0,[1228,9774,2888,179],function(){return e(e.s=86151)}),_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.