PageSourceSearch

https://smytten.com/_next/static/chunks/pages/luxe/cart/payment-c05bbdcda06d5d77.js

js smytten.com collected 2026-09-25 14:36:21 UTC 9,972 bytes, 196 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[95064],{19098:function(i,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/luxe/cart/payment",function(){return t(20945)}])},6513:function(i,e,t){t.d(e,{AR:function(){return h},Bk:function(){return f},E:function(){return s},EC:function(){return o},I_:function(){return g},Ju:function(){return p},UA:function(){return x},W9:function(){return a},iU:function(){return m},j0:function(){return r},k4:function(){return l},mh:function(){return c},qE:function(){return u},sY:function(){return d}});var n=t(80603);const r=n.iv`
2  background-color: #fff;
3`,s=n.iv`
4  padding: 12px 22px 12px 12px;
5  position: fixed;
6  top: 0px;
7  width: 100%;
8  z-index: 5;
9  background-color: #fff;
10  border-bottom: 1px solid #f5f5f5;
11`,o=n.iv`
12  display: flex;
13  justify-content: space-between;
14  align-items: center;
15  padding-bottom: 24px;
16`,a=n.iv`
17  background: #fff;
18  box-shadow: -0px -0px 3px 1px rgba(0, 0, 0, 0.08);
19  border-radius: 12px;
20  min-width: 310px;
21  max-width: 310px;
22  min-height: 450px;
23  max-height: 450px;
24  margin-right: 16px;
25  margin: 2px 16px 2px 0px;
26`,d=n.iv`
27  position: relative;
28  margin-bottom: 4px;
29`,l=n.iv`
30  background-color: #000;
31  width: 16px;
32  height: 16px;
33  position: absolute;
34  border-radius: 8px;
35  bottom: 2px;
36  right: 2px;
37`,c=n.iv`
38  min-width: 310px;
39  max-width: 310px;
40  min-height: 315px;
41  max-height: 315px;
42`,p=n.iv`
43  display: flex;
44  margin: 0;
45  height: 191px;
46  margin-bottom: 48px;
47`,x=n.iv`
48  display: flex;
49  flex-direction: column;
50  justify-content: space-between;
51  margin: 20px 6px 20px 20px;
52`,f=(n.iv`
53  // min-width: 200px;
54  padding: 0 56px 0 40px;
55  display: flex;
56  justify-content: center;
57  align-items: center;
58`,n.iv`
59  .slick-slide {
60    padding-right: 16px;
61    // min-width: 310px !important;
62    // max-width: 310px !important;
63  }
64  .slick-list {
65    padding: 0 !important;
66    padding-left: 24px !important;
67  }
68
69  .slick-dots {
70    display: flex !important;
71    justify-content: space-evenly;
72    width: 100% !important;
73    margin-top: 24px;
74    padding: 0 !important;
75    list-style-type: none !important;
76  }
77
78  .slick-dots li {
79    width: 30px !important;
80    background-color: #212121;
81    height: 2px !important;
82    border: none;
83    border-radius: 10px;
84  }
85
86  .slick-dots li.slick-active {
87    width: 170px !important;
88    background-color: #ede2c1;
89    height: 2px !important;
90    border-radius: 10px;
91  }
92`,n.iv`
93  .slick-list {
94    padding: 0 !important;
95  }
96  .slick-slide {
97    // width: 100vw !important;
98  }
99  .video-banner {
100    width: 100vw !important;
101  }
102`,n.iv`
103  margin-top: 59px;
104`),h=n.iv`
105  /* border-top: 0.2px solid #dcdcdc; */
106  padding: 16px 20px 10px 20px;
107`,u=n.iv`
108  margin: 0px 10px;
109  height: 9px;
110  width: 1px;
111  background: #7e7e7e;
112`,m=n.iv`
113  border-radius: 10px;
114  border: 1px solid #f5f5f5;
115  background: #fff;
116  gap: 6px;
117  padding: 8px;
118`,g=(n.iv`
119  border-radius: 12px;
120  background: #000;
121  margin: 40px 24px;
122  padding: 10px 16px;
123`,n.iv`
124  position: absolute;
125  bottom: 24px;
126
127  right: 24px;
128  &:hover {
129    opacity: 0.8;
130  }
131`,n.iv`
132  position: absolute;
133  bottom: 24px;
134  left: 24px;
135
136  /* left: 50%; */
137  /* transform: translate(-50%, -50%); */
138
139  &:hover {
140    opacity: 0.8;
141  }
142`,n.iv`
143  margin: 0px 24px 40px 24px;
144  @media (max-width: 375px) {
145    margin: 0px 18px 16px 18px;
146  }
147`)},20945:function(i,e,t){t.r(e);var n=t(85893),r=t(80603),s=t(57635),o=t(6513),a=t(94109),d=t(71570),l=t(1485),c=t(84617),p=t(10823),x=t(96726),f=t(5152),h=t.n(f),u=t(11163),m=t(67294),g=t(2664),v=t(76752),b=t(50265),w=t(83391),j=t(68390),y=t(38855);const k=h()(()=>t.e(73914).then(t.bind(t,73914)),{loadableGenerated:{webpack:()=>[73914]},ssr:!1}),_=h()(()=>t.e(44862).then(t.bind(t,44862)),{loadableGenerated:{webpack:()=>[44862]},ssr:!1}),S=h()(()=>t.e(54616).then(t.bind(t,54616)),{loadableGenerated:{webpack:()=>[54616]},ssr:!1}),C=({})=>{const i=(0,g.useDispatch)(),e=(0,u.useRouter)(),{MoEvent:t}=(0,g.useSelector)(({moengageService:i})=>i),{cartData:f}=(0,g.useSelector)(({cartService:i})=>i),{width:h}=(0,x.i)();(0,m.useEffect)(()=>{(0,c.Yu)("id")},[(0,c.Yu)("id")]);const{addressList:j,selectedAddress:y,pincodeVerificationData:C,pincodeVerificationError:D}=(0,g.useSelector)(({addressService:i})=>i),{paymentList:I,fetchingPaymentList:T}=(0,g.useSelector)(({checkoutService:i})=>i),{0:M,1:A}=(0,m.useState)(!1),{0:B,1:G}=(0,m.useState)(""),{0:R,1:L}=(0,m.useState)(!1),{0:Y,1:U}=(0,m.useState)({trial_cod:0,shop_cod:0}),V=f?.billing?.total+Y.shop_cod+Y.trial_cod,X=(i,e)=>{A(i),G(e)},q="24px",{0:J,1:W}=(0,m.useState)(!1),H=i=>{W(i)};return(0,m.useEffect)(()=>{(0,c.SR)("orderConfirmationData"),f&&y||e.push("/luxe/cart"),t&&(0,d.v)(l.xE,{web_platform:h>481?"desktop":"m-web"})},[]),(0,m.useEffect)(()=>{D&&R&&X(!0,D)},[D]),(0,m.useEffect)(()=>{C&&C.is_available&&R&&H(!0)},[C]),(0,m.useEffect)(()=>{0==M&&L(!1)},[M]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:(0,r.iv)(s.O$,E),children:[(0,n.jsxs)("div",{className:O,children:[(0,n.jsx)("div",{style:{position:"absolute",left:"10px"},children:(0,n.jsx)("div",{onClick:()=>e.back(),children:(0,n.jsx)("img",{src:"/images/luxe_left_head.svg",alt:"icon",loading:"lazy"})})}),(0,n.jsxs)("div",{className:F,children:["Payment (",f?.cart_count,")"]})]}),T?(0,n.jsx)("div",{className:P,children:(0,n.jsx)(b.default,{loaderColor:"black"})}):null,(0,n.jsxs)("div",{style:{paddingTop:"50px",paddingBottom:J?"0":"150px"},children:[(0,n.jsxs)("div",{style:{borderRadius:"12px",border:"1px solid var(--strokes, #E8E8E8)",background:"#ffffff",margin:q,padding:"16px"},children:[(0,n.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},className:s.O$,children:[(0,n.jsx)(w.default,{color:"#000000",fs:"14px",fw:"400",style:(0,r.iv)(s.O$),children:"Delivering To"}),(0,n.jsx)(k,{})]}),(0,n.jsx)(w.default,{color:"#000000",style:(0,r.iv)(s.O$,{marginTop:"4px !important"}),fs:"14px",fw:"300",children:y?.name}),(0,n.jsx)(w.default,{color:"#838383",fs:"12px",fw:"300",style:(0,r.iv)(s.O$),children:y?.address_string}),(0,n.jsxs)("div",{style:{display:"flex",marginTop:"4px"},children:[(0,n.jsx)(w.default,{color:"#000000",fs:"12px",fw:"400",style:(0,r.iv)(s.O$),children:"Mobile: "}),(0,n.jsx)(w.default,{color:"#000000",fs:"12px",fw:"600",style:(0,r.iv)(s.O$),children:y?.phone})]})]}),(0,n.jsxs)("div",{style:{margin:q,display:"flex",alignItems:"center"},children:[(0,n.jsx)("img",{src:"/images/luxeCartDeliveryTruck.svg",alt:"icon",loading:"lazy"}),(0,n.jsx)(w.default,{color:"#000000",fs:"12px",fw:"400",style:(0,r.iv)(s.O$),children:" Delivering by "}),(0,n.jsx)(w.default,{color:"#000000",fs:"12px",fw:"600",style:(0,r.iv)(s.O$),children:I?.default_address?.trial_edd})]}),f?.billing?.trial_payment?.items?.length>0&&(0,n.jsx)(S,{marginFromParent:q}),(0,n.jsx)(_,{marginFromParent:q,paymentInitiated:J,setPaymentInitiated:H,codCharges:Y,setCodCharges:i=>{U(i)},setProceedButtonClicked:L}),(0,n.jsxs)("div",{className:(0,r.iv)([s.At,o.I_]),children:[(0,n.jsxs)("div",{className:(0,r.iv)([v.allbrandIconContainer,s.kC]),children:[(0,n.jsx)("img",{src:"/images/allbrandicon1.svg",width:24,height:24,alt:"icon"}),(0,n.jsx)(w.default,{color:"#000",fs:"10px",fw:"400",lh:"12px",style:{fontFamily:"Poppins"},children:(0,n.jsxs)(n.Fragment,{children:["Authentic",(0,n.jsx)("br",{}),"Products"]})})]}),(0,n.jsxs)("div",{className:(0,r.iv)([v.allbrandIconContainer,s.kC]),children:[(0,n.jsx)("img",{src:"/images/allbrandicon2.svg",height:24,width:24,alt:"icon"}),(0,n.jsx)(w.default,{color:"#000",fs:"10px",fw:"400",lh:"12px",style:{fontFamily:"Poppins"},children:(0,n.jsxs)(n.Fragment,{children:["Fast ",(0,n.jsx)("br",{})," Delivery"]})})]}),(0,n.jsxs)("div",{className:(0,r.iv)([v.allbrandIconContainer,s.kC]),children:[(0,n.jsx)("img",{src:"/images/allbrandicon3.svg",height:24,width:24,alt:"icon"}),(0,n.jsx)(w.default,{color:"#000",fs:"10px",fw:"400",lh:"12px",style:{fontFamily:"Poppins"},children:(0,n.jsxs)(n.Fragment,{children:["100% Secure ",(0,n.jsx)("br",{}),"Payments"]})})]})]})]}),(0,n.jsxs)("div",{className:(0,r.iv)($,s.tu,s.Fr),children:[(0,n.jsxs)("div",{className:(0,r.iv)(s.At,s.O$,{fontSize:"16px",width:"100%",color:"white",margin:"20px 0",padding:"0 26px"}),children:[(0,n.jsx)("div",{children:"Total"}),(0,n.jsxs)("div",{children:["₹",V]})]}),(0,n.jsx)("div",{className:(0,r.iv)(z,s.kC,s.BG,s.O$),onClick:()=>{f.is_verified?(()=>{if(y){const e=y.pincode;i((0,a.vk)(e)),L(!0),(0,d.v)(l.xB,{web_platform:h>481?"desktop":"m-web"})}else X(!0,"Please select an address")})():X(!0,f?.verified_text?f?.verified_text:"Something has changed in your cart!")},children:"Proceed"})]}),(0,n.jsx)(p.F,{message:B,modalOpenState:M,toggleModalPrompt:X})]}),J?(0,n.jsx)("div",{className:N,children:(0,n.jsx)(b.default,{loaderColor:"white"})}):null]})};e.default=({})=>(0,n.jsx)("div",{children:(0,n.jsx)(j.N,{modules:[y.addressServiceModule,y.luxeServiceModule,y.cartServiceModule,y.checkoutServiceModule],children:(0,n.jsx)(C,{})})});const E=r.iv`
148  position: relative;
149  height: 100vh;
150  overflow: scroll;
151`,N=r.iv`
152  position: absolute;
153  height: 100%;
154  width: 100%;
155  top: 0px;
156  left: 0px;
157  background-color: rgba(0, 0, 0, 0.8);
158  z-index: 3;
159`,P=r.iv`
160  position: absolute;
161  height: 100%;
162  width: 100%;
163  top: 0px;
164  left: 0px;
165  z-index: 3;
166`,O=r.iv`
167  background-color: #ffffff;
168  position: fixed;
169  height: 48px;
170  width: 100%;
171  color: #000000;
172  z-index: 3;
173  display: flex;
174  align-items: center;
175  justify-content: center;
176`,F=r.iv`
177  font-family: 'Didot';
178  font-style: normal;
179  font-weight: 700;
180  font-size: 21px;
181`,$=r.iv`
182  position: fixed;
183  bottom: 0;
184  width: 100%;
185  height: 126px;
186  z-index: 2;
187  background: #212121;
188`,z=r.iv`
189  background: #ffffff;
190  border-radius: 8px;
191  width: 87%;
192  height: 38px;
193  font-size: 14px;
194  color: #171717;
195  font-weight: 500;
196`}},function(i){i.O(0,[93811,50665,86410,51713,2715,97441,94827,76752,49774,92888,40179],function(){return i(i.s=19098)});var e=i.O();_N_E=e}]);

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.