(()=>{"use strict";var e,r={2495:()=>{const e=window.wp.i18n,r=window.wp.htmlEntities,t=window.ReactJSXRuntime;var o;const{registerPaymentMethod:n}=window.wc.wcBlocksRegistry,a=wc.wcSettings.getSetting("dokan_razorpay_data"),i=(0,r.decodeEntities)(null!==(o=a?.title)&&void 0!==o?o:(0,e.__)("Razorpay","dokan")),s=()=>(0,t.jsx)("div",{className:"razorpay-block-description",children:(0,r.decodeEntities)(a?.description&&"string"==typeof a?.description?a?.description:(0,e.__)("Pay securely by Credit or Debit card or Internet Banking through Razorpay.","dokan"))}),c=e=>{const{PaymentMethodLabel:r}=e.components;return(0,t.jsx)(r,{text:i})};n({name:"dokan_razorpay",label:(0,t.jsx)(c,{}),content:(0,t.jsx)(s,{}),edit:(0,t.jsx)(s,{}),canMakePayment:()=>!0,ariaLabel:i,supports:{}})}},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,e=[],o.O=(r,t,n,a)=>{if(!t){var i=1/0;for(p=0;p<e.length;p++){for(var[t,n,a]=e[p],s=!0,c=0;c<t.length;c++)(!1&a||i>=a)&&Object.keys(o.O).every(e=>o.O[e](t[c]))?t.splice(c--,1):(s=!1,a<i&&(i=a));if(s){e.splice(p--,1);var d=n();void 0!==d&&(r=d)}}return r}a=a||0;for(var p=e.length;p>0&&e[p-1][2]>a;p--)e[p]=e[p-1];e[p]=[t,n,a]},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={1132:0,2900:0};o.O.j=r=>0===e[r];var r=(r,t)=>{var n,a,[i,s,c]=t,d=0;if(i.some(r=>0!==e[r])){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);if(c)var p=c(o)}for(r&&r(t);d<i.length;d++)a=i[d],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return o.O(p)},t=globalThis.webpackChunkdokan_pro=globalThis.webpackChunkdokan_pro||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var n=o.O(void 0,[2900],()=>o(2495));n=o.O(n)})();