1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4966],{4167:function(e,a,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/check-out/juspay",function(){return o(7174)}])},7174:function(e,a,o){"use strict";o.r(a),o.d(a,{__N_SSP:function(){return c}});var s=o(5893),n=o(7294),i=o(1163),l=o(6188),r=o(5675),t=o.n(r),d=o(9359),p=o(2150),u=o.n(p);let _=e=>{var a,o,r,p,_,c,y,m,j,h,v,x,b;let{data:f}=e,g=(0,i.useRouter)(),[w,N]=(0,n.useState)(!1),[S,E]=(0,n.useState)(""),k=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{if(k.current)return;k.current=!0;let e=async()=>{try{var e,a,o,s,n,i,r;let t={amount:null===(a=null===(e=null==f?void 0:f.result[0])||void 0===e?void 0:e.order_data[0])||void 0===a?void 0:a.pay_amount,order_reference:null==g?void 0:null===(o=g.query)||void 0===o?void 0:o.order_number,website_id:null==g?void 0:null===(s=g.query)||void 0===s?void 0:s.website_id,payment_gateway_id:null==g?void 0:null===(n=g.query)||void 0===n?void 0:n.payment_gateway_id,user_id:null==g?void 0:null===(i=g.query)||void 0===i?void 0:i.user_id},d=await new l.Z().handleJustPayRequest(t);if(!(null==d?void 0:null===(r=d.result)||void 0===r?void 0:r.paymemt_url))return;E(d.result.paymemt_url),N(!0);let p=document.querySelector("#juspayDiv"),u=document.querySelector(".payu-button"),_=document.querySelector(".juspay"),c=document.querySelector(".payment-option-insite");if(!p)return;p.innerHTML="";let y=document.createElement("iframe");y.src=d.result.paymemt_url,y.allow="payment *;",y.width="804",y.height="530",y.style.border="none",u&&(u.style.display="none"),_&&(_.style.display="none"),c&&(c.style.display="none"),p.appendChild(y)}catch(m){console.log("Juspay Error:",m),N(!1)}};e()},[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:u()["juspay-body"],children:(0,s.jsxs)("div",{className:u()["juspay-page"],children:[(0,s.jsx)("div",{className:u()["juspay-header"],children:(0,s.jsx)("div",{className:u().container,children:(0,s.jsxs)("div",{className:u()["juspay-row"],children:[(0,s.jsx)("div",{className:u()["col-md-4"],children:(0,s.jsx)("a",{href:"#",className:u()["logo-juspay-page"],children:(0,s.jsx)("img",{alt:"UAE Flowers logo",width:"388",height:"100",src:"".concat(d.Z.SITE_IMAGE_URL,"logo.webp")})})}),(0,s.jsx)("div",{className:u()["col-md-4"],children:(0,s.jsxs)("div",{className:u()["head-box"],children:[(0,s.jsx)(t(),{unoptimized:!0,src:"".concat(d.Z.SITE_IMAGE_URL,"payment-sequere-icon.png"),alt:"Secure Payments & Superb Support",width:41,height:34}),(0,s.jsx)("p",{children:"Secure Payments & Superb Support"})]})}),(0,s.jsx)("div",{className:u()["col-md-4"],children:(0,s.jsxs)("div",{className:u()["head-box"],children:[(0,s.jsx)(t(),{unoptimized:!0,src:"".concat(d.Z.SITE_IMAGE_URL,"delivery-van-icon.png"),alt:"Same/Next-Day Flower Delivery Across UAE",width:51,height:34}),(0,s.jsx)("p",{children:"Same/Next-Day Flower Delivery Across UAE"})]})})]})})}),(0,s.jsx)("div",{className:u().container,children:(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)("div",{className:"col-md-12",children:(0,s.jsxs)("div",{className:u()["payment-method-heading"],children:[(0,s.jsx)("h1",{children:"Payment Method"}),(0,s.jsxs)("span",{children:["Total Amount:"," ",null===(o=null===(a=null==f?void 0:f.result[0])||void 0===a?void 0:a.order_data[0])||void 0===o?void 0:o.payment_currency_code," ",null===(p=null===(r=null==f?void 0:f.result[0])||void 0===r?void 0:r.order_data[0])||void 0===p?void 0:p.pay_amount]})]})}),(0,s.jsx)("div",{className:"col-md-12",children:(0,s.jsxs)("div",{className:u()["payment-getway-section"],children:[(0,s.jsx)("div",{className:u()["left-payment-getway"],children:(0,s.jsx)("div",{className:u()["payment-container"],children:(0,s.jsx)("div",{className:"row g-0",children:(0,s.jsx)("div",{className:"col-lg-12 col-md-12",children:(0,s.jsx)("div",{className:u()["payment-form-section"],children:(0,s.jsx)("div",{id:"juspayDiv"})})})})})}),(0,s.jsxs)("div",{className:u()["right-payment-getway-section"],children:[(0,s.jsxs)("div",{className:u()["order-number-box"],children:[(0,s.jsxs)("h2",{children:[(0,s.jsx)("i",{className:"fa-solid fa-location-dot"})," Deliver to"]}),(0,s.jsx)("p",{children:null===(c=null===(_=null==f?void 0:f.result[0])||void 0===_?void 0:_.order_data[0])||void 0===c?void 0:c.ship_name}),(0,s.jsx)("p",{children:null===(m=null===(y=null==f?void 0:f.result[0])||void 0===y?void 0:y.order_data[0])||void 0===m?void 0:m.ship_add})]}),(0,s.jsxs)("div",{className:u()["order-number-box"],children:[(0,s.jsxs)("h2",{children:[(0,s.jsx)("i",{className:"fa-solid fa-gift"})," Order Detail"]}),(0,s.jsxs)("h3",{children:["Order Number: ",null==g?void 0:null===(j=g.query)||void 0===j?void 0:j.order_number]}),(0,s.jsxs)("h3",{children:["Delivery Date:"," ",null===(v=null===(h=null==f?void 0:f.result[0])||void 0===h?void 0:h.order_data[0])||void 0===v?void 0:v.delivery_date_label]}),(0,s.jsxs)("h3",{children:["Delivery Time:"," ",null===(b=null===(x=null==f?void 0:f.result[0])||void 0===x?void 0:x.order_data[0])||void 0===b?void 0:b.del_time]})]})]}),(0,s.jsxs)("div",{className:u()["payment-icon-section"],children:[(0,s.jsx)(t(),{unoptimized:!0,src:"".concat(d.Z.SITE_IMAGE_
1URL,"payment-icons.png"),alt:"Payments",width:515,height:58}),(0,s.jsx)("p",{children:"Your transaction is 100% safe & processed through a secure https internet connection based on secure socket layer technology."})]})]})})]})})]})})})};var c=!0;a.default=_},2150:function(e){e.exports={"juspay-header":"juspay_juspay-header__iWHzZ","logo-juspay-page":"juspay_logo-juspay-page__T43b5","juspay-body":"juspay_juspay-body__6zDcF",container:"juspay_container__CotX5","head-box":"juspay_head-box__gKzxl","col-md-4":"juspay_col-md-4__5b9r8","payment-getway-section":"juspay_payment-getway-section__0QCgI","left-payment-getway":"juspay_left-payment-getway__foJtT","juspay-row":"juspay_juspay-row__wi26r","right-payment-getway-section":"juspay_right-payment-getway-section__2IZ63","order-number-box":"juspay_order-number-box__v_Nr9","payment-icon-section":"juspay_payment-icon-section__j1mfQ","payment-method-heading":"juspay_payment-method-heading__qiXLB","googlepay-form":"juspay_googlepay-form__bQcTA",row:"juspay_row__pvf15","payment-form-section":"juspay_payment-form-section__SkLhD","payment-container":"juspay_payment-container__Nviii","payment-sidebar":"juspay_payment-sidebar__6lAOi","payment-option":"juspay_payment-option__dRY8s",active:"juspay_active__ok3_n","payment-icon":"juspay_payment-icon__0wee_","payment-details":"juspay_payment-details__FX_G6","payment-name":"juspay_payment-name__SMu_l","offer-badge":"juspay_offer-badge__vh8yk","cashback-text":"juspay_cashback-text___hRuI","form-group":"juspay_form-group__mg0NG","form-label":"juspay_form-label__HdHfI","form-control":"juspay_form-control__Fud58","row-inputs":"juspay_row-inputs__e_bAq","cvv-input-wrapper":"juspay_cvv-input-wrapper__qojFs","cvv-icon":"juspay_cvv-icon__SdaZx","form-check":"juspay_form-check__YbJiy","form-check-input":"juspay_form-check-input__62H0_","form-check-label":"juspay_form-check-label__FAlEe","btn-proceed":"juspay_btn-proceed__TSYHd","expiry-wrapper":"juspay_expiry-wrapper__ucpuM","expiry-month":"juspay_expiry-month__4f1Fl","expiry-separator":"juspay_expiry-separator__uPkBW","expiry-year":"juspay_expiry-year__0VWl1","apple-pay-button":"juspay_apple-pay-button__ySkHA","apple-pay-info":"juspay_apple-pay-info__E_TIX","paypal-button":"juspay_paypal-button__YoYHE","paypal-card-button":"juspay_paypal-card-button__XqZIP","paypal-card-icon":"juspay_paypal-card-icon__pku7b","bnpl-info-box":"juspay_bnpl-info-box__hGo1b","installment-box":"juspay_installment-box__QfPXz","google-pay-button":"juspay_google-pay-button__lFYho","col-lg-7":"juspay_col-lg-7__PMw6Y","col-md-7":"juspay_col-md-7__Brpkd"}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=4167)}),_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.