"use strict";(globalThis.webpackChunkcheckout_for_woocommerce=globalThis.webpackChunkcheckout_for_woocommerce||[]).push([[770],{333:(r,n,t)=>{t.d(n,{Tw:()=>h,Zz:()=>l,y$:()=>c,zH:()=>a});var o=t(4107);function e(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var i="function"==typeof Symbol&&Symbol.observable||"@@observable",u=function(){return Math.random().toString(36).substring(7).split("").join(".")},f={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}};function c(r,n,t){var o;if("function"==typeof n&&"function"==typeof t||"function"==typeof t&&"function"==typeof arguments[3])throw new Error(e(0));if("function"==typeof n&&void 0===t&&(t=n,n=void 0),void 0!==t){if("function"!=typeof t)throw new Error(e(1));return t(c)(r,n)}if("function"!=typeof r)throw new Error(e(2));var u=r,p=n,a=[],l=a,h=!1;function w(){l===a&&(l=a.slice())}function s(){if(h)throw new Error(e(3));return p}function y(r){if("function"!=typeof r)throw new Error(e(4));if(h)throw new Error(e(5));var n=!0;return w(),l.push(r),function(){if(n){if(h)throw new Error(e(6));n=!1,w();var t=l.indexOf(r);l.splice(t,1),a=null}}}function v(r){if(!function(r){if("object"!=typeof r||null===r)return!1;for(var n=r;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(r)===n}(r))throw new Error(e(7));if(void 0===r.type)throw new Error(e(8));if(h)throw new Error(e(9));try{h=!0,p=u(p,r)}finally{h=!1}for(var n=a=l,t=0;t<n.length;t++)(0,n[t])();return r}return v({type:f.INIT}),(o={dispatch:v,subscribe:y,getState:s,replaceReducer:function(r){if("function"!=typeof r)throw new Error(e(10));u=r,v({type:f.REPLACE})}})[i]=function(){var r,n=y;return(r={subscribe:function(r){if("object"!=typeof r||null===r)throw new Error(e(11));function t(){r.next&&r.next(s())}return t(),{unsubscribe:n(t)}}})[i]=function(){return this},r},o}function p(r,n){return function(){return n(r.apply(this,arguments))}}function a(r,n){if("function"==typeof r)return p(r,n);if("object"!=typeof r||null===r)throw new Error(e(16));var t={};for(var o in r){var i=r[o];"function"==typeof i&&(t[o]=p(i,n))}return t}function l(){for(var r=arguments.length,n=new Array(r),t=0;t<r;t++)n[t]=arguments[t];return 0===n.length?function(r){return r}:1===n.length?n[0]:n.reduce(function(r,n){return function(){return r(n.apply(void 0,arguments))}})}function h(){for(var r=arguments.length,n=new Array(r),t=0;t<r;t++)n[t]=arguments[t];return function(r){return function(){var t=r.apply(void 0,arguments),i=function(){throw new Error(e(15))},u={getState:t.getState,dispatch:function(){return i.apply(void 0,arguments)}},f=n.map(function(r){return r(u)});return i=l.apply(void 0,f)(t.dispatch),(0,o.A)((0,o.A)({},t),{},{dispatch:i})}}}}}]);