File: /home/wwwrenee/public_html/wp-content/plugins/woocommerce-payments/dist/payment-gateways.js
/*! For license information please see payment-gateways.js.LICENSE.txt */
!function(){var e={4184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var c in n)r.call(n,c)&&n[c]&&e.push(c);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},139:function(e){"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},3759:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,c){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,c],l=0;(s=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},3620:function(e,t,n){"use strict";var r=n(139);e.exports=r},737:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,o=e.onClick,i=(e.icon,e.className),c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-cross-circle",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:s,height:n,width:n,onClick:o},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M19.1 4.9C15.2 1 8.8 1 4.9 4.9S1 15.2 4.9 19.1s10.2 3.9 14.1 0 4-10.3.1-14.2zm-4.3 11.3L12 13.4l-2.8 2.8-1.4-1.4 2.8-2.8-2.8-2.8 1.4-1.4 2.8 2.8 2.8-2.8 1.4 1.4-2.8 2.8 2.8 2.8-1.4 1.4z"})))};var o,a=(o=n(9196))&&o.__esModule?o:{default:o};e.exports=t.default},6746:function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=c(n(9196)),a=c(n(9156)),i=c(n(6743));function c(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function u(e,t){var n,i,c,l,d,p,m,f,h=[],y={};for(p=0;p<e.length;p++)if("string"!==(d=e[p]).type){if(!t.hasOwnProperty(d.value)||void 0===t[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(t[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+s);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){n=t[d.value],c=p;break}h.push(t[d.value])}else h.push(d.value);return n&&(l=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(c,e),m=u(e.slice(c+1,l),t),i=o.default.cloneElement(n,{},m),h.push(i),l<e.length-1&&(f=u(e.slice(l+1),t),h=h.concat(f))),1===h.length?h[0]:(h.forEach((function(e,t){e&&(y["interpolation-child-"+t]=e)})),(0,a.default)(y))}t.Z=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var a=(0,i.default)(t);try{return u(a,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},6743:function(e){"use strict";function t(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(t)}},4155:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c,s=[],u=!1,l=-1;function d(){u&&c&&(u=!1,c.length?s=c.concat(s):l=-1,s.length&&p())}function p(){if(!u){var e=i(d);u=!0;for(var t=s.length;t;){for(c=s,s=[];++l<t;)c&&c[l].run();l=-1,t=s.length}c=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new m(e,t)),1!==s.length||u||i(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},9156:function(e,t,n){"use strict";var r=n(9196),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(139),i=n(3759),c=n(3620),s="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function l(e,t,n,r){var a,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===o)return n(r,e,""===t?"."+u(e,0):t),1;var d=0,p=""===t?".":t+":";if(Array.isArray(e))for(var m=0;m<e.length;m++)d+=l(a=e[m],p+u(a,m),n,r);else{var f=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(f)for(var h,y=f.call(e),_=0;!(h=y.next()).done;)d+=l(a=h.value,p+u(a,_++),n,r);else if("object"===c){var v=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===v?"object with keys {"+Object.keys(e).join(", ")+"}":v,"")}}return d}var d=/\/+/g;function p(e){return(""+e).replace(d,"$&/")}var m,f,h=y,y=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)};function _(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function v(e,t,n){var o,i,c=e.result,s=e.keyPrefix,u=e.func,l=e.context,d=u.call(l,t,e.count++);Array.isArray(d)?g(d,c,n,a.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(o=d,i=s+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),c.push(d))}function g(e,t,n,r,o){var a="";null!=n&&(a=p(n)+"/");var i=_.getPooled(t,a,r,o);!function(e,t,n){null==e||l(e,"",t,n)}(e,v,i),_.release(i)}_.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},m=function(e,t,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)},(f=_).instancePool=[],f.getPooled=m||h,f.poolSize||(f.poolSize=10),f.release=function(e){var t=this;i(e instanceof t,"Trying to release an instance into a pool of a different type."),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,a.thatReturnsArgument);return t}},9196:function(e){"use strict";e.exports=window.React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),n.p=window.wcpayAssets.url,function(){"use strict";var e={};n.r(e),n.d(e,{getAllDepositsOverviews:function(){return zt},getAllDepositsOverviewsError:function(){return Bt},getDeposit:function(){return Nt},getDepositQueryError:function(){return qt},getDeposits:function(){return jt},getDepositsCount:function(){return Zt},getDepositsOverview:function(){return Ft},getDepositsOverviewError:function(){return xt},getDepositsSummary:function(){return Yt},getDepositsSummaryError:function(){return Qt},getInstantDeposit:function(){return Kt}});var t={};n.r(t),n.d(t,{submitInstantDeposit:function(){return wn},updateAllDepositsOverviews:function(){return pn},updateDeposit:function(){return un},updateDeposits:function(){return fn},updateDepositsCount:function(){return hn},updateDepositsOverview:function(){return ln},updateDepositsSummary:function(){return _n},updateErrorForAllDepositsOverviews:function(){return mn},updateErrorForDepositQuery:function(){return yn},updateErrorForDepositsOverview:function(){return dn},updateErrorForDepositsSummary:function(){return vn},updateInstantDeposit:function(){return gn}});var r={};n.r(r),n.d(r,{getAllDepositsOverviews:function(){return bn},getDeposit:function(){return En},getDeposits:function(){return On},getDepositsCSV:function(){return Rn},getDepositsOverview:function(){return Cn},getDepositsSummary:function(){return Tn}});var o={};n.r(o),n.d(o,{getTransactions:function(){return Vn},getTransactionsError:function(){return kn},getTransactionsSummary:function(){return Fn},getTransactionsSummaryError:function(){return xn}});var a={};n.r(a),n.d(a,{updateErrorForTransactions:function(){return Bn},updateErrorForTransactionsSummary:function(){return jn},updateTransactions:function(){return zn},updateTransactionsSummary:function(){return Un}});var i={};n.r(i),n.d(i,{formatQueryFilters:function(){return Zn},getTransactions:function(){return qn},getTransactionsCSV:function(){return Wn},getTransactionsSummary:function(){return Yn}});var c={};n.r(c),n.d(c,{getCharge:function(){return Gn},getChargeError:function(){return $n}});var s={};n.r(s),n.d(s,{updateCharge:function(){return Xn},updateErrorForCharge:function(){return Jn}});var u={};n.r(u),n.d(u,{getCharge:function(){return er}});var l={};n.r(l),n.d(l,{getTimeline:function(){return rr},getTimelineError:function(){return or}});var d={};n.r(d),n.d(d,{updateErrorForTimeline:function(){return ir},updateTimeline:function(){return ar}});var p={};n.r(p),n.d(p,{getTimeline:function(){return cr}});var m={};n.r(m),n.d(m,{getCachedDispute:function(){return fr},getDispute:function(){return mr},getDisputes:function(){return hr},getDisputesSummary:function(){return yr}});var f={};n.r(f),n.d(f,{acceptDispute:function(){return Sr},updateDispute:function(){return Er},updateDisputes:function(){return Cr},updateDisputesSummary:function(){return br}});var h={};n.r(h),n.d(h,{getDispute:function(){return Tr},getDisputes:function(){return Lr},getDisputesCSV:function(){return Or},getDisputesSummary:function(){return Ar}});var y={};n.r(y),n.d(y,{getAccountBrandingLogo:function(){return io},getAccountBusinessName:function(){return Kr},getAccountBusinessSupportAddress:function(){return $r},getAccountBusinessSupportAddressCity:function(){return to},getAccountBusinessSupportAddressCountry:function(){return Xr},getAccountBusinessSupportAddressLine1:function(){return Jr},getAccountBusinessSupportAddressLine2:function(){return eo},getAccountBusinessSupportAddressPostalCode:function(){return ro},getAccountBusinessSupportAddressState:function(){return no},getAccountBusinessSupportEmail:function(){return oo},getAccountBusinessSupportPhone:function(){return ao},getAccountBusinessURL:function(){return Gr},getAccountStatementDescriptor:function(){return Qr},getAvailablePaymentMethodIds:function(){return qr},getCompletedWaitingPeriod:function(){return po},getDepositDelayDays:function(){return lo},getDepositScheduleInterval:function(){return co},getDepositScheduleMonthlyAnchor:function(){return uo},getDepositScheduleWeeklyAnchor:function(){return so},getDepositStatus:function(){return mo},getEnabledPaymentMethodIds:function(){return Zr},getIsCardPresentEligible:function(){return Oo},getIsClientSecretEncryptionEnabled:function(){return jr},getIsDebugLogEnabled:function(){return vo},getIsDevModeEnabled:function(){return yo},getIsManualCaptureEnabled:function(){return fo},getIsMultiCurrencyEnabled:function(){return go},getIsPaymentRequestEnabled:function(){return _o},getIsPlatformCheckoutEnabled:function(){return Mo},getIsSavedCardsEnabled:function(){return So},getIsSubscriptionsPluginActive:function(){return Ao},getIsTestModeEnabled:function(){return ho},getIsWCPayEnabled:function(){return Ur},getIsWCPaySubscriptionsEligible:function(){return Lo},getIsWCPaySubscriptionsEnabled:function(){return To},getPaymentMethodStatuses:function(){return Wr},getPaymentRequestButtonSize:function(){return Co},getPaymentRequestButtonTheme:function(){return bo},getPaymentRequestButtonType:function(){return Eo},getPaymentRequestLocations:function(){return wo},getPlatformCheckoutCustomMessage:function(){return Do},getPlatformCheckoutLocations:function(){return Io},getPlatformCheckoutStoreLogo:function(){return Ho},getSavingError:function(){return Ro},getSettings:function(){return zr},isSavingSettings:function(){return Yr}});var _={};n.r(_),n.d(_,{saveSettings:function(){return la},updateAccountBrandingLogo:function(){return ia},updateAccountBusinessName:function(){return ta},updateAccountBusinessSupportAddress:function(){return ra},updateAccountBusinessSupportEmail:function(){return oa},updateAccountBusinessSupportPhone:function(){return aa},updateAccountBusinessURL:function(){return na},updateAccountStatementDescriptor:function(){return ea},updateAvailablePaymentMethodIds:function(){return qo},updateDepositScheduleInterval:function(){return ca},updateDepositScheduleMonthlyAnchor:function(){return ua},updateDepositScheduleWeeklyAnchor:function(){return sa},updateEnabledPaymentMethodIds:function(){return Zo},updateIsCardPresentEligible:function(){return ko},updateIsClientSecretEncryptionEnabled:function(){return No},updateIsDebugLogEnabled:function(){return $o},updateIsManualCaptureEnabled:function(){return Ko},updateIsMultiCurrencyEnabled:function(){return Xo},updateIsPaymentRequestEnabled:function(){return jo},updateIsPlatformCheckoutEnabled:function(){return pa},updateIsSavedCardsEnabled:function(){return Vo},updateIsSavingSettings:function(){return Wo},updateIsTestModeEnabled:function(){return Go},updateIsWCPayEnabled:function(){return Uo},updateIsWCPaySubscriptionsEnabled:function(){return Jo},updatePaymentRequestButtonSize:function(){return xo},updatePaymentRequestButtonTheme:function(){return zo},updatePaymentRequestButtonType:function(){return Fo},updatePaymentRequestLocations:function(){return da},updatePlatformCheckoutCustomMessage:function(){return ma},updatePlatformCheckoutLocations:function(){return ha},updatePlatformCheckoutStoreLogo:function(){return fa},updateSelectedPaymentMethod:function(){return Yo},updateSettings:function(){return Bo},updateUnselectedPaymentMethod:function(){return Qo}});var v={};n.r(v),n.d(v,{getSettings:function(){return ya}});var g={};n.r(g),n.d(g,{getAvailableCurrencies:function(){return Oa},getCurrencies:function(){return Ra},getCurrencySettings:function(){return Aa},getDefaultCurrency:function(){return La},getEnabledCurrencies:function(){return Ta},getStoreSettings:function(){return Ma}});var w={};n.r(w),n.d(w,{submitCurrencySettings:function(){return Fa},submitEnabledCurrenciesUpdate:function(){return Na},submitStoreSettingsUpdate:function(){return xa},updateAvailableCurrencies:function(){return Ha},updateCurrencies:function(){return Da},updateCurrencySettings:function(){return Va},updateDefaultCurrency:function(){return Pa},updateEnabledCurrencies:function(){return Ia},updateStoreSettings:function(){return ka}});var E={};n.r(E),n.d(E,{getCurrencies:function(){return za},getCurrencySettings:function(){return Ba},getStoreSettings:function(){return Ua}});var C={};n.r(C),n.d(C,{getCardReaderStats:function(){return Za},getCardReaderStatsError:function(){return qa},getCardReaders:function(){return Wa}});var b={};n.r(b),n.d(b,{updateCardReaderStats:function(){return Ya},updateCardReaders:function(){return Qa},updateErrorForCardReaderStats:function(){return Ka},updateErrorForCardReaders:function(){return Ga}});var S={};n.r(S),n.d(S,{getCardReaderStats:function(){return $a},getCardReaders:function(){return Xa}});var R={};n.r(R),n.d(R,{getActiveLoanSummary:function(){return oi},getActiveLoanSummaryError:function(){return ai},getLoans:function(){return ii},getLoansError:function(){return ci}});var O={};n.r(O),n.d(O,{updateActiveLoanSummary:function(){return si},updateErrorForActiveLoanSummary:function(){return ui},updateErrorForLoans:function(){return di},updateLoans:function(){return li}});var T={};n.r(T),n.d(T,{getActiveLoanSummary:function(){return mi},getLoans:function(){return fi}});var L={};n.r(L),n.d(L,{getDocuments:function(){return Ci},getDocumentsError:function(){return bi},getDocumentsSummary:function(){return Ri},getDocumentsSummaryError:function(){return Oi}});var A={};n.r(A),n.d(A,{updateDocuments:function(){return Ti},updateDocumentsSummary:function(){return Ai},updateErrorForDocuments:function(){return Li},updateErrorForDocumentsSummary:function(){return Mi}});var M={};n.r(M),n.d(M,{formatQueryFilters:function(){return Di},getDocuments:function(){return Hi},getDocumentsSummary:function(){return Ii}});var D={};n.r(D),n.d(D,{getPaymentIntent:function(){return Fi},getPaymentIntentError:function(){return xi}});var H={};n.r(H),n.d(H,{updateErrorForPaymentIntent:function(){return Bi},updatePaymentIntent:function(){return zi}});var I={};n.r(I),n.d(I,{getPaymentIntent:function(){return Ui}});var P={};n.r(P),n.d(P,{getAuthorization:function(){return Ji},getAuthorizations:function(){return Xi},getAuthorizationsError:function(){return ec},getAuthorizationsSummary:function(){return nc},getAuthorizationsSummaryError:function(){return rc}});var V={};n.r(V),n.d(V,{submitCaptureAuthorization:function(){return sc},updateAuthorization:function(){return ic},updateAuthorizations:function(){return oc},updateAuthorizationsSummary:function(){return cc},updateErrorForAuthorizations:function(){return ac},updateErrorForAuthorizationsSummary:function(){return uc}});var k={};n.r(k),n.d(k,{getAuthorization:function(){return pc},getAuthorizations:function(){return dc},getAuthorizationsSummary:function(){return mc}});var N=window.wp.element,F=n(9196),x=n.n(F),z=window.ReactDOM,B=n.n(z);function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U.apply(this,arguments)}function j(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Z=n(4184),q=n.n(Z),W=window.lodash,Y=window.wp.deprecated,Q=n.n(Y);function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $(e,t,n){return t&&G(e.prototype,t),n&&G(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function X(e,t){return X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},X(e,t)}function J(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&X(e,t)}function ee(e){return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(e)}function te(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ne(e,t){if(t&&("object"===ee(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return te(e)}function re(e){return re=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},re(e)}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ae(e,t){if(e){if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oe(e,t):void 0}}function ie(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||ae(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ce=window.wp.dom,se=window.wp.keycodes,ue=window.wp.compose,le=window.wp.primitives,de=(0,N.createElement)(le.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,N.createElement)(le.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(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 fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(e,t,n,r,o,a,i){var c=t.width,s="rtl"===document.documentElement.dir;"left"===n&&s?n="right":"right"===n&&s&&(n="left"),"left"===r&&s?r="right":"right"===r&&s&&(r="left");var u=Math.round(e.left+e.width/2),l={popoverLeft:u,contentWidth:(u-c/2>0?c/2:u)+(u+c/2>window.innerWidth?window.innerWidth-u:c/2)},d=e.left;"right"===r?d=e.right:"middle"!==a&&(d=u);var p=e.right;"left"===r?p=e.left:"middle"!==a&&(p=u);var m,f={popoverLeft:d,contentWidth:d-c>0?c:d},h={popoverLeft:p,contentWidth:p+c>window.innerWidth?window.innerWidth-p:c},y=n,_=null;if(!o)if("center"===n&&l.contentWidth===c)y="center";else if("left"===n&&f.contentWidth===c)y="left";else if("right"===n&&h.contentWidth===c)y="right";else{var v="left"==(y=f.contentWidth>h.contentWidth?"left":"right")?f.contentWidth:h.contentWidth;_=v!==c?v:null}if(m="center"===y?l.popoverLeft:"left"===y?f.popoverLeft:h.popoverLeft,i){var g=i.getBoundingClientRect();m=Math.min(m,g.right-c)}return{xAxis:y,popoverLeft:m,contentWidth:_}}function ye(e,t,n,r,o,a,i){var c=t.height;if(o){var s=((0,ce.getScrollContainer)(a)||document.body).getBoundingClientRect().top+c-i;if(e.top<=s)return{yAxis:n,popoverTop:Math.min(e.bottom,s)}}var u=e.top+e.height/2;"bottom"===r?u=e.bottom:"top"===r&&(u=e.top);var l={popoverTop:u,contentHeight:(u-c/2>0?c/2:u)+(u+c/2>window.innerHeight?window.innerHeight-u:c/2)},d={popoverTop:e.top,contentHeight:e.top-10-c>0?c:e.top-10},p={popoverTop:e.bottom,contentHeight:e.bottom+10+c>window.innerHeight?window.innerHeight-10-e.bottom:c},m=n,f=null;if(!o)if("middle"===n&&l.contentHeight===c)m="middle";else if("top"===n&&d.contentHeight===c)m="top";else if("bottom"===n&&p.contentHeight===c)m="bottom";else{var h="top"==(m=d.contentHeight>p.contentHeight?"top":"bottom")?d.contentHeight:p.contentHeight;f=h!==c?h:null}return{yAxis:m,popoverTop:"middle"===m?l.popoverTop:"top"===m?d.popoverTop:p.popoverTop,contentHeight:f}}function _e(e){return function(e){if(Array.isArray(e))return oe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ae(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ve=(0,N.createContext)({focusHistory:[]}),ge=ve.Provider,we=ve.Consumer;ge.displayName="FocusReturnProvider",we.displayName="FocusReturnConsumer",N.Component;var Ee=(0,ue.createHigherOrderComponent)((function e(t){if((r=t)instanceof N.Component||"function"==typeof r){var n=t;return e({})(n)}var r,o=t.onFocusReturn,a=void 0===o?W.stubTrue:o;return function(e){var t=function(t){J(i,t);var n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=re(n);if(r){var o=re(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ne(this,e)});function i(){var e;return K(this,i),(e=o.apply(this,arguments)).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return $(i,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==a())for(var r,o=[].concat(_e(W.without.apply(void 0,[this.props.focus.focusHistory].concat(_e(n)))),[e]);r=o.pop();)if(document.body.contains(r))return void r.focus()}},{key:"render",value:function(){return(0,N.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},(0,N.createElement)(e,this.props.childProps))}}]),i}(N.Component);return function(e){return(0,N.createElement)(we,null,(function(n){return(0,N.createElement)(t,{childProps:e,focus:n})}))}}}),"withFocusReturn");var Ce=(0,ue.createHigherOrderComponent)((function(e){return function(t){J(a,t);var n,r,o=(n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=re(n);if(r){var o=re(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ne(this,e)});function a(){var e;return K(this,a),(e=o.apply(this,arguments)).focusContainRef=(0,N.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(te(e)),e}return $(a,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===se.TAB){var t=ce.focus.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return(0,N.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},(0,N.createElement)(e,this.props))}}]),a}(N.Component)}),"withConstrainedTabbing"),be=Ce;var Se=["button","submit"],Re=(0,ue.createHigherOrderComponent)((function(e){return function(t){J(a,t);var n,r,o=(n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=re(n);if(r){var o=re(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ne(this,e)});function a(){var e;return K(this,a),(e=o.apply(this,arguments)).bindNode=e.bindNode.bind(te(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(te(e)),e.queueBlurCheck=e.queueBlurCheck.bind(te(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(te(e)),e}return $(a,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;(0,W.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return(0,W.includes)(Se,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return(0,N.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},(0,N.createElement)(e,U({ref:this.bindNode},this.props)))}}]),a}(N.Component)}),"withFocusOutside");var Oe=function(e){J(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=re(t);if(n){var o=re(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ne(this,e)});function o(){return K(this,o),r.apply(this,arguments)}return $(o,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),o}(N.Component),Te=Re(Oe);function Le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=re(e);if(t){var o=re(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ne(this,n)}}var Ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,o=void 0===r?"lockscroll":r,a=0,i=0;function c(e){var t=n.scrollingElement||n.body;e&&(i=t.scrollTop);var r=e?"add":"remove";t.classList[r](o),n.documentElement.classList[r](o),e||(t.scrollTop=i)}function s(){0===a&&c(!0),++a}function u(){1===a&&c(!1),--a}return function(e){J(n,e);var t=Le(n);function n(){return K(this,n),t.apply(this,arguments)}return $(n,[{key:"componentDidMount",value:function(){s()}},{key:"componentWillUnmount",value:function(){u()}},{key:"render",value:function(){return null}}]),n}(N.Component)}();function Me(e){e.stopPropagation()}var De=(0,N.forwardRef)((function(e,t){var n=e.children,r=j(e,["children"]);return(0,N.createElement)("div",U({},r,{ref:t,onMouseDown:Me}),n)}));function He(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=re(e)););return e}function Ie(){return Ie="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=He(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Ie.apply(this,arguments)}window.wp.isShallowEqual;var Pe=(window.wp.warning,n(4155)),Ve=(0,N.createContext)({slots:{},fills:{},registerSlot:function(){void 0!==Pe&&Pe.env},updateSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}});var ke=(0,N.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),Ne=(ke.Provider,ke.Consumer);N.Component;var Fe=function(e){J(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=re(t);if(n){var o=re(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ne(this,e)});function o(){var e;return K(this,o),(e=r.apply(this,arguments)).isUnmounted=!1,e.bindNode=e.bindNode.bind(te(e)),e}return $(o,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){var e=this.props.unregisterSlot;this.isUnmounted=!0,e(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,o=t.registerSlot;e.name!==n&&(r(e.name),o(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"forceUpdate",value:function(){this.isUnmounted||Ie(re(o.prototype),"forceUpdate",this).call(this)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.fillProps,o=void 0===r?{}:r,a=e.getFills,i=(0,W.map)(a(n,this),(function(e){var t=e.occurrence,n=(0,W.isFunction)(e.children)?e.children(o):e.children;return N.Children.map(n,(function(e,n){if(!e||(0,W.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return(0,N.cloneElement)(e,{key:r})}))})).filter((0,W.negate)(N.isEmptyElement));return(0,N.createElement)(N.Fragment,null,(0,W.isFunction)(t)?t(i):i)}}]),o}(N.Component),xe=function(e){return(0,N.createElement)(Ne,null,(function(t){var n=t.registerSlot,r=t.unregisterSlot,o=t.getFills;return(0,N.createElement)(Fe,U({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}))},ze=0;function Be(e){var t=e.name,n=e.children,r=e.registerFill,o=e.unregisterFill,a=function(e){var t=(0,N.useContext)(ke),n=t.getSlot,r=t.subscribe,o=ie((0,N.useState)(n(e)),2),a=o[0],i=o[1];return(0,N.useEffect)((function(){return i(n(e)),r((function(){i(n(e))}))}),[e]),a}(t),i=(0,N.useRef)({name:t,children:n});return i.current.occurrence||(i.current.occurrence=++ze),(0,N.useLayoutEffect)((function(){return r(t,i.current),function(){return o(t,i.current)}}),[]),(0,N.useLayoutEffect)((function(){i.current.children=n,a&&a.forceUpdate()}),[n]),(0,N.useLayoutEffect)((function(){t!==i.current.name&&(o(i.current.name,i.current),i.current.name=t,r(t,i.current))}),[t]),a&&a.node?((0,W.isFunction)(n)&&(n=n(a.props.fillProps)),(0,N.createPortal)(n,a.node)):null}var Ue=function(e){return(0,N.createElement)(Ne,null,(function(t){var n=t.registerFill,r=t.unregisterFill;return(0,N.createElement)(Be,U({},e,{registerFill:n,unregisterFill:r}))}))};function je(e){var t=e.name,n=e.fillProps,r=void 0===n?{}:n,o=e.as,a=void 0===o?"div":o,i=j(e,["name","fillProps","as"]),c=(0,N.useContext)(Ve),s=(0,N.useRef)();return(0,N.useLayoutEffect)((function(){return c.registerSlot(t,s,r),function(){c.unregisterSlot(t,s)}}),[c.registerSlot,c.unregisterSlot,t]),(0,N.useLayoutEffect)((function(){c.updateSlot(t,r)})),(0,N.createElement)(a,U({ref:s},i))}function Ze(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 qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(n),!0).forEach((function(t){pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function We(e){var t=(0,N.useContext)(Ve),n=t.slots[e]||{},r=t.fills[e],o=(0,N.useMemo)((function(){return r||[]}),[r]),a=(0,N.useCallback)((function(n){t.updateSlot(e,n)}),[e,t.updateSlot]),i=(0,N.useCallback)((function(n){t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),c=(0,N.useCallback)((function(n){t.registerFill(e,n)}),[e,t.registerFill]),s=(0,N.useCallback)((function(n){t.unregisterFill(e,n)}),[e,t.unregisterFill]);return qe(qe({},n),{},{updateSlot:a,unregisterSlot:i,fills:o,registerFill:c,unregisterFill:s})}function Ye(e){var t,n=e.name,r=e.children,o=We(n),a=(0,N.useRef)({rerender:(t=ie((0,N.useState)({}),2)[1],function(){return t({})})});return(0,N.useEffect)((function(){return o.registerFill(a),function(){o.unregisterFill(a)}}),[o.registerFill,o.unregisterFill]),o.ref&&o.ref.current?("function"==typeof r&&(r=r(o.fillProps)),(0,N.createPortal)(r,o.ref.current)):null}function Qe(e){var t=e.bubblesVirtually,n=j(e,["bubblesVirtually"]);return t?(0,N.createElement)(je,n):(0,N.createElement)(xe,n)}function Ke(e){return(0,N.createElement)(N.Fragment,null,(0,N.createElement)(Ue,e),(0,N.createElement)(Ye,e))}function Ge(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 $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach((function(t){pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xe(e){var t=e.type,n=e.origin,r=void 0===n?function(e){return"appear"===e?"top":"left"}(t):n;if("appear"===t){var o,a=ie(r.split(" "),2),i=a[0],c=a[1],s=void 0===c?"center":c;return q()("components-animate__appear",(pe(o={},"is-from-"+s,"center"!==s),pe(o,"is-from-"+i,"middle"!==i),o))}return"slide-in"===t?q()("components-animate__slide-in","is-from-"+r):"loading"===t?q()("components-animate__loading"):void 0}function Je(e){var t=e.type,n=e.options,r=void 0===n?{}:n;return(0,e.children)({className:Xe($e({type:t},r))})}var et=be(Ee((function(e){return e.children}))),tt="Popover";function nt(e,t){var n,r=(n=t).ownerDocument.defaultView.getComputedStyle(n),o=r.paddingTop,a=r.paddingBottom,i=r.paddingLeft,c=r.paddingRight,s=o?parseInt(o,10):0,u=a?parseInt(a,10):0,l=i?parseInt(i,10):0,d=c?parseInt(c,10):0;return{x:e.left+l,y:e.top+s,width:e.width-l-d,height:e.height-s-u,left:e.left+l,right:e.right-d,top:e.top+s,bottom:e.bottom-u}}function rt(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function ot(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function at(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var it=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,o=e.children,a=e.className,i=e.noArrow,c=void 0===i||i,s=e.isAlternate,u=e.position,l=void 0===u?"bottom right":u,d=(e.range,e.focusOnMount),p=void 0===d?"firstElement":d,m=e.anchorRef,f=e.shouldAnchorIncludePadding,h=e.anchorRect,y=e.getAnchorRect,_=e.expandOnMobile,v=e.animate,g=void 0===v||v,w=e.onClickOutside,E=e.onFocusOutside,C=e.__unstableSticky,b=e.__unstableSlotName,S=void 0===b?tt:b,R=e.__unstableObserveElement,O=e.__unstableBoundaryParent,T=j(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","isAlternate","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableObserveElement","__unstableBoundaryParent"]),L=(0,N.useRef)(null),A=(0,N.useRef)(null),M=(0,N.useRef)(),D=(0,ue.useViewportMatch)("medium","<"),H=ie((0,N.useState)(),2),I=H[0],P=H[1],V=We(S),k=_&&D,F=ie((0,ue.useResizeObserver)(),2),x=F[0],z=F[1];c=k||c,(0,N.useLayoutEffect)((function(){if(k)return at(M.current,"is-without-arrow",c),at(M.current,"is-alternate",s),rt(M.current,"data-x-axis"),rt(M.current,"data-y-axis"),ot(M.current,"top"),ot(M.current,"left"),ot(A.current,"maxHeight"),void ot(A.current,"maxWidth");var e=function(){if(M.current&&A.current){var e=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(n){if(!e.current)return;return n(e.current)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if(r instanceof window.Range)return(0,ce.getRectangleFromRange)(r);if(r instanceof window.Element){var a=r.getBoundingClientRect();return o?a:nt(a,r)}var i=r.top,c=r.bottom,s=i.getBoundingClientRect(),u=c.getBoundingClientRect(),l=new window.DOMRect(s.left,s.top,s.width,u.bottom-s.top);return o?l:nt(l,r)}if(e.current){var d=e.current.parentNode,p=d.getBoundingClientRect();return o?p:nt(p,d)}}(L,h,y,m,f);if(e){var t,n,r=M.current,o=r.offsetParent,a=r.ownerDocument,i=0;if(o&&o!==a.body){var u=o.getBoundingClientRect();i=u.top,e=new window.DOMRect(e.left-u.left,e.top-u.top,e.width,e.height)}O&&(t=null===(n=M.current.closest(".popover-slot"))||void 0===n?void 0:n.parentNode);var d=function(e,t){var n=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,i=ie((arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top").split(" "),3),c=i[0],s=i[1],u=void 0===s?"center":s,l=i[2],d=ye(e,t,c,l,n,r,o);return fe(fe({},he(e,t,u,l,n,d.yAxis,a)),d)}(e,z.height?z:A.current.getBoundingClientRect(),l,C,M.current,i,t),p=d.popoverTop,_=d.popoverLeft,v=d.xAxis,g=d.yAxis,w=d.contentHeight,E=d.contentWidth;"number"==typeof p&&"number"==typeof _&&(ot(M.current,"top",p+"px"),ot(M.current,"left",_+"px")),at(M.current,"is-without-arrow",c||"center"===v&&"middle"===g),at(M.current,"is-alternate",s),rt(M.current,"data-x-axis",v),rt(M.current,"data-y-axis",g),ot(A.current,"maxHeight","number"==typeof w?w+"px":""),ot(A.current,"maxWidth","number"==typeof E?E+"px":""),P(({left:"right",right:"left"}[v]||"center")+" "+({top:"bottom",bottom:"top"}[g]||"middle"))}}};e();var t,n,r=window.setInterval(e,500),o=function(){window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e)};return window.addEventListener("click",o),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),R&&(n=new window.MutationObserver(e)).observe(R,{attributes:!0}),function(){window.clearInterval(r),window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0),window.removeEventListener("click",o),window.cancelAnimationFrame(t),n&&n.disconnect()}}),[k,h,y,m,f,l,z,C,R,O]),function(e,t){(0,N.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=ce.focus.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(p,A);var B=function(e){e.keyCode===se.ESCAPE&&n&&(e.stopPropagation(),n()),r&&r(e)},Z=(0,N.createElement)(Te,{onFocusOutside:function(e){if(E)E(e);else if(w){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),Q()("Popover onClickOutside prop",{alternative:"onFocusOutside"}),w(t)}else n&&n()}},(0,N.createElement)(Je,{type:g&&I?"appear":null,options:{origin:I}},(function(e){var r=e.className;return(0,N.createElement)(De,U({className:q()("components-popover",a,r,{"is-expanded":k,"is-without-arrow":c,"is-alternate":s})},T,{onKeyDown:B,ref:M}),k&&(0,N.createElement)(Ae,null),k&&(0,N.createElement)("div",{className:"components-popover__header"},(0,N.createElement)("span",{className:"components-popover__header-title"},t),(0,N.createElement)(_t,{className:"components-popover__close",icon:de,onClick:n})),(0,N.createElement)("div",{ref:A,className:"components-popover__content",tabIndex:"-1"},(0,N.createElement)("div",{style:{position:"relative"}},x,o)))})));return p&&(Z=(0,N.createElement)(et,null,Z)),V.ref&&(Z=(0,N.createElement)(Ke,{name:S},Z)),m||h?Z:(0,N.createElement)("span",{ref:L},Z)};it.Slot=function(e){var t=e.name,n=void 0===t?tt:t;return(0,N.createElement)(Qe,{bubblesVirtually:!0,name:n,className:"popover-slot"})};var ct=it,st=function(e){var t,n,r=e.shortcut,o=e.className;return r?((0,W.isString)(r)&&(t=r),(0,W.isObject)(r)&&(t=r.display,n=r.ariaLabel),(0,N.createElement)("span",{className:o,"aria-label":n},t)):null};var ut=function(e){J(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=re(t);if(n){var o=re(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ne(this,e)});function o(){var e;return K(this,o),(e=r.apply(this,arguments)).delayedSetIsOver=(0,W.debounce)((function(t){return e.setState({isOver:t})}),700),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return $(o,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===N.Children.count(n)){var r=N.Children.only(n);"function"==typeof r.props[e]&&r.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(r){if(n.emitToChild(e,r),!(r.currentTarget.disabled||"focus"===r.type&&n.isInMouseDown)){n.delayedSetIsOver.cancel();var o=(0,W.includes)(["focus","mouseenter"],r.type);o!==n.state.isOver&&(t?n.delayedSetIsOver(o):n.setState({isOver:o}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(n){t.emitToChild(e?"onMouseDown":"onMouseUp",n),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,r=e.text,o=e.shortcut;if(1!==N.Children.count(t))return t;var a=N.Children.only(t),i=this.state.isOver;return(0,N.cloneElement)(a,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:(0,N.concatChildren)(a.props.children,i&&(0,N.createElement)(ct,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},r,(0,N.createElement)(st,{className:"components-tooltip__shortcut",shortcut:o})))})}}]),o}(N.Component),lt=ut,dt=function(e){var t=e.icon,n=e.className,r=j(e,["icon","className"]),o=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" ");return(0,N.createElement)("span",U({className:o},r))};function pt(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 mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(n),!0).forEach((function(t){pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ft=function(e){var t=e.icon,n=void 0===t?null:t,r=e.size,o=j(e,["icon","size"]);if("string"==typeof n)return(0,N.createElement)(dt,U({icon:n},o));if(n&&dt===n.type)return(0,N.cloneElement)(n,mt({},o));var a=r||24;if("function"==typeof n)return n.prototype instanceof N.Component?(0,N.createElement)(n,mt({size:a},o)):n(mt({size:a},o));if(n&&("svg"===n.type||n.type===le.SVG)){var i=mt(mt({width:a,height:a},n.props),o);return(0,N.createElement)(le.SVG,i)}return(0,N.isValidElement)(n)?(0,N.cloneElement)(n,mt({size:a},o)):n};function ht(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var yt=["onMouseDown","onClick"],_t=(0,N.forwardRef)((function(e,t){var n=e.href,r=e.target,o=e.isPrimary,a=e.isSmall,i=e.isTertiary,c=e.isPressed,s=e.isBusy,u=e.isDefault,l=e.isSecondary,d=e.isLink,p=e.isDestructive,m=e.className,f=e.disabled,h=e.icon,y=e.iconSize,_=e.showTooltip,v=e.tooltipPosition,g=e.shortcut,w=e.label,E=e.children,C=e.__experimentalIsFocusable,b=j(e,["href","target","isPrimary","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconSize","showTooltip","tooltipPosition","shortcut","label","children","__experimentalIsFocusable"]);u&&Q()("Button isDefault prop",{alternative:"isSecondary"});var S=q()("components-button",m,{"is-secondary":u||l,"is-primary":o,"is-small":a,"is-tertiary":i,"is-pressed":c,"is-busy":s,"is-link":d,"is-destructive":p,"has-text":!!h&&!!E,"has-icon":!!h}),R=f&&!C,O=void 0===n||R?"button":"a",T="a"===O?{href:n,target:r}:{type:"button",disabled:R,"aria-pressed":c};if(f&&C){T["aria-disabled"]=!0;var L,A=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ht(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ht(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw a}}}}(yt);try{for(A.s();!(L=A.n()).done;)b[L.value]=function(e){e.stopPropagation(),e.preventDefault()}}catch(e){A.e(e)}finally{A.f()}}var M=!R&&(_&&w||g||!!w&&(!E||(0,W.isArray)(E)&&!E.length)&&!1!==_),D=(0,N.createElement)(O,U({},T,b,{className:S,"aria-label":b["aria-label"]||w,ref:t}),h&&(0,N.createElement)(ft,{icon:h,size:y}),E);return M?(0,N.createElement)(lt,{text:w,shortcut:g,position:v},D):D})),vt=window.wp.i18n,gt=n(6746),wt=window.wp.data,Et=window.wp.dataControls;const Ct="wc/payments";var bt="SET_DEPOSIT",St="SET_DEPOSITS_OVERVIEW",Rt="SET_ERROR_FOR_DEPOSITS_OVERVIEW",Ot="SET_DEPOSITS",Tt="SET_DEPOSITS_COUNT",Lt="SET_ERROR_FOR_DEPOSIT_QUERY",At="SET_DEPOSITS_SUMMARY",Mt="SET_ERROR_FOR_DEPOSITS_SUMMARY",Dt="SET_INSTANT_DEPOSIT",Ht="SET_ALL_DEPOSITS_OVERVIEWS",It="SET_ERROR_FOR_ALL_DEPOSITS_OVERVIEWS";const Pt=e=>JSON.stringify(e,Object.keys(e).sort()),Vt={byId:{},queries:{},count:0,instant:{}};const kt=e=>e&&e.deposits||{},Nt=(e,t)=>(kt(e).byId||{})[t],Ft=e=>(kt(e).overview||{}).data,xt=e=>(kt(e).overview||{}).error,zt=e=>{const t=kt(e).overviews||{};if(!t.data)return{account:null,currencies:[]};const{deposit:n,balance:r,account:o}=t.data,a={lastPaid:n.last_paid,nextScheduled:n.next_scheduled,pending:r.pending,available:r.available,instant:r.instant},i={};for(const[e,t]of Object.entries(a))null==t||t.forEach((t=>{const{currency:n}=t;i[n]||(i[n]={currency:n,lastPaid:void 0,nextScheduled:void 0,pending:void 0,available:void 0,instant:void 0}),i[n][e]=t}));const c=Object.values(i);return{account:o,currencies:[...c.filter((e=>o.default_currency===e.currency)),...c.filter((e=>o.default_currency!==e.currency))]}},Bt=e=>(kt(e).overviews||{}).error,Ut=(e,t)=>{const n=Pt(t);return(kt(e).queries||{})[n]||{}},jt=(e,t)=>(Ut(e,t).data||[]).map(Nt.bind(void 0,e)),Zt=e=>kt(e).count,qt=(e,t)=>Ut(e,t).error||{},Wt=(e,t)=>{const n=Pt(t);return(kt(e).summary||{})[n]||{}},Yt=(e,t)=>Wt(e,t).data||{},Qt=(e,t)=>Wt(e,t).error||{},Kt=e=>(kt(e).instant||{}).data;var Gt=window.wc.currency,$t=n.n(Gt);(0,vt.__)("Australian dollar","woocommerce-payments"),(0,vt.__)("Canadian dollar","woocommerce-payments"),(0,vt.__)("Swiss franc","woocommerce-payments"),(0,vt.__)("Danish krone","woocommerce-payments"),(0,vt.__)("Euro","woocommerce-payments"),(0,vt.__)("Pound sterling","woocommerce-payments"),(0,vt.__)("Norwegian krone","woocommerce-payments"),(0,vt.__)("New Zealand dollar","woocommerce-payments"),(0,vt.__)("Swedish krona","woocommerce-payments"),(0,vt.__)("United States (US) dollar","woocommerce-payments");const Xt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const{currencyData:n,connect:{country:r="US"}}=wcpaySettings,o=(0,W.find)(n,{code:e.toUpperCase()});if(o){if(null!==t&&t.toUpperCase()!==e.toUpperCase()||n[r]){const e=t?(0,W.find)(n,{code:t.toUpperCase()}):n[r];e&&(o.decimalSeparator=e.decimalSeparator,o.thousandSeparator=e.thousandSeparator,o.symbolPosition=e.symbolPosition,0!==o.precision&&(o.precision=e.precision))}return new($t())(o)}return null},Jt=e=>wcpaySettings.zeroDecimalCurrencies.includes(e.toLowerCase());function en(e,t,n){try{return e.toLocaleString(void 0,{style:"currency",currency:t,currencyDisplay:"narrowSymbol",dummy:n})}catch(r){return(0,vt.sprintf)(n?"%s %i":"%s %.2f",t.toUpperCase(),e)}}function tn(e){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}var nn=window.wp.url,rn=window.moment,on=n.n(rn),an=window.wp.date;window.wc.number;const cn=e=>(0,nn.addQueryArgs)("admin.php",e),sn=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=t?on()(e).endOf("day").utc().toISOString():on()(e).startOf("day").utc().toISOString();return e&&(0,an.dateI18n)("Y-m-d H:i:s",n,!0)};function un(e){return{type:bt,data:e}}function ln(e){return{type:St,data:e}}function dn(e,t){return{type:Rt,error:t}}function pn(e){return{type:Ht,data:e}}function mn(e,t){return{type:It,error:t}}function fn(e,t){return{type:Ot,query:e,data:t}}function hn(e){return{type:Tt,data:e}}function yn(e,t,n){return{type:Lt,query:e,data:t,error:n}}function _n(e,t){return{type:At,query:e,data:t}}function vn(e,t,n){return{type:Mt,query:e,data:t,error:n}}function gn(e){return{type:Dt,data:e}}function*wn(e){try{yield(0,wt.dispatch)(Ct).startResolution("getInstantDeposit",[e]);const t=yield(0,Et.apiFetch)({path:"/wc/v3/payments/deposits",method:"POST",data:{type:"instant",transaction_ids:e}});yield gn(t),yield(0,wt.dispatch)(Ct).invalidateResolutionForStoreSelector("getDeposits"),yield(0,wt.dispatch)(Ct).invalidateResolutionForStoreSelector("getDepositsOverview"),yield(0,wt.dispatch)("core/notices").createSuccessNotice((0,vt.sprintf)((0,vt.__)("Instant deposit for %s in transit.","woocommerce-payments"),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const r=Jt(t);r||(e/=100);const o=Xt(t,n);if(null===o)return en(e,t,r);try{return"function"==typeof o.formatAmount?tn(o.formatAmount(e)):tn(o.formatCurrency(e))}catch(n){return tn(en(e,t,r))}}(t.amount)),{actions:[{label:(0,vt.__)("View details","woocommerce-payments"),url:cn({page:"wc-admin",path:"/payments/deposits/details",id:t.id})}]})}catch{yield(0,wt.dispatch)("core/notices").createErrorNotice((0,vt.__)("Error creating instant deposit.","woocommerce-payments"))}finally{yield(0,wt.dispatch)(Ct).finishResolution("getInstantDeposit",[e])}}function*En(e){const t=(0,nn.addQueryArgs)(`/wc/v3/payments/deposits/${e}`);try{const e=yield(0,Et.apiFetch)({path:t});yield un(e)}catch(e){yield(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving deposit.","woocommerce-payments"))}}function*Cn(){const e=(0,nn.addQueryArgs)("/wc/v3/payments/deposits/overview");try{const t=yield(0,Et.apiFetch)({path:e});yield ln(t)}catch(e){yield(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving deposits overview.","woocommerce-payments")),yield dn()}}function*bn(){const e=(0,nn.addQueryArgs)("/wc/v3/payments/deposits/overview-all");try{const t=yield(0,Et.apiFetch)({path:e});yield pn(t)}catch(e){yield(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving all deposits' overviews.","woocommerce-payments")),yield mn()}}const Sn=e=>({user_email:e.userEmail,match:e.match,store_currency_is:e.storeCurrencyIs,date_before:sn(e.dateBefore,!0),date_after:sn(e.dateAfter),date_between:e.dateBetween&&[sn(e.dateBetween[0]),sn(e.dateBetween[1],!0)],status_is:e.statusIs,status_is_not:e.statusIsNot});function Rn(e){return(0,nn.addQueryArgs)("/wc/v3/payments/deposits/download",Sn(e))}function*On(e){const t=(0,nn.addQueryArgs)("/wc/v3/payments/deposits",{page:e.paged,pagesize:e.perPage,sort:e.orderby,direction:e.order,...Sn(e)});try{const n=yield(0,Et.apiFetch)({path:t})||{};yield fn(e,n.data),yield hn(n.total_count);for(const e in n.data)yield(0,Et.dispatch)(Ct,"finishResolution","getDeposit",[n.data[e].id])}catch(t){yield(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving deposits.","woocommerce-payments")),yield yn(e,null,t)}}function*Tn(e){const t=(0,nn.addQueryArgs)("/wc/v3/payments/deposits/summary",Sn(e));try{const n=yield(0,Et.apiFetch)({path:t});yield _n(e,n)}catch(t){yield vn(e,null,t)}}var Ln="SET_TRANSACTIONS",An="SET_ERROR_FOR_TRANSACTIONS",Mn="SET_TRANSACTIONS_SUMMARY",Dn="SET_ERROR_FOR_TRANSACTIONS_SUMMARY";const Hn={summary:{}};const In=e=>e&&e.transactions||{},Pn=(e,t)=>{const n=Pt(t);return In(e)[n]||{}},Vn=(e,t)=>Pn(e,t).data||[],kn=(e,t)=>Pn(e,t).error||{},Nn=(e,t)=>{const n=Pt(t);return In(e).summary[n]||{}},Fn=(e,t)=>Nn(e,t).data||{},xn=(e,t)=>Nn(e,t).error||{};function zn(e,t){return{type:Ln,query:e,data:t}}function Bn(e,t,n){return{type:An,query:e,data:t,error:n}}function Un(e,t){return{type:Mn,query:e,data:t}}function jn(e,t,n){return{type:Dn,query:e,data:t,error:n}}const Zn=e=>({user_email:e.userEmail,match:e.match,date_before:sn(e.dateBefore,!0),date_after:sn(e.dateAfter),date_between:e.dateBetween&&[sn(e.dateBetween[0]),sn(e.dateBetween[1],!0)],type_is:e.typeIs,type_is_not:e.typeIsNot,store_currency_is:e.storeCurrencyIs,loan_id_is:e.loanIdIs,deposit_id:e.depositId,customer_currency_is:e.customerCurrencyIs,customer_currency_is_not:e.customerCurrencyIsNot,search:e.search,user_timezone:on()(new Date).format("Z")});function*qn(e){const t=(0,nn.addQueryArgs)("/wc/v3/payments/transactions",{page:e.paged,pagesize:e.perPage,sort:e.orderby,direction:e.order,...Zn(e)});try{const n=yield(0,Et.apiFetch)({path:t});yield zn(e,n.data||[])}catch(t){yield(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving transactions.","woocommerce-payments")),yield Bn(e,null,t)}}function Wn(e){return(0,nn.addQueryArgs)("/wc/v3/payments/transactions/download",Zn(e))}function*Yn(e){const t=(0,nn.addQueryArgs)("/wc/v3/payments/transactions/summary",Zn(e));try{const n=yield(0,Et.apiFetch)({path:t});yield Un(e,n)}catch(t){yield jn(e,null,t)}}var Qn="SET_CHARGE",Kn="SET_ERROR_FOR_CHARGE";const Gn=(e,t)=>e.charges[t]&&e.charges[t].data?e.charges[t].data:{},$n=(e,t)=>e.charges[t]&&e.charges[t].error?e.charges[t].error:{};function Xn(e,t){return{type:Qn,id:e,data:t}}function Jn(e,t,n){return{type:Kn,id:e,data:t,error:n}}function*er(e){try{const t=yield(0,Et.apiFetch)({path:`/wc/v3/payments/charges/${e}`});yield Xn(e,t)}catch(t){yield(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving transaction.","woocommerce-payments")),yield Jn(e,null,t)}}var tr="SET_TIMELINE",nr="SET_ERROR_FOR_TIMELINE";const rr=(e,t)=>e.timeline&&e.timeline[t]&&e.timeline[t].data?e.timeline[t].data:{},or=(e,t)=>e.timeline&&e.timeline[t]&&e.timeline[t].error?e.timeline[t].error:{};function ar(e,t){return{id:e,type:tr,data:t}}function ir(e,t){return{id:e,type:nr,error:t}}function*cr(e){try{const t=yield(0,Et.apiFetch)({path:`/wc/v3/payments/timeline/${e}`});yield ar(e,t.data)}catch(t){yield ir(e,t)}}var sr="SET_DISPUTE",ur="SET_DISPUTES",lr="SET_DISPUTES_SUMMARY";const dr={byId:{},queries:{},summary:{},cached:{}};const pr=e=>e&&e.disputes||{},mr=(e,t)=>(pr(e).byId||{})[t],fr=(e,t)=>(pr(e).cached||{})[t],hr=(e,t)=>{const n=((e,t)=>{const n=Pt(t);return(pr(e).queries||{})[n]||{}})(e,t).data||[];return n.map(fr.bind(void 0,e))},yr=(e,t)=>((e,t)=>{const n=Pt(t);return(pr(e).summary||{})[n]||{}})(e,t).data||{};var _r=window.wp.domReady,vr=n.n(_r);var gr=function(e,t){vr()((()=>{var n,r,o;(null!==(n=null===(r=window.wc)||void 0===r||null===(o=r.tracks)||void 0===o?void 0:o.recordEvent)&&void 0!==n?n:window.wcTracks.recordEvent)(e,t)}))},wr={CONNECT_ACCOUNT_CLICKED:"wcpay_connect_account_clicked",CONNECT_ACCOUNT_VIEW:"page_view",CONNECT_ACCOUNT_LEARN_MORE:"wcpay_welcome_learn_more",CONNECT_ACCOUNT_STRIPE_CONNECTED:"wcpay_stripe_connected",CONNECT_ACCOUNT_KYC_MODAL_OPENED:"wcpay_connect_account_kyc_modal_opened",MULTI_CURRENCY_ENABLED_CURRENCIES_UPDATED:"wcpay_multi_currency_enabled_currencies_updated",PAYMENT_REQUEST_SETTINGS_CHANGE:"wcpay_payment_request_settings_change",SUBSCRIPTIONS_EMPTY_STATE_VIEW:"wcpay_subscriptions_empty_state_view",SUBSCRIPTIONS_EMPTY_STATE_FINISH_SETUP:"wcpay_subscriptions_empty_state_finish_setup",SUBSCRIPTIONS_EMPTY_STATE_CREATE_PRODUCT:"wcpay_subscriptions_empty_state_create_product",SUBSCRIPTIONS_ACCOUNT_NOT_CONNECTED_PRODUCT_MODAL_VIEW:"wcpay_subscriptions_account_not_connected_product_modal_view",SUBSCRIPTIONS_ACCOUNT_NOT_CONNECTED_PRODUCT_MODAL_FINISH_SETUP:"wcpay_subscriptions_account_not_connected_product_modal_finish_setup",SUBSCRIPTIONS_ACCOUNT_NOT_CONNECTED_PRODUCT_MODAL_DISMISS:"wcpay_subscriptions_account_not_connected_product_modal_dismiss",PLATFORM_CHECKOUT_OFFERED:"platform_checkout_offered",PLATFORM_CHECKOUT_OTP_START:"platform_checkout_otp_prompt_start",PLATFORM_CHECKOUT_OTP_COMPLETE:"platform_checkout_otp_prompt_complete",PLATFORM_CHECKOUT_OTP_FAILED:"platform_checkout_otp_prompt_failed",PLATFORM_CHECKOUT_AUTO_REDIRECT:"platform_checkout_auto_redirect",PLATFORM_CHECKOUT_SKIPPED:"platform_checkout_skipped",PLATFORM_CHECKOUT_EXPRESS_BUTTON_OFFERED:"platform_checkout_express_button_offered",PLATFORM_CHECKOUT_EXPRESS_BUTTON_CLICKED:"platform_checkout_express_button_clicked"};function Er(e){return{type:sr,data:e}}function Cr(e,t){return{type:ur,query:e,data:t}}function br(e,t){return{type:lr,query:e,data:t}}function*Sr(e){try{yield(0,Et.dispatch)(Ct,"startResolution","getDispute",[e]);const t=yield(0,Et.apiFetch)({path:`/wc/v3/payments/disputes/${e}/close`,method:"post"});yield Er(t),yield(0,Et.dispatch)(Ct,"finishResolution","getDispute",[e]),window.location.replace(cn({page:"wc-admin",path:"/payments/disputes",filter:"awaiting_response"})),gr("wcpay_dispute_accept_success");const n=t.order?(0,vt.sprintf)((0,vt.__)("You have accepted the dispute for order #%s.","woocommerce-payments"),t.order.number):(0,vt.__)("You have accepted the dispute.","woocommerce-payments");yield(0,Et.dispatch)("core/notices","createSuccessNotice",n)}catch(e){const t=(0,vt.__)("There has been an error accepting the dispute. Please try again later.","woocommerce-payments");gr("wcpay_dispute_accept_failed"),yield(0,Et.dispatch)("core/notices","createErrorNotice",t)}}const Rr=e=>({user_email:e.userEmail,match:e.match,store_currency_is:e.storeCurrencyIs,date_before:sn(e.dateBefore,!0),date_after:sn(e.dateAfter),date_between:e.dateBetween&&[sn(e.dateBetween[0]),sn(e.dateBetween[1],!0)],search:e.search,status_is:e.statusIs,status_is_not:e.statusIsNot});function Or(e){return(0,nn.addQueryArgs)("/wc/v3/payments/disputes/download",Rr(e))}function*Tr(e){const t=(0,nn.addQueryArgs)(`/wc/v3/payments/disputes/${e}`);try{const e=yield(0,Et.apiFetch)({path:t});yield Er(e)}catch(e){yield(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving dispute.","woocommerce-payments"))}}function*Lr(e){const t=(0,nn.addQueryArgs)("/wc/v3/payments/disputes",{page:e.paged,pagesize:e.perPage,sort:(0,W.snakeCase)(e.orderBy),direction:e.order,...Rr(e)});try{const n=yield(0,Et.apiFetch)({path:t})||{};yield Cr(e,n.data)}catch(e){yield(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving disputes.","woocommerce-payments"))}}function*Ar(e){const t=(0,nn.addQueryArgs)("/wc/v3/payments/disputes/summary",{page:e.paged,pagesize:e.perPage,...Rr(e)});try{const n=yield(0,Et.apiFetch)({path:t});yield br(e,n)}catch(e){yield(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving the summary of disputes.","woocommerce-payments"))}}(0,vt.__)("Bank cannot process","woocommerce-payments"),(0,vt.__)("Check returned","woocommerce-payments"),(0,vt.__)("Credit not processed","woocommerce-payments"),(0,vt.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,vt.__)("If your customer was not refunded appropriately, you will need to accept the dispute, or resolve the issue with your customer. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,vt.__)("The customer claims that the purchased product was returned or the transaction was otherwise canceled, but you have not yet provided a refund or credit.","woocommerce-payments"),(0,vt.__)("Demonstrate that you have refunded your customer through other means or that your customer is not entitled to a refund. You cannot issue a refund while a payment is being disputed. If you believe that your customer was entitled a refund that you did not provide, you can accept the dispute.","woocommerce-payments"),(0,vt.__)("You should first get in touch with your customer. If you understand what their complaint is, there is a chance for you to explain the misunderstanding or to make it right. If you’re able to resolve the issue with your customer, you can ask that they withdraw the dispute.","woocommerce-payments"),(0,vt.__)("If the cardholder agrees to withdraw the dispute, you should still submit evidence for the dispute using the forms on the next screen. In addition to the following evidence, your submission should include correspondence with the cardholder saying they would withdraw the dispute and a written statement from their card issuer confirming that the dispute has been withdrawn.","woocommerce-payments"),(0,vt.__)("Customer initiated","woocommerce-payments"),(0,vt.__)("Debit not authorized","woocommerce-payments"),(0,vt.__)("Duplicate","woocommerce-payments"),(0,vt.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,vt.__)("If there were duplicate payments, you should accept the dispute. You cannot issue a refund while a payment is being disputed. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,vt.__)("The customer claims they were charged multiple times for the same product or service.","woocommerce-payments"),(0,vt.__)("Demonstrate that each payment was for a separate product or service.","woocommerce-payments"),(0,vt.__)("Determine if your customer was incorrectly charged multiple times.","woocommerce-payments"),(0,vt.__)("If they were not, collect any and all information documenting that each payment was made separately, such as copies of receipts. If the receipts don’t include the items purchased, be sure to include an itemized list. Each receipt should clearly indicate that the payments are for separate purchases of items or services. If you’ve been able to get in touch with the customer you should be sure to address any concerns they had in your evidence.","woocommerce-payments"),(0,vt.__)("If there have been two or more separate payments, you should get in touch with your customer. If you understand what their complaint is, there is a chance for you to explain the misunderstanding or to make it right. If you’re able to resolve the issue with your customer, you can ask that they withdraw the dispute.","woocommerce-payments"),(0,vt.__)("Even if your customer agrees to withdraw the dispute, you must still submit appropriate evidence using the forms on the next screen. Simply saying that your customer is going to withdraw the dispute is not sufficient evidence.","woocommerce-payments"),(0,vt.__)("Fraudulent","woocommerce-payments"),(0,vt.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,vt.__)("If you believe the payment was actually made using a stolen credit card, you will need to accept the dispute. The credit card networks place liability for accepting fraudulent payments with you, the business.","woocommerce-payments"),(0,vt.__)("This is the most common reason for a dispute, and happens when a cardholder claims that they didn’t authorize the payment. This can happen if the card was lost or stolen and used to make a fraudulent purchase. It can also happen if the cardholder doesn’t recognize the payment as it appears on the billing statement from their card issuer.","woocommerce-payments"),(0,vt.__)("Provide adequate payment and order details so that a legitimate customer recognizes it, or proves to the card issuer that their cardholder authorized the transaction.","woocommerce-payments"),(0,vt.__)("Try to get in touch with your customer. Sometimes people forget about payments they make or don’t recognize the way they appear on their card statement. If this is the case, ask them to contact their card issuer and let them know they no longer dispute the transaction.","woocommerce-payments"),(0,vt.__)("Even if your customer agrees to withdraw the dispute, you must still submit appropriate evidence using the forms on the next screen. Simply saying that your customer is going to withdraw the dispute is not sufficient evidence.","woocommerce-payments"),(0,vt.__)("It may be more efficient—and provide a better customer experience—to accept an accidental dispute and charge the customer again, if appropriate. Even when a dispute is withdrawn, it usually takes approximately 75 days to be finalized. Remember, it doesn’t matter to the card networks whether you win or lose a dispute; what matters is how many disputes a business receives, regardless of how many disputes are won.","woocommerce-payments"),(0,vt.__)("General","woocommerce-payments"),(0,vt.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,vt.__)("This is an uncategorized dispute, so you should contact the customer for additional details to find out why the payment was disputed.","woocommerce-payments"),(0,vt.__)("Incorrect account details","woocommerce-payments"),(0,vt.__)("Insufficient funds","woocommerce-payments"),(0,vt.__)("Product not received","woocommerce-payments"),(0,vt.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,vt.__)("If you can not prove the customer received their product or service, you should accept the dispute. You cannot issue a refund while a payment is being disputed. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,vt.__)("The customer claims they did not receive the products or services purchased.","woocommerce-payments"),(0,vt.__)("Prove that the customer received a physical product or offline service, or made use of a digital product or online service. This must have occurred prior to the date the dispute was initiated.","woocommerce-payments"),(0,vt.__)("First, get in touch with your customer. Understanding why they filed the dispute will be important for helping make sure your customer gets the product and will give you critical information to prevent this from happening to others.","woocommerce-payments"),(0,vt.__)("Even if your customer agrees to withdraw the dispute, you must still submit appropriate evidence using the forms on the next screen. Simply saying that your customer is going to withdraw the dispute is not sufficient evidence.","woocommerce-payments"),(0,vt.__)("Product unacceptable","woocommerce-payments"),(0,vt.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,vt.__)("If you can not prove the customer received their product or service as described, you should accept the dispute. You cannot issue a refund while a payment is being disputed. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,vt.__)("The product or service was received but was defective, damaged, or not as described.","woocommerce-payments"),(0,vt.__)("Demonstrate that the product or service was delivered as described at the time of purchase.","woocommerce-payments"),(0,vt.__)("If the product or service is as described, provide specific information (invoice, contract, etc.) to refute the cardholder’s claims. Quality disputes are where the customer does not agree with the condition of merchandise or service received (e.g., a car repair situation or quality of a hotel room). There may be instances where you will need to obtain a neutral third-party opinion to help corroborate your claim against the cardholder. Provide as much specific information and documentation as possible to refute the cardholder’s claims. It is recommended that you address each point that the cardholder has made.","woocommerce-payments"),(0,vt.__)("If the customer has not yet returned the product or canceled the service, provide specific information to that effect. You should double-check your incoming shipping records to verify that you have not received a return before you respond. If you have processed a credit or reversal for this transaction, provide evidence of this which includes the amount and date processed.","woocommerce-payments"),(0,vt.__)("For products that have been repaired or replaced, provide evidence that the cardholder agreed to a repair or replacement, it has been received by the customer, and the repair or replacement has not since been disputed.","woocommerce-payments"),(0,vt.__)("If your customer made no attempt to return the product or cancel the service, or if you provided a replacement product or service, make sure to note that as well.","woocommerce-payments"),(0,vt.__)("If the customer withdraws their dispute you should still submit evidence using the forms on the next screen. Be sure to provide a letter or email from the cardholder stating that they are no longer in dispute.","woocommerce-payments"),(0,vt.__)("Subscription canceled","woocommerce-payments"),(0,vt.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,vt.__)("If you can not prove the customer’s subscription was canceled, and or they did not follow your cancelation policy, you should accept the dispute. You cannot issue a refund while a payment is being disputed. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,vt.__)("The customer claims that you continued to charge them after a subscription was canceled.","woocommerce-payments"),(0,vt.__)("Prove that the subscription was still active and that the customer was aware of, and did not follow, your cancellation procedure.","woocommerce-payments"),(0,vt.__)("First, get in touch with your customer. If you understand what they believe happened, there is a chance for you to explain the misunderstanding or to make it right. ","woocommerce-payments"),(0,vt.__)("Even if your customer agrees to withdraw the dispute, you must still submit appropriate evidence using the forms on the next screen. Simply saying that your customer is going to withdraw the dispute is not sufficient evidence.","woocommerce-payments"),(0,vt.__)("Otherwise, use the forms on the next screen to submit evidence that the subscription was still active and that the customer was aware of, and did not follow, your cancellation procedure.","woocommerce-payments"),(0,vt.__)("Unrecognized","woocommerce-payments"),(0,vt.__)("If you believe the dispute is invalid, you can challenge it by submitting the appropriate evidence using the response forms on the next screen.","woocommerce-payments"),(0,vt.__)("If you can not prove the customer’s subscription was canceled, and or they did not follow your cancelation policy, you should accept the dispute. You cannot issue a refund while a payment is being disputed. The credit card networks place liability for accepting disputed payments with you, the business.","woocommerce-payments"),(0,vt.__)("The customer doesn’t recognize the payment appearing on their card statement.","woocommerce-payments"),(0,vt.__)("As with fraudulent disputes, get your customer to withdraw the dispute by helping them identify the payment. Otherwise challenge the dispute with appropriate evidence that proves the purchase was legitimate. ","woocommerce-payments"),(0,vt.__)("First, try to get in touch with your customer. Sometimes people forget about payments they make or don’t recognize the way they appear on their card statement. If this is the case, ask them to contact their card issuer and let them know they no longer dispute the transaction. Even if your customer agrees to withdraw the dispute, you must still submit appropriate evidence. Simply saying that your customer is going to withdraw the dispute is not sufficient evidence.","woocommerce-payments"),(0,vt.__)("It may be more efficient—and provide a better customer experience—to accept an accidental dispute and charge the customer again, if appropriate. Even when a dispute is withdrawn, it usually takes approximately 75 days to be finalized. Remember, it doesn’t matter to the card networks whether you win or lose a dispute; what matters is how many disputes a business receives, regardless of how many disputes are won.","woocommerce-payments");var Mr={warning_needs_response:(0,vt.__)("Inquiry: Needs response","woocommerce-payments"),warning_under_review:(0,vt.__)("Inquiry: Under review","woocommerce-payments"),warning_closed:(0,vt.__)("Inquiry: Closed","woocommerce-payments"),needs_response:(0,vt.__)("Needs response","woocommerce-payments"),under_review:(0,vt.__)("Under review","woocommerce-payments"),charge_refunded:(0,vt.__)("Charge refunded","woocommerce-payments"),won:(0,vt.__)("Won","woocommerce-payments"),lost:(0,vt.__)("Lost","woocommerce-payments")},Dr=(Object.entries(Mr).map((function(e){var t=e[0];return{label:e[1],value:t}})).filter((function(e){return null!=e})),(0,vt.__)("Dispute currency","woocommerce-payments"),(0,vt.__)("All currencies","woocommerce-payments"),(0,vt.__)("Show","woocommerce-payments"),(0,vt.__)("Needs response","woocommerce-payments"),(0,vt.__)("All disputes","woocommerce-payments"),(0,vt.__)("Advanced filters","woocommerce-payments"),(0,vt.__)("Disputes match {{select /}} filters","woocommerce-payments"),(0,vt.__)("Disputed on date","woocommerce-payments"),(0,vt.__)("Remove dispute date filter","woocommerce-payments"),(0,vt.__)("Select a dispute date filter match","woocommerce-payments"),(0,vt.__)("{{title}}Date{{/title}} {{rule /}} {{filter /}}","woocommerce-payments"),(0,vt.__)("Select a dispute date","woocommerce-payments"),(0,vt.__)("Before","woocommerce-payments"),(0,vt.__)("After","woocommerce-payments"),(0,vt.__)("Between","woocommerce-payments"),(0,vt.__)("Status","woocommerce-payments"),(0,vt.__)("Remove dispute status filter","woocommerce-payments"),(0,vt.__)("Select a dispute status filter match","woocommerce-payments"),(0,vt.__)("{{title}}Status{{/title}} {{rule /}} {{filter /}}","woocommerce-payments"),(0,vt.__)("Select a dispute status","woocommerce-payments"),(0,vt._x)("Is","dispute status","woocommerce-payments"),(0,vt._x)("Is not","dispute status","woocommerce-payments"),"SET_SETTINGS"),Hr="SET_SETTINGS_VALUES",Ir="SET_IS_SAVING_SETTINGS",Pr="SET_SELECTED_PAYMENT_METHOD",Vr="SET_UNSELECTED_PAYMENT_METHOD";const kr={isSaving:!1,savingError:null,data:{}};const Nr={},Fr=[],xr=e=>e&&e.settings||Nr,zr=e=>xr(e).data||Nr,Br=e=>zr(e).account_business_support_address||Nr,Ur=e=>zr(e).is_wcpay_enabled||!1,jr=e=>zr(e).is_client_secret_encryption_enabled||!1,Zr=e=>zr(e).enabled_payment_method_ids||Fr,qr=e=>zr(e).available_payment_method_ids||Fr,Wr=e=>zr(e).payment_method_statuses||Fr,Yr=e=>xr(e).isSaving||!1,Qr=e=>zr(e).account_statement_descriptor||"",Kr=e=>zr(e).account_business_name||"",Gr=e=>zr(e).account_business_url||"",$r=e=>zr(e).account_business_support_address||"",Xr=e=>Br(e).country||"",Jr=e=>Br(e).line1||"",eo=e=>Br(e).line2||"",to=e=>Br(e).city||"",no=e=>Br(e).state||"",ro=e=>Br(e).postal_code||"",oo=e=>zr(e).account_business_support_email||"",ao=e=>zr(e).account_business_support_phone||"",io=e=>zr(e).account_branding_logo||"",co=e=>zr(e).deposit_schedule_interval||"",so=e=>zr(e).deposit_schedule_weekly_anchor||"",uo=e=>zr(e).deposit_schedule_monthly_anchor||"",lo=e=>zr(e).deposit_delay_days||"7",po=e=>zr(e).deposit_completed_waiting_period||!1,mo=e=>zr(e).deposit_status||"",fo=e=>zr(e).is_manual_capture_enabled||!1,ho=e=>zr(e).is_test_mode_enabled||!1,yo=e=>zr(e).is_dev_mode_enabled||!1,_o=e=>zr(e).is_payment_request_enabled||!1,vo=e=>zr(e).is_debug_log_enabled||!1,go=e=>zr(e).is_multi_currency_enabled||!1,wo=e=>zr(e).payment_request_enabled_locations||Fr,Eo=e=>zr(e).payment_request_button_type||"",Co=e=>zr(e).payment_request_button_size||"",bo=e=>zr(e).payment_request_button_theme||"",So=e=>zr(e).is_saved_cards_enabled||!1,Ro=e=>xr(e).savingError,Oo=e=>zr(e).is_card_present_eligible||!1,To=e=>zr(e).is_wcpay_subscriptions_enabled||!1,Lo=e=>zr(e).is_wcpay_subscriptions_eligible||!1,Ao=e=>zr(e).is_subscriptions_plugin_active||!1,Mo=e=>zr(e).is_platform_checkout_enabled||!1,Do=e=>zr(e).platform_checkout_custom_message||"",Ho=e=>zr(e).platform_checkout_store_logo||"",Io=e=>zr(e).platform_checkout_enabled_locations||Fr;function Po(e){return{type:Hr,payload:e}}function Vo(e){return Po({is_saved_cards_enabled:e})}function ko(e){return Po({is_card_present_eligible:e})}function No(e){return Po({is_client_secret_encryption_enabled:e})}function Fo(e){return Po({payment_request_button_type:e})}function xo(e){return Po({payment_request_button_size:e})}function zo(e){return Po({payment_request_button_theme:e})}function Bo(e){return{type:Dr,data:e}}function Uo(e){return Po({is_wcpay_enabled:e})}function jo(e){return Po({is_payment_request_enabled:e})}function Zo(e){return Po({enabled_payment_method_ids:[...e]})}function qo(e){return Po({available_payment_method_ids:[...e]})}function Wo(e,t){return{type:Ir,isSaving:e,error:t}}function Yo(e){return{type:Pr,id:e}}function Qo(e){return{type:Vr,id:e}}function Ko(e){return Po({is_manual_capture_enabled:e})}function Go(e){return Po({is_test_mode_enabled:e})}function $o(e){return Po({is_debug_log_enabled:e})}function Xo(e){return Po({is_multi_currency_enabled:e})}function Jo(e){return Po({is_wcpay_subscriptions_enabled:e})}function ea(e){return Po({account_statement_descriptor:e})}function ta(e){return Po({account_business_name:e})}function na(e){return Po({account_business_url:e})}function ra(e){return Po({account_business_support_address:e})}function oa(e){return Po({account_business_support_email:e})}function aa(e){return Po({account_business_support_phone:e})}function ia(e){return Po({account_branding_logo:e})}function ca(e){return Po({deposit_schedule_interval:e})}function sa(e){return Po({deposit_schedule_weekly_anchor:e})}function ua(e){return Po({deposit_schedule_monthly_anchor:""===e?null:parseInt(e,10)})}function*la(){let e=null;try{const t=(0,wt.select)(Ct).getSettings();yield Wo(!0,null),yield(0,Et.apiFetch)({path:"/wc/v3/payments/settings",method:"post",data:t}),yield(0,wt.dispatch)("core/notices").createSuccessNotice((0,vt.__)("Settings saved.","woocommerce-payments"))}catch(t){e=t,yield(0,wt.dispatch)("core/notices").createErrorNotice((0,vt.__)("Error saving settings.","woocommerce-payments"))}finally{yield Wo(!1,e)}return null===e}function da(e){return Po({payment_request_enabled_locations:[...e]})}function pa(e){return Po({is_platform_checkout_enabled:e})}function ma(e){return Po({platform_checkout_custom_message:e})}function fa(e){return Po({platform_checkout_store_logo:e})}function ha(e){return Po({platform_checkout_enabled_locations:[...e]})}function*ya(){try{const e=yield(0,Et.apiFetch)({path:"/wc/v3/payments/settings"});yield Bo(e)}catch(e){yield(0,wt.dispatch)("core/notices").createErrorNotice((0,vt.__)("Error retrieving settings.","woocommerce-payments"))}}var _a="SET_CURRENCIES",va="SET_AVAILABLE_CURRENCIES",ga="SET_ENABLED_CURRENCIES",wa="SET_DEFAULT_CURRENCY",Ea="SET_CURRENCY_SETTINGS",Ca="SET_STORE_SETTINGS";const ba={};const Sa=e=>e&&e.multiCurrency||{},Ra=e=>Sa(e).currencies||[],Oa=e=>Ra(e).available||{},Ta=e=>Ra(e).enabled||{},La=e=>Ra(e).default||{},Aa=e=>Sa(e).currency_settings||{},Ma=e=>Sa(e).settings||{};function Da(e){return{type:_a,data:e}}function Ha(e){return{type:va,data:e}}function Ia(e){return{type:ga,data:e}}function Pa(e){return{type:wa,data:e}}function Va(e,t){return{type:Ea,data:{code:e,data:t}}}function ka(e){return{type:Ca,data:e}}function*Na(e){const t=Object.keys((0,wt.select)(Ct).getEnabledCurrencies()),n=e.filter((e=>!t.includes(e))),r=t.filter((t=>!e.includes(t)));try{const t=yield(0,Et.apiFetch)({path:"/wc/v3/payments/multi-currency/update-enabled-currencies",method:"POST",data:{enabled:e}});yield Da(t),yield(0,wt.dispatch)("core/notices").createSuccessNotice((0,vt.__)("Enabled currencies updated.","woocommerce-payments")),gr(wr.MULTI_CURRENCY_ENABLED_CURRENCIES_UPDATED,{added_currencies:n,removed_currencies:r})}catch(e){yield(0,wt.dispatch)("core/notices").createErrorNotice((0,vt.__)("Error updating enabled currencies.","woocommerce-payments"))}}function*Fa(e,t){try{const n=yield(0,Et.apiFetch)({path:`/wc/v3/payments/multi-currency/currencies/${e}`,method:"POST",data:t});yield Va(e,n),yield(0,wt.dispatch)("core/notices").createSuccessNotice((0,vt.__)("Currency settings updated.","woocommerce-payments"))}catch(e){yield(0,wt.dispatch)("core/notices").createErrorNotice((0,vt.__)("Error updating currency settings.","woocommerce-payments"))}}function*xa(e,t){try{const n=yield(0,Et.apiFetch)({path:"/wc/v3/payments/multi-currency/update-settings",method:"POST",data:{wcpay_multi_currency_enable_auto_currency:e?"yes":"no",wcpay_multi_currency_enable_storefront_switcher:t?"yes":"no"}});yield ka(n),yield(0,wt.dispatch)("core/notices").createSuccessNotice((0,vt.__)("Store settings saved.","woocommerce-payments"))}catch(e){yield(0,wt.dispatch)("core/notices").createErrorNotice((0,vt.__)("Error saving store settings.","woocommerce-payments"))}}function*za(){try{const e=yield(0,Et.apiFetch)({path:"/wc/v3/payments/multi-currency/currencies"});yield Da(e)}catch(e){yield(0,wt.dispatch)("core/notices").createErrorNotice((0,vt.__)("Error retrieving currencies.","woocommerce-payments"))}}function*Ba(e){const t=`/wc/v3/payments/multi-currency/currencies/${e}`;try{const n=yield(0,Et.apiFetch)({path:t});yield Va(e,n)}catch(e){yield(0,wt.dispatch)("core/notices").createErrorNotice((0,vt.__)("Error retrieving single currency settings.","woocommerce-payments"))}}function*Ua(){try{const e=yield(0,Et.apiFetch)({path:"/wc/v3/payments/multi-currency/get-settings"});yield ka(e)}catch(e){yield(0,wt.dispatch)("core/notices").createErrorNotice((0,vt.__)("Error retrieving store settings.","woocommerce-payments"))}}var ja={SET_CARD_READER_STATS:"SET_CARD_READER_STATS",SET_ERROR_FOR_CARD_READER_STATS:"SET_ERROR_FOR_CARD_READER_STATS",SET_READERS:"SET_READERS",SET_ERROR_FOR_CARD_READERS:"SET_ERROR_FOR_CARD_READERS"};const Za=(e,t)=>e.readers[t]&&e.readers[t].data?e.readers[t].data:{},qa=(e,t)=>e.readers[t]&&e.readers[t].error?e.readers[t].error:{},Wa=e=>e.readers&&e.readers.list?e.readers.list:{};function Ya(e,t){return{type:ja.SET_CARD_READER_STATS,id:e,data:t}}function Qa(e,t){return{type:ja.SET_READERS,query:e,data:t}}function Ka(e,t,n){return{type:ja.SET_CARD_ERROR_FOR_READER_STATS,id:e,data:t,error:n}}function Ga(e,t){return{type:ja.SET_CARD_ERROR_FOR_READERS,data:e,error:t}}function*$a(e,t){try{const n=yield(0,Et.apiFetch)({path:`/wc/v3/payments/readers/charges/${t}`});yield Ya(e,n)}catch(t){yield Ka(e,null,t)}}function*Xa(e){const t=(0,nn.addQueryArgs)("/wc/v3/payments/readers",{limit:e.limit});try{const n=yield(0,Et.apiFetch)({path:t})||{};yield Qa(e,n)}catch(e){yield Ga(null,e)}}var Ja;!function(e){e.SET_ACTIVE_LOAN_SUMMARY="SET_ACTIVE_LOAN_SUMMARY",e.SET_ERROR_FOR_ACTIVE_LOAN_SUMMARY="SET_ERROR_FOR_ACTIVE_LOAN_SUMMARY",e.SET_LOANS="SET_LOANS",e.SET_ERROR_FOR_LOANS="SET_ERROR_FOR_LOANS"}(Ja||(Ja={}));var ei=Ja,ti=function(){return ti=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ti.apply(this,arguments)},ni={},ri=function(e){return e&&e.capital||{}},oi=function(e){return ri(e).summary},ai=function(e){return ri(e).summaryError},ii=function(e){return ri(e).loans||[]},ci=function(e){return ri(e).loansError};function si(e){return{type:ei.SET_ACTIVE_LOAN_SUMMARY,data:e}}function ui(e){return{type:ei.SET_ERROR_FOR_ACTIVE_LOAN_SUMMARY,error:e}}function li(e){return{type:ei.SET_LOANS,data:e.data}}function di(e){return{type:ei.SET_ERROR_FOR_LOANS,error:e}}var pi=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}};function mi(){var e,t;return pi(this,(function(n){switch(n.label){case 0:e="/wc/v3/payments/capital/active_loan_summary",n.label=1;case 1:return n.trys.push([1,4,,7]),[4,(0,Et.apiFetch)({path:e})];case 2:return[4,si(n.sent())];case 3:return n.sent(),[3,7];case 4:return t=n.sent(),[4,(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving the active loan summary.","woocommerce-payments"))];case 5:return n.sent(),[4,ui(t)];case 6:return n.sent(),[3,7];case 7:return[2]}}))}function fi(){var e,t;return pi(this,(function(n){switch(n.label){case 0:e="/wc/v3/payments/capital/loans",n.label=1;case 1:return n.trys.push([1,4,,7]),[4,(0,Et.apiFetch)({path:e})];case 2:return[4,li(n.sent())];case 3:return n.sent(),[3,7];case 4:return t=n.sent(),[4,(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving the active loan summary.","woocommerce-payments"))];case 5:return n.sent(),[4,di(t)];case 6:return n.sent(),[3,7];case 7:return[2]}}))}var hi="SET_DOCUMENTS",yi="SET_ERROR_FOR_DOCUMENTS",_i="SET_DOCUMENTS_SUMMARY",vi="SET_ERROR_FOR_DOCUMENTS_SUMMARY";const gi={summary:{}};const wi=e=>e&&e.documents||{},Ei=(e,t)=>{const n=Pt(t);return wi(e)[n]||{}},Ci=(e,t)=>Ei(e,t).data||[],bi=(e,t)=>Ei(e,t).error||{},Si=(e,t)=>{const n=Pt(t);return wi(e).summary[n]||{}},Ri=(e,t)=>Si(e,t).data||{},Oi=(e,t)=>Si(e,t).error||{};function Ti(e,t){return{type:hi,query:e,data:t}}function Li(e,t,n){return{type:yi,query:e,data:t,error:n}}function Ai(e,t){return{type:_i,query:e,data:t}}function Mi(e,t,n){return{type:vi,query:e,data:t,error:n}}const Di=e=>({user_email:e.userEmail,match:e.match,date_before:sn(e.dateBefore,!0),date_after:sn(e.dateAfter),date_between:e.dateBetween&&[sn(e.dateBetween[0]),sn(e.dateBetween[1],!0)],type_is:e.typeIs,type_is_not:e.typeIsNot});function*Hi(e){const t=(0,nn.addQueryArgs)("/wc/v3/payments/documents",{page:e.paged,pagesize:e.perPage,sort:e.orderby,direction:e.order,...Di(e)});try{const n=yield(0,Et.apiFetch)({path:t});yield Ti(e,n.data||[])}catch(t){yield(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving documents.","woocommerce-payments")),yield Li(e,null,t)}}function*Ii(e){const t=(0,nn.addQueryArgs)("/wc/v3/payments/documents/summary",Di(e));try{const n=yield(0,Et.apiFetch)({path:t});yield Ai(e,n)}catch(t){yield Mi(e,null,t)}}var Pi;!function(e){e.SET_PAYMENT_INTENT="SET_PAYMENT_INTENT",e.SET_ERROR_FOR_PAYMENT_INTENT="SET_ERROR_FOR_PAYMENT_INTENT"}(Pi||(Pi={}));var Vi=Pi,ki=function(){return ki=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ki.apply(this,arguments)},Ni={},Fi=function(e,t){var n=e.paymentIntents,r=null==n?void 0:n[t];return(null==r?void 0:r.data)||{}},xi=function(e,t){var n=e.paymentIntents,r=null==n?void 0:n[t];return(null==r?void 0:r.error)||{}};function zi(e,t){return{type:Vi.SET_PAYMENT_INTENT,id:e,data:t}}function Bi(e,t){return{type:Vi.SET_ERROR_FOR_PAYMENT_INTENT,id:e,error:t}}function Ui(e){var t,n;return function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,6]),[4,(0,Et.apiFetch)({path:"/wc/v3/payments/payment_intents/"+e})];case 1:return t=r.sent(),[4,zi(e,t)];case 2:case 5:return r.sent(),[3,6];case 3:return n=r.sent(),[4,(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving transaction.","woocommerce-payments"))];case 4:return r.sent(),[4,Bi(e,n)];case 6:return[2]}}))}var ji="SET_AUTHORIZATIONS",Zi="SET_AUTHORIZATION",qi="SET_ERROR_FOR_AUTHORIZATIONS",Wi="SET_AUTHORIZATIONS_SUMMARY",Yi="SET_ERROR_FOR_AUTHORIZATIONS_SUMMARY",Qi=function(){return Qi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Qi.apply(this,arguments)},Ki={summary:{},byId:{}},Gi=function(e){return e&&e.authorizations||{}},$i=function(e,t){var n=Pt(t);return Gi(e)[n]||{}},Xi=function(e,t){return $i(e,t).data||[]},Ji=function(e,t){return(Gi(e).byId||{})[t]},ec=function(e,t){return $i(e,t).error||{}},tc=function(e,t){var n=Pt(t);return Gi(e).summary[n]||{}},nc=function(e,t){return tc(e,t).data||{}},rc=function(e,t){return tc(e,t).error||{}};function oc(e,t){return{type:ji,data:t,query:e}}function ac(e,t){return{type:qi,query:e,error:t}}function ic(e){return{type:Zi,data:e}}function cc(e,t){return{type:Wi,data:t,query:e}}function sc(e,t){var n;return function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}(this,(function(r){switch(r.label){case 0:return r.trys.push([0,8,10,12]),[4,(0,Et.dispatch)(Ct,"startResolution","getAuthorization",[e])];case 1:return r.sent(),[4,(0,Et.apiFetch)({path:"/wc/v3/payments/orders/"+t+"/capture_authorization",method:"post",data:{payment_intent_id:e}})];case 2:return[4,ic({payment_intent_id:(n=r.sent()).id,captured:"succeeded"===n.status})];case 3:return r.sent(),[4,(0,Et.dispatch)(Ct,"invalidateResolutionForStoreSelector","getAuthorizations")];case 4:return r.sent(),[4,(0,Et.dispatch)(Ct,"invalidateResolutionForStoreSelector","getAuthorizationsSummary")];case 5:return r.sent(),[4,(0,Et.dispatch)(Ct,"invalidateResolutionForStoreSelector","getTimeline")];case 6:return r.sent(),[4,(0,Et.dispatch)("core/notices","createSuccessNotice",(0,vt.sprintf)((0,vt.__)("Payment for order #%s captured successfully.","woocommerce-payments"),t))];case 7:case 9:return r.sent(),[3,12];case 8:return r.sent(),[4,(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.sprintf)((0,vt.__)("There has been an error capturing the payment for order #%s. Please try again later.","woocommerce-payments"),t))];case 10:return[4,(0,Et.dispatch)(Ct,"finishResolution","getAuthorization",[e])];case 11:return r.sent(),[7];case 12:return[2]}}))}function uc(e,t){return{type:Yi,query:e,error:t}}var lc=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}};function dc(e){var t,n,r,o,a,i,c,s,u,l,d,p;return lc(this,(function(m){switch(m.label){case 0:t=e.paged,n=void 0===t?1:t,r=e.per_page,o=void 0===r?25:r,a=e.orderby,i=void 0===a?"created":a,c=e.order,s=void 0===c?"desc":c,"capture_by"===i&&(i="created"),u=(0,nn.addQueryArgs)("/wc/v3/payments/authorizations",{page:n,pagesize:o,sort:i,direction:s}),m.label=1;case 1:return m.trys.push([1,4,,7]),[4,(0,Et.apiFetch)({path:u})];case 2:return l=m.sent(),[4,oc(e,null!==(p=l.data)&&void 0!==p?p:[])];case 3:return m.sent(),[3,7];case 4:return d=m.sent(),[4,(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving uncaptured transactions.","woocommerce-payments"))];case 5:return m.sent(),[4,ac(e,d)];case 6:return m.sent(),[3,7];case 7:return[2]}}))}function pc(e){var t,n,r,o,a;return lc(this,(function(i){switch(i.label){case 0:return i.trys.push([0,4,,7]),e?[4,(0,Et.apiFetch)({path:"/wc/v3/payments/authorizations/"+e})]:[3,3];case 1:return t=i.sent(),r=(n=t).is_captured,o=n.payment_intent_id,a=n.created,[4,ic({payment_intent_id:o,captured:r,created:a})];case 2:i.sent(),i.label=3;case 3:return[3,7];case 4:return"authorization_missing"===i.sent().code?[3,6]:[4,(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving authorization.","woocommerce-payments"))];case 5:i.sent(),i.label=6;case 6:return[3,7];case 7:return[2]}}))}function mc(e){var t,n,r;return lc(this,(function(o){switch(o.label){case 0:t=(0,nn.addQueryArgs)("/wc/v3/payments/authorizations/summary",{pagesize:e.per_page,sort:e.orderby,direction:e.order,page:e.paged}),o.label=1;case 1:return o.trys.push([1,4,,7]),[4,(0,Et.apiFetch)({path:t})];case 2:return n=o.sent(),[4,cc(e,null!=n?n:[])];case 3:return o.sent(),[3,7];case 4:return r=o.sent(),[4,(0,Et.dispatch)("core/notices","createErrorNotice",(0,vt.__)("Error retrieving uncaptured transactions.","woocommerce-payments"))];case 5:return o.sent(),[4,uc(e,r)];case 6:return o.sent(),[3,7];case 7:return[2]}}))}(0,wt.registerStore)(Ct,{reducer:(0,wt.combineReducers)({deposits:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vt,{type:t,query:n={},data:r=[],error:o}=arguments.length>1?arguments[1]:void 0;const a=Pt(n);switch(t){case bt:return{...e,byId:{...e.byId,[r.id]:r}};case St:return{...e,overview:{...e.overview,data:r}};case Rt:return{...e,overview:{...e.overview,error:o}};case Ht:return{...e,overviews:{...e.overviews,data:r}};case It:return{...e,overviews:{...e.overviews,error:o}};case Ot:return{...e,byId:{...e.byId,...(0,W.keyBy)(r,"id")},queries:{...e.queries,[a]:{data:(0,W.map)(r,"id")}}};case Tt:return{...e,count:r};case Lt:return{...e,queries:{...e.queries,[a]:{error:o}}};case At:return{...e,summary:{...e.summary,[a]:{data:r}}};case Mt:return{...e,summary:{...e.summary,[a]:{error:o}}};case Dt:return{...e,instant:{...e.instant,data:r}}}return e},transactions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Hn,{type:t,query:n={},data:r=[],error:o}=arguments.length>1?arguments[1]:void 0;const a=Pt(n);switch(t){case Ln:return{...e,[a]:{data:r}};case An:return{...e,[a]:{error:o}};case Mn:return{...e,summary:{...e.summary,[a]:{data:r}}};case Dn:return{...e,summary:{...e.summary,[a]:{error:o}}}}return e},charges:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,id:n,data:r,error:o}=arguments.length>1?arguments[1]:void 0;switch(t){case Qn:e={...e,[n]:{...e[n],data:r}};break;case Kn:e={...e,[n]:{...e[n],error:o}}}return e},timeline:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,id:n,data:r,error:o}=arguments.length>1?arguments[1]:void 0;switch(t){case tr:e={...e,[n]:{data:r}};break;case nr:e={...e,[n]:{...e[n],error:o}}}return e},disputes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:dr,{type:t,query:n={},data:r=[]}=arguments.length>1?arguments[1]:void 0;const o=Pt(n);switch(t){case sr:return{...e,byId:{...e.byId,[r.id]:r}};case ur:return{...e,cached:{...e.cached,...(0,W.keyBy)(r,"dispute_id")},queries:{...e.queries,[o]:{data:(0,W.map)(r,"dispute_id")}}};case lr:return{...e,summary:{...e.summary,[o]:{data:r}}}}return e},settings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:kr,{type:t,...n}=arguments.length>1?arguments[1]:void 0;switch(t){case Dr:return{...e,data:n.data};case Hr:return{...e,savingError:null,data:{...e.data,...n.payload}};case Ir:return{...e,isSaving:n.isSaving,savingError:n.error};case Pr:return{...e,data:{...e.data,enabled_payment_method_ids:e.data.enabled_payment_method_ids.concat(n.id)}};case Vr:return{...e,data:{...e.data,enabled_payment_method_ids:e.data.enabled_payment_method_ids.filter((e=>e!==n.id))}}}return e},multiCurrency:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ba,{type:t,data:n=[]}=arguments.length>1?arguments[1]:void 0;switch(t){case _a:return{...e,currencies:n,available:n.available,enabled:n.enabled,default:n.default};case va:return{...e,currencies:{...e,available:n.available},available:n.available};case ga:return{...e,currencies:{...e,enabled:n.enabled},enabled:n.enabled};case wa:return{...e,currencies:{...e,default:n.default},default:n.default};case Ea:return{...e,currency_settings:{...e.currency_settings,[n.code]:n.data}};case Ca:return{...e,settings:{enable_auto_currency:n.wcpay_multi_currency_enable_auto_currency,enable_storefront_switcher:n.wcpay_multi_currency_enable_storefront_switcher,site_theme:n.site_theme,date_format:n.date_format,time_format:n.time_format,store_url:n.store_url}}}return e},readers:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,id:n,data:r,error:o}=arguments.length>1?arguments[1]:void 0;switch(t){case ja.SET_CARD_READER_STATS:e={...e,[n]:{...e[n],data:r}};break;case ja.SET_ERROR_FOR_CARD_READER_STATS:e={...e,[n]:{...e[n],error:o}};break;case ja.SET_READERS:e={...e,list:r}}return e},capital:function(e,t){switch(void 0===e&&(e=ni),t.type){case ei.SET_ACTIVE_LOAN_SUMMARY:return ti(ti({},e),{summary:t.data,summaryError:void 0});case ei.SET_ERROR_FOR_ACTIVE_LOAN_SUMMARY:return ti(ti({},e),{summary:void 0,summaryError:t.error});case ei.SET_LOANS:return ti(ti({},e),{loans:t.data,loansError:void 0});case ei.SET_ERROR_FOR_LOANS:return ti(ti({},e),{loans:void 0,loansError:t.error})}return e},documents:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:gi,{type:t,query:n={},data:r=[],error:o}=arguments.length>1?arguments[1]:void 0;const a=Pt(n);switch(t){case hi:return{...e,[a]:{data:r}};case yi:return{...e,[a]:{error:o}};case _i:return{...e,summary:{...e.summary,[a]:{data:r}}};case vi:return{...e,summary:{...e.summary,[a]:{error:o}}}}return e},paymentIntents:function(e,t){var n,r;void 0===e&&(e=Ni);var o=t.type,a=t.id;switch(o){case Vi.SET_PAYMENT_INTENT:return ki(ki({},e),((n={})[a]=ki(ki({},e[a]),{data:t.data}),n));case Vi.SET_ERROR_FOR_PAYMENT_INTENT:return ki(ki({},e),((r={})[a]=ki(ki({},e[a]),{error:t.error}),r));default:return e}},authorizations:function(e,t){var n,r,o,a,i;switch(void 0===e&&(e=Ki),t.type){case Zi:var c=t.data;return Qi(Qi({},e),{byId:Qi(Qi({},e.byId),(n={},n[c.payment_intent_id]=Qi(Qi({},e.byId[c.payment_intent_id]),t.data),n))});case ji:return Qi(Qi({},e),((r={})[Pt(t.query)]={data:t.data},r));case qi:return Qi(Qi({},e),((o={})[Pt(t.query)]={error:t.error},o));case Wi:var s=t.data;return Qi(Qi({},e),{summary:Qi(Qi({},e.summary),(a={},a[Pt(t.query)]={data:s||{}},a))});case Yi:return Qi(Qi({},e),{summary:Qi(Qi({},e.summary),(i={},i[Pt(t.query)]={error:t.error||""},i))})}return e}}),actions:{...t,...a,...s,...d,...f,..._,...w,...b,...O,...A,...H,...V},controls:Et.controls,selectors:{...e,...o,...c,...l,...m,...y,...g,...C,...R,...L,...D,...P},resolvers:{...r,...i,...u,...p,...h,...v,...E,...S,...T,...M,...I,...k}});var fc={card:{id:"card",label:(0,vt.__)("Credit card / debit card","woocommerce-payments"),description:(0,vt.__)("Let your customers pay with major credit and debit cards without leaving your store.","woocommerce-payments"),icon:e=>(0,N.createElement)("svg",U({width:"66",height:"42",viewBox:"0 0 66 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,N.createElement)("g",{clipPath:"url(#clip0)"},(0,N.createElement)("path",{d:"M63.1338 1H37.5287C36.6844 1 36 1.68441 36 2.52866V17.4713C36 18.3156 36.6844 19 37.5287 19H63.1338C63.978 19 64.6624 18.3156 64.6624 17.4713V2.52866C64.6624 1.68441 63.978 1 63.1338 1Z",fill:"white"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.0053 13.1978V12.9868H59.9506L59.8872 13.1321L59.8237 12.9868H59.7687V13.1978H59.8077V13.0388L59.8669 13.176H59.9074L59.9667 13.0384V13.1978H60.0056H60.0053ZM59.6567 13.1978V13.0228H59.7274V12.9872H59.5478V13.0228H59.6185V13.1978H59.6567ZM60.0167 10.0614C60.0167 13.3262 57.3767 15.9727 54.1199 15.9727C50.8639 15.9727 48.2239 13.3262 48.2239 10.0614C48.2239 6.7969 50.8639 4.15002 54.1203 4.15002C57.3767 4.15002 60.0167 6.7969 60.0167 10.0614Z",fill:"#F79F1A"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M52.7428 10.0614C52.7428 13.3262 50.1028 15.9727 46.8464 15.9727C43.5903 15.9727 40.95 13.3262 40.95 10.0614C40.95 6.7969 43.59 4.15002 46.8468 4.15002C50.1028 4.15002 52.7428 6.7969 52.7428 10.0614Z",fill:"#EA001B"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.4835 5.40808C49.7786 5.9614 49.2089 6.66791 48.8176 7.47405C48.4263 8.2802 48.2236 9.16485 48.2249 10.061C48.2249 11.95 49.1077 13.6327 50.4835 14.715C51.8593 13.6327 52.7421 11.95 52.7421 10.061C52.7434 9.16485 52.5407 8.2802 52.1493 7.47405C51.758 6.66791 51.1883 5.9614 50.4835 5.40808Z",fill:"#FF5F01"})),(0,N.createElement)("path",{d:"M38 2H62.6624V0H38V2ZM63.6624 3V17H65.6624V3H63.6624ZM62.6624 18H38V20H62.6624V18ZM37 17V3H35V17H37ZM38 18C37.4477 18 37 17.5523 37 17H35C35 18.6569 36.3431 20 38 20V18ZM63.6624 17C63.6624 17.5523 63.2147 18 62.6624 18V20C64.3193 20 65.6624 18.6569 65.6624 17H63.6624ZM62.6624 2C63.2147 2 63.6624 2.44772 63.6624 3H65.6624C65.6624 1.34315 64.3193 0 62.6624 0V2ZM38 0C36.3431 0 35 1.34315 35 3H37C37 2.44772 37.4477 2 38 2V0Z",fill:"#DDDDDD"}),(0,N.createElement)("g",{clipPath:"url(#clip1)"},(0,N.createElement)("path",{d:"M63.1315 23H37.5285C36.6843 23 36 23.6844 36 24.5287V39.4713C36 40.3156 36.6843 41 37.5285 41H63.1315C63.9757 41 64.66 40.3156 64.66 39.4713V24.5287C64.66 23.6844 63.9757 23 63.1315 23Z",fill:"#0079BE"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.3524 32.0936C58.3524 28.2941 55.1814 25.6679 51.7071 25.6694H48.7176C45.202 25.6679 42.3081 28.2949 42.3081 32.0936C42.3081 35.5687 45.2016 38.4238 48.7176 38.407H51.7074C55.1814 38.4238 58.3527 35.5675 58.3527 32.0936H58.3524Z",fill:"white"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.7359 26.2075C45.5233 26.2087 42.9198 28.8177 42.9194 32.0386C42.9202 35.2587 45.5233 37.8678 48.7359 37.8689C51.9492 37.8678 54.5531 35.2587 54.5535 32.0386C54.5531 28.8181 51.9492 26.2087 48.7359 26.2075V26.2075Z",fill:"#0079BE"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.0592 32.023C45.0599 31.2765 45.2862 30.5476 45.7086 29.9321C46.1309 29.3166 46.7295 28.8431 47.4258 28.574V35.4713C46.7294 35.2025 46.1307 34.7292 45.7082 34.1138C45.2858 33.4984 45.0594 32.7695 45.0588 32.023H45.0592ZM50.0652 35.4728V28.574C50.7619 28.8426 51.3611 29.3158 51.7838 29.9315C52.2065 30.5471 52.4331 31.2762 52.4336 32.023C52.4331 32.7699 52.2065 33.4992 51.7838 34.1149C51.3611 34.7306 50.7619 35.204 50.0652 35.4728Z",fill:"white"})),(0,N.createElement)("path",{d:"M38 24H62.66V22H38V24ZM63.66 25V39H65.66V25H63.66ZM62.66 40H38V42H62.66V40ZM37 39V25H35V39H37ZM38 40C37.4477 40 37 39.5523 37 39H35C35 40.6569 36.3431 42 38 42V40ZM63.66 39C63.66 39.5523 63.2123 40 62.66 40V42C64.3169 42 65.66 40.6569 65.66 39H63.66ZM62.66 24C63.2123 24 63.66 24.4477 63.66 25H65.66C65.66 23.3431 64.3169 22 62.66 22V24ZM38 22C36.3431 22 35 23.3431 35 25H37C37 24.4477 37.4477 24 38 24V22Z",fill:"#DDDDDD"}),(0,N.createElement)("g",{clipPath:"url(#clip2)"},(0,N.createElement)("path",{d:"M28.1338 1.05811H2.52866C1.68441 1.05811 1 1.74251 1 2.58677V17.5294C1 18.3737 1.68441 19.0581 2.52866 19.0581H28.1338C28.978 19.0581 29.6624 18.3737 29.6624 17.5294V2.58677C29.6624 1.74251 28.978 1.05811 28.1338 1.05811Z",fill:"white"}),(0,N.createElement)("path",{d:"M13.8207 13.3227H12.083L13.1699 7.02234H14.9074L13.8207 13.3227Z",fill:"#1A1F71"}),(0,N.createElement)("path",{d:"M20.1195 7.17631C19.7768 7.04883 19.2331 6.90808 18.561 6.90808C16.845 6.90808 15.6366 7.76595 15.6292 8.99245C15.6149 9.89736 16.4943 10.4 17.1521 10.7017C17.8243 11.01 18.0529 11.2112 18.0529 11.4861C18.046 11.9081 17.5096 12.1027 17.0093 12.1027C16.3156 12.1027 15.9439 12.0024 15.379 11.7676L15.1501 11.6669L14.907 13.0812C15.3145 13.2553 16.0654 13.4097 16.845 13.4165C18.6682 13.4165 19.8553 12.5719 19.8693 11.2649C19.8763 10.5477 19.4119 9.99811 18.4107 9.54904C17.803 9.26077 17.4308 9.06639 17.4308 8.77143C17.4379 8.50329 17.7456 8.22865 18.4316 8.22865C18.9965 8.2152 19.4116 8.3425 19.726 8.46989L19.8832 8.53679L20.1195 7.17631Z",fill:"#1A1F71"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.2303 7.02234H24.5744L25.9762 13.3226H24.3673C24.3673 13.3226 24.2099 12.5987 24.16 12.3775H21.9289L21.5642 13.3226H19.741L22.3221 7.54508C22.5009 7.13619 22.8158 7.02234 23.2303 7.02234ZM23.1232 9.32789C23.1232 9.32789 22.5725 10.7287 22.4294 11.0907H23.8738C23.8023 10.7757 23.4732 9.26758 23.4732 9.26758L23.3518 8.72471C23.3007 8.8645 23.2267 9.05669 23.1768 9.18632C23.143 9.2742 23.1203 9.33333 23.1232 9.32789Z",fill:"#1A1F71"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.55399 7.02234H7.34973C7.72868 7.03561 8.03617 7.14955 8.13623 7.55194L8.7438 10.4466C8.74387 10.4468 8.74393 10.447 8.744 10.4472L8.92996 11.3186L10.6317 7.02234H12.4691L9.73783 13.316H7.9003L6.35151 7.84156C5.81714 7.54867 5.20726 7.31311 4.52539 7.14964L4.55399 7.02234Z",fill:"#1A1F71"})),(0,N.createElement)("path",{d:"M3 2.05811H27.6624V0.0581055H3V2.05811ZM28.6624 3.05811V17.0581H30.6624V3.05811H28.6624ZM27.6624 18.0581H3V20.0581H27.6624V18.0581ZM2 17.0581V3.05811H0V17.0581H2ZM3 18.0581C2.44772 18.0581 2 17.6104 2 17.0581H0C0 18.715 1.34315 20.0581 3 20.0581V18.0581ZM28.6624 17.0581C28.6624 17.6104 28.2147 18.0581 27.6624 18.0581V20.0581C29.3193 20.0581 30.6624 18.715 30.6624 17.0581H28.6624ZM27.6624 2.05811C28.2147 2.05811 28.6624 2.50582 28.6624 3.05811H30.6624C30.6624 1.40125 29.3193 0.0581055 27.6624 0.0581055V2.05811ZM3 0.0581055C1.34315 0.0581055 0 1.40125 0 3.05811H2C2 2.50582 2.44772 2.05811 3 2.05811V0.0581055Z",fill:"#DDDDDD"}),(0,N.createElement)("g",{clipPath:"url(#clip3)"},(0,N.createElement)("path",{d:"M28.1338 23H2.52866C1.68441 23 1 23.6844 1 24.5287V39.4713C1 40.3156 1.68441 41 2.52866 41H28.1338C28.978 41 29.6624 40.3156 29.6624 39.4713V24.5287C29.6624 23.6844 28.978 23 28.1338 23Z",fill:"#2557D6"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 31.4532H2.37694L2.68726 30.7075H3.38204L3.69159 31.4528H6.40077V30.883L6.64229 31.4554H8.04866L8.29057 30.8746V31.4532H15.0224L15.019 30.2291H15.1493C15.2406 30.2321 15.2674 30.2405 15.2674 30.3907V31.4532H18.7489V31.1681C19.0298 31.3179 19.4666 31.4532 20.0414 31.4532H21.5062L21.8196 30.7075H22.5148L22.8213 31.4528H25.644V30.7446L26.0712 31.4532H28.3336V26.7712H26.0949V27.3242L25.7815 26.7712H23.4843V27.3242L23.1966 26.7712H20.0934C19.5744 26.7712 19.1177 26.8435 18.7489 27.0445V26.7712H16.608V27.0445C16.3734 26.8374 16.0535 26.7712 15.6977 26.7712H7.87554L7.35045 27.9804L6.81159 26.7712H4.34777V27.3242L4.0772 26.7712H1.97567L1 28.997V31.4532ZM9.69045 30.7775H8.8642L8.86115 28.1486L7.69287 30.7779H6.98548L5.81414 28.1463V30.7775H4.17503L3.86548 30.0288H2.18777L1.87516 30.7779H1L2.44306 27.4209H3.64L5.01045 30.599V27.4209H6.32548L7.38026 29.6979L8.34866 27.4209H9.69006V30.7775H9.69045ZM3.59032 29.3325L3.03885 27.9946L2.49045 29.3321H3.59032V29.3325ZM12.9778 30.7779H10.2862V27.4213H12.9778V28.1203H11.0918V28.7253H12.9327V29.4132H11.0918V30.0839H12.9778V30.7779ZM16.7712 28.3251C16.7712 28.8602 16.412 29.1368 16.2033 29.2202C16.3795 29.2867 16.5301 29.4047 16.6019 29.503C16.7158 29.6696 16.7353 29.8186 16.7353 30.1182V30.7779H15.9224L15.9194 30.3548C15.9194 30.1526 15.9389 29.8622 15.7921 29.7005C15.6744 29.5828 15.4952 29.5572 15.2051 29.5572H14.3399V30.7779H13.5343V27.4213H15.3878C15.7994 27.4213 16.1028 27.432 16.3634 27.5818C16.6183 27.732 16.7712 27.951 16.7712 28.3251ZM15.7524 28.8239C15.6415 28.8907 15.5108 28.8926 15.3538 28.8926H14.375V28.1474H15.3671C15.5078 28.1474 15.6541 28.1535 15.7493 28.2078C15.854 28.2567 15.9186 28.3607 15.9186 28.5047C15.9186 28.6511 15.8571 28.7692 15.7524 28.8239ZM18.0633 30.7779H17.2413V27.4213H18.0629V30.7779H18.0633ZM27.6075 30.7779H26.4656L24.9385 28.2586V30.7779H23.2975L22.9841 30.0292H21.3102L21.0056 30.7782H20.0628C19.6711 30.7782 19.1754 30.6919 18.8945 30.4068C18.6113 30.1217 18.4638 29.7357 18.4638 29.1254C18.4638 28.6274 18.5517 28.1723 18.8983 27.8126C19.159 27.5447 19.5668 27.4213 20.122 27.4213H20.902V28.1405H20.1389C19.8446 28.1405 19.6787 28.1841 19.5186 28.3393C19.3814 28.4807 19.287 28.7482 19.287 29.0998C19.287 29.459 19.3589 29.7189 19.5087 29.8882C19.6329 30.0208 19.858 30.0613 20.0704 30.0613H20.432L21.5678 27.4213H22.7754L24.1394 30.5963V27.4213H25.3661L26.7824 29.759V27.4213H27.6079V30.7779H27.6075ZM22.7097 29.3325L22.1521 27.9946L21.5976 29.3325H22.7097ZM29.6609 36.1377C29.4648 36.4228 29.0838 36.5673 28.5671 36.5673H27.0113V35.8473H28.561C28.7147 35.8473 28.8224 35.827 28.887 35.764C28.9173 35.7362 28.9415 35.7023 28.958 35.6646C28.9744 35.6269 28.9828 35.5861 28.9826 35.545C28.9842 35.5029 28.9762 35.461 28.9591 35.4225C28.942 35.384 28.9163 35.35 28.884 35.323C28.8255 35.2718 28.7403 35.2484 28.6 35.2484C27.8433 35.2228 26.8994 35.2718 26.8994 34.2089C26.8994 33.7221 27.2101 33.2096 28.0558 33.2096H29.6609V32.5416H28.1693C27.7195 32.5416 27.3924 32.6486 27.1611 32.8156V32.5416H24.9553C24.6026 32.5416 24.1887 32.6287 23.9926 32.8156V32.5416H20.054V32.8156C19.7406 32.5905 19.2113 32.5416 18.9675 32.5416H16.3692V32.8156C16.1211 32.5767 15.5697 32.5416 15.2338 32.5416H12.3259L11.6609 33.2585L11.0376 32.5416H6.69389V37.2269H10.9558L11.6414 36.4981L12.2873 37.2265L14.9143 37.2288V36.1267H15.1722C15.5208 36.132 15.932 36.1182 16.2947 35.9623V37.2265H18.4615V36.0051H18.5659C18.6996 36.0051 18.7126 36.0105 18.7126 36.1431V37.2261H25.2943C25.7124 37.2261 26.1492 37.1191 26.3911 36.9261V37.2261H28.4789C28.9134 37.2261 29.3376 37.165 29.6605 37.0098V36.1374L29.6609 36.1377ZM16.6099 34.3354C16.6099 35.2679 15.9106 35.4609 15.2066 35.4609H14.2011V36.5872H12.635L11.6429 35.4754L10.6118 36.5872H7.42V33.2295H10.6608L11.6521 34.3301L12.6771 33.2295H15.2517C15.8911 33.2295 16.6096 33.4056 16.6096 34.3354H16.6099ZM10.2037 35.8809H8.22255V35.2129H9.99159V34.5277H8.22217V33.9174H10.2427L11.124 34.8957L10.2037 35.8809ZM13.3955 36.2654L12.1585 34.8972L13.3955 33.5734V36.2654ZM15.2254 34.7723H14.184V33.9174H15.2349C15.5254 33.9174 15.7275 34.0354 15.7275 34.3289C15.7275 34.6194 15.5349 34.7723 15.2254 34.7723ZM20.6804 33.2295H23.3697V33.9239H21.4829V34.5342H23.3234V35.2194H21.4829V35.8874L23.3697 35.8905V36.5872H20.6804V33.2295ZM19.6466 35.0268C19.8259 35.0925 19.9726 35.2106 20.0414 35.3084C20.1549 35.4728 20.1713 35.6256 20.1748 35.9214V36.5872H19.3657V36.1668C19.3657 35.965 19.3852 35.6661 19.2358 35.5095C19.1177 35.3895 18.9385 35.3604 18.6442 35.3604H17.7832V36.5872H16.9738V33.2295H18.8338C19.2419 33.2295 19.5389 33.2474 19.8033 33.3877C20.0578 33.5405 20.2176 33.7507 20.2176 34.1333C20.2176 34.6695 19.8583 34.9427 19.6466 35.0268ZM19.1911 34.6022C19.0833 34.666 18.9503 34.6714 18.7933 34.6714H17.8141V33.9174H18.8066C18.9499 33.9174 19.0933 33.9204 19.1911 33.9777C19.2954 34.0324 19.3577 34.1363 19.3577 34.2796C19.3577 34.4237 19.2954 34.5395 19.1911 34.6022ZM26.4652 34.8162C26.6219 34.9779 26.706 35.1819 26.706 35.5274C26.706 36.2497 26.2527 36.5868 25.4403 36.5868H23.8707V35.8668H25.4338C25.5866 35.8668 25.6952 35.8469 25.7632 35.7839C25.7933 35.7559 25.8173 35.722 25.8337 35.6843C25.8501 35.6466 25.8585 35.606 25.8583 35.5649C25.8592 35.5229 25.8508 35.4813 25.8337 35.4429C25.8167 35.4045 25.7914 35.3704 25.7597 35.3428C25.6986 35.2916 25.6134 35.2683 25.4731 35.2683C24.7195 35.2427 23.7759 35.2912 23.7759 34.2288C23.7759 33.7419 24.0832 33.2295 24.9278 33.2295H26.5432V33.9441H25.065C24.9186 33.9441 24.8234 33.9495 24.742 34.0045C24.6541 34.0591 24.6213 34.1398 24.6213 34.2464C24.62 34.3014 24.6365 34.3554 24.6682 34.4004C24.6999 34.4454 24.7452 34.479 24.7975 34.4963C24.8827 34.5258 24.974 34.5346 25.1108 34.5346L25.545 34.546C25.9822 34.5567 26.2826 34.632 26.4652 34.8162ZM29.6624 33.9174H28.1938C28.0474 33.9174 27.9499 33.9227 27.8678 33.9777C27.7829 34.0324 27.7501 34.113 27.7501 34.2196C27.7482 34.2748 27.7644 34.3291 27.7962 34.3742C27.828 34.4193 27.8737 34.4528 27.9262 34.4696C28.0111 34.499 28.1024 34.5078 28.2369 34.5078L28.6734 34.5193C29.114 34.53 29.4083 34.6056 29.5875 34.7895C29.6204 34.8151 29.6399 34.8437 29.6624 34.8728V33.9174Z",fill:"white"})),(0,N.createElement)("path",{d:"M3 24H27.6624V22H3V24ZM28.6624 25V39H30.6624V25H28.6624ZM27.6624 40H3V42H27.6624V40ZM2 39V25H0V39H2ZM3 40C2.44772 40 2 39.5523 2 39H0C0 40.6569 1.34315 42 3 42V40ZM28.6624 39C28.6624 39.5523 28.2147 40 27.6624 40V42C29.3193 42 30.6624 40.6569 30.6624 39H28.6624ZM27.6624 24C28.2147 24 28.6624 24.4477 28.6624 25H30.6624C30.6624 23.3431 29.3193 22 27.6624 22V24ZM3 22C1.34315 22 0 23.3431 0 25H2C2 24.4477 2.44772 24 3 24V22Z",fill:"#DDDDDD"}),(0,N.createElement)("defs",null,(0,N.createElement)("clipPath",{id:"clip0"},(0,N.createElement)("path",{d:"M36 3C36 1.89543 36.8954 1 38 1H62.6624C63.767 1 64.6624 1.89543 64.6624 3V17C64.6624 18.1046 63.767 19 62.6624 19H38C36.8954 19 36 18.1046 36 17V3Z",fill:"white"})),(0,N.createElement)("clipPath",{id:"clip1"},(0,N.createElement)("path",{d:"M36 25C36 23.8954 36.8954 23 38 23H62.66C63.7646 23 64.66 23.8954 64.66 25V39C64.66 40.1046 63.7646 41 62.66 41H38C36.8954 41 36 40.1046 36 39V25Z",fill:"white"})),(0,N.createElement)("clipPath",{id:"clip2"},(0,N.createElement)("path",{d:"M1 3.05811C1 1.95354 1.89543 1.05811 3 1.05811H27.6624C28.767 1.05811 29.6624 1.95354 29.6624 3.05811V17.0581C29.6624 18.1627 28.767 19.0581 27.6624 19.0581H3C1.89543 19.0581 1 18.1627 1 17.0581V3.05811Z",fill:"white"})),(0,N.createElement)("clipPath",{id:"clip3"},(0,N.createElement)("path",{d:"M1 25C1 23.8954 1.89543 23 3 23H27.6624C28.767 23 29.6624 23.8954 29.6624 25V39C29.6624 40.1046 28.767 41 27.6624 41H3C1.89543 41 1 40.1046 1 39V25Z",fill:"white"})))),currencies:[],stripe_key:"card_payments",allows_manual_capture:!0},au_becs_debit:{id:"au_becs_debit",label:(0,vt.__)("BECS Direct Debit","woocommerce-payments"),description:(0,vt.__)("Bulk Electronic Clearing System — Accept secure bank transfer from Australia.","woocommerce-payments"),icon:e=>(0,N.createElement)("svg",U({width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,N.createElement)("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H60C62.2091 0 64 1.79086 64 4V36C64 38.2091 62.2091 40 60 40H4C1.79086 40 0 38.2091 0 36V4Z",fill:"white"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.0817 8.32996L21 14.1625V16.4955H43.1635V14.1625L32.0817 8.32996ZM32.0817 10.9661L38.1592 14.1623H26.0043L32.0817 10.9661ZM26.2492 18.8285H23.9162V26.994H26.2492V18.8285ZM33.2482 18.8285H30.9152V26.994H33.2482V18.8285ZM21 31.66V29.327H43.1635V31.66H21ZM40.2472 18.8285H37.9142V26.994H40.2472V18.8285Z",fill:"#646970"})),currencies:["AUD"],stripe_key:"au_becs_debit_payments",allows_manual_capture:!1},bancontact:{id:"bancontact",label:(0,vt.__)("Bancontact","woocommerce-payments"),description:(0,vt.__)("Bancontact is a bank redirect payment method offered by more than 80% of online businesses in Belgium.","woocommerce-payments"),icon:e=>(0,N.createElement)("svg",U({width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,N.createElement)("rect",{width:"64",height:"40",fill:"white"}),(0,N.createElement)("path",{d:"M11 32.8983V27H12.872C14.2327 27 15.1081 27.4971 15.1081 28.5251C15.1081 29.1065 14.8308 29.511 14.4407 29.7469C15.0041 29.9997 15.3334 30.4884 15.3334 31.1541C15.3334 32.3422 14.4407 32.8983 13.054 32.8983L11 32.8983ZM12.2047 29.452H13.0974C13.6434 29.452 13.8774 29.1908 13.8774 28.7105C13.8774 28.1965 13.4527 28.028 12.8807 28.028H12.2047V29.452ZM12.2047 31.8703H12.95C13.6781 31.8703 14.1027 31.6933 14.1027 31.1372C14.1027 30.5895 13.7387 30.362 13.054 30.362H12.2047V31.8703ZM17.6696 32.9994C16.4823 32.9994 15.8842 32.4348 15.8842 31.6765C15.8842 30.8423 16.5863 30.3536 17.6263 30.3451C17.8847 30.3497 18.1425 30.3723 18.3976 30.4126V30.2103C18.3976 29.6964 18.0943 29.452 17.5136 29.452C17.1224 29.4472 16.734 29.5159 16.3696 29.6542L16.1529 28.7442C16.5256 28.5925 17.1236 28.4914 17.6523 28.4914C18.9263 28.4914 19.559 29.1487 19.559 30.2862V32.6286C19.2037 32.8056 18.5363 32.9994 17.6696 32.9994V32.9994ZM18.3976 32.0472V31.1456C18.1956 31.1019 17.9893 31.0793 17.7823 31.0782C17.3836 31.0782 17.0716 31.2299 17.0716 31.6259C17.0716 31.9798 17.3316 32.1652 17.791 32.1652C17.9998 32.1718 18.2075 32.1314 18.3976 32.0472ZM20.401 32.8983V28.8621C21.0239 28.6189 21.6886 28.4931 22.3597 28.4914C23.6251 28.4914 24.3531 29.0981 24.3531 30.2187V32.8983H23.1571V30.303C23.1571 29.7216 22.8797 29.452 22.3511 29.452C22.0885 29.4484 21.8284 29.5001 21.5884 29.6037V32.8983L20.401 32.8983ZM28.5328 28.7442L28.3075 29.6626C27.9979 29.5322 27.6654 29.4607 27.3281 29.452C26.6261 29.452 26.2448 29.9323 26.2448 30.7243C26.2448 31.5922 26.6434 32.0388 27.3888 32.0388C27.7214 32.0299 28.0487 31.9554 28.3508 31.8197L28.5415 32.755C28.149 32.9248 27.7229 33.0082 27.2934 32.9994C25.8547 32.9994 25.0227 32.1315 25.0227 30.758C25.0227 29.393 25.8461 28.4914 27.2241 28.4914C27.6734 28.4893 28.1185 28.5752 28.5328 28.7442H28.5328ZM31.1166 32.9994C29.7819 32.9994 28.9499 32.0978 28.9499 30.7412C28.9499 29.393 29.7819 28.4914 31.1166 28.4914C32.46 28.4914 33.2746 29.393 33.2746 30.7412C33.2746 32.0978 32.46 32.9994 31.1166 32.9994H31.1166ZM31.1166 32.0388C31.732 32.0388 32.0526 31.5417 32.0526 30.7412C32.0526 29.9491 31.732 29.452 31.1166 29.452C30.5099 29.452 30.1719 29.9491 30.1719 30.7412C30.1719 31.5417 30.5099 32.0388 31.1166 32.0388H31.1166ZM33.9668 32.8983V28.8621C34.5896 28.6189 35.2543 28.4931 35.9255 28.4914C37.1908 28.4914 37.9188 29.0981 37.9188 30.2187V32.8983H36.7228V30.303C36.7228 29.7216 36.4455 29.452 35.9168 29.452C35.6543 29.4484 35.3941 29.5001 35.1541 29.6037V32.8983L33.9668 32.8983ZM40.6162 32.9994C39.5848 32.9994 39.0561 32.4517 39.0561 31.3394V29.5194H38.4668V28.5925H39.0561V27.6572L40.2521 27.5982V28.5925H41.2142V29.5194H40.2521V31.3226C40.2521 31.8113 40.4602 32.0388 40.8502 32.0388C41.0047 32.0384 41.1588 32.0215 41.3095 31.9883L41.3702 32.9236C41.1227 32.9768 40.8696 33.0023 40.6161 32.9994H40.6162ZM43.635 32.9994C42.4476 32.9994 41.8496 32.4348 41.8496 31.6765C41.8496 30.8423 42.5516 30.3536 43.5917 30.3451C43.8501 30.3497 44.1079 30.3723 44.363 30.4126V30.2103C44.363 29.6964 44.0597 29.452 43.479 29.452C43.0878 29.4472 42.6994 29.5159 42.335 29.6542L42.1183 28.7442C42.491 28.5925 43.089 28.4914 43.6177 28.4914C44.8917 28.4914 45.5244 29.1487 45.5244 30.2862V32.6286C45.169 32.8056 44.5017 32.9994 43.635 32.9994H43.635ZM44.363 32.0472V31.1456C44.1609 31.1019 43.9547 31.0793 43.7477 31.0782C43.349 31.0782 43.037 31.2299 43.037 31.6259C43.037 31.9798 43.297 32.1652 43.7563 32.1652C43.9652 32.1718 44.1728 32.1314 44.363 32.0472H44.363ZM49.6164 28.7442L49.391 29.6626C49.0814 29.5322 48.749 29.4607 48.4117 29.452C47.7097 29.452 47.3283 29.9323 47.3283 30.7243C47.3283 31.5922 47.727 32.0388 48.4724 32.0388C48.805 32.0299 49.1323 31.9554 49.4344 31.8197L49.6251 32.755C49.2326 32.9248 48.8065 33.0082 48.377 32.9994C46.9383 32.9994 46.1063 32.1315 46.1063 30.758C46.1063 29.393 46.9297 28.4914 48.3077 28.4914C48.757 28.4893 49.2021 28.5752 49.6164 28.7442H49.6164ZM52.246 32.9994C51.2146 32.9994 50.686 32.4517 50.686 31.3394V29.5194H50.0966V28.5925H50.686V27.6572L51.882 27.5982V28.5925H52.844V29.5194H51.882V31.3226C51.882 31.8113 52.09 32.0388 52.48 32.0388C52.6345 32.0384 52.7886 32.0215 52.9393 31.9883L53 32.9236C52.7525 32.9768 52.4995 33.0023 52.246 32.9994H52.246Z",fill:"#1E3764"}),(0,N.createElement)("path",{d:"M19.3425 24C25.6713 24 28.8356 19.5 32 15H11V24H19.3425Z",fill:"url(#paint0_linear)"}),(0,N.createElement)("path",{d:"M44.6575 7C38.3287 7 35.1644 11 32 15H53V7H44.6575Z",fill:"url(#paint1_linear)"}),(0,N.createElement)("defs",null,(0,N.createElement)("linearGradient",{id:"paint0_linear",x1:"15.2476",y1:"19.9155",x2:"30.8386",y2:"14.486",gradientUnits:"userSpaceOnUse"},(0,N.createElement)("stop",{stopColor:"#005AB9"}),(0,N.createElement)("stop",{offset:"1",stopColor:"#1E3764"})),(0,N.createElement)("linearGradient",{id:"paint1_linear",x1:"33.2715",y1:"15.6939",x2:"49.3939",y2:"9.89188",gradientUnits:"userSpaceOnUse"},(0,N.createElement)("stop",{stopColor:"#FBA900"}),(0,N.createElement)("stop",{offset:"1",stopColor:"#FFD800"})))),currencies:["EUR"],stripe_key:"bancontact_payments",allows_manual_capture:!1},eps:{id:"eps",label:(0,vt.__)("EPS","woocommerce-payments"),description:(0,vt.__)("Accept your payment with EPS — a common payment method in Austria.","woocommerce-payments"),icon:e=>(0,N.createElement)("svg",U({width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,N.createElement)("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H60C62.2091 0 64 1.79086 64 4V36C64 38.2091 62.2091 40 60 40H4C1.79086 40 0 38.2091 0 36V4Z",fill:"white"}),(0,N.createElement)("path",{d:"M48.9049 20.4744H45.1561C44.7392 20.4744 44.4 20.1422 44.4 19.7263C44.4 19.3104 44.7392 18.9443 45.1561 18.9443H50.8634V16.129H45.1561C43.1642 16.129 41.5435 17.753 41.5435 19.74C41.5435 21.7269 43.1642 23.3509 45.1561 23.3509H48.854C49.2709 23.3509 49.6102 23.6817 49.6102 24.0976C49.6102 24.5135 49.2709 24.8197 48.854 24.8197H40.9244C40.2512 26.105 39.5966 27.2066 38.2678 27.7574H48.9049C50.8634 27.7292 52.4654 26.0718 52.4654 24.1024C52.4654 22.1331 50.8634 20.5026 48.9049 20.4744Z",fill:"#71706F"}),(0,N.createElement)("path",{d:"M34.5344 16.129C31.3572 16.129 28.7693 18.7323 28.7693 21.931V22.0534V34.0001H31.6459V27.7574H34.5284C37.7057 27.7574 40.2844 25.1196 40.2844 21.9208C40.2844 18.7221 37.7118 16.129 34.5344 16.129ZM34.5344 24.8197H31.6459V21.9208C31.6459 20.3009 32.9356 18.983 34.5344 18.983C36.1333 18.983 37.434 20.3009 37.434 21.9208C37.434 23.5408 36.1333 24.8197 34.5344 24.8197Z",fill:"#71706F"}),(0,N.createElement)("path",{d:"M19.6627 27.7573C16.9429 27.7573 14.6562 25.8192 14.0375 23.2873C14.0375 23.2873 13.8587 22.4502 13.8587 21.8989C13.8587 21.3477 14.0279 20.5019 14.0279 20.5019C14.6512 17.9762 16.935 16.0955 19.6503 16.0955C22.8439 16.0955 25.4645 18.6916 25.4645 21.8851V23.2896H16.9797C17.4808 24.2688 18.4941 24.8196 19.6627 24.8196H27.2901L27.3005 16.5378C27.3005 15.303 26.2904 14.2928 25.0556 14.2928H14.245C13.0103 14.2928 12 15.2724 12 16.5072V27.3178C12 28.5526 13.0103 29.5934 14.245 29.5934H25.0556C26.1637 29.5934 27.0881 28.7978 27.2666 27.7573H19.6627Z",fill:"#C8036F"}),(0,N.createElement)("path",{d:"M19.6503 18.8436C18.4862 18.8436 17.4738 19.5563 16.9708 20.4743H22.3299C21.8268 19.5563 20.8145 18.8436 19.6503 18.8436Z",fill:"#C8036F"}),(0,N.createElement)("path",{d:"M24.5464 10.7774C24.5464 8.13889 22.3537 6 19.6488 6C16.9888 6 14.8254 8.06894 14.7543 10.647C14.7531 10.6579 14.7541 10.6684 14.7541 10.6796V12.1153C14.7541 12.2871 14.8939 12.4568 15.0699 12.4568H16.8718C17.0478 12.4568 17.2022 12.2871 17.2022 12.1153V10.7774C17.2022 9.45982 18.2995 8.38786 19.6502 8.38786C21.001 8.38786 22.0983 9.45982 22.0983 10.7774V12.1153C22.0983 12.2871 22.2411 12.4568 22.4171 12.4568H24.219C24.3951 12.4568 24.5464 12.2871 24.5464 12.1153V10.7774Z",fill:"#C8036F"})),currencies:["EUR"],stripe_key:"eps_payments",allows_manual_capture:!1},giropay:{id:"giropay",label:(0,vt.__)("giropay","woocommerce-payments"),description:(0,vt.__)("Expand your business with giropay — Germany’s second most popular payment system.","woocommerce-payments"),icon:e=>(0,N.createElement)("svg",U({width:"65",height:"40",viewBox:"0 0 65 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,N.createElement)("path",{d:"M60.686 0h-56.9A3.397 3.397 0 00.389 3.397v33.206A3.397 3.397 0 003.786 40h56.9a3.397 3.397 0 003.397-3.397V3.397A3.397 3.397 0 0060.686 0z",fill:"#fff"}),(0,N.createElement)("path",{d:"M12 11a4 4 0 014-4h32.857a4 4 0 014 4v18a4 4 0 01-4 4H16a4 4 0 01-4-4V11z",fill:"#fff"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.857 9H16a2 2 0 00-2 2v18a2 2 0 002 2h32.857a2 2 0 002-2V11a2 2 0 00-2-2zM16 7a4 4 0 00-4 4v18a4 4 0 004 4h32.857a4 4 0 004-4V11a4 4 0 00-4-4H16z",fill:"#0F3365"}),(0,N.createElement)("path",{d:"M32.428 7h16.43a4 4 0 014 4v18a4 4 0 01-4 4h-16.43V7z",fill:"#0F3365"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.214 28.106h4.255V22.19h.048c.804 1.296 2.412 1.776 3.901 1.776 3.665 0 5.627-2.676 5.627-5.896 0-2.634-1.866-5.498-5.271-5.498-1.94 0-3.737.69-4.587 2.216h-.048v-1.966h-3.925v15.284zm9.434-9.952c0 1.736-.97 2.927-2.576 2.927-1.42 0-2.603-1.191-2.603-2.781 0-1.63 1.041-2.843 2.603-2.843 1.654 0 2.576 1.253 2.576 2.697z",fill:"#FFFFFE"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.635 12.822H25.78v1.965h-.046c-.899-1.337-2.365-2.216-4.185-2.216-3.83 0-5.556 2.425-5.556 5.666 0 3.221 2.104 5.478 5.486 5.478 1.702 0 3.12-.584 4.136-1.861h.048v.586c0 2.133-1.323 3.157-3.783 3.157-1.773 0-2.86-.334-4.16-.899l-.214 2.97c.993.312 2.672.69 4.705.69 4.965 0 7.424-1.444 7.424-5.918v-9.618zm-9.245 5.352c0-1.484.828-2.717 2.412-2.717 1.915 0 2.72 1.358 2.72 2.57 0 1.674-1.207 2.803-2.72 2.803-1.276 0-2.412-.963-2.412-2.656z",fill:"#D8232A"})),currencies:["EUR"],stripe_key:"giropay_payments",allows_manual_capture:!1},ideal:{id:"ideal",label:(0,vt.__)("iDEAL","woocommerce-payments"),description:(0,vt.__)("Expand your business with iDEAL — Netherlands’s most popular payment method.","woocommerce-payments"),icon:e=>(0,N.createElement)("svg",U({width:64,height:40,viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,N.createElement)("g",{clipPath:"url(#prefix__clip-ideal)"},(0,N.createElement)("path",{d:"M60.322 0h-56.9A3.397 3.397 0 00.025 3.397v33.206A3.397 3.397 0 003.422 40h56.9a3.397 3.397 0 003.397-3.397V3.397A3.397 3.397 0 0060.322 0z",fill:"#fff"}),(0,N.createElement)("path",{d:"M34.398 6c3.874.07 7.146 1.194 9.476 3.272a11.52 11.52 0 013.038 4.408C47.632 15.502 48 17.63 48 20c0 4.96-1.394 8.662-4.14 11.01-2.26 1.928-5.444 2.93-9.462 2.984V34H16V6h18.398zm-.348 1.86H17.852v24.28H34.05c8.14 0 12.098-3.97 12.098-12.14 0-4.122-1.18-7.264-3.504-9.336C40.588 8.83 37.616 7.86 34.05 7.86zm-8.06 11.29v8.78H20.7v-8.78h5.29zm-2.598-7.384a2.994 2.994 0 110 5.988 2.994 2.994 0 010-5.988z",fill:"#000"}),(0,N.createElement)("path",{d:"M33.796 28.152h-5.38V11.48h5.38-.22c4.488 0 9.262 1.774 9.262 8.356 0 6.958-4.774 8.312-9.26 8.312h.218v.004z",fill:"#DB4093"})),(0,N.createElement)("defs",null,(0,N.createElement)("clipPath",{id:"prefix__clip-ideal"},(0,N.createElement)("path",{fill:"#fff",transform:"translate(.025)",d:"M0 0h63.694v40H0z"})))),currencies:["EUR"],stripe_key:"ideal_payments",allows_manual_capture:!1},p24:{id:"p24",label:(0,vt.__)("Przelewy24 (P24)","woocommerce-payments"),description:(0,vt.__)("Accept payments with Przelewy24 (P24), the most popular payment method in Poland.","woocommerce-payments"),icon:e=>(0,N.createElement)("svg",U({width:"65",height:"40",viewBox:"0 0 52.3 35.5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,N.createElement)("g",{transform:"matrix(0.051757812 0 0 0.052083336 0 0)"},(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M409.6 384.9L566 384.7L560.3 420.3L429.5 545.2L539.3 545L532.9 583.4L371.2 583.5L378 543.8L503.4 423.7L403.3 423.7L409.6 384.9",stroke:"none",fill:"#D13239",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M238.5 324C 235.1 320.4 230.2 317.6 224.8 315.4C 219.1 313.19998 212.8 311.6 206.6 310.5C 198.8 309.1 191.20001 308.5 185.8 308.3C 180.8 308.09998 177.6 308.09998 177.6 308.09998L177.6 308.09998L109.200005 308.09998L58.300003 308.09998L12.7 583.5L55.3 583.5L72.1 481.5L154.7 481.9C 154.7 481.9 186.9 483.19998 209.7 471.1C 232.5 459 238.59999 431.5 238.59999 431.5C 238.59999 431.5 241.09999 421.3 243.2 408.9C 245.5 395.19998 247.8 378.8 249 370.1C 249.5 366.30002 249.8 363.9 249.8 363.9C 249.8 363.9 250.40001 361.1 250.40001 356.69998C 250.50002 350.59998 249.6 341.4 244.8 332.59998C 243.1 329.5 241.1 326.7 238.5 324zM205.7 372.6C 205.7 373.1 201.9 395.2 196.9 421.4C 195 431.4 187.29999 436.8 178.5 438.69998C 163.9 441.8 148.2 441.19998 148.2 441.19998L148.2 441.19998L79.2 440.99997L94.399994 349.49997L156.9 349.69998C 156.9 349.69998 161.09999 349.59998 167 349.69998C 173.7 349.8 182.6 350.09998 189.9 351.09998C 196.2 351.89996 201.2 353.19998 202.79999 355.19998C 204.9 357.8 205.69998 361.19998 205.99998 364.19998C 206.4 368.6 205.7 372.3 205.7 372.6z",stroke:"none",fill:"#D13239",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M778.1 308.1L819.1 308.1L773.2 583.5L732.1 583.4L778.1 308.1",stroke:"none",fill:"#D13239",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M996.9 384.9L1036.2 384.8L1050.1 524.6L1110.6 384.6L1159.1 384.7L1173.4 525.1L1233.8 384.8L1274.6 384.8L1188 583.3L1139.6 583.3L1125.6 444.3L1064.5 583.3L1016.9 583.5L996.9 384.9",stroke:"none",fill:"#D13239",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M702.4 386.5C 690.9 382.8 671 382 654.10004 382.2C 637.80005 382.40002 630.30005 383.2 624.2 384.5C 624.2 384.5 595.2 388.7 578.7 409.1C 562.2 429.5 557.3 474.1 557.3 474.1C 557.3 474.1 547.5 523.4 550.39996 539.9C 553.3 556.30005 558.39996 571.60004 576.99994 578.7C 595.5999 585.9 611.39996 585.5 611.39996 585.5C 611.39996 585.5 644.6 588.1 669.6 582.2C 694.6 576.3 707.8 558.7 707.8 558.7C 707.8 558.7 713.7 551.10004 717.89996 542.10004C 722.1 533.10004 723.39996 526.80005 723.6 526.00006L723.6 526.00006L726.19995 515.30005L683.69995 515.4C 683.69995 515.4 681.39996 543.5 658.39996 546.10004C 635.49994 548.7 623.19995 547.7 618.69995 547.50006C 614.2999 547.30005 589.69995 548.4001 591.69995 527.80005C 591.69995 527.50006 591.69995 527.10004 591.7999 526.50006C 592.8999 503.10007 595.49994 497.00006 595.49994 497.00006L595.49994 497.00006L728.99994 496.60007L734.69995 463.60007C 741.3 426.2 736.6 397.7 702.4 386.5zM693.5 458.9L602 458.8L605.6 444.3C 605.6 444.3 608.8 432.9 615.1 428.09998C 621.5 423.3 629.6 422.39996 637.19995 421.69998C 644.7999 420.99997 665.1 419.49997 681.6 422.9C 687.1 424 692.3 427.1 693.69995 431.69998C 696.9 442.5 693.5 458.9 693.5 458.9z",stroke:"none",fill:"#D13239",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M592 526.9C 592 527.2 591.9 527.5 591.9 527.80005C 591.8 529.4 592 526.8 592 526.9z",stroke:"none",fill:"#D13239",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M843.8 527C 843.8 527.3 843.7 527.6 843.7 527.9C 843.7 529.5 843.8 526.9 843.8 527z",stroke:"none",fill:"#D13239",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M954.3 386.6C 942.8 382.9 922.89996 382.1 906 382.30002C 889.7 382.50003 882.2 383.30002 876.1 384.6C 876.1 384.6 847.1 388.80002 830.6 409.2C 814.1 429.6 809.19995 474.2 809.19995 474.2C 809.19995 474.2 799.39996 523.5 802.2999 540C 805.19995 556.4 810.2999 571.7 828.8999 578.8C 847.4999 586 863.2999 585.6 863.2999 585.6C 863.2999 585.6 896.49994 588.19995 921.49994 582.3C 946.49994 576.39996 959.69995 558.8 959.69995 558.8C 959.69995 558.8 965.6 551.2 969.7999 542.2C 973.99994 533.2 975.2999 526.9 975.49994 526.10004L975.49994 526.10004L978.0999 515.4L935.5999 515.5C 935.5999 515.5 933.2999 543.6 910.2999 546.2C 887.3999 548.8 875.0999 547.8 870.5999 547.7C 866.1999 547.5 841.5999 548.5 843.5999 528C 843.5999 527.7 843.5999 527.3 843.6999 526.7C 844.79987 503.30002 847.3999 497.2 847.3999 497.2L847.3999 497.2L980.8999 496.80002L986.5999 463.80002C 993.2 426.3 988.5 397.7 954.3 386.6zM945 458.9L853.5 458.8L857.1 444.3C 857.1 444.3 860.3 432.9 866.6 428.09998C 872.89996 423.3 881.1 422.39996 888.69995 421.69998C 896.2999 420.99997 916.6 419.49997 933.1 422.9C 938.6 424 943.8 427.1 945.19995 431.69998C 948.4 442.4 945 458.9 945 458.9z",stroke:"none",fill:"#D13239",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M1321.8 384.9L1348.1001 530.1L1422.4001 384.8L1464.2002 385.19998L1357.1002 592.69995C 1357.1002 592.69995 1337.7002 630.2999 1325.7002 639.7999C 1313.7002 649.2999 1306.3002 653.5999 1296.5002 654.5999C 1286.7002 655.5999 1282.7002 656.2999 1273.3003 654.5999L1273.3003 654.5999L1263.3003 652.7999L1269.5002 615.69995C 1269.5002 615.69995 1286.1002 618.7999 1295.9003 614.89996C 1305.8003 610.99994 1313.7003 594.19995 1313.7003 594.19995L1313.7003 594.19995L1318.7003 585.7999L1280.0004 384.79993L1321.8 384.9z",stroke:"none",fill:"#D13239",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M1479.4 404.6L1522.5 404.7L1525.1 388C 1525.1 388 1529.7 357.8 1540 352C 1543.3 350.1 1548.6 348.4 1554.7 347.3C 1566 345.3 1580.2999 345.09998 1592 345.5C 1609.9 346.1 1616.7 346.3 1634.9 348.4C 1653.1 350.5 1648.5 368.1 1648.5 368.1L1648.5 368.1L1644.9 394.4C 1644.9 394.4 1643.3 406.19998 1639.1 413.5C 1635.4 420 1625.2 424.4 1619.2999 426.3C 1605.1 430.9 1556.4999 443.3 1556.4999 443.3L1556.4999 443.3L1518.2999 454.3C 1518.2999 454.3 1494.7999 461.09998 1481.7 475.59998C 1468.5 490.19998 1463.2999 506.69998 1461.5 515.3C 1459.7 523.89996 1449.6 583.39996 1449.6 583.39996L1449.6 583.39996L1655.7999 583.49994L1662.7 542.2999L1499.6 542.49994L1502.5 525.69995C 1502.5 525.69995 1504.4 508.39996 1511.4 502.69995C 1513.6 500.89996 1514.7001 498.49994 1527.7001 493.89996C 1535.5001 491.09998 1562.1001 483.99997 1562.1001 483.99997L1562.1001 483.99997L1623.6001 467.19998C 1623.6001 467.19998 1657.2001 458.59998 1670.4001 440.19998C 1683.6001 421.9 1688.7002 386.8 1688.7002 386.8C 1688.7002 386.8 1692.3002 352.69998 1689.5002 342C 1686.8003 331.3 1676.7002 318.5 1664.4003 313C 1652.1002 307.5 1639.3003 304.3 1602.2003 304.8C 1565.1003 305.3 1546.7003 307 1527.9003 314C 1509.1002 320.9 1498.2003 333.5 1491.3003 351.3C 1483.8 368.2 1479.4 404.6 1479.4 404.6z",stroke:"none",fill:"#B3B2B1",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M1867.6 481.2L1896.5 308L1845.3 308L1685.9 479.2L1678.7001 522.60004L1818.1001 522.60004L1807.9001 583.4L1850.7002 583.5L1860.8002 522.6L1900.3002 522.69995L1907.4001 481.19995L1867.6 481.2zM1825 481.3L1734.9 481.19998L1844.6 364.3L1825 481.3z",stroke:"none",fill:"#B3B2B1",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M328.9 330.8L460.2 330.8C 460.2 330.8 489.6 307 510.5 291.69998C 531.4 276.4 569.4 252.29999 569.4 252.29999L569.4 252.29999L495.2 217.59999C 495.2 217.59999 432.5 256.4 405.90002 274.69998C 380.1 291.6 328.9 330.8 328.9 330.8z",stroke:"none",fill:"#B3B2B1",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M611.1 227.8L550.19995 186.8C 550.19995 186.8 605.2999 155.5 678.6 126.3C 751.8 97.100006 790.89996 84.9 790.89996 84.9L790.89996 84.9L803.3 143C 803.3 143 732.8 166.6 692.39996 185.7C 650.6 203.5 611.1 227.8 611.1 227.8z",stroke:"none",fill:"#B3B2B1",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M848.3 130.3L837.7 70.8C 837.7 70.8 912.9 50.800003 981.7 38.000004C 1050.6 25.200005 1141.9 19.100004 1141.9 19.100004L1141.9 19.100004L1111.7001 111.00001C 1111.7001 111.00001 1031.4 100.00001 956.00006 110.30001C 897.3 117.3 848.3 130.3 848.3 130.3z",stroke:"none",fill:"#B3B2B1",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M1159.5 118.8L1210.3 16.700005C 1210.3 16.700005 1321.6001 14.500005 1417.6001 29.400005C 1513.6001 44.200005 1601.4001 67 1599.5001 68L1599.5001 68L1356.1001 195.3C 1356.1001 195.3 1299.2001 159.3 1228.6001 137.20001C 1188.6 125.4 1159.5 118.8 1159.5 118.8z",stroke:"none",fill:"#B3B2B1",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M1399.7 223L1453.2 263.6L1892.8999 263.6C 1892.8999 263.6 1891.9999 249.40001 1880.2999 229.20001C 1872.9999 216.6 1859.7 203.20001 1845.7999 189.30002C 1840.7 184.30002 1820.4999 168.50002 1805.2999 158.60002C 1766.4999 133.40002 1744.7999 123.70002 1704.4999 105.400024L1704.4999 105.400024L1399.7 223z",stroke:"none",fill:"#B3B2B1",fillRule:"nonzero"}),(0,N.createElement)("g",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)"}),(0,N.createElement)("path",{transform:"matrix(0.5333334 0 0 0.5333334 -0 204.80002)",d:"M357.4 384.7C 340.9 384.7 325.3 391.2 312 398.5L312 398.5L314.3 384.7L270.59998 384.7L235.59998 582.4L279.39996 582.4L298.79996 472.90002C 302.79996 450.7 319.39996 423.2 351.79996 423.2L351.79996 423.2L374.39996 423.1L381.19995 384.7L357.4 384.7z",stroke:"none",fill:"#D13239",fillRule:"nonzero"}))),currencies:["EUR","PLN"],stripe_key:"p24_payments",allows_manual_capture:!1},sepa_debit:{id:"sepa_debit",label:(0,vt.__)("SEPA Direct Debit","woocommerce-payments"),description:(0,vt.__)("Reach 500 million customers and over 20 million businesses across the European Union.","woocommerce-payments"),icon:e=>(0,N.createElement)("svg",U({width:"65",height:"40",viewBox:"0 0 65 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.186 0A4.544 4.544 0 002.01 1.286 4.342 4.342 0 00.694 4.391V35.61c0 1.164.474 2.281 1.316 3.105A4.543 4.543 0 005.186 40h54.711a4.543 4.543 0 003.176-1.286 4.342 4.342 0 001.316-3.105V4.39a4.342 4.342 0 00-1.316-3.105A4.543 4.543 0 0059.897 0H5.186z",fill:"#10298E"}),(0,N.createElement)("path",{d:"M32.85 17.329v-.023l.67-1.415a5.974 5.974 0 00-4.363-1.89 5.999 5.999 0 00-5.55 3.727h-1.262l-.903 1.785h1.74c-.012.162-.023.323-.023.488 0 .179.01.355.026.53h-.84l-.79 1.761h2.059A5.998 5.998 0 0029.157 26a5.971 5.971 0 003.695-1.28v-2.266a4.229 4.229 0 01-6.88-.162h4.46l.837-1.762h-5.98a4.13 4.13 0 01-.065-.639c0-.084.011-.164.022-.245.006-.044.012-.088.016-.133h6.458l.904-1.785h-6.79a4.232 4.232 0 013.643-2.09c1.382 0 2.596.67 3.374 1.691z",fill:"#FFBE00"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M51.046 23.873l.599 2.07h3.32L51.305 14h-4.902L42.81 25.943h3.299l.604-2.07h4.332zm-.693-2.394h-2.94l1.475-5.06 1.465 5.06zM37.187 22.813h2.394s1.943.179 2.936-.318c.994-.496 1.288-1.334 1.423-1.83.13-.47.196-2.026.204-2.192v-.014c.027-.563.014-1.868-.587-3.035-.628-1.219-2.633-1.398-3.434-1.42l-.047-.002c-.182-.004-.292 0-.292 0H34v11.942h3.186v-3.131zm2.304-6.282h-2.304v3.57h2.12c.295-.002 1.308-.051 1.404-.61a8.57 8.57 0 00.099-1.381 6.974 6.974 0 00-.12-.923c-.137-.656-1.2-.656-1.2-.656z",fill:"#fff"}),(0,N.createElement)("path",{d:"M18.25 25.87s2.037-.1 2.602-1.636c.565-1.536.16-3.572.16-3.572s-.215-1.37-2.19-1.754c-.002-.001-.002-.004-.002-.006 0-.003 0-.006-.003-.006a7.574 7.574 0 00-.741-.087h-.003c-.775-.067-1.918-.138-2.553-.176l-.032-.013a.3.3 0 00-.035-.014c-1.22.022-1.243-.52-1.243-.588a.506.506 0 00-.015-.073c-.048-.201-.177-.746.128-1.146.348-.458 1.74-.4 1.84-.395.3.013.712.037.916.078.339.068.704.28.655 1.288h3.005v-.926s.069-1.604-1.061-2.236c-.915-.512-1.906-.58-2.255-.587h-.004s-1.808-.046-2.667 0c-.488.026-1.136.095-1.745.266-.4.09-.796.248-1.12.532-.01.008-.016.017-.023.025a.174.174 0 01-.02.024.133.133 0 01-.024.015c-.01.006-.02.011-.027.019-.022.02-.032.04-.041.06a.267.267 0 01-.02.036c-.982 1.09-.8 3.203-.436 4.467.29 1.009 1.467 1.355 2.026 1.465l.004.002.003.002c.04.007.108.018.175.026l.03.005.023.004a.585.585 0 00.023.003l.023.002.018.003c.758.09 2.52.215 3.3.267l.001.008.042-.004.311.02.023.003c.297.054.66.226.663.772v.062c.003.627.004.788-.068.89a.3.3 0 00-.113.11c-.14.237-.648.3-1.017.317h-1.965c-.836-.114-.813-1.017-.813-1.017v-.362h-2.983v.452s-.09 1.92.858 2.62c.821.606 1.698.764 2.938.798v.016h1.333s1.165.053 2.12-.062v.002z",fill:"#fff"})),currencies:["EUR"],stripe_key:"sepa_debit_payments",allows_manual_capture:!1},sofort:{id:"sofort",label:(0,vt.__)("Sofort","woocommerce-payments"),description:(0,vt.__)("Accept secure bank transfers from Austria, Belgium, Germany, Italy, Netherlands, and Spain.","woocommerce-payments"),icon:e=>(0,N.createElement)("svg",U({width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,N.createElement)("path",{d:"M60.297 0h-56.9A3.397 3.397 0 000 3.397v33.206A3.397 3.397 0 003.397 40h56.9a3.397 3.397 0 003.397-3.397V3.397A3.397 3.397 0 0060.297 0z",fill:"#EF809F"}),(0,N.createElement)("path",{d:"M28.333 25.092c.494.484.503 1.276.019 1.77l-.093.102a1.251 1.251 0 01-1.77.019l-2.795-2.767c-.773-.773-.875-1.723-.39-2.226l.092-.102c.4-.42 1.062-.457 1.518-.103.215.168.531.13.708-.084a.513.513 0 00-.083-.707 2.154 2.154 0 00-2.87.186l-.092.102c-.904.932-.727 2.506.4 3.633l2.804 2.794a2.274 2.274 0 003.204-.046l.102-.103a2.269 2.269 0 00-.046-3.185.492.492 0 00-.708.009.484.484 0 000 .708zm-1.677-15.006l1.146 9.408c.028.27.28.475.559.438a.497.497 0 00.438-.56l-1.146-9.444-.01-.056c-.195-.783.29-1.658.941-1.798.364-.074.746-.01 1.053.196a1.4 1.4 0 01.596.885l1.994 8.513a.502.502 0 10.978-.233L31.22 8.95a2.394 2.394 0 00-2.841-1.863c-1.23.26-2.031 1.695-1.724 3z",fill:"#fff"}),(0,N.createElement)("path",{d:"M37.163 21.133l2.264-11.27a2.384 2.384 0 00-1.658-2.785c-1.342-.336-2.692.447-3.037 1.77l-2.505 8.578c-.075.27.074.55.344.624.27.075.55-.074.624-.345l2.506-8.588a1.495 1.495 0 011.797-1.07c.671.204 1.09.903.941 1.61l-2.263 11.28c-.056.27.121.54.391.597.28.046.55-.13.596-.4zm-5.691 10.861c-3.586 0-6.576-2.627-6.576-6.362a.5.5 0 00-.503-.503.5.5 0 00-.503.503c0 4.322 3.474 7.368 7.582 7.368a.5.5 0 00.503-.503.501.501 0 00-.503-.503zm-1.77-8.784c-.074.28-.251.531-.493.69l-.112.065a1.26 1.26 0 01-1.751-.335l-2.199-3.27c-.596-.913-.521-1.863.056-2.263l.103-.075c.745-.428 1.369-.102 2.012.838l1.835 2.739a.508.508 0 00.698.14.506.506 0 00.14-.699l-1.835-2.738c-.913-1.323-2.03-1.91-3.381-1.128l-.14.094c-1.08.735-1.21 2.319-.326 3.651l2.198 3.279a2.263 2.263 0 003.14.605l.111-.074a2.29 2.29 0 00.904-1.258.498.498 0 00-.354-.615.492.492 0 00-.606.354z",fill:"#fff"}),(0,N.createElement)("path",{d:"M33.027 24.868c-1.043.587-1.695 1.677-1.77 3.344a.502.502 0 00.476.531c.28.01.512-.195.53-.475.075-1.509.662-2.32 1.603-2.673.503-.186 1.052-.224 1.537-.177l.12.019c.643.12.848-.839.206-.988l-3.866-.866c-1.807-.494-2.086-1.164-1.751-2.282.149-.484.438-.736.894-.838.298-.066.624-.056.94 0 .094.018.16.027.187.037l5.868 1.37.112.036a.944.944 0 01.298.215c.391.419.615 1.21.503 2.515-.382 4.564-2.505 7.395-7.554 7.349a.499.499 0 00-.01.996c5.664.047 8.142-3.241 8.56-8.271.131-1.565-.157-2.636-.763-3.279-.335-.354-.69-.521-.96-.559l-5.802-1.35c-.038-.01-.13-.037-.261-.056a3.611 3.611 0 00-1.341.01c-.783.176-1.379.67-1.63 1.527-.485 1.611.027 2.878 2.468 3.54l1.406.325z",fill:"#fff"})),currencies:["EUR"],stripe_key:"sofort_payments",allows_manual_capture:!1}},hc=e=>{let{name:t,showName:n}=e;const r=fc[t];if(!r)return(0,N.createElement)(N.Fragment,null);const{label:o,icon:a}=r;return(0,N.createElement)("span",{className:q()("woocommerce-payments__payment-method-icon",{"has-icon-border":"card"!==t})},(0,N.createElement)(a,null),n&&(0,N.createElement)("span",{className:"woocommerce-payments__payment-method-icon__label"},o))},yc=n(737),_c=n.n(yc),vc=function(e){var t=e.hasBorder,n=e.icon,r=void 0===n?function(){return null}:n;return x().createElement("div",{className:"payment-delete-illustration__wrapper"},x().createElement("div",{className:"payment-delete-illustration__illustrations"},x().createElement(r,{className:q()("payment-delete-illustration__payment-icon",{"has-border":t})}),x().createElement(_c(),{className:"payment-delete-illustration__payment-cross-icon"})))},gc=e=>(0,N.createElement)("svg",U({width:"140",height:"85",viewBox:"0 0 140 85",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,N.createElement)("path",{d:"M134.009 0H5.226A5.226 5.226 0 000 5.226v74.191a5.226 5.226 0 005.226 5.226h128.783a5.225 5.225 0 005.225-5.226V5.226A5.225 5.225 0 00134.009 0z",fill:"url(#woo-card-svg-gradient)"}),(0,N.createElement)("path",{d:"M131.932.863H6.755A5.226 5.226 0 001.529 6.09v71.116a5.226 5.226 0 005.226 5.225h125.177a5.226 5.226 0 005.226-5.225V6.089a5.226 5.226 0 00-5.226-5.226z",fill:"#fff"}),(0,N.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M51.17 10.863H18.38c-2.076 0-3.756 1.692-3.74 3.744v12.479a3.748 3.748 0 003.756 3.743h15.53l7.098 3.941-1.614-3.94h11.76a3.748 3.748 0 003.754-3.744v-12.48a3.748 3.748 0 00-3.755-3.743zm-33.482 2.89c-.461.033-.807.197-1.038.51-.23.295-.313.672-.263 1.1.971 6.157 1.877 10.31 2.717 12.462.33.788.708 1.165 1.153 1.133.691-.05 1.515-1.002 2.487-2.857a308.65 308.65 0 012.371-4.73c.89 3.104 2.108 5.436 3.64 6.995.428.444.873.64 1.301.608.379-.033.675-.23.873-.591.165-.312.23-.673.198-1.084-.1-1.494.049-3.58.46-6.256.429-2.758.956-4.745 1.598-5.927a1.42 1.42 0 00.165-.788 1.285 1.285 0 00-.51-.936c-.314-.246-.66-.361-1.038-.329-.478.033-.84.263-1.087.723-1.021 1.855-1.746 4.86-2.174 9.03-.626-1.576-1.153-3.431-1.565-5.615-.18-.969-.626-1.428-1.35-1.38-.494.034-.906.362-1.235.986l-3.607 6.847c-.593-2.38-1.153-5.287-1.664-8.719-.115-.854-.593-1.248-1.432-1.182zm31.736 1.182c1.169.247 2.042.87 2.635 1.905.527.887.79 1.954.79 3.235 0 1.69-.428 3.234-1.284 4.646-.988 1.642-2.273 2.463-3.87 2.463-.28 0-.577-.033-.89-.098-1.17-.247-2.042-.87-2.635-1.905-.527-.903-.79-1.987-.79-3.251 0-1.691.428-3.235 1.284-4.63 1.005-1.642 2.29-2.463 3.87-2.463.28 0 .577.033.89.098zm-.692 8.883c.61-.542 1.021-1.346 1.252-2.43.066-.378.115-.788.115-1.215 0-.476-.099-.985-.296-1.494-.247-.64-.577-.985-.972-1.067-.593-.115-1.17.213-1.713 1.018a5.302 5.302 0 00-.873 1.954 5.697 5.697 0 00-.115 1.198c0 .476.099.985.296 1.494.247.64.577.986.972 1.068.412.082.856-.099 1.334-.526zm-7-6.978c-.592-1.034-1.482-1.658-2.635-1.905a4.34 4.34 0 00-.889-.098c-1.58 0-2.865.82-3.87 2.463-.857 1.395-1.285 2.939-1.285 4.63 0 1.264.264 2.348.79 3.251.594 1.034 1.467 1.658 2.636 1.905.313.065.61.098.89.098 1.597 0 2.881-.82 3.87-2.463.856-1.412 1.284-2.955 1.284-4.646 0-1.281-.263-2.348-.79-3.235zm-2.075 4.548c-.23 1.084-.642 1.888-1.251 2.43-.478.427-.922.608-1.334.526-.396-.082-.725-.427-.972-1.068a4.157 4.157 0 01-.296-1.494c0-.41.033-.82.115-1.198.148-.674.428-1.33.873-1.954.543-.805 1.12-1.133 1.713-1.018.395.082.724.427.971 1.067.198.509.297 1.018.297 1.494 0 .427-.033.838-.116 1.215z",fill:"#7F54B3"}),(0,N.createElement)("path",{d:"M19.58 46.586h-4.56v7.41h4.56v-7.41zM26.422 57.797H14.64v7.41h11.78v-7.41zM25.091 46.586h-4.37v7.41h4.37v-7.41zM54.925 57.797H30.412v7.41h24.513v-7.41zM30.792 46.586h-4.37v7.41h4.37v-7.41zM40.863 46.586h-4.37v7.41h4.37v-7.41zM46.374 46.586h-4.37v7.41h4.37v-7.41zM52.264 46.586h-4.56v7.41h4.56v-7.41zM62.146 46.586h-4.37v7.41h4.37v-7.41zM67.846 46.586h-4.56v7.41h4.56v-7.41zM73.546 46.586h-4.37v7.41h4.37v-7.41zM83.43 46.586h-4.371v7.41h4.37v-7.41zM89.318 46.586h-4.56v7.41h4.56v-7.41zM95.02 46.586h-4.561v7.41h4.56v-7.41z",fill:"#C3C4C7"}),(0,N.createElement)("path",{opacity:".1",d:"M123.332 65.207h-14.441v10.831h14.441V65.207z",fill:"#271B3D"}),(0,N.createElement)("path",{opacity:".1",d:"M130.553 65.207h-14.442v10.831h14.442V65.207z",fill:"#271B3D"}),(0,N.createElement)("defs",null,(0,N.createElement)("linearGradient",{id:"woo-card-svg-gradient",x1:"76484.5",y1:"57496",x2:"76484.5",y2:"19792.6",gradientUnits:"userSpaceOnUse"},(0,N.createElement)("stop",{stopColor:"gray",stopOpacity:".25"}),(0,N.createElement)("stop",{offset:".535",stopColor:"gray",stopOpacity:".12"}),(0,N.createElement)("stop",{offset:"1",stopColor:"gray",stopOpacity:".1"}))));var wc=function(e){J(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=re(t);if(n){var o=re(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ne(this,e)});function o(){var e;return K(this,o),(e=r.apply(this,arguments)).containerRef=(0,N.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(te(e)),e.handleFocusOutside=e.handleFocusOutside.bind(te(e)),e}return $(o,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.containerRef.current.focus()}},{key:"handleFocusOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){e.keyCode===se.ESCAPE&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.stopPropagation(),this.onRequestClose(e))}},{key:"onRequestClose",value:function(e){var t=this.props.onRequestClose;t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.contentLabel,r=e.aria,o=r.describedby,a=r.labelledby,i=e.children,c=e.className,s=e.role,u=e.style;return(0,N.createElement)(De,{className:q()("components-modal__screen-overlay",t),onKeyDown:this.handleKeyDown},(0,N.createElement)("div",{className:q()("components-modal__frame",c),style:u,ref:this.containerRef,role:s,"aria-label":n,"aria-labelledby":n?null:a,"aria-describedby":o,tabIndex:"-1"},i))}}]),o}(N.Component),Ec=(0,ue.compose)([Ee,be,Re])(wc),Cc=function(e){var t=e.icon,n=e.title,r=e.onClose,o=e.closeLabel,a=e.headingId,i=e.isDismissible,c=o||(0,vt.__)("Close dialog");return(0,N.createElement)("div",{className:"components-modal__header"},(0,N.createElement)("div",{className:"components-modal__header-heading-container"},t&&(0,N.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&(0,N.createElement)("h1",{id:a,className:"components-modal__header-heading"},n)),i&&(0,N.createElement)(_t,{onClick:r,icon:de,label:c}))},bc=new Set(["alert","status","log","marquee","timer"]),Sc=[],Rc=!1;var Oc,Tc=0,Lc=function(e){J(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=re(t);if(n){var o=re(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ne(this,e)});function o(e){var t;return K(this,o),(t=r.call(this,e)).prepareDOM(),t}return $(o,[{key:"componentDidMount",value:function(){1==++Tc&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0==--Tc&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){Oc||(Oc=document.createElement("div"),document.body.appendChild(Oc)),this.node=document.createElement("div"),Oc.appendChild(this.node)}},{key:"cleanDOM",value:function(){Oc.removeChild(this.node)}},{key:"openFirstModal",value:function(){(function(e){if(!Rc){var t=document.body.children;(0,W.forEach)(t,(function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||bc.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Sc.push(t))})),Rc=!0}})(Oc),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),Rc&&((0,W.forEach)(Sc,(function(e){e.removeAttribute("aria-hidden")})),Sc=[],Rc=!1)}},{key:"render",value:function(){var e=this.props,t=e.onRequestClose,n=e.title,r=e.icon,o=e.closeButtonLabel,a=e.children,i=e.aria,c=e.instanceId,s=e.isDismissible,u=e.isDismissable,l=j(e,["onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissible","isDismissable"]),d=i.labelledby||"components-modal-header-".concat(c);return u&&Q()("isDismissable prop of the Modal component",{alternative:"isDismissible prop (renamed) of the Modal component"}),(0,N.createPortal)((0,N.createElement)(Ec,U({onRequestClose:t,aria:{labelledby:n?d:null,describedby:i.describedby}},l),(0,N.createElement)("div",{className:"components-modal__content",role:"document"},(0,N.createElement)(Cc,{closeLabel:o,headingId:d,icon:r,isDismissible:s||u,onClose:t,title:n}),a)),this.node)}}]),o}(N.Component);Lc.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissible:!0,aria:{labelledby:null,describedby:null}};var Ac=(0,ue.withInstanceId)(Lc),Mc=function(){return Mc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mc.apply(this,arguments)},Dc=function(e){var t=e.children,n=e.actions,r=e.className,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children","actions","className"]);return x().createElement(Ac,Mc({className:q()("wcpay-confirmation-modal",r)},o),t,x().createElement(le.HorizontalRule,{className:"wcpay-confirmation-modal__separator"}),x().createElement("div",{className:"wcpay-confirmation-modal__footer"},n))},Hc=e=>{let{onClose:t,onConfirm:n}=e;const r=(0,wt.useSelect)((e=>{const{getAvailablePaymentMethodIds:t}=e(Ct);return t()}));return(0,N.createElement)(Dc,{title:(0,vt.__)("Disable WooCommerce Payments","woocommerce-payments"),onRequestClose:t,actions:(0,N.createElement)(N.Fragment,null,(0,N.createElement)(_t,{onClick:n,isPrimary:!0,isDestructive:!0},"Disable"),(0,N.createElement)(_t,{onClick:t,isSecondary:!0},"Cancel"))},(0,N.createElement)(vc,{icon:gc}),(0,N.createElement)("p",null,(0,gt.Z)({mixedString:(0,vt.__)("WooCommerce Payments is currently powering multiple popular payment methods on your store. Without it, they will no longer be available to your customers which may {{strong}}influence conversions and sales on your store.{{/strong}}","woocommerce-payments"),components:{strong:(0,N.createElement)("strong",null)}})),(0,N.createElement)("p",null,(0,gt.Z)({mixedString:(0,vt.__)("You can enable WooCommerce Payments again at any time in {{settingsLink}}settings{{/settingsLink}}.","woocommerce-payments"),components:{settingsLink:(0,N.createElement)("a",{href:"admin.php?page=wc-settings&tab=checkout§ion"})}})),(0,N.createElement)("p",null,(0,N.createElement)("strong",null,(0,vt.__)("Payment methods that need WooCommerce Payments:","woocommerce-payments"))),(0,N.createElement)("ul",{className:"disable-confirmation-modal__payment-methods-list"},r.map((e=>(0,N.createElement)("li",{key:e},(0,N.createElement)(hc,{name:e,showName:!0}))))),(0,N.createElement)("p",null,(0,gt.Z)({mixedString:(0,vt.__)("{{strong}}Need help?{{/strong}} Learn more about {{wooCommercePaymentsLink}}WooCommerce Payments{{/wooCommercePaymentsLink}} or {{contactSupportLink}}contact WooCommerce Support{{/contactSupportLink}}.","woocommerce-payments"),components:{strong:(0,N.createElement)("strong",null),wooCommercePaymentsLink:(0,N.createElement)("a",{href:"https://woocommerce.com/document/payments/"}),contactSupportLink:(0,N.createElement)("a",{href:"https://woocommerce.com/my-account/create-a-ticket/?select=5278104"})}})))};const Ic=document.getElementById("wcpay-payment-gateways-container");Ic&&B().render((0,N.createElement)((()=>{(()=>{const{saveSettings:e}=(0,wt.useDispatch)(Ct);(0,wt.useSelect)((t=>{const{getSettings:n,hasFinishedResolution:r,isResolving:o,isSavingSettings:a}=t(Ct),i=o("getSettings")||!r("getSettings");return{settings:n(),isLoading:i,saveSettings:e,isSaving:a()}}),[e])})();const[e,t]=(0,F.useState)(!1),n=(0,F.useRef)(!1),r=(0,F.useCallback)((()=>{t(!1),n.current=!0,jQuery('tr[data-gateway_id="woocommerce_payments"] .wc-payment-gateway-method-toggle-enabled').trigger("click")}),[t]),o=(0,F.useCallback)((()=>{t(!1)}),[t]);return(0,F.useEffect)((()=>{const e=(e,r,o)=>{!0!==n.current?woocommerce_admin.ajax_url===o.url&&o.data.includes("action=woocommerce_toggle_gateway_enabled")&&o.data.includes("gateway_id=woocommerce_payments")&&1!==jQuery('tr[data-gateway_id="woocommerce_payments"] .woocommerce-input-toggle--disabled').length&&(r.abort(),jQuery('tr[data-gateway_id="woocommerce_payments"] .woocommerce-input-toggle--loading').removeClass("woocommerce-input-toggle--loading"),t(!0)):n.current=!1};return jQuery(document).on("ajaxSend",e),()=>{jQuery(document).off("ajaxSend",e)}}),[]),e?(0,N.createElement)(Hc,{onClose:o,onConfirm:r}):null}),null),Ic)}()}();