(()=>{function r(r){return function(r){if(Array.isArray(r))return n(r)}(r)||function(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(r)||function(r,e){if(r){if("string"==typeof r)return n(r,e);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(r,e):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(r,n){(null==n||n>r.length)&&(n=r.length);for(var e=0,t=Array(n);e<n;e++)t[e]=r[e];return t}window.wpdefBase64Url2Base64=function(r){var n=(r=r.replace(/=/g,"").replace(/-/g,"+").replace(/_/g,"/")).length%4;if(n){if(1===n)throw new Error("InvalidLengthError: Input base64url string is the wrong length to determine padding");r+=new Array(5-n).join("=")}return r},window.wpdefArrayToBase64String=function(n){return btoa(String.fromCharCode.apply(String,r(n)))},window.wpdefCheckBrowserSupportForWebauthn=function(){return"undefined"!=typeof PublicKeyCredential&&"function"==typeof navigator.credentials.create}})();