Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.133.153.110
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/diixadigital.com/wp-content/plugins/woocommerce-payments/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/diixadigital.com/wp-content/plugins/woocommerce-payments/dist/settings.js
/*! For license information please see settings.js.LICENSE.txt */
(()=>{var e={2926:function(e,t,n){!function(e,t){"use strict";function n(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 r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e){return o="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(e)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(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}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(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)?d(e,t):void 0}}(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.")}()}function d(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}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;function c(){}function l(){}l.resetWarningCache=c;var u,p,m=(u=function(e){e.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:c};return n.PropTypes=n,n}()},u(p={exports:{}},p.exports),p.exports),h=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},f=function(e){return null!==e&&"object"===o(e)},y="[object Object]",g=function e(t,n){if(!f(t)||!f(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o=Object.prototype.toString.call(t)===y;if(o!==(Object.prototype.toString.call(n)===y))return!1;if(!o&&!r)return t===n;var a=Object.keys(t),i=Object.keys(n);if(a.length!==i.length)return!1;for(var s={},d=0;d<a.length;d+=1)s[a[d]]=!0;for(var c=0;c<i.length;c+=1)s[i[c]]=!0;var l=Object.keys(s);if(l.length!==a.length)return!1;var u=t,p=n;return l.every((function(t){return e(u[t],p[t])}))},v=function(e,t,n){return f(e)?Object.keys(e).reduce((function(o,i){var s=!f(t)||!g(e[i],t[i]);return n.includes(i)?(s&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),o):s?r(r({},o||{}),{},a({},i,e[i])):o}),null):null},_="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",b=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_;if(null===e||f(t=e)&&"function"==typeof t.elements&&"function"==typeof t.createToken&&"function"==typeof t.createPaymentMethod&&"function"==typeof t.confirmCardPayment)return e;throw new Error(n)},$=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_;if(function(e){return f(e)&&"function"==typeof e.then}(e))return{tag:"async",stripePromise:Promise.resolve(e).then((function(e){return b(e,t)}))};var n=b(e,t);return null===n?{tag:"empty"}:{tag:"sync",stripe:n}},w=function(e){e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"2.5.1"}),e.registerAppInfo({name:"react-stripe-js",version:"2.5.1",url:"https://stripe.com/docs/stripe-js/react"}))},S=t.createContext(null);S.displayName="ElementsContext";var E=function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},x=t.createContext(null);x.displayName="CartElementContext";var C=function(e){var n=e.stripe,r=e.options,o=e.children,a=t.useMemo((function(){return $(n)}),[n]),i=s(t.useState(null),2),d=i[0],c=i[1],l=s(t.useState(null),2),u=l[0],p=l[1],m=s(t.useState((function(){return{stripe:"sync"===a.tag?a.stripe:null,elements:"sync"===a.tag?a.stripe.elements(r):null}})),2),f=m[0],y=m[1];t.useEffect((function(){var e=!0,t=function(e){y((function(t){return t.stripe?t:{stripe:e,elements:e.elements(r)}}))};return"async"!==a.tag||f.stripe?"sync"!==a.tag||f.stripe||t(a.stripe):a.stripePromise.then((function(n){n&&e&&t(n)})),function(){e=!1}}),[a,f,r]);var g=h(n);t.useEffect((function(){null!==g&&g!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")}),[g,n]);var _=h(r);return t.useEffect((function(){if(f.elements){var e=v(r,_,["clientSecret","fonts"]);e&&f.elements.update(e)}}),[r,_,f.elements]),t.useEffect((function(){w(f.stripe)}),[f.stripe]),t.createElement(S.Provider,{value:f},t.createElement(x.Provider,{value:{cart:d,setCart:c,cartState:u,setCartState:p}},o))};C.propTypes={stripe:m.any,options:m.object};var k=function(e){var n=t.useContext(S);return E(n,e)},T={cart:null,cartState:null,setCart:function(){},setCartState:function(){}},A=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.useContext(x);return n?T:function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e}(r,e)},P=function(e){return(0,e.children)(k("mounts <ElementsConsumer>"))};P.propTypes={children:m.func.isRequired};var R=function(e,n,r){var o=!!r,a=t.useRef(r);t.useEffect((function(){a.current=r}),[r]),t.useEffect((function(){if(!o||!e)return function(){};var t=function(){a.current&&a.current.apply(a,arguments)};return e.on(n,t),function(){e.off(n,t)}}),[o,n,e,a])},O=["on","session"],I=t.createContext(null);I.displayName="CustomCheckoutSdkContext";var N=function(e,t){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(t," in an <CustomCheckoutProvider> provider."));return e},M=t.createContext(null);M.displayName="CustomCheckoutContext";var L=function(e){var n=e.stripe,o=e.options,a=e.children,d=t.useMemo((function(){return $(n,"Invalid prop `stripe` supplied to `CustomCheckoutProvider`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")}),[n]),c=s(t.useState(null),2),l=c[0],u=c[1],p=s(t.useState((function(){return{stripe:"sync"===d.tag?d.stripe:null,customCheckoutSdk:null}})),2),m=p[0],y=p[1],v=function(e,t){y((function(n){return n.stripe&&n.customCheckoutSdk?n:{stripe:e,customCheckoutSdk:t}}))},_=t.useRef(!1);t.useEffect((function(){var e=!0;return"async"!==d.tag||m.stripe?"sync"===d.tag&&d.stripe&&!_.current&&(_.current=!0,d.stripe.initCustomCheckout(o).then((function(e){e&&(v(d.stripe,e),e.on("change",u))}))):d.stripePromise.then((function(t){t&&e&&!_.current&&(_.current=!0,t.initCustomCheckout(o).then((function(e){e&&(v(t,e),e.on("change",u))})))})),function(){e=!1}}),[d,m,o,u]);var b=h(n);t.useEffect((function(){null!==b&&b!==n&&console.warn("Unsupported prop change on CustomCheckoutProvider: You cannot change the `stripe` prop after setting it.")}),[b,n]);var S=h(o);t.useEffect((function(){var e,t;if(m.customCheckoutSdk){!o.clientSecret||f(S)||g(o.clientSecret,S.clientSecret)||console.warn("Unsupported prop change: options.client_secret is not a mutable property.");var n=null==S||null===(e=S.elementsOptions)||void 0===e?void 0:e.appearance,r=null==o||null===(t=o.elementsOptions)||void 0===t?void 0:t.appearance;r&&!g(r,n)&&m.customCheckoutSdk.changeAppearance(r)}}),[o,S,m.customCheckoutSdk]),t.useEffect((function(){w(m.stripe)}),[m.stripe]);var E=t.useMemo((function(){return e=m.customCheckoutSdk,t=l,e?(e.on,e.session,r(r({},i(e,O)),t||e.session())):null;var e,t}),[m.customCheckoutSdk,l]);return m.customCheckoutSdk?t.createElement(I.Provider,{value:m},t.createElement(M.Provider,{value:E},a)):null};L.propTypes={stripe:m.any,options:m.shape({clientSecret:m.string.isRequired,elementsOptions:m.object}).isRequired};var D=function(e){var n=t.useContext(I),r=t.useContext(S);if(n&&r)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return n?N(n,e):E(r,e)},j=function(e,n){var r,o="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),a=n?function(e){var n=D("mounts <".concat(o,">"));A("mounts <".concat(o,">"),"customCheckoutSdk"in n);var r=e.id,a=e.className;return t.createElement("div",{id:r,className:a})}:function(n){var r,a=n.id,i=n.className,d=n.options,c=void 0===d?{}:d,l=n.onBlur,u=n.onFocus,p=n.onReady,m=n.onChange,f=n.onEscape,y=n.onClick,g=n.onLoadError,_=n.onLoaderStart,b=n.onNetworksChange,$=n.onCheckout,w=n.onLineItemClick,S=n.onConfirm,E=n.onCancel,x=n.onShippingAddressChange,C=n.onShippingRateChange,k=D("mounts <".concat(o,">")),T="elements"in k?k.elements:null,P="customCheckoutSdk"in k?k.customCheckoutSdk:null,O=s(t.useState(null),2),I=O[0],N=O[1],M=t.useRef(null),L=t.useRef(null),j=A("mounts <".concat(o,">"),"customCheckoutSdk"in k),F=j.setCart,B=j.setCartState;R(I,"blur",l),R(I,"focus",u),R(I,"escape",f),R(I,"click",y),R(I,"loaderror",g),R(I,"loaderstart",_),R(I,"networkschange",b),R(I,"lineitemclick",w),R(I,"confirm",S),R(I,"cancel",E),R(I,"shippingaddresschange",x),R(I,"shippingratechange",C),"cart"===e?r=function(e){B(e),p&&p(e)}:p&&(r="expressCheckout"===e?p:function(){p(I)}),R(I,"ready",r),R(I,"change","cart"===e?function(e){B(e),m&&m(e)}:m),R(I,"checkout","cart"===e?function(e){B(e),$&&$(e)}:$),t.useLayoutEffect((function(){if(null===M.current&&null!==L.current&&(T||P)){var t=null;P?t=P.createElement(e,c):T&&(t=T.create(e,c)),"cart"===e&&F&&F(t),M.current=t,N(t),t&&t.mount(L.current)}}),[T,P,c,F]);var U=h(c);return t.useEffect((function(){if(M.current){var e=v(c,U,["paymentRequest"]);e&&M.current.update(e)}}),[c,U]),t.useLayoutEffect((function(){return function(){if(M.current&&"function"==typeof M.current.destroy)try{M.current.destroy(),M.current=null}catch(e){}}}),[]),t.createElement("div",{id:a,className:i,ref:L})};return a.propTypes={id:m.string,className:m.string,onChange:m.func,onBlur:m.func,onFocus:m.func,onReady:m.func,onEscape:m.func,onClick:m.func,onLoadError:m.func,onLoaderStart:m.func,onNetworksChange:m.func,onCheckout:m.func,onLineItemClick:m.func,onConfirm:m.func,onCancel:m.func,onShippingAddressChange:m.func,onShippingRateChange:m.func,options:m.object},a.displayName=o,a.__elementType=e,a},F="undefined"==typeof window,B=t.createContext(null);B.displayName="EmbeddedCheckoutProviderContext";var U=function(){var e=t.useContext(B);if(!e)throw new Error("<EmbeddedCheckout> must be used within <EmbeddedCheckoutProvider>");return e},V=F?function(e){var n=e.id,r=e.className;return U(),t.createElement("div",{id:n,className:r})}:function(e){var n=e.id,r=e.className,o=U().embeddedCheckout,a=t.useRef(!1),i=t.useRef(null);return t.useLayoutEffect((function(){return!a.current&&o&&null!==i.current&&(o.mount(i.current),a.current=!0),function(){if(a.current&&o)try{o.unmount(),a.current=!1}catch(e){}}}),[o]),t.createElement("div",{ref:i,id:n,className:r})},z=j("auBankAccount",F),H=j("card",F),W=j("cardNumber",F),q=j("cardExpiry",F),G=j("cardCvc",F),Y=j("fpxBank",F),K=j("iban",F),Z=j("idealBank",F),X=j("p24Bank",F),J=j("epsBank",F),Q=j("payment",F),ee=j("expressCheckout",F),te=j("paymentRequestButton",F),ne=j("linkAuthentication",F),re=j("address",F),oe=j("shippingAddress",F),ae=j("cart",F),ie=j("paymentMethodMessaging",F),se=j("affirmMessage",F),de=j("afterpayClearpayMessage",F);e.AddressElement=re,e.AffirmMessageElement=se,e.AfterpayClearpayMessageElement=de,e.AuBankAccountElement=z,e.CardCvcElement=G,e.CardElement=H,e.CardExpiryElement=q,e.CardNumberElement=W,e.CartElement=ae,e.CustomCheckoutProvider=L,e.Elements=C,e.ElementsConsumer=P,e.EmbeddedCheckout=V,e.EmbeddedCheckoutProvider=function(e){var n=e.stripe,r=e.options,o=e.children,a=t.useMemo((function(){return $(n,"Invalid prop `stripe` supplied to `EmbeddedCheckoutProvider`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")}),[n]),i=t.useRef(null),d=t.useRef(null),c=s(t.useState({embeddedCheckout:null}),2),l=c[0],u=c[1];t.useEffect((function(){if(!d.current&&!i.current){var e=function(e){d.current||i.current||(d.current=e,i.current=d.current.initEmbeddedCheckout(r).then((function(e){u({embeddedCheckout:e})})))};"async"===a.tag&&!d.current&&r.clientSecret?a.stripePromise.then((function(t){t&&e(t)})):"sync"===a.tag&&!d.current&&r.clientSecret&&e(a.stripe)}}),[a,r,l,d]),t.useEffect((function(){return function(){l.embeddedCheckout?(i.current=null,l.embeddedCheckout.destroy()):i.current&&i.current.then((function(){i.current=null,l.embeddedCheckout&&l.embeddedCheckout.destroy()}))}}),[l.embeddedCheckout]),t.useEffect((function(){w(d)}),[d]);var p=h(n);t.useEffect((function(){null!==p&&p!==n&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the `stripe` prop after setting it.")}),[p,n]);var m=h(r);return t.useEffect((function(){null!=m&&(null!=r?(null!=m.clientSecret&&r.clientSecret!==m.clientSecret&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the client secret after setting it. Unmount and create a new instance of EmbeddedCheckoutProvider instead."),null!=m.onComplete&&r.onComplete!==m.onComplete&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onComplete option after setting it.")):console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot unset options after setting them."))}),[m,r]),t.createElement(B.Provider,{value:l},o)},e.EpsBankElement=J,e.ExpressCheckoutElement=ee,e.FpxBankElement=Y,e.IbanElement=K,e.IdealBankElement=Z,e.LinkAuthenticationElement=ne,e.P24BankElement=X,e.PaymentElement=Q,e.PaymentMethodMessagingElement=ie,e.PaymentRequestButtonElement=te,e.ShippingAddressElement=oe,e.useCartElement=function(){return A("calls useCartElement()").cart},e.useCartElementState=function(){return A("calls useCartElementState()").cartState},e.useCustomCheckout=function(){!function(e){var n=t.useContext(I);N(n,e)}("calls useCustomCheckout()");var e=t.useContext(M);if(!e)throw new Error("Could not find CustomCheckout Context; You need to wrap the part of your app that calls useCustomCheckout() in an <CustomCheckoutProvider> provider.");return e},e.useElements=function(){return k("calls useElements()").elements},e.useStripe=function(){return D("calls useStripe()").stripe},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(1609))},2485:(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 s in n)r.call(n,s)&&n[s]&&e.push(s);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)}()},9230:(e,t,n)=>{"use strict";t.A=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(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],0<=t.indexOf(n)||(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],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-add-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 9h-4V7h-2v4H7v2h4v4h2v-4h4v-2z"})))};var r,o=(r=n(1609))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}},5955:(e,t,n)=>{"use strict";t.A=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(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],0<=t.indexOf(n)||(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],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-checkmark",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414z"})))};var r,o=(r=n(1609))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}},9387:(e,t,n)=>{"use strict";t.A=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(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],0<=t.indexOf(n)||(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],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-cross-circle",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.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 r,o=(r=n(1609))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}},4236:(e,t,n)=>{"use strict";t.A=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(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],0<=t.indexOf(n)||(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],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-help-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4 8a4 4 0 00-8 0h2c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2a1 1 0 00-1 1v2h2v-1.141A3.991 3.991 0 0016 10zm-3 6h-2v2h2v-2z"})))};var r,o=(r=n(1609))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}},5491:(e,t,n)=>{"use strict";t.A=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(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],0<=t.indexOf(n)||(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],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-help",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 16h-2v-2h2v2zm0-4.141V15h-2v-2a1 1 0 011-1c1.103 0 2-.897 2-2s-.897-2-2-2-2 .897-2 2H8a4 4 0 018 0 3.991 3.991 0 01-3 3.859z"})))};var r,o=(r=n(1609))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}},5339:(e,t,n)=>{"use strict";t.A=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(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],0<=t.indexOf(n)||(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],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-image",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M20 6v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h12a2 2 0 012 2zm-2 0H6v6.38l2.19-2.19 5.23 5.23 1-1a1.59 1.59 0 012.11.11L18 16V6zm-5 3.5a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0z"})))};var r,o=(r=n(1609))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}},4275:(e,t,n)=>{"use strict";t.A=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(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],0<=t.indexOf(n)||(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],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-info-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"})))};var r,o=(r=n(1609))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}},9031:(e,t,n)=>{"use strict";t.A=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(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],0<=t.indexOf(n)||(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],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-notice-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var r,o=(r=n(1609))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}},7568:(e,t,n)=>{"use strict";t.A=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),d=function(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],0<=t.indexOf(n)||(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],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-trash",s,!1,!1,!!function(e){return 0==e%18}(n)&&"needs-offset-y"].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},d,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M6.187 8h11.625l-.695 11.125A2 2 0 0115.121 21H8.879a2 2 0 01-1.996-1.875L6.187 8zM19 5v2H5V5h3V4a2 2 0 012-2h4a2 2 0 012 2v1h3zm-9 0h4V4h-4v1z"})))};var r,o=(r=n(1609))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}},542:e=>{e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,a=e.caseSensitive,i=void 0!==a&&a,s=e.findChunks,d=void 0===s?r:s,c=e.sanitize,l=e.searchWords,u=e.textToHighlight;return o({chunksToHighlight:n({chunks:d({autoEscape:t,caseSensitive:i,sanitize:c,searchWords:l,textToHighlight:u})}),totalLength:u?u.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({highlight:!1,start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?a:r,i=e.searchWords,s=e.textToHighlight;return s=o(s),i.filter((function(e){return e})).reduce((function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var a=new RegExp(r,n?"g":"gi"),i=void 0;i=a.exec(s);){var d=i.index,c=a.lastIndex;c>d&&e.push({highlight:!1,start:d,end:c}),i.index===a.lastIndex&&a.lastIndex++}return e}),[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var a=0;t.forEach((function(e){o(a,e.start,!1),o(e.start,e.end,!0),a=e.end})),o(a,n,!1)}return r};function a(e){return e}}])},4146:(e,t,n)=>{"use strict";var r=n(3404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function d(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=m(n);o&&o!==h&&e(t,o,r)}var i=l(n);u&&(i=i.concat(u(n)));for(var s=d(t),f=d(n),y=0;y<i.length;++y){var g=i[y];if(!(a[g]||r&&r[g]||f&&f[g]||s&&s[g])){var v=p(n,g);try{c(t,g,v)}catch(e){}}}}return t}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,d=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,f=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,_=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function $(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case u:case a:case s:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case p:case y:case f:case d:return e;default:return t}}case o:return t}}}function w(e){return $(e)===u}t.AsyncMode=l,t.ConcurrentMode=u,t.ContextConsumer=c,t.ContextProvider=d,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=y,t.Memo=f,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||$(e)===l},t.isConcurrentMode=w,t.isContextConsumer=function(e){return $(e)===c},t.isContextProvider=function(e){return $(e)===d},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return $(e)===p},t.isFragment=function(e){return $(e)===a},t.isLazy=function(e){return $(e)===y},t.isMemo=function(e){return $(e)===f},t.isPortal=function(e){return $(e)===o},t.isProfiler=function(e){return $(e)===s},t.isStrictMode=function(e){return $(e)===i},t.isSuspense=function(e){return $(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===s||e===i||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===f||e.$$typeof===d||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===_||e.$$typeof===b||e.$$typeof===g)},t.typeOf=$},3404:(e,t,n)=>{"use strict";e.exports=n(3072)},436:e=>{var t;t=function(e){"use strict";return function(){for(var t=[["Afghanistan (‫افغانستان‬‎)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (‫الجزائر‬‎)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua and Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia (Հայաստան)","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61",0],["Austria (Österreich)","at","43"],["Azerbaijan (Azərbaycan)","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain (‫البحرين‬‎)","bh","973"],["Bangladesh (বাংলাদেশ)","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus (Беларусь)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan (འབྲུག)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria (България)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (កម្ពុជា)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (中国)","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros (‫جزر القمر‬‎)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (Κύπρος)","cy","357"],["Czech Republic (Česká republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (‫مصر‬‎)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (საქართველო)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Ελλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (香港)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ísland)","is","354"],["India (भारत)","in","91"],["Indonesia","id","62"],["Iran (‫ایران‬‎)","ir","98"],["Iraq (‫العراق‬‎)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel (‫ישראל‬‎)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (日本)","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (‫الأردن‬‎)","jo","962"],["Kazakhstan (Казахстан)","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (‫الكويت‬‎)","kw","965"],["Kyrgyzstan (Кыргызстан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (‫لبنان‬‎)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (‫ليبيا‬‎)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (澳門)","mo","853"],["North Macedonia (Македонија)","mk","389"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (‫موريتانيا‬‎)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Монгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco (‫المغرب‬‎)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (မြန်မာ)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नेपाल)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (조선 민주주의 인민 공화국)","kp","850"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway (Norge)","no","47",0],["Oman (‫عُمان‬‎)","om","968"],["Pakistan (‫پاکستان‬‎)","pk","92"],["Palau","pw","680"],["Palestine (‫فلسطين‬‎)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (‫قطر‬‎)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (Россия)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1",18,["869"]],["Saint Lucia","lc","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1",20,["784"]],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","st","239"],["Saudi Arabia (‫المملكة العربية السعودية‬‎)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (Србија)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["Somalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (대한민국)","kr","82"],["South Sudan (‫جنوب السودان‬‎)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (ශ්‍රී ලංකාව)","lk","94"],["Sudan (‫السودان‬‎)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1,["79"]],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (‫سوريا‬‎)","sy","963"],["Taiwan (台灣)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (ไทย)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1",22,["868"]],["Tunisia (‫تونس‬‎)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1",24,["340"]],["Uganda","ug","256"],["Ukraine (Україна)","ua","380"],["United Arab Emirates (‫الإمارات العربية المتحدة‬‎)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (Oʻzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam (Việt Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (‫الصحراء الغربية‬‎)","eh","212",1,["5288","5289"]],["Yemen (‫اليمن‬‎)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1,["18"]]],n=0;n<t.length;n++){var r=t[n];t[n]={name:r[0],iso2:r[1],dialCode:r[2],priority:r[3]||0,areaCodes:r[4]||null}}function o(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)}}var a={getInstance:function(e){var t=e.getAttribute("data-intl-tel-input-id");return window.intlTelInputGlobals.instances[t]},instances:{},documentReady:function(){return"complete"===document.readyState}};"object"==typeof window&&(window.intlTelInputGlobals=a);var i=0,s={allowDropdown:!0,autoHideDialCode:!0,autoPlaceholder:"polite",customContainer:"",customPlaceholder:null,dropdownContainer:null,excludeCountries:[],formatOnDisplay:!0,geoIpLookup:null,hiddenInput:"",initialCountry:"",localizedCountries:null,nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:!1,utilsScript:""},d=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"],c=function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r++)t(n[r],e[n[r]])},l=function(e){c(window.intlTelInputGlobals.instances,(function(t){window.intlTelInputGlobals.instances[t][e]()}))},u=function(){function n(e,t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this.id=i++,this.telInput=e,this.activeItem=null,this.highlightedItem=null;var o=t||{};this.options={},c(s,(function(e,t){r.options[e]=o.hasOwnProperty(e)?o[e]:t})),this.hadInitialPlaceholder=Boolean(e.getAttribute("placeholder"))}var r,a;return r=n,a=[{key:"_init",value:function(){var e=this;if(this.options.nationalMode&&(this.options.autoHideDialCode=!1),this.options.separateDialCode&&(this.options.autoHideDialCode=this.options.nationalMode=!1),this.isMobile=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.isMobile&&(document.body.classList.add("iti-mobile"),this.options.dropdownContainer||(this.options.dropdownContainer=document.body)),"undefined"!=typeof Promise){var t=new Promise((function(t,n){e.resolveAutoCountryPromise=t,e.rejectAutoCountryPromise=n})),n=new Promise((function(t,n){e.resolveUtilsScriptPromise=t,e.rejectUtilsScriptPromise=n}));this.promise=Promise.all([t,n])}else this.resolveAutoCountryPromise=this.rejectAutoCountryPromise=function(){},this.resolveUtilsScriptPromise=this.rejectUtilsScriptPromise=function(){};this.selectedCountryData={},this._processCountryData(),this._generateMarkup(),this._setInitialState(),this._initListeners(),this._initRequests()}},{key:"_processCountryData",value:function(){this._processAllCountries(),this._processCountryCodes(),this._processPreferredCountries(),this.options.localizedCountries&&this._translateCountriesByLocale(),(this.options.onlyCountries.length||this.options.localizedCountries)&&this.countries.sort(this._countryNameSort)}},{key:"_addCountryCode",value:function(t,n,r){n.length>this.countryCodeMaxLen&&(this.countryCodeMaxLen=n.length),this.countryCodes.hasOwnProperty(n)||(this.countryCodes[n]=[]);for(var o=0;o<this.countryCodes[n].length;o++)if(this.countryCodes[n][o]===t)return;var a=r!==e?r:this.countryCodes[n].length;this.countryCodes[n][a]=t}},{key:"_processAllCountries",value:function(){if(this.options.onlyCountries.length){var e=this.options.onlyCountries.map((function(e){return e.toLowerCase()}));this.countries=t.filter((function(t){return e.indexOf(t.iso2)>-1}))}else if(this.options.excludeCountries.length){var n=this.options.excludeCountries.map((function(e){return e.toLowerCase()}));this.countries=t.filter((function(e){return-1===n.indexOf(e.iso2)}))}else this.countries=t}},{key:"_translateCountriesByLocale",value:function(){for(var e=0;e<this.countries.length;e++){var t=this.countries[e].iso2.toLowerCase();this.options.localizedCountries.hasOwnProperty(t)&&(this.countries[e].name=this.options.localizedCountries[t])}}},{key:"_countryNameSort",value:function(e,t){return e.name.localeCompare(t.name)}},{key:"_processCountryCodes",value:function(){this.countryCodeMaxLen=0,this.dialCodes={},this.countryCodes={};for(var e=0;e<this.countries.length;e++){var t=this.countries[e];this.dialCodes[t.dialCode]||(this.dialCodes[t.dialCode]=!0),this._addCountryCode(t.iso2,t.dialCode,t.priority)}for(var n=0;n<this.countries.length;n++){var r=this.countries[n];if(r.areaCodes)for(var o=this.countryCodes[r.dialCode][0],a=0;a<r.areaCodes.length;a++){for(var i=r.areaCodes[a],s=1;s<i.length;s++){var d=r.dialCode+i.substr(0,s);this._addCountryCode(o,d),this._addCountryCode(r.iso2,d)}this._addCountryCode(r.iso2,r.dialCode+i)}}}},{key:"_processPreferredCountries",value:function(){this.preferredCountries=[];for(var e=0;e<this.options.preferredCountries.length;e++){var t=this.options.preferredCountries[e].toLowerCase(),n=this._getCountryData(t,!1,!0);n&&this.preferredCountries.push(n)}}},{key:"_createEl",value:function(e,t,n){var r=document.createElement(e);return t&&c(t,(function(e,t){return r.setAttribute(e,t)})),n&&n.appendChild(r),r}},{key:"_generateMarkup",value:function(){this.telInput.hasAttribute("autocomplete")||this.telInput.form&&this.telInput.form.hasAttribute("autocomplete")||this.telInput.setAttribute("autocomplete","off");var e="iti";this.options.allowDropdown&&(e+=" iti--allow-dropdown"),this.options.separateDialCode&&(e+=" iti--separate-dial-code"),this.options.customContainer&&(e+=" ",e+=this.options.customContainer);var t=this._createEl("div",{class:e});if(this.telInput.parentNode.insertBefore(t,this.telInput),this.flagsContainer=this._createEl("div",{class:"iti__flag-container"},t),t.appendChild(this.telInput),this.selectedFlag=this._createEl("div",{class:"iti__selected-flag",role:"combobox","aria-controls":"iti-".concat(this.id,"__country-listbox"),"aria-owns":"iti-".concat(this.id,"__country-listbox"),"aria-expanded":"false"},this.flagsContainer),this.selectedFlagInner=this._createEl("div",{class:"iti__flag"},this.selectedFlag),this.options.separateDialCode&&(this.selectedDialCode=this._createEl("div",{class:"iti__selected-dial-code"},this.selectedFlag)),this.options.allowDropdown&&(this.selectedFlag.setAttribute("tabindex","0"),this.dropdownArrow=this._createEl("div",{class:"iti__arrow"},this.selectedFlag),this.countryList=this._createEl("ul",{class:"iti__country-list iti__hide",id:"iti-".concat(this.id,"__country-listbox"),role:"listbox","aria-label":"List of countries"}),this.preferredCountries.length&&(this._appendListItems(this.preferredCountries,"iti__preferred",!0),this._createEl("li",{class:"iti__divider",role:"separator","aria-disabled":"true"},this.countryList)),this._appendListItems(this.countries,"iti__standard"),this.options.dropdownContainer?(this.dropdown=this._createEl("div",{class:"iti iti--container"}),this.dropdown.appendChild(this.countryList)):this.flagsContainer.appendChild(this.countryList)),this.options.hiddenInput){var n=this.options.hiddenInput,r=this.telInput.getAttribute("name");if(r){var o=r.lastIndexOf("[");-1!==o&&(n="".concat(r.substr(0,o),"[").concat(n,"]"))}this.hiddenInput=this._createEl("input",{type:"hidden",name:n}),t.appendChild(this.hiddenInput)}}},{key:"_appendListItems",value:function(e,t,n){for(var r="",o=0;o<e.length;o++){var a=e[o],i=n?"-preferred":"";r+="<li class='iti__country ".concat(t,"' tabIndex='-1' id='iti-").concat(this.id,"__item-").concat(a.iso2).concat(i,"' role='option' data-dial-code='").concat(a.dialCode,"' data-country-code='").concat(a.iso2,"' aria-selected='false'>"),r+="<div class='iti__flag-box'><div class='iti__flag iti__".concat(a.iso2,"'></div></div>"),r+="<span class='iti__country-name'>".concat(a.name,"</span>"),r+="<span class='iti__dial-code'>+".concat(a.dialCode,"</span>"),r+="</li>"}this.countryList.insertAdjacentHTML("beforeend",r)}},{key:"_setInitialState",value:function(){var e=this.telInput.getAttribute("value"),t=this.telInput.value,n=!e||"+"!==e.charAt(0)||t&&"+"===t.charAt(0)?t:e,r=this._getDialCode(n),o=this._isRegionlessNanp(n),a=this.options,i=a.initialCountry,s=a.nationalMode,d=a.autoHideDialCode,c=a.separateDialCode;r&&!o?this._updateFlagFromNumber(n):"auto"!==i&&(i?this._setFlag(i.toLowerCase()):r&&o?this._setFlag("us"):(this.defaultCountry=this.preferredCountries.length?this.preferredCountries[0].iso2:this.countries[0].iso2,n||this._setFlag(this.defaultCountry)),n||s||d||c||(this.telInput.value="+".concat(this.selectedCountryData.dialCode))),n&&this._updateValFromNumber(n)}},{key:"_initListeners",value:function(){this._initKeyListeners(),this.options.autoHideDialCode&&this._initBlurListeners(),this.options.allowDropdown&&this._initDropdownListeners(),this.hiddenInput&&this._initHiddenInputListener()}},{key:"_initHiddenInputListener",value:function(){var e=this;this._handleHiddenInputSubmit=function(){e.hiddenInput.value=e.getNumber()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleHiddenInputSubmit)}},{key:"_getClosestLabel",value:function(){for(var e=this.telInput;e&&"LABEL"!==e.tagName;)e=e.parentNode;return e}},{key:"_initDropdownListeners",value:function(){var e=this;this._handleLabelClick=function(t){e.countryList.classList.contains("iti__hide")?e.telInput.focus():t.preventDefault()};var t=this._getClosestLabel();t&&t.addEventListener("click",this._handleLabelClick),this._handleClickSelectedFlag=function(){!e.countryList.classList.contains("iti__hide")||e.telInput.disabled||e.telInput.readOnly||e._showDropdown()},this.selectedFlag.addEventListener("click",this._handleClickSelectedFlag),this._handleFlagsContainerKeydown=function(t){e.countryList.classList.contains("iti__hide")&&-1!==["ArrowUp","Up","ArrowDown","Down"," ","Enter"].indexOf(t.key)&&(t.preventDefault(),t.stopPropagation(),e._showDropdown()),"Tab"===t.key&&e._closeDropdown()},this.flagsContainer.addEventListener("keydown",this._handleFlagsContainerKeydown)}},{key:"_initRequests",value:function(){var e=this;this.options.utilsScript&&!window.intlTelInputUtils?window.intlTelInputGlobals.documentReady()?window.intlTelInputGlobals.loadUtils(this.options.utilsScript):window.addEventListener("load",(function(){window.intlTelInputGlobals.loadUtils(e.options.utilsScript)})):this.resolveUtilsScriptPromise(),"auto"===this.options.initialCountry?this._loadAutoCountry():this.resolveAutoCountryPromise()}},{key:"_loadAutoCountry",value:function(){window.intlTelInputGlobals.autoCountry?this.handleAutoCountry():window.intlTelInputGlobals.startedLoadingAutoCountry||(window.intlTelInputGlobals.startedLoadingAutoCountry=!0,"function"==typeof this.options.geoIpLookup&&this.options.geoIpLookup((function(e){window.intlTelInputGlobals.autoCountry=e.toLowerCase(),setTimeout((function(){return l("handleAutoCountry")}))}),(function(){return l("rejectAutoCountryPromise")})))}},{key:"_initKeyListeners",value:function(){var e=this;this._handleKeyupEvent=function(){e._updateFlagFromNumber(e.telInput.value)&&e._triggerCountryChange()},this.telInput.addEventListener("keyup",this._handleKeyupEvent),this._handleClipboardEvent=function(){setTimeout(e._handleKeyupEvent)},this.telInput.addEventListener("cut",this._handleClipboardEvent),this.telInput.addEventListener("paste",this._handleClipboardEvent)}},{key:"_cap",value:function(e){var t=this.telInput.getAttribute("maxlength");return t&&e.length>t?e.substr(0,t):e}},{key:"_initBlurListeners",value:function(){var e=this;this._handleSubmitOrBlurEvent=function(){e._removeEmptyDialCode()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.addEventListener("blur",this._handleSubmitOrBlurEvent)}},{key:"_removeEmptyDialCode",value:function(){if("+"===this.telInput.value.charAt(0)){var e=this._getNumeric(this.telInput.value);e&&this.selectedCountryData.dialCode!==e||(this.telInput.value="")}}},{key:"_getNumeric",value:function(e){return e.replace(/\D/g,"")}},{key:"_trigger",value:function(e){var t=document.createEvent("Event");t.initEvent(e,!0,!0),this.telInput.dispatchEvent(t)}},{key:"_showDropdown",value:function(){this.countryList.classList.remove("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","true"),this._setDropdownPosition(),this.activeItem&&(this._highlightListItem(this.activeItem,!1),this._scrollTo(this.activeItem,!0)),this._bindDropdownListeners(),this.dropdownArrow.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}},{key:"_toggleClass",value:function(e,t,n){n&&!e.classList.contains(t)?e.classList.add(t):!n&&e.classList.contains(t)&&e.classList.remove(t)}},{key:"_setDropdownPosition",value:function(){var e=this;if(this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.dropdown),!this.isMobile){var t=this.telInput.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop,r=t.top+n,o=this.countryList.offsetHeight,a=r+this.telInput.offsetHeight+o<n+window.innerHeight,i=r-o>n;if(this._toggleClass(this.countryList,"iti__country-list--dropup",!a&&i),this.options.dropdownContainer){var s=!a&&i?0:this.telInput.offsetHeight;this.dropdown.style.top="".concat(r+s,"px"),this.dropdown.style.left="".concat(t.left+document.body.scrollLeft,"px"),this._handleWindowScroll=function(){return e._closeDropdown()},window.addEventListener("scroll",this._handleWindowScroll)}}}},{key:"_getClosestListItem",value:function(e){for(var t=e;t&&t!==this.countryList&&!t.classList.contains("iti__country");)t=t.parentNode;return t===this.countryList?null:t}},{key:"_bindDropdownListeners",value:function(){var e=this;this._handleMouseoverCountryList=function(t){var n=e._getClosestListItem(t.target);n&&e._highlightListItem(n,!1)},this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList),this._handleClickCountryList=function(t){var n=e._getClosestListItem(t.target);n&&e._selectListItem(n)},this.countryList.addEventListener("click",this._handleClickCountryList);var t=!0;this._handleClickOffToClose=function(){t||e._closeDropdown(),t=!1},document.documentElement.addEventListener("click",this._handleClickOffToClose);var n="",r=null;this._handleKeydownOnDropdown=function(t){t.preventDefault(),"ArrowUp"===t.key||"Up"===t.key||"ArrowDown"===t.key||"Down"===t.key?e._handleUpDownKey(t.key):"Enter"===t.key?e._handleEnterKey():"Escape"===t.key?e._closeDropdown():/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(t.key)&&(r&&clearTimeout(r),n+=t.key.toLowerCase(),e._searchForCountry(n),r=setTimeout((function(){n=""}),1e3))},document.addEventListener("keydown",this._handleKeydownOnDropdown)}},{key:"_handleUpDownKey",value:function(e){var t="ArrowUp"===e||"Up"===e?this.highlightedItem.previousElementSibling:this.highlightedItem.nextElementSibling;t&&(t.classList.contains("iti__divider")&&(t="ArrowUp"===e||"Up"===e?t.previousElementSibling:t.nextElementSibling),this._highlightListItem(t,!0))}},{key:"_handleEnterKey",value:function(){this.highlightedItem&&this._selectListItem(this.highlightedItem)}},{key:"_searchForCountry",value:function(e){for(var t=0;t<this.countries.length;t++)if(this._startsWith(this.countries[t].name,e)){var n=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(this.countries[t].iso2));this._highlightListItem(n,!1),this._scrollTo(n,!0);break}}},{key:"_startsWith",value:function(e,t){return e.substr(0,t.length).toLowerCase()===t}},{key:"_updateValFromNumber",value:function(e){var t=e;if(this.options.formatOnDisplay&&window.intlTelInputUtils&&this.selectedCountryData){var n=!this.options.separateDialCode&&(this.options.nationalMode||"+"!==t.charAt(0)),r=intlTelInputUtils.numberFormat,o=r.NATIONAL,a=r.INTERNATIONAL,i=n?o:a;t=intlTelInputUtils.formatNumber(t,this.selectedCountryData.iso2,i)}t=this._beforeSetNumber(t),this.telInput.value=t}},{key:"_updateFlagFromNumber",value:function(e){var t=e,n=this.selectedCountryData.dialCode,r="1"===n;t&&this.options.nationalMode&&r&&"+"!==t.charAt(0)&&("1"!==t.charAt(0)&&(t="1".concat(t)),t="+".concat(t)),this.options.separateDialCode&&n&&"+"!==t.charAt(0)&&(t="+".concat(n).concat(t));var o=this._getDialCode(t,!0),a=this._getNumeric(t),i=null;if(o){var s=this.countryCodes[this._getNumeric(o)],d=-1!==s.indexOf(this.selectedCountryData.iso2)&&a.length<=o.length-1;if(!("1"===n&&this._isRegionlessNanp(a)||d))for(var c=0;c<s.length;c++)if(s[c]){i=s[c];break}}else"+"===t.charAt(0)&&a.length?i="":t&&"+"!==t||(i=this.defaultCountry);return null!==i&&this._setFlag(i)}},{key:"_isRegionlessNanp",value:function(e){var t=this._getNumeric(e);if("1"===t.charAt(0)){var n=t.substr(1,3);return-1!==d.indexOf(n)}return!1}},{key:"_highlightListItem",value:function(e,t){var n=this.highlightedItem;n&&n.classList.remove("iti__highlight"),this.highlightedItem=e,this.highlightedItem.classList.add("iti__highlight"),t&&this.highlightedItem.focus()}},{key:"_getCountryData",value:function(e,n,r){for(var o=n?t:this.countries,a=0;a<o.length;a++)if(o[a].iso2===e)return o[a];if(r)return null;throw new Error("No country data for '".concat(e,"'"))}},{key:"_setFlag",value:function(e){var t=this.selectedCountryData.iso2?this.selectedCountryData:{};this.selectedCountryData=e?this._getCountryData(e,!1,!1):{},this.selectedCountryData.iso2&&(this.defaultCountry=this.selectedCountryData.iso2),this.selectedFlagInner.setAttribute("class","iti__flag iti__".concat(e));var n=e?"".concat(this.selectedCountryData.name,": +").concat(this.selectedCountryData.dialCode):"Unknown";if(this.selectedFlag.setAttribute("title",n),this.options.separateDialCode){var r=this.selectedCountryData.dialCode?"+".concat(this.selectedCountryData.dialCode):"";this.selectedDialCode.innerHTML=r;var o=this.selectedFlag.offsetWidth||this._getHiddenSelectedFlagWidth();this.telInput.style.paddingLeft="".concat(o+6,"px")}if(this._updatePlaceholder(),this.options.allowDropdown){var a=this.activeItem;if(a&&(a.classList.remove("iti__active"),a.setAttribute("aria-selected","false")),e){var i=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(e,"-preferred"))||this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(e));i.setAttribute("aria-selected","true"),i.classList.add("iti__active"),this.activeItem=i,this.selectedFlag.setAttribute("aria-activedescendant",i.getAttribute("id"))}}return t.iso2!==e}},{key:"_getHiddenSelectedFlagWidth",value:function(){var e=this.telInput.parentNode.cloneNode();e.style.visibility="hidden",document.body.appendChild(e);var t=this.flagsContainer.cloneNode();e.appendChild(t);var n=this.selectedFlag.cloneNode(!0);t.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),r}},{key:"_updatePlaceholder",value:function(){var e="aggressive"===this.options.autoPlaceholder||!this.hadInitialPlaceholder&&"polite"===this.options.autoPlaceholder;if(window.intlTelInputUtils&&e){var t=intlTelInputUtils.numberType[this.options.placeholderNumberType],n=this.selectedCountryData.iso2?intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2,this.options.nationalMode,t):"";n=this._beforeSetNumber(n),"function"==typeof this.options.customPlaceholder&&(n=this.options.customPlaceholder(n,this.selectedCountryData)),this.telInput.setAttribute("placeholder",n)}}},{key:"_selectListItem",value:function(e){var t=this._setFlag(e.getAttribute("data-country-code"));this._closeDropdown(),this._updateDialCode(e.getAttribute("data-dial-code"),!0),this.telInput.focus();var n=this.telInput.value.length;this.telInput.setSelectionRange(n,n),t&&this._triggerCountryChange()}},{key:"_closeDropdown",value:function(){this.countryList.classList.add("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","false"),this.dropdownArrow.classList.remove("iti__arrow--up"),document.removeEventListener("keydown",this._handleKeydownOnDropdown),document.documentElement.removeEventListener("click",this._handleClickOffToClose),this.countryList.removeEventListener("mouseover",this._handleMouseoverCountryList),this.countryList.removeEventListener("click",this._handleClickCountryList),this.options.dropdownContainer&&(this.isMobile||window.removeEventListener("scroll",this._handleWindowScroll),this.dropdown.parentNode&&this.dropdown.parentNode.removeChild(this.dropdown)),this._trigger("close:countrydropdown")}},{key:"_scrollTo",value:function(e,t){var n=this.countryList,r=window.pageYOffset||document.documentElement.scrollTop,o=n.offsetHeight,a=n.getBoundingClientRect().top+r,i=a+o,s=e.offsetHeight,d=e.getBoundingClientRect().top+r,c=d+s,l=d-a+n.scrollTop,u=o/2-s/2;if(d<a)t&&(l-=u),n.scrollTop=l;else if(c>i){t&&(l+=u);var p=o-s;n.scrollTop=l-p}}},{key:"_updateDialCode",value:function(e,t){var n,r=this.telInput.value,o="+".concat(e);if("+"===r.charAt(0)){var a=this._getDialCode(r);n=a?r.replace(a,o):o}else{if(this.options.nationalMode||this.options.separateDialCode)return;if(r)n=o+r;else{if(!t&&this.options.autoHideDialCode)return;n=o}}this.telInput.value=n}},{key:"_getDialCode",value:function(e,t){var n="";if("+"===e.charAt(0))for(var r="",o=0;o<e.length;o++){var a=e.charAt(o);if(!isNaN(parseInt(a,10))){if(r+=a,t)this.countryCodes[r]&&(n=e.substr(0,o+1));else if(this.dialCodes[r]){n=e.substr(0,o+1);break}if(r.length===this.countryCodeMaxLen)break}}return n}},{key:"_getFullNumber",value:function(){var e=this.telInput.value.trim(),t=this.selectedCountryData.dialCode,n=this._getNumeric(e);return(this.options.separateDialCode&&"+"!==e.charAt(0)&&t&&n?"+".concat(t):"")+e}},{key:"_beforeSetNumber",value:function(e){var t=e;if(this.options.separateDialCode){var n=this._getDialCode(t);if(n){var r=" "===t[(n="+".concat(this.selectedCountryData.dialCode)).length]||"-"===t[n.length]?n.length+1:n.length;t=t.substr(r)}}return this._cap(t)}},{key:"_triggerCountryChange",value:function(){this._trigger("countrychange")}},{key:"handleAutoCountry",value:function(){"auto"===this.options.initialCountry&&(this.defaultCountry=window.intlTelInputGlobals.autoCountry,this.telInput.value||this.setCountry(this.defaultCountry),this.resolveAutoCountryPromise())}},{key:"handleUtils",value:function(){window.intlTelInputUtils&&(this.telInput.value&&this._updateValFromNumber(this.telInput.value),this._updatePlaceholder()),this.resolveUtilsScriptPromise()}},{key:"destroy",value:function(){var e=this.telInput.form;if(this.options.allowDropdown){this._closeDropdown(),this.selectedFlag.removeEventListener("click",this._handleClickSelectedFlag),this.flagsContainer.removeEventListener("keydown",this._handleFlagsContainerKeydown);var t=this._getClosestLabel();t&&t.removeEventListener("click",this._handleLabelClick)}this.hiddenInput&&e&&e.removeEventListener("submit",this._handleHiddenInputSubmit),this.options.autoHideDialCode&&(e&&e.removeEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.removeEventListener("blur",this._handleSubmitOrBlurEvent)),this.telInput.removeEventListener("keyup",this._handleKeyupEvent),this.telInput.removeEventListener("cut",this._handleClipboardEvent),this.telInput.removeEventListener("paste",this._handleClipboardEvent),this.telInput.removeAttribute("data-intl-tel-input-id");var n=this.telInput.parentNode;n.parentNode.insertBefore(this.telInput,n),n.parentNode.removeChild(n),delete window.intlTelInputGlobals.instances[this.id]}},{key:"getExtension",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2):""}},{key:"getNumber",value:function(e){if(window.intlTelInputUtils){var t=this.selectedCountryData.iso2;return intlTelInputUtils.formatNumber(this._getFullNumber(),t,e)}return""}},{key:"getNumberType",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2):-99}},{key:"getSelectedCountryData",value:function(){return this.selectedCountryData}},{key:"getValidationError",value:function(){if(window.intlTelInputUtils){var e=this.selectedCountryData.iso2;return intlTelInputUtils.getValidationError(this._getFullNumber(),e)}return-99}},{key:"isValidNumber",value:function(){var e=this._getFullNumber().trim(),t=this.options.nationalMode?this.selectedCountryData.iso2:"";return window.intlTelInputUtils?intlTelInputUtils.isValidNumber(e,t):null}},{key:"setCountry",value:function(e){var t=e.toLowerCase();this.selectedFlagInner.classList.contains("iti__".concat(t))||(this._setFlag(t),this._updateDialCode(this.selectedCountryData.dialCode,!1),this._triggerCountryChange())}},{key:"setNumber",value:function(e){var t=this._updateFlagFromNumber(e);this._updateValFromNumber(e),t&&this._triggerCountryChange()}},{key:"setPlaceholderNumberType",value:function(e){this.options.placeholderNumberType=e,this._updatePlaceholder()}}],a&&o(r.prototype,a),n}();a.getCountryData=function(){return t};var p=function(e,t,n){var r=document.createElement("script");r.onload=function(){l("handleUtils"),t&&t()},r.onerror=function(){l("rejectUtilsScriptPromise"),n&&n()},r.className="iti-load-utils",r.async=!0,r.src=e,document.body.appendChild(r)};return a.loadUtils=function(e){if(!window.intlTelInputUtils&&!window.intlTelInputGlobals.startedLoadingUtilsScript){if(window.intlTelInputGlobals.startedLoadingUtilsScript=!0,"undefined"!=typeof Promise)return new Promise((function(t,n){return p(e,t,n)}));p(e)}return null},a.defaults=s,a.version="17.0.15",function(e,t){var n=new u(e,t);return n._init(),e.setAttribute("data-intl-tel-input-id",n.id),window.intlTelInputGlobals.instances[n.id]=n,n}}()},e.exports?e.exports=t():window.intlTelInput=t()},4183:()=>{!function(){var e=this||self;function t(t,n){t=t.split(".");var r,o=e;t[0]in o||void 0===o.execScript||o.execScript("var "+t[0]);for(;t.length&&(r=t.shift());)t.length||void 0===n?o=o[r]&&o[r]!==Object.prototype[r]?o[r]:o[r]={}:o[r]=n}function n(e,t){function n(){}n.prototype=t.prototype,e.$=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.fa=function(e,n,r){for(var o=Array(arguments.length-2),a=2;a<arguments.length;a++)o[a-2]=arguments[a];return t.prototype[n].apply(e,o)}}function r(e,t){return e>t?1:e<t?-1:0}function o(e,t){switch(this.g=e,this.m=!!t.o,this.i=t.h,this.v=t.type,this.u=!1,this.i){case s:case d:case c:case l:case u:case i:case a:this.u=!0}this.l=t.defaultValue}var a=1,i=2,s=3,d=4,c=6,l=16,u=18;function p(e,t){for(this.i=e,this.g={},e=0;e<t.length;e++){var n=t[e];this.g[n.g]=n}}function m(){this.g={},this.l=this.j().g,this.i=this.m=null}function h(e,t){for(var n=function(e){return function(e){e.sort(function(e,t){return e.g-t.g}||r)}(e=function(e){var t,n=[],r=0;for(t in e)n[r++]=e[t];return n}(e.g)),e}(e.j()),o=0;o<n.length;o++){var a=n[o],i=a.g;if(null!=t.g[i]){e.i&&delete e.i[a.g];var s=11==a.i||10==a.i;if(a.m){a=v(t,i);for(var d=0;d<a.length;d++)$(e,i,s?a[d].clone():a[d])}else a=f(t,i),s?(s=f(e,i))?h(s,a):b(e,i,a.clone()):b(e,i,a)}}}function f(e,t){var n=e.g[t];if(null==n)return null;if(e.m){if(!(t in e.i)){var r=e.m,o=e.l[t];if(null!=n)if(o.m){for(var a=[],i=0;i<n.length;i++)a[i]=r.i(o,n[i]);n=a}else n=r.i(o,n);return e.i[t]=n}return e.i[t]}return n}function y(e,t,n){var r=f(e,t);return e.l[t].m?r[n||0]:r}function g(e,t){if(null!=e.g[t])e=y(e,t,void 0);else e:{if(void 0===(e=e.l[t]).l)if((t=e.v)===Boolean)e.l=!1;else if(t===Number)e.l=0;else{if(t!==String){e=new t;break e}e.l=e.u?"0":""}e=e.l}return e}function v(e,t){return f(e,t)||[]}function _(e,t){return e.l[t].m?null!=e.g[t]?e.g[t].length:0:null!=e.g[t]?1:0}function b(e,t,n){e.g[t]=n,e.i&&(e.i[t]=n)}function $(e,t,n){e.g[t]||(e.g[t]=[]),e.g[t].push(n),e.i&&delete e.i[t]}function w(e,t){var n,r=[];for(n in t)0!=n&&r.push(new o(n,t[n]));return new p(e,r)}function S(){}m.prototype.has=function(e){return null!=this.g[e.g]},m.prototype.get=function(e,t){return y(this,e.g,t)},m.prototype.set=function(e,t){b(this,e.g,t)},m.prototype.add=function(e,t){$(this,e.g,t)},m.prototype.clone=function(){var e=new this.constructor;return e!=this&&(e.g={},e.i&&(e.i={}),h(e,this)),e},S.prototype.g=function(e){throw new e.i,Error("Unimplemented")},S.prototype.i=function(e,t){if(11==e.i||10==e.i)return t instanceof m?t:this.g(e.v.prototype.j(),t);if(14==e.i)return"string"==typeof t&&E.test(t)&&0<(e=Number(t))?e:t;if(!e.u)return t;if((e=e.v)===String){if("number"==typeof t)return String(t)}else if(e===Number&&"string"==typeof t&&("Infinity"===t||"-Infinity"===t||"NaN"===t||E.test(t)))return Number(t);return t};var E=/^-?[0-9]+$/;function x(){}function C(){}function k(e,t){null!=e&&this.g.apply(this,arguments)}function T(){m.call(this)}n(x,S),x.prototype.g=function(e,t){return(e=new e.i).m=this,e.g=t,e.i={},e},n(C,x),C.prototype.i=function(e,t){return 8==e.i?!!t:S.prototype.i.apply(this,arguments)},C.prototype.g=function(e,t){return C.$.g.call(this,e,t)},k.prototype.i="",k.prototype.set=function(e){this.i=""+e},k.prototype.g=function(e,t,n){if(this.i+=String(e),null!=t)for(var r=1;r<arguments.length;r++)this.i+=arguments[r];return this},k.prototype.toString=function(){return this.i},n(T,m);var A=null;function P(){m.call(this)}n(P,m);var R=null;function O(){m.call(this)}n(O,m);var I=null;function N(){m.call(this)}T.prototype.j=function(){var e=A;return e||(A=e=w(T,{0:{name:"NumberFormat",s:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,h:9,type:String},2:{name:"format",required:!0,h:9,type:String},3:{name:"leading_digits_pattern",o:!0,h:9,type:String},4:{name:"national_prefix_formatting_rule",h:9,type:String},6:{name:"national_prefix_optional_when_formatting",h:8,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",h:9,type:String}})),e},T.j=T.prototype.j,P.prototype.j=function(){var e=R;return e||(R=e=w(P,{0:{name:"PhoneNumberDesc",s:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",h:9,type:String},9:{name:"possible_length",o:!0,h:5,type:Number},10:{name:"possible_length_local_only",o:!0,h:5,type:Number},6:{name:"example_number",h:9,type:String}})),e},P.j=P.prototype.j,O.prototype.j=function(){var e=I;return e||(I=e=w(O,{0:{name:"PhoneMetadata",s:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",h:11,type:P},2:{name:"fixed_line",h:11,type:P},3:{name:"mobile",h:11,type:P},4:{name:"toll_free",h:11,type:P},5:{name:"premium_rate",h:11,type:P},6:{name:"shared_cost",h:11,type:P},7:{name:"personal_number",h:11,type:P},8:{name:"voip",h:11,type:P},21:{name:"pager",h:11,type:P},25:{name:"uan",h:11,type:P},27:{name:"emergency",h:11,type:P},28:{name:"voicemail",h:11,type:P},29:{name:"short_code",h:11,type:P},30:{name:"standard_rate",h:11,type:P},31:{name:"carrier_specific",h:11,type:P},33:{name:"sms_services",h:11,type:P},24:{name:"no_international_dialling",h:11,type:P},9:{name:"id",required:!0,h:9,type:String},10:{name:"country_code",h:5,type:Number},11:{name:"international_prefix",h:9,type:String},17:{name:"preferred_international_prefix",h:9,type:String},12:{name:"national_prefix",h:9,type:String},13:{name:"preferred_extn_prefix",h:9,type:String},15:{name:"national_prefix_for_parsing",h:9,type:String},16:{name:"national_prefix_transform_rule",h:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",h:8,defaultValue:!1,type:Boolean},19:{name:"number_format",o:!0,h:11,type:T},20:{name:"intl_number_format",o:!0,h:11,type:T},22:{name:"main_country_for_code",h:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",h:9,type:String},26:{name:"leading_zero_possible",h:8,defaultValue:!1,type:Boolean}})),e},O.j=O.prototype.j,n(N,m);var M=null,L={ea:0,da:1,ca:5,ba:10,aa:20};N.prototype.j=function(){var e=M;return e||(M=e=w(N,{0:{name:"PhoneNumber",s:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,h:5,type:Number},2:{name:"national_number",required:!0,h:4,type:Number},3:{name:"extension",h:9,type:String},4:{name:"italian_leading_zero",h:8,type:Boolean},8:{name:"number_of_leading_zeros",h:5,defaultValue:1,type:Number},5:{name:"raw_input",h:9,type:String},6:{name:"country_code_source",h:14,defaultValue:0,type:L},7:{name:"preferred_domestic_carrier_code",h:9,type:String}})),e},N.ctor=N,N.ctor.j=N.prototype.j;var D={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},j={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"1|([457]\\d{6})$","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"1|([2457]\\d{6})$","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[01])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-49]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3888[013-9]\\d{5}|(?:29(?:54|66)|3(?:777|865))[2-8]\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93888[013-9]\\d{5}|9(?:29(?:54|66)|3(?:777|865))[2-8]\\d{5}|93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|72)|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"1|([267]\\d{6})$","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10,12]],[,,"(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",,,,"212345678",,,[9],[8]],[,,"4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|(183[12])",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["130"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}",,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}",,,,"123123456",,,,[7]],[,,"36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:2(?:[3568]\\d|4[0-57-9])|45\\d|69[5-7]|8(?:[2-5]\\d|83))\\d{4}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"1|([2-9]\\d{6})$","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|44|67)|7(?:36|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:222|[45]\\d)\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[04-7]|44|69|7[0579])|90(?:0[0-8]|1[36]|2[0-3568]|3[013-689]|[47][2-68]|5[1-68]|6[0-378]|9[34679]))\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[57]|1[0458]|2[25]|3[15-8]|48|[56]0|7[078]|9\\d)\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[025-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[56]|9[016-9])|4(?:4[569]|5[4-6]|6[56]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1267]|5[1-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"43[07-9]\\d{5}|(?:48|8[7-9]\\d|9(?:8\\d|9[69]))\\d{6}",,,,"48123456",,,[8,9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9]|88)|9[69][69])|7(?:1(?:11|78)|7\\d\\d))\\d{4}",,,,"17001234"],[,,"(?:3(?:[1-79]\\d|8[0-47-9])\\d|6(?:3(?:00|33|6[16])|6(?:3[03-9]|[69]\\d|7[0-6])))\\d{4}",,,,"36001234"],[,,"80\\d{6}",,,,"80123456"],[,,"(?:87|9[014578])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[047]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"22\\d{6}",,,,"22201234"],[,,"(?:29|31|6[1257-9]|7[125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[25689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68])\\d{5}",,,,"20211234"],[,,"(?:5[1-35-8]|6\\d|9[013-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[25689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:2[7-9]|5[12]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39])\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"1|([2-8]\\d{6})$","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"(?:[2-467]\\d\\d|8001)\\d{5}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[23]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-24679]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"300\\d{6}|[59]00\\d{6,7}",,,,"300123456",,,[9,10]],[,,"300\\d{7}|[34]00\\d{5}|4(?:02|37)0\\d{4}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"4020\\d{4}|[34]00\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-4]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"1|([3-8]\\d{6})$","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[17]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013])|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7(?:[1-7]\\d|8[01]))\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[01]\\d|20)|2[0-25-7]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-79]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"(?:[2-8]\\d|90)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|74)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,,[7]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|74)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[12]|33|44|66|77|88)|622)[2-9]\\d{6}",,,,"5002345678"],[,,"600[2-9]\\d{6}",,,,"6002012345"],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|([59]\\d{7})$","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[189]\\d{8}|[1-68]\\d{6}",,,,,,,[7,9]],[,,"12\\d{7}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-59]|9[017-9])\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"(?:[27]\\d{3}|8776)\\d{4}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[0257]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"222\\d{6}|(?:0\\d|80)\\d{7}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80(?:0\\d\\d|120)\\d{4}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"7[35-9]\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|[23][45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0704[0-7]\\d{5}|0(?:[15]\\d\\d|7(?:0[0-37-9]|[4-9][7-9]))\\d{6}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[034]\\d|1[0-35-9]|2[1-9]|5[0-2])|600))|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[034]\\d|1[0-35-9]|2[1-9]|5[0-2])|600))|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,1,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-3]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-3]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6[5-9]\\d)\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|21(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))\\d{5}|(?:43[35]|754)\\d{7,8}|8(?:078\\d{7}|51\\d{7,8})|(?:10|(?:2|85)1|43[35]|754)(?:100\\d\\d|95\\d{3,4})|(?:2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[1-9]\\d{6})|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[1-9]\\d{5})|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|5[0-35-9]|6[25-7]|7[0-35-8]|9[0135-9])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"400\\d{7}|950\\d{7,8}|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"0|(1(?:[12]\\d|79)\\d\\d)",,"00",,[[,"(\\d{5,6})","$1",["96"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","26|3(?:[0268]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9])|(?:34|85[23])[0-8]|(?:1|58)[1-9]|(?:63|95)[06-9]|(?:33|85[23]9)[0-46-9]|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","26|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:1|58|85[23]10)[1-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:(?:1\\d|[36])\\d{3}|9101)\\d{6}|[124-8]\\d{7}",,,,,,,[8,10,11],[7]],[,,"60[124-8][2-9]\\d{6}|[124-8][2-9]\\d{6}",,,,"12345678",,,[8,10],[7]],[,,"3333(?:0(?:0\\d|1[0-5])|[4-9]\\d\\d)\\d{3}|(?:3(?:24[2-6]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:[14]4|56))?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[146][2-9]|[2578]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],[,"(\\d{3})(\\d{7})","$1 $2",["[39]"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d)(\\d{7})","$1 $2",["[146][2-9]|[2578]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],[,"(\\d{3})(\\d{7})","$1 $2",["[39]"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|48)\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"5\\d{7}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["5"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:[34][36]|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|([59]\\d{7})$","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9[4-79]\\d{6}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:1\\d|2[02-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[05]\\d|[23]1|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[2-6]\\d{10}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"15[0-25-9]\\d{8}|1(?:6[023]|7\\d)\\d{7,8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,1,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"1|([2-7]\\d{6})$","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[0135689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-2])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d{5}|8(?:1(?:0(?:000|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:23|[3-79]\\d)\\d)\\d)|2(?:0(?:000|(?:19|[24-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[679]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[189]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[01]\\d|6[1267]|7[0-57]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-59]\\d)\\d{7}",,,,,,,[9],[7]],[,,"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[78]|2[69]|39|4[5-7]|5[1-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"9\\d{8}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-59]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"(?:1[3-79][1-8]|[235689][1-8]\\d)\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|91)\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"(?:[1-35]\\d|4[1-9])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7(?:00|[3-9]\\d))\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:(?:0[2-7]\\d|6(?:0[0-4]|10|[256]\\d))\\d|7(?:[47]\\d\\d|658))\\d{4}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[47]\\d{6}|76\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0359])|(?:5[0-26-9]|[78][0-49])\\d\\d|6(?:[0-4]\\d\\d|50[0-24-69]))|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-278])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"1|([2-9]\\d{6})$","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:(?:0555|1177)[5-9]|757(?:7[7-9]|8[01]))\\d{3}|5(?:0070|(?:11|33)33|[25]222)[0-4]\\d{3}|5(?:00(?:0\\d|50)|11(?:00|1\\d|2[0-4])|5200|75(?:00|[57]5)|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88)))\\d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)\\d{6}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"(?:[56]94|80\\d|976)\\d{6}",,,,,,,[9]],[,,"594(?:[023]\\d|1[01]|4[03-9]|5[6-9]|6[0-3]|80|9[0-4])\\d{4}",,,,"594101234"],[,,"694(?:[0-249]\\d|3[0-48])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976\\d{6}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"0|([25-9]\\d{5})$","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"(?:[235]\\d{3}|800)\\d{5}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-8]\\d|5[67])|5(?:[0457]\\d|6[01]|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d\\d|606)\\d{5}",,,,,,,[8]],[,,"21(?:6[24-7]\\d|90[0-2])\\d{3}|2(?:00|2[25])\\d{5}",,,,"20012345"],[,,"(?:5[146-8]\\d|606)\\d{5}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d|70)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|6[14689]|70|8[14-79]|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"(?:[23679]\\d|5[0-389])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:0[1-68]|1[0-2]|2[0-68]|3[1289]|4[0-24-9]|5[3-579]|6[0189]|7[08]|8[0-689]|9\\d)\\d{4}",,,,"590201234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11,12]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,9}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"[3-5]\\d{7}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"1|([3-9]\\d{6})$","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"(?:862\\d|9008)\\d{3}|(?:[2-46]\\d|77)\\d{5}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-24-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|77[1-57])\\d{4}",,,,"2201234"],[,,"6\\d{6}",,,,"6091234"],[,,"(?:289|862)\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4}(?:\\d(?:\\d(?:\\d{4})?)?)?|(?:[235-79]\\d|46)\\d{6}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|5[0-5]|9\\d))|58(?:0[1-8]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:46(?:[07][0-7]|1[0-6]|4[0-57-9]|5[0-8]|6[0-4])|573[0-6]|6(?:26[013-7]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|929[03-9])\\d{4}|(?:46[238]|5(?:[1-59][0-46-9]|6[0-4689]|7[0-2469])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-39]|1[1-367]|[23]\\d|4[03-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[78]|2[3-59]|3[13-9]|4[0-68]|5[1-35])|5(?:0[7-9]|16|4[03-5]|5\\d|6[014-6]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[04]|4[0-378]|[78][0-8]|9[01])|7(?:6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:751\\d{5}|8\\d{6,7})|9(?:0[1-9]|[1259]\\d|7[0679])\\d{6}",,,,"921234567",,,[8,9]],[,,"80[01]\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"6[01459]\\d{6}|6[01]\\d{4,5}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"[2-489]\\d{7}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"[34]\\d{7}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-489]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|680[29])\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|680[29])\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00[17]803\\d{7}|(?:177\\d|800)\\d{5,7}|001803\\d{6}",,,,"8001234567",,,[8,9,10,11,12,13]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{6,7}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,12,13]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"5(?:(?:[02368]\\d|[19][2-9]|4[1-9])\\d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[01]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:380|8(?:33|55|77|81))\\d{5}|7(?:18|2[23]|3[237]|47|6[58]|7\\d|82|9[235-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"0|([25-8]\\d{5})$","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|2(?:121|[2689]0\\d)|30[0-2]\\d|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:(?:[0-3]\\d|4[0145])\\d|5[15]0|8(?:1\\d|88)|9(?:0[013]|[19]\\d|21|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-245]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[027-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[28]))\\d{4}",,,,"6111234"],[,,"80[08]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|55\\d{8}|8\\d{5}(?:\\d{2,4})?",,,,,,,[6,7,8,9,10,11,12]],[,,"0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[38]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[38]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"0|([0-24-8]\\d{5})$","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0237-9]|[23]\\d|40|5[06]|6[2-589]|7[05]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:658295|876(?:2(?:0[2-9]|[14-9]\\d|2[013-9]|3[3-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:[78][0-25-9]|9\\d)\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"0",,,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-6]|1[0-5]|2[014])|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[24-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|(?:[235-8]\\d|99)\\d{7}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|7(?:[07]\\d|55)|880|99[05-9])\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:63\\d{3}|73(?:0[0-5]\\d|140))\\d{3}|[67]200[01]\\d{3}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"1|([2-7]\\d{6})$","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[1-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|80)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[16]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"18\\d{5}|(?:[2569]\\d|41)\\d{6}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|222|333|444|7(?:0[013-9]|[67]\\d)|888|9(?:[069]\\d|3[039]))|9(?:(?:0[09]|22|[4679]\\d|8[057-9])\\d|1(?:1[01]|99)|3(?:00|33)|5(?:00|5\\d)))\\d{4}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[245]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|25|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"1|([2-9]\\d{6})$","345$1",,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14],[5,6,7]],[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9])|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10],[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]],[,,"8(?:00|108\\d{3})\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,"751\\d{7}",,,,"7511234567",,,[10]],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"33|7",[,,"751\\d{7}",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"(?:20(?:[239]\\d|5[24-9]|7[6-8])|302\\d)\\d{6}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"30[013-9]\\d{6}",,,,"301234567",,,[9]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"1|([2-8]\\d{6})$","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:4(?:5[4-9]|[6-9]\\d)|5[0-4]\\d|6(?:[0245]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"8002[28]\\d\\d|80(?:05\\d|9)\\d{4}",,,,"8002222"],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"0|(1001)",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[0-4])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:2|33|5\\d|77|88)\\d{7}|[4-6]\\d{6}",,,,,,,[7,8,9]],[,,"(?:2\\d{3}|33333)\\d{4}",,,,"21234567",,,[8,9]],[,,"(?:(?:330|555|(?:77|88)\\d)\\d|4[67])\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","8",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"2\\d{7}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5(?:29(?:[189][05]|2[29]|3[01])|38[89][05])\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|90)|3(?:[0-47]\\d|5[02-9]|6[02-8]|80|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[01]\\d|6[1267]|7[0-57]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]","5(?:29|38)[89]0"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],[,"(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],[,"(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|6\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[46]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"67622901",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-489]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"0|([24-9]\\d{6})$","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[56])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:2(?:[23]\\d|5[0-24578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|4(?:60\\d|747)|94(?:[01]\\d|2[0-4]))\\d{3}|7(?:[0-25-8]\\d|3[2-4]|42|9[23])\\d{5}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5[02-9]\\d{6}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[239])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[2-469]|39|46|6[25]|7[0-3]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|2[246]|39|46|62|7[0-3]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[0-3])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|247[23]|3(?:20\\d|470)|4(?:2[04]\\d|47[23])|7(?:(?:3\\d|8[01459])\\d|4(?:39|60|7[013]))))\\d{4}|5(?:2(?:2\\d{5,6}|47[023]\\d{4})|(?:347[23]|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[0-2])|8(?:20\\d|47[02])|9(?:20\\d|47[01]))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:2\\d|4[1-9]|51)\\d|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:[01][1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}|[12]468\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[57-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|7(?:0[0-5]\\d|128)\\d{4}|(?:[12](?:1|27)|5[368])\\d{6}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"(?:83[01]|920)\\d{5}|(?:5[05]|8[05689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[5-8]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[57-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"0800\\d{3}|(?:28|[68]\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345",,,[8]],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456",,,[8]],[,,"0800\\d{3}",,,,"0800501",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"1|([2-9]\\d{6})$","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"(?:69|80)\\d{7}|(?:59|97)6\\d{6}",,,,,,,[9]],[,,"596(?:[04-7]\\d|10|2[7-9]|3[04-9]|8[09]|9[4-9])\\d{4}",,,,"596301234"],[,,"69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976(?:6\\d|7[0-367])\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"1|([34]\\d{6})$","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800[3467]\\d{4}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:5|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]],[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-7])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|5(?:2[5-9]|4[3-589]|[57]\\d|8[0-689]|9[0-8])\\d{5}",,,,"52512345",,,[8]],[,,"802\\d{7}|80[0-2]\\d{4}",,,,"8001234",,,[7,10]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["5"]],[,"(\\d{5})(\\d{5})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[57][02468]|6[024-68]|8[024689]))\\d{4}",,,,"6701234",,,[7]],[,,"46[46]\\d{4}|(?:7\\d|9[13-9])\\d{5}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[3467]|9[13-9]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4[05]0\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[19]\\d|[23]1|77|88)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|21\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|88|9[89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"1(?:(?:44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[017]\\d|[235][1-9]|4[0-35-9]|6[0-46-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",,,,,,,[10,11],[7,8]],[,,"6571\\d{6}|(?:2(?:0[01]|2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"2001234567",,,[10],[7,8]],[,,"6571\\d{6}|(?:1(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"12221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,"300\\d{7}",,,,"3001234567",,,[10]],[,,"500\\d{7}",,,,"5001234567",,,[10]],[,,,,,,,,,[-1]],"MX",52,"0[09]","01",,,"0(?:[12]|4[45])|1",,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[69]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0134]\\d|2[1-9]|5[0-6]))|(?:(?:[269]|59)\\d|[37][1-9]|4[235-9])\\d|8(?:1[23]|[236]\\d|4[06]|5[7-9]|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9])|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1[36-8]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"[2-57-9]\\d{5}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,,,,,,,,[-1]],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[04]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[04]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"(?:(?:[1-356]\\d|4[02-8]|8[2-9])\\d|9(?:0[3-9]|[1-9]\\d))\\d{5}|7(?:0(?:[013-689]\\d|2[0-24-9])\\d{3,4}|[1-79]\\d{6})|(?:[12]\\d|4[147]|5[14579]|6[1578]|7[1-3578])\\d{5}",,,,"18040123",,,[7,8],[5,6]],[,,"(?:702[0-24-9]|8(?:01|19)[01])\\d{6}|(?:70[13-689]|8(?:0[2-9]|1[0-8])|9(?:0[1-9]|1[2356]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|[89]\\d{6,9}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"6[1-58]\\d{7}",,,,"612345678",,,[9]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|59|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[489]|59"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:6[0-3]|7[245]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-579]|6[2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-579]|6[2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:444|(?:55|8\\d)\\d|666)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:55[3-9]|666|8\\d\\d)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[47]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"888[4-9]\\d{3}",,,,"8884012",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",,,,,,,[5,6,7,8,9,10]],[,,"24099\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2[0-27-9]\\d{7,8}|21\\d{6}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:11\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],,[,,"[28]6\\d{6,7}",,,,"26123456",,,[8,9]],,,[,,,,,,,,,[-1]],[,,"8(?:1[6-9]|22|3\\d|4[045]|5[459]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[2-6]\\d{6}",,,,"23123456",,,[8]],[,,"1505\\d{4}|(?:7(?:[1289]\\d|70)|9(?:0[1-9]|[1-9]\\d))\\d{5}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10,11]],[,,"(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[58]|7[0167]|8[258]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[05]|6[068]|7[0-8])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[056]|7[0-24-9]|8[6-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6(?:[02-9]\\d|1[0-8])\\d|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4,5}|(?:00800|800\\d)\\d{6}",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:4[34]|5[14])[0-8]\\d|7(?:173|3[0-8]\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"19(?:1[124]|77|90)00","0"," Anexo ",,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[18])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-47]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[014]\\d|2[0-5]|3[0-7]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"6\\d{5}(?:\\d{2})?|8\\d{9}|[1-9]\\d{6}(?:\\d{2})?",,,,,,,[6,7,8,9,10]],[,,"47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"211(?:1\\d|3[1-5])\\d{4}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"(?:[45]|80\\d\\d)\\d{5}",,,,,,,[6,9]],[,,"(?:4[1-3]|50)\\d{4}",,,,"430123",,,[6]],[,,"(?:4[02-4]|5[05])\\d{4}",,,,"551234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|[35][1-689]|4[1-59]|6[1-35689]|7[1-9]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6[0356]92(?:30|9\\d)\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70(?:7\\d|8[17])\\d{5}",,,,"707123456"],,,[,,"600\\d{6}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:46[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|[78][1-6]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"[2-7]\\d{7}|800\\d{4}(?:\\d{2})?|2\\d{6}",,,,,,,[7,8,9]],[,,"4141\\d{4}|(?:23|4[04])\\d{6}",,,,"44123456",,,[8]],[,,"(?:28|[35-7]\\d)\\d{6}",,,,"33123456",,,[8]],[,,"800\\d{4}(?:\\d{2})?",,,,"8001234",,,[7,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[126]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]]],,[,,"2(?:[12]\\d|61)\\d{4}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"9769\\d{5}|(?:26|[68]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|30[0-5])\\d{4}",,,,"262161234"],[,,"(?:69(?:2\\d\\d|3(?:[06][0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))|9769\\d)\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],,[,,,,,,,,,[-1]],1,"26[23]|69|[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"7020\\d{5}|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[019])\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"8\\d{13}|[347-9]\\d{9}",,,,,,,[10,14],[7]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,[10],[7]],[,,"9\\d{9}",,,,"9123456789",,,[10]],[,,"8(?:0[04]|108\\d{3})\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[,,,,,,,,,[-1]],1,"3[04-689]|[489]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[2389]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"92\\d{7}|(?:[15]|8\\d)\\d{8}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-36-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"811\\d{7}",,,,"8110123456",,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,"(?:[1-6]|[7-9]\\d\\d)\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"8000\\d{3}|(?:[249]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[5-8]\\d{5}",,,,"2510123"],[,,"8000\\d{3}",,,,"8000000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[1-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"895[0-2]\\d{4}|(?:8(?:0[1-4]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-4]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-4]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:1\\d|55|[67]0)\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-489])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|[57]9)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|59|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7[3-9]|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d|93)\\d{7}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"75(?:01|[38]3)\\d{5}|7(?:[06-8]\\d|21|5[4-7]|90)\\d{6}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:(?:15|(?:3[59]|4[89]|79|8[08])\\d|6(?:0[5-7]|[1-9]\\d)|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:6\\d|7[1-9])\\d{6}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["24|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3478]|64|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6(?:0[5-7]|[1-35-9])|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|68|[78]\\d)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[124-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:[1-6]\\d{3}|[79]90[034]|890[0245])\\d{3}",,,,"21234567",,,[8]],[,,"66(?:[02-9]\\d\\d|1(?:[02-9]\\d|16))\\d{3}|(?:6[0-57-9]|7\\d)\\d{6}",,,,"70123456",,,[8]],[,,"800\\d{4}(?:\\d{4})?",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"1|(5\\d{6})$","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-39]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9(?:22|[3-689]\\d)\\d{6}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[6-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"1|([2-479]\\d{6})$","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|[69]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:6[023568]|77|9\\d)\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[09]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",,,,,,,[8,9,10,13]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"671[0-8]\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"(?:001800\\d|1800)\\d{6}",,,,"1800123456",,,[10,13]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"(?:00|[1-57-9]\\d)\\d{7}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"41[18]\\d{6}|(?:[034]0|1[01]|2[02]|5[05]|7[017]|8[08]|9\\d)\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810",,,,,,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"]],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"[1-6]\\d{7}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"6\\d{7}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-7])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:55[4-6]|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[0-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"56161\\d{5}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:0[13]|1[89]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"1|([2-46-8]\\d{6})$","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[26-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"77[2-9]\\d{6}|(?:6[1-9]|7[1-689])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"(?:50|6[36-8]|7[1-3]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["4[45][0-5]|5(?:0|6[37])|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]","4[45][0-5]|5(?:0|6(?:3[14-7]|7))|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["[3-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:(?:24|81)0|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[0147]\\d|2[5-9]|32|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"726[01]\\d{5}|7(?:[0157-9]\\d|20|36|[46][0-4])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}",,,,,,,[10],[7]],[,,"5(?:05(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|44))|82(?:2(?:0[0-3]|[268]2)|3(?:0[02]|33)|4(?:00|4[24]|65|82)|5(?:00|29|83)|6(?:00|66|82)|777|8(?:00|88)|9(?:00|9[89])))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[39]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[0179]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[08]|3[0-289]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01579]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"5(?:05(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|44))|82(?:2(?:0[0-3]|[268]2)|3(?:0[02]|33)|4(?:00|4[24]|65|82)|5(?:00|29|83)|6(?:00|66|82)|777|8(?:00|88)|9(?:00|9[89])))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[39]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[0179]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[08]|3[0-289]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01579]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"4\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",,,,,,,[7,8,10]],[,,"(?:1(?:770|987)|(?:2\\d|4[2-7])\\d\\d)\\d{4}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"(?:4\\d{5}|80[05])\\d{4}|405\\d{4}",,,,"8001234",,,[7,10]],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[124]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"(?:33|55|[679]\\d|88)\\d{7}",,,,,,,[9]],[,,"(?:6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d\\d|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|8\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:33|88|9[0-57-9])\\d{3}|55(?:50[013]|90\\d)|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[35-9]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VC",1,"011","1",,,"1|([2-7]\\d{6})$","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284496[0-5]\\d{3}|284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284496[6-9]\\d{3}|284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|99)|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"1|([2-578]\\d{6})$","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0[0-38]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0[0-38]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"1|([2-9]\\d{6})$","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|3[2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|8[2-79]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[689]|99[013-9])\\d{6}|(?:3\\d|5[689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[013-7])\\d{5}",,,,"5912345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9]],[,,"(?:2[89]|39)0\\d{6}|[23][89]\\d{6}",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[0137]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7[24-68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"80\\d{7}|(?:26|63)9\\d{6}",,,,,,,[9]],[,,"269(?:0[67]|5[0-3]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"269|63",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d|7[0-46-9])\\d{3}|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"(?:63|80)0\\d{6}|(?:21|[79]\\d)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:7[679]|9[5-8])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"630\\d{6}",,,,"630012345"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[178]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"(?:005|[1-9]\\d\\d)\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:005|[1-9]\\d\\d)\\d{5}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[35-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"[0-36-9]\\d{8}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,"[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|(?:[19]\\d|49)\\d{6}",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|3(?:2|47|7\\d{3})\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:(?:285\\d\\d|3(?:45|[69]\\d{3}))\\d|9[89])\\d{6}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["4"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[19]"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["34[57]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-3]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"(?:210|370\\d\\d)\\d{7}|51\\d{7}(?:\\d{3})?",,,,,,,[9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210|(?:370[1-9]|51[013]0)\\d)\\d{7}|5100\\d{5}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["2"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[35]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]};function F(){this.g={}}F.i=void 0,F.g=function(){return F.i?F.i:F.i=new F};var B={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},U={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},V=/^[+\uff0b]+/,z=/([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9])/,H=/[+\uff0b0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]/,W=/[\\\/] *x/,q=/[^0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9A-Za-z#]+$/,G=/(?:.*?[A-Za-z]){3}.*/;function Y(e){return"([0-90-9٠-٩۰-۹]{1,"+e+"})"}function K(){return";ext="+Y("20")+"|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*"+Y("20")+"#?|[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*"+Y("9")+"#?|[- ]+"+Y("6")+"#|[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*"+Y("15")+"#?|[  \\t]*(?:,)+[:\\..]?[  \\t,-]*"+Y("9")+"#?"}var Z=new RegExp("(?:"+K()+")$","i"),X=new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:"+K()+")?$","i"),J=/(\$\d)/;function Q(e){return!(2>e.length)&&$e(X,e)}function ee(e){return $e(G,e)?re(e,U):re(e,B)}function te(e){var t=ee(e.toString());e.i="",e.g(t)}function ne(e){return null!=e&&(1!=_(e,9)||-1!=v(e,9)[0])}function re(e,t){for(var n,r=new k,o=e.length,a=0;a<o;++a)null!=(n=t[(n=e.charAt(a)).toUpperCase()])&&r.g(n);return r.toString()}function oe(e){return null!=e&&isNaN(e)&&e.toUpperCase()in j}function ae(e,t,n){if(0==y(t,2)&&null!=t.g[5]){var r=g(t,5);if(0<r.length)return r}r=g(t,1);var o=se(t);if(0==n)return de(r,0,o,"");if(!(r in D))return o;e=ie(e,r,he(r)),t=null!=t.g[3]&&0!=y(t,3).length?3==n?";ext="+y(t,3):null!=e.g[13]?y(e,13)+g(t,3):" ext. "+g(t,3):"";e:{for(var a,i=(e=0==v(e,20).length||2==n?v(e,19):v(e,20)).length,s=0;s<i;++s){var d=_(a=e[s],3);if((0==d||0==o.search(y(a,3,d-1)))&&$e(d=new RegExp(y(a,1)),o)){e=a;break e}}e=null}return null!=e&&(e=g(i=e,2),a=new RegExp(y(i,1)),g(i,5),i=g(i,4),o=2==n&&null!=i&&0<i.length?o.replace(a,e.replace(J,i)):o.replace(a,e),3==n&&(o=(o=o.replace(/^[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\[\]/~\u2053\u223c\uff5e]+/,"")).replace(/[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\[\]/~\u2053\u223c\uff5e]+/g,"-"))),de(r,n,o,t)}function ie(e,t,n){return ue(e,"001"==n?""+t:n)}function se(e){if(null==e.g[2])return"";var t=""+y(e,2);return null!=e.g[4]&&y(e,4)&&0<g(e,8)?Array(g(e,8)+1).join("0")+t:t}function de(e,t,n,r){switch(t){case 0:return"+"+e+n+r;case 1:return"+"+e+" "+n+r;case 3:return"tel:+"+e+"-"+n+r;default:return n+r}}function ce(e,t){switch(t){case 4:return y(e,5);case 3:return y(e,4);case 1:return y(e,3);case 0:case 2:return y(e,2);case 5:return y(e,6);case 6:return y(e,8);case 7:return y(e,7);case 8:return y(e,21);case 9:return y(e,25);case 10:return y(e,28);default:return y(e,1)}}function le(e,t){return pe(e,y(t,1))?pe(e,y(t,5))?4:pe(e,y(t,4))?3:pe(e,y(t,6))?5:pe(e,y(t,8))?6:pe(e,y(t,7))?7:pe(e,y(t,21))?8:pe(e,y(t,25))?9:pe(e,y(t,28))?10:pe(e,y(t,2))?y(t,18)||pe(e,y(t,3))?2:0:!y(t,18)&&pe(e,y(t,3))?1:-1:-1}function ue(e,t){if(null==t)return null;t=t.toUpperCase();var n=e.g[t];if(null==n){if(null==(n=j[t]))return null;n=(new C).g(O.j(),n),e.g[t]=n}return n}function pe(e,t){var n=e.length;return!(0<_(t,9)&&-1==v(t,9).indexOf(n))&&$e(g(t,2),e)}function me(e,t){if(null==t)return null;var n=g(t,1);if(null==(n=D[n]))e=null;else if(1==n.length)e=n[0];else e:{t=se(t);for(var r,o=n.length,a=0;a<o;a++){var i=ue(e,r=n[a]);if(null!=i.g[23]){if(0==t.search(y(i,23))){e=r;break e}}else if(-1!=le(t,i)){e=r;break e}}e=null}return e}function he(e){return null==(e=D[e])?"ZZ":e[0]}function fe(e,t,n,r){var o=ce(n,r),a=0==_(o,9)?v(y(n,1),9):v(o,9);if(o=v(o,10),2==r){if(!ne(ce(n,0)))return fe(e,t,n,1);ne(e=ce(n,1))&&((a=a.concat(0==_(e,9)?v(y(n,1),9):v(e,9))).sort(),0==o.length?o=v(e,10):(o=o.concat(v(e,10))).sort())}return-1==a[0]?5:(t=t.length,-1<o.indexOf(t)?4:(n=a[0])==t?0:n>t?2:a[a.length-1]<t?3:-1<a.indexOf(t,1)?0:5)}function ye(e,t){var n=se(t);return(t=g(t,1))in D?fe(e,n,t=ie(e,t,he(t)),-1):1}function ge(e,t,n,r,o,a){if(0==t.length)return 0;var i;t=new k(t),null!=n&&(i=y(n,11)),null==i&&(i="NonMatch");var s=t.toString();if(0==s.length)i=20;else if(V.test(s))s=s.replace(V,""),t.i="",t.g(ee(s)),i=1;else{if(s=new RegExp(i),te(t),0==(i=t.toString()).search(s)){s=i.match(s)[0].length;var d=i.substring(s).match(z);d&&null!=d[1]&&0<d[1].length&&"0"==re(d[1],B)?i=!1:(t.i="",t.g(i.substring(s)),i=!0)}else i=!1;i=i?5:20}if(o&&b(a,6,i),20!=i){if(2>=t.i.length)throw Error("Phone number too short after IDD");e:{if(0!=(e=t.toString()).length&&"0"!=e.charAt(0))for(o=e.length,t=1;3>=t&&t<=o;++t)if((n=parseInt(e.substring(0,t),10))in D){r.g(e.substring(t)),r=n;break e}r=0}if(0!=r)return b(a,1,r),r;throw Error("Invalid country calling code")}return null!=n&&(s=""+(i=g(n,10)),0==(d=t.toString()).lastIndexOf(s,0)&&(s=new k(d.substring(s.length)),d=y(n,1),d=new RegExp(g(d,2)),ve(s,n,null),s=s.toString(),!$e(d,t.toString())&&$e(d,s)||3==fe(e,t.toString(),n,-1)))?(r.g(s),o&&b(a,6,10),b(a,1,i),i):(b(a,1,0),0)}function ve(e,t,n){var r=e.toString(),o=r.length,a=y(t,15);if(0!=o&&null!=a&&0!=a.length){var i=new RegExp("^(?:"+a+")");if(o=i.exec(r)){var s=$e(a=new RegExp(g(y(t,1),2)),r),d=o.length-1;null==(t=y(t,16))||0==t.length||null==o[d]||0==o[d].length?s&&!$e(a,r.substring(o[0].length))||(null!=n&&0<d&&null!=o[d]&&n.g(o[1]),e.set(r.substring(o[0].length))):(r=r.replace(i,t),(!s||$e(a,r))&&(null!=n&&0<d&&n.g(o[1]),e.set(r)))}}}function _e(e,t,n){if(!oe(n)&&0<t.length&&"+"!=t.charAt(0))throw Error("Invalid country calling code");return be(e,t,n,!0)}function be(e,t,n,r){if(null==t)throw Error("The string supplied did not seem to be a phone number");if(250<t.length)throw Error("The string supplied is too long to be a phone number");var o=new k,a=t.indexOf(";phone-context=");if(0<=a){var i=a+15;if("+"==t.charAt(i)){var s=t.indexOf(";",i);0<s?o.g(t.substring(i,s)):o.g(t.substring(i))}i=t.indexOf("tel:"),o.g(t.substring(0<=i?i+4:0,a))}else a=o.g,0<=(i=t.search(H))?0<=(s=(i=(i=t.substring(i)).replace(q,"")).search(W))&&(i=i.substring(0,s)):i="",a.call(o,i);if(0<(i=(a=o.toString()).indexOf(";isub="))&&(o.i="",o.g(a.substring(0,i))),!Q(o.toString()))throw Error("The string supplied did not seem to be a phone number");if(a=o.toString(),!(oe(n)||null!=a&&0<a.length&&V.test(a)))throw Error("Invalid country calling code");a=new N,r&&b(a,5,t);e:{if(0<=(i=(t=o.toString()).search(Z))&&Q(t.substring(0,i)))for(var d=(s=t.match(Z)).length,c=1;c<d;++c)if(null!=s[c]&&0<s[c].length){o.i="",o.g(t.substring(0,i)),t=s[c];break e}t=""}0<t.length&&b(a,3,t),i=ue(e,n),t=new k,s=0,d=o.toString();try{s=ge(e,d,i,t,r,a)}catch(n){if("Invalid country calling code"!=n.message||!V.test(d))throw n;if(0==(s=ge(e,d=d.replace(V,""),i,t,r,a)))throw n}if(0!=s?(o=he(s))!=n&&(i=ie(e,s,o)):(te(o),t.g(o.toString()),null!=n?b(a,1,s=g(i,10)):r&&(delete a.g[6],a.i&&delete a.i[6])),2>t.i.length)throw Error("The string supplied is too short to be a phone number");if(null!=i&&(n=new k,ve(o=new k(t.toString()),i,n),2!=(e=fe(e,o.toString(),i,-1))&&4!=e&&5!=e&&(t=o,r&&0<n.toString().length&&b(a,7,n.toString()))),2>(e=(r=t.toString()).length))throw Error("The string supplied is too short to be a phone number");if(17<e)throw Error("The string supplied is too long to be a phone number");if(1<r.length&&"0"==r.charAt(0)){for(b(a,4,!0),e=1;e<r.length-1&&"0"==r.charAt(e);)e++;1!=e&&b(a,8,e)}return b(a,2,parseInt(r,10)),a}function $e(e,t){return!(!(e="string"==typeof e?t.match("^(?:"+e+")$"):t.match(e))||e[0].length!=t.length)}t("intlTelInputUtils",{}),t("intlTelInputUtils.formatNumber",(function(e,t,n){try{var r=F.g(),o=_e(r,e,t),a=ye(r,o);return 0==a||4==a?ae(r,o,void 0===n?0:n):e}catch(t){return e}})),t("intlTelInputUtils.getExampleNumber",(function(e,t,n){try{var r=F.g();e:{if(oe(e)){var o=ce(ue(r,e),n);try{if(null!=o.g[6]){var a=be(r,y(o,6),e,!1);break e}}catch(e){}}a=null}return ae(r,a,t?2:1)}catch(e){return""}})),t("intlTelInputUtils.getExtension",(function(e,t){try{return y(_e(F.g(),e,t),3)}catch(e){return""}})),t("intlTelInputUtils.getNumberType",(function(e,t){try{var n=F.g(),r=_e(n,e,t),o=me(n,r),a=ie(n,g(r,1),o);if(null==a)var i=-1;else i=le(se(r),a);return i}catch(e){return-99}})),t("intlTelInputUtils.getValidationError",(function(e,t){try{var n=F.g();return ye(n,_e(n,e,t))}catch(e){return"Invalid country calling code"==e.message?1:"Phone number too short after IDD"==e.message||"The string supplied is too short to be a phone number"==e.message?2:"The string supplied is too long to be a phone number"==e.message?3:-99}})),t("intlTelInputUtils.isValidNumber",(function(e,t){try{var n,r=F.g(),o=_e(r,e,t),a=me(r,o),i=g(o,1),s=ie(r,i,a);if(!(n=null==s)){var d;if(d="001"!=a){var c=ue(r,a);if(null==c)throw Error("Invalid region code: "+a);d=i!=g(c,10)}n=d}if(n)var l=!1;else l=-1!=le(se(o),s);return l}catch(e){return!1}})),t("intlTelInputUtils.numberFormat",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3}),t("intlTelInputUtils.numberType",{FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1}),t("intlTelInputUtils.validationError",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_LENGTH:5})}()},603:(e,t,n)=>{e.exports=n(436)},8616:e=>{e.exports=function(e,t){var n,r,o=0;function a(){var a,i,s=n,d=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(i=0;i<d;i++)if(s.args[i]!==arguments[i]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(a=new Array(d),i=0;i<d;i++)a[i]=arguments[i];return s={args:a,val:e.apply(null,a)},n?(n.prev=s,s.next=n):r=s,o===t.maxSize?(r=r.prev).next=null:o++,n=s,s.val}return t=t||{},a.clear=function(){n=null,r=null,o=0},a}},5228:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),d=1;d<arguments.length;d++){for(var c in a=Object(arguments[d]))n.call(a,c)&&(s[c]=a[c]);if(t){i=t(a);for(var l=0;l<i.length;l++)r.call(a,i[l])&&(s[i[l]]=a[i[l]])}}return s}},5606: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 s,d=[],c=!1,l=-1;function u(){c&&s&&(c=!1,s.length?d=s.concat(d):l=-1,d.length&&p())}function p(){if(!c){var e=i(u);c=!0;for(var t=d.length;t;){for(s=d,d=[];++l<t;)s&&s[l].run();l=-1,t=d.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return 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 h(){}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];d.push(new m(e,t)),1!==d.length||c||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=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,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}},1020:(e,t,n)=>{"use strict";n(5228);var r=n(1609),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),t.Fragment=a("react.fragment")}var i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,d={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,a={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,r)&&!d.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:l,props:a,_owner:i.current}}t.jsx=c,t.jsxs=c},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},6255:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r;(0,o.default)(e),"object"===a(t)?(n=t.min||0,r=t.max):(n=arguments[1],r=arguments[2]);var i=encodeURI(e).split(/%..|./).length-1;return i>=n&&(void 0===r||i<=r)};var r,o=(r=n(3399))&&r.__esModule?r:{default:r};function a(e){return a="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},a(e)}e.exports=t.default,e.exports.default=t.default},9517:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),(t=(0,s.default)(t,c)).require_display_name||t.allow_display_name){var n=e.match(l);if(n){var d=n[1];if(e=e.replace(d,"").replace(/(^<|>$)/g,""),d.endsWith(" ")&&(d=d.slice(0,-1)),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;if(/[\.";<>]/.test(t)){if(t===e)return!1;if(t.split('"').length!==t.split('\\"').length)return!1}return!0}(d))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>y)return!1;var g=e.split("@"),v=g.pop(),_=v.toLowerCase();if(t.host_blacklist.includes(_))return!1;if(t.host_whitelist.length>0&&!t.host_whitelist.includes(_))return!1;var b=g.join("@");if(t.domain_specific_validation&&("gmail.com"===_||"googlemail.com"===_)){var $=(b=b.toLowerCase()).split("+")[0];if(!(0,o.default)($.replace(/\./g,""),{min:6,max:30}))return!1;for(var w=$.split("."),S=0;S<w.length;S++)if(!p.test(w[S]))return!1}if(!(!1!==t.ignore_max_length||(0,o.default)(b,{max:64})&&(0,o.default)(v,{max:254})))return!1;if(!(0,a.default)(v,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,i.default)(v)){if(!v.startsWith("[")||!v.endsWith("]"))return!1;var E=v.slice(1,-1);if(0===E.length||!(0,i.default)(E))return!1}}if('"'===b[0])return b=b.slice(1,b.length-1),t.allow_utf8_local_part?f.test(b):m.test(b);for(var x=t.allow_utf8_local_part?h:u,C=b.split("."),k=0;k<C.length;k++)if(!x.test(C[k]))return!1;return!t.blacklisted_chars||-1===b.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g"))};var r=d(n(3399)),o=d(n(6255)),a=d(n(7658)),i=d(n(5372)),s=d(n(3610));function d(e){return e&&e.__esModule?e:{default:e}}var c={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},l=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,u=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,p=/^[a-z\d]+$/,m=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,h=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,f=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,y=254;e.exports=t.default,e.exports.default=t.default},7658:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),(t=(0,o.default)(t,i)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var n=e.split("."),a=n[n.length-1];if(t.require_tld){if(n.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(a))return!1;if(/\s/.test(a))return!1}return!(!t.allow_numeric_tld&&/^\d+$/.test(a))&&n.every((function(e){return!(e.length>63&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))}))};var r=a(n(3399)),o=a(n(3610));function a(e){return e&&e.__esModule?e:{default:e}}var i={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};e.exports=t.default,e.exports.default=t.default},5372:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,o.default)(t),(n=String(n))?"4"===n?s.test(t):"6"===n&&c.test(t):e(t,4)||e(t,6)};var r,o=(r=n(3399))&&r.__esModule?r:{default:r},a="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",i="(".concat(a,"[.]){3}").concat(a),s=new RegExp("^".concat(i,"$")),d="(?:[0-9a-fA-F]{1,4})",c=new RegExp("^("+"(?:".concat(d,":){7}(?:").concat(d,"|:)|")+"(?:".concat(d,":){6}(?:").concat(i,"|:").concat(d,"|:)|")+"(?:".concat(d,":){5}(?::").concat(i,"|(:").concat(d,"){1,2}|:)|")+"(?:".concat(d,":){4}(?:(:").concat(d,"){0,1}:").concat(i,"|(:").concat(d,"){1,3}|:)|")+"(?:".concat(d,":){3}(?:(:").concat(d,"){0,2}:").concat(i,"|(:").concat(d,"){1,4}|:)|")+"(?:".concat(d,":){2}(?:(:").concat(d,"){0,3}:").concat(i,"|(:").concat(d,"){1,5}|:)|")+"(?:".concat(d,":){1}(?:(:").concat(d,"){0,4}:").concat(i,"|(:").concat(d,"){1,6}|:)|")+"(?::((?::".concat(d,"){0,5}:").concat(i,"|(?::").concat(d,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=t.default,e.exports.default=t.default},3399:(e,t)=>{"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=n(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default},3610:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},e.exports=t.default,e.exports.default=t.default},1609: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].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(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=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{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");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].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,(()=>{"use strict";var e={};n.r(e),n.d(e,{getAllDepositsOverviews:()=>no,getAllDepositsOverviewsError:()=>ro,getDeposit:()=>to,getDepositQueryError:()=>so,getDeposits:()=>ao,getDepositsCount:()=>io,getDepositsSummary:()=>lo,getDepositsSummaryError:()=>uo,getInstantDeposit:()=>po});var t={};n.r(t),n.d(t,{submitInstantDeposit:()=>qo,updateAllDepositsOverviews:()=>jo,updateDeposit:()=>Do,updateDeposits:()=>Bo,updateDepositsCount:()=>Uo,updateDepositsSummary:()=>zo,updateErrorForAllDepositsOverviews:()=>Fo,updateErrorForDepositQuery:()=>Vo,updateErrorForDepositsSummary:()=>Ho,updateInstantDeposit:()=>Wo});var r={};n.r(r),n.d(r,{getAllDepositsOverviews:()=>Yo,getDeposit:()=>Go,getDeposits:()=>Xo,getDepositsCSV:()=>Zo,getDepositsSummary:()=>Jo});var o={};n.r(o),n.d(o,{getFraudOutcomeTransactions:()=>ca,getFraudOutcomeTransactionsError:()=>la,getFraudOutcomeTransactionsSummary:()=>pa,getFraudOutcomeTransactionsSummaryError:()=>ma,getTransactions:()=>ra,getTransactionsError:()=>oa,getTransactionsSummary:()=>ia,getTransactionsSummaryError:()=>sa});var a={};n.r(a),n.d(a,{updateErrorForFraudOutcomeTransactions:()=>_a,updateErrorForFraudOutcomeTransactionsSummary:()=>$a,updateErrorForTransactions:()=>fa,updateErrorForTransactionsSummary:()=>ga,updateFraudOutcomeTransactions:()=>va,updateFraudOutcomeTransactionsSummary:()=>ba,updateTransactions:()=>ha,updateTransactionsSummary:()=>ya});var i={};n.r(i),n.d(i,{formatQueryFilters:()=>wa,getFraudOutcomeTransactions:()=>Ca,getFraudOutcomeTransactionsExport:()=>Ta,getFraudOutcomeTransactionsSummary:()=>ka,getTransactions:()=>Sa,getTransactionsCSV:()=>Ea,getTransactionsSummary:()=>xa});var s={};n.r(s),n.d(s,{getCharge:()=>Pa,getChargeError:()=>Ra,getChargeFromOrder:()=>Oa,getChargeFromOrderError:()=>Ia});var d={};n.r(d),n.d(d,{updateCharge:()=>Na,updateErrorForCharge:()=>Ma});var c={};n.r(c),n.d(c,{getCharge:()=>La,getChargeFromOrder:()=>Da});var l={};n.r(l),n.d(l,{getTimeline:()=>Fa,getTimelineError:()=>Ba});var u={};n.r(u),n.d(u,{updateErrorForTimeline:()=>Va,updateTimeline:()=>Ua});var p={};n.r(p),n.d(p,{getTimeline:()=>za});var m={};n.r(m),n.d(m,{getCachedDispute:()=>Ka,getDispute:()=>Ga,getDisputeError:()=>Ya,getDisputes:()=>Za,getDisputesSummary:()=>Xa});var h={};n.r(h),n.d(h,{refundCharge:()=>ni,updateErrorForPaymentIntent:()=>ti,updatePaymentIntent:()=>ei});var f={};n.r(f),n.d(f,{getPaymentIntent:()=>ri});var y={};n.r(y),n.d(y,{acceptDispute:()=>di,updateDispute:()=>oi,updateDisputes:()=>ii,updateDisputesSummary:()=>si,updateErrorForDispute:()=>ai});var g={};n.r(g),n.d(g,{getDispute:()=>yi,getDisputes:()=>gi,getDisputesCSV:()=>fi,getDisputesSummary:()=>vi});var v={};n.r(v),n.d(v,{getAccountBrandingLogo:()=>Xi,getAccountBusinessName:()=>Bi,getAccountBusinessSupportAddress:()=>Vi,getAccountBusinessSupportAddressCity:()=>qi,getAccountBusinessSupportAddressCountry:()=>zi,getAccountBusinessSupportAddressLine1:()=>Hi,getAccountBusinessSupportAddressLine2:()=>Wi,getAccountBusinessSupportAddressPostalCode:()=>Yi,getAccountBusinessSupportAddressState:()=>Gi,getAccountBusinessSupportEmail:()=>Ki,getAccountBusinessSupportPhone:()=>Zi,getAccountBusinessURL:()=>Ui,getAccountDomesticCurrency:()=>Ji,getAccountStatementDescriptor:()=>Di,getAccountStatementDescriptorKana:()=>Fi,getAccountStatementDescriptorKanji:()=>ji,getAdvancedFraudProtectionSettings:()=>Rs,getAvailablePaymentMethodIds:()=>Ii,getCompletedWaitingPeriod:()=>os,getCurrentProtectionLevel:()=>Ps,getDepositDelayDays:()=>rs,getDepositRestrictions:()=>is,getDepositScheduleInterval:()=>Qi,getDepositScheduleMonthlyAnchor:()=>ns,getDepositScheduleWeeklyAnchor:()=>ts,getDepositStatus:()=>as,getDuplicatedPaymentMethodIds:()=>Pi,getEnabledPaymentMethodIds:()=>Oi,getExportLanguage:()=>es,getIsCardPresentEligible:()=>$s,getIsDebugLogEnabled:()=>ps,getIsDevModeEnabled:()=>ls,getIsManualCaptureEnabled:()=>ss,getIsMultiCurrencyEnabled:()=>ms,getIsPaymentRequestEnabled:()=>us,getIsSavedCardsEnabled:()=>_s,getIsStripeBillingEnabled:()=>Is,getIsStripeBillingMigrationInProgress:()=>Ns,getIsSubscriptionsPluginActive:()=>Es,getIsTestModeEnabled:()=>ds,getIsTestModeOnboarding:()=>cs,getIsWCPayEnabled:()=>Ri,getIsWCPaySubscriptionsEligible:()=>Ss,getIsWCPaySubscriptionsEnabled:()=>ws,getIsWooPayEnabled:()=>xs,getIsWooPayGlobalThemeSupportEnabled:()=>Cs,getPaymentMethodStatuses:()=>Ni,getPaymentRequestButtonBorderRadius:()=>vs,getPaymentRequestButtonSize:()=>ys,getPaymentRequestButtonTheme:()=>gs,getPaymentRequestButtonType:()=>fs,getPaymentRequestLocations:()=>hs,getSavingError:()=>bs,getSettings:()=>Ti,getShowWooPayIncompatibilityNotice:()=>Os,getStripeBillingMigratedCount:()=>Ls,getStripeBillingSubscriptionCount:()=>Ms,getWooPayCustomMessage:()=>ks,getWooPayLocations:()=>As,getWooPayStoreLogo:()=>Ts,isDirty:()=>Li,isSavingSettings:()=>Mi});var _={};n.r(_),n.d(_,{saveSettings:()=>yd,submitStripeBillingSubscriptionMigration:()=>Cd,updateAccountBrandingLogo:()=>ud,updateAccountBusinessName:()=>id,updateAccountBusinessSupportAddress:()=>dd,updateAccountBusinessSupportEmail:()=>cd,updateAccountBusinessSupportPhone:()=>ld,updateAccountBusinessURL:()=>sd,updateAccountStatementDescriptor:()=>rd,updateAccountStatementDescriptorKana:()=>ad,updateAccountStatementDescriptorKanji:()=>od,updateAdvancedFraudProtectionSettings:()=>Ed,updateAvailablePaymentMethodIds:()=>Ys,updateDepositScheduleInterval:()=>pd,updateDepositScheduleMonthlyAnchor:()=>hd,updateDepositScheduleWeeklyAnchor:()=>md,updateEnabledPaymentMethodIds:()=>Gs,updateExportLanguage:()=>fd,updateIsCardPresentEligible:()=>Fs,updateIsDebugLogEnabled:()=>ed,updateIsManualCaptureEnabled:()=>Js,updateIsMultiCurrencyEnabled:()=>td,updateIsPaymentRequestEnabled:()=>qs,updateIsSavedCardsEnabled:()=>js,updateIsSavingSettings:()=>Ks,updateIsStripeBillingEnabled:()=>xd,updateIsTestModeEnabled:()=>Qs,updateIsWCPayEnabled:()=>Ws,updateIsWCPaySubscriptionsEnabled:()=>nd,updateIsWooPayEnabled:()=>vd,updateIsWooPayGlobalThemeSupportEnabled:()=>_d,updatePaymentRequestButtonBorderRadius:()=>zs,updatePaymentRequestButtonSize:()=>Us,updatePaymentRequestButtonTheme:()=>Vs,updatePaymentRequestButtonType:()=>Bs,updatePaymentRequestLocations:()=>gd,updateProtectionLevel:()=>Sd,updateSelectedPaymentMethod:()=>Zs,updateSettings:()=>Hs,updateUnselectedPaymentMethod:()=>Xs,updateWooPayCustomMessage:()=>bd,updateWooPayLocations:()=>wd,updateWooPayStoreLogo:()=>$d});var b={};n.r(b),n.d(b,{getSettings:()=>kd});var $={};n.r($),n.d($,{getCardReaderStats:()=>zd,getCardReaderStatsError:()=>Hd,getCardReaders:()=>Wd});var w={};n.r(w),n.d(w,{updateCardReaderStats:()=>qd,updateCardReaders:()=>Gd,updateErrorForCardReaderStats:()=>Yd,updateErrorForCardReaders:()=>Kd});var S={};n.r(S),n.d(S,{getCardReaderStats:()=>Zd,getCardReaders:()=>Xd});var E={};n.r(E),n.d(E,{getActiveLoanSummary:()=>nc,getActiveLoanSummaryError:()=>rc,getLoans:()=>oc,getLoansError:()=>ac});var x={};n.r(x),n.d(x,{updateActiveLoanSummary:()=>ic,updateErrorForActiveLoanSummary:()=>sc,updateErrorForLoans:()=>cc,updateLoans:()=>dc});var C={};n.r(C),n.d(C,{getActiveLoanSummary:()=>lc,getLoans:()=>uc});var k={};n.r(k),n.d(k,{getDocuments:()=>yc,getDocumentsError:()=>gc,getDocumentsSummary:()=>_c,getDocumentsSummaryError:()=>bc});var T={};n.r(T),n.d(T,{updateDocuments:()=>$c,updateDocumentsSummary:()=>Ec,updateErrorForDocuments:()=>Sc,updateErrorForDocumentsSummary:()=>xc});var A={};n.r(A),n.d(A,{formatQueryFilters:()=>Cc,getDocuments:()=>kc,getDocumentsSummary:()=>Tc});var P={};n.r(P),n.d(P,{getPaymentIntent:()=>Pc,getPaymentIntentError:()=>Rc});var R={};n.r(R),n.d(R,{getAuthorization:()=>Dc,getAuthorizations:()=>Lc,getAuthorizationsError:()=>jc,getAuthorizationsSummary:()=>Bc,getAuthorizationsSummaryError:()=>Uc,getIsRequesting:()=>Vc});var O={};n.r(O),n.d(O,{setIsRequestingAuthorization:()=>Yc,submitCancelAuthorization:()=>Zc,submitCaptureAuthorization:()=>Kc,updateAuthorization:()=>qc,updateAuthorizations:()=>Hc,updateAuthorizationsSummary:()=>Gc,updateErrorForAuthorizations:()=>Wc,updateErrorForAuthorizationsSummary:()=>Xc});var I={};n.r(I),n.d(I,{getAuthorization:()=>Qc,getAuthorizations:()=>Jc,getAuthorizationsSummary:()=>el});var N={};n.r(N),n.d(N,{getFile:()=>ol,getFileError:()=>al});var M={};n.r(M),n.d(M,{updateErrorForFiles:()=>sl,updateFiles:()=>il});var L={};n.r(L),n.d(L,{getFile:()=>dl});var D={};n.r(D),n.d(D,{getPaymentActivityData:()=>ll});var j={};n.r(j),n.d(j,{updatePaymentActivity:()=>ul});var F={};n.r(F),n.d(F,{getPaymentActivityData:()=>pl});var B={};n.r(B),n.d(B,{Text:()=>Bm,block:()=>Um,destructive:()=>zm,highlighterText:()=>Wm,muted:()=>Hm,positive:()=>Vm,upperCase:()=>qm});var U=n(1609),V=n.n(U);const z=window.ReactDOM;var H=n.n(z);const W="https://cdn.sift.com/s.js",q="https://js.stripe.com/v3",G={sift:({beacon_key:e,session_id:t,user_id:n})=>{const r=window._sift=window._sift||[];if(r.push(["_setAccount",e]),r.push(["_setUserId",n]),r.push(["_setSessionId",t]),r.push(["_trackPageview"]),!document.querySelector(`[src="${W}"]`)){const e=document.createElement("script");e.src=W,e.async=!0,document.body.appendChild(e)}},stripe:()=>{if(!document.querySelector(`[src^="${q}"]`)){const e=document.createElement("script");e.src=q,e.async=!0,document.body.appendChild(e)}}};function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(null,arguments)}const K=window.wp.element;var Z=n(2485),X=n.n(Z);const J=window.lodash,Q=window.wp.i18n,ee=window.wp.primitives,te=(0,K.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,K.createElement)(ee.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));window.wp.warning;var ne=n(5606);const re=(0,K.createContext)({}),oe=()=>(0,K.useContext)(re);function ae(e){let{value:t}=e;const n=oe(),r=(0,K.useRef)(t);return function(e,n){const o=(0,K.useRef)(!1);(0,K.useEffect)((()=>{o.current?(0,J.isEqual)(r.current,t)&&r.current!==t&&void 0!==ne&&ne.env:o.current=!0}),n)}(0,[t]),(0,K.useMemo)((()=>(0,J.merge)((0,J.cloneDeep)(n),t)),[n,t])}const ie=(0,K.memo)((e=>{let{children:t,value:n}=e;const r=ae({value:n});return(0,K.createElement)(re.Provider,{value:r},t)})),se="data-wp-component",de="data-wp-c16t",ce="__contextSystemKey__";var le=n(8616),ue=n.n(le);const pe=ue()((function(e){return`components-${(0,J.kebabCase)(e)}`}));var me=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),he=Math.abs,fe=String.fromCharCode,ye=Object.assign;function ge(e){return e.trim()}function ve(e,t,n){return e.replace(t,n)}function _e(e,t){return e.indexOf(t)}function be(e,t){return 0|e.charCodeAt(t)}function $e(e,t,n){return e.slice(t,n)}function we(e){return e.length}function Se(e){return e.length}function Ee(e,t){return t.push(e),e}var xe=1,Ce=1,ke=0,Te=0,Ae=0,Pe="";function Re(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:xe,column:Ce,length:i,return:""}}function Oe(e,t){return ye(Re("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ie(){return Ae=Te>0?be(Pe,--Te):0,Ce--,10===Ae&&(Ce=1,xe--),Ae}function Ne(){return Ae=Te<ke?be(Pe,Te++):0,Ce++,10===Ae&&(Ce=1,xe++),Ae}function Me(){return be(Pe,Te)}function Le(){return Te}function De(e,t){return $e(Pe,e,t)}function je(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Fe(e){return xe=Ce=1,ke=we(Pe=e),Te=0,[]}function Be(e){return Pe="",e}function Ue(e){return ge(De(Te-1,He(91===e?e+2:40===e?e+1:e)))}function Ve(e){for(;(Ae=Me())&&Ae<33;)Ne();return je(e)>2||je(Ae)>3?"":" "}function ze(e,t){for(;--t&&Ne()&&!(Ae<48||Ae>102||Ae>57&&Ae<65||Ae>70&&Ae<97););return De(e,Le()+(t<6&&32==Me()&&32==Ne()))}function He(e){for(;Ne();)switch(Ae){case e:return Te;case 34:case 39:34!==e&&39!==e&&He(Ae);break;case 40:41===e&&He(e);break;case 92:Ne()}return Te}function We(e,t){for(;Ne()&&e+Ae!==57&&(e+Ae!==84||47!==Me()););return"/*"+De(t,Te-1)+"*"+fe(47===e?e:Ne())}function qe(e){for(;!je(Me());)Ne();return De(e,Te)}var Ge="-ms-",Ye="-moz-",Ke="-webkit-",Ze="comm",Xe="rule",Je="decl",Qe="@keyframes";function et(e,t){for(var n="",r=Se(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function tt(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Je:return e.return=e.return||e.value;case Ze:return"";case Qe:return e.return=e.value+"{"+et(e.children,r)+"}";case Xe:e.value=e.props.join(",")}return we(n=et(e.children,r))?e.return=e.value+"{"+n+"}":""}function nt(e){return Be(rt("",null,null,null,[""],e=Fe(e),0,[0],e))}function rt(e,t,n,r,o,a,i,s,d){for(var c=0,l=0,u=i,p=0,m=0,h=0,f=1,y=1,g=1,v=0,_="",b=o,$=a,w=r,S=_;y;)switch(h=v,v=Ne()){case 40:if(108!=h&&58==be(S,u-1)){-1!=_e(S+=ve(Ue(v),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:S+=Ue(v);break;case 9:case 10:case 13:case 32:S+=Ve(h);break;case 92:S+=ze(Le()-1,7);continue;case 47:switch(Me()){case 42:case 47:Ee(at(We(Ne(),Le()),t,n),d);break;default:S+="/"}break;case 123*f:s[c++]=we(S)*g;case 125*f:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+l:-1==g&&(S=ve(S,/\f/g,"")),m>0&&we(S)-u&&Ee(m>32?it(S+";",r,n,u-1):it(ve(S," ","")+";",r,n,u-2),d);break;case 59:S+=";";default:if(Ee(w=ot(S,t,n,c,l,o,s,_,b=[],$=[],u),a),123===v)if(0===l)rt(S,t,w,w,b,a,u,s,$);else switch(99===p&&110===be(S,3)?100:p){case 100:case 108:case 109:case 115:rt(e,w,w,r&&Ee(ot(e,w,w,0,0,o,s,_,o,b=[],u),$),o,$,u,s,r?b:$);break;default:rt(S,w,w,w,[""],$,0,s,$)}}c=l=m=0,f=g=1,_=S="",u=i;break;case 58:u=1+we(S),m=h;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==Ie())continue;switch(S+=fe(v),v*f){case 38:g=l>0?1:(S+="\f",-1);break;case 44:s[c++]=(we(S)-1)*g,g=1;break;case 64:45===Me()&&(S+=Ue(Ne())),p=Me(),l=u=we(_=S+=qe(Le())),v++;break;case 45:45===h&&2==we(S)&&(f=0)}}return a}function ot(e,t,n,r,o,a,i,s,d,c,l){for(var u=o-1,p=0===o?a:[""],m=Se(p),h=0,f=0,y=0;h<r;++h)for(var g=0,v=$e(e,u+1,u=he(f=i[h])),_=e;g<m;++g)(_=ge(f>0?p[g]+" "+v:ve(v,/&\f/g,p[g])))&&(d[y++]=_);return Re(e,t,n,0===o?Xe:s,d,c,l)}function at(e,t,n){return Re(e,t,n,Ze,fe(Ae),$e(e,2,-2),0)}function it(e,t,n,r){return Re(e,t,n,Je,$e(e,0,r),$e(e,r+1,-1),r)}var st=function(e,t,n){for(var r=0,o=0;r=o,o=Me(),38===r&&12===o&&(t[n]=1),!je(o);)Ne();return De(e,Te)},dt=new WeakMap,ct=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||dt.get(n))&&!r){dt.set(e,!0);for(var o=[],a=function(e,t){return Be(function(e,t){var n=-1,r=44;do{switch(je(r)){case 0:38===r&&12===Me()&&(t[n]=1),e[n]+=st(Te-1,t,n);break;case 2:e[n]+=Ue(r);break;case 4:if(44===r){e[++n]=58===Me()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=fe(r)}}while(r=Ne());return e}(Fe(e),t))}(t,o),i=n.props,s=0,d=0;s<a.length;s++)for(var c=0;c<i.length;c++,d++)e.props[d]=o[s]?a[s].replace(/&\f/g,i[c]):i[c]+" "+a[s]}}},lt=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ut(e,t){switch(function(e,t){return 45^be(e,0)?(((t<<2^be(e,0))<<2^be(e,1))<<2^be(e,2))<<2^be(e,3):0}(e,t)){case 5103:return Ke+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ke+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ke+e+Ye+e+Ge+e+e;case 6828:case 4268:return Ke+e+Ge+e+e;case 6165:return Ke+e+Ge+"flex-"+e+e;case 5187:return Ke+e+ve(e,/(\w+).+(:[^]+)/,Ke+"box-$1$2"+Ge+"flex-$1$2")+e;case 5443:return Ke+e+Ge+"flex-item-"+ve(e,/flex-|-self/,"")+e;case 4675:return Ke+e+Ge+"flex-line-pack"+ve(e,/align-content|flex-|-self/,"")+e;case 5548:return Ke+e+Ge+ve(e,"shrink","negative")+e;case 5292:return Ke+e+Ge+ve(e,"basis","preferred-size")+e;case 6060:return Ke+"box-"+ve(e,"-grow","")+Ke+e+Ge+ve(e,"grow","positive")+e;case 4554:return Ke+ve(e,/([^-])(transform)/g,"$1"+Ke+"$2")+e;case 6187:return ve(ve(ve(e,/(zoom-|grab)/,Ke+"$1"),/(image-set)/,Ke+"$1"),e,"")+e;case 5495:case 3959:return ve(e,/(image-set\([^]*)/,Ke+"$1$`$1");case 4968:return ve(ve(e,/(.+:)(flex-)?(.*)/,Ke+"box-pack:$3"+Ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ke+e+e;case 4095:case 3583:case 4068:case 2532:return ve(e,/(.+)-inline(.+)/,Ke+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(we(e)-1-t>6)switch(be(e,t+1)){case 109:if(45!==be(e,t+4))break;case 102:return ve(e,/(.+:)(.+)-([^]+)/,"$1"+Ke+"$2-$3$1"+Ye+(108==be(e,t+3)?"$3":"$2-$3"))+e;case 115:return~_e(e,"stretch")?ut(ve(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==be(e,t+1))break;case 6444:switch(be(e,we(e)-3-(~_e(e,"!important")&&10))){case 107:return ve(e,":",":"+Ke)+e;case 101:return ve(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ke+(45===be(e,14)?"inline-":"")+"box$3$1"+Ke+"$2$3$1"+Ge+"$2box$3")+e}break;case 5936:switch(be(e,t+11)){case 114:return Ke+e+Ge+ve(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ke+e+Ge+ve(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ke+e+Ge+ve(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ke+e+Ge+e+e}return e}var pt=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Je:e.return=ut(e.value,e.length);break;case Qe:return et([Oe(e,{value:ve(e.value,"@","@"+Ke)})],r);case Xe:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return et([Oe(e,{props:[ve(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return et([Oe(e,{props:[ve(t,/:(plac\w+)/,":"+Ke+"input-$1")]}),Oe(e,{props:[ve(t,/:(plac\w+)/,":-moz-$1")]}),Oe(e,{props:[ve(t,/:(plac\w+)/,Ge+"input-$1")]})],r)}return""}))}}],mt=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,a=e.stylisPlugins||pt,i={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;s.push(e)}));var d,c,l,u,p=[tt,(u=function(e){d.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],m=(c=[ct,lt].concat(a,p),l=Se(c),function(e,t,n,r){for(var o="",a=0;a<l;a++)o+=c[a](e,t,n,r)||"";return o});o=function(e,t,n,r){d=n,et(nt(e?e+"{"+t.styles+"}":t.styles),m),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new me({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return h.sheet.hydrate(s),h},ht={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function ft(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var yt=/[A-Z]|^ms/g,gt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vt=function(e){return 45===e.charCodeAt(1)},_t=function(e){return null!=e&&"boolean"!=typeof e},bt=ft((function(e){return vt(e)?e:e.replace(yt,"-$&").toLowerCase()})),$t=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(gt,(function(e,t,n){return St={name:t,styles:n,next:St},t}))}return 1===ht[e]||vt(e)||"number"!=typeof t||0===t?t:t+"px"};function wt(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return St={name:n.name,styles:n.styles,next:St},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)St={name:r.name,styles:r.styles,next:St},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=wt(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":_t(i)&&(r+=bt(a)+":"+$t(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=wt(e,t,i);switch(a){case"animation":case"animationName":r+=bt(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var d=0;d<i.length;d++)_t(i[d])&&(r+=bt(a)+":"+$t(a,i[d])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=St,a=n(e);return St=o,wt(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var St,Et=/label:\s*([^\s;\n{]+)\s*(;|$)/g,xt=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";St=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=wt(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=wt(n,t,e[i]),r&&(o+=a[i]);Et.lastIndex=0;for(var s,d="";null!==(s=Et.exec(o));)d+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+d;return{name:c,styles:o,next:St}},Ct=!!U.useInsertionEffect&&U.useInsertionEffect,kt=Ct||function(e){return e()},Tt=(Ct||U.useLayoutEffect,U.createContext("undefined"!=typeof HTMLElement?mt({key:"css"}):null)),At=Tt.Provider,Pt=U.createContext({});function Rt(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}function Ot(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function It(e,t,n){var r=[],o=Rt(e,r,n);return r.length<2?n:o+t(r)}var Nt=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var i in a="",o)o[i]&&i&&(a&&(a+=" "),a+=i);break;default:a=o}a&&(n&&(n+=" "),n+=a)}}return n},Mt=function(){var e=mt({key:"css"});e.sheet.speedy=function(e){this.isSpeedy=e},e.compat=!0;var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=xt(n,e.registered,void 0);return function(e,t){!function(e,t){var n=e.key+"-"+t.name;void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+n:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}}(e,o),e.key+"-"+o.name};return{css:t,cx:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return It(e.registered,t,Nt(r))},injectGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=xt(n,e.registered);Ot(e,o)},keyframes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=xt(n,e.registered),a="animation-"+o.name;return Ot(e,{name:o.name,styles:"@keyframes "+a+"{"+o.styles+"}"}),a},hydrate:function(t){t.forEach((function(t){e.inserted[t]=!0}))},flush:function(){e.registered={},e.inserted={},e.sheet.flush()},sheet:e.sheet,cache:e,getRegisteredStyles:Rt.bind(null,e.registered),merge:It.bind(null,e.registered,t)}}(),Lt=(Mt.flush,Mt.hydrate,Mt.cx);Mt.merge,Mt.getRegisteredStyles,Mt.injectGlobal,Mt.keyframes,Mt.css,Mt.sheet,Mt.cache;const Dt=()=>{const e=(0,U.useContext)(Tt),t=(0,K.useCallback)((function(){if(null===e)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Lt(...n.map((t=>(e=>null!=e&&["name","styles"].every((t=>void 0!==e[t])))(t)?(function(e,t){var n=e.key+"-"+t.name;if(void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+n:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}}(e,t),`${e.key}-${t.name}`):t)))}),[e]);return t};var jt=n(5606);function Ft(e,t){const n=oe();void 0===t&&void 0!==jt&&jt.env;const r=(null==n?void 0:n[t])||{},o={[de]:!0,...(a=t,{[se]:a})};var a;const{_overrides:i,...s}=r,d=Object.entries(s).length?Object.assign({},s,e):e,c=Dt()(pe(t),e.className),l="function"==typeof d.renderChildren?d.renderChildren(d):d.children;for(const e in d)o[e]=d[e];for(const e in i)o[e]=i[e];return o.children=l,o.className=c,o}var Bt=n(5606);function Ut(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{memo:r=!1}=n;let o=(0,K.forwardRef)(e);r&&(o=(0,K.memo)(o)),void 0===t&&void 0!==Bt&&Bt.env;let a=o[ce]||[t];return Array.isArray(t)&&(a=[...a,...t]),"string"==typeof t&&(a=[...a,t]),o.displayName=t,o[ce]=(0,J.uniq)(a),o.selector=`.${pe(t)}`,o}function Vt(e){if(!e)return[];let t=[];return e[ce]&&(t=e[ce]),e.type&&e.type[ce]&&(t=e.type[ce]),t}const zt={border:0,clip:"rect(1px, 1px, 1px, 1px)",WebkitClipPath:"inset( 50% )",clipPath:"inset( 50% )",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",wordWrap:"normal"};var Ht=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Wt=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},qt=ft((function(e){return Ht.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Gt=function(e){return"theme"!==e},Yt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?qt:Gt},Kt=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},Zt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Wt(t,n,r),kt((function(){return function(e,t,n){Wt(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},Xt=function e(t,n){var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=Kt(t,n,a),d=s||Yt(i),c=!d("as");return function(){var l=arguments,u=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&u.push("label:"+r+";"),null==l[0]||void 0===l[0].raw)u.push.apply(u,l);else{u.push(l[0][0]);for(var p=l.length,m=1;m<p;m++)u.push(l[m],l[0][m])}var h,f=(h=function(e,t,n){var r,a,l,p,m=c&&e.as||i,h="",f=[],y=e;if(null==e.theme){for(var g in y={},e)y[g]=e[g];y.theme=U.useContext(Pt)}"string"==typeof e.className?(r=t.registered,a=f,l=e.className,p="",l.split(" ").forEach((function(e){void 0!==r[e]?a.push(r[e]+";"):p+=e+" "})),h=p):null!=e.className&&(h=e.className+" ");var v=xt(u.concat(f),t.registered,y);h+=t.key+"-"+v.name,void 0!==o&&(h+=" "+o);var _=c&&void 0===s?Yt(m):d,b={};for(var $ in e)c&&"as"===$||_($)&&(b[$]=e[$]);return b.className=h,b.ref=n,U.createElement(U.Fragment,null,U.createElement(Zt,{cache:t,serialized:v,isStringTag:"string"==typeof m}),U.createElement(m,b))},(0,U.forwardRef)((function(e,t){var n=(0,U.useContext)(Tt);return h(e,n,t)})));return f.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",f.defaultProps=t.defaultProps,f.__emotion_real=f,f.__emotion_base=i,f.__emotion_styles=u,f.__emotion_forwardProp=s,Object.defineProperty(f,"toString",{value:function(){return"."+o}}),f.withComponent=function(t,r){return e(t,Y({},n,r,{shouldForwardProp:Kt(f,r,!0)})).apply(void 0,u)},f}};const Jt=Xt("div",{target:"em57xhy0"})("");Jt.selector=".components-view",Jt.displayName="View";const Qt=Jt,en=Ut((function(e,t){const{style:n,...r}=Ft(e,"VisuallyHidden");return(0,K.createElement)(Qt,Y({ref:t},r,{style:{...zt,...n||{}}}))}),"VisuallyHidden"),tn=function(e){let{icon:t,size:n=24,...r}=e;return(0,K.cloneElement)(t,{width:n,height:n,...r})},nn=Xt(tn,{target:"etxm6pv0"})({name:"rvs7bx",styles:"width:1em;height:1em;margin:0;vertical-align:middle;fill:currentColor"}),rn=(0,K.forwardRef)((function(e,t){let{href:n,children:r,className:o,rel:a="",...i}=e;a=(0,J.uniq)((0,J.compact)([...a.split(" "),"external","noreferrer","noopener"])).join(" ");const s=X()("components-external-link",o);return(0,K.createElement)("a",Y({},i,{className:s,href:n,target:"_blank",rel:a,ref:t}),r,(0,K.createElement)(en,{as:"span"},(0,Q.__)("(opens in a new tab)")),(0,K.createElement)(nn,{icon:te,className:"components-external-link__icon"}))})),on=window.wc.navigation;function an(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return xt(t)}n(4146);const sn={name:"12ip69d",styles:"background:transparent;display:block;margin:0!important;pointer-events:none;position:absolute;will-change:box-shadow"},dn="4px";function cn(e){var t,n;if(void 0===e)return;if(!e)return"0";const r="number"==typeof e?e:Number(e);return"undefined"!=typeof window&&null!==(t=window.CSS)&&void 0!==t&&null!==(n=t.supports)&&void 0!==n&&n.call(t,"margin",e.toString())||Number.isNaN(r)?e.toString():`calc(${dn} * ${e})`}var ln={grad:.9,turn:360,rad:360/(2*Math.PI)},un=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},pn=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},mn=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},hn=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},fn=function(e){return{r:mn(e.r,0,255),g:mn(e.g,0,255),b:mn(e.b,0,255),a:mn(e.a)}},yn=function(e){return{r:pn(e.r),g:pn(e.g),b:pn(e.b),a:pn(e.a,3)}},gn=/^#([0-9a-f]{3,8})$/i,vn=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},_n=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),i=a-Math.min(t,n,r),s=i?a===t?(n-r)/i:a===n?2+(r-t)/i:4+(t-n)/i:0;return{h:60*(s<0?s+6:s),s:a?i/a*100:0,v:a/255*100,a:o}},bn=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),i=r*(1-n),s=r*(1-(t-a)*n),d=r*(1-(1-t+a)*n),c=a%6;return{r:255*[r,s,i,i,d,r][c],g:255*[d,r,r,s,i,i][c],b:255*[i,i,d,r,r,s][c],a:o}},$n=function(e){return{h:hn(e.h),s:mn(e.s,0,100),l:mn(e.l,0,100),a:mn(e.a)}},wn=function(e){return{h:pn(e.h),s:pn(e.s),l:pn(e.l),a:pn(e.a,3)}},Sn=function(e){return bn((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},En=function(e){return{h:(t=_n(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},xn=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Cn=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,kn=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Tn=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,An={string:[[function(e){var t=gn.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?pn(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?pn(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=kn.exec(e)||Tn.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:fn({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=xn.exec(e)||Cn.exec(e);if(!t)return null;var n,r,o=$n({h:(n=t[1],r=t[2],void 0===r&&(r="deg"),Number(n)*(ln[r]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return Sn(o)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=void 0===o?1:o;return un(t)&&un(n)&&un(r)?fn({r:Number(t),g:Number(n),b:Number(r),a:Number(a)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,o=e.a,a=void 0===o?1:o;if(!un(t)||!un(n)||!un(r))return null;var i=$n({h:Number(t),s:Number(n),l:Number(r),a:Number(a)});return Sn(i)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,a=void 0===o?1:o;if(!un(t)||!un(n)||!un(r))return null;var i=function(e){return{h:hn(e.h),s:mn(e.s,0,100),v:mn(e.v,0,100),a:mn(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(a)});return bn(i)},"hsv"]]},Pn=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},Rn=function(e,t){var n=En(e);return{h:n.h,s:mn(n.s+100*t,0,100),l:n.l,a:n.a}},On=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},In=function(e,t){var n=En(e);return{h:n.h,s:n.s,l:mn(n.l+100*t,0,100),a:n.a}},Nn=function(){function e(e){this.parsed=function(e){return"string"==typeof e?Pn(e.trim(),An.string):"object"==typeof e&&null!==e?Pn(e,An.object):[null,void 0]}(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return pn(On(this.rgba),2)},e.prototype.isDark=function(){return On(this.rgba)<.5},e.prototype.isLight=function(){return On(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=yn(this.rgba)).r,n=e.g,r=e.b,a=(o=e.a)<1?vn(pn(255*o)):"","#"+vn(t)+vn(n)+vn(r)+a;var e,t,n,r,o,a},e.prototype.toRgb=function(){return yn(this.rgba)},e.prototype.toRgbString=function(){return t=(e=yn(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return wn(En(this.rgba))},e.prototype.toHslString=function(){return t=(e=wn(En(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=_n(this.rgba),{h:pn(e.h),s:pn(e.s),v:pn(e.v),a:pn(e.a,3)};var e},e.prototype.invert=function(){return Mn({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),Mn(Rn(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),Mn(Rn(this.rgba,-e))},e.prototype.grayscale=function(){return Mn(Rn(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),Mn(In(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),Mn(In(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?Mn({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):pn(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=En(this.rgba);return"number"==typeof e?Mn({h:e,s:t.s,l:t.l,a:t.a}):pn(t.h)},e.prototype.isEqual=function(e){return this.toHex()===Mn(e).toHex()},e}(),Mn=function(e){return e instanceof Nn?e:new Nn(e)},Ln=[],Dn=function(e){e.forEach((function(e){Ln.indexOf(e)<0&&(e(Nn,An),Ln.push(e))}))};function jn(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var o in n)r[n[o]]=o;var a={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var o,i,s=r[this.toHex()];if(s)return s;if(null==t?void 0:t.closest){var d=this.toRgb(),c=1/0,l="black";if(!a.length)for(var u in n)a[u]=new e(n[u]).toRgb();for(var p in n){var m=(o=d,i=a[p],Math.pow(o.r-i.r,2)+Math.pow(o.g-i.g,2)+Math.pow(o.b-i.b,2));m<c&&(c=m,l=p)}return l}},t.string.push([function(t){var r=t.toLowerCase(),o="transparent"===r?"#0000":n[r];return o?new e(o).toRgb():null},"name"])}function Fn(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Mn(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").alpha(e).toRgbString()}Dn([jn]);const Bn={black:"#000",white:"#fff"},Un={blue:{medium:{focus:"#007cba",focusDark:"#fff"}},gray:{900:"#1e1e1e",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},darkGray:{primary:"#1e1e1e",heading:"#050505"},mediumGray:{text:"#757575"},lightGray:{ui:"#949494",secondary:"#ccc",tertiary:"#e7e8e9"}},Vn={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:Fn(Un.gray[900],.62)},zn={900:Fn("#000510",.9),800:Fn("#00000a",.85),700:Fn("#06060b",.8),600:Fn("#000913",.75),500:Fn("#0a1829",.7),400:Fn("#0a1829",.65),300:Fn("#0e1c2e",.62),200:Fn("#162435",.55),100:Fn("#223443",.5),backgroundFill:Fn(Vn[700],.7)},Hn={900:Fn("#304455",.45),800:Fn("#425863",.4),700:Fn("#667886",.35),600:Fn("#7b86a2",.3),500:Fn("#9197a2",.25),400:Fn("#95959c",.2),300:Fn("#829493",.15),200:Fn("#8b8b96",.1),100:Fn("#747474",.05)},Wn={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:Fn(Bn.white,.65)},qn={900:Fn(Bn.white,.5),800:Fn(Bn.white,.45),700:Fn(Bn.white,.4),600:Fn(Bn.white,.35),500:Fn(Bn.white,.3),400:Fn(Bn.white,.25),300:Fn(Bn.white,.2),200:Fn(Bn.white,.15),100:Fn(Bn.white,.1),backgroundFill:Fn(Wn[300],.8)},Gn={wordpress:{700:"#00669b"},dark:{900:"#0071a1"},medium:{900:"#006589",800:"#00739c",700:"#007fac",600:"#008dbe",500:"#00a0d2",400:"#33b3db",300:"#66c6e4",200:"#bfe7f3",100:"#e5f5fa",highlight:"#b3e7fe",focus:"#007cba"}},Yn={theme:`var( --wp-admin-theme-color, ${Gn.wordpress[700]})`,themeDark10:`var( --wp-admin-theme-color-darker-10, ${Gn.medium.focus})`},Kn={theme:Yn.theme,background:Bn.white,backgroundDisabled:Wn[200],border:Un.gray[700],borderHover:Un.gray[700],borderFocus:Yn.themeDark10,borderDisabled:Un.gray[400],borderLight:Un.gray[300],label:Vn[500],textDisabled:Vn[150],textDark:Bn.white,textLight:Bn.black},Zn=Object.assign({},Bn,{darkGray:(0,J.merge)({},Vn,Un.darkGray),darkOpacity:zn,darkOpacityLight:Hn,mediumGray:Un.mediumGray,gray:Un.gray,lightGray:(0,J.merge)({},Wn,Un.lightGray),lightGrayLight:qn,blue:(0,J.merge)({},Gn,Un.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:Yn,ui:Kn}),Xn="36px",Jn="12px",Qn={controlSurfaceColor:Zn.white,controlTextActiveColor:Zn.ui.theme,controlPaddingX:Jn,controlPaddingXLarge:`calc(${Jn} * 1.3334)`,controlPaddingXSmall:`calc(${Jn} / 1.3334)`,controlBackgroundColor:Zn.white,controlBorderRadius:"2px",controlBorderColor:Zn.gray[700],controlBoxShadow:"transparent",controlBorderColorHover:Zn.gray[700],controlBoxShadowFocus:`0 0 0 0.5px ${Zn.admin.theme}`,controlDestructiveBorderColor:Zn.alert.red,controlHeight:Xn,controlHeightXSmall:`calc( ${Xn} * 0.6 )`,controlHeightSmall:`calc( ${Xn} * 0.8 )`,controlHeightLarge:`calc( ${Xn} * 1.2 )`,controlHeightXLarge:`calc( ${Xn} * 1.4 )`},er={toggleGroupControlBackgroundColor:Qn.controlBackgroundColor,toggleGroupControlBorderColor:Zn.ui.border,toggleGroupControlBackdropBackgroundColor:Qn.controlSurfaceColor,toggleGroupControlBackdropBorderColor:Zn.ui.border,toggleGroupControlBackdropBoxShadow:"transparent",toggleGroupControlButtonColorActive:Qn.controlBackgroundColor},tr=Object.assign({},Qn,er,{colorDivider:"rgba(0, 0, 0, 0.1)",colorScrollbarThumb:"rgba(0, 0, 0, 0.2)",colorScrollbarThumbHover:"rgba(0, 0, 0, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",elevationIntensity:1,radiusBlockUi:"2px",borderWidth:"1px",borderWidthFocus:"1.5px",borderWidthTab:"4px",spinnerSize:16,fontSize:"13px",fontSizeH1:"calc(2.44 * 13px)",fontSizeH2:"calc(1.95 * 13px)",fontSizeH3:"calc(1.56 * 13px)",fontSizeH4:"calc(1.25 * 13px)",fontSizeH5:"13px",fontSizeH6:"calc(0.8 * 13px)",fontSizeInputMobile:"16px",fontSizeMobile:"15px",fontSizeSmall:"calc(0.92 * 13px)",fontSizeXSmall:"calc(0.75 * 13px)",fontLineHeightBase:"1.2",fontWeight:"normal",fontWeightHeading:"600",gridBase:"4px",cardBorderRadius:"2px",cardPaddingXSmall:`${cn(2)}`,cardPaddingSmall:`${cn(4)}`,cardPaddingMedium:`${cn(4)} ${cn(6)}`,cardPaddingLarge:`${cn(6)} ${cn(8)}`,surfaceBackgroundColor:Zn.white,surfaceBackgroundSubtleColor:"#F3F3F3",surfaceBackgroundTintColor:"#F5F5F5",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceBorderBoldColor:"rgba(0, 0, 0, 0.15)",surfaceBorderSubtleColor:"rgba(0, 0, 0, 0.05)",surfaceBackgroundTertiaryColor:Zn.white,surfaceColor:Zn.white,transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunction:"cubic-bezier(0.08, 0.52, 0.52, 1)",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"});function nr(){let e;switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transition"){case"transition":e="transition-duration: 0ms;";break;case"animation":e="animation-duration: 1ms;";break;default:e="\n\t\t\t\tanimation-duration: 1ms;\n\t\t\t\ttransition-duration: 0ms;\n\t\t\t"}return`\n\t\t@media ( prefers-reduced-motion: reduce ) {\n\t\t\t${e};\n\t\t}\n\t`}function rr(e){return`0 ${e}px ${2*e}px 0\n\trgba(0 ,0, 0, ${e/20})`}const or=Ut((function(e,t){const n=function(e){const{active:t,borderRadius:n="inherit",className:r,focus:o,hover:a,isInteractive:i=!1,offset:s=0,value:d=0,...c}=Ft(e,"Elevation"),l=Dt();return{...c,className:(0,K.useMemo)((()=>{let e=(0,J.isNil)(a)?2*d:a,c=(0,J.isNil)(t)?d/2:t;i||(e=(0,J.isNil)(a)?void 0:a,c=(0,J.isNil)(t)?void 0:t);const u=`box-shadow ${tr.transitionDuration} ${tr.transitionTimingFunction}`,p={};return p.Base=an({borderRadius:n,bottom:s,boxShadow:rr(d),opacity:tr.elevationIntensity,left:s,right:s,top:s,transition:u},nr("transition"),"",""),(0,J.isNil)(e)||(p.hover=an("*:hover>&{box-shadow:",rr(e),";}","")),(0,J.isNil)(c)||(p.active=an("*:active>&{box-shadow:",rr(c),";}","")),(0,J.isNil)(o)||(p.focus=an("*:focus>&{box-shadow:",rr(o),";}","")),l(sn,p.Base,p.hover&&p.hover,p.focus&&p.focus,p.active&&p.active,r)}),[t,n,r,l,o,a,i,s,d]),"aria-hidden":!0}}(e);return(0,K.createElement)(Qt,Y({},n,{ref:t}))}),"Elevation"),ar=or,ir=`calc(${tr.cardBorderRadius} - 1px)`,sr=an("box-shadow:0 0 0 1px ",tr.surfaceBorderColor,";outline:none;",""),dr={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"},cr={name:"13udsys",styles:"height:100%"},lr={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"},ur=an("&:first-of-type{border-top-left-radius:",ir,";border-top-right-radius:",ir,";}&:last-of-type{border-bottom-left-radius:",ir,";border-bottom-right-radius:",ir,";}",""),pr=an("border-color:",tr.colorDivider,";",""),mr={name:"1t90u8d",styles:"box-shadow:none"},hr={name:"1e1ncky",styles:"border:none"},fr=an("border-radius:",ir,";",""),yr=an("padding:",tr.cardPaddingXSmall,";",""),gr={large:an("padding:",tr.cardPaddingLarge,";",""),medium:an("padding:",tr.cardPaddingMedium,";",""),small:an("padding:",tr.cardPaddingSmall,";",""),xSmall:yr,extraSmall:yr},vr=an("background-color:",Zn.lightGray[200],";",""),_r=window.wp.deprecated;var br=n.n(_r);const $r=an("background-color:",tr.surfaceColor,";color:",Zn.darkGray.primary,";position:relative;","");tr.surfaceBackgroundColor;const wr=an("",""),Sr=an("background:",tr.surfaceBackgroundTintColor,";",""),Er=an("background:",tr.surfaceBackgroundTertiaryColor,";",""),xr=e=>[e,e].join(" "),Cr=e=>["90deg",[tr.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),kr=e=>[[tr.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),Tr=[`linear-gradient( ${[`${tr.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`,`linear-gradient( ${["90deg",`${tr.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`].join(","),Ar=(e,t,n)=>{switch(e){case"dotted":return((e,t)=>an("background:",(e=>[`linear-gradient( ${Cr(e)} ) center`,`linear-gradient( ${kr(e)} ) center`,tr.surfaceBorderBoldColor].join(","))(t),";background-size:",xr(e),";",""))(t,n);case"grid":return(e=>an("background:",tr.surfaceBackgroundColor,";background-image:",Tr,";background-size:",xr(e),";",""))(t);case"primary":return wr;case"secondary":return Sr;case"tertiary":return Er}};function Pr(e){const{backgroundSize:t=12,borderBottom:n=!1,borderLeft:r=!1,borderRight:o=!1,borderTop:a=!1,className:i,variant:s="primary",...d}=Ft(e,"Surface"),c=Dt(),l=(0,K.useMemo)((()=>{const e={};return e.borders=function(e){let{borderBottom:t,borderLeft:n,borderRight:r,borderTop:o}=e;const a=`1px solid ${tr.surfaceBorderColor}`;return an({borderBottom:t?a:void 0,borderLeft:n?a:void 0,borderRight:r?a:void 0,borderTop:o?a:void 0},"","")}({borderBottom:n,borderLeft:r,borderRight:o,borderTop:a}),c($r,e.borders,Ar(s,`${t}px`,t-1+"px"),i)}),[t,n,r,o,a,i,c,s]);return{...d,className:l}}const Rr=Ut((function(e,t){const{children:n,elevation:r,isBorderless:o,isRounded:a,size:i,...s}=function(e){const{className:t,elevation:n=0,isBorderless:r=!1,isRounded:o=!0,size:a="medium",...i}=Ft(function(e){let{elevation:t,isElevated:n,...r}=e;const o={...r};let a=t;var i;return n&&(br()("Card isElevated prop",{since:"5.9",alternative:"elevation"}),null!==(i=a)&&void 0!==i||(a=2)),void 0!==a&&(o.elevation=a),o}(e),"Card"),s=Dt();return{...Pr({...i,className:(0,K.useMemo)((()=>s(sr,r&&mr,o&&fr,t)),[t,s,r,o])}),elevation:n,isBorderless:r,isRounded:o,size:a}}(e),d=a?tr.cardBorderRadius:0,c=Dt(),l=(0,K.useMemo)((()=>c(an({borderRadius:d},"",""))),[c,d]),u=(0,K.useMemo)((()=>{const e={size:i,isBorderless:o};return{CardBody:e,CardHeader:e,CardFooter:e}}),[o,i]);return(0,K.createElement)(ie,{value:u},(0,K.createElement)(Qt,Y({},s,{ref:t}),(0,K.createElement)(Qt,{className:c(cr)},n),(0,K.createElement)(ar,{className:l,isInteractive:!1,value:r?1:0}),(0,K.createElement)(ar,{className:l,isInteractive:!1,value:r})))}),"Card"),Or=window.wp.compose,Ir=(0,K.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,K.createElement)(ee.Path,{d:"M7 11.5h10V13H7z"})),Nr=(0,K.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,K.createElement)(ee.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),Mr={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function Lr(e){return(0,J.get)(Mr,e,"")}const Dr=Xt("div",{target:"ej5x27r4"})("font-family:",Lr("default.fontFamily"),";font-size:",Lr("default.fontSize"),";"),jr=Xt("div",{target:"ej5x27r3"})((e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&an("margin-bottom:",cn(2),";","")})," .components-panel__row &{margin-bottom:inherit;}"),Fr=an("display:inline-block;margin-bottom:",cn(2),";",""),Br=Xt("label",{target:"ej5x27r2"})(Fr,";");var Ur={name:"11yad0w",styles:"margin-bottom:revert"};const Vr=Xt("p",{target:"ej5x27r1"})("margin-top:",cn(2),";margin-bottom:0;font-size:",Lr("helpText.fontSize"),";font-style:normal;color:",Zn.mediumGray.text,";",(e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&Ur}),";"),zr=Xt("span",{target:"ej5x27r0"})(Fr,";"),Hr=e=>{let{__nextHasNoMarginBottom:t=!1,id:n,label:r,hideLabelFromVision:o=!1,help:a,className:i,children:s}=e;return(0,K.createElement)(Dr,{className:X()("components-base-control",i)},(0,K.createElement)(jr,{className:"components-base-control__field",__nextHasNoMarginBottom:t},r&&n&&(o?(0,K.createElement)(en,{as:"label",htmlFor:n},r):(0,K.createElement)(Br,{className:"components-base-control__label",htmlFor:n},r)),r&&!n&&(o?(0,K.createElement)(en,{as:"label"},r):(0,K.createElement)(Hr.VisualLabel,null,r)),s),!!a&&(0,K.createElement)(Vr,{id:n?n+"__help":void 0,className:"components-base-control__help",__nextHasNoMarginBottom:t},a))};Hr.VisualLabel=e=>{let{className:t,children:n}=e;return(0,K.createElement)(zr,{className:X()("components-base-control__label",t)},n)};const Wr=Hr;function qr(e){let{label:t,className:n,heading:r,checked:o,indeterminate:a,help:i,onChange:s,...d}=e;r&&br()("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",since:"5.8"});const[c,l]=(0,K.useState)(!1),[u,p]=(0,K.useState)(!1),m=(0,Or.useRefEffect)((e=>{e&&(e.indeterminate=!!a,l(e.matches(":checked")),p(e.matches(":indeterminate")))}),[o,a]),h=`inspector-checkbox-control-${(0,Or.useInstanceId)(qr)}`;return(0,K.createElement)(Wr,{label:r,id:h,help:i,className:X()("components-checkbox-control",n)},(0,K.createElement)("span",{className:"components-checkbox-control__input-container"},(0,K.createElement)("input",Y({ref:m,id:h,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:e=>s(e.target.checked),checked:o,"aria-describedby":i?h+"__help":void 0},d)),u?(0,K.createElement)(tn,{icon:Ir,className:"components-checkbox-control__indeterminate",role:"presentation"}):null,c?(0,K.createElement)(tn,{icon:Nr,className:"components-checkbox-control__checked",role:"presentation"}):null),(0,K.createElement)("label",{className:"components-checkbox-control__label",htmlFor:h},t))}const Gr=window.wp.data,Yr=window.wp.dataControls,Kr="/wc/v3/payments",Zr="wc/payments",Xr={SET_DEPOSIT:"SET_DEPOSIT",SET_DEPOSITS:"SET_DEPOSITS",SET_DEPOSITS_COUNT:"SET_DEPOSITS_COUNT",SET_ERROR_FOR_DEPOSIT_QUERY:"SET_ERROR_FOR_DEPOSIT_QUERY",SET_DEPOSITS_SUMMARY:"SET_DEPOSITS_SUMMARY",SET_ERROR_FOR_DEPOSITS_SUMMARY:"SET_ERROR_FOR_DEPOSITS_SUMMARY",SET_INSTANT_DEPOSIT:"SET_INSTANT_DEPOSIT",SET_ALL_DEPOSITS_OVERVIEWS:"SET_ALL_DEPOSITS_OVERVIEWS",SET_ERROR_FOR_ALL_DEPOSITS_OVERVIEWS:"SET_ERROR_FOR_ALL_DEPOSITS_OVERVIEWS"},Jr=e=>JSON.stringify(e,Object.keys(e).sort()),Qr={byId:{},queries:{},count:0,instant:{}},eo=e=>e&&e.deposits||{},to=(e,t)=>(eo(e).byId||{})[t],no=e=>{const t=eo(e).overviews||{};if(!t.data)return{account:null,currencies:[]};const{deposit:n,balance:r,account:o}=t.data,a={lastPaid:n.last_paid,pending:r.pending,available:r.available,instant:r.instant},i={};for(const[e,t]of Object.entries(a))t?.forEach((t=>{const{currency:n}=t;i[n]||(i[n]={currency:n,lastPaid:void 0,pending:void 0,available:void 0,instant:void 0}),i[n][e]=t}));const s=Object.values(i);return{account:o,currencies:[...s.filter((e=>o.default_currency===e.currency)),...s.filter((e=>o.default_currency!==e.currency))]}},ro=e=>(eo(e).overviews||{}).error,oo=(e,t)=>{const n=Jr(t);return(eo(e).queries||{})[n]||{}},ao=(e,t)=>(oo(e,t).data||[]).map(to.bind(void 0,e)),io=e=>eo(e).count,so=(e,t)=>oo(e,t).error||{},co=(e,t)=>{const n=Jr(t);return(eo(e).summary||{})[n]||{}},lo=(e,t)=>co(e,t).data||{},uo=(e,t)=>co(e,t).error||{},po=e=>(eo(e).instant||{}).data,mo=window.wp.domReady;var ho=n.n(mo);const fo=e=>"undefined"!=typeof wcpayConfig?wcpayConfig[e]:yo(e),yo=e=>{let t=null;if("undefined"!=typeof wcpay_upe_config)t=wcpay_upe_config;else{if("object"!=typeof wc||void 0===wc.wcSettings)return null;t=wc.wcSettings.getSetting("woocommerce_payments_data")||{}}return t[e]||null},go=e=>"object"==typeof wcpayExpressCheckoutParams&&wcpayExpressCheckoutParams.hasOwnProperty(e)?wcpayExpressCheckoutParams[e]:"object"==typeof wcpayPaymentRequestParams&&wcpayPaymentRequestParams.hasOwnProperty(e)?wcpayPaymentRequestParams[e]:null,vo=()=>"undefined"==typeof wcpaySettings?4:parseInt(window?.wcpaySettings?.defaultExpressCheckoutBorderRadius||4,10),_o=(e,t,n="wcpay_")=>e.toString().replace("%%endpoint%%",n+t);const bo=(e,t={})=>{var n;if(window.wcpaySettings){Object.assign(t,{is_test_mode:wcpaySettings.testMode,jetpack_connected:wcpaySettings.isJetpackConnected,wcpay_version:wcpaySettings.version,woo_country_code:wcpaySettings.connect.country,hosting_provider:null===(n=wcpaySettings.trackingInfo)||void 0===n?void 0:n.hosting_provider});for(const e in t)void 0===t[e]&&delete t[e]}ho()((()=>{var n,r;(null!==(r=null===(n=null===wc||void 0===wc?void 0:wc.tracks)||void 0===n?void 0:n.recordEvent)&&void 0!==r?r:wcTracks.recordEvent)(e,t)}))},$o=(e,t={})=>{var n,r,o;const a=null!==(n=fo("platformTrackerNonce"))&&void 0!==n?n:null===(r=go("nonce"))||void 0===r?void 0:r.platform_tracker,i=null!==(o=fo("ajaxUrl"))&&void 0!==o?o:go("ajax_url"),s=new FormData;s.append("tracksNonce",a),s.append("action","platform_tracks"),s.append("tracksEventName",e),s.append("tracksEventProp",JSON.stringify(t)),fetch(i,{method:"post",body:s}).then((e=>e.json()))},wo=()=>{return e=void 0,t=void 0,r=function*(){var e,t,n;let r=(()=>{const e=document.cookie.split(";");for(let t=0;t<e.length;t++){let n=e[t];for(;" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf("tk_ai="))return n.substring(6,n.length)}})();if(r){const e={_ut:"anon",_ui:r};return JSON.stringify(e)}const o=null!==(e=fo("platformTrackerNonce"))&&void 0!==e?e:null===(t=go("nonce"))||void 0===t?void 0:t.platform_tracker,a=null!==(n=fo("ajaxUrl"))&&void 0!==n?n:go("ajax_url"),i=new FormData;i.append("tracksNonce",o),i.append("action","get_identity");try{const e=yield fetch(a,{method:"post",body:i});if(!e.ok)return;const t=yield e.json();return t.success&&t.data&&t.data._ui&&t.data._ut?JSON.stringify(t.data):void 0}catch(e){return}},new((n=void 0)||(n=Promise))((function(o,a){function i(e){try{d(r.next(e))}catch(e){a(e)}}function s(e){try{d(r.throw(e))}catch(e){a(e)}}function d(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}d((r=r.apply(e,t||[])).next())}));var e,t,n,r},So=(0,U.createContext)({accountFees:{},accountLoans:{},accountStatus:{},featureFlags:{isAuthAndCaptureEnabled:!1,isDisputeIssuerEvidenceEnabled:!1,woopay:!1}}),Eo=((0,U.createContext)({isActive:!1,setActive:()=>null,isCompleted:!1,setCompleted:()=>null,taskId:""}),(e,t)=>(0,Q.sprintf)((0,Q._n)("%1$s requires the %2$s currency. In order to enable the payment method, you must add this currency to your store.","%1$s requires the %2$s currencies. In order to enable the payment method, you must add these currencies to your store.",t.length,"woocommerce-payments"),e,(e=>{if(1===e.length)return e[0];if(2===e.length)return(0,Q.sprintf)((0,Q.__)("%s and %s","woocommerce-payments"),e[0],e[1]);const t=e.pop();return(0,Q.sprintf)((0,Q.__)("%s, and %s","woocommerce-payments"),e.join(", "),t)})(t))),xo=window.wc.currency;var Co=n.n(xo);(0,Q.__)("Australian dollar","woocommerce-payments"),(0,Q.__)("Canadian dollar","woocommerce-payments"),(0,Q.__)("Swiss franc","woocommerce-payments"),(0,Q.__)("Danish krone","woocommerce-payments"),(0,Q.__)("Euro","woocommerce-payments"),(0,Q.__)("Pound sterling","woocommerce-payments"),(0,Q.__)("Norwegian krone","woocommerce-payments"),(0,Q.__)("New Zealand dollar","woocommerce-payments"),(0,Q.__)("Swedish krona","woocommerce-payments"),(0,Q.__)("United States (US) dollar","woocommerce-payments");const ko=(e,t="USD",n=null,r=!1)=>{const o=(e=>wcpaySettings.zeroDecimalCurrencies.includes(e.toLowerCase()))(t);o||(e/=100);const a=e<0,i=a?-1*e:e,s=a?"-":"",d=r?(e=>{const t=e.toUpperCase(),{currencyData:n,connect:{country:r="US"}}=wcpaySettings;if(n[r]?.code===t)return Co()(n[r]);const o=(0,J.find)(n,{code:t});if(o){const{defaultLocale:e={}}=o;return e.hasOwnProperty("decimalSeparator")&&e.hasOwnProperty("thousandSeparator")&&e.hasOwnProperty("symbolPosition")&&(o.decimalSeparator=e.decimalSeparator,o.thousandSeparator=e.thousandSeparator,o.symbolPosition=e.symbolPosition),Co()(o)}return null})(t):((e,t=null)=>{const{currencyData:n,connect:{country:r="US"}}=wcpaySettings,o=(0,J.find)(n,{code:e.toUpperCase()});if(o){if(null!==t&&t.toUpperCase()!==e.toUpperCase()||n[r]){const e=t?(0,J.find)(n,{code:t.toUpperCase()}):n[r];e&&(o.decimalSeparator=e.decimalSeparator,o.thousandSeparator=e.thousandSeparator,o.symbolPosition=e.symbolPosition)}return Co()(o)}return null})(t,n);if(null===d)return s+To(i,t,o);try{return s+("function"==typeof d.formatAmount?Ao(d.formatAmount(i)):Ao(d.formatCurrency(i)))}catch(e){return s+Ao(To(i,t,o))}};function To(e,t,n){try{return e.toLocaleString(void 0,{style:"currency",currency:t,currencyDisplay:"narrowSymbol",dummy:n})}catch(r){return(0,Q.sprintf)(n?"%s %i":"%s %.2f",t.toUpperCase(),e)}}function Ao(e){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}const Po=window.wp.url,Ro=window.moment;var Oo=n.n(Ro);const Io=window.wp.date,No=(window.wc.number,e=>(0,Po.addQueryArgs)("admin.php",e)),Mo=e=>No({page:"wc-settings",tab:"checkout",section:"woocommerce_payments",method:e}),Lo=(e,t=!1)=>{const n=t?Oo()(e).endOf("day").utc().toISOString():Oo()(e).startOf("day").utc().toISOString();return e&&(0,Io.dateI18n)("Y-m-d H:i:s",n,!0)};function Do(e){return{type:Xr.SET_DEPOSIT,data:e}}function jo(e){return{type:Xr.SET_ALL_DEPOSITS_OVERVIEWS,data:e}}function Fo(e,t){return{type:Xr.SET_ERROR_FOR_ALL_DEPOSITS_OVERVIEWS,error:t}}function Bo(e,t){return{type:Xr.SET_DEPOSITS,query:e,data:t}}function Uo(e){return{type:Xr.SET_DEPOSITS_COUNT,data:e}}function Vo(e,t,n){return{type:Xr.SET_ERROR_FOR_DEPOSIT_QUERY,query:e,data:t,error:n}}function zo(e,t){return{type:Xr.SET_DEPOSITS_SUMMARY,query:e,data:t}}function Ho(e,t,n){return{type:Xr.SET_ERROR_FOR_DEPOSITS_SUMMARY,query:e,data:t,error:n}}function Wo(e){return{type:Xr.SET_INSTANT_DEPOSIT,data:e}}function*qo(e){try{yield(0,Gr.dispatch)(Zr).startResolution("getInstantDeposit",[e]);const t=yield(0,Yr.apiFetch)({path:"/wc/v3/payments/deposits",method:"POST",data:{type:"instant",currency:e}});yield Wo(t),yield(0,Gr.dispatch)(Zr).invalidateResolutionForStoreSelector("getDeposits"),yield(0,Gr.dispatch)(Zr).invalidateResolutionForStoreSelector("getAllDepositsOverviews"),yield(0,Gr.dispatch)("core/notices").createSuccessNotice((0,Q.sprintf)((0,Q.__)("Instant payout for %s in transit.","woocommerce-payments"),ko(t.amount)),{actions:[{label:(0,Q.__)("View details","woocommerce-payments"),url:No({page:"wc-admin",path:"/payments/payouts/details",id:t.id})}]})}catch{yield(0,Gr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error creating instant payout.","woocommerce-payments"))}finally{yield(0,Gr.dispatch)(Zr).finishResolution("getInstantDeposit",[e])}}function*Go(e){if(/\W/.test(e))return;const t=(0,Po.addQueryArgs)(`${Kr}/deposits/${e}`);try{const e=yield(0,Yr.apiFetch)({path:t});yield Do(e)}catch(e){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving payout.","woocommerce-payments"))}}function*Yo(){const e=(0,Po.addQueryArgs)(`${Kr}/deposits/overview-all`);try{const t=yield(0,Yr.apiFetch)({path:e});yield jo(t)}catch(e){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving all payouts' overviews.","woocommerce-payments")),yield Fo()}}const Ko=e=>({user_email:e.userEmail,match:e.match,store_currency_is:e.storeCurrencyIs,date_before:Lo(e.dateBefore,!0),date_after:Lo(e.dateAfter),date_between:e.dateBetween&&[Lo(e.dateBetween[0]),Lo(e.dateBetween[1],!0)],status_is:e.statusIs,status_is_not:e.statusIsNot,locale:e.locale});function Zo(e){return(0,Po.addQueryArgs)(`${Kr}/deposits/download`,Ko(e))}function*Xo(e){const t=(0,Po.addQueryArgs)(`${Kr}/deposits`,{page:e.paged,pagesize:e.perPage,sort:e.orderby,direction:e.order,...Ko(e)});try{const n=yield(0,Yr.apiFetch)({path:t})||{};yield Bo(e,n.data),yield Uo(n.total_count);for(const e in n.data)yield Gr.controls.dispatch(Zr,"finishResolution","getDeposit",[n.data[e].id])}catch(t){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving payouts.","woocommerce-payments")),yield Vo(e,null,t)}}function*Jo(e){const t=(0,Po.addQueryArgs)(`${Kr}/deposits/summary`,Ko(e));try{const n=yield(0,Yr.apiFetch)({path:t});yield zo(e,n)}catch(t){yield Ho(e,null,t)}}const Qo={SET_TRANSACTIONS:"SET_TRANSACTIONS",SET_ERROR_FOR_TRANSACTIONS:"SET_ERROR_FOR_TRANSACTIONS",SET_TRANSACTIONS_SUMMARY:"SET_TRANSACTIONS_SUMMARY",SET_ERROR_FOR_TRANSACTIONS_SUMMARY:"SET_ERROR_FOR_TRANSACTIONS_SUMMARY",SET_FRAUD_OUTCOME_TRANSACTIONS:"SET_FRAUD_OUTCOME_TRANSACTIONS",SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS:"SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS",SET_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY:"SET_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY",SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY:"SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY"},ea={summary:{},fraudProtection:{review:{summary:{}},block:{summary:{}}}},ta=e=>e&&e.transactions||{},na=(e,t)=>{const n=Jr(t);return ta(e)[n]||{}},ra=(e,t)=>na(e,t).data||[],oa=(e,t)=>na(e,t).error||{},aa=(e,t)=>{const n=Jr(t);return ta(e).summary[n]||{}},ia=(e,t)=>aa(e,t).data||{},sa=(e,t)=>aa(e,t).error||{},da=(e,t,n)=>{const r=Jr(n);return ta(e).fraudProtection?.[t]?.[r]||{}},ca=(e,t,n)=>da(e,t,n).data||[],la=(e,t,n)=>da(e,t,n).error||{},ua=(e,t,n)=>{const r=Jr(n);return ta(e).fraudProtection?.[t]?.summary[r]||{}},pa=(e,t,n)=>ua(e,t,n).data||{},ma=(e,t,n)=>ua(e,t,n).error||{};function ha(e,t){return{type:Qo.SET_TRANSACTIONS,query:e,data:t}}function fa(e,t,n){return{type:Qo.SET_ERROR_FOR_TRANSACTIONS,query:e,data:t,error:n}}function ya(e,t){return{type:Qo.SET_TRANSACTIONS_SUMMARY,query:e,data:t}}function ga(e,t,n){return{type:Qo.SET_ERROR_FOR_TRANSACTIONS_SUMMARY,query:e,data:t,error:n}}function va(e,t,n){return{type:Qo.SET_FRAUD_OUTCOME_TRANSACTIONS,status:e,query:t,data:n}}function _a(e,t,n){return{type:Qo.SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS,status:e,query:t,data:null,error:n}}function ba(e,t,n){return{type:Qo.SET_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY,status:e,query:t,data:n}}function $a(e,t,n){return{type:Qo.SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY,status:e,query:t,data:null,error:n}}const wa=e=>({user_email:e.userEmail,match:e.match,date_before:Lo(e.dateBefore,!0),date_after:Lo(e.dateAfter),date_between:e.dateBetween&&[Lo(e.dateBetween[0]),Lo(e.dateBetween[1],!0)],type_is:e.typeIs,type_is_not:e.typeIsNot,type_is_in:e.typeIsIn,source_device_is:e.sourceDeviceIs,source_device_is_not:e.sourceDeviceIsNot,channel_is:e.channelIs,channel_is_not:e.channelIsNot,customer_country_is:e.customerCountryIs,customer_country_is_not:e.customerCountryIsNot,risk_level_is:e.riskLevelIs,risk_level_is_not:e.riskLevelIsNot,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:Oo()(new Date).format("Z"),locale:e.locale});function*Sa(e){const t=(0,Po.addQueryArgs)(`${Kr}/transactions`,{page:e.paged,pagesize:e.perPage,sort:e.orderby,direction:e.order,...wa(e)});try{const n=yield(0,Yr.apiFetch)({path:t});yield ha(e,n.data||[])}catch(t){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving transactions.","woocommerce-payments")),yield fa(e,null,t)}}function Ea(e){return(0,Po.addQueryArgs)(`${Kr}/transactions/download`,wa(e))}function*xa(e){const t=(0,Po.addQueryArgs)(`${Kr}/transactions/summary`,wa(e));try{const n=yield(0,Yr.apiFetch)({path:t});yield ya(e,n)}catch(t){yield ga(e,null,t)}}function*Ca(e,t){const n=(0,Po.addQueryArgs)(`${Kr}/transactions/fraud-outcomes`,{status:e,page:t.paged,sort:t.orderby,pagesize:t.perPage,direction:t.order,additional_status:t.additionalStatus,...wa(t)});try{const r=yield(0,Yr.apiFetch)({path:n});yield va(e,t,r.data||[])}catch(n){if("wcpay_fraud_outcome_not_found"===n.code)return void(yield va(e,t,[]));yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving transactions.","woocommerce-payments")),yield _a(e,t,n)}}function*ka(e,t){const n=(0,Po.addQueryArgs)(`${Kr}/transactions/fraud-outcomes/summary`,{status:e,additional_status:t.additionalStatus}),r={count:0,total:0};try{const o=yield(0,Yr.apiFetch)({path:n});yield ba(e,t,o||r)}catch(n){if("wcpay_fraud_outcome_not_found"===n.code)return void(yield ba(e,t,r));yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving on review transactions.","woocommerce-payments")),yield $a(e,t,n)}}function Ta(e,t){return(0,Po.addQueryArgs)(`${Kr}/transactions/fraud-outcomes/download`,{status:e,sort:t.orderby,direction:t.order,additional_status:t.additionalStatus,...wa(t)})}const Aa={SET_CHARGE:"SET_CHARGE",SET_ERROR_FOR_CHARGE:"SET_ERROR_FOR_CHARGE"},Pa=(e,t)=>e.charges[t]&&e.charges[t].data?e.charges[t].data:{},Ra=(e,t)=>e.charges[t]&&e.charges[t].error?e.charges[t].error:{},Oa=(e,t)=>Pa(e,t),Ia=(e,t)=>Ra(e,t);function Na(e,t){return{type:Aa.SET_CHARGE,id:e,data:t}}function Ma(e,t,n){return{type:Aa.SET_ERROR_FOR_CHARGE,id:e,data:t,error:n}}function*La(e){try{const t=yield(0,Yr.apiFetch)({path:`${Kr}/charges/${e}`});yield Na(e,t)}catch(t){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving transaction.","woocommerce-payments")),yield Ma(e,null,t)}}function*Da(e){try{const t=yield(0,Yr.apiFetch)({path:`${Kr}/charges/order/${e}`});yield Na(e,t)}catch(t){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving transaction.","woocommerce-payments")),yield Ma(e,null,t)}}const ja={SET_TIMELINE:"SET_TIMELINE",SET_ERROR_FOR_TIMELINE:"SET_ERROR_FOR_TIMELINE"},Fa=(e,t)=>e.timeline&&e.timeline[t]&&e.timeline[t].data?e.timeline[t].data:{},Ba=(e,t)=>e.timeline&&e.timeline[t]&&e.timeline[t].error?e.timeline[t].error:{};function Ua(e,t){return{id:e,type:ja.SET_TIMELINE,data:t}}function Va(e,t){return{id:e,type:ja.SET_ERROR_FOR_TIMELINE,error:t}}function*za(e){try{const t=yield(0,Yr.apiFetch)({path:`${Kr}/timeline/${e}`});yield Ua(e,t.data)}catch(t){yield Va(e,t)}}const Ha={SET_DISPUTE:"SET_DISPUTE",SET_ERROR_FOR_DISPUTE:"SET_ERROR_FOR_DISPUTE",SET_DISPUTES:"SET_DISPUTES",SET_DISPUTES_SUMMARY:"SET_DISPUTES_SUMMARY"},Wa={byId:{},queries:{},summary:{},cached:{}},qa=e=>e&&e.disputes||{},Ga=(e,t)=>(qa(e).byId||{})[t],Ya=(e,t)=>{const n=qa(e).byId||{};return n[t]?.error},Ka=(e,t)=>(qa(e).cached||{})[t],Za=(e,t)=>{const n=((e,t)=>{const n=Jr(t);return(qa(e).queries||{})[n]||{}})(e,t).data||[];return n.map(Ka.bind(void 0,e))},Xa=(e,t)=>((e,t)=>{const n=Jr(t);return(qa(e).summary||{})[n]||{}})(e,t).data||{};var Ja;!function(e){e.SET_PAYMENT_INTENT="SET_PAYMENT_INTENT",e.SET_ERROR_FOR_PAYMENT_INTENT="SET_ERROR_FOR_PAYMENT_INTENT"}(Ja||(Ja={}));const Qa=Ja;function ei(e,t){return{type:Qa.SET_PAYMENT_INTENT,id:e,data:t}}function ti(e,t){return{type:Qa.SET_ERROR_FOR_PAYMENT_INTENT,id:e,error:t}}function*ni(e,t){var n;const r=e.payment_intent;try{yield(0,Yr.apiFetch)({path:"/wc/v3/payments/refund/",method:"post",data:{charge_id:e.id,amount:e.amount,reason:t,order_id:null===(n=null==e?void 0:e.order)||void 0===n?void 0:n.number}}),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getTimeline"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getPaymentIntent"),yield Gr.controls.dispatch("core/notices","createSuccessNotice",(0,Q.sprintf)((0,Q.__)("Refunded payment #%s.","woocommerce-payments"),r))}catch(e){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.sprintf)((0,Q.__)("There has been an error refunding the payment #%s. Please try again later.","woocommerce-payments"),r))}}function*ri(e){try{const t=yield(0,Yr.apiFetch)({path:`${Kr}/payment_intents/${e}`});yield ei(e,t)}catch(t){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving transaction.","woocommerce-payments")),yield ti(e,t)}}function oi(e){return{type:Ha.SET_DISPUTE,data:e}}function ai(e,t,n){return{type:Ha.SET_ERROR_FOR_DISPUTE,id:e,data:t,error:n}}function ii(e,t){return{type:Ha.SET_DISPUTES,query:e,data:t}}function si(e,t){return{type:Ha.SET_DISPUTES_SUMMARY,query:e,data:t}}function*di(e){const{id:t,payment_intent:n}=e;try{yield Gr.controls.dispatch(Zr,"startResolution","getDispute",[t]);const e=yield(0,Yr.apiFetch)({path:`${Kr}/disputes/${t}/close`,method:"post"});yield oi(e),yield ri(n),yield Gr.controls.dispatch(Zr,"finishResolution","getDispute",[t]);const r=e.order?(0,Q.sprintf)((0,Q.__)("You have accepted the dispute for order #%s.","woocommerce-payments"),e.order.number):(0,Q.__)("You have accepted the dispute.","woocommerce-payments");yield Gr.controls.dispatch("core/notices","createSuccessNotice",r)}catch(e){const n=(0,Q.__)("There has been an error accepting the dispute. Please try again later.","woocommerce-payments");yield Gr.controls.dispatch("core/notices","createErrorNotice",n),yield Gr.controls.dispatch(Zr,"finishResolution","getDispute",[t])}}const ci=window.wc.wcSettings,li=((0,Q.__)("Bank cannot process","woocommerce-payments"),(0,Q.__)("Check returned","woocommerce-payments"),(0,Q.__)("Credit not processed","woocommerce-payments"),(0,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("The cardholder claims a credit was not processed.","woocommerce-payments"),(0,Q.__)("Customer initiated","woocommerce-payments"),(0,Q.__)("Debit not authorized","woocommerce-payments"),(0,Q.__)("Duplicate","woocommerce-payments"),(0,Q.__)("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,Q.__)("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,Q.__)("The customer claims they were charged multiple times for the same product or service.","woocommerce-payments"),(0,Q.__)("Demonstrate that each payment was for a separate product or service.","woocommerce-payments"),(0,Q.__)("Determine if your customer was incorrectly charged multiple times.","woocommerce-payments"),(0,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("The cardholder claims this is a duplicate transaction.","woocommerce-payments"),(0,Q.__)("Transaction unauthorized","woocommerce-payments"),(0,Q.__)("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,Q.__)("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 unauthorized transactions with you, the business.","woocommerce-payments"),(0,Q.__)("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 an unauthorized transaction. 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,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("The cardholder claims this is an unauthorized transaction.","woocommerce-payments"),(0,Q.__)("General","woocommerce-payments"),(0,Q.__)("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,Q.__)("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,Q.__)("Incorrect account details","woocommerce-payments"),(0,Q.__)("Insufficient funds","woocommerce-payments"),(0,Q.__)("Product not received","woocommerce-payments"),(0,Q.__)("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,Q.__)("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,Q.__)("The customer claims they did not receive the products or services purchased.","woocommerce-payments"),(0,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("The cardholder claims the product was not received.","woocommerce-payments"),(0,Q.__)("Product unacceptable","woocommerce-payments"),(0,Q.__)("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,Q.__)("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,Q.__)("The product or service was received but was defective, damaged, or not as described.","woocommerce-payments"),(0,Q.__)("Demonstrate that the product or service was delivered as described at the time of purchase.","woocommerce-payments"),(0,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("The cardholder claims the product was unacceptable.","woocommerce-payments"),(0,Q.__)("Subscription canceled","woocommerce-payments"),(0,Q.__)("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,Q.__)("If you can not prove the customer’s subscription was canceled, and or they did not follow your cancellation 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,Q.__)("The customer claims that you continued to charge them after a subscription was canceled.","woocommerce-payments"),(0,Q.__)("Prove that the subscription was still active and that the customer was aware of, and did not follow, your cancellation procedure.","woocommerce-payments"),(0,Q.__)("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,Q.__)("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,Q.__)("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,Q.__)("The cardholder claims a subscription was canceled.","woocommerce-payments"),(0,Q.__)("Unrecognized","woocommerce-payments"),(0,Q.__)("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,Q.__)("If you can not prove the customer’s subscription was canceled, and or they did not follow your cancellation 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,Q.__)("The customer doesn’t recognize the payment appearing on their card statement.","woocommerce-payments"),(0,Q.__)("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,Q.__)("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,Q.__)("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"),{warning_needs_response:(0,Q.__)("Inquiry: Needs response","woocommerce-payments"),warning_under_review:(0,Q.__)("Inquiry: Under review","woocommerce-payments"),warning_closed:(0,Q.__)("Inquiry: Closed","woocommerce-payments"),needs_response:(0,Q.__)("Needs response","woocommerce-payments"),under_review:(0,Q.__)("Under review","woocommerce-payments"),charge_refunded:(0,Q.__)("Charge refunded","woocommerce-payments"),won:(0,Q.__)("Won","woocommerce-payments"),lost:(0,Q.__)("Lost","woocommerce-payments")}),ui=(Object.entries(li).map((([e,t])=>({label:t,value:e}))).filter((function(e){return null!=e})),["needs_response","warning_needs_response"]),pi=((0,Q.__)("Dispute currency","woocommerce-payments"),(0,Q.__)("All currencies","woocommerce-payments"),(0,Q.__)("Show","woocommerce-payments"),(0,Q.__)("Needs response","woocommerce-payments"),(0,Q.__)("All disputes","woocommerce-payments"),(0,Q.__)("Advanced filters","woocommerce-payments"),(0,ci.getSetting)("wcVersion")),mi=parseFloat(pi),hi=(mi<7.8?(0,Q.__)("Disputes match {{select /}} filters","woocommerce-payments"):(0,Q.__)("Disputes match <select /> filters","woocommerce-payments"),(0,Q.__)("Disputed on date","woocommerce-payments"),(0,Q.__)("Remove dispute date filter","woocommerce-payments"),(0,Q.__)("Select a dispute date filter match","woocommerce-payments"),mi<7.8?(0,Q.__)("{{title}}Date{{/title}} {{rule /}} {{filter /}}","woocommerce-payments"):(0,Q.__)("<title>Date</title> <rule /> <filter />","woocommerce-payments"),(0,Q.__)("Select a dispute date","woocommerce-payments"),(0,Q.__)("Before","woocommerce-payments"),(0,Q.__)("After","woocommerce-payments"),(0,Q.__)("Between","woocommerce-payments"),(0,Q.__)("Status","woocommerce-payments"),(0,Q.__)("Remove dispute status filter","woocommerce-payments"),(0,Q.__)("Select a dispute status filter match","woocommerce-payments"),mi<7.8?(0,Q.__)("{{title}}Status{{/title}} {{rule /}} {{filter /}}","woocommerce-payments"):(0,Q.__)("<title>Status</title> <rule /> <filter />","woocommerce-payments"),(0,Q.__)("Select a dispute status","woocommerce-payments"),(0,Q._x)("Is","dispute status","woocommerce-payments"),(0,Q._x)("Is not","dispute status","woocommerce-payments"),e=>({user_email:e.userEmail,match:e.match,store_currency_is:e.storeCurrencyIs,date_before:Lo(e.dateBefore,!0),date_after:Lo(e.dateAfter),date_between:e.dateBetween&&[Lo(e.dateBetween[0]),Lo(e.dateBetween[1],!0)],search:"awaiting_response"===e.filter?ui:e.search,status_is:e.statusIs,status_is_not:e.statusIsNot,locale:e.locale}));function fi(e){return(0,Po.addQueryArgs)(`${Kr}/disputes/download`,hi(e))}function*yi(e){const t=(0,Po.addQueryArgs)(`${Kr}/disputes/${e}`);try{const e=yield(0,Yr.apiFetch)({path:t});yield oi(e)}catch(t){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving dispute.","woocommerce-payments")),yield ai(e,void 0,t)}}function*gi(e){const t=(0,Po.addQueryArgs)(`${Kr}/disputes`,{page:e.paged,pagesize:e.perPage,sort:(0,J.snakeCase)(e.orderBy),direction:e.order,...hi(e)});try{const n=yield(0,Yr.apiFetch)({path:t})||{};yield ii(e,n.data)}catch(e){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving disputes.","woocommerce-payments"))}}function*vi(e){const t=(0,Po.addQueryArgs)(`${Kr}/disputes/summary`,{page:e.paged,pagesize:e.perPage,...hi(e)});try{const n=yield(0,Yr.apiFetch)({path:t});yield si(e,n)}catch(e){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving the summary of disputes.","woocommerce-payments"))}}const _i={SET_SETTINGS:"SET_SETTINGS",SET_SETTINGS_VALUES:"SET_SETTINGS_VALUES",SET_IS_SAVING_SETTINGS:"SET_IS_SAVING_SETTINGS",SET_SELECTED_PAYMENT_METHOD:"SET_SELECTED_PAYMENT_METHOD",SET_UNSELECTED_PAYMENT_METHOD:"SET_UNSELECTED_PAYMENT_METHOD"},bi={isDirty:!1,isSaving:!1,savingError:null,data:{}},$i="basic",wi="advanced",Si="standard",Ei="high",xi={},Ci=[],ki=e=>e&&e.settings||xi,Ti=e=>ki(e).data||xi,Ai=e=>Ti(e).account_business_support_address||xi,Pi=e=>Ti(e).duplicated_payment_method_ids||xi,Ri=e=>Ti(e).is_wcpay_enabled||!1,Oi=e=>Ti(e).enabled_payment_method_ids||Ci,Ii=e=>Ti(e).available_payment_method_ids||Ci,Ni=e=>Ti(e).payment_method_statuses||Ci,Mi=e=>ki(e).isSaving||!1,Li=e=>ki(e).isDirty||!1,Di=e=>Ti(e).account_statement_descriptor||"",ji=e=>Ti(e).account_statement_descriptor_kanji||"",Fi=e=>Ti(e).account_statement_descriptor_kana||"",Bi=e=>Ti(e).account_business_name||"",Ui=e=>Ti(e).account_business_url||"",Vi=e=>Ti(e).account_business_support_address||"",zi=e=>Ai(e).country||"",Hi=e=>Ai(e).line1||"",Wi=e=>Ai(e).line2||"",qi=e=>Ai(e).city||"",Gi=e=>Ai(e).state||"",Yi=e=>Ai(e).postal_code||"",Ki=e=>Ti(e).account_business_support_email||"",Zi=e=>Ti(e).account_business_support_phone||"",Xi=e=>Ti(e).account_branding_logo||"",Ji=e=>Ti(e).account_domestic_currency||"",Qi=e=>Ti(e).deposit_schedule_interval||"",es=e=>Ti(e).reporting_export_language||"",ts=e=>Ti(e).deposit_schedule_weekly_anchor||"",ns=e=>Ti(e).deposit_schedule_monthly_anchor||"",rs=e=>Ti(e).deposit_delay_days||"7",os=e=>Ti(e).deposit_completed_waiting_period||!1,as=e=>Ti(e).deposit_status||"",is=e=>Ti(e).deposit_restrictions||"",ss=e=>Ti(e).is_manual_capture_enabled||!1,ds=e=>Ti(e).is_test_mode_enabled||!1,cs=e=>Ti(e).is_test_mode_onboarding||!1,ls=e=>Ti(e).is_dev_mode_enabled||!1,us=e=>Ti(e).is_payment_request_enabled||!1,ps=e=>Ti(e).is_debug_log_enabled||!1,ms=e=>Ti(e).is_multi_currency_enabled||!1,hs=e=>Ti(e).payment_request_enabled_locations||Ci,fs=e=>Ti(e).payment_request_button_type||"",ys=e=>Ti(e).payment_request_button_size||"",gs=e=>Ti(e).payment_request_button_theme||"",vs=e=>{const t=Ti(e)?.payment_request_button_border_radius;return 0===t||"0"===t||t?t:vo()},_s=e=>Ti(e).is_saved_cards_enabled||!1,bs=e=>ki(e).savingError,$s=e=>Ti(e).is_card_present_eligible||!1,ws=e=>Ti(e).is_wcpay_subscriptions_enabled||!1,Ss=e=>Ti(e).is_wcpay_subscriptions_eligible||!1,Es=e=>Ti(e).is_subscriptions_plugin_active||!1,xs=e=>Ti(e).is_woopay_enabled||!1,Cs=e=>Ti(e).is_woopay_global_theme_support_enabled||!1,ks=e=>Ti(e).woopay_custom_message||"",Ts=e=>Ti(e).woopay_store_logo||"",As=e=>Ti(e).woopay_enabled_locations||Ci,Ps=e=>Ti(e).current_protection_level||$i,Rs=e=>Ti(e).advanced_fraud_protection_settings||Ci,Os=e=>Ti(e).show_woopay_incompatibility_notice||!1,Is=e=>Ti(e).is_stripe_billing_enabled||!1,Ns=e=>Ti(e).is_migrating_stripe_billing||!1,Ms=e=>Ti(e).stripe_billing_subscription_count||0,Ls=e=>Ti(e).stripe_billing_migrated_count||0;function Ds(e){return{type:_i.SET_SETTINGS_VALUES,payload:e}}function js(e){return Ds({is_saved_cards_enabled:e})}function Fs(e){return Ds({is_card_present_eligible:e})}function Bs(e){return Ds({payment_request_button_type:e})}function Us(e){return Ds({payment_request_button_size:e})}function Vs(e){return Ds({payment_request_button_theme:e})}function zs(e){return Ds({payment_request_button_border_radius:e})}function Hs(e){return{type:_i.SET_SETTINGS,data:e}}function Ws(e){return Ds({is_wcpay_enabled:e})}function qs(e){return Ds({is_payment_request_enabled:e})}function Gs(e){return Ds({enabled_payment_method_ids:[...e]})}function Ys(e){return Ds({available_payment_method_ids:[...e]})}function Ks(e,t){return{type:_i.SET_IS_SAVING_SETTINGS,isSaving:e,error:t}}function Zs(e){return{type:_i.SET_SELECTED_PAYMENT_METHOD,id:e}}function Xs(e){return{type:_i.SET_UNSELECTED_PAYMENT_METHOD,id:e}}function Js(e){return Ds({is_manual_capture_enabled:e})}function Qs(e){return Ds({is_test_mode_enabled:e})}function ed(e){return Ds({is_debug_log_enabled:e})}function td(e){return Ds({is_multi_currency_enabled:e})}function nd(e){return Ds({is_wcpay_subscriptions_enabled:e})}function rd(e){return Ds({account_statement_descriptor:e})}function od(e){return Ds({account_statement_descriptor_kanji:e})}function ad(e){return Ds({account_statement_descriptor_kana:e})}function id(e){return Ds({account_business_name:e})}function sd(e){return Ds({account_business_url:e})}function dd(e){return Ds({account_business_support_address:e})}function cd(e){return Ds({account_business_support_email:e})}function ld(e){return Ds({account_business_support_phone:e})}function ud(e){return Ds({account_branding_logo:e})}function pd(e){return Ds({deposit_schedule_interval:e})}function md(e){return Ds({deposit_schedule_weekly_anchor:e})}function hd(e){return Ds({deposit_schedule_monthly_anchor:""===e?null:parseInt(e,10)})}function fd(e){return Ds({reporting_export_language:e})}function*yd(){let e=null;try{const e=(0,Gr.select)(Zr).getSettings();yield Ks(!0,null);const t=yield(0,Yr.apiFetch)({path:`${Kr}/settings`,method:"post",data:e});yield Ds({payment_method_statuses:t.data.payment_method_statuses}),yield(0,Gr.dispatch)("core/notices").createSuccessNotice((0,Q.__)("Settings saved.","woocommerce-payments"))}catch(t){e=t,yield(0,Gr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error saving settings.","woocommerce-payments")),e.server_error&&(yield(0,Gr.dispatch)("core/notices").createErrorNotice(e.server_error))}finally{yield Ks(!1,e)}return null===e}function gd(e){return Ds({payment_request_enabled_locations:[...e]})}function vd(e){return Ds({is_woopay_enabled:e})}function _d(e){return Ds({is_woopay_global_theme_support_enabled:e})}function bd(e){return Ds({woopay_custom_message:e})}function $d(e){return Ds({woopay_store_logo:e})}function wd(e){return Ds({woopay_enabled_locations:[...e]})}function Sd(e){return Ds({current_protection_level:e})}function Ed(e){return Ds({advanced_fraud_protection_settings:e})}function xd(e){return Ds({is_stripe_billing_enabled:e})}function*Cd(){try{yield(0,Gr.dispatch)(Zr).startResolution("scheduleStripeBillingMigration"),yield(0,Yr.apiFetch)({path:`${Kr}/settings/schedule-stripe-billing-migration`,method:"post"})}catch(e){yield(0,Gr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error starting the Stripe Billing migration.","woocommerce-payments"))}yield(0,Gr.dispatch)(Zr).finishResolution("scheduleStripeBillingMigration")}function*kd(){const e=`${Kr}/settings`;try{const t=yield(0,Yr.apiFetch)({path:e});yield Hs(t)}catch(e){yield(0,Gr.dispatch)("core/notices").createErrorNotice((0,Q.__)("Error retrieving settings.","woocommerce-payments"))}}const Td=()=>{const{updateEnabledPaymentMethodIds:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getEnabledPaymentMethodIds())),e]},Ad=()=>(0,Gr.useSelect)((e=>e(Zr).getIsTestModeOnboarding()),[]),Pd=()=>{const{updateIsManualCaptureEnabled:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsManualCaptureEnabled())),e]},Rd=()=>(0,Gr.useSelect)((e=>e(Zr).getAvailablePaymentMethodIds())),Od=()=>(0,Gr.useSelect)((e=>e(Zr).getPaymentMethodStatuses())),Id=()=>{const{saveSettings:e}=(0,Gr.useDispatch)(Zr),t=(0,Gr.useSelect)((e=>e(Zr).isSavingSettings())),n=(0,Gr.useSelect)((e=>e(Zr).isDirty()));return{isLoading:(0,Gr.useSelect)((e=>{e(Zr).getSettings();const t=e(Zr).isResolving("getSettings"),n=e(Zr).hasFinishedResolution("getSettings");return t||!n})),saveSettings:e,isSaving:t,isDirty:n}},Nd=()=>{const{updateIsPaymentRequestEnabled:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsPaymentRequestEnabled())),e]},Md=()=>{const{updatePaymentRequestButtonType:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getPaymentRequestButtonType())),e]},Ld=()=>{const{updatePaymentRequestButtonSize:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getPaymentRequestButtonSize())),e]},Dd=()=>{const{updatePaymentRequestButtonTheme:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getPaymentRequestButtonTheme())),e]},jd=()=>{const{updatePaymentRequestButtonBorderRadius:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getPaymentRequestButtonBorderRadius())),e]},Fd=()=>(0,Gr.useSelect)((e=>e(Zr).getSavingError()),[]),Bd=()=>{const{updateIsWooPayEnabled:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsWooPayEnabled())),e]},Ud=()=>(0,Gr.useSelect)((e=>e(Zr).getShowWooPayIncompatibilityNotice())),Vd={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"},zd=(e,t)=>e.readers[t]&&e.readers[t].data?e.readers[t].data:{},Hd=(e,t)=>e.readers[t]&&e.readers[t].error?e.readers[t].error:{},Wd=e=>e.readers&&e.readers.list?e.readers.list:{};function qd(e,t){return{type:Vd.SET_CARD_READER_STATS,id:e,data:t}}function Gd(e,t){return{type:Vd.SET_READERS,query:e,data:t}}function Yd(e,t,n){return{type:Vd.SET_CARD_ERROR_FOR_READER_STATS,id:e,data:t,error:n}}function Kd(e,t){return{type:Vd.SET_CARD_ERROR_FOR_READERS,data:e,error:t}}function*Zd(e,t){try{const n=yield(0,Yr.apiFetch)({path:`${Kr}/readers/charges/${t}`});yield qd(e,n)}catch(t){yield Yd(e,null,t)}}function*Xd(e){const t=(0,Po.addQueryArgs)(`${Kr}/readers`,{limit:e.limit});try{const n=yield(0,Yr.apiFetch)({path:t})||{};yield Gd(e,n)}catch(e){yield Kd(null,e)}}var Jd;!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"}(Jd||(Jd={}));const Qd=Jd,ec={},tc=e=>e&&e.capital||{},nc=e=>tc(e).summary,rc=e=>tc(e).summaryError,oc=e=>tc(e).loans||[],ac=e=>tc(e).loansError;function ic(e){return{type:Qd.SET_ACTIVE_LOAN_SUMMARY,data:e}}function sc(e){return{type:Qd.SET_ERROR_FOR_ACTIVE_LOAN_SUMMARY,error:e}}function dc(e){return{type:Qd.SET_LOANS,data:e.data}}function cc(e){return{type:Qd.SET_ERROR_FOR_LOANS,error:e}}function*lc(){const e=`${Kr}/capital/active_loan_summary`;try{const t=yield(0,Yr.apiFetch)({path:e});yield ic(t)}catch(e){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving the active loan summary.","woocommerce-payments")),yield sc(e)}}function*uc(){const e=`${Kr}/capital/loans`;try{const t=yield(0,Yr.apiFetch)({path:e});yield dc(t)}catch(e){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving the active loan summary.","woocommerce-payments")),yield cc(e)}}const pc={SET_DOCUMENTS:"SET_DOCUMENTS",SET_ERROR_FOR_DOCUMENTS:"SET_ERROR_FOR_DOCUMENTS",SET_DOCUMENTS_SUMMARY:"SET_DOCUMENTS_SUMMARY",SET_ERROR_FOR_DOCUMENTS_SUMMARY:"SET_ERROR_FOR_DOCUMENTS_SUMMARY"},mc={summary:{}},hc=e=>e&&e.documents||{},fc=(e,t)=>{const n=Jr(t);return hc(e)[n]||{}},yc=(e,t)=>fc(e,t).data||[],gc=(e,t)=>fc(e,t).error||{},vc=(e,t)=>{const n=Jr(t);return hc(e).summary[n]||{}},_c=(e,t)=>vc(e,t).data||{},bc=(e,t)=>vc(e,t).error||{};function $c(e,t){return{type:pc.SET_DOCUMENTS,query:e,data:t}}function Sc(e,t,n){return{type:pc.SET_ERROR_FOR_DOCUMENTS,query:e,data:t,error:n}}function Ec(e,t){return{type:pc.SET_DOCUMENTS_SUMMARY,query:e,data:t}}function xc(e,t,n){return{type:pc.SET_ERROR_FOR_DOCUMENTS_SUMMARY,query:e,data:t,error:n}}const Cc=e=>({user_email:e.userEmail,match:e.match,date_before:Lo(e.dateBefore,!0),date_after:Lo(e.dateAfter),date_between:e.dateBetween&&[Lo(e.dateBetween[0]),Lo(e.dateBetween[1],!0)],type_is:e.typeIs,type_is_not:e.typeIsNot});function*kc(e){const t=(0,Po.addQueryArgs)(`${Kr}/documents`,{page:e.paged,pagesize:e.perPage,sort:e.orderby,direction:e.order,...Cc(e)});try{const n=yield(0,Yr.apiFetch)({path:t});yield $c(e,n.data||[])}catch(t){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving documents.","woocommerce-payments")),yield Sc(e,null,t)}}function*Tc(e){const t=(0,Po.addQueryArgs)(`${Kr}/documents/summary`,Cc(e));try{const n=yield(0,Yr.apiFetch)({path:t});yield Ec(e,n)}catch(t){yield xc(e,null,t)}}const Ac={},Pc=({paymentIntents:e},t)=>{const n=null==e?void 0:e[t];return(null==n?void 0:n.data)||{}},Rc=({paymentIntents:e},t)=>{const n=null==e?void 0:e[t];return(null==n?void 0:n.error)||{}},Oc={SET_AUTHORIZATIONS:"SET_AUTHORIZATIONS",SET_AUTHORIZATION:"SET_AUTHORIZATION",SET_ERROR_FOR_AUTHORIZATIONS:"SET_ERROR_FOR_AUTHORIZATIONS",SET_AUTHORIZATIONS_SUMMARY:"SET_AUTHORIZATIONS_SUMMARY",SET_ERROR_FOR_AUTHORIZATIONS_SUMMARY:"SET_ERROR_FOR_AUTHORIZATIONS_SUMMARY",SET_IS_REQUESTING_AUTHORIZATION:"SET_IS_REQUESTING_AUTHORIZATION"},Ic={summary:{},byId:{},isRequesting:!1},Nc=e=>e&&e.authorizations||{},Mc=(e,t)=>{const n=Jr(t);return Nc(e)[n]||{}},Lc=(e,t)=>Mc(e,t).data||[],Dc=(e,t)=>(Nc(e).byId||{})[t],jc=(e,t)=>Mc(e,t).error||{},Fc=(e,t)=>{const n=Jr(t);return Nc(e).summary[n]||{}},Bc=(e,t)=>Fc(e,t).data||{},Uc=(e,t)=>Fc(e,t).error||{},Vc=e=>Nc(e).isRequesting,zc=e=>{var t,n;return null!==(n={wcpay_missing_order:(0,Q.__)("The order could not be found.","woocommerce-payments"),wcpay_refunded_order_uncapturable:(0,Q.__)("Payment cannot be processed for partially or fully refunded orders.","woocommerce-payments"),wcpay_intent_order_mismatch:(0,Q.__)("The payment cannot be processed due to a mismatch with order details.","woocommerce-payments"),wcpay_payment_uncapturable:(0,Q.__)("This payment cannot be processed in its current state.","woocommerce-payments"),wcpay_capture_error:(0,Q.__)("The payment capture failed to complete.","woocommerce-payments"),wcpay_cancel_error:(0,Q.__)("The payment cancellation failed to complete.","woocommerce-payments"),wcpay_server_error:(0,Q.__)("An unexpected error occurred. Please try again later.","woocommerce-payments")}[null!==(t=e.code)&&void 0!==t?t:""])&&void 0!==n?n:(0,Q.__)("Unable to process the payment. Please try again later.","woocommerce-payments")};function Hc(e,t){return{type:Oc.SET_AUTHORIZATIONS,data:t,query:e}}function Wc(e,t){return{type:Oc.SET_ERROR_FOR_AUTHORIZATIONS,query:e,error:t}}function qc(e){return{type:Oc.SET_AUTHORIZATION,data:e}}function Gc(e,t){return{type:Oc.SET_AUTHORIZATIONS_SUMMARY,data:t,query:e}}function Yc(e){return{type:Oc.SET_IS_REQUESTING_AUTHORIZATION,data:e}}function*Kc(e,t){try{yield Gr.controls.dispatch(Zr,"startResolution","getAuthorization",[e]),yield Gr.controls.dispatch(Zr,"setIsRequestingAuthorization",!0);const n=yield(0,Yr.apiFetch)({path:`/wc/v3/payments/orders/${t}/capture_authorization`,method:"post",data:{payment_intent_id:e}}),r={payment_intent_id:n.id,captured:"succeeded"===n.status};yield qc(r),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getAuthorizations"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getAuthorizationsSummary"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getFraudOutcomeTransactions"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getFraudOutcomeTransactionsSummary"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getTimeline"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getPaymentIntent"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getTransactions"),yield Gr.controls.dispatch("core/notices","createSuccessNotice",(0,Q.sprintf)((0,Q.__)("Payment for order #%s captured successfully.","woocommerce-payments"),t))}catch(e){const n=(0,Q.sprintf)((0,Q.__)("There has been an error capturing the payment for order #%s.","woocommerce-payments"),t),r=zc(e);yield Gr.controls.dispatch("core/notices","createErrorNotice",`${n} ${r}`)}finally{yield Gr.controls.dispatch(Zr,"finishResolution","getAuthorization",[e]),yield Gr.controls.dispatch(Zr,"setIsRequestingAuthorization",!1)}}function*Zc(e,t){try{yield Gr.controls.dispatch(Zr,"startResolution","getAuthorization",[e]),yield Gr.controls.dispatch(Zr,"setIsRequestingAuthorization",!0);const n=yield(0,Yr.apiFetch)({path:`/wc/v3/payments/orders/${t}/cancel_authorization`,method:"post",data:{payment_intent_id:e}}),r={payment_intent_id:n.id,captured:"succeeded"===n.status};yield qc(r),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getAuthorizations"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getAuthorizationsSummary"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getFraudOutcomeTransactions"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getFraudOutcomeTransactionsSummary"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getTimeline"),yield Gr.controls.dispatch(Zr,"invalidateResolutionForStoreSelector","getPaymentIntent"),yield Gr.controls.dispatch("core/notices","createSuccessNotice",(0,Q.sprintf)((0,Q.__)("Payment for order #%s canceled successfully.","woocommerce-payments"),t))}catch(e){const n=(0,Q.sprintf)((0,Q.__)("There has been an error canceling the payment for order #%s.","woocommerce-payments"),t),r=zc(e);yield Gr.controls.dispatch("core/notices","createErrorNotice",`${n} ${r}`)}finally{yield Gr.controls.dispatch(Zr,"finishResolution","getAuthorization",[e]),yield Gr.controls.dispatch(Zr,"setIsRequestingAuthorization",!1)}}function Xc(e,t){return{type:Oc.SET_ERROR_FOR_AUTHORIZATIONS_SUMMARY,query:e,error:t}}function*Jc(e){var t;let{paged:n=1,per_page:r=25,orderby:o="created",order:a="asc"}=e;"capture_by"===o&&(o="created");const i=(0,Po.addQueryArgs)(`${Kr}/authorizations`,{page:n,pagesize:r,sort:o,direction:a});try{const n=yield(0,Yr.apiFetch)({path:i});yield Hc(e,null!==(t=n.data)&&void 0!==t?t:[])}catch(t){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving uncaptured transactions.","woocommerce-payments")),yield Wc(e,t)}}function*Qc(e){try{if(e){const t=yield(0,Yr.apiFetch)({path:`${Kr}/authorizations/${e}`}),{is_captured:n,payment_intent_id:r,created:o}=t;yield qc({payment_intent_id:r,captured:n,created:o})}}catch(e){"authorization_missing"!==e.code&&(yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving authorization.","woocommerce-payments")))}}function*el(e){const t=(0,Po.addQueryArgs)(`${Kr}/authorizations/summary`,{pagesize:e.per_page,sort:e.orderby,direction:e.order,page:e.paged});try{const n=yield(0,Yr.apiFetch)({path:t});yield Gc(e,null!=n?n:[])}catch(t){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving uncaptured transactions.","woocommerce-payments")),yield Xc(e,t)}}var tl;!function(e){e.SET_FILE="SET_FILE",e.SET_ERROR_FOR_FILES="SET_ERROR_FOR_FILES"}(tl||(tl={}));const nl=tl,rl={},ol=({files:e},t)=>{const n=null==e?void 0:e[t];return(null==n?void 0:n.data)||{}},al=({files:e},t)=>{const n=null==e?void 0:e[t];return(null==n?void 0:n.error)||{}};function il(e,t){return{type:nl.SET_FILE,id:e,data:t}}function sl(e,t){return{type:nl.SET_ERROR_FOR_FILES,id:e,error:t}}function*dl(e){try{const t=yield(0,Yr.apiFetch)({path:`${Kr}/file/${e}/details`});yield il(e,t)}catch(t){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving file.","woocommerce-payments")),yield sl(e,t)}}const cl={SET_PAYMENT_ACTIVITY_DATA:"SET_PAYMENT_ACTIVITY_DATA"},ll=(e,t)=>{var n;const r=Jr(t);return null===(n=null==e?void 0:e.paymentActivity)||void 0===n?void 0:n[r]};function ul(e,t){return{type:cl.SET_PAYMENT_ACTIVITY_DATA,query:t,data:e}}function*pl(e){const t=(0,Po.addQueryArgs)(`${Kr}/reporting/payment_activity`,e);try{const n=yield(0,Yr.apiFetch)({path:t});yield ul(n,e)}catch(e){yield Gr.controls.dispatch("core/notices","createErrorNotice",(0,Q.__)("Error retrieving payment activity data.","woocommerce-payments"))}}(0,Gr.registerStore)(Zr,{reducer:(0,Gr.combineReducers)({deposits:(e=Qr,{type:t,query:n={},data:r=[],error:o})=>{const a=Jr(n);switch(t){case Xr.SET_DEPOSIT:return{...e,byId:{...e.byId,[r.id]:r}};case Xr.SET_ALL_DEPOSITS_OVERVIEWS:return{...e,overviews:{...e.overviews,data:r}};case Xr.SET_ERROR_FOR_ALL_DEPOSITS_OVERVIEWS:return{...e,overviews:{...e.overviews,error:o}};case Xr.SET_DEPOSITS:return{...e,byId:{...e.byId,...(0,J.keyBy)(r,"id")},queries:{...e.queries,[a]:{data:(0,J.map)(r,"id")}}};case Xr.SET_DEPOSITS_COUNT:return{...e,count:r};case Xr.SET_ERROR_FOR_DEPOSIT_QUERY:return{...e,queries:{...e.queries,[a]:{error:o}}};case Xr.SET_DEPOSITS_SUMMARY:return{...e,summary:{...e.summary,[a]:{data:r}}};case Xr.SET_ERROR_FOR_DEPOSITS_SUMMARY:return{...e,summary:{...e.summary,[a]:{error:o}}};case Xr.SET_INSTANT_DEPOSIT:return{...e,instant:{...e.instant,data:r}}}return e},transactions:(e=ea,{type:t,query:n={},data:r=[],error:o,status:a})=>{const i=Jr(n);switch(t){case Qo.SET_TRANSACTIONS:return{...e,[i]:{data:r}};case Qo.SET_ERROR_FOR_TRANSACTIONS:return{...e,[i]:{error:o}};case Qo.SET_TRANSACTIONS_SUMMARY:return{...e,summary:{...e.summary,[i]:{data:r}}};case Qo.SET_ERROR_FOR_TRANSACTIONS_SUMMARY:return{...e,summary:{...e.summary,[i]:{error:o}}};case Qo.SET_FRAUD_OUTCOME_TRANSACTIONS:return{...e,fraudProtection:{...e.fraudProtection,[a]:{...e.fraudProtection?.[a]||{},[i]:{data:r}}}};case Qo.SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS:return{...e,fraudProtection:{...e.fraudProtection,[a]:{...e.fraudProtection?.[a]||{},[i]:{error:o}}}};case Qo.SET_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY:return{...e,fraudProtection:{...e.fraudProtection,[a]:{...e.fraudProtection?.[a]||{},summary:{...e.fraudProtection?.[a]?.summary||{},[i]:{data:r}}}}};case Qo.SET_ERROR_FOR_FRAUD_OUTCOME_TRANSACTIONS_SUMMARY:return{...e,fraudProtection:{...e.fraudProtection,[a]:{...e.fraudProtection?.[a]||{},summary:{...e.fraudProtection?.[a]?.summary||{},[i]:{error:o}}}}}}return e},charges:(e={},{type:t,id:n,data:r,error:o})=>{switch(t){case Aa.SET_CHARGE:e={...e,[n]:{...e[n],data:r}};break;case Aa.SET_ERROR_FOR_CHARGE:e={...e,[n]:{...e[n],error:o}}}return e},timeline:(e={},{type:t,id:n,data:r,error:o})=>{switch(t){case ja.SET_TIMELINE:e={...e,[n]:{data:r}};break;case ja.SET_ERROR_FOR_TIMELINE:e={...e,[n]:{...e[n],error:o}}}return e},disputes:(e=Wa,{type:t,query:n={},data:r=[],id:o,error:a})=>{const i=Jr(n);switch(t){case Ha.SET_DISPUTE:return{...e,byId:{...e.byId,[r.id]:r}};case Ha.SET_ERROR_FOR_DISPUTE:e={...e,byId:{...e.byId,[o]:{error:a}}};break;case Ha.SET_DISPUTES:return{...e,cached:{...e.cached,...(0,J.keyBy)(r,"dispute_id")},queries:{...e.queries,[i]:{data:(0,J.map)(r,"dispute_id")}}};case Ha.SET_DISPUTES_SUMMARY:return{...e,summary:{...e.summary,[i]:{data:r}}}}return e},settings:(e=bi,{type:t,...n})=>{switch(t){case _i.SET_SETTINGS:return{...e,data:n.data,isDirty:!1};case _i.SET_SETTINGS_VALUES:return{...e,savingError:null,isDirty:!0,data:{...e.data,...n.payload}};case _i.SET_IS_SAVING_SETTINGS:return{...e,isDirty:!(!n.isSaving&&!n.error)&&e.isDirty,isSaving:n.isSaving,savingError:n.error};case _i.SET_SELECTED_PAYMENT_METHOD:return{...e,isDirty:!0,data:{...e.data,enabled_payment_method_ids:e.data.enabled_payment_method_ids.concat(n.id)}};case _i.SET_UNSELECTED_PAYMENT_METHOD:return{...e,isDirty:!0,data:{...e.data,enabled_payment_method_ids:e.data.enabled_payment_method_ids.filter((e=>e!==n.id))}}}return e},readers:(e={},{type:t,id:n,data:r,error:o})=>{switch(t){case Vd.SET_CARD_READER_STATS:e={...e,[n]:{...e[n],data:r}};break;case Vd.SET_ERROR_FOR_CARD_READER_STATS:e={...e,[n]:{...e[n],error:o}};break;case Vd.SET_READERS:e={...e,list:r}}return e},capital:(e=ec,t)=>{switch(t.type){case Qd.SET_ACTIVE_LOAN_SUMMARY:return Object.assign(Object.assign({},e),{summary:t.data,summaryError:void 0});case Qd.SET_ERROR_FOR_ACTIVE_LOAN_SUMMARY:return Object.assign(Object.assign({},e),{summary:void 0,summaryError:t.error});case Qd.SET_LOANS:return Object.assign(Object.assign({},e),{loans:t.data,loansError:void 0});case Qd.SET_ERROR_FOR_LOANS:return Object.assign(Object.assign({},e),{loans:void 0,loansError:t.error})}return e},documents:(e=mc,{type:t,query:n={},data:r=[],error:o})=>{const a=Jr(n);switch(t){case pc.SET_DOCUMENTS:return{...e,[a]:{data:r}};case pc.SET_ERROR_FOR_DOCUMENTS:return{...e,[a]:{error:o}};case pc.SET_DOCUMENTS_SUMMARY:return{...e,summary:{...e.summary,[a]:{data:r}}};case pc.SET_ERROR_FOR_DOCUMENTS_SUMMARY:return{...e,summary:{...e.summary,[a]:{error:o}}}}return e},paymentIntents:(e=Ac,t)=>{const{type:n,id:r}=t;switch(n){case Qa.SET_PAYMENT_INTENT:return Object.assign(Object.assign({},e),{[r]:Object.assign(Object.assign({},e[r]),{data:t.data})});case Qa.SET_ERROR_FOR_PAYMENT_INTENT:return Object.assign(Object.assign({},e),{[r]:Object.assign(Object.assign({},e[r]),{error:t.error})});default:return e}},authorizations:(e=Ic,t)=>{switch(t.type){case Oc.SET_AUTHORIZATION:{const{data:n}=t;return Object.assign(Object.assign({},e),{byId:Object.assign(Object.assign({},e.byId),{[n.payment_intent_id]:Object.assign(Object.assign({},e.byId[n.payment_intent_id]),n)})})}case Oc.SET_AUTHORIZATIONS:{const{data:n,query:r}=t;return Object.assign(Object.assign({},e),{[Jr(r)]:{data:n}})}case Oc.SET_ERROR_FOR_AUTHORIZATIONS:{const{error:n,query:r}=t;return Object.assign(Object.assign({},e),{[Jr(r)]:{error:n}})}case Oc.SET_AUTHORIZATIONS_SUMMARY:{const{data:n,query:r}=t;return Object.assign(Object.assign({},e),{summary:Object.assign(Object.assign({},e.summary),{[Jr(r)]:{data:n||{}}})})}case Oc.SET_ERROR_FOR_AUTHORIZATIONS_SUMMARY:{const{query:n,error:r}=t;return Object.assign(Object.assign({},e),{summary:Object.assign(Object.assign({},e.summary),{[Jr(n)]:{error:r||""}})})}case Oc.SET_IS_REQUESTING_AUTHORIZATION:{const{data:n}=t;return Object.assign(Object.assign({},e),{isRequesting:n})}}return e},files:(e=rl,t)=>{const{type:n,id:r}=t;switch(n){case nl.SET_FILE:return Object.assign(Object.assign({},e),{[r]:Object.assign(Object.assign({},e[r]),{data:t.data})});case nl.SET_ERROR_FOR_FILES:return Object.assign(Object.assign({},e),{[r]:Object.assign(Object.assign({},e[r]),{error:t.error})});default:return e}},paymentActivity:(e={},{type:t,query:n,data:r})=>{if(!n)return e;const o=Jr(n);return t===cl.SET_PAYMENT_ACTIVITY_DATA&&(e=Object.assign(Object.assign({},e),{[o]:r})),e}}),actions:{...t,...a,...d,...u,...y,..._,...w,...x,...T,...h,...O,...M,...j},controls:Yr.controls,selectors:{...e,...o,...s,...l,...m,...v,...$,...E,...k,...P,...R,...N,...D},resolvers:{...r,...i,...c,...p,...g,...b,...S,...C,...A,...f,...I,...L,...F}});var ml=n(4848);const hl=()=>{const e=(0,Gr.useSelect)((e=>e(Zr).getIsDevModeEnabled()),[]),[t,n]=(()=>{const{updateIsDebugLogEnabled:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsDebugLogEnabled())),e]})();return(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h4",{tabIndex:"-1",children:(0,Q.__)("Debug mode","woocommerce-payments")}),(0,ml.jsx)(qr,{label:e?(0,Q.__)("Sandbox mode is active so logging is on by default.","woocommerce-payments"):(0,Q.__)("Log error messages","woocommerce-payments"),help:(0,Q.__)("When enabled, payment error logs will be saved to WooCommerce > Status > Logs.","woocommerce-payments"),disabled:e,checked:e||t,onChange:n})]})};function fl(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function yl(e,t){let n,r,o=[];for(let a=0;a<e.length;a++){const i=e[a];if("string"!==i.type){if(void 0===t[i.value])throw new Error(`Invalid interpolation, missing component node: \`${i.value}\``);if("object"!=typeof t[i.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${i.value}\``);if("componentClose"===i.type)throw new Error(`Missing opening component token: \`${i.value}\``);if("componentOpen"===i.type){n=t[i.value],r=a;break}o.push(t[i.value])}else o.push(i.value)}if(n){const a=function(e,t){const n=t[e];let r=0;for(let o=e+1;o<t.length;o++){const e=t[o];if(e.value===n.value){if("componentOpen"===e.type){r++;continue}if("componentClose"===e.type){if(0===r)return o;r--}}}throw new Error("Missing closing component token `"+n.value+"`")}(r,e),i=yl(e.slice(r+1,a),t),s=(0,U.cloneElement)(n,{},i);if(o.push(s),a<e.length-1){const n=yl(e.slice(a+1),t);o=o.concat(n)}}return o=o.filter(Boolean),0===o.length?null:1===o.length?o[0]:(0,U.createElement)(U.Fragment,null,...o)}function gl(e){const{mixedString:t,components:n,throwErrors:r}=e;if(!n)return t;if("object"!=typeof n){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const o=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(fl)}(t);try{return yl(o,n)}catch(e){if(r)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}const vl=()=>{const[e,t]=(()=>{const{updateIsMultiCurrencyEnabled:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsMultiCurrencyEnabled())),e]})(),n=(0,K.useRef)(null);return(0,K.useEffect)((()=>{n.current&&n.current.focus()}),[]),(0,ml.jsx)(qr,{label:(0,Q.__)("Enable Multi-Currency","woocommerce-payments"),help:gl({mixedString:(0,Q.__)("Allow customers to shop and pay in multiple currencies. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),components:{learnMoreLink:(0,ml.jsx)(rn,{href:"https://woocommerce.com/document/woopayments/currencies/multi-currency-setup/"})}}),checked:e,onChange:e=>{t(e)},"data-testid":"multi-currency-toggle"})},_l=()=>{const[e,t,n]=(()=>{const{updateIsWCPaySubscriptionsEnabled:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsWCPaySubscriptionsEnabled())),(0,Gr.useSelect)((e=>e(Zr).getIsWCPaySubscriptionsEligible())),e]})(),r=(0,K.useRef)(null);return(0,K.useEffect)((()=>{r.current&&r.current.focus()}),[]),!wcpaySettings.isSubscriptionsActive&&t?(0,ml.jsx)(qr,{label:(0,Q.sprintf)((0,Q.__)("Enable Subscriptions with %s","woocommerce-payments"),"WooPayments"),help:gl({mixedString:(0,Q.sprintf)((0,Q.__)("Sell subscription products and services with %s. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),"WooPayments"),components:{learnMoreLink:(0,ml.jsx)(rn,{href:"https://woocommerce.com/document/woopayments/subscriptions/"})}}),checked:e,onChange:e=>{n(e)}}):null},bl=an("@media only screen and ( min-device-width: 40em ){&::-webkit-scrollbar{height:12px;width:12px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-track{background:",tr.colorScrollbarTrack,";border-radius:8px;}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",tr.colorScrollbarThumb,";border:2px solid rgba( 0, 0, 0, 0 );border-radius:7px;}&:hover::-webkit-scrollbar-thumb{background-color:",tr.colorScrollbarThumbHover,";}}",""),$l={name:"13udsys",styles:"height:100%"},wl={name:"7zq9w",styles:"scroll-behavior:smooth"},Sl={name:"q33xhg",styles:"overflow-x:auto;overflow-y:hidden"},El={name:"103x71s",styles:"overflow-x:hidden;overflow-y:auto"},xl={name:"umwchj",styles:"overflow-y:auto"},Cl=Ut((function(e,t){const n=function(e){const{className:t,scrollDirection:n="y",smoothScroll:r=!1,...o}=Ft(e,"Scrollable"),a=Dt();return{...o,className:(0,K.useMemo)((()=>a($l,bl,r&&wl,"x"===n&&Sl,"y"===n&&El,"auto"===n&&xl,t)),[t,a,n,r])}}(e);return(0,K.createElement)(Qt,Y({},n,{ref:t}))}),"Scrollable"),kl=Ut((function(e,t){const{isScrollable:n,...r}=function(e){const{className:t,isScrollable:n=!1,isShady:r=!1,size:o="medium",...a}=Ft(e,"CardBody"),i=Dt();return{...a,className:(0,K.useMemo)((()=>i(lr,ur,gr[o],r&&vr,"components-card__body",t)),[t,i,r,o]),isScrollable:n}}(e);return n?(0,K.createElement)(Cl,Y({},r,{ref:t})):(0,K.createElement)(Qt,Y({},r,{ref:t}))}),"CardBody");const Tl=e=>{var{className:t}=e,n=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,["className"]);return V().createElement(kl,Object.assign({className:X()("wcpay-card-body",t)},n))},Al=(0,U.createContext)({isStripeBillingEnabled:!1,savedIsStripeBillingEnabled:!1,isMigrationOptionShown:!1,isMigrationInProgressShown:!1,isMigrationInProgress:!1,hasSavedSettings:!1,subscriptionCount:0,migratedCount:0,startMigration:()=>null,isResolvingMigrateRequest:!1,hasResolvedMigrateRequest:!1}),Pl=window.wp.dom,Rl=(0,K.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,K.createElement)(ee.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 Ol(e,t,n){const{defaultView:r}=t,{frameElement:o}=r;if(!o||t===n.ownerDocument)return e;const a=o.getBoundingClientRect();return new r.DOMRect(e.left+a.left,e.top+a.top,e.width,e.height)}let Il=0;function Nl(e){const t=document.scrollingElement||document.body;e&&(Il=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=Il)}let Ml=0;function Ll(){return(0,K.useEffect)((()=>(0===Ml&&Nl(!0),++Ml,()=>{1===Ml&&Nl(!1),--Ml})),[]),null}var Dl=n(5606);const jl=(0,K.createContext)({slots:{},fills:{},registerSlot:()=>{void 0!==Dl&&Dl.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}});function Fl(e){const t=(0,K.useContext)(jl),n=t.slots[e]||{},r=t.fills[e],o=(0,K.useMemo)((()=>r||[]),[r]);return{...n,updateSlot:(0,K.useCallback)((n=>{t.updateSlot(e,n)}),[e,t.updateSlot]),unregisterSlot:(0,K.useCallback)((n=>{t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:o,registerFill:(0,K.useCallback)((n=>{t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:(0,K.useCallback)((n=>{t.unregisterFill(e,n)}),[e,t.unregisterFill])}}const Bl=(0,K.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});function Ul(e){let{name:t,children:n,registerFill:r,unregisterFill:o}=e;const a=(e=>{const{getSlot:t,subscribe:n}=(0,K.useContext)(Bl),[r,o]=(0,K.useState)(t(e));return(0,K.useEffect)((()=>(o(t(e)),n((()=>{o(t(e))})))),[e]),r})(t),i=(0,K.useRef)({name:t,children:n});return(0,K.useLayoutEffect)((()=>(r(t,i.current),()=>o(t,i.current))),[]),(0,K.useLayoutEffect)((()=>{i.current.children=n,a&&a.forceUpdate()}),[n]),(0,K.useLayoutEffect)((()=>{t!==i.current.name&&(o(i.current.name,i.current),i.current.name=t,r(t,i.current))}),[t]),a&&a.node?((0,J.isFunction)(n)&&(n=n(a.props.fillProps)),(0,K.createPortal)(n,a.node)):null}const Vl=e=>(0,K.createElement)(Bl.Consumer,null,(t=>{let{registerFill:n,unregisterFill:r}=t;return(0,K.createElement)(Ul,Y({},e,{registerFill:n,unregisterFill:r}))}));class zl extends K.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;e(this.props.name,this)}componentWillUnmount(){const{unregisterSlot:e}=this.props;this.isUnmounted=!0,e(this.props.name,this)}componentDidUpdate(e){const{name:t,unregisterSlot:n,registerSlot:r}=this.props;e.name!==t&&(n(e.name),r(t,this))}bindNode(e){this.node=e}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){const{children:e,name:t,fillProps:n={},getFills:r}=this.props,o=(0,J.map)(r(t,this),(e=>{const t=(0,J.isFunction)(e.children)?e.children(n):e.children;return K.Children.map(t,((e,t)=>{if(!e||(0,J.isString)(e))return e;const n=e.key||t;return(0,K.cloneElement)(e,{key:n})}))})).filter((0,J.negate)(K.isEmptyElement));return(0,K.createElement)(K.Fragment,null,(0,J.isFunction)(e)?e(o):o)}}const Hl=e=>(0,K.createElement)(Bl.Consumer,null,(t=>{let{registerSlot:n,unregisterSlot:r,getFills:o}=t;return(0,K.createElement)(zl,Y({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}));var Wl,ql=new Uint8Array(16);function Gl(){if(!Wl&&!(Wl="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Wl(ql)}const Yl=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var Kl=[],Zl=0;Zl<256;++Zl)Kl.push((Zl+256).toString(16).substr(1));const Xl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(Kl[e[t+0]]+Kl[e[t+1]]+Kl[e[t+2]]+Kl[e[t+3]]+"-"+Kl[e[t+4]]+Kl[e[t+5]]+"-"+Kl[e[t+6]]+Kl[e[t+7]]+"-"+Kl[e[t+8]]+Kl[e[t+9]]+"-"+Kl[e[t+10]]+Kl[e[t+11]]+Kl[e[t+12]]+Kl[e[t+13]]+Kl[e[t+14]]+Kl[e[t+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&Yl.test(e)}(n))throw TypeError("Stringified UUID is invalid");return n},Jl=function(e,t,n){var r=(e=e||{}).random||(e.rng||Gl)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return Xl(r)},Ql=new Set,eu=ue()((e=>{let t=Jl().replace(/[0-9]/g,"");for(;Ql.has(t);)t=Jl().replace(/[0-9]/g,"");return Ql.add(t),mt({container:e,key:t})}));function tu(e){let{children:t,document:n}=e;if(!n)return null;const r=eu(n.head);return(0,K.createElement)(At,{value:r},t)}function nu(){const[,e]=(0,K.useState)({}),t=(0,K.useRef)(!0);return(0,K.useEffect)((()=>()=>{t.current=!1}),[]),()=>{t.current&&e({})}}function ru(e){let{name:t,children:n}=e;const r=Fl(t),o=(0,K.useRef)({rerender:nu()});if((0,K.useEffect)((()=>(r.registerFill(o),()=>{r.unregisterFill(o)})),[r.registerFill,r.unregisterFill]),!r.ref||!r.ref.current)return null;"function"==typeof n&&(n=n(r.fillProps));const a=(0,K.createElement)(tu,{document:r.ref.current.ownerDocument},n);return(0,K.createPortal)(a,r.ref.current)}const ou=(0,K.forwardRef)((function(e,t){let{name:n,fillProps:r={},as:o="div",...a}=e;const i=(0,K.useContext)(jl),s=(0,K.useRef)();return(0,K.useLayoutEffect)((()=>(i.registerSlot(n,s,r),()=>{i.unregisterSlot(n,s)})),[i.registerSlot,i.unregisterSlot,n]),(0,K.useLayoutEffect)((()=>{i.updateSlot(n,r)})),(0,K.createElement)(o,Y({ref:(0,Or.useMergeRefs)([t,s])},a))}));function au(e){return(0,K.createElement)(K.Fragment,null,(0,K.createElement)(Vl,e),(0,K.createElement)(ru,e))}const iu=(0,K.forwardRef)(((e,t)=>{let{bubblesVirtually:n,...r}=e;return n?(0,K.createElement)(ou,Y({},r,{ref:t})):(0,K.createElement)(Hl,r)}));function su(e){return"appear"===e?"top":"left"}const du="Popover",cu=(0,K.createContext)();function lu(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:a}=function(e){return e.ownerDocument.defaultView.getComputedStyle(e)}(t),i=n?parseInt(n,10):0,s=r?parseInt(r,10):0,d=o?parseInt(o,10):0,c=a?parseInt(a,10):0;return{x:e.left+d,y:e.top+i,width:e.width-d-c,height:e.height-i-s,left:e.left+d,right:e.right-c,top:e.top+i,bottom:e.bottom-s}}function uu(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function pu(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function mu(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const hu=(0,K.forwardRef)(((e,t)=>{let{headerTitle:n,onClose:r,children:o,className:a,noArrow:i=!0,isAlternate:s,position:d="bottom right",range:c,focusOnMount:l="firstElement",anchorRef:u,shouldAnchorIncludePadding:p,anchorRect:m,getAnchorRect:h,expandOnMobile:f,animate:y=!0,onFocusOutside:g,__unstableStickyBoundaryElement:v,__unstableSlotName:_=du,__unstableObserveElement:b,__unstableBoundaryParent:$,__unstableForcePosition:w,__unstableForceXAlignment:S,__unstableEditorCanvasWrapper:E,...x}=e;const C=(0,K.useRef)(null),k=(0,K.useRef)(null),T=(0,K.useRef)(),A=(0,Or.useViewportMatch)("medium","<"),[P,R]=(0,K.useState)(),O=(0,K.useContext)(cu)||_,I=Fl(O),N=f&&A,[M,L]=(0,Or.useResizeObserver)();i=N||i,(0,K.useLayoutEffect)((()=>{if(N)return mu(T.current,"is-without-arrow",i),mu(T.current,"is-alternate",s),uu(T.current,"data-x-axis"),uu(T.current,"data-y-axis"),pu(T.current,"top"),pu(T.current,"left"),pu(k.current,"maxHeight"),void pu(k.current,"maxWidth");const e=()=>{if(!T.current||!k.current)return;let e=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return Ol(t,t.ownerDocument||e.current.ownerDocument,a)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==r?void 0:r.cloneRange))return Ol((0,Pl.getRectangleFromRange)(r),r.endContainer.ownerDocument,a);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=Ol(r.getBoundingClientRect(),r.ownerDocument,a);return o?e:lu(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),s=Ol(new window.DOMRect(n.left,n.top,n.width,i.bottom-n.top),e.ownerDocument,a);return o?s:lu(s,r)}if(!e.current)return;const{parentNode:i}=e.current,s=Ol(i.getBoundingClientRect(),i.ownerDocument,a);return o?s:lu(s,i)}(C,m,h,u,p,T.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=T.current;let r,o=0;if(t&&t!==n.body){const n=t.getBoundingClientRect();o=n.top,e=new window.DOMRect(e.left-n.left,e.top-n.top,e.width,e.height)}$&&(r=T.current.parentElement);const a=L.height?L:k.current.getBoundingClientRect(),{popoverTop:c,popoverLeft:l,xAxis:f,yAxis:y,contentHeight:g,contentWidth:_}=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,i=arguments.length>7?arguments[7]:void 0,s=arguments.length>8?arguments[8]:void 0,d=arguments.length>9?arguments[9]:void 0;const[c,l="center",u]=n.split(" "),p=function(e,t,n,r,o,a,i,s,d){const{height:c}=t;if(o){const t=o.getBoundingClientRect(),r=t.top+c-i,a=t.bottom-c-i;if(e.top<=r)return!d||c+10<d.scrollTop+e.top?{yAxis:n,popoverTop:Math.min(e.bottom,r)}:{yAxis:"bottom",popoverTop:Math.min(e.bottom,a)}}let l=e.top+e.height/2;"bottom"===r?l=e.bottom:"top"===r&&(l=e.top);const u={popoverTop:l,contentHeight:(l-c/2>0?c/2:l)+(l+c/2>window.innerHeight?window.innerHeight-l:c/2)},p={popoverTop:e.top,contentHeight:e.top-10-c>0?c:e.top-10},m={popoverTop:e.bottom,contentHeight:e.bottom+10+c>window.innerHeight?window.innerHeight-10-e.bottom:c};let h,f=n,y=null;if(!o&&!s)if("middle"===n&&u.contentHeight===c)f="middle";else if("top"===n&&p.contentHeight===c)f="top";else if("bottom"===n&&m.contentHeight===c)f="bottom";else{f=p.contentHeight>m.contentHeight?"top":"bottom";const e="top"===f?p.contentHeight:m.contentHeight;y=e!==c?e:null}return h="middle"===f?u.popoverTop:"top"===f?p.popoverTop:m.popoverTop,{yAxis:f,popoverTop:h,contentHeight:y}}(e,t,c,u,r,0,o,i,d),m=function(e,t,n,r,o,a,i,s,d){const{width:c}=t;"left"===n&&(0,Q.isRTL)()?n="right":"right"===n&&(0,Q.isRTL)()&&(n="left"),"left"===r&&(0,Q.isRTL)()?r="right":"right"===r&&(0,Q.isRTL)()&&(r="left");const l=Math.round(e.left+e.width/2),u={popoverLeft:l,contentWidth:(l-c/2>0?c/2:l)+(l+c/2>window.innerWidth?window.innerWidth-l:c/2)};let p=e.left;"right"===r?p=e.right:"middle"===a||d||(p=l);let m=e.right;"left"===r?m=e.left:"middle"===a||d||(m=l);const h={popoverLeft:p,contentWidth:p-c>0?c:p},f={popoverLeft:m,contentWidth:m+c>window.innerWidth?window.innerWidth-m:c};let y,g=n,v=null;if(!o&&!s)if("center"===n&&u.contentWidth===c)g="center";else if("left"===n&&h.contentWidth===c)g="left";else if("right"===n&&f.contentWidth===c)g="right";else{g=h.contentWidth>f.contentWidth?"left":"right";const e="left"===g?h.contentWidth:f.contentWidth;c>window.innerWidth&&(v=window.innerWidth),e!==c&&(g="center",u.popoverLeft=window.innerWidth/2)}return y="center"===g?u.popoverLeft:"left"===g?h.popoverLeft:f.popoverLeft,i&&(y=Math.min(y,i.offsetLeft+i.offsetWidth-c),(0,Q.isRTL)()||(y=Math.max(y,0))),{xAxis:g,popoverLeft:y,contentWidth:v}}(e,t,l,u,r,p.yAxis,a,i,s);return{...m,...p}}(e,a,d,v,T.current,o,r,w,S,E);"number"==typeof c&&"number"==typeof l&&(pu(T.current,"top",c+"px"),pu(T.current,"left",l+"px")),mu(T.current,"is-without-arrow",i||"center"===f&&"middle"===y),mu(T.current,"is-alternate",s),uu(T.current,"data-x-axis",f),uu(T.current,"data-y-axis",y),pu(k.current,"maxHeight","number"==typeof g?g+"px":""),pu(k.current,"maxWidth","number"==typeof _?_+"px":""),R(({left:"right",right:"left"}[f]||"center")+" "+({top:"bottom",bottom:"top"}[y]||"middle"))};e();const{ownerDocument:t}=T.current,{defaultView:n}=t,r=n.setInterval(e,500);let o;const a=()=>{n.cancelAnimationFrame(o),o=n.requestAnimationFrame(e)};n.addEventListener("click",a),n.addEventListener("resize",e),n.addEventListener("scroll",e,!0);const c=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(u);let l;return c&&c!==t&&(c.defaultView.addEventListener("resize",e),c.defaultView.addEventListener("scroll",e,!0)),b&&(l=new n.MutationObserver(e),l.observe(b,{attributes:!0})),()=>{var i,s;n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",a),n.cancelAnimationFrame(o),c&&c!==t&&(null===(i=c.defaultView)||void 0===i||i.removeEventListener("resize",e),null===(s=c.defaultView)||void 0===s||s.removeEventListener("scroll",e,!0)),l&&l.disconnect()}}),[N,m,h,u,p,d,L,v,b,$]);const D=(e,t)=>{"focus-outside"===e&&g?g(t):r&&r()},[j,F]=(0,Or.__experimentalUseDialog)({focusOnMount:l,__unstableOnClose:D,onClose:D}),B=(0,Or.useMergeRefs)([T,j,t]),U=Boolean(y&&P)&&function(e){if("loading"===e.type)return X()("components-animate__loading");const{type:t,origin:n=su(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return X()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?X()("components-animate__slide-in","is-from-"+n):void 0}({type:"appear",origin:P});let V=(0,K.createElement)("div",Y({className:X()("components-popover",a,U,{"is-expanded":N,"is-without-arrow":i,"is-alternate":s})},x,{ref:B},F,{tabIndex:"-1"}),N&&(0,K.createElement)(Ll,null),N&&(0,K.createElement)("div",{className:"components-popover__header"},(0,K.createElement)("span",{className:"components-popover__header-title"},n),(0,K.createElement)(Cu,{className:"components-popover__close",icon:Rl,onClick:r})),(0,K.createElement)("div",{ref:k,className:"components-popover__content"},(0,K.createElement)("div",{style:{position:"relative"}},M,o)));return I.ref&&(V=(0,K.createElement)(au,{name:O},V)),u||m?V:(0,K.createElement)("span",{ref:C},V)}));hu.Slot=(0,K.forwardRef)((function(e,t){let{name:n=du}=e;return(0,K.createElement)(iu,{bubblesVirtually:!0,name:n,className:"popover-slot",ref:t})})),hu.__unstableSlotNameProvider=cu.Provider;const fu=hu,yu=function(e){let t,n,{shortcut:r,className:o}=e;return r?((0,J.isString)(r)&&(t=r),(0,J.isObject)(r)&&(t=r.display,n=r.ariaLabel),(0,K.createElement)("span",{className:o,"aria-label":n},t)):null},gu=700,vu=(0,K.createElement)("div",{className:"event-catcher"}),_u=e=>{let{eventHandlers:t,child:n,childrenWithPopover:r}=e;return(0,K.cloneElement)((0,K.createElement)("span",{className:"disabled-element-wrapper"},(0,K.cloneElement)(vu,t),(0,K.cloneElement)(n,{children:r})),t)},bu=e=>{let{child:t,eventHandlers:n,childrenWithPopover:r}=e;return(0,K.cloneElement)(t,{...n,children:r})},$u=(e,t,n)=>{if(1!==K.Children.count(e))return;const r=K.Children.only(e);r.props.disabled||"function"==typeof r.props[t]&&r.props[t](n)},wu=function(e){const{children:t,position:n,text:r,shortcut:o,delay:a=gu}=e,[i,s]=(0,K.useState)(!1),[d,c]=(0,K.useState)(!1),l=(0,Or.useDebounce)(c,a),u=e=>{$u(t,"onMouseDown",e),document.addEventListener("mouseup",h),s(!0)},p=e=>{$u(t,"onMouseUp",e),document.removeEventListener("mouseup",h),s(!1)},m=e=>"mouseUp"===e?p:"mouseDown"===e?u:void 0,h=m("mouseUp"),f=(e,n)=>r=>{if($u(t,e,r),r.currentTarget.disabled)return;if("focus"===r.type&&i)return;l.cancel();const o=(0,J.includes)(["focus","mouseenter"],r.type);o!==d&&(n?l(o):c(o))},y=()=>{l.cancel(),document.removeEventListener("mouseup",h)};if((0,K.useEffect)((()=>y),[]),1!==K.Children.count(t))return t;const g={onMouseEnter:f("onMouseEnter",!0),onMouseLeave:f("onMouseLeave"),onClick:f("onClick"),onFocus:f("onFocus"),onBlur:f("onBlur"),onMouseDown:m("mouseDown")},v=K.Children.only(t),{children:_,disabled:b}=v.props,$=b?_u:bu,w=(e=>{let{grandchildren:t,isOver:n,position:r,text:o,shortcut:a}=e;return(0,K.concatChildren)(t,n&&(0,K.createElement)(fu,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},o,(0,K.createElement)(yu,{className:"components-tooltip__shortcut",shortcut:a})))})({grandchildren:_,isOver:d,position:n,text:r,shortcut:o});return $({child:v,eventHandlers:g,childrenWithPopover:w})},Su=function(e){let{icon:t,className:n,...r}=e;const o=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" ");return(0,K.createElement)("span",Y({className:o},r))},Eu=function(e){let{icon:t=null,size:n=24,...r}=e;if("string"==typeof t)return(0,K.createElement)(Su,Y({icon:t},r));if((0,K.isValidElement)(t)&&Su===t.type)return(0,K.cloneElement)(t,{...r});if("function"==typeof t)return t.prototype instanceof K.Component?(0,K.createElement)(t,{size:n,...r}):t({size:n,...r});if(t&&("svg"===t.type||t.type===ee.SVG)){const e={width:n,height:n,...t.props,...r};return(0,K.createElement)(ee.SVG,e)}return(0,K.isValidElement)(t)?(0,K.cloneElement)(t,{size:n,...r}):t},xu=["onMouseDown","onClick"],Cu=(0,K.forwardRef)((function e(t,n){const{href:r,target:o,isSmall:a,isPressed:i,isBusy:s,isDestructive:d,className:c,disabled:l,icon:u,iconPosition:p="left",iconSize:m,showTooltip:h,tooltipPosition:f,shortcut:y,label:g,children:v,text:_,variant:b,__experimentalIsFocusable:$,describedBy:w,...S}=function(e){let{isDefault:t,isPrimary:n,isSecondary:r,isTertiary:o,isLink:a,variant:i,...s}=e,d=i;var c,l,u,p,m;return n&&(null!==(c=d)&&void 0!==c||(d="primary")),o&&(null!==(l=d)&&void 0!==l||(d="tertiary")),r&&(null!==(u=d)&&void 0!==u||(d="secondary")),t&&(br()("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"',version:"6.2"}),null!==(p=d)&&void 0!==p||(d="secondary")),a&&(null!==(m=d)&&void 0!==m||(d="link")),{...s,variant:d}}(t),E=(0,Or.useInstanceId)(e,"components-button__description"),x=X()("components-button",c,{"is-secondary":"secondary"===b,"is-primary":"primary"===b,"is-small":a,"is-tertiary":"tertiary"===b,"is-pressed":i,"is-busy":s,"is-link":"link"===b,"is-destructive":d,"has-text":!!u&&!!v,"has-icon":!!u}),C=l&&!$,k=void 0===r||C?"button":"a",T="a"===k?{href:r,target:o}:{type:"button",disabled:C,"aria-pressed":i};if(l&&$){T["aria-disabled"]=!0;for(const e of xu)S[e]=e=>{e.stopPropagation(),e.preventDefault()}}const A=!C&&(h&&g||y||!!g&&(!v||(0,J.isArray)(v)&&!v.length)&&!1!==h),P=w?E:null,R=S["aria-describedby"]||P,O=(0,K.createElement)(k,Y({},T,S,{className:x,"aria-label":S["aria-label"]||g,"aria-describedby":R,ref:n}),u&&"left"===p&&(0,K.createElement)(Eu,{icon:u,size:m}),_&&(0,K.createElement)(K.Fragment,null,_),u&&"right"===p&&(0,K.createElement)(Eu,{icon:u,size:m}),v);return A?(0,K.createElement)(K.Fragment,null,(0,K.createElement)(wu,{text:w||g,shortcut:y,position:f},O),w&&(0,K.createElement)(en,null,(0,K.createElement)("span",{id:P},w))):(0,K.createElement)(K.Fragment,null,O,w&&(0,K.createElement)(en,null,(0,K.createElement)("span",{id:P},w)))})),ku=window.wp.a11y;function Tu(e){switch(e){case"success":case"warning":case"info":return"polite";default:return"assertive"}}const Au=function(e){let{className:t,status:n="info",children:r,spokenMessage:o=r,onRemove:a=J.noop,isDismissible:i=!0,actions:s=[],politeness:d=Tu(n),__unstableHTML:c,onDismiss:l=J.noop}=e;!function(e,t){const n="string"==typeof e?e:(0,K.renderToString)(e);(0,K.useEffect)((()=>{n&&(0,ku.speak)(n,t)}),[n,t])}(o,d);const u=X()(t,"components-notice","is-"+n,{"is-dismissible":i});return c&&(r=(0,K.createElement)(K.RawHTML,null,r)),(0,K.createElement)("div",{className:u},(0,K.createElement)("div",{className:"components-notice__content"},r,(0,K.createElement)("div",{className:"components-notice__actions"},s.map(((e,t)=>{let{className:n,label:r,isPrimary:o,variant:a,noDefaultClasses:i=!1,onClick:s,url:d}=e,c=a;return"primary"===a||i||(c=d?"link":"secondary"),void 0===c&&o&&(c="primary"),(0,K.createElement)(Cu,{key:t,href:d,variant:c,onClick:d?void 0:s,className:X()("components-notice__action",n)},r)})))),i&&(0,K.createElement)(Cu,{className:"components-notice__dismiss",icon:Rl,label:(0,Q.__)("Dismiss this notice"),onClick:e=>{var t;null==e||null===(t=e.preventDefault)||void 0===t||t.call(e),l(),a()},showTooltip:!1}))},Pu=["40em","52em","64em"],Ru={name:"zjik7",styles:"display:flex"},Ou={name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"},Iu={name:"82a6rk",styles:"flex:1"},Nu={name:"13nosa1",styles:">*{min-height:0;}"},Mu={name:"1pwxzk4",styles:">*{min-width:0;}"},Lu=new RegExp(/-left/g),Du=new RegExp(/-right/g),ju=new RegExp(/Left/g),Fu=new RegExp(/Right/g),Bu=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,J.mapKeys)(e,((e,t)=>function(e){return"left"===e?"right":"right"===e?"left":Lu.test(e)?e.replace(Lu,"-right"):Du.test(e)?e.replace(Du,"-left"):ju.test(e)?e.replace(ju,"Right"):Fu.test(e)?e.replace(Fu,"Left"):e}(t)))};function Uu(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return()=>t?(0,Q.isRTL)()?an(t,""):an(e,""):(0,Q.isRTL)()?an(Bu(e),""):an(e,"")}function Vu(e){const{align:t="center",className:n,direction:r="row",expanded:o=!0,gap:a=2,justify:i="space-between",wrap:s=!1,...d}=Ft(function(e){let{isReversed:t,...n}=e;return void 0!==t?(br()("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...n,direction:t?"row-reverse":"row"}):n}(e),"Flex"),c=function(e){const t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{defaultIndex:t=0}=e;if("number"!=typeof t)throw new TypeError(`Default breakpoint index should be a number. Got: ${t}, ${typeof t}`);if(t<0||t>Pu.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${Pu.length} breakpoints, got index ${t}`);const[n,r]=(0,K.useState)(t);return(0,K.useEffect)((()=>{const e=()=>{const e=Pu.filter((e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches)).length;n!==e&&r(e)};return e(),"undefined"!=typeof window&&window.addEventListener("resize",e),()=>{"undefined"!=typeof window&&window.removeEventListener("resize",e)}}),[n]),n}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});if(!Array.isArray(e)&&"function"!=typeof e)return e;const n=e||[];return n[t>=n.length?n.length-1:t]}(Array.isArray(r)?r:[r]),l="string"==typeof c&&!!c.includes("column"),u="string"==typeof c&&c.includes("reverse"),p=Dt();return{...d,className:(0,K.useMemo)((()=>{const e={};return e.Base=an({alignItems:l?"normal":t,flexDirection:c,flexWrap:s?"wrap":void 0,justifyContent:i,height:l&&o?"100%":void 0,width:!l&&o?"100%":void 0,marginBottom:s?`calc(${cn(a)} * -1)`:void 0},"",""),e.Items=an(">*+*:not( marquee ){margin-top:",l?cn(a):void 0,";",Uu({marginLeft:l||u?void 0:cn(a),marginRight:!l&&u?cn(a):void 0})(),";}",""),e.WrapItems=an(">*:not( marquee ){margin-bottom:",cn(a),";",Uu({marginLeft:!l&&u?cn(a):void 0,marginRight:l||u?void 0:cn(a)})(),";}>*:last-child:not( marquee ){",Uu({marginLeft:!l&&u?0:void 0,marginRight:l||u?void 0:0})(),";}",""),p(Ru,e.Base,s?e.WrapItems:e.Items,l?Nu:Mu,n)}),[t,n,p,c,o,a,l,u,i,s,Uu.watch()]),isColumn:l}}Uu.watch=()=>(0,Q.isRTL)();const zu=(0,K.createContext)({flexItemDisplay:void 0}),Hu=Ut((function(e,t){const{children:n,isColumn:r,...o}=Vu(e);return(0,K.createElement)(zu.Provider,{value:{flexItemDisplay:r?"block":void 0}},(0,K.createElement)(Qt,Y({},o,{ref:t}),n))}),"Flex"),Wu=Ut((function(e,t){const n=function(e){const{className:t,display:n,isBlock:r=!1,...o}=Ft(e,"FlexItem"),a={},i=(0,K.useContext)(zu).flexItemDisplay;return a.Base=an({display:n||i},"",""),{...o,className:Dt()(Ou,a.Base,r&&Iu,t)}}(e);return(0,K.createElement)(Qt,Y({},n,{ref:t}))}),"FlexItem");var qu=n(5955),Gu=n(9031),Yu=n(4275);const Ku=function(e){const{icon:t,actions:n,children:r,buttonVariant:o}=e,a=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,["icon","actions","children","buttonVariant"]);a.className=X()("wcpay-inline-notice",`wcpay-inline-${a.status}-notice`,a.className);let i=t;if(!0===i)switch(a.status){case"success":i=U.createElement(qu.A,null);break;case"error":case"warning":i=U.createElement(Gu.A,null);break;default:i=U.createElement(Yu.A,null)}const s="wcpay-inline-notice__action",d=null==n?void 0:n.map(((e,t)=>{var n,r;return"url"in e?U.createElement("a",{key:t,className:s,href:e.url},e.label):U.createElement(Cu,{key:t,className:s,onClick:e.onClick,isBusy:null!==(n=e.isBusy)&&void 0!==n&&n,disabled:null!==(r=e.disabled)&&void 0!==r&&r,variant:o},e.label)}));return U.createElement(Au,Object.assign({},a),U.createElement(Hu,{align:"center",justify:"flex-start"},i&&U.createElement(Wu,{className:`wcpay-inline-notice__icon wcpay-inline-${a.status}-notice__icon`},U.createElement(Eu,{icon:i,size:24})),U.createElement(Wu,{className:`wcpay-inline-notice__content wcpay-inline-${a.status}-notice__content`},r,d&&U.createElement(Hu,{className:"wcpay-inline-notice__content__actions",align:"baseline",justify:"flex-start",gap:4},d))))},Zu=({stripeBillingSubscriptionCount:e})=>{const[t,n]=(0,U.useState)(!1),r=(0,U.useContext)(Al),[o,a]=(0,U.useState)(r.isMigrationInProgress);return(0,U.useEffect)((()=>{r.hasResolvedMigrateRequest&&a(!0)}),[r.hasResolvedMigrateRequest]),(0,U.useEffect)((()=>{r.hasSavedSettings&&a(!r.savedIsStripeBillingEnabled)}),[r.hasSavedSettings,r.savedIsStripeBillingEnabled]),o?t||0===r.subscriptionCount||r.isMigrationOptionShown?null:(r.isMigrationInProgressShown=!0,V().createElement(Ku,{status:"info",isDismissible:!0,onRemove:()=>n(!0),className:"woopayments-stripe-billing-notice"},(0,Q.sprintf)((0,Q._n)("%d customer subscription is being migrated from Stripe off-site billing to billing powered by %s and %s.","%d customer subscriptions are being migrated from Stripe off-site billing to billing powered by %s and %s.",e,"woocommerce-payments"),e,"Woo Subscriptions","WooPayments"))):null},Xu=({stripeBillingSubscriptionCount:e,startMigration:t,isLoading:n,hasResolved:r})=>{const o=(0,U.useContext)(Al),[a,i]=(0,U.useState)(!o.isStripeBillingEnabled),s="woopayments-migrate-stripe-billing-action";return(0,K.useEffect)((()=>{const e=document.querySelector(`.${s} .wcpay-inline-notice__action`);e&&(n?e.classList.add("is-busy"):e.classList.remove("is-busy"))}),[n]),(0,K.useEffect)((()=>{o.savedIsStripeBillingEnabled&&i(!1)}),[o.savedIsStripeBillingEnabled]),r?(o.isMigrationInProgress=!0,o.isMigrationOptionShown=!1,null):o.isMigrationInProgress||0===e?null:a?o.isStripeBillingEnabled?null:(o.isMigrationOptionShown=!0,V().createElement(Ku,{status:"warning",isDismissible:!1,className:`woopayments-stripe-billing-notice ${s}`,actions:[{label:(0,Q.__)("Begin migration","woocommerce-payments"),onClick:t}]},gl({mixedString:(0,Q.sprintf)((0,Q._n)("There is %d customer subscription using Stripe Billing for subscription renewals. We suggest migrating it to on-site billing powered by the %s plugin. {{learnMoreLink}}Learn more{{/learnMoreLink}}","There are %d customer subscriptions using Stripe Billing for payment processing. We suggest migrating them to on-site billing powered by the %s plugin. {{learnMoreLink}}Learn more{{/learnMoreLink}}",e,"woocommerce-payments"),e,"Woo Subscriptions"),components:{learnMoreLink:V().createElement(rn,{href:"https://woocommerce.com/document/woopayments/subscriptions/comparison/#migrating-subscribers"})}}))):null},Ju=({stripeBillingSubscriptionCount:e})=>{const t=(0,U.useContext)(Al),[n,r]=(0,U.useState)(t.isStripeBillingEnabled);return(0,U.useEffect)((()=>{t.hasSavedSettings&&r(t.savedIsStripeBillingEnabled)}),[t.hasSavedSettings,t.savedIsStripeBillingEnabled]),n?t.isMigrationOptionShown||0===e||t.isStripeBillingEnabled?null:V().createElement(Ku,{status:"warning",isDismissible:!1,className:"woopayments-stripe-billing-notice"},gl({mixedString:(0,Q.sprintf)((0,Q._n)("There is currently %d customer subscription using Stripe Billing for payment processing. This subscription will be automatically migrated to use the on-site billing engine built into %s once Stripe Billing is disabled. {{learnMoreLink}}Learn more{{/learnMoreLink}}","There are currently %d customer subscriptions using Stripe Billing for payment processing. These subscriptions will be automatically migrated to use the on-site billing engine built into %s once Stripe Billing is disabled. {{learnMoreLink}}Learn more{{/learnMoreLink}}",e,"woocommerce-payments"),e,"Woo Subscriptions"),components:{learnMoreLink:V().createElement(rn,{href:"https://woocommerce.com/document/woopayments/subscriptions/stripe-billing/#disabling"})}})):null},Qu=({completedMigrationCount:e})=>{const[t,n]=(0,U.useState)(!1),r=(0,U.useContext)(Al),[o]=(0,U.useState)(!r.isStripeBillingEnabled&&!r.isMigrationInProgress);return!o||t||0===e?null:V().createElement(Ku,{status:"info",isDismissible:!0,onRemove:()=>n(!0),className:"woopayments-stripe-billing-notice"},(0,Q.sprintf)((0,Q._n)("%d customer subscription was successfully migrated from Stripe off-site billing to on-site billing powered by %s and %s.","%d customer subscriptions were successfully migrated from Stripe off-site billing to on-site billing powered by %s and %s.",e,"woocommerce-payments"),e,"Woo Subscriptions","WooPayments"))},ep=()=>{const e=(0,U.useContext)(Al);return V().createElement(V().Fragment,null,V().createElement(Qu,{completedMigrationCount:e.migratedCount}),V().createElement(Xu,{stripeBillingSubscriptionCount:e.subscriptionCount,startMigration:()=>{e.startMigration()},isLoading:e.isResolvingMigrateRequest,hasResolved:e.hasResolvedMigrateRequest}),V().createElement(Ju,{stripeBillingSubscriptionCount:e.subscriptionCount}),V().createElement(Zu,{stripeBillingSubscriptionCount:e.subscriptionCount}))},tp=({onChange:e})=>{const t=(0,U.useContext)(Al);return V().createElement(qr,{checked:t.isStripeBillingEnabled,onChange:e,label:(0,Q.__)("Enable Stripe Billing for future subscriptions","woocommerce-payments"),help:gl({mixedString:(0,Q.sprintf)(t.isMigrationOptionShown&&0===t.migratedCount?(0,Q.__)("Alternatively, you can enable this setting and future %s subscription purchases will also utilize Stripe Billing for payment processing. Note: This feature supports card payments only and may lack support for key subscription features. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"):(0,Q.__)("By enabling this setting, future %s subscription purchases will utilize Stripe Billing for payment processing. Note: This feature supports card payments only and may lack support for key subscription features. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),"WooPayments"),components:{learnMoreLink:V().createElement(rn,{href:"https://woocommerce.com/document/woopayments/subscriptions/stripe-billing/"})}}),"data-testid":"stripe-billing-toggle"})},np=()=>{const[e,t]=(()=>{const{updateIsStripeBillingEnabled:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsStripeBillingEnabled())),e]})(),[n,r,o,a,i,s]=(()=>{const{submitStripeBillingSubscriptionMigration:e}=(0,Gr.useDispatch)(Zr);return(0,Gr.useSelect)((t=>{const{getStripeBillingSubscriptionCount:n}=t(Zr),{getIsStripeBillingMigrationInProgress:r}=t(Zr),{isResolving:o}=t(Zr),a=t(Zr).hasFinishedResolution("scheduleStripeBillingMigration"),{getStripeBillingMigratedCount:i}=t(Zr);return[r(),i(),n(),e,o("scheduleStripeBillingMigration"),a]}),[])})(),{isLoading:d,isSaving:c}=Id(),[l,u]=(0,U.useState)(!1),[p,m]=(0,U.useState)(e),h=!c&&l;(0,U.useEffect)((()=>{c&&!d&&u(!0)}),[d,c]),(0,U.useEffect)((()=>{h&&m(e)}),[h,e]);const[f]=(0,U.useState)(!1),[y]=(0,U.useState)(!1),g={isStripeBillingEnabled:e,savedIsStripeBillingEnabled:p,isMigrationOptionShown:y,isMigrationInProgressShown:f,isMigrationInProgress:n,hasSavedSettings:h,subscriptionCount:o,migratedCount:r,startMigration:a,isResolvingMigrateRequest:i,hasResolvedMigrateRequest:s};return V().createElement(Al.Provider,{value:g},V().createElement("h4",null,(0,Q.__)("Subscriptions","woocommerce-payments")),V().createElement(ep,null),V().createElement(tp,{onChange:e=>{t(e),u(!1)}}))},rp=()=>(0,ml.jsx)(ml.Fragment,{children:(0,ml.jsx)(Rr,{children:(0,ml.jsxs)(Tl,{children:[(0,ml.jsx)(vl,{}),wcpaySettings.isSubscriptionsActive&&wcpaySettings.isStripeBillingEligible?(0,ml.jsx)(np,{}):(0,ml.jsx)(_l,{}),(0,ml.jsx)(hl,{})]})})}),op=document.getElementById("wpbody-content")||document.body,ap=(e,t)=>!(!t||t!==e.target&&!(e.target instanceof Node&&t.contains(e.target))),ip=(0,U.memo)((({children:e,parentElement:t})=>{const n=(0,U.useRef)(null);return n.current||(n.current=document.createElement("div"),t.appendChild(n.current)),(0,U.useEffect)((()=>()=>{n.current&&(t.removeChild(n.current),n.current=null)}),[t]),(0,z.createPortal)(e,n.current)})),sp=({className:e,children:t,content:n,parentElement:r=op,hideDelayMs:o=600,isVisible:a,onHide:i,maxWidth:s="250px"})=>{const d=(0,U.useRef)(null),c=(0,U.useRef)(null),l=((e,{hideDelayMs:t=600,triggerRef:n,tooltipRef:r,parentElement:o,onHide:a=J.noop})=>{const[i,s]=(0,U.useState)(e),d=(0,U.useRef)(!1),c=(0,U.useRef)(a);return(0,U.useEffect)((()=>{c.current=a}),[a]),(0,U.useEffect)((()=>{let n=null;if(d.current){if(e)return o.dispatchEvent(new Event("wcpay-tooltip-open")),void s(!0);if(i)return n=setTimeout((()=>{s(!1),c.current()}),t),()=>{n&&clearTimeout(n)}}else d.current=!0}),[s,t,e,i,o]),(0,U.useEffect)((()=>{if(!i)return;const e=()=>{s(!1),c.current()},t=e=>{var t;ap(e,null===(t=n.current)||void 0===t?void 0:t.firstChild)||ap(e,r.current)||(s(!1),c.current())};return document.addEventListener("click",t),o.addEventListener("wcpay-tooltip-open",e),()=>{document.removeEventListener("click",t),o.removeEventListener("wcpay-tooltip-open",e)}}),[e,i,n,r,o]),i})(!!a,{hideDelayMs:o,triggerRef:d,tooltipRef:c,parentElement:r,onHide:i});return(0,U.useEffect)((()=>{const e=()=>{var e;if(!l)return;const t=c.current,n=null===(e=d.current)||void 0===e?void 0:e.firstChild;if(!t||!n)return;if(!(n instanceof HTMLElement))return;t.style.maxWidth=s;const r=n.getBoundingClientRect(),o=t.getBoundingClientRect().height;t.style.top=r.top-o-8+"px";let a=n.offsetWidth/2+r.left-t.offsetWidth/2;const i=window.innerWidth-(r.left+t.offsetWidth);a<0?a=45:i<0&&(a-=85),t.style.left=`${a}px`,t.style.visibility="visible",t.style.opacity="1"};e();const t=(0,J.debounce)(e,150);return window.addEventListener("resize",t),document.addEventListener("scroll",t),()=>{window.removeEventListener("resize",t),document.removeEventListener("scroll",t)}}),[l,s]),V().createElement(V().Fragment,null,V().createElement("div",{className:"wcpay-tooltip__content-wrapper",ref:d},t),l&&V().createElement(ip,{parentElement:r},V().createElement("div",{ref:c,className:X()("wcpay-tooltip__tooltip-wrapper",{"is-hiding":!a}),role:"tooltip"},V().createElement("div",{className:X()("wcpay-tooltip__tooltip",e)},n))))};const dp=e=>{var{isVisible:t,onHide:n=J.noop,children:r,buttonIcon:o,buttonLabel:a,buttonSize:i=16}=e,s=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,["isVisible","onHide","children","buttonIcon","buttonLabel","buttonSize"]);const[d,c]=(0,U.useState)(!1),[l,u]=(0,U.useState)(!1),p=()=>{c(!0)},m=()=>{c(!1),n()};return V().createElement("button",{className:"wcpay-tooltip__content-wrapper",onMouseEnter:p,onMouseLeave:m,onFocus:p,onBlur:m,onClick:()=>{u((e=>!e)),l&&n()},type:"button"},V().createElement(sp,Object.assign({},s,{onHide:()=>{c(!1),u(!1),n()},isVisible:t||d||l}),o?V().createElement(Eu,{icon:o,size:i,"aria-label":a}):r))},cp=({message:e,learnMoreLinkHref:t})=>(0,ml.jsxs)(Ku,{status:"warning",icon:!0,isDismissible:!1,children:[e," ",gl({mixedString:(0,Q.__)("{{learnMoreLink}}Learn More{{/learnMoreLink}}","woocommerce-payments"),components:{learnMoreLink:(0,ml.jsx)("a",{target:"_blank",rel:"noreferrer",href:t})}})]}),lp=()=>(0,ml.jsx)(cp,{message:(0,Q.__)("One or more of your extensions are incompatible with WooPay.","woocommerce-payments"),learnMoreLinkHref:"https://woocommerce.com/document/woopay-merchant-documentation/#compatibility"}),up=n.p+"../assets/images/payment-methods/bancontact.svg?ver=439d3f59385fa74e675e",pp=n.p+"../assets/images/payment-methods/eps.svg?ver=7bd9ed62d1b21ca35ceb",mp=n.p+"../assets/images/payment-methods/giropay.svg?ver=1100c024fff0503b41f7",hp=n.p+"../assets/images/payment-methods/sofort.svg?ver=b6780ad95a25d8b7b634",fp=n.p+"../assets/images/payment-methods/sepa-debit.svg?ver=9e42854526214016710d",yp=n.p+"../assets/images/payment-methods/p24.svg?ver=85e0cf9bc6526516d85f",gp=n.p+"../assets/images/payment-methods/ideal.svg?ver=c2cc71cf802e14c4f042",vp=n.p+"../assets/images/payment-methods/bank-debit.svg?ver=d0e134b0067cbbf6403f",_p=n.p+"../assets/images/payment-methods/affirm-badge.svg?ver=1151b0d701a5ea6ebcae",bp=n.p+"../assets/images/payment-methods/afterpay-logo.svg?ver=7b4e5ed5741b9cd7ade0",$p=n.p+"../assets/images/payment-methods/clearpay.svg?ver=1092499f79ea6d761029",Sp=n.p+"../assets/images/payment-methods/jcb.svg?ver=3351f2584f4a62ad094d",Ep=n.p+"../assets/images/payment-methods/klarna.svg?ver=e031a517911ff23ecaaa",xp=n.p+"../assets/images/cards/visa.svg?ver=f10d76e13a47cb867cca",Cp=n.p+"../assets/images/cards/mastercard.svg?ver=d21057587f14a719da45",kp=n.p+"../assets/images/cards/amex.svg?ver=9035aad80e3ae7ac653c",Tp=n.p+"../assets/images/payment-methods/woo.svg?ver=c063471dc31ce4748a14",Ap=n.p+"../assets/images/cards/apple-pay.svg?ver=126e07a26632bc8a9c21",Pp=n.p+"../assets/images/cards/google-pay.svg?ver=30aba48019e36097a19d",Rp=n.p+"../assets/images/cards/diners.svg?ver=f5f358185b445ca33039",Op=n.p+"../assets/images/cards/discover.svg?ver=a19341de516c258e11fe",Ip=n.p+"../assets/images/cards/cb.svg?ver=375fa3d816484fa4b53c",Np=n.p+"../assets/images/cards/unionpay.svg?ver=590378d28822ade6ea0b",Mp=n.p+"../assets/images/payment-methods/link.svg?ver=2af3c660d8ddc95442bb",Lp=n.p+"../assets/images/payment-methods/cc.svg?ver=e99146e27d67e25c0717";const Dp=(e,t,n=!0)=>r=>{var{className:o}=r,a=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}(r,["className"]);return V().createElement("img",Object.assign({className:X()("payment-method__icon",n?"":"no-outline",o),src:e,alt:t},a))},jp=Dp(_p,(0,Q.__)("Affirm","woocommerce-payments")),Fp=Dp(bp,(0,Q.__)("Afterpay","woocommerce-payments")),Bp=Dp($p,(0,Q.__)("Clearpay","woocommerce-payments")),Up=(Dp(kp,(0,Q.__)("American Express","woocommerce-payments")),Dp(Ap,(0,Q.__)("Apple Pay","woocommerce-payments"))),Vp=Dp(up,(0,Q.__)("Bancontact","woocommerce-payments")),zp=Dp(vp,(0,Q.__)("BECS Direct Debit","woocommerce-payments")),Hp=Dp(Lp,(0,Q.__)("Credit card / Debit card","woocommerce-payments"),!1),Wp=(Dp(Ip,(0,Q.__)("Cartes Bancaires","woocommerce-payments")),Dp(Rp,(0,Q.__)("Diners Club","woocommerce-payments")),Dp(Op,(0,Q.__)("Discover","woocommerce-payments")),Dp(pp,(0,Q.__)("BECS Direct Debit","woocommerce-payments"))),qp=Dp(mp,(0,Q.__)("Giropay","woocommerce-payments")),Gp=Dp(Pp,(0,Q.__)("Google Pay","woocommerce-payments")),Yp=Dp(gp,(0,Q.__)("iDEAL","woocommerce-payments")),Kp=Dp(Sp,(0,Q.__)("JCB","woocommerce-payments")),Zp=Dp(Ep,(0,Q.__)("Klarna","woocommerce-payments")),Xp=Dp(Mp,(0,Q.__)("Link","woocommerce-payments")),Jp=(Dp(Cp,(0,Q.__)("Mastercard","woocommerce-payments")),Dp(yp,(0,Q.__)("Przelewy24 (P24)","woocommerce-payments"))),Qp=Dp(fp,(0,Q.__)("SEPA Direct Debit","woocommerce-payments")),em=Dp(hp,(0,Q.__)("Sofort","woocommerce-payments")),tm=(Dp(Np,(0,Q.__)("UnionPay","woocommerce-payments")),Dp(xp,(0,Q.__)("Visa","woocommerce-payments")),Dp(Tp,(0,Q.__)("WooPay","woocommerce-payments"))),nm=()=>{const[e]=Td(),[t,n]=Bd(),r=Ud(),o=e.includes("link"),{featureFlags:{woopay:a}}=(0,K.useContext)(So);return V().createElement(V().Fragment,null,a&&V().createElement("li",{className:"express-checkout",id:"express-checkouts-woopay"},V().createElement("div",{className:"express-checkout__row"},V().createElement("div",{className:"express-checkout__checkbox"},o?V().createElement("div",{className:"components-base-control components-checkbox-control"},V().createElement("div",{className:"components-base-control__field"},V().createElement("span",{className:"components-checkbox-control__input-container"},V().createElement(dp,{content:(0,Q.__)("To enable WooPay, you must first disable Link by Stripe.","woocommerce-payments")},V().createElement("div",{className:"loadable-checkbox__icon"},V().createElement(Gu.A,null),V().createElement("div",{className:"loadable-checkbox__icon-warning","data-testid":"loadable-checkbox-icon-warning"},V().createElement(en,null,(0,Q.__)("WooPay cannot be enabled at checkout. Click to expand.","woocommerce-payments")))))))):V().createElement(qr,{label:(0,Q.__)("WooPay","woocommerce-payments"),checked:t,onChange:n,"data-testid":"woopay-toggle"})),V().createElement("div",{className:"express-checkout__text-container"},V().createElement("div",null,V().createElement("div",{className:"express-checkout__subgroup"},V().createElement("div",{className:"express-checkout__icon"},V().createElement(tm,null)),V().createElement("div",{className:"express-checkout__label express-checkout__label-mobile"},(0,Q.__)("WooPay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__label-container"},V().createElement("div",{className:"express-checkout__label express-checkout__label-desktop"},(0,Q.__)("WooPay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__description"},t?(0,Q.__)("Boost conversion and customer loyalty by offering a single click, secure way to pay.","woocommerce-payments"):gl({mixedString:(0,Q.__)("Boost conversion and customer loyalty by offering a single click, secure way to pay. In order to use {{wooPayLink}}WooPay{{/wooPayLink}}, you must agree to our {{tosLink}}WooCommerce Terms of Service{{/tosLink}} and {{privacyLink}}Privacy Policy{{/privacyLink}}. {{trackingLink}}Click here{{/trackingLink}} to learn more about the data you will be sharing and opt-out options.","woocommerce-payments"),components:{wooPayLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://woocommerce.com/document/woopay-merchant-documentation/"}),tosLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://wordpress.com/tos/"}),privacyLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://automattic.com/privacy/"}),trackingLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://woocommerce.com/usage-tracking/"})}}))))),V().createElement("div",{className:"express-checkout__link"},V().createElement(Cu,{href:Mo("woopay"),isSecondary:!0},(0,Q.__)("Customize","woocommerce-payments"))))),r&&V().createElement(lp,null)))},rm=function({paymentMethod:e,gatewaysEnablingPaymentMethod:t,dismissedNotices:n,setDismissedDuplicateNotices:r}){const{updateOptions:o}=(0,Gr.useDispatch)("wc/admin/options"),a=(0,U.useCallback)((()=>{const a=Object.assign({},n);a[e]?a[e]=[...new Set([...a[e],...t])]:a[e]=t,r(a),o({wcpay_duplicate_payment_method_notices_dismissed:a}),wcpaySettings.dismissedDuplicateNotices=a}),[e,t,n,r,o]);return(null==n?void 0:n[e])&&t.every((t=>n[e].includes(t)))?null:V().createElement(Ku,{status:"warning",icon:!0,isDismissible:!0,onRemove:a},gl({mixedString:(0,Q.__)("This payment method is enabled by other extensions. {{reviewExtensions}}Review extensions{{/reviewExtensions}} to improve the shopper experience.","woocommerce-payments"),components:{reviewExtensions:V().createElement("a",{href:No({page:"wc-settings",tab:"checkout"})},"Review extensions")}}))},om=(0,U.createContext)({duplicates:{},dismissedDuplicateNotices:{},setDismissedDuplicateNotices:()=>null}),am=()=>{const e="apple_pay_google_pay",[t,n]=Nd(),{duplicates:r,dismissedDuplicateNotices:o,setDismissedDuplicateNotices:a}=(0,U.useContext)(om),i=Object.keys(r).includes(e);return V().createElement("li",{className:"express-checkout",id:"express-checkouts-apple-google-pay"},V().createElement("div",{className:"express-checkout__row"},V().createElement("div",{className:"express-checkout__checkbox"},V().createElement(qr,{label:(0,Q.__)("Apple Pay / Google Pay","woocommerce-payments"),checked:t,onChange:n})),V().createElement("div",{className:"express-checkout__text-container"},V().createElement("div",null,V().createElement("div",{className:"express-checkout__subgroup"},V().createElement("div",{className:"express-checkout__icon"},V().createElement(Up,null)),V().createElement("div",{className:"express-checkout__label express-checkout__label-mobile"},(0,Q.__)("Apple Pay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__label-container"},V().createElement("div",{className:"express-checkout__label express-checkout__label-desktop"},(0,Q.__)("Apple Pay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__description"},t?(0,Q.__)("Apple Pay is an easy and secure way for customers to pay on your store.","woocommerce-payments"):gl({mixedString:(0,Q.__)("Apple Pay is an easy and secure way for customers to pay on your store. By enabling this feature, you agree to {{stripeLink}}Stripe{{/stripeLink}} and{{appleLink}} Apple{{/appleLink}}'s terms of use.","woocommerce-payments"),components:{stripeLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://stripe.com/apple-pay/legal"}),appleLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://developer.apple.com/apple-pay/acceptable-use-guidelines-for-websites/"}),br:V().createElement("br",null)}})))),V().createElement("div",{className:"express-checkout__subgroup"},V().createElement("div",{className:"express-checkout__icon"},V().createElement(Gp,null)),V().createElement("div",{className:"express-checkout__label express-checkout__label-mobile"},(0,Q.__)("Google Pay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__label-container"},V().createElement("div",{className:"express-checkout__label express-checkout__label-desktop"},(0,Q.__)("Google Pay","woocommerce-payments")),V().createElement("div",{className:"express-checkout__description"},t?(0,Q.__)("Offer customers a fast, secure checkout experience with Google Pay.","woocommerce-payments"):gl({mixedString:(0,Q.__)("Offer customers a fast, secure checkout experience with Google Pay. By enabling this feature, you agree to {{stripeLink}}Stripe{{/stripeLink}}, and {{googleLink}}Google{{/googleLink}}'s terms of use.","woocommerce-payments"),components:{stripeLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://stripe.com/apple-pay/legal"}),googleLink:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://androidpay.developers.google.com/terms/sellertos"}),br:V().createElement("br",null)}}))))),V().createElement("div",{className:"express-checkout__link"},V().createElement(Cu,{href:Mo("payment_request"),isSecondary:!0},(0,Q.__)("Customize","woocommerce-payments"))))),i&&V().createElement(rm,{paymentMethod:e,gatewaysEnablingPaymentMethod:r[e],dismissedNotices:o,setDismissedDuplicateNotices:a}))},im=()=>{const e=Rd(),[t]=Bd(),[n,r]=Td(),o=n.includes("card")&&e.includes("link"),a=n.includes("link");return V().createElement(V().Fragment,null,o&&V().createElement("li",{className:"express-checkout",id:"express-checkouts-link"},V().createElement("div",{className:"express-checkout__row"},V().createElement("div",{className:"express-checkout__checkbox"},t?V().createElement("div",{className:"components-base-control components-checkbox-control"},V().createElement("div",{className:"components-base-control__field"},V().createElement("span",{className:"components-checkbox-control__input-container"},V().createElement(dp,{content:(0,Q.__)("To enable Link by Stripe, you must first disable WooPay.","woocommerce-payments")},V().createElement("div",{className:"loadable-checkbox__icon"},V().createElement(Gu.A,null),V().createElement("div",{className:"loadable-checkbox__icon-warning","data-testid":"loadable-checkbox-icon-warning"},V().createElement(en,null,(0,Q.__)("Link by Stripe cannot be enabled at checkout. Click to expand.","woocommerce-payments")))))))):V().createElement(qr,{label:(0,Q.__)("Link by Stripe","woocommerce-payments"),checked:a,onChange:e=>{r(e?[...new Set([...n,"link"])]:[...n.filter((e=>"link"!==e))])}})),V().createElement("div",{className:"express-checkout__text-container"},V().createElement("div",null,V().createElement("div",{className:"express-checkout__subgroup"},V().createElement("div",{className:"express-checkout__icon"},V().createElement(Xp,null)),V().createElement("div",{className:"express-checkout__label express-checkout__label-mobile"},(0,Q.__)("Link by Stripe","woocommerce-payments")),V().createElement("div",{className:"express-checkout__label-container"},V().createElement("div",{className:"express-checkout__label express-checkout__label-desktop"},(0,Q.__)("Link by Stripe","woocommerce-payments")),V().createElement("div",{className:"express-checkout__description"},a?(0,Q.__)("Link autofills your customers’ payment and shipping details to deliver an easy and seamless checkout experience.","woocommerce-payments"):gl({mixedString:(0,Q.__)("Link autofills your customers’ payment and shipping details to deliver an easy and seamless checkout experience. By enabling this feature, you agree to the {{stripeLinkTerms}}Link by Stripe terms{{/stripeLinkTerms}}, and {{privacyPolicy}}Privacy Policy{{/privacyPolicy}}.","woocommerce-payments"),components:{stripeLinkTerms:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://link.com/terms"}),privacyPolicy:V().createElement("a",{target:"_blank",rel:"noreferrer",href:"https://link.com/privacy"})}}))))),V().createElement("div",{className:"express-checkout__link"},V().createElement(Cu,{target:"_blank",rel:"noreferrer",href:"https://woocommerce.com/document/woopayments/payment-methods/link-by-stripe/",isSecondary:!0},(0,Q.__)("Read more","woocommerce-payments")))))))},sm=()=>(0,ml.jsx)(Rr,{className:"express-checkouts",children:(0,ml.jsx)(Tl,{size:0,children:(0,ml.jsxs)("ul",{className:"express-checkouts-list",children:[(0,ml.jsx)(nm,{}),(0,ml.jsx)(am,{}),(0,ml.jsx)(im,{})]})})}),dm=({description:e=()=>null,children:t,className:n,id:r})=>V().createElement("div",{className:X()("settings-section",n),id:r},V().createElement("div",{className:"settings-section__details"},V().createElement(e,null)),V().createElement("div",{className:"settings-section__controls"},t)),cm=window.wp.keycodes,lm=(0,K.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,K.createElement)(ee.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),um=new Set(["alert","status","log","marquee","timer"]);let pm=[],mm=!1;let hm=0;const fm=(0,K.forwardRef)((function e(t,n){const{bodyOpenClassName:r="modal-open",role:o="dialog",title:a=null,focusOnMount:i=!0,shouldCloseOnEsc:s=!0,shouldCloseOnClickOutside:d=!0,isDismissible:c=!0,aria:l={labelledby:null,describedby:null},onRequestClose:u,icon:p,closeButtonLabel:m,children:h,style:f,overlayClassName:y,className:g,contentLabel:v,onKeyDown:_,isFullScreen:b=!1,__experimentalHideHeader:$=!1}=t,w=(0,K.useRef)(),S=(0,Or.useInstanceId)(e),E=a?`components-modal-header-${S}`:l.labelledby,x=(0,Or.useFocusOnMount)(i),C=(0,Or.useConstrainedTabbing)(),k=(0,Or.useFocusReturn)(),T=(0,Or.__experimentalUseFocusOutside)(u);return(0,K.useEffect)((()=>(hm++,1===hm&&(function(e){if(mm)return;const t=document.body.children;(0,J.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||um.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),pm.push(t))})),mm=!0}(w.current),document.body.classList.add(r)),()=>{hm--,0===hm&&(document.body.classList.remove(r),mm&&((0,J.forEach)(pm,(e=>{e.removeAttribute("aria-hidden")})),pm=[],mm=!1))})),[]),(0,K.createPortal)((0,K.createElement)("div",{ref:(0,Or.useMergeRefs)([w,n]),className:X()("components-modal__screen-overlay",y),onKeyDown:function(e){s&&e.keyCode===cm.ESCAPE&&!e.defaultPrevented&&(e.preventDefault(),u&&u(e))}},(0,K.createElement)(tu,{document},(0,K.createElement)("div",Y({className:X()("components-modal__frame",g,{"is-full-screen":b}),style:f,ref:(0,Or.useMergeRefs)([C,k,x]),role:o,"aria-label":v,"aria-labelledby":v?null:E,"aria-describedby":l.describedby,tabIndex:"-1"},d?T:{},{onKeyDown:_}),(0,K.createElement)("div",{className:X()("components-modal__content",{"hide-header":$}),role:"document"},!$&&(0,K.createElement)("div",{className:"components-modal__header"},(0,K.createElement)("div",{className:"components-modal__header-heading-container"},p&&(0,K.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},p),a&&(0,K.createElement)("h1",{id:E,className:"components-modal__header-heading"},a)),c&&(0,K.createElement)(Cu,{onClick:u,icon:lm,label:m||(0,Q.__)("Close dialog")})),h)))),document.body)})),ym=(0,K.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,K.createElement)(ee.Path,{d:"M3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zm-1.338 4.877c-.314.22-.412.452-.412.623 0 .171.098.403.412.623.312.218.783.377 1.338.377.825 0 1.605.233 2.198.648.59.414 1.052 1.057 1.052 1.852 0 .795-.461 1.438-1.052 1.852-.41.286-.907.486-1.448.582v.316a.75.75 0 01-1.5 0v-.316a3.64 3.64 0 01-1.448-.582c-.59-.414-1.052-1.057-1.052-1.852a.75.75 0 011.5 0c0 .171.098.403.412.623.312.218.783.377 1.338.377s1.026-.159 1.338-.377c.314-.22.412-.452.412-.623 0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377-.825 0-1.605-.233-2.198-.648-.59-.414-1.052-1.057-1.052-1.852 0-.795.461-1.438 1.052-1.852a3.64 3.64 0 011.448-.582V7.5a.75.75 0 011.5 0v.316c.54.096 1.039.296 1.448.582.59.414 1.052 1.057 1.052 1.852a.75.75 0 01-1.5 0c0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377s-1.026.159-1.338.377z"})),gm=V().createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},V().createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})),vm=V().createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},V().createElement("path",{d:"M10 4.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm2.25 7.5v-1A2.75 2.75 0 0011 8.25H7A2.75 2.75 0 004.25 11v1h1.5v-1c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v1h1.5zM4 20h9v-1.5H4V20zm16-4H4v-1.5h16V16z",fillRule:"evenodd",clipRule:"evenodd"})),_m=({from:e,source:t,onClose:n})=>{const[r,o]=(0,U.useState)(!1);return V().createElement(fm,{title:(0,Q.__)("Activate payments on your store","woocommerce-payments"),className:"wcpay-setup-real-payments-modal",isDismissible:!0,onRequestClose:()=>{o(!1),bo("wcpay_setup_live_payments_modal_exit",{from:e,source:t}),n()}},V().createElement("div",{className:"wcpay-setup-real-payments-modal__content"},V().createElement("div",{className:"wcpay-setup-real-payments-modal__content__item"},V().createElement("p",null,(0,Q.__)("Before continuing, please make sure that you're aware of the following:","woocommerce-payments"))),V().createElement("div",{className:"wcpay-setup-real-payments-modal__content__item-flex"},V().createElement("div",null,V().createElement(tn,{icon:gm})),V().createElement("p",{className:"wcpay-setup-real-payments-modal__content__item-flex__description"},(0,Q.__)("Your test account will be deactivated, but your transactions can be found in your order history.","woocommerce-payments"))),V().createElement("div",{className:"wcpay-setup-real-payments-modal__content__item-flex"},V().createElement("div",null,V().createElement(tn,{icon:vm})),V().createElement("p",{className:"wcpay-setup-real-payments-modal__content__item-flex__description"},(0,Q.sprintf)((0,Q.__)("To use %s, you will need to verify your business details.","woocommerce-payments"),"WooPayments"))),V().createElement("div",{className:"wcpay-setup-real-payments-modal__content__item-flex"},V().createElement("div",null,V().createElement(tn,{icon:ym})),V().createElement("p",{className:"wcpay-setup-real-payments-modal__content__item-flex__description"},(0,Q.__)("In order to receive payouts, you will need to provide your bank details.","woocommerce-payments")))),V().createElement("div",{className:"wcpay-setup-real-payments-modal__footer"},V().createElement(Cu,{variant:"primary",isBusy:r,disabled:r,onClick:()=>{o(!0),bo("wcpay_onboarding_flow_setup_live_payments",{from:e,source:t}),window.location.href=(0,Po.addQueryArgs)(wcpaySettings.connectUrl,{"wcpay-disable-onboarding-test-mode":"true",from:e,source:"wcpay-setup-live-payments"})}},(0,Q.__)("Activate payments","woocommerce-payments"))))};const bm=e=>{var{children:t,actions:n,className:r}=e,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 V().createElement(fm,Object.assign({className:X()("wcpay-confirmation-modal",r)},o),t,V().createElement(ee.HorizontalRule,{className:"wcpay-confirmation-modal__separator"}),V().createElement("div",{className:"wcpay-confirmation-modal__footer"},n))},$m=({onClose:e,onConfirm:t})=>V().createElement(bm,{title:(0,Q.__)("Enable test mode","woocommerce-payments"),onRequestClose:e,actions:V().createElement(V().Fragment,null,V().createElement(Cu,{onClick:e,variant:"secondary"},(0,Q.__)("Cancel","woocommerce-payments")),V().createElement(Cu,{onClick:t,variant:"primary"},(0,Q.__)("Enable","woocommerce-payments")))},V().createElement("h3",null,(0,Q.__)("Are you sure you want to enable test mode?","woocommerce-payments")),V().createElement("p",null,(0,Q.__)("Test mode lets you try out payments, refunds, disputes and other such processes as you're working on your store without handling live payment information. All incoming orders will be simulated, and test mode will have to be disabled before you can accept real orders.","woocommerce-payments")),V().createElement(rn,{href:"https://woocommerce.com/document/woopayments/testing-and-troubleshooting/testing/"},(0,Q.__)("Learn more about test mode","woocommerce-payments"))),wm=({Icon:e,label:t})=>e?(0,ml.jsxs)("span",{className:X()("woocommerce-payments__payment-method-icon"),children:[(0,ml.jsx)(e,{}),t&&(0,ml.jsx)("span",{className:"woocommerce-payments__payment-method-icon__label",children:t})]}):null;var Sm=n(9387);const Em=({hasBorder:e,icon:t=()=>null})=>V().createElement("div",{className:"payment-delete-illustration__wrapper"},V().createElement("div",{className:"payment-delete-illustration__illustrations"},V().createElement(t,{className:X()("payment-delete-illustration__payment-icon",{"has-border":e})}),V().createElement(Sm.A,{className:"payment-delete-illustration__payment-cross-icon"}))),xm=n.p+"../assets/images/cards/woo-card.svg?ver=e60a0668cff2ba10c060";var Cm,km;const Tm=(null===(km=null===(Cm=window.wcpaySettings)||void 0===Cm?void 0:Cm.accountStatus)||void 0===km?void 0:km.country)||"US",Am={card:{id:"card",label:(0,Q.__)("Credit / Debit card","woocommerce-payments"),description:(0,Q.__)("Let your customers pay with major credit and debit cards without leaving your store.","woocommerce-payments"),icon:Hp,currencies:[],stripe_key:"card_payments",allows_manual_capture:!0,allows_pay_later:!1,accepts_only_domestic_payment:!1},au_becs_debit:{id:"au_becs_debit",label:(0,Q.__)("BECS Direct Debit","woocommerce-payments"),description:(0,Q.__)("Bulk Electronic Clearing System — Accept secure bank transfer from Australia.","woocommerce-payments"),icon:zp,currencies:["AUD"],stripe_key:"au_becs_debit_payments",allows_manual_capture:!1,allows_pay_later:!1,accepts_only_domestic_payment:!1},bancontact:{id:"bancontact",label:(0,Q.__)("Bancontact","woocommerce-payments"),description:(0,Q.__)("Bancontact is a bank redirect payment method offered by more than 80% of online businesses in Belgium.","woocommerce-payments"),icon:Vp,currencies:["EUR"],stripe_key:"bancontact_payments",allows_manual_capture:!1,allows_pay_later:!1,accepts_only_domestic_payment:!1},eps:{id:"eps",label:(0,Q.__)("EPS","woocommerce-payments"),description:(0,Q.__)("Accept your payment with EPS — a common payment method in Austria.","woocommerce-payments"),icon:Wp,currencies:["EUR"],stripe_key:"eps_payments",allows_manual_capture:!1,allows_pay_later:!1,accepts_only_domestic_payment:!1},giropay:{id:"giropay",label:(0,Q.__)("giropay","woocommerce-payments"),description:(0,Q.__)("Expand your business with giropay — Germany’s second most popular payment system.","woocommerce-payments"),icon:qp,currencies:["EUR"],stripe_key:"giropay_payments",allows_manual_capture:!1,allows_pay_later:!1,accepts_only_domestic_payment:!1},ideal:{id:"ideal",label:(0,Q.__)("iDEAL","woocommerce-payments"),description:(0,Q.__)("Expand your business with iDEAL — Netherlands’s most popular payment method.","woocommerce-payments"),icon:Yp,currencies:["EUR"],stripe_key:"ideal_payments",allows_manual_capture:!1,allows_pay_later:!1,accepts_only_domestic_payment:!1},p24:{id:"p24",label:(0,Q.__)("Przelewy24 (P24)","woocommerce-payments"),description:(0,Q.__)("Accept payments with Przelewy24 (P24), the most popular payment method in Poland.","woocommerce-payments"),icon:Jp,currencies:["EUR","PLN"],stripe_key:"p24_payments",allows_manual_capture:!1,allows_pay_later:!1,accepts_only_domestic_payment:!1},sepa_debit:{id:"sepa_debit",label:(0,Q.__)("SEPA Direct Debit","woocommerce-payments"),description:(0,Q.__)("Reach 500 million customers and over 20 million businesses across the European Union.","woocommerce-payments"),icon:Qp,currencies:["EUR"],stripe_key:"sepa_debit_payments",allows_manual_capture:!1,allows_pay_later:!1,accepts_only_domestic_payment:!1},sofort:{id:"sofort",label:(0,Q.__)("Sofort","woocommerce-payments"),description:(0,Q.__)("Accept secure bank transfers from Austria, Belgium, Germany, Italy, Netherlands, and Spain.","woocommerce-payments"),icon:em,currencies:["EUR"],stripe_key:"sofort_payments",allows_manual_capture:!1,allows_pay_later:!1,accepts_only_domestic_payment:!1},affirm:{id:"affirm",label:(0,Q.__)("Affirm","woocommerce-payments"),description:(0,Q.__)("Allow customers to pay over time with Affirm.","woocommerce-payments"),icon:jp,currencies:["USD","CAD"],stripe_key:"affirm_payments",allows_manual_capture:!1,allows_pay_later:!0,accepts_only_domestic_payment:!0},afterpay_clearpay:{id:"afterpay_clearpay",label:"GB"===Tm?(0,Q.__)("Clearpay","woocommerce-payments"):(0,Q.__)("Afterpay","woocommerce-payments"),description:"GB"===Tm?(0,Q.__)("Allow customers to pay over time with Clearpay.","woocommerce-payments"):(0,Q.__)("Allow customers to pay over time with Afterpay.","woocommerce-payments"),icon:"GB"===Tm?Bp:Fp,currencies:["USD","AUD","CAD","NZD","GBP"],stripe_key:"afterpay_clearpay_payments",allows_manual_capture:!1,allows_pay_later:!0,accepts_only_domestic_payment:!0},jcb:{id:"jcb",label:(0,Q.__)("JCB","woocommerce-payments"),description:(0,Q.__)("Let your customers pay with JCB, the only international payment brand based in Japan.","woocommerce-payments"),icon:Kp,currencies:["JPY"],stripe_key:"jcb_payments",allows_manual_capture:!1,allows_pay_later:!1,accepts_only_domestic_payment:!1},klarna:{id:"klarna",label:(0,Q.__)("Klarna","woocommerce-payments"),description:(0,Q.__)("Allow customers to pay over time or pay now with Klarna.","woocommerce-payments"),icon:Zp,currencies:["EUR","GBP","USD","DKK","NOK","SEK"],stripe_key:"klarna_payments",allows_manual_capture:!1,allows_pay_later:!0,accepts_only_domestic_payment:!0}},Pm=({onClose:e,onConfirm:t})=>{const[n]=Td(),[r]=Bd(),[o]=Nd(),a=Boolean(n.find((e=>"link"===e)));return(0,ml.jsxs)(bm,{title:(0,Q.sprintf)((0,Q.__)("Disable %s","woocommerce-payments"),"WooPayments"),onRequestClose:e,actions:(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)(Cu,{onClick:t,isPrimary:!0,isDestructive:!0,children:"Disable"}),(0,ml.jsx)(Cu,{onClick:e,isSecondary:!0,children:"Cancel"})]}),children:[(0,ml.jsx)(Em,{icon:e=>(0,ml.jsx)("img",{src:xm,alt:"WooCard",...e})}),(0,ml.jsx)("p",{children:gl({mixedString:(0,Q.sprintf)((0,Q.__)("%s 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"),"WooPayments"),components:{strong:(0,ml.jsx)("strong",{})}})}),(0,ml.jsx)("p",{children:gl({mixedString:(0,Q.sprintf)((0,Q.__)("You can enable %s again at any time in {{settingsLink}}settings{{/settingsLink}}.","woocommerce-payments"),"WooPayments"),components:{settingsLink:(0,ml.jsx)("a",{href:"admin.php?page=wc-settings&tab=checkout&section"})}})}),(0,ml.jsx)("p",{children:(0,ml.jsx)("strong",{children:(0,Q.sprintf)((0,Q.__)("Payment methods that need %s:","woocommerce-payments"),"WooPayments")})}),(0,ml.jsxs)("ul",{className:"disable-confirmation-modal__payment-methods-list",children:[n.filter((e=>"link"!==e)).map((e=>(0,ml.jsx)("li",{children:(0,ml.jsx)(wm,{Icon:Am[e].icon,label:Am[e].label})},e))),o&&(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("li",{children:(0,ml.jsx)(wm,{Icon:Gp,label:(0,Q.__)("Google Pay","woocommerce-payments")})}),(0,ml.jsx)("li",{children:(0,ml.jsx)(wm,{Icon:Up,label:(0,Q.__)("Apple Pay","woocommerce-payments")})})]}),a&&(0,ml.jsx)("li",{children:(0,ml.jsx)(wm,{Icon:Xp,label:(0,Q.__)("Link by Stripe","woocommerce-payments")})}),r&&(0,ml.jsx)("li",{children:(0,ml.jsx)(wm,{Icon:tm,label:(0,Q.__)("WooPay","woocommerce-payments")})})]}),(0,ml.jsx)("p",{children:gl({mixedString:(0,Q.sprintf)((0,Q.__)("{{strong}}Need help?{{/strong}} Learn more about {{wooCommercePaymentsLink}}%s{{/wooCommercePaymentsLink}} or {{contactSupportLink}}contact WooCommerce Support{{/contactSupportLink}}.","woocommerce-payments"),"WooPayments"),components:{strong:(0,ml.jsx)("strong",{}),wooCommercePaymentsLink:(0,ml.jsx)("a",{href:"https://woocommerce.com/document/woopayments/"}),contactSupportLink:(0,ml.jsx)("a",{href:"https://woocommerce.com/my-account/create-a-ticket/?select=5278104"})}})})]})},Rm=()=>{const[e,t]=(()=>{const{updateIsWCPayEnabled:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsWCPayEnabled())),e]})(),[n,r]=((e=!1)=>{const[t,n]=(0,K.useState)(e);return[t,(0,K.useCallback)((()=>n((e=>!e))),[n])]})(!1);return(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)(qr,{checked:e,onChange:e=>{e?(t(!0),bo("wcpay_gateway_toggle",{action:"enable",context:"wcpay-settings"})):r()},label:(0,Q.sprintf)((0,Q.__)("Enable %s","woocommerce-payments"),"WooPayments"),help:(0,Q.sprintf)((0,Q.__)("When enabled, payment methods powered by %s will appear on checkout.","woocommerce-payments"),"WooPayments")}),n&&(0,ml.jsx)(Pm,{onClose:r,onConfirm:()=>{t(!1),bo("wcpay_gateway_toggle",{action:"disable",context:"wcpay-settings"}),r()}})]})},Om=()=>{const[e,t]=(()=>{const{updateIsTestModeEnabled:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsTestModeEnabled())),e]})(),[n,r]=(0,U.useState)(!1),o=Ad(),[a,i]=(0,U.useState)(!1);return(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)(Rr,{children:(0,ml.jsxs)(Tl,{children:[(0,ml.jsx)(Rm,{}),!o&&(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h4",{children:(0,Q.__)("Test mode","woocommerce-payments")}),(0,ml.jsx)(qr,{checked:e,onChange:e=>{e?i(!0):(bo("wcpay_test_mode_disabled",{source:"wcadmin-settings-page"}),t(!1))},label:(0,Q.__)("Enable test mode","woocommerce-payments"),help:gl({mixedString:(0,Q.__)("Use {{testCardHelpLink}}test card numbers{{/testCardHelpLink}} to simulate various transactions. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),components:{testCardHelpLink:(0,ml.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://woocommerce.com/document/woopayments/testing-and-troubleshooting/testing/#test-cards"}),learnMoreLink:(0,ml.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://woocommerce.com/document/woopayments/testing-and-troubleshooting/testing/"})}})})]}),o&&(0,ml.jsx)(Ku,{status:"warning",isDismissible:!1,actions:[{label:(0,Q.__)("Set up payments","woocommerce-payments"),variant:"secondary",onClick:()=>{bo("wcpay_settings_setup_live_payments_click",{source:"wcadmin-settings-page"}),r(!0)}}],className:"wcpay-general-settings__notice",children:(0,ml.jsx)("span",{children:gl({mixedString:(0,Q.sprintf)((0,Q.__)("{{b}}%1$s is in sandbox mode.{{/b}} You need to set up a live %1$s account before you can accept real transactions. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),"WooPayments"),components:{b:(0,ml.jsx)("b",{}),learnMoreLink:(0,ml.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://woocommerce.com/document/woopayments/testing-and-troubleshooting/sandbox-mode/"})}})})})]})}),n&&(0,ml.jsx)(_m,{from:"WCPAY_SETTINGS",source:"wcadmin-settings-page",onClose:()=>{bo("wcpay_setup_live_payments_modal_exit",{source:"wcadmin-settings-page"}),r(!1)}}),a&&(0,ml.jsx)($m,{onClose:()=>{bo("wcpay_test_mode_modal_exit",{source:"wcadmin-settings-page"}),i(!1)},onConfirm:()=>{bo("wcpay_test_mode_enabled",{source:"wcadmin-settings-page"}),t(!0),i(!1)}})]})},Im=(0,K.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,K.createElement)(ee.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),Nm={name:"hdknak",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"},Mm="…",Lm={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},Dm={ellipsis:Mm,ellipsizeMode:Lm.auto,limit:0,numberOfLines:0};let jm;Dn([jn]);const Fm=ue()((function(e){var t,n;if("string"!=typeof e)return"";if("string"==typeof(n=e)&&Mn(n).isValid())return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";const r=function(){if("undefined"!=typeof document){if(!jm){const e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),jm=e}return jm}}();if(!r)return"";r.style.background=e;const o=null===(t=window)||void 0===t?void 0:t.getComputedStyle(r).background;return r.style.background="",o||""}));const Bm=an("color:",Zn.darkGray.primary,";line-height:",tr.fontLineHeightBase,";margin:0;",""),Um={name:"4zleql",styles:"display:block"},Vm=an("color:",Zn.alert.green,";",""),zm=an("color:",Zn.alert.red,";",""),Hm=an("color:",Zn.mediumGray.text,";",""),Wm=an("mark{background:",Zn.alert.yellow,";border-radius:2px;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}",""),qm={name:"50zrmy",styles:"text-transform:uppercase"};var Gm=n(542);const Ym=ue()((e=>{const t={};for(const n in e)t[n.toLowerCase()]=e[n];return t})),Km=13,Zm={body:Km,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20};function Xm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Km;if(e in Zm)return Xm(Zm[e]);if("number"!=typeof e){const t=parseFloat(e);if(Number.isNaN(t))return e;e=t}return`calc((${e} / ${Km}) * ${tr.fontSize})`}[1,2,3,4,5,6].flatMap((e=>[e,e.toString()]));var Jm={name:"50zrmy",styles:"text-transform:uppercase"};function Qm(e){const{adjustLineHeightForInnerControls:t,align:n,children:r,className:o,color:a,ellipsizeMode:i,isDestructive:s=!1,display:d,highlightEscape:c=!1,highlightCaseSensitive:l=!1,highlightWords:u,highlightSanitize:p,isBlock:m=!1,letterSpacing:h,lineHeight:f,optimizeReadabilityFor:y,size:g,truncate:v=!1,upperCase:_=!1,variant:b,weight:$=tr.fontWeight,...w}=Ft(e,"Text");let S=r;const E=Array.isArray(u),x="caption"===g;if(E){if("string"!=typeof r)throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");S=function(e){let{activeClassName:t="",activeIndex:n=-1,activeStyle:r,autoEscape:o,caseSensitive:a=!1,children:i,findChunks:s,highlightClassName:d="",highlightStyle:c={},highlightTag:l="mark",sanitize:u,searchWords:p=[],unhighlightClassName:m="",unhighlightStyle:h}=e;if(!i)return null;if("string"!=typeof i)return i;const f=i,y=(0,Gm.findAll)({autoEscape:o,caseSensitive:a,findChunks:s,sanitize:u,searchWords:p,textToHighlight:f}),g=l;let v,_=-1,b="";return y.map(((e,o)=>{const i=f.substr(e.start,e.end-e.start);if(e.highlight){let e;_++,"object"==typeof d?a?e=d[i]:(d=Ym(d),e=d[i.toLowerCase()]):e=d;const s=_===+n;b=`${e} ${s?t:""}`,v=!0===s&&null!==r?Object.assign({},c,r):c;const l={children:i,className:b,key:o,style:v};return"string"!=typeof g&&(l.highlightIndex=_),(0,K.createElement)(g,l)}return(0,K.createElement)("span",{children:i,className:m,key:o,style:h})}))}({autoEscape:c,children:r,caseSensitive:l,searchWords:u,sanitize:p})}const C=Dt();let k;!0===v&&(k="auto"),!1===v&&(k="none");const T=function(e){const{className:t,children:n,ellipsis:r=Mm,ellipsizeMode:o=Lm.auto,limit:a=0,numberOfLines:i=0,...s}=Ft(e,"Truncate"),d=Dt(),c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t={...Dm,...arguments.length>1?arguments[1]:void 0},{ellipsis:n,ellipsizeMode:r,limit:o}=t;if(r===Lm.none)return e;let a,i;switch(r){case Lm.head:a=0,i=o;break;case Lm.middle:a=Math.floor(o/2),i=Math.floor(o/2);break;default:a=o,i=0}const s=r!==Lm.auto?function(e,t,n,r){if("string"!=typeof e)return"";const o=e.length,a=~~t,i=~~n,s=(0,J.isNil)(r)?Mm:r;return 0===a&&0===i||a>=o||i>=o||a+i>=o?e:0===i?e.slice(0,a)+s:e.slice(0,a)+s+e.slice(o-i)}(e,a,i,n):e;return s}("string"==typeof n?n:"",{ellipsis:r,ellipsizeMode:o,limit:a,numberOfLines:i}),l=o===Lm.auto;return{...s,className:(0,K.useMemo)((()=>{const e={};return e.numberOfLines=an("-webkit-box-orient:vertical;-webkit-line-clamp:",i,";display:-webkit-box;overflow:hidden;",""),d(l&&!i&&Nm,l&&!!i&&e.numberOfLines,t)}),[t,d,i,l]),children:c}}({...w,className:(0,K.useMemo)((()=>{const e={},r=function(e,t){if(t)return t;if(!e)return;let n=`calc(${tr.controlHeight} + ${cn(2)})`;switch(e){case"large":n=`calc(${tr.controlHeightLarge} + ${cn(2)})`;break;case"small":n=`calc(${tr.controlHeightSmall} + ${cn(2)})`;break;case"xSmall":n=`calc(${tr.controlHeightXSmall} + ${cn(2)})`}return n}(t,f);if(e.Base=an({color:a,display:d,fontSize:Xm(g),fontWeight:$,lineHeight:r,letterSpacing:h,textAlign:n},"",""),e.upperCase=Jm,e.optimalTextColor=null,y){const t="dark"==("#000000"===function(e){const t=Fm(e);return Mn(t).isLight()?"#000000":"#ffffff"}(y)?"dark":"light");e.optimalTextColor=an(t?{color:Zn.black}:{color:Zn.white},"","")}return C(Bm,e.Base,e.optimalTextColor,s&&zm,!!E&&Wm,m&&Um,x&&Hm,b&&B[b],_&&e.upperCase,o)}),[t,n,o,a,C,d,m,x,s,E,h,f,y,g,_,b,$]),children:r,ellipsizeMode:i||k});return!v&&Array.isArray(r)&&(S=K.Children.map(r,(e=>{return(0,J.isPlainObject)(e)&&"props"in e?(n=["Link"],(t=e)&&("string"==typeof n?Vt(t).includes(n):Array.isArray(n)&&n.some((e=>Vt(t).includes(e))))?(0,K.cloneElement)(e,{size:e.props.size||"inherit"}):e):e;var t,n}))),{...T,children:v?T.children:S}}const eh=Ut((function(e,t){const n=Qm(e);return(0,K.createElement)(Qt,Y({as:"span"},n,{ref:t}))}),"Text");var th={name:"1739oy8",styles:"z-index:1"};const nh=e=>{let{isFocused:t}=e;return t?th:""};var rh={name:"2o6p8u",styles:"justify-content:space-between"},oh={name:"14qk3ip",styles:"align-items:flex-start;flex-direction:column-reverse"},ah={name:"hbng6e",styles:"align-items:flex-start;flex-direction:column"};const ih=e=>{let{labelPosition:t}=e;switch(t){case"top":return ah;case"bottom":return oh;case"edge":return rh;default:return""}},sh=Xt(Hu,{target:"em5sgkm7"})("position:relative;border-radius:2px;padding-top:0;",nh," ",ih,";");var dh={name:"wyxldh",styles:"margin:0 !important"},ch={name:"1d3w5wq",styles:"width:100%"};const lh=Xt("div",{target:"em5sgkm6"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",(e=>{let{disabled:t}=e;return an({backgroundColor:t?Zn.ui.backgroundDisabled:Zn.ui.background},"","")})," ",(e=>{let{hideLabel:t}=e;return t?dh:null})," ",(e=>{let{__unstableInputWidth:t,labelPosition:n}=e;return t?"side"===n?"":an("edge"===n?{flex:`0 0 ${t}`}:{width:t},"",""):ch}),";"),uh=Xt("input",{target:"em5sgkm5"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",Zn.black,";display:block;font-family:inherit;margin:0;outline:none;width:100%;",(e=>{let t,n,{isDragging:r,dragCursor:o}=e;return r&&(t=an("cursor:",o,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),r&&o&&(n=an("&:active{cursor:",o,";}","")),an(t," ",n,";","")})," ",(e=>{let{disabled:t}=e;return t?an({color:Zn.ui.textDisabled},"",""):""})," ",(e=>{let{inputSize:t}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"},r=n[t]||n.default;return r?an("font-size:","16px",";@media ( min-width: 600px ){font-size:",r,";}",""):""})," ",(e=>{let{inputSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30,paddingLeft:8,paddingRight:8},small:{height:24,lineHeight:1,minHeight:24,paddingLeft:8,paddingRight:8},"__unstable-large":{height:40,lineHeight:1,minHeight:40,paddingLeft:16,paddingRight:16}};return an(n[t]||n.default,"","")})," &::-webkit-input-placeholder{line-height:normal;}}"),ph=e=>{let{labelPosition:t}=e,n=8;return"edge"!==t&&"side"!==t||(n=0),an({marginTop:0,marginRight:0,marginBottom:n,marginLeft:0},"","")},mh=Xt(eh,{target:"em5sgkm4"})("&&&{box-sizing:border-box;color:currentColor;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;",ph," overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}"),hh=e=>(0,K.createElement)(mh,Y({},e,{as:"label"})),fh=Xt(Wu,{target:"em5sgkm3"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),yh=Xt("div",{target:"em5sgkm2"})("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",(e=>{let t,{disabled:n,isFocused:r}=e,o=r?Zn.ui.borderFocus:Zn.ui.border;return r&&(t=`0 0 0 1px ${Zn.ui.borderFocus} inset`),n&&(o=Zn.ui.borderDisabled),an({boxShadow:t,borderColor:o,borderStyle:"solid",borderWidth:1},"","")})," ",Uu({paddingLeft:2}),";}"),gh=Xt("span",{target:"em5sgkm1"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),vh=Xt("span",{target:"em5sgkm0"})({name:"jgf79h",styles:"align-items:center;align-self:stretch;box-sizing:border-box;display:flex"}),_h=(0,K.memo)((function(e){let{disabled:t=!1,isFocused:n=!1}=e;return(0,K.createElement)(yh,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:t,isFocused:n})})),bh=_h;function $h(e){let{children:t,hideLabelFromVision:n,htmlFor:r,...o}=e;return t?n?(0,K.createElement)(en,{as:"label",htmlFor:r},t):(0,K.createElement)(hh,Y({htmlFor:r},o),t):null}const wh=(0,K.forwardRef)((function e(t,n){let{__unstableInputWidth:r,children:o,className:a,disabled:i=!1,hideLabelFromVision:s=!1,labelPosition:d,id:c,isFocused:l=!1,label:u,prefix:p,size:m="default",suffix:h,...f}=t;const y=function(t){const n=(0,Or.useInstanceId)(e);return t||`input-base-control-${n}`}(c),g=s||!u;return(0,K.createElement)(sh,Y({},f,function(e){const t={};switch(e){case"top":t.direction="column",t.gap=0;break;case"bottom":t.direction="column-reverse",t.gap=0;break;case"edge":t.justify="space-between"}return t}(d),{className:a,isFocused:l,labelPosition:d,ref:n}),(0,K.createElement)(fh,null,(0,K.createElement)($h,{className:"components-input-control__label",hideLabelFromVision:s,labelPosition:d,htmlFor:y,size:m},u)),(0,K.createElement)(lh,{__unstableInputWidth:r,className:"components-input-control__container",disabled:i,hideLabel:g,labelPosition:d},p&&(0,K.createElement)(gh,{className:"components-input-control__prefix"},p),o,h&&(0,K.createElement)(vh,{className:"components-input-control__suffix"},h),(0,K.createElement)(bh,{disabled:i,isFocused:l})))})),Sh=Xt("select",{target:"e1mv6sxx1"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",Zn.black,";display:block;font-family:inherit;margin:0;width:100%;",(e=>{let{disabled:t}=e;return t?an({color:Zn.ui.textDisabled},"",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"}[t];return n?an("font-size:","16px",";@media ( min-width: 600px ){font-size:",n,";}",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24},"__unstable-large":{height:40,lineHeight:1,minHeight:40}};return an(n[t]||n.default,"","")}),";",(e=>{let{selectSize:t="default"}=e;return Uu({default:{paddingLeft:8,paddingRight:24},small:{paddingLeft:8,paddingRight:24},"__unstable-large":{paddingLeft:16,paddingRight:32}}[t])}),";}"),Eh=Xt("div",{target:"e1mv6sxx0"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",Uu({right:0})," svg{display:block;}");const xh=(0,K.forwardRef)((function e(t,n){let{className:r,disabled:o=!1,help:a,hideLabelFromVision:i,id:s,label:d,multiple:c=!1,onBlur:l=J.noop,onChange:u=J.noop,onFocus:p=J.noop,options:m=[],size:h="default",value:f,labelPosition:y="top",children:g,prefix:v,suffix:_,...b}=t;const[$,w]=(0,K.useState)(!1),S=function(t){const n=(0,Or.useInstanceId)(e);return t||`inspector-select-control-${n}`}(s),E=a?`${S}__help`:void 0;if((0,J.isEmpty)(m)&&!g)return null;const x=X()("components-select-control",r);return(0,K.createElement)(Wr,{help:a,id:S},(0,K.createElement)(wh,{className:x,disabled:o,hideLabelFromVision:i,id:S,isFocused:$,label:d,size:h,suffix:_||(0,K.createElement)(Eh,null,(0,K.createElement)(tn,{icon:Im,size:18})),prefix:v,labelPosition:y},(0,K.createElement)(Sh,Y({},b,{"aria-describedby":E,className:"components-select-control__input",disabled:o,id:S,multiple:c,onBlur:e=>{l(e),w(!1)},onChange:e=>{if(c){const t=Array.from(e.target.options).filter((e=>{let{selected:t}=e;return t})),n=t.map((e=>{let{value:t}=e;return t}));u(n)}else u(e.target.value,{event:e})},onFocus:e=>{p(e),w(!0)},ref:n,selectSize:h,value:f}),g||m.map(((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return(0,K.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))})),Ch=()=>{const[e,t]=(()=>{const{updateExportLanguage:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getExportLanguage())),e]})();return V().createElement("div",{className:"reporting-export-language"},V().createElement(xh,{label:(0,Q.__)("Language","woocommerce-payments"),value:e,onChange:e=>{t(e)},options:[{label:(0,Q.__)("English (United States)","woocommerce-payments"),value:"en_US"},{label:(0,Q.__)("Site Language - ","woocommerce-payments")+wcpaySettings.locale.native_name,value:wcpaySettings.locale.code}]}),V().createElement("p",{className:"reporting-settings__text--help-text"},gl({mixedString:(0,Q.__)("You can change your global site language preferences in {{learnMoreLink}}General Settings{{/learnMoreLink}}.","woocommerce-payments"),components:{learnMoreLink:V().createElement(rn,{href:(0,Po.addQueryArgs)("options-general.php")})}})))},kh=()=>V().createElement(V().Fragment,null,V().createElement(Rr,{className:"reporting-settings"},V().createElement(Tl,null,V().createElement("h4",null,V().createElement("span",{id:"reporting-card-title"},(0,Q.__)("Report exporting default language","woocommerce-payments"))),V().createElement(Ch,null)))),Th=n.p+"../assets/images/logo.svg?ver=cc343b18b042f1622414",Ah=e=>(0,ml.jsx)("img",{src:Th,width:"241",height:"64",alt:(0,Q.__)("WooPayments logo","woocommerce-payments"),...e}),Ph=({style:e})=>{let t,n,r,o="woocommerce-payments-banner";return"account-page"===e?(t=196,n=65,r=!0,o+=" account-page"):(t=257,n=70,r=!1),(0,ml.jsx)(Rr,{size:"large",className:o,children:(0,ml.jsxs)(kl,{children:[(0,ml.jsx)(Ah,{width:t,height:n,className:"woocommerce-payments-banner-logo"}),r&&(0,ml.jsx)("div",{className:"woocommerce-payments-banner-pill",children:(0,ml.jsx)("div",{children:(0,Q.__)("Recommended","woocommerce-payments")})})]})})},Rh=({children:e,displayBanner:t=!0})=>(0,ml.jsxs)("div",{className:"wcpay-settings-layout",children:[t&&(0,ml.jsx)(Ph,{}),e]}),Oh=({isLoading:e,display:t,placeholder:n,value:r,children:o})=>e?U.createElement("span",{className:t?`is-loadable-placeholder is-${t}`:"is-loadable-placeholder","aria-busy":"true"},void 0===n?o||r:n):U.createElement(U.Fragment,null,o||r),Ih=e=>{const t=U.createElement("p",{style:{lineHeight:e.numLines}},"Block placeholder");return U.createElement(Oh,Object.assign({},e,{placeholder:t,display:"block"}))},Nh=Oh,Mh=n.p+"../assets/images/woopay.svg?ver=182127aba8ef46006ea8",Lh=({onRequestClose:e})=>{const[t,n]=(0,U.useState)(!0);return(0,ml.jsx)(fm,{title:(0,ml.jsx)("img",{src:Mh,alt:(0,Q.__)("WooPay Logo","woocommerce-payments"),className:"woopay-disable-feedback-logo"}),isDismissible:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!0,onRequestClose:e,className:"woopay-disable-feedback",children:(0,ml.jsx)(Nh,{isLoading:t,children:(0,ml.jsx)("iframe",{title:(0,Q.__)("WooPay Disable Feedback","woocommerce-payments"),src:"https://woocommerce.survey.fm/woopay-disabled-merchants-feedback-triggered",className:"woopay-disable-feedback-iframe",onLoad:()=>{n(!1)}})})})},Dh=({disabled:e=!1})=>{const{saveSettings:t,isSaving:n,isLoading:r,isDirty:o}=Id(),a=(0,Gr.useSelect)((e=>e(Zr).getSettings())),[i,s]=(0,U.useState)(null),[d,c]=(0,U.useState)(null),[l,u]=(0,U.useState)(!1);return null===i&&a&&void 0!==a.is_payment_request_enabled&&s(a.is_payment_request_enabled),null===d&&a&&void 0!==a.is_woopay_enabled&&c(a.is_woopay_enabled),(0,ml.jsxs)(dm,{className:"save-settings-section",children:[(0,ml.jsx)(Cu,{isPrimary:!0,isBusy:n,disabled:n||r||e||!o,onClick:async()=>{if(await t()&&(i!==a.is_payment_request_enabled&&(bo("wcpay_payment_request_settings_change",{enabled:a.is_payment_request_enabled?"yes":"no"}),s(a.is_payment_request_enabled)),d&&!a.is_woopay_enabled)){const{woopayLastDisableDate:e}=wcpaySettings;if(e){const t=new Date(e),n=new Date,r=Math.abs(n-t);if(Math.ceil(r/864e5)<7)return}u(!0),s(!0),wcpaySettings.woopayLastDisableDate=new Date}},children:(0,Q.__)("Save changes","woocommerce-payments")}),l?(0,ml.jsx)(Lh,{onRequestClose:()=>u(!1)}):null]})},jh=(0,K.forwardRef)((function e(t,n){let{label:r,hideLabelFromVision:o,value:a,help:i,className:s,onChange:d,type:c="text",...l}=t;const u=`inspector-text-control-${(0,Or.useInstanceId)(e)}`;return(0,K.createElement)(Wr,{label:r,hideLabelFromVision:o,id:u,help:i,className:s},(0,K.createElement)("input",Y({className:"components-text-control__input",type:c,id:u,value:a,onChange:e=>d(e.target.value),"aria-describedby":i?u+"__help":void 0,ref:n},l)))})),Fh=()=>{const[e,t]=Pd(),[n]=(()=>{const{updateIsCardPresentEligible:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsCardPresentEligible())),e]})(),[r,o]=(0,K.useState)(!1),a=()=>{o(!1)};return V().createElement(V().Fragment,null,V().createElement(qr,{checked:e,onChange:e=>{e?o(!0):t(e)},"data-testid":"capture-later-checkbox",label:(0,Q.__)("Issue an authorization on checkout, and capture later","woocommerce-payments"),help:V().createElement("span",null,(0,Q.__)("Charge must be captured on the order details screen within 7 days of authorization, otherwise the authorization and order will be canceled.","woocommerce-payments"),n?gl({mixedString:(0,Q.__)(" The setting is not applied to {{a}}In-Person Payments{{/a}} (please note that In-Person Payments should be captured within 2 days of authorization).","woocommerce-payments"),components:{a:V().createElement(rn,{href:"https://woocommerce.com/in-person-payments/"})}}):"")}),r&&V().createElement(bm,{title:(0,Q.__)("Enable manual capture","woocommerce-payments"),actions:V().createElement(V().Fragment,null,V().createElement(Cu,{onClick:a,isSecondary:!0},(0,Q.__)("Cancel","woocommerce-payments")),V().createElement(Cu,{onClick:()=>{t(!0),o(!1)},isPrimary:!0},(0,Q.__)("Enable manual capture","woocommerce-payments"))),onRequestClose:a},V().createElement("strong",null,(0,Q.__)("Payments must be captured within 7 days or the authorization will expire and money will be returned to the shopper.","woocommerce-payments")),V().createElement("p",null,(0,Q.__)("Additionally, only card payments support manual capture. Non-card payments will be hidden from checkout.","woocommerce-payments")),V().createElement("p",null,(0,Q.__)("Do you want to continue?","woocommerce-payments"))))};var Bh=n(603),Uh=n.n(Bh),Vh=n(4183),zh=n.n(Vh);const Hh=e=>{var{onValueChange:t,value:n,onValidationChange:r=e=>e,onCountryDropdownClick:o,inputProps:a={label:"",ariaLabel:"",name:""},isBlocksCheckout:i}=e,s=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,["onValueChange","value","onValidationChange","onCountryDropdownClick","inputProps","isBlocksCheckout"]);const[d,c]=(0,U.useState)(!1),[l,u]=(0,U.useState)(null),p=(0,U.useRef)(null);return(0,U.useEffect)((()=>{var e,n,a;let i=null;const s=p.current,c=()=>{i&&(d||i.getNumber())&&(t(i.getNumber()),r(i.isValidNumber()))};let l={initialCountry:"US",onlyCountries:[]};if("undefined"!=typeof wcpaySettings&&"JP"===(null!==(n=null===(e=null===wcpaySettings||void 0===wcpaySettings?void 0:wcpaySettings.accountStatus)||void 0===e?void 0:e.country)&&void 0!==n?n:"")&&(l={initialCountry:"JP",onlyCountries:["JP"]}),s){i=Uh()(s,Object.assign({customPlaceholder:()=>"",separateDialCode:!0,hiddenInput:"full",utilsScript:zh(),dropdownContainer:document.body,formatOnDisplay:!1},l)),u(i),s.addEventListener("countrychange",c);const e=null===(a=s.closest(".iti"))||void 0===a?void 0:a.querySelector(".iti__flag-container");e&&o&&e.addEventListener("click",o)}return()=>{var e;if(i){i.destroy(),s&&s.removeEventListener("countrychange",c);const t=null===(e=null==s?void 0:s.closest(".iti"))||void 0===e?void 0:e.querySelector(".iti__flag-container");t&&o&&t.removeEventListener("click",o)}}}),[t,r,o,d]),(0,U.useEffect)((()=>{l&&p.current&&(d||l.getNumber())&&(l.setNumber(n),r(l.isValidNumber()))}),[n,l,p,r,d]),V().createElement("div",{className:i?"wc-block-components-text-input":""},V().createElement("input",Object.assign({type:"tel",ref:p,value:(m=n,l?m.replace("+"+l.getSelectedCountryData().dialCode,""):m),onBlur:()=>{c(!0)},onChange:()=>{l&&(t(l.getNumber()),r(l.isValidNumber()))},placeholder:(0,Q.__)("Mobile number","woocommerce-payments"),"aria-label":a.ariaLabel||(0,Q.__)("Mobile phone number","woocommerce-payments"),name:a.name,className:l&&!l.isValidNumber()?"phone-input input-text has-error":"phone-input input-text"},s)));var m},Wh=({setInputVallid:e})=>{const[t,n]=(()=>{const{updateAccountBusinessSupportPhone:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getAccountBusinessSupportPhone())),e]})();let r=Fd()?.data?.details?.account_business_support_phone?.message;const o=(0,U.useRef)(t).current,a=""===t&&""===o,i=Ad(),s=i&&"+10000000000"===t,[d,c]=(0,U.useState)(!0);""===t&&(r=(0,Q.__)("Support phone number cannot be empty.","woocommerce-payments")),s||d||a||(r=(0,Q.__)("Please enter a valid phone number.","woocommerce-payments")),""===t&&""!==o&&(r=(0,Q.__)("Support phone number cannot be empty once it has been set before, please specify.","woocommerce-payments")),(0,U.useEffect)((()=>{e&&e(!r)}),[r,e]);let l=(0,Q.__)("Support phone number","woocommerce-payments");return i&&(l+=(0,Q.__)(" (+1 0000000000 can be used in sandbox mode)","woocommerce-payments")),(0,ml.jsxs)(ml.Fragment,{children:[r&&(0,ml.jsx)(Au,{status:"error",isDismissible:!1,children:(0,ml.jsx)("span",{children:r})}),(0,ml.jsx)(Wr,{className:"settings__account-business-support-phone-input no-top-margin",help:(0,Q.__)("This may be visible on receipts, invoices, and automated emails from your store.","woocommerce-payments"),label:l,id:"account-business-support-phone-input",children:(0,ml.jsx)(Hh,{onValueChange:n,value:t,onValidationChange:c,inputProps:{ariaLabel:l}})})]})},qh=({setInputVallid:e})=>{const[t,n]=(()=>{const{updateAccountBusinessSupportEmail:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getAccountBusinessSupportEmail())),e]})();let r=Fd()?.data?.details?.account_business_support_email?.message;const o=(0,U.useRef)(t).current;return""===t&&""!==o&&(r=(0,Q.__)("Support email cannot be empty once it has been set before, please specify.","woocommerce-payments")),(0,U.useEffect)((()=>{e&&e(!r)}),[r,e]),(0,ml.jsxs)(ml.Fragment,{children:[r&&(0,ml.jsx)(Au,{status:"error",isDismissible:!1,children:(0,ml.jsx)("span",{children:r})}),(0,ml.jsx)(jh,{className:"settings__account-business-support-email-input",help:(0,Q.__)("This may be visible on receipts, invoices, and automated emails from your store.","woocommerce-payments"),label:(0,Q.__)("Support email","woocommerce-payments"),value:t,onChange:n,"data-testid":"account-business-support-email-input"})]})},Gh=({setTransactionInputsValid:e})=>{const[t,n]=(()=>{const{updateIsSavedCardsEnabled:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsSavedCardsEnabled())),e]})(),[r,o]=(()=>{const{updateAccountStatementDescriptor:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getAccountStatementDescriptor())),e]})(),[a,i]=(()=>{const{updateAccountStatementDescriptorKanji:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getAccountStatementDescriptorKanji())),e]})(),[s,d]=(()=>{const{updateAccountStatementDescriptorKana:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getAccountStatementDescriptorKana())),e]})(),c=Fd()?.data?.details?.account_statement_descriptor?.message,[l,u]=(0,U.useState)(!0),[p,m]=(0,U.useState)(!0),h=(0,Gr.select)(Zr).getSettings();return(0,U.useEffect)((()=>{e&&e(l&&p)}),[l,p,e]),(0,ml.jsx)(Rr,{className:"transactions",children:(0,ml.jsxs)(Tl,{children:[(0,ml.jsx)("h4",{children:(0,Q.__)("Transaction preferences","woocommerce-payments")}),(0,ml.jsx)(qr,{checked:t,onChange:n,label:(0,Q.__)("Enable payments via saved cards","woocommerce-payments"),help:(0,Q.__)("When enabled, users will be able to pay with a saved card during checkout. Card details are stored in our platform, not on your store.","woocommerce-payments")}),(0,ml.jsx)(Fh,{}),(0,ml.jsx)("h4",{children:(0,Q.__)("Customer statements","woocommerce-payments")}),(0,ml.jsx)("p",{className:"transactions-customer-details",children:(0,Q.__)("Edit the way your store name appears on your customers' bank statements.","woocommerce-payments")}),(0,ml.jsxs)("div",{className:"transactions__customer-statements",children:[c&&(0,ml.jsx)(Au,{status:"error",isDismissible:!1,children:(0,ml.jsx)("span",{dangerouslySetInnerHTML:{__html:c}})}),(0,ml.jsx)(jh,{className:"transactions__account-statement-input",help:"JP"===h.account_country&&(0,Q.__)("Use only latin characters.","woocommerce-payments"),label:(0,Q.__)("Customer bank statement","woocommerce-payments"),value:r,onChange:o,maxLength:22,"data-testid":"store-name-bank-statement"}),(0,ml.jsx)("span",{className:"input-help-text","aria-hidden":"true",children:`${r.length} / 22`}),"JP"===h.account_country&&(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsxs)("div",{className:"transactions__customer-support",children:[(0,ml.jsx)(jh,{className:"transactions__account-statement-input",help:(0,Q.__)("Use only kanji characters.","woocommerce-payments"),label:(0,Q.__)("Customer bank statement (kanji)","woocommerce-payments"),value:a,onChange:i,maxLength:17,"data-testid":"store-name-bank-statement-kanji"}),(0,ml.jsx)("span",{className:"input-help-text","aria-hidden":"true",children:`${a.length} / 17`})]}),(0,ml.jsxs)("div",{className:"transactions__customer-support",children:[(0,ml.jsx)(jh,{className:"transactions__account-statement-input",help:(0,Q.__)("Use only kana characters.","woocommerce-payments"),label:(0,Q.__)("Customer bank statement (kana)","woocommerce-payments"),value:s,onChange:d,maxLength:22,"data-testid":"store-name-bank-statement-kana"}),(0,ml.jsx)("span",{className:"input-help-text","aria-hidden":"true",children:`${s.length} / 22`})]})]})]}),(0,ml.jsx)("h4",{children:(0,Q.__)("Customer support","woocommerce-payments")}),(0,ml.jsx)("p",{className:"transactions-customer-details",children:(0,Q.__)("Provide contact information where customers can reach you for support.","woocommerce-payments")}),(0,ml.jsxs)("div",{className:"transactions__customer-support",children:[(0,ml.jsx)(qh,{setInputVallid:u}),(0,ml.jsx)(Wh,{setInputVallid:m})]})]})})},Yh=({monthlyAnchor:e,capitalize:t=!0})=>{const n=Oo().locale().startsWith("en")?"en":Oo().locale();let r=Oo()().locale(n).date(e).format("Do");return 31===e&&(r=(0,Q.__)("Last day of the month","woocommerce-payments")),t||(r=r.toLowerCase()),r},Kh=window.wc.components,Zh=({updateAccountLink:e})=>{const t=e?(0,Po.addQueryArgs)(e,{from:"WCPAY_PAYOUTS",source:"wcpay-payout-failure-notice"}):"";return""!==e?V().createElement(Ku,{status:"warning",icon:!0,className:"deposit-failure-notice",isDismissible:!1},gl({mixedString:(0,Q.__)("Payouts are currently paused because a recent payout failed. Please {{updateLink}}update your bank account details{{/updateLink}}.","woocommerce-payments"),components:{updateLink:V().createElement(rn,{onClick:()=>bo("wcpay_account_details_link_clicked",{from:"WCPAY_PAYOUTS",source:"wcpay-payout-failure-notice"}),href:t})}})):null},Xh=[{label:(0,Q.__)("Monday","woocommerce-payments"),value:"monday"},{label:(0,Q.__)("Tuesday","woocommerce-payments"),value:"tuesday"},{label:(0,Q.__)("Wednesday","woocommerce-payments"),value:"wednesday"},{label:(0,Q.__)("Thursday","woocommerce-payments"),value:"thursday"},{label:(0,Q.__)("Friday","woocommerce-payments"),value:"friday"}],Jh=[...Array.from({length:28},((e,t)=>t+1)),31].map((e=>({value:e,label:Yh({monthlyAnchor:e})}))),Qh=()=>{const[e,t]=(()=>{const{updateDepositScheduleInterval:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getDepositScheduleInterval())),e]})(),[n,r]=(()=>{const{updateDepositScheduleWeeklyAnchor:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getDepositScheduleWeeklyAnchor())),e]})(),[o,a]=(()=>{const{updateDepositScheduleMonthlyAnchor:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getDepositScheduleMonthlyAnchor())),e]})(),i=(0,Gr.select)(Zr).getSettings();let s=[{value:"daily",label:(0,Q.__)("Daily","woocommerce-payments")},{value:"weekly",label:(0,Q.__)("Weekly","woocommerce-payments")},{value:"monthly",label:(0,Q.__)("Monthly","woocommerce-payments")}];return"JP"===i.account_country&&(s=s.slice(1)),(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsxs)("div",{className:"schedule-controls",children:[(0,ml.jsx)(xh,{label:(0,Q.__)("Frequency","woocommerce-payments"),value:e,onChange:e=>{switch(e){case"weekly":r(n||"monday");break;case"monthly":a(o||"1")}t(e)},options:s}),"monthly"===e&&(0,ml.jsx)(xh,{label:(0,Q.__)("Date","woocommerce-payments"),value:o,onChange:a,options:Jh}),"weekly"===e&&(0,ml.jsx)(xh,{label:(0,Q.__)("Day","woocommerce-payments"),value:n,onChange:r,options:Xh})]}),(0,ml.jsxs)("p",{className:"help-text",children:["monthly"===e&&(0,Q.__)("Payouts scheduled on a weekend will be sent on the next business day.","woocommerce-payments"),"weekly"===e&&(0,Q.__)("Payouts that fall on a holiday will initiate on the next business day.","woocommerce-payments"),"daily"===e&&(0,Q.__)("Payouts will occur every business day.","woocommerce-payments")]})]})},ef=()=>{const e=(0,Gr.useSelect)((e=>e(Zr).getDepositStatus()),[]),t=(0,Gr.useSelect)((e=>e(Zr).getDepositRestrictions())),n=(0,Gr.useSelect)((e=>e(Zr).getCompletedWaitingPeriod()));return"enabled"!==e||"schedule_restricted"===t?(0,ml.jsx)(Ku,{status:"warning",isDismissible:!1,icon:!0,children:gl({mixedString:(0,Q.__)("Payout scheduling is currently unavailable for your store. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),components:{learnMoreLink:(0,ml.jsx)("a",{href:"https://woocommerce.com/document/woopayments/payouts/payout-schedule/",target:"_blank",rel:"noreferrer noopener"})}})}):!0!==n?(0,ml.jsx)(Ku,{status:"warning",isDismissible:!1,icon:!0,children:gl({mixedString:(0,Q.__)("Your first payout will be held for 7-14 days. Payout scheduling will be available after this period. {{learnMoreLink}}Learn more{{/learnMoreLink}}","woocommerce-payments"),components:{learnMoreLink:(0,ml.jsx)("a",{href:"https://woocommerce.com/document/woopayments/payouts/payout-schedule/",target:"_blank",rel:"noreferrer noopener"})}})}):(0,ml.jsx)(Qh,{})},tf=()=>{var e;const{accountStatus:{accountLink:t}}=(0,U.useContext)(So),{overviews:n}=(0,Gr.useSelect)((e=>{const{getAllDepositsOverviews:t,getAllDepositsOverviewsError:n,isResolving:r,hasFinishedResolution:o}=e(Zr);return{overviews:t(),overviewError:n(),isLoading:!o("getAllDepositsOverviews")||r("getAllDepositsOverviews")}})),r=null!==(e=n.account?.default_external_accounts?.some((e=>"errored"===e.status)))&&void 0!==e&&e;return(0,ml.jsx)(Rr,{className:"deposits",children:(0,ml.jsxs)(Tl,{children:[(0,ml.jsx)("h4",{children:(0,Q.__)("Payout schedule","woocommerce-payments")}),(0,ml.jsx)(ef,{}),(0,ml.jsxs)("div",{className:"deposits__bank-information",children:[(0,ml.jsx)("h4",{children:(0,Q.__)("Payout bank account","woocommerce-payments")}),r?(0,ml.jsx)(Zh,{updateAccountLink:t}):(0,ml.jsxs)("p",{className:"deposits__bank-information-help",children:[(0,Q.__)("Manage and update your bank account information to receive payouts.","woocommerce-payments")," ",t&&(0,ml.jsx)(rn,{href:t,onClick:()=>{bo("wcpay_settings_deposits_manage_in_stripe_click"),bo("wcpay_account_details_link_clicked",{source:"settings-deposits"})},children:(0,Q.__)("Manage in Stripe","woocommerce-payments")})]})]})]})})},nf=({children:e,numLines:t})=>{const{isLoading:n}=Id();return(0,ml.jsx)(Ih,{isLoading:n,numLines:t,children:e})},rf=Ut((function(e,t){const n=function(e){const{className:t,isBorderless:n=!1,isShady:r=!1,size:o="medium",...a}=Ft(e,"CardHeader"),i=Dt();return{...a,className:(0,K.useMemo)((()=>i(dr,ur,pr,gr[o],n&&hr,r&&vr,"components-card__header",t)),[t,i,n,r,o])}}(e);return(0,K.createElement)(Hu,Y({},n,{ref:t}))}),"CardHeader");class of extends K.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){this.props.onError&&this.props.onError(e,t)}render(){return this.state.error?(0,ml.jsxs)(Ku,{icon:!0,status:"error",isDismissible:!1,children:[(0,Q.__)("There was an error rendering this view. Please contact support for assistance if the problem persists.","woocommerce-payments"),(0,ml.jsx)("br",{}),this.state.error.toString()]}):this.props.children}}const af=of;var sf,df,cf;!function(e){e.AFFIRM="affirm",e.AFTERPAY_CLEARPAY="afterpay_clearpay",e.AU_BECS_DEBIT="au_becs_debit",e.BANCONTACT="bancontact",e.CARD="card",e.CARD_PRESENT="card_present",e.EPS="eps",e.KLARNA="klarna",e.GIROPAY="giropay",e.IDEAL="ideal",e.LINK="link",e.P24="p24",e.SEPA_DEBIT="sepa_debit",e.SOFORT="sofort"}(cf||(cf={}));const lf=(null===(df=null===(sf=window.wcpaySettings)||void 0===sf?void 0:sf.accountStatus)||void 0===df?void 0:df.country)||"US",uf=((0,Q.__)("ACH Credit Transfer","woocommerce-payments"),(0,Q.__)("ACH Debit","woocommerce-payments"),(0,Q.__)("ACSS Debit","woocommerce-payments"),(0,Q.__)("Affirm","woocommerce-payments"),"GB"===lf?(0,Q.__)("Clearpay","woocommerce-payments"):(0,Q.__)("Afterpay","woocommerce-payments"),(0,Q.__)("Alipay","woocommerce-payments"),(0,Q.__)("American Express","woocommerce-payments"),(0,Q.__)("AU BECS Debit","woocommerce-payments"),(0,Q.__)("Bancontact","woocommerce-payments"),(0,Q.__)("Card Payment","woocommerce-payments"),(0,Q.__)("In-Person Card Payment","woocommerce-payments"),(0,Q.__)("Cartes Bancaires","woocommerce-payments"),(0,Q.__)("Diners Club","woocommerce-payments"),(0,Q.__)("Discover","woocommerce-payments"),(0,Q.__)("EPS","woocommerce-payments"),(0,Q.__)("giropay","woocommerce-payments"),(0,Q.__)("iDEAL","woocommerce-payments"),(0,Q.__)("JCB","woocommerce-payments"),(0,Q.__)("Klarna","woocommerce-payments"),(0,Q.__)("Link","woocommerce-payments"),(0,Q.__)("Mastercard","woocommerce-payments"),(0,Q.__)("Multibanco","woocommerce-payments"),(0,Q.__)("P24","woocommerce-payments"),(0,Q.__)("SEPA Debit","woocommerce-payments"),(0,Q.__)("SOFORT","woocommerce-payments"),(0,Q.__)("Stripe Account","woocommerce-payments"),(0,Q.__)("Union Pay","woocommerce-payments"),(0,Q.__)("Visa","woocommerce-payments"),(0,Q.__)("WeChat","woocommerce-payments"),cf),pf={PENDING_VERIFICATION:"pending_verification",PENDING_APPROVAL:"pending",ACTIVE:"active",INACTIVE:"inactive",UNREQUESTED:"unrequested",REJECTED:"rejected"},mf=e=>Number((100*e).toFixed(3)),hf={AE:"united-arab-emirates",AU:"australia",AT:"austria",BE:"belgium",BG:"bulgaria",CA:"canada",CY:"cyprus",CZ:"czech-republic",FR:"france",LU:"luxembourg",DE:"germany",DK:"denmark",EE:"estonia",FI:"finland",GR:"greece",HK:"hong-kong",HR:"croatia",HU:"hungary",IE:"ireland",IT:"italy",JP:"japan",LT:"lithuania",LV:"latvia",MT:"malta",NL:"netherlands",NO:"norway",NZ:"new-zealand",PL:"poland",PT:"portugal",SG:"singapore",SI:"slovenia",SK:"slovakia",SW:"sweden",ES:"spain",CH:"switzerland",UK:"united-kingdom",US:"united-states",RO:"romania"},ff=e=>(0,Q.sprintf)("%s%s","https://woocommerce.com/document/woopayments/fees-and-debits/fees/#",hf[e]),yf=(e,t=1)=>e.fixed_rate&&e.percentage_rate?(0,Q.sprintf)("%1$f%% + %2$s",mf(e.percentage_rate*t),ko(e.fixed_rate*t,e.currency)):e.fixed_rate?(0,Q.sprintf)("%1$s",ko(e.fixed_rate*t,e.currency)):e.percentage_rate?(0,Q.sprintf)("%1$f%%",mf(e.percentage_rate*t)):"",gf=e=>{if(!e)return V().createElement(V().Fragment,null);const t=e.discount.length&&e.discount[0].discount?1-e.discount[0].discount:1,n={percentage_rate:e.base.percentage_rate*t+e.additional.percentage_rate*t+e.fx.percentage_rate,fixed_rate:e.base.fixed_rate*t+e.additional.fixed_rate*t+e.fx.fixed_rate,currency:e.base.currency},r=e=>e.fixed_rate>0||e.percentage_rate>0;return V().createElement("div",{className:"wcpay-fees-tooltip"},V().createElement("div",null,V().createElement("div",null,(0,Q.__)("Base fee","woocommerce-payments")),V().createElement("div",null,yf(e.base,t))),r(e.additional)?V().createElement("div",null,V().createElement("div",null,(0,Q.__)("International payment method fee","woocommerce-payments")),V().createElement("div",null,yf(e.additional,t))):"",r(e.fx)?V().createElement("div",null,V().createElement("div",null,(0,Q.__)("Currency conversion fee","woocommerce-payments")),V().createElement("div",null,yf(e.fx))):"",V().createElement("div",null,V().createElement("div",null,(0,Q.__)("Total per transaction","woocommerce-payments")),V().createElement("div",{className:"wcpay-fees-tooltip__bold"},yf(n))),wcpaySettings&&wcpaySettings.connect&&wcpaySettings.connect.country?V().createElement("div",{className:"wcpay-fees-tooltip__hint-text"},V().createElement("span",null,(o=wcpaySettings.connect.country,hf.hasOwnProperty(o)?gl({mixedString:(0,Q.sprintf)((0,Q.__)("{{linkToStripePage /}} about %s Fees in your country","woocommerce-payments"),"WooPayments"),components:{linkToStripePage:V().createElement(rn,{href:ff(wcpaySettings.connect.country)},(0,Q.__)("Learn more","woocommerce-payments"))}}):gl({mixedString:(0,Q.sprintf)((0,Q.__)("{{linkToStripePage /}} about %s Fees","woocommerce-payments"),"WooPayments"),components:{linkToStripePage:V().createElement(rn,{href:"https://woocommerce.com/document/woopayments/fees-and-debits/fees/"},(0,Q.__)("Learn more","woocommerce-payments"))}})))):"");var o},vf=e=>e?((e,t={})=>{const n=e.base,r=(e=>e.discount.length?e.discount[0]:e.base)(e),o=Object.assign({fee:(0,Q.__)("%1$f%% + %2$s per transaction","woocommerce-payments"),discount:(0,Q.__)("(%f%% discount)","woocommerce-payments"),displayBaseFeeIfDifferent:!0},t),a=(0,Q.sprintf)(o.fee,mf(n.percentage_rate),ko(n.fixed_rate,n.currency));if(r.percentage_rate!==n.percentage_rate||r.fixed_rate!==n.fixed_rate||r.currency!==n.currency){const e=r;let t,i;e.discount?(t=n.percentage_rate*(1-e.discount),i=n.fixed_rate*(1-e.discount)):(t=r.percentage_rate,i=r.fixed_rate);let s=(0,Q.sprintf)(o.fee,mf(t),ko(i,n.currency));o.displayBaseFeeIfDifferent&&(s=(0,Q.sprintf)((0,Q.__)("<s>%1$s</s> %2$s","woocommerce-payments"),a,s)),e.discount&&0<o.discount.length&&(s+=" "+(0,Q.sprintf)(o.discount,mf(e.discount)));const d={s:V().createElement("s",null)};return(0,K.createInterpolateElement)(s,d)}return a})(e,{fee:(0,Q.__)("From %1$f%% + %2$s","woocommerce-payments"),discount:"",displayBaseFeeIfDifferent:!1}):(0,Q.__)("missing fees","woocommerce-payments"),_f=({message:e,type:t="primary",className:n,tooltip:r})=>{const o=["chip",`chip-${t}`,null!=n?n:""];return r?V().createElement(dp,{content:r},V().createElement("span",{className:o.join(" ").trim()},e)):V().createElement("span",{className:o.join(" ").trim()},e)},bf=({label:e,checked:t=!1,disabled:n=!1,onChange:r,hideLabel:o=!1,isAllowingManualCapture:a=!1,isSetupRequired:i=!1,setupTooltip:s="",delayMsOnCheck:d=0,delayMsOnUncheck:c=0,needsAttention:l=!1})=>{const[u,p]=(0,U.useState)(!1),[m,h]=(0,U.useState)(t),[f]=Pd();return(0,U.useEffect)((()=>{h(t)}),[h,t]),(0,ml.jsxs)("div",{className:X()("loadable-checkbox",{"label-hidden":o}),children:[u&&(0,ml.jsx)("div",{className:"loadable-checkbox__spinner",children:(0,ml.jsx)("svg",{width:"131px",height:"131px",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",children:(0,ml.jsx)("circle",{cx:"50",cy:"50",fill:"none",stroke:"#ffffff",strokeWidth:"12",r:"32",strokeDasharray:"150.79644737231007 52.26548245743669",children:(0,ml.jsx)("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1.4492753623188404s",values:"0 50 50;360 50 50",keyTimes:"0;1"})})})}),f&&!a||i||l?(0,ml.jsx)("div",{className:"loadable-checkbox__icon",style:{marginRight:"16px"},children:(0,ml.jsx)(dp,{content:s,className:"wcpay-tooltip__tooltip--dark",children:(0,ml.jsxs)("div",{children:[(0,ml.jsx)(Gu.A,{style:{color:"#F0B849",fill:"currentColor",marginBottom:"-5px"},size:20}),(0,ml.jsx)("div",{className:"loadable-checkbox__icon-warning","data-testid":"loadable-checkbox-icon-warning",children:(0,ml.jsx)(en,{children:(0,Q.sprintf)((0,Q.__)("%s cannot be enabled at checkout. Click to expand.","woocommerce-payments"),e)})})]})})}):(0,ml.jsx)(qr,{label:e,checked:m,disabled:n,onChange:e=>(e=>{const t=e?d:c;t>0?(p(!0),setTimeout((()=>{r(e),p(!1)}),t)):r(e)})(e)})]})},$f=e=>{let t;switch(e){case uf.AFTERPAY_CLEARPAY:case uf.AFFIRM:case uf.KLARNA:t="https://woocommerce.com/document/woopayments/payment-methods/buy-now-pay-later/#contact-support";break;default:t="https://woocommerce.com/document/woopayments/payment-methods/additional-payment-methods/#method-cant-be-enabled"}return t},wf=({type:e="",className:t="",children:n})=>{const r=X()("wcpay-pill"+(["primary","success","alert","danger","light"].includes(e)?"__"+e:""),t);return V().createElement(Kh.Pill,{className:r},n)},Sf=({label:e,required:t,status:n,disabled:r})=>V().createElement(V().Fragment,null,e,t&&V().createElement("span",{className:"payment-method__required-label"},"("+(0,Q.__)("Required","woocommerce-payments")+")"),pf.PENDING_APPROVAL===n&&V().createElement(_f,{message:(0,Q.__)("Pending approval","woocommerce-payments"),type:"warning"}),pf.REJECTED===n&&V().createElement(_f,{message:(0,Q.__)("Rejected","woocommerce-payments"),type:"alert"}),pf.PENDING_VERIFICATION===n&&V().createElement(_f,{message:(0,Q.__)("Pending activation","woocommerce-payments"),type:"warning"}),r&&V().createElement(_f,{message:(0,Q.__)("More information needed","woocommerce-payments"),type:"warning"})),Ef=({id:e,label:t,Icon:n=()=>null,description:r,status:o,checked:a,onCheckClick:i,onUncheckClick:s,className:d,isAllowingManualCapture:c,isSetupRequired:l,setupTooltip:u,required:p,locked:m,isPoEnabled:h,isPoComplete:f})=>{const y=h&&!f&&o!==pf.ACTIVE,g=pf.INACTIVE===o||y,{accountFees:v}=(0,U.useContext)(So),[_]=Pd(),b=[pf.INACTIVE,pf.PENDING_APPROVAL,pf.PENDING_VERIFICATION].includes(o)||y||pf.REJECTED===o,$="sofort"===e,{duplicates:w,dismissedDuplicateNotices:S,setDismissedDuplicateNotices:E}=(0,U.useContext)(om),x=Object.keys(w).includes(e),C=_&&!c||l||b;return V().createElement("li",{className:X()("payment-method__list-item",{"has-icon-border":"card"!==e,overlay:C},d)},V().createElement("div",{className:"payment-method"},V().createElement("div",{className:"payment-method__checkbox"},V().createElement(bf,{label:t,checked:a,disabled:g||m,onChange:t=>{if(!m)return t?i(e):s(e)},hideLabel:!0,isAllowingManualCapture:c,isSetupRequired:l,setupTooltip:(e=>{var n;return pf.PENDING_APPROVAL===o?(0,Q.__)("This payment method is pending approval. Once approved, you will be able to use it.","woocommerce-payments"):pf.PENDING_VERIFICATION===o?(0,Q.sprintf)((0,Q.__)("%s won't be visible to your customers until you provide the required information. Follow the instructions sent by our partner Stripe to %s.","woocommerce-payments"),t,null!==(n=null===wcpaySettings||void 0===wcpaySettings?void 0:wcpaySettings.accountEmail)&&void 0!==n?n:""):pf.REJECTED===o?gl({mixedString:(0,Q.__)("Please {{contactSupportLink}}contact support{{/contactSupportLink}} for more details.","woocommerce-payments"),components:{contactSupportLink:V().createElement("a",{target:"_blank",rel:"noreferrer",title:(0,Q.__)("Contact Support","woocommerce-payments"),href:"https://woocommerce.com/my-account/contact-support/"})}}):l?u:b?gl({mixedString:(0,Q.__)("We need more information from you to enable this method. {{learnMoreLink}}Learn more.{{/learnMoreLink}}","woocommerce-payments"),components:{learnMoreLink:V().createElement("a",{target:"_blank",rel:"noreferrer",title:(0,Q.__)("Learn more about enabling payment methods","woocommerce-payments"),href:y?"https://woocommerce.com/document/woopayments/startup-guide/gradual-signup/#additional-payment-methods":$f(e)})}}):(0,Q.sprintf)((0,Q.__)('%s is not available to your customers when the "manual capture" setting is enabled.',"woocommerce-payments"),t)})(e),needsAttention:b})),V().createElement("div",{className:"payment-method__text-container"},V().createElement("div",{className:"payment-method__icon"},V().createElement(n,null)),V().createElement("div",{className:"payment-method__label payment-method__label-mobile"},V().createElement(Sf,{label:t,required:p,status:o,disabled:g})),V().createElement("div",{className:"payment-method__text"},V().createElement("div",{className:"payment-method__label-container"},V().createElement("div",{className:"payment-method__label payment-method__label-desktop"},V().createElement(Sf,{label:t,required:p,status:o,disabled:g})),V().createElement("div",{className:"payment-method__description"},r)),v&&v[e]&&V().createElement("div",{className:"payment-method__fees"},V().createElement(dp,{maxWidth:"300px",content:gf(v[e])},V().createElement(wf,{"aria-label":(0,Q.sprintf)((0,Q.__)("Base transaction fees: %s","woocommerce-payments"),vf(v[e]))},V().createElement("span",null,vf(v[e])))))))),$&&V().createElement(Ku,{status:"warning",icon:!0,isDismissible:!1,className:"sofort__notice"},V().createElement("span",null,(0,Q.__)("Support for Sofort is ending soon. ","woocommerce-payments"),V().createElement("a",{href:"https://woocommerce.com/document/woopayments/payment-methods/additional-payment-methods/#sofort-migration",target:"_blank",rel:"external noreferrer noopener"},(0,Q.__)("Learn more","woocommerce-payments")))),x&&V().createElement(rm,{paymentMethod:e,gatewaysEnablingPaymentMethod:w[e],dismissedNotices:S,setDismissedDuplicateNotices:E}))};var xf=n(5491);const Cf=({hasBorder:e,icon:t=()=>null})=>V().createElement("div",{className:"payment-confirm-illustration__wrapper"},V().createElement("div",{className:"payment-confirm-illustration__illustrations"},V().createElement(t,{className:X()("payment-confirm-illustration__payment-icon",{"has-border":e})}),V().createElement(xf.A,{className:"payment-confirm-illustration__payment-question-mark-icon"}))),kf={"individual.id_number":(0,Q.__)("Personal Identification Number","woocommerce-payments"),"business_profile.url":(0,Q.__)("Business Website","woocommerce-payments"),"company.tax_id":(0,Q.__)("Business Number","woocommerce-payments")},Tf=({paymentMethod:e,requirements:t,onClose:n,onConfirmClose:r})=>{var o;const a=t.filter((e=>kf.hasOwnProperty(e))),i=Am[e];return V().createElement(bm,{title:(0,Q.sprintf)((0,Q.__)("One more step to enable %s","woocommerce-payments"),i.label),shouldCloseOnClickOutside:!1,onRequestClose:n,className:"wcpay-payment-method-confirmation-modal",actions:V().createElement(V().Fragment,null,V().createElement(Cu,{isSecondary:!0,onClick:n},(0,Q.__)("Cancel","woocommerce-payments")),V().createElement(Cu,{isPrimary:!0,onClick:r},(0,Q.__)("Continue","woocommerce-payments")))},V().createElement(Cf,{icon:i.icon,hasBorder:"card"!==i.id}),0<a.length?V().createElement(V().Fragment,null,V().createElement("p",null,(0,Q.sprintf)((0,Q.__)("You need to provide more information to enable %s on your checkout:","woocommerce-payments"),i.label)),V().createElement("ul",{className:"payment-method-requirements-list"},a.map(((e,t)=>{var n;return V().createElement("li",{key:"requirement"+t},null!==(n=kf[e])&&void 0!==n?n:e)})))):V().createElement("p",null,(0,Q.sprintf)((0,Q.__)("You need to provide more information to enable %s on your checkout.","woocommerce-payments"),i.label)),V().createElement("p",null,gl({mixedString:(0,Q.__)("If you choose to continue, our payment partner Stripe will send an e-mail to {{merchantEmail /}} to collect the required information","woocommerce-payments"),components:{merchantEmail:V().createElement("b",null,null!==(o=null===wcpaySettings||void 0===wcpaySettings?void 0:wcpaySettings.accountEmail)&&void 0!==o?o:"")}})))},Af=({id:e,label:t,icon:n,onConfirm:r,onCancel:o})=>{const a="sofort"===e;return V().createElement(bm,{title:(0,Q.sprintf)((0,Q.__)("Remove %1$s from checkout","woocommerce-payments"),t),onRequestClose:o,actions:V().createElement(V().Fragment,null,V().createElement(Cu,{onClick:r,isPrimary:!0,isDestructive:!0},(0,Q.__)("Remove","woocommerce-payments")),V().createElement(Cu,{onClick:o,isSecondary:!0},(0,Q.__)("Cancel","woocommerce-payments")))},V().createElement(Em,{icon:n,hasBorder:"card"!==e}),V().createElement("p",null,gl({mixedString:(0,Q.sprintf)((0,Q.__)("Are you sure you want to remove {{strong}}%s{{/strong}}? Your customers will no longer be able to pay using %s.","woocommerce-payments"),t,t),components:{strong:V().createElement("strong",null)}})),V().createElement("p",null,gl({mixedString:(0,Q.__)("You can add it again at any time in {{wooCommercePaymentsLink /}}.","woocommerce-payments"),components:{wooCommercePaymentsLink:V().createElement("a",{href:"admin.php?page=wc-settings&tab=checkout&section=woocommerce_payments"},"WooPayments")}})),a&&V().createElement(Ku,{status:"warning",icon:!0,isDismissible:!1,className:"sofort__notice"},V().createElement("span",null,(0,Q.__)("As of October 20th 2023, Sofort is no longer supported for merchants who are not already using it. This means that if you disable Sofort, you will not be able to re-enable it later. ","woocommerce-payments"),V().createElement("a",{href:"https://woocommerce.com/document/woopayments/payment-methods/additional-payment-methods/#sofort-migration",target:"_blank",rel:"external noreferrer noopener"},(0,Q.__)("Learn more","woocommerce-payments")))))},Pf=[{id:"jcb",label:(0,Q.__)("JCB","woocommerce-payments"),country:"JP",states:{unrequested:{status:"info",content:(0,Q.__)("Enable JCB for your customers, the only international payment brand based in Japan.","woocommerce-payments"),actions:"request",actionsLabel:(0,Q.__)("Enable JCB","woocommerce-payments")},pending_verification:{status:"warning",content:(0,Q.__)("To enable JCB for your customers, you need to provide more information.","woocommerce-payments"),actions:"link",actionUrl:"https://woocommerce.com/document/woopayments/payment-methods/jcb-for-merchants-in-japan/",actionsLabel:(0,Q.__)("Finish setup","woocommerce-payments")},pending:{status:"info",content:(0,Q.__)("Your information has been submitted and your JCB account is pending approval.","woocommerce-payments")},inactive:{status:"info",content:(0,Q.__)("Your JCB account was rejected based on the information provided.","woocommerce-payments")},active:{status:"info",content:(0,Q.__)("JCB is now enabled on your store.","woocommerce-payments")}}}],Rf=window.wp.apiFetch;var Of=n.n(Rf);const If=({onClose:e,onSubmit:t,label:n})=>{const r=V().createElement(V().Fragment,null,V().createElement(Cu,{isSecondary:!0,onClick:e},(0,Q.__)("Cancel","woocommerce-payments")),V().createElement(Cu,{isPrimary:!0,onClick:t},(0,Q.__)("Yes, continue","woocommerce-payments")));return V().createElement(bm,{title:(0,Q.__)("Remove","woocommerce-payments")+" "+n,isDismissible:!1,className:"dismiss-confirmation-modal",onRequestClose:e,actions:r},V().createElement("p",null,(0,Q.sprintf)((0,Q.__)("Choosing to continue will remove the option to accept %s cards from your customers. The option to enable %s will not appear again.","woocommerce-payments"),n,n)))};const Nf=({id:e,label:t,country:n,states:r})=>{var o,a,i,s;const{updateOptions:d}=(0,Gr.useDispatch)("wc/admin/options"),{createNotice:c}=(0,Gr.useDispatch)("core/notices"),{capabilityRequestNotices:l}=wcpaySettings,[u,p]=(0,K.useState)(null!==(o=l[e])&&void 0!==o&&o),[m,h]=(0,K.useState)(!1),[f,y]=(0,K.useState)(!1),g=Od(),v=Object.entries(pf).map((([e])=>e)),_=(0,Gr.select)(Zr).getSettings(),b=null!==(i=g[null!==(a=Am[e].stripe_key)&&void 0!==a?a:null])&&void 0!==i?i:[],$=b?b.status:pf.UNREQUESTED;if(v.includes($))return null;if(void 0!==n&&_.account_country!==n)return null;const w=null!==(s=r[$])&&void 0!==s?s:null;if(!w)return null;const S=()=>{d({wcpay_capability_request_dismissed_notices:Object.assign(Object.assign({},l),{[e]:!0})}),wcpaySettings.capabilityRequestNotices=Object.assign(Object.assign({},l),{[e]:!0}),p(!0)};let E;return"request"!==w.actions&&"link"!==w.actions||(E=[{label:w.actionsLabel,onClick:"request"===w.actions?()=>{return t=void 0,n=void 0,o=function*(){y(!0);try{yield Of()({path:`${Kr}/settings/request-capability`,data:{id:e},method:"POST"}),p(!0),c("success",(0,Q.__)("Capability requested successfully!","woocommerce-payments")),y(!1)}catch(e){c("error",(0,Q.__)("Error requesting the capability!","woocommerce-payments")),y(!1)}},new((r=void 0)||(r=Promise))((function(e,a){function i(e){try{d(o.next(e))}catch(e){a(e)}}function s(e){try{d(o.throw(e))}catch(e){a(e)}}function d(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r((function(e){e(n)}))).then(i,s)}d((o=o.apply(t,n||[])).next())}));var t,n,r,o}:()=>{void 0!==w.actionUrl&&(window.location.href=w.actionUrl)},isBusy:f,disabled:f}]),u?null:V().createElement(V().Fragment,null,V().createElement(Ku,{status:w.status,isDismissible:!0,onRemove:()=>{"unrequested"===$||"pending_verification"===$?h(!0):S()},actions:E,className:"woopayments-request-jcb"},w.content),m&&V().createElement(If,{onClose:()=>{h(!1)},onSubmit:S,label:t}))},Mf=()=>V().createElement(V().Fragment,null,Pf.map((e=>V().createElement(Nf,{id:e.id,label:e.label,country:e.country,states:e.states,key:e.id})))),Lf=({methodIds:e})=>{const[t]=Td(),n=Od(),r=e.map((e=>Am[e])),o=t.includes(uf.CARD),[a,i]=(0,U.useState)(null),[s,d]=(0,U.useState)(null),[,c]=(()=>{const{updateSelectedPaymentMethod:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getEnabledPaymentMethodIds())),e]})(),l=e=>{c(e),i(null)},[,u]=(()=>{const{updateUnselectedPaymentMethod:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getEnabledPaymentMethodIds())),e]})(),p=e=>{u(e),d(null)},m=e=>{var t;const r=Am[e].stripe_key,o=null!==(t=n[r])&&void 0!==t?t:[];return o?{status:o.status,requirements:o.requirements}:{status:pf.UNREQUESTED,requirements:[]}};return(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)(Mf,{}),(0,ml.jsx)("ul",{className:"payment-methods-list payment-methods__available-methods",children:r.map((({id:e,label:n,icon:r,description:a,allows_manual_capture:s,setup_required:c,setup_tooltip:u,currencies:h})=>{if(!wcpaySettings.isMultiCurrencyEnabled&&e!==uf.CARD){const e=wcpaySettings.storeCurrency;h.indexOf(e)<0&&(c=!0,u=Eo(n,h))}return(0,ml.jsx)(Ef,{id:e,label:n,description:a,checked:t.includes(e)&&pf.INACTIVE!==m(e).status,required:uf.CARD===e,locked:uf.CARD===e&&o,Icon:r,status:m(e).status,isSetupRequired:c,setupTooltip:u,isAllowingManualCapture:s,onUncheckClick:()=>{(e=>{const t=Am[e],n=m(e);t&&"active"===n.status?d({id:e,label:t.label,Icon:t.icon}):p(e)})(e)},onCheckClick:()=>{(e=>{const t=m(e);"unrequested"===t.status&&t.requirements.length>0?i({id:e,requirements:t.requirements}):l(e)})(e)},isPoEnabled:wcpaySettings?.progressiveOnboarding?.isEnabled,isPoComplete:wcpaySettings?.progressiveOnboarding?.isComplete},e)}))}),a&&(0,ml.jsx)(Tf,{onClose:()=>{i(null)},onConfirmClose:()=>{l(a.id)},requirements:a.requirements,paymentMethod:a.id}),s&&(0,ml.jsx)(Af,{id:s.id,label:s.label,icon:s.Icon,onConfirm:()=>{p(s.id)},onCancel:()=>{d(null)}})]})},Df=()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h2",{children:(0,Q.__)("Payments accepted on checkout","woocommerce-payments")}),(0,ml.jsx)("p",{children:(0,Q.__)("Add and edit payments available to customers at checkout. Based on their device type, location, and purchase history, your customers will only see the most relevant payment methods.","woocommerce-payments")})]}),jf=()=>{const e=Rd().filter((e=>Am[e]&&!Am[e].allows_pay_later&&uf.LINK!==e)).reduce(((e,t)=>t===uf.CARD?[t,...e]:[...e,t]),[]);return(0,ml.jsx)(dm,{description:Df,id:"payment-methods",children:(0,ml.jsx)(nf,{numLines:60,children:(0,ml.jsx)(af,{children:(0,ml.jsxs)(Rr,{className:"payment-methods",children:[(0,ml.jsx)(rf,{className:"payment-methods__header",children:(0,ml.jsx)("h4",{className:"payment-methods__heading",children:(0,ml.jsx)("span",{children:(0,Q.__)("Payment methods","woocommerce-payments")})})}),(0,ml.jsx)(Tl,{size:null,children:(0,ml.jsx)(Lf,{methodIds:e})})]})})})})},Ff=()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h2",{children:(0,Q.__)("Buy now, pay later","woocommerce-payments")}),(0,ml.jsx)("p",{children:(0,Q.__)("Boost sales by offering customers additional buying power and flexible payment options.","woocommerce-payments")}),(0,ml.jsx)(rn,{href:"https://woocommerce.com/document/woopayments/payment-methods/buy-now-pay-later/",children:(0,Q.__)("Learn more","woocommerce-payments")})]}),Bf=()=>{const e=Rd().filter((e=>Am[e]&&Am[e].allows_pay_later));return 0===e.length?null:(0,ml.jsx)(dm,{description:Ff,id:"buy-now-pay-later-methods",children:(0,ml.jsx)(nf,{numLines:30,children:(0,ml.jsx)(af,{children:(0,ml.jsx)(Rr,{className:"payment-methods",children:(0,ml.jsx)(Tl,{size:null,children:(0,ml.jsx)(Lf,{methodIds:e})})})})})})},Uf=e=>(0,ml.jsx)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",...e,children:(0,ml.jsx)(ee.Path,{d:["M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 ","6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"].join(" ")})}),Vf=({level:e})=>{const t={[$i]:(0,Q.__)("Provides basic anti-fraud protection only.","woocommerce-payments"),[Si]:(0,Q.__)("Provides a standard level of filtering that's suitable for most business.","woocommerce-payments"),[Ei]:(0,Q.__)("Offers the highest level of filtering for stores, but may catch some legitimate transactions.","woocommerce-payments")};return V().createElement(Au,{className:"component-notice--is-info",status:"info",isDismissible:!1},V().createElement("div",{className:"component-notice__content--flex"},V().createElement(Uf,{className:"component-notice__icon"}),V().createElement("p",null,t[e])))},zf=({level:e})=>V().createElement("p",{className:"fraud-protection__text--help-text"},function(e){switch(e){case Ei:return(0,Q.__)("Offers the highest level of filtering for stores, but may catch some legitimate transactions.","woocommerce-payments");case wi:return(0,Q.__)("Allows you to fine-tune the level of filtering according to your business needs.","woocommerce-payments");case Si:return(0,Q.__)("Provides a standard level of filtering that's suitable for most businesses.","woocommerce-payments");case $i:return(0,Q.__)("Provides the base level of platform protection.","woocommerce-payments");default:return""}}(e));var Hf=n(4236);const Wf=()=>{const[e,t]=(0,K.useState)(!1),[n,r]=(()=>{const{updateProtectionLevel:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getCurrentProtectionLevel())),e]})(),[o]=(()=>{const{updateAdvancedFraudProtectionSettings:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getAdvancedFraudProtectionSettings())),e]})(),a=Array.isArray(o)&&0<o.length,i=e=>()=>{bo("wcpay_fraud_protection_risk_level_preset_enabled",{preset:e}),r(e)};return V().createElement(V().Fragment,null,"error"===o&&V().createElement(Ku,{icon:!0,status:"error",isDismissible:!1,className:""},(0,Q.__)("There was an error retrieving your fraud protection settings. Please refresh the page to try again.","woocommerce-payments")),V().createElement("fieldset",{disabled:"error"===o},V().createElement("ul",null,V().createElement("li",null,V().createElement("div",{className:"fraud-protection-radio-wrapper"},V().createElement("input",{name:"fraud-protection-level-select",id:"fraud-protection__basic-level",value:$i,type:"radio",className:"fraud-protection-radio-wrapper__item",checked:$i===n,onChange:i($i)}),V().createElement("label",{className:"fraud-protection-radio-wrapper__item",htmlFor:"fraud-protection__basic-level"},(0,Q.__)("Basic","woocommerce-payments")),V().createElement(Hf.A,{size:18,title:(0,Q.__)("Basic level help icon","woocommerce-payments"),className:"fraud-protection__help-icon",onClick:()=>{bo("wcpay_fraud_protection_basic_modal_viewed"),t(!0)}}),V().createElement(qf,{level:$i,isBasicModalOpen:e,setBasicModalOpen:t})),V().createElement(zf,{level:$i})),V().createElement("hr",{className:"fraud-protection__list-divider"}),V().createElement("li",{className:"fraud-protection__advanced-level-container"},V().createElement("label",{htmlFor:"fraud-protection-level-select_advanced-level"},V().createElement("div",{className:"fraud-protection-radio-wrapper"},V().createElement("input",{name:"fraud-protection-level-select",id:"fraud-protection-level-select_advanced-level",value:wi,type:"radio",checked:wi===n,onChange:i(wi)}),V().createElement("p",{className:"fraud-protection-radio-wrapper__item"},(0,Q.__)("Advanced","woocommerce-payments"))),V().createElement(zf,{level:wi})),V().createElement(Cu,{href:No({page:"wc-admin",path:"/payments/fraud-protection"}),isSecondary:!0,disabled:wi!==n},a?(0,Q.__)("Edit","woocommerce-payments"):(0,Q.__)("Configure","woocommerce-payments"))))))},qf=({level:e,isBasicModalOpen:t,setBasicModalOpen:n})=>{var r,o;const{declineOnAVSFailure:a,declineOnCVCFailure:i}=null!==(o=null===(r=null===wcpaySettings||void 0===wcpaySettings?void 0:wcpaySettings.accountStatus)||void 0===r?void 0:r.fraudProtection)&&void 0!==o?o:{declineOnAVSFailure:!0,declineOnCVCFailure:!0},s=a||i;return V().createElement(V().Fragment,null,t&&V().createElement(fm,{title:(0,Q.__)("Basic filter level","woocommerce-payments"),isDismissible:!0,shouldCloseOnClickOutside:!0,shouldCloseOnEsc:!0,onRequestClose:()=>n(!1),className:"fraud-protection-level-modal"},V().createElement("div",{className:"components-modal__body--fraud-protection"},V().createElement(Vf,{level:e}),s&&V().createElement(V().Fragment,null,V().createElement("p",null,gl({mixedString:(0,Q.__)("Payments will be {{blocked}}blocked{{/blocked}} if:","woocommerce-payments"),components:{blocked:V().createElement("span",{className:"component-modal__text--blocked"})}})),V().createElement("ul",null,a&&V().createElement("li",null,(0,Q.__)("The billing address does not match what is on file with the card issuer.","woocommerce-payments")),i&&V().createElement("li",null,(0,Q.__)("The card's issuing bank cannot verify the CVV.","woocommerce-payments")))),V().createElement(Cu,{className:"component-modal__button--confirm",onClick:()=>n(!1),variant:"secondary"},(0,Q.__)("Got it","woocommerce-payments")))))},Gf=[{referenceElements:{desktop:"#fraud-protection-welcome-tour-first-step"},meta:{name:"enhanced-fraud-protection",heading:(0,Q.__)("Enhanced fraud protection is here 🔒","woocommerce-payments"),descriptions:{desktop:(0,Q.__)("You can now choose a level of protection for screening incoming transactions. Screened transactions will be automatically blocked by your customized fraud filters.","woocommerce-payments")},primaryButton:{text:(0,Q.__)("See what's new","woocommerce-payments")}}},{referenceElements:{desktop:"#fraud-protection-card-title"},meta:{name:"choose-your-filter-level",heading:(0,Q.__)("Choose your filter level 🚦","woocommerce-payments"),descriptions:{desktop:(0,Q.__)("Choose how you'd like to screen incoming transactions using our Basic or Advanced options.","woocommerce-payments")}}},{referenceElements:{desktop:"#fraud-protection-level-select_advanced-level"},meta:{name:"take-more-control",heading:(0,Q.__)("Take more control 🎚️","woocommerce-payments"),descriptions:{desktop:(0,Q.__)("Choose Advanced settings for full control over each filter. You can enable and configure filters to block risky transactions.","woocommerce-payments")}}},{referenceElements:{desktop:"#toplevel_page_wc-admin-path--payments-overview"},meta:{name:"review-blocked-transactions",heading:(0,Q.__)("Review blocked transactions 📥️","woocommerce-payments"),descriptions:{desktop:gl({mixedString:(0,Q.__)("Payments that have been blocked by a risk filter will appear under the blocked tab in {{strong}}Payments > Transactions{{/strong}}. We'll let you know why each payment was blocked so you can determine if you need to adjust your risk filters.","woocommerce-payments"),components:{strong:V().createElement("strong",null)}})},primaryButton:{text:(0,Q.__)("Got it","woocommerce-payments")}}}],[Yf]=Gf,{desktop:Kf}=Yf.referenceElements,Zf={effects:{overlay:!0,autoScroll:{behavior:"smooth"}},popperModifiers:[{name:"applyArrowHide",enabled:!0,phase:"write",fn({state:e}){const{arrow:t,reference:n}=e.elements;t&&(`#${n.id}`===Kf?t.setAttribute("data-hide",""):t.removeAttribute("data-hide"))}}]},Xf=()=>{const{isWelcomeTourDismissed:e}=wcpaySettings.fraudProtection,t="#fp-settings"===new URLSearchParams(window.location.search).get("anchor"),{isLoading:n}=Id(),{updateOptions:r}=(0,Gr.useDispatch)("wc/admin/options"),[o,a]=(0,U.useState)(!1);return(0,U.useEffect)((()=>{n||e||!t||a(!0)}),[n,e,t]),o?V().createElement(V().Fragment,null,V().createElement("div",{id:"fraud-protection-welcome-tour-first-step"}),V().createElement(Kh.TourKit,{config:{steps:Gf,options:Zf,placement:"top",closeHandler:(e,t,n)=>{r({wcpay_fraud_protection_welcome_tour_dismissed:!0}),wcpaySettings.fraudProtection.isWelcomeTourDismissed=!0,a(!1),bo("done-btn"===n?"wcpay_fraud_protection_tour_clicked_through":"wcpay_fraud_protection_tour_abandoned")}}})):null},Jf=()=>V().createElement(V().Fragment,null,V().createElement(Rr,{className:"fraud-protection"},V().createElement(Tl,null,V().createElement("h4",null,V().createElement("span",{id:"fraud-protection-card-title"},(0,Q.__)("Set your payment risk level","woocommerce-payments"))),V().createElement(Wf,null))),V().createElement(Xf,null)),Qf=()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h2",{children:(0,Q.__)("Express checkouts","woocommerce-payments")}),(0,ml.jsx)("p",{children:(0,Q.__)("Let your customers use their favorite express payment methods and digital wallets for faster, more secure checkouts across different parts of your store.","woocommerce-payments")}),(0,ml.jsx)(rn,{href:"https://woocommerce.com/document/woopayments/settings-guide/#express-checkouts",children:(0,Q.__)("Learn more","woocommerce-payments")})]}),ey=()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h2",{children:(0,Q.__)("General","woocommerce-payments")}),(0,ml.jsx)("p",{children:(0,Q.sprintf)((0,Q.__)("Enable or disable %s on your store.","woocommerce-payments"),"WooPayments")})]}),ty=()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h2",{children:(0,Q.__)("Transactions","woocommerce-payments")}),(0,ml.jsx)("p",{children:(0,Q.__)("Update your store's configuration to ensure smooth transactions.","woocommerce-payments")}),(0,ml.jsx)(rn,{href:"https://woocommerce.com/document/woopayments/",children:(0,Q.__)("View our documentation","woocommerce-payments")})]}),ny=()=>{const e=(0,Gr.useSelect)((e=>e(Zr).getDepositDelayDays()),[]);return(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h2",{children:(0,Q.__)("Payouts","woocommerce-payments")}),(0,ml.jsx)("p",{children:(0,Q.sprintf)((0,Q.__)("Funds are available for payout %s business days after they’re received.","woocommerce-payments"),e)}),(0,ml.jsx)(rn,{href:"https://woocommerce.com/document/woopayments/payouts/payout-schedule/",children:(0,Q.__)("Learn more about pending schedules","woocommerce-payments")})]})},ry=()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h2",{children:(0,Q.__)("Fraud protection","woocommerce-payments")}),(0,ml.jsx)("p",{children:(0,Q.__)("Help avoid unauthorized transactions and disputes by setting your fraud protection level.","woocommerce-payments")}),(0,ml.jsx)(rn,{href:"https://woocommerce.com/document/woopayments/fraud-and-disputes/fraud-protection/",children:(0,Q.__)("Learn more about fraud protection","woocommerce-payments")})]}),oy=()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h2",{children:(0,Q.__)("Reporting","woocommerce-payments")}),(0,ml.jsx)("p",{children:(0,Q.__)("Adjust your report exporting language preferences.","woocommerce-payments")})]}),ay=()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h2",{children:(0,Q.__)("Advanced settings","woocommerce-payments")}),(0,ml.jsx)("p",{children:(0,Q.__)("More options for specific payment needs.","woocommerce-payments")}),(0,ml.jsx)(rn,{href:"https://woocommerce.com/document/woopayments/settings-guide/#advanced-settings",children:(0,Q.__)("View our documentation","woocommerce-payments")})]}),iy=()=>{const[e,t]=(0,U.useState)(!0),{isLoading:n}=Id();(0,U.useLayoutEffect)((()=>{const{anchor:e}=(0,on.getQuery)(),{hash:t}=window.location,r=e||t;if(!n&&r){const e=document.querySelector(r);if(!e)return;const t=document.querySelector(".woocommerce-layout__header"),n=(t?t.clientHeight:60)+50,o=e.getBoundingClientRect().top+window.pageYOffset-n;window.scrollTo({top:o,behavior:"smooth"})}}),[n]);const[r,o]=(0,U.useState)(wcpaySettings.dismissedDuplicateNotices||{});return(0,ml.jsxs)(Rh,{children:[(0,ml.jsx)(dm,{description:ey,id:"general",children:(0,ml.jsx)(nf,{numLines:20,children:(0,ml.jsx)(af,{children:(0,ml.jsx)(Om,{})})})}),(0,ml.jsxs)(om.Provider,{value:{duplicates:(0,Gr.useSelect)((e=>e(Zr).getDuplicatedPaymentMethodIds())),dismissedDuplicateNotices:r,setDismissedDuplicateNotices:o},children:[(0,ml.jsx)(jf,{}),(0,ml.jsx)(Bf,{}),(0,ml.jsx)(dm,{id:"express-checkouts",description:Qf,children:(0,ml.jsx)(nf,{numLines:20,children:(0,ml.jsx)(af,{children:(0,ml.jsx)(sm,{})})})})]}),(0,ml.jsx)(dm,{description:ty,id:"transactions",children:(0,ml.jsx)(nf,{numLines:20,children:(0,ml.jsx)(af,{children:(0,ml.jsx)(Gh,{setTransactionInputsValid:t})})})}),(0,ml.jsx)(dm,{description:ny,id:"deposits",children:(0,ml.jsx)("div",{id:"payout-schedule",children:(0,ml.jsx)(nf,{numLines:20,children:(0,ml.jsx)(af,{children:(0,ml.jsx)(tf,{})})})})}),(0,ml.jsx)(dm,{description:ry,id:"fp-settings",children:(0,ml.jsx)(nf,{numLines:20,children:(0,ml.jsx)(af,{children:(0,ml.jsx)(Jf,{})})})}),!("undefined"==typeof wcpaySettings||"en_US"===wcpaySettings.locale?.code)&&(0,ml.jsx)(dm,{description:oy,id:"fp-settings",children:(0,ml.jsx)(nf,{numLines:20,children:(0,ml.jsx)(af,{children:(0,ml.jsx)(kh,{})})})}),(0,ml.jsx)(dm,{description:ay,id:"advanced-settings",children:(0,ml.jsx)(nf,{numLines:20,children:(0,ml.jsx)(af,{children:(0,ml.jsx)(rp,{})})})}),(0,ml.jsx)(Dh,{disabled:!e})]})};function sy(e){let{label:t,className:n,selected:r,help:o,onChange:a,hideLabelFromVision:i,options:s=[],...d}=e;const c=`inspector-radio-control-${(0,Or.useInstanceId)(sy)}`,l=e=>a(e.target.value);return!(0,J.isEmpty)(s)&&(0,K.createElement)(Wr,{label:t,id:c,hideLabelFromVision:i,help:o,className:X()(n,"components-radio-control")},s.map(((e,t)=>(0,K.createElement)("div",{key:`${c}-${t}`,className:"components-radio-control__option"},(0,K.createElement)("input",Y({id:`${c}-${t}`,className:"components-radio-control__input",type:"radio",name:c,value:e.value,onChange:l,checked:e.value===r,"aria-describedby":o?`${c}__help`:void 0},d)),(0,K.createElement)("label",{htmlFor:`${c}-${t}`},e.label)))))}const dy={toVector:(e,t)=>(void 0===e&&(e=t),Array.isArray(e)?e:[e,e]),add:(e,t)=>[e[0]+t[0],e[1]+t[1]],sub:(e,t)=>[e[0]-t[0],e[1]-t[1]],addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function cy(e,t,n){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*n):e*t*n/(t+n*e)}function ly(e,t,n,r=.15){return 0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):e<t?-cy(t-e,n-t,r)+t:e>n?+cy(e-n,n-t,r)+n:e}function uy(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function py(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 my(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?py(Object(n),!0).forEach((function(t){uy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):py(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const hy={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function fy(e){return e?e[0].toUpperCase()+e.slice(1):""}const yy=["enter","leave"];const gy=["gotpointercapture","lostpointercapture"];function vy(e){let t=e.substring(2).toLowerCase();const n=!!~t.indexOf("passive");n&&(t=t.replace("passive",""));const r=gy.includes(t)?"capturecapture":"capture",o=!!~t.indexOf(r);return o&&(t=t.replace("capture","")),{device:t,capture:o,passive:n}}function _y(e){return"touches"in e}function by(e){return _y(e)?"touch":"pointerType"in e?e.pointerType:"mouse"}function $y(e){return _y(e)?function(e){return"touchend"===e.type||"touchcancel"===e.type?e.changedTouches:e.targetTouches}(e)[0]:e}function wy(e){const t=$y(e);return _y(e)?t.identifier:t.pointerId}function Sy(e){const t=$y(e);return[t.clientX,t.clientY]}function Ey(e,...t){return"function"==typeof e?e(...t):e}function xy(){}function Cy(...e){return 0===e.length?xy:1===e.length?e[0]:function(){let t;for(const n of e)t=n.apply(this,arguments)||t;return t}}function ky(e,t){return Object.assign({},t,e||{})}class Ty{constructor(e,t,n){this.ctrl=e,this.args=t,this.key=n,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(e){this.ctrl.state[this.key]=e}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:e,shared:t,ingKey:n,args:r}=this;t[n]=e._active=e.active=e._blocked=e._force=!1,e._step=[!1,!1],e.intentional=!1,e._movement=[0,0],e._distance=[0,0],e._direction=[0,0],e._delta=[0,0],e._bounds=[[-1/0,1/0],[-1/0,1/0]],e.args=r,e.axis=void 0,e.memo=void 0,e.elapsedTime=e.timeDelta=0,e.direction=[0,0],e.distance=[0,0],e.overflow=[0,0],e._movementBound=[!1,!1],e.velocity=[0,0],e.movement=[0,0],e.delta=[0,0],e.timeStamp=0}start(e){const t=this.state,n=this.config;t._active||(this.reset(),this.computeInitial(),t._active=!0,t.target=e.target,t.currentTarget=e.currentTarget,t.lastOffset=n.from?Ey(n.from,t):t.offset,t.offset=t.lastOffset,t.startTime=t.timeStamp=e.timeStamp)}computeValues(e){const t=this.state;t._values=e,t.values=this.config.transform(e)}computeInitial(){const e=this.state;e._initial=e._values,e.initial=e.values}compute(e){const{state:t,config:n,shared:r}=this;t.args=this.args;let o=0;if(e&&(t.event=e,n.preventDefault&&e.cancelable&&t.event.preventDefault(),t.type=e.type,r.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,r.locked=!!document.pointerLockElement,Object.assign(r,function(e){const t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){const{shiftKey:n,altKey:r,metaKey:o,ctrlKey:a}=e;Object.assign(t,{shiftKey:n,altKey:r,metaKey:o,ctrlKey:a})}return t}(e)),r.down=r.pressed=r.buttons%2==1||r.touches>0,o=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){const e=t._delta.map(Math.abs);dy.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);const[a,i]=t._movement,[s,d]=n.threshold,{_step:c,values:l}=t;if(n.hasCustomTransform?(!1===c[0]&&(c[0]=Math.abs(a)>=s&&l[0]),!1===c[1]&&(c[1]=Math.abs(i)>=d&&l[1])):(!1===c[0]&&(c[0]=Math.abs(a)>=s&&Math.sign(a)*s),!1===c[1]&&(c[1]=Math.abs(i)>=d&&Math.sign(i)*d)),t.intentional=!1!==c[0]||!1!==c[1],!t.intentional)return;const u=[0,0];if(n.hasCustomTransform){const[e,t]=l;u[0]=!1!==c[0]?e-c[0]:0,u[1]=!1!==c[1]?t-c[1]:0}else u[0]=!1!==c[0]?a-c[0]:0,u[1]=!1!==c[1]?i-c[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(u);const p=t.offset,m=t._active&&!t._blocked||t.active;m&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=r[this.ingKey]=t._active,e&&(t.first&&("bounds"in n&&(t._bounds=Ey(n.bounds,t)),this.setup&&this.setup()),t.movement=u,this.computeOffset()));const[h,f]=t.offset,[[y,g],[v,_]]=t._bounds;t.overflow=[h<y?-1:h>g?1:0,f<v?-1:f>_?1:0],t._movementBound[0]=!!t.overflow[0]&&(!1===t._movementBound[0]?t._movement[0]:t._movementBound[0]),t._movementBound[1]=!!t.overflow[1]&&(!1===t._movementBound[1]?t._movement[1]:t._movementBound[1]);const b=t._active&&n.rubberband||[0,0];if(t.offset=function(e,[t,n],[r,o]){const[[a,i],[s,d]]=e;return[ly(t,a,i,r),ly(n,s,d,o)]}(t._bounds,t.offset,b),t.delta=dy.sub(t.offset,p),this.computeMovement(),m&&(!t.last||o>32)){t.delta=dy.sub(t.offset,p);const e=t.delta.map(Math.abs);dy.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&o>0&&(t.velocity=[e[0]/o,e[1]/o],t.timeDelta=o)}}emit(){const e=this.state,t=this.shared,n=this.config;if(e._active||this.clean(),(e._blocked||!e.intentional)&&!e._force&&!n.triggerAllEvents)return;const r=this.handler(my(my(my({},t),e),{},{[this.aliasKey]:e.values}));void 0!==r&&(e.memo=r)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class Ay extends Ty{constructor(...e){super(...e),uy(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=dy.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=dy.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){const t=this.state,n=this.config;if(!t.axis&&e){const r="object"==typeof n.axisThreshold?n.axisThreshold[by(e)]:n.axisThreshold;t.axis=function([e,t],n){const r=Math.abs(e),o=Math.abs(t);return r>o&&r>n?"x":o>r&&o>n?"y":void 0}(t._movement,r)}t._blocked=(n.lockDirection||!!n.axis)&&!t.axis||!!n.axis&&n.axis!==t.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0}}}const Py=e=>e,Ry={enabled:(e=!0)=>e,eventOptions:(e,t,n)=>my(my({},n.shared.eventOptions),e),preventDefault:(e=!1)=>e,triggerAllEvents:(e=!1)=>e,rubberband(e=0){switch(e){case!0:return[.15,.15];case!1:return[0,0];default:return dy.toVector(e)}},from:e=>"function"==typeof e?e:null!=e?dy.toVector(e):void 0,transform(e,t,n){const r=e||n.shared.transform;return this.hasCustomTransform=!!r,r||Py},threshold:e=>dy.toVector(e,0)},Oy=my(my({},Ry),{},{axis(e,t,{axis:n}){if(this.lockDirection="lock"===n,!this.lockDirection)return n},axisThreshold:(e=0)=>e,bounds(e={}){if("function"==typeof e)return t=>Oy.bounds(e(t));if("current"in e)return()=>e.current;if("function"==typeof HTMLElement&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:n=1/0,top:r=-1/0,bottom:o=1/0}=e;return[[t,n],[r,o]]}}),Iy={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]},Ny="undefined"!=typeof window&&window.document&&window.document.createElement;function My(){return Ny&&"ontouchstart"in window}const Ly={isBrowser:Ny,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:My(),touchscreen:My()||Ny&&window.navigator.maxTouchPoints>1,pointer:Ny&&"onpointerdown"in window,pointerLock:Ny&&"exitPointerLock"in window.document},Dy={mouse:0,touch:0,pen:8},jy=my(my({},Oy),{},{device(e,t,{pointer:{touch:n=!1,lock:r=!1,mouse:o=!1}={}}){return this.pointerLock=r&&Ly.pointerLock,Ly.touch&&n?"touch":this.pointerLock?"mouse":Ly.pointer&&!o?"pointer":Ly.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay="number"==typeof n?n:n||void 0===n&&e?250:void 0,Ly.touchscreen&&!1!==n)return e||(void 0!==n?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:r=1,keys:o=!0}={}}){return this.pointerButtons=r,this.keys=o,!this.pointerLock&&"pointer"===this.device&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:r=3,axis:o}){const a=dy.toVector(e,n?r:o?1:0);return this.filterTaps=n,this.tapsThreshold=r,a},swipe({velocity:e=.5,distance:t=50,duration:n=250}={}){return{velocity:this.transform(dy.toVector(e)),distance:this.transform(dy.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold:e=>e?my(my({},Dy),e):Dy,keyboardDisplacement:(e=10)=>e});my(my({},Ry),{},{device(e,t,{shared:n,pointer:{touch:r=!1}={}}){if(n.target&&!Ly.touch&&Ly.gesture)return"gesture";if(Ly.touch&&r)return"touch";if(Ly.touchscreen){if(Ly.pointer)return"pointer";if(Ly.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:r={}}){const o=e=>{const t=ky(Ey(n,e),{min:-1/0,max:1/0});return[t.min,t.max]},a=e=>{const t=ky(Ey(r,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof n&&"function"!=typeof r?[o(),a()]:e=>[o(e),a(e)]},threshold(e,t,n){return this.lockDirection="lock"===n.axis,dy.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey:e=>void 0===e?"ctrlKey":e,pinchOnWheel:(e=!0)=>e}),my(my({},Oy),{},{mouseOnly:(e=!0)=>e}),my(my({},Oy),{},{mouseOnly:(e=!0)=>e});const Fy=new Map,By=new Map,Uy={key:"drag",engine:class extends Ay{constructor(...e){super(...e),uy(this,"ingKey","dragging")}reset(){super.reset();const e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){const e=this.state;if(e._bounds instanceof HTMLElement){const t=e._bounds.getBoundingClientRect(),n=e.currentTarget.getBoundingClientRect(),r={left:t.left-n.left+e.offset[0],right:t.right-n.right+e.offset[0],top:t.top-n.top+e.offset[1],bottom:t.bottom-n.bottom+e.offset[1]};e._bounds=Oy.bounds(r)}}cancel(){const e=this.state;e.canceled||(e.canceled=!0,e._active=!1,setTimeout((()=>{this.compute(),this.emit()}),0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){const t=this.config,n=this.state;if(null!=e.buttons&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(e.buttons):-1!==t.pointerButtons&&t.pointerButtons!==e.buttons))return;const r=this.ctrl.setEventIds(e);t.pointerCapture&&e.target.setPointerCapture(e.pointerId),r&&r.size>1&&n._pointerActive||(this.start(e),this.setupPointer(e),n._pointerId=wy(e),n._pointerActive=!0,this.computeValues(Sy(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==by(e)?(n._active=!1,this.setupScrollPrevention(e)):t.delay>0?(this.setupDelayTrigger(e),t.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e))}startPointerDrag(e){const t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(e),this.emit()}pointerMove(e){const t=this.state,n=this.config;if(!t._pointerActive)return;const r=wy(e);if(void 0!==t._pointerId&&r!==t._pointerId)return;const o=Sy(e);return document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=dy.sub(o,t._values),this.computeValues(o)),dy.addTo(t._movement,t._delta),this.compute(e),t._delayed&&t.intentional?(this.timeoutStore.remove("dragDelay"),t.active=!1,void this.startPointerDrag(e)):n.preventScrollAxis&&!t._preventScroll?t.axis?t.axis===n.preventScrollAxis||"xy"===n.preventScrollAxis?(t._active=!1,void this.clean()):(this.timeoutStore.remove("startPointerDrag"),void this.startPointerDrag(e)):void 0:void this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(e){}const t=this.state,n=this.config;if(!t._active||!t._pointerActive)return;const r=wy(e);if(void 0!==t._pointerId&&r!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);const[o,a]=t._distance;if(t.tap=o<=n.tapsThreshold&&a<=n.tapsThreshold,t.tap&&n.filterTaps)t._force=!0;else{const[e,r]=t._delta,[o,a]=t._movement,[i,s]=n.swipe.velocity,[d,c]=n.swipe.distance,l=n.swipe.duration;if(t.elapsedTime<l){const n=Math.abs(e/t.timeDelta),l=Math.abs(r/t.timeDelta);n>i&&Math.abs(o)>d&&(t.swipe[0]=Math.sign(e)),l>s&&Math.abs(a)>c&&(t.swipe[1]=Math.sign(r))}}this.emit()}pointerClick(e){!this.state.tap&&e.detail>0&&(e.preventDefault(),e.stopPropagation())}setupPointer(e){const t=this.config,n=t.device;t.pointerLock&&e.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){this.state._preventScroll=!1,function(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}(e);const t=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",t),this.eventStore.add(this.sharedConfig.window,"touch","cancel",t),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",(()=>{this.state._step=[0,0],this.startPointerDrag(e)}),this.config.delay)}keyDown(e){const t=Iy[e.key];if(t){const n=this.state,r=e.shiftKey?10:e.altKey?.1:1;this.start(e),n._delta=t(this.config.keyboardDisplacement,r),n._keyboardActive=!0,dy.addTo(n._movement,n._delta),this.compute(e),this.emit()}}keyUp(e){e.key in Iy&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){const t=this.config.device;e(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(t,"change",this.pointerMove.bind(this)),e(t,"end",this.pointerUp.bind(this)),e(t,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this))),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}},resolver:jy};const Vy={target(e){if(e)return()=>"current"in e?e.current:e},enabled:(e=!0)=>e,window:(e=(Ly.isBrowser?window:void 0))=>e,eventOptions:({passive:e=!0,capture:t=!1}={})=>({passive:e,capture:t}),transform:e=>e},zy=["target","eventOptions","window","enabled","transform"];function Hy(e={},t){const n={};for(const[r,o]of Object.entries(t))switch(typeof o){case"function":n[r]=o.call(n,e[r],r,e);break;case"object":n[r]=Hy(e[r],o);break;case"boolean":o&&(n[r]=e[r])}return n}class Wy{constructor(e,t){uy(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,n,r,o){const a=this._listeners,i=function(e,t=""){const n=hy[e];return e+(n&&n[t]||t)}(t,n),s=my(my({},this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{}),o);e.addEventListener(i,r,s);const d=()=>{e.removeEventListener(i,r,s),a.delete(d)};return a.add(d),d}clean(){this._listeners.forEach((e=>e())),this._listeners.clear()}}class qy{constructor(){uy(this,"_timeouts",new Map)}add(e,t,n=140,...r){this.remove(e),this._timeouts.set(e,window.setTimeout(t,n,...r))}remove(e){const t=this._timeouts.get(e);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach((e=>{window.clearTimeout(e)})),this._timeouts.clear()}}class Gy{constructor(e){var t,n;uy(this,"gestures",new Set),uy(this,"_targetEventStore",new Wy(this)),uy(this,"gestureEventStores",{}),uy(this,"gestureTimeoutStores",{}),uy(this,"handlers",{}),uy(this,"config",{}),uy(this,"pointerIds",new Set),uy(this,"touchIds",new Set),uy(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),t=this,(n=e).drag&&Yy(t,"drag"),n.wheel&&Yy(t,"wheel"),n.scroll&&Yy(t,"scroll"),n.move&&Yy(t,"move"),n.pinch&&Yy(t,"pinch"),n.hover&&Yy(t,"hover")}setEventIds(e){return _y(e)?(this.touchIds=new Set(function(e){return function(e){return Array.from(e.touches).filter((t=>{var n,r;return t.target===e.currentTarget||(null===(n=e.currentTarget)||void 0===n||null===(r=n.contains)||void 0===r?void 0:r.call(n,t.target))}))}(e).map((e=>e.identifier))}(e)),this.touchIds):"pointerId"in e?("pointerup"===e.type||"pointercancel"===e.type?this.pointerIds.delete(e.pointerId):"pointerdown"===e.type&&this.pointerIds.add(e.pointerId),this.pointerIds):void 0}applyHandlers(e,t){this.handlers=e,this.nativeHandlers=t}applyConfig(e,t){this.config=function(e,t,n={}){const r=e,{target:o,eventOptions:a,window:i,enabled:s,transform:d}=r,c=function(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}(r,zy);if(n.shared=Hy({target:o,eventOptions:a,window:i,enabled:s,transform:d},Vy),t){const e=By.get(t);n[t]=Hy(my({shared:n.shared},c),e)}else for(const e in c){const t=By.get(e);t&&(n[e]=Hy(my({shared:n.shared},c[e]),t))}return n}(e,t,this.config)}clean(){this._targetEventStore.clean();for(const e of this.gestures)this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){const t=this.config.shared,n={};let r;if(!t.target||(r=t.target(),r)){if(t.enabled){for(const t of this.gestures){const o=this.config[t],a=Ky(n,o.eventOptions,!!r);o.enabled&&new(Fy.get(t))(this,e,t).bind(a)}const o=Ky(n,t.eventOptions,!!r);for(const t in this.nativeHandlers)o(t,"",(n=>this.nativeHandlers[t](my(my({},this.state.shared),{},{event:n,args:e}))),void 0,!0)}for(const e in n)n[e]=Cy(...n[e]);if(!r)return n;for(const e in n){const{device:t,capture:o,passive:a}=vy(e);this._targetEventStore.add(r,t,"",n[e],{capture:o,passive:a})}}}}function Yy(e,t){e.gestures.add(t),e.gestureEventStores[t]=new Wy(e,t),e.gestureTimeoutStores[t]=new qy}const Ky=(e,t,n)=>(r,o,a,i={},s=!1)=>{var d,c;const l=null!==(d=i.capture)&&void 0!==d?d:t.capture,u=null!==(c=i.passive)&&void 0!==c?c:t.passive;let p=s?r:function(e,t="",n=!1){const r=hy[e],o=r&&r[t]||t;return"on"+fy(e)+fy(o)+(function(e=!1,t){return e&&!yy.includes(t)}(n,o)?"Capture":"")}(r,o,l);n&&u&&(p+="Passive"),e[p]=e[p]||[],e[p].push(a)};function Zy(e,t){var n;return n=Uy,Fy.set(n.key,n.engine),By.set(n.key,n.resolver),function(e,t={},n,r){const o=V().useMemo((()=>new Gy(e)),[]);if(o.applyHandlers(e,r),o.applyConfig(t,n),V().useEffect(o.effect.bind(o)),V().useEffect((()=>o.clean.bind(o)),[]),void 0===t.target)return o.bind.bind(o)}({drag:e},t||{},"drag")}const Xy=e=>e,Jy={_event:{},error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""},Qy="CHANGE",eg="COMMIT",tg="DRAG_END",ng="DRAG_START",rg="DRAG",og="INVALIDATE",ag="PRESS_DOWN",ig="PRESS_ENTER",sg="PRESS_UP",dg="RESET";const cg=(0,K.forwardRef)((function(e,t){let{disabled:n=!1,dragDirection:r="n",dragThreshold:o=10,id:a,isDragEnabled:i=!1,isFocused:s,isPressEnterToChange:d=!1,onBlur:c=J.noop,onChange:l=J.noop,onDrag:u=J.noop,onDragEnd:p=J.noop,onDragStart:m=J.noop,onFocus:h=J.noop,onKeyDown:f=J.noop,onValidate:y=J.noop,size:g="default",setIsFocused:v,stateReducer:_=e=>e,value:b,type:$,...w}=e;const{state:S,change:E,commit:x,drag:C,dragEnd:k,dragStart:T,invalidate:A,pressDown:P,pressEnter:R,pressUp:O,reset:I}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xy,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Jy;const[n,r]=(0,K.useReducer)((o=e,(e,t)=>{const n={...e};switch(t.type){case sg:case ag:n.isDirty=!1;break;case ng:n.isDragging=!0;break;case tg:n.isDragging=!1;break;case Qy:n.error=null,n.value=t.payload.value,e.isPressEnterToChange&&(n.isDirty=!0);break;case eg:n.value=t.payload.value,n.isDirty=!1;break;case dg:n.error=null,n.isDirty=!1,n.value=t.payload.value||e.initialValue;break;case og:n.error=t.payload.error}return t.payload.event&&(n._event=t.payload.event),o(n,t)}),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Jy;const{value:t}=e;return{...Jy,...e,initialValue:t}}(t));var o;const a=e=>(t,n)=>{n&&n.persist&&n.persist(),r({type:e,payload:{value:t,event:n}})},i=e=>t=>{t&&t.persist&&t.persist(),r({type:e,payload:{event:t}})},s=e=>t=>{r({type:e,payload:t})},d=a(Qy),c=a(dg),l=a(eg),u=s(ng),p=s(rg),m=s(tg),h=i(sg),f=i(ag),y=i(ig);return{change:d,commit:l,dispatch:r,drag:p,dragEnd:m,dragStart:u,invalidate:(e,t)=>r({type:og,payload:{error:e,event:t}}),pressDown:f,pressEnter:y,pressUp:h,reset:c,state:n}}(_,{isDragEnabled:i,value:b,isPressEnterToChange:d}),{_event:N,value:M,isDragging:L,isDirty:D}=S,j=(0,K.useRef)(!1),F=function(e,t){const n=function(e){let t="ns-resize";switch(e){case"n":case"s":t="ns-resize";break;case"e":case"w":t="ew-resize"}return t}(t);return(0,K.useEffect)((()=>{document.documentElement.style.cursor=e?n:null}),[e]),n}(L,r);!function(e,t){const n=(0,K.useRef)(!1);(0,K.useEffect)((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{b!==M&&(s||j.current?D||(l(M,{event:N}),j.current=!1):x(b,N))}),[M,D,s,b]);const B=e=>{const t=e.currentTarget.value;try{y(t),x(t,e)}catch(t){A(t,e)}},U=Zy((e=>{const{distance:t,dragging:n,event:r,target:o}=e;if(e.event={...e.event,target:o},t){if(r.stopPropagation(),!n)return p(e),void k(e);u(e),C(e),L||(m(e),T(e))}}),{axis:"e"===r||"w"===r?"x":"y",threshold:o,enabled:i,pointer:{capture:!1}}),V=i?U():{};let z;return"number"===$&&(z=e=>{var t;null===(t=w.onMouseDown)||void 0===t||t.call(w,e),e.currentTarget!==e.currentTarget.ownerDocument.activeElement&&e.currentTarget.focus()}),(0,K.createElement)(uh,Y({},w,V,{className:"components-input-control__input",disabled:n,dragCursor:F,isDragging:L,id:a,onBlur:e=>{c(e),null==v||v(!1),!D&&e.target.validity.valid||(j.current=!0,B(e))},onChange:e=>{const t=e.target.value;E(t,e)},onFocus:e=>{h(e),null==v||v(!0)},onKeyDown:e=>{const{key:t}=e;switch(f(e),t){case"ArrowUp":O(e);break;case"ArrowDown":P(e);break;case"Enter":R(e),d&&(e.preventDefault(),B(e));break;case"Escape":d&&D&&(e.preventDefault(),I(b,e))}},onMouseDown:z,ref:t,inputSize:g,value:M,type:$}))})),lg=cg;const ug=(0,K.forwardRef)((function e(t,n){let{__unstableStateReducer:r=e=>e,__unstableInputWidth:o,className:a,disabled:i=!1,hideLabelFromVision:s=!1,id:d,isPressEnterToChange:c=!1,label:l,labelPosition:u="top",onChange:p=J.noop,onValidate:m=J.noop,onKeyDown:h=J.noop,prefix:f,size:y="default",suffix:g,value:v,..._}=t;const[b,$]=(0,K.useState)(!1),w=function(t){const n=(0,Or.useInstanceId)(e);return t||`inspector-input-control-${n}`}(d),S=X()("components-input-control",a);return(0,K.createElement)(wh,{__unstableInputWidth:o,className:S,disabled:i,gap:3,hideLabelFromVision:s,id:w,isFocused:b,justify:"left",label:l,labelPosition:u,prefix:f,size:y,suffix:g},(0,K.createElement)(lg,Y({},_,{className:"components-input-control__input",disabled:i,id:w,isFocused:b,isPressEnterToChange:c,onChange:p,onKeyDown:h,onValidate:m,ref:n,setIsFocused:$,size:y,stateReducer:r,value:v})))}));var pg={name:"euqsgg",styles:"input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"};const mg=e=>{let{hideHTMLArrows:t}=e;return t?pg:""},hg=Xt(ug,{target:"ep48uk90"})(mg,";");function fg(e){const t=Number(e);return isNaN(t)?0:t}function yg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>e+fg(t)),0)}function gg(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const r=fg(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0),o=fg(n),a=function(e){const t=(e+"").split(".");return void 0!==t[1]?t[1].length:0}(n),i=Math.round(r/o)*o,s=(0,J.clamp)(i,e,t);return a?fg(s.toFixed(a)):s}function vg(e){return null!=e}const _g=(0,K.forwardRef)((function(e,t){let{__unstableStateReducer:n,className:r,dragDirection:o="n",hideHTMLArrows:a=!1,isDragEnabled:i=!0,isShiftStepEnabled:s=!0,label:d,max:c=1/0,min:l=-1/0,required:u=!1,shiftStep:p=10,step:m=1,type:h="number",value:f,...y}=e;const g="any"===m,v=g?1:parseFloat(m),_=gg(0,l,c,v),b=(e,t)=>g?Math.min(c,Math.max(l,e)):gg(e,l,c,null!=t?t:v),$="number"===h?"off":null,w=X()("components-number-control",r);return(0,K.createElement)(hg,Y({autoComplete:$,inputMode:"numeric"},y,{className:w,dragDirection:o,hideHTMLArrows:a,isDragEnabled:i,label:d,max:c,min:l,ref:t,required:u,step:m,type:h,value:f,__unstableStateReducer:(e,t)=>{var r;const a=((e,t)=>{const n={...e},{type:r,payload:a}=t,d=null==a?void 0:a.event,c=n.value;if(r===sg||r===ag){const e=d.shiftKey&&s,t=e?parseFloat(p)*v:v;let o=function(e){const t=""===e;return!vg(e)||t}(c)?_:c;null!=d&&d.preventDefault&&d.preventDefault(),r===sg&&(o=yg(o,t)),r===ag&&(o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t,n)=>{const r=fg(t);return 0===n?r:e-r}),0)}(o,t)),n.value=b(o,e?t:null)}if(r===rg&&i){const[e,t]=a.delta,r=a.shiftKey&&s,i=r?parseFloat(p)*v:v;let d,l;switch(o){case"n":l=t,d=-1;break;case"e":l=e,d=(0,Q.isRTL)()?-1:1;break;case"s":l=t,d=1;break;case"w":l=e,d=(0,Q.isRTL)()?1:-1}if(0!==l){l=Math.ceil(Math.abs(l))*Math.sign(l);const e=l*i*d;n.value=b(yg(c,e),r?i:null)}}if(r===ig||r===eg){const e=!1===u&&""===c;n.value=e?c:b(c)}return n})(e,t);return null!==(r=null==n?void 0:n(a,t))&&void 0!==r?r:a}}))})),bg={initial:void 0,fallback:""};function $g(e,t,n){return"number"!=typeof e?null:parseFloat((0,J.clamp)(e,t,n))}const wg=()=>an({height:30,minHeight:30},"",""),Sg=Xt("div",{target:"exqw8y214"})({name:"17z6zai",styles:"-webkit-tap-highlight-color:transparent;box-sizing:border-box;align-items:flex-start;display:inline-flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%"}),Eg=Xt("div",{target:"exqw8y213"})("box-sizing:border-box;color:",Zn.blue.medium.focus,";display:block;flex:1;position:relative;width:100%;",(e=>{let{color:t=Zn.ui.borderFocus}=e;return an({color:t},"","")}),";",wg,";",(e=>{let{marks:t}=e;return an({marginBottom:t?16:null},"","")}),";"),xg=Xt("span",{target:"exqw8y212"})("margin-top:",4,"px;",Uu({marginRight:6}),";"),Cg=Xt("span",{target:"exqw8y211"})("margin-top:",4,"px;",Uu({marginLeft:6}),";"),kg=Xt("span",{target:"exqw8y210"})("background-color:",Zn.lightGray[600],";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:",4,"px;position:absolute;margin-top:",13,"px;top:0;border-radius:",4,"px;",(e=>{let{disabled:t,railColor:n}=e,r=n||null;return t&&(r=Zn.lightGray[400]),an({background:r},"","")}),";"),Tg=Xt("span",{target:"exqw8y29"})("background-color:currentColor;border-radius:",4,"px;box-sizing:border-box;height:",4,"px;pointer-events:none;display:block;position:absolute;margin-top:",13,"px;top:0;",(e=>{let{disabled:t,trackColor:n}=e,r=n||"currentColor";return t&&(r=Zn.lightGray[800]),an({background:r},"","")}),";"),Ag=Xt("span",{target:"exqw8y28"})({name:"1xuuvmv",styles:"box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none"}),Pg=Xt("span",{target:"exqw8y27"})("box-sizing:border-box;height:",12,"px;left:0;position:absolute;top:-4px;width:1px;",(e=>{let{disabled:t,isFilled:n}=e,r=n?"currentColor":Zn.lightGray[600];return t&&(r=Zn.lightGray[800]),an({backgroundColor:r},"","")}),";"),Rg=Xt("span",{target:"exqw8y26"})("box-sizing:border-box;color:",Zn.lightGray[600],";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;",(e=>{let{isFilled:t}=e;return an({color:t?Zn.darkGray[300]:Zn.lightGray[600]},"","")}),";");var Og={name:"1sb75b3",styles:"background-color:var( --wp-admin-theme-color )"};const Ig=e=>{let{disabled:t}=e;return t?an("background-color:",Zn.lightGray[800],";",""):Og},Ng=Xt("span",{target:"exqw8y25"})("align-items:center;box-sizing:border-box;display:flex;height:",12,"px;justify-content:center;margin-top:",9,"px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",12,"px;border-radius:50%;",Ig,";",Uu({marginLeft:-10}),";",Uu({transform:"translateX( 4.5px )"},{transform:"translateX( -4.5px )"}),";"),Mg=Xt("span",{target:"exqw8y24"})("align-items:center;border-radius:50%;box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;",Ig,";",(e=>{let{isFocused:t}=e;return t?an("&::before{content:' ';position:absolute;background-color:var( --wp-admin-theme-color );opacity:0.4;border-radius:50%;height:",20,"px;width:",20,"px;top:-4px;left:-4px;}",""):""}),";"),Lg=Xt("input",{target:"exqw8y23"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",6,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",12,"px );");var Dg={name:"1cypxip",styles:"top:-80%"},jg={name:"1lr98c4",styles:"bottom:-80%"};const Fg=Xt("span",{target:"exqw8y22"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-sizing:border-box;color:white;display:inline-block;font-size:12px;min-width:32px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;transition:opacity 120ms ease;user-select:none;line-height:1.4;",(e=>{let{show:t}=e;return an({opacity:t?1:0},"","")}),";",(e=>{let{position:t}=e;return"bottom"===t?jg:Dg}),";",nr("transition"),";",Uu({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),";"),Bg=Xt(_g,{target:"exqw8y21"})("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:",cn(16),"!important;input[type='number']&{",wg,";}",Uu({marginLeft:`${cn(4)} !important`}),";"),Ug=Xt("span",{target:"exqw8y20"})("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;",wg,";}",Uu({marginLeft:8}),";"),Vg=(0,K.forwardRef)((function(e,t){let{describedBy:n,label:r,onHideTooltip:o=J.noop,onMouseLeave:a=J.noop,onMouseMove:i=J.noop,onShowTooltip:s=J.noop,value:d,...c}=e;const l=function(e){let{onHide:t=J.noop,onMouseLeave:n=J.noop,onMouseMove:r=J.noop,onShow:o=J.noop,timeout:a=300}=e;const[i,s]=(0,K.useState)(!1),d=(0,K.useRef)(),c=(0,K.useCallback)((e=>{window.clearTimeout(d.current),d.current=setTimeout(e,a)}),[a]),l=(0,K.useCallback)((e=>{r(e),c((()=>{i||(s(!0),o())}))}),[]),u=(0,K.useCallback)((e=>{n(e),c((()=>{s(!1),t()}))}),[]);return(0,K.useEffect)((()=>()=>{window.clearTimeout(d.current)})),{onMouseMove:l,onMouseLeave:u}}({onHide:o,onMouseLeave:a,onMouseMove:i,onShow:s});return(0,K.createElement)(Lg,Y({},c,l,{"aria-describedby":n,"aria-label":r,"aria-hidden":!1,ref:t,tabIndex:0,type:"range",value:d}))})),zg=Vg;function Hg(e){let{className:t,isFilled:n=!1,label:r,style:o={},...a}=e;const i=X()("components-range-control__mark",n&&"is-filled",t),s=X()("components-range-control__mark-label",n&&"is-filled");return(0,K.createElement)(K.Fragment,null,(0,K.createElement)(Pg,Y({},a,{"aria-hidden":"true",className:i,isFilled:n,style:o})),r&&(0,K.createElement)(Rg,{"aria-hidden":"true",className:s,isFilled:n,style:o},r))}function Wg(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:a=1,value:i=0,...s}=e;return(0,K.createElement)(K.Fragment,null,(0,K.createElement)(kg,Y({disabled:t},s)),n&&(0,K.createElement)(qg,{disabled:t,marks:n,min:r,max:o,step:a,value:i}))}function qg(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:a=1,value:i=0}=e;"any"===a&&(a=1);const s=function(e){let{marks:t,min:n=0,max:r=100,step:o=1,value:a=0}=e;if(!t)return[];const i=r-n;if(!Array.isArray(t)){t=[];const e=1+Math.round(i/o);for(;e>t.push({value:o*t.length+n}););}const s=[];return t.forEach(((e,t)=>{if(e.value<n||e.value>r)return;const o=`mark-${t}`,d=e.value<=a,c=(e.value-n)/i*100+"%",l={[(0,Q.isRTL)()?"right":"left"]:c};s.push({...e,isFilled:d,key:o,style:l})})),s}({marks:n,min:r,max:o,step:a,value:i});return(0,K.createElement)(Ag,{"aria-hidden":"true",className:"components-range-control__marks"},s.map((e=>(0,K.createElement)(Hg,Y({},e,{key:e.key,"aria-hidden":"true",disabled:t})))))}function Gg(e){let{className:t,inputRef:n,tooltipPosition:r,show:o=!1,style:a={},value:i=0,renderTooltipContent:s=e=>e,zIndex:d=100,...c}=e;const l=function(e){let{inputRef:t,tooltipPosition:n}=e;const[r,o]=(0,K.useState)(),a=(0,K.useCallback)((()=>{t&&t.current&&o(n)}),[n]);return(0,K.useEffect)((()=>{a()}),[a]),(0,K.useEffect)((()=>(window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}))),r}({inputRef:n,tooltipPosition:r}),u=X()("components-simple-tooltip",t),p={...a,zIndex:d};return(0,K.createElement)(Fg,Y({},c,{"aria-hidden":o,className:u,position:l,show:o,role:"tooltip",style:p}),s(i))}const Yg=(0,K.forwardRef)((function e(t,n){var r;let{afterIcon:o,allowReset:a=!1,beforeIcon:i,className:s,currentInput:d,color:c=Zn.ui.theme,disabled:l=!1,help:u,initialPosition:p,isShiftStepEnabled:m=!0,label:h,hideLabelFromVision:f=!1,marks:y=!1,max:g=100,min:v=0,onBlur:_=J.noop,onChange:b=J.noop,onFocus:$=J.noop,onMouseMove:w=J.noop,onMouseLeave:S=J.noop,railColor:E,resetFallbackValue:x,renderTooltipContent:C=e=>e,showTooltip:k,shiftStep:T=10,step:A=1,trackColor:P,value:R,withInputField:O=!0,...I}=t;const[N,M]=function(e){let{min:t,max:n,value:r,initial:o}=e;const[a,i]=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:bg;const{initial:n,fallback:r}={...bg,...t},[o,a]=(0,K.useState)(e),i=vg(e);return(0,K.useEffect)((()=>{i&&o&&a(void 0)}),[i,o]),[function(){var e;let t=arguments.length>1?arguments[1]:void 0;return null!==(e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).find(vg))&&void 0!==e?e:t}([e,o,n],r),e=>{i||a(e)}]}($g(r,t,n),{initial:o,fallback:null});return[a,(0,K.useCallback)((e=>{i(null===e?null:$g(e,t,n))}),[t,n])]}({min:v,max:g,value:R,initial:p}),L=(0,K.useRef)(!1);"any"===A&&(k=!1,O=!1);const[D,j]=(0,K.useState)(k),[F,B]=(0,K.useState)(!1),U=(0,K.useRef)(),V=null===(r=U.current)||void 0===r?void 0:r.matches(":focus"),z=!l&&F,H=null===N,W=H?"":void 0!==N?N:d,q=H?(g-v)/2+v:N,G=H?50:(N-v)/(g-v)*100,Z=`${(0,J.clamp)(G,0,100)}%`,ee=X()("components-range-control",s),te=X()("components-range-control__wrapper",!!y&&"is-marked"),ne=(0,Or.useInstanceId)(e,"inspector-range-control"),re=u?`${ne}__help`:void 0,oe=!1!==k&&(0,J.isFinite)(N),ae=()=>{let e=parseFloat(x),t=e;isNaN(e)&&(e=null,t=void 0),M(e),b(t)},ie={[(0,Q.isRTL)()?"right":"left"]:Z};return(0,K.createElement)(Wr,{className:ee,label:h,hideLabelFromVision:f,id:ne,help:u},(0,K.createElement)(Sg,{className:"components-range-control__root"},i&&(0,K.createElement)(xg,null,(0,K.createElement)(Eu,{icon:i})),(0,K.createElement)(Eg,{className:te,color:c,marks:!!y},(0,K.createElement)(zg,Y({},I,{className:"components-range-control__slider",describedBy:re,disabled:l,id:ne,label:h,max:g,min:v,onBlur:e=>{_(e),B(!1),j(!1)},onChange:e=>{const t=parseFloat(e.target.value);M(t),b(t)},onFocus:e=>{$(e),B(!0),j(!0)},onMouseMove:w,onMouseLeave:S,ref:e=>{U.current=e,n&&n(e)},step:A,value:W})),(0,K.createElement)(Wg,{"aria-hidden":!0,disabled:l,marks:y,max:g,min:v,railColor:E,step:A,value:q}),(0,K.createElement)(Tg,{"aria-hidden":!0,className:"components-range-control__track",disabled:l,style:{width:Z},trackColor:P}),(0,K.createElement)(Ng,{style:ie,disabled:l},(0,K.createElement)(Mg,{"aria-hidden":!0,isFocused:z,disabled:l})),oe&&(0,K.createElement)(Gg,{className:"components-range-control__tooltip",inputRef:U,tooltipPosition:"bottom",renderTooltipContent:C,show:V||D,style:ie,value:N})),o&&(0,K.createElement)(Cg,null,(0,K.createElement)(Eu,{icon:o})),O&&(0,K.createElement)(Bg,{"aria-label":h,className:"components-range-control__number",disabled:l,inputMode:"decimal",isShiftStepEnabled:m,max:g,min:v,onBlur:()=>{L.current&&(ae(),L.current=!1)},onChange:e=>{e=parseFloat(e),M(e),isNaN(e)?a&&(L.current=!0):((e<v||e>g)&&(e=$g(e,v,g)),b(e),L.current=!1)},shiftStep:T,step:A,value:W}),a&&(0,K.createElement)(Ug,null,(0,K.createElement)(Cu,{className:"components-range-control__reset",disabled:l||void 0===N,variant:"secondary",isSmall:!0,onClick:ae},(0,Q.__)("Reset")))))})),Kg=Yg;var Zg=n(2926),Xg="https://js.stripe.com/v3",Jg=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Qg="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",ev=null,tv=Promise.resolve().then((function(){return e=null,null!==ev||(ev=new Promise((function(t,n){if("undefined"!=typeof window)if(window.Stripe&&e&&console.warn(Qg),window.Stripe)t(window.Stripe);else try{var r=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Xg,'"]')),t=0;t<e.length;t++){var n=e[t];if(Jg.test(n.src))return n}return null}();r&&e?console.warn(Qg):r||(r=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(Xg).concat(t);var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n}(e)),r.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),r.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(e){return void n(e)}else t(null)}))),ev;var e})),nv=!1;tv.catch((function(e){nv||console.warn(e)}));const rv=e=>(0,ml.jsxs)("svg",{width:"62",height:"22",viewBox:"0 0 62 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,ml.jsx)("path",{d:"M42.0633 3.53594C43.2337 3.53594 44.1719 3.81454 44.8778 4.37194C45.5837 4.92924 45.9367 5.66304 45.9367 6.57334C45.9367 7.53004 45.5744 8.28244 44.8592 8.82114C44.144 9.35994 43.1501 9.63864 41.8775 9.63864H41.4131V13.3819H38.7287V3.53594H42.0633ZM41.4224 5.42154V7.74374C42.0262 7.73444 42.472 7.64154 42.7507 7.45574C43.0386 7.26994 43.178 6.98204 43.178 6.59194C43.178 6.16464 43.0386 5.86734 42.76 5.70014C42.4906 5.52374 42.0447 5.43084 41.4224 5.42154Z",fill:"white"}),(0,ml.jsx)("path",{d:"M54.2687 13.3726H51.4821L51.0269 11.7285H48.1939L47.7294 13.3726H44.9985L48.1288 3.52664H51.1384L54.2687 13.3726ZM50.516 9.96374C50.1166 8.49604 49.8101 7.10274 49.615 5.78374H49.5779C49.3642 7.14924 49.067 8.54254 48.6862 9.96374H50.516Z",fill:"white"}),(0,ml.jsx)("path",{d:"M52.6617 3.53594H55.6712C56.34 4.94774 56.823 6.04384 57.1203 6.80554H57.1574C57.4547 6.01604 57.9377 4.92924 58.5879 3.53594H61.6625L58.495 8.92334V13.3726H55.7827V8.92334L52.6617 3.53594Z",fill:"white"}),(0,ml.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.7879 0.116043H4.20652C2.39522 0.116043 0.92762 1.58364 0.92762 3.38574V14.2906C0.92762 16.0926 2.39522 17.5602 4.19732 17.5602H17.7402L23.9357 21.0063L22.5331 17.5602H32.7879C34.5899 17.5602 36.0575 16.0926 36.0575 14.2906V3.38574C36.0575 1.58364 34.5899 0.116043 32.7879 0.116043ZM3.60282 2.63334C3.24982 2.64264 2.92472 2.80984 2.70182 3.07914C2.48812 3.35784 2.40452 3.71084 2.47892 4.06374C3.32412 9.45124 4.11372 13.0831 4.84752 14.9594C5.11682 15.6467 5.45122 15.9718 5.84142 15.944C6.43582 15.8975 7.16042 15.0708 8.00562 13.4453C8.19362 13.0694 8.42272 12.6128 8.69172 12.0766L8.69352 12.073C9.07562 11.3114 9.53802 10.3898 10.077 9.31184C10.8573 12.0149 11.9162 14.0491 13.2537 15.4145C13.6346 15.7954 14.0061 15.9718 14.387 15.944C14.7121 15.9254 15.0093 15.721 15.1486 15.4238C15.288 15.1359 15.353 14.8108 15.3158 14.4857C15.2229 13.1759 15.3623 11.3461 15.7152 9.01464C16.0775 6.59964 16.5419 4.87194 17.0993 3.83154C17.2107 3.62724 17.2572 3.38574 17.2386 3.14424C17.22 2.81914 17.0621 2.51254 16.802 2.31754C16.5512 2.10384 16.2261 2.00164 15.901 2.02954C15.4923 2.04814 15.1301 2.28964 14.9536 2.66114C14.0711 4.28674 13.4395 6.92474 13.0587 10.5658C12.4549 8.97754 11.9998 7.33344 11.7025 5.66144C11.5446 4.80684 11.1545 4.40744 10.5229 4.45394C10.0863 4.48174 9.73332 4.76974 9.44542 5.30844L6.29652 11.2903C5.78562 9.20044 5.30262 6.65534 4.85682 3.66434C4.74532 2.93054 4.32732 2.58684 3.60282 2.63334ZM24.5582 5.33634C24.0751 4.47244 23.2392 3.85944 22.2639 3.67364C22.0038 3.61794 21.7437 3.59004 21.4836 3.59004C20.1089 3.59004 18.9849 4.30524 18.1118 5.73574C17.3687 6.95254 16.9786 8.35514 16.9972 9.77634C16.9972 10.8816 17.2294 11.8291 17.6845 12.6186C18.1675 13.4825 19.0035 14.0955 19.9788 14.2813C20.2389 14.337 20.499 14.3649 20.7591 14.3649C22.1431 14.3649 23.267 13.6497 24.1309 12.2192C24.874 10.9931 25.2641 9.59054 25.2455 8.15084C25.2455 7.04544 25.0133 6.10724 24.5582 5.33634ZM22.7469 9.32114C22.5518 10.2593 22.1895 10.9652 21.6508 11.4482C21.2328 11.8291 20.8427 11.9777 20.4897 11.9127C20.1367 11.8477 19.8581 11.5318 19.6444 10.9838C19.4865 10.5658 19.3936 10.1292 19.3936 9.67414C19.3936 9.32114 19.4308 8.96824 19.4958 8.62454C19.6352 8.01144 19.8859 7.43554 20.2575 6.91544C20.7312 6.21874 21.2328 5.92154 21.753 6.03294C22.1059 6.10724 22.3846 6.41384 22.5982 6.96184C22.7562 7.37984 22.849 7.81644 22.849 8.26224C22.849 8.61524 22.8212 8.96824 22.7469 9.32114ZM31.2552 3.67364C32.2305 3.85944 33.0665 4.47244 33.5495 5.33634C34.0047 6.10724 34.2369 7.04544 34.2369 8.15084C34.2555 9.59054 33.8654 10.9931 33.1223 12.2192C32.2584 13.6497 31.1345 14.3649 29.7505 14.3649C29.4904 14.3649 29.2303 14.337 28.9702 14.2813C27.9949 14.0955 27.1589 13.4825 26.6759 12.6186C26.2208 11.8291 25.9885 10.8816 25.9885 9.77634C25.97 8.35514 26.3601 6.95254 27.1032 5.73574C27.9763 4.30524 29.1003 3.59004 30.475 3.59004C30.7351 3.59004 30.9951 3.61794 31.2552 3.67364ZM30.6422 11.4482C31.1809 10.9652 31.5432 10.2593 31.7382 9.32114C31.8126 8.96824 31.8404 8.61524 31.8404 8.26224C31.8404 7.81644 31.7475 7.37984 31.5896 6.96184C31.376 6.41384 31.0973 6.10724 30.7444 6.03294C30.2242 5.92154 29.7226 6.21874 29.2489 6.91544C28.8773 7.43554 28.6265 8.01144 28.4872 8.62454C28.4222 8.96824 28.385 9.32114 28.385 9.67414C28.385 10.1292 28.4779 10.5658 28.6358 10.9838C28.8495 11.5318 29.1281 11.8477 29.4811 11.9127C29.8341 11.9777 30.2242 11.8291 30.6422 11.4482Z",fill:"white"})]}),ov=e=>(0,ml.jsxs)("svg",{width:"62",height:"22",viewBox:"0 0 62 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,ml.jsx)("path",{d:"M41.7108 4.7031C42.8812 4.7031 43.8194 4.9817 44.5253 5.539C45.2312 6.0964 45.5842 6.8302 45.5842 7.7405C45.5842 8.6972 45.2219 9.4496 44.5067 9.9883C43.7915 10.5271 42.7976 10.8057 41.525 10.8057H41.0606V14.5491H38.3762V4.7031H41.7108ZM41.0699 6.5887V8.9108C41.6737 8.9016 42.1195 8.8087 42.3982 8.6229C42.6861 8.4371 42.8255 8.1492 42.8255 7.759C42.8255 7.3318 42.6861 7.0345 42.4075 6.8673C42.1381 6.6908 41.6922 6.598 41.0699 6.5887Z",fill:"black"}),(0,ml.jsx)("path",{d:"M53.9162 14.5398H51.1296L50.6744 12.8957H47.8414L47.3769 14.5398H44.646L47.7763 4.6938H50.7859L53.9162 14.5398ZM50.1635 11.1308C49.7641 9.6632 49.4576 8.2699 49.2625 6.9509H49.2254C49.0117 8.3164 48.7145 9.7097 48.3337 11.1308H50.1635Z",fill:"black"}),(0,ml.jsx)("path",{d:"M52.3092 4.7031H55.3187C55.9875 6.1149 56.4705 7.211 56.7678 7.9727H56.8049C57.1022 7.1832 57.5852 6.0964 58.2354 4.7031H61.31L58.1425 10.0905V14.5398H55.4302V10.0905L52.3092 4.7031Z",fill:"black"}),(0,ml.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5621 0.783203H32.1435C33.9455 0.783203 35.4131 2.2508 35.4131 4.0529V14.9578C35.4131 16.7598 33.9455 18.2274 32.1435 18.2274H21.8887L23.2913 21.6735L17.0958 18.2274H3.5529C1.7508 18.2274 0.283203 16.7598 0.283203 14.9578V4.0529C0.283203 2.2508 1.7508 0.783203 3.5621 0.783203Z",fill:"#7F54B3"}),(0,ml.jsx)("path",{d:"M2.0574 3.74629C2.2803 3.47699 2.6054 3.30979 2.9584 3.30049C3.6829 3.25399 4.1009 3.59769 4.2124 4.33149C4.6582 7.32249 5.1412 9.8676 5.6521 11.9575L8.801 5.9756C9.0889 5.4369 9.4419 5.1489 9.8785 5.1211C10.5101 5.0746 10.9002 5.47399 11.0581 6.32859C11.3554 8.00049 11.8105 9.6446 12.4143 11.233C12.7951 7.59179 13.4267 4.9539 14.3092 3.3283C14.4857 2.9568 14.8479 2.7153 15.2566 2.6967C15.5817 2.6688 15.9068 2.771 16.1576 2.9847C16.4177 3.1797 16.5756 3.4862 16.5942 3.8113C16.6128 4.0529 16.5663 4.2944 16.4549 4.4987C15.8975 5.539 15.4331 7.2667 15.0708 9.6818C14.7179 12.0133 14.5785 13.8431 14.6714 15.1528C14.7086 15.4779 14.6436 15.803 14.5042 16.091C14.3649 16.3882 14.0677 16.5926 13.7426 16.6112C13.3617 16.639 12.9902 16.4625 12.6093 16.0817C11.2718 14.7163 10.2129 12.682 9.4326 9.97899C8.513 11.8182 7.8164 13.2022 7.3612 14.1125C6.516 15.738 5.7914 16.5647 5.197 16.6112C4.8068 16.639 4.4724 16.3139 4.2031 15.6266C3.4693 13.7502 2.6797 10.1184 1.8344 4.73089C1.7601 4.37799 1.8437 4.02499 2.0574 3.74629Z",fill:"white"}),(0,ml.jsx)("path",{d:"M23.9138 6.0035C23.4308 5.1396 22.5948 4.5266 21.6195 4.3408C21.3594 4.2851 21.0993 4.2572 20.8392 4.2572C19.4645 4.2572 18.3405 4.9724 17.4674 6.4029C16.7243 7.6197 16.3342 9.0223 16.3528 10.4435C16.3528 11.5488 16.585 12.4963 17.0401 13.2858C17.5231 14.1497 18.3591 14.7627 19.3344 14.9485C19.5945 15.0042 19.8546 15.0321 20.1147 15.0321C21.4987 15.0321 22.6226 14.3169 23.4865 12.8864C24.2296 11.6603 24.6197 10.2577 24.6011 8.818C24.6011 7.7126 24.3689 6.7744 23.9138 6.0035ZM22.1025 9.9883C21.9074 10.9265 21.5451 11.6324 21.0064 12.1154C20.5884 12.4963 20.1983 12.6449 19.8453 12.5799C19.4923 12.5149 19.2137 12.199 19 11.651C18.8421 11.233 18.7492 10.7964 18.7492 10.3413C18.7492 9.9883 18.7864 9.6354 18.8514 9.2917C18.9908 8.6786 19.2415 8.1027 19.6131 7.5826C20.0868 6.8859 20.5884 6.5887 21.1086 6.7001C21.4615 6.7744 21.7402 7.081 21.9538 7.629C22.1118 8.047 22.2046 8.4836 22.2046 8.9294C22.2046 9.2824 22.1768 9.6354 22.1025 9.9883Z",fill:"white"}),(0,ml.jsx)("path",{d:"M32.9051 6.0035C32.4221 5.1396 31.5861 4.5266 30.6108 4.3408C30.3507 4.2851 30.0907 4.2572 29.8306 4.2572C28.4559 4.2572 27.3319 4.9724 26.4588 6.4029C25.7157 7.6197 25.3256 9.0223 25.3441 10.4435C25.3441 11.5488 25.5764 12.4963 26.0315 13.2858C26.5145 14.1497 27.3505 14.7627 28.3258 14.9485C28.5859 15.0042 28.846 15.0321 29.1061 15.0321C30.4901 15.0321 31.614 14.3169 32.4779 12.8864C33.221 11.6603 33.6111 10.2577 33.5925 8.818C33.5925 7.7126 33.3603 6.7744 32.9051 6.0035ZM31.0938 9.9883C30.8988 10.9265 30.5365 11.6324 29.9978 12.1154C29.5798 12.4963 29.1897 12.6449 28.8367 12.5799C28.4837 12.5149 28.2051 12.199 27.9914 11.651C27.8335 11.233 27.7406 10.7964 27.7406 10.3413C27.7406 9.9883 27.7778 9.6354 27.8428 9.2917C27.9821 8.6786 28.2329 8.1027 28.6045 7.5826C29.0782 6.8859 29.5798 6.5887 30.1 6.7001C30.4529 6.7744 30.7316 7.081 30.9452 7.629C31.1031 8.047 31.196 8.4836 31.196 8.9294C31.196 9.2824 31.1682 9.6354 31.0938 9.9883Z",fill:"white"})]});function av(e,t="",n){for(const r in e){const o=e[r],a=t?t+"["+r+"]":r;"string"==typeof o||"number"==typeof o?n.append(a,o):"object"==typeof o&&av(o,a,n)}return n}async function iv(e,t,n){const r=av(t,"",new FormData),o=await fetch(e,{method:"POST",body:r,...n});return await o.json()}const sv=(e,t)=>{"wcSettings"in window&&wcSettings.wcBlocksConfig&&"product"!==e?wp.data.dispatch("core/notices")?.createNotice("error",t,{context:`wc/${e}`}):fetch(fo("ajaxUrl"),{method:"POST",body:new URLSearchParams({action:"woopay_express_checkout_button_show_error_notice",_ajax_nonce:fo("woopayButtonNonce"),context:e,message:t})}).then((e=>e.json())).then((e=>{if(e.success){const t=document.querySelector(".woocommerce-notices-wrapper"),n=document.createElement("div");n.innerHTML=e.data.notice,t.insertBefore(n,null),t.scrollIntoView({behavior:"smooth",block:"center"})}}))},dv=e=>{const t=window.wcpayConfig.pay_for_order,n=window.wcpayConfig.order_id,r=window.wcpayConfig.key,o=window.wcpayConfig.billing_email;if(!t||!n||!r)return e;const a=new URL(e);return a.searchParams.append("pay_for_order",t),a.searchParams.append("order_id",n),a.searchParams.append("key",r),a.searchParams.append("billing_email",o),a.href},cv=()=>{(()=>{const e=document.cookie.split(";").find((e=>e.includes("skip_woopay")));if(!e)return!1;const t=e?.split("=");return"skip_woopay"===t[0].trim()&&"1"===t[1].trim()})()&&(document.cookie="skip_woopay=; path=/; expires=Thu, 01 Jan 1970 00:00:00 UTC;")},lv=e=>"woopay_shortcode_checkout"===e,uv=["color","padding","paddingTop","paddingRight","paddingBottom","paddingLeft"],pv=["fontFamily","fontSize","lineHeight","letterSpacing","fontWeight","fontVariation","textDecoration","textShadow","textTransform","-webkit-font-smoothing","-moz-osx-font-smoothing","transition"],mv=["backgroundColor","border","borderTop","borderRight","borderBottom","borderLeft","borderRadius","borderWidth","borderColor","borderStyle","borderTopWidth","borderTopColor","borderTopStyle","borderRightWidth","borderRightColor","borderRightStyle","borderBottomWidth","borderBottomColor","borderBottomStyle","borderLeftWidth","borderLeftColor","borderLeftStyle","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","outline","outlineOffset","boxShadow"],hv={".Label":[...uv,...pv],".Text":[...uv,...pv],".Input":[...uv,...pv,...mv],".Error":[...uv,...pv,...mv],".Tab":[...uv,...pv,...mv],".TabIcon":[...uv],".TabLabel":[...uv,...pv],".Block":[...uv.slice(1),...mv.slice(1)],".Container":[...mv],".Header":[...uv,...mv,...pv],".Footer":[...uv,...mv,...pv]},fv={".Label":hv[".Label"],".Label--floating":[...hv[".Label"],"transform"],".Input":[...hv[".Input"],"outlineColor","outlineWidth","outlineStyle"],".Error":hv[".Error"],".Tab":["backgroundColor","color","fontFamily"],".Tab--selected":["outlineColor","outlineWidth","outlineStyle","backgroundColor","color",mv],".TabIcon":hv[".TabIcon"],".TabIcon--selected":["color"],".TabLabel":hv[".TabLabel"],".Block":hv[".Block"],".Container":hv[".Container"],".Header":hv[".Header"],".Footer":hv[".Footer"],".Footer--link":hv[".Text"],".Text":hv[".Text"],".Text--redirect":hv[".Text"]};function yv(e){return yv="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},yv(e)}var gv=/^\s+/,vv=/\s+$/;function _v(e,t){if(t=t||{},(e=e||"")instanceof _v)return e;if(!(this instanceof _v))return new _v(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,a=null,i=!1,s=!1;return"string"==typeof e&&(e=function(e){e=e.replace(gv,"").replace(vv,"").toLowerCase();var t,n=!1;if(Lv[e])e=Lv[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=Kv.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=Kv.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=Kv.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=Kv.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=Kv.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=Kv.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=Kv.hex8.exec(e))?{r:Uv(t[1]),g:Uv(t[2]),b:Uv(t[3]),a:Wv(t[4]),format:n?"name":"hex8"}:(t=Kv.hex6.exec(e))?{r:Uv(t[1]),g:Uv(t[2]),b:Uv(t[3]),format:n?"name":"hex"}:(t=Kv.hex4.exec(e))?{r:Uv(t[1]+""+t[1]),g:Uv(t[2]+""+t[2]),b:Uv(t[3]+""+t[3]),a:Wv(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=Kv.hex3.exec(e))&&{r:Uv(t[1]+""+t[1]),g:Uv(t[2]+""+t[2]),b:Uv(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==yv(e)&&(Zv(e.r)&&Zv(e.g)&&Zv(e.b)?(t=function(e,t,n){return{r:255*Fv(e,255),g:255*Fv(t,255),b:255*Fv(n,255)}}(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Zv(e.h)&&Zv(e.s)&&Zv(e.v)?(r=zv(e.s),o=zv(e.v),t=function(e,t,n){e=6*Fv(e,360),t=Fv(t,100),n=Fv(n,100);var r=Math.floor(e),o=e-r,a=n*(1-t),i=n*(1-o*t),s=n*(1-(1-o)*t),d=r%6;return{r:255*[n,i,a,a,s,n][d],g:255*[s,n,n,i,a,a][d],b:255*[a,a,s,n,n,i][d]}}(e.h,r,o),i=!0,s="hsv"):Zv(e.h)&&Zv(e.s)&&Zv(e.l)&&(r=zv(e.s),a=zv(e.l),t=function(e,t,n){var r,o,a;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=Fv(e,360),t=Fv(t,100),n=Fv(n,100),0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,d=2*n-s;r=i(d,s,e+1/3),o=i(d,s,e),a=i(d,s,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,a),i=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=jv(n),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function bv(e,t,n){e=Fv(e,255),t=Fv(t,255),n=Fv(n,255);var r,o,a=Math.max(e,t,n),i=Math.min(e,t,n),s=(a+i)/2;if(a==i)r=o=0;else{var d=a-i;switch(o=s>.5?d/(2-a-i):d/(a+i),a){case e:r=(t-n)/d+(t<n?6:0);break;case t:r=(n-e)/d+2;break;case n:r=(e-t)/d+4}r/=6}return{h:r,s:o,l:s}}function $v(e,t,n){e=Fv(e,255),t=Fv(t,255),n=Fv(n,255);var r,o,a=Math.max(e,t,n),i=Math.min(e,t,n),s=a,d=a-i;if(o=0===a?0:d/a,a==i)r=0;else{switch(a){case e:r=(t-n)/d+(t<n?6:0);break;case t:r=(n-e)/d+2;break;case n:r=(e-t)/d+4}r/=6}return{h:r,s:o,v:s}}function wv(e,t,n,r){var o=[Vv(Math.round(e).toString(16)),Vv(Math.round(t).toString(16)),Vv(Math.round(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function Sv(e,t,n,r){return[Vv(Hv(r)),Vv(Math.round(e).toString(16)),Vv(Math.round(t).toString(16)),Vv(Math.round(n).toString(16))].join("")}function Ev(e,t){t=0===t?0:t||10;var n=_v(e).toHsl();return n.s-=t/100,n.s=Bv(n.s),_v(n)}function xv(e,t){t=0===t?0:t||10;var n=_v(e).toHsl();return n.s+=t/100,n.s=Bv(n.s),_v(n)}function Cv(e){return _v(e).desaturate(100)}function kv(e,t){t=0===t?0:t||10;var n=_v(e).toHsl();return n.l+=t/100,n.l=Bv(n.l),_v(n)}function Tv(e,t){t=0===t?0:t||10;var n=_v(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),_v(n)}function Av(e,t){t=0===t?0:t||10;var n=_v(e).toHsl();return n.l-=t/100,n.l=Bv(n.l),_v(n)}function Pv(e,t){var n=_v(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,_v(n)}function Rv(e){var t=_v(e).toHsl();return t.h=(t.h+180)%360,_v(t)}function Ov(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=_v(e).toHsl(),r=[_v(e)],o=360/t,a=1;a<t;a++)r.push(_v({h:(n.h+a*o)%360,s:n.s,l:n.l}));return r}function Iv(e){var t=_v(e).toHsl(),n=t.h;return[_v(e),_v({h:(n+72)%360,s:t.s,l:t.l}),_v({h:(n+216)%360,s:t.s,l:t.l})]}function Nv(e,t,n){t=t||6,n=n||30;var r=_v(e).toHsl(),o=360/n,a=[_v(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(_v(r));return a}function Mv(e,t){t=t||6;for(var n=_v(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;t--;)i.push(_v({h:r,s:o,v:a})),a=(a+s)%1;return i}_v.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=jv(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=$v(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=$v(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=bv(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=bv(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return wv(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[Vv(Math.round(e).toString(16)),Vv(Math.round(t).toString(16)),Vv(Math.round(n).toString(16)),Vv(Hv(r))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*Fv(this._r,255))+"%",g:Math.round(100*Fv(this._g,255))+"%",b:Math.round(100*Fv(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*Fv(this._r,255))+"%, "+Math.round(100*Fv(this._g,255))+"%, "+Math.round(100*Fv(this._b,255))+"%)":"rgba("+Math.round(100*Fv(this._r,255))+"%, "+Math.round(100*Fv(this._g,255))+"%, "+Math.round(100*Fv(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Dv[wv(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Sv(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=_v(e);n="#"+Sv(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return _v(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(kv,arguments)},brighten:function(){return this._applyModification(Tv,arguments)},darken:function(){return this._applyModification(Av,arguments)},desaturate:function(){return this._applyModification(Ev,arguments)},saturate:function(){return this._applyModification(xv,arguments)},greyscale:function(){return this._applyModification(Cv,arguments)},spin:function(){return this._applyModification(Pv,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Nv,arguments)},complement:function(){return this._applyCombination(Rv,arguments)},monochromatic:function(){return this._applyCombination(Mv,arguments)},splitcomplement:function(){return this._applyCombination(Iv,arguments)},triad:function(){return this._applyCombination(Ov,[3])},tetrad:function(){return this._applyCombination(Ov,[4])}},_v.fromRatio=function(e,t){if("object"==yv(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:zv(e[r]));e=n}return _v(e,t)},_v.equals=function(e,t){return!(!e||!t)&&_v(e).toRgbString()==_v(t).toRgbString()},_v.random=function(){return _v.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},_v.mix=function(e,t,n){n=0===n?0:n||50;var r=_v(e).toRgb(),o=_v(t).toRgb(),a=n/100;return _v({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},_v.readability=function(e,t){var n=_v(e),r=_v(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},_v.isReadable=function(e,t,n){var r,o,a,i,s,d=_v.readability(e,t);switch(o=!1,(a=n,"AA"!==(i=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==i&&(i="AA"),"small"!==(s=(a.size||"small").toLowerCase())&&"large"!==s&&(s="small"),r={level:i,size:s}).level+r.size){case"AAsmall":case"AAAlarge":o=d>=4.5;break;case"AAlarge":o=d>=3;break;case"AAAsmall":o=d>=7}return o},_v.mostReadable=function(e,t,n){var r,o,a,i,s=null,d=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var c=0;c<t.length;c++)(r=_v.readability(e,t[c]))>d&&(d=r,s=_v(t[c]));return _v.isReadable(e,s,{level:a,size:i})||!o?s:(n.includeFallbackColors=!1,_v.mostReadable(e,["#fff","#000"],n))};var Lv=_v.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Dv=_v.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(Lv);function jv(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Fv(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Bv(e){return Math.min(1,Math.max(0,e))}function Uv(e){return parseInt(e,16)}function Vv(e){return 1==e.length?"0"+e:""+e}function zv(e){return e<=1&&(e=100*e+"%"),e}function Hv(e){return Math.round(255*parseFloat(e)).toString(16)}function Wv(e){return Uv(e)/255}var qv,Gv,Yv,Kv=(Gv="[\\s|\\(]+("+(qv="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+qv+")[,|\\s]+("+qv+")\\s*\\)?",Yv="[\\s|\\(]+("+qv+")[,|\\s]+("+qv+")[,|\\s]+("+qv+")[,|\\s]+("+qv+")\\s*\\)?",{CSS_UNIT:new RegExp(qv),rgb:new RegExp("rgb"+Gv),rgba:new RegExp("rgba"+Yv),hsl:new RegExp("hsl"+Gv),hsla:new RegExp("hsla"+Yv),hsv:new RegExp("hsv"+Gv),hsva:new RegExp("hsva"+Yv),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Zv(e){return!!Kv.CSS_UNIT.exec(e)}const Xv=e=>_v(e).getBrightness()>125,Jv=e=>{const t=e.match(/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0?(\.\d+)?|1?(\.0+)?)\s*\)$/);if(t){const n=t[4]||1;e=`rgb(${t.slice(1,4).map((e=>Math.round(e*n+255*(1-n)))).join(", ")})`}return e},Qv={default:{hiddenContainer:"#wcpay-hidden-div",hiddenInput:"#wcpay-hidden-input",hiddenInvalidInput:"#wcpay-hidden-invalid-input",hiddenValidActiveLabel:"#wcpay-hidden-valid-active-label"},classicCheckout:{appendTarget:".woocommerce-billing-fields__field-wrapper",upeThemeInputSelector:"#billing_first_name",upeThemeLabelSelector:".woocommerce-checkout .form-row label",upeThemeTextSelector:".woocommerce-checkout .form-row",rowElement:"p",validClasses:["form-row"],invalidClasses:["form-row","woocommerce-invalid","woocommerce-invalid-required-field"],backgroundSelectors:["li.wc_payment_method .wc-payment-form","li.wc_payment_method .payment_box","#payment","#order_review","form.checkout","body"],headingSelectors:["h1","h2","h3","h4","h5","h6"],buttonSelectors:["#place_order"],linkSelectors:["a"]},blocksCheckout:{appendTarget:"#contact-fields",upeThemeInputSelector:".wc-block-components-text-input #email",upeThemeLabelSelector:".wc-block-components-text-input label",upeThemeTextSelector:".wc-block-components-text-input",rowElement:"div",validClasses:["wc-block-components-text-input","is-active"],invalidClasses:["wc-block-components-text-input","has-error"],alternateSelectors:{appendTarget:"#billing.wc-block-components-address-form",upeThemeInputSelector:"#billing-first_name",upeThemeLabelSelector:".wc-block-components-checkout-step__description"},backgroundSelectors:["#payment-method .wc-block-components-radio-control-accordion-option","#payment-method","form.wc-block-checkout__form",".wc-block-checkout","body"],headingSelectors:["h1","h2","h3","h4","h5","h6"],buttonSelectors:[".wc-block-components-checkout-place-order-button"],linkSelectors:["a"],containerSelectors:[".wp-block-woocommerce-checkout-order-summary-block"]},bnplProductPage:{appendTarget:".product .cart .quantity",upeThemeInputSelector:".product .cart .quantity .qty",upeThemeLabelSelector:".product .cart .quantity label",upeThemeTextSelector:".product .cart .quantity",rowElement:"div",validClasses:["input-text"],invalidClasses:["input-text","has-error"],backgroundSelectors:["#payment-method-message","#main > .product > div.summary.entry-summary","#main > .product","#main","body"],headingSelectors:["h1","h2","h3","h4","h5","h6"],buttonSelectors:[".single_add_to_cart_button"],linkSelectors:["a"]},bnplClassicCart:{appendTarget:".cart .quantity",upeThemeInputSelector:".cart .quantity .qty",upeThemeLabelSelector:".cart .quantity label",upeThemeTextSelector:".cart .quantity",rowElement:"div",validClasses:["input-text"],invalidClasses:["input-text","has-error"],backgroundSelectors:["#payment-method-message","#main .entry-content .cart_totals","#main .entry-content","#main","body"],headingSelectors:["h1","h2","h3","h4","h5","h6"],buttonSelectors:[".checkout-button"],linkSelectors:["a"],containerSelectors:[".shop_table"]},bnplCartBlock:{appendTarget:".wc-block-cart .wc-block-components-quantity-selector",upeThemeInputSelector:".wc-block-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input",upeThemeLabelSelector:".wc-block-components-text-input",upeThemeTextSelector:".wc-block-components-text-input",rowElement:"div",validClasses:["wc-block-components-text-input"],invalidClasses:["wc-block-components-text-input","has-error"],backgroundSelectors:[".wc-block-components-bnpl-wrapper",".wc-block-components-order-meta",".wc-block-components-totals-wrapper",".wp-block-woocommerce-cart-order-summary-block",".wp-block-woocommerce-cart-totals-block",".wp-block-woocommerce-cart .wc-block-cart",".wp-block-woocommerce-cart","body"],headingSelectors:["h1","h2","h3","h4","h5","h6"],buttonSelectors:[".wc-block-cart__submit-button"],linkSelectors:["a"],containerSelectors:[".wp-block-woocommerce-cart-line-items-block"]},wooPayClassicCheckout:{appendTarget:".woocommerce-billing-fields__field-wrapper",upeThemeInputSelector:"#billing_first_name",upeThemeLabelSelector:".woocommerce-checkout .form-row label",upeThemeTextSelector:".woocommerce-checkout .form-row",rowElement:"p",validClasses:["form-row"],invalidClasses:["form-row","woocommerce-invalid","woocommerce-invalid-required-field"],backgroundSelectors:["#customer_details","#order_review","form.checkout","body"],headingSelectors:["h1","h2","h3","h4","h5","h6"],buttonSelectors:["#place_order"],linkSelectors:["a"],containerSelectors:[".woocommerce-checkout-review-order-table"],headerSelectors:[".site-header"],footerSelectors:[".site-footer"],footerLink:[".site-footer a"]},updateSelectors:function(e){return e.hasOwnProperty("alternateSelectors")&&(Object.entries(e.alternateSelectors).forEach((t=>{const[n,r]=t;document.querySelector(e[n])||(e[n]=r)})),delete e.alternateSelectors),e},getSelectors:function(e){let t=this.blocksCheckout;switch(e){case"blocks_checkout":t=this.blocksCheckout;break;case"shortcode_checkout":t=this.classicCheckout;break;case"bnpl_product_page":t=this.bnplProductPage;break;case"bnpl_classic_cart":t=this.bnplClassicCart;break;case"bnpl_cart_block":t=this.bnplCartBlock;break;case"woopay_shortcode_checkout":t=this.wooPayClassicCheckout}return{...this.default,...this.updateSelectors(t)}}},e_={getHiddenContainer:function(e){const t=document.createElement("div");return t.setAttribute("id",this.getIDFromSelector(e)),t.style.border=0,t.style.clip="rect(0 0 0 0)",t.style.height="1px",t.style.margin="-1px",t.style.overflow="hidden",t.style.padding="0",t.style.position="absolute",t.style.width="1px",t},createRow:function(e,t=[]){const n=document.createElement(e);return t.length&&n.classList.add(...t),n},appendClone:function(e,t,n){const r=document.querySelector(t);if(r){const t=r.cloneNode(!0);t.id=this.getIDFromSelector(n),t.value="",e.appendChild(t)}},getIDFromSelector:function(e){return e.startsWith("#")||e.startsWith(".")?e.slice(1):e},init:function(e){const t=Qv.getSelectors(e),n=document.querySelector(t.appendTarget),r=document.querySelector(t.upeThemeInputSelector);if(!n||!r)return;document.querySelector(t.hiddenContainer)&&this.cleanup();const o=this.getHiddenContainer(t.hiddenContainer);n.appendChild(o);const a=this.createRow(t.rowElement,t.validClasses);o.appendChild(a);const i=this.createRow(t.rowElement,t.invalidClasses);o.appendChild(i),this.appendClone(a,t.upeThemeInputSelector,t.hiddenInput),this.appendClone(a,t.upeThemeLabelSelector,t.hiddenValidActiveLabel),this.appendClone(i,t.upeThemeInputSelector,t.hiddenInvalidInput),this.appendClone(i,t.upeThemeLabelSelector,t.hiddenInvalidInput),document.querySelector(t.hiddenInput).style.transition="none"},cleanup:function(){const e=document.querySelector(Qv.default.hiddenContainer);e&&e.remove()}},t_=(e,t,n=null)=>{if(!document.querySelector(e))return{};const r=fv[t],o=document.querySelector(e),a=window.getComputedStyle(o),i={};for(let e=0;e<a.length;e++){const t=a[e].replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}));if(r.includes(t)){let n=a.getPropertyValue(a[e]);"color"===t&&(n=Jv(n)),i[t]=n}}if(".Input"===t||".Tab--selected"===t){const e=((e,t="solid",n)=>e&&n?[e,t,n].join(" "):"")(i.outlineWidth,i.outlineStyle,i.outlineColor);""!==e&&(i.outline=e),delete i.outlineWidth,delete i.outlineColor,delete i.outlineStyle}const s=a.getPropertyValue("text-indent");return"0px"!==s&&"0px"===i.paddingLeft&&"0px"===i.paddingRight&&(i.paddingLeft=s,i.paddingRight=s),".Block"===t&&(i.backgroundColor=n),i},n_=(e,t=!1)=>{const n=Qv.getSelectors(e);e_.init(e);const r=t_(n.hiddenInput,".Input"),o=t_(n.hiddenInvalidInput,".Input"),a=t_(n.upeThemeLabelSelector,".Label"),i=t_(n.upeThemeTextSelector,".Text"),s=t_(n.upeThemeInputSelector,".Tab"),d=t_(n.hiddenInput,".Tab--selected"),c=(e=>{const t=Object.assign({},e);if(!e.backgroundColor||!e.color)return e;const n=((e,t)=>{const n={backgroundColor:e,color:t},r=_v(e),o=_v(t);if(!r.isValid()||!o.isValid())return{backgroundColor:"",color:""};const a=r.getBrightness()>50?_v(r).darken(7):_v(r).lighten(7),i=_v.mostReadable(a,[o],{includeFallbackColors:!0});return n.backgroundColor=a.toRgbString(),n.color=i.toRgbString(),n})(e.backgroundColor,e.color);return t.backgroundColor=n.backgroundColor,t.color=n.color,t})(s),l={color:c.color},u={color:d.color},p=(e=>{let t=null,n=0;for(;!t&&n<e.length;){const r=document.querySelector(e[n]);if(!r){n++;continue}const o=window.getComputedStyle(r).backgroundColor;o&&_v(o).getAlpha()>0&&(t=o),n++}return t||"#ffffff"})(n.backgroundSelectors),m=t_(n.headingSelectors,".Label"),h=t_(n.upeThemeLabelSelector,".Block",p),f=t_(n.buttonSelectors,".Input"),y=t_(n.linkSelectors,".Label"),g=t_(n.containerSelectors,".Container"),v=t_(n.headerSelectors,".Header"),_=t_(n.footerSelectors,".Footer"),b=t_(n.footerLink,".Footer--link"),$="blocks_checkout"===e;let w={variables:{colorBackground:p,colorText:i.color,fontFamily:i.fontFamily,fontSizeBase:i.fontSize},theme:Xv(p)?"stripe":"night",labels:$?"floating":"above",rules:JSON.parse(JSON.stringify({".Input":r,".Input--invalid":o,".Label":a,".Block":h,".Tab":s,".Tab:hover":c,".Tab--selected":d,".TabIcon:hover":l,".TabIcon--selected":u,".Text":i,".Text--redirect":i}))};return $&&(w=((e,t)=>{if(e.rules[".Label--floating"]=t,e.rules[".Label--floating"].transform&&"none"!==e.rules[".Label--floating"].transform){const t=e.rules[".Label--floating"].transform.match(/matrix\((.+)\)/);if(t&&t[1]){const n=t[1].split(", "),r=(parseFloat(n[0])+parseFloat(n[3]))/2,o=parseFloat(e.rules[".Label--floating"].lineHeight),a=Math.floor(o*r);e.rules[".Label--floating"].lineHeight=`${a}px`,e.rules[".Label--floating"].fontSize=`${a}px`}delete e.rules[".Label--floating"].transform}if(e.rules[".Input"].paddingTop&&(e.rules[".Input"].paddingTop=`calc(${e.rules[".Input"].paddingTop} - ${e.rules[".Label--floating"].lineHeight} - 4px - 1px)`),e.rules[".Input"].paddingBottom){var n;const t=parseFloat(e.rules[".Input"].paddingBottom);e.rules[".Input"].paddingBottom=t-1+"px";const r=null!==(n=e.rules[".Label"].marginTop)&&void 0!==n?n:"0";e.rules[".Label"].marginTop=`${Math.floor((t-1)/3)}px`,e.rules[".Label--floating"].marginTop=r}return e})(w,t_(n.hiddenValidActiveLabel,".Label--floating"))),t&&(w.rules={...w.rules,".Heading":m,".Header":v,".Footer":_,".Footer-link":b,".Button":f,".Link":y,".Container":g}),e_.cleanup(),w},r_=()=>document.querySelector(".wp-block-woocommerce-checkout")?"blocks_checkout":document.querySelector(".woocommerce-billing-fields")?"woopay_shortcode_checkout":document.querySelector(".wp-block-woocommerce-cart")?"bnpl_cart_block":document.querySelector(".woocommerce-cart-form")?"bnpl_classic_cart":document.querySelector(".single-product")?"bnpl_product_page":void 0,o_=async(e,t,n)=>{const r=await(o=n,o?new Promise((e=>{if(document.querySelector(o))return e(document.querySelector(o));const t=document.querySelector('[data-block-name="woocommerce/checkout"]');if(!t)return e(null);new MutationObserver(((t,n)=>{document.querySelector(o)&&(e(document.querySelector(o)),n.disconnect())})).observe(t,{childList:!0,subtree:!0})})):null);var o;const a=await wo();let i="";const s=document.body,d=document.createElement("div");d.setAttribute("role","dialog"),d.setAttribute("aria-modal","true"),d.classList.add("woopay-otp-iframe-wrapper");const c=document.createElement("iframe");c.title=(0,Q.__)("WooPay SMS code verification","woocommerce-payments"),c.classList.add("woopay-otp-iframe"),c.classList.add("intrinsic-ignore");const l=768;let u=!0;const p=()=>{(l<=window.innerWidth&&u||l>window.innerWidth&&!u)&&(u=!u,c.contentWindow.postMessage({action:"setHeader",value:u},fo("woopayHost"))),document.body.style.overflow="hidden"},m=()=>{if(!c)return;if(l>window.innerWidth)return c.style.left="0",c.style.right="",void(c.style.top="0");const e=c.getBoundingClientRect();c.style.top=Math.floor(window.innerHeight/2-e.height/2)+"px",c.style.left=Math.floor(window.innerWidth/2-e.width/2)+"px"};c.addEventListener("load",(()=>{u=!0;const e=r_(),t=lv(e)&&fo("isWooPayGlobalThemeSupportEnabled")?n_(e,!0):null;fo("isWoopayFirstPartyAuthEnabled")&&iv(_o(fo("wcAjaxUrl"),"get_woopay_session"),{_ajax_nonce:fo("woopaySessionNonce"),order_id:fo("order_id"),key:fo("key"),billing_email:fo("billing_email"),appearance:t}).then((e=>{e?.data?.session&&c.contentWindow.postMessage({action:"setSessionData",value:e},fo("woopayHost"))})),p(),window.addEventListener("resize",p),m(),window.addEventListener("resize",m),c.classList.add("open")})),d.insertBefore(c,null);const h=()=>{window.removeEventListener("resize",p),window.removeEventListener("resize",m),window.removeEventListener("pageshow",y),window.removeEventListener("message",f),document.removeEventListener("keyup",g),d.remove(),c.classList.remove("open"),document.body.style.overflow=""};function f(n){if(fo("woopayHost").startsWith(n.origin))switch(n.data.action){case"otp_email_submitted":i=n.data.userEmail;break;case"redirect_to_woopay_skip_session_init":n.data.redirectUrl&&(window.location=dv(n.data.redirectUrl));break;case"redirect_to_platform_checkout":case"redirect_to_woopay":e.initWooPay(i||n.data.userEmail,n.data.platformCheckoutUserSession).then((e=>{if(document.querySelector(".woopay-otp-iframe"))if("success"===e.result)window.location=dv(e.url);else{const e=(0,Q.__)("WooPay is unavailable at this time. Sorry for the inconvenience.","woocommerce-payments");sv(t,e),h()}}));break;case"otp_validation_failed":break;case"close_modal":h();break;case"iframe_height":n.data.height>300&&(l<=window.innerWidth?(c.style.height=n.data.height+"px",c.style.top=Math.floor(window.innerHeight/2-n.data.height/2)+"px"):(c.style.height="",c.style.top=""))}}function y(e){e.persisted&&h()}function g(e){"Escape"===e.key&&h()&&e.stopPropagation()}d.addEventListener("click",h),((e="")=>{if(document.querySelector(".woopay-otp-iframe"))return;window.addEventListener("pageshow",y),window.addEventListener("message",f),document.addEventListener("keyup",g);const n=window.document.documentElement.clientWidth,r=window.document.documentElement.clientHeight,o=new URLSearchParams;var u;o.append("testMode",fo("testMode")),o.append("needsHeader",l>window.innerWidth),o.append("wcpayVersion",fo("wcpayVersionNumber")),e&&(u=e,new RegExp(/^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[0-9a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]){2,}\.?$/i).test(u))&&(i=e,o.append("email",e)),o.append("is_blocks",!!window.wcSettings?.wcBlocksConfig),o.append("is_express","true"),o.append("express_context",t),o.append("source_url",window.location.href),o.append("viewport",`${n}x${r}`),a&&o.append("tracksUserIdentity",a),c.src=`${fo("woopayHost")}/otp/?${o.toString()}`,s.insertBefore(d,null),m(),c.focus()})(r?.value||fo("woopaySessionEmail"))};var a_=n(9517),i_=n.n(a_);function s_(e){window.WooPayConnect||(window.WooPayConnect={}),window.WooPayConnect.iframeInjectedState=e}function d_(){return window?.WooPayConnect?.postMessageTimeout||5e3}const c_=()=>{const e=(0,U.useRef)(),[t,n]=(0,U.useState)("");return(0,U.useEffect)((()=>{(async()=>{const e=fo("testMode"),t=fo("woopayHost"),r=fo("woopayMerchantId"),o=new URLSearchParams({testMode:e,source_url:window.location.href,blogId:r}),a=await wo();a&&o.append("tracksUserIdentity",a),n(`${t}/connect/?${o.toString()}`)})()}),[]),(0,U.useEffect)((()=>{if(!e.current)return;const t=e.current;t.addEventListener("load",(()=>{s_(2),window.dispatchEvent(new MessageEvent("message",{source:window,origin:fo("woopayHost"),data:{action:"get_iframe_post_message_success",value:e=>t.contentWindow.postMessage(e,fo("woopayHost"))}}))}))}),[t]),(0,ml.jsx)("iframe",{ref:e,id:"woopay-connect-iframe",src:t,style:{height:0,width:0,border:"none",margin:0,padding:0,overflow:"hidden",display:"block",visibility:"hidden",position:"fixed",pointerEvents:"none",userSelect:"none"},title:(0,Q.__)("WooPay Connect Direct Checkout","woocommerce-payments")})},l_=class{iframePostMessage=null;listeners={};constructor(){this.listeners={getIframePostMessageCallback:()=>{},getPostMessageTimeoutCallback:()=>{}},this.removeMessageListener=this.attachMessageListener(),this.injectWooPayConnectIframe()}attachMessageListener(){const e=e=>{fo("woopayHost").startsWith(e.origin)&&this.callbackFn(e.data)};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}detachMessageListener(){"function"==typeof this.removeMessageListener&&this.removeMessageListener()}injectWooPayConnectIframe(){const e=window?.WooPayConnect?.iframeInjectedState||0;if(2===e){const e=document.querySelector("#woopay-connect-iframe");return void(e&&(this.iframePostMessage=Promise.resolve((t=>{e.contentWindow.postMessage(t,fo("woopayHost"))}))))}if(1===e)return void(this.iframePostMessage=new Promise((e=>{this.listeners.getIframePostMessageCallback=e})));s_(1);const t=document.createElement("div");t.style.visibility="hidden",t.style.position="fixed",t.style.height="0",t.style.width="0",t.style.bottom="0",t.style.right="0",t.id="woopay-connect-iframe-container",document.body.appendChild(t);const n=this;this.iframePostMessage=new Promise((e=>{n.listeners.getIframePostMessageCallback=e})),H().render((0,ml.jsx)(c_,{}),t)}injectTemporaryWooPayConnectIframe(){let e;const t=new Promise((t=>{e=t})),n=document.createElement("iframe");return n.id="temp-woopay-connect-iframe",n.src=fo("woopayHost")+"/connect/",n.height=0,n.width=0,n.border="none",n.margin=0,n.padding=0,n.overflow="hidden",n.display="block",n.visibility="hidden",n.position="fixed",n.pointerEvents="none",n.userSelect="none",n.addEventListener("load",(()=>{e((e=>n.contentWindow.postMessage(e,fo("woopayHost"))))})),document.body.appendChild(n),{resolvePostMessagePromise:t,removeTemporaryIframe:()=>{document.body.removeChild(n)}}}async sendMessageAndListenWith(e,t){const n=new Promise(((e,n)=>{let r=!1;const o=setTimeout((()=>{r=!0,n(new Error("WooPayConnectIframe did not respond within the allotted time."))}),d_());this.listeners[t]=t=>{r||(o&&clearTimeout(o),e(t))}}));if("function"!=typeof this.iframePostMessage?.then)throw new Error("iframePostMessage is not set");return(await this.iframePostMessage)(e),await n}async getPostMessageTimeout(){try{return await this.sendMessageAndListenWith({action:"getPostMessageTimeout"},"getPostMessageTimeoutCallback")}catch(e){return null}}callbackFn(e){switch(e.action){case"get_iframe_post_message_success":this.listeners.getIframePostMessageCallback(e.value);break;case"get_post_message_timeout_success":this.listeners.getPostMessageTimeoutCallback(e.value)}}},u_=class extends l_{constructor(){super(),this.listeners={...this.listeners,setRedirectSessionDataCallback:()=>{},setTempThirdPartyCookieCallback:()=>{},getIsWooPayReachableCallback:()=>{},getIsThirdPartyCookiesEnabledCallback:()=>{},setPreemptiveSessionDataCallback:()=>{}}}async isWooPayThirdPartyCookiesEnabled(){const{resolvePostMessagePromise:e,removeTemporaryIframe:t}=this.injectTemporaryWooPayConnectIframe(),n=new Promise(((e,t)=>{let n=!1;const r=setTimeout((()=>{n=!0,t(new Error("WooPayConnectIframe did not respond within the allotted time."))}),d_());this.listeners.setTempThirdPartyCookieCallback=t=>{n||(r&&clearTimeout(r),e(t))}}));if("function"!=typeof e?.then)return!1;const r=await e;r({action:"setTempThirdPartyCookie"});try{if(!await n)return t(),!1}catch(e){return t(),!1}const o=new Promise(((e,t)=>{let n=!1;const r=setTimeout((()=>{n=!0,t(new Error("WooPayConnectIframe did not respond within the allotted time."))}),d_());this.listeners.getIsThirdPartyCookiesEnabledCallback=t=>{n||(r&&clearTimeout(r),e(t))}}));r({action:"getIsThirdPartyCookiesEnabled"});try{return await o}catch(e){return!1}finally{t()}}async sendRedirectSessionDataToWooPay(e){try{return await super.sendMessageAndListenWith({action:"setRedirectSessionData",value:e},"setRedirectSessionDataCallback")}catch(e){return null}}async setPreemptiveSessionData(e){try{return await super.sendMessageAndListenWith({action:"setPreemptiveSessionData",value:e},"setPreemptiveSessionDataCallback")}catch(e){return null}}async isWooPayReachable(){try{return await this.sendMessageAndListenWith({action:"isWooPayReachable"},"getIsWooPayReachableCallback")}catch(e){return!1}}callbackFn(e){switch(super.callbackFn(e),e.action){case"set_redirect_session_data_success":this.listeners.setRedirectSessionDataCallback(e.value);break;case"set_redirect_session_data_error":this.listeners.setRedirectSessionDataCallback({is_error:!0});break;case"set_temp_third_party_cookie_success":this.listeners.setTempThirdPartyCookieCallback(e.value);break;case"get_is_third_party_cookies_enabled_success":this.listeners.getIsThirdPartyCookiesEnabledCallback(e.value);break;case"get_is_woopay_reachable_success":this.listeners.getIsWooPayReachableCallback(e.value);break;case"set_preemptive_session_data_success":this.listeners.setPreemptiveSessionDataCallback(e.value);break;case"set_preemptive_session_data_error":this.listeners.setPreemptiveSessionDataCallback({is_error:!0})}}},p_=class{static sessionConnect;static init(){this.getSessionConnect()}static getSessionConnect(){return this.sessionConnect||(this.sessionConnect=new u_),this.sessionConnect}static async sendPreemptiveSessionDataToWooPay(e){return this.getSessionConnect().setPreemptiveSessionData(e)}static async getWooPaySessionFromMerchant(e){return iv(_o(fo("wcAjaxUrl"),"get_woopay_session"),e)}},m_={default:(0,Q.__)("WooPay","woocommerce-payments"),buy:(0,Q.__)("Buy with WooPay","woocommerce-payments"),donate:(0,Q.__)("Donate with WooPay","woocommerce-payments"),book:(0,Q.__)("Book with WooPay","woocommerce-payments")},h_=({listenForCartChanges:e,isPreview:t=!1,buttonSettings:n,api:r,isProductPage:o=!1,emailSelector:a="#email",buttonAttributes:i})=>{var s;const d="narrow",c="wide",l=(0,U.useRef)(null),u=(0,U.useRef)(null),p=(0,U.useRef)(!1);let{height:m,type:h,theme:f,context:y,radius:g}=n;const[v,_]=(0,U.useState)(!1),[b,$]=(0,U.useState)(c),w=new Map;var S;w.set("40","small"),w.set("48","medium"),w.set("55","large"),void 0!==i&&(m=i.height||m,g=null!==(S=i.borderRadius)&&void 0!==S?S:g);const E=w.get(m?.toString())||"medium",x=null!==(s=m_[h||"default"])&&void 0!==s?s:m_.default,C="dark"===f?rv:ov,{addToCart:k,getProductData:T}=(e=>({addToCart:t=>e.expressCheckoutAddToCart(t),getProductData:()=>{const e=document.querySelector(".single_add_to_cart_button").value,t=document.querySelector(".bundle_form"),n=document.querySelector(".single_variation_wrap");let r={product_id:e,quantity:document.querySelector(".quantity .qty").value};if(n&&!t)r.product_id=n.querySelector('input[name="product_id"]').value,r.attributes=document.querySelector(".variations_form")?(()=>{const e=document.querySelector(".variations_form")?.querySelectorAll(".variations select"),t={};return e&&e.forEach((e=>{const n=e.name,r=e.value||"";t[n]=r})),t})():[];else{const e=new FormData(document.querySelector("form.cart"));e.delete("add-to-cart");const t={};for(const n of e.entries())t[n[0]]=n[1];r={...r,...t}}const o=document.querySelector("form.cart");return!(o&&(new FormData(o).forEach(((e,t)=>{if(/^(addon-|wc_)/.test(t))if(/\[\]$/.test(t)){const n=t.substring(0,t.length-2);r[n]?r[n].push(e):r[n]=[e]}else r[t]=e})),!(e=>{const t=["wc_gc_giftcard_to","wc_gc_giftcard_from","wc_gc_giftcard_to_multiple"];for(const n of t)if(e.hasOwnProperty(n)&&!e[n])return alert((0,Q.__)("Please fill out all required fields","woocommerce-payments")),!1;return e.hasOwnProperty("wc_gc_giftcard_to_multiple")&&!e.wc_gc_giftcard_to_multiple.split(",").every((e=>i_()(e.trim())))?(alert((0,Q.__)("Please type only valid emails","woocommerce-payments")),!1):!(e.hasOwnProperty("wc_gc_giftcard_to")&&!i_()(e.wc_gc_giftcard_to)&&(alert((0,Q.__)("Please type only valid emails","woocommerce-payments")),1))})(r)))&&r}}))(r),A=(0,U.useRef)(T),P=(0,U.useRef)(k);(0,U.useEffect)((()=>{if(!u.current)return;const e=u.current.getBoundingClientRect().width;$(e>140?c:d)}),[d,c]),(0,U.useEffect)((()=>{t||$o("woopay_button_load",{source:y})}),[t,y]);const R=(0,U.useCallback)((()=>{if(!o)return!0;const e=document.querySelector(".single_add_to_cart_button");return!e||!e.disabled&&!e.classList.contains("disabled")||(e.classList.contains("wc-variation-is-unavailable")?window.alert(window?.wc_add_to_cart_variation_params?.i18n_unavailable_text||(0,Q.__)("Sorry, this product is unavailable. Please choose a different combination.","woocommerce-payments")):window.alert((0,Q.__)("Please select your product options before proceeding.","woocommerce-payments")),!1)}),[o]),O=(0,U.useCallback)((e=>{if(e?.preventDefault(),!t&&($o("woopay_button_click",{source:y}),cv(),R()))if(o){const e=A.current();if(!e)return;P.current(e).then((e=>{e.error?e.submit&&document.querySelector("form.cart").submit():o_(r,y,a)}))}else o_(r,y,a)}),[r,y,a,t,o,R]),I=(0,U.useCallback)((n=>{if(n.preventDefault(),t||p.current)return;if($o("woopay_button_click",{source:y}),cv(),!R())return;p.current=!0,_(!0);const r=r_(),a=lv(r)&&fo("isWooPayGlobalThemeSupportEnabled")?n_(r,!0):null;if(o){const t=A.current();if(!t)return;"function"==typeof e?.stop&&e.stop(),P.current(t).then((()=>{"function"==typeof e?.start&&e.start(),p_.getWooPaySessionFromMerchant({_ajax_nonce:fo("woopaySessionNonce"),appearance:a}).then((async e=>{if(!e?.blog_id||!e?.data?.session)throw l.current=O,new Error(e?.data);{const t=await p_.sendPreemptiveSessionDataToWooPay(e);if(t?.is_error)return O(null),l.current=O,p.current=!1,void _(!1);window.location.href=dv(t.redirect_url)}})).catch((()=>{const e=(0,Q.__)("Something went wrong. Please try again.","woocommerce-payments");sv(y,e),p.current=!1,_(!1)}))}))}else p_.getWooPaySessionFromMerchant({_ajax_nonce:fo("woopaySessionNonce"),order_id:fo("order_id"),key:fo("key"),billing_email:fo("billing_email"),appearance:a}).then((async e=>{if(!e?.blog_id||!e?.data?.session)throw l.current=O,new Error(e?.data);{const t=await p_.sendPreemptiveSessionDataToWooPay(e);if(t?.is_error)return O(null),l.current=O,p.current=!1,void _(!1);window.location.href=dv(t.redirect_url)}}))?.catch((()=>{const e=(0,Q.__)("Something went wrong. Please try again.","woocommerce-payments");sv(y,e),p.current=!1,_(!1)}))}),[R,y,t,o,e,O]);return(0,U.useEffect)((()=>{fo("isWoopayFirstPartyAuthEnabled")?(l.current=I,p_.init()):l.current=O}),[I,O]),(0,U.useEffect)((()=>{const e=e=>{e?.persisted&&(p.current=!1,_(!1))};return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}}),[]),(0,ml.jsx)("button",{ref:u,"aria-label":x,onClick:e=>l.current(e),className:X()("woopay-express-button",{"is-loading":v}),"data-type":h,"data-size":E,"data-theme":f,"data-width-type":b,style:{height:`${m}px`,borderRadius:`${g}px`},disabled:v,type:"button",children:v?(0,ml.jsx)("span",{className:"wc-block-components-spinner"}):(0,ml.jsx)(ml.Fragment,{children:gl({mixedString:x.replace(m_.default,"{{wooPayLogo /}}"),components:{wooPayLogo:(0,ml.jsx)(C,{})}})})},`${h}-${f}-${E}`)},f_=({stripe:e,buttonType:t,theme:n,height:r,radius:o})=>{const[a,i]=(0,U.useState)(!0),s={mode:"payment",amount:1e3,currency:"usd",appearance:{variables:{borderRadius:`${null!=o?o:vo()}px`,spacingUnit:"6px"}}},d=(e,t)=>{switch(t){case"dark":default:return"black";case"light":return"white";case"light-outline":return"googlePay"===e?"white":"white-outline"}},c="default"===t?"plain":t,l={buttonHeight:Math.min(Math.max(r,40),55),buttonTheme:{googlePay:d("googlePay",n),applePay:d("applePay",n)},buttonType:{googlePay:c,applePay:c},paymentMethods:{link:"never",googlePay:"always",applePay:"always"},layout:{overflow:"never"}};return a?(0,ml.jsx)("div",{style:{minHeight:`${r}px`,width:"100%"},children:(0,ml.jsx)(Zg.Elements,{stripe:e,options:s,children:(0,ml.jsx)(Zg.ExpressCheckoutElement,{options:l,onClick:()=>{},onReady:({availablePaymentMethods:e})=>{i(!!e)}})})},`${t}-${n}`):(0,ml.jsx)(Ku,{icon:!0,status:"error",isDismissible:!1,children:(0,Q.__)("Failed to preview the Apple Pay or Google Pay button. Ensure your store uses HTTPS on a publicly available domain and you're viewing this page in a Safari or Chrome browser. Your device must be configured to use Apple Pay or Google Pay.","woocommerce-payments")})},y_={small:40,medium:48,large:55},g_=({size:e,buttonType:t,theme:n,radius:r})=>(0,ml.jsx)(h_,{isPreview:!0,buttonSettings:{type:t,text:"Buy",theme:n,height:`${y_[e]||y_.medium}px`,size:e},buttonAttributes:{height:y_[e]||y_.medium,borderRadius:r}}),v_=({theme:e,children:t})=>(0,ml.jsx)(ml.Fragment,{children:(0,ml.jsx)("div",{className:"payment-method-settings__preview","data-theme":e,children:t})}),__=()=>(0,ml.jsx)(Ku,{icon:!0,status:"info",isDismissible:!1,children:(0,Q.__)("To preview the express checkout buttons, ensure your store uses HTTPS on a publicly available domain, and you're viewing this page in a Safari or Chrome browser. Your device must be configured to use Apple Pay or Google Pay.","woocommerce-payments")}),b_=()=>{const e=(0,Zg.useStripe)(),[t]=Md(),[n]=Ld(),[r]=Dd(),[o]=jd(),[a]=Bd(),[i]=Nd();if(!a&&!i)return(0,ml.jsx)(Ku,{icon:!0,status:"info",isDismissible:!1,children:(0,Q.__)("To preview the express checkout buttons, activate at least one express checkout.","woocommerce-payments")});const s=a?(0,ml.jsx)(g_,{size:n,buttonType:t,theme:r,radius:o}):null,d="https:"===window.location.protocol,c=i?d&&(0,ml.jsx)(f_,{stripe:e,buttonType:t,theme:r,height:y_[n]||y_.medium,radius:o})||(0,ml.jsx)(__,{}):null;return s||c?(0,ml.jsxs)(v_,{theme:r,children:[s,c]}):(0,ml.jsx)(__,{})},$_=e=>gl({mixedString:e,components:{helpText:(0,ml.jsx)("span",{className:"payment-method-settings__option-muted-text"})}}),w_=[{label:$_((0,Q.__)("Small {{helpText}}(40 px){{/helpText}}","woocommerce-payments")),value:"small"},{label:$_((0,Q.__)("Medium {{helpText}}(48 px){{/helpText}}","woocommerce-payments")),value:"medium"},{label:$_((0,Q.__)("Large {{helpText}}(55 px){{/helpText}}","woocommerce-payments")),value:"large"}],S_=[{label:(0,Q.__)("Only icon","woocommerce-payments"),value:"default"},{label:(0,Q.__)("Buy with","woocommerce-payments"),value:"buy"},{label:(0,Q.__)("Donate with","woocommerce-payments"),value:"donate"},{label:(0,Q.__)("Book with","woocommerce-payments"),value:"book"}],E_=e=>gl({mixedString:e,components:{br:(0,ml.jsx)("br",{}),helpText:(0,ml.jsx)("span",{className:"payment-method-settings__option-help-text"})}}),x_=[{label:E_((0,Q.__)("Dark {{br/}}{{helpText}}Recommended for white or light-colored backgrounds with high contrast.{{/helpText}}","woocommerce-payments")),value:"dark"},{label:E_((0,Q.__)("Light {{br/}}{{helpText}}Recommended for dark or colored backgrounds with high contrast.{{/helpText}}","woocommerce-payments")),value:"light"},{label:E_((0,Q.__)("Outline {{br/}}{{helpText}}Recommended for white or light-colored backgrounds with insufficient contrast.{{/helpText}}","woocommerce-payments")),value:"light-outline"}],C_=({type:e})=>{const[t,n]=Md(),[r,o]=Ld(),[a,i]=Dd(),[s,d]=jd(),[c]=Bd(),[l]=Nd(),{featureFlags:{woopay:u}}=(0,K.useContext)(So),p=(0,U.useMemo)((()=>{const e=go("stripe");return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];nv=!0;var r=Date.now();return tv.then((function(e){return function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.15.1",startTime:t})}(r,n),r}(e,t,r)}))}(e.publishableKey,{stripeAccount:e.accountId,locale:e.locale})}),[]),m="woopay"===e?(0,Q.__)("Apple Pay / Google Pay buttons","woocommerce-payments"):(0,Q.__)("WooPay button","woocommerce-payments"),h=c&&l&&u;return(0,ml.jsxs)(Tl,{children:[h&&(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)(Ku,{status:"warning",icon:!0,isDismissible:!1,children:(0,Q.sprintf)((0,Q.__)("These settings will also apply to the %s on your store.","woocommerce-payments"),m)}),(0,ml.jsx)(Ku,{status:"warning",icon:!0,isDismissible:!1,children:(0,Q.__)("Some appearance settings may be overridden in the express payment section of the Cart & Checkout blocks.")})]}),(0,ml.jsx)("h4",{children:(0,Q.__)("Call to action","woocommerce-payments")}),(0,ml.jsx)(xh,{className:"payment-method-settings__cta-selection",label:(0,Q.__)("Call to action","woocommerce-payments"),help:(0,Q.__)("Select a button label that fits best with the flow of purchase or payment experience on your store.","woocommerce-payments"),hideLabelFromVision:!0,value:t,options:S_,onChange:n}),(0,ml.jsx)("h4",{children:(0,Q.__)("Button size","woocommerce-payments")}),(0,ml.jsx)(sy,{selected:r,options:w_,onChange:o}),(0,ml.jsx)("h4",{children:(0,Q.__)("Theme","woocommerce-payments")}),(0,ml.jsx)(sy,{selected:a,options:x_,onChange:i}),(0,ml.jsx)("h4",{children:(0,Q.__)("Border radius","woocommerce-payments")}),(0,ml.jsxs)("div",{className:"payment-method-settings__border-radius",children:[(0,ml.jsx)(_g,{label:(0,Q.__)("Border radius, number input","woocommerce-payments"),hideLabelFromVision:!0,isPressEnterToChange:!0,value:s,max:30,min:0,hideHTMLArrows:!0,onChange:e=>{d("string"==typeof e?parseInt(e,10):e)},suffix:(0,ml.jsx)("div",{className:"payment-method-settings__border-radius__number-control__suffix",children:"px"})}),(0,ml.jsx)(Kg,{label:(0,Q.__)("Border radius, slider","woocommerce-payments"),hideLabelFromVision:!0,className:"payment-method-settings__border-radius__slider",value:s,max:30,min:0,withInputField:!1,onChange:d})]}),(0,ml.jsx)("p",{className:"payment-method-settings__option-help-text",children:(0,Q.__)("Controls the corner roundness of express payment buttons.","woocommerce-payments")}),(0,ml.jsx)("h4",{children:(0,Q.__)("Preview","woocommerce-payments")}),(0,ml.jsx)("div",{className:"payment-method-settings__option-help-text",children:(0,Q.__)("See the preview of enabled express payment buttons.","woocommerce-payments")}),(0,ml.jsx)(Zg.Elements,{stripe:p,children:(0,ml.jsx)(b_,{})})]})},k_=({section:e})=>{const[t,n]=Nd(),[r,o]=(()=>{const{updatePaymentRequestLocations:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getPaymentRequestLocations())),e]})(),a=e=>t=>{o(t?[...r,e]:r.filter((t=>t!==e)))};return(0,ml.jsxs)(Rr,{children:["enable"===e&&(0,ml.jsxs)(Tl,{children:[(0,ml.jsx)(qr,{checked:t,onChange:n,label:(0,Q.__)("Enable Apple Pay / Google Pay","woocommerce-payments"),help:(0,Q.__)("When enabled, customers who have configured Apple Pay or Google Pay enabled devices will be able to pay with their respective choice of Wallet.","woocommerce-payments")}),(0,ml.jsx)("h4",{children:(0,Q.__)("Enable Apple Pay and Google Pay on selected pages","woocommerce-payments")}),(0,ml.jsxs)("ul",{className:"payment-request-settings__location",children:[(0,ml.jsx)("li",{children:(0,ml.jsx)(qr,{disabled:!t,checked:t&&r.includes("checkout"),onChange:a("checkout"),label:(0,Q.__)("Checkout Page","woocommerce-payments")})}),(0,ml.jsx)("li",{children:(0,ml.jsx)(qr,{disabled:!t,checked:t&&r.includes("product"),onChange:a("product"),label:(0,Q.__)("Product Page","woocommerce-payments")})}),(0,ml.jsx)("li",{children:(0,ml.jsx)(qr,{disabled:!t,checked:t&&r.includes("cart"),onChange:a("cart"),label:(0,Q.__)("Cart Page","woocommerce-payments")})})]})]}),"general"===e&&(0,ml.jsx)(C_,{type:"google/apple"})]})},T_=an("box-shadow:0 0 0 transparent;transition:box-shadow 0.1s linear;border-radius:",tr.radiusBlockUi,";border:",tr.borderWidth," solid ",Zn.ui.border,";",""),A_=an("border-color:var( --wp-admin-theme-color );box-shadow:0 0 0 calc( ",tr.borderWidthFocus," - ",tr.borderWidth," ) var( --wp-admin-theme-color );outline:2px solid transparent;",""),P_=an("font-family:",Lr("default.fontFamily"),";padding:6px 8px;",T_,";font-size:",Lr("mobileTextMinFontSize"),";line-height:normal;","@media (min-width: 600px)","{font-size:",Lr("default.fontSize"),";line-height:normal;}&:focus{",A_,";}&::-webkit-input-placeholder{color:",Zn.darkGray.placeholder,";}&::-moz-placeholder{opacity:1;color:",Zn.darkGray.placeholder,";}&:-ms-input-placeholder{color:",Zn.darkGray.placeholder,";}.is-dark-theme &{&::-webkit-input-placeholder{color:",Zn.lightGray.placeholder,";}&::-moz-placeholder{opacity:1;color:",Zn.lightGray.placeholder,";}&:-ms-input-placeholder{color:",Zn.lightGray.placeholder,";}}",""),R_=Xt("textarea",{target:"ebk7yr50"})("width:100%;",P_,";");function O_(e){let{label:t,hideLabelFromVision:n,value:r,help:o,onChange:a,rows:i=4,className:s,...d}=e;const c=`inspector-textarea-control-${(0,Or.useInstanceId)(O_)}`;return(0,K.createElement)(Wr,{label:t,hideLabelFromVision:n,id:c,help:o,className:s},(0,K.createElement)(R_,Y({className:"components-textarea-control__input",id:c,rows:i,onChange:e=>a(e.target.value),"aria-describedby":o?c+"__help":void 0,value:r},d)))}var I_=n(7568);const N_=(0,K.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,K.createElement)(ee.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));var M_=function(e,t){return M_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},M_(e,t)};function L_(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}M_(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var D_=function(){return D_=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},D_.apply(this,arguments)};function j_(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}function F_(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function B_(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var U_=n(5606),V_=(void 0===U_||U_.env,"production"),z_=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},H_={measureLayout:z_(["layout","layoutId","drag"]),animation:z_(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:z_(["exit"]),drag:z_(["drag","dragControls"]),focus:z_(["whileFocus"]),hover:z_(["whileHover","onHoverStart","onHoverEnd"]),tap:z_(["whileTap","onTap","onTapStart","onTapCancel"]),pan:z_(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:z_(["whileInView","onViewportEnter","onViewportLeave"])},W_=function(){},q_=function(){},G_=(0,U.createContext)({strict:!1}),Y_=Object.keys(H_),K_=Y_.length,Z_=(0,U.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),X_=(0,U.createContext)({}),J_=(0,U.createContext)(null),Q_="undefined"!=typeof document,eb=Q_?U.useLayoutEffect:U.useEffect,tb={current:null},nb=!1;function rb(e,t,n,r){var o,a,i=(0,U.useContext)(G_),s=(0,U.useContext)(X_).visualElement,d=(0,U.useContext)(J_),c=(!nb&&function(){if(nb=!0,Q_)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return tb.current=e.matches};e.addListener(t),t()}else tb.current=!1}(),o=F_((0,U.useState)(tb.current),1)[0],"never"!==(a=(0,U.useContext)(Z_).reducedMotion)&&("always"===a||o)),l=(0,U.useRef)(void 0);r||(r=i.renderer),!l.current&&r&&(l.current=r(e,{visualState:t,parent:s,props:n,presenceId:null==d?void 0:d.id,blockInitialAnimation:!1===(null==d?void 0:d.initial),shouldReduceMotion:c}));var u=l.current;return eb((function(){null==u||u.syncRender()})),(0,U.useEffect)((function(){var e;null===(e=null==u?void 0:u.animationState)||void 0===e||e.animateChanges()})),eb((function(){return function(){return null==u?void 0:u.notifyUnmount()}}),[]),u}function ob(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function ab(e){return Array.isArray(e)}function ib(e){return"string"==typeof e||ab(e)}function sb(e,t,n,r,o){var a;return void 0===r&&(r={}),void 0===o&&(o={}),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),"string"==typeof t&&(t=null===(a=e.variants)||void 0===a?void 0:a[t]),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),t}function db(e,t,n){var r=e.getProps();return sb(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function cb(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||ib(e.initial)||ib(e.animate)||ib(e.whileHover)||ib(e.whileDrag)||ib(e.whileTap)||ib(e.whileFocus)||ib(e.exit)}function lb(e){return Boolean(cb(e)||e.variants)}function ub(e){return Array.isArray(e)?e.join(" "):e}function pb(e){var t=(0,U.useRef)(null);return null===t.current&&(t.current=e()),t.current}var mb={hasAnimatedSinceResize:!0,hasEverUpdated:!1},hb=1,fb=(0,U.createContext)({}),yb=(0,U.createContext)({}),gb=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return L_(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(U.Component);function vb(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,a=e.useVisualState,i=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?H_.projectionNodeConstructor=e[t]:H_[t].Component=e[t])}(t),(0,U.forwardRef)((function(e,s){var d=function(e){var t,n=e.layoutId,r=null===(t=(0,U.useContext)(fb))||void 0===t?void 0:t.id;return r&&void 0!==n?r+"-"+n:n}(e);e=D_(D_({},e),{layoutId:d});var c=(0,U.useContext)(Z_),l=null,u=function(e){var t=function(e,t){if(cb(e)){var n=e.initial,r=e.animate;return{initial:!1===n||ib(n)?n:void 0,animate:ib(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,U.useContext)(X_)),n=t.initial,r=t.animate;return(0,U.useMemo)((function(){return{initial:n,animate:r}}),[ub(n),ub(r)])}(e),p=c.isStatic?void 0:pb((function(){if(mb.hasEverUpdated)return hb++})),m=a(e,c.isStatic);return!c.isStatic&&Q_&&(u.visualElement=rb(i,m,D_(D_({},c),e),n),function(e,t,n,r){var o,a=t.layoutId,i=t.layout,s=t.drag,d=t.dragConstraints,c=t.layoutScroll,l=(0,U.useContext)(yb);r&&n&&!(null==n?void 0:n.projection)&&(n.projection=new r(e,n.getLatestValues(),null===(o=n.parent)||void 0===o?void 0:o.projection),n.projection.setOptions({layoutId:a,layout:i,alwaysMeasureLayout:Boolean(s)||d&&ob(d),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof i?i:"both",initialPromotionConfig:l,layoutScroll:c}))}(p,e,u.visualElement,r||H_.projectionNodeConstructor),l=function(e,t,n){var r=[],o=(0,U.useContext)(G_);if(!t)return null;"production"!==V_&&n&&o.strict&&q_(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var a=0;a<K_;a++){var i=Y_[a],s=H_[i],d=s.isEnabled,c=s.Component;d(e)&&c&&r.push(U.createElement(c,D_({key:i},e,{visualElement:t})))}return r}(e,u.visualElement,t)),U.createElement(gb,{visualElement:u.visualElement,props:D_(D_({},c),e)},l,U.createElement(X_.Provider,{value:u},o(i,e,p,function(e,t,n){return(0,U.useCallback)((function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):ob(n)&&(n.current=r))}),[t])}(m,u.visualElement,s),m,c.isStatic,u.visualElement)))}))}function _b(e){function t(t,n){return void 0===n&&(n={}),vb(e(t,n))}if("undefined"==typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var bb=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function $b(e){return"string"==typeof e&&!e.includes("-")&&!!(bb.indexOf(e)>-1||/[A-Z]/.test(e))}var wb={},Sb=["","X","Y","Z"],Eb=["transformPerspective","x","y","z"];function xb(e,t){return Eb.indexOf(e)-Eb.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return Sb.forEach((function(t){return Eb.push(e+t)}))}));var Cb=new Set(Eb);function kb(e){return Cb.has(e)}var Tb=new Set(["originX","originY","originZ"]);function Ab(e){return Tb.has(e)}function Pb(e,t){var n=t.layout,r=t.layoutId;return kb(e)||Ab(e)||(n||void 0!==r)&&(!!wb[e]||"opacity"===e)}var Rb=function(e){return Boolean(null!==e&&"object"==typeof e&&e.getVelocity)},Ob={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Ib(e){return e.startsWith("--")}var Nb=function(e,t){return t&&"number"==typeof e?t.transform(e):e};const Mb=(e,t)=>n=>Math.max(Math.min(n,t),e),Lb=e=>e%1?Number(e.toFixed(5)):e,Db=/(-)?([\d]*\.?[\d])+/g,jb=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Fb=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Bb(e){return"string"==typeof e}const Ub=e=>({test:t=>Bb(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Vb=Ub("deg"),zb=Ub("%"),Hb=Ub("px"),Wb=Ub("vh"),qb=Ub("vw"),Gb=Object.assign(Object.assign({},zb),{parse:e=>zb.parse(e)/100,transform:e=>zb.transform(100*e)}),Yb={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Kb=Object.assign(Object.assign({},Yb),{transform:Mb(0,1)}),Zb=Object.assign(Object.assign({},Yb),{default:1});var Xb=D_(D_({},Yb),{transform:Math.round}),Jb={borderWidth:Hb,borderTopWidth:Hb,borderRightWidth:Hb,borderBottomWidth:Hb,borderLeftWidth:Hb,borderRadius:Hb,radius:Hb,borderTopLeftRadius:Hb,borderTopRightRadius:Hb,borderBottomRightRadius:Hb,borderBottomLeftRadius:Hb,width:Hb,maxWidth:Hb,height:Hb,maxHeight:Hb,size:Hb,top:Hb,right:Hb,bottom:Hb,left:Hb,padding:Hb,paddingTop:Hb,paddingRight:Hb,paddingBottom:Hb,paddingLeft:Hb,margin:Hb,marginTop:Hb,marginRight:Hb,marginBottom:Hb,marginLeft:Hb,rotate:Vb,rotateX:Vb,rotateY:Vb,rotateZ:Vb,scale:Zb,scaleX:Zb,scaleY:Zb,scaleZ:Zb,skew:Vb,skewX:Vb,skewY:Vb,distance:Hb,translateX:Hb,translateY:Hb,translateZ:Hb,x:Hb,y:Hb,z:Hb,perspective:Hb,transformPerspective:Hb,opacity:Kb,originX:Gb,originY:Gb,originZ:Hb,zIndex:Xb,fillOpacity:Kb,strokeOpacity:Kb,numOctaves:Xb};function Qb(e,t,n,r){var o,a=e.style,i=e.vars,s=e.transform,d=e.transformKeys,c=e.transformOrigin;d.length=0;var l=!1,u=!1,p=!0;for(var m in t){var h=t[m];if(Ib(m))i[m]=h;else{var f=Jb[m],y=Nb(h,f);if(kb(m)){if(l=!0,s[m]=y,d.push(m),!p)continue;h!==(null!==(o=f.default)&&void 0!==o?o:0)&&(p=!1)}else Ab(m)?(c[m]=y,u=!0):a[m]=y}}l?a.transform=function(e,t,n,r){var o=e.transform,a=e.transformKeys,i=t.enableHardwareAcceleration,s=void 0===i||i,d=t.allowTransformNone,c=void 0===d||d,l="";a.sort(xb);for(var u=!1,p=a.length,m=0;m<p;m++){var h=a[m];l+="".concat(Ob[h]||h,"(").concat(o[h],") "),"z"===h&&(u=!0)}return!u&&s?l+="translateZ(0)":l=l.trim(),r?l=r(o,n?"":l):c&&n&&(l="none"),l}(e,n,p,r):r?a.transform=r({},""):!t.transform&&a.transform&&(a.transform="none"),u&&(a.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,a=e.originZ,i=void 0===a?0:a;return"".concat(n," ").concat(o," ").concat(i)}(c))}var e$=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function t$(e,t,n){for(var r in t)Rb(t[r])||Pb(r,n)||(e[r]=t[r])}function n$(e,t,n){var r={},o=function(e,t,n){var r={};return t$(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return(0,U.useMemo)((function(){var e=e$();Qb(e,t,{enableHardwareAcceleration:!n},r);var o=e.vars,a=e.style;return D_(D_({},o),a)}),[t])}(e,t,n)),e.transformValues&&(r=e.transformValues(r)),r}(e,t,n);return Boolean(e.drag)&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),r.style=o,r}var r$=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function o$(e){return r$.has(e)}var a$,i$=function(e){return!o$(e)};try{(a$=require("@emotion/is-prop-valid").default)&&(i$=function(e){return e.startsWith("on")?!o$(e):a$(e)})}catch(Cm){}function s$(e,t,n){return"string"==typeof e?e:Hb.transform(t+n*e)}var d$={offset:"stroke-dashoffset",array:"stroke-dasharray"},c$={offset:"strokeDashoffset",array:"strokeDasharray"};function l$(e,t,n,r){var o=t.attrX,a=t.attrY,i=t.originX,s=t.originY,d=t.pathLength,c=t.pathSpacing,l=void 0===c?1:c,u=t.pathOffset,p=void 0===u?0:u;Qb(e,j_(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),e.attrs=e.style,e.style={};var m=e.attrs,h=e.style,f=e.dimensions;m.transform&&(f&&(h.transform=m.transform),delete m.transform),f&&(void 0!==i||void 0!==s||h.transform)&&(h.transformOrigin=function(e,t,n){var r=s$(t,e.x,e.width),o=s$(n,e.y,e.height);return"".concat(r," ").concat(o)}(f,void 0!==i?i:.5,void 0!==s?s:.5)),void 0!==o&&(m.x=o),void 0!==a&&(m.y=a),void 0!==d&&function(e,t,n,r,o){void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=!0),e.pathLength=1;var a=o?d$:c$;e[a.offset]=Hb.transform(-r);var i=Hb.transform(t),s=Hb.transform(n);e[a.array]="".concat(i," ").concat(s)}(m,d,l,p,!1)}var u$=function(){return D_(D_({},e$()),{attrs:{}})};function p$(e,t){var n=(0,U.useMemo)((function(){var n=u$();return l$(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),D_(D_({},n.attrs),{style:D_({},n.style)})}),[t]);if(e.style){var r={};t$(r,e.style,e),n.style=D_(D_({},r),n.style)}return n}function m$(e){return void 0===e&&(e=!1),function(t,n,r,o,a,i){var s=a.latestValues,d=($b(t)?p$:n$)(n,s,i),c=function(e,t,n){var r={};for(var o in e)(i$(o)||!0===n&&o$(o)||!t&&!o$(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),l=D_(D_(D_({},c),d),{ref:o});return r&&(l["data-projection-id"]=r),(0,U.createElement)(t,l)}}var h$=/([a-z])([A-Z])/g,f$=function(e){return e.replace(h$,"$1-$2").toLowerCase()};function y$(e,t,n,r){var o=t.style,a=t.vars;for(var i in Object.assign(e.style,o,r&&r.getProjectionStyles(n)),a)e.style.setProperty(i,a[i])}var g$=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function v$(e,t,n,r){for(var o in y$(e,t,void 0,r),t.attrs)e.setAttribute(g$.has(o)?o:f$(o),t.attrs[o])}function _$(e){var t=e.style,n={};for(var r in t)(Rb(t[r])||Pb(r,e))&&(n[r]=t[r]);return n}function b$(e){var t=_$(e);for(var n in e)Rb(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function $$(e){return"object"==typeof e&&"function"==typeof e.start}var w$=function(e){return Array.isArray(e)},S$=function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)},E$=function(e){return w$(e)?e[e.length-1]||0:e};function x$(e){var t=Rb(e)?e.get():e;return S$(t)?t.toValue():t}function C$(e,t,n,r){var o=e.scrapeMotionValuesFromProps,a=e.createRenderState,i=e.onMount,s={latestValues:T$(t,n,r,o),renderState:a()};return i&&(s.mount=function(e){return i(t,e,s)}),s}var k$=function(e){return function(t,n){var r=(0,U.useContext)(X_),o=(0,U.useContext)(J_);return n?C$(e,t,r,o):pb((function(){return C$(e,t,r,o)}))}};function T$(e,t,n,r){var o={},a=!1===(null==n?void 0:n.initial),i=r(e);for(var s in i)o[s]=x$(i[s]);var d=e.initial,c=e.animate,l=cb(e),u=lb(e);t&&u&&!l&&!1!==e.inherit&&(null!=d||(d=t.initial),null!=c||(c=t.animate));var p=a||!1===d,m=p?c:d;return m&&"boolean"!=typeof m&&!$$(m)&&(Array.isArray(m)?m:[m]).forEach((function(t){var n=sb(e,t);if(n){var r=n.transitionEnd;n.transition;var a=j_(n,["transitionEnd","transition"]);for(var i in a){var s=a[i];Array.isArray(s)&&(s=s[p?s.length-1:0]),null!==s&&(o[i]=s)}for(var i in r)o[i]=r[i]}})),o}var A$,P$={useVisualState:k$({scrapeMotionValuesFromProps:b$,createRenderState:u$,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}l$(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),v$(t,r)}})},R$={useVisualState:k$({scrapeMotionValuesFromProps:_$,createRenderState:e$})};function O$(e,t,n,r){return void 0===r&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function I$(e,t,n,r){(0,U.useEffect)((function(){var o=e.current;if(n&&o)return O$(o,t,n,r)}),[e,t,n,r])}function N$(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function M$(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(A$||(A$={}));var L$={pageX:0,pageY:0};function D$(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||L$;return{x:n[t+"X"],y:n[t+"Y"]}}function j$(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function F$(e,t){return void 0===t&&(t="page"),{point:M$(e)?D$(e,t):j$(e,t)}}var B$=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,F$(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},U$=function(){return Q_&&null===window.onpointerdown},V$=function(){return Q_&&null===window.ontouchstart},z$=function(){return Q_&&null===window.onmousedown},H$={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},W$={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function q$(e){return U$()?e:V$()?W$[e]:z$()?H$[e]:e}function G$(e,t,n,r){return O$(e,q$(t),B$(n,"pointerdown"===t),r)}function Y$(e,t,n,r){return I$(e,q$(t),n&&B$(n,"pointerdown"===t),r)}function K$(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var Z$=K$("dragHorizontal"),X$=K$("dragVertical");function J$(e){var t=!1;if("y"===e)t=X$();else if("x"===e)t=Z$();else{var n=Z$(),r=X$();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function Q$(){var e=J$(!0);return!e||(e(),!1)}function ew(e,t,n){return function(r,o){var a;N$(r)&&!Q$()&&(null===(a=e.animationState)||void 0===a||a.setActive(A$.Hover,t),null==n||n(r,o))}}var tw=function(e,t){return!!t&&(e===t||tw(e,t.parentElement))};function nw(e){return(0,U.useEffect)((function(){return function(){return e()}}),[])}const rw=(e,t)=>n=>t(e(n)),ow=(...e)=>e.reduce(rw);var aw=new Set,iw=new WeakMap,sw=new WeakMap,dw=function(e){var t;null===(t=iw.get(e.target))||void 0===t||t(e)},cw=function(e){e.forEach(dw)};var lw={some:0,all:1};function uw(e,t,n,r){var o=r.root,a=r.margin,i=r.amount,s=void 0===i?"some":i,d=r.once;(0,U.useEffect)((function(){if(e){var r={root:null==o?void 0:o.current,rootMargin:a,threshold:"number"==typeof s?s:lw[s]};return function(e,t,n){var r=function(e){var t=e.root,n=j_(e,["root"]),r=t||document;sw.has(r)||sw.set(r,{});var o=sw.get(r),a=JSON.stringify(n);return o[a]||(o[a]=new IntersectionObserver(cw,D_({root:t},n))),o[a]}(t);return iw.set(e,n),r.observe(e),function(){iw.delete(e),r.unobserve(e)}}(n.getInstance(),r,(function(e){var r,o=e.isIntersecting;if(t.isInView!==o&&(t.isInView=o,!d||o||!t.hasEnteredView)){o&&(t.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(A$.InView,o);var a=n.getProps(),i=o?a.onViewportEnter:a.onViewportLeave;null==i||i(e)}}))}}),[e,o,a,s])}function pw(e,t,n,r){var o=r.fallback,a=void 0===o||o;(0,U.useEffect)((function(){var r;e&&a&&("production"!==V_&&(r="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",aw.has(r)||(console.warn(r),aw.add(r))),requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null==r||r(null),null===(e=n.animationState)||void 0===e||e.setActive(A$.InView,!0)})))}),[e])}var mw=function(e){return function(t){return e(t),null}},hw={inView:mw((function(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,a=e.viewport,i=void 0===a?{}:a,s=(0,U.useRef)({hasEnteredView:!1,isInView:!1}),d=Boolean(n||r||o);i.once&&s.current.hasEnteredView&&(d=!1),("undefined"==typeof IntersectionObserver?pw:uw)(d,s.current,t,i)})),tap:mw((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,a=e.visualElement,i=t||n||r||o,s=(0,U.useRef)(!1),d=(0,U.useRef)(null),c={passive:!(n||t||r||h)};function l(){var e;null===(e=d.current)||void 0===e||e.call(d),d.current=null}function u(){var e;return l(),s.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(A$.Tap,!1),!Q$()}function p(e,n){u()&&(tw(a.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function m(e,t){u()&&(null==r||r(e,t))}function h(e,t){var r;l(),s.current||(s.current=!0,d.current=ow(G$(window,"pointerup",p,c),G$(window,"pointercancel",m,c)),null===(r=a.animationState)||void 0===r||r.setActive(A$.Tap,!0),null==n||n(e,t))}Y$(a,"pointerdown",i?h:void 0,c),nw(l)})),focus:mw((function(e){var t=e.whileFocus,n=e.visualElement;I$(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(A$.Focus,!0)}:void 0),I$(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(A$.Focus,!1)}:void 0)})),hover:mw((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;Y$(o,"pointerenter",t||r?ew(o,!0,t):void 0,{passive:!t}),Y$(o,"pointerleave",n||r?ew(o,!1,n):void 0,{passive:!n})}))},fw=0,yw=function(){return fw++},gw=function(){return pb(yw)};function vw(){var e=(0,U.useContext)(J_);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=gw();return(0,U.useEffect)((function(){return r(o)}),[]),!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}function _w(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const bw=(e,t,n)=>Math.min(Math.max(n,e),t),$w=.001,ww=.01,Sw=10,Ew=.05,xw=1;const Cw=12;function kw(e,t){return e*Math.sqrt(1-t*t)}const Tw=["duration","bounce"],Aw=["stiffness","damping","mass"];function Pw(e,t){return t.some((t=>void 0!==e[t]))}function Rw(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:o}=e,a=j_(e,["from","to","restSpeed","restDelta"]);const i={done:!1,value:t};let{stiffness:s,damping:d,mass:c,velocity:l,duration:u,isResolvedFromDuration:p}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Pw(e,Aw)&&Pw(e,Tw)){const n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,a;W_(e<=1e3*Sw,"Spring duration must be 10 seconds or less");let i=1-t;i=bw(Ew,xw,i),e=bw(ww,Sw,e/1e3),i<1?(o=t=>{const r=t*i,o=r*e,a=r-n,s=kw(t,i),d=Math.exp(-o);return $w-a/s*d},a=t=>{const r=t*i*e,a=r*n+n,s=Math.pow(i,2)*Math.pow(t,2)*e,d=Math.exp(-r),c=kw(Math.pow(t,2),i);return(-o(t)+$w>0?-1:1)*((a-s)*d)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-$w,a=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Cw;n++)r-=e(r)/t(r);return r}(o,a,5/e);if(e*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*i*Math.sqrt(r*t),duration:e}}}(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(a),m=Ow,h=Ow;function f(){const e=l?-l/1e3:0,r=n-t,a=d/(2*Math.sqrt(s*c)),i=Math.sqrt(s/c)/1e3;if(void 0===o&&(o=Math.min(Math.abs(n-t)/100,.4)),a<1){const t=kw(i,a);m=o=>{const s=Math.exp(-a*i*o);return n-s*((e+a*i*r)/t*Math.sin(t*o)+r*Math.cos(t*o))},h=n=>{const o=Math.exp(-a*i*n);return a*i*o*(Math.sin(t*n)*(e+a*i*r)/t+r*Math.cos(t*n))-o*(Math.cos(t*n)*(e+a*i*r)-t*r*Math.sin(t*n))}}else if(1===a)m=t=>n-Math.exp(-i*t)*(r+(e+i*r)*t);else{const t=i*Math.sqrt(a*a-1);m=o=>{const s=Math.exp(-a*i*o),d=Math.min(t*o,300);return n-s*((e+a*i*r)*Math.sinh(d)+t*r*Math.cosh(d))/t}}}return f(),{next:e=>{const t=m(e);if(p)i.done=e>=u;else{const a=1e3*h(e),s=Math.abs(a)<=r,d=Math.abs(n-t)<=o;i.done=s&&d}return i.value=i.done?n:t,i},flipTarget:()=>{l=-l,[t,n]=[n,t],f()}}}Rw.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const Ow=e=>0,Iw=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Nw=(e,t,n)=>-n*e+n*t+e,Mw=(e,t)=>n=>Boolean(Bb(n)&&Fb.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Lw=(e,t,n)=>r=>{if(!Bb(r))return r;const[o,a,i,s]=r.match(Db);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(i),alpha:void 0!==s?parseFloat(s):1}},Dw=Mb(0,255),jw=Object.assign(Object.assign({},Yb),{transform:e=>Math.round(Dw(e))}),Fw={test:Mw("rgb","red"),parse:Lw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+jw.transform(e)+", "+jw.transform(t)+", "+jw.transform(n)+", "+Lb(Kb.transform(r))+")"},Bw={test:Mw("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:Fw.transform},Uw={test:Mw("hsl","hue"),parse:Lw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+zb.transform(Lb(t))+", "+zb.transform(Lb(n))+", "+Lb(Kb.transform(r))+")"};function Vw(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function zw({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,a=0,i=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=Vw(s,r,e+1/3),a=Vw(s,r,e),i=Vw(s,r,e-1/3)}else o=a=i=n;return{red:Math.round(255*o),green:Math.round(255*a),blue:Math.round(255*i),alpha:r}}const Hw=(e,t,n)=>{const r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},Ww=[Bw,Fw,Uw],qw=e=>Ww.find((t=>t.test(e))),Gw=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,Yw=(e,t)=>{let n=qw(e),r=qw(t);q_(!!n,Gw(e)),q_(!!r,Gw(t));let o=n.parse(e),a=r.parse(t);n===Uw&&(o=zw(o),n=Fw),r===Uw&&(a=zw(a),r=Fw);const i=Object.assign({},o);return e=>{for(const t in i)"alpha"!==t&&(i[t]=Hw(o[t],a[t],e));return i.alpha=Nw(o.alpha,a.alpha,e),n.transform(i)}},Kw={test:e=>Fw.test(e)||Bw.test(e)||Uw.test(e),parse:e=>Fw.test(e)?Fw.parse(e):Uw.test(e)?Uw.parse(e):Bw.parse(e),transform:e=>Bb(e)?e:e.hasOwnProperty("red")?Fw.transform(e):Uw.transform(e)},Zw="${c}",Xw="${n}";function Jw(e){"number"==typeof e&&(e=`${e}`);const t=[];let n=0;const r=e.match(jb);r&&(n=r.length,e=e.replace(jb,Zw),t.push(...r.map(Kw.parse)));const o=e.match(Db);return o&&(e=e.replace(Db,Xw),t.push(...o.map(Yb.parse))),{values:t,numColors:n,tokenised:e}}function Qw(e){return Jw(e).values}function eS(e){const{values:t,numColors:n,tokenised:r}=Jw(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=t.replace(r<n?Zw:Xw,r<n?Kw.transform(e[r]):Lb(e[r]));return t}}const tS=e=>"number"==typeof e?0:e,nS={test:function(e){var t,n,r,o;return isNaN(e)&&Bb(e)&&(null!==(n=null===(t=e.match(Db))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(jb))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Qw,createTransformer:eS,getAnimatableNone:function(e){const t=Qw(e);return eS(e)(t.map(tS))}},rS=e=>"number"==typeof e;function oS(e,t){return rS(e)?n=>Nw(e,t,n):Kw.test(e)?Yw(e,t):dS(e,t)}const aS=(e,t)=>{const n=[...e],r=n.length,o=e.map(((e,n)=>oS(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},iS=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=oS(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}};function sS(e){const t=nS.parse(e),n=t.length;let r=0,o=0,a=0;for(let e=0;e<n;e++)r||"number"==typeof t[e]?r++:void 0!==t[e].hue?a++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:a}}const dS=(e,t)=>{const n=nS.createTransformer(t),r=sS(e),o=sS(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?ow(aS(r.parsed,o.parsed),n):(W_(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?t:e}`)},cS=(e,t)=>n=>Nw(e,t,n);function lS(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const a=e.length;q_(a===t.length,"Both input and output ranges must be the same length"),q_(!r||!Array.isArray(r)||r.length===a-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const i=function(e,t,n){const r=[],o=n||function(e){return"number"==typeof e?cS:"string"==typeof e?Kw.test(e)?Yw:dS:Array.isArray(e)?aS:"object"==typeof e?iS:void 0}(e[0]),a=e.length-1;for(let n=0;n<a;n++){let a=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]:t;a=ow(e,a)}r.push(a)}return r}(t,r,o),s=2===a?function([e,t],[n]){return r=>n(Iw(e,t,r))}(e,i):function(e,t){const n=e.length,r=n-1;return o=>{let a=0,i=!1;if(o<=e[0]?i=!0:o>=e[r]&&(a=r-1,i=!0),!i){let t=1;for(;t<n&&!(e[t]>o||t===r);t++);a=t-1}const s=Iw(e[a],e[a+1],o);return t[a](s)}}(e,i);return n?t=>s(bw(e[0],e[a-1],t)):s}const uS=e=>t=>1-e(1-t),pS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,mS=e=>t=>t*t*((e+1)*t-e),hS=4/11,fS=8/11,yS=e=>e,gS=e=>Math.pow(e,2);const vS=uS(gS),_S=pS(gS),bS=e=>1-Math.sin(Math.acos(e)),$S=uS(bS),wS=pS($S),SS=mS(1.525),ES=uS(SS),xS=pS(SS),CS=(()=>{const e=mS(1.525);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(),kS=4356/361,TS=35442/1805,AS=16061/1805,PS=e=>{if(1===e||0===e)return e;const t=e*e;return e<hS?7.5625*t:e<fS?9.075*t-9.9*e+3.4:e<.9?kS*t-TS*e+AS:10.8*e*e-20.52*e+10.72},RS=uS(PS);function OS(e,t){return e.map((()=>t||_S)).splice(0,e.length-1)}function IS({from:e=0,to:t=1,ease:n,offset:r,duration:o=300}){const a={done:!1,value:e},i=Array.isArray(t)?t:[e,t],s=function(e,t){return e.map((e=>e*t))}(r&&r.length===i.length?r:function(e){const t=e.length;return e.map(((e,n)=>0!==n?n/(t-1):0))}(i),o);function d(){return lS(s,i,{ease:Array.isArray(n)?n:OS(i,n)})}let c=d();return{next:e=>(a.value=c(e),a.done=e>=o,a),flipTarget:()=>{i.reverse(),c=d()}}}const NS={keyframes:IS,spring:Rw,decay:function({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:a}){const i={done:!1,value:t};let s=n*e;const d=t+s,c=void 0===a?d:a(d);return c!==d&&(s=c-t),{next:e=>{const t=-s*Math.exp(-e/r);return i.done=!(t>o||t<-o),i.value=i.done?c:c+t,i},flipTarget:()=>{}}}},MS=1/60*1e3,LS="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),DS="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(LS())),MS);let jS=!0,FS=!1,BS=!1;const US={delta:0,timestamp:0},VS=["read","update","preRender","render","postRender"],zS=VS.reduce(((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,a=!1;const i=new WeakSet,s={schedule:(e,a=!1,s=!1)=>{const d=s&&o,c=d?t:n;return a&&i.add(e),-1===c.indexOf(e)&&(c.push(e),d&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),i.delete(e)},process:d=>{if(o)a=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(d),i.has(r)&&(s.schedule(r),e())}o=!1,a&&(a=!1,s.process(d))}}};return s}((()=>FS=!0)),e)),{}),HS=VS.reduce(((e,t)=>{const n=zS[t];return e[t]=(e,t=!1,r=!1)=>(FS||KS(),n.schedule(e,t,r)),e}),{}),WS=VS.reduce(((e,t)=>(e[t]=zS[t].cancel,e)),{}),qS=VS.reduce(((e,t)=>(e[t]=()=>zS[t].process(US),e)),{}),GS=e=>zS[e].process(US),YS=e=>{FS=!1,US.delta=jS?MS:Math.max(Math.min(e-US.timestamp,40),1),US.timestamp=e,BS=!0,VS.forEach(GS),BS=!1,FS&&(jS=!1,DS(YS))},KS=()=>{FS=!0,jS=!0,BS||DS(YS)},ZS=()=>US,XS=HS;function JS(e,t,n=0){return e-t-n}const QS=e=>{const t=({delta:t})=>e(t);return{start:()=>XS.update(t,!0),stop:()=>WS.update(t)}};function eE(e){var t,n,{from:r,autoplay:o=!0,driver:a=QS,elapsed:i=0,repeat:s=0,repeatType:d="loop",repeatDelay:c=0,onPlay:l,onStop:u,onComplete:p,onRepeat:m,onUpdate:h}=e,f=j_(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let y,g,v,{to:_}=f,b=0,$=f.duration,w=!1,S=!0;const E=function(e){if(Array.isArray(e.to))return IS;if(NS[e.type])return NS[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?IS:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Rw:IS}(f);(null===(n=(t=E).needsInterpolation)||void 0===n?void 0:n.call(t,r,_))&&(v=lS([0,100],[r,_],{clamp:!1}),r=0,_=100);const x=E(Object.assign(Object.assign({},f),{from:r,to:_}));return o&&(null==l||l(),y=a((function(e){if(S||(e=-e),i+=e,!w){const e=x.next(Math.max(0,i));g=e.value,v&&(g=v(g)),w=S?e.done:i<=0}null==h||h(g),w&&(0===b&&(null!=$||($=i)),b<s?function(e,t,n,r){return r?e>=t+n:e<=-n}(i,$,c,S)&&(b++,"reverse"===d?(S=b%2==0,i=function(e,t,n=0,r=!0){return r?JS(t+-e,t,n):t-(e-t)+n}(i,$,c,S)):(i=JS(i,$,c),"mirror"===d&&x.flipTarget()),w=!1,m&&m()):(y.stop(),p&&p()))})),y.start()),{stop:()=>{null==u||u(),y.stop()}}}function tE(e,t){return t?e*(1e3/t):0}var nE=function(e){return 1e3*e};const rE=(e,t)=>1-3*t+3*e,oE=(e,t)=>3*t-6*e,aE=e=>3*e,iE=(e,t,n)=>((rE(t,n)*e+oE(t,n))*e+aE(t))*e,sE=(e,t,n)=>3*rE(t,n)*e*e+2*oE(t,n)*e+aE(t),dE=.1;function cE(e,t,n,r){if(e===t&&n===r)return yS;const o=new Float32Array(11);for(let t=0;t<11;++t)o[t]=iE(t*dE,e,n);return a=>0===a||1===a?a:iE(function(t){let r=0,a=1;for(;10!==a&&o[a]<=t;++a)r+=dE;--a;const i=r+(t-o[a])/(o[a+1]-o[a])*dE,s=sE(i,e,n);return s>=.001?function(e,t,n,r){for(let o=0;o<8;++o){const o=sE(t,n,r);if(0===o)return t;t-=(iE(t,n,r)-e)/o}return t}(t,i,e,n):0===s?i:function(e,t,n,r,o){let a,i,s=0;do{i=t+(n-t)/2,a=iE(i,r,o)-e,a>0?n=i:t=i}while(Math.abs(a)>1e-7&&++s<10);return i}(t,r,r+dE,e,n)}(a),t,r)}var lE={linear:yS,easeIn:gS,easeInOut:_S,easeOut:vS,circIn:bS,circInOut:wS,circOut:$S,backIn:SS,backInOut:xS,backOut:ES,anticipate:CS,bounceIn:RS,bounceInOut:e=>e<.5?.5*(1-PS(1-2*e)):.5*PS(2*e-1)+.5,bounceOut:PS},uE=function(e){if(Array.isArray(e)){q_(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=F_(e,4);return cE(t[0],t[1],t[2],t[3])}return"string"==typeof e?(q_(void 0!==lE[e],"Invalid easing type '".concat(e,"'")),lE[e]):e},pE=function(e){return Array.isArray(e)&&"number"!=typeof e[0]},mE=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!nS.test(t)||t.startsWith("url(")))},hE=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},fE=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},yE=function(){return{type:"keyframes",ease:"linear",duration:.3}},gE=function(e){return{type:"keyframes",duration:.8,values:e}},vE={x:hE,y:hE,z:hE,rotate:hE,rotateX:hE,rotateY:hE,rotateZ:hE,scaleX:fE,scaleY:fE,scale:fE,opacity:yE,backgroundColor:yE,color:yE,default:fE},_E=function(e,t){var n;return n=w$(t)?gE:vE[e]||vE.default,D_({to:t},n(t))};const bE=new Set(["brightness","contrast","saturate","opacity"]);function $E(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Db)||[];if(!r)return e;const o=n.replace(r,"");let a=bE.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+o+")"}const wE=/([a-z-]*)\(.*?\)/g,SE=Object.assign(Object.assign({},nS),{getAnimatableNone:e=>{const t=e.match(wE);return t?t.map($E).join(" "):e}});var EE=D_(D_({},Jb),{color:Kw,backgroundColor:Kw,outlineColor:Kw,fill:Kw,stroke:Kw,borderColor:Kw,borderTopColor:Kw,borderRightColor:Kw,borderBottomColor:Kw,borderLeftColor:Kw,filter:SE,WebkitFilter:SE}),xE=function(e){return EE[e]};function CE(e,t){var n,r=xE(e);return r!==SE&&(r=nS),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var kE={current:!1},TE=!1;function AE(e,t,n,r,o){var a,i=OE(r,e),s=null!==(a=i.from)&&void 0!==a?a:t.get(),d=mE(e,n);"none"===s&&d&&"string"==typeof n?s=CE(e,n):PE(s)&&"string"==typeof n?s=RE(n):!Array.isArray(n)&&PE(n)&&"string"==typeof s&&(n=RE(s));var c=mE(e,s);return W_(c===d,"You are trying to animate ".concat(e,' from "').concat(s,'" to "').concat(n,'". ').concat(s," is not an animatable value - to enable this animation set ").concat(s," to a value animatable to ").concat(n," via the `style` property.")),c&&d&&!1!==i.type?function(){var r={from:s,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===i.type||"decay"===i.type?function({from:e=0,velocity:t=0,min:n,max:r,power:o=.8,timeConstant:a=750,bounceStiffness:i=500,bounceDamping:s=10,restDelta:d=1,modifyTarget:c,driver:l,onUpdate:u,onComplete:p,onStop:m}){let h;function f(e){return void 0!==n&&e<n||void 0!==r&&e>r}function y(e){return void 0===n?r:void 0===r||Math.abs(n-e)<Math.abs(r-e)?n:r}function g(e){null==h||h.stop(),h=eE(Object.assign(Object.assign({},e),{driver:l,onUpdate:t=>{var n;null==u||u(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:p,onStop:m}))}function v(e){g(Object.assign({type:"spring",stiffness:i,damping:s,restDelta:d},e))}if(f(e))v({from:e,velocity:t,to:y(e)});else{let r=o*t+e;void 0!==c&&(r=c(r));const i=y(r),s=i===n?-1:1;let l,u;const p=e=>{l=u,u=e,t=tE(e-l,ZS().delta),(1===s&&e>i||-1===s&&e<i)&&v({from:e,to:i,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:a,power:o,restDelta:d,modifyTarget:c,onUpdate:f(r)?p:void 0})}return{stop:()=>null==h?void 0:h.stop()}}(D_(D_({},r),i)):eE(D_(D_({},function(e,t,n){var r;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=B_([],F_(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=j_(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=D_(D_({},e),_E(n,t.to))),D_(D_({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,a=e.loop,i=j_(e,["ease","times","yoyo","flip","loop"]),s=D_({},i);return n&&(s.offset=n),i.duration&&(s.duration=nE(i.duration)),i.repeatDelay&&(s.repeatDelay=nE(i.repeatDelay)),t&&(s.ease=pE(t)?t.map(uE):uE(t)),"tween"===i.type&&(s.type="keyframes"),(r||a||o)&&(W_(!TE,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),TE=!0,r?s.repeatType="reverse":a?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=a||r||o||i.repeat),"spring"!==i.type&&(s.type="keyframes"),s}(e))}(i,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=i.onUpdate)||void 0===t||t.call(i,e)},onComplete:function(){var e;r.onComplete(),null===(e=i.onComplete)||void 0===e||e.call(i)}}))}:function(){var e,r,a=E$(n);return t.set(a),o(),null===(e=null==i?void 0:i.onUpdate)||void 0===e||e.call(i,a),null===(r=null==i?void 0:i.onComplete)||void 0===r||r.call(i),{stop:function(){}}}}function PE(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function RE(e){return"number"==typeof e?0:CE("",e)}function OE(e,t){return e[t]||e.default||e}function IE(e,t,n,r){return void 0===r&&(r={}),kE.current&&(r={type:!1}),t.start((function(o){var a,i,s=AE(e,t,n,r,o),d=function(e,t){var n,r;return null!==(r=null!==(n=(OE(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),c=function(){return i=s()};return d?a=window.setTimeout(c,nE(d)):c(),function(){clearTimeout(a),null==i||i.stop()}}))}var NE=function(e){return/^\-?\d*\.?\d+$/.test(e)},ME=function(e){return/^0[^.\s]+$/.test(e)};function LE(e,t){-1===e.indexOf(t)&&e.push(t)}function DE(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var jE=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return LE(this.subscriptions,e),function(){return DE(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var a=this.subscriptions[o];a&&a(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),FE=function(){function e(e){var t,n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new jE,this.velocityUpdateSubscribers=new jE,this.renderSubscribers=new jE,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=ZS(),o=r.delta,a=r.timestamp;n.lastUpdated!==a&&(n.timeDelta=o,n.lastUpdated=a,XS.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return XS.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?tE(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function BE(e){return new FE(e)}var UE=function(e){return function(t){return t.test(e)}},VE=[Yb,Hb,zb,Vb,qb,Wb,{test:function(e){return"auto"===e},parse:function(e){return e}}],zE=function(e){return VE.find(UE(e))},HE=B_(B_([],F_(VE),!1),[Kw,nS],!1),WE=function(e){return HE.find(UE(e))};function qE(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,BE(n))}function GE(e,t){if(t)return(t[e]||t.default||t).from}function YE(e,t,n){var r;void 0===n&&(n={});var o=db(e,t,n.custom),a=(o||{}).transition,i=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(i=n.transitionOverride);var s=o?function(){return KE(e,o,n)}:function(){return Promise.resolve()},d=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=i.delayChildren,a=void 0===o?0:o,s=i.staggerChildren,d=i.staggerDirection;return function(e,t,n,r,o,a){void 0===n&&(n=0),void 0===r&&(r=0),void 0===o&&(o=1);var i=[],s=(e.variantChildren.size-1)*r,d=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),s-e*r};return Array.from(e.variantChildren).sort(ZE).forEach((function(e,r){i.push(YE(e,t,D_(D_({},a),{delay:n+d(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(i)}(e,t,a+r,s,d,n)}:function(){return Promise.resolve()},c=i.when;if(c){var l=F_("beforeChildren"===c?[s,d]:[d,s],2),u=l[0],p=l[1];return u().then(p)}return Promise.all([s(),d(n.delay)])}function KE(e,t,n){var r,o=void 0===n?{}:n,a=o.delay,i=void 0===a?0:a,s=o.transitionOverride,d=o.type,c=e.makeTargetAnimatable(t),l=c.transition,u=void 0===l?e.getDefaultTransition():l,p=c.transitionEnd,m=j_(c,["transition","transitionEnd"]);s&&(u=s);var h=[],f=d&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[d]);for(var y in m){var g=e.getValue(y),v=m[y];if(!(!g||void 0===v||f&&XE(f,y))){var _=D_({delay:i},u);e.shouldReduceMotion&&kb(y)&&(_=D_(D_({},_),{type:!1,delay:0}));var b=IE(y,g,v,_);h.push(b)}}return Promise.all(h).then((function(){p&&function(e,t){var n=db(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,a=void 0===o?{}:o;r.transition;var i=j_(r,["transitionEnd","transition"]);for(var s in i=D_(D_({},i),a))qE(e,s,E$(i[s]))}(e,p)}))}function ZE(e,t){return e.sortNodePosition(t)}function XE(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var JE=[A$.Animate,A$.InView,A$.Focus,A$.Hover,A$.Tap,A$.Drag,A$.Exit],QE=B_([],F_(JE),!1).reverse(),ex=JE.length;function tx(e){var t=function(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var o=t.map((function(t){return YE(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=YE(e,t,n);else{var a="function"==typeof t?db(e,t,n.custom):t;r=KE(e,a,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}(e),n=function(){var e;return(e={})[A$.Animate]=nx(!0),e[A$.InView]=nx(),e[A$.Hover]=nx(),e[A$.Tap]=nx(),e[A$.Drag]=nx(),e[A$.Focus]=nx(),e[A$.Exit]=nx(),e}(),r={},o=!0,a=function(t,n){var r=db(e,n);if(r){r.transition;var o=r.transitionEnd,a=j_(r,["transition","transitionEnd"]);t=D_(D_(D_({},t),a),o)}return t};function i(i,s){for(var d,c=e.getProps(),l=e.getVariantContext(!0)||{},u=[],p=new Set,m={},h=1/0,f=function(t){var r=QE[t],f=n[r],y=null!==(d=c[r])&&void 0!==d?d:l[r],g=ib(y),v=r===s?f.isActive:null;!1===v&&(h=t);var _=y===l[r]&&y!==c[r]&&g;if(_&&o&&e.manuallyAnimateOnMount&&(_=!1),f.protectedKeys=D_({},m),!f.isActive&&null===v||!y&&!f.prevProp||$$(y)||"boolean"==typeof y)return"continue";var b=function(e,t){return"string"==typeof t?t!==e:!!ab(t)&&!_w(t,e)}(f.prevProp,y),$=b||r===s&&f.isActive&&!_&&g||t>h&&g,w=Array.isArray(y)?y:[y],S=w.reduce(a,{});!1===v&&(S={});var E=f.prevResolvedValues,x=void 0===E?{}:E,C=D_(D_({},x),S),k=function(e){$=!0,p.delete(e),f.needsAnimating[e]=!0};for(var T in C){var A=S[T],P=x[T];m.hasOwnProperty(T)||(A!==P?w$(A)&&w$(P)?!_w(A,P)||b?k(T):f.protectedKeys[T]=!0:void 0!==A?k(T):p.add(T):void 0!==A&&p.has(T)?k(T):f.protectedKeys[T]=!0)}f.prevProp=y,f.prevResolvedValues=S,f.isActive&&(m=D_(D_({},m),S)),o&&e.blockInitialAnimation&&($=!1),$&&!_&&u.push.apply(u,B_([],F_(w.map((function(e){return{animation:e,options:D_({type:r},i)}}))),!1))},y=0;y<ex;y++)f(y);if(r=D_({},m),p.size){var g={};p.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(g[t]=n)})),u.push({animation:g})}var v=Boolean(u.length);return o&&!1===c.initial&&!e.manuallyAnimateOnMount&&(v=!1),o=!1,v?t(u):Promise.resolve()}return{isAnimated:function(e){return void 0!==r[e]},animateChanges:i,setActive:function(t,r,o){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var s=i(o,t);for(var d in n)n[d].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function nx(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var rx={animation:mw((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=tx(t)),$$(n)&&(0,U.useEffect)((function(){return n.subscribe(t)}),[n])})),exit:mw((function(e){var t=e.custom,n=e.visualElement,r=F_(vw(),2),o=r[0],a=r[1],i=(0,U.useContext)(J_);(0,U.useEffect)((function(){var e,r;n.isPresent=o;var s=null===(e=n.animationState)||void 0===e?void 0:e.setActive(A$.Exit,!o,{custom:null!==(r=null==i?void 0:i.custom)&&void 0!==r?r:t});!o&&(null==s||s.then(a))}),[o])}))};const ox=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),ax=e=>ox(e)&&e.hasOwnProperty("z"),ix=(e,t)=>Math.abs(e-t);function sx(e,t){if(rS(e)&&rS(t))return ix(e,t);if(ox(e)&&ox(t)){const n=ix(e.x,t.x),r=ix(e.y,t.y),o=ax(e)&&ax(t)?ix(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var dx=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=ux(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=sx(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,a=ZS().timestamp;r.history.push(D_(D_({},o),{timestamp:a}));var i=r.handlers,s=i.onStart,d=i.onMove;t||(s&&s(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),d&&d(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=cx(t,r.transformPagePoint),N$(e)&&0===e.buttons?r.handlePointerUp(e,t):XS.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,a=n.onSessionEnd,i=ux(cx(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,i),a&&a(e,i)},!(M$(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var a=cx(F$(e),this.transformPagePoint),i=a.point,s=ZS().timestamp;this.history=[D_(D_({},i),{timestamp:s})];var d=t.onSessionStart;d&&d(e,ux(a,this.history)),this.removeListeners=ow(G$(window,"pointermove",this.handlePointerMove),G$(window,"pointerup",this.handlePointerUp),G$(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),WS.update(this.updatePoint)},e}();function cx(e,t){return t?{point:t(e.point)}:e}function lx(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ux(e,t){var n=e.point;return{point:n,delta:lx(n,mx(t)),offset:lx(n,px(t)),velocity:hx(t,.1)}}function px(e){return e[0]}function mx(e){return e[e.length-1]}function hx(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=mx(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>nE(t)));)n--;if(!r)return{x:0,y:0};var a=(o.timestamp-r.timestamp)/1e3;if(0===a)return{x:0,y:0};var i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function fx(e){return e.max-e.min}function yx(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),sx(e,t)<n}function gx(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=Nw(t.min,t.max,e.origin),e.scale=fx(n)/fx(t),(yx(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Nw(n.min,n.max,e.origin)-e.originPoint,(yx(e.translate)||isNaN(e.translate))&&(e.translate=0)}function vx(e,t,n,r){gx(e.x,t.x,n.x,null==r?void 0:r.originX),gx(e.y,t.y,n.y,null==r?void 0:r.originY)}function _x(e,t,n){e.min=n.min+t.min,e.max=e.min+fx(t)}function bx(e,t,n){e.min=t.min-n.min,e.max=e.min+fx(t)}function $x(e,t,n){bx(e.x,t.x,n.x),bx(e.y,t.y,n.y)}function wx(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Sx(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=F_([o,r],2))[0],o=n[1]),{min:r,max:o}}var Ex=.35;function xx(e,t,n){return{min:Cx(e,t),max:Cx(e,n)}}function Cx(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}var kx=function(){return{x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}},Tx=function(){return{x:{min:0,max:0},y:{min:0,max:0}}};function Ax(e){return[e("x"),e("y")]}function Px(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function Rx(e){return void 0===e||1===e}function Ox(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!Rx(t)||!Rx(n)||!Rx(r)}function Ix(e){return Ox(e)||Nx(e.x)||Nx(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function Nx(e){return e&&"0%"!==e}function Mx(e,t,n){return n+t*(e-n)}function Lx(e,t,n,r,o){return void 0!==o&&(e=Mx(e,o,r)),Mx(e,n,r)+t}function Dx(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=Lx(e.min,t,n,r,o),e.max=Lx(e.max,t,n,r,o)}function jx(e,t){var n=t.x,r=t.y;Dx(e.x,n.translate,n.scale,n.originPoint),Dx(e.y,r.translate,r.scale,r.originPoint)}function Fx(e,t){e.min=e.min+t,e.max=e.max+t}function Bx(e,t,n){var r=F_(n,3),o=r[0],a=r[1],i=r[2],s=void 0!==t[i]?t[i]:.5,d=Nw(e.min,e.max,s);Dx(e,t[o],t[a],d,t.scale)}var Ux=["x","scaleX","originX"],Vx=["y","scaleY","originY"];function zx(e,t){Bx(e.x,t,Ux),Bx(e.y,t,Vx)}function Hx(e,t){return Px(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var Wx=new WeakMap,qx=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Tx(),this.visualElement=e}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor,o=void 0!==r&&r;!1!==this.visualElement.isPresent&&(this.panSession=new dx(e,{onSessionStart:function(e){n.stopAnimation(),o&&n.snapToCursor(F$(e,"page").point)},onStart:function(e,t){var r,o=n.getProps(),a=o.drag,i=o.dragPropagation,s=o.onDragStart;(!a||i||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=J$(a),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),Ax((function(e){var t,r,o=n.getAxisMotionValue(e).get()||0;if(zb.test(o)){var a=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];a&&(o=fx(a)*(parseFloat(o)/100))}n.originPoint[e]=o})),null==s||s(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(A$.Drag,!0))},onMove:function(e,t){var r=n.getProps(),o=r.dragPropagation,a=r.dragDirectionLock,i=r.onDirectionLock,s=r.onDrag;if(o||n.openGlobalLock){var d=t.offset;if(a&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(d),void(null!==n.currentDirection&&(null==i||i(n.currentDirection)));n.updateAxis("x",t.point,d),n.updateAxis("y",t.point,d),n.visualElement.syncRender(),null==s||s(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null==o||o(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(A$.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&Gx(e,r,this.currentDirection)){var o=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=function(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?Nw(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?Nw(o,e,n.max):Math.min(e,o)),e}(a,this.constraints[e],this.elastic[e])),o.set(a)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,o=(this.visualElement.projection||{}).layout,a=this.constraints;n&&ob(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(e,t){var n=t.top,r=t.left,o=t.bottom,a=t.right;return{x:wx(e.x,r,a),y:wx(e.y,n,o)}}(o.actual,n),this.elastic=function(e){return void 0===e&&(e=Ex),!1===e?e=0:!0===e&&(e=Ex),{x:xx(e,"left","right"),y:xx(e,"top","bottom")}}(r),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Ax((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!ob(t))return!1;var r=t.current;q_(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var o=this.visualElement.projection;if(!o||!o.layout)return!1;var a=function(e,t,n){var r=Hx(e,n),o=t.scroll;return o&&(Fx(r.x,o.x),Fx(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),i=function(e,t){return{x:Sx(e.x,t.x),y:Sx(e.y,t.y)}}(o.layout.actual,a);if(n){var s=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(i));this.hasMutatedConstraints=!!s,s&&(i=Px(s))}return i},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),r=n.drag,o=n.dragMomentum,a=n.dragElastic,i=n.dragTransition,s=n.dragSnapToOrigin,d=n.onDragTransitionEnd,c=this.constraints||{},l=Ax((function(n){var d;if(Gx(n,r,t.currentDirection)){var l=null!==(d=null==c?void 0:c[n])&&void 0!==d?d:{};s&&(l={min:0,max:0});var u=a?200:1e6,p=a?40:1e7,m=D_(D_({type:"inertia",velocity:o?e[n]:0,bounceStiffness:u,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},i),l);return t.startAxisValueAnimation(n,m)}}));return Promise.all(l).then(d)},e.prototype.startAxisValueAnimation=function(e,t){return IE(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;Ax((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase();return this.visualElement.getProps()[r]||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;Ax((function(n){if(Gx(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var a=r.layout.actual[n],i=a.min,s=a.max;o.set(e[n]-Nw(i,s,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,a=this.visualElement.projection;if(ob(o)&&a&&this.constraints){this.stopAnimation();var i={x:0,y:0};Ax((function(e){var n,r,o,a,s,d=t.getAxisMotionValue(e);if(d){var c=d.get();i[e]=(n={min:c,max:c},r=t.constraints[e],o=.5,a=fx(n),(s=fx(r))>a?o=Iw(r.min,r.max-a,n.min):a>s&&(o=Iw(n.min,n.max-s,r.min)),bw(0,1,o))}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(e=a.root)||void 0===e||e.updateScroll(),a.updateLayout(),this.resolveConstraints(),Ax((function(e){if(Gx(e,r,null)){var n=t.getAxisMotionValue(e),o=t.constraints[e],a=o.min,s=o.max;n.set(Nw(a,s,i[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;Wx.set(this.visualElement,this);var n=G$(this.visualElement.getInstance(),"pointerdown",(function(e){var n=t.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=function(){ob(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,a=o.addEventListener("measure",r);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),r();var i=O$(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(Ax((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.syncRender())})),function(){i(),n(),a()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,a=e.dragPropagation,i=void 0!==a&&a,s=e.dragConstraints,d=void 0!==s&&s,c=e.dragElastic,l=void 0===c?Ex:c,u=e.dragMomentum,p=void 0===u||u;return D_(D_({},e),{drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:d,dragElastic:l,dragMomentum:p})},e}();function Gx(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var Yx={pan:mw((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,a=e.visualElement,i=t||n||r||o,s=(0,U.useRef)(null),d=(0,U.useContext)(Z_).transformPagePoint,c={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){s.current=null,r&&r(e,t)}};(0,U.useEffect)((function(){null!==s.current&&s.current.updateHandlers(c)})),Y$(a,"pointerdown",i&&function(e){s.current=new dx(e,c,{transformPagePoint:d})}),nw((function(){return s.current&&s.current.end()}))})),drag:mw((function(e){var t=e.dragControls,n=e.visualElement,r=pb((function(){return new qx(n)}));(0,U.useEffect)((function(){return t&&t.subscribe(r)}),[r,t]),(0,U.useEffect)((function(){return r.addListeners()}),[r])}))},Kx=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],Zx=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,a=e.makeTargetAnimatable,i=e.measureViewportBox,s=e.render,d=e.readValueFromInstance,c=e.removeValueFromRenderState,l=e.sortNodePosition,u=e.scrapeMotionValuesFromProps;return function(e,t){var p=e.parent,m=e.props,h=e.presenceId,f=e.blockInitialAnimation,y=e.visualState,g=e.shouldReduceMotion;void 0===t&&(t={});var v,_,b=!1,$=y.latestValues,w=y.renderState,S=function(){var e=Kx.map((function(){return new jE})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){Kx.forEach((function(r){var o,a="on"+r,i=e[a];null===(o=t[r])||void 0===o||o.call(t),i&&(t[r]=n[a](i))}))}};return e.forEach((function(e,t){n["on"+Kx[t]]=function(t){return e.add(t)},n["notify"+Kx[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,B_([],F_(t),!1))}})),n}(),E=new Map,x=new Map,C={},k=D_({},$);function T(){v&&b&&(A(),s(v,w,m.style,D.projection))}function A(){r(D,w,$,t,m)}function P(){S.notifyUpdate($)}function R(e,t){var n=t.onChange((function(t){$[e]=t,m.onUpdate&&XS.update(P,!1,!0)})),r=t.onRenderRequest(D.scheduleRender);x.set(e,(function(){n(),r()}))}var O=u(m);for(var I in O){var N=O[I];void 0!==$[I]&&Rb(N)&&N.set($[I],!1)}var M=cb(m),L=lb(m),D=D_(D_({treeType:n,current:null,depth:p?p.depth+1:0,parent:p,children:new Set,presenceId:h,shouldReduceMotion:g,variantChildren:L?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==p?void 0:p.isMounted()),blockInitialAnimation:f,isMounted:function(){return Boolean(v)},mount:function(e){b=!0,v=D.current=e,D.projection&&D.projection.mount(e),L&&p&&!M&&(_=null==p?void 0:p.addVariantChild(D)),E.forEach((function(e,t){return R(t,e)})),null==p||p.children.add(D),D.setProps(m)},unmount:function(){var e;null===(e=D.projection)||void 0===e||e.unmount(),WS.update(P),WS.render(T),x.forEach((function(e){return e()})),null==_||_(),null==p||p.children.delete(D),S.clearAllListeners(),v=void 0,b=!1},addVariantChild:function(e){var t,n=D.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return l&&n===e.treeType?l(D.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return L?D:null==p?void 0:p.getClosestVariantNode()},getLayoutId:function(){return m.layoutId},getInstance:function(){return v},getStaticValue:function(e){return $[e]},setStaticValue:function(e,t){return $[e]=t},getLatestValues:function(){return $},setVisibility:function(e){D.isVisible!==e&&(D.isVisible=e,D.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(D,e,m,t)},measureViewportBox:function(){return i(v,m)},addValue:function(e,t){D.hasValue(e)&&D.removeValue(e),E.set(e,t),$[e]=t.get(),R(e,t)},removeValue:function(e){var t;E.delete(e),null===(t=x.get(e))||void 0===t||t(),x.delete(e),delete $[e],c(e,w)},hasValue:function(e){return E.has(e)},getValue:function(e,t){var n=E.get(e);return void 0===n&&void 0!==t&&(n=BE(t),D.addValue(e,n)),n},forEachValue:function(e){return E.forEach(e)},readValue:function(e){var n;return null!==(n=$[e])&&void 0!==n?n:d(v,e,t)},setBaseTarget:function(e,t){k[e]=t},getBaseTarget:function(e){if(o){var t=o(m,e);if(void 0!==t&&!Rb(t))return t}return k[e]}},S),{build:function(){return A(),w},scheduleRender:function(){XS.render(T,!1,!0)},syncRender:T,setProps:function(e){(e.transformTemplate||m.transformTemplate)&&D.scheduleRender(),m=e,S.updatePropListeners(e),C=function(e,t,n){var r;for(var o in t){var a=t[o],i=n[o];if(Rb(a))e.addValue(o,a);else if(Rb(i))e.addValue(o,BE(a));else if(i!==a)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(a)}else e.addValue(o,BE(null!==(r=e.getStaticValue(o))&&void 0!==r?r:a))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(D,u(m),C)},getProps:function(){return m},getVariant:function(e){var t;return null===(t=m.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return m.transition},getTransformPagePoint:function(){return m.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==p?void 0:p.getVariantContext();if(!M){var t=(null==p?void 0:p.getVariantContext())||{};return void 0!==m.initial&&(t.initial=m.initial),t}for(var n={},r=0;r<Jx;r++){var o=Xx[r],a=m[o];(ib(a)||!1===a)&&(n[o]=a)}return n}});return D}},Xx=B_(["initial"],F_(JE),!1),Jx=Xx.length;function Qx(e){return"string"==typeof e&&e.startsWith("var(--")}var eC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function tC(e,t,n){void 0===n&&(n=1),q_(n<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));var r=F_(function(e){var t=eC.exec(e);if(!t)return[,];var n=F_(t,3);return[n[1],n[2]]}(e),2),o=r[0],a=r[1];if(o){var i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():Qx(a)?tC(a,t,n+1):a}}var nC,rC=new Set(["width","height","top","left","right","bottom","x","y"]),oC=function(e){return rC.has(e)},aC=function(e,t){e.set(t,!1),e.set(t)},iC=function(e){return e===Yb||e===Hb};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(nC||(nC={}));var sC=function(e,t){return parseFloat(e.split(", ")[t])},dC=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var a=o.match(/^matrix3d\((.+)\)$/);if(a)return sC(a[1],t);var i=o.match(/^matrix\((.+)\)$/);return i?sC(i[1],e):0}},cC=new Set(["x","y","z"]),lC=Eb.filter((function(e){return!cC.has(e)})),uC={width:function(e,t){var n=e.x,r=t.paddingLeft,o=void 0===r?"0":r,a=t.paddingRight,i=void 0===a?"0":a;return n.max-n.min-parseFloat(o)-parseFloat(i)},height:function(e,t){var n=e.y,r=t.paddingTop,o=void 0===r?"0":r,a=t.paddingBottom,i=void 0===a?"0":a;return n.max-n.min-parseFloat(o)-parseFloat(i)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:dC(4,13),y:dC(5,14)};function pC(e,t,n,r){return function(e){return Object.keys(e).some(oC)}(t)?function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=D_({},t),r=D_({},r);var o=Object.keys(t).filter(oC),a=[],i=!1,s=[];if(o.forEach((function(o){var d=e.getValue(o);if(e.hasValue(o)){var c,l=n[o],u=zE(l),p=t[o];if(w$(p)){var m=p.length,h=null===p[0]?1:0;l=p[h],u=zE(l);for(var f=h;f<m;f++)c?q_(zE(p[f])===c,"All keyframes must be of the same type"):(c=zE(p[f]),q_(c===u||iC(u)&&iC(c),"Keyframes must be of the same dimension as the current value"))}else c=zE(p);if(u!==c)if(iC(u)&&iC(c)){var y=d.get();"string"==typeof y&&d.set(parseFloat(y)),"string"==typeof p?t[o]=parseFloat(p):Array.isArray(p)&&c===Hb&&(t[o]=p.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==c?void 0:c.transform)&&(0===l||0===p)?0===l?d.set(c.transform(l)):t[o]=u.transform(p):(i||(a=function(e){var t=[];return lC.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),i=!0),s.push(o),r[o]=void 0!==r[o]?r[o]:t[o],aC(d,p))}})),s.length){var d=s.indexOf("height")>=0?window.pageYOffset:null,c=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),a=getComputedStyle(o),i=a.display,s={};"none"===i&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){s[e]=uC[e](r,a)})),t.syncRender();var d=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);aC(r,s[n]),e[n]=uC[n](d,a)})),e}(t,e,s);return a.length&&a.forEach((function(t){var n=F_(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),null!==d&&window.scrollTo({top:d}),{target:c,transitionEnd:r}}return{target:t,transitionEnd:r}}(e,t,n,r):{target:t,transitionEnd:r}}var mC={treeType:"dom",readValueFromInstance:function(e,t){if(kb(t)){var n=xE(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(Ib(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return Hx(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var a=t.transition,i=t.transitionEnd,s=j_(t,["transition","transitionEnd"]),d=function(e,t,n){var r,o,a={};for(var i in e)a[i]=null!==(r=GE(i,t))&&void 0!==r?r:null===(o=n.getValue(i))||void 0===o?void 0:o.get();return a}(s,a||{},e);if(o&&(i&&(i=o(i)),s&&(s=o(s)),d&&(d=o(d))),r){!function(e,t,n){var r,o,a,i,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),d=s.length;if(d)for(var c=0;c<d;c++){var l=s[c],u=t[l],p=null;Array.isArray(u)&&(p=u[0]),null===p&&(p=null!==(o=null!==(r=n[l])&&void 0!==r?r:e.readValue(l))&&void 0!==o?o:t[l]),null!=p&&("string"==typeof p&&(NE(p)||ME(p))?p=parseFloat(p):!WE(p)&&nS.test(u)&&(p=CE(l,u)),e.addValue(l,BE(p)),null!==(a=(i=n)[l])&&void 0!==a||(i[l]=p),e.setBaseTarget(l,p))}}(e,s,d);var c=function(e,t,n,r){var o=function(e,t,n){var r,o=j_(t,[]),a=e.getInstance();if(!(a instanceof Element))return{target:o,transitionEnd:n};for(var i in n&&(n=D_({},n)),e.forEachValue((function(e){var t=e.get();if(Qx(t)){var n=tC(t,a);n&&e.set(n)}})),o){var s=o[i];if(Qx(s)){var d=tC(s,a);d&&(o[i]=d,n&&(null!==(r=n[i])&&void 0!==r||(n[i]=s)))}}return{target:o,transitionEnd:n}}(e,t,r);return pC(e,t=o.target,n,r=o.transitionEnd)}(e,s,d,i);i=c.transitionEnd,s=c.target}return D_({transition:a,transitionEnd:i},s)},scrapeMotionValuesFromProps:_$,build:function(e,t,n,r,o){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Qb(t,n,r,o.transformTemplate)},render:y$},hC=Zx(mC),fC=Zx(D_(D_({},mC),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return kb(t)?(null===(n=xE(t))||void 0===n?void 0:n.default)||0:(t=g$.has(t)?t:f$(t),e.getAttribute(t))},scrapeMotionValuesFromProps:b$,build:function(e,t,n,r,o){l$(t,n,r,o.transformTemplate)},render:v$})),yC=function(e,t){return $b(e)?fC(t,{enableHardwareAcceleration:!1}):hC(t,{enableHardwareAcceleration:!0})};function gC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var vC={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!Hb.test(e))return e;e=parseFloat(e)}var n=gC(e,t.target.x),r=gC(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},_C="_$css",bC={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,a=e.includes("var("),i=[];a&&(e=e.replace(eC,(function(e){return i.push(e),_C})));var s=nS.parse(e);if(s.length>5)return o;var d=nS.createTransformer(e),c="number"!=typeof s[0]?1:0,l=r.x.scale*n.x,u=r.y.scale*n.y;s[0+c]/=l,s[1+c]/=u;var p=Nw(l,u,.5);"number"==typeof s[2+c]&&(s[2+c]/=p),"number"==typeof s[3+c]&&(s[3+c]/=p);var m=d(s);if(a){var h=0;m=m.replace(_C,(function(){var e=i[h];return h++,e}))}return m}},$C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return L_(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,r=n.visualElement,o=n.layoutGroup,a=n.switchLayoutGroup,i=n.layoutId,s=r.projection;e=wC,Object.assign(wb,e),s&&((null==o?void 0:o.group)&&o.group.add(s),(null==a?void 0:a.register)&&i&&a.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(function(){t.safeToRemove()})),s.setOptions(D_(D_({},s.options),{onExitComplete:function(){return t.safeToRemove()}}))),mb.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,a=n.drag,i=n.isPresent,s=o.projection;return s?(s.isPresent=i,a||e.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?s.promote():s.relegate()||XS.postRender((function(){var e;(null===(e=s.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(o),(null==r?void 0:r.deregister)&&r.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(U.Component),wC={borderRadius:D_(D_({},vC),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:vC,borderTopRightRadius:vC,borderBottomLeftRadius:vC,borderBottomRightRadius:vC,boxShadow:bC},SC={measureLayout:function(e){var t=F_(vw(),2),n=t[0],r=t[1],o=(0,U.useContext)(fb);return U.createElement($C,D_({},e,{layoutGroup:o,switchLayoutGroup:(0,U.useContext)(yb),isPresent:n,safeToRemove:r}))}},EC=["TopLeft","TopRight","BottomLeft","BottomRight"],xC=EC.length,CC=function(e){return"string"==typeof e?parseFloat(e):e},kC=function(e){return"number"==typeof e||Hb.test(e)};function TC(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var AC=RC(0,.5,$S),PC=RC(.5,.95,yS);function RC(e,t,n){return function(r){return r<e?0:r>t?1:n(Iw(e,t,r))}}function OC(e,t){e.min=t.min,e.max=t.max}function IC(e,t){OC(e.x,t.x),OC(e.y,t.y)}function NC(e,t,n,r,o){return e=Mx(e-=t,1/n,r),void 0!==o&&(e=Mx(e,1/o,r)),e}function MC(e,t,n,r,o){var a=F_(n,3),i=a[0],s=a[1],d=a[2];!function(e,t,n,r,o,a,i){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===a&&(a=e),void 0===i&&(i=e),zb.test(t)&&(t=parseFloat(t),t=Nw(i.min,i.max,t/100)-i.min),"number"==typeof t){var s=Nw(a.min,a.max,r);e===a&&(s-=t),e.min=NC(e.min,t,n,s,o),e.max=NC(e.max,t,n,s,o)}}(e,t[i],t[s],t[d],t.scale,r,o)}var LC=["x","scaleX","originX"],DC=["y","scaleY","originY"];function jC(e,t,n,r){MC(e.x,t,LC,null==n?void 0:n.x,null==r?void 0:r.x),MC(e.y,t,DC,null==n?void 0:n.y,null==r?void 0:r.y)}function FC(e){return 0===e.translate&&1===e.scale}function BC(e){return FC(e.x)&&FC(e.y)}function UC(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var VC=function(){function e(){this.members=[]}return e.prototype.add=function(e){LE(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(DE(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,n,r,o,a;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(a=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===a||a.call(o)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),zC="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function HC(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,a="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(a+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var i=n.rotate,s=n.rotateX,d=n.rotateY;i&&(a+="rotate(".concat(i,"deg) ")),s&&(a+="rotateX(".concat(s,"deg) ")),d&&(a+="rotateY(".concat(d,"deg) "))}var c=e.x.scale*t.x,l=e.y.scale*t.y;return(a+="scale(".concat(c,", ").concat(l,")"))===zC?"none":a}var WC=function(e,t){return e.depth-t.depth},qC=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){LE(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){DE(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(WC),this.isDirty=!1,this.children.forEach(e)},e}();function GC(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.checkIsScrollRoot,a=e.resetTransform;return function(){function e(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach(ek),o.nodes.forEach(tk)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?B_(B_([],F_(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new qC)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new jE),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.eventHandlers.get(e);null==r||r.notify.apply(r,B_([],F_(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,n){var r,o=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var a=this.options,i=a.layoutId,s=a.layout,d=a.visualElement;if(d&&!d.getInstance()&&d.mount(e),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(s||i)&&(this.isLayoutDirty=!0),t){var c,l=function(){return o.root.updateBlockedByResize=!1};t(e,(function(){o.root.updateBlockedByResize=!0,clearTimeout(c),c=window.setTimeout(l,250),mb.hasAnimatedSinceResize&&(mb.hasAnimatedSinceResize=!1,o.nodes.forEach(QC))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&d&&(i||s)&&this.addEventListener("didUpdate",(function(e){var t,n,r,a,i,s=e.delta,c=e.hasLayoutChanged,l=e.hasRelativeTargetChanged,u=e.layout;if(o.isTreeAnimationBlocked())return o.target=void 0,void(o.relativeTarget=void 0);var p=null!==(n=null!==(t=o.options.transition)&&void 0!==t?t:d.getDefaultTransition())&&void 0!==n?n:sk,m=d.getProps(),h=m.onLayoutAnimationStart,f=m.onLayoutAnimationComplete,y=!o.targetLayout||!UC(o.targetLayout,u)||l,g=!c&&l;if((null===(r=o.resumeFrom)||void 0===r?void 0:r.instance)||g||c&&(y||!o.currentAnimation)){o.resumeFrom&&(o.resumingFrom=o.resumeFrom,o.resumingFrom.resumingFrom=void 0),o.setAnimationOrigin(s,g);var v=D_(D_({},OE(p,"layout")),{onPlay:h,onComplete:f});d.shouldReduceMotion&&(v.delay=0,v.type=!1),o.startAnimation(v)}else c||0!==o.animationProgress||o.finishAnimation(),o.isLead()&&(null===(i=(a=o.options).onExitComplete)||void 0===i||i.call(a));o.targetLayout=u}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,WS.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(nk))},e.prototype.willUpdate=function(e){var t,n,r;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var o=0;o<this.path.length;o++){var a=this.path[o];a.shouldResetTransform=!0,a.updateScroll()}var i=this.options,s=i.layoutId,d=i.layout;if(void 0!==s||d){var c=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==c?void 0:c(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(XC);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(dk),this.potentialNodes.clear()),this.nodes.forEach(JC),this.nodes.forEach(YC),this.nodes.forEach(KC),this.clearAllSnapshots(),qS.update(),qS.preRender(),qS.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(ZC),this.sharedNodes.forEach(rk)},e.prototype.scheduleUpdateProjection=function(){XS.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;XS.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));lk(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++)this.path[t].updateScroll();var n=this.measure();lk(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected=Tx(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=r(this.instance))},e.prototype.resetTransform=function(){var e;if(a){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!BC(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null==r?void 0:r(this.latestValues,""),i=o!==this.prevTransformTemplateValue;t&&(n||Ix(this.latestValues)||i)&&(a(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return Tx();var t=e.measureViewportBox(),n=this.root.scroll;return n&&(Fx(t.x,n.x),Fx(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t=Tx();IC(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],o=r.scroll,a=r.options,i=r.isScrollRoot;if(r!==this.root&&o&&a.layoutScroll){if(i){IC(t,e);var s=this.root.scroll;s&&(Fx(t.x,-s.x),Fx(t.y,-s.y))}Fx(t.x,o.x),Fx(t.y,o.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n=Tx();IC(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&zx(n,{x:-o.scroll.x,y:-o.scroll.y}),Ix(o.latestValues)&&zx(n,o.latestValues)}return Ix(this.latestValues)&&zx(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n=Tx();IC(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];if(o.instance&&Ix(o.latestValues)){Ox(o.latestValues)&&o.updateSnapshot();var a=Tx();IC(a,o.measure()),jC(n,o.latestValues,null===(t=o.snapshot)||void 0===t?void 0:t.layout,a)}}return Ix(this.latestValues)&&jC(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=D_(D_(D_({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,n,r,o=this.options,a=o.layout,i=o.layoutId;this.layout&&(a||i)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=Tx(),this.relativeTargetOrigin=Tx(),$x(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),IC(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=Tx(),this.targetWithTransforms=Tx()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,_x(t.x,n.x,r.x),_x(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):IC(this.target,this.layout.actual),jx(this.target,this.targetDelta)):IC(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=Tx(),this.relativeTargetOrigin=Tx(),$x(this.relativeTargetOrigin,this.target,this.relativeParent.target),IC(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!Ix(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,n=t.layout,r=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var o=this.getLead();IC(this.layoutCorrected,this.layout.actual),function(e,t,n,r){var o,a;void 0===r&&(r=!1);var i=n.length;if(i){var s,d;t.x=t.y=1;for(var c=0;c<i;c++)d=(s=n[c]).projectionDelta,"contents"!==(null===(a=null===(o=s.instance)||void 0===o?void 0:o.style)||void 0===a?void 0:a.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&zx(e,{x:-s.scroll.x,y:-s.scroll.y}),d&&(t.x*=d.x.scale,t.y*=d.y.scale,jx(e,d)),r&&Ix(s.latestValues)&&zx(e,s.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);var a=o.target;if(a){this.projectionDelta||(this.projectionDelta=kx(),this.projectionDeltaWithTransform=kx());var i=this.treeScale.x,s=this.treeScale.y,d=this.projectionTransform;vx(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.projectionTransform=HC(this.projectionDelta,this.treeScale),this.projectionTransform===d&&this.treeScale.x===i&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,r=this;void 0===t&&(t=!1);var o=this.snapshot,a=(null==o?void 0:o.latestValues)||{},i=D_({},this.latestValues),s=kx();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var d=Tx(),c=null==o?void 0:o.isShared,l=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,u=Boolean(c&&!l&&!0===this.options.crossfade&&!this.path.some(ik));this.animationProgress=0,this.mixTargetDelta=function(t){var n,o=t/1e3;ok(s.x,e.x,o),ok(s.y,e.y,o),r.setTargetDelta(s),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(n=r.relativeParent)||void 0===n?void 0:n.layout)&&($x(d,r.layout.actual,r.relativeParent.layout.actual),function(e,t,n,r){ak(e.x,t.x,n.x,r),ak(e.y,t.y,n.y,r)}(r.relativeTarget,r.relativeTargetOrigin,d,o)),c&&(r.animationValues=i,function(e,t,n,r,o,a){var i,s,d,c;o?(e.opacity=Nw(0,null!==(i=n.opacity)&&void 0!==i?i:1,AC(r)),e.opacityExit=Nw(null!==(s=t.opacity)&&void 0!==s?s:1,0,PC(r))):a&&(e.opacity=Nw(null!==(d=t.opacity)&&void 0!==d?d:1,null!==(c=n.opacity)&&void 0!==c?c:1,r));for(var l=0;l<xC;l++){var u="border".concat(EC[l],"Radius"),p=TC(t,u),m=TC(n,u);void 0===p&&void 0===m||(p||(p=0),m||(m=0),0===p||0===m||kC(p)===kC(m)?(e[u]=Math.max(Nw(CC(p),CC(m),r),0),(zb.test(m)||zb.test(p))&&(e[u]+="%")):e[u]=m)}(t.rotate||n.rotate)&&(e.rotate=Nw(t.rotate||0,n.rotate||0,r))}(i,a,r.latestValues,o,u,l)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=o},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,r=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(WS.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=XS.update((function(){mb.hasAnimatedSinceResize=!0,r.currentAnimation=function(e,t,n){void 0===n&&(n={});var r=Rb(0)?0:BE(0);return IE("",r,1e3,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,0,D_(D_({},e),{onUpdate:function(t){var n;r.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,o=e.latestValues;t&&n&&r&&(IC(t,n),zx(t,o),vx(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))},e.prototype.registerSharedNode=function(e,t){var n,r,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new VC),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(o=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(r,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,n=t.needsReset,r=t.transition,o=t.preserveFollowOpacity,a=this.getStack();a&&a.promote(this,o),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,n={},r=0;r<Sb.length;r++){var o="rotate"+Sb[r];e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in null==e||e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,n,r,o,a,i;void 0===e&&(e={});var s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var d=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=x$(e.pointerEvents)||"",s.transform=d?d(this.latestValues,""):"none",s;var c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){var l={};return this.options.layoutId&&(l.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,l.pointerEvents=x$(e.pointerEvents)||""),this.hasProjected&&!Ix(this.latestValues)&&(l.transform=d?d({},""):"none",this.hasProjected=!1),l}var u=c.animationValues||c.latestValues;this.applyTransformsToTarget(),s.transform=HC(this.projectionDeltaWithTransform,this.treeScale,u),d&&(s.transform=d(u,s.transform));var p=this.projectionDelta,m=p.x,h=p.y;for(var f in s.transformOrigin="".concat(100*m.origin,"% ").concat(100*h.origin,"% 0"),c.animationValues?s.opacity=c===this?null!==(o=null!==(r=u.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=c===this?null!==(a=u.opacity)&&void 0!==a?a:"":null!==(i=u.opacityExit)&&void 0!==i?i:0,wb)if(void 0!==u[f]){var y=wb[f],g=y.correct,v=y.applyTo,_=g(u[f],c);if(v)for(var b=v.length,$=0;$<b;$++)s[v[$]]=_;else s[f]=_}return this.options.layoutId&&(s.pointerEvents=c===this?x$(e.pointerEvents)||"":"none"),s},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(XC),this.root.sharedNodes.clear()},e}()}function YC(e){e.updateLayout()}function KC(e){var t,n,r,o,a=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&a&&e.hasListeners("didUpdate")){var i=e.layout,s=i.actual,d=i.measured;"size"===e.options.animationType?Ax((function(e){var t=a.isShared?a.measured[e]:a.layout[e],n=fx(t);t.min=s[e].min,t.max=t.min+n})):"position"===e.options.animationType&&Ax((function(e){var t=a.isShared?a.measured[e]:a.layout[e],n=fx(s[e]);t.max=t.min+n}));var c=kx();vx(c,s,a.layout);var l=kx();a.isShared?vx(l,e.applyTransform(d,!0),a.measured):vx(l,s,a.layout);var u=!BC(c),p=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var m=e.relativeParent,h=m.snapshot,f=m.layout;if(h&&f){var y=Tx();$x(y,a.layout,h.layout);var g=Tx();$x(g,s,f.actual),UC(y,g)||(p=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:a,delta:l,layoutDelta:c,hasLayoutChanged:u,hasRelativeTargetChanged:p})}else e.isLead()&&(null===(o=(r=e.options).onExitComplete)||void 0===o||o.call(r));e.options.transition=void 0}function ZC(e){e.clearSnapshot()}function XC(e){e.clearMeasurements()}function JC(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function QC(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function ek(e){e.resolveTargetDelta()}function tk(e){e.calcProjection()}function nk(e){e.resetRotation()}function rk(e){e.removeLeadSnapshot()}function ok(e,t,n){e.translate=Nw(t.translate,0,n),e.scale=Nw(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ak(e,t,n,r){e.min=Nw(t.min,n.min,r),e.max=Nw(t.max,n.max,r)}function ik(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var sk={duration:.45,ease:[.4,0,.1,1]};function dk(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function ck(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function lk(e){ck(e.x),ck(e.y)}var uk=GC({attachResizeListener:function(e,t){return O$(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),pk={current:void 0},mk=GC({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!pk.current){var e=new uk(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),pk.current=e}return pk.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),hk=D_(D_(D_(D_({},rx),hw),Yx),SC),fk=_b((function(e,t){return function(e,t,n,r,o){var a=t.forwardMotionProps,i=void 0!==a&&a,s=$b(e)?P$:R$;return D_(D_({},s),{preloadedFeatures:n,useRender:m$(i),createVisualElement:r,projectionNodeConstructor:o,Component:e})}(e,t,hk,yC,mk)}));function yk(){var e=(0,U.useRef)(!1);return eb((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var gk=function(e){var t=e.children,n=e.initial,r=e.isPresent,o=e.onExitComplete,a=e.custom,i=e.presenceAffectsLayout,s=pb(vk),d=gw(),c=(0,U.useMemo)((function(){return{id:d,initial:n,isPresent:r,custom:a,onExitComplete:function(e){var t,n;s.set(e,!0);try{for(var r=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(s.values()),a=r.next();!a.done;a=r.next())if(!a.value)return}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}null==o||o()},register:function(e){return s.set(e,!1),function(){return s.delete(e)}}}}),i?void 0:[r]);return(0,U.useMemo)((function(){s.forEach((function(e,t){return s.set(t,!1)}))}),[r]),U.useEffect((function(){!r&&!s.size&&(null==o||o())}),[r]),U.createElement(J_.Provider,{value:c},t)};function vk(){return new Map}var _k=function(e){return e.key||""},bk=function(e){var t=e.children,n=e.custom,r=e.initial,o=void 0===r||r,a=e.onExitComplete,i=e.exitBeforeEnter,s=e.presenceAffectsLayout,d=void 0===s||s,c=F_(function(){var e=yk(),t=F_((0,U.useState)(0),2),n=t[0],r=t[1],o=(0,U.useCallback)((function(){e.current&&r(n+1)}),[n]);return[(0,U.useCallback)((function(){return XS.postRender(o)}),[o]),n]}(),1),l=c[0],u=(0,U.useContext)(fb).forceRender;u&&(l=u);var p=yk(),m=function(e){var t=[];return U.Children.forEach(e,(function(e){(0,U.isValidElement)(e)&&t.push(e)})),t}(t),h=m,f=new Set,y=(0,U.useRef)(h),g=(0,U.useRef)(new Map).current,v=(0,U.useRef)(!0);if(eb((function(){v.current=!1,function(e,t){e.forEach((function(e){var n=_k(e);t.set(n,e)}))}(m,g),y.current=h})),nw((function(){v.current=!0,g.clear(),f.clear()})),v.current)return U.createElement(U.Fragment,null,h.map((function(e){return U.createElement(gk,{key:_k(e),isPresent:!0,initial:!!o&&void 0,presenceAffectsLayout:d},e)})));h=B_([],F_(h),!1);for(var _=y.current.map(_k),b=m.map(_k),$=_.length,w=0;w<$;w++){var S=_[w];-1===b.indexOf(S)&&f.add(S)}return i&&f.size&&(h=[]),f.forEach((function(e){if(-1===b.indexOf(e)){var t=g.get(e);if(t){var r=_.indexOf(e);h.splice(r,0,U.createElement(gk,{key:_k(t),isPresent:!1,onExitComplete:function(){g.delete(e),f.delete(e);var t=y.current.findIndex((function(t){return t.key===e}));if(y.current.splice(t,1),!f.size){if(y.current=m,!1===p.current)return;l(),a&&a()}},custom:n,presenceAffectsLayout:d},t))}}})),h=h.map((function(e){var t=e.key;return f.has(t)?e:U.createElement(gk,{key:_k(e),isPresent:!0,presenceAffectsLayout:d},e)})),"production"!==V_&&i&&h.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),U.createElement(U.Fragment,null,f.size?h:h.map((function(e){return(0,U.cloneElement)(e)})))};function $k(e){let{className:t,label:n,onFilesDrop:r,onHTMLDrop:o,onDrop:a}=e;const[i,s]=(0,K.useState)(),[d,c]=(0,K.useState)(),[l,u]=(0,K.useState)(),p=(0,Or.__experimentalUseDropZone)({onDrop(e){const t=(0,Pl.getFilesFromDataTransfer)(e.dataTransfer),n=e.dataTransfer.getData("text/html");n&&o?o(n):t.length&&r?r(t):a&&a(e)},onDragStart(e){s(!0);let t="default";(0,J.includes)(e.dataTransfer.types,"text/html")?t="html":((0,J.includes)(e.dataTransfer.types,"Files")||(0,Pl.getFilesFromDataTransfer)(e.dataTransfer).length>0)&&(t="file"),u(t)},onDragEnd(){s(!1),u()},onDragEnter(){c(!0)},onDragLeave(){c(!1)}}),m=(0,Or.useReducedMotion)();let h;d&&(h=(0,K.createElement)(fk.div,{variants:{hidden:{scaleY:0,opacity:0},show:{scaleY:1,opacity:1,transition:{type:"tween",duration:.2,delay:.1,delayChildren:.2}},exit:{scaleY:1,opacity:0,transition:{duration:.3,delayChildren:0}}},initial:m?"show":"hidden",animate:"show",exit:m?"show":"exit",className:"components-drop-zone__content"},(0,K.createElement)(fk.div,{variants:{hidden:{opacity:0,scale:.75},show:{opacity:1,scale:1},exit:{opacity:0,scale:.9}}},(0,K.createElement)(tn,{icon:N_,className:"components-drop-zone__content-icon"}),(0,K.createElement)("span",{className:"components-drop-zone__content-text"},n||(0,Q.__)("Drop files to upload")))));const f=X()("components-drop-zone",t,{"is-active":(i||d)&&("file"===l&&r||"html"===l&&o||"default"===l&&a),"is-dragging-over-document":i,"is-dragging-over-element":d,[`is-dragging-${l}`]:!!l});return(0,K.createElement)("div",{ref:p,className:f},m?h:(0,K.createElement)(bk,null,h))}const wk=function(e){let{accept:t,children:n,multiple:r=!1,onChange:o,onClick:a,render:i,...s}=e;const d=(0,K.useRef)(),c=()=>{d.current.click()},l=i?i({openFileDialog:c}):(0,K.createElement)(Cu,Y({onClick:c},s),n);return(0,K.createElement)("div",{className:"components-form-file-upload"},l,(0,K.createElement)("input",{type:"file",ref:d,multiple:r,style:{display:"none"},accept:t,onChange:o,onClick:a,"data-testid":"form-file-upload-input"}))};var Sk=n(5339),Ek=n(9230);const xk=({error:e})=>U.createElement("span",{className:"upload-message is-destructive"},e),Ck=({fileName:e,showPreview:t})=>{const n=wcpaySettings.restUrl+Kr.substring(1)+"/file/"+e;return U.createElement(U.Fragment,null,t&&e&&U.createElement("img",{src:n,style:{maxWidth:100,marginTop:12},alt:e}),!t&&e&&U.createElement("span",{className:"upload-message"},e))},kk=({field:e,fileName:t,disabled:n,isDone:r,isLoading:o,accept:a,error:i,onFileChange:s,onFileRemove:d,help:c,showPreview:l,uploadButtonLabel:u,type:p="file"})=>{const m=i&&0<i.length||!1,h="image"===p?Sk.A:Ek.A,f=r&&!m?qu.A:h;return U.createElement(Wr,{id:`form-file-upload-base-control-${e.key}`,label:e.label,help:c},U.createElement($k,{onFilesDrop:t=>s(e.key,t[0])}),U.createElement("div",{className:"file-upload"},U.createElement(wk,{accept:a,onChange:t=>{s(e.key,(t.target.files||new FileList)[0])},render:({openFileDialog:t})=>U.createElement(Cu,{id:`form-file-upload-${e.key}`,className:r&&!m?"is-success":"",isSecondary:!0,isDestructive:m,isBusy:o,disabled:n||o,icon:U.createElement(f,{size:18}),onClick:e=>((e,t)=>{var n;const r=null===(n=e.target.closest(".components-form-file-upload"))||void 0===n?void 0:n.querySelector('input[type="file"]');r&&(r.value=""),t()})(e,t)},u||(0,Q.__)("Upload file","woocommerce-payments"))}),m?U.createElement(xk,{error:i}):U.createElement(Ck,{fileName:t,showPreview:l}),r&&!n?U.createElement(Cu,{className:"delete-uploaded-file-button","aria-label":(0,Q.__)("Remove file","woocommerce-payments"),icon:U.createElement(I_.A,{size:18}),onClick:()=>d(e.key)}):null))};const Tk=e=>{const{fieldKey:t,label:n,accept:r,disabled:o,help:a,purpose:i,fileID:s,updateFileID:d}=e,[c,l]=(0,K.useState)(!1),[u,p]=(0,K.useState)(!1),{createErrorNotice:m}=(0,Gr.useDispatch)("core/notices"),h=()=>{d(""),l(!1),p(!1)},f=!c&&s&&0<s.length,y=u||"";return V().createElement("div",{className:"wcpay-branding-upload-field__wrapper"},V().createElement("div",{className:X()("woopay-settings__update-store-logo",s&&"has-file")},V().createElement(kk,{field:{key:t,label:n},fileName:s,isLoading:c,accept:r,disabled:o,isDone:!1,error:y,onFileChange:(e,t)=>{return n=void 0,r=void 0,a=function*(){if(!t)return;if((e=>{if(51e4<e)return m((0,Q.__)("The file you have attached is exceeding the maximum limit.","woocommerce-payments")),!0})(t.size))return;l(!0),bo("wcpay_merchant_settings_file_upload_started",{type:e});const n=new FormData;n.append("file",t),n.append("purpose",i);try{const t=yield Of()({path:"/wc/v3/payments/file",method:"post",body:n});t&&d(t.id),l(!1),p(!1),bo("wcpay_merchant_settings_file_upload_success",{type:e})}catch({err:e}){bo("wcpay_merchant_settings_upload_failed",{message:e.message}),d(""),l(!1),p(e.message||""),m(e.message)}},new((o=void 0)||(o=Promise))((function(e,t){function i(e){try{d(a.next(e))}catch(e){t(e)}}function s(e){try{d(a.throw(e))}catch(e){t(e)}}function d(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(i,s)}d((a=a.apply(n,r||[])).next())}));var n,r,o,a},onFileRemove:h,showPreview:!0,type:"image",uploadButtonLabel:(0,Q.__)("Upload custom logo","woocommerce-payments")}),V().createElement("div",{style:{display:"flex",alignItems:"center"}},f&&V().createElement(V().Fragment,null,V().createElement(Cu,{onClick:e=>{var t;const n=null===(t=e.target.closest(".woopay-settings__update-store-logo"))||void 0===t?void 0:t.querySelector('input[type="file"]');null==n||n.click()},isLink:!0},(0,Q.__)("Replace","woocommerce-payments")),V().createElement(Cu,{className:"delete-uploaded-file-button","aria-label":(0,Q.__)("Remove file","woocommerce-payments"),icon:V().createElement(I_.A,{size:18}),onClick:h})))),V().createElement(Wr,{id:"test",help:a}," "))},Ak=window.wp.htmlEntities,Pk=(0,K.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,K.createElement)(ee.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})),Rk=({height:e})=>(0,ml.jsx)("div",{className:"preview-layout__v-spacer",style:{height:e}}),Ok=({height:e,children:t})=>(0,ml.jsx)("div",{className:"preview-layout__container",style:{height:e},children:t}),Ik=()=>(0,ml.jsx)(tn,{className:"preview-layout__chevron-left",icon:Pk,size:24}),Nk=({height:e,variant:t="test",children:n})=>(0,ml.jsx)("div",{className:"preview-layout__store-header",variant:t,style:{height:e},children:n}),Mk=({children:e})=>(0,ml.jsx)("div",{className:"preview-layout__body",children:e}),Lk=({height:e,children:t})=>(0,ml.jsx)("div",{className:"preview-layout__columns-container",style:{height:e},children:t}),Dk=({height:e,children:t})=>(0,ml.jsx)("div",{className:"preview-layout__left-column",style:{height:e},children:t}),jk=({children:e})=>(0,ml.jsx)("div",{className:"preview-layout__contact-section",children:e}),Fk=({children:e})=>(0,ml.jsx)("div",{className:"preview-layout__contact-field",children:e}),Bk=({height:e,children:t})=>(0,ml.jsx)("div",{className:"preview-layout__right-column",style:{height:e},children:t}),Uk=({children:e,height:t})=>(0,ml.jsx)("div",{className:"preview-layout__section-header",style:{height:t},children:e}),Vk=({height:e})=>(0,ml.jsx)("div",{className:"preview-layout__loading-box",style:{height:e}}),zk=({children:e,maxHeight:t})=>(0,ml.jsx)("div",{className:"preview-layout__text-box",style:{maxHeight:t},dangerouslySetInnerHTML:{__html:e}}),Hk=({height:e})=>(0,ml.jsx)("div",{className:"preview-layout__checkout-button",style:{height:e},children:"Place order"}),Wk=({storeName:e,storeLogo:t,customMessage:n,...r})=>{const{style:o,...a}=r,i=(0,U.useMemo)((()=>{let e=(n||"").trim();return e&&(e=e.replace(/<\/?([a-zA-Z]+)[^>]*>/g,(function(e,t){return t=t.toLowerCase(),["a","em","strong","b","i"].includes(t)?"a"===t?e.startsWith("</")?"</span>":'<span class="preview-layout__shortcode-link">':e.startsWith("</")?`</${t}>`:`<${t}>`:""})),e=e.replace(/\[(terms|terms_of_service_link)\]/g,'<span class="preview-layout__shortcode-link">Terms of Service</span>'),e=e.replace(/\[(privacy_policy|privacy_policy_link)\]/g,'<span class="preview-layout__shortcode-link">Privacy Policy</span>')),e}),[n]);let s;if(t){const e=wcpaySettings.restUrl+Kr.substring(1)+"/file/"+t;s=(0,ml.jsx)("img",{src:e,alt:"Store logo"})}else s=wcpaySettings?.siteLogoUrl?(0,ml.jsx)("img",{src:wcpaySettings?.siteLogoUrl,alt:"Store logo"}):(0,ml.jsx)("span",{className:"header-text",children:(0,Ak.decodeEntities)(e)});return(0,ml.jsxs)("div",{className:"preview-layout",style:o,...a,children:[(0,ml.jsxs)(Ok,{children:[(0,ml.jsx)(Rk,{height:"0.75rem"}),(0,ml.jsxs)(Nk,{className:"preview-layout__store-header",variant:t?"logo":"text",height:t?"2rem":"1.5rem",children:[(0,ml.jsx)(Ik,{}),s]}),(0,ml.jsx)(Rk,{height:t?"0.4rem":"0.75rem"}),(0,ml.jsx)("hr",{className:"preview-layout__hr"}),(0,ml.jsxs)(Mk,{children:[(0,ml.jsx)(Rk,{height:"1.5rem"}),(0,ml.jsxs)(Lk,{children:[(0,ml.jsxs)(Dk,{children:[(0,ml.jsxs)(jk,{children:[(0,ml.jsxs)(Fk,{children:[(0,ml.jsx)(Uk,{height:"0.75rem",children:"CONTACT"}),(0,ml.jsx)(Rk,{height:"0.5rem"}),(0,ml.jsx)(Vk,{height:"1.875rem"})]}),(0,ml.jsxs)(Fk,{children:[(0,ml.jsx)(Uk,{isDropdownIncluded:!0,height:"0.75rem",children:"SHIP TO"}),(0,ml.jsx)(Rk,{height:"0.5rem"}),(0,ml.jsx)(Vk,{height:"3.813rem"})]}),(0,ml.jsxs)(Fk,{children:[(0,ml.jsx)(Uk,{isDropdownIncluded:!0,height:"0.75rem",children:"SHIPPING METHOD"}),(0,ml.jsx)(Rk,{height:"0.5rem"}),(0,ml.jsx)(Vk,{height:"2.313rem"})]}),(0,ml.jsxs)(Fk,{children:[(0,ml.jsx)(Uk,{isDropdownIncluded:!0,height:"0.75rem",children:"PAY WITH"}),(0,ml.jsx)(Rk,{height:"0.5rem"}),(0,ml.jsx)(Vk,{height:"1.5rem"})]})]}),(0,ml.jsx)(Rk,{height:"1.244rem"}),i&&(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)(zk,{maxHeight:"2.5rem",children:i}),(0,ml.jsx)(Rk,{height:"0.75rem"})]}),(0,ml.jsx)(Hk,{height:"1.875rem"}),(0,ml.jsx)(Rk,{height:"0.498rem"})]}),(0,ml.jsxs)(Bk,{children:[(0,ml.jsx)(Uk,{height:"0.75rem",children:"ORDER SUMMARY"}),(0,ml.jsx)(Rk,{height:"0.498rem"}),(0,ml.jsx)(Vk,{height:"1.563rem"}),(0,ml.jsx)(Rk,{height:"0.5rem"}),(0,ml.jsx)(Vk,{height:"9.438rem"}),(0,ml.jsx)(Rk,{height:"0.498rem"})]})]})]})]}),(0,ml.jsx)(Rk,{height:"1.5rem"})]})},qk=({section:e})=>{const[t,n]=Bd(),[r,o]=(()=>{const{updateWooPayCustomMessage:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getWooPayCustomMessage())),e]})(),[a,i]=(()=>{const{updateIsWooPayGlobalThemeSupportEnabled:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getIsWooPayGlobalThemeSupportEnabled())),e]})(),[s,d]=(()=>{const{updateWooPayStoreLogo:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getWooPayStoreLogo())),e]})(),[c,l]=(()=>{const{updateWooPayLocations:e}=(0,Gr.useDispatch)(Zr);return[(0,Gr.useSelect)((e=>e(Zr).getWooPayLocations())),e]})(),u=e=>t=>{l(t?[...c,e]:c.filter((t=>t!==e)))},p=Ud();return(0,ml.jsxs)(Rr,{className:X()({"woopay-settings":!0,"woopay-settings--appearance":"appearance"===e}),children:["enable"===e&&(0,ml.jsxs)(Tl,{children:[p&&(0,ml.jsx)(lp,{}),(0,ml.jsx)(qr,{checked:t,onChange:n,label:(0,Q.__)("Enable WooPay","woocommerce-payments"),help:t?(0,Q.__)("When enabled, customers will be able to checkout using WooPay.","woocommerce-payments"):gl({mixedString:(0,Q.__)("When enabled, customers will be able to checkout using WooPay. In order to use {{wooPayLink}}WooPay{{/wooPayLink}}, you must agree to our {{tosLink}}WooCommerce Terms of Service{{/tosLink}} and {{privacyLink}}Privacy Policy{{/privacyLink}}. {{trackingLink}}Click here{{/trackingLink}} to learn more about the data you will be sharing and opt-out options.","woocommerce-payments"),components:{wooPayLink:(0,ml.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://woocommerce.com/document/woopay-merchant-documentation/"}),tosLink:(0,ml.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://wordpress.com/tos/"}),privacyLink:(0,ml.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://automattic.com/privacy/"}),trackingLink:(0,ml.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://woocommerce.com/usage-tracking/"})}})}),(0,ml.jsx)("h4",{children:(0,Q.__)("Enable WooPay button on selected pages","woocommerce-payments")}),(0,ml.jsxs)("ul",{className:"payment-request-settings__location",children:[(0,ml.jsx)("li",{children:(0,ml.jsx)(qr,{disabled:!t,checked:t&&c.includes("checkout"),onChange:u("checkout"),label:(0,Q.__)("Checkout Page","woocommerce-payments")})}),(0,ml.jsx)("li",{children:(0,ml.jsx)(qr,{disabled:!t,checked:t&&c.includes("product"),onChange:u("product"),label:(0,Q.__)("Product Page","woocommerce-payments")})}),(0,ml.jsx)("li",{children:(0,ml.jsx)(qr,{disabled:!t,checked:t&&c.includes("cart"),onChange:u("cart"),label:(0,Q.__)("Cart Page","woocommerce-payments")})})]})]}),"appearance"===e&&(0,ml.jsxs)(Tl,{className:"woopay-settings__appearance-card-settings",children:[(0,ml.jsxs)("div",{className:"woopay-settings__custom-message-wrapper",children:[(0,ml.jsx)("h4",{children:(0,Q.__)("Checkout logo","woocommerce-payments")}),(0,ml.jsx)(Tk,{fieldKey:"woopay-store-logo",accept:"image/png, image/jpeg",disabled:!1,help:(0,Q.__)("Upload a custom logo. Upload a horizontal image with a white or transparent background for best results. Use a PNG or JPG image format. Recommended width: 512 pixels minimum.","woocommerce-payments"),purpose:"business_logo",fileID:s,updateFileID:d})]}),wcpaySettings.isWooPayGlobalThemeSupportEligible&&(0,ml.jsxs)("div",{className:"woopay-global-theme-support",children:[(0,ml.jsx)("h4",{children:(0,Q.__)("Checkout theme","woocommerce-payments")}),(0,ml.jsx)("div",{className:"woopay-settings__global-theme-checkbox",children:(0,ml.jsx)(qr,{disabled:!t,checked:a,onChange:i,label:(0,ml.jsxs)("div",{className:"woopay-settings__global-theme-label",children:[(0,Q.__)("Enable global theme support","woocommerce-payments"),(0,ml.jsx)("span",{className:"woopay-settings__badge",children:"Beta"})]}),help:gl({mixedString:(0,Q.__)("When enabled, WooPay checkout will be themed with your store’s brand colors and fonts. {{docs}}Learn more {{/docs}}","woocommerce-payments"),components:{docs:(0,ml.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://woocommerce.com/document/woopay-merchant-documentation/#checkout-appearance"})}})})})]}),(0,ml.jsxs)("div",{className:"woopay-settings__custom-message-wrapper",children:[(0,ml.jsx)("h4",{children:(0,Q.__)("Checkout policies","woocommerce-payments")}),(0,ml.jsx)(O_,{help:gl({mixedString:(0,Q.__)("Override the default {{privacyLink}}privacy policy{{/privacyLink}} and {{termsLink}}terms of service{{/termsLink}}, or add custom text to WooPay checkout. {{learnMoreLink}}Learn more{{/learnMoreLink}}.","woocommerce-payments"),components:{privacyLink:window.wcSettings?.storePages?.privacy?.permalink?(0,ml.jsx)(Kh.Link,{href:window.wcSettings.storePages.privacy.permalink,type:"external"}):(0,ml.jsx)("span",{}),termsLink:window.wcSettings?.storePages?.terms?.permalink?(0,ml.jsx)(Kh.Link,{href:window.wcSettings.storePages.terms.permalink,type:"external"}):(0,ml.jsx)("span",{}),learnMoreLink:(0,ml.jsx)(rn,{href:"https://woocommerce.com/document/woopay-merchant-documentation/#checkout-appearance"})}}),value:r,onChange:o})]})]}),"appearance"===e&&(0,ml.jsx)(Tl,{className:"woopay-settings__appearance-card-preview",children:(0,ml.jsxs)("div",{className:"woopay-settings__preview",children:[(0,ml.jsx)("h4",{children:(0,Q.__)("Preview of checkout","woocommerce-payments")}),(0,ml.jsx)(Wk,{storeName:wcSettings.siteTitle,storeLogo:s,customMessage:r})]})}),"general"===e&&(0,ml.jsx)(C_,{type:"woopay"})]})},Gk={woopay:{title:"WooPay",sections:[{section:"enable",description:()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("div",{className:"express-checkout-settings__icon",children:(0,ml.jsx)(tm,{})}),(0,ml.jsx)("p",{children:(0,Q.__)("Allow your customers to collect payments via WooPay.","woocommerce-payments")})]})},{section:"appearance",description:()=>(0,ml.jsx)(ml.Fragment,{children:(0,ml.jsx)("div",{children:(0,ml.jsx)("h2",{children:(0,Q.__)("Checkout appearance")})})})},{section:"general",description:()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h2",{children:(0,Q.__)("Settings","woocommerce-payments")}),(0,ml.jsx)("p",{children:(0,Q.__)("Configure the display of WooPay buttons on your store.","woocommerce-payments")})]})}],controls:e=>(0,ml.jsx)(qk,{...e})},payment_request:{title:"Apple Pay / Google Pay",sections:[{section:"enable",description:()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsxs)("div",{className:"express-checkout-settings__icons",children:[(0,ml.jsx)("div",{className:"express-checkout-settings__icon",children:(0,ml.jsx)(Up,{})}),(0,ml.jsx)("div",{className:"express-checkout-settings__icon",children:(0,ml.jsx)(Gp,{})})]}),(0,ml.jsx)("p",{children:(0,Q.__)("Allow your customers to collect payments via Apple Pay and Google Pay.","woocommerce-payments")})]})},{section:"general",description:()=>(0,ml.jsxs)(ml.Fragment,{children:[(0,ml.jsx)("h2",{children:(0,Q.__)("Settings","woocommerce-payments")}),(0,ml.jsx)("p",{children:(0,Q.__)("Configure the display of Apple Pay and Google Pay buttons on your store.","woocommerce-payments")})]})}],controls:e=>(0,ml.jsx)(k_,{...e})}},Yk=({methodId:e})=>{const t=Gk[e];if(!t)return(0,ml.jsx)("p",{children:(0,Q.__)("Invalid express checkout method ID specified.","woocommerce-payments")});"WooPay"!==t.title||wcpaySettings.featureFlags.woopayExpressCheckout||(t.sections=t.sections.filter((e=>"general"!==e.section)));const{title:n,sections:r,controls:o}=t;return(0,ml.jsxs)(Rh,{children:[(0,ml.jsxs)("h2",{className:"express-checkout-settings__breadcrumbs",children:[(0,ml.jsx)("a",{href:No({page:"wc-settings",tab:"checkout",section:"woocommerce_payments"}),children:"WooPayments"})," >"," ",(0,ml.jsx)("span",{children:n})]}),r.map((({section:e,description:t})=>(0,ml.jsx)(dm,{description:t,children:(0,ml.jsx)(nf,{numLines:30,children:(0,ml.jsx)(af,{children:(0,ml.jsx)(o,{section:e})})})},e))),(0,ml.jsx)(Dh,{})]})};window.addEventListener("load",(()=>{(e=>{for(const t in e){const n=G[t];n&&e[t]&&n(e[t])}})(wcpaySettings.fraudServices)}));const Kk=document.getElementById("wcpay-account-settings-container");Kk&&H().render((0,ml.jsx)(So.Provider,{value:wcpaySettings,children:(0,ml.jsx)(af,{children:(0,ml.jsx)(iy,{})})}),Kk);const Zk=document.getElementById("wcpay-express-checkout-settings-container");if(Zk){const e=Zk.dataset.methodId;H().render((0,ml.jsx)(So.Provider,{value:wcpaySettings,children:(0,ml.jsx)(af,{children:(0,ml.jsx)(Yk,{methodId:e})})}),Zk)}})()})();

Youez - 2016 - github.com/yon3zu
LinuXploit