Server IP : 66.29.132.122 / Your IP : 18.223.170.103 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/packages/kkart-blocks/build/ |
Upload File : |
this.kkart=this.kkart||{},this.kkart.wcBlocksRegistry=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32)}({1:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},15:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},2:function(e,t){!function(){e.exports=this.wp.element}()},32:function(e,t,n){"use strict";n.r(t),n.d(t,"registerPaymentMethod",(function(){return h})),n.d(t,"registerExpressPaymentMethod",(function(){return d})),n.d(t,"__experimentalDeRegisterPaymentMethod",(function(){return b})),n.d(t,"__experimentalDeRegisterExpressPaymentMethod",(function(){return g})),n.d(t,"getPaymentMethods",(function(){return w})),n.d(t,"getExpressPaymentMethods",(function(){return O})),n.d(t,"getRegisteredBlockComponents",(function(){return T})),n.d(t,"getRegisteredInnerBlocks",(function(){return I})),n.d(t,"registerBlockComponent",(function(){return C})),n.d(t,"registerInnerBlock",(function(){return R}));var r=n(2),o=function(e,t){if(null!==e&&!Object(r.isValidElement)(e))throw new TypeError("The ".concat(t," property for the payment method must be a React element or null."))},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=t.reduce((function(t,n){return e.hasOwnProperty(n)||t.push(n),t}),[]);if(n.length>0){var r="The payment method configuration object is missing the following properties:";throw new TypeError(r+n.join(", "))}},a=function(e,t){if("function"!=typeof e)throw new TypeError("A payment method must be registered with a function that creates and returns a ".concat(t," instance"))},c=n(15),s=n.n(c),u=n(1),p=n.n(u),f=function e(t){var n;s()(this,e),e.assertValidConfig(t),this.name=t.name,this.label=t.label,this.placeOrderButtonLabel=t.placeOrderButtonLabel,this.ariaLabel=t.ariaLabel,this.content=t.content,this.icons=t.icons,this.edit=t.edit,this.canMakePayment=t.canMakePayment,this.paymentMethodId=t.paymentMethodId||this.name,this.supports={savePaymentInfo:(null==t||null===(n=t.supports)||void 0===n?void 0:n.savePaymentInfo)||!1}};p()(f,"assertValidConfig",(function(e){if(i(e,["name","label","ariaLabel","content","edit","canMakePayment"]),"string"!=typeof e.name)throw new Error("The name property for the payment method must be a string");if(void 0!==e.icons&&!Array.isArray(e.icons)&&null!==e.icons)throw new Error("The icons property for the payment method must be an array or null.");if("string"!=typeof e.paymentMethodId&&void 0!==e.paymentMethodId)throw new Error("The paymentMethodId property for the payment method must be a string or undefined (in which case it will be the value of the name property).");if("string"!=typeof e.placeOrderButtonLabel&&void 0!==e.placeOrderButtonLabel)throw new TypeError("The placeOrderButtonLabel property for the payment method must be a string");if(function(e,t){if(null!==e&&!Object(r.isValidElement)(e)&&"string"!=typeof e)throw new TypeError("The ".concat(t," property for the payment method must be a React element, a string, or null."))}(e.label,"label"),o(e.content,"content"),o(e.edit,"edit"),"string"!=typeof e.ariaLabel)throw new TypeError("The ariaLabel property for the payment method must be a string");if("function"!=typeof e.canMakePayment)throw new TypeError("The canMakePayment property for the payment method must be a function.");if(e.supports&&void 0!==e.supports.savePaymentInfo&&"boolean"!=typeof e.supports.savePaymentInfo)throw new TypeError("If the payment method includes the `supports.savePaymentInfo` property, it must be a boolean")}));var l=function e(t){s()(this,e),e.assertValidConfig(t),this.name=t.name,this.content=t.content,this.edit=t.edit,this.canMakePayment=t.canMakePayment,this.paymentMethodId=t.paymentMethodId||this.name};p()(l,"assertValidConfig",(function(e){if(i(e,["name","content","edit"]),"string"!=typeof e.name)throw new TypeError("The name property for the express payment method must be a string");if("string"!=typeof e.paymentMethodId&&void 0!==e.paymentMethodId)throw new Error("The paymentMethodId property for the payment method must be a string or undefined (in which case it will be the value of the name property).");if(o(e.content,"content"),o(e.edit,"edit"),"function"!=typeof e.canMakePayment)throw new TypeError("The canMakePayment property for the express payment method must be a function.")}));var y={},m={},h=function(e){a(e,"PaymentMethodConfig");var t=e(f);t instanceof f&&(y[t.name]=t)},d=function(e){a(e,"ExpressPaymentMethodConfig");var t=e(l);t instanceof l&&(m[t.name]=t)},b=function(e){delete y[e]},g=function(e){delete m[e]},w=function(){return y},O=function(){return m},v=n(8),P=n.n(v),j=n(9),M=n.n(j),k={};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){p()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e){return x(x({},"object"===P()(k[e])&&Object.keys(k[e]).length>0?k[e]:{}),k.any)}function I(e){return M()("getRegisteredInnerBlocks",{version:"2.8.0",alternative:"getRegisteredBlockComponents",plugin:"Kkart Blocks"}),T(e)}function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){p()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e){e.context||(e.context="any"),D(e,"context","string"),D(e,"blockName","string"),L(e,"component");var t=e.context,n=e.blockName,r=e.component;k[t]||(k[t]={}),k[t][n]=r}var L=function(e,t){if(e[t]){if("function"==typeof e[t])return;if(e[t].$$typeof&&e[t].$$typeof===Symbol.for("react.lazy"))return}throw new Error("Incorrect value for the ".concat(t," argument when registering a block component. Component must be a valid React Element or Lazy callback."))},D=function(e,t,n){var r=P()(e[t]);if(r!==n)throw new Error("Incorrect value for the ".concat(t," argument when registering a block component. It was a ").concat(r,", but must be a ").concat(n,"."))};function R(e){M()("registerInnerBlock",{version:"2.8.0",alternative:"registerBlockComponent",plugin:"Kkart Blocks",hint:'"main" has been replaced with "context" and is now optional.'}),D(e,"main","string"),C(S(S({},e),{},{context:e.main}))}},8:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},9:function(e,t){!function(){e.exports=this.wp.deprecated}()}});