Full Site Editing - Version 3.32283

Version Description

Download this release

Release Info

Developer fullofcaffeine
Plugin Icon wp plugin Full Site Editing
Version 3.32283
Comparing to
See all releases

Code changes from version 3.32212 to 3.32283

block-inserter-modifications/dist/contextual-tips.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"contextual-tips.js","mappings":"8HAsCA,KAAeA,EAAAA,EAAAA,UACdC,EAAAA,EAAAA,aAAcC,IACN,CACNC,cAAiBC,GAAUF,EAAQ,QAASG,QAAS,SAAUD,OAHlE,EAhCA,YAAwE,IAAhD,WAAEE,EAAF,OAAcC,GAAS,EAAvB,cAA8BJ,GAAkB,EACvE,IAAOG,EACN,OAAO,KAGR,IAAOE,EAAAA,EAAAA,OACN,OAAO,KAGR,MAAMC,GAAuBC,EAAAA,EAAAA,SAAQC,EAAAA,EAAAA,WAAWL,IAAeM,QAAS,MAAO,IAEzEC,GAAYC,EAAAA,EAAAA,QACjBN,EAAAA,GACA,QAAE,SAAEO,EAAF,WAAYC,GAAd,SACCb,EAAea,KACfF,EAAAA,EAAAA,QAAQ,IAAK,IAAIG,IAAKF,KAAgBG,IAAaC,EAAAA,EAAAA,UAAUV,EAAsBS,KACjFE,UAGJ,IAAOP,EAAUO,OAChB,OAAO,KAGR,MAAMC,EAAQd,EAASe,KAAKC,MAAOD,KAAKf,SAAWM,EAAUO,QAAW,EAExE,OACC,0BAAKI,UAAU,mBACd,mBAAC,EAAAC,IAAD,MAAOC,EAAAA,EAAAA,KAAKb,EAAW,CAAEQ,EAAO,sB,gEC7BnC,SAASM,EAAmBC,EAAMC,EAAYC,GAC7C,YAAyC,IAA7BC,EAAAA,0BACJA,EAAAA,EAAAA,0BAA0BH,EAAMC,GAGjCC,EAGR,MAAME,EAAO,CACZ,CACCC,QAAS,QACTlB,SAAU,CAAE,QAASmB,GAAI,QAAS,sBAClCC,YAAaR,EACZO,GACC,uFACA,qBAED,CACCE,GAAG,mBAAC,IAAD,CAASC,QAAQ,YAErBH,GACC,gFACA,sBA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EV,EAAoBW,EAAI,SAASI,EAAKC,GAAQ,OAAOJ,OAAOK,UAAUC,eAAeC,KAAKJ,EAAKC,ICC/FhB,EAAoBoB,EAAI,SAAStB,GACX,oBAAXuB,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAef,EAASuB,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAef,EAAS,aAAc,CAAEyB,OAAO,K,oFCQvD,MAAMC,OACsC,IAApCC,EAAAA,gCACJA,EAAAA,gCACAC,EAAAA,oCAEEC,EAAiB,WACtB,MAAQC,EAAsBC,IAAmBC,EAAAA,EAAAA,UAAU,IAErDC,GAA0BC,EAAAA,EAAAA,UAAUH,EAAgB,KAE1D,OACC,mBAACL,EAAD,MACG,IAAiC,IAA/B,YAAES,EAAF,SAAeC,GAAgB,EAClC,OAAKA,IAAcD,EACX,MAGHL,IAAyBK,GAC7BF,EAAyBE,IAGnB,mBAAC,IAAD,CAAe3F,WAAa2F,cAOD,IAA1BT,IACXW,EAAAA,EAAAA,gBAAgB,iCAAkC,CACjDC,OAAM,KACE,mBAACT,EAAD,Q","sources":["webpack://EditingToolkit/./editing-toolkit-plugin/block-inserter-modifications/contextual-tips/contextual-tip.js","webpack://EditingToolkit/./editing-toolkit-plugin/block-inserter-modifications/contextual-tips/list.js","webpack://EditingToolkit/./editing-toolkit-plugin/block-inserter-modifications/contextual-tips/tip-link.js","webpack://EditingToolkit/./editing-toolkit-plugin/block-inserter-modifications/contextual-tips/utils.js","webpack://EditingToolkit/external window \"lodash\"","webpack://EditingToolkit/external window [\"wp\",\"blockEditor\"]","webpack://EditingToolkit/external window [\"wp\",\"components\"]","webpack://EditingToolkit/external window [\"wp\",\"compose\"]","webpack://EditingToolkit/external window [\"wp\",\"data\"]","webpack://EditingToolkit/external window [\"wp\",\"element\"]","webpack://EditingToolkit/external window [\"wp\",\"i18n\"]","webpack://EditingToolkit/external window [\"wp\",\"plugins\"]","webpack://EditingToolkit/webpack/bootstrap","webpack://EditingToolkit/webpack/runtime/compat get default export","webpack://EditingToolkit/webpack/runtime/define property getters","webpack://EditingToolkit/webpack/runtime/hasOwnProperty shorthand","webpack://EditingToolkit/webpack/runtime/make namespace object","webpack://EditingToolkit/./editing-toolkit-plugin/block-inserter-modifications/contextual-tips.js"],"sourcesContent":["import { Tip } from '@wordpress/components';\nimport { compose } from '@wordpress/compose';\nimport { withSelect } from '@wordpress/data';\nimport { get, filter, deburr, lowerCase, includes } from 'lodash';\nimport tipsList from './list';\n\nfunction ContextualTip( { searchTerm, random = false, canUserCreate } ) {\n\tif ( ! searchTerm ) {\n\t\treturn null;\n\t}\n\n\tif ( ! tipsList.length ) {\n\t\treturn null;\n\t}\n\n\tconst normalizedSearchTerm = deburr( lowerCase( searchTerm ) ).replace( /^\\//, '' );\n\n\tconst foundTips = filter(\n\t\ttipsList,\n\t\t( { keywords, permission } ) =>\n\t\t\tcanUserCreate( permission ) &&\n\t\t\tfilter( [ ...new Set( keywords ) ], ( keyword ) => includes( normalizedSearchTerm, keyword ) )\n\t\t\t\t.length\n\t);\n\n\tif ( ! foundTips.length ) {\n\t\treturn null;\n\t}\n\n\tconst index = random ? Math.floor( Math.random() * foundTips.length ) : 0;\n\n\treturn (\n\t\t<div className=\"contextual-tip\">\n\t\t\t<Tip>{ get( foundTips, [ index, 'description' ] ) }</Tip>\n\t\t</div>\n\t);\n}\n\nexport default compose(\n\twithSelect( ( select ) => {\n\t\treturn {\n\t\t\tcanUserCreate: ( type ) => select( 'core' ).canUser( 'create', type ),\n\t\t};\n\t} )\n)( ContextualTip );\n","import { createInterpolateElement } from '@wordpress/element';\nimport { __ } from '@wordpress/i18n';\nimport TipLink from './tip-link';\n\nfunction getTipDescription( text, conversion, textFallback ) {\n\tif ( typeof createInterpolateElement !== 'undefined' ) {\n\t\treturn createInterpolateElement( text, conversion );\n\t}\n\n\treturn textFallback;\n}\n\nconst tips = [\n\t{\n\t\tcontext: 'theme',\n\t\tkeywords: [ 'theme', __( 'theme', 'full-site-editing' ) ],\n\t\tdescription: getTipDescription(\n\t\t\t__(\n\t\t\t\t'You can visit the <a>theme directory</a> to select a different design for your site.',\n\t\t\t\t'full-site-editing'\n\t\t\t),\n\t\t\t{\n\t\t\t\ta: <TipLink section=\"themes\" />,\n\t\t\t},\n\t\t\t__(\n\t\t\t\t'You can visit the theme directory to select a different design for your site.',\n\t\t\t\t'full-site-editing'\n\t\t\t)\n\t\t),\n\t\tpermission: 'settings',\n\t},\n\t{\n\t\tcontext: 'css',\n\t\tkeywords: [\n\t\t\t'css',\n\t\t\t__( 'css', 'full-site-editing' ),\n\t\t\t'style',\n\t\t\t__( 'style', 'full-site-editing' ),\n\t\t],\n\t\tdescription: getTipDescription(\n\t\t\t__(\n\t\t\t\t'You can visit the the <a>Customizer</a> to edit the CSS on your site.',\n\t\t\t\t'full-site-editing'\n\t\t\t),\n\t\t\t{\n\t\t\t\ta: <TipLink section=\"customizer\" subsection=\"custom_css\" />,\n\t\t\t},\n\t\t\t__( 'You can visit the the Customizer to edit the CSS on your site.', 'full-site-editing' )\n\t\t),\n\t\tpermission: 'settings',\n\t},\n\t{\n\t\tcontext: 'plugin',\n\t\tkeywords: [ 'plugin', __( 'plugin', 'full-site-editing' ) ],\n\t\tdescription: getTipDescription(\n\t\t\t__(\n\t\t\t\t'You can visit the <a>plugin directory</a> to get started with installing new plugins.',\n\t\t\t\t'full-site-editing'\n\t\t\t),\n\t\t\t{\n\t\t\t\ta: <TipLink section=\"plugins\" />,\n\t\t\t},\n\t\t\t__(\n\t\t\t\t'You can visit the plugin directory to get started with installing new plugins.',\n\t\t\t\t'full-site-editing'\n\t\t\t)\n\t\t),\n\t\tpermission: 'settings',\n\t},\n\t{\n\t\tcontext: 'header',\n\t\tkeywords: [ 'header', __( 'header', 'full-site-editing' ) ],\n\t\tdescription: getTipDescription(\n\t\t\t__(\n\t\t\t\t'You can visit the the <a>Customizer</a> to edit your logo and site title.',\n\t\t\t\t'full-site-editing'\n\t\t\t),\n\t\t\t{\n\t\t\t\ta: <TipLink section=\"customizer\" subsection=\"title_tagline\" />,\n\t\t\t},\n\t\t\t__(\n\t\t\t\t'You can visit the the Customizer to edit your logo and site title.',\n\t\t\t\t'full-site-editing'\n\t\t\t)\n\t\t),\n\t\tpermission: 'settings',\n\t},\n\t{\n\t\tcontext: 'color',\n\t\tkeywords: [ 'color', __( 'color', 'full-site-editing' ) ],\n\t\tdescription: getTipDescription(\n\t\t\t__(\n\t\t\t\t'You can visit the the <a>Customizer</a> to edit the colors on your site.',\n\t\t\t\t'full-site-editing'\n\t\t\t),\n\t\t\t{\n\t\t\t\ta: <TipLink section=\"customizer\" subsection=\"colors\" />,\n\t\t\t},\n\t\t\t__( 'You can visit the the Customizer to edit the colors on your site.', 'full-site-editing' )\n\t\t),\n\t\tpermission: 'settings',\n\t},\n];\n\nexport default tips;\n","import { select } from '@wordpress/data';\nimport { inIframe, isSimpleSite } from './utils';\n\nconst isEditorIFramed = inIframe();\n\nexport default function ( { section, children, subsection } ) {\n\tconst { hostname } = window.location;\n\tconst editorSelector = select( 'core/editor' );\n\tconst postId = editorSelector.getCurrentPostId();\n\tconst postType = editorSelector.getCurrentPostType();\n\tconst returnLink =\n\t\tisEditorIFramed && ! isSimpleSite\n\t\t\t? '&' +\n\t\t\t encodeURIComponent( `return=https://wordpress.com/${ postType }/${ hostname }/${ postId }` )\n\t\t\t: '';\n\tconst autofocus = `autofocus[section]=${ subsection }`;\n\n\tlet href = '#';\n\n\tswitch ( section ) {\n\t\tcase 'themes':\n\t\t\thref = isEditorIFramed ? `https://wordpress.com/themes/${ hostname }` : './themes.php';\n\t\t\tbreak;\n\n\t\tcase 'plugins':\n\t\t\thref =\n\t\t\t\tisEditorIFramed || isSimpleSite\n\t\t\t\t\t? `https://wordpress.com/plugins/${ hostname }`\n\t\t\t\t\t: './plugin-install.php';\n\t\t\tbreak;\n\n\t\tcase 'customizer':\n\t\t\thref =\n\t\t\t\tisEditorIFramed && isSimpleSite\n\t\t\t\t\t? `https://wordpress.com/customize/${ hostname }?${ autofocus }`\n\t\t\t\t\t: `./customize.php?${ autofocus }${ returnLink }`;\n\t\t\tbreak;\n\t}\n\n\treturn (\n\t\t<a href={ href } target=\"_blank\" rel=\"noreferrer noopener\">\n\t\t\t{ children }\n\t\t</a>\n\t);\n}\n","/**\n * Detect if the editor is already iFramed.\n *\n * @returns {boolean} `True` is the editor is iFramed. Otherwise, `False`.\n */\nexport const inIframe = () => {\n\ttry {\n\t\treturn window.self !== window.top;\n\t} catch ( e ) {\n\t\treturn true;\n\t}\n};\n\nexport const isSimpleSite = !! (\n\twindow &&\n\twindow._currentSiteType &&\n\twindow._currentSiteType === 'simple'\n);\n","module.exports = window[\"lodash\"];","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"compose\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"plugins\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import {\n\t__unstableInserterMenuExtension,\n\t__experimentalInserterMenuExtension,\n} from '@wordpress/block-editor';\nimport { useState } from '@wordpress/element';\nimport { registerPlugin } from '@wordpress/plugins';\nimport { debounce } from 'lodash';\nimport ContextualTip from './contextual-tips/contextual-tip';\n\nimport './contextual-tips/style.scss';\n\n// InserterMenuExtension has been made unstable in this PR: https://github.com/WordPress/gutenberg/pull/31417 / Gutenberg v10.7.0-rc.1.\n// We need to support both symbols until we're sure Gutenberg < v10.7.x is not used anymore in WPCOM.\nconst InserterMenuExtension =\n\ttypeof __unstableInserterMenuExtension !== 'undefined'\n\t\t? __unstableInserterMenuExtension\n\t\t: __experimentalInserterMenuExtension;\n\nconst ContextualTips = function () {\n\tconst [ debouncedFilterValue, setFilterValue ] = useState( '' );\n\n\tconst debouncedSetFilterValue = debounce( setFilterValue, 400 );\n\n\treturn (\n\t\t<InserterMenuExtension>\n\t\t\t{ ( { filterValue, hasItems } ) => {\n\t\t\t\tif ( hasItems || ! filterValue ) {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\tif ( debouncedFilterValue !== filterValue ) {\n\t\t\t\t\tdebouncedSetFilterValue( filterValue );\n\t\t\t\t}\n\n\t\t\t\treturn <ContextualTip searchTerm={ filterValue } />;\n\t\t\t} }\n\t\t</InserterMenuExtension>\n\t);\n};\n\n// Check if the experimental slot is available before to register plugin.\nif ( typeof InserterMenuExtension !== 'undefined' ) {\n\tregisterPlugin( 'block-inserter-contextual-tips', {\n\t\trender() {\n\t\t\treturn <ContextualTips />;\n\t\t},\n\t} );\n}\n"],"names":["compose","withSelect","select","canUserCreate","type","canUser","searchTerm","random","tipsList","normalizedSearchTerm","deburr","lowerCase","replace","foundTips","filter","keywords","permission","Set","keyword","includes","length","index","Math","floor","className","Tip","get","getTipDescription","text","conversion","textFallback","createInterpolateElement","tips","context","__","description","a","section","subsection","isEditorIFramed","inIframe","children","hostname","window","location","editorSelector","postId","getCurrentPostId","postType","getCurrentPostType","returnLink","isSimpleSite","encodeURIComponent","autofocus","href","target","rel","self","top","e","_currentSiteType","module","exports","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","definition","key","o","Object","defineProperty","enumerable","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","InserterMenuExtension","__unstableInserterMenuExtension","__experimentalInserterMenuExtension","ContextualTips","debouncedFilterValue","setFilterValue","useState","debouncedSetFilterValue","debounce","filterValue","hasItems","registerPlugin","render"],"sourceRoot":""}
 
block-inserter-modifications/dist/{contextual-tips.js → contextual-tips.min.js} RENAMED
@@ -1,2 +1,2 @@
1
  !function(){"use strict";var e={675:function(){},298:function(e,t,n){var i=n(307),o=n(609),r=n(333),s=n(818),c=n(819),u=n(36);t.Z=(0,r.compose)((0,s.withSelect)((e=>({canUserCreate:t=>e("core").canUser("create",t)}))))((function(e){let{searchTerm:t,random:n=!1,canUserCreate:r}=e;if(!t)return null;if(!u.Z.length)return null;const s=(0,c.deburr)((0,c.lowerCase)(t)).replace(/^\//,""),l=(0,c.filter)(u.Z,(e=>{let{keywords:t,permission:n}=e;return r(n)&&(0,c.filter)([...new Set(t)],(e=>(0,c.includes)(s,e))).length}));if(!l.length)return null;const a=n?Math.floor(Math.random()*l.length):0;return(0,i.createElement)("div",{className:"contextual-tip"},(0,i.createElement)(o.Tip,null,(0,c.get)(l,[a,"description"])))}))},36:function(e,t,n){var i=n(307),o=n(736),r=n(334);const __=o.__;function s(e,t,n){return void 0!==i.createInterpolateElement?(0,i.createInterpolateElement)(e,t):n}const c=[{context:"theme",keywords:["theme",__("theme","full-site-editing")],description:s(__("You can visit the <a>theme directory</a> to select a different design for your site.","full-site-editing"),{a:(0,i.createElement)(r.Z,{section:"themes"})},__("You can visit the theme directory to select a different design for your site.","full-site-editing")),permission:"settings"},{context:"css",keywords:["css",__("css","full-site-editing"),"style",__("style","full-site-editing")],description:s(__("You can visit the the <a>Customizer</a> to edit the CSS on your site.","full-site-editing"),{a:(0,i.createElement)(r.Z,{section:"customizer",subsection:"custom_css"})},__("You can visit the the Customizer to edit the CSS on your site.","full-site-editing")),permission:"settings"},{context:"plugin",keywords:["plugin",__("plugin","full-site-editing")],description:s(__("You can visit the <a>plugin directory</a> to get started with installing new plugins.","full-site-editing"),{a:(0,i.createElement)(r.Z,{section:"plugins"})},__("You can visit the plugin directory to get started with installing new plugins.","full-site-editing")),permission:"settings"},{context:"header",keywords:["header",__("header","full-site-editing")],description:s(__("You can visit the the <a>Customizer</a> to edit your logo and site title.","full-site-editing"),{a:(0,i.createElement)(r.Z,{section:"customizer",subsection:"title_tagline"})},__("You can visit the the Customizer to edit your logo and site title.","full-site-editing")),permission:"settings"},{context:"color",keywords:["color",__("color","full-site-editing")],description:s(__("You can visit the the <a>Customizer</a> to edit the colors on your site.","full-site-editing"),{a:(0,i.createElement)(r.Z,{section:"customizer",subsection:"colors"})},__("You can visit the the Customizer to edit the colors on your site.","full-site-editing")),permission:"settings"}];t.Z=c},334:function(e,t,n){n.d(t,{Z:function(){return c}});var i=n(307),o=n(818),r=n(365);const s=(0,r.y)();function c(e){let{section:t,children:n,subsection:c}=e;const{hostname:u}=window.location,l=(0,o.select)("core/editor"),a=l.getCurrentPostId(),d=l.getCurrentPostType(),p=s&&!r.W?"&"+encodeURIComponent(`return=https://wordpress.com/${d}/${u}/${a}`):"",f=`autofocus[section]=${c}`;let m="#";switch(t){case"themes":m=s?`https://wordpress.com/themes/${u}`:"./themes.php";break;case"plugins":m=s||r.W?`https://wordpress.com/plugins/${u}`:"./plugin-install.php";break;case"customizer":m=s&&r.W?`https://wordpress.com/customize/${u}?${f}`:`./customize.php?${f}${p}`}return(0,i.createElement)("a",{href:m,target:"_blank",rel:"noreferrer noopener"},n)}},365:function(e,t,n){n.d(t,{y:function(){return i},W:function(){return o}});const i=()=>{try{return window.self!==window.top}catch(e){return!0}},o=!(!window||!window._currentSiteType||"simple"!==window._currentSiteType)},819:function(e){e.exports=window.lodash},175:function(e){e.exports=window.wp.blockEditor},609:function(e){e.exports=window.wp.components},333:function(e){e.exports=window.wp.compose},818:function(e){e.exports=window.wp.data},307:function(e){e.exports=window.wp.element},736:function(e){e.exports=window.wp.i18n},817:function(e){e.exports=window.wp.plugins}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};!function(){n.r(i);var e=n(307),t=n(175),o=n(817),r=n(819),s=n(298);n(675);const c=void 0!==t.__unstableInserterMenuExtension?t.__unstableInserterMenuExtension:t.__experimentalInserterMenuExtension,u=function(){const[t,n]=(0,e.useState)(""),i=(0,r.debounce)(n,400);return(0,e.createElement)(c,null,(n=>{let{filterValue:o,hasItems:r}=n;return r||!o?null:(t!==o&&i(o),(0,e.createElement)(s.Z,{searchTerm:o}))}))};void 0!==c&&(0,o.registerPlugin)("block-inserter-contextual-tips",{render:()=>(0,e.createElement)(u,null)})}(),window.EditingToolkit=i}();
2
- //# sourceMappingURL=contextual-tips.js.map
1
  !function(){"use strict";var e={675:function(){},298:function(e,t,n){var i=n(307),o=n(609),r=n(333),s=n(818),c=n(819),u=n(36);t.Z=(0,r.compose)((0,s.withSelect)((e=>({canUserCreate:t=>e("core").canUser("create",t)}))))((function(e){let{searchTerm:t,random:n=!1,canUserCreate:r}=e;if(!t)return null;if(!u.Z.length)return null;const s=(0,c.deburr)((0,c.lowerCase)(t)).replace(/^\//,""),l=(0,c.filter)(u.Z,(e=>{let{keywords:t,permission:n}=e;return r(n)&&(0,c.filter)([...new Set(t)],(e=>(0,c.includes)(s,e))).length}));if(!l.length)return null;const a=n?Math.floor(Math.random()*l.length):0;return(0,i.createElement)("div",{className:"contextual-tip"},(0,i.createElement)(o.Tip,null,(0,c.get)(l,[a,"description"])))}))},36:function(e,t,n){var i=n(307),o=n(736),r=n(334);const __=o.__;function s(e,t,n){return void 0!==i.createInterpolateElement?(0,i.createInterpolateElement)(e,t):n}const c=[{context:"theme",keywords:["theme",__("theme","full-site-editing")],description:s(__("You can visit the <a>theme directory</a> to select a different design for your site.","full-site-editing"),{a:(0,i.createElement)(r.Z,{section:"themes"})},__("You can visit the theme directory to select a different design for your site.","full-site-editing")),permission:"settings"},{context:"css",keywords:["css",__("css","full-site-editing"),"style",__("style","full-site-editing")],description:s(__("You can visit the the <a>Customizer</a> to edit the CSS on your site.","full-site-editing"),{a:(0,i.createElement)(r.Z,{section:"customizer",subsection:"custom_css"})},__("You can visit the the Customizer to edit the CSS on your site.","full-site-editing")),permission:"settings"},{context:"plugin",keywords:["plugin",__("plugin","full-site-editing")],description:s(__("You can visit the <a>plugin directory</a> to get started with installing new plugins.","full-site-editing"),{a:(0,i.createElement)(r.Z,{section:"plugins"})},__("You can visit the plugin directory to get started with installing new plugins.","full-site-editing")),permission:"settings"},{context:"header",keywords:["header",__("header","full-site-editing")],description:s(__("You can visit the the <a>Customizer</a> to edit your logo and site title.","full-site-editing"),{a:(0,i.createElement)(r.Z,{section:"customizer",subsection:"title_tagline"})},__("You can visit the the Customizer to edit your logo and site title.","full-site-editing")),permission:"settings"},{context:"color",keywords:["color",__("color","full-site-editing")],description:s(__("You can visit the the <a>Customizer</a> to edit the colors on your site.","full-site-editing"),{a:(0,i.createElement)(r.Z,{section:"customizer",subsection:"colors"})},__("You can visit the the Customizer to edit the colors on your site.","full-site-editing")),permission:"settings"}];t.Z=c},334:function(e,t,n){n.d(t,{Z:function(){return c}});var i=n(307),o=n(818),r=n(365);const s=(0,r.y)();function c(e){let{section:t,children:n,subsection:c}=e;const{hostname:u}=window.location,l=(0,o.select)("core/editor"),a=l.getCurrentPostId(),d=l.getCurrentPostType(),p=s&&!r.W?"&"+encodeURIComponent(`return=https://wordpress.com/${d}/${u}/${a}`):"",f=`autofocus[section]=${c}`;let m="#";switch(t){case"themes":m=s?`https://wordpress.com/themes/${u}`:"./themes.php";break;case"plugins":m=s||r.W?`https://wordpress.com/plugins/${u}`:"./plugin-install.php";break;case"customizer":m=s&&r.W?`https://wordpress.com/customize/${u}?${f}`:`./customize.php?${f}${p}`}return(0,i.createElement)("a",{href:m,target:"_blank",rel:"noreferrer noopener"},n)}},365:function(e,t,n){n.d(t,{y:function(){return i},W:function(){return o}});const i=()=>{try{return window.self!==window.top}catch(e){return!0}},o=!(!window||!window._currentSiteType||"simple"!==window._currentSiteType)},819:function(e){e.exports=window.lodash},175:function(e){e.exports=window.wp.blockEditor},609:function(e){e.exports=window.wp.components},333:function(e){e.exports=window.wp.compose},818:function(e){e.exports=window.wp.data},307:function(e){e.exports=window.wp.element},736:function(e){e.exports=window.wp.i18n},817:function(e){e.exports=window.wp.plugins}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};!function(){n.r(i);var e=n(307),t=n(175),o=n(817),r=n(819),s=n(298);n(675);const c=void 0!==t.__unstableInserterMenuExtension?t.__unstableInserterMenuExtension:t.__experimentalInserterMenuExtension,u=function(){const[t,n]=(0,e.useState)(""),i=(0,r.debounce)(n,400);return(0,e.createElement)(c,null,(n=>{let{filterValue:o,hasItems:r}=n;return r||!o?null:(t!==o&&i(o),(0,e.createElement)(s.Z,{searchTerm:o}))}))};void 0!==c&&(0,o.registerPlugin)("block-inserter-contextual-tips",{render:()=>(0,e.createElement)(u,null)})}(),window.EditingToolkit=i}();
2
+ //# sourceMappingURL=contextual-tips.min.js.map
block-inserter-modifications/dist/contextual-tips.min.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"file":"contextual-tips.min.js","mappings":"8HAsCA,KAAeA,EAAAA,EAAAA,UACdC,EAAAA,EAAAA,aAAcC,IACN,CACNC,cAAiBC,GAAUF,EAAQ,QAASG,QAAS,SAAUD,OAHlE,EAhCA,YAAwE,IAAhD,WAAEE,EAAF,OAAcC,GAAS,EAAvB,cAA8BJ,GAAkB,EACvE,IAAOG,EACN,OAAO,KAGR,IAAOE,EAAAA,EAAAA,OACN,OAAO,KAGR,MAAMC,GAAuBC,EAAAA,EAAAA,SAAQC,EAAAA,EAAAA,WAAWL,IAAeM,QAAS,MAAO,IAEzEC,GAAYC,EAAAA,EAAAA,QACjBN,EAAAA,GACA,QAAE,SAAEO,EAAF,WAAYC,GAAd,SACCb,EAAea,KACfF,EAAAA,EAAAA,QAAQ,IAAK,IAAIG,IAAKF,KAAgBG,IAAaC,EAAAA,EAAAA,UAAUV,EAAsBS,KACjFE,UAGJ,IAAOP,EAAUO,OAChB,OAAO,KAGR,MAAMC,EAAQd,EAASe,KAAKC,MAAOD,KAAKf,SAAWM,EAAUO,QAAW,EAExE,OACC,0B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GAG/CH,EAAOC,QCpBfE,EAAoBK,EAAI,SAASR,GAChC,IAAIS,EAAST,GAAUA,EAAOU,WAC7B,WAAa,OAAOV,EAAgB,SACpC,WAAa,OAAOA,GAErB,OADAG,EAAoBQ,EAAEF,EAAQ,CAAElC,EAAGkC,IAC5BA,GCLRN,EAAoBQ,EAAI,SAASV,EAASW,GACzC,IAAI,IAAIC,KAAOD,EACXT,EAAoBW,EAAEF,EAAYC,KAASV,EAAoBW,EAAEb,EAASY,IAC5EE,OAAOC,eAAef,EAASY,EAAK,CAAEI,YAAY,EAAMpD,IAAK+C,EAAWC,MCJ3EV,EAAoBW,EAAI,SAASI,EAAKC,GAAQ,OAAOJ,OAAOK,UAAUC,eAAeC,KAAKJ,EAAKC,ICC/FhB,EAAoBoB,EAAI,SAAStB,GACX,oBAAXuB,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAef,EAASuB,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAef,EAAS,aAAc,CAAEyB,OAAO,K,oFCQvD,MAAMC,OACsC,IAApCC,EAAAA,gCACJA,EAAAA,gCACAC,EAAAA,oCAEEC,EAAiB,WACtB,MAAQC,EAAsBC,IAAmBC,EAAAA,EAAAA,UAAU,IAErDC,GAA0BC,EAAAA,EAAAA,UAAUH,EAAgB,KAE1D,OACC,mBAACL,EAAD,MACG,IAAiC,IAA/B,YAAES,EAAF,SAAeC,GAAgB,EAClC,OAAKA,IAAcD,EACX,MAGHL,IAAyBK,GAC7BF,EAAyBE,IAGnB,mBAAC,IAAD,CAAe3F,WAAa2F,cAOD,IAA1BT,IACXW,EAAAA,EAAAA,gBAAgB,iCAAkC,CACjDC,OAAM,KACE,mBAACT,EAAD,Q","sources":["webpack://EditingToolkit/./editing-toolkit-plugin/block-inserter-modifications/contextual-tips/contextual-tip.js","webpack://EditingToolkit/./editing-toolkit-plugin/block-inserter-modifications/contextual-tips/list.js","webpack://EditingToolkit/./editing-toolkit-plugin/block-inserter-modifications/contextual-tips/tip-link.js","webpack://EditingToolkit/./editing-toolkit-plugin/block-inserter-modifications/contextual-tips/utils.js","webpack://EditingToolkit/external window \"lodash\"","webpack://EditingToolkit/external window [\"wp\",\"blockEditor\"]","webpack://EditingToolkit/external window [\"wp\",\"components\"]","webpack://EditingToolkit/external window [\"wp\",\"compose\"]","webpack://EditingToolkit/external window [\"wp\",\"data\"]","webpack://EditingToolkit/external window [\"wp\",\"element\"]","webpack://EditingToolkit/external window [\"wp\",\"i18n\"]","webpack://EditingToolkit/external window [\"wp\",\"plugins\"]","webpack://EditingToolkit/webpack/bootstrap","webpack://EditingToolkit/webpack/runtime/compat get default export","webpack://EditingToolkit/webpack/runtime/define property getters","webpack://EditingToolkit/webpack/runtime/hasOwnProperty shorthand","webpack://EditingToolkit/webpack/runtime/make namespace object","webpack://EditingToolkit/./editing-toolkit-plugin/block-inserter-modifications/contextual-tips.js"],"sourcesContent":["import { Tip } from '@wordpress/components';\nimport { compose } from '@wordpress/compose';\nimport { withSelect } from '@wordpress/data';\nimport { get, filter, deburr, lowerCase, includes } from 'lodash';\nimport tipsList from './list';\n\nfunction ContextualTip( { searchTerm, random = false, canUserCreate } ) {\n\tif ( ! searchTerm ) {\n\t\treturn null;\n\t}\n\n\tif ( ! tipsList.length ) {\n\t\treturn null;\n\t}\n\n\tconst normalizedSearchTerm = deburr( lowerCase( searchTerm ) ).replace( /^\\//, '' );\n\n\tconst foundTips = filter(\n\t\ttipsList,\n\t\t( { keywords, permission } ) =>\n\t\t\tcanUserCreate( permission ) &&\n\t\t\tfilter( [ ...new Set( keywords ) ], ( keyword ) => includes( normalizedSearchTerm, keyword ) )\n\t\t\t\t.length\n\t);\n\n\tif ( ! foundTips.length ) {\n\t\treturn null;\n\t}\n\n\tconst index = random ? Math.floor( Math.random() * foundTips.length ) : 0;\n\n\treturn (\n\t\t<div className=\"contextual-tip\">\n\t\t\t<Tip>{ get( foundTips, [ index, 'description' ] ) }</Tip>\n\t\t</div>\n\t);\n}\n\nexport default compose(\n\twithSelect( ( select ) => {\n\t\treturn {\n\t\t\tcanUserCreate: ( type ) => select( 'core' ).canUser( 'create', type ),\n\t\t};\n\t} )\n)( ContextualTip );\n","import { createInterpolateElement } from '@wordpress/element';\nimport { __ } from '@wordpress/i18n';\nimport TipLink from './tip-link';\n\nfunction getTipDescription( text, conversion, textFallback ) {\n\tif ( typeof createInterpolateElement !== 'undefined' ) {\n\t\treturn createInterpolateElement( text, conversion );\n\t}\n\n\treturn textFallback;\n}\n\nconst tips = [\n\t{\n\t\tcontext: 'theme',\n\t\tkeywords: [ 'theme', __( 'theme', 'full-site-editing' ) ],\n\t\tdescription: getTipDescription(\n\t\t\t__(\n\t\t\t\t'You can visit the <a>theme directory</a> to select a different design for your site.',\n\t\t\t\t'full-site-editing'\n\t\t\t),\n\t\t\t{\n\t\t\t\ta: <TipLink section=\"themes\" />,\n\t\t\t},\n\t\t\t__(\n\t\t\t\t'You can visit the theme directory to select a different design for your site.',\n\t\t\t\t'full-site-editing'\n\t\t\t)\n\t\t),\n\t\tpermission: 'settings',\n\t},\n\t{\n\t\tcontext: 'css',\n\t\tkeywords: [\n\t\t\t'css',\n\t\t\t__( 'css', 'full-site-editing' ),\n\t\t\t'style',\n\t\t\t__( 'style', 'full-site-editing' ),\n\t\t],\n\t\tdescription: getTipDescription(\n\t\t\t__(\n\t\t\t\t'You can visit the the <a>Customizer</a> to edit the CSS on your site.',\n\t\t\t\t'full-site-editing'\n\t\t\t),\n\t\t\t{\n\t\t\t\ta: <TipLink section=\"customizer\" subsection=\"custom_css\" />,\n\t\t\t},\n\t\t\t__( 'You can visit the the Customizer to edit the CSS on your site.', 'full-site-editing' )\n\t\t),\n\t\tpermission: 'settings',\n\t},\n\t{\n\t\tcontext: 'plugin',\n\t\tkeywords: [ 'plugin', __( 'plugin', 'full-site-editing' ) ],\n\t\tdescription: getTipDescription(\n\t\t\t__(\n\t\t\t\t'You can visit the <a>plugin directory</a> to get started with installing new plugins.',\n\t\t\t\t'full-site-editing'\n\t\t\t),\n\t\t\t{\n\t\t\t\ta: <TipLink section=\"plugins\" />,\n\t\t\t},\n\t\t\t__(\n\t\t\t\t'You can visit the plugin directory to get started with installing new plugins.',\n\t\t\t\t'full-site-editing'\n\t\t\t)\n\t\t),\n\t\tpermission: 'settings',\n\t},\n\t{\n\t\tcontext: 'header',\n\t\tkeywords: [ 'header', __( 'header', 'full-site-editing' ) ],\n\t\tdescription: getTipDescription(\n\t\t\t__(\n\t\t\t\t'You can visit the the <a>Customizer</a> to edit your logo and site title.',\n\t\t\t\t'full-site-editing'\n\t\t\t),\n\t\t\t{\n\t\t\t\ta: <TipLink section=\"customizer\" subsection=\"title_tagline\" />,\n\t\t\t},\n\t\t\t__(\n\t\t\t\t'You can visit the the Customizer to edit your logo and site title.',\n\t\t\t\t'full-site-editing'\n\t\t\t)\n\t\t),\n\t\tpermission: 'settings',\n\t},\n\t{\n\t\tcontext: 'color',\n\t\tkeywords: [ 'color', __( 'color', 'full-site-editing' ) ],\n\t\tdescription: getTipDescription(\n\t\t\t__(\n\t\t\t\t'You can visit the the <a>Customizer</a> to edit the colors on your site.',\n\t\t\t\t'full-site-editing'\n\t\t\t),\n\t\t\t{\n\t\t\t\ta: <TipLink section=\"customizer\" subsection=\"colors\" />,\n\t\t\t},\n\t\t\t__( 'You can visit the the Customizer to edit the colors on your site.', 'full-site-editing' )\n\t\t),\n\t\tpermission: 'settings',\n\t},\n];\n\nexport default tips;\n","import { select } from '@wordpress/data';\nimport { inIframe, isSimpleSite } from './utils';\n\nconst isEditorIFramed = inIframe();\n\nexport default function ( { section, children, subsection } ) {\n\tconst { hostname } = window.location;\n\tconst editorSelector = select( 'core/editor' );\n\tconst postId = editorSelector.getCurrentPostId();\n\tconst postType = editorSelector.getCurrentPostType();\n\tconst returnLink =\n\t\tisEditorIFramed && ! isSimpleSite\n\t\t\t? '&' +\n\t\t\t encodeURIComponent( `return=https://wordpress.com/${ postType }/${ hostname }/${ postId }` )\n\t\t\t: '';\n\tconst autofocus = `autofocus[section]=${ subsection }`;\n\n\tlet href = '#';\n\n\tswitch ( section ) {\n\t\tcase 'themes':\n\t\t\thref = isEditorIFramed ? `https://wordpress.com/themes/${ hostname }` : './themes.php';\n\t\t\tbreak;\n\n\t\tcase 'plugins':\n\t\t\thref =\n\t\t\t\tisEditorIFramed || isSimpleSite\n\t\t\t\t\t? `https://wordpress.com/plugins/${ hostname }`\n\t\t\t\t\t: './plugin-install.php';\n\t\t\tbreak;\n\n\t\tcase 'customizer':\n\t\t\thref =\n\t\t\t\tisEditorIFramed && isSimpleSite\n\t\t\t\t\t? `https://wordpress.com/customize/${ hostname }?${ autofocus }`\n\t\t\t\t\t: `./customize.php?${ autofocus }${ returnLink }`;\n\t\t\tbreak;\n\t}\n\n\treturn (\n\t\t<a href={ href } target=\"_blank\" rel=\"noreferrer noopener\">\n\t\t\t{ children }\n\t\t</a>\n\t);\n}\n","/**\n * Detect if the editor is already iFramed.\n *\n * @returns {boolean} `True` is the editor is iFramed. Otherwise, `False`.\n */\nexport const inIframe = () => {\n\ttry {\n\t\treturn window.self !== window.top;\n\t} catch ( e ) {\n\t\treturn true;\n\t}\n};\n\nexport const isSimpleSite = !! (\n\twindow &&\n\twindow._currentSiteType &&\n\twindow._currentSiteType === 'simple'\n);\n","module.exports = window[\"lodash\"];","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"compose\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"plugins\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import {\n\t__unstableInserterMenuExtension,\n\t__experimentalInserterMenuExtension,\n} from '@wordpress/block-editor';\nimport { useState } from '@wordpress/element';\nimport { registerPlugin } from '@wordpress/plugins';\nimport { debounce } from 'lodash';\nimport ContextualTip from './contextual-tips/contextual-tip';\n\nimport './contextual-tips/style.scss';\n\n// InserterMenuExtension has been made unstable in this PR: https://github.com/WordPress/gutenberg/pull/31417 / Gutenberg v10.7.0-rc.1.\n// We need to support both symbols until we're sure Gutenberg < v10.7.x is not used anymore in WPCOM.\nconst InserterMenuExtension =\n\ttypeof __unstableInserterMenuExtension !== 'undefined'\n\t\t? __unstableInserterMenuExtension\n\t\t: __experimentalInserterMenuExtension;\n\nconst ContextualTips = function () {\n\tconst [ debouncedFilterValue, setFilterValue ] = useState( '' );\n\n\tconst debouncedSetFilterValue = debounce( setFilterValue, 400 );\n\n\treturn (\n\t\t<InserterMenuExtension>\n\t\t\t{ ( { filterValue, hasItems } ) => {\n\t\t\t\tif ( hasItems || ! filterValue ) {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\tif ( debouncedFilterValue !== filterValue ) {\n\t\t\t\t\tdebouncedSetFilterValue( filterValue );\n\t\t\t\t}\n\n\t\t\t\treturn <ContextualTip searchTerm={ filterValue } />;\n\t\t\t} }\n\t\t</InserterMenuExtension>\n\t);\n};\n\n// Check if the experimental slot is available before to register plugin.\nif ( typeof InserterMenuExtension !== 'undefined' ) {\n\tregisterPlugin( 'block-inserter-contextual-tips', {\n\t\trender() {\n\t\t\treturn <ContextualTips />;\n\t\t},\n\t} );\n}\n"],"names":["compose","withSelect","select","canUserCreate","type","canUser","searchTerm","random","tipsList","normalizedSearchTerm","deburr","lowerCase","replace","foundTips","filter","keywords","permission","Set","keyword","includes","length","index","Math","floor","className","Tip","get","getTipDescription","text","conversion","textFallback","createInterpolateElement","tips","context","__","description","a","section","subsection","isEditorIFramed","inIframe","children","hostname","window","location","editorSelector","postId","getCurrentPostId","postType","getCurrentPostType","returnLink","isSimpleSite","encodeURIComponent","autofocus","href","target","rel","self","top","e","_currentSiteType","module","exports","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","definition","key","o","Object","defineProperty","enumerable","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","InserterMenuExtension","__unstableInserterMenuExtension","__experimentalInserterMenuExtension","ContextualTips","debouncedFilterValue","setFilterValue","useState","debouncedSetFilterValue","debounce","filterValue","hasItems","registerPlugin","render"],"sourceRoot":""}
block-inserter-modifications/index.php CHANGED
@@ -32,7 +32,7 @@ function enqueue_script( $filename, $in_footer = false ) {
32
 
33
  wp_enqueue_script(
34
  $filename,
35
- plugins_url( 'dist/' . $filename . '.js', __FILE__ ),
36
  $asset['dependencies'],
37
  $asset['version'],
38
  $in_footer
32
 
33
  wp_enqueue_script(
34
  $filename,
35
+ plugins_url( 'dist/' . $filename . '.min.js', __FILE__ ),
36
  $asset['dependencies'],
37
  $asset['version'],
38
  $in_footer
build_meta.txt CHANGED
@@ -1,3 +1,3 @@
1
- commit_hash=307ba5f5a37e8b03527909cd200337371d191394
2
- commit_url=https://github.com/Automattic/wp-calypso/commit/307ba5f5a37e8b03527909cd200337371d191394
3
- build_number=3.32212
1
+ commit_hash=35cbc75782efe91be87522a9bd07fe749abd8bee
2
+ commit_url=https://github.com/Automattic/wp-calypso/commit/35cbc75782efe91be87522a9bd07fe749abd8bee
3
+ build_number=3.32283
common/dist/common.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.js","mappings":"mDACIA,EAA2B,GAG/B,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,IAOV,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,QCpBfJ,EAAoBO,EAAI,SAASH,GACX,oBAAXI,QAA0BA,OAAOC,aAC1CC,OAAOC,eAAeP,EAASI,OAAOC,YAAa,CAAEG,MAAO,WAE7DF,OAAOC,eAAeP,EAAS,aAAc,CAAEQ,OAAO,K","sources":["webpack://EditingToolkit/webpack/bootstrap","webpack://EditingToolkit/webpack/runtime/make namespace object"],"sourcesContent":["// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","r","Symbol","toStringTag","Object","defineProperty","value"],"sourceRoot":""}
 
common/dist/{common.js → common.min.js} RENAMED
@@ -1,2 +1,2 @@
1
  !function(){"use strict";var t={9675:function(){}},e={};function o(r){var n=e[r];if(void 0!==n)return n.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,o),i.exports}o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};!function(){o.r(r);o(9675)}(),window.EditingToolkit=r}();
2
- //# sourceMappingURL=common.js.map
1
  !function(){"use strict";var t={9675:function(){}},e={};function o(r){var n=e[r];if(void 0!==n)return n.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,o),i.exports}o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};!function(){o.r(r);o(9675)}(),window.EditingToolkit=r}();
2
+ //# sourceMappingURL=common.min.js.map
common/dist/common.min.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"file":"common.min.js","mappings":"mDACIA,EAA2B,GAG/B,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,IAOV,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,QCpBfJ,EAAoBO,EAAI,SAASH,GACX,oBAAXI,QAA0BA,OAAOC,aAC1CC,OAAOC,eAAeP,EAASI,OAAOC,YAAa,CAAEG,MAAO,WAE7DF,OAAOC,eAAeP,EAAS,aAAc,CAAEQ,OAAO,K","sources":["webpack://EditingToolkit/webpack/bootstrap","webpack://EditingToolkit/webpack/runtime/make namespace object"],"sourcesContent":["// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","r","Symbol","toStringTag","Object","defineProperty","value"],"sourceRoot":""}
common/dist/data-stores.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('react', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-polyfill'), 'version' => '49ca84e67936c06045aae8e11e050e5c');
1
+ <?php return array('dependencies' => array('react', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-polyfill'), 'version' => '35dfcdde163201307a09bf98afd83818');
common/dist/data-stores.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"data-stores.js","mappings":"4GAsBe,SAASA,EAASC,GAChC,IAAIC,GAAQ,OAASD,GAErB,OAAO,SAAUE,GAChB,OAAO,OAAUD,EAAOC,M,iECrB1B,IAAIC,EA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kit/../../node_modules/@tannin/compile/index.js","webpack://EditingToolkit/../../node_modules/@tannin/evaluate/index.js","webpack://EditingToolkit/../../node_modules/@tannin/plural-forms/index.js","webpack://EditingToolkit/../../node_modules/@tannin/postfix/index.js","webpack://EditingToolkit/../../node_modules/@tannin/sprintf/index.js","webpack://EditingToolkit/../../node_modules/builtin-status-codes/browser.js","webpack://EditingToolkit/../../node_modules/call-bind/callBound.js","webpack://EditingToolkit/../../node_modules/call-bind/index.js","webpack://EditingToolkit/../../node_modules/debug/node_modules/ms/index.js","webpack://EditingToolkit/../../node_modules/events/events.js","webpack://EditingToolkit/../../node_modules/fast-json-stable-stringify/index.js","webpack://EditingToolkit/../../node_modules/function-bind/implementation.js","webpack://EditingToolkit/../../node_modules/function-bind/index.js","webpack://EditingToolkit/../../node_modules/get-intrinsic/index.js","webpack://EditingToolkit/../../node_modules/has-symbols/index.js","webpack://EditingToolkit/../../node_modules/has-symbols/shams.js","webpack://EditingToolkit/../../node_modules/has/src/index.js","webpack://EditingToolkit/../../node_modules/hash.js/lib/hash/common.js","webpack://EditingToolkit/../../node_modules/hash.js/lib/hash/sha/1.js","webpack://EditingToolkit/../../node_modules/hash.js/lib/hash/sha/common.js","webpack://EditingToolkit/../../node_modules/hash.js/lib/hash/utils.js","webpack://EditingToolkit/../../node_modules/inherits/inherits_browser.js","webpack://EditingToolkit/../../node_modules/lru/index.js","webpack://EditingToolkit/../../node_modules/minimalistic-assert/index.js","webpack://EditingToolkit/../../node_modules/object-inspect/index.js","webpack://EditingToolkit/../../node_modules/progress-event/index.js","webpack://EditingToolkit/../../node_modules/qs/lib/formats.js","webpack://EditingToolkit/../../node_modules/qs/lib/index.js","webpack://EditingToolkit/../../node_modules/qs/lib/parse.js","webpack://EditingToolkit/../../node_modules/qs/lib/stringify.js","webpack://EditingToolkit/../../node_modules/qs/lib/utils.js","webpack://EditingToolkit/../../node_modules/side-channel/index.js","webpack://EditingToolkit/../../node_modules/tannin/index.js","webpack://EditingToolkit/./editing-toolkit-plugin/common/data-stores/domain-suggestions.ts","webpack://EditingToolkit/./editing-toolkit-plugin/common/data-stores/launch.ts","webpack://EditingToolkit/./editing-toolkit-plugin/common/data-stores/plans.ts","webpack://EditingToolkit/./editing-toolkit-plugin/common/data-stores/site.ts","webpack://EditingToolkit/./editing-toolkit-plugin/common/data-stores/wpcom-features.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/actions.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/constants.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/reducer.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/resolvers.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/selectors.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/utils.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/actions.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/constants.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/data.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/persist.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/reducer.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/selectors.ts","webpack://EditingToolkit/../../packages/data-stores/src/persistence-config-factory/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/actions.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/constants.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/reducer.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/resolvers.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/selectors.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/actions.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/constants.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/reducer.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/resolvers.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/selectors.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/types.ts","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-features/constants.tsx","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-features/features-data.tsx","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-features/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-features/reducer.ts","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-features/selectors.ts","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-request-controls/index.ts","webpack://EditingToolkit/../../packages/format-currency/src/currencies.ts","webpack://EditingToolkit/../../packages/format-currency/src/index.ts","webpack://EditingToolkit/../../packages/format-currency/src/number-format.ts","webpack://EditingToolkit/../../packages/i18n-calypso/src/default-i18n.js","webpack://EditingToolkit/../../packages/i18n-calypso/src/i18n.js","webpack://EditingToolkit/../../packages/i18n-calypso/src/index.js","webpack://EditingToolkit/../../packages/i18n-calypso/src/number-format.js","webpack://EditingToolkit/../../packages/interpolate-components/src/index.js","webpack://EditingToolkit/../../packages/interpolate-components/src/tokenize.js","webpack://EditingToolkit/../../packages/wpcom-proxy-request/src/index.js","webpack://EditingToolkit/../../node_modules/debug/src/browser.js","webpack://EditingToolkit/../../node_modules/debug/src/common.js","webpack://EditingToolkit/../../node_modules/uppercamelcase/index.js","webpack://EditingToolkit/../../node_modules/uppercamelcase/node_modules/camelcase/index.js","webpack://EditingToolkit/../../node_modules/uuid/dist/esm-browser/regex.js","webpack://EditingToolkit/../../node_modules/uuid/dist/esm-browser/rng.js","webpack://EditingToolkit/../../node_modules/uuid/dist/esm-browser/stringify.js","webpack://EditingToolkit/../../node_modules/uuid/dist/esm-browser/v4.js","webpack://EditingToolkit/../../node_modules/uuid/dist/esm-browser/validate.js","webpack://EditingToolkit/../../node_modules/validator/index.js","webpack://EditingToolkit/../../node_modules/validator/lib/alpha.js","webpack://EditingToolkit/../../node_modules/validator/lib/blacklist.js","webpack://EditingToolkit/../../node_modules/validator/lib/contains.js","webpack://EditingToolkit/../../node_modules/validator/lib/equals.js","webpack://EditingToolkit/../../node_modules/validator/lib/escape.js","webpack://EditingToolkit/../../node_modules/validator/lib/isAfter.js","webpack://EditingToolkit/../../node_modules/validator/lib/isAlpha.js","webpack://EditingToolkit/../../node_modules/validator/lib/isAlphanumeric.js","webpack://EditingToolkit/../../node_modules/validator/lib/isAscii.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBIC.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBase32.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBase58.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBase64.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBefore.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBoolean.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBtcAddress.js","webpack://EditingToolkit/../../node_modules/validator/lib/isByteLength.js","webpack://EditingToolkit/../../node_modules/validator/lib/isCreditCard.js","webpack://EditingToolkit/../../node_modules/validator/lib/isCurrency.js","webpack://EditingToolkit/../../node_modules/validator/lib/isDataURI.js","webpack://EditingToolkit/../../node_modules/validator/lib/isDate.js","webpack://EditingToolkit/../../node_modules/validator/lib/isDecimal.js","webpack://EditingToolkit/../../node_modules/validator/lib/isDivisibleBy.js","webpack://EditingToolkit/../../node_modules/validator/lib/isEAN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isEmail.js","webpack://EditingToolkit/../../node_modules/validator/lib/isEmpty.js","webpack://EditingToolkit/../../node_modules/validator/lib/isEthereumAddress.js","webpack://EditingToolkit/../../node_modules/validator/lib/isFQDN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isFloat.js","webpack://EditingToolkit/../../node_modules/validator/lib/isFullWidth.js","webpack://EditingToolkit/../../node_modules/validator/lib/isHSL.js","webpack://EditingToolkit/../../node_modules/validator/lib/isHalfWidth.js","webpack://EditingToolkit/../../node_modules/validator/lib/isHash.js","webpack://EditingToolkit/../../node_modules/validator/lib/isHexColor.js","webpack://EditingToolkit/../../node_modules/validator/lib/isHexadecimal.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIBAN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIMEI.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIP.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIPRange.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISBN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISIN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISO31661Alpha2.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISO31661Alpha3.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISO8601.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISRC.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISSN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIdentityCard.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIn.js","webpack://EditingToolkit/../../node_modules/validator/lib/isInt.js","webpack://EditingToolkit/../../node_modules/validator/lib/isJSON.js","webpack://EditingToolkit/../../node_modules/validator/lib/isJWT.js","webpack://EditingToolkit/../../node_modules/validator/lib/isLatLong.js","webpack://EditingToolkit/../../node_modules/validator/lib/isLength.js","webpack://EditingToolkit/../../node_modules/validator/lib/isLocale.js","webpack://EditingToolkit/../../node_modules/validator/lib/isLowercase.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMACAddress.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMD5.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMagnetURI.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMimeType.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMobilePhone.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMongoId.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMultibyte.js","webpack://EditingToolkit/../../node_modules/validator/lib/isNumeric.js","webpack://EditingToolkit/../../node_modules/validator/lib/isOctal.js","webpack://EditingToolkit/../../node_modules/validator/lib/isPassportNumber.js","webpack://EditingToolkit/../../node_modules/validator/lib/isPort.js","webpack://EditingToolkit/../../node_modules/validator/lib/isPostalCode.js","webpack://EditingToolkit/../../node_modules/validator/lib/isRFC3339.js","webpack://EditingToolkit/../../node_modules/validator/lib/isRgbColor.js","webpack://EditingToolkit/../../node_modules/validator/lib/isSemVer.js","webpack://EditingToolkit/../../node_modules/validator/lib/isSlug.js","webpack://EditingToolkit/../../node_modules/validator/lib/isStrongPassword.js","webpack://EditingToolkit/../../node_modules/validator/lib/isSurrogatePair.js","webpack://EditingToolkit/../../node_modules/validator/lib/isTaxID.js","webpack://EditingToolkit/../../node_modules/validator/lib/isURL.js","webpack://EditingToolkit/../../node_modules/validator/lib/isUUID.js","webpack://EditingToolkit/../../node_modules/validator/lib/isUppercase.js","webpack://EditingToolkit/../../node_modules/validator/lib/isVAT.js","webpack://EditingToolkit/../../node_modules/validator/lib/isVariableWidth.js","webpack://EditingToolkit/../../node_modules/validator/lib/isWhitelisted.js","webpack://EditingToolkit/../../node_modules/validator/lib/ltrim.js","webpack://EditingToolkit/../../node_modules/validator/lib/matches.js","webpack://EditingToolkit/../../node_modules/validator/lib/normalizeEmail.js","webpack://EditingToolkit/../../node_modules/validator/lib/rtrim.js","webpack://EditingToolkit/../../node_modules/validator/lib/stripLow.js","webpack://EditingToolkit/../../node_modules/validator/lib/toBoolean.js","webpack://EditingToolkit/../../node_modules/validator/lib/toDate.js","webpack://EditingToolkit/../../node_modules/validator/lib/toFloat.js","webpack://EditingToolkit/../../node_modules/validator/lib/toInt.js","webpack://EditingToolkit/../../node_modules/validator/lib/trim.js","webpack://EditingToolkit/../../node_modules/validator/lib/unescape.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/algorithms.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/assertString.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/includes.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/merge.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/multilineRegex.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/toString.js","webpack://EditingToolkit/../../node_modules/validator/lib/whitelist.js","webpack://EditingToolkit/../../node_modules/wp-error/index.js","webpack://EditingToolkit/external window \"React\"","webpack://EditingToolkit/external window [\"wp\",\"data\"]","webpack://EditingToolkit/external window [\"wp\",\"dataControls\"]","webpack://EditingToolkit/external window [\"wp\",\"deprecated\"]","webpack://EditingToolkit/webpack/bootstrap","webpack://EditingToolkit/webpack/runtime/compat get default export","webpack://EditingToolkit/webpack/runtime/define property getters","webpack://EditingToolkit/webpack/runtime/hasOwnProperty shorthand","webpack://EditingToolkit/webpack/runtime/make namespace object"],"sourcesContent":["import postfix from '@tannin/postfix';\nimport evaluate from '@tannin/evaluate';\n\n/**\n * Given a C expression, returns a function which can be called to evaluate its\n * result.\n *\n * @example\n *\n * ```js\n * import compile from '@tannin/compile';\n *\n * const evaluate = compile( 'n > 1' );\n *\n * evaluate( { n: 2 } );\n * // ⇒ true\n * ```\n *\n * @param {string} expression C expression.\n *\n * @return {(variables?:{[variable:string]:*})=>*} Compiled evaluator.\n */\nexport default function compile( expression ) {\n\tvar terms = postfix( expression );\n\n\treturn function( variables ) {\n\t\treturn evaluate( terms, variables );\n\t};\n}\n","/**\n * Operator callback functions.\n *\n * @type {Object}\n */\nvar OPERATORS = {\n\t'!': function( a ) {\n\t\treturn ! a;\n\t},\n\t'*': function( a, b ) {\n\t\treturn a * b;\n\t},\n\t'/': function( a, b ) {\n\t\treturn a / b;\n\t},\n\t'%': function( a, b ) {\n\t\treturn a % b;\n\t},\n\t'+': function( a, b ) {\n\t\treturn a + b;\n\t},\n\t'-': function( a, b ) {\n\t\treturn a - b;\n\t},\n\t'<': function( a, b ) {\n\t\treturn a < b;\n\t},\n\t'<=': function( a, b ) {\n\t\treturn a <= b;\n\t},\n\t'>': function( a, b ) {\n\t\treturn a > b;\n\t},\n\t'>=': function( a, b ) {\n\t\treturn a >= b;\n\t},\n\t'==': function( a, b ) {\n\t\treturn a === b;\n\t},\n\t'!=': function( a, b ) {\n\t\treturn a !== b;\n\t},\n\t'&&': function( a, b ) {\n\t\treturn a && b;\n\t},\n\t'||': function( a, b ) {\n\t\treturn a || b;\n\t},\n\t'?:': function( a, b, c ) {\n\t\tif ( a ) {\n\t\t\tthrow b;\n\t\t}\n\n\t\treturn c;\n\t},\n};\n\n/**\n * Given an array of postfix terms and operand variables, returns the result of\n * the postfix evaluation.\n *\n * @example\n *\n * ```js\n * import evaluate from '@tannin/evaluate';\n *\n * // 3 + 4 * 5 / 6 ⇒ '3 4 5 * 6 / +'\n * const terms = [ '3', '4', '5', '*', '6', '/', '+' ];\n *\n * evaluate( terms, {} );\n * // ⇒ 6.333333333333334\n * ```\n *\n * @param {string[]} postfix Postfix terms.\n * @param {Object} variables Operand variables.\n *\n * @return {*} Result of evaluation.\n */\nexport default function evaluate( postfix, variables ) {\n\tvar stack = [],\n\t\ti, j, args, getOperatorResult, term, value;\n\n\tfor ( i = 0; i < postfix.length; i++ ) {\n\t\tterm = postfix[ i ];\n\n\t\tgetOperatorResult = OPERATORS[ term ];\n\t\tif ( getOperatorResult ) {\n\t\t\t// Pop from stack by number of function arguments.\n\t\t\tj = getOperatorResult.length;\n\t\t\targs = Array( j );\n\t\t\twhile ( j-- ) {\n\t\t\t\targs[ j ] = stack.pop();\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tvalue = getOperatorResult.apply( null, args );\n\t\t\t} catch ( earlyReturn ) {\n\t\t\t\treturn earlyReturn;\n\t\t\t}\n\t\t} else if ( variables.hasOwnProperty( term ) ) {\n\t\t\tvalue = variables[ term ];\n\t\t} else {\n\t\t\tvalue = +term;\n\t\t}\n\n\t\tstack.push( value );\n\t}\n\n\treturn stack[ 0 ];\n}\n","import compile from '@tannin/compile';\n\n/**\n * Given a C expression, returns a function which, when called with a value,\n * evaluates the result with the value assumed to be the \"n\" variable of the\n * expression. The result will be coerced to its numeric equivalent.\n *\n * @param {string} expression C expression.\n *\n * @return {Function} Evaluator function.\n */\nexport default function pluralForms( expression ) {\n\tvar evaluate = compile( expression );\n\n\treturn function( n ) {\n\t\treturn +evaluate( { n: n } );\n\t};\n}\n","var PRECEDENCE, OPENERS, TERMINATORS, PATTERN;\n\n/**\n * Operator precedence mapping.\n *\n * @type {Object}\n */\nPRECEDENCE = {\n\t'(': 9,\n\t'!': 8,\n\t'*': 7,\n\t'/': 7,\n\t'%': 7,\n\t'+': 6,\n\t'-': 6,\n\t'<': 5,\n\t'<=': 5,\n\t'>': 5,\n\t'>=': 5,\n\t'==': 4,\n\t'!=': 4,\n\t'&&': 3,\n\t'||': 2,\n\t'?': 1,\n\t'?:': 1,\n};\n\n/**\n * Characters which signal pair opening, to be terminated by terminators.\n *\n * @type {string[]}\n */\nOPENERS = [ '(', '?' ];\n\n/**\n * Characters which signal pair termination, the value an array with the\n * opener as its first member. The second member is an optional operator\n * replacement to push to the stack.\n *\n * @type {string[]}\n */\nTERMINATORS = {\n\t')': [ '(' ],\n\t':': [ '?', '?:' ],\n};\n\n/**\n * Pattern matching operators and openers.\n *\n * @type {RegExp}\n */\nPATTERN = /<=|>=|==|!=|&&|\\|\\||\\?:|\\(|!|\\*|\\/|%|\\+|-|<|>|\\?|\\)|:/;\n\n/**\n * Given a C expression, returns the equivalent postfix (Reverse Polish)\n * notation terms as an array.\n *\n * If a postfix string is desired, simply `.join( ' ' )` the result.\n *\n * @example\n *\n * ```js\n * import postfix from '@tannin/postfix';\n *\n * postfix( 'n > 1' );\n * // ⇒ [ 'n', '1', '>' ]\n * ```\n *\n * @param {string} expression C expression.\n *\n * @return {string[]} Postfix terms.\n */\nexport default function postfix( expression ) {\n\tvar terms = [],\n\t\tstack = [],\n\t\tmatch, operator, term, element;\n\n\twhile ( ( match = expression.match( PATTERN ) ) ) {\n\t\toperator = match[ 0 ];\n\n\t\t// Term is the string preceding the operator match. It may contain\n\t\t// whitespace, and may be empty (if operator is at beginning).\n\t\tterm = expression.substr( 0, match.index ).trim();\n\t\tif ( term ) {\n\t\t\tterms.push( term );\n\t\t}\n\n\t\twhile ( ( element = stack.pop() ) ) {\n\t\t\tif ( TERMINATORS[ operator ] ) {\n\t\t\t\tif ( TERMINATORS[ operator ][ 0 ] === element ) {\n\t\t\t\t\t// Substitution works here under assumption that because\n\t\t\t\t\t// the assigned operator will no longer be a terminator, it\n\t\t\t\t\t// will be pushed to the stack during the condition below.\n\t\t\t\t\toperator = TERMINATORS[ operator ][ 1 ] || operator;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} else if ( OPENERS.indexOf( element ) >= 0 || PRECEDENCE[ element ] < PRECEDENCE[ operator ] ) {\n\t\t\t\t// Push to stack if either an opener or when pop reveals an\n\t\t\t\t// element of lower precedence.\n\t\t\t\tstack.push( element );\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// For each popped from stack, push to terms.\n\t\t\tterms.push( element );\n\t\t}\n\n\t\tif ( ! TERMINATORS[ operator ] ) {\n\t\t\tstack.push( operator );\n\t\t}\n\n\t\t// Slice matched fragment from expression to continue match.\n\t\texpression = expression.substr( match.index + operator.length );\n\t}\n\n\t// Push remainder of operand, if exists, to terms.\n\texpression = expression.trim();\n\tif ( expression ) {\n\t\tterms.push( expression );\n\t}\n\n\t// Pop remaining items from stack into terms.\n\treturn terms.concat( stack.reverse() );\n}\n","/**\n * Regular expression matching format placeholder syntax.\n *\n * The pattern for matching named arguments is a naive and incomplete matcher\n * against valid JavaScript identifier names.\n *\n * via Mathias Bynens:\n *\n * >An identifier must start with $, _, or any character in the Unicode\n * >categories “Uppercase letter (Lu)”, “Lowercase letter (Ll)”, “Titlecase\n * >letter (Lt)”, “Modifier letter (Lm)”, “Other letter (Lo)”, or “Letter\n * >number (Nl)”.\n * >\n * >The rest of the string can contain the same characters, plus any U+200C zero\n * >width non-joiner characters, U+200D zero width joiner characters, and\n * >characters in the Unicode categories “Non-spacing mark (Mn)”, “Spacing\n * >combining mark (Mc)”, “Decimal digit number (Nd)”, or “Connector\n * >punctuation (Pc)”.\n *\n * If browser support is constrained to those supporting ES2015, this could be\n * made more accurate using the `u` flag:\n *\n * ```\n * /^[$_\\p{L}\\p{Nl}][$_\\p{L}\\p{Nl}\\u200C\\u200D\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}]*$/u;\n * ```\n *\n * @see http://www.pixelbeat.org/programming/gcc/format_specs.html\n * @see https://mathiasbynens.be/notes/javascript-identifiers#valid-identifier-names\n *\n * @type {RegExp}\n */\nvar PATTERN = /%(((\\d+)\\$)|(\\(([$_a-zA-Z][$_a-zA-Z0-9]*)\\)))?[ +0#-]*\\d*(\\.(\\d+|\\*))?(ll|[lhqL])?([cduxXefgsp%])/g;\n// ▲ ▲ ▲ ▲ ▲ ▲ ▲ type\n// │ │ │ │ │ └ Length (unsupported)\n// │ │ │ │ └ Precision / max width\n// │ │ │ └ Min width (unsupported)\n// │ │ └ Flags (unsupported)\n// └ Index └ Name (for named arguments)\n\n/**\n * Given a format string, returns string with arguments interpolatation.\n * Arguments can either be provided directly via function arguments spread, or\n * with an array as the second argument.\n *\n * @see https://en.wikipedia.org/wiki/Printf_format_string\n *\n * @example\n *\n * ```js\n * import sprintf from '@tannin/sprintf';\n *\n * sprintf( 'Hello %s!', 'world' );\n * // ⇒ 'Hello world!'\n * ```\n *\n * @param {string} string printf format string\n * @param {Array} [args] String arguments.\n *\n * @return {string} Formatted string.\n */\nexport default function sprintf( string, args ) {\n\tvar i;\n\n\tif ( ! Array.isArray( args ) ) {\n\t\t// Construct a copy of arguments from index one, used for replace\n\t\t// function placeholder substitution.\n\t\targs = new Array( arguments.length - 1 );\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i - 1 ] = arguments[ i ];\n\t\t}\n\t}\n\n\ti = 1;\n\n\treturn string.replace( PATTERN, function() {\n\t\tvar index, name, precision, type, value;\n\n\t\tindex = arguments[ 3 ];\n\t\tname = arguments[ 5 ];\n\t\tprecision = arguments[ 7 ];\n\t\ttype = arguments[ 9 ];\n\n\t\t// There's no placeholder substitution in the explicit \"%\", meaning it\n\t\t// is not necessary to increment argument index.\n\t\tif ( type === '%' ) {\n\t\t\treturn '%';\n\t\t}\n\n\t\t// Asterisk precision determined by peeking / shifting next argument.\n\t\tif ( precision === '*' ) {\n\t\t\tprecision = args[ i - 1 ];\n\t\t\ti++;\n\t\t}\n\n\t\tif ( name !== undefined ) {\n\t\t\t// If it's a named argument, use name.\n\t\t\tif ( args[ 0 ] && typeof args[ 0 ] === 'object' &&\n\t\t\t\t\targs[ 0 ].hasOwnProperty( name ) ) {\n\t\t\t\tvalue = args[ 0 ][ name ];\n\t\t\t}\n\t\t} else {\n\t\t\t// If not a positional argument, use counter value.\n\t\t\tif ( index === undefined ) {\n\t\t\t\tindex = i;\n\t\t\t}\n\n\t\t\ti++;\n\n\t\t\t// Positional argument.\n\t\t\tvalue = args[ index - 1 ];\n\t\t}\n\n\t\t// Parse as type.\n\t\tif ( type === 'f' ) {\n\t\t\tvalue = parseFloat( value ) || 0;\n\t\t} else if ( type === 'd' ) {\n\t\t\tvalue = parseInt( value ) || 0;\n\t\t}\n\n\t\t// Apply precision.\n\t\tif ( precision !== undefined ) {\n\t\t\tif ( type === 'f' ) {\n\t\t\t\tvalue = value.toFixed( precision );\n\t\t\t} else if ( type === 's' ) {\n\t\t\t\tvalue = value.substr( 0, precision );\n\t\t\t}\n\t\t}\n\n\t\t// To avoid \"undefined\" concatenation, return empty string if no\n\t\t// placeholder substitution can be performed.\n\t\treturn value !== undefined && value !== null ? value : '';\n\t} );\n}\n","module.exports = {\n \"100\": \"Continue\",\n \"101\": \"Switching Protocols\",\n \"102\": \"Processing\",\n \"200\": \"OK\",\n \"201\": \"Created\",\n \"202\": \"Accepted\",\n \"203\": \"Non-Authoritative Information\",\n \"204\": \"No Content\",\n \"205\": \"Reset Content\",\n \"206\": \"Partial Content\",\n \"207\": \"Multi-Status\",\n \"208\": \"Already Reported\",\n \"226\": \"IM Used\",\n \"300\": \"Multiple Choices\",\n \"301\": \"Moved Permanently\",\n \"302\": \"Found\",\n \"303\": \"See Other\",\n \"304\": \"Not Modified\",\n \"305\": \"Use Proxy\",\n \"307\": \"Temporary Redirect\",\n \"308\": \"Permanent Redirect\",\n \"400\": \"Bad Request\",\n \"401\": \"Unauthorized\",\n \"402\": \"Payment Required\",\n \"403\": \"Forbidden\",\n \"404\": \"Not Found\",\n \"405\": \"Method Not Allowed\",\n \"406\": \"Not Acceptable\",\n \"407\": \"Proxy Authentication Required\",\n \"408\": \"Request Timeout\",\n \"409\": \"Conflict\",\n \"410\": \"Gone\",\n \"411\": \"Length Required\",\n \"412\": \"Precondition Failed\",\n \"413\": \"Payload Too Large\",\n \"414\": \"URI Too Long\",\n \"415\": \"Unsupported Media Type\",\n \"416\": \"Range Not Satisfiable\",\n \"417\": \"Expectation Failed\",\n \"418\": \"I'm a teapot\",\n \"421\": \"Misdirected Request\",\n \"422\": \"Unprocessable Entity\",\n \"423\": \"Locked\",\n \"424\": \"Failed Dependency\",\n \"425\": \"Unordered Collection\",\n \"426\": \"Upgrade Required\",\n \"428\": \"Precondition Required\",\n \"429\": \"Too Many Requests\",\n \"431\": \"Request Header Fields Too Large\",\n \"500\": \"Internal Server Error\",\n \"501\": \"Not Implemented\",\n \"502\": \"Bad Gateway\",\n \"503\": \"Service Unavailable\",\n \"504\": \"Gateway Timeout\",\n \"505\": \"HTTP Version Not Supported\",\n \"506\": \"Variant Also Negotiates\",\n \"507\": \"Insufficient Storage\",\n \"508\": \"Loop Detected\",\n \"509\": \"Bandwidth Limit Exceeded\",\n \"510\": \"Not Extended\",\n \"511\": \"Network Authentication Required\"\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\nvar $max = GetIntrinsic('%Math.max%');\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = $reflectApply(bind, $call, arguments);\n\tif ($gOPD && $defineProperty) {\n\t\tvar desc = $gOPD(func, 'length');\n\t\tif (desc.configurable) {\n\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t$defineProperty(\n\t\t\t\tfunc,\n\t\t\t\t'length',\n\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t);\n\t\t}\n\t}\n\treturn func;\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function eventListener() {\n if (errorListener !== undefined) {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n var errorListener;\n\n // Adding an error listener is not optional because\n // if an error is thrown on an event emitter we cannot\n // guarantee that the actual event we are waiting will\n // be fired. The result could be a silent way to create\n // memory or file descriptor leaks, which is something\n // we should avoid.\n if (name !== 'error') {\n errorListener = function errorListener(err) {\n emitter.removeListener(name, eventListener);\n reject(err);\n };\n\n emitter.once('error', errorListener);\n }\n\n emitter.once(name, eventListener);\n });\n}\n","'use strict';\n\nmodule.exports = function (data, opts) {\n if (!opts) opts = {};\n if (typeof opts === 'function') opts = { cmp: opts };\n var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;\n\n var cmp = opts.cmp && (function (f) {\n return function (node) {\n return function (a, b) {\n var aobj = { key: a, value: node[a] };\n var bobj = { key: b, value: node[b] };\n return f(aobj, bobj);\n };\n };\n })(opts.cmp);\n\n var seen = [];\n return (function stringify (node) {\n if (node && node.toJSON && typeof node.toJSON === 'function') {\n node = node.toJSON();\n }\n\n if (node === undefined) return;\n if (typeof node == 'number') return isFinite(node) ? '' + node : 'null';\n if (typeof node !== 'object') return JSON.stringify(node);\n\n var i, out;\n if (Array.isArray(node)) {\n out = '[';\n for (i = 0; i < node.length; i++) {\n if (i) out += ',';\n out += stringify(node[i]) || 'null';\n }\n return out + ']';\n }\n\n if (node === null) return 'null';\n\n if (seen.indexOf(node) !== -1) {\n if (cycles) return JSON.stringify('__cycle__');\n throw new TypeError('Converting circular structure to JSON');\n }\n\n var seenIndex = seen.push(node) - 1;\n var keys = Object.keys(node).sort(cmp && cmp(node));\n out = '';\n for (i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = stringify(node[key]);\n\n if (!value) continue;\n if (out) out += ',';\n out += JSON.stringify(key) + ':' + value;\n }\n seen.splice(seenIndex, 1);\n return '{' + out + '}';\n })(data);\n};\n","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('has');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n","'use strict';\n\nvar utils = require('./utils');\nvar assert = require('minimalistic-assert');\n\nfunction BlockHash() {\n this.pending = null;\n this.pendingTotal = 0;\n this.blockSize = this.constructor.blockSize;\n this.outSize = this.constructor.outSize;\n this.hmacStrength = this.constructor.hmacStrength;\n this.padLength = this.constructor.padLength / 8;\n this.endian = 'big';\n\n this._delta8 = this.blockSize / 8;\n this._delta32 = this.blockSize / 32;\n}\nexports.BlockHash = BlockHash;\n\nBlockHash.prototype.update = function update(msg, enc) {\n // Convert message to array, pad it, and join into 32bit blocks\n msg = utils.toArray(msg, enc);\n if (!this.pending)\n this.pending = msg;\n else\n this.pending = this.pending.concat(msg);\n this.pendingTotal += msg.length;\n\n // Enough data, try updating\n if (this.pending.length >= this._delta8) {\n msg = this.pending;\n\n // Process pending data in blocks\n var r = msg.length % this._delta8;\n this.pending = msg.slice(msg.length - r, msg.length);\n if (this.pending.length === 0)\n this.pending = null;\n\n msg = utils.join32(msg, 0, msg.length - r, this.endian);\n for (var i = 0; i < msg.length; i += this._delta32)\n this._update(msg, i, i + this._delta32);\n }\n\n return this;\n};\n\nBlockHash.prototype.digest = function digest(enc) {\n this.update(this._pad());\n assert(this.pending === null);\n\n return this._digest(enc);\n};\n\nBlockHash.prototype._pad = function pad() {\n var len = this.pendingTotal;\n var bytes = this._delta8;\n var k = bytes - ((len + this.padLength) % bytes);\n var res = new Array(k + this.padLength);\n res[0] = 0x80;\n for (var i = 1; i < k; i++)\n res[i] = 0;\n\n // Append length\n len <<= 3;\n if (this.endian === 'big') {\n for (var t = 8; t < this.padLength; t++)\n res[i++] = 0;\n\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = (len >>> 24) & 0xff;\n res[i++] = (len >>> 16) & 0xff;\n res[i++] = (len >>> 8) & 0xff;\n res[i++] = len & 0xff;\n } else {\n res[i++] = len & 0xff;\n res[i++] = (len >>> 8) & 0xff;\n res[i++] = (len >>> 16) & 0xff;\n res[i++] = (len >>> 24) & 0xff;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n\n for (t = 8; t < this.padLength; t++)\n res[i++] = 0;\n }\n\n return res;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar common = require('../common');\nvar shaCommon = require('./common');\n\nvar rotl32 = utils.rotl32;\nvar sum32 = utils.sum32;\nvar sum32_5 = utils.sum32_5;\nvar ft_1 = shaCommon.ft_1;\nvar BlockHash = common.BlockHash;\n\nvar sha1_K = [\n 0x5A827999, 0x6ED9EBA1,\n 0x8F1BBCDC, 0xCA62C1D6\n];\n\nfunction SHA1() {\n if (!(this instanceof SHA1))\n return new SHA1();\n\n BlockHash.call(this);\n this.h = [\n 0x67452301, 0xefcdab89, 0x98badcfe,\n 0x10325476, 0xc3d2e1f0 ];\n this.W = new Array(80);\n}\n\nutils.inherits(SHA1, BlockHash);\nmodule.exports = SHA1;\n\nSHA1.blockSize = 512;\nSHA1.outSize = 160;\nSHA1.hmacStrength = 80;\nSHA1.padLength = 64;\n\nSHA1.prototype._update = function _update(msg, start) {\n var W = this.W;\n\n for (var i = 0; i < 16; i++)\n W[i] = msg[start + i];\n\n for(; i < W.length; i++)\n W[i] = rotl32(W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16], 1);\n\n var a = this.h[0];\n var b = this.h[1];\n var c = this.h[2];\n var d = this.h[3];\n var e = this.h[4];\n\n for (i = 0; i < W.length; i++) {\n var s = ~~(i / 20);\n var t = sum32_5(rotl32(a, 5), ft_1(s, b, c, d), e, W[i], sha1_K[s]);\n e = d;\n d = c;\n c = rotl32(b, 30);\n b = a;\n a = t;\n }\n\n this.h[0] = sum32(this.h[0], a);\n this.h[1] = sum32(this.h[1], b);\n this.h[2] = sum32(this.h[2], c);\n this.h[3] = sum32(this.h[3], d);\n this.h[4] = sum32(this.h[4], e);\n};\n\nSHA1.prototype._digest = function digest(enc) {\n if (enc === 'hex')\n return utils.toHex32(this.h, 'big');\n else\n return utils.split32(this.h, 'big');\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar rotr32 = utils.rotr32;\n\nfunction ft_1(s, x, y, z) {\n if (s === 0)\n return ch32(x, y, z);\n if (s === 1 || s === 3)\n return p32(x, y, z);\n if (s === 2)\n return maj32(x, y, z);\n}\nexports.ft_1 = ft_1;\n\nfunction ch32(x, y, z) {\n return (x & y) ^ ((~x) & z);\n}\nexports.ch32 = ch32;\n\nfunction maj32(x, y, z) {\n return (x & y) ^ (x & z) ^ (y & z);\n}\nexports.maj32 = maj32;\n\nfunction p32(x, y, z) {\n return x ^ y ^ z;\n}\nexports.p32 = p32;\n\nfunction s0_256(x) {\n return rotr32(x, 2) ^ rotr32(x, 13) ^ rotr32(x, 22);\n}\nexports.s0_256 = s0_256;\n\nfunction s1_256(x) {\n return rotr32(x, 6) ^ rotr32(x, 11) ^ rotr32(x, 25);\n}\nexports.s1_256 = s1_256;\n\nfunction g0_256(x) {\n return rotr32(x, 7) ^ rotr32(x, 18) ^ (x >>> 3);\n}\nexports.g0_256 = g0_256;\n\nfunction g1_256(x) {\n return rotr32(x, 17) ^ rotr32(x, 19) ^ (x >>> 10);\n}\nexports.g1_256 = g1_256;\n","'use strict';\n\nvar assert = require('minimalistic-assert');\nvar inherits = require('inherits');\n\nexports.inherits = inherits;\n\nfunction isSurrogatePair(msg, i) {\n if ((msg.charCodeAt(i) & 0xFC00) !== 0xD800) {\n return false;\n }\n if (i < 0 || i + 1 >= msg.length) {\n return false;\n }\n return (msg.charCodeAt(i + 1) & 0xFC00) === 0xDC00;\n}\n\nfunction toArray(msg, enc) {\n if (Array.isArray(msg))\n return msg.slice();\n if (!msg)\n return [];\n var res = [];\n if (typeof msg === 'string') {\n if (!enc) {\n // Inspired by stringToUtf8ByteArray() in closure-library by Google\n // https://github.com/google/closure-library/blob/8598d87242af59aac233270742c8984e2b2bdbe0/closure/goog/crypt/crypt.js#L117-L143\n // Apache License 2.0\n // https://github.com/google/closure-library/blob/master/LICENSE\n var p = 0;\n for (var i = 0; i < msg.length; i++) {\n var c = msg.charCodeAt(i);\n if (c < 128) {\n res[p++] = c;\n } else if (c < 2048) {\n res[p++] = (c >> 6) | 192;\n res[p++] = (c & 63) | 128;\n } else if (isSurrogatePair(msg, i)) {\n c = 0x10000 + ((c & 0x03FF) << 10) + (msg.charCodeAt(++i) & 0x03FF);\n res[p++] = (c >> 18) | 240;\n res[p++] = ((c >> 12) & 63) | 128;\n res[p++] = ((c >> 6) & 63) | 128;\n res[p++] = (c & 63) | 128;\n } else {\n res[p++] = (c >> 12) | 224;\n res[p++] = ((c >> 6) & 63) | 128;\n res[p++] = (c & 63) | 128;\n }\n }\n } else if (enc === 'hex') {\n msg = msg.replace(/[^a-z0-9]+/ig, '');\n if (msg.length % 2 !== 0)\n msg = '0' + msg;\n for (i = 0; i < msg.length; i += 2)\n res.push(parseInt(msg[i] + msg[i + 1], 16));\n }\n } else {\n for (i = 0; i < msg.length; i++)\n res[i] = msg[i] | 0;\n }\n return res;\n}\nexports.toArray = toArray;\n\nfunction toHex(msg) {\n var res = '';\n for (var i = 0; i < msg.length; i++)\n res += zero2(msg[i].toString(16));\n return res;\n}\nexports.toHex = toHex;\n\nfunction htonl(w) {\n var res = (w >>> 24) |\n ((w >>> 8) & 0xff00) |\n ((w << 8) & 0xff0000) |\n ((w & 0xff) << 24);\n return res >>> 0;\n}\nexports.htonl = htonl;\n\nfunction toHex32(msg, endian) {\n var res = '';\n for (var i = 0; i < msg.length; i++) {\n var w = msg[i];\n if (endian === 'little')\n w = htonl(w);\n res += zero8(w.toString(16));\n }\n return res;\n}\nexports.toHex32 = toHex32;\n\nfunction zero2(word) {\n if (word.length === 1)\n return '0' + word;\n else\n return word;\n}\nexports.zero2 = zero2;\n\nfunction zero8(word) {\n if (word.length === 7)\n return '0' + word;\n else if (word.length === 6)\n return '00' + word;\n else if (word.length === 5)\n return '000' + word;\n else if (word.length === 4)\n return '0000' + word;\n else if (word.length === 3)\n return '00000' + word;\n else if (word.length === 2)\n return '000000' + word;\n else if (word.length === 1)\n return '0000000' + word;\n else\n return word;\n}\nexports.zero8 = zero8;\n\nfunction join32(msg, start, end, endian) {\n var len = end - start;\n assert(len % 4 === 0);\n var res = new Array(len / 4);\n for (var i = 0, k = start; i < res.length; i++, k += 4) {\n var w;\n if (endian === 'big')\n w = (msg[k] << 24) | (msg[k + 1] << 16) | (msg[k + 2] << 8) | msg[k + 3];\n else\n w = (msg[k + 3] << 24) | (msg[k + 2] << 16) | (msg[k + 1] << 8) | msg[k];\n res[i] = w >>> 0;\n }\n return res;\n}\nexports.join32 = join32;\n\nfunction split32(msg, endian) {\n var res = new Array(msg.length * 4);\n for (var i = 0, k = 0; i < msg.length; i++, k += 4) {\n var m = msg[i];\n if (endian === 'big') {\n res[k] = m >>> 24;\n res[k + 1] = (m >>> 16) & 0xff;\n res[k + 2] = (m >>> 8) & 0xff;\n res[k + 3] = m & 0xff;\n } else {\n res[k + 3] = m >>> 24;\n res[k + 2] = (m >>> 16) & 0xff;\n res[k + 1] = (m >>> 8) & 0xff;\n res[k] = m & 0xff;\n }\n }\n return res;\n}\nexports.split32 = split32;\n\nfunction rotr32(w, b) {\n return (w >>> b) | (w << (32 - b));\n}\nexports.rotr32 = rotr32;\n\nfunction rotl32(w, b) {\n return (w << b) | (w >>> (32 - b));\n}\nexports.rotl32 = rotl32;\n\nfunction sum32(a, b) {\n return (a + b) >>> 0;\n}\nexports.sum32 = sum32;\n\nfunction sum32_3(a, b, c) {\n return (a + b + c) >>> 0;\n}\nexports.sum32_3 = sum32_3;\n\nfunction sum32_4(a, b, c, d) {\n return (a + b + c + d) >>> 0;\n}\nexports.sum32_4 = sum32_4;\n\nfunction sum32_5(a, b, c, d, e) {\n return (a + b + c + d + e) >>> 0;\n}\nexports.sum32_5 = sum32_5;\n\nfunction sum64(buf, pos, ah, al) {\n var bh = buf[pos];\n var bl = buf[pos + 1];\n\n var lo = (al + bl) >>> 0;\n var hi = (lo < al ? 1 : 0) + ah + bh;\n buf[pos] = hi >>> 0;\n buf[pos + 1] = lo;\n}\nexports.sum64 = sum64;\n\nfunction sum64_hi(ah, al, bh, bl) {\n var lo = (al + bl) >>> 0;\n var hi = (lo < al ? 1 : 0) + ah + bh;\n return hi >>> 0;\n}\nexports.sum64_hi = sum64_hi;\n\nfunction sum64_lo(ah, al, bh, bl) {\n var lo = al + bl;\n return lo >>> 0;\n}\nexports.sum64_lo = sum64_lo;\n\nfunction sum64_4_hi(ah, al, bh, bl, ch, cl, dh, dl) {\n var carry = 0;\n var lo = al;\n lo = (lo + bl) >>> 0;\n carry += lo < al ? 1 : 0;\n lo = (lo + cl) >>> 0;\n carry += lo < cl ? 1 : 0;\n lo = (lo + dl) >>> 0;\n carry += lo < dl ? 1 : 0;\n\n var hi = ah + bh + ch + dh + carry;\n return hi >>> 0;\n}\nexports.sum64_4_hi = sum64_4_hi;\n\nfunction sum64_4_lo(ah, al, bh, bl, ch, cl, dh, dl) {\n var lo = al + bl + cl + dl;\n return lo >>> 0;\n}\nexports.sum64_4_lo = sum64_4_lo;\n\nfunction sum64_5_hi(ah, al, bh, bl, ch, cl, dh, dl, eh, el) {\n var carry = 0;\n var lo = al;\n lo = (lo + bl) >>> 0;\n carry += lo < al ? 1 : 0;\n lo = (lo + cl) >>> 0;\n carry += lo < cl ? 1 : 0;\n lo = (lo + dl) >>> 0;\n carry += lo < dl ? 1 : 0;\n lo = (lo + el) >>> 0;\n carry += lo < el ? 1 : 0;\n\n var hi = ah + bh + ch + dh + eh + carry;\n return hi >>> 0;\n}\nexports.sum64_5_hi = sum64_5_hi;\n\nfunction sum64_5_lo(ah, al, bh, bl, ch, cl, dh, dl, eh, el) {\n var lo = al + bl + cl + dl + el;\n\n return lo >>> 0;\n}\nexports.sum64_5_lo = sum64_5_lo;\n\nfunction rotr64_hi(ah, al, num) {\n var r = (al << (32 - num)) | (ah >>> num);\n return r >>> 0;\n}\nexports.rotr64_hi = rotr64_hi;\n\nfunction rotr64_lo(ah, al, num) {\n var r = (ah << (32 - num)) | (al >>> num);\n return r >>> 0;\n}\nexports.rotr64_lo = rotr64_lo;\n\nfunction shr64_hi(ah, al, num) {\n return ah >>> num;\n}\nexports.shr64_hi = shr64_hi;\n\nfunction shr64_lo(ah, al, num) {\n var r = (ah << (32 - num)) | (al >>> num);\n return r >>> 0;\n}\nexports.shr64_lo = shr64_lo;\n","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n","var events = require('events')\nvar inherits = require('inherits')\n\nmodule.exports = LRU\n\nfunction LRU (opts) {\n if (!(this instanceof LRU)) return new LRU(opts)\n if (typeof opts === 'number') opts = {max: opts}\n if (!opts) opts = {}\n events.EventEmitter.call(this)\n this.cache = {}\n this.head = this.tail = null\n this.length = 0\n this.max = opts.max || 1000\n this.maxAge = opts.maxAge || 0\n}\n\ninherits(LRU, events.EventEmitter)\n\nObject.defineProperty(LRU.prototype, 'keys', {\n get: function () { return Object.keys(this.cache) }\n})\n\nLRU.prototype.clear = function () {\n this.cache = {}\n this.head = this.tail = null\n this.length = 0\n}\n\nLRU.prototype.remove = function (key) {\n if (typeof key !== 'string') key = '' + key\n if (!this.cache.hasOwnProperty(key)) return\n\n var element = this.cache[key]\n delete this.cache[key]\n this._unlink(key, element.prev, element.next)\n return element.value\n}\n\nLRU.prototype._unlink = function (key, prev, next) {\n this.length--\n\n if (this.length === 0) {\n this.head = this.tail = null\n } else {\n if (this.head === key) {\n this.head = prev\n this.cache[this.head].next = null\n } else if (this.tail === key) {\n this.tail = next\n this.cache[this.tail].prev = null\n } else {\n this.cache[prev].next = next\n this.cache[next].prev = prev\n }\n }\n}\n\nLRU.prototype.peek = function (key) {\n if (!this.cache.hasOwnProperty(key)) return\n\n var element = this.cache[key]\n\n if (!this._checkAge(key, element)) return\n return element.value\n}\n\nLRU.prototype.set = function (key, value) {\n if (typeof key !== 'string') key = '' + key\n\n var element\n\n if (this.cache.hasOwnProperty(key)) {\n element = this.cache[key]\n element.value = value\n if (this.maxAge) element.modified = Date.now()\n\n // If it's already the head, there's nothing more to do:\n if (key === this.head) return value\n this._unlink(key, element.prev, element.next)\n } else {\n element = {value: value, modified: 0, next: null, prev: null}\n if (this.maxAge) element.modified = Date.now()\n this.cache[key] = element\n\n // Eviction is only possible if the key didn't already exist:\n if (this.length === this.max) this.evict()\n }\n\n this.length++\n element.next = null\n element.prev = this.head\n\n if (this.head) this.cache[this.head].next = key\n this.head = key\n\n if (!this.tail) this.tail = key\n return value\n}\n\nLRU.prototype._checkAge = function (key, element) {\n if (this.maxAge && (Date.now() - element.modified) > this.maxAge) {\n this.remove(key)\n this.emit('evict', {key: key, value: element.value})\n return false\n }\n return true\n}\n\nLRU.prototype.get = function (key) {\n if (typeof key !== 'string') key = '' + key\n if (!this.cache.hasOwnProperty(key)) return\n\n var element = this.cache[key]\n\n if (!this._checkAge(key, element)) return\n\n if (this.head !== key) {\n if (key === this.tail) {\n this.tail = element.next\n this.cache[this.tail].prev = null\n } else {\n // Set prev.next -> element.next:\n this.cache[element.prev].next = element.next\n }\n\n // Set element.next.prev -> element.prev:\n this.cache[element.next].prev = element.prev\n\n // Element is the new head\n this.cache[this.head].next = key\n element.prev = this.head\n element.next = null\n this.head = key\n }\n\n return element.value\n}\n\nLRU.prototype.evict = function () {\n if (!this.tail) return\n var key = this.tail\n var value = this.remove(this.tail)\n this.emit('evict', {key: key, value: value})\n}\n","module.exports = assert;\n\nfunction assert(val, msg) {\n if (!val)\n throw new Error(msg || 'Assertion failed');\n}\n\nassert.equal = function assertEqual(l, r, msg) {\n if (l != r)\n throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r));\n};\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar match = String.prototype.match;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nvar inspectCustom = require('./util.inspect').custom;\nvar inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;\nvar toStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag !== 'undefined' ? Symbol.toStringTag : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('options \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n return String(obj);\n }\n if (typeof obj === 'bigint') {\n return String(obj) + 'n';\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = seen.slice();\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function') {\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + keys.join(', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? String(obj).replace(/^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + String(obj.nodeName).toLowerCase();\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '</' + String(obj.nodeName).toLowerCase() + '>';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + xs.join(', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {\n return obj[inspectSymbol]();\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? toStr(obj).slice(8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + [].concat(stringTag || [], protoTag || []).join(': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + ys.join(', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return String(s).replace(/\"/g, '&quot;');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString(str.slice(0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = str.replace(/(['\\\\])/g, '\\\\$1').replace(/[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + n.toString(16).toUpperCase();\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : entries.join(', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = Array(opts.indent + 1).join(' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: Array(depth + 1).join(baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + xs.join(',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ((/[^\\w$]/).test(key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","\nvar NativeProgressEvent = global.ProgressEvent;\nvar useNative = !!NativeProgressEvent;\n\ntry {\n (function () {\n var p = new NativeProgressEvent('loaded');\n useNative = 'loaded' === p.type;\n p = null;\n })();\n} catch (e) {\n useNative = false;\n}\n\n/**\n * Cross-browser `ProgressEvent` constructor.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent.ProgressEvent\n *\n * @public\n */\n\nmodule.exports = useNative ? NativeProgressEvent :\n\n// IE >= 9\n'function' === typeof document.createEvent ? function ProgressEvent (type, props) {\n var e = document.createEvent('Event');\n e.initEvent(type, false, false);\n if (props) {\n e.lengthComputable = Boolean(props.lengthComputable);\n e.loaded = Number(props.loaded) || 0;\n e.total = Number(props.total) || 0;\n } else {\n e.lengthComputable = false;\n e.loaded = e.total = 0;\n }\n return e;\n} :\n\n// IE <= 8\nfunction ProgressEvent (type, props) {\n var e = document.createEventObject();\n e.type = type;\n if (props) {\n e.lengthComputable = Boolean(props.lengthComputable);\n e.loaded = Number(props.loaded) || 0;\n e.total = Number(props.total) || 0;\n } else {\n e.lengthComputable = false;\n e.loaded = e.total = 0;\n }\n return e;\n}\n","'use strict';\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.RFC3986\n};\n","'use strict';\n\nvar stringify = require('./stringify');\nvar parse = require('./parse');\nvar formats = require('./formats');\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowPrototypes: false,\n allowSparse: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictNullHandling: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\nvar parseArrayValue = function (val, options) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n return val;\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = {};\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(options.delimiter, limit);\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key, val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n val = utils.maybeMap(\n parseArrayValue(part.slice(pos + 1), options),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(val);\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\n\n if (has.call(obj, key)) {\n obj[key] = utils.combine(obj[key], val);\n } else {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options, valuesParsed) {\n var leaf = valuesParsed ? val : parseArrayValue(val, options);\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n obj = [].concat(leaf);\n } else {\n obj = options.plainObjects ? Object.create(null) : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var index = parseInt(cleanRoot, 10);\n if (!options.parseArrays && cleanRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== cleanRoot\n && String(index) === cleanRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else if (cleanRoot !== '__proto__') {\n obj[cleanRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n // Get the parent\n\n var segment = options.depth > 0 && brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n // Stash the parent if it exists\n\n var keys = [];\n if (parent) {\n // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, just add whatever is left\n\n if (segment) {\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n return {\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? Object.create(null) : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? Object.create(null) : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n obj = utils.merge(obj, newObj, options);\n }\n\n if (options.allowSparse === true) {\n return obj;\n }\n\n return utils.compact(obj);\n};\n","'use strict';\n\nvar getSideChannel = require('side-channel');\nvar utils = require('./utils');\nvar formats = require('./formats');\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar split = String.prototype.split;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaultFormat = formats['default'];\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n charset: 'utf-8',\n charsetSentinel: false,\n delimiter: '&',\n encode: true,\n encoder: utils.encode,\n encodeValuesOnly: false,\n format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar sentinel = {};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n sideChannel\n) {\n var obj = object;\n\n var tmpSc = sideChannel;\n var step = 0;\n var findFlag = false;\n while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {\n // Where object last appeared in the ref tree\n var pos = tmpSc.get(object);\n step += 1;\n if (typeof pos !== 'undefined') {\n if (pos === step) {\n throw new RangeError('Cyclic object value');\n } else {\n findFlag = true; // Break while\n }\n }\n if (typeof tmpSc.get(sentinel) === 'undefined') {\n step = 0;\n }\n }\n\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n if (generateArrayPrefix === 'comma' && encodeValuesOnly) {\n var valuesArray = split.call(String(obj), ',');\n var valuesJoined = '';\n for (var i = 0; i < valuesArray.length; ++i) {\n valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));\n }\n return [formatter(keyValue) + '=' + valuesJoined];\n }\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n } else if (isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n for (var j = 0; j < objKeys.length; ++j) {\n var key = objKeys[j];\n var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix\n : prefix + (allowDots ? '.' + key : '[' + key + ']');\n\n sideChannel.set(object, step);\n var valueSideChannel = getSideChannel();\n valueSideChannel.set(sentinel, sideChannel);\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n valueSideChannel\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var arrayFormat;\n if (opts && opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if (opts && 'indices' in opts) {\n arrayFormat = opts.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = 'indices';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (options.sort) {\n objKeys.sort(options.sort);\n }\n\n var sideChannel = getSideChannel();\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (options.skipNulls && obj[key] === null) {\n continue;\n }\n pushToArray(keys, stringify(\n obj[key],\n key,\n generateArrayPrefix,\n options.strictNullHandling,\n options.skipNulls,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset,\n sideChannel\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.charset === 'iso-8859-1') {\n // encodeURIComponent('&#10003;'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n","'use strict';\n\nvar formats = require('./formats');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? Object.create(null) : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && typeof target === 'object') {\n if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (!target || typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, decoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var i = 0; i < string.length; ++i) {\n var c = string.charCodeAt(i);\n\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n ) {\n out += string.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n out = out + hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));\n /* eslint operator-linebreak: [2, \"before\"] */\n out += hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n return [].concat(a, b);\n};\n\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isRegExp: isRegExp,\n maybeMap: maybeMap,\n merge: merge\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bind/callBound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\nvar $Map = GetIntrinsic('%Map%', true);\n\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSet = callBound('Map.prototype.set', true);\nvar $mapHas = callBound('Map.prototype.has', true);\n\n/*\n * This function traverses the list returning the node corresponding to the\n * given key.\n *\n * That node is also moved to the head of the list, so that if it's accessed\n * again we don't need to traverse the whole list. By doing so, all the recently\n * used nodes can be accessed relatively quickly.\n */\nvar listGetNode = function (list, key) { // eslint-disable-line consistent-return\n\tfor (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tcurr.next = list.next;\n\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\nvar listGet = function (objects, key) {\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = { // eslint-disable-line no-param-reassign\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t};\n\t}\n};\nvar listHas = function (objects, key) {\n\treturn !!listGetNode(objects, key);\n};\n\nmodule.exports = function getSideChannel() {\n\tvar $wm;\n\tvar $m;\n\tvar $o;\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapGet($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listGet($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapHas($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listHas($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif (!$wm) {\n\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t}\n\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t} else if ($Map) {\n\t\t\t\tif (!$m) {\n\t\t\t\t\t$m = new $Map();\n\t\t\t\t}\n\t\t\t\t$mapSet($m, key, value);\n\t\t\t} else {\n\t\t\t\tif (!$o) {\n\t\t\t\t\t/*\n\t\t\t\t\t * Initialize the linked list as an empty node, so that we don't have\n\t\t\t\t\t * to special-case handling of the first node: we can always refer to\n\t\t\t\t\t * it as (previous node).next, instead of something like (list).head\n\t\t\t\t\t */\n\t\t\t\t\t$o = { key: {}, next: null };\n\t\t\t\t}\n\t\t\t\tlistSet($o, key, value);\n\t\t\t}\n\t\t}\n\t};\n\treturn channel;\n};\n","import pluralForms from '@tannin/plural-forms';\n\n/**\n * Tannin constructor options.\n *\n * @typedef {Object} TanninOptions\n *\n * @property {string} [contextDelimiter] Joiner in string lookup with context.\n * @property {Function} [onMissingKey] Callback to invoke when key missing.\n */\n\n/**\n * Domain metadata.\n *\n * @typedef {Object} TanninDomainMetadata\n *\n * @property {string} [domain] Domain name.\n * @property {string} [lang] Language code.\n * @property {(string|Function)} [plural_forms] Plural forms expression or\n * function evaluator.\n */\n\n/**\n * Domain translation pair respectively representing the singular and plural\n * translation.\n *\n * @typedef {[string,string]} TanninTranslation\n */\n\n/**\n * Locale data domain. The key is used as reference for lookup, the value an\n * array of two string entries respectively representing the singular and plural\n * translation.\n *\n * @typedef {{[key:string]:TanninDomainMetadata|TanninTranslation,'':TanninDomainMetadata|TanninTranslation}} TanninLocaleDomain\n */\n\n/**\n * Jed-formatted locale data.\n *\n * @see http://messageformat.github.io/Jed/\n *\n * @typedef {{[domain:string]:TanninLocaleDomain}} TanninLocaleData\n */\n\n/**\n * Default Tannin constructor options.\n *\n * @type {TanninOptions}\n */\nvar DEFAULT_OPTIONS = {\n\tcontextDelimiter: '\\u0004',\n\tonMissingKey: null,\n};\n\n/**\n * Given a specific locale data's config `plural_forms` value, returns the\n * expression.\n *\n * @example\n *\n * ```\n * getPluralExpression( 'nplurals=2; plural=(n != 1);' ) === '(n != 1)'\n * ```\n *\n * @param {string} pf Locale data plural forms.\n *\n * @return {string} Plural forms expression.\n */\nfunction getPluralExpression( pf ) {\n\tvar parts, i, part;\n\n\tparts = pf.split( ';' );\n\n\tfor ( i = 0; i < parts.length; i++ ) {\n\t\tpart = parts[ i ].trim();\n\t\tif ( part.indexOf( 'plural=' ) === 0 ) {\n\t\t\treturn part.substr( 7 );\n\t\t}\n\t}\n}\n\n/**\n * Tannin constructor.\n *\n * @class\n *\n * @param {TanninLocaleData} data Jed-formatted locale data.\n * @param {TanninOptions} [options] Tannin options.\n */\nexport default function Tannin( data, options ) {\n\tvar key;\n\n\t/**\n\t * Jed-formatted locale data.\n\t *\n\t * @name Tannin#data\n\t * @type {TanninLocaleData}\n\t */\n\tthis.data = data;\n\n\t/**\n\t * Plural forms function cache, keyed by plural forms string.\n\t *\n\t * @name Tannin#pluralForms\n\t * @type {Object<string,Function>}\n\t */\n\tthis.pluralForms = {};\n\n\t/**\n\t * Effective options for instance, including defaults.\n\t *\n\t * @name Tannin#options\n\t * @type {TanninOptions}\n\t */\n\tthis.options = {};\n\n\tfor ( key in DEFAULT_OPTIONS ) {\n\t\tthis.options[ key ] = options !== undefined && key in options\n\t\t\t? options[ key ]\n\t\t\t: DEFAULT_OPTIONS[ key ];\n\t}\n}\n\n/**\n * Returns the plural form index for the given domain and value.\n *\n * @param {string} domain Domain on which to calculate plural form.\n * @param {number} n Value for which plural form is to be calculated.\n *\n * @return {number} Plural form index.\n */\nTannin.prototype.getPluralForm = function( domain, n ) {\n\tvar getPluralForm = this.pluralForms[ domain ],\n\t\tconfig, plural, pf;\n\n\tif ( ! getPluralForm ) {\n\t\tconfig = this.data[ domain ][ '' ];\n\n\t\tpf = (\n\t\t\tconfig[ 'Plural-Forms' ] ||\n\t\t\tconfig[ 'plural-forms' ] ||\n\t\t\t// Ignore reason: As known, there's no way to document the empty\n\t\t\t// string property on a key to guarantee this as metadata.\n\t\t\t// @ts-ignore\n\t\t\tconfig.plural_forms\n\t\t);\n\n\t\tif ( typeof pf !== 'function' ) {\n\t\t\tplural = getPluralExpression(\n\t\t\t\tconfig[ 'Plural-Forms' ] ||\n\t\t\t\tconfig[ 'plural-forms' ] ||\n\t\t\t\t// Ignore reason: As known, there's no way to document the empty\n\t\t\t\t// string property on a key to guarantee this as metadata.\n\t\t\t\t// @ts-ignore\n\t\t\t\tconfig.plural_forms\n\t\t\t);\n\n\t\t\tpf = pluralForms( plural );\n\t\t}\n\n\t\tgetPluralForm = this.pluralForms[ domain ] = pf;\n\t}\n\n\treturn getPluralForm( n );\n};\n\n/**\n * Translate a string.\n *\n * @param {string} domain Translation domain.\n * @param {string|void} context Context distinguishing terms of the same name.\n * @param {string} singular Primary key for translation lookup.\n * @param {string=} plural Fallback value used for non-zero plural\n * form index.\n * @param {number=} n Value to use in calculating plural form.\n *\n * @return {string} Translated string.\n */\nTannin.prototype.dcnpgettext = function( domain, context, singular, plural, n ) {\n\tvar index, key, entry;\n\n\tif ( n === undefined ) {\n\t\t// Default to singular.\n\t\tindex = 0;\n\t} else {\n\t\t// Find index by evaluating plural form for value.\n\t\tindex = this.getPluralForm( domain, n );\n\t}\n\n\tkey = singular;\n\n\t// If provided, context is prepended to key with delimiter.\n\tif ( context ) {\n\t\tkey = context + this.options.contextDelimiter + singular;\n\t}\n\n\tentry = this.data[ domain ][ key ];\n\n\t// Verify not only that entry exists, but that the intended index is within\n\t// range and non-empty.\n\tif ( entry && entry[ index ] ) {\n\t\treturn entry[ index ];\n\t}\n\n\tif ( this.options.onMissingKey ) {\n\t\tthis.options.onMissingKey( singular, domain );\n\t}\n\n\t// If entry not found, fall back to singular vs. plural with zero index\n\t// representing the singular value.\n\treturn index === 0 ? singular : plural;\n};\n","import { DomainSuggestions } from '@automattic/data-stores';\n\nDomainSuggestions.register();\n","import { Launch } from '@automattic/data-stores';\n\nexport type LaunchStepType = Launch.LaunchStepType;\n\nLaunch.register();\n","import { Plans } from '@automattic/data-stores';\n\nPlans.register();\n","import { Site } from '@automattic/data-stores';\n\nSite.register( { client_id: '', client_secret: '' } );\n","import { WPCOMFeatures } from '@automattic/data-stores';\n\nWPCOMFeatures.register();\n","import type {\n\tDomainSuggestion,\n\tDomainSuggestionQuery,\n\tDomainCategory,\n\tDomainAvailability,\n} from './types';\n\nexport const receiveCategories = ( categories: DomainCategory[] ) =>\n\t( {\n\t\ttype: 'RECEIVE_CATEGORIES',\n\t\tcategories,\n\t} as const );\n\nexport const fetchDomainSuggestions = () =>\n\t( {\n\t\ttype: 'FETCH_DOMAIN_SUGGESTIONS',\n\t\ttimeStamp: Date.now(),\n\t} as const );\n\nexport const receiveDomainAvailability = ( domainName: string, availability: DomainAvailability ) =>\n\t( {\n\t\ttype: 'RECEIVE_DOMAIN_AVAILABILITY',\n\t\tdomainName,\n\t\tavailability,\n\t} as const );\n\nexport const receiveDomainSuggestionsSuccess = (\n\tqueryObject: DomainSuggestionQuery,\n\tsuggestions: DomainSuggestion[] | undefined\n) =>\n\t( {\n\t\ttype: 'RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS',\n\t\tqueryObject,\n\t\tsuggestions,\n\t\ttimeStamp: Date.now(),\n\t} as const );\n\nexport const receiveDomainSuggestionsError = ( errorMessage: string ) =>\n\t( {\n\t\ttype: 'RECEIVE_DOMAIN_SUGGESTIONS_ERROR',\n\t\terrorMessage,\n\t\ttimeStamp: Date.now(),\n\t} as const );\n\nexport type Action = ReturnType<\n\t| typeof receiveCategories\n\t| typeof fetchDomainSuggestions\n\t| typeof receiveDomainSuggestionsSuccess\n\t| typeof receiveDomainSuggestionsError\n\t| typeof receiveDomainAvailability\n>;\n","export const STORE_KEY = 'automattic/domains/suggestions';\n\nexport enum DataStatus {\n\tFailure = 'failure',\n\tPending = 'pending',\n\tSuccess = 'success',\n\tUninitialized = 'uninitialized',\n}\n","import { registerStore } from '@wordpress/data';\nimport { controls } from '../wpcom-request-controls';\nimport * as actions from './actions';\nimport { STORE_KEY } from './constants';\nimport reducer, { State } from './reducer';\nimport * as resolvers from './resolvers';\nimport * as selectors from './selectors';\nimport type { DispatchFromMap, SelectFromMap } from '../mapped-types';\n\nexport * from './types';\nexport * from './constants';\nexport { getFormattedPrice } from './utils';\nexport type { State };\n\nlet isRegistered = false;\n\nexport function register(): typeof STORE_KEY {\n\tif ( ! isRegistered ) {\n\t\tisRegistered = true;\n\t\tregisterStore< State >( STORE_KEY, {\n\t\t\tactions,\n\t\t\tcontrols: controls as any,\n\t\t\treducer: reducer as any,\n\t\t\tresolvers,\n\t\t\tselectors,\n\t\t} );\n\t}\n\treturn STORE_KEY;\n}\n\ndeclare module '@wordpress/data' {\n\tfunction dispatch( key: typeof STORE_KEY ): DispatchFromMap< typeof actions >;\n\tfunction select( key: typeof STORE_KEY ): SelectFromMap< typeof selectors >;\n}\n","import { combineReducers } from '@wordpress/data';\nimport { DataStatus } from './constants';\nimport { stringifyDomainQueryObject } from './utils';\nimport type { Action } from './actions';\nimport type { DomainCategory, DomainSuggestionState, DomainAvailabilities } from './types';\nimport type { Reducer } from 'redux';\n\nconst initialDomainSuggestionState: DomainSuggestionState = {\n\tstate: DataStatus.Uninitialized,\n\tdata: {},\n\terrorMessage: null,\n\tlastUpdated: -Infinity,\n\tpendingSince: undefined,\n};\n\nexport const domainSuggestions: Reducer< DomainSuggestionState, Action > = (\n\tstate = initialDomainSuggestionState,\n\taction\n) => {\n\tif ( action.type === 'FETCH_DOMAIN_SUGGESTIONS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\tstate: DataStatus.Pending,\n\t\t\terrorMessage: null,\n\t\t\tpendingSince: action.timeStamp,\n\t\t};\n\t}\n\n\tif ( action.type === 'RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\tstate: DataStatus.Success,\n\t\t\tdata: {\n\t\t\t\t...state.data,\n\t\t\t\t[ stringifyDomainQueryObject( action.queryObject ) ]: action.suggestions,\n\t\t\t},\n\t\t\terrorMessage: null,\n\t\t\tlastUpdated: action.timeStamp,\n\t\t\tpendingSince: undefined,\n\t\t};\n\t}\n\n\tif ( action.type === 'RECEIVE_DOMAIN_SUGGESTIONS_ERROR' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\tstate: DataStatus.Failure,\n\t\t\terrorMessage: action.errorMessage,\n\t\t\tlastUpdated: action.timeStamp,\n\t\t\tpendingSince: undefined,\n\t\t};\n\t}\n\n\treturn state;\n};\n\nconst categories: Reducer< DomainCategory[], Action > = ( state = [], action ) => {\n\tif ( action.type === 'RECEIVE_CATEGORIES' ) {\n\t\treturn action.categories;\n\t}\n\treturn state;\n};\n\nconst availability: Reducer< DomainAvailabilities, Action > = ( state = {}, action ) => {\n\tif ( action.type === 'RECEIVE_DOMAIN_AVAILABILITY' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.domainName ]: action.availability,\n\t\t};\n\t}\n\treturn state;\n};\n\nconst reducer = combineReducers( { categories, domainSuggestions, availability } );\n\nexport type State = ReturnType< typeof reducer >;\n\nexport default reducer;\n","import { translate } from 'i18n-calypso';\nimport { stringify } from 'qs';\nimport validator from 'validator';\nimport { fetchAndParse, wpcomRequest } from '../wpcom-request-controls';\nimport {\n\treceiveCategories,\n\treceiveDomainSuggestionsSuccess,\n\treceiveDomainSuggestionsError,\n\tfetchDomainSuggestions,\n\treceiveDomainAvailability,\n} from './actions';\nimport { getFormattedPrice } from './utils';\nimport type { DomainSuggestion, DomainSuggestionQuery } from './types';\n\nfunction getAvailabilityURL( domainName: string ) {\n\treturn `https://public-api.wordpress.com/rest/v1.3/domains/${ encodeURIComponent(\n\t\tdomainName\n\t) }/is-available?is_cart_pre_check=true`;\n}\n\nfunction suggestionsLackThisFQDN( suggestions: DomainSuggestion[], domainName: string ) {\n\treturn (\n\t\tvalidator.isFQDN( domainName ) &&\n\t\t! suggestions.some( ( s ) => s.domain_name.toLowerCase() === domainName )\n\t);\n}\n\nexport const isAvailable = function* isAvailable( domainName: string ) {\n\tconst url = getAvailabilityURL( domainName );\n\n\ttry {\n\t\tconst { body } = yield fetchAndParse( url );\n\t\treturn receiveDomainAvailability( domainName, body );\n\t} catch {\n\t\t// the API returns a status of 'unknown' if it can not accurately determine\n\t\t// availability, we will return the same status if the API request fails.\n\t\treturn receiveDomainAvailability( domainName, {\n\t\t\tdomain_name: domainName,\n\t\t\tmappable: 'unknown',\n\t\t\tstatus: 'unknown',\n\t\t\tsupports_privacy: false,\n\t\t} );\n\t}\n};\n\nexport function* getCategories() {\n\tconst { body } = yield fetchAndParse(\n\t\t'https://public-api.wordpress.com/wpcom/v2/onboarding/domains/categories'\n\t);\n\treturn receiveCategories( body );\n}\n\nexport function* __internalGetDomainSuggestions( queryObject: DomainSuggestionQuery ) {\n\t// If normalized search string (`query`) contains no alphanumerics, endpoint 404s\n\tif ( ! queryObject.query ) {\n\t\treturn receiveDomainSuggestionsError( 'Empty query' );\n\t}\n\n\tyield fetchDomainSuggestions();\n\n\ttry {\n\t\tconst suggestions: DomainSuggestion[] = yield wpcomRequest( {\n\t\t\tapiVersion: '1.1',\n\t\t\tpath: '/domains/suggestions',\n\t\t\tquery: stringify( queryObject ),\n\t\t} );\n\n\t\tif ( ! Array.isArray( suggestions ) ) {\n\t\t\t// Other internal server errors\n\t\t\treturn receiveDomainSuggestionsError(\n\t\t\t\ttranslate( 'Invalid response from the server' ) as string\n\t\t\t);\n\t\t}\n\n\t\t// if the query is a FQDN and the results don't have it,\n\t\t// this implies that the user is searching for an unavailable domain name\n\t\t// TODO: query the availability endpoint to find the exact reason why it's unavailable\n\t\t// all the possible responses can be found here https://github.com/Automattic/wp-calypso/blob/trunk/client/lib/domains/registration/availability-messages.js#L40-L390\n\t\tif ( suggestionsLackThisFQDN( suggestions, queryObject.query ) ) {\n\t\t\tconst unavailableSuggestion: DomainSuggestion = {\n\t\t\t\tdomain_name: queryObject.query,\n\t\t\t\tunavailable: true,\n\t\t\t\tcost: '',\n\t\t\t\traw_price: 0,\n\t\t\t\tcurrency_code: '',\n\t\t\t};\n\t\t\tsuggestions.unshift( unavailableSuggestion );\n\t\t}\n\n\t\tconst processedSuggestions = suggestions.map( ( suggestion: DomainSuggestion ) => {\n\t\t\tif ( suggestion.unavailable ) {\n\t\t\t\treturn suggestion;\n\t\t\t}\n\t\t\treturn {\n\t\t\t\t...suggestion,\n\t\t\t\t...( suggestion.raw_price &&\n\t\t\t\t\tsuggestion.currency_code && {\n\t\t\t\t\t\tcost: getFormattedPrice( suggestion.raw_price, suggestion.currency_code ),\n\t\t\t\t\t} ),\n\t\t\t};\n\t\t} );\n\n\t\treturn receiveDomainSuggestionsSuccess( queryObject, processedSuggestions );\n\t} catch ( e ) {\n\t\t// e.g. no connection, or JSON parsing error\n\t\treturn receiveDomainSuggestionsError(\n\t\t\t( e as Error ).message || ( translate( 'Error while fetching server response' ) as string )\n\t\t);\n\t}\n}\n","import { select } from '@wordpress/data';\nimport { STORE_KEY, DataStatus } from './constants';\nimport { stringifyDomainQueryObject, normalizeDomainSuggestionQuery } from './utils';\nimport type { State } from './reducer';\nimport type {\n\tDomainAvailability,\n\tDomainAvailabilities,\n\tDomainCategory,\n\tDomainSuggestion,\n\tDomainSuggestionQuery,\n\tDomainSuggestionSelectorOptions,\n} from './types';\n\nexport const getCategories = ( state: State ): DomainCategory[] => {\n\t// Sort domain categories by tier, then by title.\n\treturn [\n\t\t...state.categories\n\t\t\t.filter( ( { tier } ) => tier !== null )\n\t\t\t.sort( ( a, b ) => ( a > b ? 1 : -1 ) ),\n\t\t...state.categories\n\t\t\t.filter( ( { tier } ) => tier === null )\n\t\t\t.sort( ( a, b ) => a.title.localeCompare( b.title ) ),\n\t];\n};\n\nexport const getDomainSuggestions = (\n\t_state: State,\n\tsearch: string,\n\toptions: DomainSuggestionSelectorOptions = {}\n): DomainSuggestion[] | undefined => {\n\tconst normalizedQuery = normalizeDomainSuggestionQuery( search, options );\n\n\t// We need to go through the `select` store to get the resolver action\n\treturn select( STORE_KEY ).__internalGetDomainSuggestions( normalizedQuery );\n};\n\nexport const getDomainState = ( state: State ): DataStatus => {\n\treturn state.domainSuggestions.state;\n};\n\nexport const getDomainErrorMessage = ( state: State ): string | null => {\n\treturn state.domainSuggestions.errorMessage;\n};\n\n// TODO: reconcile this function with \"Pending\" status?\n// It doesn't seem to be used\nexport const isLoadingDomainSuggestions = (\n\t_state: State,\n\tsearch: string,\n\toptions: DomainSuggestionSelectorOptions = {}\n): boolean => {\n\tconst normalizedQuery = normalizeDomainSuggestionQuery( search, options );\n\n\treturn select( 'core/data' ).isResolving( STORE_KEY, '__internalGetDomainSuggestions', [\n\t\tnormalizedQuery,\n\t] );\n};\n\n/**\n * Do not use this selector. It is for internal use.\n *\n * @param state Store state\n * @param queryObject Normalized object representing the query\n * @returns suggestions\n */\nexport const __internalGetDomainSuggestions = (\n\tstate: State,\n\tqueryObject: DomainSuggestionQuery\n): DomainSuggestion[] | undefined => {\n\treturn state.domainSuggestions.data[ stringifyDomainQueryObject( queryObject ) ];\n};\n\nexport const isAvailable = ( state: State, domainName: string ): DomainAvailability | undefined => {\n\treturn state.availability[ domainName ];\n};\n\nexport const getDomainAvailabilities = ( state: State ): DomainAvailabilities => {\n\treturn state.availability;\n};\n","import formatCurrency from '@automattic/format-currency';\nimport deterministicStringify from 'fast-json-stable-stringify';\nimport type { DomainSuggestionQuery, DomainSuggestionSelectorOptions } from './types';\n\n/**\n * Stable transform to an object key for storage and access.\n *\n * @see client/state/domains/suggestions/utils.js\n */\nexport const stringifyDomainQueryObject: ( q: DomainSuggestionQuery ) => string =\n\tdeterministicStringify;\n\n/**\n * Formats the domain suggestion price according to 'format-currency' package rules\n * We use this for consistency in prices formats across plans and domains\n *\n * @param price the domain suggestion raw price\n * @param currencyCode the currency code to be used when formatting price\n */\nexport function getFormattedPrice( price: number, currencyCode: string ): string {\n\treturn formatCurrency( price, currencyCode, {\n\t\tstripZeros: true,\n\t} ) as string;\n}\n\n/**\n * Normalize domain query\n *\n * It's important to have a consistent, reproduceable representation of a domains query so that the result can be\n * stored and retrieved.\n *\n * @see client/state/domains/suggestions/utils.js\n * @see client/components/data/query-domains-suggestions/index.jsx\n *\n * @param search Domain search string\n * @param queryOptions Optional paramaters for the query\n * @returns Normalized query object\n */\nexport function normalizeDomainSuggestionQuery(\n\tsearch: string,\n\tqueryOptions: DomainSuggestionSelectorOptions\n): DomainSuggestionQuery {\n\treturn {\n\t\t// Defaults\n\t\tinclude_wordpressdotcom: queryOptions.only_wordpressdotcom || false,\n\t\tinclude_dotblogsubdomain: false,\n\t\tonly_wordpressdotcom: false,\n\t\tquantity: 5,\n\t\tvendor: 'variation2_front',\n\n\t\t// Merge options\n\t\t...queryOptions,\n\n\t\t// Add the search query\n\t\tquery: search.trim().toLocaleLowerCase(),\n\t};\n}\n","import { select } from '@wordpress/data';\nimport { PLANS_STORE } from './constants';\nimport type { Plans } from '..';\nimport type * as DomainSuggestions from '../domain-suggestions';\nimport type { ReturnOrGeneratorYieldUnion } from '../mapped-types';\nimport type { LaunchStepType } from './types';\n\nexport const setSidebarFullscreen = () =>\n\t( {\n\t\ttype: 'SET_SIDEBAR_FULLSCREEN',\n\t} as const );\n\nexport const unsetSidebarFullscreen = () =>\n\t( {\n\t\ttype: 'UNSET_SIDEBAR_FULLSCREEN',\n\t} as const );\n\nexport const setStep = ( step: LaunchStepType ) =>\n\t( {\n\t\ttype: 'SET_STEP',\n\t\tstep,\n\t} as const );\n\nexport const setSiteTitle = ( title: string ) =>\n\t( {\n\t\ttype: 'SET_SITE_TITLE',\n\t\ttitle,\n\t} as const );\n\nexport const setDomain = ( domain: DomainSuggestions.DomainSuggestion ) =>\n\t( {\n\t\ttype: 'SET_DOMAIN',\n\t\tdomain,\n\t} as const );\n\nexport const unsetDomain = () =>\n\t( {\n\t\ttype: 'UNSET_DOMAIN',\n\t} as const );\n\nexport const confirmDomainSelection = () =>\n\t( {\n\t\ttype: 'CONFIRM_DOMAIN_SELECTION',\n\t} as const );\n\nexport const setDomainSearch = ( domainSearch: string ) =>\n\t( {\n\t\ttype: 'SET_DOMAIN_SEARCH',\n\t\tdomainSearch,\n\t} as const );\n\n/**\n * It's not recommended to export this function. We need the billing period\n * to be a side-effect of the plan. Please don't export this action creator as you might\n * create a discrepancy between the selected plan and the selected billing period\n *\n * @param billingPeriod the period\n */\nconst __internalSetBillingPeriod = ( billingPeriod: Plans.PlanBillingPeriod ) =>\n\t( {\n\t\ttype: 'SET_PLAN_BILLING_PERIOD',\n\t\tbillingPeriod,\n\t} as const );\n\nexport const setPlanProductId = function* ( planProductId: number | undefined ) {\n\tconst isFree = select( PLANS_STORE ).isPlanProductFree( planProductId );\n\n\tif ( ! isFree ) {\n\t\tconst planProduct = select( PLANS_STORE ).getPlanProductById( planProductId );\n\t\tconst billingPeriod = planProduct?.billingPeriod ?? 'ANNUALLY';\n\n\t\tyield __internalSetBillingPeriod( billingPeriod );\n\t}\n\n\treturn {\n\t\ttype: 'SET_PLAN_PRODUCT_ID',\n\t\tplanProductId,\n\t} as const;\n};\n\nexport const unsetPlanProductId = () =>\n\t( {\n\t\ttype: 'UNSET_PLAN_PRODUCT_ID',\n\t} as const );\n\n/* eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types */\nexport function updatePlan( planProductId: number | undefined ) {\n\t// keep updatePlan for backwards compat\n\treturn setPlanProductId( planProductId );\n}\n\nexport const openSidebar = () =>\n\t( {\n\t\ttype: 'OPEN_SIDEBAR',\n\t} as const );\n\nexport const closeSidebar = () =>\n\t( {\n\t\ttype: 'CLOSE_SIDEBAR',\n\t} as const );\n\nexport const openFocusedLaunch = () =>\n\t( {\n\t\ttype: 'OPEN_FOCUSED_LAUNCH',\n\t} as const );\n\nexport const closeFocusedLaunch = () =>\n\t( {\n\t\ttype: 'CLOSE_FOCUSED_LAUNCH',\n\t} as const );\n\nexport const enableAnchorFm = () =>\n\t( {\n\t\ttype: 'ENABLE_ANCHOR_FM',\n\t} as const );\n\nexport const showSiteTitleStep = () =>\n\t( {\n\t\ttype: 'SHOW_SITE_TITLE_STEP',\n\t} as const );\n\nexport const setModalDismissible = () =>\n\t( {\n\t\ttype: 'SET_MODAL_DISMISSIBLE',\n\t} as const );\n\nexport const unsetModalDismissible = () =>\n\t( {\n\t\ttype: 'UNSET_MODAL_DISMISSIBLE',\n\t} as const );\n\nexport const showModalTitle = () =>\n\t( {\n\t\ttype: 'SHOW_MODAL_TITLE',\n\t} as const );\n\nexport const hideModalTitle = () =>\n\t( {\n\t\ttype: 'HIDE_MODAL_TITLE',\n\t} as const );\n\nexport const enablePersistentSuccessView = () =>\n\t( {\n\t\ttype: 'ENABLE_SUCCESS_VIEW',\n\t} as const );\n\nexport const disablePersistentSuccessView = () =>\n\t( {\n\t\ttype: 'DISABLE_SUCCESS_VIEW',\n\t} as const );\n\nexport type LaunchAction = ReturnOrGeneratorYieldUnion<\n\t| typeof setSiteTitle\n\t| typeof unsetDomain\n\t| typeof setStep\n\t| typeof setDomain\n\t| typeof confirmDomainSelection\n\t| typeof setDomainSearch\n\t| typeof setPlanProductId\n\t| typeof openFocusedLaunch\n\t| typeof closeFocusedLaunch\n\t| typeof unsetPlanProductId\n\t| typeof openSidebar\n\t| typeof closeSidebar\n\t| typeof enableAnchorFm\n\t| typeof setSidebarFullscreen\n\t| typeof unsetSidebarFullscreen\n\t| typeof showSiteTitleStep\n\t| typeof setModalDismissible\n\t| typeof unsetModalDismissible\n\t| typeof showModalTitle\n\t| typeof hideModalTitle\n>;\n","export const STORE_KEY = 'automattic/launch';\nexport const SITE_STORE = 'automattic/site';\nexport const PLANS_STORE = 'automattic/onboard/plans';\n","export const LaunchStep: Record< string, string > = {\n\tName: 'name',\n\tDomain: 'domain',\n\tPlan: 'plan',\n\tFinal: 'final',\n};\n\nexport const LaunchSequence: Array< string > = [\n\tLaunchStep.Name,\n\tLaunchStep.Domain,\n\tLaunchStep.Plan,\n\tLaunchStep.Final,\n];\n","import { plugins, registerStore, use } from '@wordpress/data';\nimport { controls } from '@wordpress/data-controls';\nimport * as actions from './actions';\nimport { STORE_KEY } from './constants';\nimport persistOptions from './persist';\nimport reducer, { State } from './reducer';\nimport * as selectors from './selectors';\nimport type { SelectFromMap, DispatchFromMap } from '../mapped-types';\n\nexport type { State };\nexport type { LaunchStepType } from './types';\nexport { STORE_KEY };\n\nuse( plugins.persistence, persistOptions );\n\nlet isRegistered = false;\n\nexport function register(): typeof STORE_KEY {\n\tif ( ! isRegistered ) {\n\t\tisRegistered = true;\n\t\tregisterStore< State >( STORE_KEY, {\n\t\t\tactions,\n\t\t\tcontrols,\n\t\t\treducer,\n\t\t\tselectors,\n\t\t\tpersist: [\n\t\t\t\t'domain',\n\t\t\t\t'domainSearch',\n\t\t\t\t'planProductId',\n\t\t\t\t'planBillingPeriod',\n\t\t\t\t'confirmedDomainSelection',\n\t\t\t\t'isAnchorFm',\n\t\t\t\t'isSiteTitleStepVisible',\n\t\t\t\t'siteTitle',\n\t\t\t],\n\t\t} );\n\t}\n\treturn STORE_KEY;\n}\n\ndeclare module '@wordpress/data' {\n\tfunction dispatch( key: typeof STORE_KEY ): DispatchFromMap< typeof actions >;\n\tfunction select( key: typeof STORE_KEY ): SelectFromMap< typeof selectors >;\n}\n","import persistenceConfigFactory from '../persistence-config-factory';\n\nexport default persistenceConfigFactory( 'WP_LAUNCH' );\n","import { combineReducers } from '@wordpress/data';\nimport { LaunchStep } from './data';\nimport type { Plans } from '..';\nimport type * as DomainSuggestions from '../domain-suggestions';\nimport type { LaunchAction } from './actions';\nimport type { LaunchStepType } from './types';\nimport type { Reducer } from 'redux';\n\nconst step: Reducer< LaunchStepType, LaunchAction > = ( state = LaunchStep.Name, action ) => {\n\tif ( action.type === 'SET_STEP' ) {\n\t\treturn action.step;\n\t}\n\treturn state;\n};\n\nconst siteTitle: Reducer< string | undefined, LaunchAction > = ( state = undefined, action ) => {\n\tif ( action.type === 'SET_SITE_TITLE' ) {\n\t\treturn action.title;\n\t}\n\treturn state;\n};\n\nconst domain: Reducer< DomainSuggestions.DomainSuggestion | undefined, LaunchAction > = (\n\tstate,\n\taction\n) => {\n\tif ( action.type === 'SET_DOMAIN' ) {\n\t\treturn action.domain;\n\t}\n\tif ( action.type === 'UNSET_DOMAIN' ) {\n\t\treturn undefined;\n\t}\n\treturn state;\n};\n\nconst domainSearch: Reducer< string, LaunchAction > = ( state = '', action ) => {\n\tif ( action.type === 'SET_DOMAIN_SEARCH' ) {\n\t\treturn action.domainSearch;\n\t}\n\treturn state;\n};\n\nconst confirmedDomainSelection: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'CONFIRM_DOMAIN_SELECTION' ) {\n\t\treturn true;\n\t}\n\treturn state;\n};\n\nconst planProductId: Reducer< number | undefined, LaunchAction > = ( state, action ) => {\n\tif ( action.type === 'SET_PLAN_PRODUCT_ID' ) {\n\t\treturn action.planProductId;\n\t}\n\tif ( action.type === 'UNSET_PLAN_PRODUCT_ID' ) {\n\t\treturn undefined;\n\t}\n\treturn state;\n};\n\nconst planBillingPeriod: Reducer< Plans.PlanBillingPeriod, LaunchAction > = (\n\tstate = 'ANNUALLY',\n\taction\n) => {\n\tif ( action.type === 'SET_PLAN_BILLING_PERIOD' ) {\n\t\treturn action.billingPeriod;\n\t}\n\treturn state;\n};\n\n// Check if focused launch modal is open\nconst isFocusedLaunchOpen: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'OPEN_FOCUSED_LAUNCH' ) {\n\t\treturn true;\n\t}\n\n\tif ( action.type === 'CLOSE_FOCUSED_LAUNCH' ) {\n\t\treturn false;\n\t}\n\treturn state;\n};\n\n// Check if step-by-step launch modal is open\nconst isSidebarOpen: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'OPEN_SIDEBAR' ) {\n\t\treturn true;\n\t}\n\n\tif ( action.type === 'CLOSE_SIDEBAR' ) {\n\t\treturn false;\n\t}\n\treturn state;\n};\n\n// Check if step-by-step launch modal is full screen\nconst isSidebarFullscreen: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'SET_SIDEBAR_FULLSCREEN' ) {\n\t\treturn true;\n\t}\n\tif ( action.type === 'UNSET_SIDEBAR_FULLSCREEN' ) {\n\t\treturn false;\n\t}\n\treturn state;\n};\n\nconst isAnchorFm: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'ENABLE_ANCHOR_FM' ) {\n\t\treturn true;\n\t}\n\n\treturn state;\n};\n\n// Check if site title step should be displayed\nconst isSiteTitleStepVisible: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'SHOW_SITE_TITLE_STEP' ) {\n\t\treturn true;\n\t}\n\n\treturn state;\n};\n\n// Check if launch modal can be dismissed\nconst isModalDismissible: Reducer< boolean, LaunchAction > = ( state = true, action ) => {\n\tif ( action.type === 'SET_MODAL_DISMISSIBLE' ) {\n\t\treturn true;\n\t}\n\n\tif ( action.type === 'UNSET_MODAL_DISMISSIBLE' ) {\n\t\treturn false;\n\t}\n\n\treturn state;\n};\n\n// Check if launch modal title should be visible\nconst isModalTitleVisible: Reducer< boolean, LaunchAction > = ( state = true, action ) => {\n\tif ( action.type === 'SHOW_MODAL_TITLE' ) {\n\t\treturn true;\n\t}\n\n\tif ( action.type === 'HIDE_MODAL_TITLE' ) {\n\t\treturn false;\n\t}\n\n\treturn state;\n};\n\nconst reducer = combineReducers( {\n\tstep,\n\tsiteTitle,\n\tdomain,\n\tconfirmedDomainSelection,\n\tdomainSearch,\n\tplanBillingPeriod,\n\tplanProductId,\n\tisSidebarOpen,\n\tisSidebarFullscreen,\n\tisAnchorFm,\n\tisFocusedLaunchOpen,\n\tisSiteTitleStepVisible,\n\tisModalDismissible,\n\tisModalTitleVisible,\n} );\n\nexport type State = ReturnType< typeof reducer >;\n\nexport default reducer;\n","import { select } from '@wordpress/data';\nimport { STORE_KEY as LAUNCH_STORE, PLANS_STORE } from './constants';\nimport { LaunchSequence, LaunchStep } from './data';\nimport type { Plans } from '..';\nimport type * as DomainSuggestions from '../domain-suggestions';\nimport type { State } from './reducer';\nimport type { LaunchStepType } from './types';\n\nexport const getLaunchSequence = (): typeof LaunchSequence => LaunchSequence;\nexport const getLaunchStep = (): typeof LaunchStep => LaunchStep;\n\nexport const getState = ( state: State ): State => state;\nexport const hasPaidDomain = ( state: State ): boolean => {\n\tif ( ! state.domain ) {\n\t\treturn false;\n\t}\n\treturn ! state.domain.is_free; // @TODO: check if we are ever storing a paid domain\n};\nexport const getSelectedDomain = ( state: State ): DomainSuggestions.DomainSuggestion | undefined =>\n\tstate.domain;\nexport const getSelectedPlanProductId = ( state: State ): number | undefined => state.planProductId;\n\n/**\n * This returns the readonly value of the billing period.\n * This value is automatically inferred from the selected paid plan.\n * If the user picks a free plan, this value will remain unchanged and\n * will return the billing period of the previously selected paid plan.\n *\n * @param state the state\n */\nexport const getLastPlanBillingPeriod = ( state: State ): Plans.PlanBillingPeriod =>\n\tstate.planBillingPeriod;\n\nexport const isSelectedPlanPaid = ( state: State ): boolean =>\n\ttypeof state.planProductId !== 'undefined' &&\n\t! select( PLANS_STORE ).isPlanProductFree( state.planProductId );\n\n// Check if a domain has been explicitly selected (including free subdomain)\n/**\n * Check if the user has selected a domain, including explicitly selecting the subdomain\n * This is useful for step/flow completion in the context of highlighting steps or enabling Launch button\n *\n * @param state State\n */\nexport const hasSelectedDomainOrSubdomain = ( state: State ): boolean =>\n\t!! getSelectedDomain( state ) || state.confirmedDomainSelection;\n\n// Completion status of steps is derived from the state of the launch flow\n// Warning: because it's using getEntityRecord it works only inside the editor\nexport const isStepCompleted = ( state: State, step: LaunchStepType ): boolean => {\n\tif ( step === LaunchStep.Plan ) {\n\t\treturn !! getSelectedPlanProductId( state );\n\t}\n\tif ( step === LaunchStep.Name ) {\n\t\tconst site: { title?: string } | undefined = select( 'core' ).getEntityRecord(\n\t\t\t'root',\n\t\t\t'site',\n\t\t\tundefined\n\t\t);\n\t\treturn !! site?.title;\n\t}\n\tif ( step === LaunchStep.Domain ) {\n\t\treturn select( LAUNCH_STORE ).hasSelectedDomainOrSubdomain();\n\t}\n\treturn false;\n};\n\n// Check if all steps are completed except the last one\nexport const isFlowCompleted = ( state: State ): boolean =>\n\tLaunchSequence.slice( 0, LaunchSequence.length - 1 ).every( ( step ) =>\n\t\tisStepCompleted( state, step )\n\t);\n\n// Check if at least one step is completed\nexport const isFlowStarted = ( state: State ): boolean =>\n\tLaunchSequence.some( ( step ) => isStepCompleted( state, step ) );\n\n// Get first incomplete step\nexport const getFirstIncompleteStep = ( state: State ): LaunchStepType | undefined =>\n\tLaunchSequence.find( ( step ) => ! isStepCompleted( state, step ) );\n\nexport const getSiteTitle = ( state: State ): string | undefined => state?.siteTitle;\n\nexport const getCurrentStep = ( state: State ): string => state.step;\n\nexport const getDomainSearch = ( state: State ): string => state.domainSearch;\n","/*\n Defines the options used for the @wp/data persistence plugin, \n which include a persistent storage implementation to add data expiration handling.\n*/\n\n/**\n * Creates a storage config for state persistence\n *\n * @param storageKey Unique key to the storage\n */\nexport default function createPersistenceConfig( storageKey: string ) {\n\tconst PERSISTENCE_INTERVAL = 7 * 24 * 3600000; // days * hours in days * ms in hour\n\tconst STORAGE_KEY = storageKey;\n\tconst STORAGE_TS_KEY = storageKey + '_TS';\n\n\t// A plain object fallback if localStorage is not available\n\tconst objStore: { [ key: string ]: string } = {};\n\n\tconst objStorage: Pick< Storage, 'getItem' | 'setItem' | 'removeItem' > = {\n\t\tgetItem( key ) {\n\t\t\tif ( objStore.hasOwnProperty( key ) ) {\n\t\t\t\treturn objStore[ key ];\n\t\t\t}\n\n\t\t\treturn null;\n\t\t},\n\t\tsetItem( key, value ) {\n\t\t\tobjStore[ key ] = String( value );\n\t\t},\n\t\tremoveItem( key ) {\n\t\t\tdelete objStore[ key ];\n\t\t},\n\t};\n\n\t// Make sure localStorage support exists\n\tconst localStorageSupport = (): boolean => {\n\t\ttry {\n\t\t\twindow.localStorage.setItem( 'WP_ONBOARD_TEST', '1' );\n\t\t\twindow.localStorage.removeItem( 'WP_ONBOARD_TEST' );\n\t\t\treturn true;\n\t\t} catch ( e ) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\t// Choose the right storage implementation\n\tconst storageHandler = localStorageSupport() ? window.localStorage : objStorage;\n\n\t// Persisted data expires after seven days\n\tconst isNotExpired = ( timestampStr: string ): boolean => {\n\t\tconst timestamp = Number( timestampStr );\n\t\treturn Boolean( timestamp ) && timestamp + PERSISTENCE_INTERVAL > Date.now();\n\t};\n\n\t// Check for \"fresh\" query param\n\tconst hasFreshParam = (): boolean => {\n\t\treturn new URLSearchParams( window.location.search ).has( 'fresh' );\n\t};\n\n\t// Handle data expiration by providing a storage object override to the @wp/data persistence plugin.\n\tconst storage: Pick< Storage, 'getItem' | 'setItem' > = {\n\t\tgetItem( key ) {\n\t\t\tconst timestamp = storageHandler.getItem( STORAGE_TS_KEY );\n\n\t\t\tif ( timestamp && isNotExpired( timestamp ) && ! hasFreshParam() ) {\n\t\t\t\treturn storageHandler.getItem( key );\n\t\t\t}\n\n\t\t\tstorageHandler.removeItem( STORAGE_KEY );\n\t\t\tstorageHandler.removeItem( STORAGE_TS_KEY );\n\n\t\t\treturn null;\n\t\t},\n\t\tsetItem( key, value ) {\n\t\t\tstorageHandler.setItem( STORAGE_TS_KEY, JSON.stringify( Date.now() ) );\n\t\t\tstorageHandler.setItem( key, value );\n\t\t},\n\t};\n\n\tconst persistOptions = {\n\t\tstorageKey: STORAGE_KEY,\n\t\tstorage,\n\t};\n\n\treturn persistOptions;\n}\n","import type { Plan, PlanFeature, FeaturesByType, PlanProduct } from './types';\n\ntype setFeaturesAction = {\n\ttype: 'SET_FEATURES';\n\tfeatures: Record< string, PlanFeature >;\n\tlocale: string;\n};\nexport const setFeatures = (\n\tfeatures: Record< string, PlanFeature >,\n\tlocale: string\n): setFeaturesAction => ( {\n\ttype: 'SET_FEATURES' as const,\n\tfeatures,\n\tlocale,\n} );\n\ntype setFeaturesByTypeAction = {\n\ttype: 'SET_FEATURES_BY_TYPE';\n\tfeaturesByType: Array< FeaturesByType >;\n\tlocale: string;\n};\nexport const setFeaturesByType = (\n\tfeaturesByType: Array< FeaturesByType >,\n\tlocale: string\n): setFeaturesByTypeAction => ( {\n\ttype: 'SET_FEATURES_BY_TYPE' as const,\n\tfeaturesByType,\n\tlocale,\n} );\n\ntype setPlansAction = {\n\ttype: 'SET_PLANS';\n\tplans: Plan[];\n\tlocale: string;\n};\nexport const setPlans = ( plans: Plan[], locale: string ): setPlansAction => ( {\n\ttype: 'SET_PLANS' as const,\n\tplans,\n\tlocale,\n} );\n\ntype setPlanProductsAction = {\n\ttype: 'SET_PLAN_PRODUCTS';\n\tproducts: PlanProduct[];\n};\nexport const setPlanProducts = ( products: PlanProduct[] ): setPlanProductsAction => ( {\n\ttype: 'SET_PLAN_PRODUCTS' as const,\n\tproducts,\n} );\n\ntype resetPlanAction = { type: 'RESET_PLAN' };\nexport const resetPlan = (): resetPlanAction => ( {\n\ttype: 'RESET_PLAN' as const,\n} );\n\nexport type PlanAction = ReturnType<\n\t| typeof setFeatures\n\t| typeof setFeaturesByType\n\t| typeof setPlans\n\t| typeof resetPlan\n\t| typeof setPlanProducts\n\t| ( () => { type: 'NOOP' } )\n>;\n","export const STORE_KEY = 'automattic/onboard/plans';\n\nexport const FREE_PLAN_PRODUCT_ID = 1;\n\n// plans constants\nexport const TIMELESS_PLAN_FREE = 'free';\nexport const TIMELESS_PLAN_PERSONAL = 'personal';\nexport const TIMELESS_PLAN_PREMIUM = 'premium';\nexport const TIMELESS_PLAN_BUSINESS = 'business';\nexport const TIMELESS_PLAN_ECOMMERCE = 'ecommerce';\n\nexport const plansSlugs = [\n\tTIMELESS_PLAN_FREE,\n\tTIMELESS_PLAN_PERSONAL,\n\tTIMELESS_PLAN_PREMIUM,\n\tTIMELESS_PLAN_BUSINESS,\n\tTIMELESS_PLAN_ECOMMERCE,\n] as const;\n\n// order of the plans used to determine recommended plan based on features\nexport const plansOrder = plansSlugs;\n\nexport const DEFAULT_PAID_PLAN = TIMELESS_PLAN_PREMIUM;\n\n// plan products constants\nexport const PLAN_FREE = 'free_plan';\nexport const PLAN_PERSONAL = 'personal-bundle';\nexport const PLAN_PREMIUM = 'value_bundle';\nexport const PLAN_BUSINESS = 'business-bundle';\nexport const PLAN_ECOMMERCE = 'ecommerce-bundle';\n\nexport const PLAN_PERSONAL_MONTHLY = 'personal-bundle-monthly';\nexport const PLAN_PREMIUM_MONTHLY = 'value_bundle_monthly';\nexport const PLAN_BUSINESS_MONTHLY = 'business-bundle-monthly';\nexport const PLAN_ECOMMERCE_MONTHLY = 'ecommerce-bundle-monthly';\n\nexport const annualSlugs = [ PLAN_PERSONAL, PLAN_PREMIUM, PLAN_BUSINESS, PLAN_ECOMMERCE ] as const;\n\nexport const monthlySlugs = [\n\tPLAN_PERSONAL_MONTHLY,\n\tPLAN_PREMIUM_MONTHLY,\n\tPLAN_BUSINESS_MONTHLY,\n\tPLAN_ECOMMERCE_MONTHLY,\n] as const;\n\nexport const plansProductSlugs = [ PLAN_FREE, ...annualSlugs, ...monthlySlugs ] as const;\n\nexport const FEATURE_IDS_THAT_REQUIRE_ANNUALLY_BILLED_PLAN = [\n\t'custom-domain',\n\t'support-live',\n\t'priority-support',\n];\n","import { registerStore } from '@wordpress/data';\nimport { controls } from '../wpcom-request-controls';\nimport * as actions from './actions';\nimport { STORE_KEY } from './constants';\nimport reducer, { State } from './reducer';\nimport * as resolvers from './resolvers';\nimport * as selectors from './selectors';\nimport type { SelectFromMap, DispatchFromMap } from '../mapped-types';\n\nexport type { State };\nexport type {\n\tPlan,\n\tPlanSlug,\n\tStorePlanSlug,\n\tPlanProduct,\n\tPlanFeature,\n\tPlanPath,\n\tPlanBillingPeriod,\n\tPlanSimplifiedFeature,\n} from './types';\n\n// plansSlugs is a list with the identifiers for each plan and they are agnostic of billing period; eg: 'free', 'personal'\n// plansSlugs is also used to construct the route that accepts plan slugs like '/free', '/personal', '/business'\n// plansProductSlugs is a list with the identifiers for each plan product (including the billing period); eg: 'personal-bundle', 'personal-bundle-monthly'\n// TIMELESS_* is the slug for each plan\nexport {\n\tplansSlugs,\n\tplansProductSlugs,\n\tTIMELESS_PLAN_FREE,\n\tTIMELESS_PLAN_PERSONAL,\n\tTIMELESS_PLAN_PREMIUM,\n\tTIMELESS_PLAN_BUSINESS,\n\tTIMELESS_PLAN_ECOMMERCE,\n\tFREE_PLAN_PRODUCT_ID,\n} from './constants';\n\nlet isRegistered = false;\n\nexport function register(): typeof STORE_KEY {\n\tif ( ! isRegistered ) {\n\t\tisRegistered = true;\n\t\tregisterStore< State >( STORE_KEY, {\n\t\t\tresolvers,\n\t\t\tactions,\n\t\t\tcontrols: controls as any,\n\t\t\treducer,\n\t\t\tselectors,\n\t\t} );\n\t}\n\treturn STORE_KEY;\n}\n\ndeclare module '@wordpress/data' {\n\tfunction dispatch( key: typeof STORE_KEY ): DispatchFromMap< typeof actions >;\n\tfunction select( key: typeof STORE_KEY ): SelectFromMap< typeof selectors >;\n}\n","import { combineReducers } from '@wordpress/data';\nimport type { PlanAction } from './actions';\nimport type { Plan, PlanFeature, FeaturesByType, PlanProduct } from './types';\nimport type { Reducer } from 'redux';\n\n// create a Locale type just for code readability\ntype Locale = string;\n\nexport const features: Reducer< Record< Locale, Record< string, PlanFeature > >, PlanAction > = (\n\tstate = {},\n\taction\n) => {\n\tswitch ( action.type ) {\n\t\tcase 'SET_FEATURES':\n\t\t\treturn { ...state, [ action.locale ]: action.features };\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n\nexport const featuresByType: Reducer< Record< Locale, Array< FeaturesByType > >, PlanAction > = (\n\tstate = {},\n\taction\n) => {\n\tswitch ( action.type ) {\n\t\tcase 'SET_FEATURES_BY_TYPE':\n\t\t\treturn { ...state, [ action.locale ]: action.featuresByType };\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n\nexport const plans: Reducer< Record< Locale, Plan[] >, PlanAction > = ( state = {}, action ) => {\n\tswitch ( action.type ) {\n\t\tcase 'SET_PLANS':\n\t\t\treturn { ...state, [ action.locale ]: action.plans };\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n\nexport const planProducts: Reducer< PlanProduct[], PlanAction > = ( state = [], action ) => {\n\tswitch ( action.type ) {\n\t\tcase 'SET_PLAN_PRODUCTS':\n\t\t\treturn action.products;\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n\nconst reducer = combineReducers( {\n\tfeatures,\n\tfeaturesByType,\n\tplanProducts,\n\tplans,\n} );\n\nexport type State = ReturnType< typeof reducer >;\n\nexport default reducer;\n","import formatCurrency from '@automattic/format-currency';\nimport { stringify } from 'qs';\nimport { fetchAndParse, wpcomRequest } from '../wpcom-request-controls';\nimport { setFeatures, setFeaturesByType, setPlanProducts, setPlans } from './actions';\nimport {\n\tTIMELESS_PLAN_FREE,\n\tTIMELESS_PLAN_PREMIUM,\n\tplansProductSlugs,\n\tmonthlySlugs,\n\tannualSlugs,\n\tFEATURE_IDS_THAT_REQUIRE_ANNUALLY_BILLED_PLAN,\n} from './constants';\nimport type {\n\tPricedAPIPlan,\n\tAPIPlanDetail,\n\tPlanSimplifiedFeature,\n\tPlan,\n\tDetailsAPIResponse,\n\tPlanFeature,\n\tPlanProduct,\n\tPlanSlug,\n\tDetailsAPIFeature,\n} from './types';\n\nconst MONTHLY_PLAN_BILLING_PERIOD = 31;\n\n/**\n * Calculates the monthly price of a plan\n * Annual plans are only priced yearly\n *\n * @param plan the plan object\n */\nfunction getMonthlyPrice( plan: PricedAPIPlan ) {\n\treturn formatCurrency( plan.raw_price / 12, plan.currency_code, { stripZeros: true } ) as string;\n}\n\n/**\n * Calculates the yearly price of a monthly plan\n *\n * @param plan the plan object\n */\nfunction getAnnualPrice( plan: PricedAPIPlan ) {\n\treturn formatCurrency( plan.raw_price * 12, plan.currency_code, { stripZeros: true } ) as string;\n}\n\n/**\n * Formats the plan price according to 'format-currency' package rules\n * We use this for consistency in prices formats across monthly and annual plans\n *\n * @param plan the plan object\n */\nfunction getFormattedPrice( plan: PricedAPIPlan ) {\n\treturn formatCurrency( plan.raw_price, plan.currency_code, { stripZeros: true } ) as string;\n}\n\nfunction calculateDiscounts( planProducts: PlanProduct[] ) {\n\t// calculate discounts\n\tfor ( let i = 0; i < annualSlugs.length; i++ ) {\n\t\tconst annualPlan = planProducts.find( ( plan ) => plan.storeSlug === annualSlugs[ i ] );\n\t\tconst monthlyPlan = planProducts.find( ( plan ) => plan.storeSlug === monthlySlugs[ i ] );\n\n\t\tif ( annualPlan && monthlyPlan ) {\n\t\t\tconst annualCostIfPaidMonthly = monthlyPlan.rawPrice * 12;\n\t\t\tconst annualCostIfPaidAnnually = annualPlan.rawPrice;\n\t\t\tconst discount = Math.round(\n\t\t\t\t100 * ( 1 - annualCostIfPaidAnnually / annualCostIfPaidMonthly )\n\t\t\t);\n\t\t\tannualPlan.annualDiscount = discount;\n\t\t\tmonthlyPlan.annualDiscount = discount;\n\t\t}\n\t}\n}\n\nfunction processFeatures( features: DetailsAPIFeature[] ) {\n\treturn features.reduce( ( features, feature ) => {\n\t\tfeatures[ feature.id ] = {\n\t\t\tid: feature.id,\n\t\t\tname: feature.name,\n\t\t\tdescription: feature.description,\n\t\t\ttype: 'checkbox',\n\t\t\trequiresAnnuallyBilledPlan:\n\t\t\t\tFEATURE_IDS_THAT_REQUIRE_ANNUALLY_BILLED_PLAN.indexOf( feature.id ) > -1,\n\t\t};\n\t\treturn features;\n\t}, {} as Record< string, PlanFeature > );\n}\n\nfunction featureRequiresAnnual(\n\tfeatureName: string,\n\tallFeaturesData: Record< string, PlanFeature >\n): boolean {\n\tconst matchedFeatureId = Object.keys( allFeaturesData ).find(\n\t\t( featureId ) => allFeaturesData[ featureId ].name === featureName\n\t);\n\n\tif ( matchedFeatureId ) {\n\t\treturn allFeaturesData[ matchedFeatureId ].requiresAnnuallyBilledPlan;\n\t}\n\n\treturn false;\n}\n\nfunction processPlanFeatures(\n\tplanData: APIPlanDetail,\n\tallFeaturesData: Record< string, PlanFeature >\n): PlanSimplifiedFeature[] {\n\tconst features: PlanSimplifiedFeature[] = planData.highlighted_features.map(\n\t\t( featureName ) => ( {\n\t\t\tname: featureName,\n\t\t\trequiresAnnuallyBilledPlan: featureRequiresAnnual( featureName, allFeaturesData ),\n\t\t} )\n\t);\n\n\t// Features requiring an annually billed plan should be first in the array.\n\tfeatures.sort(\n\t\t( a, b ) => Number( b.requiresAnnuallyBilledPlan ) - Number( a.requiresAnnuallyBilledPlan )\n\t);\n\n\treturn features;\n}\n\nfunction normalizePlanProducts(\n\tpricedPlans: PricedAPIPlan[],\n\tperiodAgnosticPlans: Plan[]\n): PlanProduct[] {\n\tconst plansProducts: PlanProduct[] = plansProductSlugs.reduce( ( plans, slug ) => {\n\t\tconst planProduct = pricedPlans.find( ( pricedPlan ) => pricedPlan.product_slug === slug );\n\n\t\tif ( ! planProduct ) {\n\t\t\treturn plans;\n\t\t}\n\n\t\tconst periodAgnosticPlan = periodAgnosticPlans.find(\n\t\t\t( plan ) => plan.productIds.indexOf( planProduct.product_id ) > -1\n\t\t) as Plan;\n\n\t\tplans.push( {\n\t\t\tproductId: planProduct.product_id,\n\t\t\t// This means that free plan is considered \"annually billed\"\n\t\t\tbillingPeriod:\n\t\t\t\tplanProduct.bill_period === MONTHLY_PLAN_BILLING_PERIOD ? 'MONTHLY' : 'ANNUALLY',\n\t\t\tperiodAgnosticSlug: periodAgnosticPlan.periodAgnosticSlug,\n\t\t\tstoreSlug: planProduct.product_slug,\n\t\t\trawPrice: planProduct.raw_price,\n\t\t\t// Not all plans returned from /plans have a `path_slug` (e.g. monthly plans don't have)\n\t\t\tpathSlug: planProduct.path_slug,\n\t\t\tprice:\n\t\t\t\tplanProduct?.bill_period === MONTHLY_PLAN_BILLING_PERIOD || planProduct.raw_price === 0\n\t\t\t\t\t? getFormattedPrice( planProduct )\n\t\t\t\t\t: getMonthlyPrice( planProduct ),\n\t\t\tannualPrice:\n\t\t\t\tplanProduct?.bill_period === MONTHLY_PLAN_BILLING_PERIOD\n\t\t\t\t\t? getAnnualPrice( planProduct )\n\t\t\t\t\t: getFormattedPrice( planProduct ),\n\t\t} );\n\t\treturn plans;\n\t}, [] as PlanProduct[] );\n\tcalculateDiscounts( plansProducts );\n\treturn plansProducts;\n}\n\nexport function* getSupportedPlans( locale = 'en' ) {\n\tconst pricedPlans: PricedAPIPlan[] = yield wpcomRequest( {\n\t\tpath: '/plans',\n\t\tquery: stringify( { locale } ),\n\t\tapiVersion: '1.5',\n\t} );\n\n\tconst { body: plansFeatures } = ( yield fetchAndParse(\n\t\t`https://public-api.wordpress.com/wpcom/v2/plans/details?locale=${ encodeURIComponent(\n\t\t\tlocale\n\t\t) }`,\n\t\t{\n\t\t\tmode: 'cors',\n\t\t\tcredentials: 'omit',\n\t\t}\n\t) ) as { body: DetailsAPIResponse };\n\n\tconst features = processFeatures( plansFeatures.features );\n\n\tconst periodAgnosticPlans: Plan[] = plansFeatures.plans.map( ( plan ) => {\n\t\tconst planSlug = plan.nonlocalized_short_name?.toLowerCase() as PlanSlug;\n\n\t\treturn {\n\t\t\tdescription: plan.tagline,\n\t\t\tfeatures: processPlanFeatures( plan, features ),\n\t\t\tstorage: plan.storage,\n\t\t\ttitle: plan.short_name,\n\t\t\tfeaturesSlugs: plan.features.reduce( ( slugs, slug ) => {\n\t\t\t\tslugs[ slug ] = true;\n\t\t\t\treturn slugs;\n\t\t\t}, {} as Record< string, boolean > ),\n\t\t\tisFree: planSlug === TIMELESS_PLAN_FREE,\n\t\t\tisPopular: planSlug === TIMELESS_PLAN_PREMIUM,\n\t\t\tperiodAgnosticSlug: planSlug,\n\t\t\tproductIds: plan.products.map( ( { plan_id } ) => plan_id ),\n\t\t};\n\t} );\n\n\tconst planProducts = normalizePlanProducts( pricedPlans, periodAgnosticPlans );\n\n\tyield setPlans( periodAgnosticPlans, locale );\n\tyield setPlanProducts( planProducts );\n\tyield setFeatures( features, locale );\n\tyield setFeaturesByType( plansFeatures.features_by_type, locale );\n}\n","import { select } from '@wordpress/data';\nimport deprecate from '@wordpress/deprecated';\nimport {\n\tDEFAULT_PAID_PLAN,\n\tTIMELESS_PLAN_ECOMMERCE,\n\tTIMELESS_PLAN_FREE,\n\tSTORE_KEY,\n\tFREE_PLAN_PRODUCT_ID,\n} from './constants';\nimport type { State } from './reducer';\nimport type {\n\tPlan,\n\tPlanFeature,\n\tFeaturesByType,\n\tPlanProduct,\n\tPlanPath,\n\tPlanSlug,\n\tStorePlanSlug,\n} from './types';\n\n// Some of these selectors require unused parameters because those\n// params are used by the associated resolver.\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\nexport const getFeatures = ( state: State, locale: string ): Record< string, PlanFeature > =>\n\tstate.features[ locale ] ?? {};\n\nexport const getFeaturesByType = ( state: State, locale: string ): Array< FeaturesByType > =>\n\tstate.featuresByType[ locale ] ?? [];\n\nexport const getPlanByProductId = (\n\t_state: State,\n\tproductId: number | undefined,\n\tlocale: string\n): Plan | undefined => {\n\tif ( ! productId ) {\n\t\treturn undefined;\n\t}\n\n\treturn select( STORE_KEY )\n\t\t.getSupportedPlans( locale )\n\t\t.find( ( plan ) => plan.productIds.indexOf( productId ) > -1 );\n};\n\nexport const getPlanProductById = (\n\t_state: State,\n\tproductId: number | undefined\n): PlanProduct | undefined => {\n\tif ( ! productId ) {\n\t\treturn undefined;\n\t}\n\n\treturn select( STORE_KEY )\n\t\t.getPlansProducts()\n\t\t.find( ( product ) => product.productId === productId );\n};\n\nexport const getPlanByPeriodAgnosticSlug = (\n\t_state: State,\n\tslug: PlanSlug | undefined,\n\tlocale: string\n): Plan | undefined => {\n\tif ( ! slug ) {\n\t\treturn undefined;\n\t}\n\treturn select( STORE_KEY )\n\t\t.getSupportedPlans( locale )\n\t\t.find( ( plan ) => plan.periodAgnosticSlug === slug );\n};\n\nexport const getDefaultPaidPlan = ( _: State, locale: string ): Plan | undefined => {\n\treturn select( STORE_KEY )\n\t\t.getSupportedPlans( locale )\n\t\t.find( ( plan ) => plan.periodAgnosticSlug === DEFAULT_PAID_PLAN );\n};\n\nexport const getDefaultFreePlan = ( _: State, locale: string ): Plan | undefined => {\n\treturn select( STORE_KEY )\n\t\t.getSupportedPlans( locale )\n\t\t.find( ( plan ) => plan.periodAgnosticSlug === TIMELESS_PLAN_FREE );\n};\n\nexport const getSupportedPlans = ( state: State, _locale: string ): Plan[] => {\n\treturn state.plans[ _locale ] ?? [];\n};\n\nexport const getPlansProducts = ( state: State ): PlanProduct[] => {\n\treturn state.planProducts;\n};\n\n/**\n * @deprecated getPrices is deprecated, please use plan.price directly\n *\n * @param _state the state\n * @param _locale the locale\n */\nexport const getPrices = ( _state: State, _locale: string ): Record< StorePlanSlug, string > => {\n\tdeprecate( 'getPrices', {\n\t\talternative: 'getPlanProduct().price',\n\t} );\n\treturn select( STORE_KEY )\n\t\t.getPlansProducts()\n\t\t.reduce( ( prices, plan ) => {\n\t\t\tprices[ plan.storeSlug ] = plan.price;\n\t\t\treturn prices;\n\t\t}, {} as Record< StorePlanSlug, string > );\n};\n\nexport const getPlanByPath = (\n\t_state: State,\n\tpath: PlanPath | undefined,\n\tlocale: string\n): Plan | undefined => {\n\tif ( ! path ) {\n\t\treturn undefined;\n\t}\n\n\tconst planProduct = select( STORE_KEY )\n\t\t.getPlansProducts()\n\t\t.find( ( product ) => product.pathSlug === path );\n\n\tif ( ! planProduct ) {\n\t\treturn undefined;\n\t}\n\n\treturn select( STORE_KEY )\n\t\t.getSupportedPlans( locale )\n\t\t.find( ( plan ) => plan.periodAgnosticSlug === planProduct.periodAgnosticSlug );\n};\n\nexport const getPlanProduct = (\n\t_state: State,\n\tperiodAgnosticSlug: string | undefined,\n\tbillingPeriod: PlanProduct[ 'billingPeriod' ] | undefined\n): PlanProduct | undefined => {\n\tif ( ! periodAgnosticSlug || ! billingPeriod ) {\n\t\treturn undefined;\n\t}\n\n\treturn select( STORE_KEY )\n\t\t.getPlansProducts()\n\t\t.find( ( product ) => {\n\t\t\tconst matchesSlug = product.periodAgnosticSlug === periodAgnosticSlug;\n\t\t\t// The billing period doesn't matter when dealing with free plan\n\t\t\tconst matchesBillingPeriod =\n\t\t\t\tperiodAgnosticSlug === TIMELESS_PLAN_FREE || product.billingPeriod === billingPeriod;\n\n\t\t\treturn matchesSlug && matchesBillingPeriod;\n\t\t} );\n};\n\nexport const isPlanEcommerce = ( _: State, planSlug?: PlanSlug ): boolean => {\n\treturn planSlug === TIMELESS_PLAN_ECOMMERCE;\n};\n\nexport const isPlanFree = ( _: State, planSlug?: PlanSlug ): boolean => {\n\treturn planSlug === TIMELESS_PLAN_FREE;\n};\n\nexport const isPlanProductFree = ( _: State, planProductId: number | undefined ): boolean =>\n\tplanProductId === FREE_PLAN_PRODUCT_ID;\n","import { Design } from '@automattic/design-picker/src/types';\nimport { wpcomRequest } from '../wpcom-request-controls';\nimport {\n\tSiteLaunchError,\n\tAtomicTransferError,\n\tLatestAtomicTransferError,\n\tAtomicSoftwareStatusError,\n\tAtomicSoftwareInstallError,\n\tHappyChatAvailability,\n\tEmailSupportAvailability,\n} from './types';\nimport type { WpcomClientCredentials } from '../shared-types';\nimport type {\n\tCreateSiteParams,\n\tNewSiteErrorResponse,\n\tNewSiteSuccessResponse,\n\tSiteDetails,\n\tSiteError,\n\tCart,\n\tDomain,\n\tLatestAtomicTransfer,\n\tSiteLaunchError as SiteLaunchErrorType,\n\tAtomicTransferError as AtomicTransferErrorType,\n\tLatestAtomicTransferError as LatestAtomicTransferErrorType,\n\tAtomicSoftwareStatusError as AtomicSoftwareStatusErrorType,\n\tAtomicSoftwareInstallError as AtomicSoftwareInstallErrorType,\n\tAtomicSoftwareStatus,\n\tSiteSettings,\n} from './types';\n\nexport function createActions( clientCreds: WpcomClientCredentials ) {\n\tconst fetchSite = () => ( {\n\t\ttype: 'FETCH_SITE' as const,\n\t} );\n\n\tconst fetchNewSite = () => ( {\n\t\ttype: 'FETCH_NEW_SITE' as const,\n\t} );\n\n\tconst receiveNewSite = ( response: NewSiteSuccessResponse ) => ( {\n\t\ttype: 'RECEIVE_NEW_SITE' as const,\n\t\tresponse,\n\t} );\n\n\tconst receiveNewSiteFailed = ( error: NewSiteErrorResponse ) => ( {\n\t\ttype: 'RECEIVE_NEW_SITE_FAILED' as const,\n\t\terror,\n\t} );\n\n\tconst receiveHappyChatAvailability = ( availability: HappyChatAvailability ) => ( {\n\t\ttype: 'RECEIVE_HAPPY_CHAT_AVAILABILITY' as const,\n\t\tavailability,\n\t} );\n\n\tconst receiveEmailSupportAvailability = ( availability: EmailSupportAvailability ) => ( {\n\t\ttype: 'RECEIVE_EMAIL_SUPPORT_AVAILABILITY' as const,\n\t\tavailability,\n\t} );\n\n\tfunction* createSite( params: CreateSiteParams ) {\n\t\tyield fetchNewSite();\n\t\ttry {\n\t\t\tconst { authToken, ...providedParams } = params;\n\n\t\t\tconst defaultParams = {\n\t\t\t\tclient_id: clientCreds.client_id,\n\t\t\t\tclient_secret: clientCreds.client_secret,\n\t\t\t\t// will find an available `*.wordpress.com` url based on the `blog_name`\n\t\t\t\tfind_available_url: true,\n\t\t\t\t// Private site is default, but overridable, setting\n\t\t\t\tpublic: -1,\n\t\t\t};\n\n\t\t\tconst mergedParams = {\n\t\t\t\t...defaultParams,\n\t\t\t\t...providedParams,\n\t\t\t\t// Set to false because site validation should be a separate action\n\t\t\t\tvalidate: false,\n\t\t\t};\n\n\t\t\tconst newSite: NewSiteSuccessResponse = yield wpcomRequest( {\n\t\t\t\tpath: '/sites/new',\n\t\t\t\tapiVersion: '1.1',\n\t\t\t\tmethod: 'post',\n\t\t\t\tbody: mergedParams,\n\t\t\t\ttoken: authToken,\n\t\t\t} );\n\n\t\t\tyield receiveNewSite( newSite );\n\t\t\treturn true;\n\t\t} catch ( err ) {\n\t\t\tyield receiveNewSiteFailed( err as NewSiteErrorResponse );\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tconst receiveSite = ( siteId: number, response: SiteDetails | undefined ) => ( {\n\t\ttype: 'RECEIVE_SITE' as const,\n\t\tsiteId,\n\t\tresponse,\n\t} );\n\n\tconst receiveSiteTitle = ( siteId: number, name: string | undefined ) => ( {\n\t\ttype: 'RECEIVE_SITE_TITLE' as const,\n\t\tsiteId,\n\t\tname,\n\t} );\n\n\tconst receiveSiteTagline = ( siteId: number, tagline: string | undefined ) => ( {\n\t\ttype: 'RECEIVE_SITE_TAGLINE' as const,\n\t\tsiteId,\n\t\ttagline,\n\t} );\n\n\tconst receiveSiteVerticalId = ( siteId: number, verticalId: string | undefined ) => ( {\n\t\ttype: 'RECEIVE_SITE_VERTICAL_ID' as const,\n\t\tsiteId,\n\t\tverticalId,\n\t} );\n\n\tconst receiveSiteFailed = ( siteId: number, response: SiteError | undefined ) => ( {\n\t\ttype: 'RECEIVE_SITE_FAILED' as const,\n\t\tsiteId,\n\t\tresponse,\n\t} );\n\n\tconst reset = () => ( {\n\t\ttype: 'RESET_SITE_STORE' as const,\n\t} );\n\n\tconst resetNewSiteFailed = () => ( {\n\t\ttype: 'RESET_RECEIVE_NEW_SITE_FAILED' as const,\n\t} );\n\n\tconst launchSiteStart = ( siteId: number ) => ( {\n\t\ttype: 'LAUNCH_SITE_START' as const,\n\t\tsiteId,\n\t} );\n\n\tconst launchSiteSuccess = ( siteId: number ) => ( {\n\t\ttype: 'LAUNCH_SITE_SUCCESS' as const,\n\t\tsiteId,\n\t} );\n\n\tconst launchSiteFailure = ( siteId: number, error: SiteLaunchErrorType ) => ( {\n\t\ttype: 'LAUNCH_SITE_FAILURE' as const,\n\t\tsiteId,\n\t\terror,\n\t} );\n\n\tfunction* launchSite( siteId: number ) {\n\t\tyield launchSiteStart( siteId );\n\t\ttry {\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ siteId }/launch`,\n\t\t\t\tapiVersion: '1.1',\n\t\t\t\tmethod: 'post',\n\t\t\t} );\n\t\t\tyield launchSiteSuccess( siteId );\n\t\t} catch ( _ ) {\n\t\t\tyield launchSiteFailure( siteId, SiteLaunchError.INTERNAL );\n\t\t}\n\t}\n\n\t// TODO: move getCart and setCart to a 'cart' data-store\n\tfunction* getCart( siteId: number ) {\n\t\tconst success: Cart = yield wpcomRequest( {\n\t\t\tpath: '/me/shopping-cart/' + siteId,\n\t\t\tapiVersion: '1.1',\n\t\t\tmethod: 'GET',\n\t\t} );\n\t\treturn success;\n\t}\n\n\tconst receiveSiteDomains = ( siteId: number, domains: Domain[] ) => ( {\n\t\ttype: 'RECEIVE_SITE_DOMAINS' as const,\n\t\tsiteId,\n\t\tdomains,\n\t} );\n\n\tconst receiveSiteSettings = ( siteId: number, settings: SiteSettings ) => ( {\n\t\ttype: 'RECEIVE_SITE_SETTINGS' as const,\n\t\tsiteId,\n\t\tsettings,\n\t} );\n\n\tfunction* setCart( siteId: number, cartData: Cart ) {\n\t\tconst success: Cart = yield wpcomRequest( {\n\t\t\tpath: '/me/shopping-cart/' + siteId,\n\t\t\tapiVersion: '1.1',\n\t\t\tmethod: 'POST',\n\t\t\tbody: cartData,\n\t\t} );\n\t\treturn success;\n\t}\n\n\tfunction* saveSiteSettings(\n\t\tsiteId: number,\n\t\tsettings: {\n\t\t\tblogname?: string;\n\t\t\tblogdescription?: string;\n\t\t\tsite_vertical_id?: string;\n\t\t\twoocommerce_onboarding_profile?: { [ key: string ]: any };\n\t\t}\n\t) {\n\t\ttry {\n\t\t\t// extract this into its own function as a generic settings setter\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteId ) }/settings`,\n\t\t\t\tapiVersion: '1.4',\n\t\t\t\tbody: settings,\n\t\t\t\tmethod: 'POST',\n\t\t\t} );\n\t\t\tif ( 'blogname' in settings ) {\n\t\t\t\tyield receiveSiteTitle( siteId, settings.blogname );\n\t\t\t}\n\t\t\tif ( 'blogdescription' in settings ) {\n\t\t\t\tyield receiveSiteTagline( siteId, settings.blogdescription );\n\t\t\t}\n\t\t\tif ( 'site_vertical_id' in settings ) {\n\t\t\t\tyield receiveSiteVerticalId( siteId, settings.site_vertical_id );\n\t\t\t}\n\t\t} catch ( e ) {}\n\t}\n\n\tfunction* setIntentOnSite( siteSlug: string, intent: string ) {\n\t\ttry {\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteSlug ) }/site-intent`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tbody: { site_intent: intent },\n\t\t\t\tmethod: 'POST',\n\t\t\t} );\n\t\t} catch ( e ) {}\n\t}\n\n\tfunction* saveSiteTitle( siteId: number, blogname: string | undefined ) {\n\t\tyield saveSiteSettings( siteId, { blogname } );\n\t}\n\n\tfunction* saveSiteTagline( siteId: number, blogdescription: string | undefined ) {\n\t\tyield saveSiteSettings( siteId, { blogdescription } );\n\t}\n\n\tfunction* setDesignOnSite( siteSlug: string, selectedDesign: Design ) {\n\t\tyield wpcomRequest( {\n\t\t\tpath: `/sites/${ siteSlug }/themes/mine`,\n\t\t\tapiVersion: '1.1',\n\t\t\tbody: { theme: selectedDesign.theme, dont_change_homepage: true },\n\t\t\tmethod: 'POST',\n\t\t} );\n\n\t\t/*\n\t\t * Anchor themes are set up directly via Headstart on the server side\n\t\t * so exclude them from theme setup.\n\t\t */\n\t\tconst anchorDesigns = [ 'hannah', 'gilbert', 'riley' ];\n\t\tif ( anchorDesigns.indexOf( selectedDesign.template ) < 0 ) {\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteSlug ) }/theme-setup`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tbody: { trim_content: true },\n\t\t\t\tmethod: 'POST',\n\t\t\t} );\n\t\t}\n\n\t\tconst data: { is_fse_active: boolean } = yield wpcomRequest( {\n\t\t\tpath: `/sites/${ siteSlug }/block-editor`,\n\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\tmethod: 'GET',\n\t\t} );\n\n\t\treturn data?.is_fse_active ?? false;\n\t}\n\n\tconst setSiteSetupError = ( siteId: number, error: string, message: string ) => ( {\n\t\ttype: 'SET_SITE_SETUP_ERROR',\n\t\tsiteId,\n\t\terror,\n\t\tmessage,\n\t} );\n\n\tconst clearSiteSetupError = ( siteId: number ) => ( {\n\t\ttype: 'CLEAR_SITE_SETUP_ERROR',\n\t\tsiteId,\n\t} );\n\n\tconst atomicTransferStart = ( siteId: number, softwareSet: string | undefined ) => ( {\n\t\ttype: 'ATOMIC_TRANSFER_START' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t} );\n\n\tconst atomicTransferSuccess = ( siteId: number, softwareSet: string | undefined ) => ( {\n\t\ttype: 'ATOMIC_TRANSFER_SUCCESS' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t} );\n\n\tconst atomicTransferFailure = (\n\t\tsiteId: number,\n\t\tsoftwareSet: string | undefined,\n\t\terror: AtomicTransferErrorType\n\t) => ( {\n\t\ttype: 'ATOMIC_TRANSFER_FAILURE' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t\terror,\n\t} );\n\n\tfunction* initiateAtomicTransfer( siteId: number, softwareSet: string | undefined ) {\n\t\tyield atomicTransferStart( siteId, softwareSet );\n\t\ttry {\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteId ) }/atomic/transfers`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tmethod: 'POST',\n\t\t\t\t...( softwareSet\n\t\t\t\t\t? {\n\t\t\t\t\t\t\tbody: {\n\t\t\t\t\t\t\t\tsoftware_set: encodeURIComponent( softwareSet ),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t }\n\t\t\t\t\t: {} ),\n\t\t\t} );\n\t\t\tyield atomicTransferSuccess( siteId, softwareSet );\n\t\t} catch ( _ ) {\n\t\t\tyield atomicTransferFailure( siteId, softwareSet, AtomicTransferError.INTERNAL );\n\t\t}\n\t}\n\n\tconst latestAtomicTransferStart = ( siteId: number ) => ( {\n\t\ttype: 'LATEST_ATOMIC_TRANSFER_START' as const,\n\t\tsiteId,\n\t} );\n\n\tconst latestAtomicTransferSuccess = ( siteId: number, transfer: LatestAtomicTransfer ) => ( {\n\t\ttype: 'LATEST_ATOMIC_TRANSFER_SUCCESS' as const,\n\t\tsiteId,\n\t\ttransfer,\n\t} );\n\n\tconst latestAtomicTransferFailure = (\n\t\tsiteId: number,\n\t\terror: LatestAtomicTransferErrorType\n\t) => ( {\n\t\ttype: 'LATEST_ATOMIC_TRANSFER_FAILURE' as const,\n\t\tsiteId,\n\t\terror,\n\t} );\n\n\tfunction* requestLatestAtomicTransfer( siteId: number ) {\n\t\tyield latestAtomicTransferStart( siteId );\n\n\t\ttry {\n\t\t\tconst transfer: LatestAtomicTransfer = yield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteId ) }/atomic/transfers/latest`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tmethod: 'GET',\n\t\t\t} );\n\t\t\tyield latestAtomicTransferSuccess( siteId, transfer );\n\t\t} catch ( err ) {\n\t\t\tyield latestAtomicTransferFailure( siteId, err as LatestAtomicTransferError );\n\t\t}\n\t}\n\n\tconst atomicSoftwareStatusStart = ( siteId: number, softwareSet: string ) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_STATUS_START' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t} );\n\n\tconst atomicSoftwareStatusSuccess = (\n\t\tsiteId: number,\n\t\tsoftwareSet: string,\n\t\tstatus: AtomicSoftwareStatus\n\t) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_STATUS_SUCCESS' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t\tstatus,\n\t} );\n\n\tconst atomicSoftwareStatusFailure = (\n\t\tsiteId: number,\n\t\tsoftwareSet: string,\n\t\terror: AtomicSoftwareStatusErrorType\n\t) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_STATUS_FAILURE' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t\terror,\n\t} );\n\n\tfunction* requestAtomicSoftwareStatus( siteId: number, softwareSet: string ) {\n\t\tyield atomicSoftwareStatusStart( siteId, softwareSet );\n\t\ttry {\n\t\t\tconst status: AtomicSoftwareStatus = yield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteId ) }/atomic/software/${ encodeURIComponent(\n\t\t\t\t\tsoftwareSet\n\t\t\t\t) }`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tmethod: 'GET',\n\t\t\t} );\n\t\t\tyield atomicSoftwareStatusSuccess( siteId, softwareSet, status );\n\t\t} catch ( err ) {\n\t\t\tyield atomicSoftwareStatusFailure( siteId, softwareSet, err as AtomicSoftwareStatusError );\n\t\t}\n\t}\n\n\tconst atomicSoftwareInstallStart = ( siteId: number, softwareSet: string ) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_INSTALL_START' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t} );\n\n\tconst atomicSoftwareInstallSuccess = ( siteId: number, softwareSet: string ) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_INSTALL_SUCCESS' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t} );\n\n\tconst atomicSoftwareInstallFailure = (\n\t\tsiteId: number,\n\t\tsoftwareSet: string,\n\t\terror: AtomicSoftwareInstallErrorType\n\t) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_INSTALL_FAILURE' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t\terror,\n\t} );\n\n\tfunction* initiateSoftwareInstall( siteId: number, softwareSet: string ) {\n\t\tyield atomicSoftwareInstallStart( siteId, softwareSet );\n\t\ttry {\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteId ) }/atomic/software/${ encodeURIComponent(\n\t\t\t\t\tsoftwareSet\n\t\t\t\t) }`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tmethod: 'POST',\n\t\t\t\tbody: {},\n\t\t\t} );\n\t\t\tyield atomicSoftwareInstallSuccess( siteId, softwareSet );\n\t\t} catch ( err ) {\n\t\t\tyield atomicSoftwareInstallFailure( siteId, softwareSet, err as AtomicSoftwareInstallError );\n\t\t}\n\t}\n\n\treturn {\n\t\treceiveSiteDomains,\n\t\treceiveSiteSettings,\n\t\tsaveSiteTitle,\n\t\tsaveSiteSettings,\n\t\tsetIntentOnSite,\n\t\treceiveSiteTitle,\n\t\tfetchNewSite,\n\t\tfetchSite,\n\t\treceiveNewSite,\n\t\treceiveNewSiteFailed,\n\t\tresetNewSiteFailed,\n\t\tsetDesignOnSite,\n\t\tcreateSite,\n\t\treceiveSite,\n\t\treceiveSiteFailed,\n\t\treceiveSiteTagline,\n\t\treceiveEmailSupportAvailability,\n\t\treceiveHappyChatAvailability,\n\t\treceiveSiteVerticalId,\n\t\tsaveSiteTagline,\n\t\treset,\n\t\tlaunchSite,\n\t\tlaunchSiteStart,\n\t\tlaunchSiteSuccess,\n\t\tlaunchSiteFailure,\n\t\tgetCart,\n\t\tsetCart,\n\t\tsetSiteSetupError,\n\t\tclearSiteSetupError,\n\t\tinitiateAtomicTransfer,\n\t\tatomicTransferStart,\n\t\tatomicTransferSuccess,\n\t\tatomicTransferFailure,\n\t\tlatestAtomicTransferStart,\n\t\tlatestAtomicTransferSuccess,\n\t\tlatestAtomicTransferFailure,\n\t\trequestLatestAtomicTransfer,\n\t\tatomicSoftwareStatusStart,\n\t\tatomicSoftwareStatusSuccess,\n\t\tatomicSoftwareStatusFailure,\n\t\trequestAtomicSoftwareStatus,\n\t\tinitiateSoftwareInstall,\n\t\tatomicSoftwareInstallStart,\n\t\tatomicSoftwareInstallSuccess,\n\t\tatomicSoftwareInstallFailure,\n\t};\n}\n\nexport type ActionCreators = ReturnType< typeof createActions >;\n\nexport type Action =\n\t| ReturnType<\n\t\t\t| ActionCreators[ 'fetchNewSite' ]\n\t\t\t| ActionCreators[ 'fetchSite' ]\n\t\t\t| ActionCreators[ 'receiveSiteDomains' ]\n\t\t\t| ActionCreators[ 'receiveSiteSettings' ]\n\t\t\t| ActionCreators[ 'receiveNewSite' ]\n\t\t\t| ActionCreators[ 'receiveSiteTitle' ]\n\t\t\t| ActionCreators[ 'receiveNewSiteFailed' ]\n\t\t\t| ActionCreators[ 'receiveSiteTagline' ]\n\t\t\t| ActionCreators[ 'receiveSiteVerticalId' ]\n\t\t\t| ActionCreators[ 'receiveEmailSupportAvailability' ]\n\t\t\t| ActionCreators[ 'receiveHappyChatAvailability' ]\n\t\t\t| ActionCreators[ 'receiveSite' ]\n\t\t\t| ActionCreators[ 'receiveSiteFailed' ]\n\t\t\t| ActionCreators[ 'reset' ]\n\t\t\t| ActionCreators[ 'resetNewSiteFailed' ]\n\t\t\t| ActionCreators[ 'launchSiteStart' ]\n\t\t\t| ActionCreators[ 'launchSiteSuccess' ]\n\t\t\t| ActionCreators[ 'launchSiteFailure' ]\n\t\t\t| ActionCreators[ 'atomicTransferStart' ]\n\t\t\t| ActionCreators[ 'atomicTransferSuccess' ]\n\t\t\t| ActionCreators[ 'atomicTransferFailure' ]\n\t\t\t| ActionCreators[ 'latestAtomicTransferStart' ]\n\t\t\t| ActionCreators[ 'latestAtomicTransferSuccess' ]\n\t\t\t| ActionCreators[ 'latestAtomicTransferFailure' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareStatusStart' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareStatusSuccess' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareStatusFailure' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareInstallStart' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareInstallSuccess' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareInstallFailure' ]\n\t >\n\t// Type added so we can dispatch actions in tests, but has no runtime cost\n\t| { type: 'TEST_ACTION' };\n","export const STORE_KEY = 'automattic/site';\n","import { registerStore } from '@wordpress/data';\nimport { controls } from '../wpcom-request-controls';\nimport { createActions } from './actions';\nimport { STORE_KEY } from './constants';\nimport reducer, { State } from './reducer';\nimport * as resolvers from './resolvers';\nimport * as selectors from './selectors';\nimport type { DispatchFromMap, SelectFromMap } from '../mapped-types';\nimport type { WpcomClientCredentials } from '../shared-types';\n\nexport * from './types';\nexport type { State };\nexport { STORE_KEY };\n\nlet isRegistered = false;\nexport function register( clientCreds: WpcomClientCredentials ): typeof STORE_KEY {\n\tif ( ! isRegistered ) {\n\t\tisRegistered = true;\n\t\tregisterStore< State >( STORE_KEY, {\n\t\t\tactions: createActions( clientCreds ),\n\t\t\tcontrols: controls as any,\n\t\t\treducer,\n\t\t\tresolvers,\n\t\t\tselectors,\n\t\t} );\n\t}\n\treturn STORE_KEY;\n}\n\ndeclare module '@wordpress/data' {\n\tfunction dispatch( key: typeof STORE_KEY ): DispatchFromMap< ReturnType< typeof createActions > >;\n\tfunction select( key: typeof STORE_KEY ): SelectFromMap< typeof selectors >;\n}\n","import { combineReducers } from '@wordpress/data';\nimport {\n\tNewSiteBlogDetails,\n\tNewSiteErrorResponse,\n\tSiteDetails,\n\tDomain,\n\tSiteLaunchState,\n\tSiteLaunchStatus,\n\tSiteSettings,\n\tAtomicTransferStatus,\n\tLatestAtomicTransferStatus,\n\tHappyChatAvailability,\n\tEmailSupportAvailability,\n} from './types';\nimport {\n\tAtomicTransferState,\n\tLatestAtomicTransferState,\n\tAtomicSoftwareStatusState,\n\tAtomicSoftwareInstallState,\n\tAtomicSoftwareInstallStatus,\n} from '.';\nimport type { Action } from './actions';\nimport type { Reducer } from 'redux';\n\nexport const newSiteData: Reducer< NewSiteBlogDetails | undefined, Action > = ( state, action ) => {\n\tif ( action.type === 'RECEIVE_NEW_SITE' ) {\n\t\tconst { response } = action;\n\t\treturn response.blog_details;\n\t} else if ( action.type === 'RECEIVE_NEW_SITE_FAILED' ) {\n\t\treturn undefined;\n\t} else if ( action.type === 'RESET_SITE_STORE' ) {\n\t\treturn undefined;\n\t}\n\treturn state;\n};\n\nexport const newSiteError: Reducer< NewSiteErrorResponse | undefined, Action > = (\n\tstate,\n\taction\n) => {\n\tswitch ( action.type ) {\n\t\tcase 'FETCH_NEW_SITE':\n\t\tcase 'RECEIVE_NEW_SITE':\n\t\tcase 'RESET_SITE_STORE':\n\t\tcase 'RESET_RECEIVE_NEW_SITE_FAILED':\n\t\t\treturn undefined;\n\t\tcase 'RECEIVE_NEW_SITE_FAILED':\n\t\t\treturn {\n\t\t\t\terror: action.error.error,\n\t\t\t\tstatus: action.error.status,\n\t\t\t\tstatusCode: action.error.statusCode,\n\t\t\t\tname: action.error.name,\n\t\t\t\tmessage: action.error.message,\n\t\t\t};\n\t}\n\treturn state;\n};\n\nexport const isFetchingSite: Reducer< boolean | undefined, Action > = ( state = false, action ) => {\n\tswitch ( action.type ) {\n\t\tcase 'FETCH_NEW_SITE':\n\t\t\treturn true;\n\t\tcase 'RECEIVE_NEW_SITE':\n\t\tcase 'RECEIVE_NEW_SITE_FAILED':\n\t\tcase 'RESET_SITE_STORE':\n\t\tcase 'RESET_RECEIVE_NEW_SITE_FAILED':\n\t\t\treturn false;\n\t}\n\treturn state;\n};\n\nexport const isFetchingSiteDetails: Reducer< boolean | undefined, Action > = (\n\tstate = false,\n\taction\n) => {\n\tswitch ( action.type ) {\n\t\tcase 'FETCH_SITE':\n\t\t\treturn true;\n\t\tcase 'RECEIVE_SITE':\n\t\tcase 'RECEIVE_SITE_FAILED':\n\t\t\treturn false;\n\t}\n\treturn state;\n};\n\nexport const happyChatAvailability: Reducer< HappyChatAvailability | undefined, Action > = (\n\tstate,\n\taction\n) => {\n\tswitch ( action.type ) {\n\t\tcase 'RECEIVE_HAPPY_CHAT_AVAILABILITY':\n\t\t\treturn action.availability;\n\t}\n\treturn state;\n};\n\nexport const emailSupportAvailability: Reducer< EmailSupportAvailability | undefined, Action > = (\n\tstate,\n\taction\n) => {\n\tswitch ( action.type ) {\n\t\tcase 'RECEIVE_EMAIL_SUPPORT_AVAILABILITY':\n\t\t\treturn action.availability;\n\t}\n\treturn state;\n};\n\nexport const sites: Reducer< { [ key: number | string ]: SiteDetails | undefined }, Action > = (\n\tstate = {},\n\taction\n) => {\n\tif ( action.type === 'RECEIVE_SITE' ) {\n\t\tif ( action.response ) {\n\t\t\treturn { ...state, [ action.response.ID ]: action.response };\n\t\t}\n\t\treturn state;\n\t} else if ( action.type === 'RECEIVE_SITE_FAILED' ) {\n\t\tconst { [ action.siteId ]: idToBeRemoved, ...remainingState } = state;\n\t\treturn { ...remainingState };\n\t} else if ( action.type === 'RESET_SITE_STORE' ) {\n\t\treturn {};\n\t} else if ( action.type === 'RECEIVE_SITE_TITLE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: { ...( state[ action.siteId ] as SiteDetails ), name: action.name },\n\t\t};\n\t} else if ( action.type === 'RECEIVE_SITE_TAGLINE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t...( state[ action.siteId ] as SiteDetails ),\n\t\t\t\tdescription: action.tagline ?? '',\n\t\t\t},\n\t\t};\n\t} else if ( action.type === 'RECEIVE_SITE_VERTICAL_ID' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t...( state[ action.siteId ] as SiteDetails ),\n\t\t\t\toptions: {\n\t\t\t\t\t...state[ action.siteId ]?.options,\n\t\t\t\t\tsite_vertical_id: action.verticalId,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nexport const sitesDomains: Reducer< { [ key: number ]: Domain[] }, Action > = (\n\tstate = {},\n\taction\n) => {\n\tif ( action.type === 'RECEIVE_SITE_DOMAINS' ) {\n\t\treturn { ...state, [ action.siteId ]: action.domains };\n\t}\n\treturn state;\n};\n\nexport const sitesSettings: Reducer< { [ key: number ]: SiteSettings }, Action > = (\n\tstate = {},\n\taction\n) => {\n\tif ( action.type === 'RECEIVE_SITE_SETTINGS' ) {\n\t\treturn { ...state, [ action.siteId ]: action.settings };\n\t}\n\treturn state;\n};\n\nexport const launchStatus: Reducer< { [ key: number ]: SiteLaunchState }, Action > = (\n\tstate = {},\n\taction\n) => {\n\tif ( action.type === 'LAUNCH_SITE_START' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: { status: SiteLaunchStatus.IN_PROGRESS, errorCode: undefined },\n\t\t};\n\t}\n\tif ( action.type === 'LAUNCH_SITE_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: { status: SiteLaunchStatus.SUCCESS, errorCode: undefined },\n\t\t};\n\t}\n\tif ( action.type === 'LAUNCH_SITE_FAILURE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: SiteLaunchStatus.FAILURE,\n\t\t\t\terrorCode: action.error,\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nexport const siteSetupErrors: Reducer<\n\t{ [ key: number ]: any | undefined },\n\t{\n\t\ttype: string;\n\t\tsiteId: number;\n\t\terror?: string;\n\t\tmessage?: string;\n\t}\n> = ( state = {}, action ) => {\n\tif ( action.type === 'SET_SITE_SETUP_ERROR' ) {\n\t\tconst { siteId, error, message } = action;\n\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ siteId ]: {\n\t\t\t\terror,\n\t\t\t\tmessage,\n\t\t\t},\n\t\t};\n\t}\n\n\tif ( action.type === 'CLEAR_SITE_SETUP_ERROR' ) {\n\t\tconst newState = {\n\t\t\t...state,\n\t\t};\n\n\t\tdelete newState[ action.siteId ];\n\t}\n\n\treturn state;\n};\n\nexport const atomicTransferStatus: Reducer< { [ key: number ]: AtomicTransferState }, Action > = (\n\tstate = {},\n\taction\n) => {\n\tif ( action.type === 'ATOMIC_TRANSFER_START' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: AtomicTransferStatus.IN_PROGRESS,\n\t\t\t\tsoftwareSet: action.softwareSet,\n\t\t\t\terrorCode: undefined,\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_TRANSFER_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: AtomicTransferStatus.SUCCESS,\n\t\t\t\tsoftwareSet: action.softwareSet,\n\t\t\t\terrorCode: undefined,\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_TRANSFER_FAILURE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: AtomicTransferStatus.FAILURE,\n\t\t\t\tsoftwareSet: action.softwareSet,\n\t\t\t\terrorCode: action.error,\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nexport const latestAtomicTransferStatus: Reducer<\n\t{ [ key: number ]: LatestAtomicTransferState },\n\tAction\n> = ( state = {}, action ) => {\n\tif ( action.type === 'LATEST_ATOMIC_TRANSFER_START' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: LatestAtomicTransferStatus.IN_PROGRESS,\n\t\t\t\ttransfer: undefined,\n\t\t\t\terrorCode: undefined,\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'LATEST_ATOMIC_TRANSFER_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: LatestAtomicTransferStatus.SUCCESS,\n\t\t\t\ttransfer: action.transfer,\n\t\t\t\terrorCode: undefined,\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'LATEST_ATOMIC_TRANSFER_FAILURE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: LatestAtomicTransferStatus.FAILURE,\n\t\t\t\ttransfer: undefined,\n\t\t\t\terrorCode: action.error,\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nexport const atomicSoftwareStatus: Reducer<\n\t{ [ key: number ]: AtomicSoftwareStatusState },\n\tAction\n> = ( state = {}, action ) => {\n\tif ( action.type === 'ATOMIC_SOFTWARE_STATUS_START' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: undefined,\n\t\t\t\t\terror: undefined,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_SOFTWARE_STATUS_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: action.status,\n\t\t\t\t\terror: undefined,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_SOFTWARE_STATUS_FAILURE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: undefined,\n\t\t\t\t\terror: action.error,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nexport const atomicSoftwareInstallStatus: Reducer<\n\t{ [ key: number ]: AtomicSoftwareInstallState },\n\tAction\n> = ( state = {}, action ) => {\n\tif ( action.type === 'ATOMIC_SOFTWARE_INSTALL_START' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: AtomicSoftwareInstallStatus.IN_PROGRESS,\n\t\t\t\t\terror: undefined,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_SOFTWARE_INSTALL_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: AtomicSoftwareInstallStatus.SUCCESS,\n\t\t\t\t\terror: undefined,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_SOFTWARE_INSTALL_FAILURE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: AtomicSoftwareInstallStatus.FAILURE,\n\t\t\t\t\terror: action.error,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nconst newSite = combineReducers( {\n\tdata: newSiteData,\n\terror: newSiteError,\n\tisFetching: isFetchingSite,\n} );\n\nconst reducer = combineReducers( {\n\tisFetchingSiteDetails,\n\tnewSite,\n\tsites,\n\tlaunchStatus,\n\tsitesDomains,\n\tsitesSettings,\n\tsiteSetupErrors,\n\thappyChatAvailability,\n\temailSupportAvailability,\n\tatomicTransferStatus,\n\tlatestAtomicTransferStatus,\n\tatomicSoftwareStatus,\n\tatomicSoftwareInstallStatus,\n} );\n\nexport type State = ReturnType< typeof reducer >;\n\nexport default reducer;\n","import { dispatch } from '@wordpress/data';\nimport { wpcomRequest } from '../wpcom-request-controls';\nimport { STORE_KEY } from './constants';\nimport type {\n\tSiteDetails,\n\tDomain,\n\tSiteSettings,\n\tHappyChatAvailability,\n\tEmailSupportAvailability,\n} from './types';\n\n/**\n * Attempt to find a site based on its id, and if not return undefined.\n * We are currently ignoring error messages and silently failing if we can't find a\n * site. This could be extended in the future by retrieving the `error` and\n * `message` strings returned by the API.\n *\n * @param siteId {number}\tThe site to look up\n */\nexport function* getSite( siteId: number ) {\n\tyield dispatch( STORE_KEY ).fetchSite();\n\ttry {\n\t\tconst existingSite: SiteDetails | undefined = yield wpcomRequest( {\n\t\t\tpath: '/sites/' + encodeURIComponent( siteId ),\n\t\t\tapiVersion: '1.1',\n\t\t} );\n\t\tyield dispatch( STORE_KEY ).receiveSite( siteId, existingSite );\n\t} catch ( err ) {\n\t\tyield dispatch( STORE_KEY ).receiveSiteFailed( siteId, undefined );\n\t}\n}\n\n/**\n * Get all site domains\n *\n * @param siteId {number} The site id\n */\nexport function* getSiteDomains( siteId: number ) {\n\ttry {\n\t\tconst result: { domains: Domain[] } = yield wpcomRequest( {\n\t\t\tpath: '/sites/' + encodeURIComponent( siteId ) + '/domains',\n\t\t\tapiVersion: '1.2',\n\t\t} );\n\t\tyield dispatch( STORE_KEY ).receiveSiteDomains( siteId, result?.domains );\n\t} catch ( e ) {}\n}\n\nexport function* getHappyChatAvailability() {\n\tconst userConfiguration: HappyChatAvailability = yield wpcomRequest( {\n\t\tpath: '/help/olark/mine',\n\t\tapiVersion: '1.1',\n\t} );\n\tdispatch( STORE_KEY ).receiveHappyChatAvailability( userConfiguration );\n}\n\nexport function* getEmailSupportAvailability() {\n\tconst userConfiguration: EmailSupportAvailability = yield wpcomRequest( {\n\t\tpath: '/help/tickets/kayako/mine',\n\t\tapiVersion: '1.1',\n\t} );\n\tdispatch( STORE_KEY ).receiveEmailSupportAvailability( userConfiguration );\n}\n\n/**\n * Get all site settings\n *\n * @param siteId {number} The site id\n */\nexport function* getSiteSettings( siteId: number ) {\n\ttry {\n\t\tconst result: { settings: SiteSettings } = yield wpcomRequest( {\n\t\t\tpath: '/sites/' + encodeURIComponent( siteId ) + '/settings',\n\t\t\tapiVersion: '1.4',\n\t\t} );\n\t\tyield dispatch( STORE_KEY ).receiveSiteSettings( siteId, result?.settings );\n\t} catch ( e ) {}\n}\n","import { select } from '@wordpress/data';\nimport { STORE_KEY } from './constants';\nimport { SiteLaunchStatus } from './types';\nimport type { State } from './reducer';\n\nexport const getState = ( state: State ) => state;\nexport const getNewSite = ( state: State ) => state.newSite.data;\nexport const getNewSiteError = ( state: State ) => state.newSite.error;\nexport const isFetchingSite = ( state: State ) => state.newSite.isFetching;\nexport const isFetchingSiteDetails = ( state: State ) => state.isFetchingSiteDetails;\nexport const isNewSite = ( state: State ) => !! state.newSite.data;\n\n/**\n * Get a site matched by id. This selector has a matching\n * resolver that uses the `siteId` parameter to fetch an existing site. If the\n * site cannot be found, invalidate the resolution cache.\n *\n * @param state {State}\t\tstate object\n * @param siteId {number}\tid of the site to look up\n */\nexport const getSite = ( state: State, siteId: number | string ) => {\n\treturn (\n\t\tstate.sites[ siteId ] ||\n\t\tObject.values( state.sites ).find( ( site ) => site && new URL( site.URL ).host === siteId )\n\t);\n};\n\nexport const getSiteIdBySlug = ( _: State, slug: string ) => {\n\treturn select( STORE_KEY ).getSite( slug )?.ID;\n};\n\nexport const getSiteTitle = ( _: State, siteId: number ) =>\n\tselect( STORE_KEY ).getSite( siteId )?.name;\n\nexport const getSiteVerticalId = ( _: State, siteId: number ) =>\n\tselect( STORE_KEY ).getSite( siteId )?.options?.site_vertical_id;\n\n// @TODO: Return LaunchStatus instead of a boolean\nexport const isSiteLaunched = ( state: State, siteId: number ) => {\n\treturn state.launchStatus[ siteId ]?.status === SiteLaunchStatus.SUCCESS;\n};\n\n// @TODO: Return LaunchStatus instead of a boolean\nexport const isSiteLaunching = ( state: State, siteId: number ) => {\n\treturn state.launchStatus[ siteId ]?.status === SiteLaunchStatus.IN_PROGRESS;\n};\n\nexport const isSiteAtomic = ( state: State, siteId: number | string ) => {\n\treturn select( STORE_KEY ).getSite( siteId )?.options.is_wpcom_atomic === true;\n};\n\nexport const isSiteWPForTeams = ( state: State, siteId: number | string ) => {\n\treturn select( STORE_KEY ).getSite( siteId )?.options.is_wpforteams_site === true;\n};\n\nexport const getSiteDomains = ( state: State, siteId: number ) => {\n\treturn state.sitesDomains[ siteId ];\n};\n\nexport const getSiteSettings = ( state: State, siteId: number ) => {\n\treturn state.sitesSettings[ siteId ];\n};\n\nexport const getSiteSetupError = ( state: State, siteId: number ) => {\n\treturn state.siteSetupErrors[ siteId ] || null;\n};\n\nexport const getPrimarySiteDomain = ( _: State, siteId: number ) =>\n\tselect( STORE_KEY )\n\t\t.getSiteDomains( siteId )\n\t\t?.find( ( domain ) => domain.primary_domain );\n\nexport const getSiteSubdomain = ( _: State, siteId: number ) =>\n\tselect( STORE_KEY )\n\t\t.getSiteDomains( siteId )\n\t\t?.find( ( domain ) => domain.is_subdomain );\n\nexport const getSiteLatestAtomicTransfer = ( state: State, siteId: number ) => {\n\treturn state.latestAtomicTransferStatus[ siteId ]?.transfer;\n};\n\nexport const getSiteLatestAtomicTransferError = ( state: State, siteId: number ) => {\n\treturn state.latestAtomicTransferStatus[ siteId ]?.errorCode;\n};\n\nexport const getAtomicSoftwareStatus = ( state: State, siteId: number, softwareSet: string ) => {\n\treturn state.atomicSoftwareStatus[ siteId ]?.[ softwareSet ]?.status;\n};\n\nexport const getAtomicSoftwareError = ( state: State, siteId: number, softwareSet: string ) => {\n\treturn state.atomicSoftwareStatus[ siteId ]?.[ softwareSet ]?.error;\n};\n\nexport const getAtomicSoftwareInstallError = (\n\tstate: State,\n\tsiteId: number,\n\tsoftwareSet: string\n) => {\n\treturn state.atomicSoftwareInstallStatus[ siteId ]?.[ softwareSet ]?.error;\n};\n\nexport const hasActiveSiteFeature = (\n\t_: State,\n\tsiteId: number | undefined,\n\tfeatureKey: string\n): boolean => {\n\treturn Boolean(\n\t\tsiteId && select( STORE_KEY ).getSite( siteId )?.plan?.features.active.includes( featureKey )\n\t);\n};\n\nexport const hasAvailableSiteFeature = (\n\t_: State,\n\tsiteId: number | undefined,\n\tfeatureKey: string\n): boolean => {\n\treturn Boolean(\n\t\tsiteId && select( STORE_KEY ).getSite( siteId )?.plan?.features.available[ featureKey ]\n\t);\n};\n\nexport const requiresUpgrade = ( state: State, siteId: number | null ) => {\n\tconst isWoopFeatureActive = Boolean(\n\t\tsiteId && select( STORE_KEY ).hasActiveSiteFeature( siteId, 'woop' )\n\t);\n\tconst hasWoopFeatureAvailable = Boolean(\n\t\tsiteId && select( STORE_KEY ).hasAvailableSiteFeature( siteId, 'woop' )\n\t);\n\n\treturn Boolean( ! isWoopFeatureActive && hasWoopFeatureAvailable );\n};\n\nexport function isJetpackSite( state: State, siteId?: number ): boolean {\n\treturn Boolean( siteId && select( STORE_KEY ).getSite( siteId )?.jetpack );\n}\n\nexport function isEligibleForProPlan( state: State, siteId?: number ): boolean {\n\tif ( ! siteId ) {\n\t\treturn false;\n\t}\n\n\tif (\n\t\t( isJetpackSite( state, siteId ) && ! isSiteAtomic( state, siteId ) ) ||\n\t\tisSiteWPForTeams( state, siteId )\n\t) {\n\t\treturn false;\n\t}\n\n\treturn true;\n}\n\nexport function getHappyChatAvailability( state: State ) {\n\treturn state.happyChatAvailability;\n}\n\nexport function getEmailSupportAvailability( state: State ) {\n\treturn state.emailSupportAvailability;\n}\n","import type { FeatureId } from '../wpcom-features';\n\nexport interface NewSiteBlogDetails {\n\turl: string;\n\tblogid: number;\n\tblogname: string;\n\tsite_slug?: string;\n\txmlrpc: string;\n}\n\nexport interface NewSiteSuccessResponse {\n\tsuccess: boolean;\n\tblog_details: NewSiteBlogDetails;\n\tis_signup_sandbox?: boolean;\n}\n\nexport interface NewSiteErrorResponse {\n\terror: string;\n\tstatus: number;\n\tstatusCode: number;\n\tname: string;\n\tmessage: string;\n}\n\nexport interface NewSiteErrorCreateBlog {\n\t// This has to be `any` as sites/new will return whatever value is passed to it as `$blog_id` if create blog fails.\n\tblog_id?: any; // eslint-disable-line @typescript-eslint/no-explicit-any\n}\n\nexport type NewSiteResponse =\n\t| NewSiteSuccessResponse\n\t| NewSiteErrorResponse\n\t| NewSiteErrorCreateBlog;\n\nexport enum Visibility {\n\tPublicIndexed = 1,\n\tPublicNotIndexed = 0,\n\tPrivate = -1,\n}\n\nexport interface CreateSiteParams {\n\tblog_name: string;\n\tblog_title?: string;\n\tauthToken?: string;\n\tpublic?: Visibility;\n\toptions?: {\n\t\tsite_vertical?: string;\n\t\tsite_vertical_name?: string;\n\t\tsite_vertical_slug?: string;\n\t\tsite_information?: {\n\t\t\ttitle?: string;\n\t\t};\n\t\tlang_id?: number;\n\t\tsite_creation_flow?: string;\n\t\tenable_fse?: boolean;\n\t\ttheme?: string;\n\t\ttemplate?: string;\n\t\ttimezone_string?: string;\n\t\tfont_headings?: string;\n\t\tfont_base?: string;\n\t\tuse_patterns?: boolean;\n\t\tselected_features?: FeatureId[];\n\t\twpcom_public_coming_soon?: number;\n\t\tanchor_fm_podcast_id?: string;\n\t\tis_blank_canvas?: boolean;\n\t};\n}\n\nexport interface SiteDetailsPlan {\n\tproduct_id: number;\n\tproduct_slug: string;\n\tproduct_name: string;\n\tproduct_name_short: string;\n\texpired: boolean;\n\tbilling_period: string;\n\tuser_is_owner: boolean;\n\tis_free: boolean;\n\tfeatures: {\n\t\tactive: string[];\n\t\tavailable: Record< string, string[] >;\n\t};\n}\n\nexport interface DifmLiteSiteOptions {\n\tsite_category?: string;\n\tis_website_content_submitted?: boolean;\n\tselected_page_titles: string[];\n}\n\nexport interface SiteDetails {\n\tID: number;\n\tname: string | undefined;\n\tdescription: string;\n\tURL: string;\n\tlaunch_status: string;\n\tjetpack: boolean;\n\tis_fse_eligible: boolean;\n\tis_fse_active: boolean;\n\toptions: {\n\t\tadmin_url?: string;\n\t\tadvanced_seo_front_page_description?: string;\n\t\tadvanced_seo_title_formats?: string[];\n\t\tak_vp_bundle_enabled?: boolean;\n\t\tallowed_file_types?: string[];\n\t\tanchor_podcast?: boolean;\n\t\tbackground_color?: boolean;\n\t\tblog_public?: number;\n\t\tcreated_at?: Date;\n\t\tdefault_category?: number;\n\t\tdefault_comment_status?: boolean;\n\t\tdefault_likes_enabled?: boolean;\n\t\tdefault_ping_status?: boolean;\n\t\tdefault_post_format?: string;\n\t\tdefault_sharing_status?: boolean;\n\t\tdesign_type?: string;\n\t\tdifm_lite_site_options?: DifmLiteSiteOptions;\n\t\tediting_toolkit_is_active?: boolean;\n\t\tfeatured_images_enabled?: boolean;\n\t\tframe_nonce?: string;\n\t\tgmt_offset?: number;\n\t\theader_image?: boolean;\n\t\theadstart_is_fresh?: boolean;\n\t\theadstart?: boolean;\n\t\timage_default_link_type?: string;\n\t\timage_large_height?: number;\n\t\timage_large_width?: number;\n\t\timage_medium_height?: number;\n\t\timage_medium_width?: number;\n\t\timage_thumbnail_crop?: number;\n\t\timage_thumbnail_height?: number;\n\t\timage_thumbnail_width?: number;\n\t\timport_engine?: string;\n\t\tis_automated_transfer?: boolean;\n\t\tis_cloud_eligible?: boolean;\n\t\tis_difm_lite_in_progress?: boolean;\n\t\tis_domain_only?: boolean;\n\t\tis_mapped_domain?: boolean;\n\t\tis_pending_plan?: boolean;\n\t\tis_redirect?: boolean;\n\t\tis_wpcom_atomic?: boolean;\n\t\tis_wpcom_store?: boolean;\n\t\tis_wpforteams_site?: boolean;\n\t\tjetpack_frame_nonce?: string;\n\t\tlogin_url?: string;\n\t\tp2_hub_blog_id?: number;\n\t\tpage_for_posts?: number;\n\t\tpage_on_front?: number;\n\t\tpermalink_structure?: string;\n\t\tpodcasting_archive?: boolean;\n\t\tpost_formats?: string[];\n\t\tpublicize_permanently_disabled?: boolean;\n\t\tshow_on_front?: string;\n\t\tsite_intent?: string;\n\t\tsite_segment?: string;\n\t\tsite_vertical_id?: string;\n\t\tsoftware_version?: string;\n\t\tselected_features?: FeatureId[];\n\t\ttheme_slug?: string;\n\t\ttimezone?: string;\n\t\tunmapped_url?: string;\n\t\tupgraded_filetypes_enabled?: boolean;\n\t\tverification_services_codes?: string;\n\t\tvideopress_enabled?: boolean;\n\t\tvideopress_storage_used?: number;\n\t\twas_created_with_blank_canvas_design?: boolean;\n\t\twoocommerce_is_active?: boolean;\n\t\twordads?: boolean;\n\t};\n\tplan?: SiteDetailsPlan;\n\tcapabilities: {\n\t\tedit_pages: boolean;\n\t\tedit_posts: boolean;\n\t\tedit_others_posts: boolean;\n\t\tedit_others_pages: boolean;\n\t\tdelete_posts: boolean;\n\t\tdelete_others_posts: boolean;\n\t\tedit_theme_options: boolean;\n\t\tedit_users: boolean;\n\t\tlist_users: boolean;\n\t\tmanage_categories: boolean;\n\t\tmanage_options: boolean;\n\t\tmoderate_comments: boolean;\n\t\tactivate_wordads: boolean;\n\t\tpromote_users: boolean;\n\t\tpublish_posts: boolean;\n\t\tupload_files: boolean;\n\t\tdelete_users: boolean;\n\t\tremove_users: boolean;\n\t\town_site: boolean;\n\t\tview_hosting: boolean;\n\t\tview_stats: boolean;\n\t\tactivate_plugins: boolean;\n\t};\n}\n\nexport interface SiteError {\n\terror: string;\n\tmessage: string;\n}\n\nexport type SiteResponse = SiteDetails | SiteError;\n\nexport interface Cart {\n\tblog_id: number;\n\tcart_key: number;\n\tcoupon: string;\n\tcoupon_discounts: unknown[];\n\tcoupon_discounts_integer: unknown[];\n\tis_coupon_applied: boolean;\n\thas_bundle_credit: boolean;\n\tnext_domain_is_free: boolean;\n\tnext_domain_condition: string;\n\tproducts: unknown[];\n\ttotal_cost: number;\n\tcurrency: string;\n\ttotal_cost_display: string;\n\ttotal_cost_integer: number;\n\ttemporary: boolean;\n\ttax: unknown;\n\tsub_total: number;\n\tsub_total_display: string;\n\tsub_total_integer: number;\n\ttotal_tax: number;\n\ttotal_tax_display: string;\n\ttotal_tax_integer: number;\n\tcredits: number;\n\tcredits_display: string;\n\tcredits_integer: number;\n\tallowed_payment_methods: unknown[];\n\tcreate_new_blog: boolean;\n\tmessages: Record< 'errors' | 'success', unknown >;\n}\n\nexport interface Domain {\n\ta_records_required_for_mapping?: string[];\n\tprimary_domain: boolean;\n\tblog_id: number;\n\tconnection_mode?: string;\n\tsubscription_id?: any;\n\tcurrent_user_can_manage: boolean;\n\tcan_set_as_primary: boolean;\n\tdomain: string;\n\tsupports_domain_connect?: any;\n\temail_forwards_count: number;\n\texpiry: boolean;\n\texpiry_soon: boolean;\n\texpired: boolean;\n\tauto_renewing: boolean;\n\tpending_registration: boolean;\n\tpending_registration_time: string;\n\thas_registration: boolean;\n\tpoints_to_wpcom: boolean;\n\tprivacy_available: boolean;\n\tprivate_domain: boolean;\n\tpartner_domain: boolean;\n\twpcom_domain: boolean;\n\thas_zone: boolean;\n\tis_renewable: boolean;\n\tis_redeemable: boolean;\n\tis_subdomain: boolean;\n\tis_eligible_for_inbound_transfer: boolean;\n\tis_locked: boolean;\n\tis_wpcom_staging_domain: boolean;\n\ttransfer_away_eligible_at?: any;\n\ttype: string;\n\tregistration_date: string;\n\tauto_renewal_date: string;\n\tgoogle_apps_subscription?: unknown[];\n\ttitan_mail_subscription?: unknown[];\n\tpending_whois_update: boolean;\n\ttld_maintenance_end_time?: any;\n\tssl_status?: any;\n\tsubdomain_part?: string;\n\tsupports_gdpr_consent_management: boolean;\n\tsupports_transfer_approval: boolean;\n\tdomain_registration_agreement_url: string;\n\tcontact_info_disclosure_available: boolean;\n\tcontact_info_disclosed: boolean;\n\trenewable_until?: any;\n\tredeemable_until?: any;\n\tbundled_plan_subscription_id?: any;\n\tproduct_slug?: any;\n\towner: string;\n}\n\nexport interface SiteSettings {\n\t[ key: string ]: any;\n}\n\nexport interface SiteLaunchState {\n\tstatus: SiteLaunchStatus;\n\terrorCode: SiteLaunchError | undefined;\n}\n\nexport enum SiteLaunchError {\n\tINTERNAL = 'internal',\n}\n\nexport enum SiteLaunchStatus {\n\tUNINITIALIZED = 'unintialized',\n\tIN_PROGRESS = 'in_progress',\n\tSUCCESS = 'success',\n\tFAILURE = 'failure',\n}\n\nexport interface AtomicTransferState {\n\tstatus: AtomicTransferStatus;\n\terrorCode: AtomicTransferError | undefined;\n}\n\nexport enum AtomicTransferStatus {\n\tUNINITIALIZED = 'unintialized',\n\tIN_PROGRESS = 'in_progress',\n\tSUCCESS = 'success',\n\tFAILURE = 'failure',\n}\n\nexport enum AtomicTransferError {\n\tINTERNAL = 'internal',\n}\n\nexport interface LatestAtomicTransfer {\n\tatomic_transfer_id: number;\n\tblog_id: number;\n\tstatus: string;\n\tcreated_at: string;\n\tis_stuck: boolean;\n\tis_stuck_reset: boolean;\n\tin_lossless_revert: boolean;\n}\n\nexport interface LatestAtomicTransferState {\n\tstatus: LatestAtomicTransferStatus;\n\ttransfer: LatestAtomicTransfer | undefined;\n\terrorCode: LatestAtomicTransferError | undefined;\n}\n\nexport enum LatestAtomicTransferStatus {\n\tUNINITIALIZED = 'unintialized',\n\tIN_PROGRESS = 'in_progress',\n\tSUCCESS = 'success',\n\tFAILURE = 'failure',\n}\n\nexport interface LatestAtomicTransferError {\n\tname: string; // \"NotFoundError\"\n\tstatus: number; // 404\n\tmessage: string; // \"Transfer not found\"\n\tcode: string; // \"no_transfer_record\"\n}\n\nexport interface AtomicSoftwareStatus {\n\tblog_id: number;\n\tsoftware_set: Record< string, { path: string; state: string } >;\n\tapplied: boolean;\n}\n\nexport interface AtomicSoftwareStatusError {\n\tname: string; // \"NotFoundError\"\n\tstatus: number; // 404\n\tmessage: string; // \"Transfer not found\"\n\tcode: string; // \"no_transfer_record\"\n}\n\nexport type AtomicSoftwareStatusState = Record<\n\tstring,\n\t{\n\t\tstatus: AtomicSoftwareStatus | undefined;\n\t\terror: AtomicSoftwareStatusError | undefined;\n\t}\n>;\n\nexport enum AtomicSoftwareInstallStatus {\n\tUNINITIALIZED = 'unintialized',\n\tIN_PROGRESS = 'in_progress',\n\tSUCCESS = 'success',\n\tFAILURE = 'failure',\n}\nexport type AtomicSoftwareInstallState = Record<\n\tstring,\n\t{\n\t\tstatus: AtomicSoftwareInstallStatus | undefined;\n\t\terror: AtomicSoftwareInstallError | undefined;\n\t}\n>;\nexport interface AtomicSoftwareInstallError {\n\tname: string;\n\tstatus: number;\n\tmessage: string;\n\tcode: string;\n}\n\ninterface Availability {\n\tpresale: boolean;\n\tprecancellation: boolean;\n}\nexport interface HappyChatAvailability {\n\tlocale: string;\n\tisUserEligible: boolean;\n\tsupportLevel:\n\t\t| 'free'\n\t\t| 'personal'\n\t\t| 'personal-with-legacy-chat'\n\t\t| 'premium'\n\t\t| 'pro'\n\t\t| 'business'\n\t\t| 'ecommerce'\n\t\t| 'jetpack-paid'\n\t\t| 'p2-plus';\n\tnickname: string;\n\tisClosed: boolean;\n\tavailability: Availability;\n}\n\nexport interface EmailSupportAvailability {\n\tis_user_eligible: boolean;\n}\n","export const STORE_KEY = 'automattic/wpcom-features';\n","import * as Plans from '../plans';\nimport type { FeatureId, Feature } from './types';\n\nconst {\n\tTIMELESS_PLAN_PERSONAL,\n\tTIMELESS_PLAN_PREMIUM,\n\tTIMELESS_PLAN_BUSINESS,\n\tTIMELESS_PLAN_ECOMMERCE,\n} = Plans;\n\nexport const featuresList: Record< FeatureId, Feature > = {\n\tdomain: {\n\t\tid: 'domain',\n\t\tminSupportedPlan: TIMELESS_PLAN_PERSONAL,\n\t},\n\tstore: {\n\t\tid: 'store',\n\t\tminSupportedPlan: TIMELESS_PLAN_ECOMMERCE,\n\t},\n\tseo: {\n\t\tid: 'seo',\n\t\tminSupportedPlan: TIMELESS_PLAN_BUSINESS,\n\t},\n\tplugins: {\n\t\tid: 'plugins',\n\t\tminSupportedPlan: TIMELESS_PLAN_BUSINESS,\n\t},\n\t'ad-free': {\n\t\tid: 'ad-free',\n\t\tminSupportedPlan: TIMELESS_PLAN_PERSONAL,\n\t},\n\t'image-storage': {\n\t\tid: 'image-storage',\n\t\tminSupportedPlan: TIMELESS_PLAN_PREMIUM,\n\t},\n\t'video-storage': {\n\t\tid: 'video-storage',\n\t\tminSupportedPlan: TIMELESS_PLAN_PREMIUM,\n\t},\n\tsupport: {\n\t\tid: 'support',\n\t\tminSupportedPlan: TIMELESS_PLAN_BUSINESS,\n\t},\n};\n","import { registerStore } from '@wordpress/data';\nimport { controls } from '@wordpress/data-controls';\nimport { STORE_KEY } from './constants';\nimport reducer, { State } from './reducer';\nimport * as selectors from './selectors';\nimport type { SelectFromMap } from '../mapped-types';\nimport type { Reducer, AnyAction } from 'redux';\n\nexport type { State };\nexport type { FeatureId, Feature } from './types';\n\nexport { featuresList } from './features-data';\n\nlet isRegistered = false;\n\nexport function register(): typeof STORE_KEY {\n\tif ( ! isRegistered ) {\n\t\tisRegistered = true;\n\t\tregisterStore< State >( STORE_KEY, {\n\t\t\tcontrols,\n\t\t\treducer: reducer as Reducer< State, AnyAction >,\n\t\t\tselectors,\n\t\t} );\n\t}\n\treturn STORE_KEY;\n}\n\ndeclare module '@wordpress/data' {\n\tfunction select( key: typeof STORE_KEY ): SelectFromMap< typeof selectors >;\n}\n","import { featuresList } from './features-data';\nimport type { Feature, FeatureId } from './types';\nimport type { AnyAction, Reducer } from 'redux';\n\nexport type State = Record< FeatureId, Feature >;\n\nconst reducer: Reducer< State, AnyAction > = ( state = featuresList ) => {\n\treturn state;\n};\n\nexport default reducer;\n","import { plansOrder } from '../plans/constants';\nimport type { PlanSlug } from '../plans';\nimport type { State } from './reducer';\nimport type { FeatureId } from './types';\n\nexport const getAllFeatures = ( state: State ) => state;\n\nexport const getRecommendedPlanSlug = (\n\tstate: State,\n\tselectedFeatures: FeatureId[]\n): PlanSlug | undefined => {\n\tconst allFeatures = getAllFeatures( state );\n\n\tif ( ! selectedFeatures.length ) return undefined;\n\n\treturn selectedFeatures.reduce( ( currentMinSupportedPlan, featureId ) => {\n\t\tconst featureMinSupportedPlan = allFeatures[ featureId ].minSupportedPlan;\n\n\t\treturn plansOrder.indexOf( featureMinSupportedPlan as never ) >\n\t\t\tplansOrder.indexOf( currentMinSupportedPlan as never )\n\t\t\t? featureMinSupportedPlan\n\t\t\t: currentMinSupportedPlan;\n\t}, allFeatures[ selectedFeatures[ 0 ] ].minSupportedPlan );\n};\n","import wpcomProxyRequest, {\n\treloadProxy as triggerReloadProxy,\n\trequestAllBlogsAccess as triggerRequestAllBlogsAccess,\n} from 'wpcom-proxy-request';\n\ntype WpcomProxyRequestOptions = Parameters< typeof wpcomProxyRequest >[ 0 ];\n\nexport const wpcomRequest = (\n\trequest: WpcomProxyRequestOptions\n): { type: 'WPCOM_REQUEST'; request: WpcomProxyRequestOptions } =>\n\t( { type: 'WPCOM_REQUEST', request } as const );\n\n/**\n * Action for performing a fetching using `window.fetch()` and parsing the response body.\n * It's different from `apiFetch()` from\n * `@wordpress/data-controls` in that it doesn't use any middleware to add extra parameters.\n *\n * @param resource the resource you wish to fetch\n * @param options request options\n */\nexport const fetchAndParse = (\n\tresource: Parameters< Window[ 'fetch' ] >[ 0 ],\n\toptions?: Parameters< Window[ 'fetch' ] >[ 1 ]\n) =>\n\t( {\n\t\ttype: 'FETCH_AND_PARSE',\n\t\tresource,\n\t\toptions,\n\t} as const );\n\nexport const reloadProxy = () =>\n\t( {\n\t\ttype: 'RELOAD_PROXY',\n\t} as const );\n\nexport const requestAllBlogsAccess = () =>\n\t( {\n\t\ttype: 'REQUEST_ALL_BLOGS_ACCESS',\n\t} as const );\n\nexport const wait = ( ms: number ) => ( { type: 'WAIT', ms } as const );\n\nexport const controls = {\n\tWPCOM_REQUEST: ( { request }: ReturnType< typeof wpcomRequest > ) => wpcomProxyRequest( request ),\n\tFETCH_AND_PARSE: async ( { resource, options }: ReturnType< typeof fetchAndParse > ) => {\n\t\tconst response = await window.fetch( resource, options );\n\n\t\treturn {\n\t\t\tok: response.ok,\n\t\t\tbody: await response.json(),\n\t\t};\n\t},\n\tRELOAD_PROXY: () => {\n\t\ttriggerReloadProxy();\n\t},\n\tREQUEST_ALL_BLOGS_ACCESS: () => triggerRequestAllBlogsAccess(),\n\tWAIT: ( { ms }: ReturnType< typeof wait > ) =>\n\t\tnew Promise( ( resolve ) => setTimeout( resolve, ms ) ),\n} as const;\n","import { CurrencyDefinition, CurrenciesDictionary } from './types';\n\nexport const CURRENCIES: CurrenciesDictionary = {\n\tAED: {\n\t\tsymbol: 'د.إ.‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tAFN: {\n\t\tsymbol: '؋',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tALL: {\n\t\tsymbol: 'Lek',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tAMD: {\n\t\tsymbol: '֏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tANG: {\n\t\tsymbol: 'ƒ',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tAOA: {\n\t\tsymbol: 'Kz',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tARS: {\n\t\tsymbol: '$',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tAUD: {\n\t\tsymbol: 'A$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tAWG: {\n\t\tsymbol: 'ƒ',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tAZN: {\n\t\tsymbol: '₼',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBAM: {\n\t\tsymbol: 'КМ',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBBD: {\n\t\tsymbol: 'Bds$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tBDT: {\n\t\tsymbol: '৳',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tBGN: {\n\t\tsymbol: 'лв.',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBHD: {\n\t\tsymbol: 'د.ب.‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tBIF: {\n\t\tsymbol: 'FBu',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tBMD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tBND: {\n\t\tsymbol: '$',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 0,\n\t},\n\tBOB: {\n\t\tsymbol: 'Bs',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBRL: {\n\t\tsymbol: 'R$',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBSD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tBTC: {\n\t\tsymbol: 'Ƀ',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tBTN: {\n\t\tsymbol: 'Nu.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 1,\n\t},\n\tBWP: {\n\t\tsymbol: 'P',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tBYR: {\n\t\tsymbol: 'р.',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBZD: {\n\t\tsymbol: 'BZ$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCAD: {\n\t\tsymbol: 'C$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCDF: {\n\t\tsymbol: 'FC',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCHF: {\n\t\tsymbol: 'CHF',\n\t\tgrouping: \"'\",\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCLP: {\n\t\tsymbol: '$',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tCNY: {\n\t\tsymbol: '¥',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCOP: {\n\t\tsymbol: '$',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tCRC: {\n\t\tsymbol: '₡',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tCUC: {\n\t\tsymbol: 'CUC',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCUP: {\n\t\tsymbol: '$MN',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCVE: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCZK: {\n\t\tsymbol: 'Kč',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tDJF: {\n\t\tsymbol: 'Fdj',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tDKK: {\n\t\tsymbol: 'kr.',\n\t\tgrouping: '',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tDOP: {\n\t\tsymbol: 'RD$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tDZD: {\n\t\tsymbol: 'د.ج.‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tEGP: {\n\t\tsymbol: 'ج.م.‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tERN: {\n\t\tsymbol: 'Nfk',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tETB: {\n\t\tsymbol: 'ETB',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tEUR: {\n\t\tsymbol: '€',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tFJD: {\n\t\tsymbol: 'FJ$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tFKP: {\n\t\tsymbol: '£',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGBP: {\n\t\tsymbol: '£',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGEL: {\n\t\tsymbol: 'Lari',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tGHS: {\n\t\tsymbol: '₵',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGIP: {\n\t\tsymbol: '£',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGMD: {\n\t\tsymbol: 'D',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGNF: {\n\t\tsymbol: 'FG',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tGTQ: {\n\t\tsymbol: 'Q',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGYD: {\n\t\tsymbol: 'G$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tHKD: {\n\t\tsymbol: 'HK$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tHNL: {\n\t\tsymbol: 'L.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tHRK: {\n\t\tsymbol: 'kn',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tHTG: {\n\t\tsymbol: 'G',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tHUF: {\n\t\tsymbol: 'Ft',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 0,\n\t},\n\tIDR: {\n\t\tsymbol: 'Rp',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 0,\n\t},\n\tILS: {\n\t\tsymbol: '₪',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tINR: {\n\t\tsymbol: '₹',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tIQD: {\n\t\tsymbol: 'د.ع.‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tIRR: {\n\t\tsymbol: '﷼',\n\t\tgrouping: ',',\n\t\tdecimal: '/',\n\t\tprecision: 2,\n\t},\n\tISK: {\n\t\tsymbol: 'kr.',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 0,\n\t},\n\tJMD: {\n\t\tsymbol: 'J$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tJOD: {\n\t\tsymbol: 'د.ا.‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tJPY: {\n\t\tsymbol: '¥',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tKES: {\n\t\tsymbol: 'S',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tKGS: {\n\t\tsymbol: 'сом',\n\t\tgrouping: ' ',\n\t\tdecimal: '-',\n\t\tprecision: 2,\n\t},\n\tKHR: {\n\t\tsymbol: '៛',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tKMF: {\n\t\tsymbol: 'CF',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tKPW: {\n\t\tsymbol: '₩',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tKRW: {\n\t\tsymbol: '₩',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tKWD: {\n\t\tsymbol: 'د.ك.‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tKYD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tKZT: {\n\t\tsymbol: '₸',\n\t\tgrouping: ' ',\n\t\tdecimal: '-',\n\t\tprecision: 2,\n\t},\n\tLAK: {\n\t\tsymbol: '₭',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tLBP: {\n\t\tsymbol: 'ل.ل.‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tLKR: {\n\t\tsymbol: '₨',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tLRD: {\n\t\tsymbol: 'L$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tLSL: {\n\t\tsymbol: 'M',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tLYD: {\n\t\tsymbol: 'د.ل.‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tMAD: {\n\t\tsymbol: 'د.م.‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMDL: {\n\t\tsymbol: 'lei',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMGA: {\n\t\tsymbol: 'Ar',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tMKD: {\n\t\tsymbol: 'ден.',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tMMK: {\n\t\tsymbol: 'K',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMNT: {\n\t\tsymbol: '₮',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tMOP: {\n\t\tsymbol: 'MOP$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMRO: {\n\t\tsymbol: 'UM',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMTL: {\n\t\tsymbol: '₤',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMUR: {\n\t\tsymbol: '₨',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMVR: {\n\t\tsymbol: 'MVR',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 1,\n\t},\n\tMWK: {\n\t\tsymbol: 'MK',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMXN: {\n\t\tsymbol: 'MX$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMYR: {\n\t\tsymbol: 'RM',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMZN: {\n\t\tsymbol: 'MT',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tNAD: {\n\t\tsymbol: 'N$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tNGN: {\n\t\tsymbol: '₦',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tNIO: {\n\t\tsymbol: 'C$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tNOK: {\n\t\tsymbol: 'kr',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tNPR: {\n\t\tsymbol: '₨',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tNZD: {\n\t\tsymbol: 'NZ$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tOMR: {\n\t\tsymbol: '﷼',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tPAB: {\n\t\tsymbol: 'B/.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tPEN: {\n\t\tsymbol: 'S/.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tPGK: {\n\t\tsymbol: 'K',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tPHP: {\n\t\tsymbol: '₱',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tPKR: {\n\t\tsymbol: '₨',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tPLN: {\n\t\tsymbol: 'zł',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tPYG: {\n\t\tsymbol: '₲',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tQAR: {\n\t\tsymbol: '﷼',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tRON: {\n\t\tsymbol: 'lei',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tRSD: {\n\t\tsymbol: 'Дин.',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tRUB: {\n\t\tsymbol: '₽',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tRWF: {\n\t\tsymbol: 'RWF',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tSAR: {\n\t\tsymbol: '﷼',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSBD: {\n\t\tsymbol: 'S$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSCR: {\n\t\tsymbol: '₨',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSDD: {\n\t\tsymbol: 'LSd',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSDG: {\n\t\tsymbol: '£‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSEK: {\n\t\tsymbol: 'kr',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSGD: {\n\t\tsymbol: 'S$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSHP: {\n\t\tsymbol: '£',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSLL: {\n\t\tsymbol: 'Le',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSOS: {\n\t\tsymbol: 'S',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSRD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSTD: {\n\t\tsymbol: 'Db',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSVC: {\n\t\tsymbol: '₡',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSYP: {\n\t\tsymbol: '£',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSZL: {\n\t\tsymbol: 'E',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTHB: {\n\t\tsymbol: '฿',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTJS: {\n\t\tsymbol: 'TJS',\n\t\tgrouping: ' ',\n\t\tdecimal: ';',\n\t\tprecision: 2,\n\t},\n\tTMT: {\n\t\tsymbol: 'm',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 0,\n\t},\n\tTND: {\n\t\tsymbol: 'د.ت.‏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tTOP: {\n\t\tsymbol: 'T$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTRY: {\n\t\tsymbol: 'TL',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tTTD: {\n\t\tsymbol: 'TT$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTVD: {\n\t\tsymbol: '$T',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTWD: {\n\t\tsymbol: 'NT$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTZS: {\n\t\tsymbol: 'TSh',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tUAH: {\n\t\tsymbol: '₴',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tUGX: {\n\t\tsymbol: 'USh',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tUSD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tUYU: {\n\t\tsymbol: '$U',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tUZS: {\n\t\tsymbol: 'сўм',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tVEB: {\n\t\tsymbol: 'Bs.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tVEF: {\n\t\tsymbol: 'Bs. F.',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tVND: {\n\t\tsymbol: '₫',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 1,\n\t},\n\tVUV: {\n\t\tsymbol: 'VT',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tWST: {\n\t\tsymbol: 'WS$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tXAF: {\n\t\tsymbol: 'F',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tXCD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tXOF: {\n\t\tsymbol: 'F',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tXPF: {\n\t\tsymbol: 'F',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tYER: {\n\t\tsymbol: '﷼',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tZAR: {\n\t\tsymbol: 'R',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tZMW: {\n\t\tsymbol: 'ZK',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tWON: {\n\t\tsymbol: '₩',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n};\n\n/**\n * Returns currency defaults.\n *\n * @param {string} code currency code\n * @returns {?object} currency defaults\n */\nexport function getCurrencyDefaults( code: string ): CurrencyDefinition {\n\tconst defaultCurrency = {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t};\n\n\treturn CURRENCIES[ code ] || defaultCurrency;\n}\n","import { getCurrencyDefaults } from './currencies';\nimport numberFormat from './number-format';\nimport { FormatCurrencyOptions, CurrencyObject } from './types';\n\nexport { getCurrencyDefaults };\n\nexport { CURRENCIES } from './currencies';\n\n/**\n * Formats money with a given currency code\n *\n * @param {number} number number to format\n * @param {string} code currency code e.g. 'USD'\n * @param {object} options options object\n * @param {string} options.decimal decimal symbol e.g. ','\n * @param {string} options.grouping thousands separator\n * @param {number} options.precision decimal digits\n * @param {string} options.symbol currency symbol e.g. 'A$'\n * @param {boolean} options.stripZeros whether to remove trailing zero cents\n * @returns {?string} A formatted string.\n */\nexport default function formatCurrency(\n\tnumber: number,\n\tcode: string,\n\toptions: FormatCurrencyOptions = {}\n): string | null {\n\tconst currencyDefaults = getCurrencyDefaults( code );\n\tif ( ! currencyDefaults || isNaN( number ) ) {\n\t\treturn null;\n\t}\n\tconst { decimal, grouping, precision, symbol } = { ...currencyDefaults, ...options };\n\tconst sign = number < 0 ? '-' : '';\n\tlet value = numberFormat( Math.abs( number ), precision, decimal, grouping );\n\n\tif ( options.stripZeros ) {\n\t\tvalue = stripZeros( value, decimal );\n\t}\n\n\treturn `${ sign }${ symbol }${ value }`;\n}\n\n/**\n * Returns a formatted price object.\n *\n * @param {number} number number to format\n * @param {string} code currency code e.g. 'USD'\n * @param {object} options options object\n * @param {string} options.decimal decimal symbol e.g. ','\n * @param {string} options.grouping thousands separator\n * @param {number} options.precision decimal digits\n * @param {string} options.symbol currency symbol e.g. 'A$'\n * @returns {?CurrencyObject} A formatted string e.g. { symbol:'$', integer: '$99', fraction: '.99', sign: '-' }\n */\nexport function getCurrencyObject(\n\tnumber: number,\n\tcode: string,\n\toptions: FormatCurrencyOptions = {}\n): CurrencyObject | null {\n\tconst currencyDefaults = getCurrencyDefaults( code );\n\tif ( ! currencyDefaults || isNaN( number ) ) {\n\t\treturn null;\n\t}\n\tconst { decimal, grouping, precision, symbol } = { ...currencyDefaults, ...options };\n\tconst sign = number < 0 ? '-' : '';\n\tconst absNumber = Math.abs( number );\n\tconst rawInteger = Math.floor( absNumber );\n\tconst integer = numberFormat( absNumber, precision, decimal, grouping ).split( decimal )[ 0 ];\n\tconst fraction =\n\t\tprecision > 0\n\t\t\t? numberFormat( absNumber - rawInteger, precision, decimal, grouping ).slice( 1 )\n\t\t\t: '';\n\treturn {\n\t\tsign,\n\t\tsymbol,\n\t\tinteger,\n\t\tfraction,\n\t};\n}\n\n/**\n * Remove trailing zero cents\n *\n * @param {string} number formatted number\n * @param {string} decimal decimal symbol\n * @returns {string}\n */\n\nfunction stripZeros( number: string, decimal: string ): string {\n\tconst regex = new RegExp( `\\\\${ decimal }0+$` );\n\treturn number.replace( regex, '' );\n}\n","/*\n * Exposes number format capability\n *\n * @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).\n * @license See CREDITS.md\n * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js\n */\nfunction toFixedFix( n: number, prec: number ) {\n\tconst k = Math.pow( 10, prec );\n\treturn '' + ( Math.round( n * k ) / k ).toFixed( prec );\n}\n\nexport default function number_format(\n\t_number: number | string,\n\tdecimals = 0,\n\tdec_point = '.',\n\tthousands_sep = ','\n) {\n\tconst number = ( _number + '' ).replace( /[^0-9+\\-Ee.]/g, '' );\n\tconst n = ! isFinite( +number ) ? 0 : +number;\n\tconst prec = ! isFinite( +decimals ) ? 0 : Math.abs( decimals );\n\t// Fix for IE parseFloat(0.55).toFixed(0) = 0;\n\tconst s = ( prec ? toFixedFix( n, prec ) : '' + Math.round( n ) ).split( '.' );\n\tif ( s[ 0 ].length > 3 ) {\n\t\ts[ 0 ] = s[ 0 ].replace( /\\B(?=(?:\\d{3})+(?!\\d))/g, thousands_sep );\n\t}\n\tif ( ( s[ 1 ] || '' ).length < prec ) {\n\t\ts[ 1 ] = s[ 1 ] || '';\n\t\ts[ 1 ] += new Array( prec - s[ 1 ].length + 1 ).join( '0' );\n\t}\n\treturn s.join( dec_point );\n}\n","import I18N from './i18n';\n\nexport default new I18N();\n","import { EventEmitter } from 'events';\nimport interpolateComponents from '@automattic/interpolate-components';\nimport sprintf from '@tannin/sprintf';\nimport debugFactory from 'debug';\nimport sha1 from 'hash.js/lib/hash/sha/1';\nimport LRU from 'lru';\nimport Tannin from 'tannin';\nimport numberFormat from './number-format';\n\n/**\n * Module variables\n */\nconst debug = debugFactory( 'i18n-calypso' );\n\n/**\n * Constants\n */\nconst decimal_point_translation_key = 'number_format_decimals';\nconst thousands_sep_translation_key = 'number_format_thousands_sep';\nconst domain_key = 'messages';\n\nconst translationLookup = [\n\t// By default don't modify the options when looking up translations.\n\tfunction ( options ) {\n\t\treturn options;\n\t},\n];\n\nconst hashCache = {};\n\n// raise a console warning\nfunction warn() {\n\tif ( ! I18N.throwErrors ) {\n\t\treturn;\n\t}\n\tif ( 'undefined' !== typeof window && window.console && window.console.warn ) {\n\t\twindow.console.warn.apply( window.console, arguments );\n\t}\n}\n\n// turns Function.arguments into an array\nfunction simpleArguments( args ) {\n\treturn Array.prototype.slice.call( args );\n}\n\n/**\n * Coerce the possible arguments and normalize to a single object.\n *\n * @param {any} args - arguments passed in from `translate()`\n * @returns {object} - a single object describing translation needs\n */\nfunction normalizeTranslateArguments( args ) {\n\tconst original = args[ 0 ];\n\n\t// warn about older deprecated syntax\n\tif (\n\t\ttypeof original !== 'string' ||\n\t\targs.length > 3 ||\n\t\t( args.length > 2 && typeof args[ 1 ] === 'object' && typeof args[ 2 ] === 'object' )\n\t) {\n\t\twarn(\n\t\t\t'Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:',\n\t\t\tsimpleArguments( args ),\n\t\t\t'. See https://github.com/Automattic/i18n-calypso#translate-method'\n\t\t);\n\t}\n\tif ( args.length === 2 && typeof original === 'string' && typeof args[ 1 ] === 'string' ) {\n\t\twarn(\n\t\t\t'Invalid Invocation: `translate()` requires an options object for plural translations, but passed:',\n\t\t\tsimpleArguments( args )\n\t\t);\n\t}\n\n\t// options could be in position 0, 1, or 2\n\t// sending options as the first object is deprecated and will raise a warning\n\tlet options = {};\n\tfor ( let i = 0; i < args.length; i++ ) {\n\t\tif ( typeof args[ i ] === 'object' ) {\n\t\t\toptions = args[ i ];\n\t\t}\n\t}\n\n\t// `original` can be passed as first parameter or as part of the options object\n\t// though passing original as part of the options is a deprecated approach and will be removed\n\tif ( typeof original === 'string' ) {\n\t\toptions.original = original;\n\t} else if ( typeof options.original === 'object' ) {\n\t\toptions.plural = options.original.plural;\n\t\toptions.count = options.original.count;\n\t\toptions.original = options.original.single;\n\t}\n\tif ( typeof args[ 1 ] === 'string' ) {\n\t\toptions.plural = args[ 1 ];\n\t}\n\n\tif ( typeof options.original === 'undefined' ) {\n\t\tthrow new Error( 'Translate called without a `string` value as first argument.' );\n\t}\n\n\treturn options;\n}\n\n/**\n * Takes translate options object and coerces to a Tannin request to retrieve translation.\n *\n * @param {object} tannin - tannin data object\n * @param {object} options - object describing translation\n * @returns {string} - the returned translation from Tannin\n */\nfunction getTranslationFromTannin( tannin, options ) {\n\treturn tannin.dcnpgettext(\n\t\tdomain_key,\n\t\toptions.context,\n\t\toptions.original,\n\t\toptions.plural,\n\t\toptions.count\n\t);\n}\n\nfunction getTranslation( i18n, options ) {\n\tfor ( let i = translationLookup.length - 1; i >= 0; i-- ) {\n\t\tconst lookup = translationLookup[ i ]( Object.assign( {}, options ) );\n\t\tconst key = lookup.context ? lookup.context + '\\u0004' + lookup.original : lookup.original;\n\n\t\t// Only get the translation from tannin if it exists.\n\t\tif ( i18n.state.locale[ key ] ) {\n\t\t\treturn getTranslationFromTannin( i18n.state.tannin, lookup );\n\t\t}\n\t}\n\n\treturn null;\n}\n\nfunction I18N() {\n\tif ( ! ( this instanceof I18N ) ) {\n\t\treturn new I18N();\n\t}\n\tthis.defaultLocaleSlug = 'en';\n\t// Tannin always needs a plural form definition, or it fails when dealing with plurals.\n\tthis.defaultPluralForms = ( n ) => ( n === 1 ? 0 : 1 );\n\tthis.state = {\n\t\tnumberFormatSettings: {},\n\t\ttannin: undefined,\n\t\tlocale: undefined,\n\t\tlocaleSlug: undefined,\n\t\tlocaleVariant: undefined,\n\t\ttextDirection: undefined,\n\t\ttranslations: LRU( { max: 100 } ),\n\t};\n\tthis.componentUpdateHooks = [];\n\tthis.translateHooks = [];\n\tthis.stateObserver = new EventEmitter();\n\t// Because the higher-order component can wrap a ton of React components,\n\t// we need to bump the number of listeners to infinity and beyond\n\t// FIXME: still valid?\n\tthis.stateObserver.setMaxListeners( 0 );\n\t// default configuration\n\tthis.configure();\n}\n\nI18N.throwErrors = false;\n\nI18N.prototype.on = function ( ...args ) {\n\tthis.stateObserver.on( ...args );\n};\n\nI18N.prototype.off = function ( ...args ) {\n\tthis.stateObserver.off( ...args );\n};\n\nI18N.prototype.emit = function ( ...args ) {\n\tthis.stateObserver.emit( ...args );\n};\n\n/**\n * Formats numbers using locale settings and/or passed options.\n *\n * @param {string|number} number to format (required)\n * @param {number|object} options Number of decimal places or options object (optional)\n * @returns {string} Formatted number as string\n */\nI18N.prototype.numberFormat = function ( number, options = {} ) {\n\tconst decimals = typeof options === 'number' ? options : options.decimals || 0;\n\tconst decPoint = options.decPoint || this.state.numberFormatSettings.decimal_point || '.';\n\tconst thousandsSep = options.thousandsSep || this.state.numberFormatSettings.thousands_sep || ',';\n\n\treturn numberFormat( number, decimals, decPoint, thousandsSep );\n};\n\nI18N.prototype.configure = function ( options ) {\n\tObject.assign( this, options || {} );\n\tthis.setLocale();\n};\n\nI18N.prototype.setLocale = function ( localeData ) {\n\tif ( localeData && localeData[ '' ] && localeData[ '' ][ 'key-hash' ] ) {\n\t\tconst keyHash = localeData[ '' ][ 'key-hash' ];\n\n\t\tconst transform = function ( string, hashLength ) {\n\t\t\tconst lookupPrefix = hashLength === false ? '' : String( hashLength );\n\t\t\tif ( typeof hashCache[ lookupPrefix + string ] !== 'undefined' ) {\n\t\t\t\treturn hashCache[ lookupPrefix + string ];\n\t\t\t}\n\t\t\tconst hash = sha1().update( string ).digest( 'hex' );\n\n\t\t\tif ( hashLength ) {\n\t\t\t\treturn ( hashCache[ lookupPrefix + string ] = hash.substr( 0, hashLength ) );\n\t\t\t}\n\n\t\t\treturn ( hashCache[ lookupPrefix + string ] = hash );\n\t\t};\n\n\t\tconst generateLookup = function ( hashLength ) {\n\t\t\treturn function ( options ) {\n\t\t\t\tif ( options.context ) {\n\t\t\t\t\toptions.original = transform(\n\t\t\t\t\t\toptions.context + String.fromCharCode( 4 ) + options.original,\n\t\t\t\t\t\thashLength\n\t\t\t\t\t);\n\t\t\t\t\tdelete options.context;\n\t\t\t\t} else {\n\t\t\t\t\toptions.original = transform( options.original, hashLength );\n\t\t\t\t}\n\n\t\t\t\treturn options;\n\t\t\t};\n\t\t};\n\n\t\tif ( keyHash.substr( 0, 4 ) === 'sha1' ) {\n\t\t\tif ( keyHash.length === 4 ) {\n\t\t\t\ttranslationLookup.push( generateLookup( false ) );\n\t\t\t} else {\n\t\t\t\tconst variableHashLengthPos = keyHash.substr( 5 ).indexOf( '-' );\n\t\t\t\tif ( variableHashLengthPos < 0 ) {\n\t\t\t\t\tconst hashLength = Number( keyHash.substr( 5 ) );\n\t\t\t\t\ttranslationLookup.push( generateLookup( hashLength ) );\n\t\t\t\t} else {\n\t\t\t\t\tconst minHashLength = Number( keyHash.substr( 5, variableHashLengthPos ) );\n\t\t\t\t\tconst maxHashLength = Number( keyHash.substr( 6 + variableHashLengthPos ) );\n\n\t\t\t\t\tfor ( let hashLength = minHashLength; hashLength <= maxHashLength; hashLength++ ) {\n\t\t\t\t\t\ttranslationLookup.push( generateLookup( hashLength ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// if localeData is not given, assumes default locale and reset\n\tif ( ! localeData || ! localeData[ '' ].localeSlug ) {\n\t\tthis.state.locale = {\n\t\t\t'': { localeSlug: this.defaultLocaleSlug, plural_forms: this.defaultPluralForms },\n\t\t};\n\t} else if ( localeData[ '' ].localeSlug === this.state.localeSlug ) {\n\t\t// Exit if same data as current (comparing references only)\n\t\tif ( localeData === this.state.locale ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// merge new data into existing one\n\t\tObject.assign( this.state.locale, localeData );\n\t} else {\n\t\tthis.state.locale = Object.assign( {}, localeData );\n\t}\n\n\tthis.state.localeSlug = this.state.locale[ '' ].localeSlug;\n\tthis.state.localeVariant = this.state.locale[ '' ].localeVariant;\n\n\t// extract the `textDirection` info (LTR or RTL) from either:\n\t// - the translation for the special string \"ltr\" (standard in Core, not present in Calypso)\n\t// - or the `momentjs_locale.textDirection` property present in Calypso translation files\n\tthis.state.textDirection =\n\t\tthis.state.locale[ 'text direction\\u0004ltr' ]?.[ 0 ] ||\n\t\tthis.state.locale[ '' ]?.momentjs_locale?.textDirection;\n\n\tthis.state.tannin = new Tannin( { [ domain_key ]: this.state.locale } );\n\n\t// Updates numberFormat preferences with settings from translations\n\tthis.state.numberFormatSettings.decimal_point = getTranslationFromTannin(\n\t\tthis.state.tannin,\n\t\tnormalizeTranslateArguments( [ decimal_point_translation_key ] )\n\t);\n\tthis.state.numberFormatSettings.thousands_sep = getTranslationFromTannin(\n\t\tthis.state.tannin,\n\t\tnormalizeTranslateArguments( [ thousands_sep_translation_key ] )\n\t);\n\n\t// If translation isn't set, define defaults.\n\tif ( this.state.numberFormatSettings.decimal_point === decimal_point_translation_key ) {\n\t\tthis.state.numberFormatSettings.decimal_point = '.';\n\t}\n\n\tif ( this.state.numberFormatSettings.thousands_sep === thousands_sep_translation_key ) {\n\t\tthis.state.numberFormatSettings.thousands_sep = ',';\n\t}\n\n\tthis.stateObserver.emit( 'change' );\n};\n\nI18N.prototype.getLocale = function () {\n\treturn this.state.locale;\n};\n\n/**\n * Get the current locale slug.\n *\n * @returns {string} The string representing the currently loaded locale\n */\nI18N.prototype.getLocaleSlug = function () {\n\treturn this.state.localeSlug;\n};\n\n/**\n * Get the current locale variant. That's set for some special locales that don't have a\n * standard ISO code, like `de_formal` or `sr_latin`.\n *\n * @returns {string|undefined} The string representing the currently loaded locale's variant\n */\nI18N.prototype.getLocaleVariant = function () {\n\treturn this.state.localeVariant;\n};\n\n/**\n * Get the current text direction, left-to-right (LTR) or right-to-left (RTL).\n *\n * @returns {boolean} `true` in case the current locale has RTL text direction\n */\nI18N.prototype.isRtl = function () {\n\treturn this.state.textDirection === 'rtl';\n};\n\n/**\n * Adds new translations to the locale data, overwriting any existing translations with a matching key.\n *\n * @param {object} localeData Locale data\n */\nI18N.prototype.addTranslations = function ( localeData ) {\n\tfor ( const prop in localeData ) {\n\t\tif ( prop !== '' ) {\n\t\t\tthis.state.tannin.data.messages[ prop ] = localeData[ prop ];\n\t\t}\n\t}\n\n\tthis.stateObserver.emit( 'change' );\n};\n\n/**\n * Checks whether the given original has a translation.\n *\n * @returns {boolean} whether a translation exists\n */\nI18N.prototype.hasTranslation = function () {\n\treturn !! getTranslation( this, normalizeTranslateArguments( arguments ) );\n};\n\n/**\n * Exposes single translation method.\n * See sibling README\n *\n * @returns {string|object} translated text or an object containing React children that can be inserted into a parent component\n */\nI18N.prototype.translate = function () {\n\tconst options = normalizeTranslateArguments( arguments );\n\n\tlet translation = getTranslation( this, options );\n\tif ( ! translation ) {\n\t\t// This purposefully calls tannin for a case where there is no translation,\n\t\t// so that tannin gives us the expected object with English text.\n\t\ttranslation = getTranslationFromTannin( this.state.tannin, options );\n\t}\n\n\t// handle any string substitution\n\tif ( options.args ) {\n\t\tconst sprintfArgs = Array.isArray( options.args ) ? options.args.slice( 0 ) : [ options.args ];\n\t\tsprintfArgs.unshift( translation );\n\t\ttry {\n\t\t\ttranslation = sprintf( ...sprintfArgs );\n\t\t} catch ( error ) {\n\t\t\tif ( ! window || ! window.console ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst errorMethod = this.throwErrors ? 'error' : 'warn';\n\t\t\tif ( typeof error !== 'string' ) {\n\t\t\t\twindow.console[ errorMethod ]( error );\n\t\t\t} else {\n\t\t\t\twindow.console[ errorMethod ]( 'i18n sprintf error:', sprintfArgs );\n\t\t\t}\n\t\t}\n\t}\n\n\t// interpolate any components\n\tif ( options.components ) {\n\t\ttranslation = interpolateComponents( {\n\t\t\tmixedString: translation,\n\t\t\tcomponents: options.components,\n\t\t\tthrowErrors: this.throwErrors,\n\t\t} );\n\t}\n\n\t// run any necessary hooks\n\tthis.translateHooks.forEach( function ( hook ) {\n\t\ttranslation = hook( translation, options );\n\t} );\n\n\treturn translation;\n};\n\n/**\n * Causes i18n to re-render all translations.\n *\n * This can be necessary if an extension makes changes that i18n is unaware of\n * and needs those changes manifested immediately (e.g. adding an important\n * translation hook, or modifying the behaviour of an existing hook).\n *\n * If at all possible, react components should try to use the more local\n * updateTranslation() function inherited from the mixin.\n */\nI18N.prototype.reRenderTranslations = function () {\n\tdebug( 'Re-rendering all translations due to external request' );\n\tthis.stateObserver.emit( 'change' );\n};\n\nI18N.prototype.registerComponentUpdateHook = function ( callback ) {\n\tthis.componentUpdateHooks.push( callback );\n};\n\nI18N.prototype.registerTranslateHook = function ( callback ) {\n\tthis.translateHooks.push( callback );\n};\n\nexport default I18N;\n","import I18NContext from './context';\nimport i18n from './default-i18n';\nimport I18N from './i18n';\nimport localize from './localize';\nimport { useRtl, withRtl } from './rtl';\nimport useTranslate from './use-translate';\n\nexport { I18N, I18NContext, localize, useRtl, withRtl, useTranslate };\nexport default i18n;\n\n// Export the default instance's properties and bound methods for convenience\n// These should be deprecated eventually, exposing only the default `i18n` instance\nexport const numberFormat = i18n.numberFormat.bind( i18n );\nexport const translate = i18n.translate.bind( i18n );\nexport const configure = i18n.configure.bind( i18n );\nexport const setLocale = i18n.setLocale.bind( i18n );\nexport const getLocale = i18n.getLocale.bind( i18n );\nexport const getLocaleSlug = i18n.getLocaleSlug.bind( i18n );\nexport const getLocaleVariant = i18n.getLocaleVariant.bind( i18n );\nexport const isRtl = i18n.isRtl.bind( i18n );\nexport const addTranslations = i18n.addTranslations.bind( i18n );\nexport const reRenderTranslations = i18n.reRenderTranslations.bind( i18n );\nexport const registerComponentUpdateHook = i18n.registerComponentUpdateHook.bind( i18n );\nexport const registerTranslateHook = i18n.registerTranslateHook.bind( i18n );\nexport const state = i18n.state;\nexport const stateObserver = i18n.stateObserver;\nexport const on = i18n.on.bind( i18n );\nexport const off = i18n.off.bind( i18n );\nexport const emit = i18n.emit.bind( i18n );\n","/*\n * Exposes number format capability\n *\n * @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).\n * @license See CREDITS.md\n * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js\n */\nfunction toFixedFix( n, prec ) {\n\tconst k = Math.pow( 10, prec );\n\treturn '' + ( Math.round( n * k ) / k ).toFixed( prec );\n}\n\nexport default function number_format( number, decimals, dec_point, thousands_sep ) {\n\tnumber = ( number + '' ).replace( /[^0-9+\\-Ee.]/g, '' );\n\tconst n = ! isFinite( +number ) ? 0 : +number;\n\tconst prec = ! isFinite( +decimals ) ? 0 : Math.abs( decimals );\n\tconst sep = typeof thousands_sep === 'undefined' ? ',' : thousands_sep;\n\tconst dec = typeof dec_point === 'undefined' ? '.' : dec_point;\n\tlet s = '';\n\t// Fix for IE parseFloat(0.55).toFixed(0) = 0;\n\ts = ( prec ? toFixedFix( n, prec ) : '' + Math.round( n ) ).split( '.' );\n\tif ( s[ 0 ].length > 3 ) {\n\t\ts[ 0 ] = s[ 0 ].replace( /\\B(?=(?:\\d{3})+(?!\\d))/g, sep );\n\t}\n\tif ( ( s[ 1 ] || '' ).length < prec ) {\n\t\ts[ 1 ] = s[ 1 ] || '';\n\t\ts[ 1 ] += new Array( prec - s[ 1 ].length + 1 ).join( '0' );\n\t}\n\treturn s.join( dec );\n}\n","import { cloneElement, createElement, Fragment } from 'react';\nimport tokenize from './tokenize';\n\nfunction getCloseIndex( openIndex, tokens ) {\n\tconst openToken = tokens[ openIndex ];\n\tlet nestLevel = 0;\n\tfor ( let i = openIndex + 1; i < tokens.length; i++ ) {\n\t\tconst token = tokens[ i ];\n\t\tif ( token.value === openToken.value ) {\n\t\t\tif ( token.type === 'componentOpen' ) {\n\t\t\t\tnestLevel++;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif ( token.type === 'componentClose' ) {\n\t\t\t\tif ( nestLevel === 0 ) {\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t\tnestLevel--;\n\t\t\t}\n\t\t}\n\t}\n\t// if we get this far, there was no matching close token\n\tthrow new Error( 'Missing closing component token `' + openToken.value + '`' );\n}\n\nfunction buildChildren( tokens, components ) {\n\tlet children = [];\n\tlet openComponent;\n\tlet openIndex;\n\n\tfor ( let i = 0; i < tokens.length; i++ ) {\n\t\tconst token = tokens[ i ];\n\t\tif ( token.type === 'string' ) {\n\t\t\tchildren.push( token.value );\n\t\t\tcontinue;\n\t\t}\n\t\t// component node should at least be set\n\t\tif ( components[ token.value ] === undefined ) {\n\t\t\tthrow new Error( `Invalid interpolation, missing component node: \\`${ token.value }\\`` );\n\t\t}\n\t\t// should be either ReactElement or null (both type \"object\"), all other types deprecated\n\t\tif ( typeof components[ token.value ] !== 'object' ) {\n\t\t\tthrow new Error(\n\t\t\t\t`Invalid interpolation, component node must be a ReactElement or null: \\`${ token.value }\\``\n\t\t\t);\n\t\t}\n\t\t// we should never see a componentClose token in this loop\n\t\tif ( token.type === 'componentClose' ) {\n\t\t\tthrow new Error( `Missing opening component token: \\`${ token.value }\\`` );\n\t\t}\n\t\tif ( token.type === 'componentOpen' ) {\n\t\t\topenComponent = components[ token.value ];\n\t\t\topenIndex = i;\n\t\t\tbreak;\n\t\t}\n\t\t// componentSelfClosing token\n\t\tchildren.push( components[ token.value ] );\n\t\tcontinue;\n\t}\n\n\tif ( openComponent ) {\n\t\tconst closeIndex = getCloseIndex( openIndex, tokens );\n\t\tconst grandChildTokens = tokens.slice( openIndex + 1, closeIndex );\n\t\tconst grandChildren = buildChildren( grandChildTokens, components );\n\t\tconst clonedOpenComponent = cloneElement( openComponent, {}, grandChildren );\n\t\tchildren.push( clonedOpenComponent );\n\n\t\tif ( closeIndex < tokens.length - 1 ) {\n\t\t\tconst siblingTokens = tokens.slice( closeIndex + 1 );\n\t\t\tconst siblings = buildChildren( siblingTokens, components );\n\t\t\tchildren = children.concat( siblings );\n\t\t}\n\t}\n\n\tchildren = children.filter( Boolean );\n\n\tif ( children.length === 0 ) {\n\t\treturn null;\n\t}\n\n\tif ( children.length === 1 ) {\n\t\treturn children[ 0 ];\n\t}\n\n\treturn createElement( Fragment, null, ...children );\n}\n\nexport default function interpolate( options ) {\n\tconst { mixedString, components, throwErrors } = options;\n\n\tif ( ! components ) {\n\t\treturn mixedString;\n\t}\n\n\tif ( typeof components !== 'object' ) {\n\t\tif ( throwErrors ) {\n\t\t\tthrow new Error(\n\t\t\t\t`Interpolation Error: unable to process \\`${ mixedString }\\` because components is not an object`\n\t\t\t);\n\t\t}\n\n\t\treturn mixedString;\n\t}\n\n\tconst tokens = tokenize( mixedString );\n\n\ttry {\n\t\treturn buildChildren( tokens, components );\n\t} catch ( error ) {\n\t\tif ( throwErrors ) {\n\t\t\tthrow new Error(\n\t\t\t\t`Interpolation Error: unable to process \\`${ mixedString }\\` because of error \\`${ error.message }\\``\n\t\t\t);\n\t\t}\n\n\t\treturn mixedString;\n\t}\n}\n","function identifyToken( item ) {\n\t// {{/example}}\n\tif ( item.startsWith( '{{/' ) ) {\n\t\treturn {\n\t\t\ttype: 'componentClose',\n\t\t\tvalue: item.replace( /\\W/g, '' ),\n\t\t};\n\t}\n\t// {{example /}}\n\tif ( item.endsWith( '/}}' ) ) {\n\t\treturn {\n\t\t\ttype: 'componentSelfClosing',\n\t\t\tvalue: item.replace( /\\W/g, '' ),\n\t\t};\n\t}\n\t// {{example}}\n\tif ( item.startsWith( '{{' ) ) {\n\t\treturn {\n\t\t\ttype: 'componentOpen',\n\t\t\tvalue: item.replace( /\\W/g, '' ),\n\t\t};\n\t}\n\treturn {\n\t\ttype: 'string',\n\t\tvalue: item,\n\t};\n}\n\nexport default function tokenize( mixedString ) {\n\tconst tokenStrings = mixedString.split( /(\\{\\{\\/?\\s*\\w+\\s*\\/?\\}\\})/g ); // split to components and strings\n\treturn tokenStrings.map( identifyToken );\n}\n","import debugFactory from 'debug';\nimport ProgressEvent from 'progress-event';\nimport { v4 as uuidv4 } from 'uuid';\nimport WPError from 'wp-error';\n\n/**\n * debug instance\n */\nconst debug = debugFactory( 'wpcom-proxy-request' );\n\n/**\n * WordPress.com REST API base endpoint.\n */\nconst proxyOrigin = 'https://public-api.wordpress.com';\n\n/**\n * \"Origin\" of the current HTML page.\n */\nconst origin = window.location.protocol + '//' + window.location.host;\n\nlet onStreamRecord = null;\n\n/**\n * Detecting support for the structured clone algorithm. IE8 and 9, and Firefox\n * 6.0 and below only support strings as postMessage's message. This browsers\n * will try to use the toString method.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage\n * https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/The_structured_clone_algorithm\n * https://github.com/Modernizr/Modernizr/issues/388#issuecomment-31127462\n */\nconst postStrings = ( () => {\n\tlet r = false;\n\ttry {\n\t\twindow.postMessage(\n\t\t\t{\n\t\t\t\ttoString: function () {\n\t\t\t\t\tr = true;\n\t\t\t\t},\n\t\t\t},\n\t\t\t'*'\n\t\t);\n\t} catch ( e ) {\n\t\t/* empty */\n\t}\n\treturn r;\n} )();\n\n/**\n * Test if the browser supports constructing a new `File` object. Not present on Edge and IE.\n */\nconst supportsFileConstructor = ( () => {\n\ttry {\n\t\t// eslint-disable-next-line no-new\n\t\tnew window.File( [ 'a' ], 'test.jpg', { type: 'image/jpeg' } );\n\t\treturn true;\n\t} catch ( e ) {\n\t\treturn false;\n\t}\n} )();\n\n/**\n * Reference to the <iframe> DOM element.\n * Gets set in the install() function.\n */\nlet iframe = null;\n\n/**\n * Set to `true` upon the iframe's \"load\" event.\n */\nlet loaded = false;\n\n/**\n * Array of buffered API requests. Added to when API requests are done before the\n * proxy <iframe> is \"loaded\", and fulfilled once the \"load\" DOM event on the\n * iframe occurs.\n */\nlet buffered;\n\n/**\n * In-flight API request XMLHttpRequest dummy \"proxy\" instances.\n */\nconst requests = {};\n\n/**\n * Are HTML5 XMLHttpRequest2 \"progress\" events supported?\n * See: http://goo.gl/xxYf6D\n */\nconst supportsProgress = !! window.ProgressEvent && !! window.FormData;\n\ndebug( 'using \"origin\": %o', origin );\n\n/**\n * Performs a \"proxied REST API request\". This happens by calling\n * `iframe.postMessage()` on the proxy iframe instance, which from there\n * takes care of WordPress.com user authentication (via the currently\n * logged-in user's cookies).\n *\n * @param {object} originalParams - request parameters\n * @param {Function} [fn] - callback response\n * @returns {window.XMLHttpRequest} XMLHttpRequest instance\n */\nconst makeRequest = ( originalParams, fn ) => {\n\tconst params = Object.assign( {}, originalParams );\n\n\tdebug( 'request(%o)', params );\n\n\t// inject the <iframe> upon the first proxied API request\n\tif ( ! iframe ) {\n\t\tinstall();\n\t}\n\n\t// generate a uuid for this API request\n\tconst id = uuidv4();\n\tparams.callback = id;\n\tparams.supports_args = true; // supports receiving variable amount of arguments\n\tparams.supports_error_obj = true; // better Error object info\n\tparams.supports_progress = supportsProgress; // supports receiving XHR \"progress\" events\n\n\t// force uppercase \"method\" since that's what the <iframe> is expecting\n\tparams.method = String( params.method || 'GET' ).toUpperCase();\n\n\tdebug( 'params object: %o', params );\n\n\tconst xhr = new window.XMLHttpRequest();\n\txhr.params = params;\n\n\t// store the `XMLHttpRequest` instance so that \"onmessage\" can access it again\n\trequests[ id ] = xhr;\n\n\tif ( 'function' === typeof fn ) {\n\t\t// a callback function was provided\n\t\tlet called = false;\n\t\tconst xhrOnLoad = ( e ) => {\n\t\t\tif ( called ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcalled = true;\n\t\t\tconst body = e.response || xhr.response;\n\t\t\tdebug( 'body: ', body );\n\t\t\tdebug( 'headers: ', e.headers );\n\t\t\tfn( null, body, e.headers );\n\t\t};\n\t\tconst xhrOnError = ( e ) => {\n\t\t\tif ( called ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcalled = true;\n\t\t\tconst error = e.error || e.err || e;\n\t\t\tdebug( 'error: ', error );\n\t\t\tdebug( 'headers: ', e.headers );\n\t\t\tfn( error, null, e.headers );\n\t\t};\n\n\t\txhr.addEventListener( 'load', xhrOnLoad );\n\t\txhr.addEventListener( 'abort', xhrOnError );\n\t\txhr.addEventListener( 'error', xhrOnError );\n\t}\n\n\tif ( 'function' === typeof params.onStreamRecord ) {\n\t\t// remove onStreamRecord param, which can’t be cloned\n\t\tonStreamRecord = params.onStreamRecord;\n\t\tdelete params.onStreamRecord;\n\n\t\t// FIXME @azabani implement stream mode processing\n\t\t// Hint: port the algorithm from wpcom-xhr-request@1.2.0 to /public.api/rest-proxy/provider-\n\t\t// v2.0.js in rWP, then plumb stream records from onmessage below to onStreamRecord (or add\n\t\t// the XMLHttpRequest#response to ondownloadprogress there, then parse the chunks here).\n\t}\n\n\tif ( loaded ) {\n\t\tsubmitRequest( params );\n\t} else {\n\t\tdebug( 'buffering API request since proxying <iframe> is not yet loaded' );\n\t\tbuffered.push( params );\n\t}\n\n\treturn xhr;\n};\n\n/**\n * Performs a \"proxied REST API request\". This happens by calling\n * `iframe.postMessage()` on the proxy iframe instance, which from there\n * takes care of WordPress.com user authentication (via the currently\n * logged-in user's cookies).\n *\n * If no function is specified as second parameter, a promise is returned.\n *\n * @param {object} originalParams - request parameters\n * @param {Function} [fn] - callback response\n * @returns {window.XMLHttpRequest|Promise} XMLHttpRequest instance or Promise\n */\nconst request = ( originalParams, fn ) => {\n\t// if callback is provided, behave traditionally\n\tif ( 'function' === typeof fn ) {\n\t\t// request method\n\t\treturn makeRequest( originalParams, fn );\n\t}\n\n\t// but if not, return a Promise\n\treturn new Promise( ( res, rej ) => {\n\t\tmakeRequest( originalParams, ( err, response ) => {\n\t\t\terr ? rej( err ) : res( response );\n\t\t} );\n\t} );\n};\n\n/**\n * Set proxy to \"access all users' blogs\" mode.\n */\nexport function requestAllBlogsAccess() {\n\treturn request( { metaAPI: { accessAllUsersBlogs: true } } );\n}\n\n/**\n * Calls the `postMessage()` function on the <iframe>.\n *\n * @param {object} params\n */\n\nfunction submitRequest( params ) {\n\tdebug( 'sending API request to proxy <iframe> %o', params );\n\n\t// `formData` needs to be patched if it contains `File` objects to work around\n\t// a Chrome bug. See `patchFileObjects` description for more details.\n\tif ( params.formData ) {\n\t\tpatchFileObjects( params.formData );\n\t}\n\n\tiframe.contentWindow.postMessage( postStrings ? JSON.stringify( params ) : params, proxyOrigin );\n}\n\n/**\n * Returns `true` if `v` is a DOM File instance, `false` otherwise.\n *\n * @param {any} v - instance to analyze\n * @returns {boolean} `true` if `v` is a DOM File instance\n */\nfunction isFile( v ) {\n\treturn v && Object.prototype.toString.call( v ) === '[object File]';\n}\n\n/*\n * Find a `File` object in a form data value. It can be either the value itself, or\n * in a `fileContents` property of the value.\n */\nfunction getFileValue( v ) {\n\tif ( isFile( v ) ) {\n\t\treturn v;\n\t}\n\n\tif ( typeof v === 'object' && isFile( v.fileContents ) ) {\n\t\treturn v.fileContents;\n\t}\n\n\treturn null;\n}\n\n/**\n * Finds all `File` instances in `formData` and creates a new `File` instance whose storage is\n * forced to be a `Blob` instead of being backed by a file on disk. That works around a bug in\n * Chrome where `File` instances with `has_backing_file` flag cannot be sent over a process\n * boundary when site isolation is on.\n *\n * @see https://bugs.chromium.org/p/chromium/issues/detail?id=866805\n * @see https://bugs.chromium.org/p/chromium/issues/detail?id=631877\n *\n * @param {Array} formData Form data to patch\n */\nfunction patchFileObjects( formData ) {\n\t// There are several landmines to avoid when making file uploads work on all browsers:\n\t// - the `new File()` constructor trick breaks file uploads on Safari 10 in a way that's\n\t// impossible to detect: it will send empty files in the multipart/form-data body.\n\t// Therefore we need to detect Chrome.\n\t// - IE11 and Edge don't support the `new File()` constructor at all. It will throw exception,\n\t// so it's detectable by the `supportsFileConstructor` code.\n\t// - `window.chrome` exists also on Edge (!), `window.chrome.webstore` is only in Chrome and\n\t// not in other Chromium based browsers (which have the site isolation bug, too).\n\tif ( ! window.chrome || ! supportsFileConstructor ) {\n\t\treturn;\n\t}\n\n\tfor ( let i = 0; i < formData.length; i++ ) {\n\t\tconst val = getFileValue( formData[ i ][ 1 ] );\n\t\tif ( val ) {\n\t\t\tformData[ i ][ 1 ] = new window.File( [ val ], val.name, { type: val.type } );\n\t\t}\n\t}\n}\n\n/**\n * Injects the proxy <iframe> instance in the <body> of the current\n * HTML page.\n */\n\nfunction install() {\n\tdebug( 'install()' );\n\tif ( iframe ) {\n\t\tuninstall();\n\t}\n\n\tbuffered = [];\n\n\t// listen to messages sent to `window`\n\twindow.addEventListener( 'message', onmessage );\n\n\t// create the <iframe>\n\tiframe = document.createElement( 'iframe' );\n\n\t// set `src` and hide the iframe\n\tiframe.src = proxyOrigin + '/wp-admin/rest-proxy/?v=2.0#' + origin;\n\tiframe.style.display = 'none';\n\n\t// inject the <iframe> into the <body>\n\tdocument.body.appendChild( iframe );\n}\n\n/**\n * Reloads the proxy iframe.\n */\nconst reloadProxy = () => {\n\tinstall();\n};\n\n/**\n * Removes the <iframe> proxy instance from the <body> of the page.\n */\nfunction uninstall() {\n\tdebug( 'uninstall()' );\n\twindow.removeEventListener( 'message', onmessage );\n\tdocument.body.removeChild( iframe );\n\tloaded = false;\n\tiframe = null;\n}\n\n/**\n * The proxy <iframe> instance's \"load\" event callback function.\n */\n\nfunction onload() {\n\tdebug( 'proxy <iframe> \"load\" event' );\n\tloaded = true;\n\n\t// flush any buffered API calls\n\tif ( buffered ) {\n\t\tfor ( let i = 0; i < buffered.length; i++ ) {\n\t\t\tsubmitRequest( buffered[ i ] );\n\t\t}\n\t\tbuffered = null;\n\t}\n}\n\n/**\n * The main `window` object's \"message\" event callback function.\n *\n * @param {window.Event} e\n */\n\nfunction onmessage( e ) {\n\tdebug( 'onmessage' );\n\n\t// Filter out messages from different origins\n\tif ( e.origin !== proxyOrigin ) {\n\t\tdebug( 'ignoring message... %o !== %o', e.origin, proxyOrigin );\n\t\treturn;\n\t}\n\n\t// Filter out messages from different iframes\n\tif ( e.source !== iframe.contentWindow ) {\n\t\tdebug( 'ignoring message... iframe elements do not match' );\n\t\treturn;\n\t}\n\n\tlet { data } = e;\n\tif ( ! data ) {\n\t\treturn debug( 'no `data`, bailing' );\n\t}\n\n\t// Once the iframe is loaded, we can start using it.\n\tif ( data === 'ready' ) {\n\t\tonload();\n\t\treturn;\n\t}\n\n\tif ( postStrings && 'string' === typeof data ) {\n\t\tdata = JSON.parse( data );\n\t}\n\n\t// check if we're receiving a \"progress\" event\n\tif ( data.upload || data.download ) {\n\t\treturn onprogress( data );\n\t}\n\n\tif ( ! data.length ) {\n\t\treturn debug( \"`e.data` doesn't appear to be an Array, bailing...\" );\n\t}\n\n\t// first get the `xhr` instance that we're interested in\n\tconst id = data[ data.length - 1 ];\n\tif ( ! ( id in requests ) ) {\n\t\treturn debug( 'bailing, no matching request with callback: %o', id );\n\t}\n\n\tconst xhr = requests[ id ];\n\n\t// Build `error` and `body` object from the `data` object\n\tconst { params } = xhr;\n\n\tconst body = data[ 0 ];\n\tlet statusCode = data[ 1 ];\n\tconst headers = data[ 2 ];\n\n\t// We don't want to delete requests while we're processing stream messages\n\tif ( statusCode === 207 ) {\n\t\t// 207 is a signal from rest-proxy. It means, \"this isn't the final\n\t\t// response to the query.\" The proxy supports WebSocket connections\n\t\t// by invoking the original success callback for each message received.\n\t} else {\n\t\t// this is the final response to this query\n\t\tdelete requests[ id ];\n\t}\n\n\tif ( ! params.metaAPI ) {\n\t\tdebug( 'got %o status code for URL: %o', statusCode, params.path );\n\t} else {\n\t\tstatusCode = body === 'metaAPIupdated' ? 200 : 500;\n\t}\n\n\tif ( typeof headers === 'object' ) {\n\t\t// add statusCode into headers object\n\t\theaders.status = statusCode;\n\n\t\tif ( shouldProcessInStreamMode( headers[ 'Content-Type' ] ) ) {\n\t\t\tif ( statusCode === 207 ) {\n\t\t\t\tonStreamRecord( body );\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( statusCode && 2 === Math.floor( statusCode / 100 ) ) {\n\t\t// 2xx status code, success\n\t\tresolve( xhr, body, headers );\n\t} else {\n\t\t// any other status code is a failure\n\t\tconst wpe = WPError( params, statusCode, body );\n\t\treject( xhr, wpe, headers );\n\t}\n}\n\n/**\n * Returns true iff stream mode processing is required (see wpcom-xhr-request@1.2.0).\n *\n * @param {string} contentType response Content-Type header value\n */\nfunction shouldProcessInStreamMode( contentType ) {\n\treturn /^application[/]x-ndjson($|;)/.test( contentType );\n}\n\n/**\n * Handles a \"progress\" event being proxied back from the iframe page.\n *\n * @param {object} data\n */\n\nfunction onprogress( data ) {\n\tdebug( 'got \"progress\" event: %o', data );\n\tconst xhr = requests[ data.callbackId ];\n\tif ( xhr ) {\n\t\tconst prog = new ProgressEvent( 'progress', data );\n\t\tconst target = data.upload ? xhr.upload : xhr;\n\t\ttarget.dispatchEvent( prog );\n\t}\n}\n\n/**\n * Emits the \"load\" event on the `xhr`.\n *\n * @param {window.XMLHttpRequest} xhr\n * @param {object} body\n */\n\nfunction resolve( xhr, body, headers ) {\n\tconst e = new ProgressEvent( 'load' );\n\te.data = e.body = e.response = body;\n\te.headers = headers;\n\txhr.dispatchEvent( e );\n}\n\n/**\n * Emits the \"error\" event on the `xhr`.\n *\n * @param {window.XMLHttpRequest} xhr\n * @param {Error} err\n */\n\nfunction reject( xhr, err, headers ) {\n\tconst e = new ProgressEvent( 'error' );\n\te.error = e.err = err;\n\te.headers = headers;\n\txhr.dispatchEvent( e );\n}\n\n/**\n * Export `request` function.\n */\nexport default request;\nexport { reloadProxy };\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","'use strict';\nvar camelCase = require('camelcase');\n\nmodule.exports = function () {\n\tvar cased = camelCase.apply(camelCase, arguments);\n\treturn cased.charAt(0).toUpperCase() + cased.slice(1);\n};\n","'use strict';\nmodule.exports = function () {\n\tvar str = [].map.call(arguments, function (str) {\n\t\treturn str.trim();\n\t}).filter(function (str) {\n\t\treturn str.length;\n\t}).join('-');\n\n\tif (!str.length) {\n\t\treturn '';\n\t}\n\n\tif (str.length === 1 || !(/[_.\\- ]+/).test(str) ) {\n\t\tif (str[0] === str[0].toLowerCase() && str.slice(1) !== str.slice(1).toLowerCase()) {\n\t\t\treturn str;\n\t\t}\n\n\t\treturn str.toLowerCase();\n\t}\n\n\treturn str\n\t.replace(/^[_.\\- ]+/, '')\n\t.toLowerCase()\n\t.replace(/[_.\\- ]+(\\w|$)/g, function (m, p1) {\n\t\treturn p1.toUpperCase();\n\t});\n};\n","export default /^(?:[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;","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n // find the complete implementation of crypto (msCrypto) on IE11.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _toDate = _interopRequireDefault(require(\"./lib/toDate\"));\n\nvar _toFloat = _interopRequireDefault(require(\"./lib/toFloat\"));\n\nvar _toInt = _interopRequireDefault(require(\"./lib/toInt\"));\n\nvar _toBoolean = _interopRequireDefault(require(\"./lib/toBoolean\"));\n\nvar _equals = _interopRequireDefault(require(\"./lib/equals\"));\n\nvar _contains = _interopRequireDefault(require(\"./lib/contains\"));\n\nvar _matches = _interopRequireDefault(require(\"./lib/matches\"));\n\nvar _isEmail = _interopRequireDefault(require(\"./lib/isEmail\"));\n\nvar _isURL = _interopRequireDefault(require(\"./lib/isURL\"));\n\nvar _isMACAddress = _interopRequireDefault(require(\"./lib/isMACAddress\"));\n\nvar _isIP = _interopRequireDefault(require(\"./lib/isIP\"));\n\nvar _isIPRange = _interopRequireDefault(require(\"./lib/isIPRange\"));\n\nvar _isFQDN = _interopRequireDefault(require(\"./lib/isFQDN\"));\n\nvar _isDate = _interopRequireDefault(require(\"./lib/isDate\"));\n\nvar _isBoolean = _interopRequireDefault(require(\"./lib/isBoolean\"));\n\nvar _isLocale = _interopRequireDefault(require(\"./lib/isLocale\"));\n\nvar _isAlpha = _interopRequireWildcard(require(\"./lib/isAlpha\"));\n\nvar _isAlphanumeric = _interopRequireWildcard(require(\"./lib/isAlphanumeric\"));\n\nvar _isNumeric = _interopRequireDefault(require(\"./lib/isNumeric\"));\n\nvar _isPassportNumber = _interopRequireDefault(require(\"./lib/isPassportNumber\"));\n\nvar _isPort = _interopRequireDefault(require(\"./lib/isPort\"));\n\nvar _isLowercase = _interopRequireDefault(require(\"./lib/isLowercase\"));\n\nvar _isUppercase = _interopRequireDefault(require(\"./lib/isUppercase\"));\n\nvar _isIMEI = _interopRequireDefault(require(\"./lib/isIMEI\"));\n\nvar _isAscii = _interopRequireDefault(require(\"./lib/isAscii\"));\n\nvar _isFullWidth = _interopRequireDefault(require(\"./lib/isFullWidth\"));\n\nvar _isHalfWidth = _interopRequireDefault(require(\"./lib/isHalfWidth\"));\n\nvar _isVariableWidth = _interopRequireDefault(require(\"./lib/isVariableWidth\"));\n\nvar _isMultibyte = _interopRequireDefault(require(\"./lib/isMultibyte\"));\n\nvar _isSemVer = _interopRequireDefault(require(\"./lib/isSemVer\"));\n\nvar _isSurrogatePair = _interopRequireDefault(require(\"./lib/isSurrogatePair\"));\n\nvar _isInt = _interopRequireDefault(require(\"./lib/isInt\"));\n\nvar _isFloat = _interopRequireWildcard(require(\"./lib/isFloat\"));\n\nvar _isDecimal = _interopRequireDefault(require(\"./lib/isDecimal\"));\n\nvar _isHexadecimal = _interopRequireDefault(require(\"./lib/isHexadecimal\"));\n\nvar _isOctal = _interopRequireDefault(require(\"./lib/isOctal\"));\n\nvar _isDivisibleBy = _interopRequireDefault(require(\"./lib/isDivisibleBy\"));\n\nvar _isHexColor = _interopRequireDefault(require(\"./lib/isHexColor\"));\n\nvar _isRgbColor = _interopRequireDefault(require(\"./lib/isRgbColor\"));\n\nvar _isHSL = _interopRequireDefault(require(\"./lib/isHSL\"));\n\nvar _isISRC = _interopRequireDefault(require(\"./lib/isISRC\"));\n\nvar _isIBAN = _interopRequireDefault(require(\"./lib/isIBAN\"));\n\nvar _isBIC = _interopRequireDefault(require(\"./lib/isBIC\"));\n\nvar _isMD = _interopRequireDefault(require(\"./lib/isMD5\"));\n\nvar _isHash = _interopRequireDefault(require(\"./lib/isHash\"));\n\nvar _isJWT = _interopRequireDefault(require(\"./lib/isJWT\"));\n\nvar _isJSON = _interopRequireDefault(require(\"./lib/isJSON\"));\n\nvar _isEmpty = _interopRequireDefault(require(\"./lib/isEmpty\"));\n\nvar _isLength = _interopRequireDefault(require(\"./lib/isLength\"));\n\nvar _isByteLength = _interopRequireDefault(require(\"./lib/isByteLength\"));\n\nvar _isUUID = _interopRequireDefault(require(\"./lib/isUUID\"));\n\nvar _isMongoId = _interopRequireDefault(require(\"./lib/isMongoId\"));\n\nvar _isAfter = _interopRequireDefault(require(\"./lib/isAfter\"));\n\nvar _isBefore = _interopRequireDefault(require(\"./lib/isBefore\"));\n\nvar _isIn = _interopRequireDefault(require(\"./lib/isIn\"));\n\nvar _isCreditCard = _interopRequireDefault(require(\"./lib/isCreditCard\"));\n\nvar _isIdentityCard = _interopRequireDefault(require(\"./lib/isIdentityCard\"));\n\nvar _isEAN = _interopRequireDefault(require(\"./lib/isEAN\"));\n\nvar _isISIN = _interopRequireDefault(require(\"./lib/isISIN\"));\n\nvar _isISBN = _interopRequireDefault(require(\"./lib/isISBN\"));\n\nvar _isISSN = _interopRequireDefault(require(\"./lib/isISSN\"));\n\nvar _isTaxID = _interopRequireDefault(require(\"./lib/isTaxID\"));\n\nvar _isMobilePhone = _interopRequireWildcard(require(\"./lib/isMobilePhone\"));\n\nvar _isEthereumAddress = _interopRequireDefault(require(\"./lib/isEthereumAddress\"));\n\nvar _isCurrency = _interopRequireDefault(require(\"./lib/isCurrency\"));\n\nvar _isBtcAddress = _interopRequireDefault(require(\"./lib/isBtcAddress\"));\n\nvar _isISO = _interopRequireDefault(require(\"./lib/isISO8601\"));\n\nvar _isRFC = _interopRequireDefault(require(\"./lib/isRFC3339\"));\n\nvar _isISO31661Alpha = _interopRequireDefault(require(\"./lib/isISO31661Alpha2\"));\n\nvar _isISO31661Alpha2 = _interopRequireDefault(require(\"./lib/isISO31661Alpha3\"));\n\nvar _isBase = _interopRequireDefault(require(\"./lib/isBase32\"));\n\nvar _isBase2 = _interopRequireDefault(require(\"./lib/isBase58\"));\n\nvar _isBase3 = _interopRequireDefault(require(\"./lib/isBase64\"));\n\nvar _isDataURI = _interopRequireDefault(require(\"./lib/isDataURI\"));\n\nvar _isMagnetURI = _interopRequireDefault(require(\"./lib/isMagnetURI\"));\n\nvar _isMimeType = _interopRequireDefault(require(\"./lib/isMimeType\"));\n\nvar _isLatLong = _interopRequireDefault(require(\"./lib/isLatLong\"));\n\nvar _isPostalCode = _interopRequireWildcard(require(\"./lib/isPostalCode\"));\n\nvar _ltrim = _interopRequireDefault(require(\"./lib/ltrim\"));\n\nvar _rtrim = _interopRequireDefault(require(\"./lib/rtrim\"));\n\nvar _trim = _interopRequireDefault(require(\"./lib/trim\"));\n\nvar _escape = _interopRequireDefault(require(\"./lib/escape\"));\n\nvar _unescape = _interopRequireDefault(require(\"./lib/unescape\"));\n\nvar _stripLow = _interopRequireDefault(require(\"./lib/stripLow\"));\n\nvar _whitelist = _interopRequireDefault(require(\"./lib/whitelist\"));\n\nvar _blacklist = _interopRequireDefault(require(\"./lib/blacklist\"));\n\nvar _isWhitelisted = _interopRequireDefault(require(\"./lib/isWhitelisted\"));\n\nvar _normalizeEmail = _interopRequireDefault(require(\"./lib/normalizeEmail\"));\n\nvar _isSlug = _interopRequireDefault(require(\"./lib/isSlug\"));\n\nvar _isStrongPassword = _interopRequireDefault(require(\"./lib/isStrongPassword\"));\n\nvar _isVAT = _interopRequireDefault(require(\"./lib/isVAT\"));\n\nfunction _getRequireWildcardCache() { if (typeof WeakMap !== \"function\") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar version = '13.5.2';\nvar validator = {\n version: version,\n toDate: _toDate.default,\n toFloat: _toFloat.default,\n toInt: _toInt.default,\n toBoolean: _toBoolean.default,\n equals: _equals.default,\n contains: _contains.default,\n matches: _matches.default,\n isEmail: _isEmail.default,\n isURL: _isURL.default,\n isMACAddress: _isMACAddress.default,\n isIP: _isIP.default,\n isIPRange: _isIPRange.default,\n isFQDN: _isFQDN.default,\n isBoolean: _isBoolean.default,\n isIBAN: _isIBAN.default,\n isBIC: _isBIC.default,\n isAlpha: _isAlpha.default,\n isAlphaLocales: _isAlpha.locales,\n isAlphanumeric: _isAlphanumeric.default,\n isAlphanumericLocales: _isAlphanumeric.locales,\n isNumeric: _isNumeric.default,\n isPassportNumber: _isPassportNumber.default,\n isPort: _isPort.default,\n isLowercase: _isLowercase.default,\n isUppercase: _isUppercase.default,\n isAscii: _isAscii.default,\n isFullWidth: _isFullWidth.default,\n isHalfWidth: _isHalfWidth.default,\n isVariableWidth: _isVariableWidth.default,\n isMultibyte: _isMultibyte.default,\n isSemVer: _isSemVer.default,\n isSurrogatePair: _isSurrogatePair.default,\n isInt: _isInt.default,\n isIMEI: _isIMEI.default,\n isFloat: _isFloat.default,\n isFloatLocales: _isFloat.locales,\n isDecimal: _isDecimal.default,\n isHexadecimal: _isHexadecimal.default,\n isOctal: _isOctal.default,\n isDivisibleBy: _isDivisibleBy.default,\n isHexColor: _isHexColor.default,\n isRgbColor: _isRgbColor.default,\n isHSL: _isHSL.default,\n isISRC: _isISRC.default,\n isMD5: _isMD.default,\n isHash: _isHash.default,\n isJWT: _isJWT.default,\n isJSON: _isJSON.default,\n isEmpty: _isEmpty.default,\n isLength: _isLength.default,\n isLocale: _isLocale.default,\n isByteLength: _isByteLength.default,\n isUUID: _isUUID.default,\n isMongoId: _isMongoId.default,\n isAfter: _isAfter.default,\n isBefore: _isBefore.default,\n isIn: _isIn.default,\n isCreditCard: _isCreditCard.default,\n isIdentityCard: _isIdentityCard.default,\n isEAN: _isEAN.default,\n isISIN: _isISIN.default,\n isISBN: _isISBN.default,\n isISSN: _isISSN.default,\n isMobilePhone: _isMobilePhone.default,\n isMobilePhoneLocales: _isMobilePhone.locales,\n isPostalCode: _isPostalCode.default,\n isPostalCodeLocales: _isPostalCode.locales,\n isEthereumAddress: _isEthereumAddress.default,\n isCurrency: _isCurrency.default,\n isBtcAddress: _isBtcAddress.default,\n isISO8601: _isISO.default,\n isRFC3339: _isRFC.default,\n isISO31661Alpha2: _isISO31661Alpha.default,\n isISO31661Alpha3: _isISO31661Alpha2.default,\n isBase32: _isBase.default,\n isBase58: _isBase2.default,\n isBase64: _isBase3.default,\n isDataURI: _isDataURI.default,\n isMagnetURI: _isMagnetURI.default,\n isMimeType: _isMimeType.default,\n isLatLong: _isLatLong.default,\n ltrim: _ltrim.default,\n rtrim: _rtrim.default,\n trim: _trim.default,\n escape: _escape.default,\n unescape: _unescape.default,\n stripLow: _stripLow.default,\n whitelist: _whitelist.default,\n blacklist: _blacklist.default,\n isWhitelisted: _isWhitelisted.default,\n normalizeEmail: _normalizeEmail.default,\n toString: toString,\n isSlug: _isSlug.default,\n isStrongPassword: _isStrongPassword.default,\n isTaxID: _isTaxID.default,\n isDate: _isDate.default,\n isVAT: _isVAT.default\n};\nvar _default = validator;\nexports.default = _default;\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.commaDecimal = exports.dotDecimal = exports.farsiLocales = exports.arabicLocales = exports.englishLocales = exports.decimal = exports.alphanumeric = exports.alpha = void 0;\nvar alpha = {\n 'en-US': /^[A-Z]+$/i,\n 'az-AZ': /^[A-VXYZÇƏĞİıÖŞÜ]+$/i,\n 'bg-BG': /^[А-Я]+$/i,\n 'cs-CZ': /^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,\n 'da-DK': /^[A-ZÆØÅ]+$/i,\n 'de-DE': /^[A-ZÄÖÜß]+$/i,\n 'el-GR': /^[Α-ώ]+$/i,\n 'es-ES': /^[A-ZÁÉÍÑÓÚÜ]+$/i,\n 'fa-IR': /^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,\n 'fr-FR': /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,\n 'it-IT': /^[A-ZÀÉÈÌÎÓÒÙ]+$/i,\n 'nb-NO': /^[A-ZÆØÅ]+$/i,\n 'nl-NL': /^[A-ZÁÉËÏÓÖÜÚ]+$/i,\n 'nn-NO': /^[A-ZÆØÅ]+$/i,\n 'hu-HU': /^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,\n 'pl-PL': /^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,\n 'pt-PT': /^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,\n 'ru-RU': /^[А-ЯЁ]+$/i,\n 'sl-SI': /^[A-ZČĆĐŠŽ]+$/i,\n 'sk-SK': /^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,\n 'sr-RS@latin': /^[A-ZČĆŽŠĐ]+$/i,\n 'sr-RS': /^[А-ЯЂЈЉЊЋЏ]+$/i,\n 'sv-SE': /^[A-ZÅÄÖ]+$/i,\n 'th-TH': /^[ก-๐\\s]+$/i,\n 'tr-TR': /^[A-ZÇĞİıÖŞÜ]+$/i,\n 'uk-UA': /^[А-ЩЬЮЯЄIЇҐі]+$/i,\n 'vi-VN': /^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,\n 'ku-IQ': /^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,\n ar: /^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,\n he: /^[א-ת]+$/,\n fa: /^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i\n};\nexports.alpha = alpha;\nvar alphanumeric = {\n 'en-US': /^[0-9A-Z]+$/i,\n 'az-AZ': /^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,\n 'bg-BG': /^[0-9А-Я]+$/i,\n 'cs-CZ': /^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,\n 'da-DK': /^[0-9A-ZÆØÅ]+$/i,\n 'de-DE': /^[0-9A-ZÄÖÜß]+$/i,\n 'el-GR': /^[0-9Α-ω]+$/i,\n 'es-ES': /^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,\n 'fr-FR': /^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,\n 'it-IT': /^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,\n 'hu-HU': /^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,\n 'nb-NO': /^[0-9A-ZÆØÅ]+$/i,\n 'nl-NL': /^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,\n 'nn-NO': /^[0-9A-ZÆØÅ]+$/i,\n 'pl-PL': /^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,\n 'pt-PT': /^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,\n 'ru-RU': /^[0-9А-ЯЁ]+$/i,\n 'sl-SI': /^[0-9A-ZČĆĐŠŽ]+$/i,\n 'sk-SK': /^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,\n 'sr-RS@latin': /^[0-9A-ZČĆŽŠĐ]+$/i,\n 'sr-RS': /^[0-9А-ЯЂЈЉЊЋЏ]+$/i,\n 'sv-SE': /^[0-9A-ZÅÄÖ]+$/i,\n 'th-TH': /^[ก-๙\\s]+$/i,\n 'tr-TR': /^[0-9A-ZÇĞİıÖŞÜ]+$/i,\n 'uk-UA': /^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,\n 'ku-IQ': /^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,\n 'vi-VN': /^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,\n ar: /^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,\n he: /^[0-9א-ת]+$/,\n fa: /^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i\n};\nexports.alphanumeric = alphanumeric;\nvar decimal = {\n 'en-US': '.',\n ar: '٫'\n};\nexports.decimal = decimal;\nvar englishLocales = ['AU', 'GB', 'HK', 'IN', 'NZ', 'ZA', 'ZM'];\nexports.englishLocales = englishLocales;\n\nfor (var locale, i = 0; i < englishLocales.length; i++) {\n locale = \"en-\".concat(englishLocales[i]);\n alpha[locale] = alpha['en-US'];\n alphanumeric[locale] = alphanumeric['en-US'];\n decimal[locale] = decimal['en-US'];\n} // Source: http://www.localeplanet.com/java/\n\n\nvar arabicLocales = ['AE', 'BH', 'DZ', 'EG', 'IQ', 'JO', 'KW', 'LB', 'LY', 'MA', 'QM', 'QA', 'SA', 'SD', 'SY', 'TN', 'YE'];\nexports.arabicLocales = arabicLocales;\n\nfor (var _locale, _i = 0; _i < arabicLocales.length; _i++) {\n _locale = \"ar-\".concat(arabicLocales[_i]);\n alpha[_locale] = alpha.ar;\n alphanumeric[_locale] = alphanumeric.ar;\n decimal[_locale] = decimal.ar;\n}\n\nvar farsiLocales = ['IR', 'AF'];\nexports.farsiLocales = farsiLocales;\n\nfor (var _locale2, _i2 = 0; _i2 < farsiLocales.length; _i2++) {\n _locale2 = \"fa-\".concat(farsiLocales[_i2]);\n alphanumeric[_locale2] = alphanumeric.fa;\n decimal[_locale2] = decimal.ar;\n} // Source: https://en.wikipedia.org/wiki/Decimal_mark\n\n\nvar dotDecimal = ['ar-EG', 'ar-LB', 'ar-LY'];\nexports.dotDecimal = dotDecimal;\nvar commaDecimal = ['bg-BG', 'cs-CZ', 'da-DK', 'de-DE', 'el-GR', 'en-ZM', 'es-ES', 'fr-CA', 'fr-FR', 'id-ID', 'it-IT', 'ku-IQ', 'hu-HU', 'nb-NO', 'nn-NO', 'nl-NL', 'pl-PL', 'pt-PT', 'ru-RU', 'sl-SI', 'sr-RS@latin', 'sr-RS', 'sv-SE', 'tr-TR', 'uk-UA', 'vi-VN'];\nexports.commaDecimal = commaDecimal;\n\nfor (var _i3 = 0; _i3 < dotDecimal.length; _i3++) {\n decimal[dotDecimal[_i3]] = decimal['en-US'];\n}\n\nfor (var _i4 = 0; _i4 < commaDecimal.length; _i4++) {\n decimal[commaDecimal[_i4]] = ',';\n}\n\nalpha['fr-CA'] = alpha['fr-FR'];\nalphanumeric['fr-CA'] = alphanumeric['fr-FR'];\nalpha['pt-BR'] = alpha['pt-PT'];\nalphanumeric['pt-BR'] = alphanumeric['pt-PT'];\ndecimal['pt-BR'] = decimal['pt-PT']; // see #862\n\nalpha['pl-Pl'] = alpha['pl-PL'];\nalphanumeric['pl-Pl'] = alphanumeric['pl-PL'];\ndecimal['pl-Pl'] = decimal['pl-PL']; // see #1455\n\nalpha['fa-AF'] = alpha.fa;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = blacklist;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction blacklist(str, chars) {\n (0, _assertString.default)(str);\n return str.replace(new RegExp(\"[\".concat(chars, \"]+\"), 'g'), '');\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = contains;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _toString = _interopRequireDefault(require(\"./util/toString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar defaulContainsOptions = {\n ignoreCase: false\n};\n\nfunction contains(str, elem, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, defaulContainsOptions);\n return options.ignoreCase ? str.toLowerCase().indexOf((0, _toString.default)(elem).toLowerCase()) >= 0 : str.indexOf((0, _toString.default)(elem)) >= 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = equals;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction equals(str, comparison) {\n (0, _assertString.default)(str);\n return str === comparison;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = escape;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction escape(str) {\n (0, _assertString.default)(str);\n return str.replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/'/g, '&#x27;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/\\//g, '&#x2F;').replace(/\\\\/g, '&#x5C;').replace(/`/g, '&#96;');\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isAfter;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _toDate = _interopRequireDefault(require(\"./toDate\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isAfter(str) {\n var date = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : String(new Date());\n (0, _assertString.default)(str);\n var comparison = (0, _toDate.default)(date);\n var original = (0, _toDate.default)(str);\n return !!(original && comparison && original > comparison);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isAlpha;\nexports.locales = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _alpha = require(\"./alpha\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isAlpha(_str) {\n var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en-US';\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n (0, _assertString.default)(_str);\n var str = _str;\n var ignore = options.ignore;\n\n if (ignore) {\n if (ignore instanceof RegExp) {\n str = str.replace(ignore, '');\n } else if (typeof ignore === 'string') {\n str = str.replace(new RegExp(\"[\".concat(ignore.replace(/[-[\\]{}()*+?.,\\\\^$|#\\\\s]/g, '\\\\$&'), \"]\"), 'g'), ''); // escape regex for ignore\n } else {\n throw new Error('ignore should be instance of a String or RegExp');\n }\n }\n\n if (locale in _alpha.alpha) {\n return _alpha.alpha[locale].test(str);\n }\n\n throw new Error(\"Invalid locale '\".concat(locale, \"'\"));\n}\n\nvar locales = Object.keys(_alpha.alpha);\nexports.locales = locales;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isAlphanumeric;\nexports.locales = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _alpha = require(\"./alpha\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isAlphanumeric(str) {\n var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en-US';\n (0, _assertString.default)(str);\n\n if (locale in _alpha.alphanumeric) {\n return _alpha.alphanumeric[locale].test(str);\n }\n\n throw new Error(\"Invalid locale '\".concat(locale, \"'\"));\n}\n\nvar locales = Object.keys(_alpha.alphanumeric);\nexports.locales = locales;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isAscii;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* eslint-disable no-control-regex */\nvar ascii = /^[\\x00-\\x7F]+$/;\n/* eslint-enable no-control-regex */\n\nfunction isAscii(str) {\n (0, _assertString.default)(str);\n return ascii.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBIC;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isBICReg = /^[A-z]{4}[A-z]{2}\\w{2}(\\w{3})?$/;\n\nfunction isBIC(str) {\n (0, _assertString.default)(str);\n return isBICReg.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBase32;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar base32 = /^[A-Z2-7]+=*$/;\n\nfunction isBase32(str) {\n (0, _assertString.default)(str);\n var len = str.length;\n\n if (len % 8 === 0 && base32.test(str)) {\n return true;\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBase58;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Accepted chars - 123456789ABCDEFGH JKLMN PQRSTUVWXYZabcdefghijk mnopqrstuvwxyz\nvar base58Reg = /^[A-HJ-NP-Za-km-z1-9]*$/;\n\nfunction isBase58(str) {\n (0, _assertString.default)(str);\n\n if (base58Reg.test(str)) {\n return true;\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBase64;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar notBase64 = /[^A-Z0-9+\\/=]/i;\nvar urlSafeBase64 = /^[A-Z0-9_\\-]*$/i;\nvar defaultBase64Options = {\n urlSafe: false\n};\n\nfunction isBase64(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, defaultBase64Options);\n var len = str.length;\n\n if (options.urlSafe) {\n return urlSafeBase64.test(str);\n }\n\n if (len % 4 !== 0 || notBase64.test(str)) {\n return false;\n }\n\n var firstPaddingChar = str.indexOf('=');\n return firstPaddingChar === -1 || firstPaddingChar === len - 1 || firstPaddingChar === len - 2 && str[len - 1] === '=';\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBefore;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _toDate = _interopRequireDefault(require(\"./toDate\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isBefore(str) {\n var date = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : String(new Date());\n (0, _assertString.default)(str);\n var comparison = (0, _toDate.default)(date);\n var original = (0, _toDate.default)(str);\n return !!(original && comparison && original < comparison);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBoolean;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isBoolean(str) {\n (0, _assertString.default)(str);\n return ['true', 'false', '1', '0'].indexOf(str) >= 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBtcAddress;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// supports Bech32 addresses\nvar btc = /^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$/;\n\nfunction isBtcAddress(str) {\n (0, _assertString.default)(str);\n return btc.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isByteLength;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/* eslint-disable prefer-rest-params */\nfunction isByteLength(str, options) {\n (0, _assertString.default)(str);\n var min;\n var max;\n\n if (_typeof(options) === 'object') {\n min = options.min || 0;\n max = options.max;\n } else {\n // backwards compatibility: isByteLength(str, min [, max])\n min = arguments[1];\n max = arguments[2];\n }\n\n var len = encodeURI(str).split(/%..|./).length - 1;\n return len >= min && (typeof max === 'undefined' || len <= max);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isCreditCard;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* eslint-disable max-len */\nvar creditCard = /^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11}|6[27][0-9]{14})$/;\n/* eslint-enable max-len */\n\nfunction isCreditCard(str) {\n (0, _assertString.default)(str);\n var sanitized = str.replace(/[- ]+/g, '');\n\n if (!creditCard.test(sanitized)) {\n return false;\n }\n\n var sum = 0;\n var digit;\n var tmpNum;\n var shouldDouble;\n\n for (var i = sanitized.length - 1; i >= 0; i--) {\n digit = sanitized.substring(i, i + 1);\n tmpNum = parseInt(digit, 10);\n\n if (shouldDouble) {\n tmpNum *= 2;\n\n if (tmpNum >= 10) {\n sum += tmpNum % 10 + 1;\n } else {\n sum += tmpNum;\n }\n } else {\n sum += tmpNum;\n }\n\n shouldDouble = !shouldDouble;\n }\n\n return !!(sum % 10 === 0 ? sanitized : false);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isCurrency;\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction currencyRegex(options) {\n var decimal_digits = \"\\\\d{\".concat(options.digits_after_decimal[0], \"}\");\n options.digits_after_decimal.forEach(function (digit, index) {\n if (index !== 0) decimal_digits = \"\".concat(decimal_digits, \"|\\\\d{\").concat(digit, \"}\");\n });\n var symbol = \"(\".concat(options.symbol.replace(/\\W/, function (m) {\n return \"\\\\\".concat(m);\n }), \")\").concat(options.require_symbol ? '' : '?'),\n negative = '-?',\n whole_dollar_amount_without_sep = '[1-9]\\\\d*',\n whole_dollar_amount_with_sep = \"[1-9]\\\\d{0,2}(\\\\\".concat(options.thousands_separator, \"\\\\d{3})*\"),\n valid_whole_dollar_amounts = ['0', whole_dollar_amount_without_sep, whole_dollar_amount_with_sep],\n whole_dollar_amount = \"(\".concat(valid_whole_dollar_amounts.join('|'), \")?\"),\n decimal_amount = \"(\\\\\".concat(options.decimal_separator, \"(\").concat(decimal_digits, \"))\").concat(options.require_decimal ? '' : '?');\n var pattern = whole_dollar_amount + (options.allow_decimal || options.require_decimal ? decimal_amount : ''); // default is negative sign before symbol, but there are two other options (besides parens)\n\n if (options.allow_negatives && !options.parens_for_negatives) {\n if (options.negative_sign_after_digits) {\n pattern += negative;\n } else if (options.negative_sign_before_digits) {\n pattern = negative + pattern;\n }\n } // South African Rand, for example, uses R 123 (space) and R-123 (no space)\n\n\n if (options.allow_negative_sign_placeholder) {\n pattern = \"( (?!\\\\-))?\".concat(pattern);\n } else if (options.allow_space_after_symbol) {\n pattern = \" ?\".concat(pattern);\n } else if (options.allow_space_after_digits) {\n pattern += '( (?!$))?';\n }\n\n if (options.symbol_after_digits) {\n pattern += symbol;\n } else {\n pattern = symbol + pattern;\n }\n\n if (options.allow_negatives) {\n if (options.parens_for_negatives) {\n pattern = \"(\\\\(\".concat(pattern, \"\\\\)|\").concat(pattern, \")\");\n } else if (!(options.negative_sign_before_digits || options.negative_sign_after_digits)) {\n pattern = negative + pattern;\n }\n } // ensure there's a dollar and/or decimal amount, and that\n // it doesn't start with a space or a negative sign followed by a space\n\n\n return new RegExp(\"^(?!-? )(?=.*\\\\d)\".concat(pattern, \"$\"));\n}\n\nvar default_currency_options = {\n symbol: '$',\n require_symbol: false,\n allow_space_after_symbol: false,\n symbol_after_digits: false,\n allow_negatives: true,\n parens_for_negatives: false,\n negative_sign_before_digits: false,\n negative_sign_after_digits: false,\n allow_negative_sign_placeholder: false,\n thousands_separator: ',',\n decimal_separator: '.',\n allow_decimal: true,\n require_decimal: false,\n digits_after_decimal: [2],\n allow_space_after_digits: false\n};\n\nfunction isCurrency(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, default_currency_options);\n return currencyRegex(options).test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isDataURI;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar validMediaType = /^[a-z]+\\/[a-z0-9\\-\\+]+$/i;\nvar validAttribute = /^[a-z\\-]+=[a-z0-9\\-]+$/i;\nvar validData = /^[a-z0-9!\\$&'\\(\\)\\*\\+,;=\\-\\._~:@\\/\\?%\\s]*$/i;\n\nfunction isDataURI(str) {\n (0, _assertString.default)(str);\n var data = str.split(',');\n\n if (data.length < 2) {\n return false;\n }\n\n var attributes = data.shift().trim().split(';');\n var schemeAndMediaType = attributes.shift();\n\n if (schemeAndMediaType.substr(0, 5) !== 'data:') {\n return false;\n }\n\n var mediaType = schemeAndMediaType.substr(5);\n\n if (mediaType !== '' && !validMediaType.test(mediaType)) {\n return false;\n }\n\n for (var i = 0; i < attributes.length; i++) {\n if (i === attributes.length - 1 && attributes[i].toLowerCase() === 'base64') {// ok\n } else if (!validAttribute.test(attributes[i])) {\n return false;\n }\n }\n\n for (var _i = 0; _i < data.length; _i++) {\n if (!validData.test(data[_i])) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isDate;\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArrayLimit(arr, i) { if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nvar default_date_options = {\n format: 'YYYY/MM/DD',\n delimiters: ['/', '-'],\n strictMode: false\n};\n\nfunction isValidFormat(format) {\n return /(^(y{4}|y{2})[\\/-](m{1,2})[\\/-](d{1,2})$)|(^(m{1,2})[\\/-](d{1,2})[\\/-]((y{4}|y{2})$))|(^(d{1,2})[\\/-](m{1,2})[\\/-]((y{4}|y{2})$))/gi.test(format);\n}\n\nfunction zip(date, format) {\n var zippedArr = [],\n len = Math.min(date.length, format.length);\n\n for (var i = 0; i < len; i++) {\n zippedArr.push([date[i], format[i]]);\n }\n\n return zippedArr;\n}\n\nfunction isDate(input, options) {\n if (typeof options === 'string') {\n // Allow backward compatbility for old format isDate(input [, format])\n options = (0, _merge.default)({\n format: options\n }, default_date_options);\n } else {\n options = (0, _merge.default)(options, default_date_options);\n }\n\n if (typeof input === 'string' && isValidFormat(options.format)) {\n var formatDelimiter = options.delimiters.find(function (delimiter) {\n return options.format.indexOf(delimiter) !== -1;\n });\n var dateDelimiter = options.strictMode ? formatDelimiter : options.delimiters.find(function (delimiter) {\n return input.indexOf(delimiter) !== -1;\n });\n var dateAndFormat = zip(input.split(dateDelimiter), options.format.toLowerCase().split(formatDelimiter));\n var dateObj = {};\n\n var _iterator = _createForOfIteratorHelper(dateAndFormat),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _step$value = _slicedToArray(_step.value, 2),\n dateWord = _step$value[0],\n formatWord = _step$value[1];\n\n if (dateWord.length !== formatWord.length) {\n return false;\n }\n\n dateObj[formatWord.charAt(0)] = dateWord;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return new Date(\"\".concat(dateObj.m, \"/\").concat(dateObj.d, \"/\").concat(dateObj.y)).getDate() === +dateObj.d;\n }\n\n if (!options.strictMode) {\n return Object.prototype.toString.call(input) === '[object Date]' && isFinite(input);\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isDecimal;\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _includes = _interopRequireDefault(require(\"./util/includes\"));\n\nvar _alpha = require(\"./alpha\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction decimalRegExp(options) {\n var regExp = new RegExp(\"^[-+]?([0-9]+)?(\\\\\".concat(_alpha.decimal[options.locale], \"[0-9]{\").concat(options.decimal_digits, \"})\").concat(options.force_decimal ? '' : '?', \"$\"));\n return regExp;\n}\n\nvar default_decimal_options = {\n force_decimal: false,\n decimal_digits: '1,',\n locale: 'en-US'\n};\nvar blacklist = ['', '-', '+'];\n\nfunction isDecimal(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, default_decimal_options);\n\n if (options.locale in _alpha.decimal) {\n return !(0, _includes.default)(blacklist, str.replace(/ /g, '')) && decimalRegExp(options).test(str);\n }\n\n throw new Error(\"Invalid locale '\".concat(options.locale, \"'\"));\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isDivisibleBy;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _toFloat = _interopRequireDefault(require(\"./toFloat\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isDivisibleBy(str, num) {\n (0, _assertString.default)(str);\n return (0, _toFloat.default)(str) % parseInt(num, 10) === 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isEAN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The most commonly used EAN standard is\n * the thirteen-digit EAN-13, while the\n * less commonly used 8-digit EAN-8 barcode was\n * introduced for use on small packages.\n * EAN consists of:\n * GS1 prefix, manufacturer code, product code and check digit\n * Reference: https://en.wikipedia.org/wiki/International_Article_Number\n */\n\n/**\n * Define EAN Lenghts; 8 for EAN-8; 13 for EAN-13\n * and Regular Expression for valid EANs (EAN-8, EAN-13),\n * with exact numberic matching of 8 or 13 digits [0-9]\n */\nvar LENGTH_EAN_8 = 8;\nvar validEanRegex = /^(\\d{8}|\\d{13})$/;\n/**\n * Get position weight given:\n * EAN length and digit index/position\n *\n * @param {number} length\n * @param {number} index\n * @return {number}\n */\n\nfunction getPositionWeightThroughLengthAndIndex(length, index) {\n if (length === LENGTH_EAN_8) {\n return index % 2 === 0 ? 3 : 1;\n }\n\n return index % 2 === 0 ? 1 : 3;\n}\n/**\n * Calculate EAN Check Digit\n * Reference: https://en.wikipedia.org/wiki/International_Article_Number#Calculation_of_checksum_digit\n *\n * @param {string} ean\n * @return {number}\n */\n\n\nfunction calculateCheckDigit(ean) {\n var checksum = ean.slice(0, -1).split('').map(function (char, index) {\n return Number(char) * getPositionWeightThroughLengthAndIndex(ean.length, index);\n }).reduce(function (acc, partialSum) {\n return acc + partialSum;\n }, 0);\n var remainder = 10 - checksum % 10;\n return remainder < 10 ? remainder : 0;\n}\n/**\n * Check if string is valid EAN:\n * Matches EAN-8/EAN-13 regex\n * Has valid check digit.\n *\n * @param {string} str\n * @return {boolean}\n */\n\n\nfunction isEAN(str) {\n (0, _assertString.default)(str);\n var actualCheckDigit = Number(str.slice(-1));\n return validEanRegex.test(str) && actualCheckDigit === calculateCheckDigit(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isEmail;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nvar _isByteLength = _interopRequireDefault(require(\"./isByteLength\"));\n\nvar _isFQDN = _interopRequireDefault(require(\"./isFQDN\"));\n\nvar _isIP = _interopRequireDefault(require(\"./isIP\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar default_email_options = {\n allow_display_name: false,\n require_display_name: false,\n allow_utf8_local_part: true,\n require_tld: true,\n blacklisted_chars: '',\n ignore_max_length: false\n};\n/* eslint-disable max-len */\n\n/* eslint-disable no-control-regex */\n\nvar splitNameAddress = /^([^\\x00-\\x1F\\x7F-\\x9F\\cX]+)<(.+)>$/i;\nvar emailUserPart = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]+$/i;\nvar gmailUserPart = /^[a-z\\d]+$/;\nvar quotedEmailUser = /^([\\s\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f\\x21\\x23-\\x5b\\x5d-\\x7e]|(\\\\[\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]))*$/i;\nvar emailUserUtf8Part = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+$/i;\nvar quotedEmailUserUtf8 = /^([\\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;\nvar defaultMaxEmailLength = 254;\n/* eslint-enable max-len */\n\n/* eslint-enable no-control-regex */\n\n/**\n * Validate display name according to the RFC2822: https://tools.ietf.org/html/rfc2822#appendix-A.1.2\n * @param {String} display_name\n */\n\nfunction validateDisplayName(display_name) {\n var trim_quotes = display_name.match(/^\"(.+)\"$/i);\n var display_name_without_quotes = trim_quotes ? trim_quotes[1] : display_name; // display name with only spaces is not valid\n\n if (!display_name_without_quotes.trim()) {\n return false;\n } // check whether display name contains illegal character\n\n\n var contains_illegal = /[\\.\";<>]/.test(display_name_without_quotes);\n\n if (contains_illegal) {\n // if contains illegal characters,\n // must to be enclosed in double-quotes, otherwise it's not a valid display name\n if (!trim_quotes) {\n return false;\n } // the quotes in display name must start with character symbol \\\n\n\n var all_start_with_back_slash = display_name_without_quotes.split('\"').length === display_name_without_quotes.split('\\\\\"').length;\n\n if (!all_start_with_back_slash) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction isEmail(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, default_email_options);\n\n if (options.require_display_name || options.allow_display_name) {\n var display_email = str.match(splitNameAddress);\n\n if (display_email) {\n var display_name;\n\n var _display_email = _slicedToArray(display_email, 3);\n\n display_name = _display_email[1];\n str = _display_email[2];\n\n // sometimes need to trim the last space to get the display name\n // because there may be a space between display name and email address\n // eg. myname <address@gmail.com>\n // the display name is `myname` instead of `myname `, so need to trim the last space\n if (display_name.endsWith(' ')) {\n display_name = display_name.substr(0, display_name.length - 1);\n }\n\n if (!validateDisplayName(display_name)) {\n return false;\n }\n } else if (options.require_display_name) {\n return false;\n }\n }\n\n if (!options.ignore_max_length && str.length > defaultMaxEmailLength) {\n return false;\n }\n\n var parts = str.split('@');\n var domain = parts.pop();\n var user = parts.join('@');\n var lower_domain = domain.toLowerCase();\n\n if (options.domain_specific_validation && (lower_domain === 'gmail.com' || lower_domain === 'googlemail.com')) {\n /*\n Previously we removed dots for gmail addresses before validating.\n This was removed because it allows `multiple..dots@gmail.com`\n to be reported as valid, but it is not.\n Gmail only normalizes single dots, removing them from here is pointless,\n should be done in normalizeEmail\n */\n user = user.toLowerCase(); // Removing sub-address from username before gmail validation\n\n var username = user.split('+')[0]; // Dots are not included in gmail length restriction\n\n if (!(0, _isByteLength.default)(username.replace('.', ''), {\n min: 6,\n max: 30\n })) {\n return false;\n }\n\n var _user_parts = username.split('.');\n\n for (var i = 0; i < _user_parts.length; i++) {\n if (!gmailUserPart.test(_user_parts[i])) {\n return false;\n }\n }\n }\n\n if (options.ignore_max_length === false && (!(0, _isByteLength.default)(user, {\n max: 64\n }) || !(0, _isByteLength.default)(domain, {\n max: 254\n }))) {\n return false;\n }\n\n if (!(0, _isFQDN.default)(domain, {\n require_tld: options.require_tld\n })) {\n if (!options.allow_ip_domain) {\n return false;\n }\n\n if (!(0, _isIP.default)(domain)) {\n if (!domain.startsWith('[') || !domain.endsWith(']')) {\n return false;\n }\n\n var noBracketdomain = domain.substr(1, domain.length - 2);\n\n if (noBracketdomain.length === 0 || !(0, _isIP.default)(noBracketdomain)) {\n return false;\n }\n }\n }\n\n if (user[0] === '\"') {\n user = user.slice(1, user.length - 1);\n return options.allow_utf8_local_part ? quotedEmailUserUtf8.test(user) : quotedEmailUser.test(user);\n }\n\n var pattern = options.allow_utf8_local_part ? emailUserUtf8Part : emailUserPart;\n var user_parts = user.split('.');\n\n for (var _i2 = 0; _i2 < user_parts.length; _i2++) {\n if (!pattern.test(user_parts[_i2])) {\n return false;\n }\n }\n\n if (options.blacklisted_chars) {\n if (user.search(new RegExp(\"[\".concat(options.blacklisted_chars, \"]+\"), 'g')) !== -1) return false;\n }\n\n return true;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isEmpty;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar default_is_empty_options = {\n ignore_whitespace: false\n};\n\nfunction isEmpty(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, default_is_empty_options);\n return (options.ignore_whitespace ? str.trim().length : str.length) === 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isEthereumAddress;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar eth = /^(0x)[0-9a-f]{40}$/i;\n\nfunction isEthereumAddress(str) {\n (0, _assertString.default)(str);\n return eth.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isFQDN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar default_fqdn_options = {\n require_tld: true,\n allow_underscores: false,\n allow_trailing_dot: false,\n allow_numeric_tld: false\n};\n\nfunction isFQDN(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, default_fqdn_options);\n /* Remove the optional trailing dot before checking validity */\n\n if (options.allow_trailing_dot && str[str.length - 1] === '.') {\n str = str.substring(0, str.length - 1);\n }\n\n var parts = str.split('.');\n var tld = parts[parts.length - 1];\n\n if (options.require_tld) {\n // disallow fqdns without tld\n if (parts.length < 2) {\n return false;\n }\n\n if (!/^([a-z\\u00a1-\\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) {\n return false;\n } // disallow spaces && special characers\n\n\n if (/[\\s\\u2002-\\u200B\\u202F\\u205F\\u3000\\uFEFF\\uDB40\\uDC20\\u00A9\\uFFFD]/.test(tld)) {\n return false;\n }\n } // reject numeric TLDs\n\n\n if (!options.allow_numeric_tld && /^\\d+$/.test(tld)) {\n return false;\n }\n\n return parts.every(function (part) {\n if (part.length > 63) {\n return false;\n }\n\n if (!/^[a-z_\\u00a1-\\uffff0-9-]+$/i.test(part)) {\n return false;\n } // disallow full-width chars\n\n\n if (/[\\uff01-\\uff5e]/.test(part)) {\n return false;\n } // disallow parts starting or ending with hyphen\n\n\n if (/^-|-$/.test(part)) {\n return false;\n }\n\n if (!options.allow_underscores && /_/.test(part)) {\n return false;\n }\n\n return true;\n });\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isFloat;\nexports.locales = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _alpha = require(\"./alpha\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isFloat(str, options) {\n (0, _assertString.default)(str);\n options = options || {};\n var float = new RegExp(\"^(?:[-+])?(?:[0-9]+)?(?:\\\\\".concat(options.locale ? _alpha.decimal[options.locale] : '.', \"[0-9]*)?(?:[eE][\\\\+\\\\-]?(?:[0-9]+))?$\"));\n\n if (str === '' || str === '.' || str === '-' || str === '+') {\n return false;\n }\n\n var value = parseFloat(str.replace(',', '.'));\n return float.test(str) && (!options.hasOwnProperty('min') || value >= options.min) && (!options.hasOwnProperty('max') || value <= options.max) && (!options.hasOwnProperty('lt') || value < options.lt) && (!options.hasOwnProperty('gt') || value > options.gt);\n}\n\nvar locales = Object.keys(_alpha.decimal);\nexports.locales = locales;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isFullWidth;\nexports.fullWidth = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar fullWidth = /[^\\u0020-\\u007E\\uFF61-\\uFF9F\\uFFA0-\\uFFDC\\uFFE8-\\uFFEE0-9a-zA-Z]/;\nexports.fullWidth = fullWidth;\n\nfunction isFullWidth(str) {\n (0, _assertString.default)(str);\n return fullWidth.test(str);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isHSL;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar hslcomma = /^(hsl)a?\\(\\s*((\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?))(deg|grad|rad|turn|\\s*)(\\s*,\\s*(\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?)%){2}\\s*(,\\s*((\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?)%?)\\s*)?\\)$/i;\nvar hslspace = /^(hsl)a?\\(\\s*((\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?))(deg|grad|rad|turn|\\s)(\\s*(\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?)%){2}\\s*(\\/\\s*((\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?)%?)\\s*)?\\)$/i;\n\nfunction isHSL(str) {\n (0, _assertString.default)(str);\n return hslcomma.test(str) || hslspace.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isHalfWidth;\nexports.halfWidth = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar halfWidth = /[\\u0020-\\u007E\\uFF61-\\uFF9F\\uFFA0-\\uFFDC\\uFFE8-\\uFFEE0-9a-zA-Z]/;\nexports.halfWidth = halfWidth;\n\nfunction isHalfWidth(str) {\n (0, _assertString.default)(str);\n return halfWidth.test(str);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isHash;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar lengths = {\n md5: 32,\n md4: 32,\n sha1: 40,\n sha256: 64,\n sha384: 96,\n sha512: 128,\n ripemd128: 32,\n ripemd160: 40,\n tiger128: 32,\n tiger160: 40,\n tiger192: 48,\n crc32: 8,\n crc32b: 8\n};\n\nfunction isHash(str, algorithm) {\n (0, _assertString.default)(str);\n var hash = new RegExp(\"^[a-fA-F0-9]{\".concat(lengths[algorithm], \"}$\"));\n return hash.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isHexColor;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar hexcolor = /^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;\n\nfunction isHexColor(str) {\n (0, _assertString.default)(str);\n return hexcolor.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isHexadecimal;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar hexadecimal = /^(0x|0h)?[0-9A-F]+$/i;\n\nfunction isHexadecimal(str) {\n (0, _assertString.default)(str);\n return hexadecimal.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIBAN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * List of country codes with\n * corresponding IBAN regular expression\n * Reference: https://en.wikipedia.org/wiki/International_Bank_Account_Number\n */\nvar ibanRegexThroughCountryCode = {\n AD: /^(AD[0-9]{2})\\d{8}[A-Z0-9]{12}$/,\n AE: /^(AE[0-9]{2})\\d{3}\\d{16}$/,\n AL: /^(AL[0-9]{2})\\d{8}[A-Z0-9]{16}$/,\n AT: /^(AT[0-9]{2})\\d{16}$/,\n AZ: /^(AZ[0-9]{2})[A-Z0-9]{4}\\d{20}$/,\n BA: /^(BA[0-9]{2})\\d{16}$/,\n BE: /^(BE[0-9]{2})\\d{12}$/,\n BG: /^(BG[0-9]{2})[A-Z]{4}\\d{6}[A-Z0-9]{8}$/,\n BH: /^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,\n BR: /^(BR[0-9]{2})\\d{23}[A-Z]{1}[A-Z0-9]{1}$/,\n BY: /^(BY[0-9]{2})[A-Z0-9]{4}\\d{20}$/,\n CH: /^(CH[0-9]{2})\\d{5}[A-Z0-9]{12}$/,\n CR: /^(CR[0-9]{2})\\d{18}$/,\n CY: /^(CY[0-9]{2})\\d{8}[A-Z0-9]{16}$/,\n CZ: /^(CZ[0-9]{2})\\d{20}$/,\n DE: /^(DE[0-9]{2})\\d{18}$/,\n DK: /^(DK[0-9]{2})\\d{14}$/,\n DO: /^(DO[0-9]{2})[A-Z]{4}\\d{20}$/,\n EE: /^(EE[0-9]{2})\\d{16}$/,\n EG: /^(EG[0-9]{2})\\d{25}$/,\n ES: /^(ES[0-9]{2})\\d{20}$/,\n FI: /^(FI[0-9]{2})\\d{14}$/,\n FO: /^(FO[0-9]{2})\\d{14}$/,\n FR: /^(FR[0-9]{2})\\d{10}[A-Z0-9]{11}\\d{2}$/,\n GB: /^(GB[0-9]{2})[A-Z]{4}\\d{14}$/,\n GE: /^(GE[0-9]{2})[A-Z0-9]{2}\\d{16}$/,\n GI: /^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,\n GL: /^(GL[0-9]{2})\\d{14}$/,\n GR: /^(GR[0-9]{2})\\d{7}[A-Z0-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0-9]{4}\\d{16}$/,\n PL: /^(PL[0-9]{2})\\d{24}$/,\n PS: /^(PS[0-9]{2})[A-Z0-9]{4}\\d{21}$/,\n PT: /^(PT[0-9]{2})\\d{21}$/,\n QA: /^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,\n RO: /^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,\n RS: /^(RS[0-9]{2})\\d{18}$/,\n SA: /^(SA[0-9]{2})\\d{2}[A-Z0-9]{18}$/,\n SC: /^(SC[0-9]{2})[A-Z]{4}\\d{20}[A-Z]{3}$/,\n SE: /^(SE[0-9]{2})\\d{20}$/,\n SI: /^(SI[0-9]{2})\\d{15}$/,\n SK: /^(SK[0-9]{2})\\d{20}$/,\n SM: /^(SM[0-9]{2})[A-Z]{1}\\d{10}[A-Z0-9]{12}$/,\n SV: /^(SV[0-9]{2})[A-Z0-9]{4}\\d{20}$/,\n TL: /^(TL[0-9]{2})\\d{19}$/,\n TN: /^(TN[0-9]{2})\\d{20}$/,\n TR: /^(TR[0-9]{2})\\d{5}[A-Z0-9]{17}$/,\n UA: /^(UA[0-9]{2})\\d{6}[A-Z0-9]{19}$/,\n VA: /^(VA[0-9]{2})\\d{18}$/,\n VG: /^(VG[0-9]{2})[A-Z0-9]{4}\\d{16}$/,\n XK: /^(XK[0-9]{2})\\d{16}$/\n};\n/**\n * Check whether string has correct universal IBAN format\n * The IBAN consists of up to 34 alphanumeric characters, as follows:\n * Country Code using ISO 3166-1 alpha-2, two letters\n * check digits, two digits and\n * Basic Bank Account Number (BBAN), up to 30 alphanumeric characters.\n * NOTE: Permitted IBAN characters are: digits [0-9] and the 26 latin alphabetic [A-Z]\n *\n * @param {string} str - string under validation\n * @return {boolean}\n */\n\nfunction hasValidIbanFormat(str) {\n // Strip white spaces and hyphens\n var strippedStr = str.replace(/[\\s\\-]+/gi, '').toUpperCase();\n var isoCountryCode = strippedStr.slice(0, 2).toUpperCase();\n return isoCountryCode in ibanRegexThroughCountryCode && ibanRegexThroughCountryCode[isoCountryCode].test(strippedStr);\n}\n/**\n * Check whether string has valid IBAN Checksum\n * by performing basic mod-97 operation and\n * the remainder should equal 1\n * -- Start by rearranging the IBAN by moving the four initial characters to the end of the string\n * -- Replace each letter in the string with two digits, A -> 10, B = 11, Z = 35\n * -- Interpret the string as a decimal integer and\n * -- compute the remainder on division by 97 (mod 97)\n * Reference: https://en.wikipedia.org/wiki/International_Bank_Account_Number\n *\n * @param {string} str\n * @return {boolean}\n */\n\n\nfunction hasValidIbanChecksum(str) {\n var strippedStr = str.replace(/[^A-Z0-9]+/gi, '').toUpperCase(); // Keep only digits and A-Z latin alphabetic\n\n var rearranged = strippedStr.slice(4) + strippedStr.slice(0, 4);\n var alphaCapsReplacedWithDigits = rearranged.replace(/[A-Z]/g, function (char) {\n return char.charCodeAt(0) - 55;\n });\n var remainder = alphaCapsReplacedWithDigits.match(/\\d{1,7}/g).reduce(function (acc, value) {\n return Number(acc + value) % 97;\n }, '');\n return remainder === 1;\n}\n\nfunction isIBAN(str) {\n (0, _assertString.default)(str);\n return hasValidIbanFormat(str) && hasValidIbanChecksum(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIMEI;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar imeiRegexWithoutHypens = /^[0-9]{15}$/;\nvar imeiRegexWithHypens = /^\\d{2}-\\d{6}-\\d{6}-\\d{1}$/;\n\nfunction isIMEI(str, options) {\n (0, _assertString.default)(str);\n options = options || {}; // default regex for checking imei is the one without hyphens\n\n var imeiRegex = imeiRegexWithoutHypens;\n\n if (options.allow_hyphens) {\n imeiRegex = imeiRegexWithHypens;\n }\n\n if (!imeiRegex.test(str)) {\n return false;\n }\n\n str = str.replace(/-/g, '');\n var sum = 0,\n mul = 2,\n l = 14;\n\n for (var i = 0; i < l; i++) {\n var digit = str.substring(l - i - 1, l - i);\n var tp = parseInt(digit, 10) * mul;\n\n if (tp >= 10) {\n sum += tp % 10 + 1;\n } else {\n sum += tp;\n }\n\n if (mul === 1) {\n mul += 1;\n } else {\n mul -= 1;\n }\n }\n\n var chk = (10 - sum % 10) % 10;\n\n if (chk !== parseInt(str.substring(14, 15), 10)) {\n return false;\n }\n\n return true;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIP;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n11.3. Examples\n\n The following addresses\n\n fe80::1234 (on the 1st link of the node)\n ff02::5678 (on the 5th link of the node)\n ff08::9abc (on the 10th organization of the node)\n\n would be represented as follows:\n\n fe80::1234%1\n ff02::5678%5\n ff08::9abc%10\n\n (Here we assume a natural translation from a zone index to the\n <zone_id> part, where the Nth zone of any scope is translated into\n \"N\".)\n\n If we use interface names as <zone_id>, those addresses could also be\n represented as follows:\n\n fe80::1234%ne0\n ff02::5678%pvc1.3\n ff08::9abc%interface10\n\n where the interface \"ne0\" belongs to the 1st link, \"pvc1.3\" belongs\n to the 5th link, and \"interface10\" belongs to the 10th organization.\n * * */\nvar ipv4Maybe = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/;\nvar ipv6Block = /^[0-9A-F]{1,4}$/i;\n\nfunction isIP(str) {\n var version = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n (0, _assertString.default)(str);\n version = String(version);\n\n if (!version) {\n return isIP(str, 4) || isIP(str, 6);\n } else if (version === '4') {\n if (!ipv4Maybe.test(str)) {\n return false;\n }\n\n var parts = str.split('.').sort(function (a, b) {\n return a - b;\n });\n return parts[3] <= 255;\n } else if (version === '6') {\n var addressAndZone = [str]; // ipv6 addresses could have scoped architecture\n // according to https://tools.ietf.org/html/rfc4007#section-11\n\n if (str.includes('%')) {\n addressAndZone = str.split('%');\n\n if (addressAndZone.length !== 2) {\n // it must be just two parts\n return false;\n }\n\n if (!addressAndZone[0].includes(':')) {\n // the first part must be the address\n return false;\n }\n\n if (addressAndZone[1] === '') {\n // the second part must not be empty\n return false;\n }\n }\n\n var blocks = addressAndZone[0].split(':');\n var foundOmissionBlock = false; // marker to indicate ::\n // At least some OS accept the last 32 bits of an IPv6 address\n // (i.e. 2 of the blocks) in IPv4 notation, and RFC 3493 says\n // that '::ffff:a.b.c.d' is valid for IPv4-mapped IPv6 addresses,\n // and '::a.b.c.d' is deprecated, but also valid.\n\n var foundIPv4TransitionBlock = isIP(blocks[blocks.length - 1], 4);\n var expectedNumberOfBlocks = foundIPv4TransitionBlock ? 7 : 8;\n\n if (blocks.length > expectedNumberOfBlocks) {\n return false;\n } // initial or final ::\n\n\n if (str === '::') {\n return true;\n } else if (str.substr(0, 2) === '::') {\n blocks.shift();\n blocks.shift();\n foundOmissionBlock = true;\n } else if (str.substr(str.length - 2) === '::') {\n blocks.pop();\n blocks.pop();\n foundOmissionBlock = true;\n }\n\n for (var i = 0; i < blocks.length; ++i) {\n // test for a :: which can not be at the string start/end\n // since those cases have been handled above\n if (blocks[i] === '' && i > 0 && i < blocks.length - 1) {\n if (foundOmissionBlock) {\n return false; // multiple :: in address\n }\n\n foundOmissionBlock = true;\n } else if (foundIPv4TransitionBlock && i === blocks.length - 1) {// it has been checked before that the last\n // block is a valid IPv4 address\n } else if (!ipv6Block.test(blocks[i])) {\n return false;\n }\n }\n\n if (foundOmissionBlock) {\n return blocks.length >= 1;\n }\n\n return blocks.length === expectedNumberOfBlocks;\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIPRange;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _isIP = _interopRequireDefault(require(\"./isIP\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar subnetMaybe = /^\\d{1,2}$/;\n\nfunction isIPRange(str) {\n (0, _assertString.default)(str);\n var parts = str.split('/'); // parts[0] -> ip, parts[1] -> subnet\n\n if (parts.length !== 2) {\n return false;\n }\n\n if (!subnetMaybe.test(parts[1])) {\n return false;\n } // Disallow preceding 0 i.e. 01, 02, ...\n\n\n if (parts[1].length > 1 && parts[1].startsWith('0')) {\n return false;\n }\n\n return (0, _isIP.default)(parts[0], 4) && parts[1] <= 32 && parts[1] >= 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISBN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isbn10Maybe = /^(?:[0-9]{9}X|[0-9]{10})$/;\nvar isbn13Maybe = /^(?:[0-9]{13})$/;\nvar factor = [1, 3];\n\nfunction isISBN(str) {\n var version = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n (0, _assertString.default)(str);\n version = String(version);\n\n if (!version) {\n return isISBN(str, 10) || isISBN(str, 13);\n }\n\n var sanitized = str.replace(/[\\s-]+/g, '');\n var checksum = 0;\n var i;\n\n if (version === '10') {\n if (!isbn10Maybe.test(sanitized)) {\n return false;\n }\n\n for (i = 0; i < 9; i++) {\n checksum += (i + 1) * sanitized.charAt(i);\n }\n\n if (sanitized.charAt(9) === 'X') {\n checksum += 10 * 10;\n } else {\n checksum += 10 * sanitized.charAt(9);\n }\n\n if (checksum % 11 === 0) {\n return !!sanitized;\n }\n } else if (version === '13') {\n if (!isbn13Maybe.test(sanitized)) {\n return false;\n }\n\n for (i = 0; i < 12; i++) {\n checksum += factor[i % 2] * sanitized.charAt(i);\n }\n\n if (sanitized.charAt(12) - (10 - checksum % 10) % 10 === 0) {\n return !!sanitized;\n }\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISIN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isin = /^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;\n\nfunction isISIN(str) {\n (0, _assertString.default)(str);\n\n if (!isin.test(str)) {\n return false;\n }\n\n var checksumStr = str.replace(/[A-Z]/g, function (character) {\n return parseInt(character, 36);\n });\n var sum = 0;\n var digit;\n var tmpNum;\n var shouldDouble = true;\n\n for (var i = checksumStr.length - 2; i >= 0; i--) {\n digit = checksumStr.substring(i, i + 1);\n tmpNum = parseInt(digit, 10);\n\n if (shouldDouble) {\n tmpNum *= 2;\n\n if (tmpNum >= 10) {\n sum += tmpNum + 1;\n } else {\n sum += tmpNum;\n }\n } else {\n sum += tmpNum;\n }\n\n shouldDouble = !shouldDouble;\n }\n\n return parseInt(str.substr(str.length - 1), 10) === (10000 - sum) % 10;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISO31661Alpha2;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _includes = _interopRequireDefault(require(\"./util/includes\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// from https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\nvar validISO31661Alpha2CountriesCodes = ['AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE', 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU', 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'RE', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WS', 'YE', 'YT', 'ZA', 'ZM', 'ZW'];\n\nfunction isISO31661Alpha2(str) {\n (0, _assertString.default)(str);\n return (0, _includes.default)(validISO31661Alpha2CountriesCodes, str.toUpperCase());\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISO31661Alpha3;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _includes = _interopRequireDefault(require(\"./util/includes\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// from https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3\nvar validISO31661Alpha3CountriesCodes = ['AFG', 'ALA', 'ALB', 'DZA', 'ASM', 'AND', 'AGO', 'AIA', 'ATA', 'ATG', 'ARG', 'ARM', 'ABW', 'AUS', 'AUT', 'AZE', 'BHS', 'BHR', 'BGD', 'BRB', 'BLR', 'BEL', 'BLZ', 'BEN', 'BMU', 'BTN', 'BOL', 'BES', 'BIH', 'BWA', 'BVT', 'BRA', 'IOT', 'BRN', 'BGR', 'BFA', 'BDI', 'KHM', 'CMR', 'CAN', 'CPV', 'CYM', 'CAF', 'TCD', 'CHL', 'CHN', 'CXR', 'CCK', 'COL', 'COM', 'COG', 'COD', 'COK', 'CRI', 'CIV', 'HRV', 'CUB', 'CUW', 'CYP', 'CZE', 'DNK', 'DJI', 'DMA', 'DOM', 'ECU', 'EGY', 'SLV', 'GNQ', 'ERI', 'EST', 'ETH', 'FLK', 'FRO', 'FJI', 'FIN', 'FRA', 'GUF', 'PYF', 'ATF', 'GAB', 'GMB', 'GEO', 'DEU', 'GHA', 'GIB', 'GRC', 'GRL', 'GRD', 'GLP', 'GUM', 'GTM', 'GGY', 'GIN', 'GNB', 'GUY', 'HTI', 'HMD', 'VAT', 'HND', 'HKG', 'HUN', 'ISL', 'IND', 'IDN', 'IRN', 'IRQ', 'IRL', 'IMN', 'ISR', 'ITA', 'JAM', 'JPN', 'JEY', 'JOR', 'KAZ', 'KEN', 'KIR', 'PRK', 'KOR', 'KWT', 'KGZ', 'LAO', 'LVA', 'LBN', 'LSO', 'LBR', 'LBY', 'LIE', 'LTU', 'LUX', 'MAC', 'MKD', 'MDG', 'MWI', 'MYS', 'MDV', 'MLI', 'MLT', 'MHL', 'MTQ', 'MRT', 'MUS', 'MYT', 'MEX', 'FSM', 'MDA', 'MCO', 'MNG', 'MNE', 'MSR', 'MAR', 'MOZ', 'MMR', 'NAM', 'NRU', 'NPL', 'NLD', 'NCL', 'NZL', 'NIC', 'NER', 'NGA', 'NIU', 'NFK', 'MNP', 'NOR', 'OMN', 'PAK', 'PLW', 'PSE', 'PAN', 'PNG', 'PRY', 'PER', 'PHL', 'PCN', 'POL', 'PRT', 'PRI', 'QAT', 'REU', 'ROU', 'RUS', 'RWA', 'BLM', 'SHN', 'KNA', 'LCA', 'MAF', 'SPM', 'VCT', 'WSM', 'SMR', 'STP', 'SAU', 'SEN', 'SRB', 'SYC', 'SLE', 'SGP', 'SXM', 'SVK', 'SVN', 'SLB', 'SOM', 'ZAF', 'SGS', 'SSD', 'ESP', 'LKA', 'SDN', 'SUR', 'SJM', 'SWZ', 'SWE', 'CHE', 'SYR', 'TWN', 'TJK', 'TZA', 'THA', 'TLS', 'TGO', 'TKL', 'TON', 'TTO', 'TUN', 'TUR', 'TKM', 'TCA', 'TUV', 'UGA', 'UKR', 'ARE', 'GBR', 'USA', 'UMI', 'URY', 'UZB', 'VUT', 'VEN', 'VNM', 'VGB', 'VIR', 'WLF', 'ESH', 'YEM', 'ZMB', 'ZWE'];\n\nfunction isISO31661Alpha3(str) {\n (0, _assertString.default)(str);\n return (0, _includes.default)(validISO31661Alpha3CountriesCodes, str.toUpperCase());\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISO8601;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* eslint-disable max-len */\n// from http://goo.gl/0ejHHW\nvar iso8601 = /^([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$/; // same as above, except with a strict 'T' separator between date and time\n\nvar iso8601StrictSeparator = /^([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$/;\n/* eslint-enable max-len */\n\nvar isValidDate = function isValidDate(str) {\n // str must have passed the ISO8601 check\n // this check is meant to catch invalid dates\n // like 2009-02-31\n // first check for ordinal dates\n var ordinalMatch = str.match(/^(\\d{4})-?(\\d{3})([ T]{1}\\.*|$)/);\n\n if (ordinalMatch) {\n var oYear = Number(ordinalMatch[1]);\n var oDay = Number(ordinalMatch[2]); // if is leap year\n\n if (oYear % 4 === 0 && oYear % 100 !== 0 || oYear % 400 === 0) return oDay <= 366;\n return oDay <= 365;\n }\n\n var match = str.match(/(\\d{4})-?(\\d{0,2})-?(\\d*)/).map(Number);\n var year = match[1];\n var month = match[2];\n var day = match[3];\n var monthString = month ? \"0\".concat(month).slice(-2) : month;\n var dayString = day ? \"0\".concat(day).slice(-2) : day; // create a date object and compare\n\n var d = new Date(\"\".concat(year, \"-\").concat(monthString || '01', \"-\").concat(dayString || '01'));\n\n if (month && day) {\n return d.getUTCFullYear() === year && d.getUTCMonth() + 1 === month && d.getUTCDate() === day;\n }\n\n return true;\n};\n\nfunction isISO8601(str) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n (0, _assertString.default)(str);\n var check = options.strictSeparator ? iso8601StrictSeparator.test(str) : iso8601.test(str);\n if (check && options.strict) return isValidDate(str);\n return check;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISRC;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// see http://isrc.ifpi.org/en/isrc-standard/code-syntax\nvar isrc = /^[A-Z]{2}[0-9A-Z]{3}\\d{2}\\d{5}$/;\n\nfunction isISRC(str) {\n (0, _assertString.default)(str);\n return isrc.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISSN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar issn = '^\\\\d{4}-?\\\\d{3}[\\\\dX]$';\n\nfunction isISSN(str) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n (0, _assertString.default)(str);\n var testIssn = issn;\n testIssn = options.require_hyphen ? testIssn.replace('?', '') : testIssn;\n testIssn = options.case_sensitive ? new RegExp(testIssn) : new RegExp(testIssn, 'i');\n\n if (!testIssn.test(str)) {\n return false;\n }\n\n var digits = str.replace('-', '').toUpperCase();\n var checksum = 0;\n\n for (var i = 0; i < digits.length; i++) {\n var digit = digits[i];\n checksum += (digit === 'X' ? 10 : +digit) * (8 - i);\n }\n\n return checksum % 11 === 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIdentityCard;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar validators = {\n ES: function ES(str) {\n (0, _assertString.default)(str);\n var DNI = /^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/;\n var charsValue = {\n X: 0,\n Y: 1,\n Z: 2\n };\n var controlDigits = ['T', 'R', 'W', 'A', 'G', 'M', 'Y', 'F', 'P', 'D', 'X', 'B', 'N', 'J', 'Z', 'S', 'Q', 'V', 'H', 'L', 'C', 'K', 'E']; // sanitize user input\n\n var sanitized = str.trim().toUpperCase(); // validate the data structure\n\n if (!DNI.test(sanitized)) {\n return false;\n } // validate the control digit\n\n\n var number = sanitized.slice(0, -1).replace(/[X,Y,Z]/g, function (char) {\n return charsValue[char];\n });\n return sanitized.endsWith(controlDigits[number % 23]);\n },\n IN: function IN(str) {\n var DNI = /^[1-9]\\d{3}\\s?\\d{4}\\s?\\d{4}$/; // multiplication table\n\n var d = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 0, 6, 7, 8, 9, 5], [2, 3, 4, 0, 1, 7, 8, 9, 5, 6], [3, 4, 0, 1, 2, 8, 9, 5, 6, 7], [4, 0, 1, 2, 3, 9, 5, 6, 7, 8], [5, 9, 8, 7, 6, 0, 4, 3, 2, 1], [6, 5, 9, 8, 7, 1, 0, 4, 3, 2], [7, 6, 5, 9, 8, 2, 1, 0, 4, 3], [8, 7, 6, 5, 9, 3, 2, 1, 0, 4], [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]]; // permutation table\n\n var p = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 5, 7, 6, 2, 8, 3, 0, 9, 4], [5, 8, 0, 3, 7, 9, 6, 1, 4, 2], [8, 9, 1, 6, 0, 4, 3, 5, 2, 7], [9, 4, 5, 3, 1, 2, 6, 8, 7, 0], [4, 2, 8, 6, 5, 7, 3, 9, 0, 1], [2, 7, 9, 3, 8, 0, 6, 4, 1, 5], [7, 0, 4, 6, 9, 1, 3, 2, 5, 8]]; // sanitize user input\n\n var sanitized = str.trim(); // validate the data structure\n\n if (!DNI.test(sanitized)) {\n return false;\n }\n\n var c = 0;\n var invertedArray = sanitized.replace(/\\s/g, '').split('').map(Number).reverse();\n invertedArray.forEach(function (val, i) {\n c = d[c][p[i % 8][val]];\n });\n return c === 0;\n },\n IT: function IT(str) {\n if (str.length !== 9) return false;\n if (str === 'CA00000AA') return false; // https://it.wikipedia.org/wiki/Carta_d%27identit%C3%A0_elettronica_italiana\n\n return str.search(/C[A-Z][0-9]{5}[A-Z]{2}/i) > -1;\n },\n NO: function NO(str) {\n var sanitized = str.trim();\n if (isNaN(Number(sanitized))) return false;\n if (sanitized.length !== 11) return false;\n if (sanitized === '00000000000') return false; // https://no.wikipedia.org/wiki/F%C3%B8dselsnummer\n\n var f = sanitized.split('').map(Number);\n var k1 = (11 - (3 * f[0] + 7 * f[1] + 6 * f[2] + 1 * f[3] + 8 * f[4] + 9 * f[5] + 4 * f[6] + 5 * f[7] + 2 * f[8]) % 11) % 11;\n var k2 = (11 - (5 * f[0] + 4 * f[1] + 3 * f[2] + 2 * f[3] + 7 * f[4] + 6 * f[5] + 5 * f[6] + 4 * f[7] + 3 * f[8] + 2 * k1) % 11) % 11;\n if (k1 !== f[9] || k2 !== f[10]) return false;\n return true;\n },\n 'he-IL': function heIL(str) {\n var DNI = /^\\d{9}$/; // sanitize user input\n\n var sanitized = str.trim(); // validate the data structure\n\n if (!DNI.test(sanitized)) {\n return false;\n }\n\n var id = sanitized;\n var sum = 0,\n incNum;\n\n for (var i = 0; i < id.length; i++) {\n incNum = Number(id[i]) * (i % 2 + 1); // Multiply number by 1 or 2\n\n sum += incNum > 9 ? incNum - 9 : incNum; // Sum the digits up and add to total\n }\n\n return sum % 10 === 0;\n },\n 'ar-TN': function arTN(str) {\n var DNI = /^\\d{8}$/; // sanitize user input\n\n var sanitized = str.trim(); // validate the data structure\n\n if (!DNI.test(sanitized)) {\n return false;\n }\n\n return true;\n },\n 'zh-CN': function zhCN(str) {\n var provincesAndCities = ['11', // 北京\n '12', // 天津\n '13', // 河北\n '14', // 山西\n '15', // 内蒙古\n '21', // 辽宁\n '22', // 吉林\n '23', // 黑龙江\n '31', // 上海\n '32', // 江苏\n '33', // 浙江\n '34', // 安徽\n '35', // 福建\n '36', // 江西\n '37', // 山东\n '41', // 河南\n '42', // 湖北\n '43', // 湖南\n '44', // 广东\n '45', // 广西\n '46', // 海南\n '50', // 重庆\n '51', // 四川\n '52', // 贵州\n '53', // 云南\n '54', // 西藏\n '61', // 陕西\n '62', // 甘肃\n '63', // 青海\n '64', // 宁夏\n '65', // 新疆\n '71', // 台湾\n '81', // 香港\n '82', // 澳门\n '91' // 国外\n ];\n var powers = ['7', '9', '10', '5', '8', '4', '2', '1', '6', '3', '7', '9', '10', '5', '8', '4', '2'];\n var parityBit = ['1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2'];\n\n var checkAddressCode = function checkAddressCode(addressCode) {\n return provincesAndCities.includes(addressCode);\n };\n\n var checkBirthDayCode = function checkBirthDayCode(birDayCode) {\n var yyyy = parseInt(birDayCode.substring(0, 4), 10);\n var mm = parseInt(birDayCode.substring(4, 6), 10);\n var dd = parseInt(birDayCode.substring(6), 10);\n var xdata = new Date(yyyy, mm - 1, dd);\n\n if (xdata > new Date()) {\n return false; // eslint-disable-next-line max-len\n } else if (xdata.getFullYear() === yyyy && xdata.getMonth() === mm - 1 && xdata.getDate() === dd) {\n return true;\n }\n\n return false;\n };\n\n var getParityBit = function getParityBit(idCardNo) {\n var id17 = idCardNo.substring(0, 17);\n var power = 0;\n\n for (var i = 0; i < 17; i++) {\n power += parseInt(id17.charAt(i), 10) * parseInt(powers[i], 10);\n }\n\n var mod = power % 11;\n return parityBit[mod];\n };\n\n var checkParityBit = function checkParityBit(idCardNo) {\n return getParityBit(idCardNo) === idCardNo.charAt(17).toUpperCase();\n };\n\n var check15IdCardNo = function check15IdCardNo(idCardNo) {\n var check = /^[1-9]\\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\\d{3}$/.test(idCardNo);\n if (!check) return false;\n var addressCode = idCardNo.substring(0, 2);\n check = checkAddressCode(addressCode);\n if (!check) return false;\n var birDayCode = \"19\".concat(idCardNo.substring(6, 12));\n check = checkBirthDayCode(birDayCode);\n if (!check) return false;\n return true;\n };\n\n var check18IdCardNo = function check18IdCardNo(idCardNo) {\n var check = /^[1-9]\\d{5}[1-9]\\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\\d{3}(\\d|x|X)$/.test(idCardNo);\n if (!check) return false;\n var addressCode = idCardNo.substring(0, 2);\n check = checkAddressCode(addressCode);\n if (!check) return false;\n var birDayCode = idCardNo.substring(6, 14);\n check = checkBirthDayCode(birDayCode);\n if (!check) return false;\n return checkParityBit(idCardNo);\n };\n\n var checkIdCardNo = function checkIdCardNo(idCardNo) {\n var check = /^\\d{15}|(\\d{17}(\\d|x|X))$/.test(idCardNo);\n if (!check) return false;\n\n if (idCardNo.length === 15) {\n return check15IdCardNo(idCardNo);\n }\n\n return check18IdCardNo(idCardNo);\n };\n\n return checkIdCardNo(str);\n },\n 'zh-TW': function zhTW(str) {\n var ALPHABET_CODES = {\n A: 10,\n B: 11,\n C: 12,\n D: 13,\n E: 14,\n F: 15,\n G: 16,\n H: 17,\n I: 34,\n J: 18,\n K: 19,\n L: 20,\n M: 21,\n N: 22,\n O: 35,\n P: 23,\n Q: 24,\n R: 25,\n S: 26,\n T: 27,\n U: 28,\n V: 29,\n W: 32,\n X: 30,\n Y: 31,\n Z: 33\n };\n var sanitized = str.trim().toUpperCase();\n if (!/^[A-Z][0-9]{9}$/.test(sanitized)) return false;\n return Array.from(sanitized).reduce(function (sum, number, index) {\n if (index === 0) {\n var code = ALPHABET_CODES[number];\n return code % 10 * 9 + Math.floor(code / 10);\n }\n\n if (index === 9) {\n return (10 - sum % 10 - Number(number)) % 10 === 0;\n }\n\n return sum + Number(number) * (9 - index);\n }, 0);\n }\n};\n\nfunction isIdentityCard(str, locale) {\n (0, _assertString.default)(str);\n\n if (locale in validators) {\n return validators[locale](str);\n } else if (locale === 'any') {\n for (var key in validators) {\n // https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md#ignoring-code-for-coverage-purposes\n // istanbul ignore else\n if (validators.hasOwnProperty(key)) {\n var validator = validators[key];\n\n if (validator(str)) {\n return true;\n }\n }\n }\n\n return false;\n }\n\n throw new Error(\"Invalid locale '\".concat(locale, \"'\"));\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIn;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _toString = _interopRequireDefault(require(\"./util/toString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction isIn(str, options) {\n (0, _assertString.default)(str);\n var i;\n\n if (Object.prototype.toString.call(options) === '[object Array]') {\n var array = [];\n\n for (i in options) {\n // https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md#ignoring-code-for-coverage-purposes\n // istanbul ignore else\n if ({}.hasOwnProperty.call(options, i)) {\n array[i] = (0, _toString.default)(options[i]);\n }\n }\n\n return array.indexOf(str) >= 0;\n } else if (_typeof(options) === 'object') {\n return options.hasOwnProperty(str);\n } else if (options && typeof options.indexOf === 'function') {\n return options.indexOf(str) >= 0;\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isInt;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar int = /^(?:[-+]?(?:0|[1-9][0-9]*))$/;\nvar intLeadingZeroes = /^[-+]?[0-9]+$/;\n\nfunction isInt(str, options) {\n (0, _assertString.default)(str);\n options = options || {}; // Get the regex to use for testing, based on whether\n // leading zeroes are allowed or not.\n\n var regex = options.hasOwnProperty('allow_leading_zeroes') && !options.allow_leading_zeroes ? int : intLeadingZeroes; // Check min/max/lt/gt\n\n var minCheckPassed = !options.hasOwnProperty('min') || str >= options.min;\n var maxCheckPassed = !options.hasOwnProperty('max') || str <= options.max;\n var ltCheckPassed = !options.hasOwnProperty('lt') || str < options.lt;\n var gtCheckPassed = !options.hasOwnProperty('gt') || str > options.gt;\n return regex.test(str) && minCheckPassed && maxCheckPassed && ltCheckPassed && gtCheckPassed;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isJSON;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar default_json_options = {\n allow_primitives: false\n};\n\nfunction isJSON(str, options) {\n (0, _assertString.default)(str);\n\n try {\n options = (0, _merge.default)(options, default_json_options);\n var primitives = [];\n\n if (options.allow_primitives) {\n primitives = [null, false, true];\n }\n\n var obj = JSON.parse(str);\n return primitives.includes(obj) || !!obj && _typeof(obj) === 'object';\n } catch (e) {\n /* ignore */\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isJWT;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _isBase = _interopRequireDefault(require(\"./isBase64\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isJWT(str) {\n (0, _assertString.default)(str);\n var dotSplit = str.split('.');\n var len = dotSplit.length;\n\n if (len > 3 || len < 2) {\n return false;\n }\n\n return dotSplit.reduce(function (acc, currElem) {\n return acc && (0, _isBase.default)(currElem, {\n urlSafe: true\n });\n }, true);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isLatLong;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar lat = /^\\(?[+-]?(90(\\.0+)?|[1-8]?\\d(\\.\\d+)?)$/;\nvar long = /^\\s?[+-]?(180(\\.0+)?|1[0-7]\\d(\\.\\d+)?|\\d{1,2}(\\.\\d+)?)\\)?$/;\nvar latDMS = /^(([1-8]?\\d)\\D+([1-5]?\\d|60)\\D+([1-5]?\\d|60)(\\.\\d+)?|90\\D+0\\D+0)\\D+[NSns]?$/i;\nvar longDMS = /^\\s*([1-7]?\\d{1,2}\\D+([1-5]?\\d|60)\\D+([1-5]?\\d|60)(\\.\\d+)?|180\\D+0\\D+0)\\D+[EWew]?$/i;\nvar defaultLatLongOptions = {\n checkDMS: false\n};\n\nfunction isLatLong(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, defaultLatLongOptions);\n if (!str.includes(',')) return false;\n var pair = str.split(',');\n if (pair[0].startsWith('(') && !pair[1].endsWith(')') || pair[1].endsWith(')') && !pair[0].startsWith('(')) return false;\n\n if (options.checkDMS) {\n return latDMS.test(pair[0]) && longDMS.test(pair[1]);\n }\n\n return lat.test(pair[0]) && long.test(pair[1]);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isLength;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/* eslint-disable prefer-rest-params */\nfunction isLength(str, options) {\n (0, _assertString.default)(str);\n var min;\n var max;\n\n if (_typeof(options) === 'object') {\n min = options.min || 0;\n max = options.max;\n } else {\n // backwards compatibility: isLength(str, min [, max])\n min = arguments[1] || 0;\n max = arguments[2];\n }\n\n var surrogatePairs = str.match(/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g) || [];\n var len = str.length - surrogatePairs.length;\n return len >= min && (typeof max === 'undefined' || len <= max);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isLocale;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar localeReg = /^[A-z]{2,4}([_-]([A-z]{4}|[\\d]{3}))?([_-]([A-z]{2}|[\\d]{3}))?$/;\n\nfunction isLocale(str) {\n (0, _assertString.default)(str);\n\n if (str === 'en_US_POSIX' || str === 'ca_ES_VALENCIA') {\n return true;\n }\n\n return localeReg.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isLowercase;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isLowercase(str) {\n (0, _assertString.default)(str);\n return str === str.toLowerCase();\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMACAddress;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar macAddress = /^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/;\nvar macAddressNoColons = /^([0-9a-fA-F]){12}$/;\nvar macAddressWithHyphen = /^([0-9a-fA-F][0-9a-fA-F]-){5}([0-9a-fA-F][0-9a-fA-F])$/;\nvar macAddressWithSpaces = /^([0-9a-fA-F][0-9a-fA-F]\\s){5}([0-9a-fA-F][0-9a-fA-F])$/;\nvar macAddressWithDots = /^([0-9a-fA-F]{4}).([0-9a-fA-F]{4}).([0-9a-fA-F]{4})$/;\n\nfunction isMACAddress(str, options) {\n (0, _assertString.default)(str);\n\n if (options && options.no_colons) {\n return macAddressNoColons.test(str);\n }\n\n return macAddress.test(str) || macAddressWithHyphen.test(str) || macAddressWithSpaces.test(str) || macAddressWithDots.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMD5;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar md5 = /^[a-f0-9]{32}$/;\n\nfunction isMD5(str) {\n (0, _assertString.default)(str);\n return md5.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMagnetURI;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar magnetURI = /^magnet:\\?xt=urn:[a-z0-9]+:[a-z0-9]{32,40}&dn=.+&tr=.+$/i;\n\nfunction isMagnetURI(url) {\n (0, _assertString.default)(url);\n return magnetURI.test(url.trim());\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMimeType;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/*\n Checks if the provided string matches to a correct Media type format (MIME type)\n\n This function only checks is the string format follows the\n etablished rules by the according RFC specifications.\n This function supports 'charset' in textual media types\n (https://tools.ietf.org/html/rfc6657).\n\n This function does not check against all the media types listed\n by the IANA (https://www.iana.org/assignments/media-types/media-types.xhtml)\n because of lightness purposes : it would require to include\n all these MIME types in this librairy, which would weigh it\n significantly. This kind of effort maybe is not worth for the use that\n this function has in this entire librairy.\n\n More informations in the RFC specifications :\n - https://tools.ietf.org/html/rfc2045\n - https://tools.ietf.org/html/rfc2046\n - https://tools.ietf.org/html/rfc7231#section-3.1.1.1\n - https://tools.ietf.org/html/rfc7231#section-3.1.1.5\n*/\n// Match simple MIME types\n// NB :\n// Subtype length must not exceed 100 characters.\n// This rule does not comply to the RFC specs (what is the max length ?).\nvar mimeTypeSimple = /^(application|audio|font|image|message|model|multipart|text|video)\\/[a-zA-Z0-9\\.\\-\\+]{1,100}$/i; // eslint-disable-line max-len\n// Handle \"charset\" in \"text/*\"\n\nvar mimeTypeText = /^text\\/[a-zA-Z0-9\\.\\-\\+]{1,100};\\s?charset=(\"[a-zA-Z0-9\\.\\-\\+\\s]{0,70}\"|[a-zA-Z0-9\\.\\-\\+]{0,70})(\\s?\\([a-zA-Z0-9\\.\\-\\+\\s]{1,20}\\))?$/i; // eslint-disable-line max-len\n// Handle \"boundary\" in \"multipart/*\"\n\nvar mimeTypeMultipart = /^multipart\\/[a-zA-Z0-9\\.\\-\\+]{1,100}(;\\s?(boundary|charset)=(\"[a-zA-Z0-9\\.\\-\\+\\s]{0,70}\"|[a-zA-Z0-9\\.\\-\\+]{0,70})(\\s?\\([a-zA-Z0-9\\.\\-\\+\\s]{1,20}\\))?){0,2}$/i; // eslint-disable-line max-len\n\nfunction isMimeType(str) {\n (0, _assertString.default)(str);\n return mimeTypeSimple.test(str) || mimeTypeText.test(str) || mimeTypeMultipart.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMobilePhone;\nexports.locales = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* eslint-disable max-len */\nvar phones = {\n 'am-AM': /^(\\+?374|0)((10|[9|7][0-9])\\d{6}$|[2-4]\\d{7}$)/,\n 'ar-AE': /^((\\+?971)|0)?5[024568]\\d{7}$/,\n 'ar-BH': /^(\\+?973)?(3|6)\\d{7}$/,\n 'ar-DZ': /^(\\+?213|0)(5|6|7)\\d{8}$/,\n 'ar-LB': /^(\\+?961)?((3|81)\\d{6}|7\\d{7})$/,\n 'ar-EG': /^((\\+?20)|0)?1[0125]\\d{8}$/,\n 'ar-IQ': /^(\\+?964|0)?7[0-9]\\d{8}$/,\n 'ar-JO': /^(\\+?962|0)?7[789]\\d{7}$/,\n 'ar-KW': /^(\\+?965)[569]\\d{7}$/,\n 'ar-LY': /^((\\+?218)|0)?(9[1-6]\\d{7}|[1-8]\\d{7,9})$/,\n 'ar-MA': /^(?:(?:\\+|00)212|0)[5-7]\\d{8}$/,\n 'ar-SA': /^(!?(\\+?966)|0)?5\\d{8}$/,\n 'ar-SY': /^(!?(\\+?963)|0)?9\\d{8}$/,\n 'ar-TN': /^(\\+?216)?[2459]\\d{7}$/,\n 'az-AZ': /^(\\+994|0)(5[015]|7[07]|99)\\d{7}$/,\n 'bs-BA': /^((((\\+|00)3876)|06))((([0-3]|[5-6])\\d{6})|(4\\d{7}))$/,\n 'be-BY': /^(\\+?375)?(24|25|29|33|44)\\d{7}$/,\n 'bg-BG': /^(\\+?359|0)?8[789]\\d{7}$/,\n 'bn-BD': /^(\\+?880|0)1[13456789][0-9]{8}$/,\n 'ca-AD': /^(\\+376)?[346]\\d{5}$/,\n 'cs-CZ': /^(\\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,\n 'da-DK': /^(\\+?45)?\\s?\\d{2}\\s?\\d{2}\\s?\\d{2}\\s?\\d{2}$/,\n 'de-DE': /^(\\+49)?0?[1|3]([0|5][0-45-9]\\d|6([23]|0\\d?)|7([0-57-9]|6\\d))\\d{7}$/,\n 'de-AT': /^(\\+43|0)\\d{1,4}\\d{3,12}$/,\n 'de-CH': /^(\\+41|0)(7[5-9])\\d{1,7}$/,\n 'de-LU': /^(\\+352)?((6\\d1)\\d{6})$/,\n 'el-GR': /^(\\+?30|0)?(69\\d{8})$/,\n 'en-AU': /^(\\+?61|0)4\\d{8}$/,\n 'en-GB': /^(\\+?44|0)7\\d{9}$/,\n 'en-GG': /^(\\+?44|0)1481\\d{6}$/,\n 'en-GH': /^(\\+233|0)(20|50|24|54|27|57|26|56|23|28)\\d{7}$/,\n 'en-HK': /^(\\+?852[-\\s]?)?[456789]\\d{3}[-\\s]?\\d{4}$/,\n 'en-MO': /^(\\+?853[-\\s]?)?[6]\\d{3}[-\\s]?\\d{4}$/,\n 'en-IE': /^(\\+?353|0)8[356789]\\d{7}$/,\n 'en-IN': /^(\\+?91|0)?[6789]\\d{9}$/,\n 'en-KE': /^(\\+?254|0)(7|1)\\d{8}$/,\n 'en-MT': /^(\\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,\n 'en-MU': /^(\\+?230|0)?\\d{8}$/,\n 'en-NG': /^(\\+?234|0)?[789]\\d{9}$/,\n 'en-NZ': /^(\\+?64|0)[28]\\d{7,9}$/,\n 'en-PK': /^((\\+92)|(0092))-{0,1}\\d{3}-{0,1}\\d{7}$|^\\d{11}$|^\\d{4}-\\d{7}$/,\n 'en-PH': /^(09|\\+639)\\d{9}$/,\n 'en-RW': /^(\\+?250|0)?[7]\\d{8}$/,\n 'en-SG': /^(\\+65)?[689]\\d{7}$/,\n 'en-SL': /^(?:0|94|\\+94)?(7(0|1|2|5|6|7|8)( |-)?\\d)\\d{6}$/,\n 'en-TZ': /^(\\+?255|0)?[67]\\d{8}$/,\n 'en-UG': /^(\\+?256|0)?[7]\\d{8}$/,\n 'en-US': /^((\\+1|1)?( |-)?)?(\\([2-9][0-9]{2}\\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,\n 'en-ZA': /^(\\+?27|0)\\d{9}$/,\n 'en-ZM': /^(\\+?26)?09[567]\\d{7}$/,\n 'en-ZW': /^(\\+263)[0-9]{9}$/,\n 'es-AR': /^\\+?549(11|[2368]\\d)\\d{8}$/,\n 'es-BO': /^(\\+?591)?(6|7)\\d{7}$/,\n 'es-CO': /^(\\+?57)?([1-8]{1}|3[0-9]{2})?[2-9]{1}\\d{6}$/,\n 'es-CL': /^(\\+?56|0)[2-9]\\d{1}\\d{7}$/,\n 'es-CR': /^(\\+506)?[2-8]\\d{7}$/,\n 'es-DO': /^(\\+?1)?8[024]9\\d{7}$/,\n 'es-HN': /^(\\+?504)?[9|8]\\d{7}$/,\n 'es-EC': /^(\\+?593|0)([2-7]|9[2-9])\\d{7}$/,\n 'es-ES': /^(\\+?34)?[6|7]\\d{8}$/,\n 'es-PE': /^(\\+?51)?9\\d{8}$/,\n 'es-MX': /^(\\+?52)?(1|01)?\\d{10,11}$/,\n 'es-PA': /^(\\+?507)\\d{7,8}$/,\n 'es-PY': /^(\\+?595|0)9[9876]\\d{7}$/,\n 'es-UY': /^(\\+598|0)9[1-9][\\d]{6}$/,\n 'et-EE': /^(\\+?372)?\\s?(5|8[1-4])\\s?([0-9]\\s?){6,7}$/,\n 'fa-IR': /^(\\+?98[\\-\\s]?|0)9[0-39]\\d[\\-\\s]?\\d{3}[\\-\\s]?\\d{4}$/,\n 'fi-FI': /^(\\+?358|0)\\s?(4(0|1|2|4|5|6)?|50)\\s?(\\d\\s?){4,8}\\d$/,\n 'fj-FJ': /^(\\+?679)?\\s?\\d{3}\\s?\\d{4}$/,\n 'fo-FO': /^(\\+?298)?\\s?\\d{2}\\s?\\d{2}\\s?\\d{2}$/,\n 'fr-FR': /^(\\+?33|0)[67]\\d{8}$/,\n 'fr-GF': /^(\\+?594|0|00594)[67]\\d{8}$/,\n 'fr-GP': /^(\\+?590|0|00590)[67]\\d{8}$/,\n 'fr-MQ': /^(\\+?596|0|00596)[67]\\d{8}$/,\n 'fr-RE': /^(\\+?262|0|00262)[67]\\d{8}$/,\n 'he-IL': /^(\\+972|0)([23489]|5[012345689]|77)[1-9]\\d{6}$/,\n 'hu-HU': /^(\\+?36)(20|30|70)\\d{7}$/,\n 'id-ID': /^(\\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\\s?|\\d]{5,11})$/,\n 'it-IT': /^(\\+?39)?\\s?3\\d{2} ?\\d{6,7}$/,\n 'it-SM': /^((\\+378)|(0549)|(\\+390549)|(\\+3780549))?6\\d{5,9}$/,\n 'ja-JP': /^(\\+81[ \\-]?(\\(0\\))?|0)[6789]0[ \\-]?\\d{4}[ \\-]?\\d{4}$/,\n 'ka-GE': /^(\\+?995)?(5|79)\\d{7}$/,\n 'kk-KZ': /^(\\+?7|8)?7\\d{9}$/,\n 'kl-GL': /^(\\+?299)?\\s?\\d{2}\\s?\\d{2}\\s?\\d{2}$/,\n 'ko-KR': /^((\\+?82)[ \\-]?)?0?1([0|1|6|7|8|9]{1})[ \\-]?\\d{3,4}[ \\-]?\\d{4}$/,\n 'lt-LT': /^(\\+370|8)\\d{8}$/,\n 'ms-MY': /^(\\+?6?01){1}(([0145]{1}(\\-|\\s)?\\d{7,8})|([236789]{1}(\\s|\\-)?\\d{7}))$/,\n 'nb-NO': /^(\\+?47)?[49]\\d{7}$/,\n 'ne-NP': /^(\\+?977)?9[78]\\d{8}$/,\n 'nl-BE': /^(\\+?32|0)4?\\d{8}$/,\n 'nl-NL': /^(((\\+|00)?31\\(0\\))|((\\+|00)?31)|0)6{1}\\d{8}$/,\n 'nn-NO': /^(\\+?47)?[49]\\d{7}$/,\n 'pl-PL': /^(\\+?48)? ?[5-8]\\d ?\\d{3} ?\\d{2} ?\\d{2}$/,\n 'pt-BR': /^((\\+?55\\ ?[1-9]{2}\\ ?)|(\\+?55\\ ?\\([1-9]{2}\\)\\ ?)|(0[1-9]{2}\\ ?)|(\\([1-9]{2}\\)\\ ?)|([1-9]{2}\\ ?))((\\d{4}\\-?\\d{4})|(9[2-9]{1}\\d{3}\\-?\\d{4}))$/,\n 'pt-PT': /^(\\+?351)?9[1236]\\d{7}$/,\n 'ro-RO': /^(\\+?4?0)\\s?7\\d{2}(\\/|\\s|\\.|\\-)?\\d{3}(\\s|\\.|\\-)?\\d{3}$/,\n 'ru-RU': /^(\\+?7|8)?9\\d{9}$/,\n 'sl-SI': /^(\\+386\\s?|0)(\\d{1}\\s?\\d{3}\\s?\\d{2}\\s?\\d{2}|\\d{2}\\s?\\d{3}\\s?\\d{3})$/,\n 'sk-SK': /^(\\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,\n 'sq-AL': /^(\\+355|0)6[789]\\d{6}$/,\n 'sr-RS': /^(\\+3816|06)[- \\d]{5,9}$/,\n 'sv-SE': /^(\\+?46|0)[\\s\\-]?7[\\s\\-]?[02369]([\\s\\-]?\\d){7}$/,\n 'th-TH': /^(\\+66|66|0)\\d{9}$/,\n 'tr-TR': /^(\\+?90|0)?5\\d{9}$/,\n 'uk-UA': /^(\\+?38|8)?0\\d{9}$/,\n 'uz-UZ': /^(\\+?998)?(6[125-79]|7[1-69]|88|9\\d)\\d{7}$/,\n 'vi-VN': /^(\\+?84|0)((3([2-9]))|(5([2689]))|(7([0|6-9]))|(8([1-6|89]))|(9([0-9])))([0-9]{7})$/,\n 'zh-CN': /^((\\+|00)86)?1([3568][0-9]|4[579]|6[67]|7[01235678]|9[012356789])[0-9]{8}$/,\n 'zh-TW': /^(\\+?886\\-?|0)?9\\d{8}$/\n};\n/* eslint-enable max-len */\n// aliases\n\nphones['en-CA'] = phones['en-US'];\nphones['fr-CA'] = phones['en-CA'];\nphones['fr-BE'] = phones['nl-BE'];\nphones['zh-HK'] = phones['en-HK'];\nphones['zh-MO'] = phones['en-MO'];\nphones['ga-IE'] = phones['en-IE'];\n\nfunction isMobilePhone(str, locale, options) {\n (0, _assertString.default)(str);\n\n if (options && options.strictMode && !str.startsWith('+')) {\n return false;\n }\n\n if (Array.isArray(locale)) {\n return locale.some(function (key) {\n // https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md#ignoring-code-for-coverage-purposes\n // istanbul ignore else\n if (phones.hasOwnProperty(key)) {\n var phone = phones[key];\n\n if (phone.test(str)) {\n return true;\n }\n }\n\n return false;\n });\n } else if (locale in phones) {\n return phones[locale].test(str); // alias falsey locale as 'any'\n } else if (!locale || locale === 'any') {\n for (var key in phones) {\n // istanbul ignore else\n if (phones.hasOwnProperty(key)) {\n var phone = phones[key];\n\n if (phone.test(str)) {\n return true;\n }\n }\n }\n\n return false;\n }\n\n throw new Error(\"Invalid locale '\".concat(locale, \"'\"));\n}\n\nvar locales = Object.keys(phones);\nexports.locales = locales;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMongoId;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _isHexadecimal = _interopRequireDefault(require(\"./isHexadecimal\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isMongoId(str) {\n (0, _assertString.default)(str);\n return (0, _isHexadecimal.default)(str) && str.length === 24;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMultibyte;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* eslint-disable no-control-regex */\nvar multibyte = /[^\\x00-\\x7F]/;\n/* eslint-enable no-control-regex */\n\nfunction isMultibyte(str) {\n (0, _assertString.default)(str);\n return multibyte.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isNumeric;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _alpha = require(\"./alpha\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar numericNoSymbols = /^[0-9]+$/;\n\nfunction isNumeric(str, options) {\n (0, _assertString.default)(str);\n\n if (options && options.no_symbols) {\n return numericNoSymbols.test(str);\n }\n\n return new RegExp(\"^[+-]?([0-9]*[\".concat((options || {}).locale ? _alpha.decimal[options.locale] : '.', \"])?[0-9]+$\")).test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isOctal;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar octal = /^(0o)?[0-7]+$/i;\n\nfunction isOctal(str) {\n (0, _assertString.default)(str);\n return octal.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isPassportNumber;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Reference:\n * https://en.wikipedia.org/ -- Wikipedia\n * https://docs.microsoft.com/en-us/microsoft-365/compliance/eu-passport-number -- EU Passport Number\n * https://countrycode.org/ -- Country Codes\n */\nvar passportRegexByCountryCode = {\n AM: /^[A-Z]{2}\\d{7}$/,\n // ARMENIA\n AR: /^[A-Z]{3}\\d{6}$/,\n // ARGENTINA\n AT: /^[A-Z]\\d{7}$/,\n // AUSTRIA\n AU: /^[A-Z]\\d{7}$/,\n // AUSTRALIA\n BE: /^[A-Z]{2}\\d{6}$/,\n // BELGIUM\n BG: /^\\d{9}$/,\n // BULGARIA\n BY: /^[A-Z]{2}\\d{7}$/,\n // BELARUS\n CA: /^[A-Z]{2}\\d{6}$/,\n // CANADA\n CH: /^[A-Z]\\d{7}$/,\n // SWITZERLAND\n CN: /^[GE]\\d{8}$/,\n // CHINA [G=Ordinary, E=Electronic] followed by 8-digits\n CY: /^[A-Z](\\d{6}|\\d{8})$/,\n // CYPRUS\n CZ: /^\\d{8}$/,\n // CZECH REPUBLIC\n DE: /^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,\n // GERMANY\n DK: /^\\d{9}$/,\n // DENMARK\n DZ: /^\\d{9}$/,\n // ALGERIA\n EE: /^([A-Z]\\d{7}|[A-Z]{2}\\d{7})$/,\n // ESTONIA (K followed by 7-digits), e-passports have 2 UPPERCASE followed by 7 digits\n ES: /^[A-Z0-9]{2}([A-Z0-9]?)\\d{6}$/,\n // SPAIN\n FI: /^[A-Z]{2}\\d{7}$/,\n // FINLAND\n FR: /^\\d{2}[A-Z]{2}\\d{5}$/,\n // FRANCE\n GB: /^\\d{9}$/,\n // UNITED KINGDOM\n GR: /^[A-Z]{2}\\d{7}$/,\n // GREECE\n HR: /^\\d{9}$/,\n // CROATIA\n HU: /^[A-Z]{2}(\\d{6}|\\d{7})$/,\n // HUNGARY\n IE: /^[A-Z0-9]{2}\\d{7}$/,\n // IRELAND\n IN: /^[A-Z]{1}-?\\d{7}$/,\n // INDIA\n IS: /^(A)\\d{7}$/,\n // ICELAND\n IT: /^[A-Z0-9]{2}\\d{7}$/,\n // ITALY\n JP: /^[A-Z]{2}\\d{7}$/,\n // JAPAN\n KR: /^[MS]\\d{8}$/,\n // SOUTH KOREA, REPUBLIC OF KOREA, [S=PS Passports, M=PM Passports]\n LT: /^[A-Z0-9]{8}$/,\n // LITHUANIA\n LU: /^[A-Z0-9]{8}$/,\n // LUXEMBURG\n LV: /^[A-Z0-9]{2}\\d{7}$/,\n // LATVIA\n MT: /^\\d{7}$/,\n // MALTA\n NL: /^[A-Z]{2}[A-Z0-9]{6}\\d$/,\n // NETHERLANDS\n PO: /^[A-Z]{2}\\d{7}$/,\n // POLAND\n PT: /^[A-Z]\\d{6}$/,\n // PORTUGAL\n RO: /^\\d{8,9}$/,\n // ROMANIA\n RU: /^\\d{2}\\d{2}\\d{6}$/,\n // RUSSIAN FEDERATION\n SE: /^\\d{8}$/,\n // SWEDEN\n SL: /^(P)[A-Z]\\d{7}$/,\n // SLOVANIA\n SK: /^[0-9A-Z]\\d{7}$/,\n // SLOVAKIA\n TR: /^[A-Z]\\d{8}$/,\n // TURKEY\n UA: /^[A-Z]{2}\\d{6}$/,\n // UKRAINE\n US: /^\\d{9}$/ // UNITED STATES\n\n};\n/**\n * Check if str is a valid passport number\n * relative to provided ISO Country Code.\n *\n * @param {string} str\n * @param {string} countryCode\n * @return {boolean}\n */\n\nfunction isPassportNumber(str, countryCode) {\n (0, _assertString.default)(str);\n /** Remove All Whitespaces, Convert to UPPERCASE */\n\n var normalizedStr = str.replace(/\\s/g, '').toUpperCase();\n return countryCode.toUpperCase() in passportRegexByCountryCode && passportRegexByCountryCode[countryCode].test(normalizedStr);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isPort;\n\nvar _isInt = _interopRequireDefault(require(\"./isInt\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isPort(str) {\n return (0, _isInt.default)(str, {\n min: 0,\n max: 65535\n });\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isPostalCode;\nexports.locales = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// common patterns\nvar threeDigit = /^\\d{3}$/;\nvar fourDigit = /^\\d{4}$/;\nvar fiveDigit = /^\\d{5}$/;\nvar sixDigit = /^\\d{6}$/;\nvar patterns = {\n AD: /^AD\\d{3}$/,\n AT: fourDigit,\n AU: fourDigit,\n AZ: /^AZ\\d{4}$/,\n BE: fourDigit,\n BG: fourDigit,\n BR: /^\\d{5}-\\d{3}$/,\n BY: /2[1-4]{1}\\d{4}$/,\n CA: /^[ABCEGHJKLMNPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z][\\s\\-]?\\d[ABCEGHJ-NPRSTV-Z]\\d$/i,\n CH: fourDigit,\n CN: /^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\\d{4}$/,\n CZ: /^\\d{3}\\s?\\d{2}$/,\n DE: fiveDigit,\n DK: fourDigit,\n DO: fiveDigit,\n DZ: fiveDigit,\n EE: fiveDigit,\n ES: /^(5[0-2]{1}|[0-4]{1}\\d{1})\\d{3}$/,\n FI: fiveDigit,\n FR: /^\\d{2}\\s?\\d{3}$/,\n GB: /^(gir\\s?0aa|[a-z]{1,2}\\d[\\da-z]?\\s?(\\d[a-z]{2})?)$/i,\n GR: /^\\d{3}\\s?\\d{2}$/,\n HR: /^([1-5]\\d{4}$)/,\n HT: /^HT\\d{4}$/,\n HU: fourDigit,\n ID: fiveDigit,\n IE: /^(?!.*(?:o))[A-z]\\d[\\dw]\\s\\w{4}$/i,\n IL: /^(\\d{5}|\\d{7})$/,\n IN: /^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,\n IR: /\\b(?!(\\d)\\1{3})[13-9]{4}[1346-9][013-9]{5}\\b/,\n IS: threeDigit,\n IT: fiveDigit,\n JP: /^\\d{3}\\-\\d{4}$/,\n KE: fiveDigit,\n LI: /^(948[5-9]|949[0-7])$/,\n LT: /^LT\\-\\d{5}$/,\n LU: fourDigit,\n LV: /^LV\\-\\d{4}$/,\n MX: fiveDigit,\n MT: /^[A-Za-z]{3}\\s{0,1}\\d{4}$/,\n MY: fiveDigit,\n NL: /^\\d{4}\\s?[a-z]{2}$/i,\n NO: fourDigit,\n NP: /^(10|21|22|32|33|34|44|45|56|57)\\d{3}$|^(977)$/i,\n NZ: fourDigit,\n PL: /^\\d{2}\\-\\d{3}$/,\n PR: /^00[679]\\d{2}([ -]\\d{4})?$/,\n PT: /^\\d{4}\\-\\d{3}?$/,\n RO: sixDigit,\n RU: sixDigit,\n SA: fiveDigit,\n SE: /^[1-9]\\d{2}\\s?\\d{2}$/,\n SG: sixDigit,\n SI: fourDigit,\n SK: /^\\d{3}\\s?\\d{2}$/,\n TH: fiveDigit,\n TN: fourDigit,\n TW: /^\\d{3}(\\d{2})?$/,\n UA: fiveDigit,\n US: /^\\d{5}(-\\d{4})?$/,\n ZA: fourDigit,\n ZM: fiveDigit\n};\nvar locales = Object.keys(patterns);\nexports.locales = locales;\n\nfunction isPostalCode(str, locale) {\n (0, _assertString.default)(str);\n\n if (locale in patterns) {\n return patterns[locale].test(str);\n } else if (locale === 'any') {\n for (var key in patterns) {\n // https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md#ignoring-code-for-coverage-purposes\n // istanbul ignore else\n if (patterns.hasOwnProperty(key)) {\n var pattern = patterns[key];\n\n if (pattern.test(str)) {\n return true;\n }\n }\n }\n\n return false;\n }\n\n throw new Error(\"Invalid locale '\".concat(locale, \"'\"));\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isRFC3339;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* Based on https://tools.ietf.org/html/rfc3339#section-5.6 */\nvar dateFullYear = /[0-9]{4}/;\nvar dateMonth = /(0[1-9]|1[0-2])/;\nvar dateMDay = /([12]\\d|0[1-9]|3[01])/;\nvar timeHour = /([01][0-9]|2[0-3])/;\nvar timeMinute = /[0-5][0-9]/;\nvar timeSecond = /([0-5][0-9]|60)/;\nvar timeSecFrac = /(\\.[0-9]+)?/;\nvar timeNumOffset = new RegExp(\"[-+]\".concat(timeHour.source, \":\").concat(timeMinute.source));\nvar timeOffset = new RegExp(\"([zZ]|\".concat(timeNumOffset.source, \")\"));\nvar partialTime = new RegExp(\"\".concat(timeHour.source, \":\").concat(timeMinute.source, \":\").concat(timeSecond.source).concat(timeSecFrac.source));\nvar fullDate = new RegExp(\"\".concat(dateFullYear.source, \"-\").concat(dateMonth.source, \"-\").concat(dateMDay.source));\nvar fullTime = new RegExp(\"\".concat(partialTime.source).concat(timeOffset.source));\nvar rfc3339 = new RegExp(\"\".concat(fullDate.source, \"[ tT]\").concat(fullTime.source));\n\nfunction isRFC3339(str) {\n (0, _assertString.default)(str);\n return rfc3339.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isRgbColor;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar rgbColor = /^rgb\\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\)$/;\nvar rgbaColor = /^rgba\\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\\.\\d|1(\\.0)?|0(\\.0)?)\\)$/;\nvar rgbColorPercent = /^rgb\\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\\)/;\nvar rgbaColorPercent = /^rgba\\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\\.\\d|1(\\.0)?|0(\\.0)?)\\)/;\n\nfunction isRgbColor(str) {\n var includePercentValues = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n (0, _assertString.default)(str);\n\n if (!includePercentValues) {\n return rgbColor.test(str) || rgbaColor.test(str);\n }\n\n return rgbColor.test(str) || rgbaColor.test(str) || rgbColorPercent.test(str) || rgbaColorPercent.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isSemVer;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _multilineRegex = _interopRequireDefault(require(\"./util/multilineRegex\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Regular Expression to match\n * semantic versioning (SemVer)\n * built from multi-line, multi-parts regexp\n * Reference: https://semver.org/\n */\nvar semanticVersioningRegex = (0, _multilineRegex.default)(['^(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)', '(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-z-][0-9a-z-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-z-][0-9a-z-]*))*))', '?(?:\\\\+([0-9a-z-]+(?:\\\\.[0-9a-z-]+)*))?$'], 'i');\n\nfunction isSemVer(str) {\n (0, _assertString.default)(str);\n return semanticVersioningRegex.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isSlug;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar charsetRegex = /^[^\\s-_](?!.*?[-_]{2,})([a-z0-9-\\\\]{1,})[^\\s]*[^-_\\s]$/;\n\nfunction isSlug(str) {\n (0, _assertString.default)(str);\n return charsetRegex.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isStrongPassword;\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar upperCaseRegex = /^[A-Z]$/;\nvar lowerCaseRegex = /^[a-z]$/;\nvar numberRegex = /^[0-9]$/;\nvar symbolRegex = /^[-#!$%^&*()_+|~=`{}\\[\\]:\";'<>?,.\\/ ]$/;\nvar defaultOptions = {\n minLength: 8,\n minLowercase: 1,\n minUppercase: 1,\n minNumbers: 1,\n minSymbols: 1,\n returnScore: false,\n pointsPerUnique: 1,\n pointsPerRepeat: 0.5,\n pointsForContainingLower: 10,\n pointsForContainingUpper: 10,\n pointsForContainingNumber: 10,\n pointsForContainingSymbol: 10\n};\n/* Counts number of occurrences of each char in a string\n * could be moved to util/ ?\n*/\n\nfunction countChars(str) {\n var result = {};\n Array.from(str).forEach(function (char) {\n var curVal = result[char];\n\n if (curVal) {\n result[char] += 1;\n } else {\n result[char] = 1;\n }\n });\n return result;\n}\n/* Return information about a password */\n\n\nfunction analyzePassword(password) {\n var charMap = countChars(password);\n var analysis = {\n length: password.length,\n uniqueChars: Object.keys(charMap).length,\n uppercaseCount: 0,\n lowercaseCount: 0,\n numberCount: 0,\n symbolCount: 0\n };\n Object.keys(charMap).forEach(function (char) {\n if (upperCaseRegex.test(char)) {\n analysis.uppercaseCount += charMap[char];\n } else if (lowerCaseRegex.test(char)) {\n analysis.lowercaseCount += charMap[char];\n } else if (numberRegex.test(char)) {\n analysis.numberCount += charMap[char];\n } else if (symbolRegex.test(char)) {\n analysis.symbolCount += charMap[char];\n }\n });\n return analysis;\n}\n\nfunction scorePassword(analysis, scoringOptions) {\n var points = 0;\n points += analysis.uniqueChars * scoringOptions.pointsPerUnique;\n points += (analysis.length - analysis.uniqueChars) * scoringOptions.pointsPerRepeat;\n\n if (analysis.lowercaseCount > 0) {\n points += scoringOptions.pointsForContainingLower;\n }\n\n if (analysis.uppercaseCount > 0) {\n points += scoringOptions.pointsForContainingUpper;\n }\n\n if (analysis.numberCount > 0) {\n points += scoringOptions.pointsForContainingNumber;\n }\n\n if (analysis.symbolCount > 0) {\n points += scoringOptions.pointsForContainingSymbol;\n }\n\n return points;\n}\n\nfunction isStrongPassword(str) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n (0, _assertString.default)(str);\n var analysis = analyzePassword(str);\n options = (0, _merge.default)(options || {}, defaultOptions);\n\n if (options.returnScore) {\n return scorePassword(analysis, options);\n }\n\n return analysis.length >= options.minLength && analysis.lowercaseCount >= options.minLowercase && analysis.uppercaseCount >= options.minUppercase && analysis.numberCount >= options.minNumbers && analysis.symbolCount >= options.minSymbols;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isSurrogatePair;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar surrogatePair = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/;\n\nfunction isSurrogatePair(str) {\n (0, _assertString.default)(str);\n return surrogatePair.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isTaxID;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar algorithms = _interopRequireWildcard(require(\"./util/algorithms\"));\n\nvar _isDate = _interopRequireDefault(require(\"./isDate\"));\n\nfunction _getRequireWildcardCache() { if (typeof WeakMap !== \"function\") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n/**\n * TIN Validation\n * Validates Tax Identification Numbers (TINs) from the US, EU member states and the United Kingdom.\n *\n * EU-UK:\n * National TIN validity is calculated using public algorithms as made available by DG TAXUD.\n *\n * See `https://ec.europa.eu/taxation_customs/tin/specs/FS-TIN%20Algorithms-Public.docx` for more information.\n *\n * US:\n * An Employer Identification Number (EIN), also known as a Federal Tax Identification Number,\n * is used to identify a business entity.\n *\n * NOTES:\n * - Prefix 47 is being reserved for future use\n * - Prefixes 26, 27, 45, 46 and 47 were previously assigned by the Philadelphia campus.\n *\n * See `http://www.irs.gov/Businesses/Small-Businesses-&-Self-Employed/How-EINs-are-Assigned-and-Valid-EIN-Prefixes`\n * for more information.\n */\n// Locale functions\n\n/*\n * bg-BG validation function\n * (Edinen graždanski nomer (EGN/ЕГН), persons only)\n * Checks if birth date (first six digits) is valid and calculates check (last) digit\n */\nfunction bgBgCheck(tin) {\n // Extract full year, normalize month and check birth date validity\n var century_year = tin.slice(0, 2);\n var month = parseInt(tin.slice(2, 4), 10);\n\n if (month > 40) {\n month -= 40;\n century_year = \"20\".concat(century_year);\n } else if (month > 20) {\n month -= 20;\n century_year = \"18\".concat(century_year);\n } else {\n century_year = \"19\".concat(century_year);\n }\n\n if (month < 10) {\n month = \"0\".concat(month);\n }\n\n var date = \"\".concat(century_year, \"/\").concat(month, \"/\").concat(tin.slice(4, 6));\n\n if (!(0, _isDate.default)(date, 'YYYY/MM/DD')) {\n return false;\n } // split digits into an array for further processing\n\n\n var digits = tin.split('').map(function (a) {\n return parseInt(a, 10);\n }); // Calculate checksum by multiplying digits with fixed values\n\n var multip_lookup = [2, 4, 8, 5, 10, 9, 7, 3, 6];\n var checksum = 0;\n\n for (var i = 0; i < multip_lookup.length; i++) {\n checksum += digits[i] * multip_lookup[i];\n }\n\n checksum = checksum % 11 === 10 ? 0 : checksum % 11;\n return checksum === digits[9];\n}\n/*\n * cs-CZ validation function\n * (Rodné číslo (RČ), persons only)\n * Checks if birth date (first six digits) is valid and divisibility by 11\n * Material not in DG TAXUD document sourced from:\n * -`https://lorenc.info/3MA381/overeni-spravnosti-rodneho-cisla.htm`\n * -`https://www.mvcr.cz/clanek/rady-a-sluzby-dokumenty-rodne-cislo.aspx`\n */\n\n\nfunction csCzCheck(tin) {\n tin = tin.replace(/\\W/, ''); // Extract full year from TIN length\n\n var full_year = parseInt(tin.slice(0, 2), 10);\n\n if (tin.length === 10) {\n if (full_year < 54) {\n full_year = \"20\".concat(full_year);\n } else {\n full_year = \"19\".concat(full_year);\n }\n } else {\n if (tin.slice(6) === '000') {\n return false;\n } // Three-zero serial not assigned before 1954\n\n\n if (full_year < 54) {\n full_year = \"19\".concat(full_year);\n } else {\n return false; // No 18XX years seen in any of the resources\n }\n } // Add missing zero if needed\n\n\n if (full_year.length === 3) {\n full_year = [full_year.slice(0, 2), '0', full_year.slice(2)].join('');\n } // Extract month from TIN and normalize\n\n\n var month = parseInt(tin.slice(2, 4), 10);\n\n if (month > 50) {\n month -= 50;\n }\n\n if (month > 20) {\n // Month-plus-twenty was only introduced in 2004\n if (parseInt(full_year, 10) < 2004) {\n return false;\n }\n\n month -= 20;\n }\n\n if (month < 10) {\n month = \"0\".concat(month);\n } // Check date validity\n\n\n var date = \"\".concat(full_year, \"/\").concat(month, \"/\").concat(tin.slice(4, 6));\n\n if (!(0, _isDate.default)(date, 'YYYY/MM/DD')) {\n return false;\n } // Verify divisibility by 11\n\n\n if (tin.length === 10) {\n if (parseInt(tin, 10) % 11 !== 0) {\n // Some numbers up to and including 1985 are still valid if\n // check (last) digit equals 0 and modulo of first 9 digits equals 10\n var checkdigit = parseInt(tin.slice(0, 9), 10) % 11;\n\n if (parseInt(full_year, 10) < 1986 && checkdigit === 10) {\n if (parseInt(tin.slice(9), 10) !== 0) {\n return false;\n }\n } else {\n return false;\n }\n }\n }\n\n return true;\n}\n/*\n * de-AT validation function\n * (Abgabenkontonummer, persons/entities)\n * Verify TIN validity by calling luhnCheck()\n */\n\n\nfunction deAtCheck(tin) {\n return algorithms.luhnCheck(tin);\n}\n/*\n * de-DE validation function\n * (Steueridentifikationsnummer (Steuer-IdNr.), persons only)\n * Tests for single duplicate/triplicate value, then calculates ISO 7064 check (last) digit\n * Partial implementation of spec (same result with both algorithms always)\n */\n\n\nfunction deDeCheck(tin) {\n // Split digits into an array for further processing\n var digits = tin.split('').map(function (a) {\n return parseInt(a, 10);\n }); // Fill array with strings of number positions\n\n var occurences = [];\n\n for (var i = 0; i < digits.length - 1; i++) {\n occurences.push('');\n\n for (var j = 0; j < digits.length - 1; j++) {\n if (digits[i] === digits[j]) {\n occurences[i] += j;\n }\n }\n } // Remove digits with one occurence and test for only one duplicate/triplicate\n\n\n occurences = occurences.filter(function (a) {\n return a.length > 1;\n });\n\n if (occurences.length !== 2 && occurences.length !== 3) {\n return false;\n } // In case of triplicate value only two digits are allowed next to each other\n\n\n if (occurences[0].length === 3) {\n var trip_locations = occurences[0].split('').map(function (a) {\n return parseInt(a, 10);\n });\n var recurrent = 0; // Amount of neighbour occurences\n\n for (var _i = 0; _i < trip_locations.length - 1; _i++) {\n if (trip_locations[_i] + 1 === trip_locations[_i + 1]) {\n recurrent += 1;\n }\n }\n\n if (recurrent === 2) {\n return false;\n }\n }\n\n return algorithms.iso7064Check(tin);\n}\n/*\n * dk-DK validation function\n * (CPR-nummer (personnummer), persons only)\n * Checks if birth date (first six digits) is valid and assigned to century (seventh) digit,\n * and calculates check (last) digit\n */\n\n\nfunction dkDkCheck(tin) {\n tin = tin.replace(/\\W/, ''); // Extract year, check if valid for given century digit and add century\n\n var year = parseInt(tin.slice(4, 6), 10);\n var century_digit = tin.slice(6, 7);\n\n switch (century_digit) {\n case '0':\n case '1':\n case '2':\n case '3':\n year = \"19\".concat(year);\n break;\n\n case '4':\n case '9':\n if (year < 37) {\n year = \"20\".concat(year);\n } else {\n year = \"19\".concat(year);\n }\n\n break;\n\n default:\n if (year < 37) {\n year = \"20\".concat(year);\n } else if (year > 58) {\n year = \"18\".concat(year);\n } else {\n return false;\n }\n\n break;\n } // Add missing zero if needed\n\n\n if (year.length === 3) {\n year = [year.slice(0, 2), '0', year.slice(2)].join('');\n } // Check date validity\n\n\n var date = \"\".concat(year, \"/\").concat(tin.slice(2, 4), \"/\").concat(tin.slice(0, 2));\n\n if (!(0, _isDate.default)(date, 'YYYY/MM/DD')) {\n return false;\n } // Split digits into an array for further processing\n\n\n var digits = tin.split('').map(function (a) {\n return parseInt(a, 10);\n });\n var checksum = 0;\n var weight = 4; // Multiply by weight and add to checksum\n\n for (var i = 0; i < 9; i++) {\n checksum += digits[i] * weight;\n weight -= 1;\n\n if (weight === 1) {\n weight = 7;\n }\n }\n\n checksum %= 11;\n\n if (checksum === 1) {\n return false;\n }\n\n return checksum === 0 ? digits[9] === 0 : digits[9] === 11 - checksum;\n}\n/*\n * el-CY validation function\n * (Arithmos Forologikou Mitroou (AFM/ΑΦΜ), persons only)\n * Verify TIN validity by calculating ASCII value of check (last) character\n */\n\n\nfunction elCyCheck(tin) {\n // split digits into an array for further processing\n var digits = tin.slice(0, 8).split('').map(function (a) {\n return parseInt(a, 10);\n });\n var checksum = 0; // add digits in even places\n\n for (var i = 1; i < digits.length; i += 2) {\n checksum += digits[i];\n } // add digits in odd places\n\n\n for (var _i2 = 0; _i2 < digits.length; _i2 += 2) {\n if (digits[_i2] < 2) {\n checksum += 1 - digits[_i2];\n } else {\n checksum += 2 * (digits[_i2] - 2) + 5;\n\n if (digits[_i2] > 4) {\n checksum += 2;\n }\n }\n }\n\n return String.fromCharCode(checksum % 26 + 65) === tin.charAt(8);\n}\n/*\n * el-GR validation function\n * (Arithmos Forologikou Mitroou (AFM/ΑΦΜ), persons/entities)\n * Verify TIN validity by calculating check (last) digit\n * Algorithm not in DG TAXUD document- sourced from:\n * - `http://epixeirisi.gr/%CE%9A%CE%A1%CE%99%CE%A3%CE%99%CE%9C%CE%91-%CE%98%CE%95%CE%9C%CE%91%CE%A4%CE%91-%CE%A6%CE%9F%CE%A1%CE%9F%CE%9B%CE%9F%CE%93%CE%99%CE%91%CE%A3-%CE%9A%CE%91%CE%99-%CE%9B%CE%9F%CE%93%CE%99%CE%A3%CE%A4%CE%99%CE%9A%CE%97%CE%A3/23791/%CE%91%CF%81%CE%B9%CE%B8%CE%BC%CF%8C%CF%82-%CE%A6%CE%BF%CF%81%CE%BF%CE%BB%CE%BF%CE%B3%CE%B9%CE%BA%CE%BF%CF%8D-%CE%9C%CE%B7%CF%84%CF%81%CF%8E%CE%BF%CF%85`\n */\n\n\nfunction elGrCheck(tin) {\n // split digits into an array for further processing\n var digits = tin.split('').map(function (a) {\n return parseInt(a, 10);\n });\n var checksum = 0;\n\n for (var i = 0; i < 8; i++) {\n checksum += digits[i] * Math.pow(2, 8 - i);\n }\n\n return checksum % 11 === digits[8];\n}\n/*\n * en-GB validation function (should go here if needed)\n * (National Insurance Number (NINO) or Unique Taxpayer Reference (UTR),\n * persons/entities respectively)\n */\n\n/*\n * en-IE validation function\n * (Personal Public Service Number (PPS No), persons only)\n * Verify TIN validity by calculating check (second to last) character\n */\n\n\nfunction enIeCheck(tin) {\n var checksum = algorithms.reverseMultiplyAndSum(tin.split('').slice(0, 7).map(function (a) {\n return parseInt(a, 10);\n }), 8);\n\n if (tin.length === 9 && tin[8] !== 'W') {\n checksum += (tin[8].charCodeAt(0) - 64) * 9;\n }\n\n checksum %= 23;\n\n if (checksum === 0) {\n return tin[7].toUpperCase() === 'W';\n }\n\n return tin[7].toUpperCase() === String.fromCharCode(64 + checksum);\n} // Valid US IRS campus prefixes\n\n\nvar enUsCampusPrefix = {\n andover: ['10', '12'],\n atlanta: ['60', '67'],\n austin: ['50', '53'],\n brookhaven: ['01', '02', '03', '04', '05', '06', '11', '13', '14', '16', '21', '22', '23', '25', '34', '51', '52', '54', '55', '56', '57', '58', '59', '65'],\n cincinnati: ['30', '32', '35', '36', '37', '38', '61'],\n fresno: ['15', '24'],\n internet: ['20', '26', '27', '45', '46', '47'],\n kansas: ['40', '44'],\n memphis: ['94', '95'],\n ogden: ['80', '90'],\n philadelphia: ['33', '39', '41', '42', '43', '46', '48', '62', '63', '64', '66', '68', '71', '72', '73', '74', '75', '76', '77', '81', '82', '83', '84', '85', '86', '87', '88', '91', '92', '93', '98', '99'],\n sba: ['31']\n}; // Return an array of all US IRS campus prefixes\n\nfunction enUsGetPrefixes() {\n var prefixes = [];\n\n for (var location in enUsCampusPrefix) {\n // https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md#ignoring-code-for-coverage-purposes\n // istanbul ignore else\n if (enUsCampusPrefix.hasOwnProperty(location)) {\n prefixes.push.apply(prefixes, _toConsumableArray(enUsCampusPrefix[location]));\n }\n }\n\n return prefixes;\n}\n/*\n * en-US validation function\n * Verify that the TIN starts with a valid IRS campus prefix\n */\n\n\nfunction enUsCheck(tin) {\n return enUsGetPrefixes().indexOf(tin.substr(0, 2)) !== -1;\n}\n/*\n * es-ES validation function\n * (Documento Nacional de Identidad (DNI)\n * or Número de Identificación de Extranjero (NIE), persons only)\n * Verify TIN validity by calculating check (last) character\n */\n\n\nfunction esEsCheck(tin) {\n // Split characters into an array for further processing\n var chars = tin.toUpperCase().split(''); // Replace initial letter if needed\n\n if (isNaN(parseInt(chars[0], 10)) && chars.length > 1) {\n var lead_replace = 0;\n\n switch (chars[0]) {\n case 'Y':\n lead_replace = 1;\n break;\n\n case 'Z':\n lead_replace = 2;\n break;\n\n default:\n }\n\n chars.splice(0, 1, lead_replace); // Fill with zeros if smaller than proper\n } else {\n while (chars.length < 9) {\n chars.unshift(0);\n }\n } // Calculate checksum and check according to lookup\n\n\n var lookup = ['T', 'R', 'W', 'A', 'G', 'M', 'Y', 'F', 'P', 'D', 'X', 'B', 'N', 'J', 'Z', 'S', 'Q', 'V', 'H', 'L', 'C', 'K', 'E'];\n chars = chars.join('');\n var checksum = parseInt(chars.slice(0, 8), 10) % 23;\n return chars[8] === lookup[checksum];\n}\n/*\n * et-EE validation function\n * (Isikukood (IK), persons only)\n * Checks if birth date (century digit and six following) is valid and calculates check (last) digit\n * Material not in DG TAXUD document sourced from:\n * - `https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/Estonia-TIN.pdf`\n */\n\n\nfunction etEeCheck(tin) {\n // Extract year and add century\n var full_year = tin.slice(1, 3);\n var century_digit = tin.slice(0, 1);\n\n switch (century_digit) {\n case '1':\n case '2':\n full_year = \"18\".concat(full_year);\n break;\n\n case '3':\n case '4':\n full_year = \"19\".concat(full_year);\n break;\n\n default:\n full_year = \"20\".concat(full_year);\n break;\n } // Check date validity\n\n\n var date = \"\".concat(full_year, \"/\").concat(tin.slice(3, 5), \"/\").concat(tin.slice(5, 7));\n\n if (!(0, _isDate.default)(date, 'YYYY/MM/DD')) {\n return false;\n } // Split digits into an array for further processing\n\n\n var digits = tin.split('').map(function (a) {\n return parseInt(a, 10);\n });\n var checksum = 0;\n var weight = 1; // Multiply by weight and add to checksum\n\n for (var i = 0; i < 10; i++) {\n checksum += digits[i] * weight;\n weight += 1;\n\n if (weight === 10) {\n weight = 1;\n }\n } // Do again if modulo 11 of checksum is 10\n\n\n if (checksum % 11 === 10) {\n checksum = 0;\n weight = 3;\n\n for (var _i3 = 0; _i3 < 10; _i3++) {\n checksum += digits[_i3] * weight;\n weight += 1;\n\n if (weight === 10) {\n weight = 1;\n }\n }\n\n if (checksum % 11 === 10) {\n return digits[10] === 0;\n }\n }\n\n return checksum % 11 === digits[10];\n}\n/*\n * fi-FI validation function\n * (Henkilötunnus (HETU), persons only)\n * Checks if birth date (first six digits plus century symbol) is valid\n * and calculates check (last) digit\n */\n\n\nfunction fiFiCheck(tin) {\n // Extract year and add century\n var full_year = tin.slice(4, 6);\n var century_symbol = tin.slice(6, 7);\n\n switch (century_symbol) {\n case '+':\n full_year = \"18\".concat(full_year);\n break;\n\n case '-':\n full_year = \"19\".concat(full_year);\n break;\n\n default:\n full_year = \"20\".concat(full_year);\n break;\n } // Check date validity\n\n\n var date = \"\".concat(full_year, \"/\").concat(tin.slice(2, 4), \"/\").concat(tin.slice(0, 2));\n\n if (!(0, _isDate.default)(date, 'YYYY/MM/DD')) {\n return false;\n } // Calculate check character\n\n\n var checksum = parseInt(tin.slice(0, 6) + tin.slice(7, 10), 10) % 31;\n\n if (checksum < 10) {\n return checksum === parseInt(tin.slice(10), 10);\n }\n\n checksum -= 10;\n var letters_lookup = ['A', 'B', 'C', 'D', 'E', 'F', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y'];\n return letters_lookup[checksum] === tin.slice(10);\n}\n/*\n * fr/nl-BE validation function\n * (Numéro national (N.N.), persons only)\n * Checks if birth date (first six digits) is valid and calculates check (last two) digits\n */\n\n\nfunction frBeCheck(tin) {\n // Zero month/day value is acceptable\n if (tin.slice(2, 4) !== '00' || tin.slice(4, 6) !== '00') {\n // Extract date from first six digits of TIN\n var date = \"\".concat(tin.slice(0, 2), \"/\").concat(tin.slice(2, 4), \"/\").concat(tin.slice(4, 6));\n\n if (!(0, _isDate.default)(date, 'YY/MM/DD')) {\n return false;\n }\n }\n\n var checksum = 97 - parseInt(tin.slice(0, 9), 10) % 97;\n var checkdigits = parseInt(tin.slice(9, 11), 10);\n\n if (checksum !== checkdigits) {\n checksum = 97 - parseInt(\"2\".concat(tin.slice(0, 9)), 10) % 97;\n\n if (checksum !== checkdigits) {\n return false;\n }\n }\n\n return true;\n}\n/*\n * fr-FR validation function\n * (Numéro fiscal de référence (numéro SPI), persons only)\n * Verify TIN validity by calculating check (last three) digits\n */\n\n\nfunction frFrCheck(tin) {\n tin = tin.replace(/\\s/g, '');\n var checksum = parseInt(tin.slice(0, 10), 10) % 511;\n var checkdigits = parseInt(tin.slice(10, 13), 10);\n return checksum === checkdigits;\n}\n/*\n * fr/lb-LU validation function\n * (numéro d’identification personnelle, persons only)\n * Verify birth date validity and run Luhn and Verhoeff checks\n */\n\n\nfunction frLuCheck(tin) {\n // Extract date and check validity\n var date = \"\".concat(tin.slice(0, 4), \"/\").concat(tin.slice(4, 6), \"/\").concat(tin.slice(6, 8));\n\n if (!(0, _isDate.default)(date, 'YYYY/MM/DD')) {\n return false;\n } // Run Luhn check\n\n\n if (!algorithms.luhnCheck(tin.slice(0, 12))) {\n return false;\n } // Remove Luhn check digit and run Verhoeff check\n\n\n return algorithms.verhoeffCheck(\"\".concat(tin.slice(0, 11)).concat(tin[12]));\n}\n/*\n * hr-HR validation function\n * (Osobni identifikacijski broj (OIB), persons/entities)\n * Verify TIN validity by calling iso7064Check(digits)\n */\n\n\nfunction hrHrCheck(tin) {\n return algorithms.iso7064Check(tin);\n}\n/*\n * hu-HU validation function\n * (Adóazonosító jel, persons only)\n * Verify TIN validity by calculating check (last) digit\n */\n\n\nfunction huHuCheck(tin) {\n // split digits into an array for further processing\n var digits = tin.split('').map(function (a) {\n return parseInt(a, 10);\n });\n var checksum = 8;\n\n for (var i = 1; i < 9; i++) {\n checksum += digits[i] * (i + 1);\n }\n\n return checksum % 11 === digits[9];\n}\n/*\n * lt-LT validation function (should go here if needed)\n * (Asmens kodas, persons/entities respectively)\n * Current validation check is alias of etEeCheck- same format applies\n */\n\n/*\n * it-IT first/last name validity check\n * Accepts it-IT TIN-encoded names as a three-element character array and checks their validity\n * Due to lack of clarity between resources (\"Are only Italian consonants used?\n * What happens if a person has X in their name?\" etc.) only two test conditions\n * have been implemented:\n * Vowels may only be followed by other vowels or an X character\n * and X characters after vowels may only be followed by other X characters.\n */\n\n\nfunction itItNameCheck(name) {\n // true at the first occurence of a vowel\n var vowelflag = false; // true at the first occurence of an X AFTER vowel\n // (to properly handle last names with X as consonant)\n\n var xflag = false;\n\n for (var i = 0; i < 3; i++) {\n if (!vowelflag && /[AEIOU]/.test(name[i])) {\n vowelflag = true;\n } else if (!xflag && vowelflag && name[i] === 'X') {\n xflag = true;\n } else if (i > 0) {\n if (vowelflag && !xflag) {\n if (!/[AEIOU]/.test(name[i])) {\n return false;\n }\n }\n\n if (xflag) {\n if (!/X/.test(name[i])) {\n return false;\n }\n }\n }\n }\n\n return true;\n}\n/*\n * it-IT validation function\n * (Codice fiscale (TIN-IT), persons only)\n * Verify name, birth date and codice catastale validity\n * and calculate check character.\n * Material not in DG-TAXUD document sourced from:\n * `https://en.wikipedia.org/wiki/Italian_fiscal_code`\n */\n\n\nfunction itItCheck(tin) {\n // Capitalize and split characters into an array for further processing\n var chars = tin.toUpperCase().split(''); // Check first and last name validity calling itItNameCheck()\n\n if (!itItNameCheck(chars.slice(0, 3))) {\n return false;\n }\n\n if (!itItNameCheck(chars.slice(3, 6))) {\n return false;\n } // Convert letters in number spaces back to numbers if any\n\n\n var number_locations = [6, 7, 9, 10, 12, 13, 14];\n var number_replace = {\n L: '0',\n M: '1',\n N: '2',\n P: '3',\n Q: '4',\n R: '5',\n S: '6',\n T: '7',\n U: '8',\n V: '9'\n };\n\n for (var _i4 = 0, _number_locations = number_locations; _i4 < _number_locations.length; _i4++) {\n var i = _number_locations[_i4];\n\n if (chars[i] in number_replace) {\n chars.splice(i, 1, number_replace[chars[i]]);\n }\n } // Extract month and day, and check date validity\n\n\n var month_replace = {\n A: '01',\n B: '02',\n C: '03',\n D: '04',\n E: '05',\n H: '06',\n L: '07',\n M: '08',\n P: '09',\n R: '10',\n S: '11',\n T: '12'\n };\n var month = month_replace[chars[8]];\n var day = parseInt(chars[9] + chars[10], 10);\n\n if (day > 40) {\n day -= 40;\n }\n\n if (day < 10) {\n day = \"0\".concat(day);\n }\n\n var date = \"\".concat(chars[6]).concat(chars[7], \"/\").concat(month, \"/\").concat(day);\n\n if (!(0, _isDate.default)(date, 'YY/MM/DD')) {\n return false;\n } // Calculate check character by adding up even and odd characters as numbers\n\n\n var checksum = 0;\n\n for (var _i5 = 1; _i5 < chars.length - 1; _i5 += 2) {\n var char_to_int = parseInt(chars[_i5], 10);\n\n if (isNaN(char_to_int)) {\n char_to_int = chars[_i5].charCodeAt(0) - 65;\n }\n\n checksum += char_to_int;\n }\n\n var odd_convert = {\n // Maps of characters at odd places\n A: 1,\n B: 0,\n C: 5,\n D: 7,\n E: 9,\n F: 13,\n G: 15,\n H: 17,\n I: 19,\n J: 21,\n K: 2,\n L: 4,\n M: 18,\n N: 20,\n O: 11,\n P: 3,\n Q: 6,\n R: 8,\n S: 12,\n T: 14,\n U: 16,\n V: 10,\n W: 22,\n X: 25,\n Y: 24,\n Z: 23,\n 0: 1,\n 1: 0\n };\n\n for (var _i6 = 0; _i6 < chars.length - 1; _i6 += 2) {\n var _char_to_int = 0;\n\n if (chars[_i6] in odd_convert) {\n _char_to_int = odd_convert[chars[_i6]];\n } else {\n var multiplier = parseInt(chars[_i6], 10);\n _char_to_int = 2 * multiplier + 1;\n\n if (multiplier > 4) {\n _char_to_int += 2;\n }\n }\n\n checksum += _char_to_int;\n }\n\n if (String.fromCharCode(65 + checksum % 26) !== chars[15]) {\n return false;\n }\n\n return true;\n}\n/*\n * lv-LV validation function\n * (Personas kods (PK), persons only)\n * Check validity of birth date and calculate check (last) digit\n * Support only for old format numbers (not starting with '32', issued before 2017/07/01)\n * Material not in DG TAXUD document sourced from:\n * `https://boot.ritakafija.lv/forums/index.php?/topic/88314-personas-koda-algoritms-%C4%8Deksumma/`\n */\n\n\nfunction lvLvCheck(tin) {\n tin = tin.replace(/\\W/, ''); // Extract date from TIN\n\n var day = tin.slice(0, 2);\n\n if (day !== '32') {\n // No date/checksum check if new format\n var month = tin.slice(2, 4);\n\n if (month !== '00') {\n // No date check if unknown month\n var full_year = tin.slice(4, 6);\n\n switch (tin[6]) {\n case '0':\n full_year = \"18\".concat(full_year);\n break;\n\n case '1':\n full_year = \"19\".concat(full_year);\n break;\n\n default:\n full_year = \"20\".concat(full_year);\n break;\n } // Check date validity\n\n\n var date = \"\".concat(full_year, \"/\").concat(tin.slice(2, 4), \"/\").concat(day);\n\n if (!(0, _isDate.default)(date, 'YYYY/MM/DD')) {\n return false;\n }\n } // Calculate check digit\n\n\n var checksum = 1101;\n var multip_lookup = [1, 6, 3, 7, 9, 10, 5, 8, 4, 2];\n\n for (var i = 0; i < tin.length - 1; i++) {\n checksum -= parseInt(tin[i], 10) * multip_lookup[i];\n }\n\n return parseInt(tin[10], 10) === checksum % 11;\n }\n\n return true;\n}\n/*\n * mt-MT validation function\n * (Identity Card Number or Unique Taxpayer Reference, persons/entities)\n * Verify Identity Card Number structure (no other tests found)\n */\n\n\nfunction mtMtCheck(tin) {\n if (tin.length !== 9) {\n // No tests for UTR\n var chars = tin.toUpperCase().split(''); // Fill with zeros if smaller than proper\n\n while (chars.length < 8) {\n chars.unshift(0);\n } // Validate format according to last character\n\n\n switch (tin[7]) {\n case 'A':\n case 'P':\n if (parseInt(chars[6], 10) === 0) {\n return false;\n }\n\n break;\n\n default:\n {\n var first_part = parseInt(chars.join('').slice(0, 5), 10);\n\n if (first_part > 32000) {\n return false;\n }\n\n var second_part = parseInt(chars.join('').slice(5, 7), 10);\n\n if (first_part === second_part) {\n return false;\n }\n }\n }\n }\n\n return true;\n}\n/*\n * nl-NL validation function\n * (Burgerservicenummer (BSN) or Rechtspersonen Samenwerkingsverbanden Informatie Nummer (RSIN),\n * persons/entities respectively)\n * Verify TIN validity by calculating check (last) digit (variant of MOD 11)\n */\n\n\nfunction nlNlCheck(tin) {\n return algorithms.reverseMultiplyAndSum(tin.split('').slice(0, 8).map(function (a) {\n return parseInt(a, 10);\n }), 9) % 11 === parseInt(tin[8], 10);\n}\n/*\n * pl-PL validation function\n * (Powszechny Elektroniczny System Ewidencji Ludności (PESEL)\n * or Numer identyfikacji podatkowej (NIP), persons/entities)\n * Verify TIN validity by validating birth date (PESEL) and calculating check (last) digit\n */\n\n\nfunction plPlCheck(tin) {\n // NIP\n if (tin.length === 10) {\n // Calculate last digit by multiplying with lookup\n var lookup = [6, 5, 7, 2, 3, 4, 5, 6, 7];\n var _checksum = 0;\n\n for (var i = 0; i < lookup.length; i++) {\n _checksum += parseInt(tin[i], 10) * lookup[i];\n }\n\n _checksum %= 11;\n\n if (_checksum === 10) {\n return false;\n }\n\n return _checksum === parseInt(tin[9], 10);\n } // PESEL\n // Extract full year using month\n\n\n var full_year = tin.slice(0, 2);\n var month = parseInt(tin.slice(2, 4), 10);\n\n if (month > 80) {\n full_year = \"18\".concat(full_year);\n month -= 80;\n } else if (month > 60) {\n full_year = \"22\".concat(full_year);\n month -= 60;\n } else if (month > 40) {\n full_year = \"21\".concat(full_year);\n month -= 40;\n } else if (month > 20) {\n full_year = \"20\".concat(full_year);\n month -= 20;\n } else {\n full_year = \"19\".concat(full_year);\n } // Add leading zero to month if needed\n\n\n if (month < 10) {\n month = \"0\".concat(month);\n } // Check date validity\n\n\n var date = \"\".concat(full_year, \"/\").concat(month, \"/\").concat(tin.slice(4, 6));\n\n if (!(0, _isDate.default)(date, 'YYYY/MM/DD')) {\n return false;\n } // Calculate last digit by mulitplying with odd one-digit numbers except 5\n\n\n var checksum = 0;\n var multiplier = 1;\n\n for (var _i7 = 0; _i7 < tin.length - 1; _i7++) {\n checksum += parseInt(tin[_i7], 10) * multiplier % 10;\n multiplier += 2;\n\n if (multiplier > 10) {\n multiplier = 1;\n } else if (multiplier === 5) {\n multiplier += 2;\n }\n }\n\n checksum = 10 - checksum % 10;\n return checksum === parseInt(tin[10], 10);\n}\n/*\n * pt-PT validation function\n * (Número de identificação fiscal (NIF), persons/entities)\n * Verify TIN validity by calculating check (last) digit (variant of MOD 11)\n */\n\n\nfunction ptPtCheck(tin) {\n var checksum = 11 - algorithms.reverseMultiplyAndSum(tin.split('').slice(0, 8).map(function (a) {\n return parseInt(a, 10);\n }), 9) % 11;\n\n if (checksum > 9) {\n return parseInt(tin[8], 10) === 0;\n }\n\n return checksum === parseInt(tin[8], 10);\n}\n/*\n * ro-RO validation function\n * (Cod Numeric Personal (CNP) or Cod de înregistrare fiscală (CIF),\n * persons only)\n * Verify CNP validity by calculating check (last) digit (test not found for CIF)\n * Material not in DG TAXUD document sourced from:\n * `https://en.wikipedia.org/wiki/National_identification_number#Romania`\n */\n\n\nfunction roRoCheck(tin) {\n if (tin.slice(0, 4) !== '9000') {\n // No test found for this format\n // Extract full year using century digit if possible\n var full_year = tin.slice(1, 3);\n\n switch (tin[0]) {\n case '1':\n case '2':\n full_year = \"19\".concat(full_year);\n break;\n\n case '3':\n case '4':\n full_year = \"18\".concat(full_year);\n break;\n\n case '5':\n case '6':\n full_year = \"20\".concat(full_year);\n break;\n\n default:\n } // Check date validity\n\n\n var date = \"\".concat(full_year, \"/\").concat(tin.slice(3, 5), \"/\").concat(tin.slice(5, 7));\n\n if (date.length === 8) {\n if (!(0, _isDate.default)(date, 'YY/MM/DD')) {\n return false;\n }\n } else if (!(0, _isDate.default)(date, 'YYYY/MM/DD')) {\n return false;\n } // Calculate check digit\n\n\n var digits = tin.split('').map(function (a) {\n return parseInt(a, 10);\n });\n var multipliers = [2, 7, 9, 1, 4, 6, 3, 5, 8, 2, 7, 9];\n var checksum = 0;\n\n for (var i = 0; i < multipliers.length; i++) {\n checksum += digits[i] * multipliers[i];\n }\n\n if (checksum % 11 === 10) {\n return digits[12] === 1;\n }\n\n return digits[12] === checksum % 11;\n }\n\n return true;\n}\n/*\n * sk-SK validation function\n * (Rodné číslo (RČ) or bezvýznamové identifikačné číslo (BIČ), persons only)\n * Checks validity of pre-1954 birth numbers (rodné číslo) only\n * Due to the introduction of the pseudo-random BIČ it is not possible to test\n * post-1954 birth numbers without knowing whether they are BIČ or RČ beforehand\n */\n\n\nfunction skSkCheck(tin) {\n if (tin.length === 9) {\n tin = tin.replace(/\\W/, '');\n\n if (tin.slice(6) === '000') {\n return false;\n } // Three-zero serial not assigned before 1954\n // Extract full year from TIN length\n\n\n var full_year = parseInt(tin.slice(0, 2), 10);\n\n if (full_year > 53) {\n return false;\n }\n\n if (full_year < 10) {\n full_year = \"190\".concat(full_year);\n } else {\n full_year = \"19\".concat(full_year);\n } // Extract month from TIN and normalize\n\n\n var month = parseInt(tin.slice(2, 4), 10);\n\n if (month > 50) {\n month -= 50;\n }\n\n if (month < 10) {\n month = \"0\".concat(month);\n } // Check date validity\n\n\n var date = \"\".concat(full_year, \"/\").concat(month, \"/\").concat(tin.slice(4, 6));\n\n if (!(0, _isDate.default)(date, 'YYYY/MM/DD')) {\n return false;\n }\n }\n\n return true;\n}\n/*\n * sl-SI validation function\n * (Davčna številka, persons/entities)\n * Verify TIN validity by calculating check (last) digit (variant of MOD 11)\n */\n\n\nfunction slSiCheck(tin) {\n var checksum = 11 - algorithms.reverseMultiplyAndSum(tin.split('').slice(0, 7).map(function (a) {\n return parseInt(a, 10);\n }), 8) % 11;\n\n if (checksum === 10) {\n return parseInt(tin[7], 10) === 0;\n }\n\n return checksum === parseInt(tin[7], 10);\n}\n/*\n * sv-SE validation function\n * (Personnummer or samordningsnummer, persons only)\n * Checks validity of birth date and calls luhnCheck() to validate check (last) digit\n */\n\n\nfunction svSeCheck(tin) {\n // Make copy of TIN and normalize to two-digit year form\n var tin_copy = tin.slice(0);\n\n if (tin.length > 11) {\n tin_copy = tin_copy.slice(2);\n } // Extract date of birth\n\n\n var full_year = '';\n var month = tin_copy.slice(2, 4);\n var day = parseInt(tin_copy.slice(4, 6), 10);\n\n if (tin.length > 11) {\n full_year = tin.slice(0, 4);\n } else {\n full_year = tin.slice(0, 2);\n\n if (tin.length === 11 && day < 60) {\n // Extract full year from centenarian symbol\n // Should work just fine until year 10000 or so\n var current_year = new Date().getFullYear().toString();\n var current_century = parseInt(current_year.slice(0, 2), 10);\n current_year = parseInt(current_year, 10);\n\n if (tin[6] === '-') {\n if (parseInt(\"\".concat(current_century).concat(full_year), 10) > current_year) {\n full_year = \"\".concat(current_century - 1).concat(full_year);\n } else {\n full_year = \"\".concat(current_century).concat(full_year);\n }\n } else {\n full_year = \"\".concat(current_century - 1).concat(full_year);\n\n if (current_year - parseInt(full_year, 10) < 100) {\n return false;\n }\n }\n }\n } // Normalize day and check date validity\n\n\n if (day > 60) {\n day -= 60;\n }\n\n if (day < 10) {\n day = \"0\".concat(day);\n }\n\n var date = \"\".concat(full_year, \"/\").concat(month, \"/\").concat(day);\n\n if (date.length === 8) {\n if (!(0, _isDate.default)(date, 'YY/MM/DD')) {\n return false;\n }\n } else if (!(0, _isDate.default)(date, 'YYYY/MM/DD')) {\n return false;\n }\n\n return algorithms.luhnCheck(tin.replace(/\\W/, ''));\n} // Locale lookup objects\n\n/*\n * Tax id regex formats for various locales\n *\n * Where not explicitly specified in DG-TAXUD document both\n * uppercase and lowercase letters are acceptable.\n */\n\n\nvar taxIdFormat = {\n 'bg-BG': /^\\d{10}$/,\n 'cs-CZ': /^\\d{6}\\/{0,1}\\d{3,4}$/,\n 'de-AT': /^\\d{9}$/,\n 'de-DE': /^[1-9]\\d{10}$/,\n 'dk-DK': /^\\d{6}-{0,1}\\d{4}$/,\n 'el-CY': /^[09]\\d{7}[A-Z]$/,\n 'el-GR': /^([0-4]|[7-9])\\d{8}$/,\n 'en-GB': /^\\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\\d{6}[ABCD ]$/i,\n 'en-IE': /^\\d{7}[A-W][A-IW]{0,1}$/i,\n 'en-US': /^\\d{2}[- ]{0,1}\\d{7}$/,\n 'es-ES': /^(\\d{0,8}|[XYZKLM]\\d{7})[A-HJ-NP-TV-Z]$/i,\n 'et-EE': /^[1-6]\\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\\d$/,\n 'fi-FI': /^\\d{6}[-+A]\\d{3}[0-9A-FHJ-NPR-Y]$/i,\n 'fr-BE': /^\\d{11}$/,\n 'fr-FR': /^[0-3]\\d{12}$|^[0-3]\\d\\s\\d{2}(\\s\\d{3}){3}$/,\n // Conforms both to official spec and provided example\n 'fr-LU': /^\\d{13}$/,\n 'hr-HR': /^\\d{11}$/,\n 'hu-HU': /^8\\d{9}$/,\n 'it-IT': /^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,\n 'lv-LV': /^\\d{6}-{0,1}\\d{5}$/,\n // Conforms both to DG TAXUD spec and original research\n 'mt-MT': /^\\d{3,7}[APMGLHBZ]$|^([1-8])\\1\\d{7}$/i,\n 'nl-NL': /^\\d{9}$/,\n 'pl-PL': /^\\d{10,11}$/,\n 'pt-PT': /^\\d{9}$/,\n 'ro-RO': /^\\d{13}$/,\n 'sk-SK': /^\\d{6}\\/{0,1}\\d{3,4}$/,\n 'sl-SI': /^[1-9]\\d{7}$/,\n 'sv-SE': /^(\\d{6}[-+]{0,1}\\d{4}|(18|19|20)\\d{6}[-+]{0,1}\\d{4})$/\n}; // taxIdFormat locale aliases\n\ntaxIdFormat['lb-LU'] = taxIdFormat['fr-LU'];\ntaxIdFormat['lt-LT'] = taxIdFormat['et-EE'];\ntaxIdFormat['nl-BE'] = taxIdFormat['fr-BE']; // Algorithmic tax id check functions for various locales\n\nvar taxIdCheck = {\n 'bg-BG': bgBgCheck,\n 'cs-CZ': csCzCheck,\n 'de-AT': deAtCheck,\n 'de-DE': deDeCheck,\n 'dk-DK': dkDkCheck,\n 'el-CY': elCyCheck,\n 'el-GR': elGrCheck,\n 'en-IE': enIeCheck,\n 'en-US': enUsCheck,\n 'es-ES': esEsCheck,\n 'et-EE': etEeCheck,\n 'fi-FI': fiFiCheck,\n 'fr-BE': frBeCheck,\n 'fr-FR': frFrCheck,\n 'fr-LU': frLuCheck,\n 'hr-HR': hrHrCheck,\n 'hu-HU': huHuCheck,\n 'it-IT': itItCheck,\n 'lv-LV': lvLvCheck,\n 'mt-MT': mtMtCheck,\n 'nl-NL': nlNlCheck,\n 'pl-PL': plPlCheck,\n 'pt-PT': ptPtCheck,\n 'ro-RO': roRoCheck,\n 'sk-SK': skSkCheck,\n 'sl-SI': slSiCheck,\n 'sv-SE': svSeCheck\n}; // taxIdCheck locale aliases\n\ntaxIdCheck['lb-LU'] = taxIdCheck['fr-LU'];\ntaxIdCheck['lt-LT'] = taxIdCheck['et-EE'];\ntaxIdCheck['nl-BE'] = taxIdCheck['fr-BE']; // Regexes for locales where characters should be omitted before checking format\n\nvar allsymbols = /[-\\\\\\/!@#$%\\^&\\*\\(\\)\\+\\=\\[\\]]+/g;\nvar sanitizeRegexes = {\n 'de-AT': allsymbols,\n 'de-DE': /[\\/\\\\]/g,\n 'fr-BE': allsymbols\n}; // sanitizeRegexes locale aliases\n\nsanitizeRegexes['nl-BE'] = sanitizeRegexes['fr-BE'];\n/*\n * Validator function\n * Return true if the passed string is a valid tax identification number\n * for the specified locale.\n * Throw an error exception if the locale is not supported.\n */\n\nfunction isTaxID(str) {\n var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en-US';\n (0, _assertString.default)(str); // Copy TIN to avoid replacement if sanitized\n\n var strcopy = str.slice(0);\n\n if (locale in taxIdFormat) {\n if (locale in sanitizeRegexes) {\n strcopy = strcopy.replace(sanitizeRegexes[locale], '');\n }\n\n if (!taxIdFormat[locale].test(strcopy)) {\n return false;\n }\n\n if (locale in taxIdCheck) {\n return taxIdCheck[locale](strcopy);\n } // Fallthrough; not all locales have algorithmic checks\n\n\n return true;\n }\n\n throw new Error(\"Invalid locale '\".concat(locale, \"'\"));\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isURL;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _isFQDN = _interopRequireDefault(require(\"./isFQDN\"));\n\nvar _isIP = _interopRequireDefault(require(\"./isIP\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/*\noptions for isURL method\n\nrequire_protocol - if set as true isURL will return false if protocol is not present in the URL\nrequire_valid_protocol - isURL will check if the URL's protocol is present in the protocols option\nprotocols - valid protocols can be modified with this option\nrequire_host - if set as false isURL will not check if host is present in the URL\nrequire_port - if set as true isURL will check if port is present in the URL\nallow_protocol_relative_urls - if set as true protocol relative URLs will be allowed\nvalidate_length - if set as false isURL will skip string length validation (IE maximum is 2083)\n\n*/\nvar default_url_options = {\n protocols: ['http', 'https', 'ftp'],\n require_tld: true,\n require_protocol: false,\n require_host: true,\n require_port: false,\n require_valid_protocol: true,\n allow_underscores: false,\n allow_trailing_dot: false,\n allow_protocol_relative_urls: false,\n validate_length: true\n};\nvar wrapped_ipv6 = /^\\[([^\\]]+)\\](?::([0-9]+))?$/;\n\nfunction isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n}\n\nfunction checkHost(host, matches) {\n for (var i = 0; i < matches.length; i++) {\n var match = matches[i];\n\n if (host === match || isRegExp(match) && match.test(host)) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction isURL(url, options) {\n (0, _assertString.default)(url);\n\n if (!url || /[\\s<>]/.test(url)) {\n return false;\n }\n\n if (url.indexOf('mailto:') === 0) {\n return false;\n }\n\n options = (0, _merge.default)(options, default_url_options);\n\n if (options.validate_length && url.length >= 2083) {\n return false;\n }\n\n var protocol, auth, host, hostname, port, port_str, split, ipv6;\n split = url.split('#');\n url = split.shift();\n split = url.split('?');\n url = split.shift();\n split = url.split('://');\n\n if (split.length > 1) {\n protocol = split.shift().toLowerCase();\n\n if (options.require_valid_protocol && options.protocols.indexOf(protocol) === -1) {\n return false;\n }\n } else if (options.require_protocol) {\n return false;\n } else if (url.substr(0, 2) === '//') {\n if (!options.allow_protocol_relative_urls) {\n return false;\n }\n\n split[0] = url.substr(2);\n }\n\n url = split.join('://');\n\n if (url === '') {\n return false;\n }\n\n split = url.split('/');\n url = split.shift();\n\n if (url === '' && !options.require_host) {\n return true;\n }\n\n split = url.split('@');\n\n if (split.length > 1) {\n if (options.disallow_auth) {\n return false;\n }\n\n auth = split.shift();\n\n if (auth.indexOf(':') === -1 || auth.indexOf(':') >= 0 && auth.split(':').length > 2) {\n return false;\n }\n }\n\n hostname = split.join('@');\n port_str = null;\n ipv6 = null;\n var ipv6_match = hostname.match(wrapped_ipv6);\n\n if (ipv6_match) {\n host = '';\n ipv6 = ipv6_match[1];\n port_str = ipv6_match[2] || null;\n } else {\n split = hostname.split(':');\n host = split.shift();\n\n if (split.length) {\n port_str = split.join(':');\n }\n }\n\n if (port_str !== null) {\n port = parseInt(port_str, 10);\n\n if (!/^[0-9]+$/.test(port_str) || port <= 0 || port > 65535) {\n return false;\n }\n } else if (options.require_port) {\n return false;\n }\n\n if (!(0, _isIP.default)(host) && !(0, _isFQDN.default)(host, options) && (!ipv6 || !(0, _isIP.default)(ipv6, 6))) {\n return false;\n }\n\n host = host || ipv6;\n\n if (options.host_whitelist && !checkHost(host, options.host_whitelist)) {\n return false;\n }\n\n if (options.host_blacklist && checkHost(host, options.host_blacklist)) {\n return false;\n }\n\n return true;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isUUID;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar uuid = {\n 3: /^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,\n 4: /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,\n 5: /^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,\n all: /^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i\n};\n\nfunction isUUID(str) {\n var version = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'all';\n (0, _assertString.default)(str);\n var pattern = uuid[version];\n return pattern && pattern.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isUppercase;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isUppercase(str) {\n (0, _assertString.default)(str);\n return str === str.toUpperCase();\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isVAT;\nexports.vatMatchers = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar vatMatchers = {\n GB: /^GB((\\d{3} \\d{4} ([0-8][0-9]|9[0-6]))|(\\d{9} \\d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/\n};\nexports.vatMatchers = vatMatchers;\n\nfunction isVAT(str, countryCode) {\n (0, _assertString.default)(str);\n (0, _assertString.default)(countryCode);\n\n if (countryCode in vatMatchers) {\n return vatMatchers[countryCode].test(str);\n }\n\n throw new Error(\"Invalid country code: '\".concat(countryCode, \"'\"));\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isVariableWidth;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _isFullWidth = require(\"./isFullWidth\");\n\nvar _isHalfWidth = require(\"./isHalfWidth\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isVariableWidth(str) {\n (0, _assertString.default)(str);\n return _isFullWidth.fullWidth.test(str) && _isHalfWidth.halfWidth.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isWhitelisted;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isWhitelisted(str, chars) {\n (0, _assertString.default)(str);\n\n for (var i = str.length - 1; i >= 0; i--) {\n if (chars.indexOf(str[i]) === -1) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = ltrim;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ltrim(str, chars) {\n (0, _assertString.default)(str); // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping\n\n var pattern = chars ? new RegExp(\"^[\".concat(chars.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&'), \"]+\"), 'g') : /^\\s+/g;\n return str.replace(pattern, '');\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = matches;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction matches(str, pattern, modifiers) {\n (0, _assertString.default)(str);\n\n if (Object.prototype.toString.call(pattern) !== '[object RegExp]') {\n pattern = new RegExp(pattern, modifiers);\n }\n\n return pattern.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = normalizeEmail;\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar default_normalize_email_options = {\n // The following options apply to all email addresses\n // Lowercases the local part of the email address.\n // Please note this may violate RFC 5321 as per http://stackoverflow.com/a/9808332/192024).\n // The domain is always lowercased, as per RFC 1035\n all_lowercase: true,\n // The following conversions are specific to GMail\n // Lowercases the local part of the GMail address (known to be case-insensitive)\n gmail_lowercase: true,\n // Removes dots from the local part of the email address, as that's ignored by GMail\n gmail_remove_dots: true,\n // Removes the subaddress (e.g. \"+foo\") from the email address\n gmail_remove_subaddress: true,\n // Conversts the googlemail.com domain to gmail.com\n gmail_convert_googlemaildotcom: true,\n // The following conversions are specific to Outlook.com / Windows Live / Hotmail\n // Lowercases the local part of the Outlook.com address (known to be case-insensitive)\n outlookdotcom_lowercase: true,\n // Removes the subaddress (e.g. \"+foo\") from the email address\n outlookdotcom_remove_subaddress: true,\n // The following conversions are specific to Yahoo\n // Lowercases the local part of the Yahoo address (known to be case-insensitive)\n yahoo_lowercase: true,\n // Removes the subaddress (e.g. \"-foo\") from the email address\n yahoo_remove_subaddress: true,\n // The following conversions are specific to Yandex\n // Lowercases the local part of the Yandex address (known to be case-insensitive)\n yandex_lowercase: true,\n // The following conversions are specific to iCloud\n // Lowercases the local part of the iCloud address (known to be case-insensitive)\n icloud_lowercase: true,\n // Removes the subaddress (e.g. \"+foo\") from the email address\n icloud_remove_subaddress: true\n}; // List of domains used by iCloud\n\nvar icloud_domains = ['icloud.com', 'me.com']; // List of domains used by Outlook.com and its predecessors\n// This list is likely incomplete.\n// Partial reference:\n// https://blogs.office.com/2013/04/17/outlook-com-gets-two-step-verification-sign-in-by-alias-and-new-international-domains/\n\nvar outlookdotcom_domains = ['hotmail.at', 'hotmail.be', 'hotmail.ca', 'hotmail.cl', 'hotmail.co.il', 'hotmail.co.nz', 'hotmail.co.th', 'hotmail.co.uk', 'hotmail.com', 'hotmail.com.ar', 'hotmail.com.au', 'hotmail.com.br', 'hotmail.com.gr', 'hotmail.com.mx', 'hotmail.com.pe', 'hotmail.com.tr', 'hotmail.com.vn', 'hotmail.cz', 'hotmail.de', 'hotmail.dk', 'hotmail.es', 'hotmail.fr', 'hotmail.hu', 'hotmail.id', 'hotmail.ie', 'hotmail.in', 'hotmail.it', 'hotmail.jp', 'hotmail.kr', 'hotmail.lv', 'hotmail.my', 'hotmail.ph', 'hotmail.pt', 'hotmail.sa', 'hotmail.sg', 'hotmail.sk', 'live.be', 'live.co.uk', 'live.com', 'live.com.ar', 'live.com.mx', 'live.de', 'live.es', 'live.eu', 'live.fr', 'live.it', 'live.nl', 'msn.com', 'outlook.at', 'outlook.be', 'outlook.cl', 'outlook.co.il', 'outlook.co.nz', 'outlook.co.th', 'outlook.com', 'outlook.com.ar', 'outlook.com.au', 'outlook.com.br', 'outlook.com.gr', 'outlook.com.pe', 'outlook.com.tr', 'outlook.com.vn', 'outlook.cz', 'outlook.de', 'outlook.dk', 'outlook.es', 'outlook.fr', 'outlook.hu', 'outlook.id', 'outlook.ie', 'outlook.in', 'outlook.it', 'outlook.jp', 'outlook.kr', 'outlook.lv', 'outlook.my', 'outlook.ph', 'outlook.pt', 'outlook.sa', 'outlook.sg', 'outlook.sk', 'passport.com']; // List of domains used by Yahoo Mail\n// This list is likely incomplete\n\nvar yahoo_domains = ['rocketmail.com', 'yahoo.ca', 'yahoo.co.uk', 'yahoo.com', 'yahoo.de', 'yahoo.fr', 'yahoo.in', 'yahoo.it', 'ymail.com']; // List of domains used by yandex.ru\n\nvar yandex_domains = ['yandex.ru', 'yandex.ua', 'yandex.kz', 'yandex.com', 'yandex.by', 'ya.ru']; // replace single dots, but not multiple consecutive dots\n\nfunction dotsReplacer(match) {\n if (match.length > 1) {\n return match;\n }\n\n return '';\n}\n\nfunction normalizeEmail(email, options) {\n options = (0, _merge.default)(options, default_normalize_email_options);\n var raw_parts = email.split('@');\n var domain = raw_parts.pop();\n var user = raw_parts.join('@');\n var parts = [user, domain]; // The domain is always lowercased, as it's case-insensitive per RFC 1035\n\n parts[1] = parts[1].toLowerCase();\n\n if (parts[1] === 'gmail.com' || parts[1] === 'googlemail.com') {\n // Address is GMail\n if (options.gmail_remove_subaddress) {\n parts[0] = parts[0].split('+')[0];\n }\n\n if (options.gmail_remove_dots) {\n // this does not replace consecutive dots like example..email@gmail.com\n parts[0] = parts[0].replace(/\\.+/g, dotsReplacer);\n }\n\n if (!parts[0].length) {\n return false;\n }\n\n if (options.all_lowercase || options.gmail_lowercase) {\n parts[0] = parts[0].toLowerCase();\n }\n\n parts[1] = options.gmail_convert_googlemaildotcom ? 'gmail.com' : parts[1];\n } else if (icloud_domains.indexOf(parts[1]) >= 0) {\n // Address is iCloud\n if (options.icloud_remove_subaddress) {\n parts[0] = parts[0].split('+')[0];\n }\n\n if (!parts[0].length) {\n return false;\n }\n\n if (options.all_lowercase || options.icloud_lowercase) {\n parts[0] = parts[0].toLowerCase();\n }\n } else if (outlookdotcom_domains.indexOf(parts[1]) >= 0) {\n // Address is Outlook.com\n if (options.outlookdotcom_remove_subaddress) {\n parts[0] = parts[0].split('+')[0];\n }\n\n if (!parts[0].length) {\n return false;\n }\n\n if (options.all_lowercase || options.outlookdotcom_lowercase) {\n parts[0] = parts[0].toLowerCase();\n }\n } else if (yahoo_domains.indexOf(parts[1]) >= 0) {\n // Address is Yahoo\n if (options.yahoo_remove_subaddress) {\n var components = parts[0].split('-');\n parts[0] = components.length > 1 ? components.slice(0, -1).join('-') : components[0];\n }\n\n if (!parts[0].length) {\n return false;\n }\n\n if (options.all_lowercase || options.yahoo_lowercase) {\n parts[0] = parts[0].toLowerCase();\n }\n } else if (yandex_domains.indexOf(parts[1]) >= 0) {\n if (options.all_lowercase || options.yandex_lowercase) {\n parts[0] = parts[0].toLowerCase();\n }\n\n parts[1] = 'yandex.ru'; // all yandex domains are equal, 1st preferred\n } else if (options.all_lowercase) {\n // Any other address\n parts[0] = parts[0].toLowerCase();\n }\n\n return parts.join('@');\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rtrim;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction rtrim(str, chars) {\n (0, _assertString.default)(str); // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping\n\n var pattern = chars ? new RegExp(\"[\".concat(chars.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&'), \"]+$\"), 'g') : /\\s+$/g;\n return str.replace(pattern, '');\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = stripLow;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _blacklist = _interopRequireDefault(require(\"./blacklist\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction stripLow(str, keep_new_lines) {\n (0, _assertString.default)(str);\n var chars = keep_new_lines ? '\\\\x00-\\\\x09\\\\x0B\\\\x0C\\\\x0E-\\\\x1F\\\\x7F' : '\\\\x00-\\\\x1F\\\\x7F';\n return (0, _blacklist.default)(str, chars);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = toBoolean;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction toBoolean(str, strict) {\n (0, _assertString.default)(str);\n\n if (strict) {\n return str === '1' || /^true$/i.test(str);\n }\n\n return str !== '0' && !/^false$/i.test(str) && str !== '';\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = toDate;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction toDate(date) {\n (0, _assertString.default)(date);\n date = Date.parse(date);\n return !isNaN(date) ? new Date(date) : null;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = toFloat;\n\nvar _isFloat = _interopRequireDefault(require(\"./isFloat\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction toFloat(str) {\n if (!(0, _isFloat.default)(str)) return NaN;\n return parseFloat(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = toInt;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction toInt(str, radix) {\n (0, _assertString.default)(str);\n return parseInt(str, radix || 10);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = trim;\n\nvar _rtrim = _interopRequireDefault(require(\"./rtrim\"));\n\nvar _ltrim = _interopRequireDefault(require(\"./ltrim\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction trim(str, chars) {\n return (0, _rtrim.default)((0, _ltrim.default)(str, chars), chars);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = unescape;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction unescape(str) {\n (0, _assertString.default)(str);\n return str.replace(/&amp;/g, '&').replace(/&quot;/g, '\"').replace(/&#x27;/g, \"'\").replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&#x2F;/g, '/').replace(/&#x5C;/g, '\\\\').replace(/&#96;/g, '`');\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.iso7064Check = iso7064Check;\nexports.luhnCheck = luhnCheck;\nexports.reverseMultiplyAndSum = reverseMultiplyAndSum;\nexports.verhoeffCheck = verhoeffCheck;\n\n/**\n * Algorithmic validation functions\n * May be used as is or implemented in the workflow of other validators.\n */\n\n/*\n * ISO 7064 validation function\n * Called with a string of numbers (incl. check digit)\n * to validate according to ISO 7064 (MOD 11, 10).\n */\nfunction iso7064Check(str) {\n var checkvalue = 10;\n\n for (var i = 0; i < str.length - 1; i++) {\n checkvalue = (parseInt(str[i], 10) + checkvalue) % 10 === 0 ? 10 * 2 % 11 : (parseInt(str[i], 10) + checkvalue) % 10 * 2 % 11;\n }\n\n checkvalue = checkvalue === 1 ? 0 : 11 - checkvalue;\n return checkvalue === parseInt(str[10], 10);\n}\n/*\n * Luhn (mod 10) validation function\n * Called with a string of numbers (incl. check digit)\n * to validate according to the Luhn algorithm.\n */\n\n\nfunction luhnCheck(str) {\n var checksum = 0;\n var second = false;\n\n for (var i = str.length - 1; i >= 0; i--) {\n if (second) {\n var product = parseInt(str[i], 10) * 2;\n\n if (product > 9) {\n // sum digits of product and add to checksum\n checksum += product.toString().split('').map(function (a) {\n return parseInt(a, 10);\n }).reduce(function (a, b) {\n return a + b;\n }, 0);\n } else {\n checksum += product;\n }\n } else {\n checksum += parseInt(str[i], 10);\n }\n\n second = !second;\n }\n\n return checksum % 10 === 0;\n}\n/*\n * Reverse TIN multiplication and summation helper function\n * Called with an array of single-digit integers and a base multiplier\n * to calculate the sum of the digits multiplied in reverse.\n * Normally used in variations of MOD 11 algorithmic checks.\n */\n\n\nfunction reverseMultiplyAndSum(digits, base) {\n var total = 0;\n\n for (var i = 0; i < digits.length; i++) {\n total += digits[i] * (base - i);\n }\n\n return total;\n}\n/*\n * Verhoeff validation helper function\n * Called with a string of numbers\n * to validate according to the Verhoeff algorithm.\n */\n\n\nfunction verhoeffCheck(str) {\n var d_table = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 0, 6, 7, 8, 9, 5], [2, 3, 4, 0, 1, 7, 8, 9, 5, 6], [3, 4, 0, 1, 2, 8, 9, 5, 6, 7], [4, 0, 1, 2, 3, 9, 5, 6, 7, 8], [5, 9, 8, 7, 6, 0, 4, 3, 2, 1], [6, 5, 9, 8, 7, 1, 0, 4, 3, 2], [7, 6, 5, 9, 8, 2, 1, 0, 4, 3], [8, 7, 6, 5, 9, 3, 2, 1, 0, 4], [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]];\n var p_table = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 5, 7, 6, 2, 8, 3, 0, 9, 4], [5, 8, 0, 3, 7, 9, 6, 1, 4, 2], [8, 9, 1, 6, 0, 4, 3, 5, 2, 7], [9, 4, 5, 3, 1, 2, 6, 8, 7, 0], [4, 2, 8, 6, 5, 7, 3, 9, 0, 1], [2, 7, 9, 3, 8, 0, 6, 4, 1, 5], [7, 0, 4, 6, 9, 1, 3, 2, 5, 8]]; // Copy (to prevent replacement) and reverse\n\n var str_copy = str.split('').reverse().join('');\n var checksum = 0;\n\n for (var i = 0; i < str_copy.length; i++) {\n checksum = d_table[checksum][p_table[i % 8][parseInt(str_copy[i], 10)]];\n }\n\n return checksum === 0;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = assertString;\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction assertString(input) {\n var isString = typeof input === 'string' || input instanceof String;\n\n if (!isString) {\n var invalidType = _typeof(input);\n\n if (input === null) invalidType = 'null';else if (invalidType === 'object') invalidType = input.constructor.name;\n throw new TypeError(\"Expected a string but received a \".concat(invalidType));\n }\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar includes = function includes(arr, val) {\n return arr.some(function (arrVal) {\n return val === arrVal;\n });\n};\n\nvar _default = includes;\nexports.default = _default;\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = merge;\n\nfunction merge() {\n var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var defaults = arguments.length > 1 ? arguments[1] : undefined;\n\n for (var key in defaults) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = defaults[key];\n }\n }\n\n return obj;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = multilineRegexp;\n\n/**\n * Build RegExp object from an array\n * of multiple/multi-line regexp parts\n *\n * @param {string[]} parts\n * @param {string} flags\n * @return {object} - RegExp object\n */\nfunction multilineRegexp(parts, flags) {\n var regexpAsStringLiteral = parts.join('');\n return new RegExp(regexpAsStringLiteral, flags);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = toString;\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction toString(input) {\n if (_typeof(input) === 'object' && input !== null) {\n if (typeof input.toString === 'function') {\n input = input.toString();\n } else {\n input = '[object Object]';\n }\n } else if (input === null || typeof input === 'undefined' || isNaN(input) && !input.length) {\n input = '';\n }\n\n return String(input);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = whitelist;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction whitelist(str, chars) {\n (0, _assertString.default)(str);\n return str.replace(new RegExp(\"[^\".concat(chars, \"]+\"), 'g'), '');\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","var uppercamelcase = require('uppercamelcase');\nvar statusCodes = require('builtin-status-codes');\n\nmodule.exports = WPError;\n\nfunction WPError () {\n var self = new Error();\n\n for (var i = 0; i < arguments.length; i++) {\n process(self, arguments[i]);\n }\n\n if (typeof Error.captureStackTrace === 'function') {\n Error.captureStackTrace(self, WPError);\n }\n\n return self;\n}\n\nfunction process ( self, data ) {\n if ( ! data ) { \n return;\n }\n \n if (typeof data === 'number') {\n setStatusCode( self, data );\n\n } else {\n // assume it's a plain 'ol Object with some props to copy over\n if ( data.status_code ) {\n setStatusCode( self, data.status_code );\n }\n\n if ( data.error ) {\n self.name = toName( data.error );\n }\n\n if ( data.error_description ) {\n self.message = data.error_description;\n }\n\n var errors = data.errors;\n if ( errors ) {\n var first = errors.length ? errors[0] : errors;\n process( self, first );\n }\n\n for ( var i in data ) {\n self[i] = data[i];\n }\n\n if ( self.status && ( data.method || data.path ) ) {\n setStatusCodeMessage( self );\n }\n }\n}\n\nfunction setStatusCode ( self, code ) {\n self.name = toName( statusCodes[ code ] );\n self.status = self.statusCode = code;\n setStatusCodeMessage( self );\n}\n\nfunction setStatusCodeMessage ( self ) {\n var code = self.status;\n var method = self.method;\n var path = self.path;\n\n var m = code + ' status code';\n var extended = method || path;\n\n if ( extended ) m += ' for \"';\n if ( method ) m += method;\n if ( extended ) m += ' ';\n if ( path ) m += path;\n if ( extended ) m += '\"';\n\n self.message = m;\n}\n\nfunction toName ( str ) {\n return uppercamelcase( String(str).replace(/error$/i, ''), 'error' );\n}\n","module.exports = window[\"React\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"dataControls\"];","module.exports = window[\"wp\"][\"deprecated\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["compile","expression","terms","variables","OPERATORS","a","b","c","evaluate","postfix","i","j","args","getOperatorResult","term","value","stack","length","Array","pop","apply","earlyReturn","hasOwnProperty","push","pluralForms","n","PRECEDENCE","OPENERS","TERMINATORS","PATTERN","match","operator","element","substr","index","trim","indexOf","concat","reverse","sprintf","string","isArray","arguments","replace","name","precision","type","undefined","parseFloat","parseInt","toFixed","module","exports","GetIntrinsic","callBind","$indexOf","allowMissing","intrinsic","bind","$apply","$call","$reflectApply","call","$gOPD","$defineProperty","$max","e","originalFunction","func","desc","configurable","applyBind","s","m","h","d","w","y","plural","ms","msAbs","isPlural","Math","round","val","options","str","String","exec","toLowerCase","parse","isFinite","long","abs","fmtLong","fmtShort","Error","JSON","stringify","ReflectOwnKeys","R","Reflect","ReflectApply","target","receiver","Function","prototype","ownKeys","Object","getOwnPropertySymbols","getOwnPropertyNames","NumberIsNaN","Number","isNaN","EventEmitter","init","this","once","emitter","Promise","resolve","reject","eventListener","errorListener","removeListener","slice","err","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","listener","TypeError","_getMaxListeners","that","_addListener","prepend","events","existing","warning","create","newListener","emit","unshift","warned","count","console","warn","onceWrapper","fired","wrapFn","_onceWrap","state","wrapped","_listeners","unwrap","evlistener","arr","ret","unwrapListeners","arrayClone","listenerCount","copy","defineProperty","enumerable","get","set","arg","RangeError","getPrototypeOf","setMaxListeners","getMaxListeners","doError","error","er","message","context","handler","len","listeners","addListener","on","prependListener","prependOnceListener","list","position","originalListener","shift","spliceOne","off","removeAllListeners","key","keys","rawListeners","eventNames","data","opts","cmp","f","cycles","node","aobj","bobj","seen","toJSON","out","seenIndex","sort","splice","ERROR_MESSAGE","toStr","toString","funcType","bound","binder","result","boundLength","max","boundArgs","join","Empty","implementation","$SyntaxError","SyntaxError","$Function","$TypeError","getEvalledConstructor","expressionSyntax","getOwnPropertyDescriptor","throwTypeError","ThrowTypeError","calleeThrows","gOPDthrows","hasSymbols","getProto","x","__proto__","needsEval","TypedArray","Uint8Array","INTRINSICS","AggregateError","ArrayBuffer","Symbol","iterator","Atomics","BigInt","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","eval","EvalError","Float32Array","Float64Array","FinalizationRegistry","Int8Array","Int16Array","Int32Array","Map","Proxy","ReferenceError","RegExp","Set","SharedArrayBuffer","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakRef","WeakSet","doEval","fn","gen","LEGACY_ALIASES","hasOwn","$concat","$spliceApply","$replace","$strSlice","rePropName","reEscapeChar","stringToPath","first","last","number","quote","subString","getBaseIntrinsic","alias","intrinsicName","parts","intrinsicBaseName","intrinsicRealName","skipFurtherCaching","isOwn","part","origSymbol","hasSymbolSham","obj","sym","symObj","syms","propertyIsEnumerable","descriptor","utils","assert","BlockHash","pending","pendingTotal","blockSize","constructor","outSize","hmacStrength","padLength","endian","_delta8","_delta32","update","msg","enc","toArray","r","join32","_update","digest","_pad","_digest","bytes","k","res","t","common","shaCommon","rotl32","sum32","sum32_5","ft_1","sha1_K","SHA1","W","inherits","start","toHex32","split32","rotr32","ch32","z","maj32","p32","s0_256","s1_256","g0_256","g1_256","isSurrogatePair","charCodeAt","htonl","zero2","word","zero8","p","toHex","end","sum32_3","sum32_4","sum64","buf","pos","ah","al","bh","lo","hi","sum64_hi","bl","sum64_lo","sum64_4_hi","ch","cl","dh","dl","carry","sum64_4_lo","sum64_5_hi","eh","el","sum64_5_lo","rotr64_hi","num","rotr64_lo","shr64_hi","shr64_lo","ctor","superCtor","super_","writable","TempCtor","LRU","cache","head","tail","maxAge","clear","remove","_unlink","prev","next","peek","_checkAge","modified","now","evict","equal","l","hasMap","mapSizeDescriptor","mapSize","mapForEach","forEach","hasSet","setSizeDescriptor","setSize","setForEach","weakMapHas","has","weakSetHas","weakRefDeref","deref","booleanValueOf","valueOf","objectToString","functionToString","bigIntValueOf","gOPS","symToString","hasShammedSymbols","isEnumerable","gPO","O","inspectCustom","inspectSymbol","isSymbol","toStringTag","wrapQuotes","defaultStyle","quoteChar","quoteStyle","inspect_","depth","maxStringLength","Infinity","customInspect","indent","inspectString","maxDepth","baseIndent","base","getIndent","inspect","from","noIndent","newOpts","nameOf","arrObjKeys","symString","markBoxed","HTMLElement","nodeName","getAttribute","isElement","attrs","attributes","childNodes","xs","singleLineValues","indentedJoin","isError","isMap","mapParts","collectionOf","isSet","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isNumber","isBigInt","isBoolean","isString","isDate","isRegExp","ys","isPlainObject","protoTag","stringTag","tag","remaining","trailer","lowbyte","toUpperCase","size","entries","lineJoiner","isArr","symMap","test","NativeProgressEvent","ProgressEvent","useNative","document","createEvent","props","initEvent","lengthComputable","loaded","total","createEventObject","percentTwenties","Format","formatters","RFC1738","RFC3986","formats","defaults","allowDots","allowPrototypes","allowSparse","arrayLimit","charset","charsetSentinel","comma","decoder","decode","delimiter","ignoreQueryPrefix","interpretNumericEntities","parameterLimit","parseArrays","plainObjects","strictNullHandling","$0","numberStr","fromCharCode","parseArrayValue","split","parseKeys","givenKey","valuesParsed","child","segment","parent","chain","leaf","root","cleanRoot","charAt","parseObject","normalizeParseOptions","tempObj","cleanStr","limit","skipIndex","bracketEqualsPos","maybeMap","encodedVal","combine","parseValues","newObj","merge","compact","getSideChannel","arrayPrefixGenerators","brackets","prefix","indices","repeat","pushToArray","valueOrArray","toISO","toISOString","defaultFormat","addQueryPrefix","encode","encoder","encodeValuesOnly","format","formatter","serializeDate","date","skipNulls","sentinel","object","generateArrayPrefix","filter","sideChannel","v","tmpSc","step","findFlag","isBuffer","keyValue","valuesArray","valuesJoined","objKeys","values","keyPrefix","valueSideChannel","normalizeStringifyOptions","arrayFormat","joined","hexTable","array","arrayToObject","source","assign","reduce","acc","queue","o","prop","refs","item","compacted","compactQueue","strWithoutPlus","unescape","defaultEncoder","kind","escape","mapped","mergeTarget","targetItem","callBound","$WeakMap","$Map","$weakMapGet","$weakMapSet","$weakMapHas","$mapGet","$mapSet","$mapHas","listGetNode","curr","$wm","$m","$o","channel","objects","listGet","listHas","listSet","DEFAULT_OPTIONS","contextDelimiter","onMissingKey","Tannin","getPluralForm","domain","config","pf","plural_forms","getPluralExpression","dcnpgettext","singular","entry","DomainSuggestions","Launch","Plans","Site","client_id","client_secret","WPCOMFeatures","receiveCategories","categories","fetchDomainSuggestions","timeStamp","receiveDomainAvailability","domainName","availability","receiveDomainSuggestionsSuccess","queryObject","suggestions","receiveDomainSuggestionsError","errorMessage","STORE_KEY","DataStatus","isRegistered","register","registerStore","actions","controls","reducer","resolvers","selectors","initialDomainSuggestionState","lastUpdated","pendingSince","combineReducers","action","domainSuggestions","stringifyDomainQueryObject","isAvailable","url","getAvailabilityURL","body","fetchAndParse","domain_name","mappable","status","supports_privacy","getCategories","__internalGetDomainSuggestions","query","wpcomRequest","apiVersion","path","translate","validator","some","suggestionsLackThisFQDN","unavailableSuggestion","unavailable","cost","raw_price","currency_code","processedSuggestions","map","suggestion","getFormattedPrice","tier","title","localeCompare","getDomainSuggestions","_state","search","normalizedQuery","normalizeDomainSuggestionQuery","select","getDomainState","getDomainErrorMessage","isLoadingDomainSuggestions","isResolving","getDomainAvailabilities","deterministicStringify","price","currencyCode","formatCurrency","stripZeros","queryOptions","include_wordpressdotcom","only_wordpressdotcom","include_dotblogsubdomain","quantity","vendor","toLocaleLowerCase","setSidebarFullscreen","unsetSidebarFullscreen","setStep","setSiteTitle","setDomain","unsetDomain","confirmDomainSelection","setDomainSearch","domainSearch","setPlanProductId","planProductId","PLANS_STORE","isPlanProductFree","planProduct","getPlanProductById","billingPeriod","__internalSetBillingPeriod","unsetPlanProductId","updatePlan","openSidebar","closeSidebar","openFocusedLaunch","closeFocusedLaunch","enableAnchorFm","showSiteTitleStep","setModalDismissible","unsetModalDismissible","showModalTitle","hideModalTitle","enablePersistentSuccessView","disablePersistentSuccessView","LaunchStep","Name","Domain","Plan","Final","LaunchSequence","use","plugins","persistOptions","persist","persistenceConfigFactory","siteTitle","confirmedDomainSelection","planBillingPeriod","isSidebarOpen","isSidebarFullscreen","isAnchorFm","isFocusedLaunchOpen","isSiteTitleStepVisible","isModalDismissible","isModalTitleVisible","getLaunchSequence","getLaunchStep","getState","hasPaidDomain","is_free","getSelectedDomain","getSelectedPlanProductId","getLastPlanBillingPeriod","isSelectedPlanPaid","hasSelectedDomainOrSubdomain","isStepCompleted","site","getEntityRecord","LAUNCH_STORE","isFlowCompleted","every","isFlowStarted","getFirstIncompleteStep","getSiteTitle","getCurrentStep","getDomainSearch","createPersistenceConfig","storageKey","STORAGE_KEY","STORAGE_TS_KEY","objStore","objStorage","getItem","setItem","removeItem","storageHandler","window","localStorage","localStorageSupport","storage","timestamp","timestampStr","isNotExpired","URLSearchParams","location","setFeatures","features","locale","setFeaturesByType","featuresByType","setPlans","plans","setPlanProducts","products","resetPlan","FREE_PLAN_PRODUCT_ID","TIMELESS_PLAN_FREE","TIMELESS_PLAN_PERSONAL","TIMELESS_PLAN_PREMIUM","TIMELESS_PLAN_BUSINESS","TIMELESS_PLAN_ECOMMERCE","plansSlugs","plansOrder","DEFAULT_PAID_PLAN","annualSlugs","monthlySlugs","plansProductSlugs","FEATURE_IDS_THAT_REQUIRE_ANNUALLY_BILLED_PLAN","planProducts","getAnnualPrice","plan","processFeatures","feature","id","description","requiresAnnuallyBilledPlan","featureRequiresAnnual","featureName","allFeaturesData","matchedFeatureId","find","featureId","processPlanFeatures","planData","highlighted_features","normalizePlanProducts","pricedPlans","periodAgnosticPlans","plansProducts","slug","pricedPlan","product_slug","periodAgnosticPlan","productIds","product_id","productId","bill_period","periodAgnosticSlug","storeSlug","rawPrice","pathSlug","path_slug","annualPrice","annualPlan","monthlyPlan","annualCostIfPaidMonthly","annualCostIfPaidAnnually","discount","annualDiscount","calculateDiscounts","getSupportedPlans","plansFeatures","mode","credentials","planSlug","nonlocalized_short_name","tagline","short_name","featuresSlugs","slugs","isFree","isPopular","plan_id","features_by_type","getFeatures","getFeaturesByType","getPlanByProductId","getPlansProducts","product","getPlanByPeriodAgnosticSlug","getDefaultPaidPlan","_","getDefaultFreePlan","_locale","getPrices","deprecate","alternative","prices","getPlanByPath","getPlanProduct","matchesSlug","matchesBillingPeriod","isPlanEcommerce","isPlanFree","createActions","clientCreds","fetchNewSite","receiveNewSite","response","receiveNewSiteFailed","receiveSiteTitle","siteId","receiveSiteTagline","receiveSiteVerticalId","verticalId","launchSiteStart","launchSiteSuccess","launchSiteFailure","saveSiteSettings","settings","method","blogname","blogdescription","site_vertical_id","atomicTransferStart","softwareSet","atomicTransferSuccess","atomicTransferFailure","latestAtomicTransferStart","latestAtomicTransferSuccess","transfer","latestAtomicTransferFailure","atomicSoftwareStatusStart","atomicSoftwareStatusSuccess","atomicSoftwareStatusFailure","atomicSoftwareInstallStart","atomicSoftwareInstallSuccess","atomicSoftwareInstallFailure","receiveSiteDomains","domains","receiveSiteSettings","saveSiteTitle","setIntentOnSite","siteSlug","intent","apiNamespace","site_intent","fetchSite","resetNewSiteFailed","setDesignOnSite","selectedDesign","theme","dont_change_homepage","template","trim_content","is_fse_active","createSite","params","authToken","providedParams","mergedParams","find_available_url","public","validate","newSite","token","receiveSite","receiveSiteFailed","receiveEmailSupportAvailability","receiveHappyChatAvailability","saveSiteTagline","reset","launchSite","SiteLaunchError","getCart","setCart","cartData","setSiteSetupError","clearSiteSetupError","initiateAtomicTransfer","software_set","AtomicTransferError","requestLatestAtomicTransfer","requestAtomicSoftwareStatus","initiateSoftwareInstall","blog_details","statusCode","isFetching","isFetchingSiteDetails","sites","ID","idToBeRemoved","remainingState","launchStatus","SiteLaunchStatus","errorCode","sitesDomains","sitesSettings","siteSetupErrors","happyChatAvailability","emailSupportAvailability","atomicTransferStatus","AtomicTransferStatus","latestAtomicTransferStatus","LatestAtomicTransferStatus","atomicSoftwareStatus","atomicSoftwareInstallStatus","AtomicSoftwareInstallStatus","getSite","dispatch","existingSite","getSiteDomains","getHappyChatAvailability","userConfiguration","getEmailSupportAvailability","getSiteSettings","getNewSite","getNewSiteError","isFetchingSite","isNewSite","URL","host","getSiteIdBySlug","getSiteVerticalId","isSiteLaunched","isSiteLaunching","isSiteAtomic","is_wpcom_atomic","isSiteWPForTeams","is_wpforteams_site","getSiteSetupError","getPrimarySiteDomain","primary_domain","getSiteSubdomain","is_subdomain","getSiteLatestAtomicTransfer","getSiteLatestAtomicTransferError","getAtomicSoftwareStatus","getAtomicSoftwareError","getAtomicSoftwareInstallError","hasActiveSiteFeature","featureKey","active","includes","hasAvailableSiteFeature","available","requiresUpgrade","isWoopFeatureActive","hasWoopFeatureAvailable","isJetpackSite","jetpack","isEligibleForProPlan","Visibility","featuresList","minSupportedPlan","store","seo","support","getAllFeatures","getRecommendedPlanSlug","selectedFeatures","allFeatures","currentMinSupportedPlan","featureMinSupportedPlan","request","resource","WPCOM_REQUEST","wpcomProxyRequest","FETCH_AND_PARSE","async","fetch","ok","json","RELOAD_PROXY","triggerReloadProxy","REQUEST_ALL_BLOGS_ACCESS","triggerRequestAllBlogsAccess","WAIT","setTimeout","CURRENCIES","AED","symbol","grouping","decimal","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MTL","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDD","SDG","SEK","SGD","SHP","SLL","SOS","SRD","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TVD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEB","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW","WON","getCurrencyDefaults","code","currencyDefaults","sign","numberFormat","regex","toFixedFix","prec","pow","number_format","_number","decimals","dec_point","thousands_sep","I18N","debug","debugFactory","decimal_point_translation_key","thousands_sep_translation_key","domain_key","translationLookup","hashCache","throwErrors","simpleArguments","normalizeTranslateArguments","original","single","getTranslationFromTannin","tannin","getTranslation","i18n","lookup","defaultLocaleSlug","defaultPluralForms","numberFormatSettings","localeSlug","localeVariant","textDirection","translations","componentUpdateHooks","translateHooks","stateObserver","configure","decPoint","decimal_point","thousandsSep","setLocale","localeData","keyHash","transform","hashLength","lookupPrefix","hash","sha1","generateLookup","variableHashLengthPos","minHashLength","maxHashLength","momentjs_locale","getLocale","getLocaleSlug","getLocaleVariant","isRtl","addTranslations","messages","hasTranslation","translation","sprintfArgs","errorMethod","components","interpolateComponents","mixedString","hook","reRenderTranslations","registerComponentUpdateHook","callback","registerTranslateHook","sep","dec","buildChildren","tokens","openComponent","openIndex","children","closeIndex","openToken","nestLevel","getCloseIndex","grandChildren","clonedOpenComponent","cloneElement","siblings","createElement","Fragment","interpolate","tokenize","identifyToken","startsWith","endsWith","proxyOrigin","origin","protocol","onStreamRecord","postStrings","postMessage","supportsFileConstructor","File","buffered","iframe","requests","supportsProgress","FormData","makeRequest","originalParams","install","uuidv4","supports_args","supports_error_obj","supports_progress","xhr","XMLHttpRequest","called","xhrOnLoad","headers","xhrOnError","addEventListener","submitRequest","rej","requestAllBlogsAccess","metaAPI","accessAllUsersBlogs","formData","chrome","getFileValue","patchFileObjects","contentWindow","isFile","fileContents","removeEventListener","onmessage","removeChild","src","style","display","appendChild","reloadProxy","onload","upload","download","callbackId","prog","dispatchEvent","onprogress","contentType","floor","WPError","formatArgs","useColors","namespace","humanize","diff","color","lastC","save","namespaces","load","process","env","DEBUG","__nwjs","navigator","userAgent","documentElement","WebkitAppearance","firebug","exception","table","$1","localstorage","destroy","colors","log","require","createDebug","prevTime","namespacesCache","enabledCache","enableOverride","enabled","self","coerce","logFn","selectColor","extend","newDebug","toNamespace","regexp","substring","default","disable","names","skips","enable","camelCase","cased","p1","getRandomValues","rnds8","rng","crypto","msCrypto","byteToHex","offset","uuid","rnds","random","_typeof","_toDate","_interopRequireDefault","_toFloat","_toInt","_toBoolean","_equals","_contains","_matches","_isEmail","_isURL","_isMACAddress","_isIP","_isIPRange","_isFQDN","_isDate","_isBoolean","_isLocale","_isAlpha","_interopRequireWildcard","_isAlphanumeric","_isNumeric","_isPassportNumber","_isPort","_isLowercase","_isUppercase","_isIMEI","_isAscii","_isFullWidth","_isHalfWidth","_isVariableWidth","_isMultibyte","_isSemVer","_isSurrogatePair","_isInt","_isFloat","_isDecimal","_isHexadecimal","_isOctal","_isDivisibleBy","_isHexColor","_isRgbColor","_isHSL","_isISRC","_isIBAN","_isBIC","_isMD","_isHash","_isJWT","_isJSON","_isEmpty","_isLength","_isByteLength","_isUUID","_isMongoId","_isAfter","_isBefore","_isIn","_isCreditCard","_isIdentityCard","_isEAN","_isISIN","_isISBN","_isISSN","_isTaxID","_isMobilePhone","_isEthereumAddress","_isCurrency","_isBtcAddress","_isISO","_isRFC","_isISO31661Alpha","_isISO31661Alpha2","_isBase","_isBase2","_isBase3","_isDataURI","_isMagnetURI","_isMimeType","_isLatLong","_isPostalCode","_ltrim","_rtrim","_trim","_escape","_unescape","_stripLow","_whitelist","_blacklist","_isWhitelisted","_normalizeEmail","_isSlug","_isStrongPassword","_isVAT","_getRequireWildcardCache","__esModule","hasPropertyDescriptor","_default","version","toDate","toFloat","toInt","toBoolean","equals","contains","matches","isEmail","isURL","isMACAddress","isIP","isIPRange","isFQDN","isIBAN","isBIC","isAlpha","isAlphaLocales","locales","isAlphanumeric","isAlphanumericLocales","isNumeric","isPassportNumber","isPort","isLowercase","isUppercase","isAscii","isFullWidth","isHalfWidth","isVariableWidth","isMultibyte","isSemVer","isInt","isIMEI","isFloat","isFloatLocales","isDecimal","isHexadecimal","isOctal","isDivisibleBy","isHexColor","isRgbColor","isHSL","isISRC","isMD5","isHash","isJWT","isJSON","isEmpty","isLength","isLocale","isByteLength","isUUID","isMongoId","isAfter","isBefore","isIn","isCreditCard","isIdentityCard","isEAN","isISIN","isISBN","isISSN","isMobilePhone","isMobilePhoneLocales","isPostalCode","isPostalCodeLocales","isEthereumAddress","isCurrency","isBtcAddress","isISO8601","isRFC3339","isISO31661Alpha2","isISO31661Alpha3","isBase32","isBase58","isBase64","isDataURI","isMagnetURI","isMimeType","isLatLong","ltrim","rtrim","stripLow","whitelist","blacklist","isWhitelisted","normalizeEmail","isSlug","isStrongPassword","isTaxID","isVAT","commaDecimal","dotDecimal","farsiLocales","arabicLocales","englishLocales","alphanumeric","alpha","ar","he","fa","_i","_locale2","_i2","_i3","_i4","chars","_assertString","elem","_merge","defaulContainsOptions","ignoreCase","_toString","comparison","_str","ignore","_alpha","ascii","isBICReg","base32","base58Reg","defaultBase64Options","urlSafe","urlSafeBase64","notBase64","firstPaddingChar","btc","min","sanitized","creditCard","digit","tmpNum","shouldDouble","sum","decimal_digits","digits_after_decimal","require_symbol","negative","whole_dollar_amount_with_sep","thousands_separator","whole_dollar_amount","decimal_amount","decimal_separator","require_decimal","pattern","allow_decimal","allow_negatives","parens_for_negatives","negative_sign_after_digits","negative_sign_before_digits","allow_negative_sign_placeholder","allow_space_after_symbol","allow_space_after_digits","symbol_after_digits","currencyRegex","default_currency_options","schemeAndMediaType","mediaType","validMediaType","validAttribute","validData","input","default_date_options","_step","formatDelimiter","delimiters","dateDelimiter","strictMode","dateAndFormat","zippedArr","zip","dateObj","_iterator","allowArrayLike","it","_unsupportedIterableToArray","F","done","_e2","normalCompletion","didErr","_e3","return","_createForOfIteratorHelper","_step$value","_arrayWithHoles","_arr","_n","_d","_e","_s","_iterableToArrayLimit","_nonIterableRest","dateWord","formatWord","getDate","minLen","_arrayLikeToArray","arr2","default_decimal_options","_includes","force_decimal","decimalRegExp","actualCheckDigit","validEanRegex","ean","remainder","char","getPositionWeightThroughLengthAndIndex","partialSum","default_email_options","require_display_name","allow_display_name","display_email","splitNameAddress","display_name","_display_email","_slicedToArray","trim_quotes","display_name_without_quotes","validateDisplayName","ignore_max_length","user","lower_domain","domain_specific_validation","username","_user_parts","gmailUserPart","require_tld","allow_ip_domain","noBracketdomain","allow_utf8_local_part","quotedEmailUserUtf8","quotedEmailUser","emailUserUtf8Part","emailUserPart","user_parts","blacklisted_chars","default_is_empty_options","ignore_whitespace","eth","default_fqdn_options","allow_trailing_dot","tld","allow_numeric_tld","allow_underscores","float","lt","gt","fullWidth","hslcomma","hslspace","halfWidth","algorithm","lengths","md5","md4","sha256","sha384","sha512","ripemd128","ripemd160","tiger128","tiger160","tiger192","crc32","crc32b","hexcolor","hexadecimal","strippedStr","isoCountryCode","ibanRegexThroughCountryCode","hasValidIbanFormat","hasValidIbanChecksum","AD","AE","AL","AT","AZ","BA","BE","BG","BH","BR","BY","CH","CR","CY","CZ","DE","DK","DO","EE","EG","ES","FI","FO","FR","GB","GE","GI","GL","GR","GT","HR","HU","IE","IL","IQ","IR","IS","IT","JO","KW","KZ","LB","LC","LI","LT","LU","LV","MC","MD","ME","MK","MR","MT","MU","NL","NO","PK","PL","PS","PT","QA","RO","RS","SA","SC","SE","SI","SK","SM","SV","TL","TN","TR","UA","VA","VG","XK","imeiRegex","imeiRegexWithoutHypens","allow_hyphens","imeiRegexWithHypens","mul","tp","ipv4Maybe","addressAndZone","blocks","foundOmissionBlock","foundIPv4TransitionBlock","expectedNumberOfBlocks","ipv6Block","subnetMaybe","checksum","isbn10Maybe","isbn13Maybe","factor","isin","checksumStr","character","validISO31661Alpha2CountriesCodes","validISO31661Alpha3CountriesCodes","check","strictSeparator","iso8601StrictSeparator","iso8601","strict","isValidDate","ordinalMatch","oYear","oDay","year","month","day","monthString","dayString","getUTCFullYear","getUTCMonth","getUTCDate","isrc","testIssn","issn","require_hyphen","case_sensitive","digits","validators","charsValue","X","Y","Z","IN","k1","k2","incNum","idCardNo","provincesAndCities","powers","parityBit","checkAddressCode","addressCode","checkBirthDayCode","birDayCode","yyyy","mm","dd","xdata","getFullYear","getMonth","checkParityBit","id17","power","getParityBit","check15IdCardNo","check18IdCardNo","ALPHABET_CODES","A","B","C","D","E","G","H","I","J","K","L","M","N","P","Q","S","T","U","V","allow_leading_zeroes","int","intLeadingZeroes","minCheckPassed","maxCheckPassed","ltCheckPassed","gtCheckPassed","default_json_options","primitives","allow_primitives","dotSplit","currElem","defaultLatLongOptions","pair","checkDMS","latDMS","longDMS","lat","surrogatePairs","localeReg","no_colons","macAddressNoColons","macAddress","macAddressWithHyphen","macAddressWithSpaces","macAddressWithDots","magnetURI","mimeTypeSimple","mimeTypeText","mimeTypeMultipart","phones","multibyte","no_symbols","numericNoSymbols","octal","countryCode","normalizedStr","passportRegexByCountryCode","AM","AR","AU","CA","CN","DZ","JP","KR","PO","RU","SL","US","patterns","fourDigit","fiveDigit","sixDigit","HT","KE","MX","MY","NP","NZ","PR","SG","TH","TW","ZA","ZM","rfc3339","timeHour","timeMinute","timeNumOffset","timeOffset","partialTime","fullDate","fullTime","includePercentValues","rgbColor","rgbaColor","rgbColorPercent","rgbaColorPercent","semanticVersioningRegex","charsetRegex","analysis","analyzePassword","defaultOptions","returnScore","scorePassword","minLength","lowercaseCount","minLowercase","uppercaseCount","minUppercase","numberCount","minNumbers","symbolCount","minSymbols","upperCaseRegex","lowerCaseRegex","numberRegex","symbolRegex","pointsPerUnique","pointsPerRepeat","pointsForContainingLower","pointsForContainingUpper","pointsForContainingNumber","pointsForContainingSymbol","password","charMap","uniqueChars","scoringOptions","points","surrogatePair","strcopy","taxIdFormat","sanitizeRegexes","taxIdCheck","algorithms","_toConsumableArray","_arrayWithoutHoles","iter","_iterableToArray","_nonIterableSpread","enUsCampusPrefix","andover","atlanta","austin","brookhaven","cincinnati","fresno","internet","kansas","memphis","ogden","philadelphia","sba","itItNameCheck","vowelflag","xflag","tin","century_year","multip_lookup","full_year","checkdigit","luhnCheck","occurences","trip_locations","recurrent","iso7064Check","weight","reverseMultiplyAndSum","prefixes","enUsGetPrefixes","lead_replace","checkdigits","verhoeffCheck","number_replace","_number_locations","_i5","char_to_int","odd_convert","_i6","_char_to_int","multiplier","first_part","_checksum","_i7","multipliers","tin_copy","current_year","current_century","allsymbols","default_url_options","validate_length","auth","hostname","port","port_str","ipv6","require_valid_protocol","protocols","require_protocol","allow_protocol_relative_urls","require_host","disallow_auth","ipv6_match","wrapped_ipv6","require_port","host_whitelist","checkHost","host_blacklist","all","vatMatchers","modifiers","email","default_normalize_email_options","raw_parts","gmail_remove_subaddress","gmail_remove_dots","dotsReplacer","all_lowercase","gmail_lowercase","gmail_convert_googlemaildotcom","icloud_domains","icloud_remove_subaddress","icloud_lowercase","outlookdotcom_domains","outlookdotcom_remove_subaddress","outlookdotcom_lowercase","yahoo_domains","yahoo_remove_subaddress","yahoo_lowercase","yandex_domains","yandex_lowercase","keep_new_lines","NaN","radix","checkvalue","second","d_table","p_table","str_copy","invalidType","arrVal","flags","regexpAsStringLiteral","uppercamelcase","statusCodes","setStatusCode","status_code","toName","error_description","errors","setStatusCodeMessage","extended","captureStackTrace","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","definition"],"sourceRoot":""}
 
common/dist/{data-stores.js → data-stores.min.js} RENAMED
@@ -1,4 +1,4 @@
1
- !function(){var e={7266:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(5854),o=r(730);function i(e){var t=(0,n.Z)(e);return function(e){return(0,o.Z)(t,e)}}},730:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,r){if(e)throw t;return r}};function o(e,t){var r,o,i,a,u,s,l=[];for(r=0;r<e.length;r++){if(u=e[r],a=n[u]){for(o=a.length,i=Array(o);o--;)i[o]=l.pop();try{s=a.apply(null,i)}catch(c){return c}}else s=t.hasOwnProperty(u)?t[u]:+u;l.push(s)}return l[0]}},1184:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(7266);function o(e){var t=(0,n.Z)(e);return function(e){return+t({n:e})}}},5854:function(e,t,r){"use strict";var n,o,i,a;function u(e){for(var t,r,u,s,l=[],c=[];t=e.match(a);){for(r=t[0],(u=e.substr(0,t.index).trim())&&l.push(u);s=c.pop();){if(i[r]){if(i[r][0]===s){r=i[r][1]||r;break}}else if(o.indexOf(s)>=0||n[s]<n[r]){c.push(s);break}l.push(s)}i[r]||c.push(r),e=e.substr(t.index+r.length)}return(e=e.trim())&&l.push(e),l.concat(c.reverse())}r.d(t,{Z:function(){return u}}),n={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],i={")":["("],":":["?","?:"]},a=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},6668:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function o(e,t){var r;if(!Array.isArray(t))for(t=new Array(arguments.length-1),r=1;r<arguments.length;r++)t[r-1]=arguments[r];return r=1,e.replace(n,(function(){var e,n,o,i,a;return e=arguments[3],n=arguments[5],"%"===(i=arguments[9])?"%":("*"===(o=arguments[7])&&(o=t[r-1],r++),void 0!==n?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(n)&&(a=t[0][n]):(void 0===e&&(e=r),r++,a=t[e-1]),"f"===i?a=parseFloat(a)||0:"d"===i&&(a=parseInt(a)||0),void 0!==o&&("f"===i?a=a.toFixed(o):"s"===i&&(a=a.substr(0,o))),null!=a?a:"")}))}},6744:function(e){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},2680:function(e,t,r){"use strict";var n=r(7286),o=r(9429),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o(r):r}},9429:function(e,t,r){"use strict";var n=r(4090),o=r(7286),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||n.call(a,i),s=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(d){l=null}e.exports=function(e){var t=u(n,a,arguments);if(s&&l){var r=s(t,"length");r.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var f=function(){return u(n,i,arguments)};l?l(e.exports,"apply",{value:f}):e.exports.apply=f},5881:function(e){var t=1e3,r=60*t,n=60*r,o=24*n,i=7*o,a=365.25*o;function u(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,s){s=s||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!u)return;var s=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*a;case"weeks":case"week":case"w":return s*i;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*n;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&isFinite(e))return s.long?function(e){var i=Math.abs(e);if(i>=o)return u(e,i,o,"day");if(i>=n)return u(e,i,n,"hour");if(i>=r)return u(e,i,r,"minute");if(i>=t)return u(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=n)return Math.round(e/n)+"h";if(i>=r)return Math.round(e/r)+"m";if(i>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},2699:function(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function o(){void 0!==i&&e.removeListener("error",i),r([].slice.call(arguments))}var i;"error"!==t&&(i=function(r){e.removeListener(t,o),n(r)},e.once("error",i)),e.once(t,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function s(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var o,i,a,l;if(u(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=s(e))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=c.bind(n);return o.listener=r,n.wrapFn=o,o}function d(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):y(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function y(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return s(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)n(s,this,t);else{var l=s.length,c=y(s,l);for(r=0;r<l;++r)n(c[r],this,t)}return!0},i.prototype.addListener=function(e,t){return l(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return l(this,e,t,!0)},i.prototype.once=function(e,t){return u(t),this.on(e,f(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,f(this,e,t)),this},i.prototype.removeListener=function(e,t){var r,n,o,i,a;if(u(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return d(this,e,!0)},i.prototype.rawListeners=function(e){return d(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},i.prototype.listenerCount=p,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},5695:function(e){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(r=t.cmp,function(e){return function(t,n){var o={key:t,value:e[t]},i={key:n,value:e[n]};return r(o,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,a;if(Array.isArray(t)){for(a="[",r=0;r<t.length;r++)r&&(a+=","),a+=e(t[r])||"null";return a+"]"}if(null===t)return"null";if(-1!==i.indexOf(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=i.push(t)-1,s=Object.keys(t).sort(o&&o(t));for(a="",r=0;r<s.length;r++){var l=s[r],c=e(t[l]);c&&(a&&(a+=","),a+=JSON.stringify(l)+":"+c)}return i.splice(u,1),"{"+a+"}"}}(e)}},7795:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||n.call(i)!==o)throw new TypeError(t+i);for(var a,u=r.call(arguments,1),s=function(){if(this instanceof a){var t=i.apply(this,u.concat(r.call(arguments)));return Object(t)===t?t:this}return i.apply(e,u.concat(r.call(arguments)))},l=Math.max(0,i.length-u.length),c=[],f=0;f<l;f++)c.push("$"+f);if(a=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s),i.prototype){var d=function(){};d.prototype=i.prototype,a.prototype=new d,d.prototype=null}return a}},4090:function(e,t,r){"use strict";var n=r(7795);e.exports=Function.prototype.bind||n},7286:function(e,t,r){"use strict";var n,o=SyntaxError,i=Function,a=TypeError,u=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(T){s=null}var l=function(){throw new a},c=s?function(){try{return l}catch(e){try{return s(arguments,"callee").get}catch(t){return l}}}():l,f=r(2636)(),d=Object.getPrototypeOf||function(e){return e.__proto__},p={},y="undefined"==typeof Uint8Array?n:d(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f?d([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?d(d([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?d((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?d((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?d(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=u("async function () {}");else if("%GeneratorFunction%"===t)r=u("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=u("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=d(o.prototype))}return g[t]=r,r},h={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=r(4090),S=r(3198),_=v.call(Function.call,Array.prototype.concat),b=v.call(Function.apply,Array.prototype.splice),A=v.call(Function.call,String.prototype.replace),E=v.call(Function.call,String.prototype.slice),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,P=function(e){var t=E(e,0,1),r=E(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return A(e,I,(function(e,t,r,o){n[n.length]=r?A(o,C,"$1"):t||e})),n},O=function(e,t){var r,n=e;if(S(h,n)&&(n="%"+(r=h[n])[0]+"%"),S(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=P(e),n=r.length>0?r[0]:"",i=O("%"+n+"%",t),u=i.name,l=i.value,c=!1,f=i.alias;f&&(n=f[0],b(r,_([0,1],f)));for(var d=1,p=!0;d<r.length;d+=1){var y=r[d],m=E(y,0,1),h=E(y,-1);if(('"'===m||"'"===m||"`"===m||'"'===h||"'"===h||"`"===h)&&m!==h)throw new o("property names with quotes must have matching quotes");if("constructor"!==y&&p||(c=!0),S(g,u="%"+(n+="."+y)+"%"))l=g[u];else if(null!=l){if(!(y in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&d+1>=r.length){var v=s(l,y);l=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:l[y]}else p=S(l,y),l=l[y];p&&!c&&(g[u]=l)}}return l}},2636:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(6679);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},6679:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},3198:function(e,t,r){"use strict";var n=r(4090);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},4495:function(e,t,r){"use strict";var n=r(212),o=r(9561);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var o=1;o<r;o++)n[o]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)n[o++]=0;n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=e>>>24&255,n[o++]=e>>>16&255,n[o++]=e>>>8&255,n[o++]=255&e}else for(n[o++]=255&e,n[o++]=e>>>8&255,n[o++]=e>>>16&255,n[o++]=e>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,i=8;i<this.padLength;i++)n[o++]=0;return n}},5079:function(e,t,r){"use strict";var n=r(212),o=r(4495),i=r(713),a=n.rotl32,u=n.sum32,s=n.sum32_5,l=i.ft_1,c=o.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(d,c),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var o=this.h[0],i=this.h[1],c=this.h[2],d=this.h[3],p=this.h[4];for(n=0;n<r.length;n++){var y=~~(n/20),g=s(a(o,5),l(y,i,c,d),p,r[n],f[y]);p=d,d=c,c=a(i,30),i=o,o=g}this.h[0]=u(this.h[0],o),this.h[1]=u(this.h[1],i),this.h[2]=u(this.h[2],c),this.h[3]=u(this.h[3],d),this.h[4]=u(this.h[4],p)},d.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},713:function(e,t,r){"use strict";var n=r(212).rotr32;function o(e,t,r){return e&t^~e&r}function i(e,t,r){return e&t^e&r^t&r}function a(e,t,r){return e^t^r}t.ft_1=function(e,t,r,n){return 0===e?o(t,r,n):1===e||3===e?a(t,r,n):2===e?i(t,r,n):void 0},t.ch32=o,t.maj32=i,t.p32=a,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},212:function(e,t,r){"use strict";var n=r(9561),o=r(1285);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function u(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)r.push(parseInt(e[o]+e[o+1],16))}else for(var n=0,o=0;o<e.length;o++){var a=e.charCodeAt(o);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):i(e,o)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++o)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(o=0;o<e.length;o++)r[o]=0|e[o];return r},t.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=u(e[r].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e[n];"little"===t&&(o=a(o)),r+=s(o.toString(16))}return r},t.zero2=u,t.zero8=s,t.join32=function(e,t,r,o){var i=r-t;n(i%4==0);for(var a=new Array(i/4),u=0,s=t;u<a.length;u++,s+=4){var l;l="big"===o?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],a[u]=l>>>0}return a},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,o=0;n<e.length;n++,o+=4){var i=e[n];"big"===t?(r[o]=i>>>24,r[o+1]=i>>>16&255,r[o+2]=i>>>8&255,r[o+3]=255&i):(r[o+3]=i>>>24,r[o+2]=i>>>16&255,r[o+1]=i>>>8&255,r[o]=255&i)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,o){return e+t+r+n+o>>>0},t.sum64=function(e,t,r,n){var o=e[t],i=n+e[t+1]>>>0,a=(i<n?1:0)+r+o;e[t]=a>>>0,e[t+1]=i},t.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,o,i,a,u){var s=0,l=t;return s+=(l=l+n>>>0)<t?1:0,s+=(l=l+i>>>0)<i?1:0,e+r+o+a+(s+=(l=l+u>>>0)<u?1:0)>>>0},t.sum64_4_lo=function(e,t,r,n,o,i,a,u){return t+n+i+u>>>0},t.sum64_5_hi=function(e,t,r,n,o,i,a,u,s,l){var c=0,f=t;return c+=(f=f+n>>>0)<t?1:0,c+=(f=f+i>>>0)<i?1:0,c+=(f=f+u>>>0)<u?1:0,e+r+o+a+s+(c+=(f=f+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,r,n,o,i,a,u,s,l){return t+n+i+u+l>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},1285:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},7839:function(e,t,r){var n=r(2699),o=r(1285);function i(e){if(!(this instanceof i))return new i(e);"number"==typeof e&&(e={max:e}),e||(e={}),n.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=i,o(i,n.EventEmitter),Object.defineProperty(i.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),i.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},i.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},i.prototype._unlink=function(e,t,r){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=r,this.cache[this.tail].prev=null):(this.cache[t].next=r,this.cache[r].prev=t)},i.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},i.prototype.set=function(e,t){var r;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((r=this.cache[e]).value=t,this.maxAge&&(r.modified=Date.now()),e===this.head)return t;this._unlink(e,r.prev,r.next)}else r={value:t,modified:0,next:null,prev:null},this.maxAge&&(r.modified=Date.now()),this.cache[e]=r,this.length===this.max&&this.evict();return this.length++,r.next=null,r.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},i.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},i.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},i.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},9561:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},9500:function(e,t,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,u="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=u&&s&&"function"==typeof s.get?s.get:null,c=u&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,h=String.prototype.match,v="function"==typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,b="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A=Object.prototype.propertyIsEnumerable,E=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),I=r(3260).custom,C=I&&w(I)?I:null,P="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function O(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function T(e){return String(e).replace(/"/g,"&quot;")}function M(e){return!("[object Array]"!==$(e)||P&&"object"==typeof e&&P in e)}function w(e){if(b)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,n,o){var u=r||{};if(L(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(L(u,"maxStringLength")&&("number"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=!L(u,"customInspect")||u.customInspect;if("boolean"!=typeof s&&"symbol"!==s)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(L(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return x(t,u);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var g=void 0===u.depth?5:u.depth;if(void 0===n&&(n=0),n>=g&&g>0&&"object"==typeof t)return M(t)?"[Array]":"[Object]";var S=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=Array(e.indent+1).join(" ")}return{base:r,prev:Array(t+1).join(r)}}(u,n);if(void 0===o)o=[];else if(F(o,t)>=0)return"[Circular]";function A(t,r,i){if(r&&(o=o.slice()).push(r),i){var a={depth:u.depth};return L(u,"quoteStyle")&&(a.quoteStyle=u.quoteStyle),e(t,a,n+1,o)}return e(t,u,n+1,o)}if("function"==typeof t){var I=function(e){if(e.name)return e.name;var t=h.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),R=B(t,A);return"[Function"+(I?": "+I:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(w(t)){var N=b?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):_.call(t);return"object"!=typeof t||b?N:D(N)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var k="<"+String(t.nodeName).toLowerCase(),G=t.attributes||[],H=0;H<G.length;H++)k+=" "+G[H].name+"="+O(T(G[H].value),"double",u);return k+=">",t.childNodes&&t.childNodes.length&&(k+="..."),k+="</"+String(t.nodeName).toLowerCase()+">"}if(M(t)){if(0===t.length)return"[]";var V=B(t,A);return S&&!function(e){for(var t=0;t<e.length;t++)if(F(e[t],"\n")>=0)return!1;return!0}(V)?"["+Z(V,S)+"]":"[ "+V.join(", ")+" ]"}if(function(e){return!("[object Error]"!==$(e)||P&&"object"==typeof e&&P in e)}(t)){var W=B(t,A);return 0===W.length?"["+String(t)+"]":"{ ["+String(t)+"] "+W.join(", ")+" }"}if("object"==typeof t&&s){if(C&&"function"==typeof t[C])return t[C]();if("symbol"!==s&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{l.call(e)}catch(k){return!0}return e instanceof Map}catch(t){}return!1}(t)){var Y=[];return a.call(t,(function(e,r){Y.push(A(r,t,!0)+" => "+A(e,t))})),U("Map",i.call(t),Y,S)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(r){}return!1}(t)){var K=[];return c.call(t,(function(e){K.push(A(e,t))})),U("Set",l.call(t),K,S)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(k){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return j("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(k){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return j("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(t){}return!1}(t))return j("WeakRef");if(function(e){return!("[object Number]"!==$(e)||P&&"object"==typeof e&&P in e)}(t))return D(A(Number(t)));if(function(e){if(!e||"object"!=typeof e||!v)return!1;try{return v.call(e),!0}catch(t){}return!1}(t))return D(A(v.call(t)));if(function(e){return!("[object Boolean]"!==$(e)||P&&"object"==typeof e&&P in e)}(t))return D(y.call(t));if(function(e){return!("[object String]"!==$(e)||P&&"object"==typeof e&&P in e)}(t))return D(A(String(t)));if(!function(e){return!("[object Date]"!==$(e)||P&&"object"==typeof e&&P in e)}(t)&&!function(e){return!("[object RegExp]"!==$(e)||P&&"object"==typeof e&&P in e)}(t)){var z=B(t,A),q=E?E(t)===Object.prototype:t instanceof Object||t.constructor===Object,J=t instanceof Object?"":"null prototype",X=!q&&P&&Object(t)===t&&P in t?$(t).slice(8,-1):J?"Object":"",Q=(q||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(X||J?"["+[].concat(X||[],J||[]).join(": ")+"] ":"");return 0===z.length?Q+"{}":S?Q+"{"+Z(z,S)+"}":Q+"{ "+z.join(", ")+" }"}return String(t)};var R=Object.prototype.hasOwnProperty||function(e){return e in this};function L(e,t){return R.call(e,t)}function $(e){return g.call(e)}function F(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function x(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return x(e.slice(0,t.maxStringLength),t)+n}return O(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,N),"single",t)}function N(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function D(e){return"Object("+e+")"}function j(e){return e+" { ? }"}function U(e,t,r,n){return e+" ("+t+") {"+(n?Z(r,n):r.join(", "))+"}"}function Z(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+e.join(","+r)+"\n"+t.prev}function B(e,t){var r=M(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=L(e,o)?t(e[o],e):""}var i,a="function"==typeof S?S(e):[];if(b){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var s in e)L(e,s)&&(r&&String(Number(s))===s&&s<e.length||b&&i["$"+s]instanceof Symbol||(/[^\w$]/.test(s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e))));if("function"==typeof S)for(var l=0;l<a.length;l++)A.call(e,a[l])&&n.push("["+t(a[l])+"]: "+t(e[a[l]],e));return n}},8650:function(e){var t,r=window.ProgressEvent,n=!!r;try{t=new r("loaded"),n="loaded"===t.type,t=null}catch(o){n=!1}e.exports=n?r:"function"==typeof document.createEvent?function(e,t){var r=document.createEvent("Event");return r.initEvent(e,!1,!1),t?(r.lengthComputable=Boolean(t.lengthComputable),r.loaded=Number(t.loaded)||0,r.total=Number(t.total)||0):(r.lengthComputable=!1,r.loaded=r.total=0),r}:function(e,t){var r=document.createEventObject();return r.type=e,t?(r.lengthComputable=Boolean(t.lengthComputable),r.loaded=Number(t.loaded)||0,r.total=Number(t.total)||0):(r.lengthComputable=!1,r.loaded=r.total=0),r}},5527:function(e){"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:n,RFC3986:o}},9126:function(e,t,r){"use strict";var n=r(6845),o=r(9166),i=r(5527);e.exports={formats:i,parse:o,stringify:n}},9166:function(e,t,r){"use strict";var n=r(2493),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},u=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,u=r.depth>0&&/(\[[^[\]]*])/.exec(i),l=u?i.slice(0,u.index):i,c=[];if(l){if(!r.plainObjects&&o.call(Object.prototype,l)&&!r.allowPrototypes)return;c.push(l)}for(var f=0;r.depth>0&&null!==(u=a.exec(i))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,u[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(u[1])}return u&&c.push("["+i.slice(u.index)+"]"),function(e,t,r,n){for(var o=n?t:s(t,r),i=e.length-1;i>=0;--i){var a,u=e[i];if("[]"===u&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var l="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,c=parseInt(l,10);r.parseArrays||""!==l?!isNaN(c)&&u!==l&&String(c)===l&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=o:"__proto__"!==l&&(a[l]=o):a={0:o}}o=a}return o}(c,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var r,l={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=c.split(t.delimiter,f),p=-1,y=t.charset;if(t.charsetSentinel)for(r=0;r<d.length;++r)0===d[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[r]?y="utf-8":"utf8=%26%2310003%3B"===d[r]&&(y="iso-8859-1"),p=r,r=d.length);for(r=0;r<d.length;++r)if(r!==p){var g,m,h=d[r],v=h.indexOf("]="),S=-1===v?h.indexOf("="):v+1;-1===S?(g=t.decoder(h,a.decoder,y,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(h.slice(0,S),a.decoder,y,"key"),m=n.maybeMap(s(h.slice(S+1),t),(function(e){return t.decoder(e,a.decoder,y,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===y&&(m=u(m)),h.indexOf("[]=")>-1&&(m=i(m)?[m]:m),o.call(l,g)?l[g]=n.combine(l[g],m):l[g]=m}return l}(e,r):e,f=r.plainObjects?Object.create(null):{},d=Object.keys(c),p=0;p<d.length;++p){var y=d[p],g=l(y,c[y],r,"string"==typeof e);f=n.merge(f,g,r)}return!0===r.allowSparse?f:n.compact(f)}},6845:function(e,t,r){"use strict";var n=r(4294),o=r(2493),i=r(5527),a=Object.prototype.hasOwnProperty,u={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=String.prototype.split,c=Array.prototype.push,f=function(e,t){c.apply(e,s(t)?t:[t])},d=Date.prototype.toISOString,p=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},g={},m=function e(t,r,i,a,u,c,d,p,m,h,v,S,_,b,A){for(var E,I=t,C=A,P=0,O=!1;void 0!==(C=C.get(g))&&!O;){var T=C.get(t);if(P+=1,void 0!==T){if(T===P)throw new RangeError("Cyclic object value");O=!0}void 0===C.get(g)&&(P=0)}if("function"==typeof d?I=d(r,I):I instanceof Date?I=h(I):"comma"===i&&s(I)&&(I=o.maybeMap(I,(function(e){return e instanceof Date?h(e):e}))),null===I){if(a)return c&&!_?c(r,y.encoder,b,"key",v):r;I=""}if("string"==typeof(E=I)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||o.isBuffer(I)){if(c){var M=_?r:c(r,y.encoder,b,"key",v);if("comma"===i&&_){for(var w=l.call(String(I),","),R="",L=0;L<w.length;++L)R+=(0===L?"":",")+S(c(w[L],y.encoder,b,"value",v));return[S(M)+"="+R]}return[S(M)+"="+S(c(I,y.encoder,b,"value",v))]}return[S(r)+"="+S(String(I))]}var $,F=[];if(void 0===I)return F;if("comma"===i&&s(I))$=[{value:I.length>0?I.join(",")||null:void 0}];else if(s(d))$=d;else{var x=Object.keys(I);$=p?x.sort(p):x}for(var N=0;N<$.length;++N){var D=$[N],j="object"==typeof D&&void 0!==D.value?D.value:I[D];if(!u||null!==j){var U=s(I)?"function"==typeof i?i(r,D):r:r+(m?"."+D:"["+D+"]");A.set(t,P);var Z=n();Z.set(g,A),f(F,e(j,U,i,a,u,c,d,p,m,h,v,S,_,b,Z))}}return F};e.exports=function(e,t){var r,o=e,l=function(e){if(!e)return y;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||y.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=i.formatters[r],o=y.filter;return("function"==typeof e.filter||s(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===e.allowDots?y.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:y.charsetSentinel,delimiter:void 0===e.delimiter?y.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:y.encode,encoder:"function"==typeof e.encoder?e.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:y.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:y.strictNullHandling}}(t);"function"==typeof l.filter?o=(0,l.filter)("",o):s(l.filter)&&(r=l.filter);var c,d=[];if("object"!=typeof o||null===o)return"";c=t&&t.arrayFormat in u?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=u[c];r||(r=Object.keys(o)),l.sort&&r.sort(l.sort);for(var g=n(),h=0;h<r.length;++h){var v=r[h];l.skipNulls&&null===o[v]||f(d,m(o[v],v,p,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,g))}var S=d.join(l.delimiter),_=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),S.length>0?_+S:""}},2493:function(e,t,r){"use strict";var n=r(5527),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),u=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:u,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],a=o.obj[o.prop],u=Object.keys(a),s=0;s<u.length;++s){var l=u[s],c=a[l];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:a,prop:l}),r.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(o){return n}},encode:function(e,t,r,o,i){if(0===e.length)return e;var u=e;if("symbol"==typeof e?u=Symbol.prototype.toString.call(e):"string"!=typeof e&&(u=String(e)),"iso-8859-1"===r)return escape(u).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",l=0;l<u.length;++l){var c=u.charCodeAt(l);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===n.RFC1738&&(40===c||41===c)?s+=u.charAt(l):c<128?s+=a[c]:c<2048?s+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?s+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&u.charCodeAt(l)),s+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(i(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return i(t)&&!i(r)&&(a=u(t,n)),i(t)&&i(r)?(r.forEach((function(r,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&r&&"object"==typeof r?t[i]=e(a,r,n):t.push(r)}else t[i]=r})),t):Object.keys(r).reduce((function(t,i){var a=r[i];return o.call(t,i)?t[i]=e(t[i],a,n):t[i]=a,t}),a)}}},4294:function(e,t,r){"use strict";var n=r(7286),o=r(2680),i=r(9500),a=n("%TypeError%"),u=n("%WeakMap%",!0),s=n("%Map%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),p=o("Map.prototype.set",!0),y=o("Map.prototype.has",!0),g=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return l(e,n)}else if(s){if(t)return d(t,n)}else if(r)return function(e,t){var r=g(e,t);return r&&r.value}(r,n)},has:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return f(e,n)}else if(s){if(t)return y(t,n)}else if(r)return function(e,t){return!!g(e,t)}(r,n);return!1},set:function(n,o){u&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new u),c(e,n,o)):s?(t||(t=new s),p(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=g(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},9830:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1184),o={contextDelimiter:"",onMissingKey:null};function i(e,t){var r;for(r in this.data=e,this.pluralForms={},this.options={},o)this.options[r]=void 0!==t&&r in t?t[r]:o[r]}i.prototype.getPluralForm=function(e,t){var r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(i=(r=this.data[e][""])["Plural-Forms"]||r["plural-forms"]||r.plural_forms)&&(o=function(e){var t,r,n;for(t=e.split(";"),r=0;r<t.length;r++)if(0===(n=t[r].trim()).indexOf("plural="))return n.substr(7)}(r["Plural-Forms"]||r["plural-forms"]||r.plural_forms),i=(0,n.Z)(o)),a=this.pluralForms[e]=i),a(t)},i.prototype.dcnpgettext=function(e,t,r,n,o){var i,a,u;return i=void 0===o?0:this.getPluralForm(e,o),a=r,t&&(a=t+this.options.contextDelimiter+r),(u=this.data[e][a])&&u[i]?u[i]:(this.options.onMissingKey&&this.options.onMissingKey(r,e),0===i?r:n)}},6274:function(e,t,r){"use strict";r(8077).z2()},5608:function(e,t,r){"use strict";r(1635).z()},3857:function(e,t,r){"use strict";r(9734).register()},561:function(e,t,r){"use strict";r(2369).z2({client_id:"",client_secret:""})},9512:function(e,t,r){"use strict";r(182).z()},3600:function(e,t,r){"use strict";r.r(t),r.d(t,{receiveCategories:function(){return n},fetchDomainSuggestions:function(){return o},receiveDomainAvailability:function(){return i},receiveDomainSuggestionsSuccess:function(){return a},receiveDomainSuggestionsError:function(){return u}});const n=e=>({type:"RECEIVE_CATEGORIES",categories:e}),o=()=>({type:"FETCH_DOMAIN_SUGGESTIONS",timeStamp:Date.now()}),i=(e,t)=>({type:"RECEIVE_DOMAIN_AVAILABILITY",domainName:e,availability:t}),a=(e,t)=>({type:"RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS",queryObject:e,suggestions:t,timeStamp:Date.now()}),u=e=>({type:"RECEIVE_DOMAIN_SUGGESTIONS_ERROR",errorMessage:e,timeStamp:Date.now()})},584:function(e,t,r){"use strict";r.d(t,{L:function(){return n},r:function(){return o}});const n="automattic/domains/suggestions";let o;!function(e){e.Failure="failure",e.Pending="pending",e.Success="success",e.Uninitialized="uninitialized"}(o||(o={}))},8077:function(e,t,r){"use strict";r.d(t,{z2:function(){return f}});var n=r(9818),o=r(3661),i=r(3600),a=r(584),u=r(3717),s=r(2269),l=r(267);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.L,{actions:i,controls:o.ai,reducer:u.Z,resolvers:s,selectors:l})),a.L}},3717:function(e,t,r){"use strict";var n=r(9818),o=r(584),i=r(4211);const a={state:o.r.Uninitialized,data:{},errorMessage:null,lastUpdated:-1/0,pendingSince:void 0},u=(0,n.combineReducers)({categories:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_CATEGORIES"===t.type?t.categories:e},domainSuggestions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;return"FETCH_DOMAIN_SUGGESTIONS"===t.type?{...e,state:o.r.Pending,errorMessage:null,pendingSince:t.timeStamp}:"RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS"===t.type?{...e,state:o.r.Success,data:{...e.data,[(0,i.Le)(t.queryObject)]:t.suggestions},errorMessage:null,lastUpdated:t.timeStamp,pendingSince:void 0}:"RECEIVE_DOMAIN_SUGGESTIONS_ERROR"===t.type?{...e,state:o.r.Failure,errorMessage:t.errorMessage,lastUpdated:t.timeStamp,pendingSince:void 0}:e},availability:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_DOMAIN_AVAILABILITY"===t.type?{...e,[t.domainName]:t.availability}:e}});t.Z=u},2269:function(e,t,r){"use strict";r.r(t),r.d(t,{isAvailable:function(){return c},getCategories:function(){return f},__internalGetDomainSuggestions:function(){return d}});var n=r(1481),o=r(9126),i=r(6468),a=r.n(i),u=r(3661),s=r(3600),l=r(4211);const c=function*(e){const t=function(e){return`https://public-api.wordpress.com/rest/v1.3/domains/${encodeURIComponent(e)}/is-available?is_cart_pre_check=true`}(e);try{const{body:r}=yield(0,u.An)(t);return(0,s.receiveDomainAvailability)(e,r)}catch{return(0,s.receiveDomainAvailability)(e,{domain_name:e,mappable:"unknown",status:"unknown",supports_privacy:!1})}};function*f(){const{body:e}=yield(0,u.An)("https://public-api.wordpress.com/wpcom/v2/onboarding/domains/categories");return(0,s.receiveCategories)(e)}function*d(e){if(!e.query)return(0,s.receiveDomainSuggestionsError)("Empty query");yield(0,s.fetchDomainSuggestions)();try{const t=yield(0,u._9)({apiVersion:"1.1",path:"/domains/suggestions",query:(0,o.stringify)(e)});if(!Array.isArray(t))return(0,s.receiveDomainSuggestionsError)((0,n.Iu)("Invalid response from the server"));if(function(e,t){return a().isFQDN(t)&&!e.some((e=>e.domain_name.toLowerCase()===t))}(t,e.query)){const r={domain_name:e.query,unavailable:!0,cost:"",raw_price:0,currency_code:""};t.unshift(r)}const r=t.map((e=>e.unavailable?e:{...e,...e.raw_price&&e.currency_code&&{cost:(0,l._B)(e.raw_price,e.currency_code)}}));return(0,s.receiveDomainSuggestionsSuccess)(e,r)}catch(t){return(0,s.receiveDomainSuggestionsError)(t.message||(0,n.Iu)("Error while fetching server response"))}}},267:function(e,t,r){"use strict";r.r(t),r.d(t,{getCategories:function(){return a},getDomainSuggestions:function(){return u},getDomainState:function(){return s},getDomainErrorMessage:function(){return l},isLoadingDomainSuggestions:function(){return c},__internalGetDomainSuggestions:function(){return f},isAvailable:function(){return d},getDomainAvailabilities:function(){return p}});var n=r(9818),o=r(584),i=r(4211);const a=e=>[...e.categories.filter((e=>{let{tier:t}=e;return null!==t})).sort(((e,t)=>e>t?1:-1)),...e.categories.filter((e=>{let{tier:t}=e;return null===t})).sort(((e,t)=>e.title.localeCompare(t.title)))],u=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(0,i.o0)(t,r);return(0,n.select)(o.L).__internalGetDomainSuggestions(a)},s=e=>e.domainSuggestions.state,l=e=>e.domainSuggestions.errorMessage,c=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(0,i.o0)(t,r);return(0,n.select)("core/data").isResolving(o.L,"__internalGetDomainSuggestions",[a])},f=(e,t)=>e.domainSuggestions.data[(0,i.Le)(t)],d=(e,t)=>e.availability[t],p=e=>e.availability},4211:function(e,t,r){"use strict";r.d(t,{Le:function(){return i},_B:function(){return a},o0:function(){return u}});var n=r(2645),o=r(5695);const i=r.n(o)();function a(e,t){return(0,n.ZP)(e,t,{stripZeros:!0})}function u(e,t){return{include_wordpressdotcom:t.only_wordpressdotcom||!1,include_dotblogsubdomain:!1,only_wordpressdotcom:!1,quantity:5,vendor:"variation2_front",...t,query:e.trim().toLocaleLowerCase()}}},6108:function(e,t,r){"use strict";r.r(t),r.d(t,{setSidebarFullscreen:function(){return i},unsetSidebarFullscreen:function(){return a},setStep:function(){return u},setSiteTitle:function(){return s},setDomain:function(){return l},unsetDomain:function(){return c},confirmDomainSelection:function(){return f},setDomainSearch:function(){return d},setPlanProductId:function(){return p},unsetPlanProductId:function(){return y},updatePlan:function(){return g},openSidebar:function(){return m},closeSidebar:function(){return h},openFocusedLaunch:function(){return v},closeFocusedLaunch:function(){return S},enableAnchorFm:function(){return _},showSiteTitleStep:function(){return b},setModalDismissible:function(){return A},unsetModalDismissible:function(){return E},showModalTitle:function(){return I},hideModalTitle:function(){return C},enablePersistentSuccessView:function(){return P},disablePersistentSuccessView:function(){return O}});var n=r(9818),o=r(9149);const i=()=>({type:"SET_SIDEBAR_FULLSCREEN"}),a=()=>({type:"UNSET_SIDEBAR_FULLSCREEN"}),u=e=>({type:"SET_STEP",step:e}),s=e=>({type:"SET_SITE_TITLE",title:e}),l=e=>({type:"SET_DOMAIN",domain:e}),c=()=>({type:"UNSET_DOMAIN"}),f=()=>({type:"CONFIRM_DOMAIN_SELECTION"}),d=e=>({type:"SET_DOMAIN_SEARCH",domainSearch:e}),p=function*(e){if(!(0,n.select)(o.Fs).isPlanProductFree(e)){const t=(0,n.select)(o.Fs).getPlanProductById(e),r=(null==t?void 0:t.billingPeriod)??"ANNUALLY";yield(e=>({type:"SET_PLAN_BILLING_PERIOD",billingPeriod:e}))(r)}return{type:"SET_PLAN_PRODUCT_ID",planProductId:e}},y=()=>({type:"UNSET_PLAN_PRODUCT_ID"});function g(e){return p(e)}const m=()=>({type:"OPEN_SIDEBAR"}),h=()=>({type:"CLOSE_SIDEBAR"}),v=()=>({type:"OPEN_FOCUSED_LAUNCH"}),S=()=>({type:"CLOSE_FOCUSED_LAUNCH"}),_=()=>({type:"ENABLE_ANCHOR_FM"}),b=()=>({type:"SHOW_SITE_TITLE_STEP"}),A=()=>({type:"SET_MODAL_DISMISSIBLE"}),E=()=>({type:"UNSET_MODAL_DISMISSIBLE"}),I=()=>({type:"SHOW_MODAL_TITLE"}),C=()=>({type:"HIDE_MODAL_TITLE"}),P=()=>({type:"ENABLE_SUCCESS_VIEW"}),O=()=>({type:"DISABLE_SUCCESS_VIEW"})},9149:function(e,t,r){"use strict";r.d(t,{Ls:function(){return n},Fs:function(){return o}});const n="automattic/launch",o="automattic/onboard/plans"},3610:function(e,t,r){"use strict";r.d(t,{y:function(){return n},M:function(){return o}});const n={Name:"name",Domain:"domain",Plan:"plan",Final:"final"},o=[n.Name,n.Domain,n.Plan,n.Final]},1635:function(e,t,r){"use strict";r.d(t,{z:function(){return f}});var n=r(9818),o=r(3418),i=r(6108),a=r(9149),u=r(594),s=r(4648),l=r(7092);(0,n.use)(n.plugins.persistence,u.Z);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.Ls,{actions:i,controls:o.controls,reducer:s.Z,selectors:l,persist:["domain","domainSearch","planProductId","planBillingPeriod","confirmedDomainSelection","isAnchorFm","isSiteTitleStepVisible","siteTitle"]})),a.Ls}},594:function(e,t,r){"use strict";var n=r(492);t.Z=(0,n.Z)("WP_LAUNCH")},4648:function(e,t,r){"use strict";var n=r(9818),o=r(3610);const i=(0,n.combineReducers)({step:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.y.Name,t=arguments.length>1?arguments[1]:void 0;return"SET_STEP"===t.type?t.step:e},siteTitle:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;return"SET_SITE_TITLE"===t.type?t.title:e},domain:(e,t)=>"SET_DOMAIN"===t.type?t.domain:"UNSET_DOMAIN"!==t.type?e:void 0,confirmedDomainSelection:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"CONFIRM_DOMAIN_SELECTION"===t.type||e},domainSearch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return"SET_DOMAIN_SEARCH"===t.type?t.domainSearch:e},planBillingPeriod:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ANNUALLY",t=arguments.length>1?arguments[1]:void 0;return"SET_PLAN_BILLING_PERIOD"===t.type?t.billingPeriod:e},planProductId:(e,t)=>"SET_PLAN_PRODUCT_ID"===t.type?t.planProductId:"UNSET_PLAN_PRODUCT_ID"!==t.type?e:void 0,isSidebarOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"OPEN_SIDEBAR"===t.type||"CLOSE_SIDEBAR"!==t.type&&e},isSidebarFullscreen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_SIDEBAR_FULLSCREEN"===t.type||"UNSET_SIDEBAR_FULLSCREEN"!==t.type&&e},isAnchorFm:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"ENABLE_ANCHOR_FM"===t.type||e},isFocusedLaunchOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"OPEN_FOCUSED_LAUNCH"===t.type||"CLOSE_FOCUSED_LAUNCH"!==t.type&&e},isSiteTitleStepVisible:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SHOW_SITE_TITLE_STEP"===t.type||e},isModalDismissible:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_MODAL_DISMISSIBLE"===t.type||"UNSET_MODAL_DISMISSIBLE"!==t.type&&e},isModalTitleVisible:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SHOW_MODAL_TITLE"===t.type||"HIDE_MODAL_TITLE"!==t.type&&e}});t.Z=i},7092:function(e,t,r){"use strict";r.r(t),r.d(t,{getLaunchSequence:function(){return a},getLaunchStep:function(){return u},getState:function(){return s},hasPaidDomain:function(){return l},getSelectedDomain:function(){return c},getSelectedPlanProductId:function(){return f},getLastPlanBillingPeriod:function(){return d},isSelectedPlanPaid:function(){return p},hasSelectedDomainOrSubdomain:function(){return y},isStepCompleted:function(){return g},isFlowCompleted:function(){return m},isFlowStarted:function(){return h},getFirstIncompleteStep:function(){return v},getSiteTitle:function(){return S},getCurrentStep:function(){return _},getDomainSearch:function(){return b}});var n=r(9818),o=r(9149),i=r(3610);const a=()=>i.M,u=()=>i.y,s=e=>e,l=e=>!!e.domain&&!e.domain.is_free,c=e=>e.domain,f=e=>e.planProductId,d=e=>e.planBillingPeriod,p=e=>void 0!==e.planProductId&&!(0,n.select)(o.Fs).isPlanProductFree(e.planProductId),y=e=>!!c(e)||e.confirmedDomainSelection,g=(e,t)=>{if(t===i.y.Plan)return!!f(e);if(t===i.y.Name){const e=(0,n.select)("core").getEntityRecord("root","site",void 0);return!(null==e||!e.title)}return t===i.y.Domain&&(0,n.select)(o.Ls).hasSelectedDomainOrSubdomain()},m=e=>i.M.slice(0,i.M.length-1).every((t=>g(e,t))),h=e=>i.M.some((t=>g(e,t))),v=e=>i.M.find((t=>!g(e,t))),S=e=>null==e?void 0:e.siteTitle,_=e=>e.step,b=e=>e.domainSearch},492:function(e,t,r){"use strict";function n(e){const t=e,r=e+"_TS",n={},o={getItem:e=>n.hasOwnProperty(e)?n[e]:null,setItem(e,t){n[e]=String(t)},removeItem(e){delete n[e]}},i=(()=>{try{return window.localStorage.setItem("WP_ONBOARD_TEST","1"),window.localStorage.removeItem("WP_ONBOARD_TEST"),!0}catch(e){return!1}})()?window.localStorage:o;return{storageKey:t,storage:{getItem(e){const n=i.getItem(r);return n&&(e=>{const t=Number(e);return Boolean(t)&&t+6048e5>Date.now()})(n)&&!new URLSearchParams(window.location.search).has("fresh")?i.getItem(e):(i.removeItem(t),i.removeItem(r),null)},setItem(e,t){i.setItem(r,JSON.stringify(Date.now())),i.setItem(e,t)}}}}r.d(t,{Z:function(){return n}})},9068:function(e,t,r){"use strict";r.r(t),r.d(t,{setFeatures:function(){return n},setFeaturesByType:function(){return o},setPlans:function(){return i},setPlanProducts:function(){return a},resetPlan:function(){return u}});const n=(e,t)=>({type:"SET_FEATURES",features:e,locale:t}),o=(e,t)=>({type:"SET_FEATURES_BY_TYPE",featuresByType:e,locale:t}),i=(e,t)=>({type:"SET_PLANS",plans:e,locale:t}),a=e=>({type:"SET_PLAN_PRODUCTS",products:e}),u=()=>({type:"RESET_PLAN"})},4703:function(e,t,r){"use strict";r.d(t,{Ls:function(){return n},Ho:function(){return o},TO:function(){return i},YS:function(){return a},Gz:function(){return u},hx:function(){return s},iL:function(){return l},B6:function(){return c},xT:function(){return f},AX:function(){return d},bS:function(){return p},UB:function(){return y},BV:function(){return g},nN:function(){return m}});const n="automattic/onboard/plans",o=1,i="free",a="personal",u="premium",s="business",l="ecommerce",c=[i,a,u,s,l],f=c,d=u,p=["personal-bundle","value_bundle","business-bundle","ecommerce-bundle"],y=["personal-bundle-monthly","value_bundle_monthly","business-bundle-monthly","ecommerce-bundle-monthly"],g=["free_plan",...p,...y],m=["custom-domain","support-live","priority-support"]},9734:function(e,t,r){"use strict";r.r(t),r.d(t,{plansSlugs:function(){return a.B6},plansProductSlugs:function(){return a.BV},TIMELESS_PLAN_FREE:function(){return a.TO},TIMELESS_PLAN_PERSONAL:function(){return a.YS},TIMELESS_PLAN_PREMIUM:function(){return a.Gz},TIMELESS_PLAN_BUSINESS:function(){return a.hx},TIMELESS_PLAN_ECOMMERCE:function(){return a.iL},FREE_PLAN_PRODUCT_ID:function(){return a.Ho},register:function(){return f}});var n=r(9818),o=r(3661),i=r(9068),a=r(4703),u=r(9438),s=r(5261),l=r(7738);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.Ls,{resolvers:s,actions:i,controls:o.ai,reducer:u.ZP,selectors:l})),a.Ls}},9438:function(e,t,r){"use strict";var n=r(9818);const o=(0,n.combineReducers)({features:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_FEATURES"===t.type?{...e,[t.locale]:t.features}:e},featuresByType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_FEATURES_BY_TYPE"===t.type?{...e,[t.locale]:t.featuresByType}:e},planProducts:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLAN_PRODUCTS"===t.type?t.products:e},plans:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?{...e,[t.locale]:t.plans}:e}});t.ZP=o},5261:function(e,t,r){"use strict";r.r(t),r.d(t,{getSupportedPlans:function(){return y}});var n=r(2645),o=r(9126),i=r(3661),a=r(9068),u=r(4703);function s(e){return(0,n.ZP)(12*e.raw_price,e.currency_code,{stripZeros:!0})}function l(e){return(0,n.ZP)(e.raw_price,e.currency_code,{stripZeros:!0})}function c(e){return e.reduce(((e,t)=>(e[t.id]={id:t.id,name:t.name,description:t.description,type:"checkbox",requiresAnnuallyBilledPlan:u.nN.indexOf(t.id)>-1},e)),{})}function f(e,t){const r=Object.keys(t).find((r=>t[r].name===e));return!!r&&t[r].requiresAnnuallyBilledPlan}function d(e,t){const r=e.highlighted_features.map((e=>({name:e,requiresAnnuallyBilledPlan:f(e,t)})));return r.sort(((e,t)=>Number(t.requiresAnnuallyBilledPlan)-Number(e.requiresAnnuallyBilledPlan))),r}function p(e,t){const r=u.BV.reduce(((r,o)=>{const i=e.find((e=>e.product_slug===o));if(!i)return r;const a=t.find((e=>e.productIds.indexOf(i.product_id)>-1));var u;return r.push({productId:i.product_id,billingPeriod:31===i.bill_period?"MONTHLY":"ANNUALLY",periodAgnosticSlug:a.periodAgnosticSlug,storeSlug:i.product_slug,rawPrice:i.raw_price,pathSlug:i.path_slug,price:31===(null==i?void 0:i.bill_period)||0===i.raw_price?l(i):(u=i,(0,n.ZP)(u.raw_price/12,u.currency_code,{stripZeros:!0})),annualPrice:31===(null==i?void 0:i.bill_period)?s(i):l(i)}),r}),[]);return function(e){for(let t=0;t<u.bS.length;t++){const r=e.find((e=>e.storeSlug===u.bS[t])),n=e.find((e=>e.storeSlug===u.UB[t]));if(r&&n){const e=12*n.rawPrice,t=r.rawPrice,o=Math.round(100*(1-t/e));r.annualDiscount=o,n.annualDiscount=o}}}(r),r}function*y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";const t=yield(0,i._9)({path:"/plans",query:(0,o.stringify)({locale:e}),apiVersion:"1.5"}),{body:r}=yield(0,i.An)(`https://public-api.wordpress.com/wpcom/v2/plans/details?locale=${encodeURIComponent(e)}`,{mode:"cors",credentials:"omit"}),n=c(r.features),s=r.plans.map((e=>{var t;const r=null===(t=e.nonlocalized_short_name)||void 0===t?void 0:t.toLowerCase();return{description:e.tagline,features:d(e,n),storage:e.storage,title:e.short_name,featuresSlugs:e.features.reduce(((e,t)=>(e[t]=!0,e)),{}),isFree:r===u.TO,isPopular:r===u.Gz,periodAgnosticSlug:r,productIds:e.products.map((e=>{let{plan_id:t}=e;return t}))}})),l=p(t,s);yield(0,a.setPlans)(s,e),yield(0,a.setPlanProducts)(l),yield(0,a.setFeatures)(n,e),yield(0,a.setFeaturesByType)(r.features_by_type,e)}},7738:function(e,t,r){"use strict";r.r(t),r.d(t,{getFeatures:function(){return u},getFeaturesByType:function(){return s},getPlanByProductId:function(){return l},getPlanProductById:function(){return c},getPlanByPeriodAgnosticSlug:function(){return f},getDefaultPaidPlan:function(){return d},getDefaultFreePlan:function(){return p},getSupportedPlans:function(){return y},getPlansProducts:function(){return g},getPrices:function(){return m},getPlanByPath:function(){return h},getPlanProduct:function(){return v},isPlanEcommerce:function(){return S},isPlanFree:function(){return _},isPlanProductFree:function(){return b}});var n=r(9818),o=r(7180),i=r.n(o),a=r(4703);const u=(e,t)=>e.features[t]??{},s=(e,t)=>e.featuresByType[t]??[],l=(e,t,r)=>{if(t)return(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.productIds.indexOf(t)>-1))},c=(e,t)=>{if(t)return(0,n.select)(a.Ls).getPlansProducts().find((e=>e.productId===t))},f=(e,t,r)=>{if(t)return(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.periodAgnosticSlug===t))},d=(e,t)=>(0,n.select)(a.Ls).getSupportedPlans(t).find((e=>e.periodAgnosticSlug===a.AX)),p=(e,t)=>(0,n.select)(a.Ls).getSupportedPlans(t).find((e=>e.periodAgnosticSlug===a.TO)),y=(e,t)=>e.plans[t]??[],g=e=>e.planProducts,m=(e,t)=>(i()("getPrices",{alternative:"getPlanProduct().price"}),(0,n.select)(a.Ls).getPlansProducts().reduce(((e,t)=>(e[t.storeSlug]=t.price,e)),{})),h=(e,t,r)=>{if(!t)return;const o=(0,n.select)(a.Ls).getPlansProducts().find((e=>e.pathSlug===t));return o?(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.periodAgnosticSlug===o.periodAgnosticSlug)):void 0},v=(e,t,r)=>{if(t&&r)return(0,n.select)(a.Ls).getPlansProducts().find((e=>{const n=e.periodAgnosticSlug===t,o=t===a.TO||e.billingPeriod===r;return n&&o}))},S=(e,t)=>t===a.iL,_=(e,t)=>t===a.TO,b=(e,t)=>t===a.Ho},8459:function(e,t,r){"use strict";r.d(t,{d:function(){return i}});var n=r(3661),o=r(9639);function i(e){const t=()=>({type:"FETCH_NEW_SITE"}),r=e=>({type:"RECEIVE_NEW_SITE",response:e}),i=e=>({type:"RECEIVE_NEW_SITE_FAILED",error:e});const a=(e,t)=>({type:"RECEIVE_SITE_TITLE",siteId:e,name:t}),u=(e,t)=>({type:"RECEIVE_SITE_TAGLINE",siteId:e,tagline:t}),s=(e,t)=>({type:"RECEIVE_SITE_VERTICAL_ID",siteId:e,verticalId:t}),l=e=>({type:"LAUNCH_SITE_START",siteId:e}),c=e=>({type:"LAUNCH_SITE_SUCCESS",siteId:e}),f=(e,t)=>({type:"LAUNCH_SITE_FAILURE",siteId:e,error:t});function*d(e,t){try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/settings`,apiVersion:"1.4",body:t,method:"POST"}),"blogname"in t&&(yield a(e,t.blogname)),"blogdescription"in t&&(yield u(e,t.blogdescription)),"site_vertical_id"in t&&(yield s(e,t.site_vertical_id))}catch(r){}}const p=(e,t)=>({type:"ATOMIC_TRANSFER_START",siteId:e,softwareSet:t}),y=(e,t)=>({type:"ATOMIC_TRANSFER_SUCCESS",siteId:e,softwareSet:t}),g=(e,t,r)=>({type:"ATOMIC_TRANSFER_FAILURE",siteId:e,softwareSet:t,error:r});const m=e=>({type:"LATEST_ATOMIC_TRANSFER_START",siteId:e}),h=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_SUCCESS",siteId:e,transfer:t}),v=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_FAILURE",siteId:e,error:t});const S=(e,t)=>({type:"ATOMIC_SOFTWARE_STATUS_START",siteId:e,softwareSet:t}),_=(e,t,r)=>({type:"ATOMIC_SOFTWARE_STATUS_SUCCESS",siteId:e,softwareSet:t,status:r}),b=(e,t,r)=>({type:"ATOMIC_SOFTWARE_STATUS_FAILURE",siteId:e,softwareSet:t,error:r});const A=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_START",siteId:e,softwareSet:t}),E=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_SUCCESS",siteId:e,softwareSet:t}),I=(e,t,r)=>({type:"ATOMIC_SOFTWARE_INSTALL_FAILURE",siteId:e,softwareSet:t,error:r});return{receiveSiteDomains:(e,t)=>({type:"RECEIVE_SITE_DOMAINS",siteId:e,domains:t}),receiveSiteSettings:(e,t)=>({type:"RECEIVE_SITE_SETTINGS",siteId:e,settings:t}),saveSiteTitle:function*(e,t){yield d(e,{blogname:t})},saveSiteSettings:d,setIntentOnSite:function*(e,t){try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2",body:{site_intent:t},method:"POST"})}catch(r){}},receiveSiteTitle:a,fetchNewSite:t,fetchSite:()=>({type:"FETCH_SITE"}),receiveNewSite:r,receiveNewSiteFailed:i,resetNewSiteFailed:()=>({type:"RESET_RECEIVE_NEW_SITE_FAILED"}),setDesignOnSite:function*(e,t){yield(0,n._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:t.theme,dont_change_homepage:!0},method:"POST"}),["hannah","gilbert","riley"].indexOf(t.template)<0&&(yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/theme-setup`,apiNamespace:"wpcom/v2",body:{trim_content:!0},method:"POST"}));const r=yield(0,n._9)({path:`/sites/${e}/block-editor`,apiNamespace:"wpcom/v2",method:"GET"});return(null==r?void 0:r.is_fse_active)??!1},createSite:function*(t){yield{type:"FETCH_NEW_SITE"};try{const{authToken:o,...i}=t,a={...{client_id:e.client_id,client_secret:e.client_secret,find_available_url:!0,public:-1},...i,validate:!1},u=yield(0,n._9)({path:"/sites/new",apiVersion:"1.1",method:"post",body:a,token:o});return yield r(u),!0}catch(o){return yield i(o),!1}},receiveSite:(e,t)=>({type:"RECEIVE_SITE",siteId:e,response:t}),receiveSiteFailed:(e,t)=>({type:"RECEIVE_SITE_FAILED",siteId:e,response:t}),receiveSiteTagline:u,receiveEmailSupportAvailability:e=>({type:"RECEIVE_EMAIL_SUPPORT_AVAILABILITY",availability:e}),receiveHappyChatAvailability:e=>({type:"RECEIVE_HAPPY_CHAT_AVAILABILITY",availability:e}),receiveSiteVerticalId:s,saveSiteTagline:function*(e,t){yield d(e,{blogdescription:t})},reset:()=>({type:"RESET_SITE_STORE"}),launchSite:function*(e){yield l(e);try{yield(0,n._9)({path:`/sites/${e}/launch`,apiVersion:"1.1",method:"post"}),yield c(e)}catch(t){yield f(e,o.Hc.INTERNAL)}},launchSiteStart:l,launchSiteSuccess:c,launchSiteFailure:f,getCart:function*(e){return yield(0,n._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"GET"})},setCart:function*(e,t){return yield(0,n._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"POST",body:t})},setSiteSetupError:(e,t,r)=>({type:"SET_SITE_SETUP_ERROR",siteId:e,error:t,message:r}),clearSiteSetupError:e=>({type:"CLEAR_SITE_SETUP_ERROR",siteId:e}),initiateAtomicTransfer:function*(e,t){yield p(e,t);try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers`,apiNamespace:"wpcom/v2",method:"POST",...t?{body:{software_set:encodeURIComponent(t)}}:{}}),yield y(e,t)}catch(r){yield g(e,t,o.Hf.INTERNAL)}},atomicTransferStart:p,atomicTransferSuccess:y,atomicTransferFailure:g,latestAtomicTransferStart:m,latestAtomicTransferSuccess:h,latestAtomicTransferFailure:v,requestLatestAtomicTransfer:function*(e){yield m(e);try{const t=yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers/latest`,apiNamespace:"wpcom/v2",method:"GET"});yield h(e,t)}catch(t){yield v(e,t)}},atomicSoftwareStatusStart:S,atomicSoftwareStatusSuccess:_,atomicSoftwareStatusFailure:b,requestAtomicSoftwareStatus:function*(e,t){yield S(e,t);try{const r=yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"GET"});yield _(e,t,r)}catch(r){yield b(e,t,r)}},initiateSoftwareInstall:function*(e,t){yield A(e,t);try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"POST",body:{}}),yield E(e,t)}catch(r){yield I(e,t,r)}},atomicSoftwareInstallStart:A,atomicSoftwareInstallSuccess:E,atomicSoftwareInstallFailure:I}}},2005:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});const n="automattic/site"},2369:function(e,t,r){"use strict";r.d(t,{z2:function(){return f}});var n=r(9818),o=r(3661),i=r(8459),a=r(2005),u=r(2701),s=r(7862),l=r(4309);let c=!1;function f(e){return c||(c=!0,(0,n.registerStore)(a.L,{actions:(0,i.d)(e),controls:o.ai,reducer:u.ZP,resolvers:s,selectors:l})),a.L}},2701:function(e,t,r){"use strict";var n=r(9818),o=r(9639);const i=(0,n.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_SITE"===t.type){const{response:e}=t;return e.blog_details}if("RECEIVE_NEW_SITE_FAILED"!==t.type&&"RESET_SITE_STORE"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_SITE":case"RECEIVE_NEW_SITE":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return;case"RECEIVE_NEW_SITE_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_SITE":return!0;case"RECEIVE_NEW_SITE":case"RECEIVE_NEW_SITE_FAILED":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return!1}return e}}),a=(0,n.combineReducers)({isFetchingSiteDetails:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_SITE":return!0;case"RECEIVE_SITE":case"RECEIVE_SITE_FAILED":return!1}return e},newSite:i,sites:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECEIVE_SITE"===t.type)return t.response?{...e,[t.response.ID]:t.response}:e;if("RECEIVE_SITE_FAILED"===t.type){const{[t.siteId]:r,...n}=e;return{...n}}return"RESET_SITE_STORE"===t.type?{}:"RECEIVE_SITE_TITLE"===t.type?{...e,[t.siteId]:{...e[t.siteId],name:t.name}}:"RECEIVE_SITE_TAGLINE"===t.type?{...e,[t.siteId]:{...e[t.siteId],description:t.tagline??""}}:"RECEIVE_SITE_VERTICAL_ID"===t.type?{...e,[t.siteId]:{...e[t.siteId],options:{...null===(r=e[t.siteId])||void 0===r?void 0:r.options,site_vertical_id:t.verticalId}}}:e;var r},launchStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LAUNCH_SITE_START"===t.type?{...e,[t.siteId]:{status:o.uS.IN_PROGRESS,errorCode:void 0}}:"LAUNCH_SITE_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.uS.SUCCESS,errorCode:void 0}}:"LAUNCH_SITE_FAILURE"===t.type?{...e,[t.siteId]:{status:o.uS.FAILURE,errorCode:t.error}}:e},sitesDomains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_DOMAINS"===t.type?{...e,[t.siteId]:t.domains}:e},sitesSettings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:t.settings}:e},siteSetupErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_SITE_SETUP_ERROR"===t.type){const{siteId:r,error:n,message:o}=t;return{...e,[r]:{error:n,message:o}}}if("CLEAR_SITE_SETUP_ERROR"===t.type){delete{...e}[t.siteId]}return e},happyChatAvailability:(e,t)=>"RECEIVE_HAPPY_CHAT_AVAILABILITY"===t.type?t.availability:e,emailSupportAvailability:(e,t)=>"RECEIVE_EMAIL_SUPPORT_AVAILABILITY"===t.type?t.availability:e,atomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.bc.IN_PROGRESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.bc.SUCCESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.bc.FAILURE,softwareSet:t.softwareSet,errorCode:t.error}}:e},latestAtomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LATEST_ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.O.IN_PROGRESS,transfer:void 0,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.O.SUCCESS,transfer:t.transfer,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.O.FAILURE,transfer:void 0,errorCode:t.error}}:e},atomicSoftwareStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_STATUS_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:t.status,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:t.error}}}:e},atomicSoftwareInstallStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_INSTALL_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.IN_PROGRESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.SUCCESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.FAILURE,error:t.error}}}:e}});t.ZP=a},7862:function(e,t,r){"use strict";r.r(t),r.d(t,{getSite:function(){return a},getSiteDomains:function(){return u},getHappyChatAvailability:function(){return s},getEmailSupportAvailability:function(){return l},getSiteSettings:function(){return c}});var n=r(9818),o=r(3661),i=r(2005);function*a(e){yield(0,n.dispatch)(i.L).fetchSite();try{const t=yield(0,o._9)({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"});yield(0,n.dispatch)(i.L).receiveSite(e,t)}catch(t){yield(0,n.dispatch)(i.L).receiveSiteFailed(e,void 0)}}function*u(e){try{const t=yield(0,o._9)({path:"/sites/"+encodeURIComponent(e)+"/domains",apiVersion:"1.2"});yield(0,n.dispatch)(i.L).receiveSiteDomains(e,null==t?void 0:t.domains)}catch(t){}}function*s(){const e=yield(0,o._9)({path:"/help/olark/mine",apiVersion:"1.1"});(0,n.dispatch)(i.L).receiveHappyChatAvailability(e)}function*l(){const e=yield(0,o._9)({path:"/help/tickets/kayako/mine",apiVersion:"1.1"});(0,n.dispatch)(i.L).receiveEmailSupportAvailability(e)}function*c(e){try{const t=yield(0,o._9)({path:"/sites/"+encodeURIComponent(e)+"/settings",apiVersion:"1.4"});yield(0,n.dispatch)(i.L).receiveSiteSettings(e,null==t?void 0:t.settings)}catch(t){}}},4309:function(e,t,r){"use strict";r.r(t),r.d(t,{getState:function(){return a},getNewSite:function(){return u},getNewSiteError:function(){return s},isFetchingSite:function(){return l},isFetchingSiteDetails:function(){return c},isNewSite:function(){return f},getSite:function(){return d},getSiteIdBySlug:function(){return p},getSiteTitle:function(){return y},getSiteVerticalId:function(){return g},isSiteLaunched:function(){return m},isSiteLaunching:function(){return h},isSiteAtomic:function(){return v},isSiteWPForTeams:function(){return S},getSiteDomains:function(){return _},getSiteSettings:function(){return b},getSiteSetupError:function(){return A},getPrimarySiteDomain:function(){return E},getSiteSubdomain:function(){return I},getSiteLatestAtomicTransfer:function(){return C},getSiteLatestAtomicTransferError:function(){return P},getAtomicSoftwareStatus:function(){return O},getAtomicSoftwareError:function(){return T},getAtomicSoftwareInstallError:function(){return M},hasActiveSiteFeature:function(){return w},hasAvailableSiteFeature:function(){return R},requiresUpgrade:function(){return L},isJetpackSite:function(){return $},isEligibleForProPlan:function(){return F},getHappyChatAvailability:function(){return x},getEmailSupportAvailability:function(){return N}});var n=r(9818),o=r(2005),i=r(9639);const a=e=>e,u=e=>e.newSite.data,s=e=>e.newSite.error,l=e=>e.newSite.isFetching,c=e=>e.isFetchingSiteDetails,f=e=>!!e.newSite.data,d=(e,t)=>e.sites[t]||Object.values(e.sites).find((e=>e&&new URL(e.URL).host===t)),p=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.ID},y=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.name},g=(e,t)=>{var r,i;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r||null===(i=r.options)||void 0===i?void 0:i.site_vertical_id},m=(e,t)=>{var r;return(null===(r=e.launchStatus[t])||void 0===r?void 0:r.status)===i.uS.SUCCESS},h=(e,t)=>{var r;return(null===(r=e.launchStatus[t])||void 0===r?void 0:r.status)===i.uS.IN_PROGRESS},v=(e,t)=>{var r;return!0===(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.options.is_wpcom_atomic)},S=(e,t)=>{var r;return!0===(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.options.is_wpforteams_site)},_=(e,t)=>e.sitesDomains[t],b=(e,t)=>e.sitesSettings[t],A=(e,t)=>e.siteSetupErrors[t]||null,E=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSiteDomains(t))||void 0===r?void 0:r.find((e=>e.primary_domain))},I=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSiteDomains(t))||void 0===r?void 0:r.find((e=>e.is_subdomain))},C=(e,t)=>{var r;return null===(r=e.latestAtomicTransferStatus[t])||void 0===r?void 0:r.transfer},P=(e,t)=>{var r;return null===(r=e.latestAtomicTransferStatus[t])||void 0===r?void 0:r.errorCode},O=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.status},T=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.error},M=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareInstallStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.error},w=(e,t,r)=>{var i,a;return Boolean(t&&(null===(i=(0,n.select)(o.L).getSite(t))||void 0===i||null===(a=i.plan)||void 0===a?void 0:a.features.active.includes(r)))},R=(e,t,r)=>{var i,a;return Boolean(t&&(null===(i=(0,n.select)(o.L).getSite(t))||void 0===i||null===(a=i.plan)||void 0===a?void 0:a.features.available[r]))},L=(e,t)=>{const r=Boolean(t&&(0,n.select)(o.L).hasActiveSiteFeature(t,"woop")),i=Boolean(t&&(0,n.select)(o.L).hasAvailableSiteFeature(t,"woop"));return Boolean(!r&&i)};function $(e,t){var r;return Boolean(t&&(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.jetpack))}function F(e,t){return!!t&&!($(0,t)&&!v(e,t)||S(e,t))}function x(e){return e.happyChatAvailability}function N(e){return e.emailSupportAvailability}},9639:function(e,t,r){"use strict";let n,o,i,a,u,s,l;r.d(t,{Hc:function(){return o},uS:function(){return i},bc:function(){return a},Hf:function(){return u},O:function(){return s},sw:function(){return l}}),function(e){e[e.PublicIndexed=1]="PublicIndexed",e[e.PublicNotIndexed=0]="PublicNotIndexed",e[e.Private=-1]="Private"}(n||(n={})),function(e){e.INTERNAL="internal"}(o||(o={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(i||(i={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(a||(a={})),function(e){e.INTERNAL="internal"}(u||(u={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(s||(s={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(l||(l={}))},4366:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});const n="automattic/wpcom-features"},2613:function(e,t,r){"use strict";r.d(t,{$:function(){return s}});var n=r(9734);const{TIMELESS_PLAN_PERSONAL:o,TIMELESS_PLAN_PREMIUM:i,TIMELESS_PLAN_BUSINESS:a,TIMELESS_PLAN_ECOMMERCE:u}=n,s={domain:{id:"domain",minSupportedPlan:o},store:{id:"store",minSupportedPlan:u},seo:{id:"seo",minSupportedPlan:a},plugins:{id:"plugins",minSupportedPlan:a},"ad-free":{id:"ad-free",minSupportedPlan:o},"image-storage":{id:"image-storage",minSupportedPlan:i},"video-storage":{id:"video-storage",minSupportedPlan:i},support:{id:"support",minSupportedPlan:a}}},182:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var n=r(9818),o=r(3418),i=r(4366),a=r(8638),u=r(335);let s=!1;function l(){return s||(s=!0,(0,n.registerStore)(i.L,{controls:o.controls,reducer:a.Z,selectors:u})),i.L}},8638:function(e,t,r){"use strict";var n=r(2613);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.$;return e}},335:function(e,t,r){"use strict";r.r(t),r.d(t,{getAllFeatures:function(){return o},getRecommendedPlanSlug:function(){return i}});var n=r(4703);const o=e=>e,i=(e,t)=>{const r=o(e);if(t.length)return t.reduce(((e,t)=>{const o=r[t].minSupportedPlan;return n.xT.indexOf(o)>n.xT.indexOf(e)?o:e}),r[t[0]].minSupportedPlan)}},3661:function(e,t,r){"use strict";r.d(t,{_9:function(){return o},An:function(){return i},ai:function(){return a}});var n=r(8552);const o=e=>({type:"WPCOM_REQUEST",request:e}),i=(e,t)=>({type:"FETCH_AND_PARSE",resource:e,options:t}),a={WPCOM_REQUEST:e=>{let{request:t}=e;return(0,n.ZP)(t)},FETCH_AND_PARSE:async e=>{let{resource:t,options:r}=e;const n=await window.fetch(t,r);return{ok:n.ok,body:await n.json()}},RELOAD_PROXY:()=>{(0,n.sS)()},REQUEST_ALL_BLOGS_ACCESS:()=>(0,n.Vw)(),WAIT:e=>{let{ms:t}=e;return new Promise((e=>setTimeout(e,t)))}}},7066:function(e,t,r){"use strict";r.d(t,{X:function(){return o}});const n={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function o(e){return n[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},2645:function(e,t,r){"use strict";r.d(t,{ZP:function(){return i}});var n=r(7066),o=r(51);function i(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=(0,n.X)(t);if(!i||isNaN(e))return null;const{decimal:u,grouping:s,precision:l,symbol:c}={...i,...r},f=e<0?"-":"";let d=(0,o.Z)(Math.abs(e),l,u,s);return r.stripZeros&&(d=a(d,u)),`${f}${c}${d}`}function a(e,t){const r=new RegExp(`\\${t}0+$`);return e.replace(r,"")}},51:function(e,t,r){"use strict";
2
  /*
3
  * Exposes number format capability
4
  *
@@ -15,4 +15,4 @@ function n(e,t){const r=Math.pow(10,t);return""+(Math.round(e*r)/r).toFixed(t)}f
15
  * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
16
  */
17
  function(e,t){const r=Math.pow(10,t);return""+(Math.round(e*r)/r).toFixed(t)}(o,i):""+Math.round(o)).split("."),s[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(s[1]||"").length<i&&(s[1]=s[1]||"",s[1]+=new Array(i-s[1].length+1).join("0")),s.join(u)}r.d(t,{Z:function(){return n}})},2594:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(9196),o=r(1310);function i(e,t){let r,o,a=[];for(let n=0;n<e.length;n++){const i=e[n];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){r=t[i.value],o=n;break}a.push(t[i.value])}else a.push(i.value)}if(r){const u=function(e,t){const r=t[e];let n=0;for(let o=e+1;o<t.length;o++){const e=t[o];if(e.value===r.value){if("componentOpen"===e.type){n++;continue}if("componentClose"===e.type){if(0===n)return o;n--}}}throw new Error("Missing closing component token `"+r.value+"`")}(o,e),s=i(e.slice(o+1,u),t),l=(0,n.cloneElement)(r,{},s);if(a.push(l),u<e.length-1){const r=i(e.slice(u+1),t);a=a.concat(r)}}return a=a.filter(Boolean),0===a.length?null:1===a.length?a[0]:(0,n.createElement)(n.Fragment,null,...a)}function a(e){const{mixedString:t,components:r,throwErrors:n}=e;if(!r)return t;if("object"!=typeof r){if(n)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const a=(0,o.Z)(t);try{return i(a,r)}catch(u){if(n)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${u.message}\``);return t}}},1310:function(e,t,r){"use strict";function n(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 o(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(n)}r.d(t,{Z:function(){return o}})},8552:function(e,t,r){"use strict";r.d(t,{Vw:function(){return E},sS:function(){return T}});var n=r(8049),o=r.n(n),i=r(8650),a=r.n(i),u=r(8767),s=r(2884),l=r.n(s);const c=o()("wpcom-proxy-request"),f="https://public-api.wordpress.com",d=window.location.protocol+"//"+window.location.host;let p=null;const y=(()=>{let e=!1;try{window.postMessage({toString:function(){e=!0}},"*")}catch(t){}return e})(),g=(()=>{try{return new window.File(["a"],"test.jpg",{type:"image/jpeg"}),!0}catch(e){return!1}})();let m,h=null,v=!1;const S={},_=!!window.ProgressEvent&&!!window.FormData;c('using "origin": %o',d);const b=(e,t)=>{const r=Object.assign({},e);c("request(%o)",r),h||O();const n=(0,u.Z)();r.callback=n,r.supports_args=!0,r.supports_error_obj=!0,r.supports_progress=_,r.method=String(r.method||"GET").toUpperCase(),c("params object: %o",r);const o=new window.XMLHttpRequest;if(o.params=r,S[n]=o,"function"==typeof t){let e=!1;const r=r=>{if(e)return;e=!0;const n=r.response||o.response;c("body: ",n),c("headers: ",r.headers),t(null,n,r.headers)},n=r=>{if(e)return;e=!0;const n=r.error||r.err||r;c("error: ",n),c("headers: ",r.headers),t(n,null,r.headers)};o.addEventListener("load",r),o.addEventListener("abort",n),o.addEventListener("error",n)}return"function"==typeof r.onStreamRecord&&(p=r.onStreamRecord,delete r.onStreamRecord),v?I(r):(c("buffering API request since proxying <iframe> is not yet loaded"),m.push(r)),o},A=(e,t)=>"function"==typeof t?b(e,t):new Promise(((t,r)=>{b(e,((e,n)=>{e?r(e):t(n)}))}));function E(){return A({metaAPI:{accessAllUsersBlogs:!0}})}function I(e){c("sending API request to proxy <iframe> %o",e),e.formData&&function(e){if(!window.chrome||!g)return;for(let t=0;t<e.length;t++){const r=P(e[t][1]);r&&(e[t][1]=new window.File([r],r.name,{type:r.type}))}}(e.formData),h.contentWindow.postMessage(y?JSON.stringify(e):e,f)}function C(e){return e&&"[object File]"===Object.prototype.toString.call(e)}function P(e){return C(e)?e:"object"==typeof e&&C(e.fileContents)?e.fileContents:null}function O(){c("install()"),h&&(c("uninstall()"),window.removeEventListener("message",M),document.body.removeChild(h),v=!1,h=null),m=[],window.addEventListener("message",M),h=document.createElement("iframe"),h.src=f+"/wp-admin/rest-proxy/?v=2.0#"+d,h.style.display="none",document.body.appendChild(h)}const T=()=>{O()};function M(e){if(c("onmessage"),e.origin!==f)return void c("ignoring message... %o !== %o",e.origin,f);if(e.source!==h.contentWindow)return void c("ignoring message... iframe elements do not match");let{data:t}=e;if(!t)return c("no `data`, bailing");if("ready"===t)return void function(){if(c('proxy <iframe> "load" event'),v=!0,m){for(let e=0;e<m.length;e++)I(m[e]);m=null}}();if(y&&"string"==typeof t&&(t=JSON.parse(t)),t.upload||t.download)return function(e){c('got "progress" event: %o',e);const t=S[e.callbackId];if(t){const r=new(a())("progress",e);(e.upload?t.upload:t).dispatchEvent(r)}}(t);if(!t.length)return c("`e.data` doesn't appear to be an Array, bailing...");const r=t[t.length-1];if(!(r in S))return c("bailing, no matching request with callback: %o",r);const n=S[r],{params:o}=n,i=t[0];let u=t[1];const s=t[2];var d;if(207===u||delete S[r],o.metaAPI?u="metaAPIupdated"===i?200:500:c("got %o status code for URL: %o",u,o.path),"object"==typeof s&&(s.status=u,d=s["Content-Type"],/^application[/]x-ndjson($|;)/.test(d)&&207===u))p(i);else if(u&&2===Math.floor(u/100))!function(e,t,r){const n=new(a())("load");n.data=n.body=n.response=t,n.headers=r,e.dispatchEvent(n)}(n,i,s);else{!function(e,t,r){const n=new(a())("error");n.error=n.err=t,n.headers=r,e.dispatchEvent(n)}(n,l()(o,u,i),s)}}t.ZP=A},8049:function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(r){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(r){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(2632)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},2632:function(e,t,r){e.exports=function(e){function t(e){let r,o,i,a=null;function u(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if(!u.enabled)return;const i=u,a=Number(new Date),s=a-(r||a);i.diff=s,i.prev=r,i.curr=a,r=a,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");let l=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,((e,r)=>{if("%%"===e)return"%";l++;const o=t.formatters[r];if("function"==typeof o){const t=n[l];e=o.call(i,t),n.splice(l,1),l--}return e})),t.formatArgs.call(i,n);const c=i.log||t.log;c.apply(i,n)}return u.namespace=e,u.useColors=t.useColors(),u.color=t.selectColor(e),u.extend=n,u.destroy=t.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(u),u}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(5881),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},3830:function(e,t,r){"use strict";var n=r(956);e.exports=function(){var e=n.apply(n,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},956:function(e){"use strict";e.exports=function(){var e=[].map.call(arguments,(function(e){return e.trim()})).filter((function(e){return e.length})).join("-");return e.length?1!==e.length&&/[_.\- ]+/.test(e)?e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})):e[0]===e[0].toLowerCase()&&e.slice(1)!==e.slice(1).toLowerCase()?e:e.toLowerCase():""}},2686:function(e,t){"use strict";t.Z=/^(?:[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},5302:function(e,t,r){"use strict";var n;r.d(t,{Z:function(){return i}});var o=new Uint8Array(16);function i(){if(!n&&!(n="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 n(o)}},708:function(e,t,r){"use strict";for(var n=r(6525),o=[],i=0;i<256;++i)o.push((i+256).toString(16).substr(1));t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,n.Z)(r))throw TypeError("Stringified UUID is invalid");return r}},8767:function(e,t,r){"use strict";var n=r(5302),o=r(708);t.Z=function(e,t,r){var i=(e=e||{}).random||(e.rng||n.Z)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=i[a];return t}return(0,o.Z)(i)}},6525:function(e,t,r){"use strict";var n=r(2686);t.Z=function(e){return"string"==typeof e&&n.Z.test(e)}},6468:function(e,t,r){"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=void 0;var o=Ge(r(7499)),i=Ge(r(6840)),a=Ge(r(7155)),u=Ge(r(8676)),s=Ge(r(7133)),l=Ge(r(4228)),c=Ge(r(401)),f=Ge(r(4525)),d=Ge(r(4922)),p=Ge(r(5504)),y=Ge(r(7962)),g=Ge(r(5482)),m=Ge(r(8139)),h=Ge(r(7869)),v=Ge(r(5982)),S=Ge(r(4452)),_=ke(r(7780)),b=ke(r(7014)),A=Ge(r(3024)),E=Ge(r(2249)),I=Ge(r(7616)),C=Ge(r(8816)),P=Ge(r(1776)),O=Ge(r(1893)),T=Ge(r(5670)),M=Ge(r(749)),w=Ge(r(8408)),R=Ge(r(8831)),L=Ge(r(3639)),$=Ge(r(2868)),F=Ge(r(8868)),x=Ge(r(4503)),N=ke(r(3612)),D=Ge(r(8250)),j=Ge(r(9985)),U=Ge(r(6590)),Z=Ge(r(102)),B=Ge(r(6941)),k=Ge(r(8270)),G=Ge(r(841)),H=Ge(r(6557)),V=Ge(r(7937)),W=Ge(r(2740)),Y=Ge(r(6362)),K=Ge(r(9749)),z=Ge(r(1624)),q=Ge(r(5067)),J=Ge(r(1964)),X=Ge(r(6500)),Q=Ge(r(2775)),ee=Ge(r(6368)),te=Ge(r(4246)),re=Ge(r(6623)),ne=Ge(r(5442)),oe=Ge(r(2093)),ie=Ge(r(4235)),ae=Ge(r(2250)),ue=Ge(r(9653)),se=Ge(r(2390)),le=Ge(r(6328)),ce=Ge(r(2985)),fe=Ge(r(6693)),de=ke(r(5119)),pe=Ge(r(3821)),ye=Ge(r(7610)),ge=Ge(r(8369)),me=Ge(r(8932)),he=Ge(r(593)),ve=Ge(r(928)),Se=Ge(r(2038)),_e=Ge(r(6533)),be=Ge(r(4039)),Ae=Ge(r(438)),Ee=Ge(r(8305)),Ie=Ge(r(2896)),Ce=Ge(r(7620)),Pe=Ge(r(2863)),Oe=ke(r(2456)),Te=Ge(r(5904)),Me=Ge(r(1733)),we=Ge(r(3465)),Re=Ge(r(7879)),Le=Ge(r(3991)),$e=Ge(r(4559)),Fe=Ge(r(7224)),xe=Ge(r(7902)),Ne=Ge(r(9293)),De=Ge(r(3517)),je=Ge(r(4189)),Ue=Ge(r(2487)),Ze=Ge(r(1809));function Be(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Be=function(){return e},e}function ke(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=Be();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ge(e){return e&&e.__esModule?e:{default:e}}var He={version:"13.5.2",toDate:o.default,toFloat:i.default,toInt:a.default,toBoolean:u.default,equals:s.default,contains:l.default,matches:c.default,isEmail:f.default,isURL:d.default,isMACAddress:p.default,isIP:y.default,isIPRange:g.default,isFQDN:m.default,isBoolean:v.default,isIBAN:V.default,isBIC:W.default,isAlpha:_.default,isAlphaLocales:_.locales,isAlphanumeric:b.default,isAlphanumericLocales:b.locales,isNumeric:A.default,isPassportNumber:E.default,isPort:I.default,isLowercase:C.default,isUppercase:P.default,isAscii:T.default,isFullWidth:M.default,isHalfWidth:w.default,isVariableWidth:R.default,isMultibyte:L.default,isSemVer:$.default,isSurrogatePair:F.default,isInt:x.default,isIMEI:O.default,isFloat:N.default,isFloatLocales:N.locales,isDecimal:D.default,isHexadecimal:j.default,isOctal:U.default,isDivisibleBy:Z.default,isHexColor:B.default,isRgbColor:k.default,isHSL:G.default,isISRC:H.default,isMD5:Y.default,isHash:K.default,isJWT:z.default,isJSON:q.default,isEmpty:J.default,isLength:X.default,isLocale:S.default,isByteLength:Q.default,isUUID:ee.default,isMongoId:te.default,isAfter:re.default,isBefore:ne.default,isIn:oe.default,isCreditCard:ie.default,isIdentityCard:ae.default,isEAN:ue.default,isISIN:se.default,isISBN:le.default,isISSN:ce.default,isMobilePhone:de.default,isMobilePhoneLocales:de.locales,isPostalCode:Oe.default,isPostalCodeLocales:Oe.locales,isEthereumAddress:pe.default,isCurrency:ye.default,isBtcAddress:ge.default,isISO8601:me.default,isRFC3339:he.default,isISO31661Alpha2:ve.default,isISO31661Alpha3:Se.default,isBase32:_e.default,isBase58:be.default,isBase64:Ae.default,isDataURI:Ee.default,isMagnetURI:Ie.default,isMimeType:Ce.default,isLatLong:Pe.default,ltrim:Te.default,rtrim:Me.default,trim:we.default,escape:Re.default,unescape:Le.default,stripLow:$e.default,whitelist:Fe.default,blacklist:xe.default,isWhitelisted:Ne.default,normalizeEmail:De.default,toString:toString,isSlug:je.default,isStrongPassword:Ue.default,isTaxID:fe.default,isDate:h.default,isVAT:Ze.default};t.default=He,e.exports=t.default,e.exports.default=t.default},5475:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.farsiLocales=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var r={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i};t.alpha=r;var n={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i};t.alphanumeric=n;var o={"en-US":".",ar:"٫"};t.decimal=o;var i=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=i;for(var a,u=0;u<i.length;u++)r[a="en-".concat(i[u])]=r["en-US"],n[a]=n["en-US"],o[a]=o["en-US"];var s=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];t.arabicLocales=s;for(var l,c=0;c<s.length;c++)r[l="ar-".concat(s[c])]=r.ar,n[l]=n.ar,o[l]=o.ar;var f=["IR","AF"];t.farsiLocales=f;for(var d,p=0;p<f.length;p++)n[d="fa-".concat(f[p])]=n.fa,o[d]=o.ar;var y=["ar-EG","ar-LB","ar-LY"];t.dotDecimal=y;var g=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"];t.commaDecimal=g;for(var m=0;m<y.length;m++)o[y[m]]=o["en-US"];for(var h=0;h<g.length;h++)o[g[h]]=",";r["fr-CA"]=r["fr-FR"],n["fr-CA"]=n["fr-FR"],r["pt-BR"]=r["pt-PT"],n["pt-BR"]=n["pt-PT"],o["pt-BR"]=o["pt-PT"],r["pl-Pl"]=r["pl-PL"],n["pl-Pl"]=n["pl-PL"],o["pl-Pl"]=o["pl-PL"],r["fa-AF"]=r.fa},7902:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},4228:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return(0,n.default)(e),(r=(0,i.default)(r,u)).ignoreCase?e.toLowerCase().indexOf((0,o.default)(t).toLowerCase())>=0:e.indexOf((0,o.default)(t))>=0};var n=a(r(7359)),o=a(r(1589)),i=a(r(1778));function a(e){return e&&e.__esModule?e:{default:e}}var u={ignoreCase:!1};e.exports=t.default,e.exports.default=t.default},7133:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e===t};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},7879:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},6623:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&r&&i>r)};var n=i(r(7359)),o=i(r(7499));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},7780:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.default)(e);var n=e,a=r.ignore;if(a)if(a instanceof RegExp)n=n.replace(a,"");else{if("string"!=typeof a)throw new Error("ignore should be instance of a String or RegExp");n=n.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in i.alpha)return i.alpha[t].test(n);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.alpha);t.locales=a},7014:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in i.alphanumeric)return i.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.alphanumeric);t.locales=a},5670:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[\x00-\x7F]+$/;e.exports=t.default,e.exports.default=t.default},2740:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-z]{4}[A-z]{2}\w{2}(\w{3})?$/;e.exports=t.default,e.exports.default=t.default},6533:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),e.length%8==0&&i.test(e))return!0;return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z2-7]+=*$/;e.exports=t.default,e.exports.default=t.default},4039:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),i.test(e))return!0;return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-HJ-NP-Za-km-z1-9]*$/;e.exports=t.default,e.exports.default=t.default},438:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),t=(0,o.default)(t,s);var r=e.length;if(t.urlSafe)return u.test(e);if(r%4!=0||a.test(e))return!1;var i=e.indexOf("=");return-1===i||i===r-1||i===r-2&&"="===e[r-1]};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a=/[^A-Z0-9+\/=]/i,u=/^[A-Z0-9_\-]*$/i,s={urlSafe:!1};e.exports=t.default,e.exports.default=t.default},5442:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&r&&i<r)};var n=i(r(7359)),o=i(r(7499));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},5982:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),["true","false","1","0"].indexOf(e)>=0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},8369:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$/;e.exports=t.default,e.exports.default=t.default},2775:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,o.default)(e),"object"===i(t)?(r=t.min||0,n=t.max):(r=arguments[1],n=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=r&&(void 0===n||a<=n)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};function i(e){return i="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},i(e)}e.exports=t.default,e.exports.default=t.default},4235:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.replace(/[- ]+/g,"");if(!i.test(t))return!1;for(var r,n,a,u=0,s=t.length-1;s>=0;s--)r=t.substring(s,s+1),n=parseInt(r,10),u+=a&&(n*=2)>=10?n%10+1:n,a=!a;return!(u%10!=0||!t)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;e.exports=t.default,e.exports.default=t.default},7610:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,r){0!==r&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var r="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),n="-?",o="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),i="(".concat(["0","[1-9]\\d*",o].join("|"),")?"),a="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),u=i+(e.allow_decimal||e.require_decimal?a:"");e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?u+=n:e.negative_sign_before_digits&&(u=n+u));e.allow_negative_sign_placeholder?u="( (?!\\-))?".concat(u):e.allow_space_after_symbol?u=" ?".concat(u):e.allow_space_after_digits&&(u+="( (?!$))?");e.symbol_after_digits?u+=r:u=r+u;e.allow_negatives&&(e.parens_for_negatives?u="(\\(".concat(u,"\\)|").concat(u,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(u=n+u));return new RegExp("^(?!-? )(?=.*\\d)".concat(u,"$"))}(t=(0,n.default)(t,a)).test(e)};var n=i(r(1778)),o=i(r(7359));function i(e){return e&&e.__esModule?e:{default:e}}var a={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default,e.exports.default=t.default},8305:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),n=r.shift();if("data:"!==n.substr(0,5))return!1;var s=n.substr(5);if(""!==s&&!i.test(s))return!1;for(var l=0;l<r.length;l++)if(l===r.length-1&&"base64"===r[l].toLowerCase());else if(!a.test(r[l]))return!1;for(var c=0;c<t.length;c++)if(!u.test(t[c]))return!1;return!0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[a-z]+\/[a-z0-9\-\+]+$/i,a=/^[a-z\-]+=[a-z0-9\-]+$/i,u=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default,e.exports.default=t.default},7869:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t="string"==typeof t?(0,o.default)({format:t},u):(0,o.default)(t,u);if("string"==typeof e&&(m=t.format,/(^(y{4}|y{2})[\/-](m{1,2})[\/-](d{1,2})$)|(^(m{1,2})[\/-](d{1,2})[\/-]((y{4}|y{2})$))|(^(d{1,2})[\/-](m{1,2})[\/-]((y{4}|y{2})$))/gi.test(m))){var r,n=t.delimiters.find((function(e){return-1!==t.format.indexOf(e)})),a=t.strictMode?n:t.delimiters.find((function(t){return-1!==e.indexOf(t)})),s=function(e,t){for(var r=[],n=Math.min(e.length,t.length),o=0;o<n;o++)r.push([e[o],t[o]]);return r}(e.split(a),t.format.toLowerCase().split(n)),l={},c=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}(s);try{for(c.s();!(r=c.n()).done;){var f=(y=r.value,g=2,function(e){if(Array.isArray(e))return e}(y)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],_n=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);_n=!0);}catch(u){n=!0,o=u}finally{try{_n||null==a.return||a.return()}finally{if(n)throw o}}return r}(y,g)||i(y,g)||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.")}()),d=f[0],p=f[1];if(d.length!==p.length)return!1;l[p.charAt(0)]=d}}catch(h){c.e(h)}finally{c.f()}return new Date("".concat(l.m,"/").concat(l.d,"/").concat(l.y)).getDate()===+l.d}var y,g;var m;if(!t.strictMode)return"[object Date]"===Object.prototype.toString.call(e)&&isFinite(e);return!1};var n,o=(n=r(1778))&&n.__esModule?n:{default:n};function i(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};e.exports=t.default,e.exports.default=t.default},8250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),(t=(0,n.default)(t,s)).locale in a.decimal)return!(0,i.default)(l,e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"))}(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))};var n=u(r(1778)),o=u(r(7359)),i=u(r(2900)),a=r(5475);function u(e){return e&&e.__esModule?e:{default:e}}var s={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},l=["","-","+"];e.exports=t.default,e.exports.default=t.default},102:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(0,o.default)(e)%parseInt(t,10)==0};var n=i(r(7359)),o=i(r(6840));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},9653:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=Number(e.slice(-1));return i.test(e)&&t===(r=e,n=10-r.slice(0,-1).split("").map((function(e,t){return Number(e)*function(e,t){return 8===e?t%2==0?3:1:t%2==0?1:3}(r.length,t)})).reduce((function(e,t){return e+t}),0)%10,n<10?n:0);var r,n};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(\d{8}|\d{13})$/;e.exports=t.default,e.exports.default=t.default},4525:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,o.default)(t,c)).require_display_name||t.allow_display_name){var r=e.match(f);if(r){var s,h=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],_n=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);_n=!0);}catch(u){n=!0,o=u}finally{try{_n||null==a.return||a.return()}finally{if(n)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(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.")}()}(r,3);if(s=h[1],e=h[2],s.endsWith(" ")&&(s=s.substr(0,s.length-1)),!function(e){var t=e.match(/^"(.+)"$/i),r=t?t[1]:e;if(!r.trim())return!1;if(/[\.";<>]/.test(r)){if(!t)return!1;if(!(r.split('"').length===r.split('\\"').length))return!1}return!0}(s))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var v=e.split("@"),S=v.pop(),_=v.join("@"),b=S.toLowerCase();if(t.domain_specific_validation&&("gmail.com"===b||"googlemail.com"===b)){var A=(_=_.toLowerCase()).split("+")[0];if(!(0,i.default)(A.replace(".",""),{min:6,max:30}))return!1;for(var E=A.split("."),I=0;I<E.length;I++)if(!p.test(E[I]))return!1}if(!(!1!==t.ignore_max_length||(0,i.default)(_,{max:64})&&(0,i.default)(S,{max:254})))return!1;if(!(0,a.default)(S,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,u.default)(S)){if(!S.startsWith("[")||!S.endsWith("]"))return!1;var C=S.substr(1,S.length-2);if(0===C.length||!(0,u.default)(C))return!1}}if('"'===_[0])return _=_.slice(1,_.length-1),t.allow_utf8_local_part?m.test(_):y.test(_);for(var P=t.allow_utf8_local_part?g:d,O=_.split("."),T=0;T<O.length;T++)if(!P.test(O[T]))return!1;if(t.blacklisted_chars&&-1!==_.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var n=s(r(7359)),o=s(r(1778)),i=s(r(2775)),a=s(r(8139)),u=s(r(7962));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1},f=/^([^\x00-\x1F\x7F-\x9F\cX]+)<(.+)>$/i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,p=/^[a-z\d]+$/,y=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,m=/^([\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;e.exports=t.default,e.exports.default=t.default},1964:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),0===((t=(0,o.default)(t,a)).ignore_whitespace?e.trim().length:e.length)};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a={ignore_whitespace:!1};e.exports=t.default,e.exports.default=t.default},3821:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0x)[0-9a-f]{40}$/i;e.exports=t.default,e.exports.default=t.default},8139:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),(t=(0,o.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));var r=e.split("."),i=r[r.length-1];if(t.require_tld){if(r.length<2)return!1;if(!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20\u00A9\uFFFD]/.test(i))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(i))return!1;return r.every((function(e){return!(e.length>63)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1};e.exports=t.default,e.exports.default=t.default},3612:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?i.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var n=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||n>=t.min)&&(!t.hasOwnProperty("max")||n<=t.max)&&(!t.hasOwnProperty("lt")||n<t.lt)&&(!t.hasOwnProperty("gt")||n>t.gt)},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.decimal);t.locales=a},749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.fullWidth=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.fullWidth=i},841:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)||a.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(hsl)a?\(\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn|\s*)(\s*,\s*(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s*(,\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s*)?\)$/i,a=/^(hsl)a?\(\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn|\s)(\s*(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s*(\/\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s*)?\)$/i;e.exports=t.default,e.exports.default=t.default},8408:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.halfWidth=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.halfWidth=i},9749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),new RegExp("^[a-fA-F0-9]{".concat(i[t],"}$")).test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default,e.exports.default=t.default},6941:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;e.exports=t.default,e.exports.default=t.default},9985:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0x|0h)?[0-9A-F]+$/i;e.exports=t.default,e.exports.default=t.default},7937:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),function(e){var t=e.replace(/[\s\-]+/gi,"").toUpperCase(),r=t.slice(0,2).toUpperCase();return r in i&&i[r].test(t)}(e)&&function(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase();return 1===(t.slice(4)+t.slice(0,4)).replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})).match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"")}(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-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-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};e.exports=t.default,e.exports.default=t.default},1893:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=i;(t=t||{}).allow_hyphens&&(r=a);if(!r.test(e))return!1;e=e.replace(/-/g,"");for(var n=0,u=2,s=0;s<14;s++){var l=e.substring(14-s-1,14-s),c=parseInt(l,10)*u;n+=c>=10?c%10+1:c,1===u?u+=1:u-=1}if((10-n%10)%10!==parseInt(e.substring(14,15),10))return!1;return!0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[0-9]{15}$/,a=/^\d{2}-\d{6}-\d{6}-\d{1}$/;e.exports=t.default,e.exports.default=t.default},7962:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(r=String(r)))return e(t,4)||e(t,6);if("4"===r){if(!i.test(t))return!1;var n=t.split(".").sort((function(e,t){return e-t}));return n[3]<=255}if("6"===r){var u=[t];if(t.includes("%")){if(2!==(u=t.split("%")).length)return!1;if(!u[0].includes(":"))return!1;if(""===u[1])return!1}var s=u[0].split(":"),l=!1,c=e(s[s.length-1],4),f=c?7:8;if(s.length>f)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(s.shift(),s.shift(),l=!0):"::"===t.substr(t.length-2)&&(s.pop(),s.pop(),l=!0);for(var d=0;d<s.length;++d)if(""===s[d]&&d>0&&d<s.length-1){if(l)return!1;l=!0}else if(c&&d===s.length-1);else if(!a.test(s[d]))return!1;return l?s.length>=1:s.length===f}return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,a=/^[0-9A-F]{1,4}$/i;e.exports=t.default,e.exports.default=t.default},5482:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.split("/");if(2!==t.length)return!1;if(!a.test(t[1]))return!1;if(t[1].length>1&&t[1].startsWith("0"))return!1;return(0,o.default)(t[0],4)&&t[1]<=32&&t[1]>=0};var n=i(r(7359)),o=i(r(7962));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\d{1,2}$/;e.exports=t.default,e.exports.default=t.default},6328:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(r=String(r)))return e(t,10)||e(t,13);var n,s=t.replace(/[\s-]+/g,""),l=0;if("10"===r){if(!i.test(s))return!1;for(n=0;n<9;n++)l+=(n+1)*s.charAt(n);if("X"===s.charAt(9)?l+=100:l+=10*s.charAt(9),l%11==0)return!!s}else if("13"===r){if(!a.test(s))return!1;for(n=0;n<12;n++)l+=u[n%2]*s.charAt(n);if(s.charAt(12)-(10-l%10)%10==0)return!!s}return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:[0-9]{9}X|[0-9]{10})$/,a=/^(?:[0-9]{13})$/,u=[1,3];e.exports=t.default,e.exports.default=t.default},2390:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!i.test(e))return!1;for(var t,r,n=e.replace(/[A-Z]/g,(function(e){return parseInt(e,36)})),a=0,u=!0,s=n.length-2;s>=0;s--)t=n.substring(s,s+1),r=parseInt(t,10),a+=u&&(r*=2)>=10?r+1:r,u=!u;return parseInt(e.substr(e.length-1),10)===(1e4-a)%10};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default,e.exports.default=t.default},928:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(a,e.toUpperCase())};var n=i(r(7359)),o=i(r(2900));function i(e){return e&&e.__esModule?e:{default:e}}var a=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default,e.exports.default=t.default},2038:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(a,e.toUpperCase())};var n=i(r(7359)),o=i(r(2900));function i(e){return e&&e.__esModule?e:{default:e}}var a=["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"];e.exports=t.default,e.exports.default=t.default},8932:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=t.strictSeparator?a.test(e):i.test(e);return r&&t.strict?u(e):r};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,u=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var r=Number(t[1]),n=Number(t[2]);return r%4==0&&r%100!=0||r%400==0?n<=366:n<=365}var o=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),i=o[1],a=o[2],u=o[3],s=a?"0".concat(a).slice(-2):a,l=u?"0".concat(u).slice(-2):u,c=new Date("".concat(i,"-").concat(s||"01","-").concat(l||"01"));return!a||!u||c.getUTCFullYear()===i&&c.getUTCMonth()+1===a&&c.getUTCDate()===u};e.exports=t.default,e.exports.default=t.default},6557:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default,e.exports.default=t.default},2985:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=i;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;for(var n=e.replace("-","").toUpperCase(),a=0,u=0;u<n.length;u++){var s=n[u];a+=("X"===s?10:+s)*(8-u)}return a%11==0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default,e.exports.default=t.default},2250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in i)return i[t](e);if("any"===t){for(var r in i){if(i.hasOwnProperty(r))if((0,i[r])(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={ES:function(e){(0,o.default)(e);var t={X:0,Y:1,Z:2},r=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(r))return!1;var n=r.slice(0,-1).replace(/[X,Y,Z]/g,(function(e){return t[e]}));return r.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][n%23])},IN:function(e){var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],r=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],n=e.trim();if(!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(n))return!1;var o=0;return n.replace(/\s/g,"").split("").map(Number).reverse().forEach((function(e,n){o=t[o][r[n%8][e]]})),0===o},IT:function(e){return 9===e.length&&("CA00000AA"!==e&&e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1)},NO:function(e){var t=e.trim();if(isNaN(Number(t)))return!1;if(11!==t.length)return!1;if("00000000000"===t)return!1;var r=t.split("").map(Number),n=(11-(3*r[0]+7*r[1]+6*r[2]+1*r[3]+8*r[4]+9*r[5]+4*r[6]+5*r[7]+2*r[8])%11)%11,o=(11-(5*r[0]+4*r[1]+3*r[2]+2*r[3]+7*r[4]+6*r[5]+5*r[6]+4*r[7]+3*r[8]+2*n)%11)%11;return n===r[9]&&o===r[10]},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var r,n=t,o=0,i=0;i<n.length;i++)o+=(r=Number(n[i])*(i%2+1))>9?r-9:r;return o%10==0},"ar-TN":function(e){var t=e.trim();return!!/^\d{8}$/.test(t)},"zh-CN":function(e){var t,r=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],n=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],o=["1","0","X","9","8","7","6","5","4","3","2"],i=function(e){return r.includes(e)},a=function(e){var t=parseInt(e.substring(0,4),10),r=parseInt(e.substring(4,6),10),n=parseInt(e.substring(6),10),o=new Date(t,r-1,n);return!(o>new Date)&&(o.getFullYear()===t&&o.getMonth()===r-1&&o.getDate()===n)},u=function(e){return function(e){for(var t=e.substring(0,17),r=0,i=0;i<17;i++)r+=parseInt(t.charAt(i),10)*parseInt(n[i],10);return o[r%11]}(e)===e.charAt(17).toUpperCase()};return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(t=e)&&(15===t.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=i(r)))return!1;var n="19".concat(e.substring(6,12));return!!(t=a(n))}(t):function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=i(r)))return!1;var n=e.substring(6,14);return!!(t=a(n))&&u(e)}(t))},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},r=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(r)&&Array.from(r).reduce((function(e,r,n){if(0===n){var o=t[r];return o%10*9+Math.floor(o/10)}return 9===n?(10-e%10-Number(r))%10==0:e+Number(r)*(9-n)}),0)}};e.exports=t.default,e.exports.default=t.default},2093:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r;if((0,n.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var i=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(i[r]=(0,o.default)(t[r]));return i.indexOf(e)>=0}if("object"===a(t))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var n=i(r(7359)),o=i(r(1589));function i(e){return e&&e.__esModule?e:{default:e}}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},4503:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:a,n=!t.hasOwnProperty("min")||e>=t.min,u=!t.hasOwnProperty("max")||e<=t.max,s=!t.hasOwnProperty("lt")||e<t.lt,l=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&u&&s&&l};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;e.exports=t.default,e.exports.default=t.default},5067:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);try{t=(0,o.default)(t,u);var r=[];t.allow_primitives&&(r=[null,!1,!0]);var i=JSON.parse(e);return r.includes(i)||!!i&&"object"===a(i)}catch(s){}return!1};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}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)}var u={allow_primitives:!1};e.exports=t.default,e.exports.default=t.default},1624:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.split("."),r=t.length;if(r>3||r<2)return!1;return t.reduce((function(e,t){return e&&(0,o.default)(t,{urlSafe:!0})}),!0)};var n=i(r(7359)),o=i(r(438));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},2863:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),t=(0,o.default)(t,c),!e.includes(","))return!1;var r=e.split(",");if(r[0].startsWith("(")&&!r[1].endsWith(")")||r[1].endsWith(")")&&!r[0].startsWith("("))return!1;if(t.checkDMS)return s.test(r[0])&&l.test(r[1]);return a.test(r[0])&&u.test(r[1])};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,u=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,s=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,l=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,c={checkDMS:!1};e.exports=t.default,e.exports.default=t.default},6500:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,o.default)(e),"object"===i(t)?(r=t.min||0,n=t.max):(r=arguments[1]||0,n=arguments[2]);var a=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],u=e.length-a.length;return u>=r&&(void 0===n||u<=n)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};function i(e){return i="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},i(e)}e.exports=t.default,e.exports.default=t.default},4452:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e)return!0;return i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-z]{2,4}([_-]([A-z]{4}|[\d]{3}))?([_-]([A-z]{2}|[\d]{3}))?$/;e.exports=t.default,e.exports.default=t.default},8816:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toLowerCase()};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},5504:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t&&t.no_colons)return a.test(e);return i.test(e)||u.test(e)||s.test(e)||l.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/,a=/^([0-9a-fA-F]){12}$/,u=/^([0-9a-fA-F][0-9a-fA-F]-){5}([0-9a-fA-F][0-9a-fA-F])$/,s=/^([0-9a-fA-F][0-9a-fA-F]\s){5}([0-9a-fA-F][0-9a-fA-F])$/,l=/^([0-9a-fA-F]{4}).([0-9a-fA-F]{4}).([0-9a-fA-F]{4})$/;e.exports=t.default,e.exports.default=t.default},6362:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[a-f0-9]{32}$/;e.exports=t.default,e.exports.default=t.default},2896:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e.trim())};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^magnet:\?xt=urn:[a-z0-9]+:[a-z0-9]{32,40}&dn=.+&tr=.+$/i;e.exports=t.default,e.exports.default=t.default},7620:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)||a.test(e)||u.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,u=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default,e.exports.default=t.default},5119:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if((0,o.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){if(i.hasOwnProperty(t)&&i[t].test(e))return!0;return!1}));if(t in i)return i[t].test(e);if(!t||"any"===t){for(var n in i){if(i.hasOwnProperty(n))if(i[n].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+49)?0?[1|3]([0|5][0-45-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)(7[5-9])\d{1,7}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28)\d{7}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[689]\d{7}$/,"en-SL":/^(?:0|94|\+94)?(7(0|1|2|5|6|7|8)( |-)?\d)\d{6}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?([1-8]{1}|3[0-9]{2})?[2-9]{1}\d{6}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(5|79)\d{7}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[2-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^(\+?84|0)((3([2-9]))|(5([2689]))|(7([0|6-9]))|(8([1-6|89]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?1([3568][0-9]|4[579]|6[67]|7[01235678]|9[012356789])[0-9]{8}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};i["en-CA"]=i["en-US"],i["fr-CA"]=i["en-CA"],i["fr-BE"]=i["nl-BE"],i["zh-HK"]=i["en-HK"],i["zh-MO"]=i["en-MO"],i["ga-IE"]=i["en-IE"];var a=Object.keys(i);t.locales=a},4246:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(e)&&24===e.length};var n=i(r(7359)),o=i(r(9985));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},3639:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[^\x00-\x7F]/;e.exports=t.default,e.exports.default=t.default},3024:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t&&t.no_symbols)return a.test(e);return new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?i.decimal[t.locale]:".","])?[0-9]+$")).test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=/^[0-9]+$/;e.exports=t.default,e.exports.default=t.default},6590:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0o)?[0-7]+$/i;e.exports=t.default,e.exports.default=t.default},2249:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in i&&i[t].test(r)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^[GE]\d{8}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,MT:/^\d{7}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,PO:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{2}\d{2}\d{6}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};e.exports=t.default,e.exports.default=t.default},7616:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e,{min:0,max:65535})};var n,o=(n=r(4503))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},2456:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in s)return s[t].test(e);if("any"===t){for(var r in s){if(s.hasOwnProperty(r))if(s[r].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void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\s?\d{2}$/,SG:u,SI:i,SK:/^\d{3}\s?\d{2}$/,TH:a,TN:i,TW:/^\d{3}(\d{2})?$/,UA:a,US:/^\d{5}(-\d{4})?$/,ZA:i,ZM:a},l=Object.keys(s);t.locales=l},593:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),d.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/([01][0-9]|2[0-3])/,a=/[0-5][0-9]/,u=new RegExp("[-+]".concat(i.source,":").concat(a.source)),s=new RegExp("([zZ]|".concat(u.source,")")),l=new RegExp("".concat(i.source,":").concat(a.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),c=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),f=new RegExp("".concat(l.source).concat(s.source)),d=new RegExp("".concat(c.source,"[ tT]").concat(f.source));e.exports=t.default,e.exports.default=t.default},8270:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if((0,o.default)(e),!t)return i.test(e)||a.test(e);return i.test(e)||a.test(e)||u.test(e)||s.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,u=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9
1
+ !function(){var e={7266:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(5854),o=r(730);function i(e){var t=(0,n.Z)(e);return function(e){return(0,o.Z)(t,e)}}},730:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,r){if(e)throw t;return r}};function o(e,t){var r,o,i,a,u,s,l=[];for(r=0;r<e.length;r++){if(u=e[r],a=n[u]){for(o=a.length,i=Array(o);o--;)i[o]=l.pop();try{s=a.apply(null,i)}catch(c){return c}}else s=t.hasOwnProperty(u)?t[u]:+u;l.push(s)}return l[0]}},1184:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(7266);function o(e){var t=(0,n.Z)(e);return function(e){return+t({n:e})}}},5854:function(e,t,r){"use strict";var n,o,i,a;function u(e){for(var t,r,u,s,l=[],c=[];t=e.match(a);){for(r=t[0],(u=e.substr(0,t.index).trim())&&l.push(u);s=c.pop();){if(i[r]){if(i[r][0]===s){r=i[r][1]||r;break}}else if(o.indexOf(s)>=0||n[s]<n[r]){c.push(s);break}l.push(s)}i[r]||c.push(r),e=e.substr(t.index+r.length)}return(e=e.trim())&&l.push(e),l.concat(c.reverse())}r.d(t,{Z:function(){return u}}),n={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],i={")":["("],":":["?","?:"]},a=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},6668:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function o(e,t){var r;if(!Array.isArray(t))for(t=new Array(arguments.length-1),r=1;r<arguments.length;r++)t[r-1]=arguments[r];return r=1,e.replace(n,(function(){var e,n,o,i,a;return e=arguments[3],n=arguments[5],"%"===(i=arguments[9])?"%":("*"===(o=arguments[7])&&(o=t[r-1],r++),void 0!==n?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(n)&&(a=t[0][n]):(void 0===e&&(e=r),r++,a=t[e-1]),"f"===i?a=parseFloat(a)||0:"d"===i&&(a=parseInt(a)||0),void 0!==o&&("f"===i?a=a.toFixed(o):"s"===i&&(a=a.substr(0,o))),null!=a?a:"")}))}},6744:function(e){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},2680:function(e,t,r){"use strict";var n=r(7286),o=r(9429),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o(r):r}},9429:function(e,t,r){"use strict";var n=r(4090),o=r(7286),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||n.call(a,i),s=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(d){l=null}e.exports=function(e){var t=u(n,a,arguments);if(s&&l){var r=s(t,"length");r.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var f=function(){return u(n,i,arguments)};l?l(e.exports,"apply",{value:f}):e.exports.apply=f},5881:function(e){var t=1e3,r=60*t,n=60*r,o=24*n,i=7*o,a=365.25*o;function u(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,s){s=s||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!u)return;var s=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*a;case"weeks":case"week":case"w":return s*i;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*n;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&isFinite(e))return s.long?function(e){var i=Math.abs(e);if(i>=o)return u(e,i,o,"day");if(i>=n)return u(e,i,n,"hour");if(i>=r)return u(e,i,r,"minute");if(i>=t)return u(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=n)return Math.round(e/n)+"h";if(i>=r)return Math.round(e/r)+"m";if(i>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},2699:function(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function o(){void 0!==i&&e.removeListener("error",i),r([].slice.call(arguments))}var i;"error"!==t&&(i=function(r){e.removeListener(t,o),n(r)},e.once("error",i)),e.once(t,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function s(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var o,i,a,l;if(u(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=s(e))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=c.bind(n);return o.listener=r,n.wrapFn=o,o}function d(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):y(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function y(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return s(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)n(s,this,t);else{var l=s.length,c=y(s,l);for(r=0;r<l;++r)n(c[r],this,t)}return!0},i.prototype.addListener=function(e,t){return l(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return l(this,e,t,!0)},i.prototype.once=function(e,t){return u(t),this.on(e,f(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,f(this,e,t)),this},i.prototype.removeListener=function(e,t){var r,n,o,i,a;if(u(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return d(this,e,!0)},i.prototype.rawListeners=function(e){return d(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},i.prototype.listenerCount=p,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},5695:function(e){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(r=t.cmp,function(e){return function(t,n){var o={key:t,value:e[t]},i={key:n,value:e[n]};return r(o,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,a;if(Array.isArray(t)){for(a="[",r=0;r<t.length;r++)r&&(a+=","),a+=e(t[r])||"null";return a+"]"}if(null===t)return"null";if(-1!==i.indexOf(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=i.push(t)-1,s=Object.keys(t).sort(o&&o(t));for(a="",r=0;r<s.length;r++){var l=s[r],c=e(t[l]);c&&(a&&(a+=","),a+=JSON.stringify(l)+":"+c)}return i.splice(u,1),"{"+a+"}"}}(e)}},7795:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||n.call(i)!==o)throw new TypeError(t+i);for(var a,u=r.call(arguments,1),s=function(){if(this instanceof a){var t=i.apply(this,u.concat(r.call(arguments)));return Object(t)===t?t:this}return i.apply(e,u.concat(r.call(arguments)))},l=Math.max(0,i.length-u.length),c=[],f=0;f<l;f++)c.push("$"+f);if(a=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s),i.prototype){var d=function(){};d.prototype=i.prototype,a.prototype=new d,d.prototype=null}return a}},4090:function(e,t,r){"use strict";var n=r(7795);e.exports=Function.prototype.bind||n},7286:function(e,t,r){"use strict";var n,o=SyntaxError,i=Function,a=TypeError,u=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(T){s=null}var l=function(){throw new a},c=s?function(){try{return l}catch(e){try{return s(arguments,"callee").get}catch(t){return l}}}():l,f=r(2636)(),d=Object.getPrototypeOf||function(e){return e.__proto__},p={},y="undefined"==typeof Uint8Array?n:d(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f?d([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?d(d([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?d((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?d((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?d(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=u("async function () {}");else if("%GeneratorFunction%"===t)r=u("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=u("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=d(o.prototype))}return g[t]=r,r},h={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=r(4090),S=r(3198),_=v.call(Function.call,Array.prototype.concat),b=v.call(Function.apply,Array.prototype.splice),A=v.call(Function.call,String.prototype.replace),E=v.call(Function.call,String.prototype.slice),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,P=function(e){var t=E(e,0,1),r=E(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return A(e,I,(function(e,t,r,o){n[n.length]=r?A(o,C,"$1"):t||e})),n},O=function(e,t){var r,n=e;if(S(h,n)&&(n="%"+(r=h[n])[0]+"%"),S(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=P(e),n=r.length>0?r[0]:"",i=O("%"+n+"%",t),u=i.name,l=i.value,c=!1,f=i.alias;f&&(n=f[0],b(r,_([0,1],f)));for(var d=1,p=!0;d<r.length;d+=1){var y=r[d],m=E(y,0,1),h=E(y,-1);if(('"'===m||"'"===m||"`"===m||'"'===h||"'"===h||"`"===h)&&m!==h)throw new o("property names with quotes must have matching quotes");if("constructor"!==y&&p||(c=!0),S(g,u="%"+(n+="."+y)+"%"))l=g[u];else if(null!=l){if(!(y in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&d+1>=r.length){var v=s(l,y);l=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:l[y]}else p=S(l,y),l=l[y];p&&!c&&(g[u]=l)}}return l}},2636:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(6679);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},6679:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},3198:function(e,t,r){"use strict";var n=r(4090);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},4495:function(e,t,r){"use strict";var n=r(212),o=r(9561);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var o=1;o<r;o++)n[o]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)n[o++]=0;n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=e>>>24&255,n[o++]=e>>>16&255,n[o++]=e>>>8&255,n[o++]=255&e}else for(n[o++]=255&e,n[o++]=e>>>8&255,n[o++]=e>>>16&255,n[o++]=e>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,i=8;i<this.padLength;i++)n[o++]=0;return n}},5079:function(e,t,r){"use strict";var n=r(212),o=r(4495),i=r(713),a=n.rotl32,u=n.sum32,s=n.sum32_5,l=i.ft_1,c=o.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(d,c),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var o=this.h[0],i=this.h[1],c=this.h[2],d=this.h[3],p=this.h[4];for(n=0;n<r.length;n++){var y=~~(n/20),g=s(a(o,5),l(y,i,c,d),p,r[n],f[y]);p=d,d=c,c=a(i,30),i=o,o=g}this.h[0]=u(this.h[0],o),this.h[1]=u(this.h[1],i),this.h[2]=u(this.h[2],c),this.h[3]=u(this.h[3],d),this.h[4]=u(this.h[4],p)},d.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},713:function(e,t,r){"use strict";var n=r(212).rotr32;function o(e,t,r){return e&t^~e&r}function i(e,t,r){return e&t^e&r^t&r}function a(e,t,r){return e^t^r}t.ft_1=function(e,t,r,n){return 0===e?o(t,r,n):1===e||3===e?a(t,r,n):2===e?i(t,r,n):void 0},t.ch32=o,t.maj32=i,t.p32=a,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},212:function(e,t,r){"use strict";var n=r(9561),o=r(1285);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function u(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)r.push(parseInt(e[o]+e[o+1],16))}else for(var n=0,o=0;o<e.length;o++){var a=e.charCodeAt(o);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):i(e,o)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++o)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(o=0;o<e.length;o++)r[o]=0|e[o];return r},t.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=u(e[r].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e[n];"little"===t&&(o=a(o)),r+=s(o.toString(16))}return r},t.zero2=u,t.zero8=s,t.join32=function(e,t,r,o){var i=r-t;n(i%4==0);for(var a=new Array(i/4),u=0,s=t;u<a.length;u++,s+=4){var l;l="big"===o?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],a[u]=l>>>0}return a},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,o=0;n<e.length;n++,o+=4){var i=e[n];"big"===t?(r[o]=i>>>24,r[o+1]=i>>>16&255,r[o+2]=i>>>8&255,r[o+3]=255&i):(r[o+3]=i>>>24,r[o+2]=i>>>16&255,r[o+1]=i>>>8&255,r[o]=255&i)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,o){return e+t+r+n+o>>>0},t.sum64=function(e,t,r,n){var o=e[t],i=n+e[t+1]>>>0,a=(i<n?1:0)+r+o;e[t]=a>>>0,e[t+1]=i},t.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,o,i,a,u){var s=0,l=t;return s+=(l=l+n>>>0)<t?1:0,s+=(l=l+i>>>0)<i?1:0,e+r+o+a+(s+=(l=l+u>>>0)<u?1:0)>>>0},t.sum64_4_lo=function(e,t,r,n,o,i,a,u){return t+n+i+u>>>0},t.sum64_5_hi=function(e,t,r,n,o,i,a,u,s,l){var c=0,f=t;return c+=(f=f+n>>>0)<t?1:0,c+=(f=f+i>>>0)<i?1:0,c+=(f=f+u>>>0)<u?1:0,e+r+o+a+s+(c+=(f=f+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,r,n,o,i,a,u,s,l){return t+n+i+u+l>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},1285:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},7839:function(e,t,r){var n=r(2699),o=r(1285);function i(e){if(!(this instanceof i))return new i(e);"number"==typeof e&&(e={max:e}),e||(e={}),n.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=i,o(i,n.EventEmitter),Object.defineProperty(i.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),i.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},i.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},i.prototype._unlink=function(e,t,r){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=r,this.cache[this.tail].prev=null):(this.cache[t].next=r,this.cache[r].prev=t)},i.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},i.prototype.set=function(e,t){var r;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((r=this.cache[e]).value=t,this.maxAge&&(r.modified=Date.now()),e===this.head)return t;this._unlink(e,r.prev,r.next)}else r={value:t,modified:0,next:null,prev:null},this.maxAge&&(r.modified=Date.now()),this.cache[e]=r,this.length===this.max&&this.evict();return this.length++,r.next=null,r.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},i.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},i.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},i.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},9561:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},9500:function(e,t,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,u="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=u&&s&&"function"==typeof s.get?s.get:null,c=u&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,h=String.prototype.match,v="function"==typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,b="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A=Object.prototype.propertyIsEnumerable,E=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),I=r(3260).custom,C=I&&w(I)?I:null,P="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function O(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function T(e){return String(e).replace(/"/g,"&quot;")}function M(e){return!("[object Array]"!==$(e)||P&&"object"==typeof e&&P in e)}function w(e){if(b)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,n,o){var u=r||{};if(L(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(L(u,"maxStringLength")&&("number"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=!L(u,"customInspect")||u.customInspect;if("boolean"!=typeof s&&"symbol"!==s)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(L(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return x(t,u);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var g=void 0===u.depth?5:u.depth;if(void 0===n&&(n=0),n>=g&&g>0&&"object"==typeof t)return M(t)?"[Array]":"[Object]";var S=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=Array(e.indent+1).join(" ")}return{base:r,prev:Array(t+1).join(r)}}(u,n);if(void 0===o)o=[];else if(F(o,t)>=0)return"[Circular]";function A(t,r,i){if(r&&(o=o.slice()).push(r),i){var a={depth:u.depth};return L(u,"quoteStyle")&&(a.quoteStyle=u.quoteStyle),e(t,a,n+1,o)}return e(t,u,n+1,o)}if("function"==typeof t){var I=function(e){if(e.name)return e.name;var t=h.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),R=B(t,A);return"[Function"+(I?": "+I:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(w(t)){var N=b?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):_.call(t);return"object"!=typeof t||b?N:D(N)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var k="<"+String(t.nodeName).toLowerCase(),G=t.attributes||[],H=0;H<G.length;H++)k+=" "+G[H].name+"="+O(T(G[H].value),"double",u);return k+=">",t.childNodes&&t.childNodes.length&&(k+="..."),k+="</"+String(t.nodeName).toLowerCase()+">"}if(M(t)){if(0===t.length)return"[]";var V=B(t,A);return S&&!function(e){for(var t=0;t<e.length;t++)if(F(e[t],"\n")>=0)return!1;return!0}(V)?"["+Z(V,S)+"]":"[ "+V.join(", ")+" ]"}if(function(e){return!("[object Error]"!==$(e)||P&&"object"==typeof e&&P in e)}(t)){var W=B(t,A);return 0===W.length?"["+String(t)+"]":"{ ["+String(t)+"] "+W.join(", ")+" }"}if("object"==typeof t&&s){if(C&&"function"==typeof t[C])return t[C]();if("symbol"!==s&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{l.call(e)}catch(k){return!0}return e instanceof Map}catch(t){}return!1}(t)){var Y=[];return a.call(t,(function(e,r){Y.push(A(r,t,!0)+" => "+A(e,t))})),U("Map",i.call(t),Y,S)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(r){}return!1}(t)){var K=[];return c.call(t,(function(e){K.push(A(e,t))})),U("Set",l.call(t),K,S)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(k){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return j("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(k){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return j("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(t){}return!1}(t))return j("WeakRef");if(function(e){return!("[object Number]"!==$(e)||P&&"object"==typeof e&&P in e)}(t))return D(A(Number(t)));if(function(e){if(!e||"object"!=typeof e||!v)return!1;try{return v.call(e),!0}catch(t){}return!1}(t))return D(A(v.call(t)));if(function(e){return!("[object Boolean]"!==$(e)||P&&"object"==typeof e&&P in e)}(t))return D(y.call(t));if(function(e){return!("[object String]"!==$(e)||P&&"object"==typeof e&&P in e)}(t))return D(A(String(t)));if(!function(e){return!("[object Date]"!==$(e)||P&&"object"==typeof e&&P in e)}(t)&&!function(e){return!("[object RegExp]"!==$(e)||P&&"object"==typeof e&&P in e)}(t)){var z=B(t,A),q=E?E(t)===Object.prototype:t instanceof Object||t.constructor===Object,J=t instanceof Object?"":"null prototype",X=!q&&P&&Object(t)===t&&P in t?$(t).slice(8,-1):J?"Object":"",Q=(q||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(X||J?"["+[].concat(X||[],J||[]).join(": ")+"] ":"");return 0===z.length?Q+"{}":S?Q+"{"+Z(z,S)+"}":Q+"{ "+z.join(", ")+" }"}return String(t)};var R=Object.prototype.hasOwnProperty||function(e){return e in this};function L(e,t){return R.call(e,t)}function $(e){return g.call(e)}function F(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function x(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return x(e.slice(0,t.maxStringLength),t)+n}return O(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,N),"single",t)}function N(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function D(e){return"Object("+e+")"}function j(e){return e+" { ? }"}function U(e,t,r,n){return e+" ("+t+") {"+(n?Z(r,n):r.join(", "))+"}"}function Z(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+e.join(","+r)+"\n"+t.prev}function B(e,t){var r=M(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=L(e,o)?t(e[o],e):""}var i,a="function"==typeof S?S(e):[];if(b){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var s in e)L(e,s)&&(r&&String(Number(s))===s&&s<e.length||b&&i["$"+s]instanceof Symbol||(/[^\w$]/.test(s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e))));if("function"==typeof S)for(var l=0;l<a.length;l++)A.call(e,a[l])&&n.push("["+t(a[l])+"]: "+t(e[a[l]],e));return n}},8650:function(e){var t,r=window.ProgressEvent,n=!!r;try{t=new r("loaded"),n="loaded"===t.type,t=null}catch(o){n=!1}e.exports=n?r:"function"==typeof document.createEvent?function(e,t){var r=document.createEvent("Event");return r.initEvent(e,!1,!1),t?(r.lengthComputable=Boolean(t.lengthComputable),r.loaded=Number(t.loaded)||0,r.total=Number(t.total)||0):(r.lengthComputable=!1,r.loaded=r.total=0),r}:function(e,t){var r=document.createEventObject();return r.type=e,t?(r.lengthComputable=Boolean(t.lengthComputable),r.loaded=Number(t.loaded)||0,r.total=Number(t.total)||0):(r.lengthComputable=!1,r.loaded=r.total=0),r}},5527:function(e){"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:n,RFC3986:o}},9126:function(e,t,r){"use strict";var n=r(6845),o=r(9166),i=r(5527);e.exports={formats:i,parse:o,stringify:n}},9166:function(e,t,r){"use strict";var n=r(2493),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},u=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,u=r.depth>0&&/(\[[^[\]]*])/.exec(i),l=u?i.slice(0,u.index):i,c=[];if(l){if(!r.plainObjects&&o.call(Object.prototype,l)&&!r.allowPrototypes)return;c.push(l)}for(var f=0;r.depth>0&&null!==(u=a.exec(i))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,u[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(u[1])}return u&&c.push("["+i.slice(u.index)+"]"),function(e,t,r,n){for(var o=n?t:s(t,r),i=e.length-1;i>=0;--i){var a,u=e[i];if("[]"===u&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var l="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,c=parseInt(l,10);r.parseArrays||""!==l?!isNaN(c)&&u!==l&&String(c)===l&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=o:"__proto__"!==l&&(a[l]=o):a={0:o}}o=a}return o}(c,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var r,l={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=c.split(t.delimiter,f),p=-1,y=t.charset;if(t.charsetSentinel)for(r=0;r<d.length;++r)0===d[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[r]?y="utf-8":"utf8=%26%2310003%3B"===d[r]&&(y="iso-8859-1"),p=r,r=d.length);for(r=0;r<d.length;++r)if(r!==p){var g,m,h=d[r],v=h.indexOf("]="),S=-1===v?h.indexOf("="):v+1;-1===S?(g=t.decoder(h,a.decoder,y,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(h.slice(0,S),a.decoder,y,"key"),m=n.maybeMap(s(h.slice(S+1),t),(function(e){return t.decoder(e,a.decoder,y,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===y&&(m=u(m)),h.indexOf("[]=")>-1&&(m=i(m)?[m]:m),o.call(l,g)?l[g]=n.combine(l[g],m):l[g]=m}return l}(e,r):e,f=r.plainObjects?Object.create(null):{},d=Object.keys(c),p=0;p<d.length;++p){var y=d[p],g=l(y,c[y],r,"string"==typeof e);f=n.merge(f,g,r)}return!0===r.allowSparse?f:n.compact(f)}},6845:function(e,t,r){"use strict";var n=r(4294),o=r(2493),i=r(5527),a=Object.prototype.hasOwnProperty,u={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=String.prototype.split,c=Array.prototype.push,f=function(e,t){c.apply(e,s(t)?t:[t])},d=Date.prototype.toISOString,p=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},g={},m=function e(t,r,i,a,u,c,d,p,m,h,v,S,_,b,A){for(var E,I=t,C=A,P=0,O=!1;void 0!==(C=C.get(g))&&!O;){var T=C.get(t);if(P+=1,void 0!==T){if(T===P)throw new RangeError("Cyclic object value");O=!0}void 0===C.get(g)&&(P=0)}if("function"==typeof d?I=d(r,I):I instanceof Date?I=h(I):"comma"===i&&s(I)&&(I=o.maybeMap(I,(function(e){return e instanceof Date?h(e):e}))),null===I){if(a)return c&&!_?c(r,y.encoder,b,"key",v):r;I=""}if("string"==typeof(E=I)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||o.isBuffer(I)){if(c){var M=_?r:c(r,y.encoder,b,"key",v);if("comma"===i&&_){for(var w=l.call(String(I),","),R="",L=0;L<w.length;++L)R+=(0===L?"":",")+S(c(w[L],y.encoder,b,"value",v));return[S(M)+"="+R]}return[S(M)+"="+S(c(I,y.encoder,b,"value",v))]}return[S(r)+"="+S(String(I))]}var $,F=[];if(void 0===I)return F;if("comma"===i&&s(I))$=[{value:I.length>0?I.join(",")||null:void 0}];else if(s(d))$=d;else{var x=Object.keys(I);$=p?x.sort(p):x}for(var N=0;N<$.length;++N){var D=$[N],j="object"==typeof D&&void 0!==D.value?D.value:I[D];if(!u||null!==j){var U=s(I)?"function"==typeof i?i(r,D):r:r+(m?"."+D:"["+D+"]");A.set(t,P);var Z=n();Z.set(g,A),f(F,e(j,U,i,a,u,c,d,p,m,h,v,S,_,b,Z))}}return F};e.exports=function(e,t){var r,o=e,l=function(e){if(!e)return y;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||y.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=i.formatters[r],o=y.filter;return("function"==typeof e.filter||s(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===e.allowDots?y.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:y.charsetSentinel,delimiter:void 0===e.delimiter?y.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:y.encode,encoder:"function"==typeof e.encoder?e.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:y.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:y.strictNullHandling}}(t);"function"==typeof l.filter?o=(0,l.filter)("",o):s(l.filter)&&(r=l.filter);var c,d=[];if("object"!=typeof o||null===o)return"";c=t&&t.arrayFormat in u?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=u[c];r||(r=Object.keys(o)),l.sort&&r.sort(l.sort);for(var g=n(),h=0;h<r.length;++h){var v=r[h];l.skipNulls&&null===o[v]||f(d,m(o[v],v,p,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,g))}var S=d.join(l.delimiter),_=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),S.length>0?_+S:""}},2493:function(e,t,r){"use strict";var n=r(5527),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),u=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:u,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],a=o.obj[o.prop],u=Object.keys(a),s=0;s<u.length;++s){var l=u[s],c=a[l];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:a,prop:l}),r.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(o){return n}},encode:function(e,t,r,o,i){if(0===e.length)return e;var u=e;if("symbol"==typeof e?u=Symbol.prototype.toString.call(e):"string"!=typeof e&&(u=String(e)),"iso-8859-1"===r)return escape(u).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",l=0;l<u.length;++l){var c=u.charCodeAt(l);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===n.RFC1738&&(40===c||41===c)?s+=u.charAt(l):c<128?s+=a[c]:c<2048?s+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?s+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&u.charCodeAt(l)),s+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(i(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return i(t)&&!i(r)&&(a=u(t,n)),i(t)&&i(r)?(r.forEach((function(r,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&r&&"object"==typeof r?t[i]=e(a,r,n):t.push(r)}else t[i]=r})),t):Object.keys(r).reduce((function(t,i){var a=r[i];return o.call(t,i)?t[i]=e(t[i],a,n):t[i]=a,t}),a)}}},4294:function(e,t,r){"use strict";var n=r(7286),o=r(2680),i=r(9500),a=n("%TypeError%"),u=n("%WeakMap%",!0),s=n("%Map%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),p=o("Map.prototype.set",!0),y=o("Map.prototype.has",!0),g=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return l(e,n)}else if(s){if(t)return d(t,n)}else if(r)return function(e,t){var r=g(e,t);return r&&r.value}(r,n)},has:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return f(e,n)}else if(s){if(t)return y(t,n)}else if(r)return function(e,t){return!!g(e,t)}(r,n);return!1},set:function(n,o){u&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new u),c(e,n,o)):s?(t||(t=new s),p(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=g(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},9830:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1184),o={contextDelimiter:"",onMissingKey:null};function i(e,t){var r;for(r in this.data=e,this.pluralForms={},this.options={},o)this.options[r]=void 0!==t&&r in t?t[r]:o[r]}i.prototype.getPluralForm=function(e,t){var r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(i=(r=this.data[e][""])["Plural-Forms"]||r["plural-forms"]||r.plural_forms)&&(o=function(e){var t,r,n;for(t=e.split(";"),r=0;r<t.length;r++)if(0===(n=t[r].trim()).indexOf("plural="))return n.substr(7)}(r["Plural-Forms"]||r["plural-forms"]||r.plural_forms),i=(0,n.Z)(o)),a=this.pluralForms[e]=i),a(t)},i.prototype.dcnpgettext=function(e,t,r,n,o){var i,a,u;return i=void 0===o?0:this.getPluralForm(e,o),a=r,t&&(a=t+this.options.contextDelimiter+r),(u=this.data[e][a])&&u[i]?u[i]:(this.options.onMissingKey&&this.options.onMissingKey(r,e),0===i?r:n)}},6274:function(e,t,r){"use strict";r(8077).z2()},5608:function(e,t,r){"use strict";r(1635).z()},3857:function(e,t,r){"use strict";r(9734).register()},561:function(e,t,r){"use strict";r(2369).z2({client_id:"",client_secret:""})},9512:function(e,t,r){"use strict";r(182).z()},3600:function(e,t,r){"use strict";r.r(t),r.d(t,{receiveCategories:function(){return n},fetchDomainSuggestions:function(){return o},receiveDomainAvailability:function(){return i},receiveDomainSuggestionsSuccess:function(){return a},receiveDomainSuggestionsError:function(){return u}});const n=e=>({type:"RECEIVE_CATEGORIES",categories:e}),o=()=>({type:"FETCH_DOMAIN_SUGGESTIONS",timeStamp:Date.now()}),i=(e,t)=>({type:"RECEIVE_DOMAIN_AVAILABILITY",domainName:e,availability:t}),a=(e,t)=>({type:"RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS",queryObject:e,suggestions:t,timeStamp:Date.now()}),u=e=>({type:"RECEIVE_DOMAIN_SUGGESTIONS_ERROR",errorMessage:e,timeStamp:Date.now()})},584:function(e,t,r){"use strict";r.d(t,{L:function(){return n},r:function(){return o}});const n="automattic/domains/suggestions";let o;!function(e){e.Failure="failure",e.Pending="pending",e.Success="success",e.Uninitialized="uninitialized"}(o||(o={}))},8077:function(e,t,r){"use strict";r.d(t,{z2:function(){return f}});var n=r(9818),o=r(3661),i=r(3600),a=r(584),u=r(3717),s=r(2269),l=r(267);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.L,{actions:i,controls:o.ai,reducer:u.Z,resolvers:s,selectors:l})),a.L}},3717:function(e,t,r){"use strict";var n=r(9818),o=r(584),i=r(4211);const a={state:o.r.Uninitialized,data:{},errorMessage:null,lastUpdated:-1/0,pendingSince:void 0},u=(0,n.combineReducers)({categories:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_CATEGORIES"===t.type?t.categories:e},domainSuggestions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;return"FETCH_DOMAIN_SUGGESTIONS"===t.type?{...e,state:o.r.Pending,errorMessage:null,pendingSince:t.timeStamp}:"RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS"===t.type?{...e,state:o.r.Success,data:{...e.data,[(0,i.Le)(t.queryObject)]:t.suggestions},errorMessage:null,lastUpdated:t.timeStamp,pendingSince:void 0}:"RECEIVE_DOMAIN_SUGGESTIONS_ERROR"===t.type?{...e,state:o.r.Failure,errorMessage:t.errorMessage,lastUpdated:t.timeStamp,pendingSince:void 0}:e},availability:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_DOMAIN_AVAILABILITY"===t.type?{...e,[t.domainName]:t.availability}:e}});t.Z=u},2269:function(e,t,r){"use strict";r.r(t),r.d(t,{isAvailable:function(){return c},getCategories:function(){return f},__internalGetDomainSuggestions:function(){return d}});var n=r(1481),o=r(9126),i=r(6468),a=r.n(i),u=r(3661),s=r(3600),l=r(4211);const c=function*(e){const t=function(e){return`https://public-api.wordpress.com/rest/v1.3/domains/${encodeURIComponent(e)}/is-available?is_cart_pre_check=true`}(e);try{const{body:r}=yield(0,u.An)(t);return(0,s.receiveDomainAvailability)(e,r)}catch{return(0,s.receiveDomainAvailability)(e,{domain_name:e,mappable:"unknown",status:"unknown",supports_privacy:!1})}};function*f(){const{body:e}=yield(0,u.An)("https://public-api.wordpress.com/wpcom/v2/onboarding/domains/categories");return(0,s.receiveCategories)(e)}function*d(e){if(!e.query)return(0,s.receiveDomainSuggestionsError)("Empty query");yield(0,s.fetchDomainSuggestions)();try{const t=yield(0,u._9)({apiVersion:"1.1",path:"/domains/suggestions",query:(0,o.stringify)(e)});if(!Array.isArray(t))return(0,s.receiveDomainSuggestionsError)((0,n.Iu)("Invalid response from the server"));if(function(e,t){return a().isFQDN(t)&&!e.some((e=>e.domain_name.toLowerCase()===t))}(t,e.query)){const r={domain_name:e.query,unavailable:!0,cost:"",raw_price:0,currency_code:""};t.unshift(r)}const r=t.map((e=>e.unavailable?e:{...e,...e.raw_price&&e.currency_code&&{cost:(0,l._B)(e.raw_price,e.currency_code)}}));return(0,s.receiveDomainSuggestionsSuccess)(e,r)}catch(t){return(0,s.receiveDomainSuggestionsError)(t.message||(0,n.Iu)("Error while fetching server response"))}}},267:function(e,t,r){"use strict";r.r(t),r.d(t,{getCategories:function(){return a},getDomainSuggestions:function(){return u},getDomainState:function(){return s},getDomainErrorMessage:function(){return l},isLoadingDomainSuggestions:function(){return c},__internalGetDomainSuggestions:function(){return f},isAvailable:function(){return d},getDomainAvailabilities:function(){return p}});var n=r(9818),o=r(584),i=r(4211);const a=e=>[...e.categories.filter((e=>{let{tier:t}=e;return null!==t})).sort(((e,t)=>e>t?1:-1)),...e.categories.filter((e=>{let{tier:t}=e;return null===t})).sort(((e,t)=>e.title.localeCompare(t.title)))],u=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(0,i.o0)(t,r);return(0,n.select)(o.L).__internalGetDomainSuggestions(a)},s=e=>e.domainSuggestions.state,l=e=>e.domainSuggestions.errorMessage,c=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(0,i.o0)(t,r);return(0,n.select)("core/data").isResolving(o.L,"__internalGetDomainSuggestions",[a])},f=(e,t)=>e.domainSuggestions.data[(0,i.Le)(t)],d=(e,t)=>e.availability[t],p=e=>e.availability},4211:function(e,t,r){"use strict";r.d(t,{Le:function(){return i},_B:function(){return a},o0:function(){return u}});var n=r(2645),o=r(5695);const i=r.n(o)();function a(e,t){return(0,n.ZP)(e,t,{stripZeros:!0})}function u(e,t){return{include_wordpressdotcom:t.only_wordpressdotcom||!1,include_dotblogsubdomain:!1,only_wordpressdotcom:!1,quantity:5,vendor:"variation2_front",...t,query:e.trim().toLocaleLowerCase()}}},6108:function(e,t,r){"use strict";r.r(t),r.d(t,{setSidebarFullscreen:function(){return i},unsetSidebarFullscreen:function(){return a},setStep:function(){return u},setSiteTitle:function(){return s},setDomain:function(){return l},unsetDomain:function(){return c},confirmDomainSelection:function(){return f},setDomainSearch:function(){return d},setPlanProductId:function(){return p},unsetPlanProductId:function(){return y},updatePlan:function(){return g},openSidebar:function(){return m},closeSidebar:function(){return h},openFocusedLaunch:function(){return v},closeFocusedLaunch:function(){return S},enableAnchorFm:function(){return _},showSiteTitleStep:function(){return b},setModalDismissible:function(){return A},unsetModalDismissible:function(){return E},showModalTitle:function(){return I},hideModalTitle:function(){return C},enablePersistentSuccessView:function(){return P},disablePersistentSuccessView:function(){return O}});var n=r(9818),o=r(9149);const i=()=>({type:"SET_SIDEBAR_FULLSCREEN"}),a=()=>({type:"UNSET_SIDEBAR_FULLSCREEN"}),u=e=>({type:"SET_STEP",step:e}),s=e=>({type:"SET_SITE_TITLE",title:e}),l=e=>({type:"SET_DOMAIN",domain:e}),c=()=>({type:"UNSET_DOMAIN"}),f=()=>({type:"CONFIRM_DOMAIN_SELECTION"}),d=e=>({type:"SET_DOMAIN_SEARCH",domainSearch:e}),p=function*(e){if(!(0,n.select)(o.Fs).isPlanProductFree(e)){const t=(0,n.select)(o.Fs).getPlanProductById(e),r=(null==t?void 0:t.billingPeriod)??"ANNUALLY";yield(e=>({type:"SET_PLAN_BILLING_PERIOD",billingPeriod:e}))(r)}return{type:"SET_PLAN_PRODUCT_ID",planProductId:e}},y=()=>({type:"UNSET_PLAN_PRODUCT_ID"});function g(e){return p(e)}const m=()=>({type:"OPEN_SIDEBAR"}),h=()=>({type:"CLOSE_SIDEBAR"}),v=()=>({type:"OPEN_FOCUSED_LAUNCH"}),S=()=>({type:"CLOSE_FOCUSED_LAUNCH"}),_=()=>({type:"ENABLE_ANCHOR_FM"}),b=()=>({type:"SHOW_SITE_TITLE_STEP"}),A=()=>({type:"SET_MODAL_DISMISSIBLE"}),E=()=>({type:"UNSET_MODAL_DISMISSIBLE"}),I=()=>({type:"SHOW_MODAL_TITLE"}),C=()=>({type:"HIDE_MODAL_TITLE"}),P=()=>({type:"ENABLE_SUCCESS_VIEW"}),O=()=>({type:"DISABLE_SUCCESS_VIEW"})},9149:function(e,t,r){"use strict";r.d(t,{Ls:function(){return n},Fs:function(){return o}});const n="automattic/launch",o="automattic/onboard/plans"},3610:function(e,t,r){"use strict";r.d(t,{y:function(){return n},M:function(){return o}});const n={Name:"name",Domain:"domain",Plan:"plan",Final:"final"},o=[n.Name,n.Domain,n.Plan,n.Final]},1635:function(e,t,r){"use strict";r.d(t,{z:function(){return f}});var n=r(9818),o=r(3418),i=r(6108),a=r(9149),u=r(594),s=r(4648),l=r(7092);(0,n.use)(n.plugins.persistence,u.Z);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.Ls,{actions:i,controls:o.controls,reducer:s.Z,selectors:l,persist:["domain","domainSearch","planProductId","planBillingPeriod","confirmedDomainSelection","isAnchorFm","isSiteTitleStepVisible","siteTitle"]})),a.Ls}},594:function(e,t,r){"use strict";var n=r(492);t.Z=(0,n.Z)("WP_LAUNCH")},4648:function(e,t,r){"use strict";var n=r(9818),o=r(3610);const i=(0,n.combineReducers)({step:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.y.Name,t=arguments.length>1?arguments[1]:void 0;return"SET_STEP"===t.type?t.step:e},siteTitle:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;return"SET_SITE_TITLE"===t.type?t.title:e},domain:(e,t)=>"SET_DOMAIN"===t.type?t.domain:"UNSET_DOMAIN"!==t.type?e:void 0,confirmedDomainSelection:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"CONFIRM_DOMAIN_SELECTION"===t.type||e},domainSearch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return"SET_DOMAIN_SEARCH"===t.type?t.domainSearch:e},planBillingPeriod:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ANNUALLY",t=arguments.length>1?arguments[1]:void 0;return"SET_PLAN_BILLING_PERIOD"===t.type?t.billingPeriod:e},planProductId:(e,t)=>"SET_PLAN_PRODUCT_ID"===t.type?t.planProductId:"UNSET_PLAN_PRODUCT_ID"!==t.type?e:void 0,isSidebarOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"OPEN_SIDEBAR"===t.type||"CLOSE_SIDEBAR"!==t.type&&e},isSidebarFullscreen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_SIDEBAR_FULLSCREEN"===t.type||"UNSET_SIDEBAR_FULLSCREEN"!==t.type&&e},isAnchorFm:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"ENABLE_ANCHOR_FM"===t.type||e},isFocusedLaunchOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"OPEN_FOCUSED_LAUNCH"===t.type||"CLOSE_FOCUSED_LAUNCH"!==t.type&&e},isSiteTitleStepVisible:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SHOW_SITE_TITLE_STEP"===t.type||e},isModalDismissible:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_MODAL_DISMISSIBLE"===t.type||"UNSET_MODAL_DISMISSIBLE"!==t.type&&e},isModalTitleVisible:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SHOW_MODAL_TITLE"===t.type||"HIDE_MODAL_TITLE"!==t.type&&e}});t.Z=i},7092:function(e,t,r){"use strict";r.r(t),r.d(t,{getLaunchSequence:function(){return a},getLaunchStep:function(){return u},getState:function(){return s},hasPaidDomain:function(){return l},getSelectedDomain:function(){return c},getSelectedPlanProductId:function(){return f},getLastPlanBillingPeriod:function(){return d},isSelectedPlanPaid:function(){return p},hasSelectedDomainOrSubdomain:function(){return y},isStepCompleted:function(){return g},isFlowCompleted:function(){return m},isFlowStarted:function(){return h},getFirstIncompleteStep:function(){return v},getSiteTitle:function(){return S},getCurrentStep:function(){return _},getDomainSearch:function(){return b}});var n=r(9818),o=r(9149),i=r(3610);const a=()=>i.M,u=()=>i.y,s=e=>e,l=e=>!!e.domain&&!e.domain.is_free,c=e=>e.domain,f=e=>e.planProductId,d=e=>e.planBillingPeriod,p=e=>void 0!==e.planProductId&&!(0,n.select)(o.Fs).isPlanProductFree(e.planProductId),y=e=>!!c(e)||e.confirmedDomainSelection,g=(e,t)=>{if(t===i.y.Plan)return!!f(e);if(t===i.y.Name){const e=(0,n.select)("core").getEntityRecord("root","site",void 0);return!(null==e||!e.title)}return t===i.y.Domain&&(0,n.select)(o.Ls).hasSelectedDomainOrSubdomain()},m=e=>i.M.slice(0,i.M.length-1).every((t=>g(e,t))),h=e=>i.M.some((t=>g(e,t))),v=e=>i.M.find((t=>!g(e,t))),S=e=>null==e?void 0:e.siteTitle,_=e=>e.step,b=e=>e.domainSearch},492:function(e,t,r){"use strict";function n(e){const t=e,r=e+"_TS",n={},o={getItem:e=>n.hasOwnProperty(e)?n[e]:null,setItem(e,t){n[e]=String(t)},removeItem(e){delete n[e]}},i=(()=>{try{return window.localStorage.setItem("WP_ONBOARD_TEST","1"),window.localStorage.removeItem("WP_ONBOARD_TEST"),!0}catch(e){return!1}})()?window.localStorage:o;return{storageKey:t,storage:{getItem(e){const n=i.getItem(r);return n&&(e=>{const t=Number(e);return Boolean(t)&&t+6048e5>Date.now()})(n)&&!new URLSearchParams(window.location.search).has("fresh")?i.getItem(e):(i.removeItem(t),i.removeItem(r),null)},setItem(e,t){i.setItem(r,JSON.stringify(Date.now())),i.setItem(e,t)}}}}r.d(t,{Z:function(){return n}})},9068:function(e,t,r){"use strict";r.r(t),r.d(t,{setFeatures:function(){return n},setFeaturesByType:function(){return o},setPlans:function(){return i},setPlanProducts:function(){return a},resetPlan:function(){return u}});const n=(e,t)=>({type:"SET_FEATURES",features:e,locale:t}),o=(e,t)=>({type:"SET_FEATURES_BY_TYPE",featuresByType:e,locale:t}),i=(e,t)=>({type:"SET_PLANS",plans:e,locale:t}),a=e=>({type:"SET_PLAN_PRODUCTS",products:e}),u=()=>({type:"RESET_PLAN"})},4703:function(e,t,r){"use strict";r.d(t,{Ls:function(){return n},Ho:function(){return o},TO:function(){return i},YS:function(){return a},Gz:function(){return u},hx:function(){return s},iL:function(){return l},B6:function(){return c},xT:function(){return f},AX:function(){return d},bS:function(){return p},UB:function(){return y},BV:function(){return g},nN:function(){return m}});const n="automattic/onboard/plans",o=1,i="free",a="personal",u="premium",s="business",l="ecommerce",c=[i,a,u,s,l],f=c,d=u,p=["personal-bundle","value_bundle","business-bundle","ecommerce-bundle"],y=["personal-bundle-monthly","value_bundle_monthly","business-bundle-monthly","ecommerce-bundle-monthly"],g=["free_plan",...p,...y],m=["custom-domain","support-live","priority-support"]},9734:function(e,t,r){"use strict";r.r(t),r.d(t,{plansSlugs:function(){return a.B6},plansProductSlugs:function(){return a.BV},TIMELESS_PLAN_FREE:function(){return a.TO},TIMELESS_PLAN_PERSONAL:function(){return a.YS},TIMELESS_PLAN_PREMIUM:function(){return a.Gz},TIMELESS_PLAN_BUSINESS:function(){return a.hx},TIMELESS_PLAN_ECOMMERCE:function(){return a.iL},FREE_PLAN_PRODUCT_ID:function(){return a.Ho},register:function(){return f}});var n=r(9818),o=r(3661),i=r(9068),a=r(4703),u=r(9438),s=r(5261),l=r(7738);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.Ls,{resolvers:s,actions:i,controls:o.ai,reducer:u.ZP,selectors:l})),a.Ls}},9438:function(e,t,r){"use strict";var n=r(9818);const o=(0,n.combineReducers)({features:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_FEATURES"===t.type?{...e,[t.locale]:t.features}:e},featuresByType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_FEATURES_BY_TYPE"===t.type?{...e,[t.locale]:t.featuresByType}:e},planProducts:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLAN_PRODUCTS"===t.type?t.products:e},plans:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?{...e,[t.locale]:t.plans}:e}});t.ZP=o},5261:function(e,t,r){"use strict";r.r(t),r.d(t,{getSupportedPlans:function(){return y}});var n=r(2645),o=r(9126),i=r(3661),a=r(9068),u=r(4703);function s(e){return(0,n.ZP)(12*e.raw_price,e.currency_code,{stripZeros:!0})}function l(e){return(0,n.ZP)(e.raw_price,e.currency_code,{stripZeros:!0})}function c(e){return e.reduce(((e,t)=>(e[t.id]={id:t.id,name:t.name,description:t.description,type:"checkbox",requiresAnnuallyBilledPlan:u.nN.indexOf(t.id)>-1},e)),{})}function f(e,t){const r=Object.keys(t).find((r=>t[r].name===e));return!!r&&t[r].requiresAnnuallyBilledPlan}function d(e,t){const r=e.highlighted_features.map((e=>({name:e,requiresAnnuallyBilledPlan:f(e,t)})));return r.sort(((e,t)=>Number(t.requiresAnnuallyBilledPlan)-Number(e.requiresAnnuallyBilledPlan))),r}function p(e,t){const r=u.BV.reduce(((r,o)=>{const i=e.find((e=>e.product_slug===o));if(!i)return r;const a=t.find((e=>e.productIds.indexOf(i.product_id)>-1));var u;return r.push({productId:i.product_id,billingPeriod:31===i.bill_period?"MONTHLY":"ANNUALLY",periodAgnosticSlug:a.periodAgnosticSlug,storeSlug:i.product_slug,rawPrice:i.raw_price,pathSlug:i.path_slug,price:31===(null==i?void 0:i.bill_period)||0===i.raw_price?l(i):(u=i,(0,n.ZP)(u.raw_price/12,u.currency_code,{stripZeros:!0})),annualPrice:31===(null==i?void 0:i.bill_period)?s(i):l(i)}),r}),[]);return function(e){for(let t=0;t<u.bS.length;t++){const r=e.find((e=>e.storeSlug===u.bS[t])),n=e.find((e=>e.storeSlug===u.UB[t]));if(r&&n){const e=12*n.rawPrice,t=r.rawPrice,o=Math.round(100*(1-t/e));r.annualDiscount=o,n.annualDiscount=o}}}(r),r}function*y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";const t=yield(0,i._9)({path:"/plans",query:(0,o.stringify)({locale:e}),apiVersion:"1.5"}),{body:r}=yield(0,i.An)(`https://public-api.wordpress.com/wpcom/v2/plans/details?locale=${encodeURIComponent(e)}`,{mode:"cors",credentials:"omit"}),n=c(r.features),s=r.plans.map((e=>{var t;const r=null===(t=e.nonlocalized_short_name)||void 0===t?void 0:t.toLowerCase();return{description:e.tagline,features:d(e,n),storage:e.storage,title:e.short_name,featuresSlugs:e.features.reduce(((e,t)=>(e[t]=!0,e)),{}),isFree:r===u.TO,isPopular:r===u.Gz,periodAgnosticSlug:r,productIds:e.products.map((e=>{let{plan_id:t}=e;return t}))}})),l=p(t,s);yield(0,a.setPlans)(s,e),yield(0,a.setPlanProducts)(l),yield(0,a.setFeatures)(n,e),yield(0,a.setFeaturesByType)(r.features_by_type,e)}},7738:function(e,t,r){"use strict";r.r(t),r.d(t,{getFeatures:function(){return u},getFeaturesByType:function(){return s},getPlanByProductId:function(){return l},getPlanProductById:function(){return c},getPlanByPeriodAgnosticSlug:function(){return f},getDefaultPaidPlan:function(){return d},getDefaultFreePlan:function(){return p},getSupportedPlans:function(){return y},getPlansProducts:function(){return g},getPrices:function(){return m},getPlanByPath:function(){return h},getPlanProduct:function(){return v},isPlanEcommerce:function(){return S},isPlanFree:function(){return _},isPlanProductFree:function(){return b}});var n=r(9818),o=r(7180),i=r.n(o),a=r(4703);const u=(e,t)=>e.features[t]??{},s=(e,t)=>e.featuresByType[t]??[],l=(e,t,r)=>{if(t)return(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.productIds.indexOf(t)>-1))},c=(e,t)=>{if(t)return(0,n.select)(a.Ls).getPlansProducts().find((e=>e.productId===t))},f=(e,t,r)=>{if(t)return(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.periodAgnosticSlug===t))},d=(e,t)=>(0,n.select)(a.Ls).getSupportedPlans(t).find((e=>e.periodAgnosticSlug===a.AX)),p=(e,t)=>(0,n.select)(a.Ls).getSupportedPlans(t).find((e=>e.periodAgnosticSlug===a.TO)),y=(e,t)=>e.plans[t]??[],g=e=>e.planProducts,m=(e,t)=>(i()("getPrices",{alternative:"getPlanProduct().price"}),(0,n.select)(a.Ls).getPlansProducts().reduce(((e,t)=>(e[t.storeSlug]=t.price,e)),{})),h=(e,t,r)=>{if(!t)return;const o=(0,n.select)(a.Ls).getPlansProducts().find((e=>e.pathSlug===t));return o?(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.periodAgnosticSlug===o.periodAgnosticSlug)):void 0},v=(e,t,r)=>{if(t&&r)return(0,n.select)(a.Ls).getPlansProducts().find((e=>{const n=e.periodAgnosticSlug===t,o=t===a.TO||e.billingPeriod===r;return n&&o}))},S=(e,t)=>t===a.iL,_=(e,t)=>t===a.TO,b=(e,t)=>t===a.Ho},8459:function(e,t,r){"use strict";r.d(t,{d:function(){return i}});var n=r(3661),o=r(9639);function i(e){const t=()=>({type:"FETCH_NEW_SITE"}),r=e=>({type:"RECEIVE_NEW_SITE",response:e}),i=e=>({type:"RECEIVE_NEW_SITE_FAILED",error:e});const a=(e,t)=>({type:"RECEIVE_SITE_TITLE",siteId:e,name:t}),u=(e,t)=>({type:"RECEIVE_SITE_TAGLINE",siteId:e,tagline:t}),s=(e,t)=>({type:"RECEIVE_SITE_VERTICAL_ID",siteId:e,verticalId:t}),l=e=>({type:"LAUNCH_SITE_START",siteId:e}),c=e=>({type:"LAUNCH_SITE_SUCCESS",siteId:e}),f=(e,t)=>({type:"LAUNCH_SITE_FAILURE",siteId:e,error:t});function*d(e,t){try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/settings`,apiVersion:"1.4",body:t,method:"POST"}),"blogname"in t&&(yield a(e,t.blogname)),"blogdescription"in t&&(yield u(e,t.blogdescription)),"site_vertical_id"in t&&(yield s(e,t.site_vertical_id))}catch(r){}}const p=(e,t)=>({type:"ATOMIC_TRANSFER_START",siteId:e,softwareSet:t}),y=(e,t)=>({type:"ATOMIC_TRANSFER_SUCCESS",siteId:e,softwareSet:t}),g=(e,t,r)=>({type:"ATOMIC_TRANSFER_FAILURE",siteId:e,softwareSet:t,error:r});const m=e=>({type:"LATEST_ATOMIC_TRANSFER_START",siteId:e}),h=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_SUCCESS",siteId:e,transfer:t}),v=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_FAILURE",siteId:e,error:t});const S=(e,t)=>({type:"ATOMIC_SOFTWARE_STATUS_START",siteId:e,softwareSet:t}),_=(e,t,r)=>({type:"ATOMIC_SOFTWARE_STATUS_SUCCESS",siteId:e,softwareSet:t,status:r}),b=(e,t,r)=>({type:"ATOMIC_SOFTWARE_STATUS_FAILURE",siteId:e,softwareSet:t,error:r});const A=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_START",siteId:e,softwareSet:t}),E=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_SUCCESS",siteId:e,softwareSet:t}),I=(e,t,r)=>({type:"ATOMIC_SOFTWARE_INSTALL_FAILURE",siteId:e,softwareSet:t,error:r});return{receiveSiteDomains:(e,t)=>({type:"RECEIVE_SITE_DOMAINS",siteId:e,domains:t}),receiveSiteSettings:(e,t)=>({type:"RECEIVE_SITE_SETTINGS",siteId:e,settings:t}),saveSiteTitle:function*(e,t){yield d(e,{blogname:t})},saveSiteSettings:d,setIntentOnSite:function*(e,t){try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2",body:{site_intent:t},method:"POST"})}catch(r){}},receiveSiteTitle:a,fetchNewSite:t,fetchSite:()=>({type:"FETCH_SITE"}),receiveNewSite:r,receiveNewSiteFailed:i,resetNewSiteFailed:()=>({type:"RESET_RECEIVE_NEW_SITE_FAILED"}),setDesignOnSite:function*(e,t){var r;const{theme:o,recipe:i}=t;yield(0,n._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:(null==i||null===(r=i.stylesheet)||void 0===r?void 0:r.split("/")[1])||o,dont_change_homepage:!0},method:"POST"}),["hannah","gilbert","riley"].indexOf(t.template)<0&&(yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/theme-setup`,apiNamespace:"wpcom/v2",body:{trim_content:!0,pattern_ids:null==i?void 0:i.patternIds},method:"POST"}));const a=yield(0,n._9)({path:`/sites/${e}/block-editor`,apiNamespace:"wpcom/v2",method:"GET"});return(null==a?void 0:a.is_fse_active)??!1},createSite:function*(t){yield{type:"FETCH_NEW_SITE"};try{const{authToken:o,...i}=t,a={...{client_id:e.client_id,client_secret:e.client_secret,find_available_url:!0,public:-1},...i,validate:!1},u=yield(0,n._9)({path:"/sites/new",apiVersion:"1.1",method:"post",body:a,token:o});return yield r(u),!0}catch(o){return yield i(o),!1}},receiveSite:(e,t)=>({type:"RECEIVE_SITE",siteId:e,response:t}),receiveSiteFailed:(e,t)=>({type:"RECEIVE_SITE_FAILED",siteId:e,response:t}),receiveSiteTagline:u,receiveEmailSupportAvailability:e=>({type:"RECEIVE_EMAIL_SUPPORT_AVAILABILITY",availability:e}),receiveHappyChatAvailability:e=>({type:"RECEIVE_HAPPY_CHAT_AVAILABILITY",availability:e}),receiveSiteVerticalId:s,saveSiteTagline:function*(e,t){yield d(e,{blogdescription:t})},reset:()=>({type:"RESET_SITE_STORE"}),launchSite:function*(e){yield l(e);try{yield(0,n._9)({path:`/sites/${e}/launch`,apiVersion:"1.1",method:"post"}),yield c(e)}catch(t){yield f(e,o.Hc.INTERNAL)}},launchSiteStart:l,launchSiteSuccess:c,launchSiteFailure:f,getCart:function*(e){return yield(0,n._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"GET"})},setCart:function*(e,t){return yield(0,n._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"POST",body:t})},setSiteSetupError:(e,t,r)=>({type:"SET_SITE_SETUP_ERROR",siteId:e,error:t,message:r}),clearSiteSetupError:e=>({type:"CLEAR_SITE_SETUP_ERROR",siteId:e}),initiateAtomicTransfer:function*(e,t){yield p(e,t);try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers`,apiNamespace:"wpcom/v2",method:"POST",...t?{body:{software_set:encodeURIComponent(t)}}:{}}),yield y(e,t)}catch(r){yield g(e,t,o.Hf.INTERNAL)}},atomicTransferStart:p,atomicTransferSuccess:y,atomicTransferFailure:g,latestAtomicTransferStart:m,latestAtomicTransferSuccess:h,latestAtomicTransferFailure:v,requestLatestAtomicTransfer:function*(e){yield m(e);try{const t=yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers/latest`,apiNamespace:"wpcom/v2",method:"GET"});yield h(e,t)}catch(t){yield v(e,t)}},atomicSoftwareStatusStart:S,atomicSoftwareStatusSuccess:_,atomicSoftwareStatusFailure:b,requestAtomicSoftwareStatus:function*(e,t){yield S(e,t);try{const r=yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"GET"});yield _(e,t,r)}catch(r){yield b(e,t,r)}},initiateSoftwareInstall:function*(e,t){yield A(e,t);try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"POST",body:{}}),yield E(e,t)}catch(r){yield I(e,t,r)}},atomicSoftwareInstallStart:A,atomicSoftwareInstallSuccess:E,atomicSoftwareInstallFailure:I}}},2005:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});const n="automattic/site"},2369:function(e,t,r){"use strict";r.d(t,{z2:function(){return f}});var n=r(9818),o=r(3661),i=r(8459),a=r(2005),u=r(2701),s=r(7862),l=r(4309);let c=!1;function f(e){return c||(c=!0,(0,n.registerStore)(a.L,{actions:(0,i.d)(e),controls:o.ai,reducer:u.ZP,resolvers:s,selectors:l})),a.L}},2701:function(e,t,r){"use strict";var n=r(9818),o=r(9639);const i=(0,n.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_SITE"===t.type){const{response:e}=t;return e.blog_details}if("RECEIVE_NEW_SITE_FAILED"!==t.type&&"RESET_SITE_STORE"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_SITE":case"RECEIVE_NEW_SITE":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return;case"RECEIVE_NEW_SITE_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_SITE":return!0;case"RECEIVE_NEW_SITE":case"RECEIVE_NEW_SITE_FAILED":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return!1}return e}}),a=(0,n.combineReducers)({isFetchingSiteDetails:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_SITE":return!0;case"RECEIVE_SITE":case"RECEIVE_SITE_FAILED":return!1}return e},newSite:i,sites:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECEIVE_SITE"===t.type)return t.response?{...e,[t.response.ID]:t.response}:e;if("RECEIVE_SITE_FAILED"===t.type){const{[t.siteId]:r,...n}=e;return{...n}}return"RESET_SITE_STORE"===t.type?{}:"RECEIVE_SITE_TITLE"===t.type?{...e,[t.siteId]:{...e[t.siteId],name:t.name}}:"RECEIVE_SITE_TAGLINE"===t.type?{...e,[t.siteId]:{...e[t.siteId],description:t.tagline??""}}:"RECEIVE_SITE_VERTICAL_ID"===t.type?{...e,[t.siteId]:{...e[t.siteId],options:{...null===(r=e[t.siteId])||void 0===r?void 0:r.options,site_vertical_id:t.verticalId}}}:e;var r},launchStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LAUNCH_SITE_START"===t.type?{...e,[t.siteId]:{status:o.uS.IN_PROGRESS,errorCode:void 0}}:"LAUNCH_SITE_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.uS.SUCCESS,errorCode:void 0}}:"LAUNCH_SITE_FAILURE"===t.type?{...e,[t.siteId]:{status:o.uS.FAILURE,errorCode:t.error}}:e},sitesDomains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_DOMAINS"===t.type?{...e,[t.siteId]:t.domains}:e},sitesSettings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:t.settings}:e},siteSetupErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_SITE_SETUP_ERROR"===t.type){const{siteId:r,error:n,message:o}=t;return{...e,[r]:{error:n,message:o}}}if("CLEAR_SITE_SETUP_ERROR"===t.type){delete{...e}[t.siteId]}return e},happyChatAvailability:(e,t)=>"RECEIVE_HAPPY_CHAT_AVAILABILITY"===t.type?t.availability:e,emailSupportAvailability:(e,t)=>"RECEIVE_EMAIL_SUPPORT_AVAILABILITY"===t.type?t.availability:e,atomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.bc.IN_PROGRESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.bc.SUCCESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.bc.FAILURE,softwareSet:t.softwareSet,errorCode:t.error}}:e},latestAtomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LATEST_ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.O.IN_PROGRESS,transfer:void 0,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.O.SUCCESS,transfer:t.transfer,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.O.FAILURE,transfer:void 0,errorCode:t.error}}:e},atomicSoftwareStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_STATUS_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:t.status,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:t.error}}}:e},atomicSoftwareInstallStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_INSTALL_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.IN_PROGRESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.SUCCESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.FAILURE,error:t.error}}}:e}});t.ZP=a},7862:function(e,t,r){"use strict";r.r(t),r.d(t,{getSite:function(){return a},getSiteDomains:function(){return u},getHappyChatAvailability:function(){return s},getEmailSupportAvailability:function(){return l},getSiteSettings:function(){return c}});var n=r(9818),o=r(3661),i=r(2005);function*a(e){yield(0,n.dispatch)(i.L).fetchSite();try{const t=yield(0,o._9)({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"});yield(0,n.dispatch)(i.L).receiveSite(e,t)}catch(t){yield(0,n.dispatch)(i.L).receiveSiteFailed(e,void 0)}}function*u(e){try{const t=yield(0,o._9)({path:"/sites/"+encodeURIComponent(e)+"/domains",apiVersion:"1.2"});yield(0,n.dispatch)(i.L).receiveSiteDomains(e,null==t?void 0:t.domains)}catch(t){}}function*s(){const e=yield(0,o._9)({path:"/help/olark/mine",apiVersion:"1.1"});(0,n.dispatch)(i.L).receiveHappyChatAvailability(e)}function*l(){const e=yield(0,o._9)({path:"/help/tickets/kayako/mine",apiVersion:"1.1"});(0,n.dispatch)(i.L).receiveEmailSupportAvailability(e)}function*c(e){try{const t=yield(0,o._9)({path:"/sites/"+encodeURIComponent(e)+"/settings",apiVersion:"1.4"});yield(0,n.dispatch)(i.L).receiveSiteSettings(e,null==t?void 0:t.settings)}catch(t){}}},4309:function(e,t,r){"use strict";r.r(t),r.d(t,{getState:function(){return a},getNewSite:function(){return u},getNewSiteError:function(){return s},isFetchingSite:function(){return l},isFetchingSiteDetails:function(){return c},isNewSite:function(){return f},getSite:function(){return d},getSiteIdBySlug:function(){return p},getSiteTitle:function(){return y},getSiteVerticalId:function(){return g},isSiteLaunched:function(){return m},isSiteLaunching:function(){return h},isSiteAtomic:function(){return v},isSiteWPForTeams:function(){return S},getSiteDomains:function(){return _},getSiteSettings:function(){return b},getSiteSetupError:function(){return A},getPrimarySiteDomain:function(){return E},getSiteSubdomain:function(){return I},getSiteLatestAtomicTransfer:function(){return C},getSiteLatestAtomicTransferError:function(){return P},getAtomicSoftwareStatus:function(){return O},getAtomicSoftwareError:function(){return T},getAtomicSoftwareInstallError:function(){return M},hasActiveSiteFeature:function(){return w},hasAvailableSiteFeature:function(){return R},requiresUpgrade:function(){return L},isJetpackSite:function(){return $},isEligibleForProPlan:function(){return F},getHappyChatAvailability:function(){return x},getEmailSupportAvailability:function(){return N}});var n=r(9818),o=r(2005),i=r(9639);const a=e=>e,u=e=>e.newSite.data,s=e=>e.newSite.error,l=e=>e.newSite.isFetching,c=e=>e.isFetchingSiteDetails,f=e=>!!e.newSite.data,d=(e,t)=>e.sites[t]||Object.values(e.sites).find((e=>e&&new URL(e.URL).host===t)),p=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.ID},y=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.name},g=(e,t)=>{var r,i;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r||null===(i=r.options)||void 0===i?void 0:i.site_vertical_id},m=(e,t)=>{var r;return(null===(r=e.launchStatus[t])||void 0===r?void 0:r.status)===i.uS.SUCCESS},h=(e,t)=>{var r;return(null===(r=e.launchStatus[t])||void 0===r?void 0:r.status)===i.uS.IN_PROGRESS},v=(e,t)=>{var r;return!0===(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.options.is_wpcom_atomic)},S=(e,t)=>{var r;return!0===(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.options.is_wpforteams_site)},_=(e,t)=>e.sitesDomains[t],b=(e,t)=>e.sitesSettings[t],A=(e,t)=>e.siteSetupErrors[t]||null,E=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSiteDomains(t))||void 0===r?void 0:r.find((e=>e.primary_domain))},I=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSiteDomains(t))||void 0===r?void 0:r.find((e=>e.is_subdomain))},C=(e,t)=>{var r;return null===(r=e.latestAtomicTransferStatus[t])||void 0===r?void 0:r.transfer},P=(e,t)=>{var r;return null===(r=e.latestAtomicTransferStatus[t])||void 0===r?void 0:r.errorCode},O=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.status},T=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.error},M=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareInstallStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.error},w=(e,t,r)=>{var i,a;return Boolean(t&&(null===(i=(0,n.select)(o.L).getSite(t))||void 0===i||null===(a=i.plan)||void 0===a?void 0:a.features.active.includes(r)))},R=(e,t,r)=>{var i,a;return Boolean(t&&(null===(i=(0,n.select)(o.L).getSite(t))||void 0===i||null===(a=i.plan)||void 0===a?void 0:a.features.available[r]))},L=(e,t)=>{const r=Boolean(t&&(0,n.select)(o.L).hasActiveSiteFeature(t,"woop")),i=Boolean(t&&(0,n.select)(o.L).hasAvailableSiteFeature(t,"woop"));return Boolean(!r&&i)};function $(e,t){var r;return Boolean(t&&(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.jetpack))}function F(e,t){return!!t&&!($(0,t)&&!v(e,t)||S(e,t))}function x(e){return e.happyChatAvailability}function N(e){return e.emailSupportAvailability}},9639:function(e,t,r){"use strict";let n,o,i,a,u,s,l;r.d(t,{Hc:function(){return o},uS:function(){return i},bc:function(){return a},Hf:function(){return u},O:function(){return s},sw:function(){return l}}),function(e){e[e.PublicIndexed=1]="PublicIndexed",e[e.PublicNotIndexed=0]="PublicNotIndexed",e[e.Private=-1]="Private"}(n||(n={})),function(e){e.INTERNAL="internal"}(o||(o={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(i||(i={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(a||(a={})),function(e){e.INTERNAL="internal"}(u||(u={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(s||(s={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(l||(l={}))},4366:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});const n="automattic/wpcom-features"},2613:function(e,t,r){"use strict";r.d(t,{$:function(){return s}});var n=r(9734);const{TIMELESS_PLAN_PERSONAL:o,TIMELESS_PLAN_PREMIUM:i,TIMELESS_PLAN_BUSINESS:a,TIMELESS_PLAN_ECOMMERCE:u}=n,s={domain:{id:"domain",minSupportedPlan:o},store:{id:"store",minSupportedPlan:u},seo:{id:"seo",minSupportedPlan:a},plugins:{id:"plugins",minSupportedPlan:a},"ad-free":{id:"ad-free",minSupportedPlan:o},"image-storage":{id:"image-storage",minSupportedPlan:i},"video-storage":{id:"video-storage",minSupportedPlan:i},support:{id:"support",minSupportedPlan:a}}},182:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var n=r(9818),o=r(3418),i=r(4366),a=r(8638),u=r(335);let s=!1;function l(){return s||(s=!0,(0,n.registerStore)(i.L,{controls:o.controls,reducer:a.Z,selectors:u})),i.L}},8638:function(e,t,r){"use strict";var n=r(2613);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.$;return e}},335:function(e,t,r){"use strict";r.r(t),r.d(t,{getAllFeatures:function(){return o},getRecommendedPlanSlug:function(){return i}});var n=r(4703);const o=e=>e,i=(e,t)=>{const r=o(e);if(t.length)return t.reduce(((e,t)=>{const o=r[t].minSupportedPlan;return n.xT.indexOf(o)>n.xT.indexOf(e)?o:e}),r[t[0]].minSupportedPlan)}},3661:function(e,t,r){"use strict";r.d(t,{_9:function(){return o},An:function(){return i},ai:function(){return a}});var n=r(8552);const o=e=>({type:"WPCOM_REQUEST",request:e}),i=(e,t)=>({type:"FETCH_AND_PARSE",resource:e,options:t}),a={WPCOM_REQUEST:e=>{let{request:t}=e;return(0,n.ZP)(t)},FETCH_AND_PARSE:async e=>{let{resource:t,options:r}=e;const n=await window.fetch(t,r);return{ok:n.ok,body:await n.json()}},RELOAD_PROXY:()=>{(0,n.sS)()},REQUEST_ALL_BLOGS_ACCESS:()=>(0,n.Vw)(),WAIT:e=>{let{ms:t}=e;return new Promise((e=>setTimeout(e,t)))}}},7066:function(e,t,r){"use strict";r.d(t,{X:function(){return o}});const n={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function o(e){return n[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},2645:function(e,t,r){"use strict";r.d(t,{ZP:function(){return i}});var n=r(7066),o=r(51);function i(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=(0,n.X)(t);if(!i||isNaN(e))return null;const{decimal:u,grouping:s,precision:l,symbol:c}={...i,...r},f=e<0?"-":"";let d=(0,o.Z)(Math.abs(e),l,u,s);return r.stripZeros&&(d=a(d,u)),`${f}${c}${d}`}function a(e,t){const r=new RegExp(`\\${t}0+$`);return e.replace(r,"")}},51:function(e,t,r){"use strict";
2
  /*
3
  * Exposes number format capability
4
  *
15
  * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
16
  */
17
  function(e,t){const r=Math.pow(10,t);return""+(Math.round(e*r)/r).toFixed(t)}(o,i):""+Math.round(o)).split("."),s[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(s[1]||"").length<i&&(s[1]=s[1]||"",s[1]+=new Array(i-s[1].length+1).join("0")),s.join(u)}r.d(t,{Z:function(){return n}})},2594:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(9196),o=r(1310);function i(e,t){let r,o,a=[];for(let n=0;n<e.length;n++){const i=e[n];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){r=t[i.value],o=n;break}a.push(t[i.value])}else a.push(i.value)}if(r){const u=function(e,t){const r=t[e];let n=0;for(let o=e+1;o<t.length;o++){const e=t[o];if(e.value===r.value){if("componentOpen"===e.type){n++;continue}if("componentClose"===e.type){if(0===n)return o;n--}}}throw new Error("Missing closing component token `"+r.value+"`")}(o,e),s=i(e.slice(o+1,u),t),l=(0,n.cloneElement)(r,{},s);if(a.push(l),u<e.length-1){const r=i(e.slice(u+1),t);a=a.concat(r)}}return a=a.filter(Boolean),0===a.length?null:1===a.length?a[0]:(0,n.createElement)(n.Fragment,null,...a)}function a(e){const{mixedString:t,components:r,throwErrors:n}=e;if(!r)return t;if("object"!=typeof r){if(n)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const a=(0,o.Z)(t);try{return i(a,r)}catch(u){if(n)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${u.message}\``);return t}}},1310:function(e,t,r){"use strict";function n(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 o(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(n)}r.d(t,{Z:function(){return o}})},8552:function(e,t,r){"use strict";r.d(t,{Vw:function(){return E},sS:function(){return T}});var n=r(8049),o=r.n(n),i=r(8650),a=r.n(i),u=r(8767),s=r(2884),l=r.n(s);const c=o()("wpcom-proxy-request"),f="https://public-api.wordpress.com",d=window.location.protocol+"//"+window.location.host;let p=null;const y=(()=>{let e=!1;try{window.postMessage({toString:function(){e=!0}},"*")}catch(t){}return e})(),g=(()=>{try{return new window.File(["a"],"test.jpg",{type:"image/jpeg"}),!0}catch(e){return!1}})();let m,h=null,v=!1;const S={},_=!!window.ProgressEvent&&!!window.FormData;c('using "origin": %o',d);const b=(e,t)=>{const r=Object.assign({},e);c("request(%o)",r),h||O();const n=(0,u.Z)();r.callback=n,r.supports_args=!0,r.supports_error_obj=!0,r.supports_progress=_,r.method=String(r.method||"GET").toUpperCase(),c("params object: %o",r);const o=new window.XMLHttpRequest;if(o.params=r,S[n]=o,"function"==typeof t){let e=!1;const r=r=>{if(e)return;e=!0;const n=r.response||o.response;c("body: ",n),c("headers: ",r.headers),t(null,n,r.headers)},n=r=>{if(e)return;e=!0;const n=r.error||r.err||r;c("error: ",n),c("headers: ",r.headers),t(n,null,r.headers)};o.addEventListener("load",r),o.addEventListener("abort",n),o.addEventListener("error",n)}return"function"==typeof r.onStreamRecord&&(p=r.onStreamRecord,delete r.onStreamRecord),v?I(r):(c("buffering API request since proxying <iframe> is not yet loaded"),m.push(r)),o},A=(e,t)=>"function"==typeof t?b(e,t):new Promise(((t,r)=>{b(e,((e,n)=>{e?r(e):t(n)}))}));function E(){return A({metaAPI:{accessAllUsersBlogs:!0}})}function I(e){c("sending API request to proxy <iframe> %o",e),e.formData&&function(e){if(!window.chrome||!g)return;for(let t=0;t<e.length;t++){const r=P(e[t][1]);r&&(e[t][1]=new window.File([r],r.name,{type:r.type}))}}(e.formData),h.contentWindow.postMessage(y?JSON.stringify(e):e,f)}function C(e){return e&&"[object File]"===Object.prototype.toString.call(e)}function P(e){return C(e)?e:"object"==typeof e&&C(e.fileContents)?e.fileContents:null}function O(){c("install()"),h&&(c("uninstall()"),window.removeEventListener("message",M),document.body.removeChild(h),v=!1,h=null),m=[],window.addEventListener("message",M),h=document.createElement("iframe"),h.src=f+"/wp-admin/rest-proxy/?v=2.0#"+d,h.style.display="none",document.body.appendChild(h)}const T=()=>{O()};function M(e){if(c("onmessage"),e.origin!==f)return void c("ignoring message... %o !== %o",e.origin,f);if(e.source!==h.contentWindow)return void c("ignoring message... iframe elements do not match");let{data:t}=e;if(!t)return c("no `data`, bailing");if("ready"===t)return void function(){if(c('proxy <iframe> "load" event'),v=!0,m){for(let e=0;e<m.length;e++)I(m[e]);m=null}}();if(y&&"string"==typeof t&&(t=JSON.parse(t)),t.upload||t.download)return function(e){c('got "progress" event: %o',e);const t=S[e.callbackId];if(t){const r=new(a())("progress",e);(e.upload?t.upload:t).dispatchEvent(r)}}(t);if(!t.length)return c("`e.data` doesn't appear to be an Array, bailing...");const r=t[t.length-1];if(!(r in S))return c("bailing, no matching request with callback: %o",r);const n=S[r],{params:o}=n,i=t[0];let u=t[1];const s=t[2];var d;if(207===u||delete S[r],o.metaAPI?u="metaAPIupdated"===i?200:500:c("got %o status code for URL: %o",u,o.path),"object"==typeof s&&(s.status=u,d=s["Content-Type"],/^application[/]x-ndjson($|;)/.test(d)&&207===u))p(i);else if(u&&2===Math.floor(u/100))!function(e,t,r){const n=new(a())("load");n.data=n.body=n.response=t,n.headers=r,e.dispatchEvent(n)}(n,i,s);else{!function(e,t,r){const n=new(a())("error");n.error=n.err=t,n.headers=r,e.dispatchEvent(n)}(n,l()(o,u,i),s)}}t.ZP=A},8049:function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(r){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(r){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(2632)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},2632:function(e,t,r){e.exports=function(e){function t(e){let r,o,i,a=null;function u(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if(!u.enabled)return;const i=u,a=Number(new Date),s=a-(r||a);i.diff=s,i.prev=r,i.curr=a,r=a,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");let l=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,((e,r)=>{if("%%"===e)return"%";l++;const o=t.formatters[r];if("function"==typeof o){const t=n[l];e=o.call(i,t),n.splice(l,1),l--}return e})),t.formatArgs.call(i,n);const c=i.log||t.log;c.apply(i,n)}return u.namespace=e,u.useColors=t.useColors(),u.color=t.selectColor(e),u.extend=n,u.destroy=t.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(u),u}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(5881),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},3830:function(e,t,r){"use strict";var n=r(956);e.exports=function(){var e=n.apply(n,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},956:function(e){"use strict";e.exports=function(){var e=[].map.call(arguments,(function(e){return e.trim()})).filter((function(e){return e.length})).join("-");return e.length?1!==e.length&&/[_.\- ]+/.test(e)?e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})):e[0]===e[0].toLowerCase()&&e.slice(1)!==e.slice(1).toLowerCase()?e:e.toLowerCase():""}},2686:function(e,t){"use strict";t.Z=/^(?:[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},5302:function(e,t,r){"use strict";var n;r.d(t,{Z:function(){return i}});var o=new Uint8Array(16);function i(){if(!n&&!(n="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 n(o)}},708:function(e,t,r){"use strict";for(var n=r(6525),o=[],i=0;i<256;++i)o.push((i+256).toString(16).substr(1));t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,n.Z)(r))throw TypeError("Stringified UUID is invalid");return r}},8767:function(e,t,r){"use strict";var n=r(5302),o=r(708);t.Z=function(e,t,r){var i=(e=e||{}).random||(e.rng||n.Z)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=i[a];return t}return(0,o.Z)(i)}},6525:function(e,t,r){"use strict";var n=r(2686);t.Z=function(e){return"string"==typeof e&&n.Z.test(e)}},6468:function(e,t,r){"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=void 0;var o=Ge(r(7499)),i=Ge(r(6840)),a=Ge(r(7155)),u=Ge(r(8676)),s=Ge(r(7133)),l=Ge(r(4228)),c=Ge(r(401)),f=Ge(r(4525)),d=Ge(r(4922)),p=Ge(r(5504)),y=Ge(r(7962)),g=Ge(r(5482)),m=Ge(r(8139)),h=Ge(r(7869)),v=Ge(r(5982)),S=Ge(r(4452)),_=ke(r(7780)),b=ke(r(7014)),A=Ge(r(3024)),E=Ge(r(2249)),I=Ge(r(7616)),C=Ge(r(8816)),P=Ge(r(1776)),O=Ge(r(1893)),T=Ge(r(5670)),M=Ge(r(749)),w=Ge(r(8408)),R=Ge(r(8831)),L=Ge(r(3639)),$=Ge(r(2868)),F=Ge(r(8868)),x=Ge(r(4503)),N=ke(r(3612)),D=Ge(r(8250)),j=Ge(r(9985)),U=Ge(r(6590)),Z=Ge(r(102)),B=Ge(r(6941)),k=Ge(r(8270)),G=Ge(r(841)),H=Ge(r(6557)),V=Ge(r(7937)),W=Ge(r(2740)),Y=Ge(r(6362)),K=Ge(r(9749)),z=Ge(r(1624)),q=Ge(r(5067)),J=Ge(r(1964)),X=Ge(r(6500)),Q=Ge(r(2775)),ee=Ge(r(6368)),te=Ge(r(4246)),re=Ge(r(6623)),ne=Ge(r(5442)),oe=Ge(r(2093)),ie=Ge(r(4235)),ae=Ge(r(2250)),ue=Ge(r(9653)),se=Ge(r(2390)),le=Ge(r(6328)),ce=Ge(r(2985)),fe=Ge(r(6693)),de=ke(r(5119)),pe=Ge(r(3821)),ye=Ge(r(7610)),ge=Ge(r(8369)),me=Ge(r(8932)),he=Ge(r(593)),ve=Ge(r(928)),Se=Ge(r(2038)),_e=Ge(r(6533)),be=Ge(r(4039)),Ae=Ge(r(438)),Ee=Ge(r(8305)),Ie=Ge(r(2896)),Ce=Ge(r(7620)),Pe=Ge(r(2863)),Oe=ke(r(2456)),Te=Ge(r(5904)),Me=Ge(r(1733)),we=Ge(r(3465)),Re=Ge(r(7879)),Le=Ge(r(3991)),$e=Ge(r(4559)),Fe=Ge(r(7224)),xe=Ge(r(7902)),Ne=Ge(r(9293)),De=Ge(r(3517)),je=Ge(r(4189)),Ue=Ge(r(2487)),Ze=Ge(r(1809));function Be(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Be=function(){return e},e}function ke(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=Be();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ge(e){return e&&e.__esModule?e:{default:e}}var He={version:"13.5.2",toDate:o.default,toFloat:i.default,toInt:a.default,toBoolean:u.default,equals:s.default,contains:l.default,matches:c.default,isEmail:f.default,isURL:d.default,isMACAddress:p.default,isIP:y.default,isIPRange:g.default,isFQDN:m.default,isBoolean:v.default,isIBAN:V.default,isBIC:W.default,isAlpha:_.default,isAlphaLocales:_.locales,isAlphanumeric:b.default,isAlphanumericLocales:b.locales,isNumeric:A.default,isPassportNumber:E.default,isPort:I.default,isLowercase:C.default,isUppercase:P.default,isAscii:T.default,isFullWidth:M.default,isHalfWidth:w.default,isVariableWidth:R.default,isMultibyte:L.default,isSemVer:$.default,isSurrogatePair:F.default,isInt:x.default,isIMEI:O.default,isFloat:N.default,isFloatLocales:N.locales,isDecimal:D.default,isHexadecimal:j.default,isOctal:U.default,isDivisibleBy:Z.default,isHexColor:B.default,isRgbColor:k.default,isHSL:G.default,isISRC:H.default,isMD5:Y.default,isHash:K.default,isJWT:z.default,isJSON:q.default,isEmpty:J.default,isLength:X.default,isLocale:S.default,isByteLength:Q.default,isUUID:ee.default,isMongoId:te.default,isAfter:re.default,isBefore:ne.default,isIn:oe.default,isCreditCard:ie.default,isIdentityCard:ae.default,isEAN:ue.default,isISIN:se.default,isISBN:le.default,isISSN:ce.default,isMobilePhone:de.default,isMobilePhoneLocales:de.locales,isPostalCode:Oe.default,isPostalCodeLocales:Oe.locales,isEthereumAddress:pe.default,isCurrency:ye.default,isBtcAddress:ge.default,isISO8601:me.default,isRFC3339:he.default,isISO31661Alpha2:ve.default,isISO31661Alpha3:Se.default,isBase32:_e.default,isBase58:be.default,isBase64:Ae.default,isDataURI:Ee.default,isMagnetURI:Ie.default,isMimeType:Ce.default,isLatLong:Pe.default,ltrim:Te.default,rtrim:Me.default,trim:we.default,escape:Re.default,unescape:Le.default,stripLow:$e.default,whitelist:Fe.default,blacklist:xe.default,isWhitelisted:Ne.default,normalizeEmail:De.default,toString:toString,isSlug:je.default,isStrongPassword:Ue.default,isTaxID:fe.default,isDate:h.default,isVAT:Ze.default};t.default=He,e.exports=t.default,e.exports.default=t.default},5475:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.farsiLocales=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var r={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i};t.alpha=r;var n={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i};t.alphanumeric=n;var o={"en-US":".",ar:"٫"};t.decimal=o;var i=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=i;for(var a,u=0;u<i.length;u++)r[a="en-".concat(i[u])]=r["en-US"],n[a]=n["en-US"],o[a]=o["en-US"];var s=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];t.arabicLocales=s;for(var l,c=0;c<s.length;c++)r[l="ar-".concat(s[c])]=r.ar,n[l]=n.ar,o[l]=o.ar;var f=["IR","AF"];t.farsiLocales=f;for(var d,p=0;p<f.length;p++)n[d="fa-".concat(f[p])]=n.fa,o[d]=o.ar;var y=["ar-EG","ar-LB","ar-LY"];t.dotDecimal=y;var g=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"];t.commaDecimal=g;for(var m=0;m<y.length;m++)o[y[m]]=o["en-US"];for(var h=0;h<g.length;h++)o[g[h]]=",";r["fr-CA"]=r["fr-FR"],n["fr-CA"]=n["fr-FR"],r["pt-BR"]=r["pt-PT"],n["pt-BR"]=n["pt-PT"],o["pt-BR"]=o["pt-PT"],r["pl-Pl"]=r["pl-PL"],n["pl-Pl"]=n["pl-PL"],o["pl-Pl"]=o["pl-PL"],r["fa-AF"]=r.fa},7902:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},4228:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return(0,n.default)(e),(r=(0,i.default)(r,u)).ignoreCase?e.toLowerCase().indexOf((0,o.default)(t).toLowerCase())>=0:e.indexOf((0,o.default)(t))>=0};var n=a(r(7359)),o=a(r(1589)),i=a(r(1778));function a(e){return e&&e.__esModule?e:{default:e}}var u={ignoreCase:!1};e.exports=t.default,e.exports.default=t.default},7133:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e===t};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},7879:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},6623:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&r&&i>r)};var n=i(r(7359)),o=i(r(7499));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},7780:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.default)(e);var n=e,a=r.ignore;if(a)if(a instanceof RegExp)n=n.replace(a,"");else{if("string"!=typeof a)throw new Error("ignore should be instance of a String or RegExp");n=n.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in i.alpha)return i.alpha[t].test(n);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.alpha);t.locales=a},7014:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in i.alphanumeric)return i.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.alphanumeric);t.locales=a},5670:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[\x00-\x7F]+$/;e.exports=t.default,e.exports.default=t.default},2740:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-z]{4}[A-z]{2}\w{2}(\w{3})?$/;e.exports=t.default,e.exports.default=t.default},6533:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),e.length%8==0&&i.test(e))return!0;return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z2-7]+=*$/;e.exports=t.default,e.exports.default=t.default},4039:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),i.test(e))return!0;return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-HJ-NP-Za-km-z1-9]*$/;e.exports=t.default,e.exports.default=t.default},438:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),t=(0,o.default)(t,s);var r=e.length;if(t.urlSafe)return u.test(e);if(r%4!=0||a.test(e))return!1;var i=e.indexOf("=");return-1===i||i===r-1||i===r-2&&"="===e[r-1]};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a=/[^A-Z0-9+\/=]/i,u=/^[A-Z0-9_\-]*$/i,s={urlSafe:!1};e.exports=t.default,e.exports.default=t.default},5442:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&r&&i<r)};var n=i(r(7359)),o=i(r(7499));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},5982:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),["true","false","1","0"].indexOf(e)>=0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},8369:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$/;e.exports=t.default,e.exports.default=t.default},2775:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,o.default)(e),"object"===i(t)?(r=t.min||0,n=t.max):(r=arguments[1],n=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=r&&(void 0===n||a<=n)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};function i(e){return i="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},i(e)}e.exports=t.default,e.exports.default=t.default},4235:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.replace(/[- ]+/g,"");if(!i.test(t))return!1;for(var r,n,a,u=0,s=t.length-1;s>=0;s--)r=t.substring(s,s+1),n=parseInt(r,10),u+=a&&(n*=2)>=10?n%10+1:n,a=!a;return!(u%10!=0||!t)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;e.exports=t.default,e.exports.default=t.default},7610:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,r){0!==r&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var r="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),n="-?",o="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),i="(".concat(["0","[1-9]\\d*",o].join("|"),")?"),a="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),u=i+(e.allow_decimal||e.require_decimal?a:"");e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?u+=n:e.negative_sign_before_digits&&(u=n+u));e.allow_negative_sign_placeholder?u="( (?!\\-))?".concat(u):e.allow_space_after_symbol?u=" ?".concat(u):e.allow_space_after_digits&&(u+="( (?!$))?");e.symbol_after_digits?u+=r:u=r+u;e.allow_negatives&&(e.parens_for_negatives?u="(\\(".concat(u,"\\)|").concat(u,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(u=n+u));return new RegExp("^(?!-? )(?=.*\\d)".concat(u,"$"))}(t=(0,n.default)(t,a)).test(e)};var n=i(r(1778)),o=i(r(7359));function i(e){return e&&e.__esModule?e:{default:e}}var a={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default,e.exports.default=t.default},8305:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),n=r.shift();if("data:"!==n.substr(0,5))return!1;var s=n.substr(5);if(""!==s&&!i.test(s))return!1;for(var l=0;l<r.length;l++)if(l===r.length-1&&"base64"===r[l].toLowerCase());else if(!a.test(r[l]))return!1;for(var c=0;c<t.length;c++)if(!u.test(t[c]))return!1;return!0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[a-z]+\/[a-z0-9\-\+]+$/i,a=/^[a-z\-]+=[a-z0-9\-]+$/i,u=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default,e.exports.default=t.default},7869:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t="string"==typeof t?(0,o.default)({format:t},u):(0,o.default)(t,u);if("string"==typeof e&&(m=t.format,/(^(y{4}|y{2})[\/-](m{1,2})[\/-](d{1,2})$)|(^(m{1,2})[\/-](d{1,2})[\/-]((y{4}|y{2})$))|(^(d{1,2})[\/-](m{1,2})[\/-]((y{4}|y{2})$))/gi.test(m))){var r,n=t.delimiters.find((function(e){return-1!==t.format.indexOf(e)})),a=t.strictMode?n:t.delimiters.find((function(t){return-1!==e.indexOf(t)})),s=function(e,t){for(var r=[],n=Math.min(e.length,t.length),o=0;o<n;o++)r.push([e[o],t[o]]);return r}(e.split(a),t.format.toLowerCase().split(n)),l={},c=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}(s);try{for(c.s();!(r=c.n()).done;){var f=(y=r.value,g=2,function(e){if(Array.isArray(e))return e}(y)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],_n=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);_n=!0);}catch(u){n=!0,o=u}finally{try{_n||null==a.return||a.return()}finally{if(n)throw o}}return r}(y,g)||i(y,g)||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.")}()),d=f[0],p=f[1];if(d.length!==p.length)return!1;l[p.charAt(0)]=d}}catch(h){c.e(h)}finally{c.f()}return new Date("".concat(l.m,"/").concat(l.d,"/").concat(l.y)).getDate()===+l.d}var y,g;var m;if(!t.strictMode)return"[object Date]"===Object.prototype.toString.call(e)&&isFinite(e);return!1};var n,o=(n=r(1778))&&n.__esModule?n:{default:n};function i(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};e.exports=t.default,e.exports.default=t.default},8250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),(t=(0,n.default)(t,s)).locale in a.decimal)return!(0,i.default)(l,e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"))}(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))};var n=u(r(1778)),o=u(r(7359)),i=u(r(2900)),a=r(5475);function u(e){return e&&e.__esModule?e:{default:e}}var s={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},l=["","-","+"];e.exports=t.default,e.exports.default=t.default},102:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(0,o.default)(e)%parseInt(t,10)==0};var n=i(r(7359)),o=i(r(6840));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},9653:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=Number(e.slice(-1));return i.test(e)&&t===(r=e,n=10-r.slice(0,-1).split("").map((function(e,t){return Number(e)*function(e,t){return 8===e?t%2==0?3:1:t%2==0?1:3}(r.length,t)})).reduce((function(e,t){return e+t}),0)%10,n<10?n:0);var r,n};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(\d{8}|\d{13})$/;e.exports=t.default,e.exports.default=t.default},4525:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,o.default)(t,c)).require_display_name||t.allow_display_name){var r=e.match(f);if(r){var s,h=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],_n=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);_n=!0);}catch(u){n=!0,o=u}finally{try{_n||null==a.return||a.return()}finally{if(n)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(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.")}()}(r,3);if(s=h[1],e=h[2],s.endsWith(" ")&&(s=s.substr(0,s.length-1)),!function(e){var t=e.match(/^"(.+)"$/i),r=t?t[1]:e;if(!r.trim())return!1;if(/[\.";<>]/.test(r)){if(!t)return!1;if(!(r.split('"').length===r.split('\\"').length))return!1}return!0}(s))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var v=e.split("@"),S=v.pop(),_=v.join("@"),b=S.toLowerCase();if(t.domain_specific_validation&&("gmail.com"===b||"googlemail.com"===b)){var A=(_=_.toLowerCase()).split("+")[0];if(!(0,i.default)(A.replace(".",""),{min:6,max:30}))return!1;for(var E=A.split("."),I=0;I<E.length;I++)if(!p.test(E[I]))return!1}if(!(!1!==t.ignore_max_length||(0,i.default)(_,{max:64})&&(0,i.default)(S,{max:254})))return!1;if(!(0,a.default)(S,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,u.default)(S)){if(!S.startsWith("[")||!S.endsWith("]"))return!1;var C=S.substr(1,S.length-2);if(0===C.length||!(0,u.default)(C))return!1}}if('"'===_[0])return _=_.slice(1,_.length-1),t.allow_utf8_local_part?m.test(_):y.test(_);for(var P=t.allow_utf8_local_part?g:d,O=_.split("."),T=0;T<O.length;T++)if(!P.test(O[T]))return!1;if(t.blacklisted_chars&&-1!==_.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var n=s(r(7359)),o=s(r(1778)),i=s(r(2775)),a=s(r(8139)),u=s(r(7962));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1},f=/^([^\x00-\x1F\x7F-\x9F\cX]+)<(.+)>$/i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,p=/^[a-z\d]+$/,y=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,m=/^([\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;e.exports=t.default,e.exports.default=t.default},1964:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),0===((t=(0,o.default)(t,a)).ignore_whitespace?e.trim().length:e.length)};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a={ignore_whitespace:!1};e.exports=t.default,e.exports.default=t.default},3821:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0x)[0-9a-f]{40}$/i;e.exports=t.default,e.exports.default=t.default},8139:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),(t=(0,o.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));var r=e.split("."),i=r[r.length-1];if(t.require_tld){if(r.length<2)return!1;if(!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20\u00A9\uFFFD]/.test(i))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(i))return!1;return r.every((function(e){return!(e.length>63)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1};e.exports=t.default,e.exports.default=t.default},3612:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?i.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var n=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||n>=t.min)&&(!t.hasOwnProperty("max")||n<=t.max)&&(!t.hasOwnProperty("lt")||n<t.lt)&&(!t.hasOwnProperty("gt")||n>t.gt)},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.decimal);t.locales=a},749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.fullWidth=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.fullWidth=i},841:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)||a.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(hsl)a?\(\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn|\s*)(\s*,\s*(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s*(,\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s*)?\)$/i,a=/^(hsl)a?\(\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn|\s)(\s*(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s*(\/\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s*)?\)$/i;e.exports=t.default,e.exports.default=t.default},8408:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.halfWidth=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.halfWidth=i},9749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),new RegExp("^[a-fA-F0-9]{".concat(i[t],"}$")).test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default,e.exports.default=t.default},6941:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;e.exports=t.default,e.exports.default=t.default},9985:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0x|0h)?[0-9A-F]+$/i;e.exports=t.default,e.exports.default=t.default},7937:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),function(e){var t=e.replace(/[\s\-]+/gi,"").toUpperCase(),r=t.slice(0,2).toUpperCase();return r in i&&i[r].test(t)}(e)&&function(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase();return 1===(t.slice(4)+t.slice(0,4)).replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})).match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"")}(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16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ict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=i;(t=t||{}).allow_hyphens&&(r=a);if(!r.test(e))return!1;e=e.replace(/-/g,"");for(var n=0,u=2,s=0;s<14;s++){var l=e.substring(14-s-1,14-s),c=parseInt(l,10)*u;n+=c>=10?c%10+1:c,1===u?u+=1:u-=1}if((10-n%10)%10!==parseInt(e.substring(14,15),10))return!1;return!0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[0-9]{15}$/,a=/^\d{2}-\d{6}-\d{6}-\d{1}$/;e.exports=t.default,e.exports.default=t.default},7962:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(r=String(r)))return e(t,4)||e(t,6);if("4"===r){if(!i.test(t))return!1;var n=t.split(".").sort((function(e,t){return e-t}));return n[3]<=255}if("6"===r){var u=[t];if(t.includes("%")){if(2!==(u=t.split("%")).length)return!1;if(!u[0].includes(":"))return!1;if(""===u[1])return!1}var s=u[0].split(":"),l=!1,c=e(s[s.length-1],4),f=c?7:8;if(s.length>f)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(s.shift(),s.shift(),l=!0):"::"===t.substr(t.length-2)&&(s.pop(),s.pop(),l=!0);for(var d=0;d<s.length;++d)if(""===s[d]&&d>0&&d<s.length-1){if(l)return!1;l=!0}else if(c&&d===s.length-1);else if(!a.test(s[d]))return!1;return l?s.length>=1:s.length===f}return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,a=/^[0-9A-F]{1,4}$/i;e.exports=t.default,e.exports.default=t.default},5482:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.split("/");if(2!==t.length)return!1;if(!a.test(t[1]))return!1;if(t[1].length>1&&t[1].startsWith("0"))return!1;return(0,o.default)(t[0],4)&&t[1]<=32&&t[1]>=0};var n=i(r(7359)),o=i(r(7962));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\d{1,2}$/;e.exports=t.default,e.exports.default=t.default},6328:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(r=String(r)))return e(t,10)||e(t,13);var n,s=t.replace(/[\s-]+/g,""),l=0;if("10"===r){if(!i.test(s))return!1;for(n=0;n<9;n++)l+=(n+1)*s.charAt(n);if("X"===s.charAt(9)?l+=100:l+=10*s.charAt(9),l%11==0)return!!s}else if("13"===r){if(!a.test(s))return!1;for(n=0;n<12;n++)l+=u[n%2]*s.charAt(n);if(s.charAt(12)-(10-l%10)%10==0)return!!s}return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:[0-9]{9}X|[0-9]{10})$/,a=/^(?:[0-9]{13})$/,u=[1,3];e.exports=t.default,e.exports.default=t.default},2390:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!i.test(e))return!1;for(var t,r,n=e.replace(/[A-Z]/g,(function(e){return parseInt(e,36)})),a=0,u=!0,s=n.length-2;s>=0;s--)t=n.substring(s,s+1),r=parseInt(t,10),a+=u&&(r*=2)>=10?r+1:r,u=!u;return parseInt(e.substr(e.length-1),10)===(1e4-a)%10};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default,e.exports.default=t.default},928:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(a,e.toUpperCase())};var n=i(r(7359)),o=i(r(2900));function i(e){return e&&e.__esModule?e:{default:e}}var a=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default,e.exports.default=t.default},2038:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(a,e.toUpperCase())};var n=i(r(7359)),o=i(r(2900));function i(e){return e&&e.__esModule?e:{default:e}}var a=["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"];e.exports=t.default,e.exports.default=t.default},8932:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=t.strictSeparator?a.test(e):i.test(e);return r&&t.strict?u(e):r};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,u=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var r=Number(t[1]),n=Number(t[2]);return r%4==0&&r%100!=0||r%400==0?n<=366:n<=365}var o=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),i=o[1],a=o[2],u=o[3],s=a?"0".concat(a).slice(-2):a,l=u?"0".concat(u).slice(-2):u,c=new Date("".concat(i,"-").concat(s||"01","-").concat(l||"01"));return!a||!u||c.getUTCFullYear()===i&&c.getUTCMonth()+1===a&&c.getUTCDate()===u};e.exports=t.default,e.exports.default=t.default},6557:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default,e.exports.default=t.default},2985:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=i;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;for(var n=e.replace("-","").toUpperCase(),a=0,u=0;u<n.length;u++){var s=n[u];a+=("X"===s?10:+s)*(8-u)}return a%11==0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default,e.exports.default=t.default},2250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in i)return i[t](e);if("any"===t){for(var r in i){if(i.hasOwnProperty(r))if((0,i[r])(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={ES:function(e){(0,o.default)(e);var t={X:0,Y:1,Z:2},r=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(r))return!1;var n=r.slice(0,-1).replace(/[X,Y,Z]/g,(function(e){return t[e]}));return r.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][n%23])},IN:function(e){var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],r=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],n=e.trim();if(!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(n))return!1;var o=0;return n.replace(/\s/g,"").split("").map(Number).reverse().forEach((function(e,n){o=t[o][r[n%8][e]]})),0===o},IT:function(e){return 9===e.length&&("CA00000AA"!==e&&e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1)},NO:function(e){var t=e.trim();if(isNaN(Number(t)))return!1;if(11!==t.length)return!1;if("00000000000"===t)return!1;var r=t.split("").map(Number),n=(11-(3*r[0]+7*r[1]+6*r[2]+1*r[3]+8*r[4]+9*r[5]+4*r[6]+5*r[7]+2*r[8])%11)%11,o=(11-(5*r[0]+4*r[1]+3*r[2]+2*r[3]+7*r[4]+6*r[5]+5*r[6]+4*r[7]+3*r[8]+2*n)%11)%11;return n===r[9]&&o===r[10]},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var r,n=t,o=0,i=0;i<n.length;i++)o+=(r=Number(n[i])*(i%2+1))>9?r-9:r;return o%10==0},"ar-TN":function(e){var t=e.trim();return!!/^\d{8}$/.test(t)},"zh-CN":function(e){var t,r=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],n=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],o=["1","0","X","9","8","7","6","5","4","3","2"],i=function(e){return r.includes(e)},a=function(e){var t=parseInt(e.substring(0,4),10),r=parseInt(e.substring(4,6),10),n=parseInt(e.substring(6),10),o=new Date(t,r-1,n);return!(o>new Date)&&(o.getFullYear()===t&&o.getMonth()===r-1&&o.getDate()===n)},u=function(e){return function(e){for(var t=e.substring(0,17),r=0,i=0;i<17;i++)r+=parseInt(t.charAt(i),10)*parseInt(n[i],10);return o[r%11]}(e)===e.charAt(17).toUpperCase()};return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(t=e)&&(15===t.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=i(r)))return!1;var n="19".concat(e.substring(6,12));return!!(t=a(n))}(t):function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=i(r)))return!1;var n=e.substring(6,14);return!!(t=a(n))&&u(e)}(t))},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},r=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(r)&&Array.from(r).reduce((function(e,r,n){if(0===n){var o=t[r];return o%10*9+Math.floor(o/10)}return 9===n?(10-e%10-Number(r))%10==0:e+Number(r)*(9-n)}),0)}};e.exports=t.default,e.exports.default=t.default},2093:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r;if((0,n.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var i=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(i[r]=(0,o.default)(t[r]));return i.indexOf(e)>=0}if("object"===a(t))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var n=i(r(7359)),o=i(r(1589));function i(e){return e&&e.__esModule?e:{default:e}}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},4503:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:a,n=!t.hasOwnProperty("min")||e>=t.min,u=!t.hasOwnProperty("max")||e<=t.max,s=!t.hasOwnProperty("lt")||e<t.lt,l=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&u&&s&&l};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;e.exports=t.default,e.exports.default=t.default},5067:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);try{t=(0,o.default)(t,u);var r=[];t.allow_primitives&&(r=[null,!1,!0]);var i=JSON.parse(e);return r.includes(i)||!!i&&"object"===a(i)}catch(s){}return!1};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}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)}var u={allow_primitives:!1};e.exports=t.default,e.exports.default=t.default},1624:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.split("."),r=t.length;if(r>3||r<2)return!1;return t.reduce((function(e,t){return e&&(0,o.default)(t,{urlSafe:!0})}),!0)};var n=i(r(7359)),o=i(r(438));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},2863:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),t=(0,o.default)(t,c),!e.includes(","))return!1;var r=e.split(",");if(r[0].startsWith("(")&&!r[1].endsWith(")")||r[1].endsWith(")")&&!r[0].startsWith("("))return!1;if(t.checkDMS)return s.test(r[0])&&l.test(r[1]);return a.test(r[0])&&u.test(r[1])};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,u=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,s=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,l=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,c={checkDMS:!1};e.exports=t.default,e.exports.default=t.default},6500:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,o.default)(e),"object"===i(t)?(r=t.min||0,n=t.max):(r=arguments[1]||0,n=arguments[2]);var a=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],u=e.length-a.length;return u>=r&&(void 0===n||u<=n)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};function i(e){return i="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},i(e)}e.exports=t.default,e.exports.default=t.default},4452:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e)return!0;return i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-z]{2,4}([_-]([A-z]{4}|[\d]{3}))?([_-]([A-z]{2}|[\d]{3}))?$/;e.exports=t.default,e.exports.default=t.default},8816:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toLowerCase()};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},5504:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t&&t.no_colons)return a.test(e);return i.test(e)||u.test(e)||s.test(e)||l.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/,a=/^([0-9a-fA-F]){12}$/,u=/^([0-9a-fA-F][0-9a-fA-F]-){5}([0-9a-fA-F][0-9a-fA-F])$/,s=/^([0-9a-fA-F][0-9a-fA-F]\s){5}([0-9a-fA-F][0-9a-fA-F])$/,l=/^([0-9a-fA-F]{4}).([0-9a-fA-F]{4}).([0-9a-fA-F]{4})$/;e.exports=t.default,e.exports.default=t.default},6362:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[a-f0-9]{32}$/;e.exports=t.default,e.exports.default=t.default},2896:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e.trim())};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^magnet:\?xt=urn:[a-z0-9]+:[a-z0-9]{32,40}&dn=.+&tr=.+$/i;e.exports=t.default,e.exports.default=t.default},7620:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)||a.test(e)||u.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,u=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default,e.exports.default=t.default},5119:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if((0,o.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){if(i.hasOwnProperty(t)&&i[t].test(e))return!0;return!1}));if(t in i)return i[t].test(e);if(!t||"any"===t){for(var n in i){if(i.hasOwnProperty(n))if(i[n].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+49)?0?[1|3]([0|5][0-45-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)(7[5-9])\d{1,7}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28)\d{7}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[689]\d{7}$/,"en-SL":/^(?:0|94|\+94)?(7(0|1|2|5|6|7|8)( |-)?\d)\d{6}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?([1-8]{1}|3[0-9]{2})?[2-9]{1}\d{6}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(5|79)\d{7}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[2-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^(\+?84|0)((3([2-9]))|(5([2689]))|(7([0|6-9]))|(8([1-6|89]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?1([3568][0-9]|4[579]|6[67]|7[01235678]|9[012356789])[0-9]{8}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};i["en-CA"]=i["en-US"],i["fr-CA"]=i["en-CA"],i["fr-BE"]=i["nl-BE"],i["zh-HK"]=i["en-HK"],i["zh-MO"]=i["en-MO"],i["ga-IE"]=i["en-IE"];var a=Object.keys(i);t.locales=a},4246:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(e)&&24===e.length};var n=i(r(7359)),o=i(r(9985));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},3639:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[^\x00-\x7F]/;e.exports=t.default,e.exports.default=t.default},3024:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t&&t.no_symbols)return a.test(e);return new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?i.decimal[t.locale]:".","])?[0-9]+$")).test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=/^[0-9]+$/;e.exports=t.default,e.exports.default=t.default},6590:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0o)?[0-7]+$/i;e.exports=t.default,e.exports.default=t.default},2249:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in i&&i[t].test(r)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^[GE]\d{8}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,MT:/^\d{7}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,PO:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{2}\d{2}\d{6}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};e.exports=t.default,e.exports.default=t.default},7616:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e,{min:0,max:65535})};var n,o=(n=r(4503))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},2456:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in s)return s[t].test(e);if("any"===t){for(var r in s){if(s.hasOwnProperty(r))if(s[r].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^\d{4}$/,a=/^\d{5}$/,u=/^\d{6}$/,s={AD:/^AD\d{3}$/,AT:i,AU:i,AZ:/^AZ\d{4}$/,BE:i,BG:i,BR:/^\d{5}-\d{3}$/,BY:/2[1-4]{1}\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:i,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:a,DK:i,DO:a,DZ:a,EE:a,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:a,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:i,ID:a,IE:/^(?!.*(?:o))[A-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/\b(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}\b/,IS:/^\d{3}$/,IT:a,JP:/^\d{3}\-\d{4}$/,KE:a,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:i,LV:/^LV\-\d{4}$/,MX:a,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:a,NL:/^\d{4}\s?[a-z]{2}$/i,NO:i,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:i,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:u,RU:u,SA:a,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:u,SI:i,SK:/^\d{3}\s?\d{2}$/,TH:a,TN:i,TW:/^\d{3}(\d{2})?$/,UA:a,US:/^\d{5}(-\d{4})?$/,ZA:i,ZM:a},l=Object.keys(s);t.locales=l},593:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),d.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/([01][0-9]|2[0-3])/,a=/[0-5][0-9]/,u=new RegExp("[-+]".concat(i.source,":").concat(a.source)),s=new RegExp("([zZ]|".concat(u.source,")")),l=new RegExp("".concat(i.source,":").concat(a.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),c=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),f=new RegExp("".concat(l.source).concat(s.source)),d=new RegExp("".concat(c.source,"[ tT]").concat(f.source));e.exports=t.default,e.exports.default=t.default},8270:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if((0,o.default)(e),!t)return i.test(e)||a.test(e);return i.test(e)||a.test(e)||u.test(e)||s.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,u=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9